mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-27 14:39:49 -08:00
ce1d3284b0
Signed-off-by: snipe <[email protected]>
35 lines
1 MiB
35 lines
1 MiB
function make_xlsx_lib(e){function t(){Gf(1252)}function n(){$f(1200),t()}function r(e){for(var t=[],n=0,r=e.length;n<r;++n)t[n]=e.charCodeAt(n);return t}function i(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}function a(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}function o(e){return Qf?Buffer.alloc(e):new Array(e)}function s(e){return Qf?Buffer.allocUnsafe(e):new Array(e)}function l(e){if("undefined"==typeof ArrayBuffer)return nh(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function c(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");for(var t=[],n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function u(e){if("undefined"==typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}function f(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return f(new Uint8Array(e));for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t}function h(e){var t="number"==typeof e?oh._table[e]:e;return t=t.replace(fh,"(\\d+)"),new RegExp("^"+t+"$")}function d(e,t,n){var r=-1,i=-1,a=-1,o=-1,s=-1,l=-1;(t.match(fh)||[]).forEach(function(e,t){var c=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":r=c;break;case"d":a=c;break;case"h":o=c;break;case"s":l=c;break;case"m":o>=0?s=c:i=c}}),l>=0&&-1==s&&i>=0&&(s=i,i=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==o&&-1==s&&-1==l?c:-1==r&&-1==i&&-1==a?u:c+"T"+u}function p(e){return"string"==typeof e?l(e):Array.isArray(e)?u(e):e}function g(e,t,n){if(void 0!==hh&&hh.writeFileSync)return n?hh.writeFileSync(e,t,n):hh.writeFileSync(e,t);var r="utf8"==n?Fh(t):t;if("undefined"!=typeof IE_SaveFile)return IE_SaveFile(r,e);if("undefined"!=typeof Blob){var i=new Blob([p(r)],{type:"application/octet-stream"});if("undefined"!=typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(i,e);if(void 0!==saveAs)return saveAs(i,e);if("undefined"!=typeof URL&&"undefined"!=typeof document&&document.createElement&&URL.createObjectURL){var a=URL.createObjectURL(i);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout(function(){URL.revokeObjectURL(a)},6e4),chrome.downloads.download({url:a,filename:e,saveAs:!0});var o=document.createElement("a");if(null!=o.download)return o.download=e,o.href=a,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout(function(){URL.revokeObjectURL(a)},6e4),a}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var s=File(e);return s.open("w"),s.encoding="binary",Array.isArray(t)&&(t=c(t)),s.write(t),s.close(),t}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("cannot save file "+e)}function m(e){if(void 0!==hh)return hh.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var n=t.read();return t.close(),n}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("Cannot access file "+e)}function v(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;++r)Object.prototype.hasOwnProperty.call(e,t[r])&&n.push(t[r]);return n}function b(e,t){for(var n=[],r=v(e),i=0;i!==r.length;++i)null==n[e[r[i]][t]]&&(n[e[r[i]][t]]=r[i]);return n}function y(e){for(var t=[],n=v(e),r=0;r!==n.length;++r)t[e[n[r]]]=n[r];return t}function w(e){for(var t=[],n=v(e),r=0;r!==n.length;++r)t[e[n[r]]]=parseInt(n[r],10);return t}function S(e,t){var n=e.getTime();return t&&(n-=1263168e5),(n-(ph.getTime()+6e4*(e.getTimezoneOffset()-ph.getTimezoneOffset())))/864e5}function x(e){var t=new Date;return t.setTime(24*e*60*60*1e3+mh),t.getTimezoneOffset()!==vh&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-vh)),t}function E(e){var t=0,n=0,r=!1,i=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!i)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var a=1;a!=i.length;++a)if(i[a]){switch(n=1,a>3&&(r=!0),i[a].slice(i[a].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[a].slice(i[a].length-1));case"D":n*=24;case"H":n*=60;case"M":if(!r)throw new Error("Unsupported ISO Duration Field: M");n*=60}t+=n*parseInt(i[a],10)}return t}function _(e,t){var n=new Date(e);if(wh)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==bh.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1?n:(n.setFullYear(n.getFullYear()+100),n)}var i=e.match(/\d+/g)||["2017","2","19","0","0","0"],a=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return e.indexOf("Z")>-1&&(a=new Date(a.getTime()-60*a.getTimezoneOffset()*1e3)),a}function k(e){for(var t="",n=0;n!=e.length;++n)t+=String.fromCharCode(e[n]);return t}function A(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=A(e[n]));return t}function C(e,t){for(var n="";n.length<t;)n+=e;return n}function T(e){var t=Number(e);if(!isNaN(t))return t;if(!/\d/.test(e))return t;var n=1,r=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return n*=100,""});return isNaN(t=Number(r))?(r=r.replace(/[(](.*)[)]/,function(e,t){return n=-n,t}),isNaN(t=Number(r))?t:t/n):t/n}function R(e){var t=new Date(e),n=new Date(NaN),r=t.getYear(),i=t.getMonth(),a=t.getDate();return isNaN(a)?n:r<0||r>8099?n:(i>0||a>1)&&101!=r?t:e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)?t:e.match(/[^-0-9:,\/\\]/)?n:t}function N(e,t,n){if(Sh||"string"==typeof t)return e.split(t);for(var r=e.split(t),i=[r[0]],a=1;a<r.length;++a)i.push(n),i.push(r[a]);return i}function B(e){return e?e.data?Xf(e.data):e.asNodeBuffer&&Qf?Xf(e.asNodeBuffer().toString("binary")):e.asBinary?Xf(e.asBinary()):e._data&&e._data.getContent?Xf(k(Array.prototype.slice.call(e._data.getContent(),0))):e.content&&e.type?Xf(k(e.content)):null:null}function I(e){if(!e)return null;if(e.data)return r(e.data);if(e.asNodeBuffer&&Qf)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?r(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function O(e){return e&&".bin"===e.name.slice(-4)?I(e):B(e)}function L(e,t){for(var n=e.FullPaths||v(e.files),r=t.toLowerCase(),i=r.replace(/\//g,"\\"),a=0;a<n.length;++a){var o=n[a].toLowerCase();if(r==o||i==o)return e.files[n[a]]}return null}function P(e,t){var n=L(e,t);if(null==n)throw new Error("Cannot find file "+t+" in zip");return n}function F(e,t,n){if(!n)return O(P(e,t));if(!t)return null;try{return F(e,t)}catch(e){return null}}function D(e,t,n){if(!n)return B(P(e,t));if(!t)return null;try{return D(e,t)}catch(e){return null}}function M(e){for(var t=e.FullPaths||v(e.files),n=[],r=0;r<t.length;++r)"/"!=t[r].slice(-1)&&n.push(t[r]);return n.sort()}function j(e,t,n){e.FullPaths?dh.utils.cfb_add(e,t,n):e.file(t,n)}function W(){return yh?new yh:dh.utils.cfb_new()}function U(e,t){var n;if(yh)switch(t.type){case"base64":n=new yh(e,{base64:!0});break;case"binary":case"array":n=new yh(e,{base64:!1});break;case"buffer":n=new yh(e);break;default:throw new Error("Unrecognized type "+t.type)}else switch(t.type){case"base64":n=dh.read(e,{type:"base64"});break;case"binary":n=dh.read(e,{type:"binary"});break;case"buffer":case"array":n=dh.read(e,{type:"buffer"});break;default:throw new Error("Unrecognized type "+t.type)}return n}function z(e,t){if("/"==e.charAt(0))return e.slice(1);var n=t.split("/");"/"!=t.slice(-1)&&n.pop();for(var r=e.split("/");0!==r.length;){var i=r.shift();".."===i?n.pop():"."!==i&&n.push(i)}return n.join("/")}function H(e,t,n){for(var r={},i=0,a=0;i!==e.length&&(32!==(a=e.charCodeAt(i))&&10!==a&&13!==a);++i);if(t||(r[0]=e.slice(0,i)),i===e.length)return r;var o=e.match(Eh),s=0,l="",c=0,u="",f="",h=1;if(o)for(c=0;c!=o.length;++c){for(f=o[c],a=0;a!=f.length&&61!==f.charCodeAt(a);++a);for(u=f.slice(0,a).trim();32==f.charCodeAt(a+1);)++a;for(h=34==(i=f.charCodeAt(a+1))||39==i?1:0,l=f.slice(a+1+h,f.length-h),s=0;s!=u.length&&58!==u.charCodeAt(s);++s);if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),r[u]=l,n||(r[u.toLowerCase()]=l);else{var d=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(r[d]&&"ext"==u.slice(s-3,s))continue;r[d]=l,n||(r[d.toLowerCase()]=l)}}return r}function V(e){return e.replace(Ah,"<$1")}function q(e){return(e+"").replace(Nh,function(e){return Th[e]}).replace(Bh,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function G(e){return q(e).replace(/ /g,"_x0020_")}function X(e){return(e+"").replace(Nh,function(e){return Th[e]}).replace(/\n/g,"<br/>").replace(Ih,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function Y(e){return(e+"").replace(Nh,function(e){return Th[e]}).replace(Ih,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}function K(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function J(e,t){var n=H(e),r=e.match(zh(n.baseType))||[],i=[];if(r.length!=n.size){if(t.WTF)throw new Error("unexpected vector length "+r.length+" != "+n.size);return i}return r.forEach(function(e){var t=e.replace(Hh,"").match(Vh);t&&i.push({v:Ph(t[2]),t:t[1]})}),i}function Z(e,t){return"<"+e+(t.match(qh)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Q(e){return v(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function ee(e,t,n){return"<"+e+(null!=n?Q(n):"")+(null!=t?(t.match(qh)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function te(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}function ne(e,t){switch(typeof e){case"string":var n=ee("vt:lpwstr",q(e));return t&&(n=n.replace(/"/g,"_x0022_")),n;case"number":return ee((0|e)==e?"vt:i4":"vt:r8",q(String(e)));case"boolean":return ee("vt:bool",e?"true":"false")}if(e instanceof Date)return ee("vt:filetime",te(e));throw new Error("Unable to serialize "+e)}function re(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),i=15&e[t+6],a=5;a>=0;--a)i=256*i+e[t+a];return 2047==r?0==i?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,i+=Math.pow(2,52)),n*Math.pow(2,r-52)*i)}function ie(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,i=0,a=0,o=r?-t:t;isFinite(o)?0==o?i=a=0:(i=Math.floor(Math.log(o)/Math.LN2),a=o*Math.pow(2,52-i),i<=-1023&&(!isFinite(a)||a<Math.pow(2,52))?i=-1022:(a-=Math.pow(2,52),i+=1023)):(i=2047,a=isNaN(t)?26985:0);for(var s=0;s<=5;++s,a/=256)e[n+s]=255&a;e[n+6]=(15&i)<<4|15&a,e[n+7]=i>>4|r}function ae(e,t){var n,r,i,a,o,s,l="",c=[];switch(t){case"dbcs":if(s=this.l,Qf&&Buffer.isBuffer(this))l=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o)l+=String.fromCharCode(md(this,s)),s+=2;e*=2;break;case"utf8":l=nd(this,this.l,this.l+e);break;case"utf16le":e*=2,l=Zh(this,this.l,this.l+e);break;case"wstr":if("undefined"==typeof cptable)return ae.call(this,e,"dbcs");l=cptable.utils.decode(Uf,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":l=id(this,this.l),e=4+bd(this,this.l);break;case"lpstr-cp":l=od(this,this.l),e=4+bd(this,this.l);break;case"lpwstr":l=ld(this,this.l),e=4+2*bd(this,this.l);break;case"lpp4":e=4+bd(this,this.l),l=$h(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+bd(this,this.l),l=hd(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,l="";0!==(i=gd(this,this.l+e++));)c.push(Yf(i));l=c.join("");break;case"_wstr":for(e=0,l="";0!==(i=md(this,this.l+e));)c.push(Yf(i)),e+=2;e+=2,l=c.join("");break;case"dbcs-cont":for(l="",s=this.l,o=0;o<e;++o){if(this.lens&&-1!==this.lens.indexOf(s))return i=gd(this,s),this.l=s+1,a=ae.call(this,e-o,i?"dbcs-cont":"sbcs-cont"),c.join("")+a;c.push(Yf(md(this,s))),s+=2}l=c.join(""),e*=2;break;case"cpstr":if("undefined"!=typeof cptable){l=cptable.utils.decode(Uf,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(l="",s=this.l,o=0;o!=e;++o){if(this.lens&&-1!==this.lens.indexOf(s))return i=gd(this,s),this.l=s+1,a=ae.call(this,e-o,i?"dbcs-cont":"sbcs-cont"),c.join("")+a;c.push(Yf(gd(this,s))),s+=1}l=c.join("");break;default:switch(e){case 1:return n=gd(this,this.l),this.l++,n;case 2:return n=("i"===t?vd:md)(this,this.l),this.l+=2,n;case 4:case-4:return"i"===t||0==(128&this[this.l+3])?(n=(e>0?yd:wd)(this,this.l),this.l+=4,n):(r=bd(this,this.l),this.l+=4,r);case 8:case-8:if("f"===t)return r=8==e?ud(this,this.l):ud([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,r;e=8;case 16:l=ed(this,this.l,e)}}return this.l+=e,l}function oe(e,t,n){var r=0,i=0;if("dbcs"===n){for(i=0;i!=t.length;++i)Ed(this,t.charCodeAt(i),this.l+2*i);r=2*t.length}else if("sbcs"===n){if("undefined"!=typeof cptable&&874==zf)for(i=0;i!=t.length;++i){var a=cptable.utils.encode(zf,t.charAt(i));this[this.l+i]=a[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=t.length;++i)this[this.l+i]=255&t.charCodeAt(i);r=t.length}else{if("hex"===n){for(;i<e;++i)this[this.l++]=parseInt(t.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===n){var o=Math.min(this.l+e,this.length);for(i=0;i<Math.min(t.length,e);++i){var s=t.charCodeAt(i);this[this.l++]=255&s,this[this.l++]=s>>8}for(;this.l<o;)this[this.l++]=0;return this}switch(e){case 1:r=1,this[this.l]=255&t;break;case 2:r=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:r=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:r=4,Sd(this,t,this.l);break;case 8:if(r=8,"f"===n){ie(this,t,this.l);break}case 16:break;case-4:r=4,xd(this,t,this.l)}}return this.l+=r,this}function se(e,t){var n=ed(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function le(e,t){e.l=t,e._R=ae,e.chk=se,e._W=oe}function ce(e,t){e.l+=t}function ue(e){var t=o(e);return le(t,0),t}function fe(e,t,n){if(e){var r,i,a;le(e,e.l||0);for(var o=e.length,s=0,l=0;e.l<o;){s=e._R(1),128&s&&(s=(127&s)+((127&e._R(1))<<7));var c=_m[s]||_m[65535];for(r=e._R(1),a=127&r,i=1;i<4&&128&r;++i)a+=(127&(r=e._R(1)))<<7*i;l=e.l+a;var u=(c.f||ce)(e,a,n);if(e.l=l,t(u,c.n,s))return}}}function he(){var e=[],t=Qf?256:2048,n=function(e){var t=ue(e);return le(t,0),t},r=n(t),i=function(){r&&(r.length>r.l&&(r=r.slice(0,r.l),r.l=r.length),r.length>0&&e.push(r),r=null)},a=function(e){return r&&e<r.length-r.l?r:(i(),r=n(Math.max(e+1,t)))},o=function(){return i(),Kh([e])};return{next:a,push:function(e){i(),r=e,null==r.l&&(r.l=r.length),a(t)},end:o,_bufs:e}}function de(e,t,n,r){var i,a=+km[t];if(!isNaN(a)){r||(r=_m[a].p||(n||[]).length||0),i=1+(a>=128?1:0)+1,r>=128&&++i,r>=16384&&++i,r>=2097152&&++i;var o=e.next(i);a<=127?o._W(1,a):(o._W(1,128+(127&a)),o._W(1,a>>7));for(var s=0;4!=s;++s){if(!(r>=128)){o._W(1,r);break}o._W(1,128+(127&r)),r>>=7}r>0&&pd(n)&&e.push(n)}}function pe(e,t,n){var r=A(e);if(t.s?(r.cRel&&(r.c+=t.s.c),r.rRel&&(r.r+=t.s.r)):(r.cRel&&(r.c+=t.c),r.rRel&&(r.r+=t.r)),!n||n.biff<12){for(;r.c>=256;)r.c-=256;for(;r.r>=65536;)r.r-=65536}return r}function ge(e,t,n){var r=A(e);return r.s=pe(r.s,t.s,n),r.e=pe(r.e,t.s,n),r}function me(e,t){if(e.cRel&&e.c<0)for(e=A(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=A(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=Te(e);return e.cRel||null==e.cRel||(n=_e(n)),e.rRel||null==e.rRel||(n=we(n)),n}function ve(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?me(e.s,t.biff)+":"+me(e.e,t.biff):(e.s.rRel?"":"$")+ye(e.s.r)+":"+(e.e.rRel?"":"$")+ye(e.e.r):(e.s.cRel?"":"$")+Ee(e.s.c)+":"+(e.e.cRel?"":"$")+Ee(e.e.c)}function be(e){return parseInt(Se(e),10)-1}function ye(e){return""+(e+1)}function we(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Se(e){return e.replace(/\$(\d+)$/,"$1")}function xe(e){for(var t=ke(e),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function Ee(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function _e(e){return e.replace(/^([A-Z])/,"$$$1")}function ke(e){return e.replace(/^\$([A-Z])/,"$1")}function Ae(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Ce(e){for(var t=0,n=0,r=0;r<e.length;++r){var i=e.charCodeAt(r);i>=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(n=26*n+(i-64))}return{c:n-1,r:t-1}}function Te(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function Re(e){var t=e.indexOf(":");return-1==t?{s:Ce(e),e:Ce(e)}:{s:Ce(e.slice(0,t)),e:Ce(e.slice(t+1))}}function Ne(e,t){return void 0===t||"number"==typeof t?Ne(e.s,e.e):("string"!=typeof e&&(e=Te(e)),"string"!=typeof t&&(t=Te(t)),e==t?e:e+":"+t)}function Be(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,i=0,a=e.length;for(n=0;r<a&&!((i=e.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(t.s.c=--n,n=0;r<a&&!((i=e.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;if(t.s.r=--n,r===a||58===e.charCodeAt(++r))return t.e.c=t.s.c,t.e.r=t.s.r,t;for(n=0;r!=a&&!((i=e.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(t.e.c=--n,n=0;r!=a&&!((i=e.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;return t.e.r=--n,t}function Ie(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=oh.format(e.z,n?S(t):t)}catch(e){}try{return e.w=oh.format((e.XF||{}).numFmtId||(n?14:0),n?S(t):t)}catch(e){return""+t}}function Oe(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),void 0==t?Ie(e,e.v):Ie(e,t))}function Le(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function Pe(e,t,n){var r=n||{},i=e?Array.isArray(e):r.dense;null!=Jf&&null==i&&(i=Jf);var a=e||(i?[]:{}),o=0,s=0;if(a&&null!=r.origin){if("number"==typeof r.origin)o=r.origin;else{var l="string"==typeof r.origin?Ce(r.origin):r.origin;o=l.r,s=l.c}a["!ref"]||(a["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var u=Be(a["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==o&&(c.e.r=o=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if(void 0!==t[f][h]){var d={v:t[f][h]},p=o+f,g=s+h;if(c.s.r>p&&(c.s.r=p),c.s.c>g&&(c.s.c=g),c.e.r<p&&(c.e.r=p),c.e.c<g&&(c.e.c=g),!t[f][h]||"object"!=typeof t[f][h]||Array.isArray(t[f][h])||t[f][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[f][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else{if(!r.sheetStubs)continue;d.t="z"}else"number"==typeof d.v?d.t="n":"boolean"==typeof d.v?d.t="b":d.v instanceof Date?(d.z=r.dateNF||oh._table[14],r.cellDates?(d.t="d",d.w=oh.format(d.z,S(d.v))):(d.t="n",d.v=S(d.v),d.w=oh.format(d.z,d.v))):d.t="s";else d=t[f][h];if(i)a[p]||(a[p]=[]),a[p][g]&&a[p][g].z&&(d.z=a[p][g].z),a[p][g]=d;else{var m=Te({c:g,r:p});a[m]&&a[m].z&&(d.z=a[m].z),a[m]=d}}}return c.s.c<1e7&&(a["!ref"]=Ne(c)),a}function Fe(e,t){return Pe(null,e,t)}function De(e,t){return t||(t=ue(4)),t._W(4,e),t}function Me(e){var t=e._R(4);return 0===t?"":e._R(t,"dbcs")}function je(e,t){var n=!1;return null==t&&(n=!0,t=ue(4+2*e.length)),t._W(4,e.length),e.length>0&&t._W(0,e,"dbcs"),n?t.slice(0,t.l):t}function We(e){return{ich:e._R(2),ifnt:e._R(2)}}function Ue(e,t){return t||(t=ue(4)),t._W(2,e.ich||0),t._W(2,e.ifnt||0),t}function ze(e,t){var n=e.l,r=e._R(1),i=Me(e),a=[],o={t:i,h:i};if(0!=(1&r)){for(var s=e._R(4),l=0;l!=s;++l)a.push(We(e));o.r=a}else o.r=[{ich:0,ifnt:0}];return e.l=n+t,o}function He(e,t){var n=!1;return null==t&&(n=!0,t=ue(15+4*e.t.length)),t._W(1,0),je(e.t,t),n?t.slice(0,t.l):t}function Ve(e,t){var n=!1;return null==t&&(n=!0,t=ue(23+4*e.t.length)),t._W(1,1),je(e.t,t),t._W(4,1),Ue({ich:0,ifnt:0},t),n?t.slice(0,t.l):t}function qe(e){var t=e._R(4),n=e._R(2);return n+=e._R(1)<<16,e.l++,{c:t,iStyleRef:n}}function Ge(e,t){return null==t&&(t=ue(8)),t._W(-4,e.c),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}function $e(e){var t=e._R(4);return 0===t||4294967295===t?"":e._R(t,"dbcs")}function Xe(e,t){var n=!1;return null==t&&(n=!0,t=ue(127)),t._W(4,e.length>0?e.length:4294967295),e.length>0&&t._W(0,e,"dbcs"),n?t.slice(0,t.l):t}function Ye(e){var t=e.slice(e.l,e.l+4),n=1&t[0],r=2&t[0];e.l+=4,t[0]&=252;var i=0===r?ud([0,0,0,0,t[0],t[1],t[2],t[3]],0):yd(t,0)>>2;return n?i/100:i}function Ke(e,t){null==t&&(t=ue(4));var n=0,r=0,i=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?r=1:i==(0|i)&&i>=-(1<<29)&&i<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+e);t._W(-4,((n?i:e)<<2)+(n+2))}function Je(e){var t={s:{},e:{}};return t.s.r=e._R(4),t.e.r=e._R(4),t.s.c=e._R(4),t.e.c=e._R(4),t}function Ze(e,t){return t||(t=ue(16)),t._W(4,e.s.r),t._W(4,e.e.r),t._W(4,e.s.c),t._W(4,e.e.c),t}function Qe(e){return e._R(8,"f")}function et(e,t){return(t||ue(8))._W(8,e,"f")}function tt(e){var t={},n=e._R(1),r=n>>>1,i=e._R(1),a=e._R(2,"i"),o=e._R(1),s=e._R(1),l=e._R(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=i;var c=Gd[i];c&&(t.rgb=Hi(c));break;case 2:t.rgb=Hi([o,s,l]);break;case 3:t.theme=i}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}function nt(e,t){if(t||(t=ue(8)),!e||e.auto)return t._W(4,0),t._W(4,0),t;null!=e.index?(t._W(1,2),t._W(1,e.index)):null!=e.theme?(t._W(1,6),t._W(1,e.theme)):(t._W(1,5),t._W(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t._W(2,n),e.rgb&&null==e.theme){var r=e.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),t._W(1,parseInt(r.slice(0,2),16)),t._W(1,parseInt(r.slice(2,4),16)),t._W(1,parseInt(r.slice(4,6),16)),t._W(1,255)}else t._W(2,0),t._W(1,0),t._W(1,0);return t}function rt(e){var t=e._R(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}function it(e,t){t||(t=ue(2));var n=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t._W(1,n),t._W(1,0),t}function at(e,t){var n={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},r=e._R(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return n[e._R(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e._R(0,1==t?"lpstr":"lpwstr")}function ot(e){return at(e,1)}function st(e){return at(e,2)}function lt(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""}}function ct(e){var t=lt();if(!e||!e.match)return t;var n={};if((e.match(_h)||[]).forEach(function(e){var r=H(e);switch(r[0].replace(kh,"<")){case"<?xml":break;case"<Types":t.xmlns=r["xmlns"+(r[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":n[r.Extension]=r.ContentType;break;case"<Override":void 0!==t[Yd[r.ContentType]]&&t[Yd[r.ContentType]].push(r.PartName)}}),t.xmlns!==Gh.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}function ut(e,t){var n,r=[];r[r.length]=xh,r[r.length]=Zd,r=r.concat(Qd);var i=function(i){e[i]&&e[i].length>0&&(n=e[i][0],r[r.length]=ee("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:Kd[i][t.bookType||"xlsx"]}))},a=function(n){(e[n]||[]).forEach(function(e){r[r.length]=ee("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Kd[n][t.bookType||"xlsx"]})})},o=function(t){(e[t]||[]).forEach(function(e){r[r.length]=ee("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Jd[t][0]})})};return i("workbooks"),a("sheets"),a("charts"),o("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("drawings"),r.length>2&&(r[r.length]="</Types>",r[1]=r[1].replace("/>",">")),r.join("")}function ft(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function ht(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var r={};return(e.match(_h)||[]).forEach(function(e){var i=H(e);if("<Relationship"===i[0]){var a={};a.Type=i.Type,a.Target=i.Target,a.Id=i.Id,a.TargetMode=i.TargetMode;var o="External"===i.TargetMode?i.Target:z(i.Target,t);n[o]=a,r[i.Id]=a}}),n["!id"]=r,n}function dt(e){var t=[xh,tp];return v(e["!id"]).forEach(function(n){t[t.length]=ee("Relationship",null,e["!id"][n])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function pt(e,t,n,r,i,a){if(i||(i={}),e["!id"]||(e["!id"]={}),t<0)for(t=1;e["!id"]["rId"+t];++t);if(i.Id="rId"+t,i.Type=r,i.Target=n,a?i.TargetMode=a:np.indexOf(i.Type)>-1&&(i.TargetMode="External"),e["!id"][i.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][i.Id]=i,e[("/"+i.Target).replace("//","/")]=i,t}function gt(e,t){for(var n,r,i=au(e);n=xm.exec(i);)switch(n[3]){case"manifest":break;case"file-entry":if(r=H(n[0],!1),"/"==r.path&&r.type!==rp)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}function mt(e){var t=[xh];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var n=0;n<e.length;++n)t.push(' <manifest:file-entry manifest:full-path="'+e[n][0]+'" manifest:media-type="'+e[n][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}function vt(e,t,n){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(n||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function bt(e,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+'"/>\n'," </rdf:Description>\n"].join("")}function yt(e){var t=[xh];t.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var n=0;n!=e.length;++n)t.push(vt(e[n][0],e[n][1])),t.push(bt("",e[n][0]));return t.push(vt("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function wt(e){var t={};e=Ph(e);for(var n=0;n<ap.length;++n){var r=ap[n],i=e.match(op[n]);null!=i&&i.length>0&&(t[r[1]]=Rh(i[1])),"date"===r[2]&&t[r[1]]&&(t[r[1]]=_(t[r[1]]))}return t}function St(e,t,n,r,i){null==i[e]&&null!=t&&""!==t&&(i[e]=t,t=q(t),r[r.length]=n?ee(e,t,n):Z(e,t))}function xt(e,t){var n=t||{},r=[xh,sp],i={};if(!e&&!n.Props)return r.join("");e&&(null!=e.CreatedDate&&St("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:te(e.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i),null!=e.ModifiedDate&&St("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:te(e.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i));for(var a=0;a!=ap.length;++a){var o=ap[a],s=n.Props&&null!=n.Props[o[1]]?n.Props[o[1]]:e?e[o[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&St(o[0],s,null,r,i)}return r.length>2&&(r[r.length]="</cp:coreProperties>",r[1]=r[1].replace("/>",">")),r.join("")}function Et(e,t,n,r){var i=[];if("string"==typeof e)i=J(e,r);else for(var a=0;a<e.length;++a)i=i.concat(e[a].map(function(e){return{v:e}}));var o="string"==typeof t?J(t,r).map(function(e){return e.v}):t,s=0,l=0;if(o.length>0)for(var c=0;c!==i.length;c+=2){switch(l=+i[c+1].v,i[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":n.Worksheets=l,n.SheetNames=o.slice(s,s+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=l,n.DefinedNames=o.slice(s,s+l);break;case"Charts":case"Diagramme":n.Chartsheets=l,n.ChartNames=o.slice(s,s+l)}s+=l}}function _t(e,t,n){var r={};return t||(t={}),e=Ph(e),lp.forEach(function(n){var i=(e.match(Wh(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=Rh(i));break;case"bool":t[n[1]]="true"===i;break;case"raw":var a=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)</"+n[0]+">"));a&&a.length>0&&(r[n[1]]=a[1])}}),r.HeadingPairs&&r.TitlesOfParts&&Et(r.HeadingPairs,r.TitlesOfParts,t,n),t}function kt(e){var t=[],n=ee;return e||(e={}),e.Application="SheetJS",t[t.length]=xh,t[t.length]=up,lp.forEach(function(r){if(void 0!==e[r[1]]){var i;switch(r[2]){case"string":i=q(String(e[r[1]]));break;case"bool":i=e[r[1]]?"true":"false"}void 0!==i&&(t[t.length]=n(r[0],i))}}),t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+q(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function At(e,t){var n={},r="",i=e.match(fp);if(i)for(var a=0;a!=i.length;++a){var o=i[a],s=H(o);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":r=Rh(s.name);break;case"</property>":r=null;break;default:if(0===o.indexOf("<vt:")){var l=o.split(">"),c=l[0].slice(4),u=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":n[r]=Rh(u);break;case"bool":n[r]=K(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[r]=parseInt(u,10);break;case"r4":case"r8":case"decimal":n[r]=parseFloat(u);break;case"filetime":case"date":n[r]=_(u);break;case"cy":case"error":n[r]=Rh(u);break;default:if("/"==c.slice(-1))break;t.WTF&&"undefined"!=typeof console&&console.warn("Unexpected",o,c,l)}}else if("</"===o.slice(0,2));else if(t.WTF)throw new Error(o)}}return n}function Ct(e){var t=[xh,hp];if(!e)return t.join("");var n=1;return v(e).forEach(function(r){++n,t[t.length]=ee("property",ne(e[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:q(r)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function Tt(e,t,n){t=pp[t]||t,e[t]=n}function Rt(e,t){var n=[];return v(dp).map(function(e){for(var t=0;t<ap.length;++t)if(ap[t][1]==e)return ap[t];for(t=0;t<lp.length;++t)if(lp[t][1]==e)return lp[t];throw e}).forEach(function(r){if(null!=e[r[1]]){var i=t&&t.Props&&null!=t.Props[r[1]]?t.Props[r[1]]:e[r[1]];switch(r[2]){case"date":i=new Date(i).toISOString().replace(/\.\d*Z/,"Z")}"number"==typeof i?i=String(i):!0===i||!1===i?i=i?"1":"0":i instanceof Date&&(i=new Date(i).toISOString().replace(/\.\d*Z/,"")),n.push(Z(dp[r[1]]||r[1],i))}}),ee("DocumentProperties",n.join(""),{xmlns:Yh.o})}function Nt(e,t){var n=["Worksheets","SheetNames"],r="CustomDocumentProperties",i=[];return e&&v(e).forEach(function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var r=0;r<ap.length;++r)if(t==ap[r][1])return;for(r=0;r<lp.length;++r)if(t==lp[r][1])return;for(r=0;r<n.length;++r)if(t==n[r])return;var a=e[t],o="string";"number"==typeof a?(o="float",a=String(a)):!0===a||!1===a?(o="boolean",a=a?"1":"0"):a=String(a),i.push(ee(G(t),a,{"dt:dt":o}))}}),t&&v(t).forEach(function(n){
|
||
if(Object.prototype.hasOwnProperty.call(t,n)&&(!e||!Object.prototype.hasOwnProperty.call(e,n))){var r=t[n],a="string";"number"==typeof r?(a="float",r=String(r)):!0===r||!1===r?(a="boolean",r=r?"1":"0"):r instanceof Date?(a="dateTime.tz",r=r.toISOString()):r=String(r),i.push(ee(G(n),r,{"dt:dt":a}))}}),"<"+r+' xmlns="'+Yh.o+'">'+i.join("")+"</"+r+">"}function Bt(e){var t=e._R(4),n=e._R(4);return new Date(1e3*(n/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function It(e){var t="string"==typeof e?new Date(Date.parse(e)):e,n=t.getTime()/1e3+11644473600,r=n%Math.pow(2,32),i=(n-r)/Math.pow(2,32);r*=1e7,i*=1e7;var a=r/Math.pow(2,32)|0;a>0&&(r%=Math.pow(2,32),i+=a);var o=ue(8);return o._W(4,r),o._W(4,i),o}function Ot(e,t,n){var r=e.l,i=e._R(0,"lpstr-cp");if(n)for(;e.l-r&3;)++e.l;return i}function Lt(e,t,n){var r=e._R(0,"lpwstr");return n&&(e.l+=4-(r.length+1&3)&3),r}function Pt(e,t,n){return 31===t?Lt(e):Ot(e,t,n)}function Ft(e,t,n){return Pt(e,t,!1===n?0:4)}function Dt(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Pt(e,t,0)}function Mt(e){for(var t=e._R(4),n=[],r=0;r!=t;++r)n[r]=e._R(0,"lpstr-cp").replace(ih,"");return n}function jt(e){return Mt(e)}function Wt(e){return[Gt(e,Fd),Gt(e,Ld)]}function Ut(e){for(var t=e._R(4),n=[],r=0;r!=t/2;++r)n.push(Wt(e));return n}function zt(e){return Ut(e)}function Ht(e,t){for(var n=e._R(4),r={},i=0;i!=n;++i){var a=e._R(4),o=e._R(4);r[a]=e._R(o,1200===t?"utf16le":"utf8").replace(ih,"").replace(ah,"!"),1200===t&&o%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),r}function Vt(e){var t=e._R(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function qt(e){var t={};return t.Size=e._R(4),e.l+=t.Size+3-(t.Size-1)%4,t}function Gt(e,t,n){var r,i=e._R(2),a=n||{};if(e.l+=2,t!==Pd&&i!==t&&-1===Dd.indexOf(t))throw new Error("Expected type "+t+" saw "+i);switch(t===Pd?i:t){case 2:return r=e._R(2,"i"),a.raw||(e.l+=2),r;case 3:return r=e._R(4,"i");case 11:return 0!==e._R(4);case 19:return r=e._R(4);case 30:return Ot(e,i,4).replace(ih,"");case 31:return Lt(e);case 64:return Bt(e);case 65:return Vt(e);case 71:return qt(e);case 80:return Ft(e,i,!a.raw).replace(ih,"");case 81:return Dt(e,i).replace(ih,"");case 4108:return zt(e);case 4126:return jt(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+i)}}function $t(e,t){var n=ue(4),r=ue(4);switch(n._W(4,80==e?31:e),e){case 3:r._W(-4,t);break;case 5:r=ue(8),r._W(8,t,"f");break;case 11:r._W(4,t?1:0);break;case 64:r=It(t);break;case 31:case 80:for(r=ue(4+2*(t.length+1)+(t.length%2?0:2)),r._W(4,t.length+1),r._W(0,t,"dbcs");r.l!=r.length;)r._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return rh([n,r])}function Xt(e,t){var n=e.l,r=e._R(4),i=e._R(4),a=[],o=0,s=0,l=-1,c={};for(o=0;o!=i;++o){var u=e._R(4),f=e._R(4);a[o]=[u,f+n]}a.sort(function(e,t){return e[1]-t[1]});var h={};for(o=0;o!=i;++o){if(e.l!==a[o][1]){var d=!0;if(o>0&&t)switch(t[a[o-1][0]].t){case 2:e.l+2===a[o][1]&&(e.l+=2,d=!1);break;case 80:case 4108:e.l<=a[o][1]&&(e.l=a[o][1],d=!1)}if((!t||0==o)&&e.l<=a[o][1]&&(d=!1,e.l=a[o][1]),d)throw new Error("Read Error: Expected address "+a[o][1]+" at "+e.l+" :"+o)}if(t){var p=t[a[o][0]];if(h[p.n]=Gt(e,p.t,{raw:!0}),"version"===p.p&&(h[p.n]=String(h[p.n]>>16)+"."+("0000"+String(65535&h[p.n])).slice(-4)),"CodePage"==p.n)switch(h[p.n]){case 0:h[p.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:$f(s=h[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+h[p.n])}}else if(1===a[o][0]){if(s=h.CodePage=Gt(e,Od),$f(s),-1!==l){var g=e.l;e.l=a[l][1],c=Ht(e,s),e.l=g}}else if(0===a[o][0]){if(0===s){l=o,e.l=a[o+1][1];continue}c=Ht(e,s)}else{var m,v=c[a[o][0]];switch(e[e.l]){case 65:e.l+=4,m=Vt(e);break;case 30:case 31:e.l+=4,m=Ft(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,m=e._R(4,"i");break;case 19:e.l+=4,m=e._R(4);break;case 5:e.l+=4,m=e._R(8,"f");break;case 11:e.l+=4,m=nn(e,4);break;case 64:e.l+=4,m=_(Bt(e));break;default:throw new Error("unparsed value: "+e[e.l])}h[v]=m}}return e.l=n+r,h}function Yt(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Kt(e,t,n){var r=ue(8),i=[],a=[],o=8,s=0,l=ue(8),c=ue(8);if(l._W(4,2),l._W(4,1200),c._W(4,1),a.push(l),i.push(c),o+=8+l.length,!t){c=ue(8),c._W(4,0),i.unshift(c);var u=[ue(4)];for(u[0]._W(4,e.length),s=0;s<e.length;++s){var f=e[s][0];for(l=ue(8+2*(f.length+1)+(f.length%2?0:2)),l._W(4,s+2),l._W(4,f.length+1),l._W(0,f,"dbcs");l.l!=l.length;)l._W(1,0);u.push(l)}l=rh(u),a.unshift(l),o+=8+l.length}for(s=0;s<e.length;++s)if((!t||t[e[s][0]])&&!(gp.indexOf(e[s][0])>-1)&&null!=e[s][1]){var h=e[s][1],d=0;if(t){d=+t[e[s][0]];var p=n[d];if("version"==p.p&&"string"==typeof h){var g=h.split(".");h=(+g[0]<<16)+(+g[1]||0)}l=$t(p.t,h)}else{var m=Yt(h);-1==m&&(m=31,h=String(h)),l=$t(m,h)}a.push(l),c=ue(8),c._W(4,t?d:2+s),i.push(c),o+=8+l.length}var v=8*(a.length+1);for(s=0;s<a.length;++s)i[s]._W(4,v),v+=a[s].length;return r._W(4,o),r._W(4,a.length),rh([r].concat(i).concat(a))}function Jt(e,t,n){var r=e.content;if(!r)return{};le(r,0);var i,a,o,s,l=0;r.chk("feff","Byte Order: "),r._R(2);var c=r._R(4),u=r._R(16);if(u!==dh.utils.consts.HEADER_CLSID&&u!==n)throw new Error("Bad PropertySet CLSID "+u);if(1!==(i=r._R(4))&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(a=r._R(16),s=r._R(4),1===i&&s!==r.l)throw new Error("Length mismatch: "+s+" !== "+r.l);2===i&&(o=r._R(16),l=r._R(4));var f=Xt(r,t),h={SystemIdentifier:c};for(var d in f)h[d]=f[d];if(h.FMTID=a,1===i)return h;if(l-r.l==2&&(r.l+=2),r.l!==l)throw new Error("Length mismatch 2: "+r.l+" !== "+l);var p;try{p=Xt(r,null)}catch(e){}for(d in p)h[d]=p[d];return h.FMTID=[a,o],h}function Zt(e,t,n,r,i,a){var o=ue(i?68:48),s=[o];o._W(2,65534),o._W(2,0),o._W(4,842412599),o._W(16,dh.utils.consts.HEADER_CLSID,"hex"),o._W(4,i?2:1),o._W(16,t,"hex"),o._W(4,i?68:48);var l=Kt(e,n,r);if(s.push(l),i){var c=Kt(i,null,null);o._W(16,a,"hex"),o._W(4,68+l.length),s.push(c)}return rh(s)}function Qt(e,t){return e._R(t),null}function en(e,t){t||(t=ue(e));for(var n=0;n<e;++n)t._W(1,0);return t}function tn(e,t,n){for(var r=[],i=e.l+t;e.l<i;)r.push(n(e,i-e.l));if(i!==e.l)throw new Error("Slurp error");return r}function nn(e,t){return 1===e._R(t)}function rn(e,t){return t||(t=ue(2)),t._W(2,+!!e),t}function an(e){return e._R(2,"u")}function on(e,t){return t||(t=ue(2)),t._W(2,e),t}function sn(e,t){return tn(e,t,an)}function ln(e){var t=e._R(1);return 1===e._R(1)?t:1===t}function cn(e,t,n){return n||(n=ue(2)),n._W(1,+e),n._W(1,"e"==t?1:0),n}function un(e,t,n){var r=e._R(n&&n.biff>=12?2:1),i="sbcs-cont",a=Uf;if(n&&n.biff>=8&&(Uf=1200),n&&8!=n.biff)12==n.biff&&(i="wstr");else{e._R(1)&&(i="dbcs-cont")}n.biff>=2&&n.biff<=5&&(i="cpstr");var o=r?e._R(r,i):"";return Uf=a,o}function fn(e){var t=Uf;Uf=1200;var n,r=e._R(2),i=e._R(1),a=4&i,o=8&i,s=1+(1&i),l=0,c={};o&&(l=e._R(2)),a&&(n=e._R(4));var u=2==s?"dbcs-cont":"sbcs-cont",f=0===r?"":e._R(r,u);return o&&(e.l+=4*l),a&&(e.l+=n),c.t=f,o||(c.raw="<t>"+c.t+"</t>",c.r=c.t),Uf=t,c}function hn(e){var t=e.t||"",n=ue(3);n._W(2,t.length),n._W(1,1);var r=ue(2*t.length);return r._W(2*t.length,t,"utf16le"),rh([n,r])}function dn(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e._R(t,"cpstr");if(n.biff>=12)return e._R(t,"dbcs-cont")}return 0===e._R(1)?e._R(t,"sbcs-cont"):e._R(t,"dbcs-cont")}function pn(e,t,n){var r=e._R(n&&2==n.biff?1:2);return 0===r?(e.l++,""):dn(e,r,n)}function gn(e,t,n){if(n.biff>5)return pn(e,t,n);var r=e._R(1);return 0===r?(e.l++,""):e._R(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function mn(e,t,n){return n||(n=ue(3+2*e.length)),n._W(2,e.length),n._W(1,1),n._W(31,e,"utf16le"),n}function vn(e){var t=e._R(1);e.l++;var n=e._R(2);return e.l+=2,[t,n]}function bn(e){var t=e._R(4),n=e.l,r=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e._R(16)&&(r=!0),e.l=n);var i=e._R((r?t-24:t)>>1,"utf16le").replace(ih,"");return r&&(e.l+=24),i}function yn(e){e.l+=2;var t=e._R(0,"lpstr-ansi");if(e.l+=2,57005!=e._R(2))throw new Error("Bad FileMoniker");if(0===e._R(4))return t.replace(/\\/g,"/");var n=e._R(4);if(3!=e._R(2))throw new Error("Bad FileMoniker");return e._R(n>>1,"utf16le").replace(ih,"")}function wn(e,t){var n=e._R(16);switch(t-=16,n){case"e0c9ea79f9bace118c8200aa004ba90b":return bn(e,t);case"0303000000000000c000000000000046":return yn(e,t);default:throw new Error("Unsupported Moniker "+n)}}function Sn(e){var t=e._R(4);return t>0?e._R(t,"utf16le").replace(ih,""):""}function xn(e,t){var n=e.l+t,r=e._R(4);if(2!==r)throw new Error("Unrecognized streamVersion: "+r);var i=e._R(2);e.l+=2;var a,o,s,l,c,u,f="";16&i&&(a=Sn(e,n-e.l)),128&i&&(o=Sn(e,n-e.l)),257==(257&i)&&(s=Sn(e,n-e.l)),1==(257&i)&&(l=wn(e,n-e.l)),8&i&&(f=Sn(e,n-e.l)),32&i&&(c=e._R(16)),64&i&&(u=Bt(e)),e.l=n;var h=o||s||l||"";h&&f&&(h+="#"+f),h||(h="#"+f);var d={Target:h};return c&&(d.guid=c),u&&(d.time=u),a&&(d.Tooltip=a),d}function En(e){var t=ue(512),n=0,r=e.Target,i=r.indexOf("#")>-1?31:23;switch(r.charAt(0)){case"#":i=28;break;case".":i&=-3}t._W(4,2),t._W(4,i);var a=[8,6815827,6619237,4849780,83];for(n=0;n<a.length;++n)t._W(4,a[n]);if(28==i){for(r=r.slice(1),t._W(4,r.length+1),n=0;n<r.length;++n)t._W(2,r.charCodeAt(n));t._W(2,0)}else if(2&i){for(a="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<a.length;++n)t._W(1,parseInt(a[n],16));for(t._W(4,2*(r.length+1)),n=0;n<r.length;++n)t._W(2,r.charCodeAt(n));t._W(2,0)}else{for(a="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n<a.length;++n)t._W(1,parseInt(a[n],16));for(var o=0;"../"==r.slice(3*o,3*o+3)||"..\\"==r.slice(3*o,3*o+3);)++o;for(t._W(2,o),t._W(4,r.length+1),n=0;n<r.length;++n)t._W(1,255&r.charCodeAt(n));for(t._W(1,0),t._W(2,65535),t._W(2,57005),n=0;n<6;++n)t._W(4,0)}return t.slice(0,t.l)}function _n(e){return[e._R(1),e._R(1),e._R(1),e._R(1)]}function kn(e,t){var n=_n(e,t);return n[3]=0,n}function An(e){return{r:e._R(2),c:e._R(2),ixfe:e._R(2)}}function Cn(e,t,n,r){return r||(r=ue(6)),r._W(2,e),r._W(2,t),r._W(2,n||0),r}function Tn(e){var t=e._R(2),n=e._R(2);return e.l+=8,{type:t,flags:n}}function Rn(e,t,n){return 0===t?"":gn(e,t,n)}function Nn(e,t,n){var r=n.biff>8?4:2;return[e._R(r),e._R(r,"i"),e._R(r,"i")]}function Bn(e){return[e._R(2),Ye(e)]}function In(e,t,n){e.l+=4,t-=4;var r=e.l+t,i=un(e,t,n),a=e._R(2);if(r-=e.l,a!==r)throw new Error("Malformed AddinUdf: padding = "+r+" != "+a);return e.l+=a,i}function On(e){var t=e._R(2),n=e._R(2);return{s:{c:e._R(2),r:t},e:{c:e._R(2),r:n}}}function Ln(e,t){return t||(t=ue(8)),t._W(2,e.s.r),t._W(2,e.e.r),t._W(2,e.s.c),t._W(2,e.e.c),t}function Pn(e){var t=e._R(2),n=e._R(2);return{s:{c:e._R(1),r:t},e:{c:e._R(1),r:n}}}function Fn(e){e.l+=4;var t=e._R(2),n=e._R(2),r=e._R(2);return e.l+=12,[n,t,r]}function Dn(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e._R(2),e.l+=4,t}function Mn(e){var t={};return e.l+=4,e.cf=e._R(2),t}function jn(e){e.l+=2,e.l+=e._R(2)}function Wn(e,t){for(var n=e.l+t,r=[];e.l<n;){var i=e._R(2);e.l-=2;try{r.push(vp[i](e,n-e.l))}catch(t){return e.l=n,r}}return e.l!=n&&(e.l=n),r}function Un(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e._R(2),t-=2,t>=2&&(n.dt=e._R(2),e.l-=2),n.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e._R(t),n}function zn(e,t,n){var r=1536,i=16;switch(n.bookType){case"biff8":break;case"biff5":r=1280,i=8;break;case"biff4":r=4,i=6;break;case"biff3":r=3,i=6;break;case"biff2":r=2,i=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var a=ue(i);return a._W(2,r),a._W(2,t),i>4&&a._W(2,29282),i>6&&a._W(2,1997),i>8&&(a._W(2,49161),a._W(2,1),a._W(2,1798),a._W(2,0)),a}function Hn(e,t){return 0===t?1200:(e._R(2),1200)}function Vn(e,t,n){if(n.enc)return e.l+=t,"";var r=e.l,i=gn(e,0,n);return e._R(t+r-e.l),i}function qn(e,t){var n=!t||8==t.biff,r=ue(n?112:54);for(r._W(8==t.biff?2:1,7),n&&r._W(1,0),r._W(4,859007059),r._W(4,5458548|(n?0:536870912));r.l<r.length;)r._W(1,n?0:32);return r}function Gn(e,t,n){return{fDialog:16&(n&&8==n.biff||2==t?e._R(2):(e.l+=t,0))}}function $n(e,t,n){var r=e._R(4),i=3&e._R(1),a=e._R(1);switch(a){case 0:a="Worksheet";break;case 1:a="Macrosheet";break;case 2:a="Chartsheet";break;case 6:a="VBAModule"}var o=un(e,0,n);return 0===o.length&&(o="Sheet1"),{pos:r,hs:i,dt:a,name:o}}function Xn(e,t){var n=!t||t.biff>=8?2:1,r=ue(8+n*e.name.length);r._W(4,e.pos),r._W(1,e.hs||0),r._W(1,e.dt),r._W(1,e.name.length),t.biff>=8&&r._W(1,1),r._W(n*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var i=r.slice(0,r.l);return i.l=r.l,i}function Yn(e,t){for(var n=e.l+t,r=e._R(4),i=e._R(4),a=[],o=0;o!=i&&e.l<n;++o)a.push(fn(e));return a.Count=r,a.Unique=i,a}function Kn(e,t){var n=ue(8);n._W(4,e.Count),n._W(4,e.Unique);for(var r=[],i=0;i<e.length;++i)r[i]=hn(e[i],t);var a=rh([n].concat(r));return a.parts=[n.length].concat(r.map(function(e){return e.length})),a}function Jn(e,t){var n={};return n.dsst=e._R(2),e.l+=t-2,n}function Zn(e){var t={};t.r=e._R(2),t.c=e._R(2),t.cnt=e._R(2)-t.c;var n=e._R(2);e.l+=4;var r=e._R(1);return e.l+=3,7&r&&(t.level=7&r),32&r&&(t.hidden=!0),64&r&&(t.hpt=n/20),t}function Qn(e){var t=Tn(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e._R(4)}function er(e){return e._R(2),e._R(4)}function tr(e,t,n){var r=0;n&&2==n.biff||(r=e._R(2));var i=e._R(2);return n&&2==n.biff&&(r=1-(i>>15),i&=32767),[{Unsynced:1&r,DyZero:(2&r)>>1,ExAsc:(4&r)>>2,ExDsc:(8&r)>>3},i]}function nr(e){return{Pos:[e._R(2),e._R(2)],Dim:[e._R(2),e._R(2)],Flags:e._R(2),CurTab:e._R(2),FirstTab:e._R(2),Selected:e._R(2),TabRatio:e._R(2)}}function rr(){var e=ue(18);return e._W(2,0),e._W(2,0),e._W(2,29280),e._W(2,17600),e._W(2,56),e._W(2,0),e._W(2,0),e._W(2,1),e._W(2,500),e}function ir(e,t,n){return n&&n.biff>=2&&n.biff<5?{}:{RTL:64&e._R(2)}}function ar(e){var t=ue(18),n=1718;return e&&e.RTL&&(n|=64),t._W(2,n),t._W(4,0),t._W(4,64),t._W(4,0),t._W(4,0),t}function or(){}function sr(e,t,n){var r={dyHeight:e._R(2),fl:e._R(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return r.name=un(e,0,n),r}function lr(e,t){var n=e.name||"Arial",r=t&&5==t.biff,i=r?15+n.length:16+2*n.length,a=ue(i);return a._W(2,20*(e.sz||12)),a._W(4,0),a._W(2,400),a._W(4,0),a._W(2,0),a._W(1,n.length),r||a._W(1,1),a._W((r?1:2)*n.length,n,r?"sbcs":"utf16le"),a}function cr(e){var t=An(e);return t.isst=e._R(4),t}function ur(e,t,n,r){var i=ue(10);return Cn(e,t,r,i),i._W(4,n),i}function fr(e,t,n){var r=e.l+t,i=An(e,6);2==n.biff&&e.l++;var a=pn(e,r-e.l,n);return i.val=a,i}function hr(e,t,n,r,i){var a=!i||8==i.biff,o=ue(+a+8+(1+a)*n.length);return Cn(e,t,r,o),o._W(2,n.length),a&&o._W(1,1),o._W((1+a)*n.length,n,a?"utf16le":"sbcs"),o}function dr(e,t,n){return[e._R(2),gn(e,0,n)]}function pr(e,t,n,r){var i=n&&5==n.biff;r||(r=ue(i?3+t.length:5+2*t.length)),r._W(2,e),r._W(i?1:2,t.length),i||r._W(1,1),r._W((i?1:2)*t.length,t,i?"sbcs":"utf16le");var a=r.length>r.l?r.slice(0,r.l):r;return null==a.l&&(a.l=a.length),a}function gr(e,t,n){var r=e.l+t,i=8!=n.biff&&n.biff?2:4,a=e._R(i),o=e._R(i),s=e._R(2),l=e._R(2);return e.l=r,{s:{r:a,c:s},e:{r:o,c:l}}}function mr(e,t){var n=8!=t.biff&&t.biff?2:4,r=ue(2*n+6);return r._W(n,e.s.r),r._W(n,e.e.r+1),r._W(2,e.s.c),r._W(2,e.e.c+1),r._W(2,0),r}function vr(e){var t=e._R(2),n=e._R(2),r=Bn(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}function br(e,t){for(var n=e.l+t-2,r=e._R(2),i=e._R(2),a=[];e.l<n;)a.push(Bn(e));if(e.l!==n)throw new Error("MulRK read error");var o=e._R(2);if(a.length!=o-i+1)throw new Error("MulRK length mismatch");return{r:r,c:i,C:o,rkrec:a}}function yr(e,t){for(var n=e.l+t-2,r=e._R(2),i=e._R(2),a=[];e.l<n;)a.push(e._R(2));if(e.l!==n)throw new Error("MulBlank read error");var o=e._R(2);if(a.length!=o-i+1)throw new Error("MulBlank length mismatch");return{r:r,c:i,C:o,ixfe:a}}function wr(e,t,n,r){var i={},a=e._R(4),o=e._R(4),s=e._R(4),l=e._R(2);return i.patternType=Vd[s>>26],r.cellStyles?(i.alc=7&a,i.fWrap=a>>3&1,i.alcV=a>>4&7,i.fJustLast=a>>7&1,i.trot=a>>8&255,i.cIndent=a>>16&15,i.fShrinkToFit=a>>20&1,i.iReadOrder=a>>22&2,i.fAtrNum=a>>26&1,i.fAtrFnt=a>>27&1,i.fAtrAlc=a>>28&1,i.fAtrBdr=a>>29&1,i.fAtrPat=a>>30&1,i.fAtrProt=a>>31&1,i.dgLeft=15&o,i.dgRight=o>>4&15,i.dgTop=o>>8&15,i.dgBottom=o>>12&15,i.icvLeft=o>>16&127,i.icvRight=o>>23&127,i.grbitDiag=o>>30&3,i.icvTop=127&s,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=127&l,i.icvBack=l>>7&127,i.fsxButton=l>>14&1,i):i}function Sr(e,t,n){var r={};return r.ifnt=e._R(2),r.numFmtId=e._R(2),r.flags=e._R(2),r.fStyle=r.flags>>2&1,t-=6,r.data=wr(e,t,r.fStyle,n),r}function xr(e,t,n,r){var i=n&&5==n.biff;return r||(r=ue(i?16:20)),r._W(2,0),e.style?(r._W(2,e.numFmtId||0),r._W(2,65524)):(r._W(2,e.numFmtId||0),r._W(2,t<<4)),r._W(4,0),r._W(4,0),i||r._W(4,0),r._W(2,0),r}function Er(e){e.l+=4;var t=[e._R(2),e._R(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function _r(e){var t=ue(8);return t._W(4,0),t._W(2,e[0]?e[0]+1:0),t._W(2,e[1]?e[1]+1:0),t}function kr(e,t,n){var r=An(e,6);2==n.biff&&++e.l;var i=ln(e,2);return r.val=i,r.t=!0===i||!1===i?"b":"e",r}function Ar(e,t,n,r,i,a){var o=ue(8);return Cn(e,t,r,o),cn(n,a,o),o}function Cr(e){var t=An(e,6),n=Qe(e,8);return t.val=n,t}function Tr(e,t,n,r){var i=ue(14);return Cn(e,t,r,i),et(n,i),i}function Rr(e,t,n){var r=e.l+t,i=e._R(2),a=e._R(2);if(n.sbcch=a,1025==a||14849==a)return[a,i];if(a<1||a>255)throw new Error("Unexpected SupBook type: "+a);for(var o=dn(e,a),s=[];r>e.l;)s.push(pn(e));return[a,i,o,s]}function Nr(e,t,n){var r,i=e._R(2),a={fBuiltIn:1&i,fWantAdvise:i>>>1&1,fWantPict:i>>>2&1,fOle:i>>>3&1,fOleLink:i>>>4&1,cf:i>>>5&1023,fIcon:i>>>15&1};return 14849===n.sbcch&&(r=In(e,t-2,n)),a.body=r||e._R(t-2),"string"==typeof r&&(a.Name=r),a}function Br(e,t,n){var r=e.l+t,i=e._R(2),a=e._R(1),o=e._R(1),s=e._R(n&&2==n.biff?1:2),l=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),l=e._R(2),5==n.biff&&(e.l+=2),e.l+=4);var c=dn(e,o,n);32&i&&(c=wp[c.charCodeAt(0)]);var u=r-e.l;return n&&2==n.biff&&--u,{chKey:a,Name:c,itab:l,rgce:r==e.l||0===s?[]:Bs(e,u,n,s)}}function Ir(e,t,n){if(n.biff<8)return Or(e,t,n);for(var r=[],i=e.l+t,a=e._R(n.biff>8?4:2);0!=a--;)r.push(Nn(e,n.biff>8?12:6,n));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return r}function Or(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=un(e,t,n);return 3==r.charCodeAt(0)?r.slice(1):r}function Lr(e,t,n){if(n.biff<8)return void(e.l+=t);var r=e._R(2),i=e._R(2);return[dn(e,r,n),dn(e,i,n)]}function Pr(e,t,n){var r=Pn(e,6);e.l++;var i=e._R(1);return t-=8,[Is(e,t,n),i,r]}function Fr(e,t,n){var r=mp(e,6);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[r,Rs(e,t,n)]}function Dr(e){return[0!==e._R(4),0!==e._R(4),e._R(4)]}function Mr(e,t,n){if(!(n.biff<8)){var r=e._R(2),i=e._R(2),a=e._R(2),o=e._R(2),s=gn(e,0,n);return n.biff<8&&e._R(1),[{r:r,c:i},s,o,a]}}function jr(e,t,n){return Mr(e,t,n)}function Wr(e,t){for(var n=[],r=e._R(2);r--;)n.push(On(e,t));return n}function Ur(e){var t=ue(2+8*e.length);t._W(2,e.length);for(var n=0;n<e.length;++n)Ln(e[n],t);return t}function zr(e,t,n){if(n&&n.biff<8)return Hr(e,t,n);var r=Fn(e,22);return{cmo:r,ft:Wn(e,t-22,r[1])}}function Hr(e,t,n){e.l+=4;var r=e._R(2),i=e._R(2),a=e._R(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var o=[];return o.push((Sp[r]||ce)(e,t,n)),{cmo:[i,r,a],ft:o}}function Vr(e,t,n){var r=e.l,i="";try{e.l+=4;var a=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(a)?e.l+=6:vn(e,6,n);var o=e._R(2);e._R(2),an(e,2);var s=e._R(2);e.l+=s;for(var l=1;l<e.lens.length-1;++l){if(e.l-r!=e.lens[l])throw new Error("TxO: bad continue record");var c=e[e.l],u=dn(e,e.lens[l+1]-e.lens[l]-1);if(i+=u,i.length>=(c?o:2*o))break}if(i.length!==o&&i.length!==2*o)throw new Error("cchText: "+o+" != "+i.length);return e.l=r+t,{t:i}}catch(n){return e.l=r+t,{t:i}}}function qr(e,t){var n=On(e,8);return e.l+=16,[n,xn(e,t-24)]}function Gr(e){var t=ue(24),n=Ce(e[0]);t._W(2,n.r),t._W(2,n.r),t._W(2,n.c),t._W(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),i=0;i<16;++i)t._W(1,parseInt(r[i],16));return rh([t,En(e[1])])}function $r(e,t){e._R(2);var n=On(e,8),r=e._R((t-10)/2,"dbcs-cont");return r=r.replace(ih,""),[n,r]}function Xr(e){var t=e[1].Tooltip,n=ue(10+2*(t.length+1));n._W(2,2048);var r=Ce(e[0]);n._W(2,r.r),n._W(2,r.r),n._W(2,r.c),n._W(2,r.c);for(var i=0;i<t.length;++i)n._W(2,t.charCodeAt(i));return n._W(2,0),n}function Yr(e){var t,n=[0,0];return t=e._R(2),n[0]=Hd[t]||t,t=e._R(2),n[1]=Hd[t]||t,n}function Kr(e){return e||(e=ue(4)),e._W(2,1),e._W(2,1),e}function Jr(e){for(var t=e._R(2),n=[];t-- >0;)n.push(kn(e,8));return n}function Zr(e){for(var t=e._R(2),n=[];t-- >0;)n.push(kn(e,8));return n}function Qr(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e._R(2),t.crc=e._R(4),t}function ei(e,t,n){if(!n.cellStyles)return ce(e,t);var r=n&&n.biff>=12?4:2,i=e._R(r),a=e._R(r),o=e._R(r),s=e._R(r),l=e._R(2);2==r&&(e.l+=2);var c={s:i,e:a,w:o,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}function ti(e,t){var n={};return t<32?n:(e.l+=16,n.header=Qe(e,8),n.footer=Qe(e,8),e.l+=2,n)}function ni(e,t,n){var r={area:!1};if(5!=n.biff)return e.l+=t,r;var i=e._R(1);return e.l+=3,16&i&&(r.area=!0),r}function ri(e){for(var t=ue(2*e),n=0;n<e;++n)t._W(2,n+1);return t}function ii(e){var t=e._R(2),n=e._R(2),r=e._R(4),i={fmt:t,env:n,len:r,data:e.slice(e.l,e.l+r)};return e.l+=r,i}function ai(e,t,n){var r=An(e,6);++e.l;var i=gn(e,t-7,n);return r.t="str",r.val=i,r}function oi(e){var t=An(e,6);++e.l;var n=Qe(e,8);return t.t="n",t.val=n,t}function si(e,t,n){var r=ue(15);return Iu(r,e,t),r._W(8,n,"f"),r}function li(e){var t=An(e,6);++e.l;var n=e._R(2);return t.t="n",t.val=n,t}function ci(e,t,n){var r=ue(9);return Iu(r,e,t),r._W(2,n),r}function ui(e){var t=e._R(1);return 0===t?(e.l++,""):e._R(t,"sbcs-cont")}function fi(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function hi(e,t,n){var r=e.l+t,i=An(e,6),a=e._R(2),o=dn(e,a,n);return e.l=r,i.t="str",i.val=o,i}function di(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var i=Ap.to_workbook(e,n);return n.WTF=r,i}catch(i){if(n.WTF=r,!i.message.match(/SYLK bad record ID/)&&r)throw i;return Rp.to_workbook(e,t)}}function pi(e){var t={},n=e.match(_h),r=0,i=!1;if(n)for(;r!=n.length;++r){var a=H(n[r]);switch(a[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!a.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==a.val)break;t.cp=qf[parseInt(a.val,10)];break;case"<outline":if(!a.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=a.val;break;case"<sz":t.sz=a.val;break;case"<strike":if(!a.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!a.val)break;switch(a.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==a.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==a.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":a.rgb&&(t.color=a.rgb.slice(2,8));break;case"<family":t.family=a.val;break;case"<vertAlign":t.valign=a.val;break;case"<scheme":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(47!==a[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+a[0])}}return t}function gi(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=Rh(Ph(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),r.r=Ph(e),n&&(r.h=X(r.t))):e.match(Lp)&&(r.r=Ph(e),r.t=Rh(Ph((e.replace(Pp,"").match(Op)||[]).join("").replace(_h,""))),n&&(r.h=Ip(Bp(r.r)))),r):{t:""}}function mi(e,t){var n=[],r="";if(!e)return n;var i=e.match(Fp);if(i){r=i[2].replace(Dp,"").split(Mp);for(var a=0;a!=r.length;++a){var o=gi(r[a].trim(),t);null!=o&&(n[n.length]=o)}i=H(i[1]),n.Count=i.count,n.Unique=i.uniqueCount}return n}function vi(e,t){if(!t.bookSST)return"";var n=[xh];n[n.length]=ee("sst",null,{xmlns:Gh.main[0],count:e.Count,uniqueCount:e.Unique});for(var r=0;r!=e.length;++r)if(null!=e[r]){var i=e[r],a="<si>";i.r?a+=i.r:(a+="<t",i.t||(i.t=""),i.t.match(jp)&&(a+=' xml:space="preserve"'),a+=">"+q(i.t)+"</t>"),a+="</si>",n[n.length]=a}return n.length>2&&(n[n.length]="</sst>",n[1]=n[1].replace("/>",">")),n.join("")}function bi(e){return[e._R(4),e._R(4)]}function yi(e,t){var n=[],r=!1;return fe(e,function(e,i,a){switch(a){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:r=!0;break;case 36:r=!1;break;default:if(i.indexOf("Begin")>0||i.indexOf("End"),!r||t.WTF)throw new Error("Unexpected record "+a+" "+i)}}),n}function wi(e,t){return t||(t=ue(8)),t._W(4,e.Count),t._W(4,e.Unique),t}function Si(e){var t=he();de(t,"BrtBeginSst",wi(e));for(var n=0;n<e.length;++n)de(t,"BrtSSTItem",Wp(e[n]));return de(t,"BrtEndSst"),t.end()}function xi(e){if("undefined"!=typeof cptable)return cptable.utils.encode(zf,e);for(var t=[],n=e.split(""),r=0;r<n.length;++r)t[r]=n[r].charCodeAt(0);return t}function Ei(e,t){var n={};return n.Major=e._R(2),n.Minor=e._R(2),t>=4&&(e.l+=t-4),n}function _i(e){var t={};return t.id=e._R(0,"lpp4"),t.R=Ei(e,4),t.U=Ei(e,4),t.W=Ei(e,4),t}function ki(e){for(var t=e._R(4),n=e.l+t-4,r={},i=e._R(4),a=[];i-- >0;)a.push({t:e._R(4),v:e._R(0,"lpp4")});if(r.name=e._R(0,"lpp4"),r.comps=a,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return r}function Ai(e){var t=[];e.l+=4;for(var n=e._R(4);n-- >0;)t.push(ki(e));return t}function Ci(e){var t=[];e.l+=4;for(var n=e._R(4);n-- >0;)t.push(e._R(0,"lpp4"));return t}function Ti(e){var t={};return e._R(4),e.l+=4,t.id=e._R(0,"lpp4"),t.name=e._R(0,"lpp4"),t.R=Ei(e,4),t.U=Ei(e,4),t.W=Ei(e,4),t}function Ri(e){var t=Ti(e);if(t.ename=e._R(0,"8lpp4"),t.blksz=e._R(4),t.cmode=e._R(4),4!=e._R(4))throw new Error("Bad !Primary record");return t}function Ni(e,t){var n=e.l+t,r={};r.Flags=63&e._R(4),e.l+=4,r.AlgID=e._R(4);var i=!1;switch(r.AlgID){case 26126:case 26127:case 26128:i=36==r.Flags;break;case 26625:i=4==r.Flags;break;case 0:i=16==r.Flags||4==r.Flags||36==r.Flags;break;default:throw"Unrecognized encryption algorithm: "+r.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return r.AlgIDHash=e._R(4),r.KeySize=e._R(4),r.ProviderType=e._R(4),e.l+=8,r.CSPName=e._R(n-e.l>>1,"utf16le"),e.l=n,r}function Bi(e,t){var n={},r=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e._R(4),n.VerifierHash=e.slice(e.l,r),e.l=r,n}function Ii(e){var t=Ei(e);switch(t.Minor){case 2:return[t.Minor,Oi(e)];case 3:return[t.Minor,Li()];case 4:return[t.Minor,Pi(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function Oi(e){if(36!=(63&e._R(4)))throw new Error("EncryptionInfo mismatch");return{t:"Std",h:Ni(e,e._R(4)),v:Bi(e,e.length-e.l)}}function Li(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Pi(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e._R(e.length-e.l,"utf8"),r={};return n.replace(_h,function(e){var n=H(e);switch(V(n[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach(function(e){r[e]=n[e]});break;case"<dataIntegrity":r.encryptedHmacKey=n.encryptedHmacKey,r.encryptedHmacValue=n.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":r.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":r.uri=n.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":r.encs.push(n);break;default:throw n[0]}}),r}function Fi(e,t){var n={},r=n.EncryptionVersionInfo=Ei(e,4);if(t-=4,2!=r.Minor)throw new Error("unrecognized minor version code: "+r.Minor);if(r.Major>4||r.Major<2)throw new Error("unrecognized major version code: "+r.Major);n.Flags=e._R(4),t-=4;var i=e._R(4);return t-=4,n.EncryptionHeader=Ni(e,i),t-=i,n.EncryptionVerifier=Bi(e,t),n}function Di(e){var t={},n=t.EncryptionVersionInfo=Ei(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e._R(16),t.EncryptedVerifier=e._R(16),t.EncryptedVerifierHash=e._R(16),t}function Mi(e){var t,n,r,i,a,s,l=0,c=xi(e),u=c.length+1;for(t=o(u),t[0]=c.length,n=1;n!=u;++n)t[n]=c[n-1];for(n=u-1;n>=0;--n)r=t[n],i=0==(16384&l)?0:1,a=l<<1&32767,s=i|a,l=s^r;return 52811^l}function ji(e,t,n,r){var i={key:an(e),verificationBytes:an(e)};return n.password&&(i.verifier=Mi(n.password)),r.valid=i.verificationBytes===i.verifier,r.valid&&(r.insitu=Hp(n.password)),i}function Wi(e,t,n){var r=n||{};return r.Info=e._R(2),e.l-=2,1===r.Info?r.Data=Di(e,t):r.Data=Fi(e,t),r}function Ui(e,t,n){var r={Type:n.biff>=8?e._R(2):0};return r.Type?Wi(e,t-2,r):ji(e,n.biff>=8?t:t-2,n,r),r}function zi(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function Hi(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function Vi(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(t,n,r),a=Math.min(t,n,r),o=i-a;if(0===o)return[0,0,t];var s=0,l=0,c=i+a;switch(l=o/(c>1?2-c:c),i){case t:s=((n-r)/o+6)%6;break;case n:s=(r-t)/o+2;break;case r:s=(t-n)/o+4}return[s/6,l,c/2]}function qi(e){var t,n=e[0],r=e[1],i=e[2],a=2*r*(i<.5?i:1-i),o=i-a/2,s=[o,o,o],l=6*n;if(0!==r)switch(0|l){case 0:case 6:t=a*l,s[0]+=a,s[1]+=t;break;case 1:t=a*(2-l),s[0]+=t,s[1]+=a;break;case 2:t=a*(l-2),s[1]+=a,s[2]+=t;break;case 3:t=a*(4-l),s[1]+=t,s[2]+=a;break;case 4:t=a*(l-4),s[2]+=a,s[0]+=t;break;case 5:t=a*(6-l),s[2]+=t,s[0]+=a}for(var c=0;3!=c;++c)s[c]=Math.round(255*s[c]);return s}function Gi(e,t){if(0===t)return e;var n=Vi(zi(e));return n[2]=t<0?n[2]*(1+t):1-(1-n[2])*(1-t),Hi(qi(n))}function $i(e){return Math.floor((e+Math.round(128/Xp)/256)*Xp)}function Xi(e){return Math.floor((e-5)/Xp*100+.5)/100}function Yi(e){return Math.round((e*Xp+5)/Xp*256)/256}function Ki(e){return Yi(Xi($i(e)))}function Ji(e){var t=Math.abs(e-Ki(e)),n=Xp;if(t>.005)for(Xp=$p;Xp<Gp;++Xp)Math.abs(e-Ki(e))<=t&&(t=Math.abs(e-Ki(e)),n=Xp);Xp=n}function Zi(e){e.width?(e.wpx=$i(e.width),e.wch=Xi(e.wpx),e.MDW=Xp):e.wpx?(e.wch=Xi(e.wpx),e.width=Yi(e.wch),e.MDW=Xp):"number"==typeof e.wch&&(e.width=Yi(e.wch),e.wpx=$i(e.width),e.MDW=Xp),e.customWidth&&delete e.customWidth}function Qi(e){return 96*e/Yp}function ea(e){return e*Yp/96}function ta(e,t,n,r){t.Borders=[];var i={},a=!1;(e[0].match(_h)||[]).forEach(function(e){var n=H(e);switch(V(n[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":i={},n.diagonalUp&&(i.diagonalUp=K(n.diagonalUp)),n.diagonalDown&&(i.diagonalDown=K(n.diagonalDown)),t.Borders.push(i);break;case"</border>":case"<left/>":break;case"<left":case"<left>":case"</left>":case"<right/>":break;case"<right":case"<right>":case"</right>":case"<top/>":break;case"<top":case"<top>":case"</top>":case"<bottom/>":break;case"<bottom":case"<bottom>":case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":break;case"<start":case"<start>":case"<start/>":case"</start>":break;case"<end":case"<end>":case"<end/>":case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+n[0]+" in borders")}})}function na(e,t,n,r){t.Fills=[]
|
||
;var i={},a=!1;(e[0].match(_h)||[]).forEach(function(e){var n=H(e);switch(V(n[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":i={},t.Fills.push(i);break;case"</fill>":case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(i),i={};break;case"<patternFill":case"<patternFill>":n.patternType&&(i.patternType=n.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":i.bgColor||(i.bgColor={}),n.indexed&&(i.bgColor.indexed=parseInt(n.indexed,10)),n.theme&&(i.bgColor.theme=parseInt(n.theme,10)),n.tint&&(i.bgColor.tint=parseFloat(n.tint)),n.rgb&&(i.bgColor.rgb=n.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":i.fgColor||(i.fgColor={}),n.theme&&(i.fgColor.theme=parseInt(n.theme,10)),n.tint&&(i.fgColor.tint=parseFloat(n.tint)),null!=n.rgb&&(i.fgColor.rgb=n.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":case"</stop>":break;case"<color":case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+n[0]+" in fills")}})}function ra(e,t,n,r){t.Fonts=[];var i={},a=!1;(e[0].match(_h)||[]).forEach(function(e){var o=H(e);switch(V(o[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(i),i={};break;case"<name":o.val&&(i.name=Ph(o.val));break;case"<name/>":case"</name>":break;case"<b":i.bold=o.val?K(o.val):1;break;case"<b/>":i.bold=1;break;case"<i":i.italic=o.val?K(o.val):1;break;case"<i/>":i.italic=1;break;case"<u":switch(o.val){case"none":i.underline=0;break;case"single":i.underline=1;break;case"double":i.underline=2;break;case"singleAccounting":i.underline=33;break;case"doubleAccounting":i.underline=34}break;case"<u/>":i.underline=1;break;case"<strike":i.strike=o.val?K(o.val):1;break;case"<strike/>":i.strike=1;break;case"<outline":i.outline=o.val?K(o.val):1;break;case"<outline/>":i.outline=1;break;case"<shadow":i.shadow=o.val?K(o.val):1;break;case"<shadow/>":i.shadow=1;break;case"<condense":i.condense=o.val?K(o.val):1;break;case"<condense/>":i.condense=1;break;case"<extend":i.extend=o.val?K(o.val):1;break;case"<extend/>":i.extend=1;break;case"<sz":o.val&&(i.sz=+o.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":o.val&&(i.vertAlign=o.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":o.val&&(i.family=parseInt(o.val,10));break;case"<family/>":case"</family>":break;case"<scheme":o.val&&(i.scheme=o.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==o.val)break;o.codepage=qf[parseInt(o.val,10)];break;case"<color":if(i.color||(i.color={}),o.auto&&(i.color.auto=K(o.auto)),o.rgb)i.color.rgb=o.rgb.slice(-6);else if(o.indexed){i.color.index=parseInt(o.indexed,10);var s=Gd[i.color.index];if(81==i.color.index&&(s=Gd[1]),!s)throw new Error(e);i.color.rgb=s[0].toString(16)+s[1].toString(16)+s[2].toString(16)}else o.theme&&(i.color.theme=parseInt(o.theme,10),o.tint&&(i.color.tint=parseFloat(o.tint)),o.theme&&n.themeElements&&n.themeElements.clrScheme&&(i.color.rgb=Gi(n.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":a=!0;break;case"</AlternateContent>":a=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+o[0]+" in fonts")}})}function ia(e,t,n){t.NumberFmt=[];for(var r=v(oh._table),i=0;i<r.length;++i)t.NumberFmt[r[i]]=oh._table[r[i]];var a=e[0].match(_h);if(a)for(i=0;i<a.length;++i){var o=H(a[i]);switch(V(o[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var s=Rh(Ph(o.formatCode)),l=parseInt(o.numFmtId,10);if(t.NumberFmt[l]=s,l>0){if(l>392){for(l=392;l>60&&null!=t.NumberFmt[l];--l);t.NumberFmt[l]=s}oh.load(s,l)}break;case"</numFmt>":break;default:if(n.WTF)throw new Error("unrecognized "+o[0]+" in numFmts")}}}function aa(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&(t[t.length]=ee("numFmt",null,{numFmtId:r,formatCode:q(e[r])}))}),1===t.length?"":(t[t.length]="</numFmts>",t[0]=ee("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function oa(e,t,n){t.CellXf=[];var r,i=!1;(e[0].match(_h)||[]).forEach(function(e){var a=H(e),o=0;switch(V(a[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(r=a,delete r[0],o=0;o<Jp.length;++o)r[Jp[o]]&&(r[Jp[o]]=parseInt(r[Jp[o]],10));for(o=0;o<Zp.length;++o)r[Zp[o]]&&(r[Zp[o]]=K(r[Zp[o]]));if(r.numFmtId>392)for(o=392;o>60;--o)if(t.NumberFmt[r.numFmtId]==t.NumberFmt[o]){r.numFmtId=o;break}t.CellXf.push(r);break;case"</xf>":break;case"<alignment":case"<alignment/>":var s={};a.vertical&&(s.vertical=a.vertical),a.horizontal&&(s.horizontal=a.horizontal),null!=a.textRotation&&(s.textRotation=a.textRotation),a.indent&&(s.indent=a.indent),a.wrapText&&(s.wrapText=K(a.wrapText)),r.alignment=s;break;case"</alignment>":case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":i=!0;break;case"</AlternateContent>":i=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+a[0]+" in cellXfs")}})}function sa(e){var t=[];return t[t.length]=ee("cellXfs",null),e.forEach(function(e){t[t.length]=ee("xf",null,e)}),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=ee("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function la(e,t){var n,r=[xh,eg];return e.SSF&&null!=(n=aa(e.SSF))&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=sa(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function ca(e,t){return[e._R(2),Me(e,t-2)]}function ua(e,t,n){n||(n=ue(6+4*t.length)),n._W(2,e),je(t,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}function fa(e,t,n){var r={};r.sz=e._R(2)/20;var i=rt(e,2,n);switch(i.fItalic&&(r.italic=1),i.fCondense&&(r.condense=1),i.fExtend&&(r.extend=1),i.fShadow&&(r.shadow=1),i.fOutline&&(r.outline=1),i.fStrikeout&&(r.strike=1),700===e._R(2)&&(r.bold=1),e._R(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript"}var a=e._R(1);0!=a&&(r.underline=a);var o=e._R(1);o>0&&(r.family=o);var s=e._R(1);switch(s>0&&(r.charset=s),e.l++,r.color=tt(e,8),e._R(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor"}return r.name=Me(e,t-21),r}function ha(e,t){t||(t=ue(153)),t._W(2,20*e.sz),it(e,t),t._W(2,e.bold?700:400);var n=0;"superscript"==e.vertAlign?n=1:"subscript"==e.vertAlign&&(n=2),t._W(2,n),t._W(1,e.underline||0),t._W(1,e.family||0),t._W(1,e.charset||0),t._W(1,0),nt(e.color,t);var r=0;return"major"==e.scheme&&(r=1),"minor"==e.scheme&&(r=2),t._W(1,r),je(e.name,t),t.length>t.l?t.slice(0,t.l):t}function da(e,t){t||(t=ue(84));var n=ng[e.patternType];null==n&&(n=40),t._W(4,n);var r=0;if(40!=n)for(nt({auto:1},t),nt({auto:1},t);r<12;++r)t._W(4,0);else{for(;r<4;++r)t._W(4,0);for(;r<12;++r)t._W(4,0)}return t.length>t.l?t.slice(0,t.l):t}function pa(e,t){var n=e.l+t,r=e._R(2),i=e._R(2);return e.l=n,{ixfe:r,numFmtId:i}}function ga(e,t,n){n||(n=ue(16)),n._W(2,t||0),n._W(2,e.numFmtId||0),n._W(2,0),n._W(2,0),n._W(2,0),n._W(1,0),n._W(1,0);return n._W(1,0),n._W(1,0),n._W(1,0),n._W(1,0),n}function ma(e,t){return t||(t=ue(10)),t._W(1,0),t._W(1,0),t._W(4,0),t._W(4,0),t}function va(e,t){return t||(t=ue(51)),t._W(1,0),ma(null,t),ma(null,t),ma(null,t),ma(null,t),ma(null,t),t.length>t.l?t.slice(0,t.l):t}function ba(e,t){return t||(t=ue(52)),t._W(4,e.xfId),t._W(2,1),t._W(1,+e.builtinId),t._W(1,0),Xe(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function ya(e,t,n){var r=ue(2052);return r._W(4,e),Xe(t,r),Xe(n,r),r.length>r.l?r.slice(0,r.l):r}function wa(e,t,n){var r={};r.NumberFmt=[];for(var i in oh._table)r.NumberFmt[i]=oh._table[i];r.CellXf=[],r.Fonts=[];var a=[],o=!1;return fe(e,function(e,i,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],oh.load(e[1],e[0]);break;case 43:r.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=Gi(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:break;case 47:"BrtBeginCellXFs"==a[a.length-1]&&r.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:a.push(i),o=!0;break;case 38:a.pop(),o=!1;break;default:if((i||"").indexOf("Begin")>0)a.push(i);else if((i||"").indexOf("End")>0)a.pop();else if(!o||n.WTF&&"BrtACBegin"!=a[a.length-1])throw new Error("Unexpected record "+s+" "+i)}}),r}function Sa(e,t){if(t){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var r=e[0];r<=e[1];++r)null!=t[r]&&++n}),0!=n&&(de(e,"BrtBeginFmts",De(n)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&de(e,"BrtFmt",ua(r,t[r]))}),de(e,"BrtEndFmts"))}}function xa(e){de(e,"BrtBeginFonts",De(1)),de(e,"BrtFont",ha({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),de(e,"BrtEndFonts")}function Ea(e){de(e,"BrtBeginFills",De(2)),de(e,"BrtFill",da({patternType:"none"})),de(e,"BrtFill",da({patternType:"gray125"})),de(e,"BrtEndFills")}function _a(e){de(e,"BrtBeginBorders",De(1)),de(e,"BrtBorder",va({})),de(e,"BrtEndBorders")}function ka(e){de(e,"BrtBeginCellStyleXFs",De(1)),de(e,"BrtXF",ga({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),de(e,"BrtEndCellStyleXFs")}function Aa(e,t){de(e,"BrtBeginCellXFs",De(t.length)),t.forEach(function(t){de(e,"BrtXF",ga(t,0))}),de(e,"BrtEndCellXFs")}function Ca(e){de(e,"BrtBeginStyles",De(1)),de(e,"BrtStyle",ba({xfId:0,builtinId:0,name:"Normal"})),de(e,"BrtEndStyles")}function Ta(e){de(e,"BrtBeginDXFs",De(0)),de(e,"BrtEndDXFs")}function Ra(e){de(e,"BrtBeginTableStyles",ya(0,"TableStyleMedium9","PivotStyleMedium4")),de(e,"BrtEndTableStyles")}function Na(){}function Ba(e,t){var n=he();return de(n,"BrtBeginStyleSheet"),Sa(n,e.SSF),xa(n,e),Ea(n,e),_a(n,e),ka(n,e),Aa(n,t.cellXfs),Ca(n,e),Ta(n,e),Ra(n,e),Na(n,e),de(n,"BrtEndStyleSheet"),n.end()}function Ia(e,t,n){t.themeElements.clrScheme=[];var r={};(e[0].match(_h)||[]).forEach(function(e){var i=H(e);switch(i[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":r.rgb=i.val;break;case"<a:sysClr":r.rgb=i.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===i[0].charAt(1)?(t.themeElements.clrScheme[ag.indexOf(i[0])]=r,r={}):r.name=i[0].slice(3,i[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}})}function Oa(){}function La(){}function Pa(e,t,n){t.themeElements={};var r;[["clrScheme",og,Ia],["fontScheme",sg,Oa],["fmtScheme",lg,La]].forEach(function(i){if(!(r=e.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](r,t,n)})}function Fa(e,t){if(!e||0===e.length)return Fa(Da());var n,r={};if(!(n=e.match(cg)))throw new Error("themeElements not found in theme");return Pa(n[0],r,t),r.raw=e,r}function Da(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[xh];return n[n.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',n[n.length]="<a:themeElements>",n[n.length]='<a:clrScheme name="Office">',n[n.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',n[n.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',n[n.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',n[n.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',n[n.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',n[n.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',n[n.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',n[n.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',n[n.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',n[n.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',n[n.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',n[n.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',n[n.length]="</a:clrScheme>",n[n.length]='<a:fontScheme name="Office">',n[n.length]="<a:majorFont>",n[n.length]='<a:latin typeface="Cambria"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Times New Roman"/>',n[n.length]='<a:font script="Hebr" typeface="Times New Roman"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="MoolBoran"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Times New Roman"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:majorFont>",n[n.length]="<a:minorFont>",n[n.length]='<a:latin typeface="Calibri"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Arial"/>',n[n.length]='<a:font script="Hebr" typeface="Arial"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="DaunPenh"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Arial"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:minorFont>",n[n.length]="</a:fontScheme>",n[n.length]='<a:fmtScheme name="Office">',n[n.length]="<a:fillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="1"/>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="0"/>',n[n.length]="</a:gradFill>",n[n.length]="</a:fillStyleLst>",n[n.length]="<a:lnStyleLst>",n[n.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]="</a:lnStyleLst>",n[n.length]="<a:effectStyleLst>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',n[n.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',n[n.length]="</a:effectStyle>",n[n.length]="</a:effectStyleLst>",n[n.length]="<a:bgFillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]="</a:bgFillStyleLst>",n[n.length]="</a:fmtScheme>",n[n.length]="</a:themeElements>",n[n.length]="<a:objectDefaults>",n[n.length]="<a:spDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',n[n.length]="</a:spDef>",n[n.length]="<a:lnDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',n[n.length]="</a:lnDef>",n[n.length]="</a:objectDefaults>",n[n.length]="<a:extraClrSchemeLst/>",n[n.length]="</a:theme>",n.join("")}function Ma(e,t,n){var r=e.l+t;if(124226!==e._R(4)){if(!n.cellStyles||!yh)return void(e.l=r);var i=e.slice(e.l);e.l=r;var a;try{a=new yh(i)}catch(e){return}var o=D(a,"theme/theme/theme1.xml",!0);if(o)return Fa(o,n)}}function ja(e){return e._R(4)}function Wa(e){var t={};switch(t.xclrType=e._R(2),t.nTintShade=e._R(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=Ua(e,4);break;case 2:t.xclrValue=_n(e,4);break;case 3:t.xclrValue=ja(e,4);break;case 4:e.l+=4}return e.l+=8,t}function Ua(e,t){return ce(e,t)}function za(e,t){return ce(e,t)}function Ha(e){var t=e._R(2),n=e._R(2)-4,r=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=Wa(e,n);break;case 6:r[1]=za(e,n);break;case 14:case 15:r[1]=e._R(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return r}function Va(e,t){var n=e.l+t;e.l+=2;var r=e._R(2);e.l+=2;for(var i=e._R(2),a=[];i-- >0;)a.push(Ha(e,n-e.l));return{ixfe:r,ext:a}}function qa(e,t){t.forEach(function(e){e[0]})}function Ga(e){var t=[];if(!e)return t;var n=1;return(e.match(_h)||[]).forEach(function(e){var r=H(e);switch(r[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete r[0],r.i?n=r.i:r.i=n,t.push(r)}}),t}function $a(e){var t={};t.i=e._R(4);var n={};n.r=e._R(4),n.c=e._R(4),t.r=Te(n);var r=e._R(1);return 2&r&&(t.l="1"),8&r&&(t.a="1"),t}function Xa(e,t,n){var r=[];return fe(e,function(e,t,n){switch(n){case 63:r.push(e);break;default:if((t||"").indexOf("Begin")>0);else if(!((t||"").indexOf("End")>0))throw new Error("Unexpected record "+n+" "+t)}}),r}function Ya(){}function Ka(e,t,n,r){if(!e)return e;var i=r||{},a=!1;fe(e,function(e,t,n){switch(n){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:a=!0;break;case 36:a=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!a||i.WTF)throw new Error("Unexpected record "+n.toString(16)+" "+t)}},i)}function Ja(e,t){if(!e)return"??";var n=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}function Za(e,t){for(var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),i=[ee("xml",null,{"xmlns:v":Yh.v,"xmlns:o":Yh.o,"xmlns:x":Yh.x,"xmlns:mv":Yh.mv}).replace(/\/>/,">"),ee("o:shapelayout",ee("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),ee("v:shapetype",[ee("v:stroke",null,{joinstyle:"miter"}),ee("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];ug<1e3*e;)ug+=1e3;return t.forEach(function(e){var t=Ce(e[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r="gradient"==n.type?ee("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,a=ee("v:fill",r,n),o={on:"t",obscured:"t"};++ug,i=i.concat(["<v:shape"+Q({id:"_x0000_s"+ug,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",a,ee("v:shadow",null,o),ee("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Z("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Z("x:AutoFill","False"),Z("x:Row",String(t.r)),Z("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),i.push("</xml>"),i.join("")}function Qa(e,t){var n,r=Array.isArray(e);t.forEach(function(t){var i=Ce(t.ref);if(r?(e[i.r]||(e[i.r]=[]),n=e[i.r][i.c]):n=e[t.ref],!n){n={t:"z"},r?e[i.r][i.c]=n:e[t.ref]=n;var a=Be(e["!ref"]||"BDWGO1000001:A1");a.s.r>i.r&&(a.s.r=i.r),a.e.r<i.r&&(a.e.r=i.r),a.s.c>i.c&&(a.s.c=i.c),a.e.c<i.c&&(a.e.c=i.c);var o=Ne(a);o!==e["!ref"]&&(e["!ref"]=o)}n.c||(n.c=[]);var s={a:t.author,t:t.t,r:t.r};t.h&&(s.h=t.h),n.c.push(s)})}function eo(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],r=[],i=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach(function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}});var a=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return a&&a[1]&&a[1].split(/<\/\w*:?comment>/).forEach(function(e){if(""!==e&&""!==e.trim()){var i=e.match(/<(?:\w+:)?comment[^>]*>/);if(i){var a=H(i[0]),o={author:a.authorId&&n[a.authorId]||"sheetjsghost",ref:a.ref,guid:a.guid},s=Ce(a.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),c=!!l&&!!l[1]&&gi(l[1])||{r:"",t:"",h:""};o.r=c.r,"<t></t>"==c.r&&(c.t=c.h=""),o.t=c.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(o.h=c.h),r.push(o)}}}}),r}function to(e){var t=[xh,fg],n=[];return t.push("<authors>"),e.forEach(function(e){e[1].forEach(function(e){var r=q(e.a);n.indexOf(r)>-1||(n.push(r),t.push("<author>"+r+"</author>"))})}),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(e){e[1].forEach(function(r){t.push('<comment ref="'+e[0]+'" authorId="'+n.indexOf(q(r.a))+'"><text>'),t.push(Z("t",null==r.t?"":q(r.t))),t.push("</text></comment>")})}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function no(e){var t={};t.iauthor=e._R(4);var n=Bd(e,16);return t.rfx=n.s,t.ref=Te(n.s),e.l+=16,t}function ro(e,t){return null==t&&(t=ue(36)),t._W(4,e[1].iauthor),Id(e[0],t),t._W(4,0),t._W(4,0),t._W(4,0),t._W(4,0),t}function io(e){return je(e.slice(0,54))}function ao(e,t){var n=[],r=[],i={},a=!1;return fe(e,function(e,o,s){switch(s){case 632:r.push(e);break;case 635:i=e;break;case 637:i.t=e.t,i.h=e.h,i.r=e.r;break;case 636:if(i.author=r[i.iauthor],delete i.iauthor,t.sheetRows&&i.rfx&&t.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,n.push(i);break;case 3072:break;case 35:a=!0;break;case 36:a=!1;break;case 37:case 38:break;default:if((o||"").indexOf("Begin")>0);else if((o||"").indexOf("End")>0);else if(!a||t.WTF)throw new Error("Unexpected record "+s+" "+o)}}),n}function oo(e){var t=he(),n=[];return de(t,"BrtBeginComments"),de(t,"BrtBeginCommentAuthors"),e.forEach(function(e){e[1].forEach(function(e){n.indexOf(e.a)>-1||(n.push(e.a.slice(0,54)),de(t,"BrtCommentAuthor",io(e.a)))})}),de(t,"BrtEndCommentAuthors"),de(t,"BrtBeginCommentList"),e.forEach(function(e){e[1].forEach(function(r){r.iauthor=n.indexOf(r.a);var i={s:Ce(e[0]),e:Ce(e[0])};de(t,"BrtBeginComment",ro([i,r])),r.t&&r.t.length>0&&de(t,"BrtCommentText",Ve(r)),de(t,"BrtEndComment"),delete r.iauthor})}),de(t,"BrtEndCommentList"),de(t,"BrtEndComments"),t.end()}function so(e){var t=dh.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(n,r){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var i=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");dh.utils.cfb_add(t,i,e.FileIndex[r].content)}}),dh.write(t)}function lo(e,t){t.FullPaths.forEach(function(n,r){if(0!=r){var i=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==i.slice(-1)&&dh.utils.cfb_add(e,i,t.FileIndex[r].content)}})}function co(){return{"!type":"dialog"}}function uo(){return{"!type":"dialog"}}function fo(){return{"!type":"macro"}}function ho(){return{"!type":"macro"}}function po(e,t){return e.replace(mg,function(e,n,r,i,a,o){return n+("$"==r?r+i:Ee(xe(i)+t.c))+("$"==a?a+o:ye(be(o)+t.r))})}function go(e,t,n){var r=Re(t),i=r.s,a=Ce(n);return po(e,{r:a.r-i.r,c:a.c-i.c})}function mo(e){return 1!=e.length}function vo(e){return e.replace(/_xlfn\./g,"")}function bo(e){e.l+=1}function yo(e,t){var n=e._R(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function wo(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return So(e,t,n);12==n.biff&&(r=4)}var i=e._R(r),a=e._R(r),o=yo(e,2),s=yo(e,2);return{s:{r:i,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function So(e){var t=yo(e,2),n=yo(e,2),r=e._R(1),i=e._R(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:i,cRel:n[1],rRel:n[2]}}}function xo(e,t,n){if(n.biff<8)return So(e,t,n);var r=e._R(12==n.biff?4:2),i=e._R(12==n.biff?4:2),a=yo(e,2),o=yo(e,2);return{s:{r:r,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:o[0],cRel:o[1],rRel:o[2]}}}function Eo(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return _o(e);var r=e._R(n&&12==n.biff?4:2),i=yo(e,2);return{r:r,c:i[0],cRel:i[1],rRel:i[2]}}function _o(e){var t=yo(e,2),n=e._R(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}function ko(e){var t=e._R(2),n=e._R(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function Ao(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return Co(e);var i=e._R(r>=12?4:2),a=e._R(2),o=(16384&a)>>14,s=(32768&a)>>15;if(a&=16383,1==s)for(;i>524287;)i-=1048576;if(1==o)for(;a>8191;)a-=16384;return{r:i,c:a,cRel:o,rRel:s}}function Co(e){var t=e._R(2),n=e._R(1),r=(32768&t)>>15,i=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==i&&n>=128&&(n-=256),{r:t,c:n,cRel:i,rRel:r}}function To(e,t,n){return[(96&e[e.l++])>>5,wo(e,n.biff>=2&&n.biff<=5?6:8,n)]}function Ro(e,t,n){var r=(96&e[e.l++])>>5,i=e._R(2,"i"),a=8;if(n)switch(n.biff){case 5:e.l+=12,a=6;break;case 12:a=12}return[r,i,wo(e,a,n)]}function No(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}function Bo(e,t,n){var r=(96&e[e.l++])>>5,i=e._R(2),a=8;if(n)switch(n.biff){case 5:e.l+=12,a=6;break;case 12:a=12}return e.l+=a,[r,i]}function Io(e,t,n){return[(96&e[e.l++])>>5,xo(e,t-1,n)]}function Oo(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}function Lo(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function Po(e,t,n){e.l+=2
|
||
;for(var r=e._R(n&&2==n.biff?1:2),i=[],a=0;a<=r;++a)i.push(e._R(n&&2==n.biff?1:2));return i}function Fo(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e._R(n&&2==n.biff?1:2)]}function Do(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e._R(n&&2==n.biff?1:2)]}function Mo(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e._R(2)]}function jo(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}function Wo(e){return[e._R(1),e._R(1)]}function Uo(e){return e._R(2),Wo(e,2)}function zo(e){return e._R(2),Wo(e,2)}function Ho(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,Eo(e,0,n)]}function Vo(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,Ao(e,0,n)]}function qo(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e._R(2);return n&&5==n.biff&&(e.l+=12),[r,i,Eo(e,0,n)]}function Go(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e._R(n&&n.biff<=3?1:2);return[Hg[i],zg[i],r]}function $o(e,t,n){var r=e[e.l++],i=e._R(1),a=n&&n.biff<=3?[88==r?-1:0,e._R(1)]:Xo(e);return[i,(0===a[0]?zg:Ug)[a[1]]]}function Xo(e){return[e[e.l+1]>>7,32767&e._R(2)]}function Yo(e,t,n){e.l+=n&&2==n.biff?3:4}function Ko(e,t,n){return e.l++,n&&12==n.biff?[e._R(4,"i"),0]:[e._R(2),e._R(n&&2==n.biff?1:2)]}function Jo(e){return e.l++,$d[e._R(1)]}function Zo(e){return e.l++,e._R(2)}function Qo(e){return e.l++,0!==e._R(1)}function es(e){return e.l++,Qe(e,8)}function ts(e,t,n){return e.l++,un(e,t-1,n)}function ns(e,t){var n=[e._R(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2}switch(n[0]){case 4:n[1]=nn(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=$d[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=Qe(e,8);break;case 2:n[1]=gn(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function rs(e,t,n){for(var r=e._R(12==n.biff?4:2),i=[],a=0;a!=r;++a)i.push((12==n.biff?Bd:On)(e,8));return i}function is(e,t,n){var r=0,i=0;12==n.biff?(r=e._R(4),i=e._R(4)):(i=1+e._R(1),r=1+e._R(2)),n.biff>=2&&n.biff<8&&(--r,0==--i&&(i=256));for(var a=0,o=[];a!=r&&(o[a]=[]);++a)for(var s=0;s!=i;++s)o[a][s]=ns(e,n.biff);return o}function as(e,t,n){var r=e._R(1)>>>5&3,i=!n||n.biff>=8?4:2,a=e._R(i);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[r,0,a]}function os(e,t,n){return 5==n.biff?ss(e):[e._R(1)>>>5&3,e._R(2),e._R(4)]}function ss(e){var t=e._R(1)>>>5&3,n=e._R(2,"i");e.l+=8;var r=e._R(2);return e.l+=12,[t,n,r]}function ls(e,t,n){var r=e._R(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[r,e._R(n&&2==n.biff?1:2)]}function cs(e,t,n){return[e._R(1)>>>5&3,e._R(n&&2==n.biff?1:2)]}function us(e,t,n){var r=e._R(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}function fs(e,t,n){var r=(96&e[e.l++])>>5,i=e._R(2),a=4;if(n)switch(n.biff){case 5:a=15;break;case 12:a=6}return e.l+=a,[r,i]}function hs(e,t,n){return e.l+=2,[ko(e,4,n)]}function ds(e){return e.l+=6,[]}function ps(e){return e.l+=2,[an(e),1&e._R(2)]}function gs(e){e.l+=2;var t=e._R(2),n=e._R(2),r=e._R(4),i=e._R(2),a=e._R(2);return{ixti:t,coltype:3&n,rt:Ng[n>>2&31],idx:r,c:i,C:a}}function ms(e){return e.l+=2,[e._R(4)]}function vs(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}function bs(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}function ys(e){return[e._R(1)>>>5&3,e._R(2)]}function ws(e){return[e._R(1)>>>5&3,e._R(2)]}function Ss(e){return e.l+=4,[0,0]}function xs(e,t,n,r){if(r.biff<8)return ce(e,t);for(var i=e.l+t,a=[],o=0;o!==n.length;++o)switch(n[o][0]){case"PtgArray":n[o][1]=is(e,0,r),a.push(n[o][1]);break;case"PtgMemArea":n[o][2]=rs(e,n[o][1],r),a.push(n[o][2]);break;case"PtgExp":r&&12==r.biff&&(n[o][1][1]=e._R(4),a.push(n[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[o][0]}return t=i-e.l,0!==t&&a.push(ce(e,t)),a}function Es(e,t,n){for(var r,i,a=e.l+t,o=[];a!=e.l;)t=a-e.l,i=e[e.l],r=Bg[i],24!==i&&25!==i||(r=(24===i?Og:Lg)[e[e.l+1]]),r&&r.f?o.push([r.n,r.f(e,t,n)]):ce(e,t);return o}function _s(e){for(var t=[],n=0;n<e.length;++n){for(var r=e[n],i=[],a=0;a<r.length;++a){var o=r[a];if(o)switch(o[0]){case 2:i.push('"'+o[1].replace(/"/g,'""')+'"');break;default:i.push(o[1])}else i.push("")}t.push(i.join(","))}return t.join(";")}function ks(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return Fg.test(e)?"'"+e+"'":e}function As(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var i="";if(n.biff>8)switch(e[r[0]][0]){case 357:return i=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];case 355:default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return i=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map(function(e){return e.Name}).join(";;");default:return e[r[0]][0][3]?(i=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?i:i+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function Cs(e,t,n){return ks(As(e,t,n),n)}function Ts(e,t,n,r,i){var a,o,s,l,c=i&&i.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",v=0,b=e[0].length;v<b;++v){var y=e[0][v];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(a=f.pop(),o=f.pop(),g>=0){switch(e[0][g][1][0]){case 0:m=C(" ",e[0][g][1][1]);break;case 1:m=C("\r",e[0][g][1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}o+=m,g=-1}f.push(o+Pg[y[0]]+a);break;case"PtgIsect":a=f.pop(),o=f.pop(),f.push(o+" "+a);break;case"PtgUnion":a=f.pop(),o=f.pop(),f.push(o+","+a);break;case"PtgRange":a=f.pop(),o=f.pop(),f.push(o+":"+a);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":break;case"PtgRef":s=pe(y[1][1],u,i),f.push(me(s,c));break;case"PtgRefN":s=n?pe(y[1][1],n,i):y[1][1],f.push(me(s,c));break;case"PtgRef3d":h=y[1][1],s=pe(y[1][2],u,i),p=Cs(r,h,i);f.push(p+"!"+me(s,c));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],S=y[1][1];w||(w=0),w&=127;var x=0==w?[]:f.slice(-w);f.length-=w,"User"===S&&(S=x.shift()),f.push(S+"("+x.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":l=ge(y[1][1],n?{s:n}:u,i),f.push(ve(l,i));break;case"PtgArea":l=ge(y[1][1],u,i),f.push(ve(l,i));break;case"PtgArea3d":h=y[1][1],l=y[1][2],p=Cs(r,h,i),f.push(p+"!"+ve(l,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=y[1][2];var E=(r.names||[])[d-1]||(r[0]||[])[d],_=E?E.Name:"SH33TJSNAME"+String(d);_ in Vg&&(_=Vg[_]),f.push(_);break;case"PtgNameX":var k=y[1][1];d=y[1][2];var A;if(!(i.biff<=5)){var T="";if(14849==((r[k]||[])[0]||[])[0]||(1025==((r[k]||[])[0]||[])[0]?r[k][d]&&r[k][d].itab>0&&(T=r.SheetNames[r[k][d].itab-1]+"!"):T=r.SheetNames[d-1]+"!"),r[k]&&r[k][d])T+=r[k][d].Name;else if(r[0]&&r[0][d])T+=r[0][d].Name;else{var R=As(r,k,i).split(";;");R[d-1]?T=R[d-1]:T+="SH33TJSERRX"}f.push(T);break}k<0&&(k=-k),r[k]&&(A=r[k][d]),A||(A={Name:"SH33TJSERRY"}),f.push(A.Name);break;case"PtgParen":var N="(",B=")";if(g>=0){switch(m="",e[0][g][1][0]){case 2:N=C(" ",e[0][g][1][1])+N;break;case 3:N=C("\r",e[0][g][1][1])+N;break;case 4:B=C(" ",e[0][g][1][1])+B;break;case 5:B=C("\r",e[0][g][1][1])+B;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}f.push(N+f.pop()+B);break;case"PtgRefErr":case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var I={c:n.c,r:n.r};if(r.sharedf[Te(s)]){var O=r.sharedf[Te(s)];f.push(Ts(O,u,I,r,i))}else{var L=!1;for(a=0;a!=r.arrayf.length;++a)if(o=r.arrayf[a],!(s.c<o[0].s.c||s.c>o[0].e.c||s.r<o[0].s.r||s.r>o[0].e.r)){f.push(Ts(o[1],u,I,r,i)),L=!0;break}L||f.push(y[1])}break;case"PtgArray":f.push("{"+_s(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=v;break;case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":default:throw new Error("Unrecognized Formula Token: "+String(y))}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(3!=i.biff&&g>=0&&-1==P.indexOf(e[0][v][0])){y=e[0][g];var F=!0;switch(y[1][0]){case 4:F=!1;case 0:m=C(" ",y[1][1]);break;case 5:F=!1;case 1:m=C("\r",y[1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((F?m:"")+f.pop()+(F?"":m)),g=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function Rs(e,t,n){var r,i=e.l+t,a=2==n.biff?1:2,o=e._R(a);if(65535==o)return[[],ce(e,t-2)];var s=Es(e,o,n);return t!==o+a&&(r=xs(e,t-o-a,s,n)),e.l=i,[s,r]}function Ns(e,t,n){var r,i=e.l+t,a=2==n.biff?1:2,o=e._R(a);if(65535==o)return[[],ce(e,t-2)];var s=Es(e,o,n);return t!==o+a&&(r=xs(e,t-o-a,s,n)),e.l=i,[s,r]}function Bs(e,t,n,r){var i,a=e.l+t,o=Es(e,r,n);return a!==e.l&&(i=xs(e,a-e.l,o,n)),[o,i]}function Is(e,t,n){var r,i=e.l+t,a=e._R(2),o=Es(e,a,n);return 65535==a?[[],ce(e,t-2)]:(t!==a+2&&(r=xs(e,i-a-2,o,n)),[o,r])}function Os(e){var t;if(65535!==md(e,e.l+6))return[Qe(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function Ls(e){if(null==e){var t=ue(8);return t._W(1,3),t._W(1,0),t._W(2,0),t._W(2,0),t._W(2,65535),t}return et("number"==typeof e?e:0)}function Ps(e,t,n){var r=e.l+t,i=An(e,6);2==n.biff&&++e.l;var a=Os(e,8),o=e._R(1);2!=n.biff&&(e._R(1),n.biff>=5&&e._R(4));var s=Ns(e,r-e.l,n);return{cell:i,val:a[0],formula:s,shared:o>>3&1,tt:a[1]}}function Fs(e,t,n,r,i){var a=Cn(t,n,i),o=Ls(e.v),s=ue(6);s._W(2,33),s._W(4,0);for(var l=ue(e.bf.length),c=0;c<e.bf.length;++c)l[c]=e.bf[c];return rh([a,o,s,l])}function Ds(e,t,n){var r=e._R(4),i=Es(e,r,n),a=e._R(4);return[i,a>0?xs(e,a,i,n):null]}function Ms(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&(e=e.slice(1),61==e.charCodeAt(0)&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,t){return t.replace(/\./g,"")}),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function js(e){return("of:="+e.replace(mg,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function Ws(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function Us(e){return e.replace(/\./,"!")}function zs(e,t,n){var r=0,i=e.length;if(n){if($g?n.has(t):Object.prototype.hasOwnProperty.call(n,t))for(var a=$g?n.get(t):n[t];r<a.length;++r)if(e[a[r]].t===t)return e.Count++,a[r]}else for(;r<i;++r)if(e[r].t===t)return e.Count++,r;return e[i]={t:t},e.Count++,e.Unique++,n&&($g?(n.has(t)||n.set(t,[]),n.get(t).push(i)):(Object.prototype.hasOwnProperty.call(n,t)||(n[t]=[]),n[t].push(i))),i}function Hs(e,t){var n={min:e+1,max:e+1},r=-1;return t.MDW&&(Xp=t.MDW),null!=t.width?n.customWidth=1:null!=t.wpx?r=Xi(t.wpx):null!=t.wch&&(r=t.wch),r>-1?(n.width=Yi(r),n.customWidth=1):null!=t.width&&(n.width=t.width),t.hidden&&(n.hidden=!0),n}function Vs(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function qs(e,t,n){var r=n.revssf[null!=t.z?t.z:"General"],i=60,a=e.length;if(null==r&&n.ssf)for(;i<392;++i)if(null==n.ssf[i]){oh.load(t.z,i),n.ssf[i]=t.z,n.revssf[t.z]=r=i;break}for(i=0;i!=a;++i)if(e[i].numFmtId===r)return i;return e[a]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},a}function Gs(e,t,n,r,i,a){try{r.cellNF&&(e.z=oh._table[t])}catch(e){if(r.WTF)throw e}if("z"!==e.t){if("d"===e.t&&"string"==typeof e.v&&(e.v=_(e.v)),!r||!1!==r.cellText)try{if(null==oh._table[t]&&oh.load(uh[t]||"General",t),"e"===e.t)e.w=e.w||$d[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=oh._general_int(e.v):e.w=oh._general_num(e.v);else if("d"===e.t){var o=S(e.v);e.w=(0|o)===o?oh._general_int(o):oh._general_num(o)}else{if(void 0===e.v)return"";e.w=oh._general(e.v,Gg)}else"d"===e.t?e.w=oh.format(t,S(e.v),Gg):e.w=oh.format(t,e.v,Gg)}catch(e){if(r.WTF)throw e}if(r.cellStyles&&null!=n)try{e.s=a.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Gi(i.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),r.WTF&&(e.s.fgColor.raw_rgb=i.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Gi(i.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),r.WTF&&(e.s.bgColor.raw_rgb=i.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(e){if(r.WTF&&a.Fills)throw e}}}function $s(e,t,n){if(e&&e["!ref"]){var r=Be(e["!ref"]);if(r.e.c<r.s.c||r.e.r<r.s.r)throw new Error("Bad range ("+n+"): "+e["!ref"])}}function Xs(e,t){var n=Be(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=Ne(n))}function Ys(e,t,n,r,i,a,o){if(!e)return e;r||(r={"!id":{}}),null!=Jf&&null==t.dense&&(t.dense=Jf);var s=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",u="",f=e.match(Yg);f?(c=e.slice(0,f.index),u=e.slice(f.index+f[0].length)):c=u=e;var h=c.match(tm);h&&Js(h[0],s,i,n);var d=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=c.slice(d,d+50).match(Jg);p&&Xs(s,p[1])}var g=c.match(nm);g&&g[1]&&sl(g[1],i);var m=[];if(t.cellStyles){var v=c.match(Zg);v&&rl(m,v)}f&&om(f[1],s,t,l,a,o);var b=u.match(Qg);b&&(s["!autofilter"]=al(b[0]));var y=[],w=u.match(Xg);if(w)for(d=0;d!=w.length;++d)y[d]=Be(w[d].slice(w[d].indexOf('"')+1));var S=u.match(Kg);S&&el(s,S,r);var x=u.match(em);if(x&&(s["!margins"]=tl(H(x[0]))),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=Ne(l)),t.sheetRows>0&&s["!ref"]){var E=Be(s["!ref"]);t.sheetRows<=+E.e.r&&(E.e.r=t.sheetRows-1,E.e.r>l.e.r&&(E.e.r=l.e.r),E.e.r<E.s.r&&(E.s.r=E.e.r),E.e.c>l.e.c&&(E.e.c=l.e.c),E.e.c<E.s.c&&(E.s.c=E.e.c),s["!fullref"]=s["!ref"],s["!ref"]=Ne(E))}return m.length>0&&(s["!cols"]=m),y.length>0&&(s["!merges"]=y),s}function Ks(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',n=0;n!=e.length;++n)t+='<mergeCell ref="'+Ne(e[n])+'"/>';return t+"</mergeCells>"}function Js(e,t,n,r){var i=H(e);n.Sheets[r]||(n.Sheets[r]={}),i.codeName&&(n.Sheets[r].CodeName=i.codeName)}function Zs(e,t,n,r,i){var a=!1,o={};if("xlsx"!==r.bookType&&t.vbaraw){var s=t.SheetNames[n];try{t.Workbook&&(s=t.Workbook.Sheets[n].CodeName||s)}catch(e){}a=!0,o.codeName=q(s)}a&&(i[i.length]=ee("sheetPr",null,o))}function Qs(e){var t={sheet:1};return rm.forEach(function(n){null!=e[n]&&e[n]&&(t[n]="1")}),im.forEach(function(n){null==e[n]||e[n]||(t[n]="0")}),e.password&&(t.password=Mi(e.password).toString(16).toUpperCase()),ee("sheetProtection",null,t)}function el(e,t,n){for(var r=Array.isArray(e),i=0;i!=t.length;++i){var a=H(Ph(t[i]),!0);if(!a.ref)return;var o=((n||{})["!id"]||[])[a.id];o?(a.Target=o.Target,a.location&&(a.Target+="#"+a.location)):(a.Target="#"+a.location,o={Target:a.Target,TargetMode:"Internal"}),a.Rel=o,a.tooltip&&(a.Tooltip=a.tooltip,delete a.tooltip);for(var s=Be(a.ref),l=s.s.r;l<=s.e.r;++l)for(var c=s.s.c;c<=s.e.c;++c){var u=Te({c:c,r:l});r?(e[l]||(e[l]=[]),e[l][c]||(e[l][c]={t:"z",v:void 0}),e[l][c].l=a):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=a)}}}function tl(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(n){e[n]&&(t[n]=parseFloat(e[n]))}),t}function nl(e){return Vs(e),ee("pageMargins",null,e)}function rl(e,t){for(var n=!1,r=0;r!=t.length;++r){var i=H(t[r],!0);i.hidden&&(i.hidden=K(i.hidden));var a=parseInt(i.min,10)-1,o=parseInt(i.max,10)-1;for(delete i.min,delete i.max,i.width=+i.width,!n&&i.width&&(n=!0,Ji(i.width)),Zi(i);a<=o;)e[a++]=A(i)}}function il(e,t){for(var n,r=["<cols>"],i=0;i!=t.length;++i)(n=t[i])&&(r[r.length]=ee("col",null,Hs(i,n)));return r[r.length]="</cols>",r.join("")}function al(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}function ol(e,t,n,r){var i="string"==typeof e.ref?e.ref:Ne(e.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var a=n.Workbook.Names,o=Re(i);o.s.r==o.e.r&&(o.e.r=Re(t["!ref"]).e.r,i=Ne(o));for(var s=0;s<a.length;++s){var l=a[s];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==r){l.Ref="'"+n.SheetNames[r]+"'!"+i;break}}return s==a.length&&a.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+i}),ee("autoFilter",null,{ref:i})}function sl(e,t){t.Views||(t.Views=[{}]),(e.match(am)||[]).forEach(function(e,n){var r=H(e);t.Views[n]||(t.Views[n]={}),K(r.rightToLeft)&&(t.Views[n].RTL=!0)})}function ll(e,t,n,r){var i={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(i.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),ee("sheetViews",ee("sheetView",null,i),{})}function cl(e,t,n,r){if(void 0===e.v&&"string"!=typeof e.f||"z"===e.t)return"";var i="",a=e.t,o=e.v;if("z"!==e.t)switch(e.t){case"b":i=e.v?"1":"0";break;case"n":i=""+e.v;break;case"e":i=$d[e.v];break;case"d":r&&r.cellDates?i=_(e.v,-1).toISOString():(e=A(e),e.t="n",i=""+(e.v=S(_(e.v)))),void 0===e.z&&(e.z=oh._table[14]);break;default:i=e.v}var s=Z("v",q(i)),l={r:t},c=qs(r.cellXfs,e,r);switch(0!==c&&(l.s=c),e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(null==e.v){delete e.t;break}if(r&&r.bookSST){s=Z("v",""+zs(r.Strings,e.v,r.revStrings)),l.t="s";break}l.t="str"}if(e.t!=a&&(e.t=a,e.v=o),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=ee("f",q(e.f),u)+(null!=e.v?s:"")}return e.l&&n["!links"].push([t,e.l]),e.c&&n["!comments"].push([t,e.c]),ee("c",s,l)}function ul(e,t,n,r){var i,a,o=[],s=[],l=Be(e["!ref"]),c="",u="",f=[],h=0,d=0,p=e["!rows"],g=Array.isArray(e),m={r:u},v=-1;for(d=l.s.c;d<=l.e.c;++d)f[d]=Ee(d);for(h=l.s.r;h<=l.e.r;++h){for(s=[],u=ye(h),d=l.s.c;d<=l.e.c;++d){i=f[d]+u;var b=g?(e[h]||[])[d]:e[i];void 0!==b&&(null!=(c=cl(b,i,e,t,n,r))&&s.push(c))}(s.length>0||p&&p[h])&&(m={r:u},p&&p[h]&&(a=p[h],a.hidden&&(m.hidden=1),v=-1,a.hpx?v=Qi(a.hpx):a.hpt&&(v=a.hpt),v>-1&&(m.ht=v,m.customHeight=1),a.level&&(m.outlineLevel=a.level)),o[o.length]=ee("row",s.join(""),m))}if(p)for(;h<p.length;++h)p&&p[h]&&(m={r:h+1},a=p[h],a.hidden&&(m.hidden=1),v=-1,a.hpx?v=Qi(a.hpx):a.hpt&&(v=a.hpt),v>-1&&(m.ht=v,m.customHeight=1),a.level&&(m.outlineLevel=a.level),o[o.length]=ee("row","",m));return o.join("")}function fl(e,t,n,r){var i=[xh,sm],a=n.SheetNames[e],o=0,s="",l=n.Sheets[a];null==l&&(l={});var c=l["!ref"]||"A1",u=Be(c);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),c=Ne(u)}r||(r={}),l["!comments"]=[];var f=[];Zs(l,n,e,t,i),i[i.length]=ee("dimension",null,{ref:c}),i[i.length]=ll(l,t,e,n),t.sheetFormat&&(i[i.length]=ee("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(i[i.length]=il(l,l["!cols"])),i[o=i.length]="<sheetData/>",l["!links"]=[],null!=l["!ref"]&&(s=ul(l,t,e,n,r),s.length>0&&(i[i.length]=s)),i.length>o+1&&(i[i.length]="</sheetData>",i[o]=i[o].replace("/>",">")),null!=l["!protect"]&&(i[i.length]=Qs(l["!protect"])),null!=l["!autofilter"]&&(i[i.length]=ol(l["!autofilter"],l,n,e)),null!=l["!merges"]&&l["!merges"].length>0&&(i[i.length]=Ks(l["!merges"]));var h,d=-1,p=-1;return l["!links"].length>0&&(i[i.length]="<hyperlinks>",l["!links"].forEach(function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(p=pt(r,-1,q(e[1].Target).replace(/#.*$/,""),ep.HLINK),h["r:id"]="rId"+p),(d=e[1].Target.indexOf("#"))>-1&&(h.location=q(e[1].Target.slice(d+1))),e[1].Tooltip&&(h.tooltip=q(e[1].Tooltip)),i[i.length]=ee("hyperlink",null,h))}),i[i.length]="</hyperlinks>"),delete l["!links"],null!=l["!margins"]&&(i[i.length]=nl(l["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(i[i.length]=Z("ignoredErrors",ee("ignoredError",null,{numberStoredAsText:1,sqref:c}))),f.length>0&&(p=pt(r,-1,"../drawings/drawing"+(e+1)+".xml",ep.DRAW),i[i.length]=ee("drawing",null,{"r:id":"rId"+p}),l["!drawing"]=f),l["!comments"].length>0&&(p=pt(r,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ep.VML),i[i.length]=ee("legacyDrawing",null,{"r:id":"rId"+p}),l["!legacy"]=p),i.length>1&&(i[i.length]="</worksheet>",i[1]=i[1].replace("/>",">")),i.join("")}function hl(e,t){var n={},r=e.l+t;n.r=e._R(4),e.l+=4;var i=e._R(2);e.l+=1;var a=e._R(1);return e.l=r,7&a&&(n.level=7&a),16&a&&(n.hidden=!0),32&a&&(n.hpt=i/20),n}function dl(e,t,n){var r=ue(145),i=(n["!rows"]||[])[e]||{};r._W(4,e),r._W(4,0);var a=320;i.hpx?a=20*Qi(i.hpx):i.hpt&&(a=20*i.hpt),r._W(2,a),r._W(1,0);var o=0;i.level&&(o|=i.level),i.hidden&&(o|=16),(i.hpx||i.hpt)&&(o|=32),r._W(1,o),r._W(1,0);var s=0,l=r.l;r.l+=4;for(var c={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.c<u<<10)){for(var f=-1,h=-1,d=u<<10;d<u+1<<10;++d){c.c=d;var p=Array.isArray(n)?(n[c.r]||[])[c.c]:n[Te(c)];p&&(f<0&&(f=d),h=d)}f<0||(++s,r._W(4,f),r._W(4,h))}var g=r.l;return r.l=l,r._W(4,s),r.l=g,r.length>r.l?r.slice(0,r.l):r}function pl(e,t,n,r){var i=dl(r,n,t);(i.length>17||(t["!rows"]||[])[r])&&de(e,"BrtRowHdr",i)}function gl(){}function ml(e,t){var n={};return e.l+=19,n.name=Ad(e,t-19),n}function vl(e,t){null==t&&(t=ue(84+4*e.length));for(var n=0;n<3;++n)t._W(1,0);return nt({auto:1},t),t._W(-4,-1),t._W(-4,-1),Cd(e,t),t.slice(0,t.l)}function bl(e){return[qe(e)]}function yl(e,t,n){return null==n&&(n=ue(8)),Ge(t,n)}function wl(e){return[qe(e),e._R(1),"b"]}function Sl(e,t,n){return null==n&&(n=ue(9)),Ge(t,n),n._W(1,e.v?1:0),n}function xl(e){return[qe(e),e._R(1),"e"]}function El(e){return[qe(e),e._R(4),"s"]}function _l(e,t,n){return null==n&&(n=ue(12)),Ge(t,n),n._W(4,t.v),n}function kl(e){return[qe(e),Qe(e),"n"]}function Al(e,t,n){return null==n&&(n=ue(16)),Ge(t,n),et(e.v,n),n}function Cl(e){return[qe(e),Ye(e),"n"]}function Tl(e,t,n){return null==n&&(n=ue(12)),Ge(t,n),Ke(e.v,n),n}function Rl(e){return[qe(e),Me(e),"str"]}function Nl(e,t,n){return null==n&&(n=ue(12+4*e.v.length)),Ge(t,n),je(e.v,n),n.length>n.l?n.slice(0,n.l):n}function Bl(e,t,n){var r=e.l+t,i=qe(e);i.r=n["!row"];var a=e._R(1),o=[i,a,"b"];if(n.cellFormula){e.l+=2;var s=Mg(e,r-e.l,n);o[3]=Ts(s,null,i,n.supbooks,n)}else e.l=r;return o}function Il(e,t,n){var r=e.l+t,i=qe(e);i.r=n["!row"];var a=e._R(1),o=[i,a,"e"];if(n.cellFormula){e.l+=2;var s=Mg(e,r-e.l,n);o[3]=Ts(s,null,i,n.supbooks,n)}else e.l=r;return o}function Ol(e,t,n){var r=e.l+t,i=qe(e);i.r=n["!row"];var a=Qe(e),o=[i,a,"n"];if(n.cellFormula){e.l+=2;var s=Mg(e,r-e.l,n);o[3]=Ts(s,null,i,n.supbooks,n)}else e.l=r;return o}function Ll(e,t,n){var r=e.l+t,i=qe(e);i.r=n["!row"];var a=Me(e),o=[i,a,"str"];if(n.cellFormula){e.l+=2;var s=Mg(e,r-e.l,n);o[3]=Ts(s,null,i,n.supbooks,n)}else e.l=r;return o}function Pl(e,t){return null==t&&(t=ue(4)),t._W(4,e),t}function Fl(e,t){var n=e.l+t,r=Bd(e,16),i=$e(e),a=Me(e),o=Me(e),s=Me(e);e.l=n;var l={rfx:r,relId:i,loc:a,display:s};return o&&(l.Tooltip=o),l}function Dl(e,t){var n=ue(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Id({s:Ce(e[0]),e:Ce(e[0])},n),Nd("rId"+t,n);var r=e[1].Target.indexOf("#");return je((-1==r?"":e[1].Target.slice(r+1))||"",n),je(e[1].Tooltip||"",n),je("",n),n.slice(0,n.l)}function Ml(){}function jl(e,t,n){var r=e.l+t,i=Je(e,16),a=e._R(1),o=[i];if(o[2]=a,n.cellFormula){var s=Dg(e,r-e.l,n);o[1]=s}else e.l=r;return o}function Wl(e,t,n){var r=e.l+t,i=Bd(e,16),a=[i];if(n.cellFormula){var o=Wg(e,r-e.l,n);a[1]=o,e.l=r}else e.l=r;return a}function Ul(e,t,n){null==n&&(n=ue(18));var r=Hs(e,t);n._W(-4,e),n._W(-4,e),n._W(4,256*(r.width||10)),n._W(4,0);var i=0;return t.hidden&&(i|=1),"number"==typeof r.width&&(i|=2),t.level&&(i|=t.level<<8),n._W(2,i),n}function zl(e){var t={};return hm.forEach(function(n){t[n]=Qe(e,8)}),t}function Hl(e,t){return null==t&&(t=ue(48)),Vs(e),hm.forEach(function(n){et(e[n],t)}),t}function Vl(e){var t=e._R(2);return e.l+=28,{RTL:32&t}}function ql(e,t,n){null==n&&(n=ue(30));var r=924;return(((t||{}).Views||[])[0]||{}).RTL&&(r|=32),n._W(2,r),n._W(4,0),n._W(4,0),n._W(4,0),n._W(1,0),n._W(1,0),n._W(2,0),n._W(2,100),n._W(2,0),n._W(2,0),n._W(2,0),n._W(4,0),n}function Gl(e){var t=ue(24);return t._W(4,4),t._W(4,1),Id(e,t),t}function $l(e,t){return null==t&&(t=ue(66)),t._W(2,e.password?Mi(e.password):0),t._W(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(n){n[1]?t._W(4,null==e[n[0]]||e[n[0]]?0:1):t._W(4,null!=e[n[0]]&&e[n[0]]?0:1)}),t}function Xl(){}function Yl(){}function Kl(e,t,n,r,i,a,o){if(!e)return e;var s=t||{};r||(r={"!id":{}}),null!=Jf&&null==s.dense&&(s.dense=Jf);var l,c,u,f,h,d,p,g,m,v,b=s.dense?[]:{},y={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=[],S=!1,x=!1,E=[];s.biff=12,s["!row"]=0;var _=0,k=!1,A=[],C={},T=s.supbooks||i.supbooks||[[]];if(T.sharedf=C,T.arrayf=A,T.SheetNames=i.SheetNames||i.Sheets.map(function(e){return e.name}),!s.supbooks&&(s.supbooks=T,i.Names))for(var R=0;R<i.Names.length;++R)T[0][R+1]=i.Names[R];var N=[],B=[],I=!1;if(fe(e,function(e,t,R){if(!x)switch(R){case 148:l=e;break;case 0:c=e,s.sheetRows&&s.sheetRows<=c.r&&(x=!0),m=ye(h=c.r),s["!row"]=c.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=ea(e.hpt)),B[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:switch(u={t:e[2]},e[2]){case"n":u.v=e[1];break;case"s":g=qg[e[1]],u.v=g.t,u.r=g.r;break;case"b":u.v=!!e[1];break;case"e":u.v=e[1],!1!==s.cellText&&(u.w=$d[u.v]);break;case"str":u.t="s",u.v=e[1]}if((f=o.CellXf[e[0].iStyleRef])&&Gs(u,f.numFmtId,null,s,a,o),d=e[0].c,s.dense?(b[h]||(b[h]=[]),b[h][d]=u):b[Ee(d)+m]=u,s.cellFormula){for(k=!1,_=0;_<A.length;++_){var O=A[_];c.r>=O[0].s.r&&c.r<=O[0].e.r&&d>=O[0].s.c&&d<=O[0].e.c&&(u.F=Ne(O[0]),k=!0)}!k&&e.length>3&&(u.f=e[3])}if(y.s.r>c.r&&(y.s.r=c.r),y.s.c>d&&(y.s.c=d),y.e.r<c.r&&(y.e.r=c.r),y.e.c<d&&(y.e.c=d),s.cellDates&&f&&"n"==u.t&&oh.is_date(oh._table[f.numFmtId])){var L=oh.parse_date_code(u.v);L&&(u.t="d",u.v=new Date(L.y,L.m-1,L.d,L.H,L.M,L.S,L.u))}break;case 1:if(!s.sheetStubs||S)break;u={t:"z",v:void 0},d=e[0].c,s.dense?(b[h]||(b[h]=[]),b[h][d]=u):b[Ee(d)+m]=u,y.s.r>c.r&&(y.s.r=c.r),y.s.c>d&&(y.s.c=d),y.e.r<c.r&&(y.e.r=c.r),y.e.c<d&&(y.e.c=d);break;case 176:E.push(e);break;case 494:var P=r["!id"][e.relId];for(P?(e.Target=P.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=P):""==e.relId&&(e.Target="#"+e.loc),h=e.rfx.s.r;h<=e.rfx.e.r;++h)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)s.dense?(b[h]||(b[h]=[]),b[h][d]||(b[h][d]={t:"z",v:void 0}),b[h][d].l=e):(p=Te({c:d,r:h}),b[p]||(b[p]={t:"z",v:void 0}),b[p].l=e);break;case 426:if(!s.cellFormula)break;A.push(e),v=s.dense?b[h][d]:b[Ee(d)+m],v.f=Ts(e[1],y,{r:c.r,c:d},T,s),v.F=Ne(e[0]);break;case 427:if(!s.cellFormula)break;C[Te(e[0].s)]=e[1],v=s.dense?b[h][d]:b[Ee(d)+m],v.f=Ts(e[1],y,{r:c.r,c:d},T,s);break;case 60:if(!s.cellStyles)break;for(;e.e>=e.s;)N[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},I||(I=!0,Ji(e.w/256)),Zi(N[e.e+1]);break;case 161:b["!autofilter"]={ref:Ne(e)};break;case 476:b["!margins"]=e;break;case 147:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name);break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),e.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:case 151:break;case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 49:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 152:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:S=!0;break;case 36:S=!1;break;case 37:w.push(t),S=!0;break;case 38:w.pop(),S=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!S||s.WTF)throw new Error("Unexpected record "+R+" "+t)}},s),delete s.supbooks,delete s["!row"],!b["!ref"]&&(y.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(b["!ref"]=Ne(l||y)),s.sheetRows&&b["!ref"]){var O=Be(b["!ref"]);s.sheetRows<=+O.e.r&&(O.e.r=s.sheetRows-1,O.e.r>y.e.r&&(O.e.r=y.e.r),O.e.r<O.s.r&&(O.s.r=O.e.r),O.e.c>y.e.c&&(O.e.c=y.e.c),O.e.c<O.s.c&&(O.s.c=O.e.c),b["!fullref"]=b["!ref"],b["!ref"]=Ne(O))}return E.length>0&&(b["!merges"]=E),N.length>0&&(b["!cols"]=N),B.length>0&&(b["!rows"]=B),b}function Jl(e,t,n,r,i,a){if(void 0!==t.v){var o="";switch(t.t){case"b":o=t.v?"1":"0";break;case"d":t=A(t),t.z=t.z||oh._table[14],t.v=S(_(t.v)),t.t="n";break;case"n":case"e":o=""+t.v;break;default:o=t.v}var s={r:n,c:r};switch(s.s=qs(i.cellXfs,t,i),t.l&&a["!links"].push([Te(s),t.l]),t.c&&a["!comments"].push([Te(s),t.c]),t.t){case"s":case"str":return void(i.bookSST?(o=zs(i.Strings,t.v,i.revStrings),s.t="s",s.v=o,de(e,"BrtCellIsst",_l(t,s))):(s.t="str",de(e,"BrtCellSt",Nl(t,s))));case"n":return void(t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?de(e,"BrtCellRk",Tl(t,s)):de(e,"BrtCellReal",Al(t,s)));case"b":return s.t="b",void de(e,"BrtCellBool",Sl(t,s));case"e":s.t="e"}de(e,"BrtCellBlank",yl(t,s))}}function Zl(e,t,n,r){var i,a=Be(t["!ref"]||"A1"),o="",s=[];de(e,"BrtBeginSheetData");var l=Array.isArray(t),c=a.e.r;t["!rows"]&&(c=Math.max(a.e.r,t["!rows"].length-1));for(var u=a.s.r;u<=c;++u)if(o=ye(u),pl(e,t,a,u),u<=a.e.r)for(var f=a.s.c;f<=a.e.c;++f){u===a.s.r&&(s[f]=Ee(f)),i=s[f]+o;var h=l?(t[u]||[])[f]:t[i];h&&Jl(e,h,u,f,r,t)}de(e,"BrtEndSheetData")}function Ql(e,t){t&&t["!merges"]&&(de(e,"BrtBeginMergeCells",Pl(t["!merges"].length)),t["!merges"].forEach(function(t){de(e,"BrtMergeCell",fm(t))}),de(e,"BrtEndMergeCells"))}function ec(e,t){t&&t["!cols"]&&(de(e,"BrtBeginColInfos"),t["!cols"].forEach(function(t,n){t&&de(e,"BrtColInfo",Ul(n,t))}),de(e,"BrtEndColInfos"))}function tc(e,t){t&&t["!ref"]&&(de(e,"BrtBeginCellIgnoreECs"),de(e,"BrtCellIgnoreEC",Gl(Be(t["!ref"]))),de(e,"BrtEndCellIgnoreECs"))}function nc(e,t,n){t["!links"].forEach(function(t){if(t[1].Target){var r=pt(n,-1,t[1].Target.replace(/#.*$/,""),ep.HLINK);de(e,"BrtHLink",Dl(t,r))}}),delete t["!links"]}function rc(e,t,n,r){if(t["!comments"].length>0){var i=pt(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",ep.VML);de(e,"BrtLegacyDrawing",Nd("rId"+i)),t["!legacy"]=i}}function ic(e,t,n,r){if(t["!autofilter"]){var i=t["!autofilter"],a="string"==typeof i.ref?i.ref:Ne(i.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,s=Re(a);s.s.r==s.e.r&&(s.e.r=Re(t["!ref"]).e.r,a=Ne(s));for(var l=0;l<o.length;++l){var c=o[l];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==r){c.Ref="'"+n.SheetNames[r]+"'!"+a;break}}l==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+a}),de(e,"BrtBeginAFilter",Id(Be(a))),
|
||
de(e,"BrtEndAFilter")}}function ac(e,t,n){de(e,"BrtBeginWsViews"),de(e,"BrtBeginWsView",ql(t,n)),de(e,"BrtEndWsView"),de(e,"BrtEndWsViews")}function oc(){}function sc(e,t){t["!protect"]&&de(e,"BrtSheetProtection",$l(t["!protect"]))}function lc(e,t,n,r){var i=he(),a=n.SheetNames[e],o=n.Sheets[a]||{},s=a;try{n&&n.Workbook&&(s=n.Workbook.Sheets[e].CodeName||s)}catch(e){}var l=Be(o["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return o["!links"]=[],o["!comments"]=[],de(i,"BrtBeginSheet"),n.vbaraw&&de(i,"BrtWsProp",vl(s)),de(i,"BrtWsDim",cm(l)),ac(i,o,n.Workbook),oc(i,o),ec(i,o,e,t,n),Zl(i,o,e,t,n),sc(i,o),ic(i,o,n,e),Ql(i,o),nc(i,o,r),o["!margins"]&&de(i,"BrtMargins",Hl(o["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||tc(i,o),rc(i,o,e,r),de(i,"BrtEndSheet"),i.end()}function cc(e){var t,n=[],r=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=r?+t[2]:t[2])});var i=Rh((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){t=e.replace(/<.*?>/g,"")}),[n,i,t]}function uc(e,t,n,r,i,a){var o=a||{"!type":"chart"};if(!e)return a;var s=0,l=0,c="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var t=cc(e);u.s.r=u.s.c=0,u.e.c=s,c=Ee(s),t[0].forEach(function(e,n){o[c+ye(n)]={t:"n",v:e,z:t[1]},l=n}),u.e.r<l&&(u.e.r=l),++s}),s>0&&(o["!ref"]=Ne(u)),o}function fc(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var a,o={"!type":"chart","!drawel":null,"!rel":""},s=e.match(tm);return s&&Js(s[0],o,i,n),(a=e.match(/drawing r:id="(.*?)"/))&&(o["!rel"]=a[1]),r["!id"][o["!rel"]]&&(o["!drawel"]=r["!id"][o["!rel"]]),o}function hc(e,t){return e.l+=10,{name:Me(e,t-10)}}function dc(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var a={"!type":"chart","!drawel":null,"!rel":""},o=[],s=!1;return fe(e,function(e,r,l){switch(l){case 550:a["!rel"]=e;break;case 651:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:o.push(r);break;case 38:o.pop();break;default:if((r||"").indexOf("Begin")>0)o.push(r);else if((r||"").indexOf("End")>0)o.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+l+" "+r)}},t),r["!id"][a["!rel"]]&&(a["!drawel"]=r["!id"][a["!rel"]]),a}function pc(e,t){for(var n=0;n!=e.length;++n)for(var r=e[n],i=0;i!=t.length;++i){var a=t[i];if(null==r[a[0]])r[a[0]]=a[1];else switch(a[2]){case"bool":"string"==typeof r[a[0]]&&(r[a[0]]=K(r[a[0]]));break;case"int":"string"==typeof r[a[0]]&&(r[a[0]]=parseInt(r[a[0]],10))}}}function gc(e,t){for(var n=0;n!=t.length;++n){var r=t[n];if(null==e[r[0]])e[r[0]]=r[1];else switch(r[2]){case"bool":"string"==typeof e[r[0]]&&(e[r[0]]=K(e[r[0]]));break;case"int":"string"==typeof e[r[0]]&&(e[r[0]]=parseInt(e[r[0]],10))}}}function mc(e){gc(e.WBProps,dm),gc(e.CalcPr,mm),pc(e.WBView,pm),pc(e.Sheets,gm),Gg.date1904=K(e.WBProps.date1904)}function vc(e){return e.Workbook&&e.Workbook.WBProps&&K(e.Workbook.WBProps.date1904)?"true":"false"}function bc(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return vm.forEach(function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}}),n}function yc(e,t,n){e.forEach(function(r,i){bc(r);for(var a=0;a<i;++a)if(r==e[a])throw new Error("Duplicate Sheet Name: "+r);if(n){var o=t&&t[i]&&t[i].CodeName||r;if(95==o.charCodeAt(0)&&o.length>22)throw new Error("Bad Code Name: Worksheet"+o)}})}function wc(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];yc(e.SheetNames,t,!!e.vbaraw);for(var n=0;n<e.SheetNames.length;++n)$s(e.Sheets[e.SheetNames[n]],e.SheetNames[n],n)}function Sc(e,t){if(!e)throw new Error("Could not find file");var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},r=!1,i="xmlns",a={},o=0;if(e.replace(_h,function(s,l){var c=H(s);switch(V(c[0])){case"<?xml":break;case"<workbook":s.match(bm)&&(i="xmlns"+s.match(/<(\w+):/)[1]),n.xmlns=c[i];break;case"</workbook>":break;case"<fileVersion":delete c[0],n.AppVersion=c;break;case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":dm.forEach(function(e){if(null!=c[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=K(c[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:n.WBProps[e[0]]=c[e[0]]}}),c.codeName&&(n.WBProps.CodeName=Ph(c.codeName));break;case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete c[0],n.WBView.push(c);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(c.state){case"hidden":c.Hidden=1;break;case"veryHidden":c.Hidden=2;break;default:c.Hidden=0}delete c.state,c.name=Rh(Ph(c.name)),delete c[0],n.Sheets.push(c);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":break;case"<definedNames>":case"<definedNames":r=!0;break;case"</definedNames>":r=!1;break;case"<definedName":a={},a.Name=Ph(c.name),c.comment&&(a.Comment=c.comment),c.localSheetId&&(a.Sheet=+c.localSheetId),K(c.hidden||"0")&&(a.Hidden=!0),o=l+s.length;break;case"</definedName>":a.Ref=Rh(Ph(e.slice(o,l))),n.Names.push(a);break;case"<definedName/>":break;case"<calcPr":case"<calcPr/>":delete c[0],n.CalcPr=c;break;case"</calcPr>":case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":r=!0;break;case"</ext>":r=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":r=!0;break;case"</AlternateContent>":r=!1;break;case"<revisionPtr":break;default:if(!r&&t.WTF)throw new Error("unrecognized "+c[0]+" in workbook")}return s}),-1===Gh.main.indexOf(n.xmlns))throw new Error("Unknown Namespace: "+n.xmlns);return mc(n),n}function xc(e){var t=[xh];t[t.length]=ym;var n=e.Workbook&&(e.Workbook.Names||[]).length>0,r={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(dm.forEach(function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(r[t[0]]=e.Workbook.WBProps[t[0]])}),e.Workbook.WBProps.CodeName&&(r.codeName=e.Workbook.WBProps.CodeName,delete r.CodeName)),t[t.length]=ee("workbookPr",null,r);var i=e.Workbook&&e.Workbook.Sheets||[],a=0;if(i&&i[0]&&i[0].Hidden){for(t[t.length]="<bookViews>",a=0;a!=e.SheetNames.length&&i[a]&&i[a].Hidden;++a);a==e.SheetNames.length&&(a=0),t[t.length]='<workbookView firstSheet="'+a+'" activeTab="'+a+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",a=0;a!=e.SheetNames.length;++a){var o={name:q(e.SheetNames[a].slice(0,31))};if(o.sheetId=""+(a+1),o["r:id"]="rId"+(a+1),i[a])switch(i[a].Hidden){case 1:o.state="hidden";break;case 2:o.state="veryHidden"}t[t.length]=ee("sheet",null,o)}return t[t.length]="</sheets>",n&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(e){var n={name:e.Name};e.Comment&&(n.comment=e.Comment),null!=e.Sheet&&(n.localSheetId=""+e.Sheet),e.Hidden&&(n.hidden="1"),e.Ref&&(t[t.length]=ee("definedName",q(e.Ref),n))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function Ec(e,t){var n={};return n.Hidden=e._R(4),n.iTabID=e._R(4),n.strRelID=Rd(e,t-8),n.name=Me(e),n}function _c(e,t){return t||(t=ue(127)),t._W(4,e.Hidden),t._W(4,e.iTabID),Nd(e.strRelID,t),je(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function kc(e,t){var n={},r=e._R(4);n.defaultThemeVersion=e._R(4);var i=t>8?Me(e):"";return i.length>0&&(n.CodeName=i),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}function Ac(e,t){t||(t=ue(72));var n=0;return e&&e.filterPrivacy&&(n|=8),t._W(4,n),t._W(4,0),Cd(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function Cc(e,t){var n={};return e._R(4),n.ArchID=e._R(4),e.l+=t-8,n}function Tc(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var i=e._R(4),a=Td(e),o=jg(e,0,n),s=$e(e);e.l=r;var l={Name:a,Ptg:o};return i<268435455&&(l.Sheet=i),s&&(l.Comment=s),l}function Rc(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},r=[],i=!1;t||(t={}),t.biff=12;var a=[],o=[[]];return o.SheetNames=[],o.XTI=[],fe(e,function(e,s,l){switch(l){case 156:o.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=Ts(e.Ptg,null,null,o,t),delete t.SID,delete e.Ptg,a.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:o[0].length?o.push([l,e]):o[0]=[l,e],o[o.length-1].XTI=[];break;case 362:0===o.length&&(o[0]=[],o[0].XTI=[]),o[o.length-1].XTI=o[o.length-1].XTI.concat(e),o.XTI=o.XTI.concat(e);break;case 361:break;case 3072:case 3073:case 2071:case 534:case 677:case 158:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:r.push(s),i=!0;break;case 36:r.pop(),i=!1;break;case 37:r.push(s),i=!0;break;case 38:r.pop(),i=!1;break;case 16:break;default:if((s||"").indexOf("Begin")>0);else if((s||"").indexOf("End")>0);else if(!i||t.WTF&&"BrtACBegin"!=r[r.length-1]&&"BrtFRTBegin"!=r[r.length-1])throw new Error("Unexpected record "+l+" "+s)}},t),mc(n),n.Names=a,n.supbooks=o,n}function Nc(e,t){de(e,"BrtBeginBundleShs");for(var n=0;n!=t.SheetNames.length;++n){de(e,"BrtBundleSh",_c({Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[n]&&t.Workbook.Sheets[n].Hidden||0,iTabID:n+1,strRelID:"rId"+(n+1),name:t.SheetNames[n]}))}de(e,"BrtEndBundleShs")}function Bc(t,n){n||(n=ue(127));for(var r=0;4!=r;++r)n._W(4,0);return je("SheetJS",n),je(e.version,n),je(e.version,n),je("7262",n),n.length=n.l,n.length>n.l?n.slice(0,n.l):n}function Ic(e,t){t||(t=ue(29)),t._W(-4,0),t._W(-4,460),t._W(4,28800),t._W(4,17600),t._W(4,500),t._W(4,e),t._W(4,e);return t._W(1,120),t.length>t.l?t.slice(0,t.l):t}function Oc(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var n=t.Workbook.Sheets,r=0,i=-1,a=-1;r<n.length;++r)!n[r]||!n[r].Hidden&&-1==i?i=r:1==n[r].Hidden&&-1==a&&(a=r);a>i||(de(e,"BrtBeginBookViews"),de(e,"BrtBookView",Ic(i)),de(e,"BrtEndBookViews"))}}function Lc(e,t){var n=he();return de(n,"BrtBeginBook"),de(n,"BrtFileVersion",Bc()),de(n,"BrtWbProp",Ac(e.Workbook&&e.Workbook.WBProps||null)),Oc(n,e,t),Nc(n,e,t),de(n,"BrtEndBook"),n.end()}function Pc(e,t,n){return".bin"===t.slice(-4)?Rc(e,n):Sc(e,n)}function Fc(e,t,n,r,i,a,o,s){return".bin"===t.slice(-4)?Kl(e,r,n,i,a,o,s):Ys(e,r,n,i,a,o,s)}function Dc(e,t,n,r,i,a,o,s){return".bin"===t.slice(-4)?dc(e,r,n,i,a,o,s):fc(e,r,n,i,a,o,s)}function Mc(e,t,n,r,i,a,o,s){return".bin"===t.slice(-4)?fo(e,r,n,i,a,o,s):ho(e,r,n,i,a,o,s)}function jc(e,t,n,r,i,a,o,s){return".bin"===t.slice(-4)?co(e,r,n,i,a,o,s):uo(e,r,n,i,a,o,s)}function Wc(e,t,n,r){return".bin"===t.slice(-4)?wa(e,n,r):Qp(e,n,r)}function Uc(e,t,n){return Fa(e,n)}function zc(e,t,n){return".bin"===t.slice(-4)?yi(e,n):mi(e,n)}function Hc(e,t,n){return".bin"===t.slice(-4)?ao(e,n):eo(e,n)}function Vc(e,t,n){return".bin"===t.slice(-4)?Xa(e,t,n):Ga(e,t,n)}function qc(e,t,n,r){return".bin"===n.slice(-4)?Ka(e,t,n,r):Ya(e,t,n,r)}function Gc(e,t,n){return(".bin"===t.slice(-4)?Lc:xc)(e,n)}function $c(e,t,n,r,i){return(".bin"===t.slice(-4)?lc:fl)(e,n,r,i)}function Xc(e,t,n){return(".bin"===t.slice(-4)?Ba:la)(e,n)}function Yc(e,t,n){return(".bin"===t.slice(-4)?Si:vi)(e,n)}function Kc(e,t,n){return(".bin"===t.slice(-4)?oo:to)(e,n)}function Jc(e,t){var n=e.split(/\s+/),r=[];if(t||(r[0]=n[0]),1===n.length)return r;var i,a,o,s,l=e.match(wm);if(l)for(s=0;s!=l.length;++s)i=l[s].match(Sm),-1===(a=i[1].indexOf(":"))?r[i[1]]=i[2].slice(1,i[2].length-1):(o="xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(a+1),r[o]=i[2].slice(1,i[2].length-1));return r}function Zc(e){var t=e.split(/\s+/),n={};if(1===t.length)return n;var r,i,a,o,s=e.match(wm);if(s)for(o=0;o!=s.length;++o)r=s[o].match(Sm),-1===(i=r[1].indexOf(":"))?n[r[1]]=r[2].slice(1,r[2].length-1):(a="xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(i+1),n[a]=r[2].slice(1,r[2].length-1));return n}function Qc(e,t){var n=ch[e]||Rh(e);return"General"===n?oh._general(t):oh.format(n,t)}function eu(e,t,n,r){var i=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=K(r);break;case"i2":case"int":i=parseInt(r,10);break;case"r4":case"float":i=parseFloat(r);break;case"date":case"dateTime.tz":i=_(r);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+n[0])}e[Rh(t)]=i}function tu(e,t,n){if("z"!==e.t){if(!n||!1!==n.cellText)try{"e"===e.t?e.w=e.w||$d[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=oh._general_int(e.v):e.w=oh._general_num(e.v):e.w=oh._general(e.v):e.w=Qc(t||"General",e.v)}catch(e){if(n.WTF)throw e}try{var r=ch[t]||t||"General";if(n.cellNF&&(e.z=r),n.cellDates&&"n"==e.t&&oh.is_date(r)){var i=oh.parse_date_code(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(e){if(n.WTF)throw e}}}function nu(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=Kp[r.Pattern]||r.Pattern)}e[t.ID]=t}function ru(e,t,n,r,i,a,o,s,l,c){var u="General",f=r.StyleID,h={};c=c||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&o&&(f=o.StyleID);void 0!==a[f]&&(a[f].nf&&(u=a[f].nf),a[f].Interior&&d.push(a[f].Interior),a[f].Parent);)f=a[f].Parent;switch(n.Type){case"Boolean":r.t="b",r.v=K(e);break;case"String":r.t="s",r.r=Oh(Rh(e)),r.v=e.indexOf("<")>-1?Rh(t||e).replace(/<.*?>/g,""):r.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),r.v=(_(e)-new Date(Date.UTC(1899,11,30)))/864e5,r.v!==r.v?r.v=Rh(e):r.v<60&&(r.v=r.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===r.v&&(r.v=+e),r.t||(r.t="n");break;case"Error":r.t="e",r.v=Xd[e],!1!==c.cellText&&(r.w=e);break;default:""==e&&""==t?r.t="z":(r.t="s",r.v=Oh(t||e))}if(tu(r,u,c),!1!==c.cellFormula)if(r.Formula){var g=Rh(r.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),r.f=gg(g,i),delete r.Formula,"RC"==r.ArrayRange?r.F=gg("RC:RC",i):r.ArrayRange&&(r.F=gg(r.ArrayRange,i),l.push([Be(r.F),r.F]))}else for(p=0;p<l.length;++p)i.r>=l[p][0].s.r&&i.r<=l[p][0].e.r&&i.c>=l[p][0].s.c&&i.c<=l[p][0].e.c&&(r.F=l[p][1]);c.cellStyles&&(d.forEach(function(e){!h.patternType&&e.patternType&&(h.patternType=e.patternType)}),r.s=h),void 0!==r.StyleID&&(r.ixfe=r.StyleID)}function iu(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function au(e){if(Qf&&Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Ph(c(f(e)));throw new Error("Bad input format: expected Buffer or string")}function ou(e,t){var n=t||{};sh(oh);var i=Xf(au(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(i="undefined"!=typeof cptable?cptable.utils.decode(65001,r(i)):Ph(i));var a=i.slice(0,1024).toLowerCase(),o=!1;if(-1==a.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach(function(e){a.indexOf("<"+e)>=0&&(o=!0)}),o)return Tm.to_workbook(i,n);var s,l,c=[];null!=Jf&&null==n.dense&&(n.dense=Jf);var u,f={},h=[],d=n.dense?[]:{},p="",g={},m={},v=Jc('<Data ss:Type="String">'),b=0,y=0,w=0,S={s:{r:2e6,c:2e6},e:{r:0,c:0}},x={},E={},_="",k=0,C=[],T={},R={},N=0,B=[],I=[],O={},L=[],P=!1,F=[],D=[],M={},j=0,W=0,U={Sheets:[],WBProps:{date1904:!1}},z={};xm.lastIndex=0,i=i.replace(/<!--([\s\S]*?)-->/gm,"");for(var V="";s=xm.exec(i);)switch(s[3]=(V=s[3]).toLowerCase()){case"data":if("data"==V){if("/"===s[1]){if((l=c.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==s[0].charAt(s[0].length-2)&&c.push([s[3],!0]);break}if(c[c.length-1][1])break;"/"===s[1]?ru(i.slice(b,s.index),_,v,"comment"==c[c.length-1][0]?O:g,{c:y,r:w},x,L[y],m,F,n):(_="",v=Jc(s[0]),b=s.index+s[0].length);break;case"cell":if("/"===s[1])if(I.length>0&&(g.c=I),(!n.sheetRows||n.sheetRows>w)&&void 0!==g.v&&(n.dense?(d[w]||(d[w]=[]),d[w][y]=g):d[Ee(y)+ye(w)]=g),g.HRef&&(g.l={Target:g.HRef},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(j=y+(0|parseInt(g.MergeAcross,10)),W=w+(0|parseInt(g.MergeDown,10)),C.push({s:{c:y,r:w},e:{c:j,r:W}})),n.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var q=y;q<=j;++q)for(var G=w;G<=W;++G)(q>y||G>w)&&(n.dense?(d[G]||(d[G]=[]),d[G][q]={t:"z"}):d[Ee(q)+ye(G)]={t:"z"});y=j+1}else++y;else g.MergeAcross?y=j+1:++y;else g=Zc(s[0]),g.Index&&(y=+g.Index-1),y<S.s.c&&(S.s.c=y),y>S.e.c&&(S.e.c=y),"/>"===s[0].slice(-2)&&++y,I=[];break;case"row":"/"===s[1]||"/>"===s[0].slice(-2)?(w<S.s.r&&(S.s.r=w),w>S.e.r&&(S.e.r=w),"/>"===s[0].slice(-2)&&(m=Jc(s[0]),m.Index&&(w=+m.Index-1)),y=0,++w):(m=Jc(s[0]),m.Index&&(w=+m.Index-1),M={},("0"==m.AutoFitHeight||m.Height)&&(M.hpx=parseInt(m.Height,10),M.hpt=Qi(M.hpx),D[w]=M),"1"==m.Hidden&&(M.hidden=!0,D[w]=M));break;case"worksheet":if("/"===s[1]){if((l=c.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"));h.push(p),S.s.r<=S.e.r&&S.s.c<=S.e.c&&(d["!ref"]=Ne(S),n.sheetRows&&n.sheetRows<=S.e.r&&(d["!fullref"]=d["!ref"],S.e.r=n.sheetRows-1,d["!ref"]=Ne(S))),C.length&&(d["!merges"]=C),L.length>0&&(d["!cols"]=L),D.length>0&&(d["!rows"]=D),f[p]=d}else S={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=y=0,c.push([s[3],!1]),l=Jc(s[0]),p=Rh(l.Name),d=n.dense?[]:{},C=[],F=[],D=[],z={name:p,Hidden:0},U.Sheets.push(z);break;case"table":if("/"===s[1]){if((l=c.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else{if("/>"==s[0].slice(-2))break;Jc(s[0]),c.push([s[3],!1]),L=[],P=!1}break;case"style":"/"===s[1]?nu(x,E,n):E=Jc(s[0]);break;case"numberformat":E.nf=Rh(Jc(s[0]).Format||"General"),ch[E.nf]&&(E.nf=ch[E.nf]);for(var $=0;392!=$&&oh._table[$]!=E.nf;++$);if(392==$)for($=57;392!=$;++$)if(null==oh._table[$]){oh.load(E.nf,$);break}break;case"column":if("table"!==c[c.length-1][0])break;if(u=Jc(s[0]),u.Hidden&&(u.hidden=!0,delete u.Hidden),u.Width&&(u.wpx=parseInt(u.Width,10)),!P&&u.wpx>10){P=!0,Xp=qp;for(var X=0;X<L.length;++X)L[X]&&Zi(L[X])}P&&Zi(u),L[u.Index-1||L.length]=u;for(var Y=0;Y<+u.Span;++Y)L[L.length]=A(u);break;case"namedrange":if("/"===s[1])break;U.Names||(U.Names=[]);var K=H(s[0]),J={Name:K.Name,Ref:gg(K.RefersTo.slice(1),{r:0,c:0})};U.Sheets.length>0&&(J.Sheet=U.Sheets.length-1),U.Names.push(J);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":break;case"font":if("/>"===s[0].slice(-2))break;"/"===s[1]?_+=i.slice(k,s.index):k=s.index+s[0].length;break;case"interior":if(!n.cellStyles)break;E.Interior=Jc(s[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===s[0].slice(-2))break;"/"===s[1]?Tt(T,V,i.slice(N,s.index)):N=s.index+s[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===s[1]){if((l=c.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else c.push([s[3],!1]);break;case"comment":if("/"===s[1]){if((l=c.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"));iu(O),I.push(O)}else c.push([s[3],!1]),l=Jc(s[0]),O={a:l.Author};break;case"autofilter":if("/"===s[1]){if((l=c.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else if("/"!==s[0].charAt(s[0].length-2)){var Z=Jc(s[0]);d["!autofilter"]={ref:gg(Z.Range).replace(/\$/g,"")},c.push([s[3],!0])}break;case"name":break;case"datavalidation":if("/"===s[1]){if((l=c.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==s[0].charAt(s[0].length-2)&&c.push([s[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===s[1]){if((l=c.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==s[0].charAt(s[0].length-2)&&c.push([s[3],!0]);break;default:if(0==c.length&&"document"==s[3])return ef(i,n);if(0==c.length&&"uof"==s[3])return ef(i,n);var Q=!0;switch(c[c.length-1][0]){case"officedocumentsettings":switch(s[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:Q=!1}break;case"componentoptions":switch(s[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:Q=!1}break;case"excelworkbook":switch(s[3]){case"date1904":U.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:Q=!1}break;case"workbookoptions":switch(s[3]){case"owcversion":case"height":case"width":break;default:Q=!1}break;case"worksheetoptions":switch(s[3]){case"visible":if("/>"===s[0].slice(-2));else if("/"===s[1])switch(i.slice(N,s.index)){case"SheetHidden":z.Hidden=1;break;case"SheetVeryHidden":z.Hidden=2}else N=s.index+s[0].length;break;case"header":d["!margins"]||Vs(d["!margins"]={},"xlml"),d["!margins"].header=H(s[0]).Margin;break;case"footer":d["!margins"]||Vs(d["!margins"]={},"xlml"),d["!margins"].footer=H(s[0]).Margin;break;case"pagemargins":var ee=H(s[0]);d["!margins"]||Vs(d["!margins"]={},"xlml"),ee.Top&&(d["!margins"].top=ee.Top),ee.Left&&(d["!margins"].left=ee.Left),ee.Right&&(d["!margins"].right=ee.Right),ee.Bottom&&(d["!margins"].bottom=ee.Bottom);break;case"displayrighttoleft":U.Views||(U.Views=[]),U.Views[0]||(U.Views[0]={}),U.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":break;case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"nosummaryrowsbelowdetail":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"nosummarycolumnsrightdetail":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;default:Q=!1}break;case"pivottable":case"pivotcache":switch(s[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:Q=!1}break;case"pagebreaks":switch(s[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:Q=!1}break;case"autofilter":switch(s[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:Q=!1}break;case"querytable":switch(s[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:Q=!1}break;case"datavalidation":switch(s[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:Q=!1}break;case"sorting":case"conditionalformatting":switch(s[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:Q=!1}break;case"mapinfo":case"schema":case"data":switch(s[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:Q=!1}break;case"smarttags":break;default:Q=!1}if(Q)break;if(s[3].match(/!\[CDATA/))break;if(!c[c.length-1][1])throw"Unrecognized tag: "+s[3]+"|"+c.join("|");if("customdocumentproperties"===c[c.length-1][0]){if("/>"===s[0].slice(-2))break;"/"===s[1]?eu(R,V,B,i.slice(N,s.index)):(B=s,N=s.index+s[0].length);break}if(n.WTF)throw"Unrecognized tag: "+s[3]+"|"+c.join("|")}var te={};return n.bookSheets||n.bookProps||(te.Sheets=f),te.SheetNames=h,te.Workbook=U,te.SSF=oh.get_table(),te.Props=T,te.Custprops=R,te}function su(e,t){switch(Um(t=t||{}),t.type||"base64"){case"base64":return ou(Zf.decode(e),t);case"binary":case"buffer":case"file":return ou(e,t);case"array":return ou(c(e),t)}}function lu(e,t){var n=[];return e.Props&&n.push(Rt(e.Props,t)),e.Custprops&&n.push(Nt(e.Props,e.Custprops,t)),n.join("")}function cu(){return""}function uu(e,t){var n=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(e,t){var r=[];r.push(ee("NumberFormat",null,{"ss:Format":q(oh._table[e.numFmtId])}));var i={"ss:ID":"s"+(21+t)};n.push(ee("Style",r.join(""),i))}),ee("Styles",n.join(""))}function fu(e){return ee("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+vg(e.Ref,{r:0,c:0})})}function hu(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,n=[],r=0;r<t.length;++r){var i=t[r];null==i.Sheet&&(i.Name.match(/^_xlfn\./)||n.push(fu(i)))}return ee("Names",n.join(""))}function du(e,t,n,r){if(!e)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var i=r.Workbook.Names,a=[],o=0;o<i.length;++o){var s=i[o];s.Sheet==n&&(s.Name.match(/^_xlfn\./)||a.push(fu(s)))}return a.join("")}function pu(e,t,n,r){if(!e)return"";var i=[];if(e["!margins"]&&(i.push("<PageSetup>"),e["!margins"].header&&i.push(ee("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&i.push(ee("Footer",null,{"x:Margin":e["!margins"].footer})),i.push(ee("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),i.push("</PageSetup>")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)i.push(ee("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var a=0;a<n&&(!r.Workbook.Sheets[a]||r.Workbook.Sheets[a].Hidden);++a);a==n&&i.push("<Selected/>")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push("<DisplayRightToLeft/>"),e["!protect"]&&(i.push(Z("ProtectContents","True")),e["!protect"].objects&&i.push(Z("ProtectObjects","True")),e["!protect"].scenarios&&i.push(Z("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||i.push(Z("EnableSelection","UnlockedCells")):i.push(Z("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(t){e["!protect"][t[0]]&&i.push("<"+t[1]+"/>")})),
|
||
0==i.length?"":ee("WorksheetOptions",i.join(""),{xmlns:Yh.x})}function gu(e){return e.map(function(e){return ee("Comment",ee("ss:Data",Lh(e.t||""),{xmlns:"http://www.w3.org/TR/REC-html40"}),{"ss:Author":e.a})}).join("")}function mu(e,t,n,r,i,a,o){if(!e||void 0==e.v&&void 0==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+q(vg(e.f,o))),e.F&&e.F.slice(0,t.length)==t){var l=Ce(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==o.r?"":"["+(l.r-o.r)+"]")+"C"+(l.c==o.c?"":"["+(l.c-o.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=q(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=q(e.l.Tooltip))),n["!merges"])for(var c=n["!merges"],u=0;u!=c.length;++u)c[u].s.c==o.c&&c[u].s.r==o.r&&(c[u].e.c>c[u].s.c&&(s["ss:MergeAcross"]=c[u].e.c-c[u].s.c),c[u].e.r>c[u].s.r&&(s["ss:MergeDown"]=c[u].e.r-c[u].s.r));var f="",h="";switch(e.t){case"z":if(!r.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=$d[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||oh._table[14]);break;case"s":f="String",h=Y(e.v||"")}var d=qs(r.cellXfs,e,r);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=o.c+1;var p=null!=e.v?h:"",g="z"==e.t?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(e.c||[]).length>0&&(g+=gu(e.c)),ee("Cell",g,s)}function vu(e,t){var n='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=ea(t.hpt)),t.hpx&&(n+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(n+=' ss:Hidden="1"')),n+">"}function bu(e,t,n,r){if(!e["!ref"])return"";var i=Be(e["!ref"]),a=e["!merges"]||[],o=0,s=[];e["!cols"]&&e["!cols"].forEach(function(e,t){Zi(e);var n=!!e.width,r=Hs(t,e),i={"ss:Index":t+1};n&&(i["ss:Width"]=$i(r.width)),e.hidden&&(i["ss:Hidden"]="1"),s.push(ee("Column",null,i))});for(var l=Array.isArray(e),c=i.s.r;c<=i.e.r;++c){for(var u=[vu(c,(e["!rows"]||[])[c])],f=i.s.c;f<=i.e.c;++f){var h=!1;for(o=0;o!=a.length;++o)if(!(a[o].s.c>f||a[o].s.r>c||a[o].e.c<f||a[o].e.r<c)){a[o].s.c==f&&a[o].s.r==c||(h=!0);break}if(!h){var d={r:c,c:f},p=Te(d),g=l?(e[c]||[])[f]:e[p];u.push(mu(g,p,e,t,n,r,d))}}u.push("</Row>"),u.length>2&&s.push(u.join(""))}return s.join("")}function yu(e,t,n){var r=[],i=n.SheetNames[e],a=n.Sheets[i],o=a?du(a,t,e,n):"";return o.length>0&&r.push("<Names>"+o+"</Names>"),o=a?bu(a,t,e,n):"",o.length>0&&r.push("<Table>"+o+"</Table>"),r.push(pu(a,t,e,n)),r.join("")}function wu(e,t){t||(t={}),e.SSF||(e.SSF=oh.get_table()),e.SSF&&(sh(oh),oh.load_table(e.SSF),t.revssf=w(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],qs(t.cellXfs,{},{revssf:{General:0}}));var n=[];n.push(lu(e,t)),n.push(cu(e,t)),n.push(""),n.push("");for(var r=0;r<e.SheetNames.length;++r)n.push(ee("Worksheet",yu(r,t,e),{"ss:Name":q(e.SheetNames[r])}));return n[2]=uu(e,t),n[3]=hu(e,t),xh+ee("Workbook",n.join(""),{xmlns:Yh.ss,"xmlns:o":Yh.o,"xmlns:x":Yh.x,"xmlns:ss":Yh.ss,"xmlns:dt":Yh.dt,"xmlns:html":Yh.html})}function Su(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n._R(0,"lpstr-ansi"),t.AnsiClipboardFormat=ot(n),n.length-n.l<=4)return t;var r=n._R(4);return 0==r||r>40?t:(n.l-=4,t.Reserved1=n._R(0,"lpstr-ansi"),n.length-n.l<=4?t:1907505652!==(r=n._R(4))?t:(t.UnicodeClipboardFormat=st(n),0==(r=n._R(4))||r>40?t:(n.l-=4,void(t.Reserved2=n._R(0,"lpwstr")))))}function xu(e,t,n,r){var i=n,a=[],o=t.slice(t.l,t.l+i);if(r&&r.enc&&r.enc.insitu)switch(e.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":break;default:if(0===o.length)break;r.enc.insitu(o)}a.push(o),t.l+=i;for(var s=Am[md(t,t.l)],l=0;null!=s&&"Continue"===s.n.slice(0,8);)i=md(t,t.l+2),l=t.l+4,"ContinueFrt"==s.n?l+=4:"ContinueFrt"==s.n.slice(0,11)&&(l+=12),a.push(t.slice(l,t.l+4+i)),t.l+=4+i,s=Am[md(t,t.l)];var c=rh(a);le(c,0);var u=0;c.lens=[];for(var f=0;f<a.length;++f)c.lens.push(u),u+=a[f].length;return e.f(c,c.length,r)}function Eu(e,t,n){if("z"!==e.t&&e.XF){var r=0;try{r=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=oh._table[r])}catch(e){if(t.WTF)throw e}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||$d[e.v]:0===r||"General"==r?"n"===e.t?(0|e.v)===e.v?e.w=oh._general_int(e.v):e.w=oh._general_num(e.v):e.w=oh._general(e.v):e.w=oh.format(r,e.v,{date1904:!!n})}catch(e){if(t.WTF)throw e}if(t.cellDates&&r&&"n"==e.t&&oh.is_date(oh._table[r]||String(r))){var i=oh.parse_date_code(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function _u(e,t,n){return{v:e,ixfe:t,t:n}}function ku(e,t){var n={opts:{}},r={};null!=Jf&&null==t.dense&&(t.dense=Jf);var i,a,o,s,l,c,u,f=t.dense?[]:{},h={},d={},p=null,g=[],m="",b={},y="",w={},S=[],x=!0,E=[],_=[],k={Sheets:[],WBProps:{date1904:!1},Views:[{}]},A={},C=function(e){return e<8?Gd[e]:e<64?_[e-8]||Gd[e]:Gd[e]},T=function(e,t,n){var r=t.XF.data;if(r&&r.patternType&&n&&n.cellStyles){t.s={},t.s.patternType=r.patternType;var i;(i=Hi(C(r.icvFore)))&&(t.s.fgColor={rgb:i}),(i=Hi(C(r.icvBack)))&&(t.s.bgColor={rgb:i})}},R=function(e,t,n){if(!(W>1)&&(n.sheetRows&&e.r>=n.sheetRows&&(x=!1),x)){if(n.cellStyles&&t.XF&&t.XF.data&&T(0,t,n),delete t.ixfe,delete t.XF,i=e,y=Te(e),d&&d.s&&d.e||(d={s:{r:0,c:0},e:{r:0,c:0}}),e.r<d.s.r&&(d.s.r=e.r),e.c<d.s.c&&(d.s.c=e.c),e.r+1>d.e.r&&(d.e.r=e.r+1),e.c+1>d.e.c&&(d.e.c=e.c+1),n.cellFormula&&t.f)for(var r=0;r<S.length;++r)if(!(S[r][0].s.c>e.c||S[r][0].s.r>e.r||S[r][0].e.c<e.c||S[r][0].e.r<e.r)){t.F=Ne(S[r][0]),S[r][0].s.c==e.c&&S[r][0].s.r==e.r||delete t.f,t.f&&(t.f=""+Ts(S[r][1],d,e,D,N));break}n.dense?(f[e.r]||(f[e.r]=[]),f[e.r][e.c]=t):f[y]=t}},N={enc:!1,sbcch:0,snames:[],sharedf:w,arrayf:S,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(N.password=t.password);var B,I=[],O=[],L=[],P=[],F=!1,D=[];D.SheetNames=N.snames,D.sharedf=N.sharedf,D.arrayf=N.arrayf,D.names=[],D.XTI=[];var M,j="",W=0,U=0,z=[],H=[];N.codepage=1200,$f(1200);for(var V=!1;e.l<e.length-1;){var q=e.l,G=e._R(2);if(0===G&&"EOF"===j)break;var $=e.l===e.length?0:e._R(2),X=Am[G];if(X&&X.f){if(t.bookSheets&&"BoundSheet8"===j&&"BoundSheet8"!==X.n)break;if(j=X.n,2===X.r||12==X.r){var Y=e._R(2);if($-=2,!N.enc&&Y!==G&&((255&Y)<<8|Y>>8)!==G)throw new Error("rt mismatch: "+Y+"!="+G);12==X.r&&(e.l+=10,$-=10)}var K={};K="EOF"===X.n?X.f(e,$,N):xu(X,e,$,N);var J=X.n;if(0==W&&"BOF"!=J)continue;switch(J){case"Date1904":n.opts.Date1904=k.WBProps.date1904=K;break;case"WriteProtect":n.opts.WriteProtect=!0;break;case"FilePass":if(N.enc||(e.l=0),N.enc=K,!t.password)throw new Error("File is password-protected");if(null==K.valid)throw new Error("Encryption scheme unsupported");if(!K.valid)throw new Error("Password is incorrect");break;case"WriteAccess":N.lastuser=K;break;case"FileSharing":break;case"CodePage":var Z=Number(K);switch(Z){case 21010:Z=1200;break;case 32768:Z=1e4;break;case 32769:Z=1252}$f(N.codepage=Z),V=!0;break;case"RRTabId":N.rrtabid=K;break;case"WinProtect":N.winlocked=K;break;case"Template":case"BookBool":case"UsesELFs":case"MTRSettings":break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":n.opts[J]=K;break;case"CalcRefMode":N.CalcRefMode=K;break;case"Uncalced":break;case"ForceFullCalculation":n.opts.FullCalc=K;break;case"WsBool":K.fDialog&&(f["!type"]="dialog");break;case"XF":E.push(K);break;case"ExtSST":case"BookExt":case"RichTextStream":case"BkHim":break;case"SupBook":D.push([K]),D[D.length-1].XTI=[];break;case"ExternName":D[D.length-1].push(K);break;case"Index":break;case"Lbl":M={Name:K.Name,Ref:Ts(K.rgce,d,null,D,N)},K.itab>0&&(M.Sheet=K.itab-1),D.names.push(M),D[0]||(D[0]=[],D[0].XTI=[]),D[D.length-1].push(K),"_xlnm._FilterDatabase"==K.Name&&K.itab>0&&K.rgce&&K.rgce[0]&&K.rgce[0][0]&&"PtgArea3d"==K.rgce[0][0][0]&&(H[K.itab-1]={ref:Ne(K.rgce[0][0][1][2])});break;case"ExternCount":N.ExternCount=K;break;case"ExternSheet":0==D.length&&(D[0]=[],D[0].XTI=[]),D[D.length-1].XTI=D[D.length-1].XTI.concat(K),D.XTI=D.XTI.concat(K);break;case"NameCmt":if(N.biff<8)break;null!=M&&(M.Comment=K[1]);break;case"Protect":f["!protect"]=K;break;case"Password":0!==K&&N.WTF&&console.error("Password verifier: "+K);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":h[K.pos]=K,N.snames.push(K.name);break;case"EOF":if(--W)break;if(d.e){if(d.e.r>0&&d.e.c>0){if(d.e.r--,d.e.c--,f["!ref"]=Ne(d),t.sheetRows&&t.sheetRows<=d.e.r){var Q=d.e.r;d.e.r=t.sheetRows-1,f["!fullref"]=f["!ref"],f["!ref"]=Ne(d),d.e.r=Q}d.e.r++,d.e.c++}I.length>0&&(f["!merges"]=I),O.length>0&&(f["!objects"]=O),L.length>0&&(f["!cols"]=L),P.length>0&&(f["!rows"]=P),k.Sheets.push(A)}""===m?b=f:r[m]=f,f=t.dense?[]:{};break;case"BOF":if(8===N.biff&&(N.biff={9:2,521:3,1033:4}[G]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[K.BIFFVer]||8),8==N.biff&&0==K.BIFFVer&&16==K.dt&&(N.biff=2),W++)break;if(x=!0,f=t.dense?[]:{},N.biff<8&&!V&&(V=!0,$f(N.codepage=t.codepage||1252)),N.biff<5){""===m&&(m="Sheet1"),d={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-$,name:m};h[ee.pos]=ee,N.snames.push(m)}else m=(h[q]||{name:""}).name;32==K.dt&&(f["!type"]="chart"),64==K.dt&&(f["!type"]="macro"),I=[],O=[],N.arrayf=S=[],L=[],P=[],0,F=!1,A={Hidden:(h[q]||{hs:0}).hs,name:m};break;case"Number":case"BIFF2NUM":case"BIFF2INT":"chart"==f["!type"]&&(t.dense?(f[K.r]||[])[K.c]:f[Te({c:K.c,r:K.r})])&&++K.c,c={ixfe:K.ixfe,XF:E[K.ixfe]||{},v:K.val,t:"n"},U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R({c:K.c,r:K.r},c,t);break;case"BoolErr":c={ixfe:K.ixfe,XF:E[K.ixfe],v:K.val,t:K.t},U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R({c:K.c,r:K.r},c,t);break;case"RK":c={ixfe:K.ixfe,XF:E[K.ixfe],v:K.rknum,t:"n"},U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R({c:K.c,r:K.r},c,t);break;case"MulRk":for(var te=K.c;te<=K.C;++te){var ne=K.rkrec[te-K.c][0];c={ixfe:ne,XF:E[ne],v:K.rkrec[te-K.c][1],t:"n"},U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R({c:te,r:K.r},c,t)}break;case"Formula":if("String"==K.val){p=K;break}if(c=_u(K.val,K.cell.ixfe,K.tt),c.XF=E[c.ixfe],t.cellFormula){var re=K.formula;if(re&&re[0]&&re[0][0]&&"PtgExp"==re[0][0][0]){var ie=re[0][0][1][0],ae=re[0][0][1][1],oe=Te({r:ie,c:ae});w[oe]?c.f=""+Ts(K.formula,d,K.cell,D,N):c.F=((t.dense?(f[ie]||[])[ae]:f[oe])||{}).F}else c.f=""+Ts(K.formula,d,K.cell,D,N)}U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R(K.cell,c,t),p=K;break;case"String":if(!p)throw new Error("String record expects Formula");p.val=K,c=_u(K,p.cell.ixfe,"s"),c.XF=E[c.ixfe],t.cellFormula&&(c.f=""+Ts(p.formula,d,p.cell,D,N)),U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R(p.cell,c,t),p=null;break;case"Array":S.push(K);var se=Te(K[0].s);if(a=t.dense?(f[K[0].s.r]||[])[K[0].s.c]:f[se],t.cellFormula&&a){if(!p)break;if(!se||!a)break;a.f=""+Ts(K[1],d,K[0],D,N),a.F=Ne(K[0])}break;case"ShrFmla":if(!x)break;if(!t.cellFormula)break;if(y){if(!p)break;w[Te(p.cell)]=K[0],a=t.dense?(f[p.cell.r]||[])[p.cell.c]:f[Te(p.cell)],(a||{}).f=""+Ts(K[0],d,i,D,N)}break;case"LabelSst":c=_u(g[K.isst].t,K.ixfe,"s"),g[K.isst].h&&(c.h=g[K.isst].h),c.XF=E[c.ixfe],U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R({c:K.c,r:K.r},c,t);break;case"Blank":t.sheetStubs&&(c={ixfe:K.ixfe,XF:E[K.ixfe],t:"z"},U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R({c:K.c,r:K.r},c,t));break;case"MulBlank":if(t.sheetStubs)for(var le=K.c;le<=K.C;++le){var ce=K.ixfe[le-K.c];c={ixfe:ce,XF:E[ce],t:"z"},U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R({c:le,r:K.r},c,t)}break;case"RString":case"Label":case"BIFF2STR":c=_u(K.val,K.ixfe,"s"),c.XF=E[c.ixfe],U>0&&(c.z=z[c.ixfe>>8&31]),Eu(c,t,n.opts.Date1904),R({c:K.c,r:K.r},c,t);break;case"Dimensions":1===W&&(d=K);break;case"SST":g=K;break;case"Format":if(4==N.biff){z[U++]=K[1];for(var ue=0;ue<U+163&&oh._table[ue]!=K[1];++ue);ue>=163&&oh.load(K[1],U+163)}else oh.load(K[1],K[0]);break;case"BIFF2FORMAT":z[U++]=K;for(var fe=0;fe<U+163&&oh._table[fe]!=K;++fe);fe>=163&&oh.load(K,U+163);break;case"MergeCells":I=I.concat(K);break;case"Obj":O[K.cmo[0]]=N.lastobj=K;break;case"TxO":N.lastobj.TxO=K;break;case"ImData":N.lastobj.ImData=K;break;case"HLink":for(l=K[0].s.r;l<=K[0].e.r;++l)for(s=K[0].s.c;s<=K[0].e.c;++s)(a=t.dense?(f[l]||[])[s]:f[Te({c:s,r:l})])&&(a.l=K[1]);break;case"HLinkTooltip":for(l=K[0].s.r;l<=K[0].e.r;++l)for(s=K[0].s.c;s<=K[0].e.c;++s)(a=t.dense?(f[l]||[])[s]:f[Te({c:s,r:l})])&&a.l&&(a.l.Tooltip=K[1]);break;case"Note":if(N.biff<=5&&N.biff>=2)break;a=t.dense?(f[K[0].r]||[])[K[0].c]:f[Te(K[0])];var he=O[K[2]];a||(t.dense?(f[K[0].r]||(f[K[0].r]=[]),a=f[K[0].r][K[0].c]={t:"z"}):a=f[Te(K[0])]={t:"z"},d.e.r=Math.max(d.e.r,K[0].r),d.s.r=Math.min(d.s.r,K[0].r),d.e.c=Math.max(d.e.c,K[0].c),d.s.c=Math.min(d.s.c,K[0].c)),a.c||(a.c=[]),o={a:K[1],t:he.TxO.t},a.c.push(o);break;default:switch(X.n){case"ClrtClient":break;case"XFExt":qa(E[K.ixfe],K.ext);break;case"DefColWidth":K;break;case"DefaultRowHeight":K[1];break;case"ColInfo":if(!N.cellStyles)break;for(;K.e>=K.s;)L[K.e--]={width:K.w/256},F||(F=!0,Ji(K.w/256)),Zi(L[K.e+1]);break;case"Row":var de={};null!=K.level&&(P[K.r]=de,de.level=K.level),K.hidden&&(P[K.r]=de,de.hidden=!0),K.hpt&&(P[K.r]=de,de.hpt=K.hpt,de.hpx=ea(K.hpt));break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":f["!margins"]||Vs(f["!margins"]={}),f["!margins"][J.slice(0,-6).toLowerCase()]=K;break;case"Setup":f["!margins"]||Vs(f["!margins"]={}),f["!margins"].header=K.header,f["!margins"].footer=K.footer;break;case"Window2":K.RTL&&(k.Views[0].RTL=!0);break;case"Header":case"Footer":case"HCenter":case"VCenter":case"Pls":case"GCW":case"LHRecord":case"DBCell":case"EntExU2":case"SxView":case"Sxvd":case"SXVI":case"SXVDEx":case"SxIvd":case"SXString":case"Sync":case"Addin":case"SXDI":case"SXLI":case"SXEx":case"QsiSXTag":case"Selection":case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":break;case"Country":u=K;break;case"RecalcId":case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":case"Font":case"XFCRC":case"Style":case"StyleExt":break;case"Palette":_=K;break;case"Theme":B=K;break;case"ScenarioProtect":case"ObjProtect":case"CondFmt12":case"Table":case"TableStyles":case"TableStyle":case"TableStyleElement":case"SXStreamID":case"SXVS":case"DConRef":case"SXAddl":case"DConBin":case"DConName":case"SXPI":case"SxFormat":case"SxSelect":case"SxRule":case"SxFilt":case"SxItm":case"SxDXF":case"ScenMan":case"DCon":case"CellWatch":case"PrintRowCol":case"PrintGrid":case"PrintSize":case"XCT":case"CRN":case"Scl":case"SheetExt":case"SheetExtOptional":case"ObNoMacros":case"ObProj":break;case"CodeName":m?A.CodeName=K||A.name:k.WBProps.CodeName=K||"ThisWorkbook";break;case"GUIDTypeLib":case"WOpt":case"PhoneticInfo":case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":case"DConn":case"DbOrParamQry":case"DBQueryExt":case"OleDbConn":case"ExtString":case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":case"Excel9File":case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":case"BuiltInFnGroupCount":break;case"Window1":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":case"Pane":break;default:switch(X.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":case"Surf":case"AxisParent":case"Pos":case"ValueRange":case"SXViewEx9":case"SXViewLink":case"PivotChartBits":case"SBaseRef":case"TextPropsStream":case"LnExt":case"MkrExt":case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":case"TxtQry":case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":case"AutoFilter12":case"DropDownObjIds":case"Sort":case"SortData":case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":break;case"WebPub":case"AutoWebPub":break;case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":break;case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":break;default:switch(X.n){case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;case"BIFF2FONTCLR":case"BIFF2FMTCNT":case"BIFF2FONTXTRA":break;case"BIFF2XF":case"BIFF3XF":case"BIFF4XF":break;case"BIFF4FMTCNT":case"BIFF2ROW":case"BIFF2WINDOW2":break;case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;case"LHNGraph":case"FnGroupName":case"AddMenu":case"LPr":break;case"ListObj":case"ListField":case"RRSort":case"BigName":break;case"ToolbarHdr":case"ToolbarEnd":case"DDEObjName":case"FRTArchId$":break;default:if(t.WTF)throw"Unrecognized Record "+X.n}}}}}else e.l+=$}return n.SheetNames=v(h).sort(function(e,t){return Number(e)-Number(t)}).map(function(e){return h[e].name}),t.bookSheets||(n.Sheets=r),n.Sheets&&H.forEach(function(e,t){n.Sheets[n.SheetNames[t]]["!autofilter"]=e}),n.Preamble=b,n.Strings=g,n.SSF=oh.get_table(),N.enc&&(n.Encryption=N.enc),B&&(n.Themes=B),n.Metadata={},void 0!==u&&(n.Metadata.Country=u),D.names.length>0&&(k.Names=D.names),n.Workbook=k,n}function Au(e,t,n){var r=dh.find(e,"!DocumentSummaryInformation");if(r&&r.size>0)try{var i=Jt(r,Md,Em.DSI);for(var a in i)t[a]=i[a]}catch(e){if(n.WTF)throw e}var o=dh.find(e,"!SummaryInformation");if(o&&o.size>0)try{var s=Jt(o,jd,Em.SI);for(var l in s)null==t[l]&&(t[l]=s[l])}catch(e){if(n.WTF)throw e}t.HeadingPairs&&t.TitlesOfParts&&(Et(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}function Cu(e,t){var n,r=[],i=[],a=[],o=0;if(e.Props)for(n=v(e.Props),o=0;o<n.length;++o)(Object.prototype.hasOwnProperty.call(Ud,n[o])?r:Object.prototype.hasOwnProperty.call(zd,n[o])?i:a).push([n[o],e.Props[n[o]]]);if(e.Custprops)for(n=v(e.Custprops),o=0;o<n.length;++o)Object.prototype.hasOwnProperty.call(e.Props||{},n[o])||(Object.prototype.hasOwnProperty.call(Ud,n[o])?r:Object.prototype.hasOwnProperty.call(zd,n[o])?i:a).push([n[o],e.Custprops[n[o]]]);var s=[];for(o=0;o<a.length;++o)gp.indexOf(a[o][0])>-1||null!=a[o][1]&&s.push(a[o]);i.length&&dh.utils.cfb_add(t,"/SummaryInformation",Zt(i,Em.SI,zd,jd)),(r.length||s.length)&&dh.utils.cfb_add(t,"/DocumentSummaryInformation",Zt(r,Em.DSI,Ud,Md,s.length?s:null,Em.UDI))}function Tu(e,t){t||(t={}),Um(t),n(),t.codepage&&Gf(t.codepage);var r,i;if(e.FullPaths){if(dh.find(e,"/encryption"))throw new Error("File is password-protected");r=dh.find(e,"!CompObj"),i=dh.find(e,"/Workbook")||dh.find(e,"/Book")}else{switch(t.type){case"base64":e=nh(Zf.decode(e));break;case"binary":e=nh(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}le(e,0),i={content:e}}var a,o;if(r&&Su(r),t.bookProps&&!t.bookSheets)a={};else{var s=Qf?"buffer":"array";if(i&&i.content)a=ku(i.content,t);else if((o=dh.find(e,"PerfectOffice_MAIN"))&&o.content)a=Np.to_workbook(o.content,(t.type=s,t));else{if(!(o=dh.find(e,"NativeContent_MAIN"))||!o.content)throw new Error("Cannot find Workbook stream");a=Np.to_workbook(o.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&dh.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=so(e))}var l={};return e.FullPaths&&Au(e,l,t),a.Props=a.Custprops=l,t.bookFiles&&(a.cfb=e),a}function Ru(e,t){var n=t||{},r=dh.utils.cfb_new({root:"R"}),i="/Workbook";switch(n.bookType||"xls"){case"xls":n.bookType="biff8";case"xla":n.bookType||(n.bookType="xla");case"biff8":i="/Workbook",n.biff=8;break;case"biff5":i="/Book",n.biff=5;break;default:throw new Error("invalid type "+n.bookType+" for XLS CFB")}return dh.utils.cfb_add(r,i,$u(e,n)),8==n.biff&&(e.Props||e.Custprops)&&Cu(e,r),8==n.biff&&e.vbaraw&&lo(r,dh.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),r}function Nu(e,t,n,r){var i=+t||+Cm[t];if(!isNaN(i)){var a=r||(n||[]).length||0,o=e.next(4);o._W(2,i),o._W(2,a),a>0&&pd(n)&&e.push(n)}}function Bu(e,t,n,r){var i=r||(n||[]).length||0;if(i<=8224)return Nu(e,t,n,i);var a=+t||+Cm[t];if(!isNaN(a)){for(var o=n.parts||[],s=0,l=0,c=0;c+(o[s]||8224)<=8224;)c+=o[s]||8224,s++;var u=e.next(4);for(u._W(2,a),u._W(2,c),e.push(n.slice(l,l+c)),l+=c;l<i;){for(u=e.next(4),u._W(2,60),c=0;c+(o[s]||8224)<=8224;)c+=o[s]||8224,s++;u._W(2,c),e.push(n.slice(l,l+c)),l+=c}}}function Iu(e,t,n){return e||(e=ue(7)),e._W(2,t),e._W(2,n),e._W(2,0),e._W(1,0),e}function Ou(e,t,n,r){var i=ue(9);return Iu(i,e,t),"e"==r?(i._W(1,n),i._W(1,1)):(i._W(1,n?1:0),i._W(1,0)),i}function Lu(e,t,n){var r=ue(8+2*n.length);return Iu(r,e,t),r._W(1,n.length),r._W(n.length,n,"sbcs"),r.l<r.length?r.slice(0,r.l):r}function Pu(e,t,n,r){if(null!=t.v)switch(t.t){case"d":case"n":var i="d"==t.t?S(_(t.v)):t.v;return void(i==(0|i)&&i>=0&&i<65536?Nu(e,2,ci(n,r,i)):Nu(e,3,si(n,r,i)));case"b":case"e":return void Nu(e,5,Ou(n,r,t.v,t.t));case"s":case"str":return void Nu(e,4,Lu(n,r,t.v))}Nu(e,1,Iu(null,n,r))}function Fu(e,t,n,r){var i,a=Array.isArray(t),o=Be(t["!ref"]||"A1"),s="",l=[];if(o.e.c>255||o.e.r>16383){if(r.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");o.e.c=Math.min(o.e.c,255),o.e.r=Math.min(o.e.c,16383),i=Ne(o)}for(var c=o.s.r;c<=o.e.r;++c){s=ye(c);for(var u=o.s.c;u<=o.e.c;++u){c===o.s.r&&(l[u]=Ee(u)),i=l[u]+s;var f=a?(t[c]||[])[u]:t[i];f&&Pu(e,f,c,u,r)}}}function Du(e,t){var n=t||{};null!=Jf&&null==n.dense&&(n.dense=Jf);for(var r=he(),i=0,a=0;a<e.SheetNames.length;++a)e.SheetNames[a]==n.sheet&&(i=a);if(0==i&&n.sheet&&e.SheetNames[0]!=n.sheet)throw new Error("Sheet not found: "+n.sheet);return Nu(r,9,zn(e,16,n)),Fu(r,e.Sheets[e.SheetNames[i]],i,n,e),Nu(r,10),r.end()}function Mu(e,t,n){Nu(e,"Font",lr({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},n))}function ju(e,t,n){t&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var i=r[0];i<=r[1];++i)null!=t[i]&&Nu(e,"Format",pr(i,t[i],n))})}function Wu(e,t){var n=ue(19);n._W(4,2151),n._W(4,0),n._W(4,0),n._W(2,3),n._W(1,1),n._W(4,0),Nu(e,"FeatHdr",n),n=ue(39),n._W(4,2152),n._W(4,0),n._W(4,0),n._W(2,3),n._W(1,0),n._W(4,0),n._W(2,1),n._W(4,4),n._W(2,0),Ln(Be(t["!ref"]||"A1"),n),n._W(4,4),Nu(e,"Feat",n)}function Uu(e,t){for(var n=0;n<16;++n)Nu(e,"XF",xr({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){Nu(e,"XF",xr(n,0,t))})}function zu(e,t){for(var n=0;n<t["!links"].length;++n){var r=t["!links"][n];Nu(e,"HLink",Gr(r)),r[1].Tooltip&&Nu(e,"HLinkTooltip",Xr(r))}delete t["!links"]}function Hu(e,t,n,r,i){var a=16+qs(i.cellXfs,t,i);if(null==t.v&&!t.bf)return void Nu(e,"Blank",Cn(n,r,a));if(t.bf)Nu(e,"Formula",Fs(t,n,r,i,a));else switch(t.t){case"d":case"n":Nu(e,"Number",Tr(n,r,"d"==t.t?S(_(t.v)):t.v,a,i));break;case"b":case"e":Nu(e,517,Ar(n,r,t.v,a,i,t.t));break;case"s":case"str":if(i.bookSST){Nu(e,"LabelSst",ur(n,r,zs(i.Strings,t.v,i.revStrings),a,i))}else Nu(e,"Label",hr(n,r,t.v,a,i));break;default:Nu(e,"Blank",Cn(n,r,a))}}function Vu(e,t,n){var r,i=he(),a=n.SheetNames[e],o=n.Sheets[a]||{},s=(n||{}).Workbook||{},l=(s.Sheets||[])[e]||{},c=Array.isArray(o),u=8==t.biff,f="",h=[],d=Be(o["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}Nu(i,2057,zn(n,16,t)),Nu(i,"CalcMode",on(1)),Nu(i,"CalcCount",on(100)),Nu(i,"CalcRefMode",rn(!0)),Nu(i,"CalcIter",rn(!1)),Nu(i,"CalcDelta",et(.001)),Nu(i,"CalcSaveRecalc",rn(!0)),Nu(i,"PrintRowCol",rn(!1)),Nu(i,"PrintGrid",rn(!1)),Nu(i,"GridSet",on(1)),Nu(i,"Guts",_r([0,0])),Nu(i,"HCenter",rn(!1)),Nu(i,"VCenter",rn(!1)),Nu(i,512,mr(d,t)),u&&(o["!links"]=[]);for(var g=d.s.r;g<=d.e.r;++g){f=ye(g);for(var m=d.s.c;m<=d.e.c;++m){g===d.s.r&&(h[m]=Ee(m)),r=h[m]+f;var v=c?(o[g]||[])[m]:o[r];v&&(Hu(i,v,g,m,t),u&&v.l&&o["!links"].push([r,v.l]))}}var b=l.CodeName||l.name||a;return u&&Nu(i,"Window2",ar((s.Views||[])[0])),u&&(o["!merges"]||[]).length&&Nu(i,"MergeCells",Ur(o["!merges"])),u&&zu(i,o),Nu(i,"CodeName",mn(b,t)),u&&Wu(i,o),Nu(i,"EOF"),i.end()}function qu(e,t,n){var r=he(),i=(e||{}).Workbook||{},a=i.Sheets||[],o=i.WBProps||{},s=8==n.biff,l=5==n.biff;if(Nu(r,2057,zn(e,5,n)),"xla"==n.bookType&&Nu(r,"Addin"),Nu(r,"InterfaceHdr",s?on(1200):null),Nu(r,"Mms",en(2)),l&&Nu(r,"ToolbarHdr"),l&&Nu(r,"ToolbarEnd"),Nu(r,"InterfaceEnd"),Nu(r,"WriteAccess",qn("SheetJS",n)),Nu(r,"CodePage",on(s?1200:1252)),s&&Nu(r,"DSF",on(0)),s&&Nu(r,"Excel9File"),Nu(r,"RRTabId",ri(e.SheetNames.length)),s&&e.vbaraw&&Nu(r,"ObProj"),s&&e.vbaraw){Nu(r,"CodeName",mn(o.CodeName||"ThisWorkbook",n))}Nu(r,"BuiltInFnGroupCount",on(17)),Nu(r,"WinProtect",rn(!1)),Nu(r,"Protect",rn(!1)),Nu(r,"Password",on(0)),s&&Nu(r,"Prot4Rev",rn(!1)),s&&Nu(r,"Prot4RevPass",on(0)),Nu(r,"Window1",rr(n)),Nu(r,"Backup",rn(!1)),Nu(r,"HideObj",on(0)),Nu(r,"Date1904",rn("true"==vc(e))),Nu(r,"CalcPrecision",rn(!0)),s&&Nu(r,"RefreshAll",rn(!1)),Nu(r,"BookBool",on(0)),Mu(r,e,n),ju(r,e.SSF,n),Uu(r,n),s&&Nu(r,"UsesELFs",rn(!1));var c=r.end(),u=he();s&&Nu(u,"Country",Kr()),s&&n.Strings&&Bu(u,"SST",Kn(n.Strings,n)),Nu(u,"EOF");var f=u.end(),h=he(),d=0,p=0;for(p=0;p<e.SheetNames.length;++p)d+=(s?12:11)+(s?2:1)*e.SheetNames[p].length;var g=c.length+d+f.length;for(p=0;p<e.SheetNames.length;++p){Nu(h,"BoundSheet8",Xn({pos:g,hs:(a[p]||{}).Hidden||0,dt:0,name:e.SheetNames[p]},n)),g+=t[p].length}var m=h.end();if(d!=m.length)throw new Error("BS8 "+d+" != "+m.length);var v=[];return c.length&&v.push(c),m.length&&v.push(m),f.length&&v.push(f),Kh([v])}function Gu(e,t){var n=t||{},r=[];e&&!e.SSF&&(e.SSF=oh.get_table()),e&&e.SSF&&(sh(oh),oh.load_table(e.SSF),n.revssf=w(e.SSF),n.revssf[e.SSF[65535]]=0,n.ssf=e.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,zm(n),n.cellXfs=[],qs(n.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var i=0;i<e.SheetNames.length;++i)r[r.length]=Vu(i,n,e);return r.unshift(qu(e,r,n)),Kh([r])}function $u(e,t){var n=t||{};switch(n.biff||2){case 8:case 5:return Gu(e,t);case 4:case 3:case 2:return Du(e,t)}throw new Error("invalid type "+n.bookType+" for BIFF")}function Xu(e,t,n){var r=n||{};null!=Jf&&(r.dense=Jf);var i=0,a=0;if(null!=r.origin)if("number"==typeof r.origin)i=r.origin;else{var o="string"==typeof r.origin?Ce(r.origin):r.origin;i=o.r,a=o.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:i,c:a}};if(e["!ref"]){var u=Re(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==i&&(c.e.r=i=u.e.r+1)}var f=[],h=0,d=e["!rows"]||(e["!rows"]=[]),p=0,g=0,m=0,v=0,b=0,y=0;for(e["!cols"]||(e["!cols"]=[]);p<s.length&&g<l;++p){var w=s[p];if(Ju(w)){if(r.display)continue;d[g]={hidden:!0}}var x=w.children;for(m=v=0;m<x.length;++m){var E=x[m];if(!r.display||!Ju(E)){var k=E.hasAttribute("v")?E.getAttribute("v"):Uh(E.innerHTML),A=E.getAttribute("z");for(h=0;h<f.length;++h){var C=f[h];C.s.c==v+a&&C.s.r<g+i&&g+i<=C.e.r&&(v=C.e.c+1-a,h=-1)}y=+E.getAttribute("colspan")||1,((b=+E.getAttribute("rowspan")||1)>1||y>1)&&f.push({s:{r:g+i,c:v+a},e:{r:g+i+(b||1)-1,c:v+a+(y||1)-1}});var N={t:"s",v:k},B=E.getAttribute("t")||"";null!=k&&(0==k.length?N.t=B||"z":r.raw||0==k.trim().length||"s"==B||("TRUE"===k?N={t:"b",v:!0}:"FALSE"===k?N={t:"b",v:!1}:isNaN(T(k))?isNaN(R(k).getDate())||(N={t:"d",v:_(k)},r.cellDates||(N={t:"n",v:S(N.v)}),N.z=r.dateNF||oh._table[14]):N={t:"n",v:T(k)})),void 0===N.z&&null!=A&&(N.z=A),r.dense?(e[g+i]||(e[g+i]=[]),e[g+i][v+a]=N):e[Te({c:v+a,r:g+i})]=N,c.e.c<v+a&&(c.e.c=v+a),v+=y}}++g}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),c.e.r=Math.max(c.e.r,g-1+i),e["!ref"]=Ne(c),g>=l&&(e["!fullref"]=Ne((c.e.r=s.length-p+g-1+i,c))),e}function Yu(e,t){return Xu((t||{}).dense?[]:{},e,t)}function Ku(e,t){return Le(Yu(e,t),t)}function Ju(e){var t="",n=Zu(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style.display),"none"===t}function Zu(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}function Qu(e,t){t=t||{};var n=!!L(e,"objectdata");n&>(F(e,"META-INF/manifest.xml"),t);var r=D(e,"content.xml");if(!r)throw new Error("Missing content.xml in "+(n?"ODS":"UOF")+" file");var i=Rm(n?r:Ph(r),t);return L(e,"meta.xml")&&(i.Props=wt(F(e,"meta.xml"))),i}function ef(e,t){return Rm(e,t)}function tf(e,t){if("fods"==t.bookType)return Bm(e,t);var n=W(),r="",i=[],a=[];return r="mimetype",j(n,r,"application/vnd.oasis.opendocument.spreadsheet"),r="content.xml",j(n,r,Bm(e,t)),i.push([r,"text/xml"]),a.push([r,"ContentFile"]),r="styles.xml",j(n,r,Nm(e,t)),i.push([r,"text/xml"]),a.push([r,"StylesFile"]),r="meta.xml",j(n,r,ip()),i.push([r,"text/xml"]),a.push([r,"MetadataFile"]),r="manifest.rdf",j(n,r,yt(a)),i.push([r,"application/rdf+xml"]),r="META-INF/manifest.xml",j(n,r,mt(i)),n}function nf(e,t){if(!t)return 0;var n=e.SheetNames.indexOf(t);if(-1==n)throw new Error("Sheet not found: "+t);return n}function rf(e){return function(t,n){var r=nf(t,n.sheet);return e.from_sheet(t.Sheets[t.SheetNames[r]],n,t)}}function af(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];void 0===t[r[0]]&&(t[r[0]]=r[1]),"n"===r[2]&&(t[r[0]]=Number(t[r[0]]))}}}function of(e){return ep.WS.indexOf(e)>-1?"sheet":ep.CS&&e==ep.CS?"chart":ep.DS&&e==ep.DS?"dialog":ep.MS&&e==ep.MS?"macro":e&&e.length?e:"sheet"}function sf(e,t){if(!e)return 0;try{e=t.map(function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,of(e["!id"][t.id].Type)]})}catch(e){return null}return e&&0!==e.length?e:null}function lf(e,t,n,r,i,a,o,s,l,c,u,f){try{a[r]=ht(D(e,n,!0),t);var h,d=F(e,t);switch(s){case"sheet":h=Fc(d,t,i,l,a[r],c,u,f);break;case"chart":if(!(h=Dc(d,t,i,l,a[r],c,u,f))||!h["!drawel"])break;var p=z(h["!drawel"].Target,t),g=ft(p),m=Ja(D(e,p,!0),ht(D(e,g,!0),p)),b=z(m,p),y=ft(b);h=uc(D(e,b,!0),b,l,ht(D(e,y,!0),b),c,h);break;case"macro":h=Mc(d,t,i,l,a[r],c,u,f);break;case"dialog":h=jc(d,t,i,l,a[r],c,u,f);break;default:throw new Error("Unrecognized sheet type "+s)}o[r]=h;var w=[];a&&a[r]&&v(a[r]).forEach(function(n){if(a[r][n].Type==ep.CMNT){var i=z(a[r][n].Target,t);if(!(w=Hc(F(e,i,!0),i,l))||!w.length)return;Qa(h,w)}})}catch(e){if(l.WTF)throw e}}function cf(e){return"/"==e.charAt(0)?e.slice(1):e}function uf(e,t){if(sh(oh),t=t||{},Um(t),L(e,"META-INF/manifest.xml"))return Qu(e,t);if(L(e,"objectdata.xml"))return Qu(e,t);if(L(e,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");var n,r,i=M(e),a=ct(D(e,"[Content_Types].xml")),o=!1;if(0===a.workbooks.length&&(r="xl/workbook.xml",F(e,r,!0)&&a.workbooks.push(r)),0===a.workbooks.length){if(r="xl/workbook.bin",!F(e,r,!0))throw new Error("Could not find workbook");a.workbooks.push(r),o=!0}"bin"==a.workbooks[0].slice(-3)&&(o=!0);var s={},l={};if(!t.bookSheets&&!t.bookProps){if(qg=[],a.sst)try{qg=zc(F(e,cf(a.sst)),a.sst,t)}catch(e){if(t.WTF)throw e}t.cellStyles&&a.themes.length&&(s=Uc(D(e,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],t)),a.style&&(l=Wc(F(e,cf(a.style)),a.style,s,t))}a.links.map(function(n){try{var r=ht(D(e,ft(cf(n))),n);return qc(F(e,cf(n)),r,n,t)}catch(e){}});var c=Pc(F(e,cf(a.workbooks[0])),a.workbooks[0],t),u={},f="";a.coreprops.length&&(f=F(e,cf(a.coreprops[0]),!0),f&&(u=wt(f)),0!==a.extprops.length&&(f=F(e,cf(a.extprops[0]),!0))&&_t(f,u,t));var h={}
|
||
;t.bookSheets&&!t.bookProps||0!==a.custprops.length&&(f=D(e,cf(a.custprops[0]),!0))&&(h=At(f,t));var d={};if((t.bookSheets||t.bookProps)&&(c.Sheets?n=c.Sheets.map(function(e){return e.name}):u.Worksheets&&u.SheetNames.length>0&&(n=u.SheetNames),t.bookProps&&(d.Props=u,d.Custprops=h),t.bookSheets&&void 0!==n&&(d.SheetNames=n),t.bookSheets?d.SheetNames:t.bookProps))return d;n={};var p={};t.bookDeps&&a.calcchain&&(p=Vc(F(e,cf(a.calcchain)),a.calcchain,t));var g,m,v=0,b={},y=c.Sheets;u.Worksheets=y.length,u.SheetNames=[];for(var w=0;w!=y.length;++w)u.SheetNames[w]=y[w].name;var S=o?"bin":"xml",x=a.workbooks[0].lastIndexOf("/"),E=(a.workbooks[0].slice(0,x+1)+"_rels/"+a.workbooks[0].slice(x+1)+".rels").replace(/^\//,"");L(e,E)||(E="xl/_rels/workbook."+S+".rels");var _=ht(D(e,E,!0),E);_&&(_=sf(_,c.Sheets));var k=F(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=u.Worksheets;++v){var A="sheet";if(_&&_[v]?(g="xl/"+_[v][1].replace(/[\/]?xl\//,""),L(e,g)||(g=_[v][1]),L(e,g)||(g=E.replace(/_rels\/.*$/,"")+_[v][1]),A=_[v][2]):(g="xl/worksheets/sheet"+(v+1-k)+"."+S,g=g.replace(/sheet0\./,"sheet.")),m=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(u.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var C=!1,T=0;T!=t.sheets.length;++T)"number"==typeof t.sheets[T]&&t.sheets[T]==v&&(C=1),"string"==typeof t.sheets[T]&&t.sheets[T].toLowerCase()==u.SheetNames[v].toLowerCase()&&(C=1);if(!C)continue e}}lf(e,g,m,u.SheetNames[v],v,b,n,A,t,c,s,l)}return d={Directory:a,Workbook:c,Props:u,Custprops:h,Deps:p,Sheets:n,SheetNames:u.SheetNames,Strings:qg,Styles:l,Themes:s,SSF:oh.get_table()},t&&t.bookFiles&&(d.keys=i,d.files=e.files),t&&t.bookVBA&&(a.vba.length>0?d.vbaraw=F(e,cf(a.vba[0]),!0):a.defaults&&a.defaults.bin===dg&&(d.vbaraw=F(e,"xl/vbaProject.bin",!0))),d}function ff(e,t){var n=t||{},r="Workbook",i=dh.find(e,r);try{if(r="/!DataSpaces/Version",!(i=dh.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(_i(i.content),r="/!DataSpaces/DataSpaceMap",!(i=dh.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var a=Ai(i.content);if(1!==a.length||1!==a[0].comps.length||0!==a[0].comps[0].t||"StrongEncryptionDataSpace"!==a[0].name||"EncryptedPackage"!==a[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(i=dh.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var o=Ci(i.content);if(1!=o.length||"StrongEncryptionTransform"!=o[0])throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(i=dh.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);Ri(i.content)}catch(e){}if(r="/EncryptionInfo",!(i=dh.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);var s=Ii(i.content);if(r="/EncryptedPackage",!(i=dh.find(e,r))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(4==s[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(s[1],i.content,n.password||"",n);if(2==s[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(s[1],i.content,n.password||"",n);throw new Error("File is password-protected")}function hf(e,t){if(ug=1024,"ods"==t.bookType)return tf(e,t);e&&!e.SSF&&(e.SSF=oh.get_table()),e&&e.SSF&&(sh(oh),oh.load_table(e.SSF),t.revssf=w(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,$g?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var n="xlsb"==t.bookType?"bin":"xml",r=pg.indexOf(t.bookType)>-1,i=lt();zm(t=t||{});var a=W(),o="",s=0;if(t.cellXfs=[],qs(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),o="docProps/core.xml",j(a,o,xt(e.Props,t)),i.coreprops.push(o),pt(t.rels,2,o,ep.CORE_PROPS),o="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c<e.SheetNames.length;++c)2!=(e.Workbook.Sheets[c]||{}).Hidden&&l.push(e.SheetNames[c]);e.Props.SheetNames=l}else e.Props.SheetNames=e.SheetNames;for(e.Props.Worksheets=e.Props.SheetNames.length,j(a,o,kt(e.Props,t)),i.extprops.push(o),pt(t.rels,3,o,ep.EXT_PROPS),e.Custprops!==e.Props&&v(e.Custprops||{}).length>0&&(o="docProps/custom.xml",j(a,o,Ct(e.Custprops,t)),i.custprops.push(o),pt(t.rels,4,o,ep.CUST_PROPS)),s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]];switch((f||{})["!type"]||"sheet"){case"chart":default:o="xl/worksheets/sheet"+s+"."+n,j(a,o,$c(s-1,o,t,e,u)),i.sheets.push(o),pt(t.wbrels,-1,"worksheets/sheet"+s+"."+n,ep.WS[0])}if(f){var h=f["!comments"],d=!1;if(h&&h.length>0){var p="xl/comments"+s+"."+n;j(a,p,Kc(h,p,t)),i.comments.push(p),pt(u,-1,"../comments"+s+"."+n,ep.CMNT),d=!0}f["!legacy"]&&d&&j(a,"xl/drawings/vmlDrawing"+s+".vml",Za(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&j(a,ft(o),dt(u))}return null!=t.Strings&&t.Strings.length>0&&(o="xl/sharedStrings."+n,j(a,o,Yc(t.Strings,o,t)),i.strs.push(o),pt(t.wbrels,-1,"sharedStrings."+n,ep.SST)),o="xl/workbook."+n,j(a,o,Gc(e,o,t)),i.workbooks.push(o),pt(t.rels,1,o,ep.WB),o="xl/theme/theme1.xml",j(a,o,Da(e.Themes,t)),i.themes.push(o),pt(t.wbrels,-1,"theme/theme1.xml",ep.THEME),o="xl/styles."+n,j(a,o,Xc(e,o,t)),i.styles.push(o),pt(t.wbrels,-1,"styles."+n,ep.STY),e.vbaraw&&r&&(o="xl/vbaProject.bin",j(a,o,e.vbaraw),i.vba.push(o),pt(t.wbrels,-1,"vbaProject.bin",ep.VBA)),j(a,"[Content_Types].xml",ut(i,t)),j(a,"_rels/.rels",dt(t.rels)),j(a,"xl/_rels/workbook."+n+".rels",dt(t.wbrels)),delete t.revssf,delete t.ssf,a}function df(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=Zf.decode(e.slice(0,12));break;case"binary":n=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function pf(e,t){return dh.find(e,"EncryptedPackage")?ff(e,t):Tu(e,t)}function gf(e,t){var n,r=e,i=t||{};return i.type||(i.type=Qf&&Buffer.isBuffer(e)?"buffer":"base64"),n=U(r,i),uf(n,i)}function mf(e,t){var n=0;e:for(;n<e.length;)switch(e.charCodeAt(n)){case 10:case 13:case 32:++n;break;case 60:return su(e.slice(n),t);default:break e}return Rp.to_workbook(e,t)}function vf(e,t){var n="",r=df(e,t);switch(t.type){case"base64":n=Zf.decode(e);break;case"binary":n=e;break;case"buffer":n=e.toString("binary");break;case"array":n=k(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]&&(n=Ph(n)),mf(n,t)}function bf(e,t){var n=e;return"base64"==t.type&&(n=Zf.decode(n)),n=cptable.utils.decode(1200,n.slice(2),"str"),t.type="binary",mf(n,t)}function yf(e){return e.match(/[^\x00-\x7F]/)?Fh(e):e}function wf(e,t,n,r){return r?(n.type="string",Rp.to_workbook(e,n)):Rp.to_workbook(t,n)}function Sf(e,t){if(n(),"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return Sf(new Uint8Array(e),t);var r=e,i=[0,0,0,0],a=!1,o=t||{};if(o.cellStyles&&(o.cellNF=!0,o.sheetStubs=!0),Gg={},o.dateNF&&(Gg.dateNF=o.dateNF),o.type||(o.type=Qf&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==o.type&&(o.type=Qf?"buffer":"binary",r=m(e)),"string"==o.type&&(a=!0,o.type="binary",o.codepage=65001,r=yf(e)),"array"==o.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var s=new ArrayBuffer(3),l=new Uint8Array(s);if(l.foo="bar",!l.foo)return o=A(o),o.type="array",Sf(f(r),o)}switch((i=df(r,o))[0]){case 208:if(207===i[1]&&17===i[2]&&224===i[3]&&161===i[4]&&177===i[5]&&26===i[6]&&225===i[7])return pf(dh.read(r,o),o);break;case 9:if(i[1]<=4)return Tu(r,o);break;case 60:return su(r,o);case 73:if(68===i[1])return di(r,o);break;case 84:if(65===i[1]&&66===i[2]&&76===i[3])return Cp.to_workbook(r,o);break;case 80:return 75===i[1]&&i[2]<9&&i[3]<9?gf(r,o):wf(e,r,o,a);case 239:return 60===i[3]?su(r,o):wf(e,r,o,a);case 255:if(254===i[1])return bf(r,o);break;case 0:if(0===i[1]&&i[2]>=2&&0===i[3])return Np.to_workbook(r,o);break;case 3:case 131:case 139:case 140:return kp.to_workbook(r,o);case 123:if(92===i[1]&&114===i[2]&&116===i[3])return Vp.to_workbook(r,o);break;case 10:case 13:case 32:return vf(r,o)}return kp.versions.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31?kp.to_workbook(r,o):wf(e,r,o,a)}function xf(e,t){var n=t||{};return n.type="file",Sf(e,n)}function Ef(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return g(t.file,dh.write(e,{type:Qf?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return dh.write(e,t)}function _f(e,t){var n=t||{},r=hf(e,n),i={};if(n.compression&&(i.compression="DEFLATE"),n.password)i.type=Qf?"nodebuffer":"string";else switch(n.type){case"base64":i.type="base64";break;case"binary":i.type="string";break;case"string":throw new Error("'string' output type invalid for '"+n.bookType+"' files");case"buffer":case"file":i.type=Qf?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+n.type)}var a=r.FullPaths?dh.write(r,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[i.type]||i.type}):r.generate(i);return n.password&&"undefined"!=typeof encrypt_agile?Ef(encrypt_agile(a,n.password),n):"file"===n.type?g(n.file,a):"string"==n.type?Ph(a):a}function kf(e,t){var n=t||{};return Ef(Ru(e,n),n)}function Af(e,t,n){n||(n="");var r=n+e;switch(t.type){case"base64":return Zf.encode(Fh(r));case"binary":return Fh(r);case"string":return e;case"file":return g(t.file,r,"utf8");case"buffer":return Qf?eh(r,"utf8"):Af(r,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Cf(e,t){switch(t.type){case"base64":return Zf.encode(e);case"binary":case"string":return e;case"file":return g(t.file,e,"binary");case"buffer":return Qf?eh(e,"binary"):e.split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Tf(e,t){switch(t.type){case"string":case"base64":case"binary":for(var n="",r=0;r<e.length;++r)n+=String.fromCharCode(e[r]);return"base64"==t.type?Zf.encode(n):"string"==t.type?Ph(n):n;case"file":return g(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function Rf(e,t){n(),wc(e);var r=t||{};if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var i=Rf(e,r);return r.type="array",l(i)}switch(r.bookType||"xlsb"){case"xml":case"xlml":return Af(wu(e,r),r);case"slk":case"sylk":return Af(Lm(e,r),r);case"htm":case"html":return Af(Im(e,r),r);case"txt":return Cf(Mm(e,r),r);case"csv":return Af(Om(e,r),r,"\ufeff");case"dif":return Af(Pm(e,r),r);case"dbf":return Tf(jm(e,r),r);case"prn":return Af(Fm(e,r),r);case"rtf":return Af(Dm(e,r),r);case"eth":return Af(Wm(e,r),r);case"fods":return Af(tf(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),Tf($u(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),kf(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"ods":return _f(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function Nf(e){if(!e.bookType){var t={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},n=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();n.match(/^\.[a-z]+$/)&&(e.bookType=n.slice(1)),e.bookType=t[e.bookType]||e.bookType}}function Bf(e,t,n){var r=n||{};return r.type="file",r.file=t,Nf(r),Rf(e,r)}function If(e,t,n,r){var i=n||{};i.type="file",i.file=e,Nf(i),i.type="buffer";var a=r;return a instanceof Function||(a=n),hh.writeFile(e,Rf(t,i),a)}function Of(e,t,n,r,i,a,o,s){var l=ye(n),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:n,enumerable:!1})}catch(e){h.__rowNum__=n}else h.__rowNum__=n;if(!o||e[n])for(var d=t.s.c;d<=t.e.c;++d){var p=o?e[n][d]:e[r[d]+l];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=a[d]){if(null==g)if(void 0!==c)h[a[d]]=c;else{if(!u||null!==g)continue;h[a[d]]=null}else h[a[d]]=u||s.rawNumbers&&"n"==p.t?g:Oe(p,g,s);null!=g&&(f=!1)}}else{if(void 0===c)continue;null!=a[d]&&(h[a[d]]=c)}}return{row:h,isempty:f}}function Lf(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,i=1,a=[],o=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=null!=c.range?c.range:e["!ref"];switch(1===c.header?r=1:"A"===c.header?r=2:Array.isArray(c.header)?r=3:null==c.header&&(r=0),typeof u){case"string":l=Be(u);break;case"number":l=Be(e["!ref"]),l.s.r=u;break;default:l=u}r>0&&(i=0);var f=ye(l.s.r),h=[],d=[],p=0,g=0,m=Array.isArray(e),v=l.s.r,b=0,y=0;for(m&&!e[v]&&(e[v]=[]),b=l.s.c;b<=l.e.c;++b)switch(h[b]=Ee(b),n=m?e[v][b]:e[h[b]+f],r){case 1:a[b]=b-l.s.c;break;case 2:a[b]=h[b];break;case 3:a[b]=c.header[b-l.s.c];break;default:for(null==n&&(n={w:"__EMPTY",t:"s"}),s=o=Oe(n,null,c),g=0,y=0;y<a.length;++y)a[y]==s&&(s=o+"_"+ ++g);a[b]=s}for(v=l.s.r+i;v<=l.e.r;++v){var w=Of(e,l,v,h,r,a,m,c);!1!==w.isempty&&(1===r?!1===c.blankrows:!c.blankrows)||(d[p++]=w.row)}return d.length=p,d}function Pf(e,t,n,r,i,a,o,s){for(var l=!0,c=[],u="",f=ye(n),h=t.s.c;h<=t.e.c;++h)if(r[h]){var d=s.dense?(e[n]||[])[h]:e[r[h]+f];if(null==d)u="";else if(null!=d.v){l=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:Oe(d,null,s));for(var p=0,g=0;p!==u.length;++p)if((g=u.charCodeAt(p))===i||g===a||34===g||s.forceQuotes){u='"'+u.replace(Hm,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(l=!1,u="="+d.f,u.indexOf(",")>=0&&(u='"'+u.replace(Hm,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(o)}function Ff(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var i=Be(e["!ref"]),a=void 0!==r.FS?r.FS:",",o=a.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==a?"\\|":a)+"+$"),u="",f=[];r.dense=Array.isArray(e);for(var h=r.skipHidden&&e["!cols"]||[],d=r.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(h[p]||{}).hidden||(f[p]=Ee(p));for(var g=i.s.r;g<=i.e.r;++g)(d[g]||{}).hidden||null!=(u=Pf(e,i,g,f,o,l,a,r))&&(r.strip&&(u=u.replace(c,"")),n.push(u+s));return delete r.dense,n.join("")}function Df(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=Ff(e,t);if("undefined"==typeof cptable||"string"==t.type)return n;var r=cptable.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function Mf(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var i,a=Be(e["!ref"]),o="",s=[],l=[],c=Array.isArray(e);for(i=a.s.c;i<=a.e.c;++i)s[i]=Ee(i);for(var u=a.s.r;u<=a.e.r;++u)for(o=ye(u),i=a.s.c;i<=a.e.c;++i)if(n=s[i]+o,t=c?(e[u]||[])[i]:e[n],r="",void 0!==t){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=n+"="+r}return l}function jf(e,t,n){var r=n||{},i=+!r.skipHeader,a=e||{},o=0,s=0;if(a&&null!=r.origin)if("number"==typeof r.origin)o=r.origin;else{var l="string"==typeof r.origin?Ce(r.origin):r.origin;o=l.r,s=l.c}var c,u={s:{c:0,r:0},e:{c:s,r:o+t.length-1+i}};if(a["!ref"]){var f=Be(a["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==o&&(o=f.e.r+1,u.e.r=o+t.length-1+i)}else-1==o&&(o=0,u.e.r=t.length-1+i);var h=r.header||[],d=0;t.forEach(function(e,t){v(e).forEach(function(n){-1==(d=h.indexOf(n))&&(h[d=h.length]=n);var l=e[n],u="z",f="",p=Te({c:s+d,r:o+t+i});c=Vm.sheet_get_cell(a,p),!l||"object"!=typeof l||l instanceof Date?("number"==typeof l?u="n":"boolean"==typeof l?u="b":"string"==typeof l?u="s":l instanceof Date&&(u="d",r.cellDates||(u="n",l=S(l)),f=r.dateNF||oh._table[14]),c?(c.t=u,c.v=l,delete c.w,delete c.R,f&&(c.z=f)):a[p]=c={t:u,v:l},f&&(c.z=f)):a[p]=l})}),u.e.c=Math.max(u.e.c,s+h.length-1);var p=ye(o);if(i)for(d=0;d<h.length;++d)a[Ee(d+s)+p]={t:"s",v:h[d]};return a["!ref"]=Ne(u),a}function Wf(e,t){return jf(null,e,t)}e.version="0.16.8";var Uf=1200,zf=1252;"undefined"!=typeof module&&"undefined"!=typeof require&&"undefined"==typeof cptable&&("undefined"!=typeof global?global.cptable=void 0:"undefined"!=typeof window&&(window.cptable=void 0));for(var Hf=[874,932,936,949,950],Vf=0;Vf<=8;++Vf)Hf.push(1250+Vf);var qf={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},Gf=function(e){-1!=Hf.indexOf(e)&&(zf=qf[0]=e)},$f=function(e){Uf=e,Gf(e)},Xf=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?i(e.slice(2)):254==t&&255==n?a(e.slice(2)):65279==t?e.slice(1):e},Yf=function(e){return String.fromCharCode(e)},Kf=function(e){return String.fromCharCode(e)};"undefined"!=typeof cptable&&($f=function(e){Uf=e,Gf(e)},Xf=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?cptable.utils.decode(1200,r(e.slice(2))):e},Yf=function(e){return 1200===Uf?String.fromCharCode(e):cptable.utils.decode(Uf,[255&e,e>>8])[0]},Kf=function(e){return cptable.utils.decode(zf,[e])[0]});var Jf=null,Zf=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(t){for(var n="",r=0,i=0,a=0,o=0,s=0,l=0,c=0,u=0;u<t.length;)r=t.charCodeAt(u++),o=r>>2,i=t.charCodeAt(u++),s=(3&r)<<4|i>>4,a=t.charCodeAt(u++),l=(15&i)<<2|a>>6,c=63&a,isNaN(i)?l=c=64:isNaN(a)&&(c=64),n+=e.charAt(o)+e.charAt(s)+e.charAt(l)+e.charAt(c);return n},decode:function(t){var n="",r=0,i=0,a=0,o=0,s=0,l=0,c=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var u=0;u<t.length;)o=e.indexOf(t.charAt(u++)),s=e.indexOf(t.charAt(u++)),r=o<<2|s>>4,n+=String.fromCharCode(r),l=e.indexOf(t.charAt(u++)),i=(15&s)<<4|l>>2,64!==l&&(n+=String.fromCharCode(i)),c=e.indexOf(t.charAt(u++)),a=(3&l)<<6|c,64!==c&&(n+=String.fromCharCode(a));return n}}}(),Qf="undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node,eh=function(){};if("undefined"!=typeof Buffer){var th=!Buffer.from;if(!th)try{Buffer.from("foo","utf8")}catch(e){th=!0}eh=th?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer),Buffer.alloc||(Buffer.alloc=function(e){return new Buffer(e)}),Buffer.allocUnsafe||(Buffer.allocUnsafe=function(e){return new Buffer(e)})}var nh=function(e){return Qf?eh(e,"binary"):e.split("").map(function(e){return 255&e.charCodeAt(0)})},rh=function(e){return[].concat.apply([],e)},ih=/\u0000/g,ah=/[\u0001-\u0006]/g,oh={},sh=function(e){function t(e){for(var t="",n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function n(e,t){for(var n="";n.length<t;)n+=e;return n}function r(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}function i(e,t){var r=""+e;return r.length>=t?r:n(" ",t-r.length)+r}function a(e,t){var r=""+e;return r.length>=t?r:r+n(" ",t-r.length)}function o(e,t){var r=""+Math.round(e);return r.length>=t?r:n("0",t-r.length)+r}function s(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}function l(e,t){return e>A||e<-A?o(e,t):s(Math.round(e),t)}function c(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}function u(e){e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "'}function f(e,t,n){for(var r=e<0?-1:1,i=e*r,a=0,o=1,s=0,l=1,c=0,u=0,f=Math.floor(i);c<t&&(f=Math.floor(i),s=f*o+a,u=f*c+l,!(i-f<5e-8));)i=1/(i-f),a=o,o=s,l=c,c=u;if(u>t&&(c>t?(u=l,s=a):(u=c,s=o)),!n)return[0,r*s,u];var h=Math.floor(r*s/u);return[h,r*s-h*u,u]}function h(e,t,n){if(e>2958465||e<0)return null;var r=0|e,i=Math.floor(86400*(e-r)),a=0,o=[],s={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++r,++s.D)),60===r)o=n?[1317,10,29]:[1900,2,29],a=3;else if(0===r)o=n?[1317,8,29]:[1900,1,0],a=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),o=[l.getFullYear(),l.getMonth()+1,l.getDate()],a=l.getDay(),r<60&&(a=(a+6)%7),n&&(a=m(l,o))}return s.y=o[0],s.m=o[1],s.d=o[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=a,s}function d(e,t){var n=e.getTime();return t?n-=1262304e5:e>=P&&(n+=864e5),(n-(L+6e4*(e.getTimezoneOffset()-O.getTimezoneOffset())))/864e5}function p(e){return e.toString(10)}function g(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):F(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return _(14,d(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function m(e,t){t[0]-=581;var n=e.getDay();return e<60&&(n=(n+6)%7),n}function v(e,t,n,i){var a,o="",s=0,l=0,c=n.y,u=0;switch(e){case 98:c=n.y+543;case 121:switch(t.length){case 1:case 2:a=c%100,u=2;break;default:a=c%1e4,u=4}break;case 109:switch(t.length){case 1:case 2:a=n.m,u=t.length;break;case 3:return T[n.m-1][1];case 5:return T[n.m-1][0];default:return T[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=n.d,u=t.length;break;case 3:return C[n.q][0];default:return C[n.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(n.H+11)%12,u=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=n.H,u=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=n.M,u=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(l=i>=2?3===i?1e3:100:1===i?10:1,s=Math.round(l*(n.S+n.u)),s>=60*l&&(s=0),"s"===t?0===s?"0":""+s/l:(o=r(s,2+i),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):r(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*n.D+n.H;break;case"[m]":case"[mm]":a=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":a=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}u=3===t.length?1:2;break;case 101:a=c,u=1}return u>0?r(a,u):""}function b(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}function y(e){for(var t=[],n=!1,r=0,i=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(i,r-i),i=r+1}if(t[t.length]=e.substr(i),!0===n)throw new Error("Format |"+e+"| unterminated string ");return t}function w(e){for(var t=0,n="",r="";t<e.length;)switch(n=e.charAt(t)){case"G":c(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(r=n;"]"!==e.charAt(t++)&&t<e.length;)r+=e.charAt(t);if(r.match(M))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(n=e.charAt(++t))>-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":default:++t}return!1}function S(e,t,n,r){for(var i,a,o,s=[],l="",u=0,f="",d="t",p="H";u<e.length;)switch(f=e.charAt(u)){case"G":if(!c(e,u))throw new Error("unrecognized character "+f+" in "+e);s[s.length]={t:"G",v:"General"},u+=7;break;case'"':for(l="";34!==(o=e.charCodeAt(++u))&&u<e.length;)l+=String.fromCharCode(o);s[s.length]={t:"t",v:l},++u;break;case"\\":var m=e.charAt(++u),b="("===m||")"===m?m:"t";s[s.length]={t:b,v:m},++u;break;case"_":s[s.length]={t:"t",v:" "},u+=2;break;case"@":s[s.length]={t:"T",v:t},++u;break;case"B":case"b":if("1"===e.charAt(u+1)||"2"===e.charAt(u+1)){if(null==i&&null==(i=h(t,n,"2"===e.charAt(u+1))))return"";s[s.length]={t:"X",v:e.substr(u,2)},d=f,u+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==i&&null==(i=h(t,n)))return"";for(l=f;++u<e.length&&e.charAt(u).toLowerCase()===f;)l+=f;"m"===f&&"h"===d.toLowerCase()&&(f="M"),"h"===f&&(f=p),s[s.length]={t:f,v:l},d=f;break;case"A":case"a":case"上":var y={t:f,v:f};if(null==i&&(i=h(t,n)),"A/P"===e.substr(u,3).toUpperCase()?(null!=i&&(y.v=i.H>=12?"P":"A"),y.t="T",p="h",u+=3):"AM/PM"===e.substr(u,5).toUpperCase()?(null!=i&&(y.v=i.H>=12?"PM":"AM"),y.t="T",u+=5,p="h"):"上午/下午"===e.substr(u,5).toUpperCase()?(null!=i&&(y.v=i.H>=12?"下午":"上午"),y.t="T",u+=5,p="h"):(y.t="t",++u),null==i&&"T"===y.t)return"";s[s.length]=y,d=f;break;case"[":for(l=f;"]"!==e.charAt(u++)&&u<e.length;)l+=e.charAt(u);if("]"!==l.slice(-1))throw'unterminated "[" block: |'+l+"|";if(l.match(M)){if(null==i&&null==(i=h(t,n)))return"";s[s.length]={t:"Z",v:l.toLowerCase()},d=l.charAt(1)}else l.indexOf("$")>-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",w(e)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=i){for(l=f;++u<e.length&&"0"===(f=e.charAt(u));)l+=f;s[s.length]={t:"s",v:l};break}case"0":case"#":for(l=f;++u<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(u))>-1;)l+=f;s[s.length]={t:"n",v:l};break;case"?":for(l=f;e.charAt(++u)===f;)l+=f;s[s.length]={t:f,v:l},d=f;break;case"*":++u," "!=e.charAt(u)&&"*"!=e.charAt(u)||++u;break;case"(":case")":s[s.length]={t:1===r?"t":f,v:f},++u;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(l=f;u<e.length&&"0123456789".indexOf(e.charAt(++u))>-1;)l+=e.charAt(u);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:f,v:f},++u;break;case"$":s[s.length]={t:"t",v:"$"},++u;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);s[s.length]={t:"t",v:f},++u}var S,x=0,E=0;for(u=s.length-1,d="t";u>=0;--u)switch(s[u].t){case"h":case"H":s[u].t=p,d="h",x<1&&(x=1);break;case"s":(S=s[u].v.match(/\.0+$/))&&(E=Math.max(E,S[0].length-1)),x<3&&(x=3);case"d":case"y":case"M":case"e":d=s[u].t;break;case"m":"s"===d&&(s[u].t="M",x<2&&(x=2));break;case"X":break;case"Z":x<1&&s[u].v.match(/[Hh]/)&&(x=1),x<2&&s[u].v.match(/[Mm]/)&&(x=2),x<3&&s[u].v.match(/[Ss]/)&&(x=3)}switch(x){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M)}var _,k="";for(u=0;u<s.length;++u)switch(s[u].t){case"t":case"T":case" ":case"D":break;case"X":s[u].v="",s[u].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[u].v=v(s[u].t.charCodeAt(0),s[u].v,i,E),s[u].t="t";break;case"n":case"?":for(_=u+1;null!=s[_]&&("?"===(f=s[_].t)||"D"===f||(" "===f||"t"===f)&&null!=s[_+1]&&("?"===s[_+1].t||"t"===s[_+1].t&&"/"===s[_+1].v)||"("===s[u].t&&(" "===f||"n"===f||")"===f)||"t"===f&&("/"===s[_].v||" "===s[_].v&&null!=s[_+1]&&"?"==s[_+1].t));)s[u].v+=s[_].v,s[_]={v:"",t:";"},++_;k+=s[u].v,u=_-1;break;case"G":s[u].t="t",s[u].v=g(t,n)}var A,C,T="";if(k.length>0){40==k.charCodeAt(0)?(A=t<0&&45===k.charCodeAt(0)?-t:t,C=D("n",k,A)):(A=t<0&&r>1?-t:t,C=D("n",k,A),A<0&&s[0]&&"t"==s[0].t&&(C=C.substr(1),s[0].v="-"+s[0].v)),_=C.length-1;var R=s.length;for(u=0;u<s.length;++u)if(null!=s[u]&&"t"!=s[u].t&&s[u].v.indexOf(".")>-1){R=u;break}var N=s.length;if(R===s.length&&-1===C.indexOf("E")){for(u=s.length-1;u>=0;--u)null!=s[u]&&-1!=="n?".indexOf(s[u].t)&&(_>=s[u].v.length-1?(_-=s[u].v.length,s[u].v=C.substr(_+1,s[u].v.length)):_<0?s[u].v="":(s[u].v=C.substr(0,_+1),_=-1),s[u].t="t",N=u);_>=0&&N<s.length&&(s[N].v=C.substr(0,_+1)+s[N].v)}else if(R!==s.length&&-1===C.indexOf("E")){for(_=C.indexOf(".")-1,u=R;u>=0;--u)if(null!=s[u]&&-1!=="n?".indexOf(s[u].t)){for(a=s[u].v.indexOf(".")>-1&&u===R?s[u].v.indexOf(".")-1:s[u].v.length-1,T=s[u].v.substr(a+1);a>=0;--a)_>=0&&("0"===s[u].v.charAt(a)||"#"===s[u].v.charAt(a))&&(T=C.charAt(_--)+T);s[u].v=T,s[u].t="t",N=u}for(_>=0&&N<s.length&&(s[N].v=C.substr(0,_+1)+s[N].v),_=C.indexOf(".")+1,u=R;u<s.length;++u)if(null!=s[u]&&(-1!=="n?(".indexOf(s[u].t)||u===R)){for(a=s[u].v.indexOf(".")>-1&&u===R?s[u].v.indexOf(".")+1:0,T=s[u].v.substr(0,a);a<s[u].v.length;++a)_<C.length&&(T+=C.charAt(_++));s[u].v=T,s[u].t="t",N=u}}}for(u=0;u<s.length;++u)null!=s[u]&&"n?".indexOf(s[u].t)>-1&&(A=r>1&&t<0&&u>0&&"-"===s[u-1].v?-t:t,s[u].v=D(s[u].t,s[u].v,A),s[u].t="t");var B="";for(u=0;u!==s.length;++u)null!=s[u]&&(B+=s[u].v);return B}function x(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e<n)return!0;break;case"<>":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function E(e,t){var n=y(e),r=n.length,i=n[r-1].indexOf("@");if(r<4&&i>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||i>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=i>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var a=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,a];if(null!=n[0].match(j)||null!=n[1].match(j)){var o=n[0].match(W),s=n[1].match(W);return x(t,o)?[r,n[0]]:x(t,s)?[r,n[1]]:[r,n[null!=o&&null!=s?2:1]]}return[r,a]}function _(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:R)[e],null==r&&(r=n.table&&n.table[N[e]]||R[N[e]]),null==r&&(r=I[e]||"General")}if(c(r,0))return g(t,n);t instanceof Date&&(t=d(t,n.date1904));var i=E(r,t);if(c(i[1]))return g(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return S(i[1],t,n,i[0])}function k(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(void 0!=R[n]){if(R[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return R[t]=e,t}e.version="0.11.2";var A=Math.pow(2,32),C=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],T=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]],R={};u(R);var N=[],B=0;for(B=5;B<=8;++B)N[B]=32+B;for(B=23;B<=26;++B)N[B]=0;for(B=27;B<=31;++B)N[B]=14;for(B=50;B<=58;++B)N[B]=14;for(B=59;B<=62;++B)N[B]=B-58;for(B=67;B<=68;++B)N[B]=B-58;for(B=72;B<=75;++B)N[B]=B-58;for(B=67;B<=68;++B)N[B]=B-57
|
||
;for(B=76;B<=78;++B)N[B]=B-56;for(B=79;B<=81;++B)N[B]=B-34;var I=[];I[5]=I[63]='"$"#,##0_);\\("$"#,##0\\)',I[6]=I[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',I[7]=I[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',I[8]=I[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',I[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',I[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',I[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',I[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)',e.parse_date_code=h;var O=new Date(1899,11,31,0,0,0),L=O.getTime(),P=new Date(1900,2,1,0,0,0);e._general_int=p;var F=function(){function e(e){return-1==e.indexOf(".")?e:e.replace(a,"$1")}function t(e){return-1==e.indexOf("E")?e:e.replace(o,"$1E").replace(s,"$10$2")}function n(t){var n=t<0?12:11,r=e(t.toFixed(12));return r.length<=n?r:(r=t.toPrecision(10),r.length<=n?r:t.toExponential(5))}function r(t){var n=e(t.toFixed(11));return n.length>(t<0?12:11)||"0"===n||"-0"===n?t.toPrecision(6):n}function i(i){var a,o=Math.floor(Math.log(Math.abs(i))*Math.LOG10E);return a=o>=-4&&o<=-1?i.toPrecision(10+o):Math.abs(o)<=9?n(i):10===o?i.toFixed(10).substr(0,12):r(i),e(t(a.toUpperCase()))}var a=/(?:\.0*|(\.\d*[1-9])0+)$/,o=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,s=/(E[+-])(\d)$/;return i}();e._general_num=F,e._general=g;var D=function(){function e(e,t,r){var i=t.replace(E,""),a=t.length-i.length;return D(e,i,r*Math.pow(10,2*a))+n("%",a)}function o(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return D(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}function s(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+s(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),n=(t/Math.pow(10,a)).toPrecision(r+1+(i+a)%i),-1===n.indexOf("e")){var o=Math.floor(Math.log(t)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(o-n.length+a):n+="E+"+(o-a);"0."===n.substr(0,2);)n=n.charAt(0)+n.substr(2,i)+"."+n.substr(2+i),n=n.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+"."+r.substr(a)+"E"})}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function c(e,t,a){var o=parseInt(e[4],10),s=Math.round(t*o),l=Math.floor(s/o),c=s-l*o,u=o;return a+(0===l?"":""+l)+" "+(0===c?n(" ",e[1].length+1+e[4].length):i(c,e[1].length)+e[2]+"/"+e[3]+r(u,e[4].length))}function u(e,t,r){return r+(0===t?"":""+t)+n(" ",e[1].length+2+e[4].length)}function h(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function d(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function p(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function g(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function m(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}function v(u,y,w){if(40===u.charCodeAt(0)&&!y.match(A)){var S=y.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return w>=0?v("n",S,w):"("+v("n",S,-w)+")"}if(44===y.charCodeAt(y.length-1))return o(u,y,w);if(-1!==y.indexOf("%"))return e(u,y,w);if(-1!==y.indexOf("E"))return s(y,w);if(36===y.charCodeAt(0))return"$"+v(u,y.substr(" "==y.charAt(1)?2:1),w);var x,E,T,R,N=Math.abs(w),B=w<0?"-":"";if(y.match(/^00+$/))return B+l(N,y.length);if(y.match(/^[#?]+$/))return x=l(w,0),"0"===x&&(x=""),x.length>y.length?x:h(y.substr(0,y.length-x.length))+x;if(E=y.match(_))return c(E,N,B);if(y.match(/^#+0+$/))return B+l(N,y.length-y.indexOf("0"));if(E=y.match(k))return x=d(w,E[1].length).replace(/^([^\.]+)$/,"$1."+h(E[1])).replace(/\.$/,"."+h(E[1])).replace(/\.(\d*)$/,function(e,t){return"."+t+n("0",h(E[1]).length-t.length)}),-1!==y.indexOf("0.")?x:x.replace(/^0\./,".");if(y=y.replace(/^#+([0.])/,"$1"),E=y.match(/^(0*)\.(#*)$/))return B+d(N,E[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,E[1].length?"0.":".");if(E=y.match(/^#{1,3},##0(\.?)$/))return B+b(l(N,0));if(E=y.match(/^#,##0\.([#0]*0)$/))return w<0?"-"+v(u,y,-w):b(""+(Math.floor(w)+g(w,E[1].length)))+"."+r(p(w,E[1].length),E[1].length);if(E=y.match(/^#,#*,#0/))return v(u,y.replace(/^#,#*,/,""),w);if(E=y.match(/^([0#]+)(\\?-([0#]+))+$/))return x=t(v(u,y.replace(/[\\-]/g,""),w)),T=0,t(t(y.replace(/\\/g,"")).replace(/[0#]/g,function(e){return T<x.length?x.charAt(T++):"0"===e?"0":""}));if(y.match(C))return x=v(u,"##########",w),"("+x.substr(0,3)+") "+x.substr(3,3)+"-"+x.substr(6);var I="";if(E=y.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return T=Math.min(E[4].length,7),R=f(N,Math.pow(10,T)-1,!1),x=""+B,I=D("n",E[1],R[1])," "==I.charAt(I.length-1)&&(I=I.substr(0,I.length-1)+"0"),x+=I+E[2]+"/"+E[3],I=a(R[2],T),I.length<E[4].length&&(I=h(E[4].substr(E[4].length-I.length))+I),x+=I;if(E=y.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return T=Math.min(Math.max(E[1].length,E[4].length),7),R=f(N,Math.pow(10,T)-1,!0),B+(R[0]||(R[1]?"":"0"))+" "+(R[1]?i(R[1],T)+E[2]+"/"+E[3]+a(R[2],T):n(" ",2*T+1+E[2].length+E[3].length));if(E=y.match(/^[#0?]+$/))return x=l(w,0),y.length<=x.length?x:h(y.substr(0,y.length-x.length))+x;if(E=y.match(/^([#0?]+)\.([#0]+)$/)){x=""+w.toFixed(Math.min(E[2].length,10)).replace(/([^0])0+$/,"$1"),T=x.indexOf(".");var O=y.indexOf(".")-T,L=y.length-x.length-O;return h(y.substr(0,O)+x+y.substr(y.length-L))}if(E=y.match(/^00,000\.([#0]*0)$/))return T=p(w,E[1].length),w<0?"-"+v(u,y,-w):b(m(w)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e})+"."+r(T,E[1].length);switch(y){case"###,##0.00":return v(u,"#,##0.00",w);case"###,###":case"##,###":case"#,###":var P=b(l(N,0));return"0"!==P?B+P:"";case"###,###.00":return v(u,"###,##0.00",w).replace(/^0\./,".");case"#,###.00":return v(u,"#,##0.00",w).replace(/^0\./,".")}throw new Error("unsupported format |"+y+"|")}function y(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return D(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}function w(e,t,r){var i=t.replace(E,""),a=t.length-i.length;return D(e,i,r*Math.pow(10,2*a))+n("%",a)}function S(e,t){var n,r=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+S(e,-t);var i=e.indexOf(".");-1===i&&(i=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),n=(t/Math.pow(10,a)).toPrecision(r+1+(i+a)%i),!n.match(/[Ee]/)){var o=Math.floor(Math.log(t)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(o-n.length+a):n+="E+"+(o-a),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+"."+r.substr(a)+"E"})}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}function x(e,o,s){if(40===e.charCodeAt(0)&&!o.match(A)){var l=o.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return s>=0?x("n",l,s):"("+x("n",l,-s)+")"}if(44===o.charCodeAt(o.length-1))return y(e,o,s);if(-1!==o.indexOf("%"))return w(e,o,s);if(-1!==o.indexOf("E"))return S(o,s);if(36===o.charCodeAt(0))return"$"+x(e,o.substr(" "==o.charAt(1)?2:1),s);var c,d,p,g,m=Math.abs(s),v=s<0?"-":"";if(o.match(/^00+$/))return v+r(m,o.length);if(o.match(/^[#?]+$/))return c=""+s,0===s&&(c=""),c.length>o.length?c:h(o.substr(0,o.length-c.length))+c;if(d=o.match(_))return u(d,m,v);if(o.match(/^#+0+$/))return v+r(m,o.length-o.indexOf("0"));if(d=o.match(k))return c=(""+s).replace(/^([^\.]+)$/,"$1."+h(d[1])).replace(/\.$/,"."+h(d[1])),c=c.replace(/\.(\d*)$/,function(e,t){return"."+t+n("0",h(d[1]).length-t.length)}),-1!==o.indexOf("0.")?c:c.replace(/^0\./,".");if(o=o.replace(/^#+([0.])/,"$1"),d=o.match(/^(0*)\.(#*)$/))return v+(""+m).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,d[1].length?"0.":".");if(d=o.match(/^#{1,3},##0(\.?)$/))return v+b(""+m);if(d=o.match(/^#,##0\.([#0]*0)$/))return s<0?"-"+x(e,o,-s):b(""+s)+"."+n("0",d[1].length);if(d=o.match(/^#,#*,#0/))return x(e,o.replace(/^#,#*,/,""),s);if(d=o.match(/^([0#]+)(\\?-([0#]+))+$/))return c=t(x(e,o.replace(/[\\-]/g,""),s)),p=0,t(t(o.replace(/\\/g,"")).replace(/[0#]/g,function(e){return p<c.length?c.charAt(p++):"0"===e?"0":""}));if(o.match(C))return c=x(e,"##########",s),"("+c.substr(0,3)+") "+c.substr(3,3)+"-"+c.substr(6);var E="";if(d=o.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return p=Math.min(d[4].length,7),g=f(m,Math.pow(10,p)-1,!1),c=""+v,E=D("n",d[1],g[1])," "==E.charAt(E.length-1)&&(E=E.substr(0,E.length-1)+"0"),c+=E+d[2]+"/"+d[3],E=a(g[2],p),E.length<d[4].length&&(E=h(d[4].substr(d[4].length-E.length))+E),c+=E;if(d=o.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return p=Math.min(Math.max(d[1].length,d[4].length),7),g=f(m,Math.pow(10,p)-1,!0),v+(g[0]||(g[1]?"":"0"))+" "+(g[1]?i(g[1],p)+d[2]+"/"+d[3]+a(g[2],p):n(" ",2*p+1+d[2].length+d[3].length));if(d=o.match(/^[#0?]+$/))return c=""+s,o.length<=c.length?c:h(o.substr(0,o.length-c.length))+c;if(d=o.match(/^([#0]+)\.([#0]+)$/)){c=""+s.toFixed(Math.min(d[2].length,10)).replace(/([^0])0+$/,"$1"),p=c.indexOf(".");var T=o.indexOf(".")-p,R=o.length-c.length-T;return h(o.substr(0,T)+c+o.substr(o.length-R))}if(d=o.match(/^00,000\.([#0]*0)$/))return s<0?"-"+x(e,o,-s):b(""+s).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e})+"."+r(0,d[1].length);switch(o){case"###,###":case"##,###":case"#,###":var N=b(""+m);return"0"!==N?v+N:"";default:if(o.match(/\.[0#?]*$/))return x(e,o.slice(0,o.lastIndexOf(".")),s)+h(o.slice(o.lastIndexOf(".")))}throw new Error("unsupported format |"+o+"|")}var E=/%/g,_=/# (\?+)( ?)\/( ?)(\d+)/,k=/^#*0*\.([0#]+)/,A=/\).*[0#]/,C=/\(###\) ###\\?-####/;return function(e,t,n){return(0|n)===n?x(e,t,n):v(e,t,n)}}();e._split=y;var M=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;e.is_date=w,e._eval=S;var j=/\[[=<>]/,W=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;e.load=k,e._table=R,e.get_table=function(){return R},e.load_table=function(e){for(var t=0;392!=t;++t)void 0!==e[t]&&k(e[t],t)},e.init_table=u,e.format=_};sh(oh);var lh,ch={"General Number":"General","General Date":oh._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":oh._table[15],"Short Date":oh._table[14],"Long Time":oh._table[19],"Medium Time":oh._table[18],"Short Time":oh._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:oh._table[2],Standard:oh._table[4],Percent:oh._table[10],Scientific:oh._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},uh={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},fh=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;!function(e){!function(e){function t(e,t){for(var n=-1^t,r=e.length-1,i=0;i<r;)n=n>>>8^a[255&(n^e.charCodeAt(i++))],n=n>>>8^a[255&(n^e.charCodeAt(i++))];return i===r&&(n=n>>>8^a[255&(n^e.charCodeAt(i))]),-1^n}function n(e,t){if(e.length>1e4)return r(e,t);for(var n=-1^t,i=e.length-3,o=0;o<i;)n=n>>>8^a[255&(n^e[o++])],n=n>>>8^a[255&(n^e[o++])],n=n>>>8^a[255&(n^e[o++])],n=n>>>8^a[255&(n^e[o++])];for(;o<i+3;)n=n>>>8^a[255&(n^e[o++])];return-1^n}function r(e,t){for(var n=-1^t,r=e.length-7,i=0;i<r;)n=n>>>8^a[255&(n^e[i++])],n=n>>>8^a[255&(n^e[i++])],n=n>>>8^a[255&(n^e[i++])],n=n>>>8^a[255&(n^e[i++])],n=n>>>8^a[255&(n^e[i++])],n=n>>>8^a[255&(n^e[i++])],n=n>>>8^a[255&(n^e[i++])],n=n>>>8^a[255&(n^e[i++])];for(;i<r+7;)n=n>>>8^a[255&(n^e[i++])];return-1^n}function i(e,t){for(var n,r,i=-1^t,o=0,s=e.length;o<s;)n=e.charCodeAt(o++),n<128?i=i>>>8^a[255&(i^n)]:n<2048?(i=i>>>8^a[255&(i^(192|n>>6&31))],i=i>>>8^a[255&(i^(128|63&n))]):n>=55296&&n<57344?(n=64+(1023&n),r=1023&e.charCodeAt(o++),i=i>>>8^a[255&(i^(240|n>>8&7))],i=i>>>8^a[255&(i^(128|n>>2&63))],i=i>>>8^a[255&(i^(128|r>>6&15|(3&n)<<4))],i=i>>>8^a[255&(i^(128|63&r))]):(i=i>>>8^a[255&(i^(224|n>>12&15))],i=i>>>8^a[255&(i^(128|n>>6&63))],i=i>>>8^a[255&(i^(128|63&n))]);return-1^i}e.version="1.2.0";var a=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=n,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();e.table=a,e.bstr=t,e.buf=n,e.str=i}(lh={})}();var hh,dh=function(){function e(e,t){for(var n=e.split("/"),r=t.split("/"),i=0,a=0,o=Math.min(n.length,r.length);i<o;++i){if(a=n[i].length-r[i].length)return a;if(n[i]!=r[i])return n[i]<r[i]?-1:1}return n.length-r.length}function t(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:t(e.slice(0,-1));var n=e.lastIndexOf("/");return-1===n?e:e.slice(0,n+1)}function n(e){if("/"==e.charAt(e.length-1))return n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function r(e,t){"string"==typeof t&&(t=new Date(t));var n=t.getHours();n=n<<6|t.getMinutes(),n=n<<5|t.getSeconds()>>>1,e._W(2,n);var r=t.getFullYear()-1980;r=r<<4|t.getMonth()+1,r=r<<5|t.getDate(),e._W(2,r)}function i(e){var t=65535&e._R(2),n=65535&e._R(2),r=new Date,i=31&n;n>>>=5;var a=15&n;n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(a-1),r.setDate(i);var o=31&t;t>>>=5;var s=63&t;return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(o<<1),r}function a(e){le(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e._R(2),i=e._R(2),a=e.l+i,o={};switch(r){case 21589:n=e._R(1),1&n&&(o.mtime=e._R(4)),i>5&&(2&n&&(o.atime=e._R(4)),4&n&&(o.ctime=e._R(4))),o.mtime&&(o.mt=new Date(1e3*o.mtime))}e.l=a,t[r]=o}return t}function l(){return ne||(ne=require("fs"))}function c(e,t){if(80==e[0]&&75==e[1])return $(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var n=3,r=512,i=0,a=0,o=0,s=0,l=0,c=[],p=e.slice(0,512);le(p,0);var m=u(p);switch(n=m[0]){case 3:r=512;break;case 4:r=4096;break;case 0:if(0==m[1])return $(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+n)}512!==r&&(p=e.slice(0,r),le(p,28));var y=e.slice(0,r);f(p,n);var w=p._R(4,"i");if(3===n&&0!==w)throw new Error("# Directory Sectors: Expected 0 saw "+w);p.l+=4,o=p._R(4,"i"),p.l+=4,p.chk("00100000","Mini Stream Cutoff Size: "),s=p._R(4,"i"),i=p._R(4,"i"),l=p._R(4,"i"),a=p._R(4,"i");for(var S=-1,x=0;x<109&&!((S=p._R(4,"i"))<0);++x)c[x]=S;var E=h(e,r);g(l,a,E,r,c);var _=v(E,o,c,r);_[o].name="!Directory",i>0&&s!==oe&&(_[s].name="!MiniFAT"),_[c[0]].name="!FAT",_.fat_addrs=c,_.ssz=r;var k={},A=[],C=[],T=[];b(o,_,E,A,i,k,C,s),d(C,T,A),A.shift();var R={FileIndex:C,FullPaths:T};return t&&t.raw&&(R.raw={header:y,sectors:E}),R}function u(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(ce,"Header Signature: "),e.l+=16;var t=e._R(2,"u");return[e._R(2,"u"),t]}function f(e,t){var n=9;switch(e.l+=2,n=e._R(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+n);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+n);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+n)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}function h(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i<n;++i)r[i-1]=e.slice(i*t,(i+1)*t);return r[n-1]=e.slice(n*t),r}function d(e,t,n){for(var r=0,i=0,a=0,o=0,s=0,l=n.length,c=[],u=[];r<l;++r)c[r]=u[r]=r,t[r]=n[r];for(;s<u.length;++s)r=u[s],i=e[r].L,a=e[r].R,o=e[r].C,c[r]===r&&(-1!==i&&c[i]!==i&&(c[r]=c[i]),-1!==a&&c[a]!==a&&(c[r]=c[a])),-1!==o&&(c[o]=r),-1!==i&&r!=c[r]&&(c[i]=c[r],u.lastIndexOf(i)<s&&u.push(i)),-1!==a&&r!=c[r]&&(c[a]=c[r],u.lastIndexOf(a)<s&&u.push(a));for(r=1;r<l;++r)c[r]===r&&(-1!==a&&c[a]!==a?c[r]=c[a]:-1!==i&&c[i]!==i&&(c[r]=c[i]));for(r=1;r<l;++r)if(0!==e[r].type){if((s=r)!=c[s])do{s=c[s],t[r]=t[s]+"/"+t[r]}while(0!==s&&-1!==c[s]&&s!=c[s]);c[r]=-1}for(t[0]+="/",r=1;r<l;++r)2!==e[r].type&&(t[r]+="/")}function p(e,t,n){for(var r=e.start,i=e.size,a=[],o=r;n&&i>0&&o>=0;)a.push(t.slice(o*ie,o*ie+ie)),i-=ie,o=yd(n,4*o);return 0===a.length?ue(0):rh(a).slice(0,e.size)}function g(e,t,n,r,i){var a=oe;if(e===oe){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var o=n[e],s=(r>>>2)-1;if(!o)return;for(var l=0;l<s&&(a=yd(o,4*l))!==oe;++l)i.push(a);g(yd(o,r-4),t-1,n,r,i)}}function m(e,t,n,r,i){var a=[],o=[];i||(i=[]);var s=r-1,l=0,c=0;for(l=t;l>=0;){i[l]=!0,a[a.length]=l,o.push(e[l]);var u=n[Math.floor(4*l/r)];if(c=4*l&s,r<4+c)throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[u])break;l=yd(e[u],c)}return{nodes:a,data:Kh([o])}}function v(e,t,n,r){var i=e.length,a=[],o=[],s=[],l=[],c=r-1,u=0,f=0,h=0,d=0;for(u=0;u<i;++u)if(s=[],h=u+t,h>=i&&(h-=i),!o[h]){l=[];var p=[];for(f=h;f>=0;){p[f]=!0,o[f]=!0,s[s.length]=f,l.push(e[f]);var g=n[Math.floor(4*f/r)];if(d=4*f&c,r<4+d)throw new Error("FAT boundary crossed: "+f+" 4 "+r);if(!e[g])break;if(f=yd(e[g],d),p[f])break}a[h]={nodes:s,data:Kh([l])}}return a}function b(e,t,n,r,i,a,o,s){for(var l,c=0,u=r.length?2:0,f=t[e].data,h=0,d=0;h<f.length;h+=128){var g=f.slice(h,h+128);le(g,64),d=g._R(2),l=Zh(g,0,d-u),r.push(l);var v={name:l,type:g._R(1),color:g._R(1),L:g._R(4,"i"),R:g._R(4,"i"),C:g._R(4,"i"),clsid:g._R(16),state:g._R(4,"i"),start:0,size:0};0!==g._R(2)+g._R(2)+g._R(2)+g._R(2)&&(v.ct=y(g,g.l-8));0!==g._R(2)+g._R(2)+g._R(2)+g._R(2)&&(v.mt=y(g,g.l-8)),v.start=g._R(4,"i"),v.size=g._R(4,"i"),v.size<0&&v.start<0&&(v.size=v.type=0,v.start=oe,v.name=""),5===v.type?(c=v.start,i>0&&c!==oe&&(t[c].name="!StreamData")):v.size>=4096?(v.storage="fat",void 0===t[v.start]&&(t[v.start]=m(n,v.start,t.fat_addrs,t.ssz)),t[v.start].name=v.name,v.content=t[v.start].data.slice(0,v.size)):(v.storage="minifat",v.size<0?v.size=0:c!==oe&&v.start!==oe&&t[c]&&(v.content=p(v,t[c].data,(t[s]||{}).data))),v.content&&le(v.content,0),a[l]=v,o.push(v)}}function y(e,t){return new Date(1e3*(bd(e,t+4)/1e7*Math.pow(2,32)+bd(e,t)/1e7-11644473600))}function w(e,t){return l(),c(ne.readFileSync(e),t)}function S(e,t){switch(t&&t.type||"base64"){case"file":return w(e,t);case"base64":return c(nh(Zf.decode(e)),t);case"binary":return c(nh(e),t)}return c(e,t)}function x(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),E(e)}function E(e){var t="Sh33tJ5";if(!dh.find(e,"/"+t)){var n=ue(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),_(e)}}function _(r,i){x(r);for(var a=!1,o=!1,s=r.FullPaths.length-1;s>=0;--s){var l=r.FileIndex[s];switch(l.type){case 0:o?a=!0:(r.FileIndex.pop(),r.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(l.R*l.L*l.C)&&(a=!0),l.R>-1&&l.L>-1&&l.R==l.L&&(a=!0);break;default:a=!0}}if(a||i){var c=new Date(1987,1,19),u=0,f=[];for(s=0;s<r.FullPaths.length;++s)0!==r.FileIndex[s].type&&f.push([r.FullPaths[s],r.FileIndex[s]]);for(s=0;s<f.length;++s){var h=t(f[s][0]);for(o=!1,u=0;u<f.length;++u)f[u][0]===h&&(o=!0);o||f.push([h,{name:n(h).replace("/",""),type:1,clsid:he,ct:c,mt:c,content:null}])}for(f.sort(function(t,n){return e(t[0],n[0])}),r.FullPaths=[],r.FileIndex=[],s=0;s<f.length;++s)r.FullPaths[s]=f[s][0],r.FileIndex[s]=f[s][1];for(s=0;s<f.length;++s){var d=r.FileIndex[s],p=r.FullPaths[s];if(d.name=n(p).replace("/",""),d.L=d.R=d.C=-(d.color=1),d.size=d.content?d.content.length:0,d.start=0,d.clsid=d.clsid||he,0===s)d.C=f.length>1?1:-1,d.size=0,d.type=5;else if("/"==p.slice(-1)){for(u=s+1;u<f.length&&t(r.FullPaths[u])!=p;++u);for(d.C=u>=f.length?-1:u,u=s+1;u<f.length&&t(r.FullPaths[u])!=t(p);++u);d.R=u>=f.length?-1:u,d.type=1}else t(r.FullPaths[s+1]||"")==t(p)&&(d.R=s+1),d.type=2}}}function k(e,t){var n=t||{};if(_(e),"zip"==n.fileType)return Y(e,n);var r=function(e){for(var t=0,n=0,r=0;r<e.FileIndex.length;++r){var i=e.FileIndex[r];if(i.content){var a=i.content.length;a>0&&(a<4096?t+=a+63>>6:n+=a+511>>9)}}for(var o=e.FullPaths.length+3>>2,s=t+7>>3,l=t+127>>7,c=s+n+o+l,u=c+127>>7,f=u<=109?0:Math.ceil((u-109)/127);c+u+f+127>>7>u;)f=++u<=109?0:Math.ceil((u-109)/127);var h=[1,f,u,l,o,n,t,0];return e.FileIndex[0].size=t<<6,h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3),h}(e),i=ue(r[7]<<9),a=0,o=0;for(a=0;a<8;++a)i._W(1,fe[a]);for(a=0;a<8;++a)i._W(2,0);for(i._W(2,62),i._W(2,3),i._W(2,65534),i._W(2,9),i._W(2,6),a=0;a<3;++a)i._W(2,0);for(i._W(4,0),i._W(4,r[2]),i._W(4,r[0]+r[1]+r[2]+r[3]-1),i._W(4,0),i._W(4,4096),i._W(4,r[3]?r[0]+r[1]+r[2]-1:oe),i._W(4,r[3]),i._W(-4,r[1]?r[0]-1:oe),i._W(4,r[1]),a=0;a<109;++a)i._W(-4,a<r[2]?r[1]+a:-1);if(r[1])for(o=0;o<r[1];++o){for(;a<236+127*o;++a)i._W(-4,a<r[2]?r[1]+a:-1);i._W(-4,o===r[1]-1?oe:o+1)}var s=function(e){for(o+=e;a<o-1;++a)i._W(-4,a+1);e&&(++a,i._W(-4,oe))};for(o=a=0,o+=r[1];a<o;++a)i._W(-4,de.DIFSECT);for(o+=r[2];a<o;++a)i._W(-4,de.FATSECT);s(r[3]),s(r[4]);for(var l=0,c=0,u=e.FileIndex[0];l<e.FileIndex.length;++l)u=e.FileIndex[l],u.content&&((c=u.content.length)<4096||(u.start=o,s(c+511>>9)));for(s(r[6]+7>>3);511&i.l;)i._W(-4,de.ENDOFCHAIN);for(o=a=0,l=0;l<e.FileIndex.length;++l)u=e.FileIndex[l],u.content&&(!(c=u.content.length)||c>=4096||(u.start=o,s(c+63>>6)));for(;511&i.l;)i._W(-4,de.ENDOFCHAIN);for(a=0;a<r[4]<<2;++a){var f=e.FullPaths[a];if(f&&0!==f.length){u=e.FileIndex[a],0===a&&(u.start=u.size?u.start-1:oe);var h=0===a&&n.root||u.name;if(c=2*(h.length+1),i._W(64,h,"utf16le"),i._W(2,c),i._W(1,u.type),i._W(1,u.color),i._W(-4,u.L),i._W(-4,u.R),i._W(-4,u.C),u.clsid)i._W(16,u.clsid,"hex");else for(l=0;l<4;++l)i._W(4,0);i._W(4,u.state||0),i._W(4,0),i._W(4,0),i._W(4,0),i._W(4,0),i._W(4,u.start),i._W(4,u.size),i._W(4,0)}else{for(l=0;l<17;++l)i._W(4,0);for(l=0;l<3;++l)i._W(4,-1);for(l=0;l<12;++l)i._W(4,0)}}for(a=1;a<e.FileIndex.length;++a)if(u=e.FileIndex[a],u.size>=4096){for(i.l=u.start+1<<9,l=0;l<u.size;++l)i._W(1,u.content[l]);for(;511&l;++l)i._W(1,0)}for(a=1;a<e.FileIndex.length;++a)if(u=e.FileIndex[a],u.size>0&&u.size<4096){for(l=0;l<u.size;++l)i._W(1,u.content[l]);for(;63&l;++l)i._W(1,0)}for(;i.l<i.length;)i._W(1,0);return i}function A(e,t){var n=e.FullPaths.map(function(e){return e.toUpperCase()}),r=n.map(function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]}),i=!1;47===t.charCodeAt(0)?(i=!0,t=n[0].slice(0,-1)+t):i=-1!==t.indexOf("/");var a=t.toUpperCase(),o=!0===i?n.indexOf(a):r.indexOf(a);if(-1!==o)return e.FileIndex[o];var s=!a.match(ah);for(a=a.replace(ih,""),s&&(a=a.replace(ah,"!")),o=0;o<n.length;++o){if((s?n[o].replace(ah,"!"):n[o]).replace(ih,"")==a)return e.FileIndex[o];if((s?r[o].replace(ah,"!"):r[o]).replace(ih,"")==a)return e.FileIndex[o]}return null}function C(e,t,n){l();var r=k(e,n);ne.writeFileSync(t,r)}function T(e){for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function R(e,t){var n=k(e,t);switch(t&&t.type){case"file":return l(),ne.writeFileSync(t.filename,n),n;case"binary":return T(n);case"base64":return Zf.encode(T(n))}return n}function N(e){try{var t=e.InflateRaw,n=new t;if(n._processChunk(new Uint8Array([3,0]),n._finishFlushFlag),!n.bytesRead)throw new Error("zlib does not expose bytesRead");re=e}catch(e){console.error("cannot use native zlib: "+(e.message||e))}}function B(e,t){if(!re)return q(e,t);var n=re.InflateRaw,r=new n,i=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,i}function I(e){return re?re.deflateRawSync(e):we(e)}function O(e,t){var n=be[255&e];return t<=8?n>>>8-t:(n=n<<8|be[e>>8&255],t<=16?n>>>16-t:(n=n<<8|be[e>>16&255])>>>24-t)}function L(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function P(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function F(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}function D(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function M(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function j(e,t,n){var r=7&t,i=t>>>3,a=(1<<n)-1,o=e[i]>>>r;return n<8-r?o&a:(o|=e[i+1]<<8-r,n<16-r?o&a:(o|=e[i+2]<<16-r,n<24-r?o&a:(o|=e[i+3]<<24-r)&a))}function W(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(Qf){var a=s(r);if(e.copy)e.copy(a);else for(;i<e.length;++i)a[i]=e[i];return a}if(ve){var o=new Uint8Array(r);if(o.set)o.set(e);else for(;i<e.length;++i)o[i]=e[i];return o}return e.length=r,e}function U(e){for(var t=new Array(e),n=0;n<e;++n)t[n]=0;return t}function z(e,t,n){var r=1,i=0,a=0,o=0,s=0,l=e.length,c=ve?new Uint16Array(32):U(32);for(a=0;a<32;++a)c[a]=0;for(a=l;a<n;++a)e[a]=0;l=e.length;var u=ve?new Uint16Array(l):U(l);for(a=0;a<l;++a)c[i=e[a]]++,r<i&&(r=i),u[a]=0;for(c[0]=0,a=1;a<=r;++a)c[a+16]=s=s+c[a-1]<<1;for(a=0;a<l;++a)0!=(s=e[a])&&(u[a]=c[s+16]++);var f=0;for(a=0;a<l;++a)if(0!=(f=e[a]))for(s=O(u[a],r)>>r-f,o=(1<<r+4-f)-1;o>=0;--o)t[s|o<<f]=15&f|a<<4;return r}function H(e,t){var n=D(e,t)+257;t+=5;var r=D(e,t)+1;t+=5;var i=F(e,t)+4;t+=4;for(var a=0,o=ve?new Uint8Array(19):U(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=ve?new Uint8Array(8):U(8),u=ve?new Uint8Array(8):U(8),f=o.length,h=0;h<i;++h)o[pe[h]]=a=P(e,t),l<a&&(l=a),c[a]++,t+=3;var d=0;for(c[0]=0,h=1;h<=l;++h)u[h]=d=d+c[h-1]<<1;for(h=0;h<f;++h)0!=(d=o[h])&&(s[h]=u[d]++);var p=0;for(h=0;h<f;++h)if(0!=(p=o[h])){d=be[s[h]]>>8-p;for(var g=(1<<7-p)-1;g>=0;--g)Ae[d|g<<p]=7&p|h<<3}var m=[];for(l=1;m.length<n+r;)switch(d=Ae[M(e,t)],t+=7&d,d>>>=3){case 16:for(a=3+L(e,t),t+=2,d=m[m.length-1];a-- >0;)m.push(d);break;case 17:for(a=3+P(e,t),t+=3;a-- >0;)m.push(0);break;case 18:for(a=11+M(e,t),t+=7;a-- >0;)m.push(0);break;default:m.push(d),l<d&&(l=d)}var v=m.slice(0,n),b=m.slice(n);for(h=n;h<286;++h)v[h]=0;for(h=r;h<30;++h)b[h]=0;return Ce=z(v,_e,286),Te=z(b,ke,30),t}function V(e,t){if(3==e[0]&&!(3&e[1]))return[o(t),2];for(var n=0,r=0,i=s(t||1<<18),a=0,l=i.length>>>0,c=0,u=0;0==(1&r);)if(r=P(e,n),n+=3,r>>>1!=0)for(r>>>1==1?(c=9,u=5):(n=H(e,n),c=Ce,u=Te),!t&&l<a+32767&&(i=W(i,a+32767),l=i.length);;){var f=j(e,n,c),h=r>>>1==1?Se[f]:_e[f];if(n+=15&h,0==((h>>>=4)>>>8&255))i[a++]=h;else{if(256==h)break;h-=257;var d=h<8?0:h-4>>2;d>5&&(d=0);var p=a+ge[h];d>0&&(p+=j(e,n,d),n+=d),f=j(e,n,u),h=r>>>1==1?xe[f]:ke[f],n+=15&h,h>>>=4;var g=h<4?0:h-2>>1,m=me[h];for(g>0&&(m+=j(e,n,g),n+=g),!t&&l<p&&(i=W(i,p),l=i.length);a<p;)i[a]=i[a-m],++a}}else{7&n&&(n+=8-(7&n));var v=e[n>>>3]|e[1+(n>>>3)]<<8;if(n+=32,!t&&l<a+v&&(i=W(i,a+v),l=i.length),"function"==typeof e.copy)e.copy(i,a,n>>>3,(n>>>3)+v),a+=v,n+=8*v;else for(;v-- >0;)i[a++]=e[n>>>3],n+=8}return[t?i:i.slice(0,a),n+7>>>3]}function q(e,t){var n=e.slice(e.l||0),r=V(n,t);return e.l+=r[1],r[0]}function G(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function $(e,t){var n=e;le(n,0);var r=[],i=[],o={FileIndex:r,FullPaths:i};x(o,{root:t.root});for(var s=n.length-4;(80!=n[s]||75!=n[s+1]||5!=n[s+2]||6!=n[s+3])&&s>=0;)--s;n.l=s+4,n.l+=4;var l=n._R(2);n.l+=6;var c=n._R(4);for(n.l=c,s=0;s<l;++s){n.l+=20;var u=n._R(4),f=n._R(4),h=n._R(2),d=n._R(2),p=n._R(2);n.l+=8;var g=n._R(4),m=a(n.slice(n.l+h,n.l+h+d));n.l+=h+d+p;var v=n.l;n.l=g+4,X(n,u,f,o,m),n.l=v}return o}function X(e,t,n,r,o){e.l+=2;var s=e._R(2),l=e._R(2),c=i(e);if(8257&s)throw new Error("Unsupported ZIP encryption");for(var u=e._R(4),f=e._R(4),h=e._R(4),d=e._R(2),p=e._R(2),g="",m=0;m<d;++m)g+=String.fromCharCode(e[e.l++]);if(p){var v=a(e.slice(e.l,e.l+p));(v[21589]||{}).mt&&(c=v[21589].mt),((o||{})[21589]||{}).mt&&(c=o[21589].mt)}e.l+=p;var b=e.slice(e.l,e.l+f);switch(l){case 8:b=B(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+l)}var y=!1;8&s&&(u=e._R(4),134695760==u&&(u=e._R(4),y=!0),f=e._R(4),h=e._R(4)),f!=t&&G(y,"Bad compressed size: "+t+" != "+f),h!=n&&G(y,"Bad uncompressed size: "+n+" != "+h);var w=lh.buf(b,0);u>>0!=w>>0&&G(y,"Bad CRC32 checksum: "+u+" != "+w),J(r,g,b,{unsafe:!0,mt:c})}function Y(e,t){var n=t||{},i=[],a=[],o=ue(1),s=n.compression?8:0,l=0,c=0,u=0,f=0,h=0,d=e.FullPaths[0],p=d,g=e.FileIndex[0],m=[],v=0;for(c=1;c<e.FullPaths.length;++c)if(p=e.FullPaths[c].slice(d.length),g=e.FileIndex[c],g.size&&g.content&&"Sh33tJ5"!=p){var b=f,y=ue(p.length);for(u=0;u<p.length;++u)y._W(1,127&p.charCodeAt(u));y=y.slice(0,y.l),m[h]=lh.buf(g.content,0);var w=g.content;8==s&&(w=I(w)),o=ue(30),o._W(4,67324752),o._W(2,20),o._W(2,l),o._W(2,s),g.mt?r(o,g.mt):o._W(4,0),o._W(-4,8&l?0:m[h]),o._W(4,8&l?0:w.length),o._W(4,8&l?0:g.content.length),o._W(2,y.length),o._W(2,0),f+=o.length,i.push(o),f+=y.length,i.push(y),f+=w.length,i.push(w),8&l&&(o=ue(12),o._W(-4,m[h]),o._W(4,w.length),o._W(4,g.content.length),f+=o.l,i.push(o)),o=ue(46),o._W(4,33639248),o._W(2,0),o._W(2,20),o._W(2,l),o._W(2,s),o._W(4,0),o._W(-4,m[h]),o._W(4,w.length),o._W(4,g.content.length),o._W(2,y.length),o._W(2,0),o._W(2,0),o._W(2,0),o._W(2,0),o._W(4,0),o._W(4,b),v+=o.l,a.push(o),v+=y.length,a.push(y),++h}return o=ue(22),o._W(4,101010256),o._W(2,0),o._W(2,0),o._W(2,h),o._W(2,h),o._W(4,v),o._W(4,f),o._W(2,0),rh([rh(i),rh(a),o])}function K(e){var t={};return x(t,e),t}function J(e,t,r,i){var a=i&&i.unsafe;a||x(e);var o=!a&&dh.find(e,t);if(!o){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),o={name:n(t),type:2},e.FileIndex.push(o),e.FullPaths.push(s),a||dh.utils.cfb_gc(e)}return o.content=r,o.size=r?r.length:0,i&&(i.CLSID&&(o.clsid=i.CLSID),i.mt&&(o.mt=i.mt),i.ct&&(o.ct=i.ct)),o}function Z(e,t){x(e);var n=dh.find(e,t);if(n)for(var r=0;r<e.FileIndex.length;++r)if(e.FileIndex[r]==n)return e.FileIndex.splice(r,1),e.FullPaths.splice(r,1),!0;return!1}function Q(e,t,r){x(e);var i=dh.find(e,t);if(i)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==i)return e.FileIndex[a].name=n(r),e.FullPaths[a]=r,!0;return!1}function ee(e){_(e,!0)}var te={};te.version="1.1.4";for(var ne,re,ie=64,oe=-2,ce="d0cf11e0a1b11ae1",fe=[208,207,17,224,161,177,26,225],he="00000000000000000000000000000000",de={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:oe,FREESECT:-1,HEADER_SIGNATURE:ce,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:he,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]},pe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ge=[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],me=[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],ve="undefined"!=typeof Uint8Array,be=ve?new Uint8Array(256):[],ye=0;ye<256;++ye)be[ye]=function(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}(ye);var we=function(){var e=function(){return function(e,t){for(var n=0;n<e.length;){var r=Math.min(65535,e.length-n),i=n+r==e.length;for(t._W(1,+i),t._W(2,r),t._W(2,65535&~r);r-- >0;)t[t.l++]=e[n++]}return t.l}}();return function(t){var n=ue(50+Math.floor(1.1*t.length)),r=e(t,n)
|
||
;return n.slice(0,r)}}(),Se=ve?new Uint16Array(512):U(512),xe=ve?new Uint16Array(32):U(32);if(!ve){for(var Ee=0;Ee<512;++Ee)Se[Ee]=0;for(Ee=0;Ee<32;++Ee)xe[Ee]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);z(e,xe,32);var n=[];for(t=0;t<=143;t++)n.push(8);for(;t<=255;t++)n.push(9);for(;t<=279;t++)n.push(7);for(;t<=287;t++)n.push(8);z(n,Se,288)}();var _e=ve?new Uint16Array(32768):U(32768),ke=ve?new Uint16Array(32768):U(32768),Ae=ve?new Uint16Array(128):U(128),Ce=1,Te=1;return te.find=A,te.read=S,te.parse=c,te.write=R,te.writeFile=C,te.utils={cfb_new:K,cfb_add:J,cfb_del:Z,cfb_mov:Q,cfb_gc:ee,ReadShift:ae,CheckField:se,prep_blob:le,bconcat:rh,use_zlib:N,_deflateRaw:we,_inflateRaw:q,consts:de},te}();if("undefined"!=typeof require)try{hh=require("fs")}catch(e){}var ph=new Date(1899,11,30,0,0,0),gh=new Date,mh=ph.getTime()+6e4*(gh.getTimezoneOffset()-ph.getTimezoneOffset()),vh=gh.getTimezoneOffset(),bh=new Date("2017-02-19T19:06:09.000Z");isNaN(bh.getFullYear())&&(bh=new Date("2/19/17"));var yh,wh=2017==bh.getFullYear(),Sh=5=="abacaba".split(/(:?b)/i).length;"undefined"!=typeof JSZipSync&&(yh=JSZipSync),"undefined"!=typeof exports&&"undefined"!=typeof module&&module.exports&&void 0===yh&&(yh=void 0);var xh='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',Eh=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,_h=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s?[\/\?]?>/gm;xh.match(_h)||(_h=/<[^>]*>/g);var kh=/<\w*:/,Ah=/<(\/?)\w+:/,Ch={""":'"',"'":"'",">":">","<":"<","&":"&"},Th=y(Ch),Rh=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function n(r){var i=r+"",a=i.indexOf("<![CDATA[");if(-1==a)return i.replace(e,function(e,t){return Ch[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e}).replace(t,function(e,t){return String.fromCharCode(parseInt(t,16))});var o=i.indexOf("]]>");return n(i.slice(0,a))+i.slice(a+9,o)+n(i.slice(o+3))}}(),Nh=/[&<>'"]/g,Bh=/[\u0000-\u0008\u000b-\u001f]/g,Ih=/[\u0000-\u001f]/g,Oh=function(){function e(e,t){return String.fromCharCode(parseInt(t,10))}var t=/&#(\d+);/g;return function(n){return n.replace(t,e)}}(),Lh=function(){return function(e){return e.replace(/(\r\n|[\r\n])/g," ")}}(),Ph=function(e){for(var t="",n=0,r=0,i=0,a=0,o=0,s=0;n<e.length;)r=e.charCodeAt(n++),r<128?t+=String.fromCharCode(r):(i=e.charCodeAt(n++),r>191&&r<224?(o=(31&r)<<6,o|=63&i,t+=String.fromCharCode(o)):(a=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&a):(o=e.charCodeAt(n++),s=((7&r)<<18|(63&i)<<12|(63&a)<<6|63&o)-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t},Fh=function(e){for(var t=[],n=0,r=0,i=0;n<e.length;)switch(r=e.charCodeAt(n++),!0){case r<128:t.push(String.fromCharCode(r));break;case r<2048:t.push(String.fromCharCode(192+(r>>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,i=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")};if(Qf){var Dh=function(e){var t,n,r,i=Buffer.alloc(2*e.length),a=1,o=0,s=0;for(n=0;n<e.length;n+=a)a=1,(r=e.charCodeAt(n))<128?t=r:r<224?(t=64*(31&r)+(63&e.charCodeAt(n+1)),a=2):r<240?(t=4096*(15&r)+64*(63&e.charCodeAt(n+1))+(63&e.charCodeAt(n+2)),a=3):(a=4,t=262144*(7&r)+4096*(63&e.charCodeAt(n+1))+64*(63&e.charCodeAt(n+2))+(63&e.charCodeAt(n+3)),t-=65536,s=55296+(t>>>10&1023),t=56320+(1023&t)),0!==s&&(i[o++]=255&s,i[o++]=s>>>8,s=0),i[o++]=t%256,i[o++]=t>>>8;return i.slice(0,o).toString("ucs2")},Mh="foo bar bazâð£";Ph(Mh)==Dh(Mh)&&(Ph=Dh);var jh=function(e){return eh(e,"binary").toString("utf8")};Ph(Mh)==jh(Mh)&&(Ph=jh),Fh=function(e){return eh(e,"utf8").toString("binary")}}var Wh=function(){var e={};return function(t,n){var r=t+"|"+(n||"");return e[r]?e[r]:e[r]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",n||"")}}(),Uh=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),r=0;r<e.length;++r)n=n.replace(e[r][0],e[r][1]);return n}}(),zh=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),Hh=/<\/?(?:vt:)?variant>/g,Vh=/<(?:vt:)([^>]*)>([\s\S]*)</,qh=/(^\s|\s$|\n)/,Gh={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};Gh.main=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var $h,Xh,Yh={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"},Kh=function(e){for(var t=[],n=0;n<e[0].length;++n)if(e[0][n])for(var r=0,i=e[0][n].length;r<i;r+=10240)t.push.apply(t,e[0][n].slice(r,r+10240));return t},Jh=Kh,Zh=function(e,t,n){for(var r=[],i=t;i<n;i+=2)r.push(String.fromCharCode(md(e,i)));return r.join("").replace(ih,"")},Qh=Zh,ed=function(e,t,n){for(var r=[],i=t;i<t+n;++i)r.push(("0"+e[i].toString(16)).slice(-2));return r.join("")},td=ed,nd=function(e,t,n){for(var r=[],i=t;i<n;i++)r.push(String.fromCharCode(gd(e,i)));return r.join("")},rd=nd,id=function(e,t){var n=bd(e,t);return n>0?nd(e,t+4,t+4+n-1):""},ad=id,od=function(e,t){var n=bd(e,t);return n>0?nd(e,t+4,t+4+n-1):""},sd=od,ld=function(e,t){var n=2*bd(e,t);return n>0?nd(e,t+4,t+4+n-1):""},cd=ld;$h=Xh=function(e,t){var n=bd(e,t);return n>0?Zh(e,t+4,t+4+n):""};var ud,fd,hd=function(e,t){var n=bd(e,t);return n>0?nd(e,t+4,t+4+n):""},dd=hd;ud=fd=function(e,t){return re(e,t)};var pd=function(e){return Array.isArray(e)};Qf&&(Zh=function(e,t,n){return Buffer.isBuffer(e)?e.toString("utf16le",t,n).replace(ih,""):Qh(e,t,n)},ed=function(e,t,n){return Buffer.isBuffer(e)?e.toString("hex",t,t+n):td(e,t,n)},id=function(e,t){if(!Buffer.isBuffer(e))return ad(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},od=function(e,t){if(!Buffer.isBuffer(e))return sd(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},ld=function(e,t){if(!Buffer.isBuffer(e))return cd(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},$h=function(e,t){if(!Buffer.isBuffer(e))return Xh(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},hd=function(e,t){if(!Buffer.isBuffer(e))return dd(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},nd=function(e,t,n){return Buffer.isBuffer(e)?e.toString("utf8",t,n):rd(e,t,n)},Kh=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):Jh(e)},rh=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)},ud=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):fd(e,t)},pd=function(e){return Buffer.isBuffer(e)||Array.isArray(e)}),"undefined"!=typeof cptable&&(Zh=function(e,t,n){return cptable.utils.decode(1200,e.slice(t,n)).replace(ih,"")},nd=function(e,t,n){return cptable.utils.decode(65001,e.slice(t,n))},id=function(e,t){var n=bd(e,t);return n>0?cptable.utils.decode(zf,e.slice(t+4,t+4+n-1)):""},od=function(e,t){var n=bd(e,t);return n>0?cptable.utils.decode(Uf,e.slice(t+4,t+4+n-1)):""},ld=function(e,t){var n=2*bd(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},$h=function(e,t){var n=bd(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n)):""},hd=function(e,t){var n=bd(e,t);return n>0?cptable.utils.decode(65001,e.slice(t+4,t+4+n)):""});var gd=function(e,t){return e[t]},md=function(e,t){return 256*e[t+1]+e[t]},vd=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},bd=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},yd=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},wd=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]},Sd=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},xd=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},Ed=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255},_d={};!function(e,t){var n;if(void 0!==t)n=t;else if("undefined"!=typeof require)try{n=void 0}catch(e){n=null}e.rc4=function(e,t){var n=new Array(256),r=0,i=0,a=0,s=0;for(i=0;256!=i;++i)n[i]=i;for(i=0;256!=i;++i)a=a+n[i]+e[i%e.length].charCodeAt(0)&255,s=n[i],n[i]=n[a],n[a]=s;i=a=0;var l=o(t.length);for(r=0;r!=t.length;++r)i=i+1&255,a=(a+n[i])%256,s=n[i],n[i]=n[a],n[a]=s,l[r]=t[r]^n[n[i]+n[a]&255];return l},e.md5=function(e){if(!n)throw new Error("Unsupported crypto");return n.createHash("md5").update(e).digest("hex")}}(_d,"undefined"!=typeof crypto?crypto:void 0);var kd=ze,Ad=Me,Cd=je,Td=Me,Rd=$e,Nd=Xe,Bd=Je,Id=Ze,Od=2,Ld=3,Pd=12,Fd=81,Dd=[80,Fd],Md={1:{n:"CodePage",t:Od},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:Ld},5:{n:"LineCount",t:Ld},6:{n:"ParagraphCount",t:Ld},7:{n:"SlideCount",t:Ld},8:{n:"NoteCount",t:Ld},9:{n:"HiddenCount",t:Ld},10:{n:"MultimediaClipCount",t:Ld},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4096|Pd},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Ld},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Ld,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{}},jd={1:{n:"CodePage",t:Od},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Ld},15:{n:"WordCount",t:Ld},16:{n:"CharCount",t:Ld},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:Ld},255:{}},Wd={2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};!function(){for(var e in Wd)Object.prototype.hasOwnProperty.call(Wd,e)&&(Md[e]=jd[e]=Wd[e])}();var Ud=b(Md,"n"),zd=b(jd,"n"),Hd={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Vd=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],qd=function(e){return e.map(function(e){return[e>>16&255,e>>8&255,255&e]})}([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Gd=A(qd),$d={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Xd=w($d),Yd={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Kd=function(){var e={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};return v(e).forEach(function(t){["xlsm","xlam"].forEach(function(n){e[t][n]||(e[t][n]=e[t].xlsx)})}),v(e).forEach(function(t){v(e[t]).forEach(function(n){Yd[e[t][n]]=t})}),e}(),Jd=function(e){for(var t=[],n=v(e),r=0;r!==n.length;++r)null==t[e[n[r]]]&&(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}(Yd);Gh.CT="http://schemas.openxmlformats.org/package/2006/content-types";var Zd=ee("Types",null,{xmlns:Gh.CT,"xmlns:xsd":Gh.xsd,"xmlns:xsi":Gh.xsi}),Qd=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",Jd.rels[0]]].map(function(e){return ee("Default",null,{Extension:e[0],ContentType:e[1]})}),ep={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};Gh.RELS="http://schemas.openxmlformats.org/package/2006/relationships";var tp=ee("Relationships",null,{xmlns:Gh.RELS}),np=[ep.HLINK,ep.XPATH,ep.XMISS],rp="application/vnd.oasis.opendocument.spreadsheet",ip=function(){var t='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+e.version+"</meta:generator></office:meta></office:document-meta>";return function(){return t}}(),ap=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];Gh.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",ep.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var op=function(){for(var e=new Array(ap.length),t=0;t<ap.length;++t){var n=ap[t],r="(?:"+n[0].slice(0,n[0].indexOf(":"))+":)"+n[0].slice(n[0].indexOf(":")+1);e[t]=new RegExp("<"+r+"[^>]*>([\\s\\S]*?)</"+r+">")}return e}(),sp=ee("cp:coreProperties",null,{"xmlns:cp":Gh.CORE_PROPS,"xmlns:dc":Gh.dc,"xmlns:dcterms":Gh.dcterms,"xmlns:dcmitype":Gh.dcmitype,"xmlns:xsi":Gh.xsi}),lp=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];Gh.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",ep.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var cp=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"],up=ee("Properties",null,{xmlns:Gh.EXT_PROPS,"xmlns:vt":Gh.vt});Gh.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",ep.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var fp=/<[^>]+>[^<]*/g,hp=ee("Properties",null,{xmlns:Gh.CUST_PROPS,"xmlns:vt":Gh.vt}),dp={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},pp=y(dp),gp=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(cp),mp=Pn,vp={0:jn,4:jn,5:jn,6:jn,7:Mn,8:jn,9:jn,10:jn,11:jn,12:jn,13:Dn,14:jn,15:jn,16:jn,17:jn,18:jn,19:jn,20:jn,21:Fn},bp=gn,yp=Rn,wp=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"],Sp=[];Sp[8]=function(e,t){var n=e.l+t;e.l+=10;var r=e._R(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var i=e._R(1);return e.l+=i,e.l=n,{fmt:r}};var xp=An,Ep=sn,_p=pn,kp=function(){function e(e,t){var n=[],r=o(1);switch(t.type){case"base64":r=nh(Zf.decode(e));break;case"binary":r=nh(e);break;case"buffer":case"array":r=e}le(r,0);var a=r._R(1),s=!1,l=!1,c=!1;switch(a){case 2:case 3:break;case 48:l=!0,s=!0;break;case 49:l=!0;break;case 131:case 139:s=!0;break;case 140:s=!0,c=!0;break;case 245:s=!0;break;default:throw new Error("DBF Unsupported Version: "+a.toString(16))}var u=0,f=0;2==a&&(u=r._R(2)),r.l+=3,2!=a&&(u=r._R(4)),2!=a&&(f=r._R(2));var h=r._R(2),d=1252;2!=a&&(r.l+=16,r._R(1),0!==r[r.l]&&(d=i[r[r.l]]),r.l+=1,r.l+=2),c&&(r.l+=36);for(var p=[],g={},m=f-10-(l?264:0),v=c?32:11;2==a?r.l<r.length&&13!=r[r.l]:r.l<m;)switch(g={},g.name=cptable.utils.decode(d,r.slice(r.l,r.l+v)).replace(/[\u0000\r\n].*$/g,""),r.l+=v,g.type=String.fromCharCode(r._R(1)),2==a||c||(g.offset=r._R(4)),g.len=r._R(1),2==a&&(g.offset=r._R(2)),g.dec=r._R(1),g.name.length&&p.push(g),2!=a&&(r.l+=c?13:14),g.type){case"B":l&&8==g.len||!t.WTF||console.log("Skipping "+g.name+":"+g.type);break;case"G":case"P":t.WTF&&console.log("Skipping "+g.name+":"+g.type);break;case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":case"0":case"@":case"+":break;default:throw new Error("Unknown Field Type: "+g.type)}if(13!==r[r.l]?r.l=f-1:2==a&&(r.l=521),2!=a){if(13!==r._R(1))throw new Error("DBF Terminator not found "+r.l+" "+r[r.l]);r.l=f}var b=0,y=0;for(n[0]=[],y=0;y!=p.length;++y)n[0][y]=p[y].name;for(;u-- >0;)if(42!==r[r.l])for(++r.l,n[++b]=[],y=0,y=0;y!=p.length;++y){var w=r.slice(r.l,r.l+p[y].len);r.l+=p[y].len,le(w,0);var S=cptable.utils.decode(d,w);switch(p[y].type){case"C":n[b][y]=cptable.utils.decode(d,w),n[b][y]=n[b][y].trim();break;case"D":8===S.length?n[b][y]=new Date(+S.slice(0,4),+S.slice(4,6)-1,+S.slice(6,8)):n[b][y]=S;break;case"F":n[b][y]=parseFloat(S.trim());break;case"+":case"I":n[b][y]=c?2147483648^w._R(-4,"i"):w._R(4,"i");break;case"L":switch(S.toUpperCase()){case"Y":case"T":n[b][y]=!0;break;case"N":case"F":n[b][y]=!1;break;case" ":case"?":n[b][y]=!1;break;default:throw new Error("DBF Unrecognized L:|"+S+"|")}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+a.toString(16));n[b][y]="##MEMO##"+(c?parseInt(S.trim(),10):w._R(4));break;case"N":n[b][y]=+S.replace(/\u0000/g,"").trim();break;case"@":n[b][y]=new Date(w._R(-8,"f")-621356832e5);break;case"T":n[b][y]=new Date(864e5*(w._R(4)-2440588)+w._R(4));break;case"Y":n[b][y]=w._R(4,"i")/1e4;break;case"O":n[b][y]=-w._R(-8,"f");break;case"B":if(l&&8==p[y].len){n[b][y]=w._R(8,"f");break}case"G":case"P":w.l+=p[y].len;break;case"0":if("_NullFlags"===p[y].name)break;default:throw new Error("DBF Unsupported data type "+p[y].type)}}else r.l+=h;if(2!=a&&r.l<r.length&&26!=r[r.l++])throw new Error("DBF EOF Marker missing "+(r.l-1)+" of "+r.length+" "+r[r.l-1].toString(16));return t&&t.sheetRows&&(n=n.slice(0,t.sheetRows)),n}function t(t,n){var r=n||{};return r.dateNF||(r.dateNF="yyyymmdd"),Fe(e(t,r),r)}function n(e,n){try{return Le(t(e,n),n)}catch(e){if(n&&n.WTF)throw e}return{SheetNames:[],Sheets:{}}}function r(e,t){var n=t||{};if(+n.codepage>=0&&$f(+n.codepage),"string"==n.type)throw new Error("Cannot write DBF to JS string");var r=he(),i=Lf(e,{header:1,raw:!0,cellDates:!0}),o=i[0],s=i.slice(1),c=0,u=0,f=0,h=1;for(c=0;c<o.length;++c)if(null!=c){if(++f,"number"==typeof o[c]&&(o[c]=o[c].toString(10)),"string"!=typeof o[c])throw new Error("DBF Invalid column name "+o[c]+" |"+typeof o[c]+"|");if(o.indexOf(o[c])!==c)for(u=0;u<1024;++u)if(-1==o.indexOf(o[c]+"_"+u)){o[c]+="_"+u;break}}var d=Be(e["!ref"]),p=[];for(c=0;c<=d.e.c-d.s.c;++c){var g=[];for(u=0;u<s.length;++u)null!=s[u][c]&&g.push(s[u][c]);if(0!=g.length&&null!=o[c]){var m="",v="";for(u=0;u<g.length;++u){switch(typeof g[u]){case"number":v="B";break;case"string":v="C";break;case"boolean":v="L";break;case"object":v=g[u]instanceof Date?"D":"C";break;default:v="C"}if("C"==(m=m&&m!=v?"C":v))break}h+=l[m]||0,p[c]=m}else p[c]="?"}var b=r.next(32);for(b._W(4,318902576),b._W(4,s.length),b._W(2,296+32*f),b._W(2,h),c=0;c<4;++c)b._W(4,0);for(b._W(4,0|(+a[zf]||3)<<8),c=0,u=0;c<o.length;++c)if(null!=o[c]){var y=r.next(32),w=(o[c].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);y._W(1,w,"sbcs"),y._W(1,"?"==p[c]?"C":p[c],"sbcs"),y._W(4,u),y._W(1,l[p[c]]||0),y._W(1,0),y._W(1,2),y._W(4,0),y._W(1,0),y._W(4,0),y._W(4,0),u+=l[p[c]]||0}var S=r.next(264);for(S._W(4,13),c=0;c<65;++c)S._W(4,0);for(c=0;c<s.length;++c){var x=r.next(h);for(x._W(1,0),u=0;u<o.length;++u)if(null!=o[u])switch(p[u]){case"L":x._W(1,null==s[c][u]?63:s[c][u]?84:70);break;case"B":x._W(8,s[c][u]||0,"f");break;case"D":s[c][u]?(x._W(4,("0000"+s[c][u].getFullYear()).slice(-4),"sbcs"),x._W(2,("00"+(s[c][u].getMonth()+1)).slice(-2),"sbcs"),x._W(2,("00"+s[c][u].getDate()).slice(-2),"sbcs")):x._W(8,"00000000","sbcs");break;case"C":var E=String(s[c][u]||"");for(x._W(1,E,"sbcs"),f=0;f<250-E.length;++f)x._W(1,32)}}return r.next(1)._W(1,26),r.end()}var i={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,255:16969},a=y({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127}),s=[2,3,48,49,131,139,140,245],l={B:8,C:250,L:1,D:8,"?":0,"":0};return{versions:s,to_workbook:n,to_sheet:t,from_sheet:r}}(),Ap=function(){function e(e,n){switch(n.type){case"base64":return t(Zf.decode(e),n);case"binary":return t(e,n);case"buffer":return t(e.toString("binary"),n);case"array":return t(k(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n,r=e.split(/[\n\r]+/),i=-1,a=-1,o=0,s=0,l=[],h=[],d=null,p={},g=[],m=[],v=[],b=0;for(+t.codepage>=0&&$f(+t.codepage);o!==r.length;++o){b=0;var y,w=r[o].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,f).replace(c,u),S=w.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")}),E=S[0];if(w.length>0)switch(E){case"ID":case"E":case"B":case"O":break;case"P":"P"==S[1].charAt(0)&&h.push(w.slice(3).replace(/;;/g,";"));break;case"C":var k=!1,A=!1;for(s=1;s<S.length;++s)switch(S[s].charAt(0)){case"X":a=parseInt(S[s].slice(1))-1,A=!0;break;case"Y":for(i=parseInt(S[s].slice(1))-1,A||(a=0),n=l.length;n<=i;++n)l[n]=[];break;case"K":y=S[s].slice(1),'"'===y.charAt(0)?y=y.slice(1,y.length-1):"TRUE"===y?y=!0:"FALSE"===y?y=!1:isNaN(T(y))?isNaN(R(y).getDate())||(y=_(y)):(y=T(y),null!==d&&oh.is_date(d)&&(y=x(y))),"undefined"!=typeof cptable&&"string"==typeof y&&"string"!=(t||{}).type&&(t||{}).codepage&&(y=cptable.utils.decode(t.codepage,y)),k=!0;break;case"E":var C=gg(S[s].slice(1),{r:i,c:a});l[i][a]=[l[i][a],C];break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+w)}k&&(l[i][a]=y,d=null);break;case"F":var N=0;for(s=1;s<S.length;++s)switch(S[s].charAt(0)){case"X":a=parseInt(S[s].slice(1))-1,++N;break;case"Y":for(i=parseInt(S[s].slice(1))-1,n=l.length;n<=i;++n)l[n]=[];break;case"M":b=parseInt(S[s].slice(1))/20;break;case"F":case"G":break;case"P":d=h[parseInt(S[s].slice(1))];break;case"S":case"D":case"N":break;case"W":for(v=S[s].slice(1).split(" "),n=parseInt(v[0],10);n<=parseInt(v[1],10);++n)b=parseInt(v[2],10),m[n-1]=0===b?{hidden:!0}:{wch:b},Zi(m[n-1]);break;case"C":a=parseInt(S[s].slice(1))-1,m[a]||(m[a]={});break;case"R":i=parseInt(S[s].slice(1))-1,g[i]||(g[i]={}),b>0?(g[i].hpt=b,g[i].hpx=ea(b)):0===b&&(g[i].hidden=!0);break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+w)}N<1&&(d=null);break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+w)}}return g.length>0&&(p["!rows"]=g),m.length>0&&(p["!cols"]=m),
|
||
t&&t.sheetRows&&(l=l.slice(0,t.sheetRows)),[l,p]}function n(t,n){var r=e(t,n),i=r[0],a=r[1],o=Fe(i,n);return v(a).forEach(function(e){o[e]=a[e]}),o}function r(e,t){return Le(n(e,t),t)}function i(e,t,n,r){var i="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":i+=e.v||0,e.f&&!e.F&&(i+=";E"+vg(e.f,{r:n,c:r}));break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"")+'"'}return i}function a(e,t){t.forEach(function(t,n){var r="F;W"+(n+1)+" "+(n+1)+" ";t.hidden?r+="0":("number"==typeof t.width&&(t.wpx=$i(t.width)),"number"==typeof t.wpx&&(t.wch=Xi(t.wpx)),"number"==typeof t.wch&&(r+=Math.round(t.wch)))," "!=r.charAt(r.length-1)&&e.push(r)})}function o(e,t){t.forEach(function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*Qi(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))})}function s(e,t){var n,r=["ID;PWXL;N;E"],s=[],l=Be(e["!ref"]),c=Array.isArray(e),u="\r\n";r.push("P;PGeneral"),r.push("F;P0;DG0G8;M255"),e["!cols"]&&a(r,e["!cols"]),e["!rows"]&&o(r,e["!rows"]),r.push("B;Y"+(l.e.r-l.s.r+1)+";X"+(l.e.c-l.s.c+1)+";D"+[l.s.c,l.s.r,l.e.c,l.e.r].join(" "));for(var f=l.s.r;f<=l.e.r;++f)for(var h=l.s.c;h<=l.e.c;++h){var d=Te({r:f,c:h});n=c?(e[f]||[])[h]:e[d],n&&(null!=n.v||n.f&&!n.F)&&s.push(i(n,e,f,h,t))}return r.join(u)+u+s.join(u)+u+"E"+u}var l={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,B:180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},c=new RegExp("N("+v(l).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),u=function(e,t){var n=l[t];return"number"==typeof n?Kf(n):n},f=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:Kf(r)};return l["|"]=254,{to_workbook:r,to_sheet:n,from_sheet:s}}(),Cp=function(){function e(e,n){switch(n.type){case"base64":return t(Zf.decode(e),n);case"binary":return t(e,n);case"buffer":return t(e.toString("binary"),n);case"array":return t(k(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){for(var n=e.split("\n"),r=-1,i=-1,a=0,o=[];a!==n.length;++a)if("BOT"!==n[a].trim()){if(!(r<0)){var s=n[a].trim().split(","),l=s[0],c=s[1];++a;var u=n[a].trim();switch(+l){case-1:if("BOT"===u){o[++r]=[],i=0;continue}if("EOD"!==u)throw new Error("Unrecognized DIF special command "+u);break;case 0:"TRUE"===u?o[r][i]=!0:"FALSE"===u?o[r][i]=!1:isNaN(T(c))?isNaN(R(c).getDate())?o[r][i]=c:o[r][i]=_(c):o[r][i]=T(c),++i;break;case 1:u=u.slice(1,u.length-1),o[r][i++]=""!==u?u:null}if("EOD"===u)break}}else o[++r]=[],i=0;return t&&t.sheetRows&&(o=o.slice(0,t.sheetRows)),o}function n(t,n){return Fe(e(t,n),n)}function r(e,t){return Le(n(e,t),t)}return{to_workbook:r,to_sheet:n,from_sheet:function(){var e=function(e,t,n,r,i){e.push(t),e.push(n+","+r),e.push('"'+i.replace(/"/g,'""')+'"')},t=function(e,t,n,r){e.push(t+","+n),e.push(1==t?'"'+r.replace(/"/g,'""')+'"':r)};return function(n){var r,i=[],a=Be(n["!ref"]),o=Array.isArray(n);e(i,"TABLE",0,1,"sheetjs"),e(i,"VECTORS",0,a.e.r-a.s.r+1,""),e(i,"TUPLES",0,a.e.c-a.s.c+1,""),e(i,"DATA",0,0,"");for(var s=a.s.r;s<=a.e.r;++s){t(i,-1,0,"BOT");for(var l=a.s.c;l<=a.e.c;++l){var c=Te({r:s,c:l});if(r=o?(n[s]||[])[l]:n[c])switch(r.t){case"n":var u=r.w;u||null==r.v||(u=r.v),null==u?r.f&&!r.F?t(i,1,0,"="+r.f):t(i,1,0,""):t(i,0,u,"V");break;case"b":t(i,0,r.v?1:0,r.v?"TRUE":"FALSE");break;case"s":t(i,1,0,isNaN(r.v)?r.v:'="'+r.v+'"');break;case"d":r.w||(r.w=oh.format(r.z||oh._table[14],S(_(r.v)))),t(i,0,r.w,"V");break;default:t(i,1,0,"")}else t(i,1,0,"")}}t(i,-1,0,"EOD");return i.join("\r\n")}}()}}(),Tp=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function n(t,n){for(var r=t.split("\n"),i=-1,a=-1,o=0,s=[];o!==r.length;++o){var l=r[o].trim().split(":");if("cell"===l[0]){var c=Ce(l[1]);if(s.length<=c.r)for(i=s.length;i<=c.r;++i)s[i]||(s[i]=[]);switch(i=c.r,a=c.c,l[2]){case"t":s[i][a]=e(l[3]);break;case"v":s[i][a]=+l[3];break;case"vtf":var u=l[l.length-1];case"vtc":switch(l[3]){case"nl":s[i][a]=!!+l[4];break;default:s[i][a]=+l[4]}"vtf"==l[2]&&(s[i][a]=[s[i][a],u])}}}return n&&n.sheetRows&&(s=s.slice(0,n.sheetRows)),s}function r(e,t){return Fe(n(e,t),t)}function i(e,t){return Le(r(e,t),t)}function a(e){if(!e||!e["!ref"])return"";for(var n,r=[],i=[],a="",o=Re(e["!ref"]),s=Array.isArray(e),l=o.s.r;l<=o.e.r;++l)for(var c=o.s.c;c<=o.e.c;++c)if(a=Te({r:l,c:c}),(n=s?(e[l]||[])[c]:e[a])&&null!=n.v&&"z"!==n.t){switch(i=["cell",a,"t"],n.t){case"s":case"str":i.push(t(n.v));break;case"n":n.f?(i[2]="vtf",i[3]="n",i[4]=n.v,i[5]=t(n.f)):(i[2]="v",i[3]=n.v);break;case"b":i[2]="vt"+(n.f?"f":"c"),i[3]="nl",i[4]=n.v?"1":"0",i[5]=t(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var u=S(_(n.v));i[2]="vtc",i[3]="nd",i[4]=""+u,i[5]=n.w||oh.format(n.z||oh._table[14],u);break;case"e":continue}r.push(i.join(":"))}return r.push("sheet:c:"+(o.e.c-o.s.c+1)+":r:"+(o.e.r-o.s.r+1)+":tvf:1"),r.push("valueformat:1:text-wiki"),r.join("\n")}function o(e){return[s,l,c,l,a(e),u].join("\n")}var s=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),l=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",c=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),u="--SocialCalcSpreadsheetControlSave--";return{to_workbook:i,to_sheet:r,from_sheet:o}}(),Rp=function(){function e(e,t,n,r,i){i.raw?t[n][r]=e:"TRUE"===e?t[n][r]=!0:"FALSE"===e?t[n][r]=!1:""===e||(isNaN(T(e))?isNaN(R(e).getDate())?t[n][r]=e:t[n][r]=_(e):t[n][r]=T(e))}function t(t,n){var r=n||{},i=[];if(!t||0===t.length)return i;for(var a=t.split(/[\r\n]/),o=a.length-1;o>=0&&0===a[o].length;)--o;for(var s=10,l=0,c=0;c<=o;++c)l=a[c].indexOf(" "),-1==l?l=a[c].length:l++,s=Math.max(s,l);for(c=0;c<=o;++c){i[c]=[];var u=0;for(e(a[c].slice(0,s).trim(),i,c,u,r),u=1;u<=(a[c].length-s)/10+1;++u)e(a[c].slice(s+10*(u-1),s+10*u).trim(),i,c,u,r)}return r.sheetRows&&(i=i.slice(0,r.sheetRows)),i}function n(e){for(var t={},n=!1,r=0,i=0;r<e.length;++r)34==(i=e.charCodeAt(r))?n=!n:!n&&i in l&&(t[i]=(t[i]||0)+1);i=[];for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&i.push([t[r],r]);if(!i.length){t=c;for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&i.push([t[r],r])}return i.sort(function(e,t){return e[0]-t[0]||c[e[1]]-c[t[1]]}),l[i.pop()[1]]}function r(e,t){function r(){var t=e.slice(f,p),n={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)n.t="z";else if(i.raw)n.t="s",n.v=t;else if(0===t.trim().length)n.t="s",n.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(n.t="s",n.v=t.slice(2,-1).replace(/""/g,'"')):mo(t)?(n.t="n",n.f=t.slice(1)):(n.t="s",n.v=t);else if("TRUE"==t)n.t="b",n.v=!0;else if("FALSE"==t)n.t="b",n.v=!1;else if(isNaN(u=T(t)))if(!isNaN(R(t).getDate())||b&&t.match(b)){n.z=i.dateNF||oh._table[14];var r=0;b&&t.match(b)&&(t=d(t,i.dateNF,t.match(b)||[]),r=1),i.cellDates?(n.t="d",n.v=_(t,r)):(n.t="n",n.v=S(_(t,r))),!1!==i.cellText&&(n.w=oh.format(n.z,n.v instanceof Date?S(n.v):n.v)),i.cellNF||delete n.z}else n.t="s",n.v=t;else n.t="n",!1!==i.cellText&&(n.w=t),n.v=u;if("z"==n.t||(i.dense?(o[l]||(o[l]=[]),o[l][c]=n):o[Te({c:c,r:l})]=n),f=p+1,s.e.c<c&&(s.e.c=c),s.e.r<l&&(s.e.r=l),v==g)++c;else if(c=0,++l,i.sheetRows&&i.sheetRows<=l)return!0}var i=t||{},a="";null!=Jf&&null==i.dense&&(i.dense=Jf);var o=i.dense?[]:{},s={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(a=e.charAt(4),e=e.slice(7)):13!=e.charCodeAt(5)&&10!=e.charCodeAt(5)||(a=e.charAt(4),e=e.slice(6)):a=n(e.slice(0,1024));var l=0,c=0,u=0,f=0,p=0,g=a.charCodeAt(0),m=!1,v=0;e=e.replace(/\r\n/gm,"\n");var b=null!=i.dateNF?h(i.dateNF):null;e:for(;p<e.length;++p)switch(v=e.charCodeAt(p)){case 34:m=!m;break;case g:case 10:case 13:if(!m&&r())break e}return p-f>0&&r(),o["!ref"]=Ne(s),o}function i(e,n){return n&&n.PRN?"sep="==e.slice(0,4)?r(e,n):e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?r(e,n):Fe(t(e,n),n):r(e,n)}function a(e,t){var n="",r="string"==t.type?[0,0,0,0]:df(e,t);switch(t.type){case"base64":n=Zf.decode(e);break;case"binary":n=e;break;case"buffer":n=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!=typeof cptable?cptable.utils.decode(t.codepage,e):e.toString("binary");break;case"array":n=k(e);break;case"string":n=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]?n=Ph(n.slice(3)):"binary"==t.type&&"undefined"!=typeof cptable&&t.codepage&&(n=cptable.utils.decode(t.codepage,cptable.utils.encode(1252,n))),"socialcalc:version:"==n.slice(0,19)?Tp.to_sheet("string"==t.type?n:Ph(n),t):i(n,t)}function o(e,t){return Le(a(e,t),t)}function s(e){for(var t,n=[],r=Be(e["!ref"]),i=Array.isArray(e),a=r.s.r;a<=r.e.r;++a){for(var o=[],s=r.s.c;s<=r.e.c;++s){var l=Te({r:a,c:s});if((t=i?(e[a]||[])[s]:e[l])&&null!=t.v){for(var c=(t.w||(Oe(t),t.w)||"").slice(0,10);c.length<10;)c+=" ";o.push(c+(0===s?" ":""))}else o.push(" ")}n.push(o.join(""))}return n.join("\n")}var l={44:",",9:"\t",59:";"},c={44:3,9:2,59:1};return{to_workbook:o,to_sheet:a,from_sheet:s}}(),Np=function(){function e(e,t,n){if(e){le(e,e.l||0);for(var r=n.Enum||v;e.l<e.length;){var i=e._R(2),a=r[i]||r[255],o=e._R(2),s=e.l+o,l=(a.f||ce)(e,o,n);if(e.l=s,t(l,a.n,i))return}}}function t(e,t){switch(t.type){case"base64":return n(nh(Zf.decode(e)),t);case"binary":return n(nh(e),t);case"buffer":case"array":return n(e,t)}throw"Unsupported type "+t.type}function n(t,n){if(!t)return t;var r=n||{};null!=Jf&&null==r.dense&&(r.dense=Jf);var i=r.dense?[]:{},a="Sheet1",o=0,s={},l=[a],c={s:{r:0,c:0},e:{r:0,c:0}},u=r.sheetRows||0;if(2==t[2])r.Enum=v;else if(26==t[2])r.Enum=b;else{if(14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);r.Enum=b,r.qpro=!0,t.l=0}return e(t,function(e,n,f){if(2==t[2])switch(f){case 0:r.vers=e,e>=4096&&(r.qpro=!0);break;case 6:c=e;break;case 15:r.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:case 51:14==f&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=r.dateNF||oh._table[14],r.cellDates&&(e[1].t="d",e[1].v=x(e[1].v))),r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[Te(e[0])]=e[1]}else switch(f){case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>o&&(i["!ref"]=Ne(c),s[a]=i,i=r.dense?[]:{},c={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],a="Sheet"+(o+1),l.push(a)),u>0&&e[0].r>=u)break;r.dense?(i[e[0].r]||(i[e[0].r]=[]),i[e[0].r][e[0].c]=e[1]):i[Te(e[0])]=e[1],c.e.c<e[0].c&&(c.e.c=e[0].c),c.e.r<e[0].r&&(c.e.r=e[0].r)}},r),i["!ref"]=Ne(c),s[a]=i,{SheetNames:l,Sheets:s}}function r(e){var t={s:{c:0,r:0},e:{c:0,r:0}};return t.s.c=e._R(2),t.s.r=e._R(2),t.e.c=e._R(2),t.e.r=e._R(2),65535==t.s.c&&(t.s.c=t.e.c=t.s.r=t.e.r=0),t}function i(e,t,n){var r=[{c:0,r:0},{t:"n",v:0},0];return n.qpro&&20768!=n.vers?(r[0].c=e._R(1),e.l++,r[0].r=e._R(2),e.l+=2):(r[2]=e._R(1),r[0].c=e._R(2),r[0].r=e._R(2)),r}function a(e,t,n){var r=e.l+t,a=i(e,t,n);if(a[1].t="s",20768==n.vers){e.l++;var o=e._R(1);return a[1].v=e._R(o,"utf8"),a}return n.qpro&&e.l++,a[1].v=e._R(r-e.l,"cstr"),a}function o(e,t,n){var r=i(e,t,n);return r[1].v=e._R(2,"i"),r}function s(e,t,n){var r=i(e,t,n);return r[1].v=e._R(8,"f"),r}function l(e,t,n){var r=e.l+t,a=i(e,t,n);if(a[1].v=e._R(8,"f"),n.qpro)e.l=r;else{var o=e._R(2);e.l+=o}return a}function c(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e._R(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function u(e,t){var n=c(e,t);return n[1].t="s",n[1].v=e._R(t-4,"cstr"),n}function f(e,t){var n=c(e,t);n[1].v=e._R(2);var r=n[1].v>>1;if(1&n[1].v)switch(7&r){case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 4:r=(r>>3)/2e3;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64;break;default:throw"unknown NUMBER_18 encoding "+(7&r)}return n[1].v=r,n}function h(e,t){var n=c(e,t),r=e._R(4),i=e._R(4),a=e._R(2);if(65535==a)return n[1].v=0,n;var o=32768&a;return a=(32767&a)-16446,n[1].v=(2*o-1)*((a>0?i<<a:i>>>-a)+(a>-32?r<<a+32:r>>>-(a+32))),n}function d(e,t){var n=h(e,14);return e.l+=t-14,n}function p(e,t){var n=c(e,t),r=e._R(4);return n[1].v=r>>6,n}function g(e,t){var n=c(e,t),r=e._R(8,"f");return n[1].v=r,n}function m(e,t){var n=g(e,14);return e.l+=t-10,n}var v={0:{n:"BOF",f:an},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:r},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:o},14:{n:"NUMBER",f:s},15:{n:"LABEL",f:a},16:{n:"FORMULA",f:l},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:a},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},255:{n:"",f:ce}},b={0:{n:"BOF"},1:{n:"EOF"},3:{n:"??"},4:{n:"??"},5:{n:"??"},6:{n:"??"},7:{n:"??"},9:{n:"??"},10:{n:"??"},11:{n:"??"},12:{n:"??"},14:{n:"??"},15:{n:"??"},16:{n:"??"},17:{n:"??"},18:{n:"??"},19:{n:"??"},21:{n:"??"},22:{n:"LABEL16",f:u},23:{n:"NUMBER17",f:h},24:{n:"NUMBER18",f:f},25:{n:"FORMULA19",f:d},26:{n:"??"},27:{n:"??"},28:{n:"??"},29:{n:"??"},30:{n:"??"},31:{n:"??"},33:{n:"??"},37:{n:"NUMBER25",f:p},39:{n:"NUMBER27",f:g},40:{n:"FORMULA28",f:m},255:{n:"",f:ce}};return{to_workbook:t}}(),Bp=function(){function e(e){var r=e.match(t);if(!r)return{t:"s",v:""};var i={t:"s",v:Rh(r[1])},a=e.match(n);return a&&(i.s=pi(a[1])),i}var t=Wh("t"),n=Wh("rPr"),r=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(t){return t.replace(r,"").split(i).map(e).filter(function(e){return e.v})}}(),Ip=function(){function e(e,t,n){var r=[];e.u&&r.push("text-decoration: underline;"),e.uval&&r.push("text-underline-style:"+e.uval+";"),e.sz&&r.push("font-size:"+e.sz+"pt;"),e.outline&&r.push("text-effect: outline;"),e.shadow&&r.push("text-shadow: auto;"),t.push('<span style="'+r.join("")+'">'),e.b&&(t.push("<b>"),n.push("</b>")),e.i&&(t.push("<i>"),n.push("</i>")),e.strike&&(t.push("<s>"),n.push("</s>"));var i=e.valign||"";return"superscript"==i||"super"==i?i="sup":"subscript"==i&&(i="sub"),""!=i&&(t.push("<"+i+">"),n.push("</"+i+">")),n.push("</span>"),e}function t(t){var r=[[],t.v,[]];return t.v?(t.s&&e(t.s,r[0],r[2]),r[0].join("")+r[1].replace(n,"<br/>")+r[2].join("")):""}var n=/(\r\n|\n)/g;return function(e){return e.map(t).join("")}}(),Op=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Lp=/<(?:\w+:)?r>/,Pp=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g,Fp=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Dp=/<(?:\w+:)?(?:si|sstItem)>/g,Mp=/<\/(?:\w+:)?(?:si|sstItem)>/;ep.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var jp=/^\s|\s$|[\t\n\r]/,Wp=He,Up=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],n=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],r=function(e){return 255&(e/2|128*e)},i=function(e,t){return r(e^t)},a=function(e){for(var r=t[e.length-1],i=104,a=e.length-1;a>=0;--a)for(var o=e[a],s=0;7!=s;++s)64&o&&(r^=n[i]),o*=2,--i;return r};return function(t){for(var n=xi(t),r=a(n),s=n.length,l=o(16),c=0;16!=c;++c)l[c]=0;var u,f,h;for(1==(1&s)&&(u=r>>8,l[s]=i(e[0],u),--s,u=255&r,f=n[n.length-1],l[s]=i(f,u));s>0;)--s,u=r>>8,l[s]=i(n[s],u),--s,u=255&r,l[s]=i(n[s],u);for(s=15,h=15-n.length;h>0;)u=r>>8,l[s]=i(e[h],u),--s,--h,u=255&r,l[s]=i(n[s],u),--s,--h;return l}}(),zp=function(e,t,n,r,i){i||(i=t),r||(r=Up(e));var a,o;for(a=0;a!=t.length;++a)o=t[a],o^=r[n],o=255&(o>>5|o<<3),i[a]=o,++n;return[i,n,r]},Hp=function(e){var t=0,n=Up(e);return function(e){var r=zp("",e,t,n);return t=r[1],r[0]}},Vp=function(){function e(e,n){switch(n.type){case"base64":return t(Zf.decode(e),n);case"binary":return t(e,n);case"buffer":return t(e.toString("binary"),n);case"array":return t(k(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=t||{},r=n.dense?[]:{},i={s:{c:0,r:0},e:{c:0,r:0}};if(!e.match(/\\trowd/))throw new Error("RTF missing table");return r["!ref"]=Ne(i),r}function n(t,n){return Le(e(t,n),n)}function r(e){for(var t,n=["{\\rtf1\\ansi"],r=Be(e["!ref"]),i=Array.isArray(e),a=r.s.r;a<=r.e.r;++a){n.push("\\trowd\\trautofit1");for(var o=r.s.c;o<=r.e.c;++o)n.push("\\cellx"+(o+1));for(n.push("\\pard\\intbl"),o=r.s.c;o<=r.e.c;++o){var s=Te({r:a,c:o});t=i?(e[a]||[])[o]:e[s],t&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(Oe(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}return{to_workbook:n,to_sheet:e,from_sheet:r}}(),qp=6,Gp=15,$p=1,Xp=qp,Yp=96,Kp={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"},Jp=["numFmtId","fillId","fontId","borderId","xfId"],Zp=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"],Qp=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,r=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(a,o,s){var l={};if(!a)return l;a=a.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var c;return(c=a.match(e))&&ia(c,l,s),(c=a.match(r))&&ra(c,l,o,s),(c=a.match(n))&&na(c,l,o,s),(c=a.match(i))&&ta(c,l,o,s),(c=a.match(t))&&oa(c,l,s),l}}(),eg=ee("styleSheet",null,{xmlns:Gh.main[0],"xmlns:vt":Gh.vt});ep.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";var tg=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],ng=y(tg),rg=ce,ig=ce;ep.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var ag=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"],og=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,sg=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,lg=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/,cg=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;ep.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",ep.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";var ug=1024;ep.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";var fg=ee("comments",null,{xmlns:Gh.main[0]}),hg=Me,dg="application/vnd.ms-office.vbaProject",pg=["xlsb","xlsm","xlam","biff8","xla"];ep.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",ep.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";var gg=function(){function e(e,t,r,i){var a=!1,o=!1;0==r.length?o=!0:"["==r.charAt(0)&&(o=!0,r=r.slice(1,-1)),0==i.length?a=!0:"["==i.charAt(0)&&(a=!0,i=i.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=i.length>0?0|parseInt(i,10):0;return a?l+=n.c:--l,o?s+=n.r:--s,t+(a?"":"$")+Ee(l)+(o?"":"$")+ye(s)}var t=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,n={r:0,c:0};return function(r,i){return n=i,r.replace(t,e)}}(),mg=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,vg=function(){return function(e,t){return e.replace(mg,function(e,n,r,i,a,o){var s=xe(i)-(r?0:t.c),l=be(o)-(a?0:t.r);return n+"R"+(0==l?"":a?l+1:"["+l+"]")+"C"+(0==s?"":r?s+1:"["+s+"]")})}}(),bg=ce,yg=ce,wg=ce,Sg=hs,xg=ds,Eg=ds,_g=hs,kg=hs,Ag=ps,Cg=ds,Tg=hs,Rg=hs,Ng=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],Bg={1:{n:"PtgExp",f:Ko},2:{n:"PtgTbl",f:wg},3:{n:"PtgAdd",f:bo},4:{n:"PtgSub",f:bo},5:{n:"PtgMul",f:bo},6:{n:"PtgDiv",f:bo},7:{n:"PtgPower",f:bo},8:{n:"PtgConcat",f:bo},9:{n:"PtgLt",f:bo},10:{n:"PtgLe",f:bo},11:{n:"PtgEq",f:bo},12:{n:"PtgGe",f:bo},13:{n:"PtgGt",f:bo},14:{n:"PtgNe",f:bo},15:{n:"PtgIsect",f:bo},16:{n:"PtgUnion",f:bo},17:{n:"PtgRange",f:bo},18:{n:"PtgUplus",f:bo},19:{n:"PtgUminus",f:bo},20:{n:"PtgPercent",f:bo},21:{n:"PtgParen",f:bo},22:{n:"PtgMissArg",f:bo},23:{n:"PtgStr",f:ts},26:{n:"PtgSheet",f:vs},27:{n:"PtgEndSheet",f:bs},28:{n:"PtgErr",f:Jo},29:{n:"PtgBool",f:Qo},30:{n:"PtgInt",f:Zo},31:{n:"PtgNum",f:es},32:{n:"PtgArray",f:Oo},33:{n:"PtgFunc",f:Go},34:{n:"PtgFuncVar",f:$o},35:{n:"PtgName",f:as},36:{n:"PtgRef",f:Ho},37:{n:"PtgArea",f:To},38:{n:"PtgMemArea",f:ls},39:{n:"PtgMemErr",f:bg},40:{n:"PtgMemNoMem",f:yg},41:{n:"PtgMemFunc",f:cs},42:{n:"PtgRefErr",f:us},43:{n:"PtgAreaErr",f:No},44:{n:"PtgRefN",f:Vo},45:{n:"PtgAreaN",f:Io},46:{n:"PtgMemAreaN",f:ys},47:{n:"PtgMemNoMemN",f:ws},57:{n:"PtgNameX",f:os},58:{n:"PtgRef3d",f:qo},59:{n:"PtgArea3d",f:Ro},60:{n:"PtgRefErr3d",f:fs},61:{n:"PtgAreaErr3d",f:Bo},255:{}},Ig={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};!function(){for(var e in Ig)Bg[e]=Bg[Ig[e]]}();var Og={1:{n:"PtgElfLel",f:ps},2:{n:"PtgElfRw",f:Tg},3:{n:"PtgElfCol",f:Sg},6:{n:"PtgElfRwV",f:Rg},7:{n:"PtgElfColV",f:_g},10:{n:"PtgElfRadical",f:kg},11:{n:"PtgElfRadicalS",f:Cg},13:{n:"PtgElfColS",f:xg},15:{n:"PtgElfColSV",f:Eg},16:{n:"PtgElfRadicalLel",f:Ag},25:{n:"PtgList",f:gs},29:{n:"PtgSxName",f:ms},255:{}},Lg={0:{n:"PtgAttrNoop",f:Ss},1:{n:"PtgAttrSemi",f:jo},2:{n:"PtgAttrIf",f:Do},4:{n:"PtgAttrChoose",f:Po},8:{n:"PtgAttrGoto",f:Fo},16:{n:"PtgAttrSum",f:Yo},32:{n:"PtgAttrBaxcel",f:Lo},64:{n:"PtgAttrSpace",f:Uo},65:{n:"PtgAttrSpaceSemi",f:zo},128:{n:"PtgAttrIfError",f:Mo},255:{}};Lg[33]=Lg[32];var Pg={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},Fg=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/),Dg=Ds,Mg=Ds,jg=Ds,Wg=Ds,Ug={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},zg={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",
|
||
65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Hg={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0},Vg={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONCAT":"CONCAT","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORECAST.ETS":"FORECAST.ETS","_xlfn.FORECAST.ETS.CONFINT":"FORECAST.ETS.CONFINT","_xlfn.FORECAST.ETS.SEASONALITY":"FORECAST.ETS.SEASONALITY","_xlfn.FORECAST.ETS.STAT":"FORECAST.ETS.STAT","_xlfn.FORECAST.LINEAR":"FORECAST.LINEAR","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFERROR":"IFERROR","_xlfn.IFNA":"IFNA","_xlfn.IFS":"IFS","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MAXIFS":"MAXIFS","_xlfn.MINIFS":"MINIFS","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.SWITCH":"SWITCH","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.TEXTJOIN":"TEXTJOIN","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"},qg={},Gg={};ep.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var $g="undefined"!=typeof Map,Xg=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Yg=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Kg=/<(?:\w:)?hyperlink [^>]*>/gm,Jg=/"(\w*:\w*)"/,Zg=/<(?:\w:)?col\b[^>]*[\/]?>/g,Qg=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,em=/<(?:\w:)?pageMargins[^>]*\/>/g,tm=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,nm=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/,rm=["objects","scenarios","selectLockedCells","selectUnlockedCells"],im=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"],am=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/,om=function(){var e=/<(?:\w+:)?c[ >]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,r=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,a=Wh("v"),o=Wh("f");return function(s,l,c,u,f,h){for(var d,p,g,m,v,b=0,y="",w=[],E=[],k=0,A=0,C=0,T="",R=0,N=0,B=0,I=0,O=Array.isArray(h.CellXf),L=[],P=[],F=Array.isArray(l),D=[],M={},j=!1,W=!!c.sheetStubs,U=s.split(t),z=0,V=U.length;z!=V;++z){y=U[z].trim();var q=y.length;if(0!==q){for(b=0;b<q&&62!==y.charCodeAt(b);++b);if(++b,p=H(y.slice(0,b),!0),R=null!=p.r?parseInt(p.r,10):R+1,N=-1,!(c.sheetRows&&c.sheetRows<R)){u.s.r>R-1&&(u.s.r=R-1),u.e.r<R-1&&(u.e.r=R-1),c&&c.cellStyles&&(M={},j=!1,p.ht&&(j=!0,M.hpt=parseFloat(p.ht),M.hpx=ea(M.hpt)),"1"==p.hidden&&(j=!0,M.hidden=!0),null!=p.outlineLevel&&(j=!0,M.level=+p.outlineLevel),j&&(D[R-1]=M)),w=y.slice(b).split(e);for(var G=0;G!=w.length&&"<"==w[G].trim().charAt(0);++G);for(w=w.slice(G),b=0;b!=w.length;++b)if(y=w[b].trim(),0!==y.length){if(E=y.match(n),k=b,A=0,C=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=E&&2===E.length){for(k=0,T=E[1],A=0;A!=T.length&&!((C=T.charCodeAt(A)-64)<1||C>26);++A)k=26*k+C;--k,N=k}else++N;for(A=0;A!=y.length&&62!==y.charCodeAt(A);++A);if(++A,p=H(y.slice(0,A),!0),p.r||(p.r=Te({r:R-1,c:N})),T=y.slice(A),d={t:""},null!=(E=T.match(a))&&""!==E[1]&&(d.v=Rh(E[1])),c.cellFormula){if(null!=(E=T.match(o))&&""!==E[1]){if(d.f=Rh(Ph(E[1])).replace(/\r\n/g,"\n"),c.xlfn||(d.f=vo(d.f)),E[0].indexOf('t="array"')>-1)d.F=(T.match(i)||[])[1],d.F.indexOf(":")>-1&&L.push([Be(d.F),d.F]);else if(E[0].indexOf('t="shared"')>-1){m=H(E[0]);var $=Rh(Ph(E[1]));c.xlfn||($=vo($)),P[parseInt(m.si,10)]=[m,$,p.r]}}else(E=T.match(/<f[^>]*\/>/))&&(m=H(E[0]),P[m.si]&&(d.f=go(P[m.si][1],P[m.si][2],p.r)));var Y=Ce(p.r);for(A=0;A<L.length;++A)Y.r>=L[A][0].s.r&&Y.r<=L[A][0].e.r&&Y.c>=L[A][0].s.c&&Y.c<=L[A][0].e.c&&(d.F=L[A][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!W)continue;d.t="z"}else d.t=p.t||"n";switch(u.s.c>N&&(u.s.c=N),u.e.c<N&&(u.e.c=N),d.t){case"n":if(""==d.v||null==d.v){if(!W)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if(void 0===d.v){if(!W)continue;d.t="z"}else g=qg[parseInt(d.v,10)],d.v=g.t,d.r=g.r,c.cellHTML&&(d.h=g.h);break;case"str":d.t="s",d.v=null!=d.v?Ph(d.v):"",c.cellHTML&&(d.h=X(d.v));break;case"inlineStr":E=T.match(r),d.t="s",null!=E&&(g=gi(E[1]))?(d.v=g.t,c.cellHTML&&(d.h=g.h)):d.v="";break;case"b":d.v=K(d.v);break;case"d":c.cellDates?d.v=_(d.v,1):(d.v=S(_(d.v,1)),d.t="n");break;case"e":c&&!1===c.cellText||(d.w=d.v),d.v=Xd[d.v]}if(B=I=0,v=null,O&&void 0!==p.s&&null!=(v=h.CellXf[p.s])&&(null!=v.numFmtId&&(B=v.numFmtId),c.cellStyles&&null!=v.fillId&&(I=v.fillId)),Gs(d,B,I,c,f,h),c.cellDates&&O&&"n"==d.t&&oh.is_date(oh._table[B])&&(d.t="d",d.v=x(d.v)),F){var J=Ce(p.r);l[J.r]||(l[J.r]=[]),l[J.r][J.c]=d}else l[p.r]=d}}}}D.length>0&&(l["!rows"]=D)}}(),sm=ee("worksheet",null,{xmlns:Gh.main[0],"xmlns:r":Gh.r}),lm=Bd,cm=Id,um=Bd,fm=Id,hm=["left","right","top","bottom","header","footer"];ep.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",ep.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx",ep.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";var dm=(ee("chartsheet",null,{xmlns:Gh.main[0],"xmlns:r":Gh.r}),[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]]),pm=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],gm=[],mm=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]],vm="][*?/\\".split(""),bm=/<\w+:workbook/,ym=ee("workbook",null,{xmlns:Gh.main[0],"xmlns:r":Gh.r}),wm=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Sm=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/,xm=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,Em={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"},_m={0:{n:"BrtRowHdr",f:hl},1:{n:"BrtCellBlank",f:bl},2:{n:"BrtCellRk",f:Cl},3:{n:"BrtCellError",f:xl},4:{n:"BrtCellBool",f:wl},5:{n:"BrtCellReal",f:kl},6:{n:"BrtCellSt",f:Rl},7:{n:"BrtCellIsst",f:El},8:{n:"BrtFmlaString",f:Ll},9:{n:"BrtFmlaNum",f:Ol},10:{n:"BrtFmlaBool",f:Bl},11:{n:"BrtFmlaError",f:Il},16:{n:"BrtFRTArchID$",f:Cc},19:{n:"BrtSSTItem",f:ze},20:{n:"BrtPCDIMissing"},21:{n:"BrtPCDINumber"},22:{n:"BrtPCDIBoolean"},23:{n:"BrtPCDIError"},24:{n:"BrtPCDIString"},25:{n:"BrtPCDIDatetime"},26:{n:"BrtPCDIIndex"},27:{n:"BrtPCDIAMissing"},28:{n:"BrtPCDIANumber"},29:{n:"BrtPCDIABoolean"},30:{n:"BrtPCDIAError"},31:{n:"BrtPCDIAString"},32:{n:"BrtPCDIADatetime"},33:{n:"BrtPCRRecord"},34:{n:"BrtPCRRecordDt"},35:{n:"BrtFRTBegin"},36:{n:"BrtFRTEnd"},37:{n:"BrtACBegin"},38:{n:"BrtACEnd"},39:{n:"BrtName",f:Tc},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:fa},44:{n:"BrtFmt",f:ca},45:{n:"BrtFill",f:rg},46:{n:"BrtBorder",f:ig},47:{n:"BrtXF",f:pa},48:{n:"BrtStyle"},49:{n:"BrtCellMeta"},50:{n:"BrtValueMeta"},51:{n:"BrtMdb"},52:{n:"BrtBeginFmd"},53:{n:"BrtEndFmd"},54:{n:"BrtBeginMdx"},55:{n:"BrtEndMdx"},56:{n:"BrtBeginMdxTuple"},57:{n:"BrtEndMdxTuple"},58:{n:"BrtMdxMbrIstr"},59:{n:"BrtStr"},60:{n:"BrtColInfo",f:ei},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:$a},64:{n:"BrtDVal",f:Xl},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},129:{n:"BrtBeginSheet"},130:{n:"BrtEndSheet"},131:{n:"BrtBeginBook",f:ce,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:Vl},138:{n:"BrtEndWsView"},139:{n:"BrtBeginCsViews"},140:{n:"BrtEndCsViews"},141:{n:"BrtBeginCsView"},142:{n:"BrtEndCsView"},143:{n:"BrtBeginBundleShs"},144:{n:"BrtEndBundleShs"},145:{n:"BrtBeginSheetData"},146:{n:"BrtEndSheetData"},147:{n:"BrtWsProp",f:ml},148:{n:"BrtWsDim",f:lm,p:16},151:{n:"BrtPane",f:Ml},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:kc},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:Ec},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:bi},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:Bd},162:{n:"BrtEndAFilter"},163:{n:"BrtBeginFilterColumn"},164:{n:"BrtEndFilterColumn"},165:{n:"BrtBeginFilters"},166:{n:"BrtEndFilters"},167:{n:"BrtFilter"},168:{n:"BrtColorFilter"},169:{n:"BrtIconFilter"},170:{n:"BrtTop10Filter"},171:{n:"BrtDynamicFilter"},172:{n:"BrtBeginCustomFilters"},173:{n:"BrtEndCustomFilters"},174:{n:"BrtCustomFilter"},175:{n:"BrtAFilterDateGroupItem"},176:{n:"BrtMergeCell",f:um},177:{n:"BrtBeginMergeCells"},178:{n:"BrtEndMergeCells"},179:{n:"BrtBeginPivotCacheDef"},180:{n:"BrtEndPivotCacheDef"},181:{n:"BrtBeginPCDFields"},182:{n:"BrtEndPCDFields"},183:{n:"BrtBeginPCDField"},184:{n:"BrtEndPCDField"},185:{n:"BrtBeginPCDSource"},186:{n:"BrtEndPCDSource"},187:{n:"BrtBeginPCDSRange"},188:{n:"BrtEndPCDSRange"},189:{n:"BrtBeginPCDFAtbl"},190:{n:"BrtEndPCDFAtbl"},191:{n:"BrtBeginPCDIRun"},192:{n:"BrtEndPCDIRun"},193:{n:"BrtBeginPivotCacheRecords"},194:{n:"BrtEndPivotCacheRecords"},195:{n:"BrtBeginPCDHierarchies"},196:{n:"BrtEndPCDHierarchies"},197:{n:"BrtBeginPCDHierarchy"},198:{n:"BrtEndPCDHierarchy"},199:{n:"BrtBeginPCDHFieldsUsage"},200:{n:"BrtEndPCDHFieldsUsage"},201:{n:"BrtBeginExtConnection"},202:{n:"BrtEndExtConnection"},203:{n:"BrtBeginECDbProps"},204:{n:"BrtEndECDbProps"},205:{n:"BrtBeginECOlapProps"},206:{n:"BrtEndECOlapProps"},207:{n:"BrtBeginPCDSConsol"},208:{n:"BrtEndPCDSConsol"},209:{n:"BrtBeginPCDSCPages"},210:{n:"BrtEndPCDSCPages"},211:{n:"BrtBeginPCDSCPage"},212:{n:"BrtEndPCDSCPage"},213:{n:"BrtBeginPCDSCPItem"},214:{n:"BrtEndPCDSCPItem"},215:{n:"BrtBeginPCDSCSets"},216:{n:"BrtEndPCDSCSets"},217:{n:"BrtBeginPCDSCSet"},218:{n:"BrtEndPCDSCSet"},219:{n:"BrtBeginPCDFGroup"},220:{n:"BrtEndPCDFGroup"},221:{n:"BrtBeginPCDFGItems"},222:{n:"BrtEndPCDFGItems"},223:{n:"BrtBeginPCDFGRange"},224:{n:"BrtEndPCDFGRange"},225:{n:"BrtBeginPCDFGDiscrete"},226:{n:"BrtEndPCDFGDiscrete"},227:{n:"BrtBeginPCDSDTupleCache"},228:{n:"BrtEndPCDSDTupleCache"},229:{n:"BrtBeginPCDSDTCEntries"},230:{n:"BrtEndPCDSDTCEntries"},231:{n:"BrtBeginPCDSDTCEMembers"},232:{n:"BrtEndPCDSDTCEMembers"},233:{n:"BrtBeginPCDSDTCEMember"},234:{n:"BrtEndPCDSDTCEMember"},235:{n:"BrtBeginPCDSDTCQueries"},236:{n:"BrtEndPCDSDTCQueries"},237:{n:"BrtBeginPCDSDTCQuery"},238:{n:"BrtEndPCDSDTCQuery"},239:{n:"BrtBeginPCDSDTCSets"},240:{n:"BrtEndPCDSDTCSets"},241:{n:"BrtBeginPCDSDTCSet"},242:{n:"BrtEndPCDSDTCSet"},243:{n:"BrtBeginPCDCalcItems"},244:{n:"BrtEndPCDCalcItems"},245:{n:"BrtBeginPCDCalcItem"},246:{n:"BrtEndPCDCalcItem"},247:{n:"BrtBeginPRule"},248:{n:"BrtEndPRule"},249:{n:"BrtBeginPRFilters"},250:{n:"BrtEndPRFilters"},251:{n:"BrtBeginPRFilter"},252:{n:"BrtEndPRFilter"},253:{n:"BrtBeginPNames"},254:{n:"BrtEndPNames"},255:{n:"BrtBeginPName"},256:{n:"BrtEndPName"},257:{n:"BrtBeginPNPairs"},258:{n:"BrtEndPNPairs"},259:{n:"BrtBeginPNPair"},260:{n:"BrtEndPNPair"},261:{n:"BrtBeginECWebProps"},262:{n:"BrtEndECWebProps"},263:{n:"BrtBeginEcWpTables"},264:{n:"BrtEndECWPTables"},265:{n:"BrtBeginECParams"},266:{n:"BrtEndECParams"},267:{n:"BrtBeginECParam"},268:{n:"BrtEndECParam"},269:{n:"BrtBeginPCDKPIs"},270:{n:"BrtEndPCDKPIs"},271:{n:"BrtBeginPCDKPI"},272:{n:"BrtEndPCDKPI"},273:{n:"BrtBeginDims"},274:{n:"BrtEndDims"},275:{n:"BrtBeginDim"},276:{n:"BrtEndDim"},277:{n:"BrtIndexPartEnd"},278:{n:"BrtBeginStyleSheet"},279:{n:"BrtEndStyleSheet"},280:{n:"BrtBeginSXView"},281:{n:"BrtEndSXVI"},282:{n:"BrtBeginSXVI"},283:{n:"BrtBeginSXVIs"},284:{n:"BrtEndSXVIs"},285:{n:"BrtBeginSXVD"},286:{n:"BrtEndSXVD"},287:{n:"BrtBeginSXVDs"},288:{n:"BrtEndSXVDs"},289:{n:"BrtBeginSXPI"},290:{n:"BrtEndSXPI"},291:{n:"BrtBeginSXPIs"},292:{n:"BrtEndSXPIs"},293:{n:"BrtBeginSXDI"},294:{n:"BrtEndSXDI"},295:{n:"BrtBeginSXDIs"},296:{n:"BrtEndSXDIs"},297:{n:"BrtBeginSXLI"},298:{n:"BrtEndSXLI"},299:{n:"BrtBeginSXLIRws"},300:{n:"BrtEndSXLIRws"},301:{n:"BrtBeginSXLICols"},302:{n:"BrtEndSXLICols"},303:{n:"BrtBeginSXFormat"},304:{n:"BrtEndSXFormat"},305:{n:"BrtBeginSXFormats"},306:{n:"BrtEndSxFormats"},307:{n:"BrtBeginSxSelect"},308:{n:"BrtEndSxSelect"},309:{n:"BrtBeginISXVDRws"},310:{n:"BrtEndISXVDRws"},311:{n:"BrtBeginISXVDCols"},312:{n:"BrtEndISXVDCols"},313:{n:"BrtEndSXLocation"},314:{n:"BrtBeginSXLocation"},315:{n:"BrtEndSXView"},316:{n:"BrtBeginSXTHs"},317:{n:"BrtEndSXTHs"},318:{n:"BrtBeginSXTH"},319:{n:"BrtEndSXTH"},320:{n:"BrtBeginISXTHRws"},321:{n:"BrtEndISXTHRws"},322:{n:"BrtBeginISXTHCols"},323:{n:"BrtEndISXTHCols"},324:{n:"BrtBeginSXTDMPS"},325:{n:"BrtEndSXTDMPs"},326:{n:"BrtBeginSXTDMP"},327:{n:"BrtEndSXTDMP"},328:{n:"BrtBeginSXTHItems"},329:{n:"BrtEndSXTHItems"},330:{n:"BrtBeginSXTHItem"},331:{n:"BrtEndSXTHItem"},332:{n:"BrtBeginMetadata"},333:{n:"BrtEndMetadata"},334:{n:"BrtBeginEsmdtinfo"},335:{n:"BrtMdtinfo"},336:{n:"BrtEndEsmdtinfo"},337:{n:"BrtBeginEsmdb"},338:{n:"BrtEndEsmdb"},339:{n:"BrtBeginEsfmd"},340:{n:"BrtEndEsfmd"},341:{n:"BrtBeginSingleCells"},342:{n:"BrtEndSingleCells"},343:{n:"BrtBeginList"},344:{n:"BrtEndList"},345:{n:"BrtBeginListCols"},346:{n:"BrtEndListCols"},347:{n:"BrtBeginListCol"},348:{n:"BrtEndListCol"},349:{n:"BrtBeginListXmlCPr"},350:{n:"BrtEndListXmlCPr"},351:{n:"BrtListCCFmla"},352:{n:"BrtListTrFmla"},353:{n:"BrtBeginExternals"},354:{n:"BrtEndExternals"},355:{n:"BrtSupBookSrc",f:Rd},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:Ir},363:{n:"BrtExternTableStart"},364:{n:"BrtExternTableEnd"},366:{n:"BrtExternRowHdr"},367:{n:"BrtExternCellBlank"},368:{n:"BrtExternCellReal"},369:{n:"BrtExternCellBool"},370:{n:"BrtExternCellError"},371:{n:"BrtExternCellString"},372:{n:"BrtBeginEsmdx"},373:{n:"BrtEndEsmdx"},374:{n:"BrtBeginMdxSet"},375:{n:"BrtEndMdxSet"},376:{n:"BrtBeginMdxMbrProp"},377:{n:"BrtEndMdxMbrProp"},378:{n:"BrtBeginMdxKPI"},379:{n:"BrtEndMdxKPI"},380:{n:"BrtBeginEsstr"},381:{n:"BrtEndEsstr"},382:{n:"BrtBeginPRFItem"},383:{n:"BrtEndPRFItem"},384:{n:"BrtBeginPivotCacheIDs"},385:{n:"BrtEndPivotCacheIDs"},386:{n:"BrtBeginPivotCacheID"},387:{n:"BrtEndPivotCacheID"},388:{n:"BrtBeginISXVIs"},389:{n:"BrtEndISXVIs"},390:{n:"BrtBeginColInfos"},391:{n:"BrtEndColInfos"},392:{n:"BrtBeginRwBrk"},393:{n:"BrtEndRwBrk"},394:{n:"BrtBeginColBrk"},395:{n:"BrtEndColBrk"},396:{n:"BrtBrk"},397:{n:"BrtUserBookView"},398:{n:"BrtInfo"},399:{n:"BrtCUsr"},400:{n:"BrtUsr"},401:{n:"BrtBeginUsers"},403:{n:"BrtEOF"},404:{n:"BrtUCR"},405:{n:"BrtRRInsDel"},406:{n:"BrtRREndInsDel"},407:{n:"BrtRRMove"},408:{n:"BrtRREndMove"},409:{n:"BrtRRChgCell"},410:{n:"BrtRREndChgCell"},411:{n:"BrtRRHeader"},412:{n:"BrtRRUserView"},413:{n:"BrtRRRenSheet"},414:{n:"BrtRRInsertSh"},415:{n:"BrtRRDefName"},416:{n:"BrtRRNote"},417:{n:"BrtRRConflict"},418:{n:"BrtRRTQSIF"},419:{n:"BrtRRFormat"},420:{n:"BrtRREndFormat"},421:{n:"BrtRRAutoFmt"},422:{n:"BrtBeginUserShViews"},423:{n:"BrtBeginUserShView"},424:{n:"BrtEndUserShView"},425:{n:"BrtEndUserShViews"},426:{n:"BrtArrFmla",f:jl},427:{n:"BrtShrFmla",f:Wl},428:{n:"BrtTable"},429:{n:"BrtBeginExtConnections"},430:{n:"BrtEndExtConnections"},431:{n:"BrtBeginPCDCalcMems"},432:{n:"BrtEndPCDCalcMems"},433:{n:"BrtBeginPCDCalcMem"},434:{n:"BrtEndPCDCalcMem"},435:{n:"BrtBeginPCDHGLevels"},436:{n:"BrtEndPCDHGLevels"},437:{n:"BrtBeginPCDHGLevel"},438:{n:"BrtEndPCDHGLevel"},439:{n:"BrtBeginPCDHGLGroups"},440:{n:"BrtEndPCDHGLGroups"},441:{n:"BrtBeginPCDHGLGroup"},442:{n:"BrtEndPCDHGLGroup"},443:{n:"BrtBeginPCDHGLGMembers"},444:{n:"BrtEndPCDHGLGMembers"},445:{n:"BrtBeginPCDHGLGMember"},446:{n:"BrtEndPCDHGLGMember"},447:{n:"BrtBeginQSI"},448:{n:"BrtEndQSI"},449:{n:"BrtBeginQSIR"},450:{n:"BrtEndQSIR"},451:{n:"BrtBeginDeletedNames"},452:{n:"BrtEndDeletedNames"},453:{n:"BrtBeginDeletedName"},454:{n:"BrtEndDeletedName"},455:{n:"BrtBeginQSIFs"},456:{n:"BrtEndQSIFs"},457:{n:"BrtBeginQSIF"},458:{n:"BrtEndQSIF"},459:{n:"BrtBeginAutoSortScope"},460:{n:"BrtEndAutoSortScope"},461:{n:"BrtBeginConditionalFormatting"},462:{n:"BrtEndConditionalFormatting"},463:{n:"BrtBeginCFRule"},464:{n:"BrtEndCFRule"},465:{n:"BrtBeginIconSet"},466:{n:"BrtEndIconSet"},467:{n:"BrtBeginDatabar"},468:{n:"BrtEndDatabar"},469:{n:"BrtBeginColorScale"},470:{n:"BrtEndColorScale"},471:{n:"BrtCFVO"},472:{n:"BrtExternValueMeta"},473:{n:"BrtBeginColorPalette"},474:{n:"BrtEndColorPalette"},475:{n:"BrtIndexedColor"},476:{n:"BrtMargins",f:zl},477:{n:"BrtPrintOptions"},478:{n:"BrtPageSetup"},479:{n:"BrtBeginHeaderFooter"},480:{n:"BrtEndHeaderFooter"},481:{n:"BrtBeginSXCrtFormat"},482:{n:"BrtEndSXCrtFormat"},483:{n:"BrtBeginSXCrtFormats"},484:{n:"BrtEndSXCrtFormats"},485:{n:"BrtWsFmtInfo",f:gl},486:{n:"BrtBeginMgs"},487:{n:"BrtEndMGs"},488:{n:"BrtBeginMGMaps"},489:{n:"BrtEndMGMaps"},490:{n:"BrtBeginMG"},491:{n:"BrtEndMG"},492:{n:"BrtBeginMap"},493:{n:"BrtEndMap"},494:{n:"BrtHLink",f:Fl},495:{n:"BrtBeginDCon"},496:{n:"BrtEndDCon"},497:{n:"BrtBeginDRefs"},498:{n:"BrtEndDRefs"},499:{n:"BrtDRef"},500:{n:"BrtBeginScenMan"},501:{n:"BrtEndScenMan"},502:{n:"BrtBeginSct"},503:{n:"BrtEndSct"},504:{n:"BrtSlc"},505:{n:"BrtBeginDXFs"},506:{n:"BrtEndDXFs"},507:{n:"BrtDXF"},508:{n:"BrtBeginTableStyles"},509:{n:"BrtEndTableStyles"},510:{n:"BrtBeginTableStyle"},511:{n:"BrtEndTableStyle"},512:{n:"BrtTableStyleElement"},513:{n:"BrtTableStyleClient"},514:{n:"BrtBeginVolDeps"},515:{n:"BrtEndVolDeps"},516:{n:"BrtBeginVolType"},517:{n:"BrtEndVolType"},518:{n:"BrtBeginVolMain"},519:{n:"BrtEndVolMain"},520:{n:"BrtBeginVolTopic"},521:{n:"BrtEndVolTopic"},522:{n:"BrtVolSubtopic"},523:{n:"BrtVolRef"},524:{n:"BrtVolNum"},525:{n:"BrtVolErr"},526:{n:"BrtVolStr"},527:{n:"BrtVolBool"},528:{n:"BrtBeginCalcChain$"},529:{n:"BrtEndCalcChain$"},530:{n:"BrtBeginSortState"},531:{n:"BrtEndSortState"},532:{n:"BrtBeginSortCond"},533:{n:"BrtEndSortCond"},534:{n:"BrtBookProtection"},535:{n:"BrtSheetProtection"},536:{n:"BrtRangeProtection"},537:{n:"BrtPhoneticInfo"},538:{n:"BrtBeginECTxtWiz"},539:{n:"BrtEndECTxtWiz"},540:{n:"BrtBeginECTWFldInfoLst"},541:{n:"BrtEndECTWFldInfoLst"},542:{n:"BrtBeginECTwFldInfo"},548:{n:"BrtFileSharing"},549:{n:"BrtOleSize"},550:{n:"BrtDrawing",f:Rd},551:{n:"BrtLegacyDrawing"},552:{n:"BrtLegacyDrawingHF"},553:{n:"BrtWebOpt"},554:{n:"BrtBeginWebPubItems"},555:{n:"BrtEndWebPubItems"},556:{n:"BrtBeginWebPubItem"},557:{n:"BrtEndWebPubItem"},558:{n:"BrtBeginSXCondFmt"},559:{n:"BrtEndSXCondFmt"},560:{n:"BrtBeginSXCondFmts"},561:{n:"BrtEndSXCondFmts"},562:{n:"BrtBkHim"},564:{n:"BrtColor"},565:{n:"BrtBeginIndexedColors"},566:{n:"BrtEndIndexedColors"},569:{n:"BrtBeginMRUColors"},570:{n:"BrtEndMRUColors"},572:{n:"BrtMRUColor"},573:{n:"BrtBeginDVals"},574:{n:"BrtEndDVals"},577:{n:"BrtSupNameStart"},578:{n:"BrtSupNameValueStart"},579:{n:"BrtSupNameValueEnd"},580:{n:"BrtSupNameNum"},581:{n:"BrtSupNameErr"},582:{n:"BrtSupNameSt"},583:{n:"BrtSupNameNil"},584:{n:"BrtSupNameBool"},585:{n:"BrtSupNameFmla"},586:{n:"BrtSupNameBits"},587:{n:"BrtSupNameEnd"},588:{n:"BrtEndSupBook"},589:{n:"BrtCellSmartTagProperty"},590:{n:"BrtBeginCellSmartTag"},591:{n:"BrtEndCellSmartTag"},592:{n:"BrtBeginCellSmartTags"},593:{n:"BrtEndCellSmartTags"},594:{n:"BrtBeginSmartTags"},595:{n:"BrtEndSmartTags"},596:{n:"BrtSmartTagType"},597:{n:"BrtBeginSmartTagTypes"},598:{n:"BrtEndSmartTagTypes"},599:{n:"BrtBeginSXFilters"},600:{n:"BrtEndSXFilters"},601:{n:"BrtBeginSXFILTER"},602:{n:"BrtEndSXFilter"},603:{n:"BrtBeginFills"},604:{n:"BrtEndFills"},605:{n:"BrtBeginCellWatches"},606:{n:"BrtEndCellWatches"},607:{n:"BrtCellWatch"},608:{n:"BrtBeginCRErrs"},609:{n:"BrtEndCRErrs"},610:{n:"BrtCrashRecErr"},611:{n:"BrtBeginFonts"},612:{n:"BrtEndFonts"},613:{n:"BrtBeginBorders"},614:{n:"BrtEndBorders"},615:{n:"BrtBeginFmts"},616:{n:"BrtEndFmts"},617:{n:"BrtBeginCellXFs"},618:{n:"BrtEndCellXFs"},619:{n:"BrtBeginStyles"},620:{n:"BrtEndStyles"},625:{n:"BrtBigName"},626:{n:"BrtBeginCellStyleXFs"},627:{n:"BrtEndCellStyleXFs"},628:{n:"BrtBeginComments"},629:{n:"BrtEndComments"},630:{n:"BrtBeginCommentAuthors"},631:{n:"BrtEndCommentAuthors"},632:{n:"BrtCommentAuthor",f:hg},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:no},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:kd},638:{n:"BrtBeginOleObjects"},639:{n:"BrtOleObject"},640:{n:"BrtEndOleObjects"},641:{n:"BrtBeginSxrules"},642:{n:"BrtEndSxRules"},643:{n:"BrtBeginActiveXControls"},644:{n:"BrtActiveX"},645:{n:"BrtEndActiveXControls"},646:{n:"BrtBeginPCDSDTCEMembersSortBy"},648:{n:"BrtBeginCellIgnoreECs"},649:{n:"BrtCellIgnoreEC"},650:{n:"BrtEndCellIgnoreECs"},651:{n:"BrtCsProp",f:hc},652:{n:"BrtCsPageSetup"},653:{n:"BrtBeginUserCsViews"},654:{n:"BrtEndUserCsViews"},655:{n:"BrtBeginUserCsView"},656:{n:"BrtEndUserCsView"},657:{n:"BrtBeginPcdSFCIEntries"},658:{n:"BrtEndPCDSFCIEntries"},659:{n:"BrtPCDSFCIEntry"},660:{n:"BrtBeginListParts"},661:{n:"BrtListPart"},662:{n:"BrtEndListParts"},663:{n:"BrtSheetCalcProp"},664:{n:"BrtBeginFnGroup"},665:{n:"BrtFnGroup"},666:{n:"BrtEndFnGroup"},667:{n:"BrtSupAddin"},668:{n:"BrtSXTDMPOrder"},669:{n:"BrtCsProtection"},671:{n:"BrtBeginWsSortMap"},672:{n:"BrtEndWsSortMap"},673:{n:"BrtBeginRRSort"},674:{n:"BrtEndRRSort"},675:{n:"BrtRRSortItem"},676:{n:"BrtFileSharingIso"},677:{
|
||
n:"BrtBookProtectionIso"},678:{n:"BrtSheetProtectionIso"},679:{n:"BrtCsProtectionIso"},680:{n:"BrtRangeProtectionIso"},681:{n:"BrtDValList"},1024:{n:"BrtRwDescent"},1025:{n:"BrtKnownFonts"},1026:{n:"BrtBeginSXTupleSet"},1027:{n:"BrtEndSXTupleSet"},1028:{n:"BrtBeginSXTupleSetHeader"},1029:{n:"BrtEndSXTupleSetHeader"},1030:{n:"BrtSXTupleSetHeaderItem"},1031:{n:"BrtBeginSXTupleSetData"},1032:{n:"BrtEndSXTupleSetData"},1033:{n:"BrtBeginSXTupleSetRow"},1034:{n:"BrtEndSXTupleSetRow"},1035:{n:"BrtSXTupleSetRowItem"},1036:{n:"BrtNameExt"},1037:{n:"BrtPCDH14"},1038:{n:"BrtBeginPCDCalcMem14"},1039:{n:"BrtEndPCDCalcMem14"},1040:{n:"BrtSXTH14"},1041:{n:"BrtBeginSparklineGroup"},1042:{n:"BrtEndSparklineGroup"},1043:{n:"BrtSparkline"},1044:{n:"BrtSXDI14"},1045:{n:"BrtWsFmtInfoEx14"},1046:{n:"BrtBeginConditionalFormatting14"},1047:{n:"BrtEndConditionalFormatting14"},1048:{n:"BrtBeginCFRule14"},1049:{n:"BrtEndCFRule14"},1050:{n:"BrtCFVO14"},1051:{n:"BrtBeginDatabar14"},1052:{n:"BrtBeginIconSet14"},1053:{n:"BrtDVal14",f:Yl},1054:{n:"BrtBeginDVals14"},1055:{n:"BrtColor14"},1056:{n:"BrtBeginSparklines"},1057:{n:"BrtEndSparklines"},1058:{n:"BrtBeginSparklineGroups"},1059:{n:"BrtEndSparklineGroups"},1061:{n:"BrtSXVD14"},1062:{n:"BrtBeginSXView14"},1063:{n:"BrtEndSXView14"},1064:{n:"BrtBeginSXView16"},1065:{n:"BrtEndSXView16"},1066:{n:"BrtBeginPCD14"},1067:{n:"BrtEndPCD14"},1068:{n:"BrtBeginExtConn14"},1069:{n:"BrtEndExtConn14"},1070:{n:"BrtBeginSlicerCacheIDs"},1071:{n:"BrtEndSlicerCacheIDs"},1072:{n:"BrtBeginSlicerCacheID"},1073:{n:"BrtEndSlicerCacheID"},1075:{n:"BrtBeginSlicerCache"},1076:{n:"BrtEndSlicerCache"},1077:{n:"BrtBeginSlicerCacheDef"},1078:{n:"BrtEndSlicerCacheDef"},1079:{n:"BrtBeginSlicersEx"},1080:{n:"BrtEndSlicersEx"},1081:{n:"BrtBeginSlicerEx"},1082:{n:"BrtEndSlicerEx"},1083:{n:"BrtBeginSlicer"},1084:{n:"BrtEndSlicer"},1085:{n:"BrtSlicerCachePivotTables"},1086:{n:"BrtBeginSlicerCacheOlapImpl"},1087:{n:"BrtEndSlicerCacheOlapImpl"},1088:{n:"BrtBeginSlicerCacheLevelsData"},1089:{n:"BrtEndSlicerCacheLevelsData"},1090:{n:"BrtBeginSlicerCacheLevelData"},1091:{n:"BrtEndSlicerCacheLevelData"},1092:{n:"BrtBeginSlicerCacheSiRanges"},1093:{n:"BrtEndSlicerCacheSiRanges"},1094:{n:"BrtBeginSlicerCacheSiRange"},1095:{n:"BrtEndSlicerCacheSiRange"},1096:{n:"BrtSlicerCacheOlapItem"},1097:{n:"BrtBeginSlicerCacheSelections"},1098:{n:"BrtSlicerCacheSelection"},1099:{n:"BrtEndSlicerCacheSelections"},1100:{n:"BrtBeginSlicerCacheNative"},1101:{n:"BrtEndSlicerCacheNative"},1102:{n:"BrtSlicerCacheNativeItem"},1103:{n:"BrtRangeProtection14"},1104:{n:"BrtRangeProtectionIso14"},1105:{n:"BrtCellIgnoreEC14"},1111:{n:"BrtList14"},1112:{n:"BrtCFIcon"},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs"},1114:{n:"BrtEndSlicerCachesPivotCacheIDs"},1115:{n:"BrtBeginSlicers"},1116:{n:"BrtEndSlicers"},1117:{n:"BrtWbProp14"},1118:{n:"BrtBeginSXEdit"},1119:{n:"BrtEndSXEdit"},1120:{n:"BrtBeginSXEdits"},1121:{n:"BrtEndSXEdits"},1122:{n:"BrtBeginSXChange"},1123:{n:"BrtEndSXChange"},1124:{n:"BrtBeginSXChanges"},1125:{n:"BrtEndSXChanges"},1126:{n:"BrtSXTupleItems"},1128:{n:"BrtBeginSlicerStyle"},1129:{n:"BrtEndSlicerStyle"},1130:{n:"BrtSlicerStyleElement"},1131:{n:"BrtBeginStyleSheetExt14"},1132:{n:"BrtEndStyleSheetExt14"},1133:{n:"BrtBeginSlicerCachesPivotCacheID"},1134:{n:"BrtEndSlicerCachesPivotCacheID"},1135:{n:"BrtBeginConditionalFormattings"},1136:{n:"BrtEndConditionalFormattings"},1137:{n:"BrtBeginPCDCalcMemExt"},1138:{n:"BrtEndPCDCalcMemExt"},1139:{n:"BrtBeginPCDCalcMemsExt"},1140:{n:"BrtEndPCDCalcMemsExt"},1141:{n:"BrtPCDField14"},1142:{n:"BrtBeginSlicerStyles"},1143:{n:"BrtEndSlicerStyles"},1144:{n:"BrtBeginSlicerStyleElements"},1145:{n:"BrtEndSlicerStyleElements"},1146:{n:"BrtCFRuleExt"},1147:{n:"BrtBeginSXCondFmt14"},1148:{n:"BrtEndSXCondFmt14"},1149:{n:"BrtBeginSXCondFmts14"},1150:{n:"BrtEndSXCondFmts14"},1152:{n:"BrtBeginSortCond14"},1153:{n:"BrtEndSortCond14"},1154:{n:"BrtEndDVals14"},1155:{n:"BrtEndIconSet14"},1156:{n:"BrtEndDatabar14"},1157:{n:"BrtBeginColorScale14"},1158:{n:"BrtEndColorScale14"},1159:{n:"BrtBeginSxrules14"},1160:{n:"BrtEndSxrules14"},1161:{n:"BrtBeginPRule14"},1162:{n:"BrtEndPRule14"},1163:{n:"BrtBeginPRFilters14"},1164:{n:"BrtEndPRFilters14"},1165:{n:"BrtBeginPRFilter14"},1166:{n:"BrtEndPRFilter14"},1167:{n:"BrtBeginPRFItem14"},1168:{n:"BrtEndPRFItem14"},1169:{n:"BrtBeginCellIgnoreECs14"},1170:{n:"BrtEndCellIgnoreECs14"},1171:{n:"BrtDxf14"},1172:{n:"BrtBeginDxF14s"},1173:{n:"BrtEndDxf14s"},1177:{n:"BrtFilter14"},1178:{n:"BrtBeginCustomFilters14"},1180:{n:"BrtCustomFilter14"},1181:{n:"BrtIconFilter14"},1182:{n:"BrtPivotCacheConnectionName"},2048:{n:"BrtBeginDecoupledPivotCacheIDs"},2049:{n:"BrtEndDecoupledPivotCacheIDs"},2050:{n:"BrtDecoupledPivotCacheID"},2051:{n:"BrtBeginPivotTableRefs"},2052:{n:"BrtEndPivotTableRefs"},2053:{n:"BrtPivotTableRef"},2054:{n:"BrtSlicerCacheBookPivotTables"},2055:{n:"BrtBeginSxvcells"},2056:{n:"BrtEndSxvcells"},2057:{n:"BrtBeginSxRow"},2058:{n:"BrtEndSxRow"},2060:{n:"BrtPcdCalcMem15"},2067:{n:"BrtQsi15"},2068:{n:"BrtBeginWebExtensions"},2069:{n:"BrtEndWebExtensions"},2070:{n:"BrtWebExtension"},2071:{n:"BrtAbsPath15"},2072:{n:"BrtBeginPivotTableUISettings"},2073:{n:"BrtEndPivotTableUISettings"},2075:{n:"BrtTableSlicerCacheIDs"},2076:{n:"BrtTableSlicerCacheID"},2077:{n:"BrtBeginTableSlicerCache"},2078:{n:"BrtEndTableSlicerCache"},2079:{n:"BrtSxFilter15"},2080:{n:"BrtBeginTimelineCachePivotCacheIDs"},2081:{n:"BrtEndTimelineCachePivotCacheIDs"},2082:{n:"BrtTimelineCachePivotCacheID"},2083:{n:"BrtBeginTimelineCacheIDs"},2084:{n:"BrtEndTimelineCacheIDs"},2085:{n:"BrtBeginTimelineCacheID"},2086:{n:"BrtEndTimelineCacheID"},2087:{n:"BrtBeginTimelinesEx"},2088:{n:"BrtEndTimelinesEx"},2089:{n:"BrtBeginTimelineEx"},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},2137:{n:"BrtBeginModelTimeGroupings"},2138:{n:"BrtEndModelTimeGroupings"},2139:{n:"BrtBeginModelTimeGrouping"},2140:{n:"BrtEndModelTimeGrouping"},2141:{n:"BrtModelTimeGroupingCalcCol"},3072:{n:"BrtUid"},3073:{n:"BrtRevisionPtr"},5095:{n:"BrtBeginCalcFeatures"},5096:{n:"BrtEndCalcFeatures"},5097:{n:"BrtCalcFeature"},65535:{n:""}},km=b(_m,"n"),Am={3:{n:"BIFF2NUM",f:oi},4:{n:"BIFF2STR",f:ai},6:{n:"Formula",f:Ps},9:{n:"BOF",f:Un},10:{n:"EOF",f:Qt},12:{n:"CalcCount",f:an},13:{n:"CalcMode",f:an},14:{n:"CalcPrecision",f:nn},15:{n:"CalcRefMode",f:nn},16:{n:"CalcDelta",f:Qe},17:{n:"CalcIter",f:nn},18:{n:"Protect",f:nn},19:{n:"Password",f:an},20:{n:"Header",f:yp},21:{n:"Footer",f:yp},23:{n:"ExternSheet",f:Ir},24:{n:"Lbl",f:Br},25:{n:"WinProtect",f:nn},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:jr},29:{n:"Selection"},34:{n:"Date1904",f:nn},35:{n:"ExternName",f:Nr},36:{n:"COLWIDTH"},38:{n:"LeftMargin",f:Qe},39:{n:"RightMargin",f:Qe},40:{n:"TopMargin",f:Qe},41:{n:"BottomMargin",f:Qe},42:{n:"PrintRowCol",f:nn},43:{n:"PrintGrid",f:nn},47:{n:"FilePass",f:Ui},49:{n:"Font",f:sr},51:{n:"PrintSize",f:an},60:{n:"Continue"},61:{n:"Window1",f:nr},64:{n:"Backup",f:nn},65:{n:"Pane",f:or},66:{n:"CodePage",f:an},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:an},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:Vn},93:{n:"Obj",f:zr},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:nn},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:nn},125:{n:"ColInfo",f:ei},128:{n:"Guts",f:Er},129:{n:"WsBool",f:Gn},130:{n:"GridSet",f:an},131:{n:"HCenter",f:nn},132:{n:"VCenter",f:nn},133:{n:"BoundSheet8",f:$n},134:{n:"WriteProtect"},140:{n:"Country",f:Yr},141:{n:"HideObj",f:an},144:{n:"Sort"},146:{n:"Palette",f:Zr},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:an},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Ep},161:{n:"Setup",f:ti},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:br},190:{n:"MulBlank",f:yr},193:{n:"Mms",f:Qt},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:nn},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:an},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:nn},222:{n:"OleObjectSize"},224:{n:"XF",f:Sr},225:{n:"InterfaceHdr",f:Hn},226:{n:"InterfaceEnd",f:Qt},227:{n:"SXVS"},229:{n:"MergeCells",f:Wr},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:Yn},253:{n:"LabelSst",f:cr},255:{n:"ExtSST",f:Jn},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:sn},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:nn},353:{n:"DSF",f:Qt},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:Rr},431:{n:"Prot4Rev",f:nn},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:Vr},439:{n:"RefreshAll",f:nn},440:{n:"HLink",f:qr},441:{n:"Lel"},442:{n:"CodeName",f:pn},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:an},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:Qt},449:{n:"RecalcId",f:er,r:2},450:{n:"EntExU2",f:Qt},512:{n:"Dimensions",f:gr},513:{n:"Blank",f:xp},515:{n:"Number",f:Cr},516:{n:"Label",f:fr},517:{n:"BoolErr",f:kr},518:{n:"Formula",f:Ps},519:{n:"String",f:_p},520:{n:"Row",f:Zn},523:{n:"Index"},545:{n:"Array",f:Fr},549:{n:"DefaultRowHeight",f:tr},566:{n:"Table"},574:{n:"Window2",f:ir},638:{n:"RK",f:vr},659:{n:"Style"},1030:{n:"Formula",f:Ps},1048:{n:"BigName"},1054:{n:"Format",f:dr},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:Pr},2048:{n:"HLinkTooltip",f:$r},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:Un},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:Qt},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:Qr,r:12},2173:{n:"XFExt",f:Va,r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:nn,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:Lr,r:12},2197:{n:"SortData"},2198:{n:"Theme",f:Ma,r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:Dr,r:12},2203:{n:"CompressPictures",f:Qt},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:Qn},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:an},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:ni},4165:{n:"SerToCrt"},4166:{n:"AxesUsed"},4168:{n:"SBaseRef"},4170:{n:"SerParent"},4171:{n:"SerAuxTrend"},4174:{n:"IFmtRecord"},4175:{n:"Pos"},4176:{n:"AlRuns"},4177:{n:"BRAI"},4187:{n:"SerAuxErrBar"},4188:{n:"ClrtClient",f:Jr},4189:{n:"SerFmt"},4191:{n:"Chart3DBarShape"},4192:{n:"Fbi"},4193:{n:"BopPop"},4194:{n:"AxcExt"},4195:{n:"Dat"},4196:{n:"PlotGrowth"},4197:{n:"SIIndex"},4198:{n:"GelFrame"},4199:{n:"BopPopCustom"},4200:{n:"Fbi2"},0:{n:"Dimensions",f:gr},2:{n:"BIFF2INT",f:li},5:{n:"BoolErr",f:kr},7:{n:"String",f:ui},8:{n:"BIFF2ROW"},11:{n:"Index"},22:{n:"ExternCount",f:an},30:{n:"BIFF2FORMAT",f:bp},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:Fr},37:{n:"DefaultRowHeight",f:tr},50:{n:"BIFF2FONTXTRA",f:fi},52:{n:"DDEObjName"},62:{n:"BIFF2WINDOW2"},67:{n:"BIFF2XF"},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:ii},135:{n:"Addin"},136:{n:"Edg"},137:{n:"Pub"},145:{n:"Sub"},148:{n:"LHRecord"},149:{n:"LHNGraph"},150:{n:"Sound"},169:{n:"CoordList"},171:{n:"GCW"},188:{n:"ShrFmla"},191:{n:"ToolbarHdr"},192:{n:"ToolbarEnd"},194:{n:"AddMenu"},195:{n:"DelMenu"},214:{n:"RString",f:hi},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},521:{n:"BOF",f:Un},536:{n:"Lbl",f:Br},547:{n:"ExternName",f:Nr},561:{n:"Font"},579:{n:"BIFF3XF"},1033:{n:"BOF",f:Un},1091:{n:"BIFF4XF"},2157:{n:"FeatInfo"},2163:{n:"FeatInfo11"},2177:{n:"SXAddl12"},2240:{n:"AutoWebPub"},2241:{n:"ListObj"},2242:{n:"ListField"},2243:{n:"ListDV"},2244:{n:"ListCondFmt"},2245:{n:"ListCF"},2246:{n:"FMQry"},2247:{n:"FMSQry"},2248:{n:"PLV"},2249:{n:"LnExt"},2250:{n:"MkrExt"},2251:{n:"CrtCoopt"},2262:{n:"FRTArchId$",r:12},29282:{}},Cm=b(Am,"n"),Tm=function(){function e(e,t){var n=t||{};null!=Jf&&null==n.dense&&(n.dense=Jf);var r=n.dense?[]:{};e=e.replace(/<!--.*?-->/g,"");var i=e.match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var a=e.match(/<\/table/i),o=i.index,s=a&&a.index||e.length,l=N(e.slice(o,s),/(:?<tr[^>]*>)/i,"<tr>"),c=-1,u=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(o=0;o<l.length;++o){var g=l[o].trim(),m=g.slice(0,3).toLowerCase();if("<tr"!=m){if("<td"==m||"<th"==m){var v=g.split(/<\/t[dh]>/i);for(s=0;s<v.length;++s){var b=v[s].trim();if(b.match(/<t[dh]/i)){for(var y=b,w=0;"<"==y.charAt(0)&&(w=y.indexOf(">"))>-1;)y=y.slice(w+1);for(var x=0;x<p.length;++x){var E=p[x];E.s.c==u&&E.s.r<c&&c<=E.e.r&&(u=E.e.c+1,x=-1)}var k=H(b.slice(0,b.indexOf(">")));h=k.colspan?+k.colspan:1,((f=+k.rowspan)>1||h>1)&&p.push({s:{r:c,c:u},e:{r:c+(f||1)-1,c:u+h-1}});var A=k.t||"";if(y.length){if(y=Uh(y),d.s.r>c&&(d.s.r=c),d.e.r<c&&(d.e.r=c),d.s.c>u&&(d.s.c=u),d.e.c<u&&(d.e.c=u),y.length){var C={t:"s",v:y};n.raw||!y.trim().length||"s"==A||("TRUE"===y?C={t:"b",v:!0}:"FALSE"===y?C={t:"b",v:!1}:isNaN(T(y))?isNaN(R(y).getDate())||(C={t:"d",v:_(y)},n.cellDates||(C={t:"n",v:S(C.v)}),C.z=n.dateNF||oh._table[14]):C={t:"n",v:T(y)}),n.dense?(r[c]||(r[c]=[]),r[c][u]=C):r[Te({r:c,c:u})]=C,u+=h}}else u+=h}}}}else{if(++c,n.sheetRows&&n.sheetRows<=c){--c;break}u=0}}return r["!ref"]=Ne(d),p.length&&(r["!merges"]=p),r}function t(t,n){return Le(e(t,n),n)}function n(e,t,n,r){for(var i=e["!merges"]||[],a=[],o=t.s.c;o<=t.e.c;++o){for(var s=0,l=0,c=0;c<i.length;++c)if(!(i[c].s.r>n||i[c].s.c>o||i[c].e.r<n||i[c].e.c<o)){if(i[c].s.r<n||i[c].s.c<o){s=-1;break}s=i[c].e.r-i[c].s.r+1,l=i[c].e.c-i[c].s.c+1;break}if(!(s<0)){var u=Te({r:n,c:o}),f=r.dense?(e[n]||[])[o]:e[u],h=f&&null!=f.v&&(f.h||X(f.w||(Oe(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),l>1&&(d.colspan=l),d.t=f&&f.t||"z",r.editable&&(h='<span contenteditable="true">'+h+"</span>"),d.id=(r.id||"sjs")+"-"+u,"z"!=d.t&&(d.v=f.v,null!=f.z&&(d.z=f.z)),a.push(ee("td",h,d))}}return"<tr>"+a.join("")+"</tr>"}function r(e,t,n){return[].join("")+"<table"+(n&&n.id?' id="'+n.id+'"':"")+">"}function i(e,t){var i=t||{},s=null!=i.header?i.header:a,l=null!=i.footer?i.footer:o,c=[s],u=Re(e["!ref"]);i.dense=Array.isArray(e),c.push(r(e,u,i));for(var f=u.s.r;f<=u.e.r;++f)c.push(n(e,u,f,i));return c.push("</table>"+l),c.join("")}var a='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',o="</body></html>";return{to_workbook:t,to_sheet:e,_row:n,BEGIN:a,END:o,_preamble:r,from_sheet:i}}(),Rm=function(){var e=function(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(e,t){return Array(parseInt(t,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[Rh(t.replace(/<[^>]*>/g,""))]},t={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};return function(n,r){var i=r||{};null!=Jf&&null==i.dense&&(i.dense=Jf);var a,o,s,l,c,u,f=au(n),h=[],d={name:""},p="",g=0,m={},v=[],b=i.dense?[]:{},y={value:""},w="",x=0,k=[],C=-1,T=-1,R={s:{r:1e6,c:1e7},e:{r:0,c:0}},N=0,B={},I=[],O={},L=0,P=0,F=[],D=1,M=1,j=[],W={Names:[]},U={},z=["",""],V=[],q={},G="",$=0,X=!1,Y=!1,J=0;for(xm.lastIndex=0,f=f.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");c=xm.exec(f);)switch(c[3]=c[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===c[1]?(R.e.c>=R.s.c&&R.e.r>=R.s.r?b["!ref"]=Ne(R):b["!ref"]="A1:A1",i.sheetRows>0&&i.sheetRows<=R.e.r&&(b["!fullref"]=b["!ref"],R.e.r=i.sheetRows-1,b["!ref"]=Ne(R)),I.length&&(b["!merges"]=I),F.length&&(b["!rows"]=F),s.name=s["名称"]||s.name,"undefined"!=typeof JSON&&JSON.stringify(s),v.push(s.name),m[s.name]=b,Y=!1):"/"!==c[0].charAt(c[0].length-2)&&(s=H(c[0],!1),C=T=-1,R.s.r=R.s.c=1e7,R.e.r=R.e.c=0,b=i.dense?[]:{},I=[],F=[],Y=!0);break;case"table-row-group":"/"===c[1]?--N:++N;break;case"table-row":case"行":if("/"===c[1]){C+=D,D=1;break}if(l=H(c[0],!1),l["行号"]?C=l["行号"]-1:-1==C&&(C=0),(D=+l["number-rows-repeated"]||1)<10)for(J=0;J<D;++J)N>0&&(F[C+J]={level:N});T=-1;break;case"covered-table-cell":"/"!==c[1]&&++T,i.sheetStubs&&(i.dense?(b[C]||(b[C]=[]),b[C][T]={t:"z"}):b[Te({r:C,c:T})]={t:"z"}),w="",k=[];break;case"table-cell":case"数据":if("/"===c[0].charAt(c[0].length-2))++T,y=H(c[0],!1),M=parseInt(y["number-columns-repeated"]||"1",10),u={t:"z",v:null},y.formula&&0!=i.cellFormula&&(u.f=Ms(Rh(y.formula))),"string"==(y["数据类型"]||y["value-type"])&&(u.t="s",u.v=Rh(y["string-value"]||""),i.dense?(b[C]||(b[C]=[]),b[C][T]=u):b[Te({r:C,c:T})]=u),T+=M-1;else if("/"!==c[1]){++T,M=1;var Z=D?C+D-1:C;if(T>R.e.c&&(R.e.c=T),T<R.s.c&&(R.s.c=T),C<R.s.r&&(R.s.r=C),Z>R.e.r&&(R.e.r=Z),y=H(c[0],!1),V=[],q={},u={t:y["数据类型"]||y["value-type"],v:null},i.cellFormula)if(y.formula&&(y.formula=Rh(y.formula)),y["number-matrix-columns-spanned"]&&y["number-matrix-rows-spanned"]&&(L=parseInt(y["number-matrix-rows-spanned"],10)||0,P=parseInt(y["number-matrix-columns-spanned"],10)||0,O={s:{r:C,c:T},e:{r:C+L-1,c:T+P-1}},u.F=Ne(O),j.push([O,u.F])),y.formula)u.f=Ms(y.formula);else for(J=0;J<j.length;++J)C>=j[J][0].s.r&&C<=j[J][0].e.r&&T>=j[J][0].s.c&&T<=j[J][0].e.c&&(u.F=j[J][1]);switch((y["number-columns-spanned"]||y["number-rows-spanned"])&&(L=parseInt(y["number-rows-spanned"],10)||0,P=parseInt(y["number-columns-spanned"],10)||0,O={s:{r:C,c:T},e:{r:C+L-1,c:T+P-1}},I.push(O)),y["number-columns-repeated"]&&(M=parseInt(y["number-columns-repeated"],10)),u.t){case"boolean":u.t="b",u.v=K(y["boolean-value"]);break;case"float":case"percentage":case"currency":u.t="n",u.v=parseFloat(y.value);break;case"date":u.t="d",u.v=_(y["date-value"]),i.cellDates||(u.t="n",u.v=S(u.v)),u.z="m/d/yy";break;case"time":u.t="n",u.v=E(y["time-value"])/86400;break;case"number":u.t="n",u.v=parseFloat(y["数据数值"]);break;default:if("string"!==u.t&&"text"!==u.t&&u.t)throw new Error("Unsupported value type "+u.t);u.t="s",null!=y["string-value"]&&(w=Rh(y["string-value"]),k=[])}}else{if(X=!1,"s"===u.t&&(u.v=w||"",k.length&&(u.R=k),X=0==x),U.Target&&(u.l=U),V.length>0&&(u.c=V,V=[]),w&&!1!==i.cellText&&(u.w=w),X&&(u.t="z",delete u.v),(!X||i.sheetStubs)&&!(i.sheetRows&&i.sheetRows<=C))for(var Q=0;Q<D;++Q){if(M=parseInt(y["number-columns-repeated"]||"1",10),i.dense)for(b[C+Q]||(b[C+Q]=[]),b[C+Q][T]=0==Q?u:A(u);--M>0;)b[C+Q][T+M]=A(u);else for(b[Te({r:C+Q,c:T})]=u;--M>0;)b[Te({r:C+Q,c:T+M})]=A(u);R.e.c<=T&&(R.e.c=T)}M=parseInt(y["number-columns-repeated"]||"1",10),T+=M-1,M=0,u={},w="",k=[]}U={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":if("/"===c[1]){if((a=h.pop())[0]!==c[3])throw"Bad state: "+a}else"/"!==c[0].charAt(c[0].length-2)&&h.push([c[3],!0]);break;case"annotation":if("/"===c[1]){if((a=h.pop())[0]!==c[3])throw"Bad state: "+a;q.t=w,k.length&&(q.R=k),q.a=G,V.push(q)}else"/"!==c[0].charAt(c[0].length-2)&&h.push([c[3],!1]);G="",$=0,w="",x=0,k=[];break;case"creator":"/"===c[1]?G=f.slice($,c.index):$=c.index+c[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===c[1]){if((a=h.pop())[0]!==c[3])throw"Bad state: "+a}else"/"!==c[0].charAt(c[0].length-2)&&h.push([c[3],!1]);w="",x=0,k=[];break;case"scientific-number":case"currency-symbol":case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===c[1]){if(B[d.name]=p,(a=h.pop())[0]!==c[3])throw"Bad state: "+a}else"/"!==c[0].charAt(c[0].length-2)&&(p="",d=H(c[0],!1),h.push([c[3],!0]));break;case"script":case"libraries":case"automatic-styles":case"master-styles":break;case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":break;case"number":switch(h[h.length-1][0]){case"time-style":case"date-style":o=H(c[0],!1),p+=t[c[3]]["long"===o.style?1:0]}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(h[h.length-1][0]){case"time-style":case"date-style":o=H(c[0],!1),p+=t[c[3]]["long"===o.style?1:0]}break;case"boolean-style":case"boolean":case"text-style":break;case"text":if("/>"===c[0].slice(-2))break;if("/"===c[1])switch(h[h.length-1][0]){case"number-style":case"date-style":case"time-style":p+=f.slice(g,c.index)}else g=c.index+c[0].length;break;case"named-range":o=H(c[0],!1),z=Ws(o["cell-range-address"]);var ee={Name:o.name,Ref:z[0]+"!"+z[1]};Y&&(ee.Sheet=v.length),W.Names.push(ee);break;case"text-content":case"text-properties":case"embedded-text":break;case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":break;case"p":case"文本串":if("/"!==c[1]||y&&y["string-value"])H(c[0],!1),x=c.index+c[0].length;else{var te=e(f.slice(x,c.index));w=(w.length>0?w+"\n":"")+te[0]}break;case"s":break;case"database-range":if("/"===c[1])break;try{z=Ws(H(c[0])["target-range-address"]),m[z[0]]["!autofilter"]={ref:z[1]}}catch(e){}break;case"date":case"object":break;case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":break;case"a":if("/"!==c[1]){if(U=H(c[0],!1),!U.href)break;U.Target=U.href,delete U.href,"#"==U.Target.charAt(0)&&U.Target.indexOf(".")>-1&&(z=Ws(U.Target.slice(1)),U.Target="#"+z[0]+"!"+z[1])}break;case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;default:switch(c[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(i.WTF)throw new Error(c)}}var ne={Sheets:m,SheetNames:v,Workbook:W};return i.bookSheets&&delete ne.Sheets,ne}}(),Nm=function(){var e="<office:document-styles "+Q({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+"></office:document-styles>";return function(){return xh+e}}(),Bm=function(){var e=function(e){return q(e).replace(/ +/g,function(e){return'<text:s text:c="'+e.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"<text:line-break/>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=" <table:table-cell />\n",n=function(n,r,i){var a=[];a.push(' <table:table table:name="'+q(r.SheetNames[i])+'" table:style-name="ta1">\n');var o=0,s=0,l=Re(n["!ref"]),c=n["!merges"]||[],u=0,f=Array.isArray(n);for(o=0;o<l.s.r;++o)a.push(" <table:table-row></table:table-row>\n");for(;o<=l.e.r;++o){for(a.push(" <table:table-row>\n"),s=0;s<l.s.c;++s)a.push(t);for(;s<=l.e.c;++s){var h=!1,d={},p="";for(u=0;u!=c.length;++u)if(!(c[u].s.c>s||c[u].s.r>o||c[u].e.c<s||c[u].e.r<o)){c[u].s.c==s&&c[u].s.r==o||(h=!0),d["table:number-columns-spanned"]=c[u].e.c-c[u].s.c+1,d["table:number-rows-spanned"]=c[u].e.r-c[u].s.r+1;break}if(h)a.push(" <table:covered-table-cell/>\n");else{var g=Te({r:o,c:s}),m=f?(n[o]||[])[s]:n[g];if(m&&m.f&&(d["table:formula"]=q(js(m.f)),m.F&&m.F.slice(0,g.length)==g)){var v=Re(m.F);d["table:number-matrix-columns-spanned"]=v.e.c-v.s.c+1,d["table:number-matrix-rows-spanned"]=v.e.r-v.s.r+1}if(m){switch(m.t){case"b":p=m.v?"TRUE":"FALSE",d["office:value-type"]="boolean",d["office:boolean-value"]=m.v?"true":"false";break;case"n":p=m.w||String(m.v||0),d["office:value-type"]="float",d["office:value"]=m.v||0;break;case"s":case"str":p=null==m.v?"":m.v,d["office:value-type"]="string";break;case"d":p=m.w||_(m.v).toISOString(),d["office:value-type"]="date",d["office:date-value"]=_(m.v).toISOString(),d["table:style-name"]="ce1";break;default:a.push(t);continue}var b=e(p);if(m.l&&m.l.Target){var y=m.l.Target;y="#"==y.charAt(0)?"#"+Us(y.slice(1)):y,b=ee("text:a",b,{"xlink:href":y})}a.push(" "+ee("table:table-cell",ee("text:p",b,{}),d)+"\n")}else a.push(t)}}a.push(" </table:table-row>\n")}return a.push(" </table:table>\n"),a.join("")},r=function(e){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n"),e.push(' <style:style style:name="ta1" style:family="table">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")};return function(e,t){var i=[xh],a=Q({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0",
|
||
"xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=Q({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?i.push("<office:document"+a+o+">\n"):i.push("<office:document-content"+a+">\n"),r(i),i.push(" <office:body>\n"),i.push(" <office:spreadsheet>\n");for(var s=0;s!=e.SheetNames.length;++s)i.push(n(e.Sheets[e.SheetNames[s]],e,s));return i.push(" </office:spreadsheet>\n"),i.push(" </office:body>\n"),"fods"==t.bookType?i.push("</office:document>"):i.push("</office:document-content>"),i.join("")}}(),Im=rf(Tm),Om=rf({from_sheet:Ff}),Lm=rf(void 0!==Ap?Ap:{}),Pm=rf(void 0!==Cp?Cp:{}),Fm=rf(void 0!==Rp?Rp:{}),Dm=rf(void 0!==Vp?Vp:{}),Mm=rf({from_sheet:Df}),jm=rf(void 0!==kp?kp:{}),Wm=rf(void 0!==Tp?Tp:{}),Um=function(e){af([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)},zm=af([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]),Hm=/"/g,Vm={encode_col:Ee,encode_row:ye,encode_cell:Te,encode_range:Ne,decode_col:xe,decode_row:be,split_cell:Ae,decode_cell:Ce,decode_range:Re,format_cell:Oe,get_formulae:Mf,make_csv:Ff,make_json:Lf,make_formulae:Mf,sheet_add_aoa:Pe,sheet_add_json:jf,sheet_add_dom:Xu,aoa_to_sheet:Fe,json_to_sheet:Wf,table_to_sheet:Yu,table_to_book:Ku,sheet_to_csv:Ff,sheet_to_txt:Df,sheet_to_json:Lf,sheet_to_html:Tm.from_sheet,sheet_to_formulae:Mf,sheet_to_row_object_array:Lf};!function(e){function t(e,t,n){return null!=e[t]?e[t]:e[t]=n}function n(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var i=Ce(t);return e[i.r]||(e[i.r]=[]),e[i.r][i.c]||(e[i.r][i.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return"number"!=typeof t?n(e,Te(t)):n(e,Te({r:t,c:r||0}))}function r(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}e.consts=e.consts||{},e.sheet_get_cell=n,e.book_new=function(){return{SheetNames:[],Sheets:{}}},e.book_append_sheet=function(e,t,n){if(!n)for(var r=1;r<=65535&&-1!=e.SheetNames.indexOf(n="Sheet"+r);++r,n=void 0);if(!n||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(bc(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");e.SheetNames.push(n),e.Sheets[n]=t},e.book_set_sheet_visibility=function(e,n,i){t(e,"Workbook",{}),t(e.Workbook,"Sheets",[]);var a=r(e,n);switch(t(e.Workbook.Sheets,a,{}),i){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+i)}e.Workbook.Sheets[a].Hidden=i},function(t){t.forEach(function(t){e.consts[t[0]]=t[1]})}([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]),e.cell_set_number_format=function(e,t){return e.z=t,e},e.cell_set_hyperlink=function(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e},e.cell_set_internal_link=function(t,n,r){return e.cell_set_hyperlink(t,"#"+n,r)},e.cell_add_comment=function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},e.sheet_set_array_formula=function(e,t,r){for(var i="string"!=typeof t?t:Be(t),a="string"==typeof t?t:Ne(t),o=i.s.r;o<=i.e.r;++o)for(var s=i.s.c;s<=i.e.c;++s){var l=n(e,o,s);l.t="n",l.F=a,delete l.v,o==i.s.r&&s==i.s.c&&(l.f=r)}return e}}(Vm),Qf&&"undefined"!=typeof require&&function(){var t={}.Readable,n=function(e,n){var r=t(),i=null==n?{}:n;if(null==e||null==e["!ref"])return r.push(null),r;var a=Be(e["!ref"]),o=void 0!==i.FS?i.FS:",",s=o.charCodeAt(0),l=void 0!==i.RS?i.RS:"\n",c=l.charCodeAt(0),u=new RegExp(("|"==o?"\\|":o)+"+$"),f="",h=[];i.dense=Array.isArray(e);for(var d=i.skipHidden&&e["!cols"]||[],p=i.skipHidden&&e["!rows"]||[],g=a.s.c;g<=a.e.c;++g)(d[g]||{}).hidden||(h[g]=Ee(g));var m=a.s.r,v=!1;return r._read=function(){if(!v)return v=!0,r.push("\ufeff");for(;m<=a.e.r;)if(++m,!(p[m-1]||{}).hidden&&null!=(f=Pf(e,a,m-1,h,s,c,o,i))){i.strip&&(f=f.replace(u,"")),r.push(f+l);break}return m>a.e.r?r.push(null):void 0},r},r=function(e,n){var r=t(),i=n||{},a=null!=i.header?i.header:Tm.BEGIN,o=null!=i.footer?i.footer:Tm.END;r.push(a);var s=Re(e["!ref"]);i.dense=Array.isArray(e),r.push(Tm._preamble(e,s,i));var l=s.s.r,c=!1;return r._read=function(){if(l>s.e.r)return c||(c=!0,r.push("</table>"+o)),r.push(null);for(;l<=s.e.r;){r.push(Tm._row(e,s,l,i)),++l;break}},r},i=function(e,n){var r=t({objectMode:!0});if(null==e||null==e["!ref"])return r.push(null),r;var i={t:"n",v:0},a=0,o=1,s=[],l=0,c="",u={s:{r:0,c:0},e:{r:0,c:0}},f=n||{},h=null!=f.range?f.range:e["!ref"];switch(1===f.header?a=1:"A"===f.header?a=2:Array.isArray(f.header)&&(a=3),typeof h){case"string":u=Be(h);break;case"number":u=Be(e["!ref"]),u.s.r=h;break;default:u=h}a>0&&(o=0);var d=ye(u.s.r),p=[],g=0,m=Array.isArray(e),v=u.s.r,b=0,y=0;for(m&&!e[v]&&(e[v]=[]),b=u.s.c;b<=u.e.c;++b)switch(p[b]=Ee(b),i=m?e[v][b]:e[p[b]+d],a){case 1:s[b]=b-u.s.c;break;case 2:s[b]=p[b];break;case 3:s[b]=f.header[b-u.s.c];break;default:for(null==i&&(i={w:"__EMPTY",t:"s"}),c=l=Oe(i,null,f),g=0,y=0;y<s.length;++y)s[y]==c&&(c=l+"_"+ ++g);s[b]=c}return v=u.s.r+o,r._read=function(){if(v>u.e.r)return r.push(null);for(;v<=u.e.r;){var t=Of(e,u,v,p,a,s,m,f);if(++v,!1===t.isempty||(1===a?!1!==f.blankrows:!!f.blankrows)){r.push(t.row);break}}},r};e.stream={to_json:i,to_html:r,to_csv:n}}(),void 0!==Tu&&(e.parse_xlscfb=Tu),e.parse_zip=uf,e.read=Sf,e.readFile=xf,e.readFileSync=xf,e.write=Rf,e.writeFile=Bf,e.writeFileSync=Bf,e.writeFileAsync=If,e.utils=Vm,e.SSF=oh,void 0!==dh&&(e.CFB=dh)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self,e.BootstrapTable=t(e.jQuery))}(this,function(e){"use strict";function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e,t){return RegExp(e,t)}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function s(e,t){return u(e)||h(e,t)||p()}function l(e){return c(e)||f(e)||d()}function c(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function u(e){if(Array.isArray(e))return e}function f(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function h(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m=function(e){return e&&e.Math==Math&&e},v=m("object"==typeof globalThis&&globalThis)||m("object"==typeof window&&window)||m("object"==typeof self&&self)||m("object"==typeof g&&g)||Function("return this")(),b=function(e){try{return!!e()}catch(e){return!0}},y=!b(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),w={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,x=S&&!w.call({1:2},1),E=x?function(e){var t=S(this,e);return!!t&&t.enumerable}:w,_={f:E},k=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},A={}.toString,C=function(e){return A.call(e).slice(8,-1)},T="".split,R=b(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==C(e)?T.call(e,""):Object(e)}:Object,N=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},B=function(e){return R(N(e))},I=function(e){return"object"==typeof e?null!==e:"function"==typeof e},O=function(e,t){if(!I(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!I(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!I(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!I(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},L={}.hasOwnProperty,P=function(e,t){return L.call(e,t)},F=v.document,D=I(F)&&I(F.createElement),M=function(e){return D?F.createElement(e):{}},j=!y&&!b(function(){return 7!=Object.defineProperty(M("div"),"a",{get:function(){return 7}}).a}),W=Object.getOwnPropertyDescriptor,U=y?W:function(e,t){if(e=B(e),t=O(t,!0),j)try{return W(e,t)}catch(e){}if(P(e,t))return k(!_.f.call(e,t),e[t])},z={f:U},H=function(e){if(!I(e))throw TypeError(String(e)+" is not an object");return e},V=Object.defineProperty,q=y?V:function(e,t,n){if(H(e),t=O(t,!0),H(n),j)try{return V(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e},G={f:q},$=y?function(e,t,n){return G.f(e,t,k(1,n))}:function(e,t,n){return e[t]=n,e},X=function(e,t){try{$(v,e,t)}catch(n){v[e]=t}return t},Y=v["__core-js_shared__"]||X("__core-js_shared__",{}),K=Y,J=Function.toString;"function"!=typeof K.inspectSource&&(K.inspectSource=function(e){return J.call(e)});var Z,Q,ee,te=K.inspectSource,ne=v.WeakMap,re="function"==typeof ne&&/native code/.test(te(ne)),ie=t(function(e){(e.exports=function(e,t){return K[e]||(K[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),ae=0,oe=Math.random(),se=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++ae+oe).toString(36)},le=ie("keys"),ce=function(e){return le[e]||(le[e]=se(e))},ue={},fe=v.WeakMap,he=function(e){return ee(e)?Q(e):Z(e,{})},de=function(e){return function(t){var n;if(!I(t)||(n=Q(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(re){var pe=new fe,ge=pe.get,me=pe.has,ve=pe.set;Z=function(e,t){return ve.call(pe,e,t),t},Q=function(e){return ge.call(pe,e)||{}},ee=function(e){return me.call(pe,e)}}else{var be=ce("state");ue[be]=!0,Z=function(e,t){return $(e,be,t),t},Q=function(e){return P(e,be)?e[be]:{}},ee=function(e){return P(e,be)}}var ye,we={set:Z,get:Q,has:ee,enforce:he,getterFor:de},Se=t(function(e){var t=we.get,n=we.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;if("function"==typeof i&&("string"!=typeof t||P(i,"name")||$(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e===v)return void(s?e[t]=i:X(t,i));o?!l&&e[t]&&(s=!0):delete e[t],s?e[t]=i:$(e,t,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||te(this)})}),xe=v,Ee=function(e){return"function"==typeof e?e:void 0},_e=function(e,t){return arguments.length<2?Ee(xe[e])||Ee(v[e]):xe[e]&&xe[e][t]||v[e]&&v[e][t]},ke=Math.ceil,Ae=Math.floor,Ce=function(e){return isNaN(e=+e)?0:(e>0?Ae:ke)(e)},Te=Math.min,Re=function(e){return e>0?Te(Ce(e),9007199254740991):0},Ne=Math.max,Be=Math.min,Ie=function(e,t){var n=Ce(e);return n<0?Ne(n+t,0):Be(n,t)},Oe=function(e){return function(t,n,r){var i,a=B(t),o=Re(a.length),s=Ie(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Le={includes:Oe(!0),indexOf:Oe(!1)},Pe=Le.indexOf,Fe=function(e,t){var n,r=B(e),i=0,a=[];for(n in r)!P(ue,n)&&P(r,n)&&a.push(n);for(;t.length>i;)P(r,n=t[i++])&&(~Pe(a,n)||a.push(n));return a},De=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Me=De.concat("length","prototype"),je=Object.getOwnPropertyNames||function(e){return Fe(e,Me)},We={f:je},Ue=Object.getOwnPropertySymbols,ze={f:Ue},He=_e("Reflect","ownKeys")||function(e){var t=We.f(H(e)),n=ze.f;return n?t.concat(n(e)):t},Ve=function(e,t){for(var n=He(t),r=G.f,i=z.f,a=0;a<n.length;a++){var o=n[a];P(e,o)||r(e,o,i(t,o))}},qe=/#|\.prototype\./,Ge=function(e,t){var n=Xe[$e(e)];return n==Ke||n!=Ye&&("function"==typeof t?b(t):!!t)},$e=Ge.normalize=function(e){return String(e).replace(qe,".").toLowerCase()},Xe=Ge.data={},Ye=Ge.NATIVE="N",Ke=Ge.POLYFILL="P",Je=Ge,Ze=z.f,Qe=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?v:c?v[s]||X(s,{}):(v[s]||{}).prototype)for(r in t){if(a=t[r],e.noTargetGet?(o=Ze(n,r),i=o&&o.value):i=n[r],!Je(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;Ve(a,i)}(e.sham||i&&i.sham)&&$(a,"sham",!0),Se(n,r,a,e)}},et=!!Object.getOwnPropertySymbols&&!b(function(){return!String(Symbol())}),tt=et&&!Symbol.sham&&"symbol"==typeof Symbol(),nt=Array.isArray||function(e){return"Array"==C(e)},rt=function(e){return Object(N(e))},it=Object.keys||function(e){return Fe(e,De)},at=y?Object.defineProperties:function(e,t){H(e);for(var n,r=it(t),i=r.length,a=0;i>a;)G.f(e,n=r[a++],t[n]);return e},ot=_e("document","documentElement"),st=ce("IE_PROTO"),lt=function(){},ct=function(e){return"<script>"+e+"<\/script>"},ut=function(e){e.write(ct("")),e.close();var t=e.parentWindow.Object;return e=null,t},ft=function(){var e,t=M("iframe");return t.style.display="none",ot.appendChild(t),t.src=String("javascript:"),e=t.contentWindow.document,e.open(),e.write(ct("document.F=Object")),e.close(),e.F},ht=function(){try{ye=document.domain&&new ActiveXObject("htmlfile")}catch(e){}ht=ye?ut(ye):ft();for(var e=De.length;e--;)delete ht.prototype[De[e]];return ht()};ue[st]=!0;var dt=Object.create||function(e,t){var n;return null!==e?(lt.prototype=H(e),n=new lt,lt.prototype=null,n[st]=e):n=ht(),void 0===t?n:at(n,t)},pt=We.f,gt={}.toString,mt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],vt=function(e){try{return pt(e)}catch(e){return mt.slice()}},bt=function(e){return mt&&"[object Window]"==gt.call(e)?vt(e):pt(B(e))},yt={f:bt},wt=ie("wks"),St=v.Symbol,xt=tt?St:se,Et=function(e){return P(wt,e)||(et&&P(St,e)?wt[e]=St[e]:wt[e]=xt("Symbol."+e)),wt[e]},_t=Et,kt={f:_t},At=G.f,Ct=function(e){var t=xe.Symbol||(xe.Symbol={});P(t,e)||At(t,e,{value:kt.f(e)})},Tt=G.f,Rt=Et("toStringTag"),Nt=function(e,t,n){e&&!P(e=n?e:e.prototype,Rt)&&Tt(e,Rt,{configurable:!0,value:t})},Bt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},It=function(e,t,n){if(Bt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},Ot=Et("species"),Lt=function(e,t){var n;return nt(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!nt(n.prototype)?I(n)&&null===(n=n[Ot])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Pt=[].push,Ft=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=5==e||a;return function(s,l,c,u){for(var f,h,d=rt(s),p=R(d),g=It(l,c,3),m=Re(p.length),v=0,b=u||Lt,y=t?b(s,m):n?b(s,0):void 0;m>v;v++)if((o||v in p)&&(f=p[v],h=g(f,v,d),e))if(t)y[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Pt.call(y,f)}else if(i)return!1;return a?-1:r||i?i:y}},Dt={forEach:Ft(0),map:Ft(1),filter:Ft(2),some:Ft(3),every:Ft(4),find:Ft(5),findIndex:Ft(6)},Mt=Dt.forEach,jt=ce("hidden"),Wt=Et("toPrimitive"),Ut=we.set,zt=we.getterFor("Symbol"),Ht=Object.prototype,Vt=v.Symbol,qt=_e("JSON","stringify"),Gt=z.f,$t=G.f,Xt=yt.f,Yt=_.f,Kt=ie("symbols"),Jt=ie("op-symbols"),Zt=ie("string-to-symbol-registry"),Qt=ie("symbol-to-string-registry"),en=ie("wks"),tn=v.QObject,nn=!tn||!tn.prototype||!tn.prototype.findChild,rn=y&&b(function(){return 7!=dt($t({},"a",{get:function(){return $t(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Gt(Ht,t);r&&delete Ht[t],$t(e,t,n),r&&e!==Ht&&$t(Ht,t,r)}:$t,an=function(e,t){var n=Kt[e]=dt(Vt.prototype);return Ut(n,{type:"Symbol",tag:e,description:t}),y||(n.description=t),n},on=et&&"symbol"==typeof Vt.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Vt},sn=function(e,t,n){e===Ht&&sn(Jt,t,n),H(e);var r=O(t,!0);return H(n),P(Kt,r)?(n.enumerable?(P(e,jt)&&e[jt][r]&&(e[jt][r]=!1),n=dt(n,{enumerable:k(0,!1)})):(P(e,jt)||$t(e,jt,k(1,{})),e[jt][r]=!0),rn(e,r,n)):$t(e,r,n)},ln=function(e,t){H(e);var n=B(t),r=it(n).concat(dn(n));return Mt(r,function(t){y&&!un.call(n,t)||sn(e,t,n[t])}),e},cn=function(e,t){return void 0===t?dt(e):ln(dt(e),t)},un=function(e){var t=O(e,!0),n=Yt.call(this,t);return!(this===Ht&&P(Kt,t)&&!P(Jt,t))&&(!(n||!P(this,t)||!P(Kt,t)||P(this,jt)&&this[jt][t])||n)},fn=function(e,t){var n=B(e),r=O(t,!0);if(n!==Ht||!P(Kt,r)||P(Jt,r)){var i=Gt(n,r);return!i||!P(Kt,r)||P(n,jt)&&n[jt][r]||(i.enumerable=!0),i}},hn=function(e){var t=Xt(B(e)),n=[];return Mt(t,function(e){P(Kt,e)||P(ue,e)||n.push(e)}),n},dn=function(e){var t=e===Ht,n=Xt(t?Jt:B(e)),r=[];return Mt(n,function(e){!P(Kt,e)||t&&!P(Ht,e)||r.push(Kt[e])}),r};if(et||(Vt=function(){if(this instanceof Vt)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=se(e),n=function(e){this===Ht&&n.call(Jt,e),P(this,jt)&&P(this[jt],t)&&(this[jt][t]=!1),rn(this,t,k(1,e))};return y&&nn&&rn(Ht,t,{configurable:!0,set:n}),an(t,e)},Se(Vt.prototype,"toString",function(){return zt(this).tag}),_.f=un,G.f=sn,z.f=fn,We.f=yt.f=hn,ze.f=dn,y&&($t(Vt.prototype,"description",{configurable:!0,get:function(){return zt(this).description}}),Se(Ht,"propertyIsEnumerable",un,{unsafe:!0}))),tt||(kt.f=function(e){return an(Et(e),e)}),Qe({global:!0,wrap:!0,forced:!et,sham:!et},{Symbol:Vt}),Mt(it(en),function(e){Ct(e)}),Qe({target:"Symbol",stat:!0,forced:!et},{for:function(e){var t=String(e);if(P(Zt,t))return Zt[t];var n=Vt(t);return Zt[t]=n,Qt[n]=t,n},keyFor:function(e){if(!on(e))throw TypeError(e+" is not a symbol");if(P(Qt,e))return Qt[e]},useSetter:function(){nn=!0},useSimple:function(){nn=!1}}),Qe({target:"Object",stat:!0,forced:!et,sham:!y},{create:cn,defineProperty:sn,defineProperties:ln,getOwnPropertyDescriptor:fn}),Qe({target:"Object",stat:!0,forced:!et},{getOwnPropertyNames:hn,getOwnPropertySymbols:dn}),Qe({target:"Object",stat:!0,forced:b(function(){ze.f(1)})},{getOwnPropertySymbols:function(e){return ze.f(rt(e))}}),qt){var pn=!et||b(function(){var e=Vt();return"[null]"!=qt([e])||"{}"!=qt({a:e})||"{}"!=qt(Object(e))});Qe({target:"JSON",stat:!0,forced:pn},{stringify:function(e,t,n){for(var r,i=[e],a=1;arguments.length>a;)i.push(arguments[a++]);if(r=t,(I(t)||void 0!==e)&&!on(e))return nt(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!on(t))return t}),i[1]=t,qt.apply(null,i)}})}Vt.prototype[Wt]||$(Vt.prototype,Wt,Vt.prototype.valueOf),Nt(Vt,"Symbol"),ue[jt]=!0;var gn=G.f,mn=v.Symbol;if(y&&"function"==typeof mn&&(!("description"in mn.prototype)||void 0!==mn().description)){var vn={},bn=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof bn?new mn(e):void 0===e?mn():mn(e);return""===e&&(vn[t]=!0),t};Ve(bn,mn);var yn=bn.prototype=mn.prototype;yn.constructor=bn;var wn=yn.toString,Sn="Symbol(test)"==String(mn("test")),xn=/^Symbol\((.*)\)[^)]+$/;gn(yn,"description",{configurable:!0,get:function(){var e=I(this)?this.valueOf():this,t=wn.call(e);if(P(vn,e))return"";var n=Sn?t.slice(7,-1):t.replace(xn,"$1");return""===n?void 0:n}}),Qe({global:!0,forced:!0},{Symbol:bn})}Ct("iterator");var En,_n,kn=function(e,t,n){var r=O(t);r in e?G.f(e,r,k(0,n)):e[r]=n},An=_e("navigator","userAgent")||"",Cn=v.process,Tn=Cn&&Cn.versions,Rn=Tn&&Tn.v8;Rn?(En=Rn.split("."),_n=En[0]+En[1]):An&&(!(En=An.match(/Edge\/(\d+)/))||En[1]>=74)&&(En=An.match(/Chrome\/(\d+)/))&&(_n=En[1]);var Nn=_n&&+_n,Bn=Et("species"),In=function(e){return Nn>=51||!b(function(){var t=[],n=t.constructor={};return n[Bn]=function(){return{foo:1}},1!==t[e](Boolean).foo})},On=Et("isConcatSpreadable"),Ln=Nn>=51||!b(function(){var e=[];return e[On]=!1,e.concat()[0]!==e}),Pn=In("concat"),Fn=function(e){if(!I(e))return!1;var t=e[On];return void 0!==t?!!t:nt(e)};Qe({target:"Array",proto:!0,forced:!Ln||!Pn},{concat:function(e){var t,n,r,i,a,o=rt(this),s=Lt(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(a=-1===t?o:arguments[t],Fn(a)){if(i=Re(a.length),l+i>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,l++)n in a&&kn(s,l,a[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");kn(s,l++,a)}return s.length=l,s}});var Dn=Dt.filter,Mn=In("filter"),jn=Mn&&!b(function(){[].filter.call({length:-1,0:1},function(e){throw e})});Qe({target:"Array",proto:!0,forced:!Mn||!jn},{filter:function(e){return Dn(this,e,arguments.length>1?arguments[1]:void 0)}});var Wn=Et("unscopables"),Un=Array.prototype;void 0==Un[Wn]&&G.f(Un,Wn,{configurable:!0,value:dt(null)});var zn=function(e){Un[Wn][e]=!0},Hn=Dt.find,Vn=!0;"find"in[]&&Array(1).find(function(){Vn=!1}),Qe({target:"Array",proto:!0,forced:Vn},{find:function(e){return Hn(this,e,arguments.length>1?arguments[1]:void 0)}}),zn("find");var qn=Dt.findIndex,Gn=!0;"findIndex"in[]&&Array(1).findIndex(function(){Gn=!1}),Qe({target:"Array",proto:!0,forced:Gn},{findIndex:function(e){return qn(this,e,arguments.length>1?arguments[1]:void 0)}}),zn("findIndex");var $n=Le.includes;Qe({target:"Array",proto:!0},{includes:function(e){return $n(this,e,arguments.length>1?arguments[1]:void 0)}}),zn("includes");var Xn=function(e,t){var n=[][e];return!n||!b(function(){n.call(null,t||function(){throw 1},1)})},Yn=Le.indexOf,Kn=[].indexOf,Jn=!!Kn&&1/[1].indexOf(1,-0)<0,Zn=Xn("indexOf");Qe({target:"Array",proto:!0,forced:Jn||Zn},{indexOf:function(e){return Jn?Kn.apply(this,arguments)||0:Yn(this,e,arguments.length>1?arguments[1]:void 0)}});var Qn,er,tr,nr=!b(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),rr=ce("IE_PROTO"),ir=Object.prototype,ar=nr?Object.getPrototypeOf:function(e){return e=rt(e),P(e,rr)?e[rr]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?ir:null},or=Et("iterator"),sr=!1,lr=function(){return this};[].keys&&(tr=[].keys(),"next"in tr?(er=ar(ar(tr)))!==Object.prototype&&(Qn=er):sr=!0),void 0==Qn&&(Qn={}),P(Qn,or)||$(Qn,or,lr);var cr={IteratorPrototype:Qn,BUGGY_SAFARI_ITERATORS:sr},ur=cr.IteratorPrototype,fr=function(e,t,n){var r=t+" Iterator";return e.prototype=dt(ur,{next:k(1,n)}),Nt(e,r,!1),e},hr=function(e){if(!I(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},dr=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return H(n),hr(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),pr=cr.IteratorPrototype,gr=cr.BUGGY_SAFARI_ITERATORS,mr=Et("iterator"),vr=function(){return this},br=function(e,t,n,r,i,a,o){fr(n,t,r);var s,l,c,u=function(e){if(e===i&&g)return g;if(!gr&&e in d)return d[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[mr]||d["@@iterator"]||i&&d[i],g=!gr&&p||u(i),m="Array"==t?d.entries||p:p;if(m&&(s=ar(m.call(new e)),pr!==Object.prototype&&s.next&&(ar(s)!==pr&&(dr?dr(s,pr):"function"!=typeof s[mr]&&$(s,mr,vr)),Nt(s,f,!0))),"values"==i&&p&&"values"!==p.name&&(h=!0,g=function(){return p.call(this)}),d[mr]!==g&&$(d,mr,g),i)if(l={values:u("values"),keys:a?g:u("keys"),entries:u("entries")},o)for(c in l)!gr&&!h&&c in d||Se(d,c,l[c]);else Qe({target:t,proto:!0,forced:gr||h},l);return l},yr=we.set,wr=we.getterFor("Array Iterator"),Sr=br(Array,"Array",function(e,t){yr(this,{type:"Array Iterator",target:B(e),index:0,kind:t})},function(){var e=wr(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");zn("keys"),zn("values"),zn("entries");var xr=[].join,Er=R!=Object,_r=Xn("join",",");Qe({target:"Array",proto:!0,forced:Er||_r},{join:function(e){return xr.call(B(this),void 0===e?",":e)}});var kr=Dt.map,Ar=In("map"),Cr=Ar&&!b(function(){[].map.call({length:-1,0:1},function(e){throw e})});Qe({target:"Array",proto:!0,forced:!Ar||!Cr},{map:function(e){return kr(this,e,arguments.length>1?arguments[1]:void 0)}});var Tr=[].reverse,Rr=[1,2];Qe({target:"Array",proto:!0,forced:String(Rr)===String(Rr.reverse())},{reverse:function(){return nt(this)&&(this.length=this.length),Tr.call(this)}});var Nr=Et("species"),Br=[].slice,Ir=Math.max;Qe({target:"Array",proto:!0,forced:!In("slice")},{slice:function(e,t){var n,r,i,a=B(this),o=Re(a.length),s=Ie(e,o),l=Ie(void 0===t?o:t,o);if(nt(a)&&(n=a.constructor,"function"!=typeof n||n!==Array&&!nt(n.prototype)?I(n)&&null===(n=n[Nr])&&(n=void 0):n=void 0,n===Array||void 0===n))return Br.call(a,s,l);for(r=new(void 0===n?Array:n)(Ir(l-s,0)),i=0;s<l;s++,i++)s in a&&kn(r,i,a[s]);return r.length=i,r}});var Or=[],Lr=Or.sort,Pr=b(function(){Or.sort(void 0)}),Fr=b(function(){Or.sort(null)}),Dr=Xn("sort");Qe({target:"Array",proto:!0,forced:Pr||!Fr||Dr},{sort:function(e){return void 0===e?Lr.call(rt(this)):Lr.call(rt(this),Bt(e))}});var Mr=Math.max,jr=Math.min;Qe({target:"Array",proto:!0,forced:!In("splice")},{splice:function(e,t){var n,r,i,a,o,s,l=rt(this),c=Re(l.length),u=Ie(e,c),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=c-u):(n=f-2,r=jr(Mr(Ce(t),0),c-u)),c+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(i=Lt(l,r),a=0;a<r;a++)(o=u+a)in l&&kn(i,a,l[o]);if(i.length=r,n<r){for(a=u;a<c-r;a++)o=a+r,s=a+n,o in l?l[s]=l[o]:delete l[s];for(a=c;a>c-r+n;a--)delete l[a-1]}else if(n>r)for(a=c-r;a>u;a--)o=a+r-1,s=a+n-1,o in l?l[s]=l[o]:delete l[s];for(a=0;a<n;a++)l[a+u]=arguments[a+2];return l.length=c-r+n,i}});var Wr=function(e,t,n){var r,i;return dr&&"function"==typeof(r=t.constructor)&&r!==n&&I(i=r.prototype)&&i!==n.prototype&&dr(e,i),e},Ur="\t\n\v\f\r \u2028\u2029\ufeff",zr="["+Ur+"]",Hr=RegExp("^"+zr+zr+"*"),Vr=RegExp(zr+zr+"*$"),qr=function(e){return function(t){var n=String(N(t));return 1&e&&(n=n.replace(Hr,"")),2&e&&(n=n.replace(Vr,"")),n}},Gr={start:qr(1),end:qr(2),trim:qr(3)},$r=We.f,Xr=z.f,Yr=G.f,Kr=Gr.trim,Jr=v.Number,Zr=Jr.prototype,Qr="Number"==C(dt(Zr)),ei=function(e){var t,n,r,i,a,o,s,l,c=O(e,!1);if("string"==typeof c&&c.length>2)if(c=Kr(c),43===(t=c.charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=c.slice(2),o=a.length,s=0;s<o;s++)if((l=a.charCodeAt(s))<48||l>i)return NaN;return parseInt(a,r)}return+c};if(Je("Number",!Jr(" 0o1")||!Jr("0b1")||Jr("+0x1"))){for(var ti,ni=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof ni&&(Qr?b(function(){Zr.valueOf.call(n)}):"Number"!=C(n))?Wr(new Jr(ei(t)),n,ni):ei(t)},ri=y?$r(Jr):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),ii=0;ri.length>ii;ii++)P(Jr,ti=ri[ii])&&!P(ni,ti)&&Yr(ni,ti,Xr(Jr,ti));ni.prototype=Zr,Zr.constructor=ni,Se(v,"Number",ni)}var ai=Object.assign,oi=Object.defineProperty,si=!ai||b(function(){if(y&&1!==ai({b:1},ai(oi({},"a",{enumerable:!0,get:function(){oi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ai({},e)[n]||it(ai({},t)).join("")!=r})?function(e,t){for(var n=rt(e),r=arguments.length,i=1,a=ze.f,o=_.f;r>i;)for(var s,l=R(arguments[i++]),c=a?it(l).concat(a(l)):it(l),u=c.length,f=0;u>f;)s=c[f++],y&&!o.call(l,s)||(n[s]=l[s]);return n}:ai;Qe({target:"Object",stat:!0,forced:Object.assign!==si},{assign:si});var li=_.f,ci=function(e){return function(t){for(var n,r=B(t),i=it(r),a=i.length,o=0,s=[];a>o;)n=i[o++],y&&!li.call(r,n)||s.push(e?[n,r[n]]:r[n]);return s}},ui={entries:ci(!0),values:ci(!1)},fi=ui.entries;Qe({target:"Object",stat:!0},{entries:function(e){return fi(e)}});var hi=Et("toStringTag"),di={};di[hi]="z";var pi="[object z]"===String(di),gi=Et("toStringTag"),mi="Arguments"==C(function(){return arguments}()),vi=function(e,t){try{return e[t]}catch(e){}},bi=pi?C:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=vi(t=Object(e),gi))?n:mi?C(t):"Object"==(r=C(t))&&"function"==typeof t.callee?"Arguments":r},yi=pi?{}.toString:function(){return"[object "+bi(this)+"]"};pi||Se(Object.prototype,"toString",yi,{unsafe:!0});var wi=Gr.trim,Si=v.parseFloat,xi=1/Si(Ur+"-0")!=-1/0,Ei=xi?function(e){var t=wi(String(e)),n=Si(t);return 0===n&&"-"==t.charAt(0)?-0:n}:Si;Qe({global:!0,forced:parseFloat!=Ei},{parseFloat:Ei});var _i=Gr.trim,ki=v.parseInt,Ai=/^[+-]?0[Xx]/,Ci=8!==ki(Ur+"08")||22!==ki(Ur+"0x16"),Ti=Ci?function(e,t){var n=_i(String(e));return ki(n,t>>>0||(Ai.test(n)?16:10))}:ki;Qe({global:!0,forced:parseInt!=Ti},{parseInt:Ti});var Ri=Et("match"),Ni=function(e){var t;return I(e)&&(void 0!==(t=e[Ri])?!!t:"RegExp"==C(e))},Bi=function(){var e=H(this),t=""
|
||
;return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Ii=b(function(){var e=n("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Oi=b(function(){var e=n("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),Li={UNSUPPORTED_Y:Ii,BROKEN_CARET:Oi},Pi=Et("species"),Fi=G.f,Di=We.f,Mi=we.set,ji=Et("match"),Wi=v.RegExp,Ui=Wi.prototype,zi=/a/g,Hi=/a/g,Vi=new Wi(zi)!==zi,qi=Li.UNSUPPORTED_Y;if(y&&Je("RegExp",!Vi||qi||b(function(){return Hi[ji]=!1,Wi(zi)!=zi||Wi(Hi)==Hi||"/a/i"!=Wi(zi,"i")}))){for(var Gi=function(e,t){var n,r=this instanceof Gi,i=Ni(e),a=void 0===t;if(!r&&i&&e.constructor===Gi&&a)return e;Vi?i&&!a&&(e=e.source):e instanceof Gi&&(a&&(t=Bi.call(e)),e=e.source),qi&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var o=Wr(Vi?new Wi(e,t):Wi(e,t),r?this:Ui,Gi);return qi&&n&&Mi(o,{sticky:n}),o},$i=Di(Wi),Xi=0;$i.length>Xi;)!function(e){e in Gi||Fi(Gi,e,{configurable:!0,get:function(){return Wi[e]},set:function(t){Wi[e]=t}})}($i[Xi++]);Ui.constructor=Gi,Gi.prototype=Ui,Se(v,"RegExp",Gi)}!function(e){var t=_e(e),n=G.f;y&&t&&!t[Pi]&&n(t,Pi,{configurable:!0,get:function(){return this}})}("RegExp");var Yi=RegExp.prototype.exec,Ki=String.prototype.replace,Ji=Yi,Zi=function(){var e=/a/,t=/b*/g;return Yi.call(e,"a"),Yi.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Qi=Li.UNSUPPORTED_Y||Li.BROKEN_CARET,ea=void 0!==/()??/.exec("")[1];(Zi||ea||Qi)&&(Ji=function(e){var t,n,r,i,a=this,o=Qi&&a.sticky,s=Bi.call(a),l=a.source,c=0,u=e;return o&&(s=s.replace("y",""),-1===s.indexOf("g")&&(s+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),ea&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Zi&&(t=a.lastIndex),r=Yi.call(o?n:a,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:Zi&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),ea&&r&&r.length>1&&Ki.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r});var ta=Ji;Qe({target:"RegExp",proto:!0,forced:/./.exec!==ta},{exec:ta});var na=RegExp.prototype,ra=na.toString,ia=b(function(){return"/a/b"!=ra.call({source:"a",flags:"b"})}),aa="toString"!=ra.name;(ia||aa)&&Se(RegExp.prototype,"toString",function(){var e=H(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in na)?Bi.call(e):n)},{unsafe:!0});var oa=function(e){if(Ni(e))throw TypeError("The method doesn't accept regular expressions");return e},sa=Et("match"),la=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[sa]=!1,"/./"[e](t)}catch(e){}}return!1};Qe({target:"String",proto:!0,forced:!la("includes")},{includes:function(e){return!!~String(N(this)).indexOf(oa(e),arguments.length>1?arguments[1]:void 0)}});var ca=function(e){return function(t,n){var r,i,a=String(N(t)),o=Ce(n),s=a.length;return o<0||o>=s?e?"":void 0:(r=a.charCodeAt(o),r<55296||r>56319||o+1===s||(i=a.charCodeAt(o+1))<56320||i>57343?e?a.charAt(o):r:e?a.slice(o,o+2):i-56320+(r-55296<<10)+65536)}},ua={codeAt:ca(!1),charAt:ca(!0)},fa=ua.charAt,ha=we.set,da=we.getterFor("String Iterator");br(String,"String",function(e){ha(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=da(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=fa(n,r),t.index+=e.length,{value:e,done:!1})});var pa=Et("species"),ga=!b(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),ma=function(){return"$0"==="a".replace(/./,"$0")}(),va=!b(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),ba=function(e,t,n,r){var i=Et(e),a=!b(function(){var t={};return t[i]=function(){return 7},7!=""[e](t)}),o=a&&!b(function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[pa]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t});if(!a||!o||"replace"===e&&(!ga||!ma)||"split"===e&&!va){var s=/./[i],l=n(i,""[e],function(e,t,n,r,i){return t.exec===ta?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:ma}),c=l[0],u=l[1];Se(String.prototype,e,c),Se(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&$(RegExp.prototype[i],"sham",!0)},ya=ua.charAt,wa=function(e,t,n){return t+(n?ya(e,t).length:1)},Sa=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==C(e))throw TypeError("RegExp#exec called on incompatible receiver");return ta.call(e,t)},xa=Math.max,Ea=Math.min,_a=Math.floor,ka=/\$([$&'`]|\d\d?|<[^>]*>)/g,Aa=/\$([$&'`]|\d\d?)/g,Ca=function(e){return void 0===e?e:String(e)};ba("replace",2,function(e,t,n,r){function i(e,n,r,i,a,o){var s=r+e.length,l=i.length,c=Aa;return void 0!==a&&(a=rt(a),c=ka),t.call(o,c,function(t,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return t;if(u>l){var f=_a(u/10);return 0===f?t:f<=l?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}c=i[u-1]}return void 0===c?"":c})}return[function(n,r){var i=N(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,r):t.call(String(i),n,r)},function(e,a){if(r.REPLACE_KEEPS_$0||"string"==typeof a&&-1===a.indexOf("$0")){var o=n(t,e,this,a);if(o.done)return o.value}var s=H(e),l=String(this),c="function"==typeof a;c||(a=String(a));var u=s.global;if(u){var f=s.unicode;s.lastIndex=0}for(var h=[];;){var d=Sa(s,l);if(null===d)break;if(h.push(d),!u)break;""===String(d[0])&&(s.lastIndex=wa(l,Re(s.lastIndex),f))}for(var p="",g=0,m=0;m<h.length;m++){d=h[m];for(var v=String(d[0]),b=xa(Ea(Ce(d.index),l.length),0),y=[],w=1;w<d.length;w++)y.push(Ca(d[w]));var S=d.groups;if(c){var x=[v].concat(y,b,l);void 0!==S&&x.push(S);var E=String(a.apply(void 0,x))}else E=i(v,l,b,y,S,a);b>=g&&(p+=l.slice(g,b)+E,g=b+v.length)}return p+l.slice(g)}]});var Ta=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};ba("search",1,function(e,t,n){return[function(t){var n=N(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=H(e),a=String(this),o=i.lastIndex;Ta(o,0)||(i.lastIndex=0);var s=Sa(i,a);return Ta(i.lastIndex,o)||(i.lastIndex=o),null===s?-1:s.index}]});var Ra=Et("species"),Na=function(e,t){var n,r=H(e).constructor;return void 0===r||void 0==(n=H(r)[Ra])?t:Bt(n)},Ba=[].push,Ia=Math.min,Oa=!b(function(){return!RegExp(4294967295,"y")});ba("split",2,function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(N(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!Ni(e))return t.call(r,e,i);for(var a,o,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,c+"g");(a=ta.call(f,r))&&!((o=f.lastIndex)>u&&(l.push(r.slice(u,a.index)),a.length>1&&a.index<r.length&&Ba.apply(l,a.slice(1)),s=a[0].length,u=o,l.length>=i));)f.lastIndex===a.index&&f.lastIndex++;return u===r.length?!s&&f.test("")||l.push(""):l.push(r.slice(u)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=N(this),a=void 0==t?void 0:t[e];return void 0!==a?a.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var o=H(e),s=String(this),l=Na(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Oa?"y":"g"),f=new l(Oa?o:"^(?:"+o.source+")",u),h=void 0===i?4294967295:i>>>0;if(0===h)return[];if(0===s.length)return null===Sa(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=Oa?p:0;var m,v=Sa(f,Oa?s:s.slice(p));if(null===v||(m=Ia(Re(f.lastIndex+(Oa?0:p)),s.length))===d)p=wa(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(g.push(v[b]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]},!Oa);var La="
",Pa=Gr.trim;Qe({target:"String",proto:!0,forced:function(e){return b(function(){return!!Ur[e]()||La[e]()!=La||Ur[e].name!==e})}("trim")},{trim:function(){return Pa(this)}});var Fa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Da=Dt.forEach,Ma=Xn("forEach")?function(e){return Da(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach;for(var ja in Fa){var Wa=v[ja],Ua=Wa&&Wa.prototype;if(Ua&&Ua.forEach!==Ma)try{$(Ua,"forEach",Ma)}catch(e){Ua.forEach=Ma}}var za=Et("iterator"),Ha=Et("toStringTag"),Va=Sr.values;for(var qa in Fa){var Ga=v[qa],$a=Ga&&Ga.prototype;if($a){if($a[za]!==Va)try{$($a,za,Va)}catch(e){$a[za]=Va}if($a[Ha]||$($a,Ha,qa),Fa[qa])for(var Xa in Sr)if($a[Xa]!==Sr[Xa])try{$($a,Xa,Sr[Xa])}catch(e){$a[Xa]=Sr[Xa]}}}var Ya=4;try{var Ka=e.fn.dropdown.Constructor.VERSION;void 0!==Ka&&(Ya=parseInt(Ka,10))}catch(e){}try{var Ja=bootstrap.Tooltip.VERSION;void 0!==Ja&&(Ya=parseInt(Ja,10))}catch(e){}var Za={3:{iconsPrefix:"glyphicon",icons:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},classes:{buttonsPrefix:"btn",buttons:"default",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"pull",inputGroup:"input-group",inputPrefix:"input-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],toolbarDropdownItem:'<li class="dropdown-item-marker" role="menuitem"><label>%s</label></li>',toolbarDropdownSeparator:'<li class="divider"></li>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s</a></li>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<span class="input-group-btn">%s</span></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},4:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s</div></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},5:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s</div></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}}}[Ya],Qa={height:void 0,classes:"table table-bordered table-hover",buttons:{},theadClasses:"",headerStyle:function(e){return{}},rowStyle:function(e,t){return{}},rowAttributes:function(e,t){return{}},undefinedText:"-",locale:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,sortable:!0,sortClass:void 0,silentSort:!0,sortName:void 0,sortOrder:void 0,sortReset:!1,sortStable:!1,rememberOrder:!1,serverSort:!0,customSort:void 0,columns:[[]],data:[],url:void 0,method:"get",cache:!0,contentType:"application/json",dataType:"json",ajax:void 0,ajaxOptions:{},queryParams:function(e){return e},queryParamsType:"limit",responseHandler:function(e){return e},totalField:"total",totalNotFilteredField:"totalNotFiltered",dataField:"rows",footerField:"footer",pagination:!1,paginationParts:["pageInfo","pageSize","pageList"],showExtendedPagination:!1,paginationLoop:!0,sidePagination:"client",totalRows:0,totalNotFiltered:0,pageNumber:1,pageSize:10,pageList:[10,25,50,100],paginationHAlign:"right",paginationVAlign:"bottom",paginationDetailHAlign:"left",paginationPreText:"‹",paginationNextText:"›",paginationSuccessivelySize:5,paginationPagesBySide:1,paginationUseIntermediate:!1,search:!1,searchHighlight:!1,searchOnEnterKey:!1,strictSearch:!1,searchSelector:!1,visibleSearch:!1,showButtonIcons:!0,showButtonText:!1,showSearchButton:!1,showSearchClearButton:!1,trimOnSearch:!0,searchAlign:"right",searchTimeOut:500,searchText:"",customSearch:void 0,showHeader:!0,showFooter:!1,footerStyle:function(e){return{}},searchAccentNeutralise:!1,showColumns:!1,showColumnsToggleAll:!1,showColumnsSearch:!1,minimumCountColumns:1,showPaginationSwitch:!1,showRefresh:!1,showToggle:!1,showFullscreen:!1,smartDisplay:!0,escape:!1,filterOptions:{filterAlgorithm:"and"},idField:void 0,selectItemName:"btSelectItem",clickToSelect:!1,ignoreClickToSelectOn:function(e){return["A","BUTTON"].includes(e.tagName)},singleSelect:!1,checkboxHeader:!0,maintainMetaData:!1,multipleSelectRow:!1,uniqueId:void 0,cardView:!1,detailView:!1,detailViewIcon:!0,detailViewByClick:!1,detailViewAlign:"left",detailFormatter:function(e,t){return""},detailFilter:function(e,t){return!0},toolbar:void 0,toolbarAlign:"left",buttonsToolbar:void 0,buttonsAlign:"right",buttonsOrder:["paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:Za.classes.buttonsPrefix,buttonsClass:Za.classes.buttons,icons:Za.icons,iconSize:void 0,iconsPrefix:Za.iconsPrefix,loadingFontSize:"auto",loadingTemplate:function(e){return'<span class="loading-wrap">\n <span class="loading-text">'.concat(e,'</span>\n <span class="animation-wrap"><span class="animation-dot"></span></span>\n </span>\n ')},onAll:function(e,t){return!1},onClickCell:function(e,t,n,r){return!1},onDblClickCell:function(e,t,n,r){return!1},onClickRow:function(e,t){return!1},onDblClickRow:function(e,t){return!1},onSort:function(e,t){return!1},onCheck:function(e){return!1},onUncheck:function(e){return!1},onCheckAll:function(e){return!1},onUncheckAll:function(e){return!1},onCheckSome:function(e){return!1},onUncheckSome:function(e){return!1},onLoadSuccess:function(e){return!1},onLoadError:function(e){return!1},onColumnSwitch:function(e,t){return!1},onPageChange:function(e,t){return!1},onSearch:function(e){return!1},onToggle:function(e){return!1},onPreBody:function(e){return!1},onPostBody:function(){return!1},onPostHeader:function(){return!1},onPostFooter:function(){return!1},onExpandRow:function(e,t,n){return!1},onCollapseRow:function(e,t){return!1},onRefreshOptions:function(e){return!1},onRefresh:function(e){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1}},eo={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(e){return"".concat(e," rows per page")},formatShowingRows:function(e,t,n,r){return void 0!==r&&r>0&&r>n?"Showing ".concat(e," to ").concat(t," of ").concat(n," rows (filtered from ").concat(r," total rows)"):"Showing ".concat(e," to ").concat(t," of ").concat(n," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(e){return"to page ".concat(e)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(e){return"Showing ".concat(e," rows")},formatSearch:function(){return"Search"},formatClearSearch:function(){return"Clear Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"}},to={field:void 0,title:void 0,titleTooltip:void 0,class:void 0,width:void 0,widthUnit:"px",rowspan:void 0,colspan:void 0,align:void 0,halign:void 0,falign:void 0,valign:void 0,cellStyle:void 0,radio:!1,checkbox:!1,checkboxEnabled:!0,clickToSelect:!0,showSelectTitle:!1,sortable:!1,sortName:void 0,order:"asc",sorter:void 0,visible:!0,switchable:!0,cardVisible:!0,searchable:!0,formatter:void 0,footerFormatter:void 0,detailFormatter:void 0,searchFormatter:!0,searchHighlightFormatter:!1,escape:!1,events:void 0},no=["getOptions","refreshOptions","getData","getSelections","load","append","prepend","remove","removeAll","insertRow","updateRow","getRowByUniqueId","updateByUniqueId","removeByUniqueId","updateCell","updateCellByUniqueId","showRow","hideRow","getHiddenRows","showColumn","hideColumn","getVisibleColumns","getHiddenColumns","showAllColumns","hideAllColumns","mergeCells","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","destroy","resetView","showLoading","hideLoading","togglePagination","toggleFullscreen","toggleView","resetSearch","filterBy","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandRowByUniqueId","collapseRowByUniqueId","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],ro={"all.bs.table":"onAll","click-row.bs.table":"onClickRow","dbl-click-row.bs.table":"onDblClickRow","click-cell.bs.table":"onClickCell","dbl-click-cell.bs.table":"onDblClickCell","sort.bs.table":"onSort","check.bs.table":"onCheck","uncheck.bs.table":"onUncheck","check-all.bs.table":"onCheckAll","uncheck-all.bs.table":"onUncheckAll","check-some.bs.table":"onCheckSome","uncheck-some.bs.table":"onUncheckSome","load-success.bs.table":"onLoadSuccess","load-error.bs.table":"onLoadError","column-switch.bs.table":"onColumnSwitch","page-change.bs.table":"onPageChange","search.bs.table":"onSearch","toggle.bs.table":"onToggle","pre-body.bs.table":"onPreBody","post-body.bs.table":"onPostBody","post-header.bs.table":"onPostHeader","post-footer.bs.table":"onPostFooter","expand-row.bs.table":"onExpandRow","collapse-row.bs.table":"onCollapseRow","refresh-options.bs.table":"onRefreshOptions","reset-view.bs.table":"onResetView","refresh.bs.table":"onRefresh","scroll-body.bs.table":"onScrollBody"};Object.assign(Qa,eo);var io={VERSION:"1.18.0",THEME:"bootstrap".concat(Ya),CONSTANTS:Za,DEFAULTS:Qa,COLUMN_DEFAULTS:to,METHODS:no,EVENTS:ro,LOCALES:{en:eo,"en-US":eo}},ao=b(function(){it(1)});Qe({target:"Object",stat:!0,forced:ao},{keys:function(e){return it(rt(e))}});var oo=z.f,so="".endsWith,lo=Math.min,co=la("endsWith"),uo=!co&&!!function(){var e=oo(String.prototype,"endsWith");return e&&!e.writable}();Qe({target:"String",proto:!0,forced:!uo&&!co},{endsWith:function(e){var t=String(N(this));oa(e);var n=arguments.length>1?arguments[1]:void 0,r=Re(t.length),i=void 0===n?r:lo(Re(n),r),a=String(e);return so?so.call(t,a,i):t.slice(i-a.length,i)===a}});var fo=z.f,ho="".startsWith,po=Math.min,go=la("startsWith"),mo=!go&&!!function(){var e=fo(String.prototype,"startsWith");return e&&!e.writable}();Qe({target:"String",proto:!0,forced:!mo&&!go},{startsWith:function(e){var t=String(N(this));oa(e);var n=Re(po(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return ho?ho.call(t,r,n):t.slice(n,n+r.length)===r}});var vo={getSearchInput:function(t){return"string"==typeof t.options.searchSelector?e(t.options.searchSelector):t.$toolbar.find(".search input")},sprintf:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=!0,a=0,o=e.replace(/%s/g,function(){var e=n[a++];return void 0===e?(i=!1,""):e});return i?o:""},isObject:function(e){return e instanceof Object&&!Array.isArray(e)},isEmptyObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(e).length&&e.constructor===Object},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},getFieldTitle:function(e,t){var n=!0,r=!1,i=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(s.field===t)return s.title}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return""},setFieldIndex:function(e){var t=0,n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[0][Symbol.iterator]();!(r=(o=s.next()).done);r=!0){t+=o.value.colspan||1}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}for(var l=0;l<e.length;l++){n[l]=[];for(var c=0;c<t;c++)n[l][c]=!1}for(var u=0;u<e.length;u++){var f=!0,h=!1,d=void 0;try{for(var p,g=e[u][Symbol.iterator]();!(f=(p=g.next()).done);f=!0){var m=p.value,v=m.rowspan||1,b=m.colspan||1,y=n[u].indexOf(!1);m.colspanIndex=y,1===b?(m.fieldIndex=y,void 0===m.field&&(m.field=y)):m.colspanGroup=m.colspan;for(var w=0;w<v;w++)for(var S=0;S<b;S++)n[u+w][y+S]=!0}}catch(e){h=!0,d=e}finally{try{f||null==g.return||g.return()}finally{if(h)throw d}}}},normalizeAccent:function(e){return"string"!=typeof e?e:e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},updateFieldGroup:function(e){var t,n=(t=[]).concat.apply(t,l(e)),r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value,u=!0,f=!1,h=void 0;try{for(var d,p=c[Symbol.iterator]();!(u=(d=p.next()).done);u=!0){var g=d.value;if(g.colspanGroup>1){for(var m=0,v=g.colspanIndex;v<g.colspanIndex+g.colspanGroup;v++)!function(e){n.find(function(t){return t.fieldIndex===e}).visible&&m++}(v);g.colspan=m,g.visible=m>0}}}catch(e){f=!0,h=e}finally{try{u||null==p.return||p.return()}finally{if(f)throw h}}}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}},getScrollBarWidth:function(){if(void 0===this.cachedWidth){var t=e("<div/>").addClass("fixed-table-scroll-inner"),n=e("<div/>").addClass("fixed-table-scroll-outer");n.append(t),e("body").append(n);var r=t[0].offsetWidth;n.css("overflow","scroll");var i=t[0].offsetWidth;r===i&&(i=n[0].clientWidth),n.remove(),this.cachedWidth=r-i}return this.cachedWidth},calculateObjectValue:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0,a=t;if("string"==typeof t){var o=t.split(".");if(o.length>1){a=window;var s=!0,c=!1,u=void 0;try{for(var f,h=o[Symbol.iterator]();!(s=(f=h.next()).done);s=!0){a=a[f.value]}}catch(e){c=!0,u=e}finally{try{s||null==h.return||h.return()}finally{if(c)throw u}}}else a=window[t]}return null!==a&&"object"===r(a)?a:"function"==typeof a?a.apply(e,n||[]):!a&&"string"==typeof t&&this.sprintf.apply(this,[t].concat(l(n)))?this.sprintf.apply(this,[t].concat(l(n))):i},compareObjects:function(e,t,n){var r=Object.keys(e),i=Object.keys(t);if(n&&r.length!==i.length)return!1;for(var a=0,o=r;a<o.length;a++){var s=o[a];if(i.includes(s)&&e[s]!==t[s])return!1}return!0},escapeHTML:function(e){return"string"==typeof e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`"):e},unescapeHTML:function(e){return"string"==typeof e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/`/g,"`"):e},getRealDataAttr:function(e){for(var t=0,n=Object.entries(e);t<n.length;t++){var r=s(n[t],2),i=r[0],a=r[1],o=i.split(/(?=[A-Z])/).join("-").toLowerCase();o!==i&&(e[o]=a,delete e[i])}return e},getItemField:function(e,t,n){var r=e;if("string"!=typeof t||e.hasOwnProperty(t))return n?this.escapeHTML(e[t]):e[t];var i=t.split("."),a=!0,o=!1,s=void 0;try{for(var l,c=i[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var u=l.value;r=r&&r[u]}}catch(e){o=!0,s=e}finally{try{a||null==c.return||c.return()}finally{if(o)throw s}}return n?this.escapeHTML(r):r},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(e,t){var n=!0,r=!1,i=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(JSON.stringify(s)===JSON.stringify(t))return e.indexOf(s)}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return-1},trToData:function(t,n){var r=this,i=[],a=[];return n.each(function(n,o){var s=e(o),l={};l._id=s.attr("id"),l._class=s.attr("class"),l._data=r.getRealDataAttr(s.data()),l._style=s.attr("style"),s.find(">td,>th").each(function(i,o){for(var s=e(o),c=+s.attr("colspan")||1,u=+s.attr("rowspan")||1,f=i;a[n]&&a[n][f];f++);for(var h=f;h<f+c;h++)for(var d=n;d<n+u;d++)a[d]||(a[d]=[]),a[d][h]=!0;var p=t[f].field;l[p]=s.html().trim(),l["_".concat(p,"_id")]=s.attr("id"),l["_".concat(p,"_class")]=s.attr("class"),l["_".concat(p,"_rowspan")]=s.attr("rowspan"),l["_".concat(p,"_colspan")]=s.attr("colspan"),l["_".concat(p,"_title")]=s.attr("title"),l["_".concat(p,"_data")]=r.getRealDataAttr(s.data()),l["_".concat(p,"_style")]=s.attr("style")}),i.push(l)}),i},sort:function(e,t,n,r,i,a){return void 0!==e&&null!==e||(e=""),void 0!==t&&null!==t||(t=""),r&&e===t&&(e=i,t=a),this.isNumeric(e)&&this.isNumeric(t)?(e=parseFloat(e),t=parseFloat(t),e<t?-1*n:e>t?n:0):e===t?0:("string"!=typeof e&&(e=e.toString()),-1===e.localeCompare(t)?-1*n:n)},getEventName:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t=t||"".concat(+new Date).concat(~~(1e6*Math.random())),"".concat(e,"-").concat(t)},hasDetailViewIcon:function(e){return e.detailView&&e.detailViewIcon&&!e.cardView},getDetailViewIndexOffset:function(e){return this.hasDetailViewIcon(e)&&"right"!==e.detailViewAlign?1:0},checkAutoMergeCells:function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0)for(var o=i.value,s=0,l=Object.keys(o);s<l.length;s++){var c=l[s];if(c.startsWith("_")&&(c.endsWith("_rowspan")||c.endsWith("_colspan")))return!0}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}return!1},deepCopy:function(t){return void 0===t?t:e.extend(!0,Array.isArray(t)?[]:{},t)}},bo=function(){function e(t){var n=this;i(this,e),this.rows=t.rows,this.scrollEl=t.scrollEl,this.contentEl=t.contentEl,this.callback=t.callback,this.itemHeight=t.itemHeight,this.cache={},this.scrollTop=this.scrollEl.scrollTop,this.initDOM(this.rows,t.fixedScroll),this.scrollEl.scrollTop=this.scrollTop,this.lastCluster=0;var r=function(){n.lastCluster!==(n.lastCluster=n.getNum())&&(n.initDOM(n.rows),n.callback())};this.scrollEl.addEventListener("scroll",r,!1),this.destroy=function(){n.contentEl.innerHtml="",n.scrollEl.removeEventListener("scroll",r,!1)}}return o(e,[{key:"initDOM",value:function(e,t){void 0===this.clusterHeight&&(this.cache.scrollTop=this.scrollEl.scrollTop,this.cache.data=this.contentEl.innerHTML=e[0]+e[0]+e[0],this.getRowsHeight(e));var n=this.initData(e,this.getNum(t)),r=n.rows.join(""),i=this.checkChanges("data",r),a=this.checkChanges("top",n.topOffset),o=this.checkChanges("bottom",n.bottomOffset),s=[];i&&a?(n.topOffset&&s.push(this.getExtra("top",n.topOffset)),s.push(r),n.bottomOffset&&s.push(this.getExtra("bottom",n.bottomOffset)),this.contentEl.innerHTML=s.join(""),t&&(this.contentEl.scrollTop=this.cache.scrollTop)):o&&(this.contentEl.lastChild.style.height="".concat(n.bottomOffset,"px"))}},{key:"getRowsHeight",value:function(){if(void 0===this.itemHeight){var e=this.contentEl.children,t=e[Math.floor(e.length/2)];this.itemHeight=t.offsetHeight}this.blockHeight=50*this.itemHeight,this.clusterRows=200,this.clusterHeight=4*this.blockHeight}},{key:"getNum",value:function(e){return this.scrollTop=e?this.cache.scrollTop:this.scrollEl.scrollTop,Math.floor(this.scrollTop/(this.clusterHeight-this.blockHeight))||0}},{key:"initData",value:function(e,t){if(e.length<50)return{topOffset:0,bottomOffset:0,rowsAbove:0,rows:e};var n=Math.max((this.clusterRows-50)*t,0),r=n+this.clusterRows,i=Math.max(n*this.itemHeight,0),a=Math.max((e.length-r)*this.itemHeight,0),o=[],s=n;i<1&&s++;for(var l=n;l<r;l++)e[l]&&o.push(e[l]);return{topOffset:i,bottomOffset:a,rowsAbove:s,rows:o}}},{key:"checkChanges",value:function(e,t){var n=t!==this.cache[e];return this.cache[e]=t,n}},{key:"getExtra",value:function(e,t){var n=document.createElement("tr");return n.className="virtual-scroll-".concat(e),t&&(n.style.height="".concat(t,"px")),n.outerHTML}}]),e}(),yo=function(){function t(n,r){i(this,t),
|
||
this.options=r,this.$el=e(n),this.$el_=this.$el.clone(),this.timeoutId_=0,this.timeoutFooter_=0}return o(t,[{key:"init",value:function(){this.initConstants(),this.initLocale(),this.initContainer(),this.initTable(),this.initHeader(),this.initData(),this.initHiddenRows(),this.initToolbar(),this.initPagination(),this.initBody(),this.initSearchText(),this.initServer()}},{key:"initConstants",value:function(){var t=this.options;this.constants=io.CONSTANTS,this.constants.theme=e.fn.bootstrapTable.theme;var n=t.buttonsPrefix?"".concat(t.buttonsPrefix,"-"):"";this.constants.buttonsClass=[t.buttonsPrefix,n+t.buttonsClass,vo.sprintf("".concat(n,"%s"),t.iconSize)].join(" ").trim(),this.buttons=vo.calculateObjectValue(this,t.buttons,[],[])}},{key:"initLocale",value:function(){if(this.options.locale){var t=e.fn.bootstrapTable.locales,n=this.options.locale.split(/-|_/);n[0]=n[0].toLowerCase(),n[1]&&(n[1]=n[1].toUpperCase()),t[this.options.locale]?e.extend(this.options,t[this.options.locale]):t[n.join("-")]?e.extend(this.options,t[n.join("-")]):t[n[0]]&&e.extend(this.options,t[n[0]])}}},{key:"initContainer",value:function(){var t=["top","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination clearfix"></div>':"",n=["bottom","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination"></div>':"",r=vo.calculateObjectValue(this.options,this.options.loadingTemplate,[this.options.formatLoadingMessage()]);this.$container=e('\n <div class="bootstrap-table '.concat(this.constants.theme,'">\n <div class="fixed-table-toolbar"></div>\n ').concat(t,'\n <div class="fixed-table-container">\n <div class="fixed-table-header"><table></table></div>\n <div class="fixed-table-body">\n <div class="fixed-table-loading">\n ').concat(r,'\n </div>\n </div>\n <div class="fixed-table-footer"><table><thead><tr></tr></thead></table></div>\n </div>\n ').concat(n,"\n </div>\n ")),this.$container.insertAfter(this.$el),this.$tableContainer=this.$container.find(".fixed-table-container"),this.$tableHeader=this.$container.find(".fixed-table-header"),this.$tableBody=this.$container.find(".fixed-table-body"),this.$tableLoading=this.$container.find(".fixed-table-loading"),this.$tableFooter=this.$el.find("tfoot"),this.options.buttonsToolbar?this.$toolbar=e("body").find(this.options.buttonsToolbar):this.$toolbar=this.$container.find(".fixed-table-toolbar"),this.$pagination=this.$container.find(".fixed-table-pagination"),this.$tableBody.append(this.$el),this.$container.after('<div class="clearfix"></div>'),this.$el.addClass(this.options.classes),this.$tableLoading.addClass(this.options.classes),this.options.height&&(this.$tableContainer.addClass("fixed-height"),this.options.showFooter&&this.$tableContainer.addClass("has-footer"),this.options.classes.split(" ").includes("table-bordered")&&(this.$tableBody.append('<div class="fixed-table-border"></div>'),this.$tableBorder=this.$tableBody.find(".fixed-table-border"),this.$tableLoading.addClass("fixed-table-border")),this.$tableFooter=this.$container.find(".fixed-table-footer"))}},{key:"initTable",value:function(){var n=this,r=[];if(this.$header=this.$el.find(">thead"),this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=e('<thead class="'.concat(this.options.theadClasses,'"></thead>')).appendTo(this.$el),this._headerTrClasses=[],this._headerTrStyles=[],this.$header.find("tr").each(function(t,i){var a=e(i),o=[];a.find("th").each(function(t,n){var r=e(n);void 0!==r.data("field")&&r.data("field","".concat(r.data("field"))),o.push(e.extend({},{title:r.html(),class:r.attr("class"),titleTooltip:r.attr("title"),rowspan:r.attr("rowspan")?+r.attr("rowspan"):void 0,colspan:r.attr("colspan")?+r.attr("colspan"):void 0},r.data()))}),r.push(o),a.attr("class")&&n._headerTrClasses.push(a.attr("class")),a.attr("style")&&n._headerTrStyles.push(a.attr("style"))}),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=e.extend(!0,[],r,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],vo.setFieldIndex(this.options.columns),this.options.columns.forEach(function(r,i){r.forEach(function(r,a){var o=e.extend({},t.COLUMN_DEFAULTS,r);void 0!==o.fieldIndex&&(n.columns[o.fieldIndex]=o,n.fieldsColumnsIndex[o.field]=o.fieldIndex),n.options.columns[i][a]=o})}),!this.options.data.length){var i=vo.trToData(this.columns,this.$el.find(">tbody>tr"));i.length&&(this.options.data=i,this.fromHtml=!0)}this.options.pagination&&"server"!==this.options.sidePagination||(this.footerData=vo.trToData(this.columns,this.$el.find(">tfoot>tr"))),this.footerData&&this.$el.find("tfoot").html("<tr></tr>"),!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initHeader",value:function(){var t=this,n={},r=[];this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},vo.updateFieldGroup(this.options.columns),this.options.columns.forEach(function(e,i){r.push("<tr".concat(vo.sprintf(' class="%s"',t._headerTrClasses[i])," ").concat(vo.sprintf(' style="%s"',t._headerTrStyles[i]),">"));var a="";0===i&&vo.hasDetailViewIcon(t.options)&&(a='<th class="detail" rowspan="'.concat(t.options.columns.length,'">\n <div class="fht-cell"></div>\n </th>')),a&&"right"!==t.options.detailViewAlign&&r.push(a),e.forEach(function(e,a){var o=vo.sprintf(' class="%s"',e.class),l=e.widthUnit,c=parseFloat(e.width),u=vo.sprintf("text-align: %s; ",e.halign?e.halign:e.align),f=vo.sprintf("text-align: %s; ",e.align),h=vo.sprintf("vertical-align: %s; ",e.valign);if(h+=vo.sprintf("width: %s; ",!e.checkbox&&!e.radio||c?c?c+l:void 0:e.showSelectTitle?void 0:"36px"),void 0!==e.fieldIndex||e.visible){var d=vo.calculateObjectValue(null,t.options.headerStyle,[e]),p=[],g="";if(d&&d.css)for(var m=0,v=Object.entries(d.css);m<v.length;m++){var b=s(v[m],2),y=b[0],w=b[1];p.push("".concat(y,": ").concat(w))}if(d&&d.classes&&(g=vo.sprintf(' class="%s"',e.class?[e.class,d.classes].join(" "):d.classes)),void 0!==e.fieldIndex){if(t.header.fields[e.fieldIndex]=e.field,t.header.styles[e.fieldIndex]=f+h,t.header.classes[e.fieldIndex]=o,t.header.formatters[e.fieldIndex]=e.formatter,t.header.detailFormatters[e.fieldIndex]=e.detailFormatter,t.header.events[e.fieldIndex]=e.events,t.header.sorters[e.fieldIndex]=e.sorter,t.header.sortNames[e.fieldIndex]=e.sortName,t.header.cellStyles[e.fieldIndex]=e.cellStyle,t.header.searchables[e.fieldIndex]=e.searchable,!e.visible)return;if(t.options.cardView&&!e.cardVisible)return;n[e.field]=e}r.push("<th".concat(vo.sprintf(' title="%s"',e.titleTooltip)),e.checkbox||e.radio?vo.sprintf(' class="bs-checkbox %s"',e.class||""):g||o,vo.sprintf(' style="%s"',u+h+p.join("; ")),vo.sprintf(' rowspan="%s"',e.rowspan),vo.sprintf(' colspan="%s"',e.colspan),vo.sprintf(' data-field="%s"',e.field),0===a&&i>0?" data-not-first-th":"",">"),r.push(vo.sprintf('<div class="th-inner %s">',t.options.sortable&&e.sortable?"sortable both":""));var S=t.options.escape?vo.escapeHTML(e.title):e.title,x=S;e.checkbox&&(S="",!t.options.singleSelect&&t.options.checkboxHeader&&(S='<label><input name="btSelectAll" type="checkbox" /><span></span></label>'),t.header.stateField=e.field),e.radio&&(S="",t.header.stateField=e.field),!S&&e.showSelectTitle&&(S+=x),r.push(S),r.push("</div>"),r.push('<div class="fht-cell"></div>'),r.push("</div>"),r.push("</th>")}}),a&&"right"===t.options.detailViewAlign&&r.push(a),r.push("</tr>")}),this.$header.html(r.join("")),this.$header.find("th[data-field]").each(function(t,r){e(r).data(n[e(r).data("field")])}),this.$container.off("click",".th-inner").on("click",".th-inner",function(n){var r=e(n.currentTarget);if(t.options.detailView&&!r.parent().hasClass("bs-checkbox")&&r.closest(".bootstrap-table")[0]!==t.$container[0])return!1;t.options.sortable&&r.parent().data().sortable&&t.onSort(n)}),this.$header.children().children().off("keypress").on("keypress",function(n){if(t.options.sortable&&e(n.currentTarget).data().sortable){13===(n.keyCode||n.which)&&t.onSort(n)}});var i=vo.getEventName("resize.bootstrap-table",this.$el.attr("id"));e(window).off(i),!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),e(window).on(i,function(){return t.resetView()})),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",function(n){n.stopPropagation();var r=e(n.currentTarget).prop("checked");t[r?"checkAll":"uncheckAll"](),t.updateSelected()})}},{key:"initData",value:function(e,t){"append"===t?this.options.data=this.options.data.concat(e):"prepend"===t?this.options.data=[].concat(e).concat(this.options.data):(e=e||vo.deepCopy(this.options.data),this.options.data=Array.isArray(e)?e:e[this.options.dataField]),this.data=l(this.options.data),this.options.sortReset&&(this.unsortedData=l(this.data)),"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var e=this,t=this.options.sortName,n="desc"===this.options.sortOrder?-1:1,r=this.header.fields.indexOf(this.options.sortName),i=0;-1!==r?(this.options.sortStable&&this.data.forEach(function(e,t){e.hasOwnProperty("_position")||(e._position=t)}),this.options.customSort?vo.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort(function(i,a){e.header.sortNames[r]&&(t=e.header.sortNames[r]);var o=vo.getItemField(i,t,e.options.escape),s=vo.getItemField(a,t,e.options.escape),l=vo.calculateObjectValue(e.header,e.header.sorters[r],[o,s,i,a]);return void 0!==l?e.options.sortStable&&0===l?n*(i._position-a._position):n*l:vo.sort(o,s,n,e.options.sortStable,i._position,a._position)}),void 0!==this.options.sortClass&&(clearTimeout(i),i=setTimeout(function(){e.$el.removeClass(e.options.sortClass);var t=e.$header.find('[data-field="'.concat(e.options.sortName,'"]')).index();e.$el.find("tr td:nth-child(".concat(t+1,")")).addClass(e.options.sortClass)},250))):this.options.sortReset&&(this.data=l(this.unsortedData))}},{key:"onSort",value:function(t){var n=t.type,r=t.currentTarget,i="keypress"===n?e(r):e(r).parent(),a=this.$header.find("th").eq(i.index());if(this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===i.data("field")){var o=this.options.sortOrder;void 0===o?this.options.sortOrder="asc":"asc"===o?this.options.sortOrder="desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?void 0:"asc"),void 0===this.options.sortOrder&&(this.options.sortName=void 0)}else this.options.sortName=i.data("field"),this.options.rememberOrder?this.options.sortOrder="asc"===i.data("order")?"desc":"asc":this.options.sortOrder=this.columns[this.fieldsColumnsIndex[i.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[i.data("field")]].order;if(this.trigger("sort",this.options.sortName,this.options.sortOrder),i.add(a).data("order",this.options.sortOrder),this.getCaret(),"server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,void this.initServer(this.options.silentSort);this.initSort(),this.initBody()}},{key:"initToolbar",value:function(){var t,n=this,i=this.options,a=[],o=0,l=0;this.$toolbar.find(".bs-bars").children().length&&e("body").append(e(i.toolbar)),this.$toolbar.html(""),"string"!=typeof i.toolbar&&"object"!==r(i.toolbar)||e(vo.sprintf('<div class="bs-bars %s-%s"></div>',this.constants.classes.pull,i.toolbarAlign)).appendTo(this.$toolbar).append(e(i.toolbar)),a=['<div class="'.concat(["columns","columns-".concat(i.buttonsAlign),this.constants.classes.buttonsGroup,"".concat(this.constants.classes.pull,"-").concat(i.buttonsAlign)].join(" "),'">')],"string"==typeof i.icons&&(i.icons=vo.calculateObjectValue(null,i.icons)),"string"==typeof i.buttonsOrder&&(i.buttonsOrder=i.buttonsOrder.replace(/\[|\]| |'/g,"").toLowerCase().split(",")),this.buttons=Object.assign(this.buttons,{paginationSwitch:{text:i.pagination?i.formatPaginationSwitchUp():i.formatPaginationSwitchDown(),icon:i.pagination?i.icons.paginationSwitchDown:i.icons.paginationSwitchUp,render:!1,event:this.togglePagination,attributes:{"aria-label":i.formatPaginationSwitch(),title:i.formatPaginationSwitch()}},refresh:{text:i.formatRefresh(),icon:i.icons.refresh,render:!1,event:this.refresh,attributes:{"aria-label":i.formatRefresh(),title:i.formatRefresh()}},toggle:{text:i.formatToggle(),icon:i.icons.toggleOff,render:!1,event:this.toggleView,attributes:{"aria-label":i.formatToggleOn(),title:i.formatToggleOn()}},fullscreen:{text:i.formatFullscreen(),icon:i.icons.fullscreen,render:!1,event:this.toggleFullscreen,attributes:{"aria-label":i.formatFullscreen(),title:i.formatFullscreen()}},columns:{render:!1,html:function(){var e=[];if(e.push('<div class="keep-open '.concat(n.constants.classes.buttonsDropdown,'" title="').concat(i.formatColumns(),'">\n <button class="').concat(n.constants.buttonsClass,' dropdown-toggle" type="button" data-toggle="dropdown"\n aria-label="Columns" title="').concat(i.formatColumns(),'">\n ').concat(i.showButtonIcons?vo.sprintf(n.constants.html.icon,i.iconsPrefix,i.icons.columns):"","\n ").concat(i.showButtonText?i.formatColumns():"","\n ").concat(n.constants.html.dropdownCaret,"\n </button>\n ").concat(n.constants.html.toolbarDropdown[0])),i.showColumnsSearch&&(e.push(vo.sprintf(n.constants.html.toolbarDropdownItem,vo.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">',n.constants.classes.input,i.formatSearch()))),e.push(n.constants.html.toolbarDropdownSeparator)),i.showColumnsToggleAll){var t=n.getVisibleColumns().length===n.columns.filter(function(e){return!n.isSelectionColumn(e)}).length;e.push(vo.sprintf(n.constants.html.toolbarDropdownItem,vo.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s</span>',t?'checked="checked"':"",i.formatColumnsToggleAll()))),e.push(n.constants.html.toolbarDropdownSeparator)}var r=0;return n.columns.forEach(function(e,t){e.visible&&r++}),n.columns.forEach(function(t,a){if(!n.isSelectionColumn(t)&&(!i.cardView||t.cardVisible)){var o=t.visible?' checked="checked"':"",s=r<=i.minimumCountColumns&&o?' disabled="disabled"':"";t.switchable&&(e.push(vo.sprintf(n.constants.html.toolbarDropdownItem,vo.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s</span>',t.field,a,o,s,t.title))),l++)}}),e.push(n.constants.html.toolbarDropdown[1],"</div>"),e.join("")}}});for(var c={},u=0,f=Object.entries(this.buttons);u<f.length;u++){var h=s(f[u],2),d=h[0],p=h[1],g=void 0;if(p.hasOwnProperty("html"))g=vo.calculateObjectValue(i,p.html);else{if(g='<button class="'.concat(this.constants.buttonsClass,'" type="button" name="').concat(d,'"'),p.hasOwnProperty("attributes"))for(var m=0,v=Object.entries(p.attributes);m<v.length;m++){var b=s(v[m],2),y=b[0],w=b[1];g+=" ".concat(y,'="').concat(vo.calculateObjectValue(i,w),'"')}if(g+=">",i.showButtonIcons&&p.hasOwnProperty("icon")){var S=vo.calculateObjectValue(i,p.icon);g+=vo.sprintf(this.constants.html.icon,i.iconsPrefix,S)+" "}i.showButtonText&&p.hasOwnProperty("text")&&(g+=vo.calculateObjectValue(i,p.text)),g+="</button>"}c[d]=g;var x="show".concat(d.charAt(0).toUpperCase()).concat(d.substring(1)),E=i[x];!(!p.hasOwnProperty("render")||p.hasOwnProperty("render")&&p.render)||void 0!==E&&!0!==E||(i[x]=!0),i.buttonsOrder.includes(d)||i.buttonsOrder.push(d)}var _=!0,k=!1,A=void 0;try{for(var C,T=i.buttonsOrder[Symbol.iterator]();!(_=(C=T.next()).done);_=!0){var R=C.value;i["show".concat(R.charAt(0).toUpperCase()).concat(R.substring(1))]&&a.push(c[R])}}catch(e){k=!0,A=e}finally{try{_||null==T.return||T.return()}finally{if(k)throw A}}a.push("</div>"),(this.showToolbar||a.length>2)&&this.$toolbar.append(a.join(""));for(var N=0,B=Object.entries(this.buttons);N<B.length;N++){var I=s(B[N],2),O=I[0],L=I[1];if(L.hasOwnProperty("event")){if("function"==typeof L.event||"string"==typeof L.event){if("continue"===function(){var e="string"==typeof L.event?window[L.event]:L.event;return n.$toolbar.find('button[name="'.concat(O,'"]')).off("click").on("click",function(){return e.call(n)}),"continue"}())continue}for(var P=0,F=Object.entries(L.event);P<F.length;P++)!function(){var e=s(F[P],2),t=e[0],r=e[1],i="string"==typeof r?window[r]:r;n.$toolbar.find('button[name="'.concat(O,'"]')).off(t).on(t,function(){return i.call(n)})}()}}if(i.showColumns){t=this.$toolbar.find(".keep-open");var D=t.find('input[type="checkbox"]:not(".toggle-all")'),M=t.find('input[type="checkbox"].toggle-all');if(l<=i.minimumCountColumns&&t.find("input").prop("disabled",!0),t.find("li, label").off("click").on("click",function(e){e.stopImmediatePropagation()}),D.off("click").on("click",function(t){var r=t.currentTarget,i=e(r);n._toggleColumn(i.val(),i.prop("checked"),!1),n.trigger("column-switch",i.data("field"),i.prop("checked")),M.prop("checked",D.filter(":checked").length===n.columns.filter(function(e){return!n.isSelectionColumn(e)}).length)}),M.off("click").on("click",function(t){var r=t.currentTarget;n._toggleAllColumns(e(r).prop("checked"))}),i.showColumnsSearch){var j=t.find('[name="columnsSearch"]'),W=t.find(".dropdown-item-marker");j.on("keyup paste change",function(t){var n=t.currentTarget,r=e(n),i=r.val().toLowerCase();W.show(),D.each(function(t,n){var r=e(n),a=r.parents(".dropdown-item-marker");a.text().toLowerCase().includes(i)||a.hide()})})}}var U=function(e){e.off("keyup drop blur mouseup").on("keyup drop blur mouseup",function(e){i.searchOnEnterKey&&13!==e.keyCode||[37,38,39,40].includes(e.keyCode)||(clearTimeout(o),o=setTimeout(function(){n.onSearch({currentTarget:e.currentTarget})},i.searchTimeOut))})};if((i.search||this.showSearchClearButton)&&"string"!=typeof i.searchSelector){a=[];var z=vo.sprintf(this.constants.html.searchButton,this.constants.buttonsClass,i.formatSearch(),i.showButtonIcons?vo.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.search):"",i.showButtonText?i.formatSearch():""),H=vo.sprintf(this.constants.html.searchClearButton,this.constants.buttonsClass,i.formatClearSearch(),i.showButtonIcons?vo.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.clearSearch):"",i.showButtonText?i.formatClearSearch():""),V='<input class="'.concat(this.constants.classes.input,"\n ").concat(vo.sprintf(" %s%s",this.constants.classes.inputPrefix,i.iconSize),'\n search-input" type="search" placeholder="').concat(i.formatSearch(),'" autocomplete="off">'),q=V;if(i.showSearchButton||i.showSearchClearButton){var G=(i.showSearchButton?z:"")+(i.showSearchClearButton?H:"");q=i.search?vo.sprintf(this.constants.html.inputGroup,V,G):G}a.push(vo.sprintf('\n <div class="'.concat(this.constants.classes.pull,"-").concat(i.searchAlign," search ").concat(this.constants.classes.inputGroup,'">\n %s\n </div>\n '),q)),this.$toolbar.append(a.join(""));var $=vo.getSearchInput(this);i.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("click").on("click",function(e){clearTimeout(o),o=setTimeout(function(){n.onSearch({currentTarget:$})},i.searchTimeOut)}),i.searchOnEnterKey&&U($)):U($),i.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click(function(){n.resetSearch()})}else if("string"==typeof i.searchSelector){var X=vo.getSearchInput(this);U(X)}}},{key:"onSearch",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.currentTarget,r=t.firedByInitSearchText,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0!==n&&e(n).length&&i){var a=e(n).val().trim();if(this.options.trimOnSearch&&e(n).val()!==a&&e(n).val(a),this.searchText===a)return;(n===vo.getSearchInput(this)[0]||e(n).hasClass("search-input"))&&(this.searchText=a,this.options.searchText=a)}r||(this.options.pageNumber=1),this.initSearch(),r?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination(),this.trigger("search",this.searchText)}},{key:"initSearch",value:function(){var e=this;if(this.filterOptions=this.filterOptions||this.options.filterOptions,"server"!==this.options.sidePagination){if(this.options.customSearch)return this.data=vo.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]),void(this.options.sortReset&&(this.unsortedData=l(this.data)));var t=this.searchText&&(this.fromHtml?vo.escapeHTML(this.searchText):this.searchText).toLowerCase(),n=vo.isEmptyObject(this.filterColumns)?null:this.filterColumns;"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter(function(t,r){return e.filterOptions.filterAlgorithm.apply(null,[t,n])}):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=n?this.options.data.filter(function(t,r){var i=e.filterOptions.filterAlgorithm;if("and"===i){for(var a in n)if(Array.isArray(n[a])&&!n[a].includes(t[a])||!Array.isArray(n[a])&&t[a]!==n[a])return!1}else if("or"===i){var o=!1;for(var s in n)(Array.isArray(n[s])&&n[s].includes(t[s])||!Array.isArray(n[s])&&t[s]===n[s])&&(o=!0);return o}return!0}):l(this.options.data));var r=this.getVisibleFields();this.data=t?this.data.filter(function(n,i){for(var a=0;a<e.header.fields.length;a++)if(e.header.searchables[a]&&(!e.options.visibleSearch||-1!==r.indexOf(e.header.fields[a]))){var o=vo.isNumeric(e.header.fields[a])?parseInt(e.header.fields[a],10):e.header.fields[a],s=e.columns[e.fieldsColumnsIndex[o]],l=void 0;if("string"==typeof o){l=n;for(var c=o.split("."),u=0;u<c.length;u++)null!==l[c[u]]&&(l=l[c[u]])}else l=n[o];if(e.options.searchAccentNeutralise&&(l=vo.normalizeAccent(l)),s&&s.searchFormatter&&(l=vo.calculateObjectValue(s,e.header.formatters[a],[l,n,i,s.field],l)),"string"==typeof l||"number"==typeof l)if(e.options.strictSearch){if("".concat(l).toLowerCase()===t)return!0}else{var f=/(?:(<=|=>|=<|>=|>|<)(?:\s+)?(\d+)?|(\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm,h=f.exec(t),d=!1;if(h){var p=h[1]||"".concat(h[5],"l"),g=h[2]||h[3],m=parseInt(l,10),v=parseInt(g,10);switch(p){case">":case"<l":d=m>v;break;case"<":case">l":d=m<v;break;case"<=":case"=<":case">=l":case"=>l":d=m<=v;break;case">=":case"=>":case"<=l":case"=<l":d=m>=v}}if(d||"".concat(l).toLowerCase().includes(t))return!0}}return!1}):this.data,this.options.sortReset&&(this.unsortedData=l(this.data)),this.initSort()}}},{key:"initPagination",value:function(){var e=this,t=this.options;if(!t.pagination)return void this.$pagination.hide();this.$pagination.show();var n,r,i,a,o,s,l,c=[],u=!1,f=this.getData({includeHiddenRows:!1}),h=t.pageList;if("string"==typeof h&&(h=h.replace(/\[|\]| /g,"").toLowerCase().split(",")),h=h.map(function(e){return"string"==typeof e?e.toLowerCase()===t.formatAllRows().toLowerCase()||["all","unlimited"].includes(e.toLowerCase())?t.formatAllRows():+e:e}),this.paginationParts=t.paginationParts,"string"==typeof this.paginationParts&&(this.paginationParts=this.paginationParts.replace(/\[|\]| |'/g,"").split(",")),"server"!==t.sidePagination&&(t.totalRows=f.length),this.totalPages=0,t.totalRows&&(t.pageSize===t.formatAllRows()&&(t.pageSize=t.totalRows,u=!0),this.totalPages=1+~~((t.totalRows-1)/t.pageSize),t.totalPages=this.totalPages),this.totalPages>0&&t.pageNumber>this.totalPages&&(t.pageNumber=this.totalPages),this.pageFrom=(t.pageNumber-1)*t.pageSize+1,this.pageTo=t.pageNumber*t.pageSize,this.pageTo>t.totalRows&&(this.pageTo=t.totalRows),this.options.pagination&&"server"!==this.options.sidePagination&&(this.options.totalNotFiltered=this.options.data.length),this.options.showExtendedPagination||(this.options.totalNotFiltered=void 0),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&c.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationDetailHAlign,' pagination-detail">')),this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")){var d=this.paginationParts.includes("pageInfoShort")?t.formatDetailPagination(t.totalRows):t.formatShowingRows(this.pageFrom,this.pageTo,t.totalRows,t.totalNotFiltered);c.push('<span class="pagination-info">\n '.concat(d,"\n </span>"))}if(this.paginationParts.includes("pageSize")){c.push('<span class="page-list">');var p=['<span class="'.concat(this.constants.classes.paginationDropdown,'">\n <button class="').concat(this.constants.buttonsClass,' dropdown-toggle" type="button" data-toggle="dropdown">\n <span class="page-size">\n ').concat(u?t.formatAllRows():t.pageSize,"\n </span>\n ").concat(this.constants.html.dropdownCaret,"\n </button>\n ").concat(this.constants.html.pageDropdown[0])];h.forEach(function(n,r){if(!t.smartDisplay||0===r||h[r-1]<t.totalRows){var i;i=u?n===t.formatAllRows()?e.constants.classes.dropdownActive:"":n===t.pageSize?e.constants.classes.dropdownActive:"",p.push(vo.sprintf(e.constants.html.pageDropdownItem,i,n))}}),p.push("".concat(this.constants.html.pageDropdown[1],"</span>")),c.push(t.formatRecordsPerPage(p.join("")))}if((this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&c.push("</span></div>"),this.paginationParts.includes("pageList")){c.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationHAlign,' pagination">'),vo.sprintf(this.constants.html.pagination[0],vo.sprintf(" pagination-%s",t.iconSize)),vo.sprintf(this.constants.html.paginationItem," page-pre",t.formatSRPaginationPreText(),t.paginationPreText)),this.totalPages<t.paginationSuccessivelySize?(r=1,i=this.totalPages):(r=t.pageNumber-t.paginationPagesBySide,i=r+2*t.paginationPagesBySide),t.pageNumber<t.paginationSuccessivelySize-1&&(i=t.paginationSuccessivelySize),t.paginationSuccessivelySize>this.totalPages-r&&(r=r-(t.paginationSuccessivelySize-(this.totalPages-r))+1),r<1&&(r=1),i>this.totalPages&&(i=this.totalPages);var g=Math.round(t.paginationPagesBySide/2),m=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return vo.sprintf(e.constants.html.paginationItem,r+(n===t.pageNumber?" ".concat(e.constants.classes.paginationActive):""),t.formatSRPaginationPageText(n),n)};if(r>1){var v=t.paginationPagesBySide;for(v>=r&&(v=r-1),n=1;n<=v;n++)c.push(m(n));r-1===v+1?(n=r-1,c.push(m(n))):r-1>v&&(r-2*t.paginationPagesBySide>t.paginationPagesBySide&&t.paginationUseIntermediate?(n=Math.round((r-g)/2+g),c.push(m(n," page-intermediate"))):c.push(vo.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(n=r;n<=i;n++)c.push(m(n));if(this.totalPages>i){var b=this.totalPages-(t.paginationPagesBySide-1);for(i>=b&&(b=i+1),i+1===b-1?(n=i+1,c.push(m(n))):b>i+1&&(this.totalPages-i>2*t.paginationPagesBySide&&t.paginationUseIntermediate?(n=Math.round((this.totalPages-g-i)/2+i),c.push(m(n," page-intermediate"))):c.push(vo.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),n=b;n<=this.totalPages;n++)c.push(m(n))}c.push(vo.sprintf(this.constants.html.paginationItem," page-next",t.formatSRPaginationNextText(),t.paginationNextText)),c.push(this.constants.html.pagination[1],"</div>")}this.$pagination.html(c.join(""));var y=["bottom","both"].includes(t.paginationVAlign)?" ".concat(this.constants.classes.dropup):"";this.$pagination.last().find(".page-list > span").addClass(y),t.onlyInfoPagination||(a=this.$pagination.find(".page-list a"),o=this.$pagination.find(".page-pre"),s=this.$pagination.find(".page-next"),l=this.$pagination.find(".page-item").not(".page-next, .page-pre, .page-last-separator, .page-first-separator"),this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),t.smartDisplay&&(h.length<2||t.totalRows<=h[0])&&this.$pagination.find("span.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),t.paginationLoop||(1===t.pageNumber&&o.addClass("disabled"),t.pageNumber===this.totalPages&&s.addClass("disabled")),u&&(t.pageSize=t.formatAllRows()),a.off("click").on("click",function(t){return e.onPageListChange(t)}),o.off("click").on("click",function(t){return e.onPagePre(t)}),s.off("click").on("click",function(t){return e.onPageNext(t)}),l.off("click").on("click",function(t){return e.onPageNumber(t)}))}},{key:"updatePagination",value:function(t){t&&e(t.currentTarget).hasClass("disabled")||(this.options.maintainMetaData||this.resetRows(),this.initPagination(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize),"server"===this.options.sidePagination?this.initServer():this.initBody())}},{key:"onPageListChange",value:function(t){t.preventDefault();var n=e(t.currentTarget);return n.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=n.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+n.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(t),!1}},{key:"onPagePre",value:function(e){return e.preventDefault(),this.options.pageNumber-1==0?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(e),!1}},{key:"onPageNext",value:function(e){return e.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(e),!1}},{key:"onPageNumber",value:function(t){if(t.preventDefault(),this.options.pageNumber!==+e(t.currentTarget).text())return this.options.pageNumber=+e(t.currentTarget).text(),this.updatePagination(t),!1}},{key:"initRow",value:function(e,t,n,i){var a=this,o=[],l={},c=[],u="",f={},h=[];if(!(vo.findIndex(this.hiddenRows,e)>-1)){if((l=vo.calculateObjectValue(this.options,this.options.rowStyle,[e,t],l))&&l.css)for(var d=0,p=Object.entries(l.css);d<p.length;d++){var g=s(p[d],2),m=g[0],v=g[1];c.push("".concat(m,": ").concat(v))}if(f=vo.calculateObjectValue(this.options,this.options.rowAttributes,[e,t],f))for(var b=0,y=Object.entries(f);b<y.length;b++){var w=s(y[b],2),S=w[0],x=w[1];h.push("".concat(S,'="').concat(vo.escapeHTML(x),'"'))}if(e._data&&!vo.isEmptyObject(e._data))for(var E=0,_=Object.entries(e._data);E<_.length;E++){var k=s(_[E],2),A=k[0],C=k[1];if("index"===A)return;u+=" data-".concat(A,"='").concat("object"===r(C)?JSON.stringify(C):C,"'")}o.push("<tr",vo.sprintf(" %s",h.length?h.join(" "):void 0),vo.sprintf(' id="%s"',Array.isArray(e)?void 0:e._id),vo.sprintf(' class="%s"',l.classes||(Array.isArray(e)?void 0:e._class)),vo.sprintf(' style="%s"',Array.isArray(e)?void 0:e._style),' data-index="'.concat(t,'"'),vo.sprintf(' data-uniqueid="%s"',vo.getItemField(e,this.options.uniqueId,!1)),vo.sprintf(' data-has-detail-view="%s"',this.options.detailView&&vo.calculateObjectValue(null,this.options.detailFilter,[t,e])?"true":void 0),vo.sprintf("%s",u),">"),this.options.cardView&&o.push('<td colspan="'.concat(this.header.fields.length,'"><div class="card-views">'));var T="";return vo.hasDetailViewIcon(this.options)&&(T="<td>",vo.calculateObjectValue(null,this.options.detailFilter,[t,e])&&(T+='\n <a class="detail-icon" href="#">\n '.concat(vo.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen),"\n </a>\n ")),T+="</td>"),T&&"right"!==this.options.detailViewAlign&&o.push(T),this.header.fields.forEach(function(n,r){var i="",l=vo.getItemField(e,n,a.options.escape),u="",f="",h={},d="",p=a.header.classes[r],g="",m="",v="",b="",y="",w="",S=a.columns[r]
|
||
;if((!a.fromHtml&&!a.autoMergeCells||void 0!==l||S.checkbox||S.radio)&&S.visible&&(!a.options.cardView||S.cardVisible)){if(S.escape&&(l=vo.escapeHTML(l)),c.concat([a.header.styles[r]]).length&&(m+="".concat(c.concat([a.header.styles[r]]).join("; "))),e["_".concat(n,"_style")]&&(m+="".concat(e["_".concat(n,"_style")])),m&&(g=' style="'.concat(m,'"')),e["_".concat(n,"_id")]&&(d=vo.sprintf(' id="%s"',e["_".concat(n,"_id")])),e["_".concat(n,"_class")]&&(p=vo.sprintf(' class="%s"',e["_".concat(n,"_class")])),e["_".concat(n,"_rowspan")]&&(b=vo.sprintf(' rowspan="%s"',e["_".concat(n,"_rowspan")])),e["_".concat(n,"_colspan")]&&(y=vo.sprintf(' colspan="%s"',e["_".concat(n,"_colspan")])),e["_".concat(n,"_title")]&&(w=vo.sprintf(' title="%s"',e["_".concat(n,"_title")])),h=vo.calculateObjectValue(a.header,a.header.cellStyles[r],[l,e,t,n],h),h.classes&&(p=' class="'.concat(h.classes,'"')),h.css){for(var x=[],E=0,_=Object.entries(h.css);E<_.length;E++){var k=s(_[E],2),A=k[0],C=k[1];x.push("".concat(A,": ").concat(C))}g=' style="'.concat(x.concat(a.header.styles[r]).join("; "),'"')}if(u=vo.calculateObjectValue(S,a.header.formatters[r],[l,e,t,n],l),""!==a.searchText&&a.options.searchHighlight&&(u=vo.calculateObjectValue(S,S.searchHighlightFormatter,[u,a.searchText],u.replace(new RegExp("("+a.searchText+")","gim"),"<mark>$1</mark>"))),e["_".concat(n,"_data")]&&!vo.isEmptyObject(e["_".concat(n,"_data")]))for(var T=0,R=Object.entries(e["_".concat(n,"_data")]);T<R.length;T++){var N=s(R[T],2),B=N[0],I=N[1];if("index"===B)return;v+=" data-".concat(B,'="').concat(I,'"')}if(S.checkbox||S.radio){f=S.checkbox?"checkbox":f,f=S.radio?"radio":f;var O=S.class||"",L=vo.isObject(u)&&u.hasOwnProperty("checked")?u.checked:(!0===u||l)&&!1!==u,P=!S.checkboxEnabled||u&&u.disabled;i=[a.options.cardView?'<div class="card-view '.concat(O,'">'):'<td class="bs-checkbox '.concat(O,'"').concat(p).concat(g,">"),'<label>\n <input\n data-index="'.concat(t,'"\n name="').concat(a.options.selectItemName,'"\n type="').concat(f,'"\n ').concat(vo.sprintf('value="%s"',e[a.options.idField]),"\n ").concat(vo.sprintf('checked="%s"',L?"checked":void 0),"\n ").concat(vo.sprintf('disabled="%s"',P?"disabled":void 0)," />\n <span></span>\n </label>"),a.header.formatters[r]&&"string"==typeof u?u:"",a.options.cardView?"</div>":"</td>"].join(""),e[a.header.stateField]=!0===u||!!l||u&&u.checked}else if(u=void 0===u||null===u?a.options.undefinedText:u,a.options.cardView){var F=a.options.showHeader?'<span class="card-view-title"'.concat(g,">").concat(vo.getFieldTitle(a.columns,n),"</span>"):"";i='<div class="card-view">'.concat(F,'<span class="card-view-value">').concat(u,"</span></div>"),a.options.smartDisplay&&""===u&&(i='<div class="card-view"></div>')}else i="<td".concat(d).concat(p).concat(g).concat(v).concat(b).concat(y).concat(w,">").concat(u,"</td>");o.push(i)}}),T&&"right"===this.options.detailViewAlign&&o.push(T),this.options.cardView&&o.push("</div></td>"),o.push("</tr>"),o.join("")}}},{key:"initBody",value:function(t){var n=this,r=this.getData();this.trigger("pre-body",r),this.$body=this.$el.find(">tbody"),this.$body.length||(this.$body=e("<tbody></tbody>").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=r.length);var i=[],a=e(document.createDocumentFragment()),o=!1;this.autoMergeCells=vo.checkAutoMergeCells(r.slice(this.pageFrom-1,this.pageTo));for(var s=this.pageFrom-1;s<this.pageTo;s++){var l=r[s],c=this.initRow(l,s,r,a);o=o||!!c,c&&"string"==typeof c&&(this.options.virtualScroll?i.push(c):a.append(c))}o?this.options.virtualScroll?(this.virtualScroll&&this.virtualScroll.destroy(),this.virtualScroll=new bo({rows:i,fixedScroll:t,scrollEl:this.$tableBody[0],contentEl:this.$body[0],itemHeight:this.options.virtualScrollItemHeight,callback:function(){n.fitHeader(),n.initBodyEvent()}})):this.$body.html(a):this.$body.html('<tr class="no-records-found">'.concat(vo.sprintf('<td colspan="%s">%s</td>',this.getVisibleFields().length+vo.getDetailViewIndexOffset(this.options),this.options.formatNoMatches()),"</tr>")),t||this.scrollTo(0),this.initBodyEvent(),this.updateSelected(),this.initFooter(),this.resetView(),"server"!==this.options.sidePagination&&(this.options.totalRows=r.length),this.trigger("post-body",r)}},{key:"initBodyEvent",value:function(){var t=this;this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",function(n){var r=e(n.currentTarget),i=r.parent(),a=e(n.target).parents(".card-views").children(),o=e(n.target).parents(".card-view"),s=i.data("index"),l=t.data[s],c=t.options.cardView?a.index(o):r[0].cellIndex,u=t.getVisibleFields(),f=u[c-vo.getDetailViewIndexOffset(t.options)],h=t.columns[t.fieldsColumnsIndex[f]],d=vo.getItemField(l,f,t.options.escape);if(!r.find(".detail-icon").length){if(t.trigger("click"===n.type?"click-cell":"dbl-click-cell",f,d,l,r),t.trigger("click"===n.type?"click-row":"dbl-click-row",l,i,f),"click"===n.type&&t.options.clickToSelect&&h.clickToSelect&&!vo.calculateObjectValue(t.options,t.options.ignoreClickToSelectOn,[n.target])){var p=i.find(vo.sprintf('[name="%s"]',t.options.selectItemName));p.length&&p[0].click()}"click"===n.type&&t.options.detailViewByClick&&t.toggleDetailView(s,t.header.detailFormatters[t.fieldsColumnsIndex[f]])}}).off("mousedown").on("mousedown",function(e){t.multipleSelectRowCtrlKey=e.ctrlKey||e.metaKey,t.multipleSelectRowShiftKey=e.shiftKey}),this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",function(n){return n.preventDefault(),t.toggleDetailView(e(n.currentTarget).parent().parent().data("index")),!1}),this.$selectItem=this.$body.find(vo.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",function(n){n.stopImmediatePropagation();var r=e(n.currentTarget);t._toggleCheck(r.prop("checked"),r.data("index"))}),this.header.events.forEach(function(n,r){var i=n;if(i){"string"==typeof i&&(i=vo.calculateObjectValue(null,i));var a=t.header.fields[r],o=t.getVisibleFields().indexOf(a);if(-1!==o){o+=vo.getDetailViewIndexOffset(t.options);for(var s in i){(function(n){if(!i.hasOwnProperty(n))return"continue";var r=i[n];t.$body.find(">tr:not(.no-records-found)").each(function(i,s){var l=e(s),c=l.find(t.options.cardView?".card-views>.card-view":">td").eq(o),u=n.indexOf(" "),f=n.substring(0,u),h=n.substring(u+1);c.find(h).off(f).on(f,function(e){var n=l.data("index"),i=t.data[n],o=i[a];r.apply(t,[e,o,i,n])})})})(s)}}}})}},{key:"initServer",value:function(t,n,r){var i=this,a={},o=this.header.fields.indexOf(this.options.sortName),s={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[o]&&(s.sortName=this.header.sortNames[o]),this.options.pagination&&"server"===this.options.sidePagination&&(s.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,s.pageNumber=this.options.pageNumber),r||this.options.url||this.options.ajax){if("limit"===this.options.queryParamsType&&(s={search:s.searchText,sort:s.sortName,order:s.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(s.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),s.limit=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,0===s.limit&&delete s.limit)),this.options.search&&"server"===this.options.sidePagination&&this.columns.filter(function(e){return!e.searchable}).length){s.searchable=[];var l=!0,c=!1,u=void 0;try{for(var f,h=this.columns[Symbol.iterator]();!(l=(f=h.next()).done);l=!0){var d=f.value;!d.checkbox&&d.searchable&&(this.options.visibleSearch&&d.visible||!this.options.visibleSearch)&&s.searchable.push(d.field)}}catch(e){c=!0,u=e}finally{try{l||null==h.return||h.return()}finally{if(c)throw u}}}if(vo.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),e.extend(s,n||{}),!1!==(a=vo.calculateObjectValue(this.options,this.options.queryParams,[s],a))){t||this.showLoading();var p=e.extend({},vo.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:r||this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(a):a,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(e,n,r){var a=vo.calculateObjectValue(i.options,i.options.responseHandler,[e,r],e);i.load(a),i.trigger("load-success",a,r&&r.status,r),t||i.hideLoading(),"server"===i.options.sidePagination&&a[i.options.totalField]>0&&!a[i.options.dataField].length&&i.updatePagination()},error:function(e){var n=[];"server"===i.options.sidePagination&&(n={},n[i.options.totalField]=0,n[i.options.dataField]=[]),i.load(n),i.trigger("load-error",e&&e.status,e),t||i.$tableLoading.hide()}});return this.options.ajax?vo.calculateObjectValue(this,this.options.ajax,[p],null):(this._xhr&&4!==this._xhr.readyState&&this._xhr.abort(),this._xhr=e.ajax(p)),a}}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var e=vo.getSearchInput(this);e.val(this.options.searchText),this.onSearch({currentTarget:e,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var t=this;this.$header.find("th").each(function(n,r){e(r).find(".sortable").removeClass("desc asc").addClass(e(r).data("field")===t.options.sortName?t.options.sortOrder:"both")})}},{key:"updateSelected",value:function(){var t=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",t),this.$selectItem.each(function(t,n){e(n).closest("tr")[e(n).prop("checked")?"addClass":"removeClass"]("selected")})}},{key:"updateRows",value:function(){var t=this;this.$selectItem.each(function(n,r){t.data[e(r).data("index")][t.header.stateField]=e(r).prop("checked")})}},{key:"resetRows",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,i=this.data[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var a=r.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(a[this.header.stateField]=!1)}}catch(e){t=!0,n=e}finally{try{e||null==i.return||i.return()}finally{if(t)throw n}}this.initHiddenRows()}},{key:"trigger",value:function(n){for(var r,i,a="".concat(n,".bs.table"),o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];(r=this.options)[t.EVENTS[a]].apply(r,[].concat(s,[this])),this.$el.trigger(e.Event(a,{sender:this}),s),(i=this.options).onAll.apply(i,[a].concat([].concat(s,[this]))),this.$el.trigger(e.Event("all.bs.table",{sender:this}),[a,s])}},{key:"resetHeader",value:function(){var e=this;clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(function(){return e.fitHeader()},this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var t=this;if(this.$el.is(":hidden"))return void(this.timeoutId_=setTimeout(function(){return t.fitHeader()},100));var n=this.$tableBody.get(0),r=n.scrollWidth>n.clientWidth&&n.scrollHeight>n.clientHeight+this.$header.outerHeight()?vo.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var i=e(":focus");if(i.length>0){var a=i.parents("th");if(a.length>0){var o=a.attr("data-field");if(void 0!==o){var s=this.$header.find("[data-field='".concat(o,"']"));s.length>0&&s.find(":input").addClass("focus-temp")}}}this.$header_=this.$header.clone(!0,!0),this.$selectAll_=this.$header_.find('[name="btSelectAll"]'),this.$tableHeader.css("margin-right",r).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_),this.$tableLoading.css("width",this.$el.outerWidth());var l=e(".focus-temp:visible:eq(0)");l.length>0&&(l.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each(function(n,r){t.$header_.find(vo.sprintf('th[data-field="%s"]',e(r).data("field"))).data(e(r).data())});for(var c=this.getVisibleFields(),u=this.$header_.find("th"),f=this.$body.find(">tr:not(.no-records-found,.virtual-scroll-top)").eq(0);f.length&&f.find('>td[colspan]:not([colspan="1"])').length;)f=f.next();var h=f.find("> *").length;f.find("> *").each(function(n,r){var i=e(r);if(vo.hasDetailViewIcon(t.options)&&(0===n&&"right"!==t.options.detailViewAlign||n===h-1&&"right"===t.options.detailViewAlign)){var a=u.filter(".detail"),o=a.innerWidth()-a.find(".fht-cell").width();return void a.find(".fht-cell").width(i.innerWidth()-o)}var s=n-vo.getDetailViewIndexOffset(t.options),l=t.$header_.find(vo.sprintf('th[data-field="%s"]',c[s]));l.length>1&&(l=e(u[i[0].cellIndex]));var f=l.innerWidth()-l.find(".fht-cell").width();l.find(".fht-cell").width(i.innerWidth()-f)}),this.horizontalScroll(),this.trigger("post-header")}},{key:"initFooter",value:function(){if(this.options.showFooter&&!this.options.cardView){var e=this.getData(),t=[],n="";vo.hasDetailViewIcon(this.options)&&(n='<th class="detail"><div class="th-inner"></div><div class="fht-cell"></div></th>'),n&&"right"!==this.options.detailViewAlign&&t.push(n);var r=!0,i=!1,a=void 0;try{for(var o,l=this.columns[Symbol.iterator]();!(r=(o=l.next()).done);r=!0){var c=o.value,u="",f="",h=[],d={},p=vo.sprintf(' class="%s"',c.class);if(c.visible&&(!(this.footerData&&this.footerData.length>0)||c.field in this.footerData[0])){if(this.options.cardView&&!c.cardVisible)return;if(u=vo.sprintf("text-align: %s; ",c.falign?c.falign:c.align),f=vo.sprintf("vertical-align: %s; ",c.valign),(d=vo.calculateObjectValue(null,this.options.footerStyle,[c]))&&d.css)for(var g=0,m=Object.entries(d.css);g<m.length;g++){var v=s(m[g],2),b=v[0],y=v[1];h.push("".concat(b,": ").concat(y))}d&&d.classes&&(p=vo.sprintf(' class="%s"',c.class?[c.class,d.classes].join(" "):d.classes)),t.push("<th",p,vo.sprintf(' style="%s"',u+f+h.concat().join("; ")));var w=0;this.footerData&&this.footerData.length>0&&(w=this.footerData[0]["_"+c.field+"_colspan"]||0),w&&t.push(' colspan="'.concat(w,'" ')),t.push(">"),t.push('<div class="th-inner">');var S="";this.footerData&&this.footerData.length>0&&(S=this.footerData[0][c.field]||""),t.push(vo.calculateObjectValue(c,c.footerFormatter,[e,S],S)),t.push("</div>"),t.push('<div class="fht-cell"></div>'),t.push("</div>"),t.push("</th>")}}}catch(e){i=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw a}}n&&"right"===this.options.detailViewAlign&&t.push(n),this.options.height||this.$tableFooter.length||(this.$el.append("<tfoot><tr></tr></tfoot>"),this.$tableFooter=this.$el.find("tfoot")),this.$tableFooter.find("tr").html(t.join("")),this.trigger("post-footer",this.$tableFooter)}}},{key:"fitFooter",value:function(){var t=this;if(this.$el.is(":hidden"))return void setTimeout(function(){return t.fitFooter()},100);var n=this.$tableBody.get(0),r=n.scrollWidth>n.clientWidth&&n.scrollHeight>n.clientHeight+this.$header.outerHeight()?vo.getScrollBarWidth():0;this.$tableFooter.css("margin-right",r).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class"));var i=(this.getVisibleFields(),this.$tableFooter.find("th")),a=this.$body.find(">tr:first-child:not(.no-records-found)");for(i.find(".fht-cell").width("auto");a.length&&a.find('>td[colspan]:not([colspan="1"])').length;)a=a.next();var o=a.find("> *").length;a.find("> *").each(function(n,r){var a=e(r);if(vo.hasDetailViewIcon(t.options)&&(0===n&&"left"===t.options.detailViewAlign||n===o-1&&"right"===t.options.detailViewAlign)){var s=i.filter(".detail"),l=s.innerWidth()-s.find(".fht-cell").width();return void s.find(".fht-cell").width(a.innerWidth()-l)}var c=i.eq(n),u=c.innerWidth()-c.find(".fht-cell").width();c.find(".fht-cell").width(a.innerWidth()-u)}),this.horizontalScroll()}},{key:"horizontalScroll",value:function(){var e=this;this.$tableBody.off("scroll").on("scroll",function(){var t=e.$tableBody.scrollLeft();e.options.showHeader&&e.options.height&&e.$tableHeader.scrollLeft(t),e.options.showFooter&&!e.options.cardView&&e.$tableFooter.scrollLeft(t),e.trigger("scroll-body",e.$tableBody)})}},{key:"getVisibleFields",value:function(){var e=[],t=!0,n=!1,r=void 0;try{for(var i,a=this.header.fields[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value,s=this.columns[this.fieldsColumnsIndex[o]];s&&s.visible&&e.push(o)}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}return e}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var t=e.extend({},this.options);return delete t.data,e.extend(!0,{},t)}},{key:"refreshOptions",value:function(t){vo.compareObjects(this.options,t,!0)||(this.options=e.extend(this.options,t),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(e){var t=this,n=this.options.data;if(!this.searchText&&!this.options.customSearch&&void 0===this.options.sortName&&vo.isEmptyObject(this.filterColumns)&&vo.isEmptyObject(this.filterColumnsPartial)||e&&e.unfiltered||(n=this.data),e&&e.useCurrentPage&&(n=n.slice(this.pageFrom-1,this.pageTo)),e&&!e.includeHiddenRows){var r=this.getHiddenRows();n=n.filter(function(e){return-1===vo.findIndex(r,e)})}return e&&e.formatted&&n.forEach(function(e){for(var n=0,r=Object.entries(e);n<r.length;n++){var i=s(r[n],2),a=i[0],o=i[1],l=t.columns[t.fieldsColumnsIndex[a]];if(!l)return;e[a]=vo.calculateObjectValue(l,t.header.formatters[l.fieldIndex],[o,e,e.index,l.field],o)}}),n}},{key:"getSelections",value:function(){var e=this;return this.options.data.filter(function(t){return!0===t[e.header.stateField]})}},{key:"load",value:function(e){var t=!1,n=e;this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalRows=n[this.options.totalField],this.options.totalNotFiltered=n[this.options.totalNotFilteredField],this.footerData=n[this.options.footerField]?[n[this.options.footerField]]:void 0),t=n.fixedScroll,n=Array.isArray(n)?n:n[this.options.dataField],this.initData(n),this.initSearch(),this.initPagination(),this.initBody(t)}},{key:"append",value:function(e){this.initData(e,"append"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"prepend",value:function(e){this.initData(e,"prepend"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"remove",value:function(e){var t,n,r=this.options.data.length;if(e.hasOwnProperty("field")&&e.hasOwnProperty("values")){for(t=r-1;t>=0;t--){n=this.options.data[t],(n.hasOwnProperty(e.field)||"$index"===e.field)&&((n.hasOwnProperty(e.field)||"$index"!==e.field?e.values.includes(n[e.field]):e.values.includes(t))&&(this.options.data.splice(t,1),"server"===this.options.sidePagination&&(this.options.totalRows-=1)))}r!==this.options.data.length&&(this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("row")&&(this.options.data.splice(e.index,0,e.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"updateRow",value:function(t){var n=Array.isArray(t)?t:[t],r=!0,i=!1,a=void 0;try{for(var o,s=n[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var l=o.value;l.hasOwnProperty("index")&&l.hasOwnProperty("row")&&(l.hasOwnProperty("replace")&&l.replace?this.options.data[l.index]=l.row:e.extend(this.options.data[l.index],l.row))}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"getRowByUniqueId",value:function(e){var t,n,r,i=this.options.uniqueId,a=this.options.data.length,o=e,s=null;for(t=a-1;t>=0;t--){if(n=this.options.data[t],n.hasOwnProperty(i))r=n[i];else{if(!n._data||!n._data.hasOwnProperty(i))continue;r=n._data[i]}if("string"==typeof r?o=o.toString():"number"==typeof r&&(Number(r)===r&&r%1==0?o=parseInt(o):r===Number(r)&&0!==r&&(o=parseFloat(o))),r===o){s=n;break}}return s}},{key:"updateByUniqueId",value:function(t){var n=Array.isArray(t)?t:[t],r=!0,i=!1,a=void 0;try{for(var o,s=n[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var l=o.value;if(l.hasOwnProperty("id")&&l.hasOwnProperty("row")){var c=this.options.data.indexOf(this.getRowByUniqueId(l.id));-1!==c&&(l.hasOwnProperty("replace")&&l.replace?this.options.data[c]=l.row:e.extend(this.options.data[c],l.row))}}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"removeByUniqueId",value:function(e){var t=this.options.data.length,n=this.getRowByUniqueId(e);n&&this.options.data.splice(this.options.data.indexOf(n),1),t!==this.options.data.length&&(this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"updateCell",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("field")&&e.hasOwnProperty("value")&&(this.data[e.index][e.field]=e.value,!1!==e.reinit&&(this.initSort(),this.initBody(!0)))}},{key:"updateCellByUniqueId",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach(function(e){var n=e.id,r=e.field,i=e.value,a=t.options.data.indexOf(t.getRowByUniqueId(n));-1!==a&&(t.options.data[a][r]=i)}),!1!==e.reinit&&(this.initSort(),this.initBody(!0))}},{key:"showRow",value:function(e){this._toggleRow(e,!0)}},{key:"hideRow",value:function(e){this._toggleRow(e,!1)}},{key:"_toggleRow",value:function(e,t){var n;if(e.hasOwnProperty("index")?n=this.getData()[e.index]:e.hasOwnProperty("uniqueId")&&(n=this.getRowByUniqueId(e.uniqueId)),n){var r=vo.findIndex(this.hiddenRows,n);t||-1!==r?t&&r>-1&&this.hiddenRows.splice(r,1):this.hiddenRows.push(n),this.initBody(!0),this.initPagination()}}},{key:"getHiddenRows",value:function(e){if(e)return this.initHiddenRows(),this.initBody(!0),void this.initPagination();var t=this.getData(),n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var l=o.value;this.hiddenRows.includes(l)&&n.push(l)}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return this.hiddenRows=n,n}},{key:"showColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach(function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!0,!0)})}},{key:"hideColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach(function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!1,!0)})}},{key:"_toggleColumn",value:function(e,t,n){if(-1!==e&&this.columns[e].visible!==t&&(this.columns[e].visible=t,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var r=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);n&&r.filter(vo.sprintf('[value="%s"]',e)).prop("checked",t),r.filter(":checked").length<=this.options.minimumCountColumns&&r.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var e=this;return this.columns.filter(function(t){return t.visible&&!e.isSelectionColumn(t)})}},{key:"getHiddenColumns",value:function(){return this.columns.filter(function(e){return!e.visible})}},{key:"isSelectionColumn",value:function(e){return e.radio||e.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(t){var n=this,r=!0,i=!1,a=void 0;try{for(var o,s=this.columns.slice().reverse()[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var l=o.value;if(l.switchable){if(!t&&this.options.showColumns&&this.getVisibleColumns().length===this.options.minimumCountColumns)continue;l.visible=t}}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}if(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns){var c=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1);t?c.prop("checked",t):c.get().reverse().forEach(function(r){c.filter(":checked").length>n.options.minimumCountColumns&&e(r).prop("checked",t)}),c.filter(":checked").length<=this.options.minimumCountColumns&&c.filter(":checked").prop("disabled",!0)}}},{key:"mergeCells",value:function(e){var t,n,r=e.index,i=this.getVisibleFields().indexOf(e.field),a=e.rowspan||1,o=e.colspan||1,s=this.$body.find(">tr");i+=vo.getDetailViewIndexOffset(this.options);var l=s.eq(r).find(">td").eq(i);if(!(r<0||i<0||r>=this.data.length)){for(t=r;t<r+a;t++)for(n=i;n<i+o;n++)s.eq(t).find(">td").eq(n).hide();l.attr("rowspan",a).attr("colspan",o).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(e){var t=this.getSelections();this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.filter(":enabled").prop("checked",e),this.updateRows(),this.updateSelected();var n=this.getSelections();if(e)return void this.trigger("check-all",n,t);this.trigger("uncheck-all",n,t)}},{key:"checkInvert",value:function(){var t=this.$selectItem.filter(":enabled"),n=t.filter(":checked");t.each(function(t,n){e(n).prop("checked",!e(n).prop("checked"))}),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",n),n=this.getSelections(),this.trigger("check-some",n)}},{key:"check",value:function(e){this._toggleCheck(!0,e)}},{key:"uncheck",value:function(e){this._toggleCheck(!1,e)}},{key:"_toggleCheck",value:function(e,t){var n=this.$selectItem.filter('[data-index="'.concat(t,'"]')),r=this.options.data[t];if(n.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){var i=!0,a=!1,o=void 0;try{for(var s,l=this.options.data[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){s.value[this.header.stateField]=!1}}catch(e){a=!0,o=e}finally{try{i||null==l.return||l.return()}finally{if(a)throw o}}this.$selectItem.filter(":checked").not(n).prop("checked",!1)}if(r[this.header.stateField]=e,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(var c=[this.multipleSelectRowLastSelectedIndex,t].sort(),u=c[0]+1;u<c[1];u++)this.data[u][this.header.stateField]=!0,this.$selectItem.filter('[data-index="'.concat(u,'"]')).prop("checked",!0);this.multipleSelectRowCtrlKey=!1,this.multipleSelectRowShiftKey=!1,this.multipleSelectRowLastSelectedIndex=e?t:-1}n.prop("checked",e),this.updateSelected(),this.trigger(e?"check":"uncheck",this.data[t],n)}},{key:"checkBy",value:function(e){this._toggleCheckBy(!0,e)}},{key:"uncheckBy",value:function(e){this._toggleCheckBy(!1,e)}},{key:"_toggleCheckBy",value:function(e,t){var n=this;if(t.hasOwnProperty("field")&&t.hasOwnProperty("values")){var r=[];this.data.forEach(function(i,a){if(!i.hasOwnProperty(t.field))return!1;if(t.values.includes(i[t.field])){var o=n.$selectItem.filter(":enabled").filter(vo.sprintf('[data-index="%s"]',a));if(o=e?o.not(":checked"):o.filter(":checked"),!o.length)return;o.prop("checked",e),i[n.header.stateField]=e,r.push(i),n.trigger(e?"check":"uncheck",i,o)}}),this.updateSelected(),this.trigger(e?"check-some":"uncheck-some",r)}}},{key:"refresh",value:function(e){e&&e.url&&(this.options.url=e.url),e&&e.pageNumber&&(this.options.pageNumber=e.pageNumber),e&&e.pageSize&&(this.options.pageSize=e.pageSize),this.trigger("refresh",this.initServer(e&&e.silent,e&&e.query,e&&e.url))}},{key:"destroy",value:function(){this.$el.insertBefore(this.$container),e(this.options.toolbar).insertBefore(this.$el),this.$container.next().remove(),this.$container.remove(),this.$el.html(this.$el_.html()).css("margin-top","0").attr("class",this.$el_.attr("class")||"")}},{key:"resetView",value:function(e){var t=0;if(e&&e.height&&(this.options.height=e.height),this.$selectAll.prop("checked",this.$selectItem.length>0&&this.$selectItem.length===this.$selectItem.filter(":checked").length),this.$tableContainer.toggleClass("has-card-view",this.options.cardView),!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),t+=this.$header.outerHeight(!0)+1):(this.$tableHeader.hide(),this.trigger("post-header")),!this.options.cardView&&this.options.showFooter&&(this.$tableFooter.show(),this.fitFooter(),this.options.height&&(t+=this.$tableFooter.outerHeight(!0))),this.$container.hasClass("fullscreen"))this.$tableContainer.css("height",""),this.$tableContainer.css("width","");else if(this.options.height){this.$tableBorder&&(this.$tableBorder.css("width",""),this.$tableBorder.css("height",""));var n=this.$toolbar.outerHeight(!0),r=this.$pagination.outerHeight(!0),i=this.options.height-n-r,a=this.$tableBody.find(">table"),o=a.outerHeight();if(this.$tableContainer.css("height","".concat(i,"px")),this.$tableBorder&&a.is(":visible")){var s=i-o-2;this.$tableBody[0].scrollWidth-this.$tableBody.innerWidth()&&(s-=vo.getScrollBarWidth()),this.$tableBorder.css("width","".concat(a.outerWidth(),"px")),this.$tableBorder.css("height","".concat(s,"px"))}}this.options.cardView?(this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),this.$tableFooter.hide()):(this.getCaret(),this.$tableContainer.css("padding-bottom","".concat(t,"px"))),this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.toggleClass("open",!0);var e=this.options.loadingFontSize;"auto"===this.options.loadingFontSize&&(e=.04*this.$tableLoading.width(),e=Math.max(12,e),e=Math.min(32,e),e="".concat(e,"px")),this.$tableLoading.find(".loading-text").css("font-size",e)}},{key:"hideLoading",value:function(){this.$tableLoading.toggleClass("open",!1)}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var e=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",t=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"";this.$toolbar.find('button[name="paginationSwitch"]').html(vo.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)+" "+t),this.updatePagination()}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen"),this.resetView()}},{key:"toggleView",value:function(){this.options.cardView=!this.options.cardView,this.initHeader();var e=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",t=this.options.showButtonText?this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn():"";this.$toolbar.find('button[name="toggle"]').html(vo.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)+" "+t),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(e){var t=vo.getSearchInput(this);t.val(e||""),this.onSearch({currentTarget:t})}},{key:"filterBy",value:function(t,n){this.filterOptions=vo.isEmptyObject(n)?this.options.filterOptions:e.extend(this.options.filterOptions,n),this.filterColumns=vo.isEmptyObject(t)?{}:t,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function(t){var n={unit:"px",value:0};"object"===r(t)?n=Object.assign(n,t):"string"==typeof t&&"bottom"===t?n.value=this.$tableBody[0].scrollHeight:"string"!=typeof t&&"number"!=typeof t||(n.value=t);var i=n.value;"rows"===n.unit&&(i=0,this.$body.find("> tr:lt(".concat(n.value,")")).each(function(t,n){i+=e(n).outerHeight(!0)})),this.$tableBody.scrollTop(i)}},{key:"getScrollPosition",value:function(){return this.$tableBody.scrollTop()}},{
|
||
key:"selectPage",value:function(e){e>0&&e<=this.options.totalPages&&(this.options.pageNumber=e,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber<this.options.totalPages&&(this.options.pageNumber++,this.updatePagination())}},{key:"toggleDetailView",value:function(e,t){this.$body.find(vo.sprintf('> tr[data-index="%s"]',e)).next().is("tr.detail-view")?this.collapseRow(e):this.expandRow(e,t),this.resetView()}},{key:"expandRow",value:function(e,t){var n=this.data[e],r=this.$body.find(vo.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));if(!r.next().is("tr.detail-view")){this.options.detailViewIcon&&r.find("a.detail-icon").html(vo.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose)),r.after(vo.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>',r.children("td").length));var i=r.next().find("td"),a=t||this.options.detailFormatter,o=vo.calculateObjectValue(this.options,a,[e,n,i],"");1===i.length&&i.append(o),this.trigger("expand-row",e,n,i)}}},{key:"expandRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.expandRow(this.data.indexOf(t))}},{key:"collapseRow",value:function(e){var t=this.data[e],n=this.$body.find(vo.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));n.next().is("tr.detail-view")&&(this.options.detailViewIcon&&n.find("a.detail-icon").html(vo.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",e,t,n.next()),n.next().remove())}},{key:"collapseRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.collapseRow(this.data.indexOf(t))}},{key:"expandAllRows",value:function(){for(var t=this.$body.find("> tr[data-index][data-has-detail-view]"),n=0;n<t.length;n++)this.expandRow(e(t[n]).data("index"))}},{key:"collapseAllRows",value:function(){for(var t=this.$body.find("> tr[data-index][data-has-detail-view]"),n=0;n<t.length;n++)this.collapseRow(e(t[n]).data("index"))}},{key:"updateColumnTitle",value:function(t){if(t.hasOwnProperty("field")&&t.hasOwnProperty("title")&&(this.columns[this.fieldsColumnsIndex[t.field]].title=this.options.escape?vo.escapeHTML(t.title):t.title,this.columns[this.fieldsColumnsIndex[t.field]].visible)){(void 0!==this.options.height?this.$tableHeader:this.$header).find("th[data-field]").each(function(n,r){if(e(r).data("field")===t.field)return e(e(r).find(".th-inner")[0]).text(t.title),!1})}}},{key:"updateFormatText",value:function(e,t){/^format/.test(e)&&this.options[e]&&("string"==typeof t?this.options[e]=function(){return t}:"function"==typeof t&&(this.options[e]=t),this.initToolbar(),this.initPagination(),this.initBody())}}]),t}();return yo.VERSION=io.VERSION,yo.DEFAULTS=io.DEFAULTS,yo.LOCALES=io.LOCALES,yo.COLUMN_DEFAULTS=io.COLUMN_DEFAULTS,yo.METHODS=io.METHODS,yo.EVENTS=io.EVENTS,e.BootstrapTable=yo,e.fn.bootstrapTable=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];var o;return this.each(function(n,a){var s=e(a).data("bootstrap.table"),l=e.extend({},yo.DEFAULTS,e(a).data(),"object"===r(t)&&t);if("string"==typeof t){var c;if(!io.METHODS.includes(t))throw new Error("Unknown method: ".concat(t));if(!s)return;o=(c=s)[t].apply(c,i),"destroy"===t&&e(a).removeData("bootstrap.table")}s||(s=new e.BootstrapTable(a,l),e(a).data("bootstrap.table",s),s.init())}),void 0===o?this:o},e.fn.bootstrapTable.Constructor=yo,e.fn.bootstrapTable.theme=io.THEME,e.fn.bootstrapTable.VERSION=io.VERSION,e.fn.bootstrapTable.defaults=yo.DEFAULTS,e.fn.bootstrapTable.columnDefaults=yo.COLUMN_DEFAULTS,e.fn.bootstrapTable.events=yo.EVENTS,e.fn.bootstrapTable.locales=yo.LOCALES,e.fn.bootstrapTable.methods=yo.METHODS,e.fn.bootstrapTable.utils=vo,e(function(){e('[data-toggle="table"]').bootstrapTable()}),yo}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self,t(e.jQuery))}(this,function(e){"use strict";function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}function f(e,t,n){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=u(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d=function(e){return e&&e.Math==Math&&e},p=d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof h&&h)||Function("return this")(),g=function(e){try{return!!e()}catch(e){return!0}},m=!g(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),v={}.propertyIsEnumerable,b=Object.getOwnPropertyDescriptor,y=b&&!v.call({1:2},1),w=y?function(e){var t=b(this,e);return!!t&&t.enumerable}:v,S={f:w},x=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E={}.toString,_=function(e){return E.call(e).slice(8,-1)},k="".split,A=g(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==_(e)?k.call(e,""):Object(e)}:Object,C=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},T=function(e){return A(C(e))},R=function(e){return"object"==typeof e?null!==e:"function"==typeof e},N=function(e,t){if(!R(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!R(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},B={}.hasOwnProperty,I=function(e,t){return B.call(e,t)},O=p.document,L=R(O)&&R(O.createElement),P=function(e){return L?O.createElement(e):{}},F=!m&&!g(function(){return 7!=Object.defineProperty(P("div"),"a",{get:function(){return 7}}).a}),D=Object.getOwnPropertyDescriptor,M=m?D:function(e,t){if(e=T(e),t=N(t,!0),F)try{return D(e,t)}catch(e){}if(I(e,t))return x(!S.f.call(e,t),e[t])},j={f:M},W=function(e){if(!R(e))throw TypeError(String(e)+" is not an object");return e},U=Object.defineProperty,z=m?U:function(e,t,n){if(W(e),t=N(t,!0),W(n),F)try{return U(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e},H={f:z},V=m?function(e,t,n){return H.f(e,t,x(1,n))}:function(e,t,n){return e[t]=n,e},q=function(e,t){try{V(p,e,t)}catch(n){p[e]=t}return t},G=p["__core-js_shared__"]||q("__core-js_shared__",{}),$=G,X=Function.toString;"function"!=typeof $.inspectSource&&($.inspectSource=function(e){return X.call(e)});var Y,K,J,Z=$.inspectSource,Q=p.WeakMap,ee="function"==typeof Q&&/native code/.test(Z(Q)),te=t(function(e){(e.exports=function(e,t){return $[e]||($[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),ne=0,re=Math.random(),ie=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++ne+re).toString(36)},ae=te("keys"),oe=function(e){return ae[e]||(ae[e]=ie(e))},se={},le=p.WeakMap,ce=function(e){return J(e)?K(e):Y(e,{})},ue=function(e){return function(t){var n;if(!R(t)||(n=K(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(ee){var fe=new le,he=fe.get,de=fe.has,pe=fe.set;Y=function(e,t){return pe.call(fe,e,t),t},K=function(e){return he.call(fe,e)||{}},J=function(e){return de.call(fe,e)}}else{var ge=oe("state");se[ge]=!0,Y=function(e,t){return V(e,ge,t),t},K=function(e){return I(e,ge)?e[ge]:{}},J=function(e){return I(e,ge)}}var me,ve,be={set:Y,get:K,has:J,enforce:ce,getterFor:ue},ye=t(function(e){var t=be.get,n=be.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;if("function"==typeof i&&("string"!=typeof t||I(i,"name")||V(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e===p)return void(s?e[t]=i:q(t,i));o?!l&&e[t]&&(s=!0):delete e[t],s?e[t]=i:V(e,t,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||Z(this)})}),we=p,Se=function(e){return"function"==typeof e?e:void 0},xe=function(e,t){return arguments.length<2?Se(we[e])||Se(p[e]):we[e]&&we[e][t]||p[e]&&p[e][t]},Ee=Math.ceil,_e=Math.floor,ke=function(e){return isNaN(e=+e)?0:(e>0?_e:Ee)(e)},Ae=Math.min,Ce=function(e){return e>0?Ae(ke(e),9007199254740991):0},Te=Math.max,Re=Math.min,Ne=function(e,t){var n=ke(e);return n<0?Te(n+t,0):Re(n,t)},Be=function(e){return function(t,n,r){var i,a=T(t),o=Ce(a.length),s=Ne(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Ie={includes:Be(!0),indexOf:Be(!1)},Oe=Ie.indexOf,Le=function(e,t){var n,r=T(e),i=0,a=[];for(n in r)!I(se,n)&&I(r,n)&&a.push(n);for(;t.length>i;)I(r,n=t[i++])&&(~Oe(a,n)||a.push(n));return a},Pe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fe=Pe.concat("length","prototype"),De=Object.getOwnPropertyNames||function(e){return Le(e,Fe)},Me={f:De},je=Object.getOwnPropertySymbols,We={f:je},Ue=xe("Reflect","ownKeys")||function(e){var t=Me.f(W(e)),n=We.f;return n?t.concat(n(e)):t},ze=function(e,t){for(var n=Ue(t),r=H.f,i=j.f,a=0;a<n.length;a++){var o=n[a];I(e,o)||r(e,o,i(t,o))}},He=/#|\.prototype\./,Ve=function(e,t){var n=Ge[qe(e)];return n==Xe||n!=$e&&("function"==typeof t?g(t):!!t)},qe=Ve.normalize=function(e){return String(e).replace(He,".").toLowerCase()},Ge=Ve.data={},$e=Ve.NATIVE="N",Xe=Ve.POLYFILL="P",Ye=Ve,Ke=j.f,Je=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?p:c?p[s]||q(s,{}):(p[s]||{}).prototype)for(r in t){if(a=t[r],e.noTargetGet?(o=Ke(n,r),i=o&&o.value):i=n[r],!Ye(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;ze(a,i)}(e.sham||i&&i.sham)&&V(a,"sham",!0),ye(n,r,a,e)}},Ze=Array.isArray||function(e){return"Array"==_(e)},Qe=function(e){return Object(C(e))},et=function(e,t,n){var r=N(t);r in e?H.f(e,r,x(0,n)):e[r]=n},tt=!!Object.getOwnPropertySymbols&&!g(function(){return!String(Symbol())}),nt=tt&&!Symbol.sham&&"symbol"==typeof Symbol(),rt=te("wks"),it=p.Symbol,at=nt?it:ie,ot=function(e){return I(rt,e)||(tt&&I(it,e)?rt[e]=it[e]:rt[e]=at("Symbol."+e)),rt[e]},st=ot("species"),lt=function(e,t){var n;return Ze(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!Ze(n.prototype)?R(n)&&null===(n=n[st])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},ct=xe("navigator","userAgent")||"",ut=p.process,ft=ut&&ut.versions,ht=ft&&ft.v8;ht?(me=ht.split("."),ve=me[0]+me[1]):ct&&(!(me=ct.match(/Edge\/(\d+)/))||me[1]>=74)&&(me=ct.match(/Chrome\/(\d+)/))&&(ve=me[1]);var dt=ve&&+ve,pt=ot("species"),gt=ot("isConcatSpreadable"),mt=dt>=51||!g(function(){var e=[];return e[gt]=!1,e.concat()[0]!==e}),vt=function(e){return dt>=51||!g(function(){var t=[],n=t.constructor={};return n[pt]=function(){return{foo:1}},1!==t[e](Boolean).foo})}("concat"),bt=function(e){if(!R(e))return!1;var t=e[gt];return void 0!==t?!!t:Ze(e)};Je({target:"Array",proto:!0,forced:!mt||!vt},{concat:function(e){var t,n,r,i,a,o=Qe(this),s=lt(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(a=-1===t?o:arguments[t],bt(a)){if(i=Ce(a.length),l+i>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,l++)n in a&&et(s,l,a[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");et(s,l++,a)}return s.length=l,s}});var yt,wt=Object.keys||function(e){return Le(e,Pe)},St=m?Object.defineProperties:function(e,t){W(e);for(var n,r=wt(t),i=r.length,a=0;i>a;)H.f(e,n=r[a++],t[n]);return e},xt=xe("document","documentElement"),Et=oe("IE_PROTO"),_t=function(){},kt=function(e){return"<script>"+e+"<\/script>"},At=function(e){e.write(kt("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ct=function(){var e,t=P("iframe");return t.style.display="none",xt.appendChild(t),t.src=String("javascript:"),e=t.contentWindow.document,e.open(),e.write(kt("document.F=Object")),e.close(),e.F},Tt=function(){try{yt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}Tt=yt?At(yt):Ct();for(var e=Pe.length;e--;)delete Tt.prototype[Pe[e]];return Tt()};se[Et]=!0;var Rt=Object.create||function(e,t){var n;return null!==e?(_t.prototype=W(e),n=new _t,_t.prototype=null,n[Et]=e):n=Tt(),void 0===t?n:St(n,t)},Nt=ot("unscopables"),Bt=Array.prototype;void 0==Bt[Nt]&&H.f(Bt,Nt,{configurable:!0,value:Rt(null)});var It=Ie.includes;Je({target:"Array",proto:!0},{includes:function(e){return It(this,e,arguments.length>1?arguments[1]:void 0)}}),function(e){Bt[Nt][e]=!0}("includes");var Ot=ot("match"),Lt=function(e){var t;return R(e)&&(void 0!==(t=e[Ot])?!!t:"RegExp"==_(e))},Pt=function(e){if(Lt(e))throw TypeError("The method doesn't accept regular expressions");return e},Ft=ot("match");Je({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Ft]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~String(C(this)).indexOf(Pt(e),arguments.length>1?arguments[1]:void 0)}});var Dt={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Mt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},jt=function(e,t,n){if(Mt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},Wt=[].push,Ut=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=5==e||a;return function(s,l,c,u){for(var f,h,d=Qe(s),p=A(d),g=jt(l,c,3),m=Ce(p.length),v=0,b=u||lt,y=t?b(s,m):n?b(s,0):void 0;m>v;v++)if((o||v in p)&&(f=p[v],h=g(f,v,d),e))if(t)y[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Wt.call(y,f)}else if(i)return!1;return a?-1:r||i?i:y}},zt={forEach:Ut(0),map:Ut(1),filter:Ut(2),some:Ut(3),every:Ut(4),find:Ut(5),findIndex:Ut(6)},Ht=zt.forEach,Vt=function(e,t){var n=[][e];return!n||!g(function(){n.call(null,t||function(){throw 1},1)})}("forEach")?function(e){return Ht(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach;for(var qt in Dt){var Gt=p[qt],$t=Gt&&Gt.prototype;if($t&&$t.forEach!==Vt)try{V($t,"forEach",Vt)}catch(e){$t.forEach=Vt}}var Xt=function(e,t){var n=0;return function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=function(){n=0,e.apply(void 0,i)};clearTimeout(n),n=setTimeout(o,t)}};e.extend(e.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),e.BootstrapTable=function(t){function r(){return n(this,r),c(this,o(r).apply(this,arguments))}return a(r,t),i(r,[{key:"init",value:function(){for(var t,n=this,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];if((t=f(o(r.prototype),"init",this)).call.apply(t,[this].concat(a)),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.info("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var l={width:e(window).width(),height:e(window).height()};if(e(window).on("resize orientationchange",Xt(function(){var t=e(window).width(),r=e(window).height(),i=e(document.activeElement);i.length&&["INPUT","SELECT","TEXTAREA"].includes(i.prop("nodeName"))||(Math.abs(l.height-r)>n.options.heightThreshold||l.width!==t)&&(n.changeView(t,r),l={width:t,height:r})},200)),this.options.checkOnInit){var c=e(window).width(),u=e(window).height();this.changeView(c,u),l={width:c,height:u}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(e){this.options.cardView=e,this.toggleView()}},{key:"showHideColumns",value:function(e){var t=this;this.options.columnsHidden.length>0&&this.columns.forEach(function(n){t.options.columnsHidden.includes(n.field)&&n.visible!==e&&t._toggleColumn(t.fieldsColumnsIndex[n.field],e,!0)})}},{key:"changeView",value:function(e,t){this.options.minHeight?e<=this.options.minWidth&&t<=this.options.minHeight?this.conditionCardView():e>this.options.minWidth&&t>this.options.minHeight&&this.conditionFullView():e<=this.options.minWidth?this.conditionCardView():e>this.options.minWidth&&this.conditionFullView(),this.resetView()}}]),r}(e.BootstrapTable)}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self,t(e.jQuery))}(this,function(e){"use strict";function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e,t){return RegExp(e,t)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function h(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}function d(e,t,n){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=h(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},g=function(e){return e&&e.Math==Math&&e},m=g("object"==typeof globalThis&&globalThis)||g("object"==typeof window&&window)||g("object"==typeof self&&self)||g("object"==typeof p&&p)||Function("return this")(),v=function(e){try{return!!e()}catch(e){return!0}},b=!v(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),y={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,S=w&&!y.call({1:2},1),x=S?function(e){var t=w(this,e);return!!t&&t.enumerable}:y,E={f:x},_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},k={}.toString,A=function(e){return k.call(e).slice(8,-1)},C="".split,T=v(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==A(e)?C.call(e,""):Object(e)}:Object,R=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},N=function(e){return T(R(e))},B=function(e){return"object"==typeof e?null!==e:"function"==typeof e},I=function(e,t){if(!B(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!B(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!B(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!B(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},O={}.hasOwnProperty,L=function(e,t){return O.call(e,t)},P=m.document,F=B(P)&&B(P.createElement),D=function(e){return F?P.createElement(e):{}},M=!b&&!v(function(){return 7!=Object.defineProperty(D("div"),"a",{get:function(){return 7}}).a}),j=Object.getOwnPropertyDescriptor,W=b?j:function(e,t){if(e=N(e),t=I(t,!0),M)try{return j(e,t)}catch(e){}if(L(e,t))return _(!E.f.call(e,t),e[t])},U={f:W},z=function(e){if(!B(e))throw TypeError(String(e)+" is not an object");return e},H=Object.defineProperty,V=b?H:function(e,t,n){if(z(e),t=I(t,!0),z(n),M)try{return H(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e},q={f:V},G=b?function(e,t,n){return q.f(e,t,_(1,n))}:function(e,t,n){return e[t]=n,e},$=function(e,t){try{G(m,e,t)}catch(n){m[e]=t}return t},X=m["__core-js_shared__"]||$("__core-js_shared__",{}),Y=X,K=Function.toString;"function"!=typeof Y.inspectSource&&(Y.inspectSource=function(e){return K.call(e)});var J,Z,Q,ee=Y.inspectSource,te=m.WeakMap,ne="function"==typeof te&&/native code/.test(ee(te)),re=t(function(e){(e.exports=function(e,t){return Y[e]||(Y[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),ie=0,ae=Math.random(),oe=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++ie+ae).toString(36)},se=re("keys"),le=function(e){return se[e]||(se[e]=oe(e))},ce={},ue=m.WeakMap,fe=function(e){return Q(e)?Z(e):J(e,{})},he=function(e){return function(t){var n;if(!B(t)||(n=Z(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(ne){var de=new ue,pe=de.get,ge=de.has,me=de.set;J=function(e,t){return me.call(de,e,t),t},Z=function(e){return pe.call(de,e)||{}},Q=function(e){return ge.call(de,e)}}else{var ve=le("state");ce[ve]=!0,J=function(e,t){return G(e,ve,t),t},Z=function(e){return L(e,ve)?e[ve]:{}},Q=function(e){return L(e,ve)}}var be,ye={set:J,get:Z,has:Q,enforce:fe,getterFor:he},we=t(function(e){var t=ye.get,n=ye.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;if("function"==typeof i&&("string"!=typeof t||L(i,"name")||G(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e===m)return void(s?e[t]=i:$(t,i));o?!l&&e[t]&&(s=!0):delete e[t],s?e[t]=i:G(e,t,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||ee(this)})}),Se=m,xe=function(e){return"function"==typeof e?e:void 0},Ee=function(e,t){return arguments.length<2?xe(Se[e])||xe(m[e]):Se[e]&&Se[e][t]||m[e]&&m[e][t]},_e=Math.ceil,ke=Math.floor,Ae=function(e){return isNaN(e=+e)?0:(e>0?ke:_e)(e)},Ce=Math.min,Te=function(e){return e>0?Ce(Ae(e),9007199254740991):0},Re=Math.max,Ne=Math.min,Be=function(e,t){var n=Ae(e);return n<0?Re(n+t,0):Ne(n,t)},Ie=function(e){return function(t,n,r){var i,a=N(t),o=Te(a.length),s=Be(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Oe={includes:Ie(!0),indexOf:Ie(!1)},Le=Oe.indexOf,Pe=function(e,t){var n,r=N(e),i=0,a=[];for(n in r)!L(ce,n)&&L(r,n)&&a.push(n);for(;t.length>i;)L(r,n=t[i++])&&(~Le(a,n)||a.push(n));return a},Fe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],De=Fe.concat("length","prototype"),Me=Object.getOwnPropertyNames||function(e){return Pe(e,De)},je={f:Me},We=Object.getOwnPropertySymbols,Ue={f:We},ze=Ee("Reflect","ownKeys")||function(e){var t=je.f(z(e)),n=Ue.f;return n?t.concat(n(e)):t},He=function(e,t){for(var n=ze(t),r=q.f,i=U.f,a=0;a<n.length;a++){var o=n[a];L(e,o)||r(e,o,i(t,o))}},Ve=/#|\.prototype\./,qe=function(e,t){var n=$e[Ge(e)];return n==Ye||n!=Xe&&("function"==typeof t?v(t):!!t)},Ge=qe.normalize=function(e){return String(e).replace(Ve,".").toLowerCase()},$e=qe.data={},Xe=qe.NATIVE="N",Ye=qe.POLYFILL="P",Ke=qe,Je=U.f,Ze=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?m:c?m[s]||$(s,{}):(m[s]||{}).prototype)for(r in t){if(a=t[r],e.noTargetGet?(o=Je(n,r),i=o&&o.value):i=n[r],!Ke(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;He(a,i)}(e.sham||i&&i.sham)&&G(a,"sham",!0),we(n,r,a,e)}},Qe=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())}),et=Qe&&!Symbol.sham&&"symbol"==typeof Symbol(),tt=Array.isArray||function(e){return"Array"==A(e)},nt=function(e){return Object(R(e))},rt=Object.keys||function(e){return Pe(e,Fe)},it=b?Object.defineProperties:function(e,t){z(e);for(var n,r=rt(t),i=r.length,a=0;i>a;)q.f(e,n=r[a++],t[n]);return e},at=Ee("document","documentElement"),ot=le("IE_PROTO"),st=function(){},lt=function(e){return"<script>"+e+"<\/script>"},ct=function(e){e.write(lt("")),e.close();var t=e.parentWindow.Object;return e=null,t},ut=function(){var e,t=D("iframe");return t.style.display="none",at.appendChild(t),t.src=String("javascript:"),e=t.contentWindow.document,e.open(),e.write(lt("document.F=Object")),e.close(),e.F},ft=function(){try{be=document.domain&&new ActiveXObject("htmlfile")}catch(e){}ft=be?ct(be):ut();for(var e=Fe.length;e--;)delete ft.prototype[Fe[e]];return ft()};ce[ot]=!0;var ht=Object.create||function(e,t){var n;return null!==e?(st.prototype=z(e),n=new st,st.prototype=null,n[ot]=e):n=ft(),void 0===t?n:it(n,t)},dt=je.f,pt={}.toString,gt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],mt=function(e){try{return dt(e)}catch(e){return gt.slice()}},vt=function(e){return gt&&"[object Window]"==pt.call(e)?mt(e):dt(N(e))},bt={f:vt},yt=re("wks"),wt=m.Symbol,St=et?wt:oe,xt=function(e){return L(yt,e)||(Qe&&L(wt,e)?yt[e]=wt[e]:yt[e]=St("Symbol."+e)),yt[e]},Et=xt,_t={f:Et},kt=q.f,At=function(e){var t=Se.Symbol||(Se.Symbol={});L(t,e)||kt(t,e,{value:_t.f(e)})},Ct=q.f,Tt=xt("toStringTag"),Rt=function(e,t,n){e&&!L(e=n?e:e.prototype,Tt)&&Ct(e,Tt,{configurable:!0,value:t})},Nt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Bt=function(e,t,n){if(Nt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},It=xt("species"),Ot=function(e,t){var n;return tt(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!tt(n.prototype)?B(n)&&null===(n=n[It])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Lt=[].push,Pt=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=5==e||a;return function(s,l,c,u){for(var f,h,d=nt(s),p=T(d),g=Bt(l,c,3),m=Te(p.length),v=0,b=u||Ot,y=t?b(s,m):n?b(s,0):void 0;m>v;v++)if((o||v in p)&&(f=p[v],h=g(f,v,d),e))if(t)y[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Lt.call(y,f)}else if(i)return!1;return a?-1:r||i?i:y}},Ft={forEach:Pt(0),map:Pt(1),filter:Pt(2),some:Pt(3),every:Pt(4),find:Pt(5),findIndex:Pt(6)},Dt=Ft.forEach,Mt=le("hidden"),jt=xt("toPrimitive"),Wt=ye.set,Ut=ye.getterFor("Symbol"),zt=Object.prototype,Ht=m.Symbol,Vt=Ee("JSON","stringify"),qt=U.f,Gt=q.f,$t=bt.f,Xt=E.f,Yt=re("symbols"),Kt=re("op-symbols"),Jt=re("string-to-symbol-registry"),Zt=re("symbol-to-string-registry"),Qt=re("wks"),en=m.QObject,tn=!en||!en.prototype||!en.prototype.findChild,nn=b&&v(function(){return 7!=ht(Gt({},"a",{get:function(){return Gt(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=qt(zt,t);r&&delete zt[t],Gt(e,t,n),r&&e!==zt&&Gt(zt,t,r)}:Gt,rn=function(e,t){var n=Yt[e]=ht(Ht.prototype);return Wt(n,{type:"Symbol",tag:e,description:t}),b||(n.description=t),n},an=Qe&&"symbol"==typeof Ht.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Ht},on=function(e,t,n){e===zt&&on(Kt,t,n),z(e);var r=I(t,!0);return z(n),L(Yt,r)?(n.enumerable?(L(e,Mt)&&e[Mt][r]&&(e[Mt][r]=!1),n=ht(n,{enumerable:_(0,!1)})):(L(e,Mt)||Gt(e,Mt,_(1,{})),e[Mt][r]=!0),nn(e,r,n)):Gt(e,r,n)},sn=function(e,t){z(e);var n=N(t),r=rt(n).concat(hn(n));return Dt(r,function(t){b&&!cn.call(n,t)||on(e,t,n[t])}),e},ln=function(e,t){return void 0===t?ht(e):sn(ht(e),t)},cn=function(e){var t=I(e,!0),n=Xt.call(this,t);return!(this===zt&&L(Yt,t)&&!L(Kt,t))&&(!(n||!L(this,t)||!L(Yt,t)||L(this,Mt)&&this[Mt][t])||n)},un=function(e,t){var n=N(e),r=I(t,!0);if(n!==zt||!L(Yt,r)||L(Kt,r)){var i=qt(n,r);return!i||!L(Yt,r)||L(n,Mt)&&n[Mt][r]||(i.enumerable=!0),i}},fn=function(e){var t=$t(N(e)),n=[];return Dt(t,function(e){L(Yt,e)||L(ce,e)||n.push(e)}),n},hn=function(e){var t=e===zt,n=$t(t?Kt:N(e)),r=[];return Dt(n,function(e){!L(Yt,e)||t&&!L(zt,e)||r.push(Yt[e])}),r};if(Qe||(Ht=function(){if(this instanceof Ht)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=oe(e),n=function(e){this===zt&&n.call(Kt,e),L(this,Mt)&&L(this[Mt],t)&&(this[Mt][t]=!1),nn(this,t,_(1,e))};return b&&tn&&nn(zt,t,{configurable:!0,set:n}),rn(t,e)},we(Ht.prototype,"toString",function(){return Ut(this).tag}),E.f=cn,q.f=on,U.f=un,je.f=bt.f=fn,Ue.f=hn,b&&(Gt(Ht.prototype,"description",{configurable:!0,get:function(){return Ut(this).description}}),we(zt,"propertyIsEnumerable",cn,{unsafe:!0}))),et||(_t.f=function(e){return rn(xt(e),e)}),Ze({global:!0,wrap:!0,forced:!Qe,sham:!Qe},{Symbol:Ht}),Dt(rt(Qt),function(e){At(e)}),Ze({target:"Symbol",stat:!0,forced:!Qe},{for:function(e){var t=String(e);if(L(Jt,t))return Jt[t];var n=Ht(t);return Jt[t]=n,Zt[n]=t,n},keyFor:function(e){if(!an(e))throw TypeError(e+" is not a symbol");if(L(Zt,e))return Zt[e]},useSetter:function(){tn=!0},useSimple:function(){tn=!1}}),Ze({target:"Object",stat:!0,forced:!Qe,sham:!b},{create:ln,defineProperty:on,defineProperties:sn,getOwnPropertyDescriptor:un}),Ze({target:"Object",stat:!0,forced:!Qe},{getOwnPropertyNames:fn,getOwnPropertySymbols:hn}),Ze({target:"Object",stat:!0,forced:v(function(){Ue.f(1)})},{getOwnPropertySymbols:function(e){return Ue.f(nt(e))}}),Vt){var dn=!Qe||v(function(){var e=Ht();return"[null]"!=Vt([e])||"{}"!=Vt({a:e})||"{}"!=Vt(Object(e))});Ze({target:"JSON",stat:!0,forced:dn},{stringify:function(e,t,n){for(var r,i=[e],a=1;arguments.length>a;)i.push(arguments[a++]);if(r=t,(B(t)||void 0!==e)&&!an(e))return tt(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!an(t))return t}),i[1]=t,Vt.apply(null,i)}})}Ht.prototype[jt]||G(Ht.prototype,jt,Ht.prototype.valueOf),Rt(Ht,"Symbol"),ce[Mt]=!0;var pn=q.f,gn=m.Symbol;if(b&&"function"==typeof gn&&(!("description"in gn.prototype)||void 0!==gn().description)){var mn={},vn=function(){
|
||
var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof vn?new gn(e):void 0===e?gn():gn(e);return""===e&&(mn[t]=!0),t};He(vn,gn);var bn=vn.prototype=gn.prototype;bn.constructor=vn;var yn=bn.toString,wn="Symbol(test)"==String(gn("test")),Sn=/^Symbol\((.*)\)[^)]+$/;pn(bn,"description",{configurable:!0,get:function(){var e=B(this)?this.valueOf():this,t=yn.call(e);if(L(mn,e))return"";var n=wn?t.slice(7,-1):t.replace(Sn,"$1");return""===n?void 0:n}}),Ze({global:!0,forced:!0},{Symbol:vn})}At("iterator");var xn,En,_n=function(e,t,n){var r=I(t);r in e?q.f(e,r,_(0,n)):e[r]=n},kn=Ee("navigator","userAgent")||"",An=m.process,Cn=An&&An.versions,Tn=Cn&&Cn.v8;Tn?(xn=Tn.split("."),En=xn[0]+xn[1]):kn&&(!(xn=kn.match(/Edge\/(\d+)/))||xn[1]>=74)&&(xn=kn.match(/Chrome\/(\d+)/))&&(En=xn[1]);var Rn=En&&+En,Nn=xt("species"),Bn=function(e){return Rn>=51||!v(function(){var t=[],n=t.constructor={};return n[Nn]=function(){return{foo:1}},1!==t[e](Boolean).foo})},In=xt("isConcatSpreadable"),On=Rn>=51||!v(function(){var e=[];return e[In]=!1,e.concat()[0]!==e}),Ln=Bn("concat"),Pn=function(e){if(!B(e))return!1;var t=e[In];return void 0!==t?!!t:tt(e)};Ze({target:"Array",proto:!0,forced:!On||!Ln},{concat:function(e){var t,n,r,i,a,o=nt(this),s=Ot(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(a=-1===t?o:arguments[t],Pn(a)){if(i=Te(a.length),l+i>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,l++)n in a&&_n(s,l,a[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");_n(s,l++,a)}return s.length=l,s}});var Fn=xt("unscopables"),Dn=Array.prototype;void 0==Dn[Fn]&&q.f(Dn,Fn,{configurable:!0,value:ht(null)});var Mn=function(e){Dn[Fn][e]=!0},jn=Ft.find,Wn=!0;"find"in[]&&Array(1).find(function(){Wn=!1}),Ze({target:"Array",proto:!0,forced:Wn},{find:function(e){return jn(this,e,arguments.length>1?arguments[1]:void 0)}}),Mn("find");var Un,zn,Hn,Vn=!v(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),qn=le("IE_PROTO"),Gn=Object.prototype,$n=Vn?Object.getPrototypeOf:function(e){return e=nt(e),L(e,qn)?e[qn]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Gn:null},Xn=xt("iterator"),Yn=!1,Kn=function(){return this};[].keys&&(Hn=[].keys(),"next"in Hn?(zn=$n($n(Hn)))!==Object.prototype&&(Un=zn):Yn=!0),void 0==Un&&(Un={}),L(Un,Xn)||G(Un,Xn,Kn);var Jn={IteratorPrototype:Un,BUGGY_SAFARI_ITERATORS:Yn},Zn=Jn.IteratorPrototype,Qn=function(e,t,n){var r=t+" Iterator";return e.prototype=ht(Zn,{next:_(1,n)}),Rt(e,r,!1),e},er=function(e){if(!B(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},tr=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return z(n),er(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),nr=Jn.IteratorPrototype,rr=Jn.BUGGY_SAFARI_ITERATORS,ir=xt("iterator"),ar=function(){return this},or=function(e,t,n,r,i,a,o){Qn(n,t,r);var s,l,c,u=function(e){if(e===i&&g)return g;if(!rr&&e in d)return d[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[ir]||d["@@iterator"]||i&&d[i],g=!rr&&p||u(i),m="Array"==t?d.entries||p:p;if(m&&(s=$n(m.call(new e)),nr!==Object.prototype&&s.next&&($n(s)!==nr&&(tr?tr(s,nr):"function"!=typeof s[ir]&&G(s,ir,ar)),Rt(s,f,!0))),"values"==i&&p&&"values"!==p.name&&(h=!0,g=function(){return p.call(this)}),d[ir]!==g&&G(d,ir,g),i)if(l={values:u("values"),keys:a?g:u("keys"),entries:u("entries")},o)for(c in l)!rr&&!h&&c in d||we(d,c,l[c]);else Ze({target:t,proto:!0,forced:rr||h},l);return l},sr=ye.set,lr=ye.getterFor("Array Iterator"),cr=or(Array,"Array",function(e,t){sr(this,{type:"Array Iterator",target:N(e),index:0,kind:t})},function(){var e=lr(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Mn("keys"),Mn("values"),Mn("entries");var ur=function(e,t){var n=[][e];return!n||!v(function(){n.call(null,t||function(){throw 1},1)})},fr=[].join,hr=T!=Object,dr=ur("join",",");Ze({target:"Array",proto:!0,forced:hr||dr},{join:function(e){return fr.call(N(this),void 0===e?",":e)}});var pr=Ft.map,gr=Bn("map"),mr=gr&&!v(function(){[].map.call({length:-1,0:1},function(e){throw e})});Ze({target:"Array",proto:!0,forced:!gr||!mr},{map:function(e){return pr(this,e,arguments.length>1?arguments[1]:void 0)}});var vr=xt("species"),br=[].slice,yr=Math.max;Ze({target:"Array",proto:!0,forced:!Bn("slice")},{slice:function(e,t){var n,r,i,a=N(this),o=Te(a.length),s=Be(e,o),l=Be(void 0===t?o:t,o);if(tt(a)&&(n=a.constructor,"function"!=typeof n||n!==Array&&!tt(n.prototype)?B(n)&&null===(n=n[vr])&&(n=void 0):n=void 0,n===Array||void 0===n))return br.call(a,s,l);for(r=new(void 0===n?Array:n)(yr(l-s,0)),i=0;s<l;s++,i++)s in a&&_n(r,i,a[s]);return r.length=i,r}});var wr=Object.assign,Sr=Object.defineProperty,xr=!wr||v(function(){if(b&&1!==wr({b:1},wr(Sr({},"a",{enumerable:!0,get:function(){Sr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=wr({},e)[n]||rt(wr({},t)).join("")!=r})?function(e,t){for(var n=nt(e),r=arguments.length,i=1,a=Ue.f,o=E.f;r>i;)for(var s,l=T(arguments[i++]),c=a?rt(l).concat(a(l)):rt(l),u=c.length,f=0;u>f;)s=c[f++],b&&!o.call(l,s)||(n[s]=l[s]);return n}:wr;Ze({target:"Object",stat:!0,forced:Object.assign!==xr},{assign:xr});var Er=xt("toStringTag"),_r={};_r[Er]="z";var kr="[object z]"===String(_r),Ar=xt("toStringTag"),Cr="Arguments"==A(function(){return arguments}()),Tr=function(e,t){try{return e[t]}catch(e){}},Rr=kr?A:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Tr(t=Object(e),Ar))?n:Cr?A(t):"Object"==(r=A(t))&&"function"==typeof t.callee?"Arguments":r},Nr=kr?{}.toString:function(){return"[object "+Rr(this)+"]"};kr||we(Object.prototype,"toString",Nr,{unsafe:!0});var Br=function(){var e=z(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Ir=v(function(){var e=n("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Or=v(function(){var e=n("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),Lr={UNSUPPORTED_Y:Ir,BROKEN_CARET:Or},Pr=RegExp.prototype.exec,Fr=String.prototype.replace,Dr=Pr,Mr=function(){var e=/a/,t=/b*/g;return Pr.call(e,"a"),Pr.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),jr=Lr.UNSUPPORTED_Y||Lr.BROKEN_CARET,Wr=void 0!==/()??/.exec("")[1];(Mr||Wr||jr)&&(Dr=function(e){var t,n,r,i,a=this,o=jr&&a.sticky,s=Br.call(a),l=a.source,c=0,u=e;return o&&(s=s.replace("y",""),-1===s.indexOf("g")&&(s+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),Wr&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Mr&&(t=a.lastIndex),r=Pr.call(o?n:a,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:Mr&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),Wr&&r&&r.length>1&&Fr.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r});var Ur=Dr;Ze({target:"RegExp",proto:!0,forced:/./.exec!==Ur},{exec:Ur});var zr=function(e){return function(t,n){var r,i,a=String(R(t)),o=Ae(n),s=a.length;return o<0||o>=s?e?"":void 0:(r=a.charCodeAt(o),r<55296||r>56319||o+1===s||(i=a.charCodeAt(o+1))<56320||i>57343?e?a.charAt(o):r:e?a.slice(o,o+2):i-56320+(r-55296<<10)+65536)}},Hr={codeAt:zr(!1),charAt:zr(!0)},Vr=Hr.charAt,qr=ye.set,Gr=ye.getterFor("String Iterator");or(String,"String",function(e){qr(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=Gr(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Vr(n,r),t.index+=e.length,{value:e,done:!1})});var $r=xt("species"),Xr=!v(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),Yr=function(){return"$0"==="a".replace(/./,"$0")}(),Kr=!v(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),Jr=function(e,t,n,r){var i=xt(e),a=!v(function(){var t={};return t[i]=function(){return 7},7!=""[e](t)}),o=a&&!v(function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[$r]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t});if(!a||!o||"replace"===e&&(!Xr||!Yr)||"split"===e&&!Kr){var s=/./[i],l=n(i,""[e],function(e,t,n,r,i){return t.exec===Ur?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:Yr}),c=l[0],u=l[1];we(String.prototype,e,c),we(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&G(RegExp.prototype[i],"sham",!0)},Zr=Hr.charAt,Qr=function(e,t,n){return t+(n?Zr(e,t).length:1)},ei=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==A(e))throw TypeError("RegExp#exec called on incompatible receiver");return Ur.call(e,t)},ti=Math.max,ni=Math.min,ri=Math.floor,ii=/\$([$&'`]|\d\d?|<[^>]*>)/g,ai=/\$([$&'`]|\d\d?)/g,oi=function(e){return void 0===e?e:String(e)};Jr("replace",2,function(e,t,n,r){function i(e,n,r,i,a,o){var s=r+e.length,l=i.length,c=ai;return void 0!==a&&(a=nt(a),c=ii),t.call(o,c,function(t,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return t;if(u>l){var f=ri(u/10);return 0===f?t:f<=l?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}c=i[u-1]}return void 0===c?"":c})}return[function(n,r){var i=R(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,r):t.call(String(i),n,r)},function(e,a){if(r.REPLACE_KEEPS_$0||"string"==typeof a&&-1===a.indexOf("$0")){var o=n(t,e,this,a);if(o.done)return o.value}var s=z(e),l=String(this),c="function"==typeof a;c||(a=String(a));var u=s.global;if(u){var f=s.unicode;s.lastIndex=0}for(var h=[];;){var d=ei(s,l);if(null===d)break;if(h.push(d),!u)break;""===String(d[0])&&(s.lastIndex=Qr(l,Te(s.lastIndex),f))}for(var p="",g=0,m=0;m<h.length;m++){d=h[m];for(var v=String(d[0]),b=ti(ni(Ae(d.index),l.length),0),y=[],w=1;w<d.length;w++)y.push(oi(d[w]));var S=d.groups;if(c){var x=[v].concat(y,b,l);void 0!==S&&x.push(S);var E=String(a.apply(void 0,x))}else E=i(v,l,b,y,S,a);b>=g&&(p+=l.slice(g,b)+E,g=b+v.length)}return p+l.slice(g)}]});var si=xt("match"),li=function(e){var t;return B(e)&&(void 0!==(t=e[si])?!!t:"RegExp"==A(e))},ci=xt("species"),ui=function(e,t){var n,r=z(e).constructor;return void 0===r||void 0==(n=z(r)[ci])?t:Nt(n)},fi=[].push,hi=Math.min,di=!v(function(){return!RegExp(4294967295,"y")});Jr("split",2,function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(R(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!li(e))return t.call(r,e,i);for(var a,o,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,c+"g");(a=Ur.call(f,r))&&!((o=f.lastIndex)>u&&(l.push(r.slice(u,a.index)),a.length>1&&a.index<r.length&&fi.apply(l,a.slice(1)),s=a[0].length,u=o,l.length>=i));)f.lastIndex===a.index&&f.lastIndex++;return u===r.length?!s&&f.test("")||l.push(""):l.push(r.slice(u)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=R(this),a=void 0==t?void 0:t[e];return void 0!==a?a.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var o=z(e),s=String(this),l=ui(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(di?"y":"g"),f=new l(di?o:"^(?:"+o.source+")",u),h=void 0===i?4294967295:i>>>0;if(0===h)return[];if(0===s.length)return null===ei(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=di?p:0;var m,v=ei(f,di?s:s.slice(p));if(null===v||(m=hi(Te(f.lastIndex+(di?0:p)),s.length))===d)p=Qr(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(g.push(v[b]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]},!di);var pi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},gi=Ft.forEach,mi=ur("forEach")?function(e){return gi(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach;for(var vi in pi){var bi=m[vi],yi=bi&&bi.prototype;if(yi&&yi.forEach!==mi)try{G(yi,"forEach",mi)}catch(e){yi.forEach=mi}}var wi=xt("iterator"),Si=xt("toStringTag"),xi=cr.values;for(var Ei in pi){var _i=m[Ei],ki=_i&&_i.prototype;if(ki){if(ki[wi]!==xi)try{G(ki,wi,xi)}catch(e){ki[wi]=xi}if(ki[Si]||G(ki,Si,Ei),pi[Ei])for(var Ai in cr)if(ki[Ai]!==cr[Ai])try{G(ki,Ai,cr[Ai])}catch(e){ki[Ai]=cr[Ai]}}}var Ci=e.fn.bootstrapTable.utils,Ti={json:"JSON",xml:"XML",png:"PNG",csv:"CSV",txt:"TXT",sql:"SQL",doc:"MS-Word",excel:"MS-Excel",xlsx:"MS-Excel (OpenXML)",powerpoint:"MS-Powerpoint",pdf:"PDF"};e.extend(e.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{onCellHtmlData:function(e,t,n,r){return e.is("th")?e.find(".th-inner").text():r}},exportFooter:!1}),e.extend(e.fn.bootstrapTable.columnDefaults,{forceExport:!1,forceHide:!1}),e.extend(e.fn.bootstrapTable.defaults.icons,{export:{bootstrap3:"glyphicon-export icon-share",materialize:"file_download","bootstrap-table":"icon-download"}[e.fn.bootstrapTable.theme]||"fa-download"}),e.extend(e.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),e.extend(e.fn.bootstrapTable.defaults,e.fn.bootstrapTable.locales),e.fn.bootstrapTable.methods.push("exportTable"),e.extend(e.fn.bootstrapTable.defaults,{onExportSaved:function(e){return!1}}),e.extend(e.fn.bootstrapTable.Constructor.EVENTS,{"export-saved.bs.table":"onExportSaved"}),e.BootstrapTable=function(t){function n(){return r(this,n),f(this,l(n).apply(this,arguments))}return s(n,t),a(n,[{key:"initToolbar",value:function(){var t,r=this,i=this.options;this.showToolbar=this.showToolbar||i.showExport;this.$toolbar.find(">.columns");if(this.options.showExport){var a=i.exportTypes;if("string"==typeof a){a=a.slice(1,-1).replace(/ /g,"").split(",").map(function(e){return e.slice(1,-1)})}if(this.$export=this.$toolbar.find(">.columns div.export"),this.$export.length)return void this.updateExportButton();this.buttons=Object.assign(this.buttons,{export:{html:1===a.length?'\n <div class="export '.concat(this.constants.classes.buttonsDropdown,'"\n data-type="').concat(a[0],'">\n <button class="').concat(this.constants.buttonsClass,'"\n aria-label="Export"\n type="button"\n title="').concat(i.formatExport(),'">\n ').concat(i.showButtonIcons?Ci.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.export):"","\n ").concat(i.showButtonText?i.formatExport():"","\n </button>\n </div>\n "):'\n <div class="export '.concat(this.constants.classes.buttonsDropdown,'">\n <button class="').concat(this.constants.buttonsClass,' dropdown-toggle"\n aria-label="Export"\n data-toggle="dropdown"\n type="button"\n title="').concat(i.formatExport(),'">\n ').concat(i.showButtonIcons?Ci.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.export):"","\n ").concat(i.showButtonText?i.formatExport():"","\n ").concat(this.constants.html.dropdownCaret,"\n </button>\n </div>\n ")}})}for(var o=arguments.length,s=new Array(o),c=0;c<o;c++)s[c]=arguments[c];if((t=d(l(n.prototype),"initToolbar",this)).call.apply(t,[this].concat(s)),this.$export=this.$toolbar.find(">.columns div.export"),this.options.showExport){var u=e(this.constants.html.toolbarDropdown.join("")),f=this.$export;if(a.length>1){this.$export.append(u),u.children().length&&(u=u.children().eq(0));var h=!0,p=!1,g=void 0;try{for(var m,v=a[Symbol.iterator]();!(h=(m=v.next()).done);h=!0){var b=m.value;if(Ti.hasOwnProperty(b)){var y=e(Ci.sprintf(this.constants.html.pageDropdownItem,"",Ti[b]));y.attr("data-type",b),u.append(y)}}}catch(e){p=!0,g=e}finally{try{h||null==v.return||v.return()}finally{if(p)throw g}}f=u.children()}this.updateExportButton(),f.click(function(t){t.preventDefault();var n=e(t.currentTarget).data("type"),i={type:n,escape:!1};r.exportTable(i)}),this.handleToolbar()}}},{key:"handleToolbar",value:function(){this.$export&&("foundation"===e.fn.bootstrapTable.theme?this.$export.find(".dropdown-pane").attr("id","toolbar-export-id"):"materialize"===e.fn.bootstrapTable.theme&&this.$export.find(".dropdown-content").attr("id","toolbar-export-id"),d(l(n.prototype),"handleToolbar",this)&&d(l(n.prototype),"handleToolbar",this).call(this))}},{key:"exportTable",value:function(t){var n=this,r=this.options,i=this.header.stateField,a=r.cardView,s=function(o){i&&n.hideColumn(i),a&&n.toggleView(),n.columns.forEach(function(e){e.forceHide&&n.hideColumn(e.field)});var s=n.getData();if(r.exportFooter){var l=n.$tableFooter.find("tr").first(),c={},u=[];e.each(l.children(),function(t,r){var i=e(r).children(".th-inner").first().html();c[n.columns[t].field]=" "===i?null:i,u.push(i)}),n.$body.append(n.$body.children().last()[0].outerHTML);var f=n.$body.children().last();e.each(f.children(),function(t,n){e(n).html(u[t])})}var h=n.getHiddenColumns();h.forEach(function(e){e.forceExport&&n.showColumn(e.field)}),"function"==typeof r.exportOptions.fileName&&(t.fileName=r.exportOptions.fileName()),n.$el.tableExport(e.extend({onAfterSaveToFile:function(){r.exportFooter&&n.load(s),i&&n.showColumn(i),a&&n.toggleView(),h.forEach(function(e){e.forceExport&&n.hideColumn(e.field)}),n.columns.forEach(function(e){e.forceHide&&n.showColumn(e.field)}),o&&o()}},r.exportOptions,t))};if("all"===r.exportDataType&&r.pagination){var l="server"===r.sidePagination?"post-body.bs.table":"page-change.bs.table",c=this.options.virtualScroll;this.$el.one(l,function(){setTimeout(function(){s(function(){n.options.virtualScroll=c,n.togglePagination()})},0)}),this.options.virtualScroll=!1,this.togglePagination(),this.trigger("export-saved",this.getData())}else if("selected"===r.exportDataType){var u=this.getData(),f=this.getSelections(),h=r.pagination;if(!f.length)return;"server"===r.sidePagination&&(u=o({total:r.totalRows},this.options.dataField,u),f=o({total:f.length},this.options.dataField,f)),this.load(f),h&&this.togglePagination(),s(function(){h&&n.togglePagination(),n.load(u)}),this.trigger("export-saved",f)}else s(),this.trigger("export-saved",this.getData(!0))}},{key:"updateSelected",value:function(){d(l(n.prototype),"updateSelected",this).call(this),this.updateExportButton()}},{key:"updateExportButton",value:function(){"selected"===this.options.exportDataType&&this.$export.find("> button").prop("disabled",!this.getSelections().length)}}]),n}(e.BootstrapTable)}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self,t(e.jQuery))}(this,function(e){"use strict";function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e,t){return RegExp(e,t)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function f(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}function h(e,t,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=f(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},p=function(e){return e&&e.Math==Math&&e},g=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof d&&d)||Function("return this")(),m=function(e){try{return!!e()}catch(e){return!0}},v=!m(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,w=y&&!b.call({1:2},1),S=w?function(e){var t=y(this,e);return!!t&&t.enumerable}:b,x={f:S},E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_={}.toString,k=function(e){return _.call(e).slice(8,-1)},A="".split,C=m(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==k(e)?A.call(e,""):Object(e)}:Object,T=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},R=function(e){return C(T(e))},N=function(e){return"object"==typeof e?null!==e:"function"==typeof e},B=function(e,t){if(!N(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!N(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!N(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!N(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},I={}.hasOwnProperty,O=function(e,t){return I.call(e,t)},L=g.document,P=N(L)&&N(L.createElement),F=function(e){return P?L.createElement(e):{}},D=!v&&!m(function(){return 7!=Object.defineProperty(F("div"),"a",{get:function(){return 7}}).a}),M=Object.getOwnPropertyDescriptor,j=v?M:function(e,t){if(e=R(e),t=B(t,!0),D)try{return M(e,t)}catch(e){}if(O(e,t))return E(!x.f.call(e,t),e[t])},W={f:j},U=function(e){if(!N(e))throw TypeError(String(e)+" is not an object");return e},z=Object.defineProperty,H=v?z:function(e,t,n){if(U(e),t=B(t,!0),U(n),D)try{return z(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e},V={f:H},q=v?function(e,t,n){return V.f(e,t,E(1,n))}:function(e,t,n){return e[t]=n,e},G=function(e,t){try{q(g,e,t)}catch(n){g[e]=t}return t},$=g["__core-js_shared__"]||G("__core-js_shared__",{}),X=$,Y=Function.toString;"function"!=typeof X.inspectSource&&(X.inspectSource=function(e){return Y.call(e)});var K,J,Z,Q=X.inspectSource,ee=g.WeakMap,te="function"==typeof ee&&/native code/.test(Q(ee)),ne=t(function(e){(e.exports=function(e,t){return X[e]||(X[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),re=0,ie=Math.random(),ae=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++re+ie).toString(36)},oe=ne("keys"),se=function(e){return oe[e]||(oe[e]=ae(e))},le={},ce=g.WeakMap,ue=function(e){return Z(e)?J(e):K(e,{})},fe=function(e){return function(t){var n;if(!N(t)||(n=J(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(te){var he=new ce,de=he.get,pe=he.has,ge=he.set;K=function(e,t){return ge.call(he,e,t),t},J=function(e){return de.call(he,e)||{}},Z=function(e){return pe.call(he,e)}}else{var me=se("state");le[me]=!0,K=function(e,t){return q(e,me,t),t},J=function(e){return O(e,me)?e[me]:{}},Z=function(e){return O(e,me)}}var ve,be={set:K,get:J,has:Z,enforce:ue,getterFor:fe},ye=t(function(e){var t=be.get,n=be.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;if("function"==typeof i&&("string"!=typeof t||O(i,"name")||q(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e===g)return void(s?e[t]=i:G(t,i));o?!l&&e[t]&&(s=!0):delete e[t],s?e[t]=i:q(e,t,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||Q(this)})}),we=g,Se=function(e){return"function"==typeof e?e:void 0},xe=function(e,t){return arguments.length<2?Se(we[e])||Se(g[e]):we[e]&&we[e][t]||g[e]&&g[e][t]},Ee=Math.ceil,_e=Math.floor,ke=function(e){return isNaN(e=+e)?0:(e>0?_e:Ee)(e)},Ae=Math.min,Ce=function(e){return e>0?Ae(ke(e),9007199254740991):0},Te=Math.max,Re=Math.min,Ne=function(e,t){var n=ke(e);return n<0?Te(n+t,0):Re(n,t)},Be=function(e){return function(t,n,r){var i,a=R(t),o=Ce(a.length),s=Ne(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Ie={includes:Be(!0),indexOf:Be(!1)},Oe=Ie.indexOf,Le=function(e,t){var n,r=R(e),i=0,a=[];for(n in r)!O(le,n)&&O(r,n)&&a.push(n);for(;t.length>i;)O(r,n=t[i++])&&(~Oe(a,n)||a.push(n));return a},Pe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fe=Pe.concat("length","prototype"),De=Object.getOwnPropertyNames||function(e){return Le(e,Fe)},Me={f:De},je=Object.getOwnPropertySymbols,We={f:je},Ue=xe("Reflect","ownKeys")||function(e){var t=Me.f(U(e)),n=We.f;return n?t.concat(n(e)):t},ze=function(e,t){for(var n=Ue(t),r=V.f,i=W.f,a=0;a<n.length;a++){var o=n[a];O(e,o)||r(e,o,i(t,o))}},He=/#|\.prototype\./,Ve=function(e,t){var n=Ge[qe(e)];return n==Xe||n!=$e&&("function"==typeof t?m(t):!!t)},qe=Ve.normalize=function(e){return String(e).replace(He,".").toLowerCase()},Ge=Ve.data={},$e=Ve.NATIVE="N",Xe=Ve.POLYFILL="P",Ye=Ve,Ke=W.f,Je=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?g:c?g[s]||G(s,{}):(g[s]||{}).prototype)for(r in t){if(a=t[r],e.noTargetGet?(o=Ke(n,r),i=o&&o.value):i=n[r],!Ye(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;ze(a,i)}(e.sham||i&&i.sham)&&q(a,"sham",!0),ye(n,r,a,e)}},Ze=!!Object.getOwnPropertySymbols&&!m(function(){return!String(Symbol())}),Qe=Ze&&!Symbol.sham&&"symbol"==typeof Symbol(),et=Array.isArray||function(e){return"Array"==k(e)},tt=function(e){return Object(T(e))},nt=Object.keys||function(e){return Le(e,Pe)},rt=v?Object.defineProperties:function(e,t){U(e);for(var n,r=nt(t),i=r.length,a=0;i>a;)V.f(e,n=r[a++],t[n]);return e},it=xe("document","documentElement"),at=se("IE_PROTO"),ot=function(){},st=function(e){return"<script>"+e+"<\/script>"},lt=function(e){e.write(st("")),e.close();var t=e.parentWindow.Object;return e=null,t},ct=function(){var e,t=F("iframe");return t.style.display="none",it.appendChild(t),t.src=String("javascript:"),e=t.contentWindow.document,e.open(),e.write(st("document.F=Object")),e.close(),e.F},ut=function(){try{ve=document.domain&&new ActiveXObject("htmlfile")}catch(e){}ut=ve?lt(ve):ct();for(var e=Pe.length;e--;)delete ut.prototype[Pe[e]];return ut()};le[at]=!0;var ft=Object.create||function(e,t){var n;return null!==e?(ot.prototype=U(e),n=new ot,ot.prototype=null,n[at]=e):n=ut(),void 0===t?n:rt(n,t)},ht=Me.f,dt={}.toString,pt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],gt=function(e){try{return ht(e)}catch(e){return pt.slice()}},mt=function(e){return pt&&"[object Window]"==dt.call(e)?gt(e):ht(R(e))},vt={f:mt},bt=ne("wks"),yt=g.Symbol,wt=Qe?yt:ae,St=function(e){return O(bt,e)||(Ze&&O(yt,e)?bt[e]=yt[e]:bt[e]=wt("Symbol."+e)),bt[e]},xt=St,Et={f:xt},_t=V.f,kt=function(e){var t=we.Symbol||(we.Symbol={});O(t,e)||_t(t,e,{value:Et.f(e)})},At=V.f,Ct=St("toStringTag"),Tt=function(e,t,n){e&&!O(e=n?e:e.prototype,Ct)&&At(e,Ct,{configurable:!0,value:t})},Rt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Nt=function(e,t,n){if(Rt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},Bt=St("species"),It=function(e,t){var n;return et(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!et(n.prototype)?N(n)&&null===(n=n[Bt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Ot=[].push,Lt=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=5==e||a;return function(s,l,c,u){for(var f,h,d=tt(s),p=C(d),g=Nt(l,c,3),m=Ce(p.length),v=0,b=u||It,y=t?b(s,m):n?b(s,0):void 0;m>v;v++)if((o||v in p)&&(f=p[v],h=g(f,v,d),e))if(t)y[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Ot.call(y,f)}else if(i)return!1;return a?-1:r||i?i:y}},Pt={forEach:Lt(0),map:Lt(1),filter:Lt(2),some:Lt(3),every:Lt(4),find:Lt(5),findIndex:Lt(6)},Ft=Pt.forEach,Dt=se("hidden"),Mt=St("toPrimitive"),jt=be.set,Wt=be.getterFor("Symbol"),Ut=Object.prototype,zt=g.Symbol,Ht=xe("JSON","stringify"),Vt=W.f,qt=V.f,Gt=vt.f,$t=x.f,Xt=ne("symbols"),Yt=ne("op-symbols"),Kt=ne("string-to-symbol-registry"),Jt=ne("symbol-to-string-registry"),Zt=ne("wks"),Qt=g.QObject,en=!Qt||!Qt.prototype||!Qt.prototype.findChild,tn=v&&m(function(){return 7!=ft(qt({},"a",{get:function(){return qt(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Vt(Ut,t);r&&delete Ut[t],qt(e,t,n),r&&e!==Ut&&qt(Ut,t,r)}:qt,nn=function(e,t){var n=Xt[e]=ft(zt.prototype);return jt(n,{type:"Symbol",tag:e,description:t}),v||(n.description=t),n},rn=Ze&&"symbol"==typeof zt.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof zt},an=function(e,t,n){e===Ut&&an(Yt,t,n),U(e);var r=B(t,!0);return U(n),O(Xt,r)?(n.enumerable?(O(e,Dt)&&e[Dt][r]&&(e[Dt][r]=!1),n=ft(n,{enumerable:E(0,!1)})):(O(e,Dt)||qt(e,Dt,E(1,{})),e[Dt][r]=!0),tn(e,r,n)):qt(e,r,n)},on=function(e,t){U(e);var n=R(t),r=nt(n).concat(fn(n));return Ft(r,function(t){v&&!ln.call(n,t)||an(e,t,n[t])}),e},sn=function(e,t){return void 0===t?ft(e):on(ft(e),t)},ln=function(e){var t=B(e,!0),n=$t.call(this,t);return!(this===Ut&&O(Xt,t)&&!O(Yt,t))&&(!(n||!O(this,t)||!O(Xt,t)||O(this,Dt)&&this[Dt][t])||n)},cn=function(e,t){var n=R(e),r=B(t,!0);if(n!==Ut||!O(Xt,r)||O(Yt,r)){var i=Vt(n,r);return!i||!O(Xt,r)||O(n,Dt)&&n[Dt][r]||(i.enumerable=!0),i}},un=function(e){var t=Gt(R(e)),n=[];return Ft(t,function(e){O(Xt,e)||O(le,e)||n.push(e)}),n},fn=function(e){var t=e===Ut,n=Gt(t?Yt:R(e)),r=[];return Ft(n,function(e){!O(Xt,e)||t&&!O(Ut,e)||r.push(Xt[e])}),r};if(Ze||(zt=function(){if(this instanceof zt)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=ae(e),n=function(e){this===Ut&&n.call(Yt,e),O(this,Dt)&&O(this[Dt],t)&&(this[Dt][t]=!1),tn(this,t,E(1,e))}
|
||
;return v&&en&&tn(Ut,t,{configurable:!0,set:n}),nn(t,e)},ye(zt.prototype,"toString",function(){return Wt(this).tag}),x.f=ln,V.f=an,W.f=cn,Me.f=vt.f=un,We.f=fn,v&&(qt(zt.prototype,"description",{configurable:!0,get:function(){return Wt(this).description}}),ye(Ut,"propertyIsEnumerable",ln,{unsafe:!0}))),Qe||(Et.f=function(e){return nn(St(e),e)}),Je({global:!0,wrap:!0,forced:!Ze,sham:!Ze},{Symbol:zt}),Ft(nt(Zt),function(e){kt(e)}),Je({target:"Symbol",stat:!0,forced:!Ze},{for:function(e){var t=String(e);if(O(Kt,t))return Kt[t];var n=zt(t);return Kt[t]=n,Jt[n]=t,n},keyFor:function(e){if(!rn(e))throw TypeError(e+" is not a symbol");if(O(Jt,e))return Jt[e]},useSetter:function(){en=!0},useSimple:function(){en=!1}}),Je({target:"Object",stat:!0,forced:!Ze,sham:!v},{create:sn,defineProperty:an,defineProperties:on,getOwnPropertyDescriptor:cn}),Je({target:"Object",stat:!0,forced:!Ze},{getOwnPropertyNames:un,getOwnPropertySymbols:fn}),Je({target:"Object",stat:!0,forced:m(function(){We.f(1)})},{getOwnPropertySymbols:function(e){return We.f(tt(e))}}),Ht){var hn=!Ze||m(function(){var e=zt();return"[null]"!=Ht([e])||"{}"!=Ht({a:e})||"{}"!=Ht(Object(e))});Je({target:"JSON",stat:!0,forced:hn},{stringify:function(e,t,n){for(var r,i=[e],a=1;arguments.length>a;)i.push(arguments[a++]);if(r=t,(N(t)||void 0!==e)&&!rn(e))return et(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!rn(t))return t}),i[1]=t,Ht.apply(null,i)}})}zt.prototype[Mt]||q(zt.prototype,Mt,zt.prototype.valueOf),Tt(zt,"Symbol"),le[Dt]=!0;var dn=V.f,pn=g.Symbol;if(v&&"function"==typeof pn&&(!("description"in pn.prototype)||void 0!==pn().description)){var gn={},mn=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof mn?new pn(e):void 0===e?pn():pn(e);return""===e&&(gn[t]=!0),t};ze(mn,pn);var vn=mn.prototype=pn.prototype;vn.constructor=mn;var bn=vn.toString,yn="Symbol(test)"==String(pn("test")),wn=/^Symbol\((.*)\)[^)]+$/;dn(vn,"description",{configurable:!0,get:function(){var e=N(this)?this.valueOf():this,t=bn.call(e);if(O(gn,e))return"";var n=yn?t.slice(7,-1):t.replace(wn,"$1");return""===n?void 0:n}}),Je({global:!0,forced:!0},{Symbol:mn})}kt("iterator");var Sn,xn,En=function(e,t,n){var r=B(t);r in e?V.f(e,r,E(0,n)):e[r]=n},_n=xe("navigator","userAgent")||"",kn=g.process,An=kn&&kn.versions,Cn=An&&An.v8;Cn?(Sn=Cn.split("."),xn=Sn[0]+Sn[1]):_n&&(!(Sn=_n.match(/Edge\/(\d+)/))||Sn[1]>=74)&&(Sn=_n.match(/Chrome\/(\d+)/))&&(xn=Sn[1]);var Tn=xn&&+xn,Rn=St("species"),Nn=function(e){return Tn>=51||!m(function(){var t=[],n=t.constructor={};return n[Rn]=function(){return{foo:1}},1!==t[e](Boolean).foo})},Bn=St("isConcatSpreadable"),In=Tn>=51||!m(function(){var e=[];return e[Bn]=!1,e.concat()[0]!==e}),On=Nn("concat"),Ln=function(e){if(!N(e))return!1;var t=e[Bn];return void 0!==t?!!t:et(e)};Je({target:"Array",proto:!0,forced:!In||!On},{concat:function(e){var t,n,r,i,a,o=tt(this),s=It(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(a=-1===t?o:arguments[t],Ln(a)){if(i=Ce(a.length),l+i>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,l++)n in a&&En(s,l,a[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");En(s,l++,a)}return s.length=l,s}});var Pn=Pt.filter,Fn=Nn("filter"),Dn=Fn&&!m(function(){[].filter.call({length:-1,0:1},function(e){throw e})});Je({target:"Array",proto:!0,forced:!Fn||!Dn},{filter:function(e){return Pn(this,e,arguments.length>1?arguments[1]:void 0)}});var Mn=St("unscopables"),jn=Array.prototype;void 0==jn[Mn]&&V.f(jn,Mn,{configurable:!0,value:ft(null)});var Wn=function(e){jn[Mn][e]=!0},Un=Pt.find,zn=!0;"find"in[]&&Array(1).find(function(){zn=!1}),Je({target:"Array",proto:!0,forced:zn},{find:function(e){return Un(this,e,arguments.length>1?arguments[1]:void 0)}}),Wn("find");var Hn,Vn,qn,Gn=!m(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),$n=se("IE_PROTO"),Xn=Object.prototype,Yn=Gn?Object.getPrototypeOf:function(e){return e=tt(e),O(e,$n)?e[$n]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Xn:null},Kn=St("iterator"),Jn=!1,Zn=function(){return this};[].keys&&(qn=[].keys(),"next"in qn?(Vn=Yn(Yn(qn)))!==Object.prototype&&(Hn=Vn):Jn=!0),void 0==Hn&&(Hn={}),O(Hn,Kn)||q(Hn,Kn,Zn);var Qn={IteratorPrototype:Hn,BUGGY_SAFARI_ITERATORS:Jn},er=Qn.IteratorPrototype,tr=function(e,t,n){var r=t+" Iterator";return e.prototype=ft(er,{next:E(1,n)}),Tt(e,r,!1),e},nr=function(e){if(!N(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},rr=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return U(n),nr(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),ir=Qn.IteratorPrototype,ar=Qn.BUGGY_SAFARI_ITERATORS,or=St("iterator"),sr=function(){return this},lr=function(e,t,n,r,i,a,o){tr(n,t,r);var s,l,c,u=function(e){if(e===i&&g)return g;if(!ar&&e in d)return d[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[or]||d["@@iterator"]||i&&d[i],g=!ar&&p||u(i),m="Array"==t?d.entries||p:p;if(m&&(s=Yn(m.call(new e)),ir!==Object.prototype&&s.next&&(Yn(s)!==ir&&(rr?rr(s,ir):"function"!=typeof s[or]&&q(s,or,sr)),Tt(s,f,!0))),"values"==i&&p&&"values"!==p.name&&(h=!0,g=function(){return p.call(this)}),d[or]!==g&&q(d,or,g),i)if(l={values:u("values"),keys:a?g:u("keys"),entries:u("entries")},o)for(c in l)!ar&&!h&&c in d||ye(d,c,l[c]);else Je({target:t,proto:!0,forced:ar||h},l);return l},cr=be.set,ur=be.getterFor("Array Iterator"),fr=lr(Array,"Array",function(e,t){cr(this,{type:"Array Iterator",target:R(e),index:0,kind:t})},function(){var e=ur(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Wn("keys"),Wn("values"),Wn("entries");var hr=function(e,t){var n=[][e];return!n||!m(function(){n.call(null,t||function(){throw 1},1)})},dr=[].join,pr=C!=Object,gr=hr("join",",");Je({target:"Array",proto:!0,forced:pr||gr},{join:function(e){return dr.call(R(this),void 0===e?",":e)}});var mr=Pt.map,vr=Nn("map"),br=vr&&!m(function(){[].map.call({length:-1,0:1},function(e){throw e})});Je({target:"Array",proto:!0,forced:!vr||!br},{map:function(e){return mr(this,e,arguments.length>1?arguments[1]:void 0)}});var yr=St("toStringTag"),wr={};wr[yr]="z";var Sr="[object z]"===String(wr),xr=St("toStringTag"),Er="Arguments"==k(function(){return arguments}()),_r=function(e,t){try{return e[t]}catch(e){}},kr=Sr?k:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=_r(t=Object(e),xr))?n:Er?k(t):"Object"==(r=k(t))&&"function"==typeof t.callee?"Arguments":r},Ar=Sr?{}.toString:function(){return"[object "+kr(this)+"]"};Sr||ye(Object.prototype,"toString",Ar,{unsafe:!0});var Cr=function(){var e=U(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Tr=m(function(){var e=n("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Rr=m(function(){var e=n("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),Nr={UNSUPPORTED_Y:Tr,BROKEN_CARET:Rr},Br=RegExp.prototype.exec,Ir=String.prototype.replace,Or=Br,Lr=function(){var e=/a/,t=/b*/g;return Br.call(e,"a"),Br.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Pr=Nr.UNSUPPORTED_Y||Nr.BROKEN_CARET,Fr=void 0!==/()??/.exec("")[1];(Lr||Fr||Pr)&&(Or=function(e){var t,n,r,i,a=this,o=Pr&&a.sticky,s=Cr.call(a),l=a.source,c=0,u=e;return o&&(s=s.replace("y",""),-1===s.indexOf("g")&&(s+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),Fr&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Lr&&(t=a.lastIndex),r=Br.call(o?n:a,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:Lr&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),Fr&&r&&r.length>1&&Ir.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r});var Dr=Or;Je({target:"RegExp",proto:!0,forced:/./.exec!==Dr},{exec:Dr});var Mr=RegExp.prototype,jr=Mr.toString,Wr=m(function(){return"/a/b"!=jr.call({source:"a",flags:"b"})}),Ur="toString"!=jr.name;(Wr||Ur)&&ye(RegExp.prototype,"toString",function(){var e=U(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Mr)?Cr.call(e):n)},{unsafe:!0});var zr=function(e){return function(t,n){var r,i,a=String(T(t)),o=ke(n),s=a.length;return o<0||o>=s?e?"":void 0:(r=a.charCodeAt(o),r<55296||r>56319||o+1===s||(i=a.charCodeAt(o+1))<56320||i>57343?e?a.charAt(o):r:e?a.slice(o,o+2):i-56320+(r-55296<<10)+65536)}},Hr={codeAt:zr(!1),charAt:zr(!0)},Vr=Hr.charAt,qr=be.set,Gr=be.getterFor("String Iterator");lr(String,"String",function(e){qr(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=Gr(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Vr(n,r),t.index+=e.length,{value:e,done:!1})});var $r=St("species"),Xr=!m(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),Yr=function(){return"$0"==="a".replace(/./,"$0")}(),Kr=!m(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),Jr=function(e,t,n,r){var i=St(e),a=!m(function(){var t={};return t[i]=function(){return 7},7!=""[e](t)}),o=a&&!m(function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[$r]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t});if(!a||!o||"replace"===e&&(!Xr||!Yr)||"split"===e&&!Kr){var s=/./[i],l=n(i,""[e],function(e,t,n,r,i){return t.exec===Dr?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:Yr}),c=l[0],u=l[1];ye(String.prototype,e,c),ye(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&q(RegExp.prototype[i],"sham",!0)},Zr=Hr.charAt,Qr=function(e,t,n){return t+(n?Zr(e,t).length:1)},ei=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==k(e))throw TypeError("RegExp#exec called on incompatible receiver");return Dr.call(e,t)},ti=Math.max,ni=Math.min,ri=Math.floor,ii=/\$([$&'`]|\d\d?|<[^>]*>)/g,ai=/\$([$&'`]|\d\d?)/g,oi=function(e){return void 0===e?e:String(e)};Jr("replace",2,function(e,t,n,r){function i(e,n,r,i,a,o){var s=r+e.length,l=i.length,c=ai;return void 0!==a&&(a=tt(a),c=ii),t.call(o,c,function(t,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return t;if(u>l){var f=ri(u/10);return 0===f?t:f<=l?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}c=i[u-1]}return void 0===c?"":c})}return[function(n,r){var i=T(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,r):t.call(String(i),n,r)},function(e,a){if(r.REPLACE_KEEPS_$0||"string"==typeof a&&-1===a.indexOf("$0")){var o=n(t,e,this,a);if(o.done)return o.value}var s=U(e),l=String(this),c="function"==typeof a;c||(a=String(a));var u=s.global;if(u){var f=s.unicode;s.lastIndex=0}for(var h=[];;){var d=ei(s,l);if(null===d)break;if(h.push(d),!u)break;""===String(d[0])&&(s.lastIndex=Qr(l,Ce(s.lastIndex),f))}for(var p="",g=0,m=0;m<h.length;m++){d=h[m];for(var v=String(d[0]),b=ti(ni(ke(d.index),l.length),0),y=[],w=1;w<d.length;w++)y.push(oi(d[w]));var S=d.groups;if(c){var x=[v].concat(y,b,l);void 0!==S&&x.push(S);var E=String(a.apply(void 0,x))}else E=i(v,l,b,y,S,a);b>=g&&(p+=l.slice(g,b)+E,g=b+v.length)}return p+l.slice(g)}]});var si=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};Jr("search",1,function(e,t,n){return[function(t){var n=T(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=U(e),a=String(this),o=i.lastIndex;si(o,0)||(i.lastIndex=0);var s=ei(i,a);return si(i.lastIndex,o)||(i.lastIndex=o),null===s?-1:s.index}]});var li=St("match"),ci=function(e){var t;return N(e)&&(void 0!==(t=e[li])?!!t:"RegExp"==k(e))},ui=St("species"),fi=function(e,t){var n,r=U(e).constructor;return void 0===r||void 0==(n=U(r)[ui])?t:Rt(n)},hi=[].push,di=Math.min,pi=!m(function(){return!RegExp(4294967295,"y")});Jr("split",2,function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(T(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!ci(e))return t.call(r,e,i);for(var a,o,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,c+"g");(a=Dr.call(f,r))&&!((o=f.lastIndex)>u&&(l.push(r.slice(u,a.index)),a.length>1&&a.index<r.length&&hi.apply(l,a.slice(1)),s=a[0].length,u=o,l.length>=i));)f.lastIndex===a.index&&f.lastIndex++;return u===r.length?!s&&f.test("")||l.push(""):l.push(r.slice(u)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=T(this),a=void 0==t?void 0:t[e];return void 0!==a?a.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var o=U(e),s=String(this),l=fi(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(pi?"y":"g"),f=new l(pi?o:"^(?:"+o.source+")",u),h=void 0===i?4294967295:i>>>0;if(0===h)return[];if(0===s.length)return null===ei(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=pi?p:0;var m,v=ei(f,pi?s:s.slice(p));if(null===v||(m=di(Ce(f.lastIndex+(pi?0:p)),s.length))===d)p=Qr(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(g.push(v[b]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]},!pi);var gi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},mi=Pt.forEach,vi=hr("forEach")?function(e){return mi(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach;for(var bi in gi){var yi=g[bi],wi=yi&&yi.prototype;if(wi&&wi.forEach!==vi)try{q(wi,"forEach",vi)}catch(e){wi.forEach=vi}}var Si=St("iterator"),xi=St("toStringTag"),Ei=fr.values;for(var _i in gi){var ki=g[_i],Ai=ki&&ki.prototype;if(Ai){if(Ai[Si]!==Ei)try{q(Ai,Si,Ei)}catch(e){Ai[Si]=Ei}if(Ai[xi]||q(Ai,xi,_i),gi[_i])for(var Ci in fr)if(Ai[Ci]!==fr[Ci])try{q(Ai,Ci,fr[Ci])}catch(e){Ai[Ci]=fr[Ci]}}}var Ti=e.fn.bootstrapTable.utils,Ri={cookieIds:{sortOrder:"bs.table.sortOrder",sortName:"bs.table.sortName",pageNumber:"bs.table.pageNumber",pageList:"bs.table.pageList",columns:"bs.table.columns",searchText:"bs.table.searchText",reorderColumns:"bs.table.reorderColumns",filterControl:"bs.table.filterControl",filterBy:"bs.table.filterBy"},getCurrentHeader:function(e){var t=e.$header;return e.options.height&&(t=e.$tableHeader),t},getCurrentSearchControls:function(e){var t="select, input";return e.options.height&&(t="table select, table input"),t},cookieEnabled:function(){return!!navigator.cookieEnabled},inArrayCookiesEnabled:function(e,t){for(var n=-1,r=0;r<t.length;r++)if(e.toLowerCase()===t[r].toLowerCase()){n=r;break}return n},setCookie:function(e,t,n){if(e.options.cookie&&Ri.cookieEnabled()&&""!==e.options.cookieIdTable&&-1!==Ri.inArrayCookiesEnabled(t,e.options.cookiesEnabled)){switch(t="".concat(e.options.cookieIdTable,".").concat(t),e.options.cookieStorage){case"cookieStorage":document.cookie=[t,"=",encodeURIComponent(n),"; expires=".concat(Ri.calculateExpiration(e.options.cookieExpire)),e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",e.options.cookieSecure?"; secure":"",";SameSite="+e.options.cookieSameSite].join("");break;case"localStorage":localStorage.setItem(t,n);break;case"sessionStorage":sessionStorage.setItem(t,n);break;case"customStorage":if(!e.options.cookieCustomStorageSet||!e.options.cookieCustomStorageGet||!e.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");Ti.calculateObjectValue(e.options,e.options.cookieCustomStorageSet,[t,n],"");break;default:return!1}return!0}},getCookie:function(e,t,n){if(!n)return null;if(-1===Ri.inArrayCookiesEnabled(n,e.options.cookiesEnabled))return null;switch(n="".concat(t,".").concat(n),e.options.cookieStorage){case"cookieStorage":var r="; ".concat(document.cookie),i=r.split("; ".concat(n,"="));return 2===i.length?decodeURIComponent(i.pop().split(";").shift()):null;case"localStorage":return localStorage.getItem(n);case"sessionStorage":return sessionStorage.getItem(n);case"customStorage":if(!e.options.cookieCustomStorageSet||!e.options.cookieCustomStorageGet||!e.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");return Ti.calculateObjectValue(e.options,e.options.cookieCustomStorageGet,[n],"");default:return null}},deleteCookie:function(e,t,n){switch(n="".concat(t,".").concat(n),e.options.cookieStorage){case"cookieStorage":document.cookie=[encodeURIComponent(n),"=","; expires=Thu, 01 Jan 1970 00:00:00 GMT",e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):""].join("");break;case"localStorage":localStorage.removeItem(n);break;case"sessionStorage":sessionStorage.removeItem(n);break;case"customStorage":if(!e.options.cookieCustomStorageSet||!e.options.cookieCustomStorageGet||!e.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");Ti.calculateObjectValue(e.options,e.options.cookieCustomStorageDelete,[n],"");break;default:return!1}return!0},calculateExpiration:function(e){var t=e.replace(/[0-9]*/,"");switch(e=e.replace(/[A-Za-z]{1,2}/,""),t.toLowerCase()){case"s":e=+e;break;case"mi":e*=60;break;case"h":e=60*e*60;break;case"d":e=24*e*60*60;break;case"m":e=30*e*24*60*60;break;case"y":e=365*e*24*60*60;break;default:e=void 0}if(!e)return"";var n=new Date;return n.setTime(n.getTime()+1e3*e),n.toGMTString()},initCookieFilters:function(t){setTimeout(function(){var n=JSON.parse(Ri.getCookie(t,t.options.cookieIdTable,Ri.cookieIds.filterControl));if(!t.options.filterControlValuesLoaded&&n){var r={},i=Ri.getCurrentHeader(t),a=Ri.getCurrentSearchControls(t),o=function(e,n){n.forEach(function(n){if(""!==n.text&&("radio"!==e.type||e.value.toString()===n.text.toString()))if("INPUT"===e.tagName&&"radio"===e.type&&e.value.toString()===n.text.toString())e.checked=!0,r[n.field]=n.text;else if("INPUT"===e.tagName)e.value=n.text,r[n.field]=n.text;else if("SELECT"===e.tagName&&t.options.filterControlContainer)e.value=n.text,r[n.field]=n.text;else if(""!==n.text&&"SELECT"===e.tagName){for(var i=0;i<e.length;i++){var a=e[i];if(a.value===n.text)return void(a.selected=!0)}var o=document.createElement("option");o.value=n.text,o.text=n.text,e.add(o,e[1]),e.selectedIndex=1,r[n.field]=n.text}})},s=i;t.options.filterControlContainer&&(s=e("".concat(t.options.filterControlContainer))),s.find(a).each(function(){var t=e(this).closest("[data-field]").data("field"),r=n.filter(function(e){return e.field===t});o(this,r)}),t.initColumnSearch(r),t.options.filterControlValuesLoaded=!0,t.initServer()}},250)}};e.extend(e.fn.bootstrapTable.defaults,{cookie:!1,cookieExpire:"2h",cookiePath:null,cookieDomain:null,cookieSecure:null,cookieSameSite:"Lax",cookieIdTable:"",cookiesEnabled:["bs.table.sortOrder","bs.table.sortName","bs.table.pageNumber","bs.table.pageList","bs.table.columns","bs.table.searchText","bs.table.filterControl","bs.table.filterBy","bs.table.reorderColumns"],cookieStorage:"cookieStorage",cookieCustomStorageGet:null,cookieCustomStorageSet:null,cookieCustomStorageDelete:null,filterControls:[],filterControlValuesLoaded:!1}),e.fn.bootstrapTable.methods.push("getCookies"),e.fn.bootstrapTable.methods.push("deleteCookie"),e.extend(e.fn.bootstrapTable.utils,{setCookie:Ri.setCookie,getCookie:Ri.getCookie}),e.BootstrapTable=function(t){function n(){return r(this,n),u(this,s(n).apply(this,arguments))}return o(n,t),a(n,[{key:"init",value:function(){if(this.options.cookie){var e=Ri.getCookie(this,this.options.cookieIdTable,Ri.cookieIds.filterBy);if("boolean"==typeof e&&!e)throw new Error("The cookie value of filterBy must be a json!");var t={};try{t=JSON.parse(e)}catch(e){throw new Error("Could not parse the json of the filterBy cookie!")}if(this.filterColumns=t||{},this.options.filterControls=[],this.options.filterControlValuesLoaded=!1,this.options.cookiesEnabled="string"==typeof this.options.cookiesEnabled?this.options.cookiesEnabled.replace("[","").replace("]","").replace(/'/g,"").replace(/ /g,"").toLowerCase().split(","):this.options.cookiesEnabled,this.options.filterControl){var r=this;this.$el.on("column-search.bs.table",function(e,t,n){for(var i=!0,a=0;a<r.options.filterControls.length;a++)if(r.options.filterControls[a].field===t){r.options.filterControls[a].text=n,i=!1;break}i&&r.options.filterControls.push({field:t,text:n}),Ri.setCookie(r,Ri.cookieIds.filterControl,JSON.stringify(r.options.filterControls))}).on("created-controls.bs.table",Ri.initCookieFilters(r))}}h(s(n.prototype),"init",this).call(this)}},{key:"initServer",value:function(){var e;if(this.options.cookie&&this.options.filterControl&&!this.options.filterControlValuesLoaded){if(JSON.parse(Ri.getCookie(this,this.options.cookieIdTable,Ri.cookieIds.filterControl)))return}for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"initServer",this)).call.apply(e,[this].concat(r))}},{key:"initTable",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"initTable",this)).call.apply(e,[this].concat(r)),this.initCookie()}},{key:"onSort",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"onSort",this)).call.apply(e,[this].concat(r)),Ri.setCookie(this,Ri.cookieIds.sortOrder,this.options.sortOrder),Ri.setCookie(this,Ri.cookieIds.sortName,this.options.sortName)}},{key:"onPageNumber",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"onPageNumber",this)).call.apply(e,[this].concat(r)),Ri.setCookie(this,Ri.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageListChange",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"onPageListChange",this)).call.apply(e,[this].concat(r)),Ri.setCookie(this,Ri.cookieIds.pageList,this.options.pageSize),Ri.setCookie(this,Ri.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPagePre",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"onPagePre",this)).call.apply(e,[this].concat(r)),Ri.setCookie(this,Ri.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageNext",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"onPageNext",this)).call.apply(e,[this].concat(r)),Ri.setCookie(this,Ri.cookieIds.pageNumber,this.options.pageNumber)}},{key:"_toggleColumn",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"_toggleColumn",this)).call.apply(e,[this].concat(r)),Ri.setCookie(this,Ri.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map(function(e){return e.field})))}},{key:"_toggleAllColumns",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"_toggleAllColumns",this)).call.apply(e,[this].concat(r)),Ri.setCookie(this,Ri.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map(function(e){return e.field})))}},{key:"selectPage",value:function(e){h(s(n.prototype),"selectPage",this).call(this,e),Ri.setCookie(this,Ri.cookieIds.pageNumber,e)}},{key:"onSearch",value:function(e){h(s(n.prototype),"onSearch",this).call(this,e),this.options.search&&Ri.setCookie(this,Ri.cookieIds.searchText,this.searchText),Ri.setCookie(this,Ri.cookieIds.pageNumber,this.options.pageNumber)}},{key:"initHeader",value:function(){var e;this.options.reorderableColumns&&(this.columnsSortOrder=JSON.parse(Ri.getCookie(this,this.options.cookieIdTable,Ri.cookieIds.reorderColumns)));for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"initHeader",this)).call.apply(e,[this].concat(r))}},{key:"persistReorderColumnsState",value:function(e){Ri.setCookie(e,Ri.cookieIds.reorderColumns,JSON.stringify(e.columnsSortOrder))}},{key:"filterBy",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=h(s(n.prototype),"filterBy",this)).call.apply(e,[this].concat(r)),Ri.setCookie(this,Ri.cookieIds.filterBy,JSON.stringify(this.filterColumns))}},{key:"initCookie",value:function(){var e=this;if(this.options.cookie){if(""===this.options.cookieIdTable||""===this.options.cookieExpire||!Ri.cookieEnabled())return console.error("Configuration error. Please review the cookieIdTable and the cookieExpire property. If the properties are correct, then this browser does not support cookies."),void(this.options.cookie=!1);var t=Ri.getCookie(this,this.options.cookieIdTable,Ri.cookieIds.sortOrder),n=Ri.getCookie(this,this.options.cookieIdTable,Ri.cookieIds.sortName),r=Ri.getCookie(this,this.options.cookieIdTable,Ri.cookieIds.pageNumber),i=Ri.getCookie(this,this.options.cookieIdTable,Ri.cookieIds.pageList),a=Ri.getCookie(this,this.options.cookieIdTable,Ri.cookieIds.searchText),o=Ri.getCookie(this,this.options.cookieIdTable,Ri.cookieIds.columns);if("boolean"==typeof o&&!o)throw new Error("The cookie value of filterBy must be a json!");var s={};try{s=JSON.parse(o)}catch(e){throw new Error("Could not parse the json of the columns cookie!",o)}if(this.options.sortOrder=t||this.options.sortOrder,this.options.sortName=n||this.options.sortName,this.options.pageNumber=r?+r:this.options.pageNumber,this.options.pageSize=i?i===this.options.formatAllRows()?i:+i:this.options.pageSize,this.options.searchText=a||"",s){var l=!0,c=!1,u=void 0;try{for(var f,h=this.columns[Symbol.iterator]();!(l=(f=h.next()).done);l=!0)!function(){var t=f.value;t.visible=s.filter(function(n){return!!e.isSelectionColumn(t)||(n instanceof Object?n.field===t.field:n===t.field)}).length>0||!t.switchable}()}catch(e){c=!0,u=e}finally{try{l||null==h.return||h.return()}finally{if(c)throw u}}}}}},{key:"getCookies",value:function(){var t=this,n={};return e.each(Ri.cookieIds,function(e,r){n[e]=Ri.getCookie(t,t.options.cookieIdTable,r),"columns"===e&&(n[e]=JSON.parse(n[e]))}),n}},{key:"deleteCookie",value:function(e){""!==e&&Ri.cookieEnabled()&&Ri.deleteCookie(this,this.options.cookieIdTable,Ri.cookieIds[e])}}]),n}(e.BootstrapTable)}),jQuery.base64=function(e){function t(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}function n(e){var n,i,a,o,s,l,c,u="",f=0;for(e=t(e);f<e.length;)n=e.charCodeAt(f++),i=e.charCodeAt(f++),a=e.charCodeAt(f++),o=n>>2,s=(3&n)<<4|i>>4,l=(15&i)<<2|a>>6,c=63&a,isNaN(i)?l=c=64:isNaN(a)&&(c=64),u=u+r.charAt(o)+r.charAt(s)+r.charAt(l)+r.charAt(c);return u}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(e){return n(e)}}}(jQuery),function(e){e.fn.tableExport=function(t){function n(t){var n=[];return i(t,"thead").each(function(){n.push.apply(n,i(e(this),q.theadSelector).toArray())}),n}function r(t){var n=[];return i(t,"tbody").each(function(){n.push.apply(n,i(e(this),q.tbodySelector).toArray())}),q.tfootSelector.length&&i(t,"tfoot").each(function(){n.push.apply(n,i(e(this),q.tfootSelector).toArray())}),n}function i(t,n){var r=t[0].tagName,i=t.parents(r).length;return t.find(n).filter(function(){return i===e(this).closest(r).parents(r).length})}function a(t){var n=[];return e(t).find("thead").first().find("th").each(function(t,r){void 0!==e(r).attr("data-field")?n[t]=e(r).attr("data-field"):n[t]=t.toString()}),n}function o(t){var n=void 0!==t[0].rowIndex,r=!1===n&&void 0!==t[0].cellIndex,i=r||n?s(t):t.is(":visible"),a=t.attr("data-tableexport-display");return r&&"none"!==a&&"always"!==a&&(t=e(t[0].parentNode),n=void 0!==t[0].rowIndex,a=t.attr("data-tableexport-display")),n&&"none"!==a&&"always"!==a&&(a=t.closest("table").attr("data-tableexport-display")),"none"!==a&&(!0===i||"always"===a)}function s(e){var t=[];return re&&(t=ne.filter(function(){var t=!1;return this.nodeType===e[0].nodeType&&(void 0!==this.rowIndex&&this.rowIndex===e[0].rowIndex?t=!0:void 0!==this.cellIndex&&this.cellIndex===e[0].cellIndex&&void 0!==this.parentNode.rowIndex&&void 0!==e[0].parentNode.rowIndex&&this.parentNode.rowIndex===e[0].parentNode.rowIndex&&(t=!0)),t})),!1===re||0===t.length}function l(t,n,r){var i=!1;return o(t)?q.ignoreColumn.length>0&&(-1!==e.inArray(r,q.ignoreColumn)||-1!==e.inArray(r-n,q.ignoreColumn)||ee.length>r&&void 0!==ee[r]&&-1!==e.inArray(ee[r],q.ignoreColumn))&&(i=!0):i=!0,i}function c(t,n,r,a,s){if("function"==typeof s){var c=!1;if("function"==typeof q.onIgnoreRow&&(c=q.onIgnoreRow(e(t),r)),!1===c&&(0===q.ignoreRow.length||-1===e.inArray(r,q.ignoreRow)&&-1===e.inArray(r-a,q.ignoreRow))&&o(e(t))){var u=i(e(t),n),f=0;u.each(function(t){var n,i=e(this),a=T(this),o=R(this);if(e.each(te,function(){var e=this;if(r>=e.s.r&&r<=e.e.r&&f>=e.s.c&&f<=e.e.c)for(n=0;n<=e.e.c-e.s.c;++n)s(null,r,f++)}),!1===l(i,u.length,t)&&((o||a)&&(o=o||1,a=a||1,te.push({s:{r:r,c:f},e:{r:r+o-1,c:f+a-1}})),s(this,r,f++)),a)for(n=0;n<a-1;++n)s(null,r,f++)}),e.each(te,function(){var e=this;if(r>=e.s.r&&r<=e.e.r&&f>=e.s.c&&f<=e.e.c)for(ke=0;ke<=e.e.c-e.s.c;++ke)s(null,r,f++)})}}}function u(e,t,n,r){if(void 0!==r.images){var i=r.images[n];if(void 0!==i){var a=t.getBoundingClientRect(),o=e.width/e.height,s=a.width/a.height,l=e.width,c=e.height,u=0;s<=o?(c=Math.min(e.height,a.height),l=a.width*c/a.height):s>o&&(l=Math.min(e.width,a.width),c=a.height*l/a.width),l*=19.049976/25.4,c*=19.049976/25.4,c<e.height&&(u=(e.height-c)/2);try{r.doc.addImage(i.src,e.textPos.x,e.y+u,l,c)}catch(e){}e.textPos.x+=l}}}function f(e,t){if("string"===q.outputMode)return e.output();if("base64"===q.outputMode)return H(e.output());if("window"===q.outputMode)return window.URL=window.URL||window.webkitURL,void window.open(window.URL.createObjectURL(e.output("blob")));try{var n=e.output("blob");saveAs(n,q.fileName+".pdf")}catch(n){
|
||
U(q.fileName+".pdf","data:application/pdf"+(t?"":";base64")+",",t?e.output("blob"):e.output())}}function h(e,t,n){var r=0;if(void 0!==n&&(r=n.colspan),r>=0){for(var i=e.width,a=e.textPos.x,o=t.table.columns.indexOf(t.column),s=1;s<r;s++){i+=t.table.columns[o+s].width}if(r>1&&("right"===e.styles.halign?a=e.textPos.x+i-e.width:"center"===e.styles.halign&&(a=e.textPos.x+(i-e.width)/2)),e.width=i,e.textPos.x=a,void 0!==n&&n.rowspan>1&&(e.height=e.height*n.rowspan),"middle"===e.styles.valign||"bottom"===e.styles.valign){var l="string"==typeof e.text?e.text.split(/\r\n|\r|\n/g):e.text,c=l.length||1;c>2&&(e.textPos.y-=(2-$)/2*t.row.styles.fontSize*(c-2)/3)}return!0}return!1}function d(t,n,r){if(void 0!==t&&null!==t)if(t.hasAttribute("data-tableexport-canvas")){var i=(new Date).getTime();e(t).attr("data-tableexport-canvas",i),r.images[i]={url:'[data-tableexport-canvas="'+i+'"]',src:null}}else"undefined"!==n&&null!=n&&n.each(function(){if(e(this).is("img")){var n=j(this.src);r.images[n]={url:this.src,src:this.src}}d(t,e(this).children(),r)})}function p(t,n,r){n.each(function(){if(e(this).is("div")){var n=A(N(this,"background-color"),[255,255,255]),i=A(N(this,"border-top-color"),[0,0,0]),a=I(this,"border-top-width",q.jspdf.unit),o=this.getBoundingClientRect(),s=this.offsetLeft*r.wScaleFactor,l=this.offsetTop*r.hScaleFactor,c=o.width*r.wScaleFactor,f=o.height*r.hScaleFactor;r.doc.setDrawColor.apply(void 0,i),r.doc.setFillColor.apply(void 0,n),r.doc.setLineWidth(a),r.doc.rect(t.x+s,t.y+l,c,f,a?"FD":"F")}else if(e(this).is("img")){var h=j(this.src);u(t,this,h,r)}p(t,e(this).children(),r)})}function g(t,n,r){if("function"==typeof r.onAutotableText)r.onAutotableText(r.doc,t,n);else{var i=t.textPos.x,a=t.textPos.y,o={halign:t.styles.halign,valign:t.styles.valign};if(n.length){for(var s=n[0];s.previousSibling;)s=s.previousSibling;for(var l=!1,c=!1;s;){var u=s.innerText||s.textContent||"",f=u.length&&" "===u[0]?" ":"",h=u.length>1&&" "===u[u.length-1]?" ":"";!0!==q.preserve.leadingWS&&(u=f+b(u)),!0!==q.preserve.trailingWS&&(u=y(u)+h),e(s).is("br")&&(i=t.textPos.x,a+=r.doc.internal.getFontSize()),e(s).is("b")?l=!0:e(s).is("i")&&(c=!0),(l||c)&&r.doc.setFontType(l&&c?"bolditalic":l?"bold":"italic");var d=r.doc.getStringUnitWidth(u)*r.doc.internal.getFontSize();if(d){if("linebreak"===t.styles.overflow&&i>t.textPos.x&&i+d>t.textPos.x+t.width){if(".,!%*;:=-".indexOf(u.charAt(0))>=0){var p=u.charAt(0);d=r.doc.getStringUnitWidth(p)*r.doc.internal.getFontSize(),i+d<=t.textPos.x+t.width&&(r.doc.autoTableText(p,i,a,o),u=u.substring(1,u.length)),d=r.doc.getStringUnitWidth(u)*r.doc.internal.getFontSize()}i=t.textPos.x,a+=r.doc.internal.getFontSize()}if("visible"!==t.styles.overflow)for(;u.length&&i+d>t.textPos.x+t.width;)u=u.substring(0,u.length-1),d=r.doc.getStringUnitWidth(u)*r.doc.internal.getFontSize();r.doc.autoTableText(u,i,a,o),i+=d}(l||c)&&(e(s).is("b")?l=!1:e(s).is("i")&&(c=!1),r.doc.setFontType(l||c?l?"bold":"italic":"normal")),s=s.nextSibling}t.textPos.x=i,t.textPos.y=a}else r.doc.autoTableText(t.text,t.textPos.x,t.textPos.y,o)}}function m(e){return null==e?"":e.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}function v(e,t,n){return null==e?"":e.toString().replace(new RegExp(m(t),"g"),n)}function b(e){return null==e?"":e.toString().replace(/^\s+/,"")}function y(e){return null==e?"":e.toString().replace(/\s+$/,"")}function w(e){if(0===q.date.html.length)return!1;q.date.pattern.lastIndex=0;var t=q.date.pattern.exec(e);if(null==t)return!1;var n=+t[q.date.match_y];if(n<0||n>8099)return!1;var r=1*t[q.date.match_m],i=1*t[q.date.match_d];if(!isFinite(i))return!1;var a=new Date(n,r-1,i,0,0,0);return a.getFullYear()===n&&a.getMonth()===r-1&&a.getDate()===i&&new Date(Date.UTC(n,r-1,i,0,0,0))}function S(e){return e=e||"0",""!==q.numbers.html.thousandsSeparator&&(e=v(e,q.numbers.html.thousandsSeparator,"")),"."!==q.numbers.html.decimalMark&&(e=v(e,q.numbers.html.decimalMark,".")),("number"==typeof e||!1!==jQuery.isNumeric(e))&&e}function x(e){return e.indexOf("%")>-1?!1!==(e=S(e.replace(/%/g,"")))&&(e/=100):e=!1,e}function E(t,n,r,i){var a="",o="text";if(null!==t){var s,l=e(t);if(l.removeData("teUserDefText"),l[0].hasAttribute("data-tableexport-canvas"))s="";else if(l[0].hasAttribute("data-tableexport-value"))s=l.attr("data-tableexport-value"),s=s?s+"":"",l.data("teUserDefText",1);else if(s=l.html(),"function"==typeof q.onCellHtmlData)s=q.onCellHtmlData(l,n,r,s),l.data("teUserDefText",1);else if(""!==s){var c=e.parseHTML(s),u=0,f=0;s="",e.each(c,function(){if(e(this).is("input"))s+=l.find("input").eq(u++).val();else if(e(this).is("select"))s+=l.find("select option:selected").eq(f++).text();else if(e(this).is("br"))s+="<br>";else if(void 0===e(this).html()?s+=e(this).text():(void 0===jQuery().bootstrapTable||!1===e(this).hasClass("fht-cell")&&!1===e(this).hasClass("filterControl")&&0===l.parents(".detail-view").length)&&(s+=e(this).html()),e(this).is("a")){var t=l.find("a").attr("href")||"";"function"==typeof q.onCellHtmlHyperlink?a+=q.onCellHtmlHyperlink(l,n,r,t,s):"href"===q.htmlHyperlink?a+=t:a+=s,s=""}})}if(s&&""!==s&&!0===q.htmlContent)a=e.trim(s);else if(s&&""!==s){var h=l.attr("data-tableexport-cellformat");if(""!==h){var d=s.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,""),p=e("<div/>").html(d).contents(),g=!1;if(d="",e.each(p.text().split("\u2028"),function(e,t){e>0&&(d+=" "),!0!==q.preserve.leadingWS&&(t=b(t)),d+=!0!==q.preserve.trailingWS?y(t):t}),e.each(d.split(""),function(e,t){e>0&&(a+="\n"),!0!==q.preserve.leadingWS&&(t=b(t)),!0!==q.preserve.trailingWS&&(t=y(t)),a+=t.replace(/\u00AD/g,"")}),a=a.replace(/\u00A0/g," "),"json"===q.type||"excel"===q.type&&"xmlss"===q.mso.fileFormat||!1===q.numbers.output)!1!==(g=S(a))&&(o="number",a=Number(g));else if((q.numbers.html.decimalMark!==q.numbers.output.decimalMark||q.numbers.html.thousandsSeparator!==q.numbers.output.thousandsSeparator)&&!1!==(g=S(a))){var m=(""+g.substr(g<0?1:0)).split(".");1===m.length&&(m[1]="");var v=m[0].length>3?m[0].length%3:0;o="number",a=(g<0?"-":"")+(q.numbers.output.thousandsSeparator?(v?m[0].substr(0,v)+q.numbers.output.thousandsSeparator:"")+m[0].substr(v).replace(/(\d{3})(?=\d)/g,"$1"+q.numbers.output.thousandsSeparator):m[0])+(m[1].length?q.numbers.output.decimalMark+m[1]:"")}}else a=s}!0===q.escape&&(a=escape(a)),"function"==typeof q.onCellData&&(a=q.onCellData(l,n,r,a,o),l.data("teUserDefText",1))}return void 0!==i&&(i.type=o),a}function _(e){if(e.length>0&&!0===q.preventInjection){if("=+-@".indexOf(e.charAt(0))>=0)return"'"+e}return e}function k(e,t,n){return t+"-"+n.toLowerCase()}function A(e,t){var n=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,r=n.exec(e),i=t;return r&&(i=[parseInt(r[1]),parseInt(r[2]),parseInt(r[3])]),i}function C(e){var t=N(e,"text-align"),n=N(e,"font-weight"),r=N(e,"font-style"),i="";"start"===t&&(t="rtl"===N(e,"direction")?"right":"left"),n>=700&&(i="bold"),"italic"===r&&(i+=r),""===i&&(i="normal");var a={style:{align:t,bcolor:A(N(e,"background-color"),[255,255,255]),color:A(N(e,"color"),[0,0,0]),fstyle:i},colspan:T(e),rowspan:R(e)};if(null!==e){var o=e.getBoundingClientRect();a.rect={width:o.width,height:o.height}}return a}function T(t){var n=e(t).attr("data-tableexport-colspan");return void 0===n&&e(t).is("[colspan]")&&(n=e(t).attr("colspan")),parseInt(n)||0}function R(t){var n=e(t).attr("data-tableexport-rowspan");return void 0===n&&e(t).is("[rowspan]")&&(n=e(t).attr("rowspan")),parseInt(n)||0}function N(e,t){try{return window.getComputedStyle?(t=t.replace(/([a-z])([A-Z])/,k),window.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle?e.currentStyle[t]:e.style[t]}catch(e){}return""}function B(e,t,n){var r=document.createElement("div");r.style.overflow="hidden",r.style.visibility="hidden",e.appendChild(r),r.style.width=100+n;var i=100/r.offsetWidth;return e.removeChild(r),t*i}function I(e,t,n){var r=N(e,t),i=r.match(/\d+/);return null!==i?(i=i[0],B(e.parentElement,i,n)):0}function O(t){for(var n,r,i,a,s,c={},u=t.getElementsByTagName("tr"),f={s:{r:0,c:0},e:{r:0,c:0}},h=[],d=0,p=[],g=0,m=0,v=XLSX.SSF.get_table();g<u.length&&m<1e7;++g){var b=u[g],y=!1;if("function"==typeof q.onIgnoreRow&&(y=q.onIgnoreRow(e(b),g)),!0!==y&&(0===q.ignoreRow.length||-1===e.inArray(g,q.ignoreRow)&&-1===e.inArray(g-u.length,q.ignoreRow))&&!1!==o(e(b))){var S=b.children,x=0;for(n=0;n<S.length;++n)s=S[n],a=+T(s)||1,x+=a;var _=0;for(n=r=0;n<S.length;++n){s=S[n],a=+T(s)||1;var k=n+_;if(!l(e(s),x,k+(k<r?r-k:0))){for(_+=a-1,d=0;d<h.length;++d){var A=h[d];A.s.c==r&&A.s.r<=m&&m<=A.e.r&&(r=A.e.c+1,d=-1)}((i=+R(s))>0||a>1)&&h.push({s:{r:m,c:r},e:{r:m+(i||1)-1,c:r+a-1}});var C={type:""},N=E(s,g,n+_,C),B={t:"s",v:N},I="";if(""!==e(s).attr("data-tableexport-cellformat")){var O=parseInt(e(s).attr("data-tableexport-xlsxformatid")||0);0===O&&"function"==typeof q.mso.xslx.formatId.numbers&&(O=q.mso.xslx.formatId.numbers(e(s),g,n+_)),0===O&&"function"==typeof q.mso.xslx.formatId.date&&(O=q.mso.xslx.formatId.date(e(s),g,n+_)),49===O||"@"===O?I="s":"number"===C.type||O>0&&O<14||O>36&&O<41||48===O?I="n":("date"===C.type||O>13&&O<37||O>44&&O<48||56===O)&&(I="d")}else I="s";if(null!=N){var L;if(0===N.length)B.t="z";else if(0===N.trim().length||"s"===I);else if("function"===C.type)B={f:N};else if("TRUE"===N)B={t:"b",v:!0};else if("FALSE"===N)B={t:"b",v:!1};else if(""===I&&e(s).find("a").length)N="href"!==q.htmlHyperlink?N:"",B={f:'=HYPERLINK("'+e(s).find("a").attr("href")+(N.length?'","'+N:"")+'")'};else if("n"===I||isFinite(M(N,q.numbers.output))){var P=M(N,q.numbers.output);0===O&&"function"!=typeof q.mso.xslx.formatId.numbers&&(O=q.mso.xslx.formatId.numbers),(isFinite(P)||isFinite(N))&&(B={t:"n",v:isFinite(P)?P:N,z:"string"==typeof O?O:O in v?v[O]:"0.00"})}else!1===(L=w(N))&&"d"!==I||(0===O&&"function"!=typeof q.mso.xslx.formatId.date&&(O=q.mso.xslx.formatId.date),B={t:"d",v:!1!==L?L:N,z:"string"==typeof O?O:O in v?v[O]:"m/d/yy"})}c[F({c:r,r:m})]=B,f.e.c<r&&(f.e.c=r),r+=a}}++m}}return h.length&&(c["!merges"]=h),p.length&&(c["!rows"]=p),f.e.r=m-1,c["!ref"]=D(f),m>=1e7&&(c["!fullref"]=D((f.e.r=u.length-g+m-1,f))),c}function L(e){return""+(e+1)}function P(e){var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function F(e){return P(e.c)+L(e.r)}function D(e,t){return void 0===t||"number"==typeof t?D(e.s,e.e):("string"!=typeof e&&(e=F(e)),"string"!=typeof t&&(t=F(t)),e===t?e:e+":"+t)}function M(e,t){var n=Number(e);if(isFinite(n))return n;var r=1,i=e;return""!==t.thousandsSeparator&&(i=i.replace(new RegExp("([\\d])"+t.thousandsSeparator+"([\\d])","g"),"$1$2")),"."!==t.decimalMark&&(i=i.replace(new RegExp("([\\d])"+t.decimalMark+"([\\d])","g"),"$1.$2")),i=i.replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""}),isFinite(n=Number(i))?n/r:(i=i.replace(/[(](.*)[)]/,function(e,t){return r=-r,t}),isFinite(n=Number(i))?n/r:n)}function j(e){var t,n,r,i=0;if(0===e.length)return i;for(t=0,r=e.length;t<r;t++)n=e.charCodeAt(t),i=(i<<5)-i+n,i|=0;return i}function W(e,t,n,r,i,a){var o=!0;if("function"==typeof q.onBeforeSaveToFile&&"boolean"!=typeof(o=q.onBeforeSaveToFile(e,t,n,r,i))&&(o=!0),o)try{V=new Blob([e],{type:n+";charset="+r}),saveAs(V,t,!1===a),"function"==typeof q.onAfterSaveToFile&&q.onAfterSaveToFile(e,t)}catch(o){U(t,"data:"+n+(r.length?";charset="+r:"")+(i.length?";"+i:"")+",",a?"\ufeff"+e:e)}}function U(e,t,n){var r=window.navigator.userAgent;if(!1!==e&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([n]),e);else if(!1!==e&&(r.indexOf("MSIE ")>0||r.match(/Trident.*rv\:11\./))){var i=document.createElement("iframe");if(i){document.body.appendChild(i),i.setAttribute("style","display:none"),i.contentDocument.open("txt/plain","replace"),i.contentDocument.write(n),i.contentDocument.close(),i.contentWindow.focus();var a=e.substr(e.lastIndexOf(".")+1);switch(a){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":e+=".txt"}i.contentDocument.execCommand("SaveAs",!0,e),document.body.removeChild(i)}}else{var o=document.createElement("a");if(o){var s=null;if(o.style.display="none",!1!==e?o.download=e:o.target="_blank","object"==typeof n){window.URL=window.URL||window.webkitURL;var l=[];l.push(n),s=window.URL.createObjectURL(new Blob(l,{type:t})),o.href=s}else t.toLowerCase().indexOf("base64,")>=0?o.href=t+H(n):o.href=t+encodeURIComponent(n);document.body.appendChild(o),document.createEvent?(null===Y&&(Y=document.createEvent("MouseEvents")),Y.initEvent("click",!0,!1),o.dispatchEvent(Y)):document.createEventObject?o.fireEvent("onclick"):"function"==typeof o.onclick&&o.onclick(),setTimeout(function(){s&&window.URL.revokeObjectURL(s),document.body.removeChild(o),"function"==typeof q.onAfterSaveToFile&&q.onAfterSaveToFile(n,e)},100)}}}function z(e){if("string"==typeof e){e=e.replace(/\x0d\x0a/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}return e}function H(e){var t,n,r,i,a,o,s,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",u=0;for(e=z(e);u<e.length;)t=e.charCodeAt(u++),n=e.charCodeAt(u++),r=e.charCodeAt(u++),i=t>>2,a=(3&t)<<4|n>>4,o=(15&n)<<2|r>>6,s=63&r,isNaN(n)?o=s=64:isNaN(r)&&(s=64),c=c+l.charAt(i)+l.charAt(a)+l.charAt(o)+l.charAt(s);return c}var V,q={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,htmlHyperlink:"content",ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xslx:{formatId:{date:14,numbers:2}}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onCellHtmlHyperlink:null,onIgnoreRow:null,onTableExportBegin:null,onTableExportEnd:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageOrientation:"portrait",defaultStyle:{font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},G={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},$=1.15,X=this,Y=null,K=[],J=[],Z=0,Q="",ee=[],te=[],ne=[],re=!1;if(e.extend(!0,q,t),"xlsx"===q.type&&(q.mso.fileFormat=q.type,q.type="excel"),void 0!==q.excelFileFormat&&"undefined"===q.mso.fileFormat&&(q.mso.fileFormat=q.excelFileFormat),void 0!==q.excelPageFormat&&"undefined"===q.mso.pageFormat&&(q.mso.pageFormat=q.excelPageFormat),void 0!==q.excelPageOrientation&&"undefined"===q.mso.pageOrientation&&(q.mso.pageOrientation=q.excelPageOrientation),void 0!==q.excelRTL&&"undefined"===q.mso.rtl&&(q.mso.rtl=q.excelRTL),void 0!==q.excelstyles&&"undefined"===q.mso.styles&&(q.mso.styles=q.excelstyles),void 0!==q.onMsoNumberFormat&&"undefined"===q.mso.onMsoNumberFormat&&(q.mso.onMsoNumberFormat=q.onMsoNumberFormat),void 0!==q.worksheetName&&"undefined"===q.mso.worksheetName&&(q.mso.worksheetName=q.worksheetName),q.mso.pageOrientation="l"===q.mso.pageOrientation.substr(0,1)?"landscape":"portrait",q.date.html=q.date.html||"",q.date.html.length){var ie=[];ie.dd="(3[01]|[12][0-9]|0?[1-9])",ie.mm="(1[012]|0?[1-9])",ie.yyyy="((?:1[6-9]|2[0-2])\\d{2})",ie.yy="(\\d{2})";var ae=q.date.html.match(/[^a-zA-Z0-9]/)[0],oe=q.date.html.toLowerCase().split(ae);q.date.regex="^\\s*",q.date.regex+=ie[oe[0]],q.date.regex+="(.)",q.date.regex+=ie[oe[1]],q.date.regex+="\\2",q.date.regex+=ie[oe[2]],q.date.regex+="\\s*$",q.date.pattern=new RegExp(q.date.regex,"g");var se=oe.indexOf("dd")+1;q.date.match_d=se+(se>1?1:0),se=oe.indexOf("mm")+1,q.date.match_m=se+(se>1?1:0),se=(oe.indexOf("yyyy")>=0?oe.indexOf("yyyy"):oe.indexOf("yy"))+1,q.date.match_y=se+(se>1?1:0)}if(ee=a(X),"function"==typeof q.onTableExportBegin&&q.onTableExportBegin(),"csv"===q.type||"tsv"===q.type||"txt"===q.type){var le="",ce=0;te=[],Z=0;var ue=function(e,t,n){var r="";if(null!==e){var i=E(e,t,n),a=null===i||""===i?"":i.toString();"tsv"===q.type?(i instanceof Date&&i.toLocaleString(),r=v(a,"\t"," ")):i instanceof Date?r=q.csvEnclosure+i.toLocaleString()+q.csvEnclosure:(r=_(a),r=v(r,q.csvEnclosure,q.csvEnclosure+q.csvEnclosure),(r.indexOf(q.csvSeparator)>=0||/[\r\n ]/g.test(r))&&(r=q.csvEnclosure+r+q.csvEnclosure))}return r},fe=function(t,n,r){return t.each(function(){Q="",c(this,n,Z,r+t.length,function(e,t,n){Q+=ue(e,t,n)+("tsv"===q.type?"\t":q.csvSeparator)}),Q=e.trim(Q).substring(0,Q.length-1),Q.length>0&&(le.length>0&&(le+="\n"),le+=Q),Z++}),t.length};if(ce+=fe(e(X).find("thead").first().find(q.theadSelector),"th,td",ce),i(e(X),"tbody").each(function(){ce+=fe(i(e(this),q.tbodySelector),"td,th",ce)}),q.tfootSelector.length&&fe(e(X).find("tfoot").first().find(q.tfootSelector),"td,th",ce),le+="\n","string"===q.outputMode)return le;if("base64"===q.outputMode)return H(le);if("window"===q.outputMode)return void U(!1,"data:text/"+("csv"===q.type?"csv":"plain")+";charset=utf-8,",le);W(le,q.fileName+"."+q.type,"text/"+("csv"===q.type?"csv":"plain"),"utf-8","","csv"===q.type&&q.csvUseBOM)}else if("sql"===q.type){Z=0,te=[];var he="INSERT INTO "+q.sql.tableEnclosure+q.tableName+q.sql.tableEnclosure+" (";if(K=n(e(X)),e(K).each(function(){c(this,"th,td",Z,K.length,function(e,t,n){var r=E(e,t,n)||"";r.indexOf(q.sql.columnEnclosure)>-1&&(r=v(r.toString(),q.sql.columnEnclosure,q.sql.columnEnclosure+q.sql.columnEnclosure)),he+=q.sql.columnEnclosure+r+q.sql.columnEnclosure+","}),Z++,he=e.trim(he).substring(0,he.length-1)}),he+=") VALUES ",J=r(e(X)),e(J).each(function(){Q="",c(this,"td,th",Z,K.length+J.length,function(e,t,n){var r=E(e,t,n)||"";r.indexOf("'")>-1&&(r=v(r.toString(),"'","''")),Q+="'"+r+"',"}),Q.length>3&&(he+="("+Q,he=e.trim(he).substring(0,he.length-1),he+="),"),Z++}),he=e.trim(he).substring(0,he.length-1),he+=";","string"===q.outputMode)return he;if("base64"===q.outputMode)return H(he);W(he,q.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===q.type){var de=[];te=[],K=n(e(X)),e(K).each(function(){var e=[];c(this,"th,td",Z,K.length,function(t,n,r){e.push(E(t,n,r))}),de.push(e)});var pe=[];J=r(e(X)),e(J).each(function(){var t={},n=0;c(this,"td,th",Z,K.length+J.length,function(e,r,i){de.length?t[de[de.length-1][n]]=E(e,r,i):t[n]=E(e,r,i),n++}),!1===e.isEmptyObject(t)&&pe.push(t),Z++});var ge;if(ge="head"===q.jsonScope?JSON.stringify(de):"data"===q.jsonScope?JSON.stringify(pe):JSON.stringify({header:de,data:pe}),"string"===q.outputMode)return ge;if("base64"===q.outputMode)return H(ge);W(ge,q.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===q.type){Z=0,te=[];var me='<?xml version="1.0" encoding="utf-8"?>';me+="<tabledata><fields>",K=n(e(X)),e(K).each(function(){c(this,"th,td",Z,K.length,function(e,t,n){me+="<field>"+E(e,t,n)+"</field>"}),Z++}),me+="</fields><data>";var ve=1;if(J=r(e(X)),e(J).each(function(){var e=1;Q="",c(this,"td,th",Z,K.length+J.length,function(t,n,r){Q+="<column-"+e+">"+E(t,n,r)+"</column-"+e+">",e++}),Q.length>0&&"<column-1></column-1>"!==Q&&(me+='<row id="'+ve+'">'+Q+"</row>",ve++),Z++}),me+="</data></tabledata>","string"===q.outputMode)return me;if("base64"===q.outputMode)return H(me);W(me,q.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===q.type&&"xmlss"===q.mso.fileFormat){var be=[],ye=[];e(X).filter(function(){return o(e(this))}).each(function(){function t(t,n,r){var i=[];return e(t).each(function(){var n=0,a=0;Q="",c(this,"td,th",Z,r+t.length,function(t,r,o){if(null!==t){var s="",l=E(t,r,o),c="String";if(!1!==jQuery.isNumeric(l))c="Number";else{var u=x(l);!1!==u&&(l=u,c="Number",s+=' ss:StyleID="pct1"')}"Number"!==c&&(l=l.replace(/\n/g,"<br>"));var f=T(t),h=R(t);e.each(i,function(){var e=this;if(Z>=e.s.r&&Z<=e.e.r&&a>=e.s.c&&a<=e.e.c)for(var t=0;t<=e.e.c-e.s.c;++t)a++,n++}),(h||f)&&(h=h||1,f=f||1,i.push({s:{r:Z,c:a},e:{r:Z+h-1,c:a+f-1}})),f>1&&(s+=' ss:MergeAcross="'+(f-1)+'"',a+=f-1),h>1&&(s+=' ss:MergeDown="'+(h-1)+'" ss:StyleID="rsp1"'),n>0&&(s+=' ss:Index="'+(a+1)+'"',n=0),Q+="<Cell"+s+'><Data ss:Type="'+c+'">'+e("<div />").text(l).html()+"</Data></Cell>\r",a++}}),Q.length>0&&(Pe+='<Row ss:AutoFitHeight="0">\r'+Q+"</Row>\r"),Z++}),t.length}var i=e(this),o="";"string"==typeof q.mso.worksheetName&&q.mso.worksheetName.length?o=q.mso.worksheetName+" "+(ye.length+1):void 0!==q.mso.worksheetName[ye.length]&&(o=q.mso.worksheetName[ye.length]),o.length||(o=i.find("caption").text()||""),o.length||(o="Table "+(ye.length+1)),o=e.trim(o.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),ye.push(e("<div />").text(o).html()),!1===q.exportHiddenCells&&(ne=i.find("tr, th, td").filter(":hidden"),re=ne.length>0),Z=0,ee=a(this),Pe="<Table>\r";var s=t(n(i),"th,td",0);t(r(i),"td,th",s),Pe+="</Table>\r",be.push(Pe)});for(var we,Se,xe={},Ee={},_e=0,ke=ye.length;_e<ke;_e++)we=ye[_e],Se=xe[we],Se=xe[we]=null==Se?1:Se+1,2===Se&&(ye[Ee[we]]=ye[Ee[we]].substring(0,29)+"-1"),xe[we]>1?ye[_e]=ye[_e].substring(0,29)+"-"+xe[we]:Ee[we]=_e;for(var Ae=(new Date).toISOString(),Ce='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+Ae+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r',Te=0;Te<be.length;Te++)Ce+='<Worksheet ss:Name="'+ye[Te]+'" ss:RightToLeft="'+(q.mso.rtl?"1":"0")+'">\r'+be[Te],q.mso.rtl?Ce+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':Ce+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',Ce+="</Worksheet>\r";if(Ce+="</Workbook>\r","string"===q.outputMode)return Ce;if("base64"===q.outputMode)return H(Ce);W(Ce,q.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===q.type&&"xlsx"===q.mso.fileFormat){var Re=[],Ne=XLSX.utils.book_new();e(X).filter(function(){return o(e(this))}).each(function(){var t=e(this),n=O(this),r="";"string"==typeof q.mso.worksheetName&&q.mso.worksheetName.length?r=q.mso.worksheetName+" "+(Re.length+1):void 0!==q.mso.worksheetName[Re.length]&&(r=q.mso.worksheetName[Re.length]),r.length||(r=t.find("caption").text()||""),r.length||(r="Table "+(Re.length+1)),r=e.trim(r.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),Re.push(r),XLSX.utils.book_append_sheet(Ne,n,r)});var Be=XLSX.write(Ne,{type:"binary",bookType:q.mso.fileFormat,bookSST:!1});W(function(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!==e.length;++r)n[r]=255&e.charCodeAt(r);return t}(Be),q.fileName+"."+q.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===q.type||"xls"===q.type||"word"===q.type||"doc"===q.type){var Ie="excel"===q.type||"xls"===q.type?"excel":"word",Oe="excel"===Ie?"xls":"doc",Le='xmlns:x="urn:schemas-microsoft-com:office:'+Ie+'"',Pe="",Fe="";e(X).filter(function(){return o(e(this))}).each(function(){var t=e(this);""===Fe&&(Fe=q.mso.worksheetName||t.find("caption").text()||"Table",Fe=e.trim(Fe.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===q.exportHiddenCells&&(ne=t.find("tr, th, td").filter(":hidden"),re=ne.length>0),Z=0,te=[],ee=a(this),Pe+="<table><thead>",K=n(t),e(K).each(function(){var t=e(this);Q="",c(this,"th,td",Z,K.length,function(e,n,r){if(null!==e){var i="";if(Q+="<th",q.mso.styles.length){var a=document.defaultView.getComputedStyle(e,null),o=document.defaultView.getComputedStyle(t[0],null);for(var s in q.mso.styles){var l=a[q.mso.styles[s]];""===l&&(l=o[q.mso.styles[s]]),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(i+=""===i?'style="':";",i+=q.mso.styles[s]+":"+l)}}""!==i&&(Q+=" "+i+'"');var c=T(e);c>0&&(Q+=' colspan="'+c+'"');var u=R(e);u>0&&(Q+=' rowspan="'+u+'"'),Q+=">"+E(e,n,r)+"</th>"}}),Q.length>0&&(Pe+="<tr>"+Q+"</tr>"),Z++}),Pe+="</thead><tbody>",J=r(t),e(J).each(function(){var t=e(this);Q="",c(this,"td,th",Z,K.length+J.length,function(n,r,i){if(null!==n){var a=E(n,r,i),o="",s=e(n).attr("data-tableexport-msonumberformat");if(void 0===s&&"function"==typeof q.mso.onMsoNumberFormat&&(s=q.mso.onMsoNumberFormat(n,r,i)),void 0!==s&&""!==s&&(o="style=\"mso-number-format:'"+s+"'"),q.mso.styles.length){var l=document.defaultView.getComputedStyle(n,null),c=document.defaultView.getComputedStyle(t[0],null);for(var u in q.mso.styles)s=l[q.mso.styles[u]],""===s&&(s=c[q.mso.styles[u]]),""!==s&&"0px none rgb(0, 0, 0)"!==s&&"rgba(0, 0, 0, 0)"!==s&&(o+=""===o?'style="':";",o+=q.mso.styles[u]+":"+s)}Q+="<td",""!==o&&(Q+=" "+o+'"');var f=T(n);f>0&&(Q+=' colspan="'+f+'"');var h=R(n);h>0&&(Q+=' rowspan="'+h+'"'),"string"==typeof a&&""!==a&&(a=_(a),a=a.replace(/\n/g,"<br>")),Q+=">"+a+"</td>"}}),Q.length>0&&(Pe+="<tr>"+Q+"</tr>"),Z++}),q.displayTableName&&(Pe+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+E(e("<p>"+q.tableName+"</p>"))+"</td></tr>"),Pe+="</tbody></table>"});var De='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+Le+' xmlns="http://www.w3.org/TR/REC-html40">';if(De+='<meta http-equiv="content-type" content="application/vnd.ms-'+Ie+'; charset=UTF-8">',De+="<head>","excel"===Ie&&(De+="\x3c!--[if gte mso 9]>",De+="<xml>",De+="<x:ExcelWorkbook>",De+="<x:ExcelWorksheets>",De+="<x:ExcelWorksheet>",De+="<x:Name>",De+=Fe,De+="</x:Name>",De+="<x:WorksheetOptions>",De+="<x:DisplayGridlines/>",q.mso.rtl&&(De+="<x:DisplayRightToLeft/>"),De+="</x:WorksheetOptions>",De+="</x:ExcelWorksheet>",De+="</x:ExcelWorksheets>",De+="</x:ExcelWorkbook>",De+="</xml>",De+="<![endif]--\x3e"),De+="<style>",De+="@page { size:"+q.mso.pageOrientation+"; mso-page-orientation:"+q.mso.pageOrientation+"; }",De+="@page Section1 {size:"+G[q.mso.pageFormat][0]+"pt "+G[q.mso.pageFormat][1]+"pt",De+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",De+="div.Section1 {page:Section1;}",De+="@page Section2 {size:"+G[q.mso.pageFormat][1]+"pt "+G[q.mso.pageFormat][0]+"pt",De+=";mso-page-orientation:"+q.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",De+="div.Section2 {page:Section2;}",De+="br {mso-data-placement:same-cell;}",De+="</style>",De+="</head>",De+="<body>",De+='<div class="Section'+("landscape"===q.mso.pageOrientation?"2":"1")+'">',De+=Pe,De+="</div>",De+="</body>",De+="</html>","string"===q.outputMode)return De;if("base64"===q.outputMode)return H(De);W(De,q.fileName+"."+Oe,"application/vnd.ms-"+Ie,"","base64",!1)}else if("png"===q.type)html2canvas(e(X)[0]).then(function(e){for(var t=e.toDataURL(),n=atob(t.substring(22)),r=new ArrayBuffer(n.length),i=new Uint8Array(r),a=0;a<n.length;a++)i[a]=n.charCodeAt(a);return"string"===q.outputMode?n:"base64"===q.outputMode?H(t):"window"===q.outputMode?void window.open(t):void W(r,q.fileName+".png","image/png","","",!1)});else if("pdf"===q.type)if(!0===q.pdfmake.enabled){var Me=[],je=[];Z=0,te=[];var We=function(t,n,r){var i=0;return e(t).each(function(){var e=[];c(this,n,Z,r,function(t,n,r){if(void 0!==t&&null!==t){var i=T(t),a=R(t),o=E(t,n,r)||" ";i>1||a>1?(i=i||1,a=a||1,e.push({colSpan:i,rowSpan:a,text:o})):e.push(o)}else e.push(" ")}),e.length&&je.push(e),i<e.length&&(i=e.length),Z++}),i};K=n(e(this));for(var Ue=We(K,"th,td",K.length),ze=Me.length;ze<Ue;ze++)Me.push("*");J=r(e(this)),We(J,"th,td",K.length+J.length);var He={content:[{table:{headerRows:K.length,widths:Me,body:je}}]};"undefined"!=typeof pdfMake&&(pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},pdfMake.vfs.hasOwnProperty("Mirza-Regular.ttf")?(q.pdfmake.docDefinition.defaultStyle.font="Mirza",e.extend(!0,pdfMake.fonts,{Mirza:{normal:"Mirza-Regular.ttf",bold:"Mirza-Bold.ttf",italics:"Mirza-Medium.ttf",bolditalics:"Mirza-SemiBold.ttf"}})):pdfMake.vfs.hasOwnProperty("gbsn00lp.ttf")?(q.pdfmake.docDefinition.defaultStyle.font="gbsn00lp",e.extend(!0,pdfMake.fonts,{gbsn00lp:{normal:"gbsn00lp.ttf",bold:"gbsn00lp.ttf",italics:"gbsn00lp.ttf",bolditalics:"gbsn00lp.ttf"}})):pdfMake.vfs.hasOwnProperty("ZCOOLXiaoWei-Regular.ttf")&&(q.pdfmake.docDefinition.defaultStyle.font="ZCOOLXiaoWei",e.extend(!0,pdfMake.fonts,{ZCOOLXiaoWei:{normal:"ZCOOLXiaoWei-Regular.ttf",bold:"ZCOOLXiaoWei-Regular.ttf",italics:"ZCOOLXiaoWei-Regular.ttf",bolditalics:"ZCOOLXiaoWei-Regular.ttf"}})),e.extend(!0,He,q.pdfmake.docDefinition),e.extend(!0,pdfMake.fonts,q.pdfmake.fonts),void 0!==pdfMake.createPdf&&pdfMake.createPdf(He).getBuffer(function(e){W(e,q.fileName+".pdf","application/pdf","","",!1)}))}else if(!1===q.jspdf.autotable){var Ve={dim:{w:I(e(X).first().get(0),"width","mm"),h:I(e(X).first().get(0),"height","mm")},pagesplit:!1},qe=new jsPDF(q.jspdf.orientation,q.jspdf.unit,q.jspdf.format);qe.addHTML(e(X).first(),q.jspdf.margins.left,q.jspdf.margins.top,Ve,function(){f(qe,!1)})}else{var Ge=q.jspdf.autotable.tableExport;if("string"==typeof q.jspdf.format&&"bestfit"===q.jspdf.format.toLowerCase()){var $e="",Xe="",Ye=0;e(X).each(function(){if(o(e(this))){var t=I(e(this).get(0),"width","pt");if(t>Ye){t>G.a0[0]&&($e="a0",Xe="l");for(var n in G)G.hasOwnProperty(n)&&G[n][1]>t&&($e=n,Xe="l",G[n][0]>t&&(Xe="p"));Ye=t}}}),q.jspdf.format=""===$e?"a4":$e,q.jspdf.orientation=""===Xe?"w":Xe}null==Ge.doc&&(Ge.doc=new jsPDF(q.jspdf.orientation,q.jspdf.unit,q.jspdf.format),Ge.wScaleFactor=1,Ge.hScaleFactor=1,"function"==typeof q.jspdf.onDocCreated&&q.jspdf.onDocCreated(Ge.doc)),!0===Ge.outputImages&&(Ge.images={}),void 0!==Ge.images&&(e(X).filter(function(){return o(e(this))
|
||
}).each(function(){var t=0;te=[],!1===q.exportHiddenCells&&(ne=e(this).find("tr, th, td").filter(":hidden"),re=ne.length>0),K=n(e(this)),J=r(e(this)),e(J).each(function(){c(this,"td,th",K.length+t,K.length+J.length,function(t){d(t,e(t).children(),Ge)}),t++})}),K=[],J=[]),function(t,n){function r(){n(i)}var i=0,a=0;if(void 0!==t.images)for(var o in t.images)t.images.hasOwnProperty(o)&&function(t){if(t.url)if(t.src){var n=new Image;i=++a,n.crossOrigin="Anonymous",n.onerror=n.onload=function(){if(n.complete&&(0===n.src.indexOf("data:image/")&&(n.width=t.width||n.width||0,n.height=t.height||n.height||0),n.width+n.height)){var e=document.createElement("canvas"),i=e.getContext("2d");e.width=n.width,e.height=n.height,i.drawImage(n,0,0),t.src=e.toDataURL("image/png")}--a||r()},n.src=t.url}else{var o=e(t.url);o.length&&(i=++a,html2canvas(o[0]).then(function(e){t.src=e.toDataURL("image/png"),--a||r()}))}}(t.images[o]);a||r()}(Ge,function(){e(X).filter(function(){return o(e(this))}).each(function(){var t;if(Z=0,te=[],!1===q.exportHiddenCells&&(ne=e(this).find("tr, th, td").filter(":hidden"),re=ne.length>0),ee=a(this),Ge.columns=[],Ge.rows=[],Ge.teCells={},"function"==typeof Ge.onTable&&!1===Ge.onTable(e(this),q))return!0;q.jspdf.autotable.tableExport=null;var i=e.extend(!0,{},q.jspdf.autotable);if(q.jspdf.autotable.tableExport=Ge,i.margin={},e.extend(!0,i.margin,q.jspdf.margins),i.tableExport=Ge,"function"!=typeof i.beforePageContent&&(i.beforePageContent=function(t){if(1===t.pageCount){var n=t.table.rows.concat(t.table.headerRow);e.each(n,function(){var e=this;e.height>0&&(e.height+=(2-$)/2*e.styles.fontSize,t.table.height+=(2-$)/2*e.styles.fontSize)})}}),"function"!=typeof i.createdHeaderCell&&(i.createdHeaderCell=function(t,n){if(t.styles=e.extend({},n.row.styles),void 0!==Ge.columns[n.column.dataKey]){var r=Ge.columns[n.column.dataKey];if(void 0!==r.rect){var a;t.contentWidth=r.rect.width,void 0!==Ge.heightRatio&&0!==Ge.heightRatio||(a=n.row.raw[n.column.dataKey].rowspan?n.row.raw[n.column.dataKey].rect.height/n.row.raw[n.column.dataKey].rowspan:n.row.raw[n.column.dataKey].rect.height,Ge.heightRatio=t.styles.rowHeight/a),a=n.row.raw[n.column.dataKey].rect.height*Ge.heightRatio,a>t.styles.rowHeight&&(t.styles.rowHeight=a)}t.styles.halign="inherit"===i.headerStyles.halign?"center":i.headerStyles.halign,t.styles.valign=i.headerStyles.valign,void 0!==r.style&&!0!==r.style.hidden&&("inherit"===i.headerStyles.halign&&(t.styles.halign=r.style.align),"inherit"===i.styles.fillColor&&(t.styles.fillColor=r.style.bcolor),"inherit"===i.styles.textColor&&(t.styles.textColor=r.style.color),"inherit"===i.styles.fontStyle&&(t.styles.fontStyle=r.style.fstyle))}}),"function"!=typeof i.createdCell&&(i.createdCell=function(e,t){var n=Ge.teCells[t.row.index+":"+t.column.dataKey];e.styles.halign="inherit"===i.styles.halign?"center":i.styles.halign,e.styles.valign=i.styles.valign,void 0!==n&&void 0!==n.style&&!0!==n.style.hidden&&("inherit"===i.styles.halign&&(e.styles.halign=n.style.align),"inherit"===i.styles.fillColor&&(e.styles.fillColor=n.style.bcolor),"inherit"===i.styles.textColor&&(e.styles.textColor=n.style.color),"inherit"===i.styles.fontStyle&&(e.styles.fontStyle=n.style.fstyle))}),"function"!=typeof i.drawHeaderCell&&(i.drawHeaderCell=function(e,t){var n=Ge.columns[t.column.dataKey];return(!0!==n.style.hasOwnProperty("hidden")||!0!==n.style.hidden)&&n.rowIndex>=0&&h(e,t,n)}),"function"!=typeof i.drawCell&&(i.drawCell=function(t,n){var r=Ge.teCells[n.row.index+":"+n.column.dataKey];if(!0!==(void 0!==r&&r.isCanvas)){if(h(t,n,r))if(Ge.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),void 0===r||void 0!==r.hasUserDefText&&!0===r.hasUserDefText||void 0===r.elements||!r.elements.length)g(t,{},Ge);else{var i=t.height/r.rect.height;i>Ge.hScaleFactor&&(Ge.hScaleFactor=i),Ge.wScaleFactor=t.width/r.rect.width;var a=t.textPos.y;p(t,r.elements,Ge),t.textPos.y=a,g(t,r.elements,Ge)}}else{var o=r.elements[0],s=e(o).attr("data-tableexport-canvas"),l=o.getBoundingClientRect();t.width=l.width*Ge.wScaleFactor,t.height=l.height*Ge.hScaleFactor,n.row.height=t.height,u(t,o,s,Ge)}return!1}),Ge.headerrows=[],K=n(e(this)),e(K).each(function(){t=0,Ge.headerrows[Z]=[],c(this,"th,td",Z,K.length,function(e,n,r){var i=C(e);i.title=E(e,n,r),i.key=t++,i.rowIndex=Z,Ge.headerrows[Z].push(i)}),Z++}),Z>0)for(var o=Z-1;o>=0;)e.each(Ge.headerrows[o],function(){var e=this;o>0&&null===this.rect&&(e=Ge.headerrows[o-1][this.key]),null!==e&&e.rowIndex>=0&&(!0!==e.style.hasOwnProperty("hidden")||!0!==e.style.hidden)&&Ge.columns.push(e)}),o=Ge.columns.length>0?-1:o-1;var s=0;J=[],J=r(e(this)),e(J).each(function(){var n=[];t=0,c(this,"td,th",Z,K.length+J.length,function(r,i,a){var o;void 0===Ge.columns[t]&&(o={title:"",key:t,style:{hidden:!0}},Ge.columns.push(o)),n.push(E(r,i,a)),void 0!==r&&null!==r?(o=C(r),o.isCanvas=r.hasAttribute("data-tableexport-canvas"),o.elements=o.isCanvas?e(r):e(r).children(),void 0!==e(r).data("teUserDefText")&&(o.hasUserDefText=!0),Ge.teCells[s+":"+t++]=o):(o=e.extend(!0,{},Ge.teCells[s+":"+(t-1)]),o.colspan=-1,Ge.teCells[s+":"+t++]=o)}),n.length&&(Ge.rows.push(n),s++),Z++}),"function"==typeof Ge.onBeforeAutotable&&Ge.onBeforeAutotable(e(this),Ge.columns,Ge.rows,i),Ge.doc.autoTable(Ge.columns,Ge.rows,i),"function"==typeof Ge.onAfterAutotable&&Ge.onAfterAutotable(e(this),i),q.jspdf.autotable.startY=Ge.doc.autoTableEndPosY()+i.margin.top}),f(Ge.doc,void 0!==Ge.images&&!1===jQuery.isEmptyObject(Ge.images)),void 0!==Ge.headerrows&&(Ge.headerrows.length=0),void 0!==Ge.columns&&(Ge.columns.length=0),void 0!==Ge.rows&&(Ge.rows.length=0),delete Ge.doc,Ge.doc=null})}return"function"==typeof q.onTableExportEnd&&q.onTableExportEnd(),this}}(jQuery),function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw"Invalid GIF 87a/89a header.";var r=e[t++]|e[t++]<<8,i=e[t++]|e[t++]<<8,a=e[t++],o=a>>7,s=1<<1+(7&a);e[t++],e[t++];var l=null;o&&(l=t,t+=3*s);var c=!0,u=[],f=0,h=null,d=0,p=null;for(this.width=r,this.height=i;c&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,p=e[t++]|e[t++]<<8,t++;else for(t+=12;0!==(k=e[t++]);)t+=k;break;case 249:if(4!==e[t++]||0!==e[t+4])throw"Invalid graphics extension block.";var g=e[t++];f=e[t++]|e[t++]<<8,h=e[t++],0==(1&g)&&(h=null),d=g>>2&7,t++;break;case 254:for(;0!==(k=e[t++]);)t+=k;break;default:throw"Unknown graphic control label: 0x"+e[t-1].toString(16)}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,w=e[t++],S=w>>6&1,x=l,E=!1;w>>7&&(E=!0,x=t,t+=3*(1<<1+(7&w)));var _=t;for(t++;;){var k;if(0===(k=e[t++]))break;t+=k}u.push({x:m,y:v,width:b,height:y,has_local_palette:E,palette_offset:x,data_offset:_,data_length:t-_,transparent_index:h,interlaced:!!S,delay:f,disposal:d});break;case 59:c=!1;break;default:throw"Unknown gif block: 0x"+e[t-1].toString(16)}this.numFrames=function(){return u.length},this.loopCount=function(){return p},this.frameInfo=function(e){if(e<0||e>=u.length)throw"Frame index out of range.";return u[e]},this.decodeAndBlitFrameBGRA=function(t,i){var a=this.frameInfo(t),o=a.width*a.height,s=new Uint8Array(o);n(e,a.data_offset,s,o);var l=a.palette_offset,c=a.transparent_index;null===c&&(c=256);var u=a.width,f=r-u,h=u,d=4*(a.y*r+a.x),p=4*((a.y+a.height)*r+a.x),g=d,m=4*f;!0===a.interlaced&&(m+=4*(u+f)*7);for(var v=8,b=0,y=s.length;b<y;++b){var w=s[b];if(0===h&&(h=u,p<=(g+=m)&&(m=f+4*(u+f)*(v-1),g=d+(u+f)*(v<<1),v>>=1)),w===c)g+=4;else{var S=e[l+3*w],x=e[l+3*w+1],E=e[l+3*w+2];i[g++]=E,i[g++]=x,i[g++]=S,i[g++]=255}--h}},this.decodeAndBlitFrameRGBA=function(t,i){var a=this.frameInfo(t),o=a.width*a.height,s=new Uint8Array(o);n(e,a.data_offset,s,o);var l=a.palette_offset,c=a.transparent_index;null===c&&(c=256);var u=a.width,f=r-u,h=u,d=4*(a.y*r+a.x),p=4*((a.y+a.height)*r+a.x),g=d,m=4*f;!0===a.interlaced&&(m+=4*(u+f)*7);for(var v=8,b=0,y=s.length;b<y;++b){var w=s[b];if(0===h&&(h=u,p<=(g+=m)&&(m=f+4*(u+f)*(v-1),g=d+(u+f)*(v<<1),v>>=1)),w===c)g+=4;else{var S=e[l+3*w],x=e[l+3*w+1],E=e[l+3*w+2];i[g++]=S,i[g++]=x,i[g++]=E,i[g++]=255}--h}}}function n(e,t,n,r){for(var i=e[t++],a=1<<i,o=a+1,s=o+1,l=i+1,c=(1<<l)-1,u=0,f=0,h=0,d=e[t++],p=new Int32Array(4096),g=null;;){for(;u<16&&0!==d;)f|=e[t++]<<u,u+=8,1===d?d=e[t++]:--d;if(u<l)break;var m=f&c;if(f>>=l,u-=l,m!==a){if(m===o)break;for(var v=m<s?m:g,b=0,y=v;a<y;)y=p[y]>>8,++b;var w=y;if(r<h+b+(v!==m?1:0))return void console.log("Warning, gif stream longer than expected.");n[h++]=w;var S=h+=b;for(v!==m&&(n[h++]=w),y=v;b--;)y=p[y],n[--S]=255&y,y>>=8;null!==g&&s<4096&&(p[s++]=g<<8|w,c+1<=s&&l<12&&(++l,c=c<<1|1)),g=m}else s=o+1,c=(1<<(l=i+1))-1,g=null}return h!==r&&console.log("Warning, gif stream shorter than expected."),n}function r(e){function t(e,t){for(var n=0,r=0,i=new Array,a=1;a<=16;a++){for(var o=1;o<=e[a];o++)i[t[r]]=[],i[t[r]][0]=n,i[t[r]][1]=a,r++,n++;n*=2}return i}function n(e){for(var t=e[0],n=e[1]-1;0<=n;)t&1<<n&&(x|=1<<E),n--,--E<0&&(255==x?(r(255),r(0)):r(x),E=7,x=0)}function r(e){S.push(e)}function i(e){r(e>>8&255),r(255&e)}function a(e,t,r,i,a){for(var o,s=a[0],l=a[240],c=function(e,t){var n,r,i,a,o,s,l,c,u,f,h=0;for(u=0;u<8;++u){n=e[h],r=e[h+1],i=e[h+2],a=e[h+3],o=e[h+4],s=e[h+5],l=e[h+6];var d=n+(c=e[h+7]),p=n-c,g=r+l,m=r-l,v=i+s,b=i-s,w=a+o,S=a-o,x=d+w,E=d-w,_=g+v,k=g-v;e[h]=x+_,e[h+4]=x-_;var A=.707106781*(k+E);e[h+2]=E+A,e[h+6]=E-A;var C=.382683433*((x=S+b)-(k=m+p)),T=.5411961*x+C,R=1.306562965*k+C,N=.707106781*(_=b+m),B=p+N,I=p-N;e[h+5]=I+T,e[h+3]=I-T,e[h+1]=B+R,e[h+7]=B-R,h+=8}for(u=h=0;u<8;++u){n=e[h],r=e[h+8],i=e[h+16],a=e[h+24],o=e[h+32],s=e[h+40],l=e[h+48];var O=n+(c=e[h+56]),L=n-c,P=r+l,F=r-l,D=i+s,M=i-s,j=a+o,W=a-o,U=O+j,z=O-j,H=P+D,V=P-D;e[h]=U+H,e[h+32]=U-H;var q=.707106781*(V+z);e[h+16]=z+q,e[h+48]=z-q;var G=.382683433*((U=W+M)-(V=F+L)),$=.5411961*U+G,X=1.306562965*V+G,Y=.707106781*(H=M+F),K=L+Y,J=L-Y;e[h+40]=J+$,e[h+24]=J-$,e[h+8]=K+X,e[h+56]=K-X,h++}for(u=0;u<64;++u)f=e[u]*t[u],y[u]=0<f?f+.5|0:f-.5|0;return y}(e,t),u=0;u<64;++u)w[R[u]]=c[u];var f=w[0]-r;r=w[0],0==f?n(i[0]):(n(i[b[o=32767+f]]),n(v[o]));for(var h=63;0<h&&0==w[h];h--);if(0==h)return n(s),r;for(var d,p=1;p<=h;){for(var g=p;0==w[p]&&p<=h;++p);var m=p-g;if(16<=m){d=m>>4;for(var S=1;S<=d;++S)n(l);m&=15}o=32767+w[p],n(a[(m<<4)+b[o]]),n(v[o]),p++}return 63!=h&&n(s),r}function o(e){e<=0&&(e=1),100<e&&(e=100),f!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=h((t[n]*e+50)/100);r<1?r=1:255<r&&(r=255),d[R[n]]=r}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],a=0;a<64;a++){var o=h((i[a]*e+50)/100);o<1?o=1:255<o&&(o=255),p[R[a]]=o}for(var s=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],l=0,c=0;c<8;c++)for(var u=0;u<8;u++)g[l]=1/(d[R[l]]*s[c]*s[u]*8),m[l]=1/(p[R[l]]*s[c]*s[u]*8),l++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),f=e)}var s,l,c,u,f,h=Math.floor,d=new Array(64),p=new Array(64),g=new Array(64),m=new Array(64),v=new Array(65535),b=new Array(65535),y=new Array(64),w=new Array(64),S=[],x=0,E=7,_=new Array(64),k=new Array(64),A=new Array(64),C=new Array(256),T=new Array(2048),R=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],N=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],I=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],O=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],L=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],P=[0,1,2,3,4,5,6,7,8,9,10,11],F=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],D=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];this.encode=function(e,t){var f,h;(new Date).getTime(),t&&o(t),S=new Array,x=0,E=7,i(65496),i(65504),i(16),r(74),r(70),r(73),r(70),r(0),r(1),r(1),r(0),i(1),i(1),r(0),r(0),function(){i(65499),i(132),r(0);for(var e=0;e<64;e++)r(d[e]);r(1);for(var t=0;t<64;t++)r(p[t])}(),f=e.width,h=e.height,i(65472),i(17),r(8),i(h),i(f),r(3),r(1),r(17),r(0),r(2),r(17),r(1),r(3),r(17),r(1),function(){i(65476),i(418),r(0);for(var e=0;e<16;e++)r(N[e+1]);for(var t=0;t<=11;t++)r(B[t]);r(16);for(var n=0;n<16;n++)r(I[n+1]);for(var a=0;a<=161;a++)r(O[a]);r(1);for(var o=0;o<16;o++)r(L[o+1]);for(var s=0;s<=11;s++)r(P[s]);r(17);for(var l=0;l<16;l++)r(F[l+1]);for(var c=0;c<=161;c++)r(D[c])}(),i(65498),i(12),r(3),r(1),r(0),r(2),r(17),r(3),r(17),r(0),r(63),r(0);var v=0,b=0,y=0;x=0,E=7,this.encode.displayName="_encode_";for(var w,C,R,M,j,W,U,z,H,V=e.data,q=e.width,G=e.height,$=4*q,X=0;X<G;){for(w=0;w<$;){for(W=j=$*X+w,U=-1,H=z=0;H<64;H++)W=j+(z=H>>3)*$+(U=4*(7&H)),G<=X+z&&(W-=$*(X+1+z-G)),$<=w+U&&(W-=w+U-$+4),C=V[W++],R=V[W++],M=V[W++],_[H]=(T[C]+T[R+256>>0]+T[M+512>>0]>>16)-128,k[H]=(T[C+768>>0]+T[R+1024>>0]+T[M+1280>>0]>>16)-128,A[H]=(T[C+1280>>0]+T[R+1536>>0]+T[M+1792>>0]>>16)-128;v=a(_,g,v,s,c),b=a(k,m,b,l,u),y=a(A,m,y,l,u),w+=32}X+=8}if(0<=E){var Y=[];Y[1]=E+1,Y[0]=(1<<E+1)-1,n(Y)}return i(65497),new Uint8Array(S)},function(){(new Date).getTime(),e||(e=50),function(){for(var e=String.fromCharCode,t=0;t<256;t++)C[t]=e(t)}(),s=t(N,B),l=t(L,P),c=t(I,O),u=t(F,D),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)b[32767+r]=n,v[32767+r]=[],v[32767+r][1]=n,v[32767+r][0]=r;for(var i=-(t-1);i<=-e;i++)b[32767+i]=n,v[32767+i]=[],v[32767+i][1]=n,v[32767+i][0]=t-1+i;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)T[e]=19595*e,T[e+256>>0]=38470*e,T[e+512>>0]=7471*e+32768,T[e+768>>0]=-11059*e,T[e+1024>>0]=-21709*e,T[e+1280>>0]=32768*e+8421375,T[e+1536>>0]=-27439*e,T[e+1792>>0]=-5329*e}(),o(e),(new Date).getTime()}()}function i(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}!function(t){if("object"!==e(t.console)){t.console={};for(var n,r,i=t.console,a=function(){},o=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");n=o.pop();)i[n]||(i[n]={});for(;r=s.pop();)i[r]||(i[r]=a)}var l,c,u,f,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===t.btoa&&(t.btoa=function(e){var t,n,r,i,a,o=0,s=0,l="",c=[];if(!e)return e;for(;t=(a=e.charCodeAt(o++)<<16|e.charCodeAt(o++)<<8|e.charCodeAt(o++))>>18&63,n=a>>12&63,r=a>>6&63,i=63&a,c[s++]=h.charAt(t)+h.charAt(n)+h.charAt(r)+h.charAt(i),o<e.length;);l=c.join("");var u=e.length%3;return(u?l.slice(0,u-3):l)+"===".slice(u||3)}),void 0===t.atob&&(t.atob=function(e){var t,n,r,i,a,o,s=0,l=0,c=[];if(!e)return e;for(e+="";t=(o=h.indexOf(e.charAt(s++))<<18|h.indexOf(e.charAt(s++))<<12|(i=h.indexOf(e.charAt(s++)))<<6|(a=h.indexOf(e.charAt(s++))))>>16&255,n=o>>8&255,r=255&o,c[l++]=64==i?String.fromCharCode(t):64==a?String.fromCharCode(t,n):String.fromCharCode(t,n,r),s<e.length;);return c.join("")}),Array.prototype.map||(Array.prototype.map=function(e){if(null==this||"function"!=typeof e)throw new TypeError;for(var t=Object(this),n=t.length>>>0,r=new Array(n),i=1<arguments.length?arguments[1]:void 0,a=0;a<n;a++)a in t&&(r[a]=e.call(i,t[a],a,t));return r}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),Array.prototype.forEach||(Array.prototype.forEach=function(e,t){if(null==this||"function"!=typeof e)throw new TypeError;for(var n=Object(this),r=n.length>>>0,i=0;i<r;i++)i in n&&e.call(t,n[i],i,n)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],i=0;i<n;){var a=t[i];if(e.call(r,a,i,t))return a;i++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(l=Object.prototype.hasOwnProperty,c=!{toString:null}.propertyIsEnumerable("toString"),f=(u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(t){if("object"!==e(t)&&("function"!=typeof t||null===t))throw new TypeError;var n,r,i=[];for(n in t)l.call(t,n)&&i.push(n);if(c)for(r=0;r<f;r++)l.call(t,u[r])&&i.push(u[r]);return i})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")());var a,o,s,l,c,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,k,A,C,T,R,N,B,I,O,L,P,F,D,M,j,W,U,z,H,V,q,G,$,X,Y,K,J,Z,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,ue,fe,he,de=function(t){function n(n){if("object"!==e(n))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(e,t,n){if(n=n||!1,"string"!=typeof e||"function"!=typeof t||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(e)||(r[e]={});var i=Math.random().toString(35);return r[e][i]=[t,!!n],i},this.unsubscribe=function(e){for(var t in r)if(r[t][e])return delete r[t][e],0===Object.keys(r[t]).length&&delete r[t],!0;return!1},this.publish=function(e){if(r.hasOwnProperty(e)){var i=Array.prototype.slice.call(arguments,1),a=[];for(var o in r[e]){var s=r[e][o];try{s[0].apply(n,i)}catch(e){t.console&&console.error("jsPDF PubSub Error",e.message,e)}s[1]&&a.push(o)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function r(i,a,o,s){var l={},c=[],u=1;"object"===e(i)&&(i=(l=i).orientation,a=l.unit||a,o=l.format||o,s=l.compress||l.compressPdf||s,c=l.filters||(!0===s?["FlateEncode"]:c),u="number"==typeof l.userUnit?Math.abs(l.userUnit):1),a=a||"mm",i=(""+(i||"P")).toLowerCase();var f=l.putOnlyUsedFonts||!0,h={},d={internal:{},__private__:{}};d.__private__.PubSub=n;var p="1.3",g=d.__private__.getPdfVersion=function(){return p},m=(d.__private__.setPdfVersion=function(e){p=e},{a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]}),v=(d.__private__.getPageFormats=function(){return m},d.__private__.getPageFormat=function(e){return m[e]});"string"==typeof o&&(o=v(o)),o=o||v("a4");var b,y=d.f2=d.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return e.toFixed(2)},w=d.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return e.toFixed(3)},S="00000000000000000000000000000000",x=d.__private__.getFileId=function(){return S},E=d.__private__.setFileId=function(e){return e=e||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),S=e};d.setFileId=function(e){return E(e),this},d.getFileId=function(){return x()};var _=d.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),a=[n,F(r),"'",F(i),"'"].join("");return["D:",e.getFullYear(),F(e.getMonth()+1),F(e.getDate()),F(e.getHours()),F(e.getMinutes()),F(e.getSeconds()),a].join("")},k=d.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),a=parseInt(e.substr(12,2),10),o=parseInt(e.substr(14,2),10);return parseInt(e.substr(16,2),10),parseInt(e.substr(20,2),10),new Date(t,n,r,i,a,o,0)},A=d.__private__.setCreationDate=function(t){var n;if(void 0===t&&(t=new Date),"object"===e(t)&&"[object Date]"===Object.prototype.toString.call(t))n=_(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");n=t}return b=n},C=d.__private__.getCreationDate=function(e){var t=b;return"jsDate"===e&&(t=k(b)),t};d.setCreationDate=function(e){return A(e),this},d.getCreationDate=function(e){return C(e)};var T,R,N,B,I,O,L,P,F=d.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},D=!1,M=[],j=[],W=0,U=(d.__private__.setCustomOutputDestination=function(e){R=e},d.__private__.resetCustomOutputDestination=function(e){R=void 0},d.__private__.out=function(e){var t;return e="string"==typeof e?e:e.toString(),(t=void 0===R?D?M[T]:j:R).push(e),D||(W+=e.length+1),t}),z=d.__private__.write=function(e){return U(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},H=d.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},V=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]],q=(d.__private__.getStandardFonts=function(e){return V},l.fontSize||16),G=(d.__private__.setFontSize=d.setFontSize=function(e){return q=e,this},d.__private__.getFontSize=d.getFontSize=function(){return q}),$=l.R2L||!1,X=(d.__private__.setR2L=d.setR2L=function(e){return $=e,this},d.__private__.getR2L=d.getR2L=function(e){return $},d.__private__.setZoomMode=function(e){var t=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(e))N=e;else if(isNaN(e)){if(-1===t.indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');N=e}else N=parseInt(e,10)}),Y=(d.__private__.getZoomMode=function(){return N},d.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');B=e}),K=(d.__private__.getPageMode=function(){return B},d.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');I=e}),J=(d.__private__.getLayoutMode=function(){return I},d.__private__.setDisplayMode=d.setDisplayMode=function(e,t,n){return X(e),K(t),Y(n),this},{title:"",subject:"",author:"",keywords:"",creator:""}),Z=(d.__private__.getDocumentProperty=function(e){if(-1===Object.keys(J).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return J[e]},d.__private__.getDocumentProperties=function(e){return J},d.__private__.setDocumentProperties=d.setProperties=d.setDocumentProperties=function(e){for(var t in J)J.hasOwnProperty(t)&&e[t]&&(J[t]=e[t]);return this},d.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(J).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return J[e]=t},0),Q=[],ee={},te={},ne=0,re=[],ie=[],ae=new n(d),oe=l.hotfixes||[],se=d.__private__.newObject=function(){var e=le();return ce(e,!0),e},le=d.__private__.newObjectDeferred=function(){return Q[++Z]=function(){return W},Z},ce=function(e,t){return t="boolean"==typeof t&&t,Q[e]=W,t&&U(e+" 0 obj"),e},ue=d.__private__.newAdditionalObject=function(){var e={objId:le(),content:""};return ie.push(e),e},fe=le(),he=le(),de=d.__private__.decodeColorString=function(e){var t=e.split(" ");if(2===t.length&&("g"===t[1]||"G"===t[1])){var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(t[i])).toString(16)).slice(-2);return r},pe=d.__private__.encodeColorString=function(t){var n;"string"==typeof t&&(t={ch1:t});var r=t.ch1,i=t.ch2,a=t.ch3,o=t.ch4,s=(t.precision,"draw"===t.pdfColorType?["G","RG","K"]:["g","rg","k"]);if("string"==typeof r&&"#"!==r.charAt(0)){var l=new RGBColor(r);if(l.ok)r=l.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var c=parseInt(r.substr(1),16);r=c>>16&255,i=c>>8&255,a=255&c}if(void 0===i||void 0===o&&r===i&&i===a)if("string"==typeof r)n=r+" "+s[0];else switch(t.precision){case 2:n=y(r/255)+" "+s[0];break;case 3:default:n=w(r/255)+" "+s[0]}else if(void 0===o||"object"===e(o)){if(o&&!isNaN(o.a)&&0===o.a)return n=["1.000","1.000","1.000",s[1]].join(" ");if("string"==typeof r)n=[r,i,a,s[1]].join(" ");else switch(t.precision){case 2:n=[y(r/255),y(i/255),y(a/255),s[1]].join(" ");break;default:case 3:n=[w(r/255),w(i/255),w(a/255),s[1]].join(" ")}}else if("string"==typeof r)n=[r,i,a,o,s[2]].join(" ");else switch(t.precision){case 2:n=[y(r/255),y(i/255),y(a/255),y(o/255),s[2]].join(" ");break;case 3:default:n=[w(r/255),w(i/255),w(a/255),w(o/255),s[2]].join(" ")}return n},ge=d.__private__.getFilters=function(){return c},me=d.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||ge(),i=e.alreadyAppliedFilters||[],a=e.addLength1||!1,o=t.length,s={};!0===n&&(n=["FlateEncode"]);var l=e.additionalKeyValues||[],c=(s=void 0!==r.API.processDataByFilters?r.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(i)?i.join(" "):i.toString());0!==s.data.length&&(l.push({key:"Length",value:s.data.length}),!0===a&&l.push({key:"Length1",value:o})),0!=c.length&&(c.split("/").length-1==1?l.push({key:"Filter",value:c}):l.push({key:"Filter",value:"["+c+"]"})),U("<<");for(var u=0;u<l.length;u++)U("/"+l[u].key+" "+l[u].value);U(">>"),0!==s.data.length&&(U("stream"),U(s.data),U("endstream"))},ve=d.__private__.putPage=function(e){e.mediaBox;var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;ce(r,!0),re[T].mediaBox.topRightX,re[T].mediaBox.bottomLeftX,re[T].mediaBox.topRightY,re[T].mediaBox.bottomLeftY,U("<</Type /Page"),U("/Parent "+e.rootDictionaryObjId+" 0 R"),U("/Resources "+e.resourceDictionaryObjId+" 0 R"),U("/MediaBox ["+parseFloat(y(e.mediaBox.bottomLeftX))+" "+parseFloat(y(e.mediaBox.bottomLeftY))+" "+y(e.mediaBox.topRightX)+" "+y(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&U("/CropBox ["+y(e.cropBox.bottomLeftX)+" "+y(e.cropBox.bottomLeftY)+" "+y(e.cropBox.topRightX)+" "+y(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&U("/BleedBox ["+y(e.bleedBox.bottomLeftX)+" "+y(e.bleedBox.bottomLeftY)+" "+y(e.bleedBox.topRightX)+" "+y(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&U("/TrimBox ["+y(e.trimBox.bottomLeftX)+" "+y(e.trimBox.bottomLeftY)+" "+y(e.trimBox.topRightX)+" "+y(e.trimBox.topRightY)+"]"),null!==e.artBox&&U("/ArtBox ["+y(e.artBox.bottomLeftX)+" "+y(e.artBox.bottomLeftY)+" "+y(e.artBox.topRightX)+" "+y(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&U("/UserUnit "+e.userUnit),ae.publish("putPage",{objId:r,pageContext:re[t],pageNumber:t,page:n}),U("/Contents "+i+" 0 R"),U(">>"),U("endobj");var a=n.join("\n");return ce(i,!0),me({data:a,filters:ge()}),U("endobj"),r},be=d.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=ne;e++)re[e].objId=le(),re[e].contentsObjId=le();for(e=1;e<=ne;e++)n.push(ve({number:e,data:M[e],objId:re[e].objId,contentsObjId:re[e].contentsObjId,mediaBox:re[e].mediaBox,cropBox:re[e].cropBox,bleedBox:re[e].bleedBox,trimBox:re[e].trimBox,artBox:re[e].artBox,userUnit:re[e].userUnit,rootDictionaryObjId:fe,resourceDictionaryObjId:he}));ce(fe,!0),U("<</Type /Pages");var r="/Kids [";for(t=0;t<ne;t++)r+=n[t]+" 0 R ";U(r+"]"),U("/Count "+ne),U(">>"),U("endobj"),ae.publish("postPutPages")},ye=function(){!function(){for(var e in ee)ee.hasOwnProperty(e)&&(!1===f||!0===f&&h.hasOwnProperty(e))&&(t=ee[e],ae.publish("putFont",{font:t,out:U,newObject:se,putStream:me}),!0!==t.isAlreadyPutted&&(t.objectNumber=se(),U("<<"),U("/Type /Font"),U("/BaseFont /"+t.postScriptName),U("/Subtype /Type1"),"string"==typeof t.encoding&&U("/Encoding /"+t.encoding),U("/FirstChar 32"),U("/LastChar 255"),U(">>"),U("endobj")));var t}(),ae.publish("putResources"),ce(he,!0),U("<<"),function(){for(var e in U("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),U("/Font <<"),
|
||
ee)ee.hasOwnProperty(e)&&(!1===f||!0===f&&h.hasOwnProperty(e))&&U("/"+e+" "+ee[e].objectNumber+" 0 R");U(">>"),U("/XObject <<"),ae.publish("putXobjectDict"),U(">>")}(),U(">>"),U("endobj"),ae.publish("postPutResources")},we=function(e,t,n){te.hasOwnProperty(t)||(te[t]={}),te[t][n]=e},Se=function(e,t,n,r,i){i=i||!1;var a="F"+(Object.keys(ee).length+1).toString(10),o={id:a,postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i,metadata:{}};return ae.publish("addFont",{font:o,instance:this}),void 0!==a&&(ee[a]=o,we(a,t,n)),a},xe=d.__private__.pdfEscape=d.pdfEscape=function(e,t){return function(e,t){var n,r,i,a,o,s,l,c,u;if(i=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&ee[O].metadata&&ee[O].metadata[i]&&ee[O].metadata[i].encoding&&(a=ee[O].metadata[i].encoding,!o&&ee[O].encoding&&(o=ee[O].encoding),!o&&a.codePages&&(o=a.codePages[0]),"string"==typeof o&&(o=a[o]),o)){for(l=!1,s=[],n=0,r=e.length;n<r;n++)(c=o[e.charCodeAt(n)])?s.push(String.fromCharCode(c)):s.push(e[n]),s[n].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((u=(c=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ee=d.__private__.beginPage=function(e,t){var n,r="string"==typeof t&&t.toLowerCase();if("string"==typeof e&&(n=v(e.toLowerCase()))&&(e=n[0],t=n[1]),Array.isArray(e)&&(t=e[1],e=e[0]),(isNaN(e)||isNaN(t))&&(e=o[0],t=o[1]),r){switch(r.substr(0,1)){case"l":e<t&&(r="s");break;case"p":t<e&&(r="s")}"s"===r&&(n=e,e=t,t=n)}(14400<e||14400<t)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),e=Math.min(14400,e),t=Math.min(14400,t)),o=[e,t],D=!0,M[++ne]=[],re[ne]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e),topRightY:Number(t)}},ke(ne)},_e=function(){Ee.apply(this,arguments),qe(Ve),U(Qe),0!==at&&U(at+" J"),0!==st&&U(st+" j"),ae.publish("addPage",{pageNumber:ne})},ke=function(e){0<e&&e<=ne&&(T=e)},Ae=d.__private__.getNumberOfPages=d.getNumberOfPages=function(){return M.length-1},Ce=function(e,t,n){var r,i=void 0;return n=n||{},e=void 0!==e?e:ee[O].fontName,t=void 0!==t?t:ee[O].fontStyle,r=e.toLowerCase(),void 0!==te[r]&&void 0!==te[r][t]?i=te[r][t]:void 0!==te[e]&&void 0!==te[e][t]?i=te[e][t]:!1===n.disableWarning&&console.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=te.times[t])&&(i=te.times.normal),i},Te=d.__private__.putInfo=function(){for(var e in se(),U("<<"),U("/Producer (jsPDF "+r.version+")"),J)J.hasOwnProperty(e)&&J[e]&&U("/"+e.substr(0,1).toUpperCase()+e.substr(1)+" ("+xe(J[e])+")");U("/CreationDate ("+b+")"),U(">>"),U("endobj")},Ne=d.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||fe;switch(se(),U("<<"),U("/Type /Catalog"),U("/Pages "+t+" 0 R"),N||(N="fullwidth"),N){case"fullwidth":U("/OpenAction [3 0 R /FitH null]");break;case"fullheight":U("/OpenAction [3 0 R /FitV null]");break;case"fullpage":U("/OpenAction [3 0 R /Fit]");break;case"original":U("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+N;"%"===n.substr(n.length-1)&&(N=parseInt(N)/100),"number"==typeof N&&U("/OpenAction [3 0 R /XYZ null null "+y(N)+"]")}switch(I||(I="continuous"),I){case"continuous":U("/PageLayout /OneColumn");break;case"single":U("/PageLayout /SinglePage");break;case"two":case"twoleft":U("/PageLayout /TwoColumnLeft");break;case"tworight":U("/PageLayout /TwoColumnRight")}B&&U("/PageMode /"+B),ae.publish("putCatalog"),U(">>"),U("endobj")},Be=d.__private__.putTrailer=function(){U("trailer"),U("<<"),U("/Size "+(Z+1)),U("/Root "+Z+" 0 R"),U("/Info "+(Z-1)+" 0 R"),U("/ID [ <"+S+"> <"+S+"> ]"),U(">>")},Ie=d.__private__.putHeader=function(){U("%PDF-"+p),U("%ºß¬à")},Oe=d.__private__.putXRef=function(){var e=1,t="0000000000";for(U("xref"),U("0 "+(Z+1)),U("0000000000 65535 f "),e=1;e<=Z;e++)U("function"==typeof Q[e]?(t+Q[e]()).slice(-10)+" 00000 n ":void 0!==Q[e]?(t+Q[e]).slice(-10)+" 00000 n ":"0000000000 00000 n ")},Le=d.__private__.buildDocument=function(){D=!1,W=Z=0,j=[],Q=[],ie=[],fe=le(),he=le(),ae.publish("buildDocument"),Ie(),be(),function(){ae.publish("putAdditionalObjects");for(var e=0;e<ie.length;e++){var t=ie[e];ce(t.objId,!0),U(t.content),U("endobj")}ae.publish("postPutAdditionalObjects")}(),ye(),Te(),Ne();var e=W;return Oe(),Be(),U("startxref"),U(""+e),U("%%EOF"),D=!0,j.join("\n")},Pe=d.__private__.getBlob=function(e){return new Blob([H(e)],{type:"application/pdf"})},Fe=d.output=d.__private__.output=((P=function(e,n){n=n||{};var r=Le();switch("string"==typeof n?n={filename:n}:n.filename=n.filename||"generated.pdf",e){case void 0:return r;case"save":d.save(n.filename);break;case"arraybuffer":return H(r);case"blob":return Pe(r);case"bloburi":case"bloburl":if(void 0!==t.URL&&"function"==typeof t.URL.createObjectURL)return t.URL&&t.URL.createObjectURL(Pe(r))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+n.filename+";base64,"+btoa(r);case"dataurlnewwindow":var i='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',a=t.open();if(null!==a&&a.document.write(i),a||"undefined"==typeof safari)return a;case"datauri":case"dataurl":return t.document.location.href="data:application/pdf;filename="+n.filename+";base64,"+btoa(r);default:return null}}).foo=function(){try{return P.apply(this,arguments)}catch(r){var e=r.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var n="Error in function "+e.split("\n")[0].split("<")[0]+": "+r.message;if(!t.console)throw new Error(n);t.console.error(n,r),t.alert&&alert(n)}},(P.foo.bar=P).foo),De=function(e){return!0===Array.isArray(oe)&&-1<oe.indexOf(e)};switch(a){case"pt":L=1;break;case"mm":L=72/25.4;break;case"cm":L=72/2.54;break;case"in":L=72;break;case"px":L=1==De("px_scaling")?.75:96/72;break;case"pc":case"em":L=12;break;case"ex":L=6;break;default:throw new Error("Invalid unit: "+a)}A(),E();var Me=d.__private__.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:re[e].objId,pageNumber:e,pageContext:re[e]}},je=d.__private__.getPageInfoByObjId=function(e){for(var t in re)if(re[t].objId===e)break;if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Me(t)},We=d.__private__.getCurrentPageInfo=function(){return{objId:re[T].objId,pageNumber:T,pageContext:re[T]}};d.addPage=function(){return _e.apply(this,arguments),this},d.setPage=function(){return ke.apply(this,arguments),this},d.insertPage=function(e){return this.addPage(),this.movePage(T,e),this},d.movePage=function(e,t){if(t<e){for(var n=M[e],r=re[e],i=e;t<i;i--)M[i]=M[i-1],re[i]=re[i-1];M[t]=n,re[t]=r,this.setPage(t)}else if(e<t){for(n=M[e],r=re[e],i=e;i<t;i++)M[i]=M[i+1],re[i]=re[i+1];M[t]=n,re[t]=r,this.setPage(t)}return this},d.deletePage=function(){return function(e){0<e&&e<=ne&&(M.splice(e,1),--ne<T&&(T=ne),this.setPage(T))}.apply(this,arguments),this},d.__private__.text=d.text=function(t,n,r,i){function a(e){for(var t,n=e.concat(),r=[],i=n.length;i--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&1===t.length?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function o(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,i,a=e.concat(),o=[],s=a.length;s--;)"string"==typeof(r=a.shift())?o.push(t(r)[0]):Array.isArray(r)&&"string"===r[0]&&(i=t(r[0],r[1],r[2]),o.push([i[0],i[1],i[2]]));n=o}return n}var s;"number"!=typeof t||"number"!=typeof n||"string"!=typeof r&&!Array.isArray(r)||(s=r,r=n,n=t,t=s);var l=arguments[3],c=arguments[4],u=arguments[5];if("object"===e(l)&&null!==l||("string"==typeof c&&(u=c,c=null),"string"==typeof l&&(u=l,l=null),"number"==typeof l&&(c=l,l=null),i={flags:l,angle:c,align:u}),(l=l||{}).noBOM=l.noBOM||!0,l.autoencode=l.autoencode||!0,isNaN(n)||isNaN(r)||null==t)throw new Error("Invalid arguments passed to jsPDF.text");if(0===t.length)return g;var f,d="",p="number"==typeof i.lineHeightFactor?i.lineHeightFactor:He,g=i.scope||this,m=!1,v=!0;if("string"==typeof t)m=!0;else if(Array.isArray(t)){for(var b,S=t.concat(),x=[],E=S.length;E--;)("string"!=typeof(b=S.shift())||Array.isArray(b)&&"string"!=typeof b[0])&&(v=!1);m=v}if(!1===m)throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');var _=ee[O].encoding;"WinAnsiEncoding"!==_&&"StandardEncoding"!==_||(t=o(t,function(e,t,n){return[(r=e,r=r.split("\t").join(Array(i.TabLen||9).join(" ")),xe(r,l)),t,n];var r})),"string"==typeof t&&(t=t.match(/[\r?\n]/)?t.split(/\r\n|\r|\n/g):[t]);var k=q/g.internal.scaleFactor,A=k*(He-1);switch(i.baseline){case"bottom":r-=A;break;case"top":r+=k-A;break;case"hanging":r+=k-2*A;break;case"middle":r+=k/2-A}0<(z=i.maxWidth||0)&&("string"==typeof t?t=g.splitTextToSize(t,z):"[object Array]"===Object.prototype.toString.call(t)&&(t=g.splitTextToSize(t.join(" "),z)));var C={text:t,x:n,y:r,options:i,mutex:{pdfEscape:xe,activeFontKey:O,fonts:ee,activeFontSize:q}};ae.publish("preProcessText",C),t=C.text,c=(i=C.options).angle;var T=g.internal.scaleFactor,R=[];if(c){c*=Math.PI/180;var N=Math.cos(c),B=Math.sin(c);R=[y(N),y(B),y(-1*B),y(N)]}void 0!==(W=i.charSpace)&&(d+=w(W*T)+" Tc\n"),i.lang;var I=-1,L=void 0!==i.renderingMode?i.renderingMode:i.stroke,P=g.internal.getCurrentPageInfo().pageContext;switch(L){case 0:case!1:case"fill":I=0;break;case 1:case!0:case"stroke":I=1;break;case 2:case"fillThenStroke":I=2;break;case 3:case"invisible":I=3;break;case 4:case"fillAndAddForClipping":I=4;break;case 5:case"strokeAndAddPathForClipping":I=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":I=6;break;case 7:case"addToPathForClipping":I=7}var F=void 0!==P.usedRenderingMode?P.usedRenderingMode:-1;-1!==I?d+=I+" Tr\n":-1!==F&&(d+="0 Tr\n"),-1!==I&&(P.usedRenderingMode=I),u=i.align||"left";var D=q*p,M=g.internal.pageSize.getWidth(),j=(T=g.internal.scaleFactor,ee[O]),W=i.charSpace||rt,z=i.maxWidth||0,H=(l={},[]);if("[object Array]"===Object.prototype.toString.call(t)){var V,G;x=a(t),"left"!==u&&(G=x.map(function(e){return g.getStringUnitWidth(e,{font:j,charSpace:W,fontSize:q})*q/T}));var X,Y=(Math.max.apply(Math,G),0);if("right"===u){n-=G[0],t=[];var K=0;for(E=x.length;K<E;K++)G[K],V=0===K?(X=Ye(n),Ke(r)):(X=(Y-G[K])*T,-D),t.push([x[K],X,V]),Y=G[K]}else if("center"===u)for(n-=G[0]/2,t=[],K=0,E=x.length;K<E;K++)G[K],V=0===K?(X=Ye(n),Ke(r)):(X=(Y-G[K])/2*T,-D),t.push([x[K],X,V]),Y=G[K];else if("left"===u)for(t=[],K=0,E=x.length;K<E;K++)V=0===K?Ke(r):-D,X=0===K?Ye(n):0,t.push(x[K]);else{if("justify"!==u)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(t=[],z=0!==z?z:M,K=0,E=x.length;K<E;K++)V=0===K?Ke(r):-D,X=0===K?Ye(n):0,K<E-1&&H.push(((z-G[K])/(x[K].split(" ").length-1)*T).toFixed(2)),t.push([x[K],X,V])}}!0===("boolean"==typeof i.R2L?i.R2L:$)&&(t=o(t,function(e,t,n){return[e.split("").reverse().join(""),t,n]})),C={text:t,x:n,y:r,options:i,mutex:{pdfEscape:xe,activeFontKey:O,fonts:ee,activeFontSize:q}},ae.publish("postProcessText",C),t=C.text,f=C.mutex.isHex,x=a(t),t=[];var J,Z,Q,te=0,ne=(E=x.length,"");for(K=0;K<E;K++)ne="",Array.isArray(x[K])?(J=parseFloat(x[K][1]),Z=parseFloat(x[K][2]),Q=(f?"<":"(")+x[K][0]+(f?">":")"),te=1):(J=Ye(n),Z=Ke(r),Q=(f?"<":"(")+x[K]+(f?">":")")),void 0!==H&&void 0!==H[K]&&(ne=H[K]+" Tw\n"),0!==R.length&&0===K?t.push(ne+R.join(" ")+" "+J.toFixed(2)+" "+Z.toFixed(2)+" Tm\n"+Q):1===te||0===te&&0===K?t.push(ne+J.toFixed(2)+" "+Z.toFixed(2)+" Td\n"+Q):t.push(ne+Q);t=0===te?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var re="BT\n/"+O+" "+q+" Tf\n"+(q*p).toFixed(2)+" TL\n"+tt+"\n";return re+=d,re+=t,U(re+="ET"),h[O]=!0,g},d.__private__.lstext=d.lstext=function(e,t,n,r){return console.warn("jsPDF.lstext is deprecated"),this.text(e,t,n,{charSpace:r})},d.__private__.clip=d.clip=function(e){U("evenodd"===e?"W*":"W"),U("n")},d.__private__.clip_fixed=d.clip_fixed=function(e){console.log("clip_fixed is deprecated"),d.clip(e)};var Ue=d.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(e)&&(t=!0),t},ze=d.__private__.getStyle=function(e){var t="S";return"F"===e?t="f":"FD"===e||"DF"===e?t="B":"f"!==e&&"f*"!==e&&"B"!==e&&"B*"!==e||(t=e),t};d.__private__.line=d.line=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[n-e,r-t]],e,t)},d.__private__.lines=d.lines=function(e,t,n,r,i,a){var o,s,l,c,u,f,h,d,p,g,m,v;if("number"==typeof e&&(v=n,n=t,t=e,e=v),r=r||[1,1],a=a||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Ue(i)||"boolean"!=typeof a)throw new Error("Invalid arguments passed to jsPDF.lines");for(U(w(Ye(t))+" "+w(Ke(n))+" m "),o=r[0],s=r[1],c=e.length,g=t,m=n,l=0;l<c;l++)2===(u=e[l]).length?(g=u[0]*o+g,m=u[1]*s+m,U(w(Ye(g))+" "+w(Ke(m))+" l")):(f=u[0]*o+g,h=u[1]*s+m,d=u[2]*o+g,p=u[3]*s+m,g=u[4]*o+g,m=u[5]*s+m,U(w(Ye(f))+" "+w(Ke(h))+" "+w(Ye(d))+" "+w(Ke(p))+" "+w(Ye(g))+" "+w(Ke(m))+" c"));return a&&U(" h"),null!==i&&U(ze(i)),this},d.__private__.rect=d.rect=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Ue(i))throw new Error("Invalid arguments passed to jsPDF.rect");return U([y(Ye(e)),y(Ke(t)),y(n*L),y(-r*L),"re"].join(" ")),null!==i&&U(ze(i)),this},d.__private__.triangle=d.triangle=function(e,t,n,r,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(a)||!Ue(o))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[i-n,a-r],[e-i,t-a]],e,t,[1,1],o,!0),this},d.__private__.roundedRect=d.roundedRect=function(e,t,n,r,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(a)||!Ue(o))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return this.lines([[n-2*i,0],[i*s,0,i,a-a*s,i,a],[0,r-2*a],[0,a*s,-i*s,a,-i,a],[2*i-n,0],[-i*s,0,-i,-a*s,-i,-a],[0,2*a-r],[0,-a*s,i*s,-a,i,-a]],e+i,t,[1,1],o),this},d.__private__.ellipse=d.ellipse=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Ue(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var a=4/3*(Math.SQRT2-1)*n,o=4/3*(Math.SQRT2-1)*r;return U([y(Ye(e+n)),y(Ke(t)),"m",y(Ye(e+n)),y(Ke(t-o)),y(Ye(e+a)),y(Ke(t-r)),y(Ye(e)),y(Ke(t-r)),"c"].join(" ")),U([y(Ye(e-a)),y(Ke(t-r)),y(Ye(e-n)),y(Ke(t-o)),y(Ye(e-n)),y(Ke(t)),"c"].join(" ")),U([y(Ye(e-n)),y(Ke(t+o)),y(Ye(e-a)),y(Ke(t+r)),y(Ye(e)),y(Ke(t+r)),"c"].join(" ")),U([y(Ye(e+a)),y(Ke(t+r)),y(Ye(e+n)),y(Ke(t+o)),y(Ye(e+n)),y(Ke(t)),"c"].join(" ")),null!==i&&U(ze(i)),this},d.__private__.circle=d.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!Ue(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},d.setFont=function(e,t){return O=Ce(e,t,{disableWarning:!1}),this},d.setFontStyle=d.setFontType=function(e){return O=Ce(void 0,e),this},d.__private__.getFontList=d.getFontList=function(){var e,t,n,r={};for(e in te)if(te.hasOwnProperty(e))for(t in r[e]=n=[],te[e])te[e].hasOwnProperty(t)&&n.push(t);return r},d.addFont=function(e,t,n,r){Se.call(this,e,t,n,r=r||"Identity-H")};var He,Ve=l.lineWidth||.200025,qe=d.__private__.setLineWidth=d.setLineWidth=function(e){return U((e*L).toFixed(2)+" w"),this},Ge=(d.__private__.setLineDash=r.API.setLineDash=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map(function(e){return(e*L).toFixed(3)}).join(" "),t=parseFloat((t*L).toFixed(3)),U("["+e+"] "+t+" d"),this},d.__private__.getLineHeight=d.getLineHeight=function(){return q*He}),$e=(Ge=d.__private__.getLineHeight=d.getLineHeight=function(){return q*He},d.__private__.setLineHeightFactor=d.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(He=e),this}),Xe=d.__private__.getLineHeightFactor=d.getLineHeightFactor=function(){return He};$e(l.lineHeight);var Ye=d.__private__.getHorizontalCoordinate=function(e){return e*L},Ke=d.__private__.getVerticalCoordinate=function(e){return re[T].mediaBox.topRightY-re[T].mediaBox.bottomLeftY-e*L},Je=d.__private__.getHorizontalCoordinateString=function(e){return y(e*L)},Ze=d.__private__.getVerticalCoordinateString=function(e){return y(re[T].mediaBox.topRightY-re[T].mediaBox.bottomLeftY-e*L)},Qe=l.strokeColor||"0 G",et=(d.__private__.getStrokeColor=d.getDrawColor=function(){return de(Qe)},d.__private__.setStrokeColor=d.setDrawColor=function(e,t,n,r){return Qe=pe({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),U(Qe),this},l.fillColor||"0 g"),tt=(d.__private__.getFillColor=d.getFillColor=function(){return de(et)},d.__private__.setFillColor=d.setFillColor=function(e,t,n,r){return et=pe({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),U(et),this},l.textColor||"0 g"),nt=d.__private__.getTextColor=d.getTextColor=function(){return de(tt)},rt=(d.__private__.setTextColor=d.setTextColor=function(e,t,n,r){return tt=pe({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this},l.charSpace||0),it=d.__private__.getCharSpace=d.getCharSpace=function(){return rt},at=(d.__private__.setCharSpace=d.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return rt=e,this},0);d.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},d.__private__.setLineCap=d.setLineCap=function(e){var t=d.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return U((at=t)+" J"),this};var ot,st=0;d.__private__.setLineJoin=d.setLineJoin=function(e){var t=d.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return U((st=t)+" j"),this},d.__private__.setMiterLimit=d.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return ot=parseFloat(y(e*L)),U(ot+" M"),this};for(var lt in d.save=function(e,n){if(e=e||"generated.pdf",(n=n||{}).returnPromise=n.returnPromise||!1,!1!==n.returnPromise)return new Promise(function(n,r){try{var i=Re(Pe(Le()),e);"function"==typeof Re.unload&&t.setTimeout&&setTimeout(Re.unload,911),n(i)}catch(n){r(n.message)}});Re(Pe(Le()),e),"function"==typeof Re.unload&&t.setTimeout&&setTimeout(Re.unload,911)},r.API)r.API.hasOwnProperty(lt)&&("events"===lt&&r.API.events.length?function(e,t){var n,r,i;for(i=t.length-1;-1!==i;i--)n=t[i][0],r=t[i][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(ae,r.API.events):d[lt]=r.API[lt]);return d.internal={pdfEscape:xe,getStyle:ze,getFont:function(){return ee[Ce.apply(d,arguments)]},getFontSize:G,getCharSpace:it,getTextColor:nt,getLineHeight:Ge,getLineHeightFactor:Xe,write:z,getHorizontalCoordinate:Ye,getVerticalCoordinate:Ke,getCoordinateString:Je,getVerticalCoordinateString:Ze,collections:{},newObject:se,newAdditionalObject:ue,newObjectDeferred:le,newObjectDeferredBegin:ce,getFilters:ge,putStream:me,events:ae,scaleFactor:L,pageSize:{getWidth:function(){return(re[T].mediaBox.topRightX-re[T].mediaBox.bottomLeftX)/L},setWidth:function(e){re[T].mediaBox.topRightX=e*L+re[T].mediaBox.bottomLeftX},getHeight:function(){return(re[T].mediaBox.topRightY-re[T].mediaBox.bottomLeftY)/L},setHeight:function(e){re[T].mediaBox.topRightY=e*L+re[T].mediaBox.bottomLeftY}},output:Fe,getNumberOfPages:Ae,pages:M,out:U,f2:y,f3:w,getPageInfo:Me,getPageInfoByObjId:je,getCurrentPageInfo:We,getPDFVersion:g,hasHotfix:De},Object.defineProperty(d.internal.pageSize,"width",{get:function(){return(re[T].mediaBox.topRightX-re[T].mediaBox.bottomLeftX)/L},set:function(e){re[T].mediaBox.topRightX=e*L+re[T].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(d.internal.pageSize,"height",{get:function(){return(re[T].mediaBox.topRightY-re[T].mediaBox.bottomLeftY)/L},set:function(e){re[T].mediaBox.topRightY=e*L+re[T].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(e){for(var t=0,n=V.length;t<n;t++){var r=Se(e[t][0],e[t][1],e[t][2],V[t][3],!0);h[r]=!0;var i=e[t][0].split("-");we(r,i[0],i[1]||"")}ae.publish("addFonts",{fonts:ee,dictionary:te})}(V),O="F1",_e(o,i),ae.publish("initialized"),d}return r.API={events:[]},r.version="1.5.3","function"==typeof define&&define.amd?define("jsPDF",function(){return r}):"undefined"!=typeof module&&module.exports?(module.exports=r,module.exports.jsPDF=r):t.jsPDF=r,r}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")());(function(t,n){var r,i=1,a=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},o=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},s=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return e.toFixed(2)},l=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return e.toFixed(5)};t.__acroform__={};var c=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},u=function(e){return e*i},f=function(e){return e/i},h=function(e){var t=new L,n=X.internal.getHeight(e)||0,r=X.internal.getWidth(e)||0;return t.BBox=[0,0,Number(s(r)),Number(s(n))],t},d=t.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|=1<<t},p=t.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&=~(1<<t)},g=t.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},m=t.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return g(e,t-1)},v=t.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return d(e,t-1)},b=t.__acroform__.clearBitForPdf=function(e,t,n){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return p(e,t-1)},y=t.__acroform__.calculateCoordinates=function(e){var t=this.internal.getHorizontalCoordinate,n=this.internal.getVerticalCoordinate,r=e[0],i=e[1],a=e[2],o=e[3],l={};return l.lowerLeft_X=t(r)||0,l.lowerLeft_Y=n(i+o)||0,l.upperRight_X=t(r+a)||0,l.upperRight_Y=n(i)||0,[Number(s(l.lowerLeft_X)),Number(s(l.lowerLeft_Y)),Number(s(l.upperRight_X)),Number(s(l.upperRight_Y))]},w=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e.V||e.DV,i=S(e,n),a=r.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(r.__private__.encodeColorString(e.color)),t.push("/"+a+" "+s(i.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(i.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=new h(e);return o.stream=t.join("\n"),o}},S=function(e,t){var n=e.maxFontSize||12,i=(e.fontName,{text:"",fontSize:""}),o=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),l=(r.__private__.encodeColorString(e.color),n),c=X.internal.getHeight(e)||0;c=c<0?-c:c;var u=X.internal.getWidth(e)||0;u=u<0?-u:u;l++;e:for(;;){t="";var f=x("3",e,--l).height,h=e.multiline?c-l:(c-f)/2,d=-2,p=h+=2,g=0,m=0,v=0;if(l<=0){t="(...) Tj\n",t+="% Width of Text: "+x(t,e,l=12).width+", FieldWidth:"+u+"\n";break}v=x(o[0]+" ",e,l).width;var b="",y=0;for(var w in o)if(o.hasOwnProperty(w)){b=" "==(b+=o[w]+" ").substr(b.length-1)?b.substr(0,b.length-1):b;var S=parseInt(w);v=x(b+" ",e,l).width;var E=function(t,n,r){if(t+1<o.length){var i=n+" "+o[t+1];return x(i,e,r).width<=u-4}return!1}(S,b,l),_=w>=o.length-1;if(E&&!_){b+=" ";continue}if(E||_){if(_)m=S;else if(e.multiline&&c<(f+2)*(y+2)+2)continue e}else{if(!e.multiline)continue e;if(c<(f+2)*(y+2)+2)continue e;m=S}for(var k="",A=g;A<=m;A++)k+=o[A]+" ";switch(k=" "==k.substr(k.length-1)?k.substr(0,k.length-1):k,v=x(k,e,l).width,e.textAlign){case"right":d=u-v-2;break;case"center":d=(u-v)/2;break;case"left":default:d=2}t+=s(d)+" "+s(p)+" Td\n",t+="("+a(k)+") Tj\n",t+=-s(d)+" 0 Td\n",p=-(l+2),v=0,g=m+1,y++,b=""}break}return i.text=t,i.fontSize=l,i},x=function(e,t,n){var i=r.internal.getFont(t.fontName,t.fontStyle),a=r.getStringUnitWidth(e,{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:r.getStringUnitWidth("3",{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:a}},E={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},_=function(){r.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=r.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];n.objId=void 0,n.hasAnnotation&&k.call(r,n)}},k=function(e){var t={type:"reference",object:e};void 0===r.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===t.type&&e.object===t.object})&&r.internal.getPageInfo(e.page).pageContext.annotations.push(t)},A=function(){if(void 0===r.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");r.internal.write("/AcroForm "+r.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},C=function(){r.internal.events.unsubscribe(r.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete r.internal.acroformPlugin.acroFormDictionaryRoot._eventID,r.internal.acroformPlugin.printedOut=!0},T=function(t){var n=!t;t||(r.internal.newObjectDeferredBegin(r.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),r.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||r.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var i in t)if(t.hasOwnProperty(i)){var a=t[i],o=[],s=a.Rect;if(a.Rect&&(a.Rect=y.call(this,a.Rect)),r.internal.newObjectDeferredBegin(a.objId,!0),a.DA=X.createDefaultAppearanceStream(a),"object"===e(a)&&"function"==typeof a.getKeyValueListForStream&&(o=a.getKeyValueListForStream()),a.Rect=s,a.hasAppearanceStream&&!a.appearanceStreamContent){var l=w.call(this,a);o.push({key:"AP",value:"<</N "+l+">>"}),r.internal.acroformPlugin.xForms.push(l)}if(a.appearanceStreamContent){var c="";for(var u in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(u)){var f=a.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",1<=Object.keys(f).length||Array.isArray(f))for(var i in f){var h;f.hasOwnProperty(i)&&("function"==typeof(h=f[i])&&(h=h.call(this,a)),c+="/"+i+" "+h+" ",0<=r.internal.acroformPlugin.xForms.indexOf(h)||r.internal.acroformPlugin.xForms.push(h))}else"function"==typeof(h=f)&&(h=h.call(this,a)),c+="/"+i+" "+h,0<=r.internal.acroformPlugin.xForms.indexOf(h)||r.internal.acroformPlugin.xForms.push(h);c+=">>"}o.push({key:"AP",value:"<<\n"+c+">>"})}r.internal.putStream({additionalKeyValues:o}),r.internal.out("endobj")}n&&R.call(this,r.internal.acroformPlugin.xForms)},R=function(t){for(var n in t)if(t.hasOwnProperty(n)){var i=n,a=t[n];r.internal.newObjectDeferredBegin(a&&a.objId,!0),"object"===e(a)&&"function"==typeof a.putStream&&a.putStream(),delete t[i]}},N=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(r=this,F.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(E)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");i=r.internal.scaleFactor,r.internal.acroformPlugin.acroFormDictionaryRoot=new P,r.internal.acroformPlugin.acroFormDictionaryRoot._eventID=r.internal.events.subscribe("postPutResources",C),r.internal.events.subscribe("buildDocument",_),r.internal.events.subscribe("putCatalog",A),r.internal.events.subscribe("postPutPages",T),r.internal.acroformPlugin.isInitialized=!0}},B=t.__acroform__.arrayToPdfArray=function(t){if(Array.isArray(t)){for(var n="[",r=0;r<t.length;r++)switch(0!==r&&(n+=" "),e(t[r])){case"boolean":case"number":case"object":n+=t[r].toString();break;case"string":"/"!==t[r].substr(0,1)?n+="("+a(t[r].toString())+")":n+=t[r].toString()}return n+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},I=function(e){return(e=e||"").toString(),e="("+a(e)+")"},O=function(){var e;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(e||(e=r.internal.newObjectDeferred()),!e)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return e},set:function(t){e=t}})};O.prototype.toString=function(){return this.objId+" 0 R"},O.prototype.putStream=function(){var e=this.getKeyValueListForStream();r.internal.putStream({data:this.stream,additionalKeyValues:e}),r.internal.out("endobj")},O.prototype.getKeyValueListForStream=function(){return function(e){var t=[],n=Object.getOwnPropertyNames(e).filter(function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"_"!=e.substring(0,1)});for(var r in n)if(!1===Object.getOwnPropertyDescriptor(e,n[r]).configurable){var i=n[r],a=e[i];a&&(Array.isArray(a)?t.push({key:i,value:B(a)}):a instanceof O?t.push({key:i,value:a.objId+" 0 R"}):"function"!=typeof a&&t.push({key:i,value:a}))}return t}(this)};var L=function(){O.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};c(L,O);var P=function(){O.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<t.length?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e)return"("+e+")"},set:function(t){e=t}})};c(P,O);var F=function e(){O.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(t,3))},set:function(e){!0===Boolean(e)?this.F=v(t,3):this.F=b(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:f(r[0])},set:function(e){r[0]=u(e)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:f(r[1])},
|
||
set:function(e){r[1]=u(e)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:f(r[2])},set:function(e){r[2]=u(e)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:f(r[3])},set:function(e){r[3]=u(e)}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var s=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!s||s.length<1){if(this instanceof V)return;s="FieldObject"+e.FieldNum++}return"("+a(s)+")"},set:function(e){s=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return s},set:function(e){s=e}});var l="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var c="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var h=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return f(h)},set:function(e){h=u(e)}});var d=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return f(d)},set:function(e){d=u(e)}});var p="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return p},set:function(e){p=e}});var g="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!g||this instanceof V||this instanceof G))return I(g)},set:function(e){e=e.toString(),g=e}});var y=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(y)return this instanceof U==0?I(y):y},set:function(e){e=e.toString(),y=this instanceof U==0?o("("===e.substr(0,1)?e.substr(1,e.length-2):e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof U==1?o(y.substr(1,y.length-1)):y},set:function(e){e=e.toString(),y=this instanceof U==1?"/"+e:e}});var w=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(w)return this instanceof U==0?I(w):w},set:function(e){e=e.toString(),w=this instanceof U==0?o("("===e.substr(0,1)?e.substr(1,e.length-2):e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof U==1?o(w.substr(1,w.length-1)):w},set:function(e){e=e.toString(),w=this instanceof U==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var S,x=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return x},set:function(e){e=Boolean(e),x=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(S)return S},set:function(e){S=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,1):this.Ff=b(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,2):this.Ff=b(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,3):this.Ff=b(this.Ff,3)}});var E=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==E)return E},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');E=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e="left";switch(E){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:E=2;break;case"center":case 1:E=1;break;case"left":case 0:default:E=0}}})};c(F,O);var D=function(){F.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return B(t)},set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,i=[];r=t.exec(e);)i.push(r[n]);return i}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,18):this.Ff=b(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=v(this.Ff,19):this.Ff=b(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=v(this.Ff,20),t.sort()):this.Ff=b(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,22):this.Ff=b(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,23):this.Ff=b(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,27):this.Ff=b(this.Ff,27)}}),this.hasAppearanceStream=!1};c(D,F);var M=function(){D.call(this),this.fontName="helvetica",this.combo=!1};c(M,D);var j=function(){M.call(this),this.combo=!0};c(j,M);var W=function(){j.call(this),this.edit=!0};c(W,j);var U=function(){F.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,15):this.Ff=b(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,16):this.Ff=b(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,17):this.Ff=b(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,26):this.Ff=b(this.Ff,26)}});var t,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(0!==Object.keys(n).length){var e,t=[];for(e in t.push("<<"),n)t.push("/"+e+" ("+n[e]+")");return t.push(">>"),t.join("\n")}},set:function(t){"object"===e(t)&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){"string"==typeof e&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};c(U,F);var z=function(){U.call(this),this.pushButton=!0};c(z,U);var H=function(){U.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};c(H,U);var V=function(){var t,n;F.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(e){n=e}});var r,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e,t=[];for(e in t.push("<<"),i)t.push("/"+e+" ("+i[e]+")");return t.push(">>"),t.join("\n")},set:function(t){"object"===e(t)&&(i=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(e){"string"==typeof e&&(i.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(e){r="/"+e}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=X.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};c(V,F),H.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e&&"getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},H.prototype.createOption=function(e){this.Kids.length;var t=new V;return t.Parent=this,t.optionName=e,this.Kids.push(t),Y.call(this,t),t};var q=function(){U.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=X.CheckBox.createAppearanceStream()};c(q,U);var G=function(){F.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,13):this.Ff=b(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,21):this.Ff=b(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,23):this.Ff=b(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,24):this.Ff=b(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,25):this.Ff=b(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,26):this.Ff=b(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};c(G,F);var $=function(){G.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,14):this.Ff=b(this.Ff,14)}}),this.password=!0};c($,G);var X={CheckBox:{createAppearanceStream:function(){return{N:{On:X.CheckBox.YesNormal},D:{On:X.CheckBox.YesPushDown,Off:X.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=h(e),n=[],i=r.internal.getFont(e.fontName,e.fontStyle).id,a=r.__private__.encodeColorString(e.color),o=S(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+s(X.internal.getWidth(e))+" "+s(X.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+i+" "+s(o.fontSize)+" Tf "+a),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=h(e),n=r.internal.getFont(e.fontName,e.fontStyle).id,i=r.__private__.encodeColorString(e.color),a=[],o=X.internal.getHeight(e),l=X.internal.getWidth(e),c=S(e,e.caption);return a.push("1 g"),a.push("0 0 "+s(l)+" "+s(o)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+s(l-1)+" "+s(o-1)+" re"),a.push("W"),a.push("n"),a.push("0 g"),a.push("BT"),a.push("/"+n+" "+s(c.fontSize)+" Tf "+i),a.push(c.text),a.push("ET"),a.push("Q"),t.stream=a.join("\n"),t},OffPushDown:function(e){var t=h(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(X.internal.getWidth(e))+" "+s(X.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:X.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=X.RadioButton.Circle.YesNormal,t.D[e]=X.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=h(e),n=[],r=X.internal.getWidth(e)<=X.internal.getHeight(e)?X.internal.getWidth(e)/4:X.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=X.internal.Bezier_C,a=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+l(X.internal.getWidth(e)/2)+" "+l(X.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=h(e),n=[],r=X.internal.getWidth(e)<=X.internal.getHeight(e)?X.internal.getWidth(e)/4:X.internal.getHeight(e)/4,i=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),a=Number((i*X.internal.Bezier_C).toFixed(5)),o=Number((r*X.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+l(X.internal.getWidth(e)/2)+" "+l(X.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),n.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),n.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),n.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+l(X.internal.getWidth(e)/2)+" "+l(X.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=h(e),n=[],r=X.internal.getWidth(e)<=X.internal.getHeight(e)?X.internal.getWidth(e)/4:X.internal.getHeight(e)/4,i=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),a=Number((i*X.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+l(X.internal.getWidth(e)/2)+" "+l(X.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),n.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),n.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),n.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:X.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=X.RadioButton.Cross.YesNormal,t.D[e]=X.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=h(e),n=[],r=X.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+s(X.internal.getWidth(e)-2)+" "+s(X.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(s(r.x1.x)+" "+s(r.x1.y)+" m"),n.push(s(r.x2.x)+" "+s(r.x2.y)+" l"),n.push(s(r.x4.x)+" "+s(r.x4.y)+" m"),n.push(s(r.x3.x)+" "+s(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=h(e),n=X.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+s(X.internal.getWidth(e))+" "+s(X.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+s(X.internal.getWidth(e)-2)+" "+s(X.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(s(n.x1.x)+" "+s(n.x1.y)+" m"),r.push(s(n.x2.x)+" "+s(n.x2.y)+" l"),r.push(s(n.x4.x)+" "+s(n.x4.y)+" m"),r.push(s(n.x3.x)+" "+s(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=h(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(X.internal.getWidth(e))+" "+s(X.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=r.internal.getFont(e.fontName,e.fontStyle).id,n=r.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};X.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=X.internal.getWidth(e),n=X.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},X.internal.getWidth=function(t){var n=0;return"object"===e(t)&&(n=u(t.Rect[2])),n},X.internal.getHeight=function(t){var n=0;return"object"===e(t)&&(n=u(t.Rect[3])),n};var Y=t.addField=function(e){if(N.call(this),!(e instanceof F))throw new Error("Invalid argument passed to jsPDF.addField.");return function(e){r.internal.acroformPlugin.printedOut&&(r.internal.acroformPlugin.printedOut=!1,r.internal.acroformPlugin.acroFormDictionaryRoot=null),r.internal.acroformPlugin.acroFormDictionaryRoot||N.call(r),r.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e)}.call(this,e),e.page=r.internal.getCurrentPageInfo().pageNumber,this};t.addButton=function(e){if(e instanceof U==0)throw new Error("Invalid argument passed to jsPDF.addButton.");return Y.call(this,e)},t.addTextField=function(e){if(e instanceof G==0)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Y.call(this,e)},t.addChoiceField=function(e){if(e instanceof D==0)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Y.call(this,e)},"object"==e(n)&&void 0===n.ChoiceField&&void 0===n.ListBox&&void 0===n.ComboBox&&void 0===n.EditBox&&void 0===n.Button&&void 0===n.PushButton&&void 0===n.RadioButton&&void 0===n.CheckBox&&void 0===n.TextField&&void 0===n.PasswordField?(n.ChoiceField=D,n.ListBox=M,n.ComboBox=j,n.EditBox=W,n.Button=U,n.PushButton=z,n.RadioButton=H,n.CheckBox=q,n.TextField=G,n.PasswordField=$,n.AcroForm={Appearance:X}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),t.AcroFormChoiceField=D,t.AcroFormListBox=M,t.AcroFormComboBox=j,t.AcroFormEditBox=W,t.AcroFormButton=U,t.AcroFormPushButton=z,t.AcroFormRadioButton=H,t.AcroFormCheckBox=q,t.AcroFormTextField=G,t.AcroFormPasswordField=$,t.AcroFormAppearance=X,t.AcroForm={ChoiceField:D,ListBox:M,ComboBox:j,EditBox:W,Button:U,PushButton:z,RadioButton:H,CheckBox:q,TextField:G,PasswordField:$,Appearance:X}})((window.tmp=de).API,"undefined"!=typeof window&&window||"undefined"!=typeof global&&global),function(t){var n="addImage_",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=t.getImageFileTypeByImageData=function(e,n){var i,a;n=n||"UNKNOWN";var o,s,l,c="UNKNOWN";for(l in t.isArrayBufferView(e)&&(e=t.arrayBufferToBinaryString(e)),r)for(o=r[l],i=0;i<o.length;i+=1){for(s=!0,a=0;a<o[i].length;a+=1)if(void 0!==o[i][a]&&o[i][a]!==e.charCodeAt(a)){s=!1;break}if(!0===s){c=l;break}}return"UNKNOWN"===c&&"UNKNOWN"!==n&&(console.warn('FileType of Image not recognized. Processing image as "'+n+'".'),c=n),c},a=function e(t){for(var n=this.internal.newObject(),r=this.internal.write,i=this.internal.putStream,a=(0,this.internal.getFilters)();-1!==a.indexOf("FlateEncode");)a.splice(a.indexOf("FlateEncode"),1);t.n=n;var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:t.w}),o.push({key:"Height",value:t.h}),t.cs===this.color_spaces.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.pal.length/3-1)+" "+("smask"in t?n+2:n+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+t.cs}),t.cs===this.color_spaces.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:t.bpc}),"dp"in t&&o.push({key:"DecodeParms",value:"<<"+t.dp+">>"}),"trns"in t&&t.trns.constructor==Array){for(var s="",l=0,c=t.trns.length;l<c;l++)s+=t.trns[l]+" "+t.trns[l]+" ";o.push({key:"Mask",value:"["+s+"]"})}"smask"in t&&o.push({key:"SMask",value:n+1+" 0 R"});var u=void 0!==t.f?["/"+t.f]:void 0;if(i({data:t.data,additionalKeyValues:o,alreadyAppliedFilters:u}),r("endobj"),"smask"in t){var f="/Predictor "+t.p+" /Colors 1 /BitsPerComponent "+t.bpc+" /Columns "+t.w,h={w:t.w,h:t.h,cs:"DeviceGray",bpc:t.bpc,dp:f,data:t.smask};"f"in t&&(h.f=t.f),e.call(this,h)}t.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),i({data:this.arrayBufferToBinaryString(new Uint8Array(t.pal))}),r("endobj"))},o=function(){var e=this.internal.collections[n+"images"];for(var t in e)a.call(this,e[t])},s=function(){var e,t=this.internal.collections[n+"images"],r=this.internal.write;for(var i in t)r("/I"+(e=t[i]).i,e.n,"0","R")},l=function(e){return"function"==typeof t["process"+e.toUpperCase()]},c=function(t){return"object"===e(t)&&1===t.nodeType},u=function(e,n){if("IMG"===e.nodeName&&e.hasAttribute("src")){var r=""+e.getAttribute("src");if(0===r.indexOf("data:image/"))return unescape(r);var i=t.loadFile(r);if(void 0!==i)return btoa(i)}if("CANVAS"===e.nodeName){var a=e;return e.toDataURL("image/jpeg",1)}(a=document.createElement("canvas")).width=e.clientWidth||e.width,a.height=e.clientHeight||e.height;var o=a.getContext("2d");if(!o)throw"addImage requires canvas to be supported by browser.";return o.drawImage(e,0,0,a.width,a.height),a.toDataURL("png"==(""+n).toLowerCase()?"image/png":"image/jpeg")},f=function(e,t){var n;if(t)for(var r in t)if(e===t[r].alias){n=t[r];break}return n};t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},t.sHashCode=function(e){var t,n=0;if(0===(e=e||"").length)return n;for(t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return n},t.isString=function(e){return"string"==typeof e},t.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+\/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(e.substr(-2))&&(t=!1),t},t.extractInfoFromBase64DataURI=function(e){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(e)},t.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),n=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:t[1]})}return n},t.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},t.isArrayBuffer=function(e){return!!this.supportsArrayBuffer()&&e instanceof ArrayBuffer},t.isArrayBufferView=function(e){return!!this.supportsArrayBuffer()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},t.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},t.arrayBufferToBinaryString=function(e){if("function"==typeof atob)return atob(this.arrayBufferToBase64(e))},t.arrayBufferToBase64=function(e){for(var t,n="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(e),a=i.byteLength,o=a%3,s=a-o,l=0;l<s;l+=3)n+=r[(16515072&(t=i[l]<<16|i[l+1]<<8|i[l+2]))>>18]+r[(258048&t)>>12]+r[(4032&t)>>6]+r[63&t];return 1==o?n+=r[(252&(t=i[s]))>>2]+r[(3&t)<<4]+"==":2==o&&(n+=r[(64512&(t=i[s]<<8|i[s+1]))>>10]+r[(1008&t)>>4]+r[(15&t)<<2]+"="),n},t.createImageInfo=function(e,t,n,r,i,a,o,s,l,c,u,f,h){var d={alias:s,w:t,h:n,cs:r,bpc:i,i:o,data:e};return a&&(d.f=a),l&&(d.dp=l),c&&(d.trns=c),u&&(d.pal=u),f&&(d.smask=f),h&&(d.p=h),d},t.addImage=function(r,i,a,h,d,p,g,m,v){var b="";if("string"!=typeof i){var y=p;p=d,d=h,h=a,a=i,i=y}if("object"===e(r)&&!c(r)&&"imageData"in r){var w=r;r=w.imageData,i=w.format||i||"UNKNOWN",a=w.x||a||0,h=w.y||h||0,d=w.w||d,p=w.h||p,g=w.alias||g,m=w.compression||m,v=w.rotation||w.angle||v}var S=this.internal.getFilters();if(void 0===m&&-1!==S.indexOf("FlateEncode")&&(m="SLOW"),"string"==typeof r&&(r=unescape(r)),isNaN(a)||isNaN(h))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var x,E,_,k,A,C,T,R=function(){var e=this.internal.collections[n+"images"];return e||(this.internal.collections[n+"images"]=e={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",s)),e}.call(this);if(!((x=f(r,R))||(c(r)&&(r=u(r,i)),(null==(T=g)||0===T.length)&&(g="string"==typeof(C=r)?t.sHashCode(C):t.isArrayBufferView(C)?t.sHashCode(t.arrayBufferToBinaryString(C)):null),x=f(g,R)))){if(this.isString(r)&&(""!==(b=this.convertStringToImageData(r))?r=b:void 0!==(b=t.loadFile(r))&&(r=b)),i=this.getImageFileTypeByImageData(r,i),!l(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if(this.supportsArrayBuffer()&&(r instanceof Uint8Array||(E=r,r=this.binaryStringToUint8Array(r))),!(x=this["process"+i.toUpperCase()](r,(A=0,(k=R)&&(A=Object.keys?Object.keys(k).length:function(e){var t=0;for(var n in e)e.hasOwnProperty(n)&&t++;return t}(k)),A),g,((_=m)&&"string"==typeof _&&(_=_.toUpperCase()),_ in t.image_compression?_:t.image_compression.NONE),E)))throw new Error("An unknown error occurred whilst processing the image")}return function(e,t,n,r,i,a,o,s){var l=function(e,t,n){return e||t||(t=e=-96),e<0&&(e=-1*n.w*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.h*72/t/this.internal.scaleFactor),0===e&&(e=t*n.w/n.h),0===t&&(t=e*n.h/n.w),[e,t]}.call(this,n,r,i),c=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;if(n=l[0],r=l[1],o[a]=i,s){s*=Math.PI/180;var f=Math.cos(s),h=Math.sin(s),d=function(e){return e.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,c(e),u(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([c(n),"0","0",c(r),"0","0","cm"].join(" "))):this.internal.write([c(n),"0","0",c(r),c(e),u(t+r),"cm"].join(" ")),this.internal.write("/I"+i.i+" Do"),this.internal.write("Q")}.call(this,a,h,d,p,x,x.i,R,v),this},t.convertStringToImageData=function(e){var n,r="";if(this.isString(e)){var i;n=null!==(i=this.extractImageFromDataUrl(e))?i.data:e;try{r=atob(n)}catch(e){throw t.validateStringAsBase64(n)?new Error("atob-Error in jsPDF.convertStringToImageData "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return r};var h=function(e,t){return e.subarray(t,t+5)};t.processJPEG=function(e,t,n,r,a,o){var s,l=this.decode.DCT_DECODE;if(!this.isString(e)&&!this.isArrayBuffer(e)&&!this.isArrayBufferView(e))return null;if(this.isString(e)&&(s=function(e){var t;if("JPEG"!==i(e))throw new Error("getJpegSize requires a binary string jpeg file");for(var n=256*e.charCodeAt(4)+e.charCodeAt(5),r=4,a=e.length;r<a;){if(r+=n,255!==e.charCodeAt(r))throw new Error("getJpegSize could not find the size of the image");if(192===e.charCodeAt(r+1)||193===e.charCodeAt(r+1)||194===e.charCodeAt(r+1)||195===e.charCodeAt(r+1)||196===e.charCodeAt(r+1)||197===e.charCodeAt(r+1)||198===e.charCodeAt(r+1)||199===e.charCodeAt(r+1))return t=256*e.charCodeAt(r+5)+e.charCodeAt(r+6),[256*e.charCodeAt(r+7)+e.charCodeAt(r+8),t,e.charCodeAt(r+9)];r+=2,n=256*e.charCodeAt(r)+e.charCodeAt(r+1)}}(e)),this.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.isArrayBufferView(e)&&(s=function(e){if(65496!=(e[0]<<8|e[1]))throw new Error("Supplied data is not a JPEG");for(var t,n=e.length,r=(e[4]<<8)+e[5],i=4;i<n;){if(r=((t=h(e,i+=r))[2]<<8)+t[3],(192===t[1]||194===t[1])&&255===t[0]&&7<r)return{width:((t=h(e,i+5))[2]<<8)+t[3],height:(t[0]<<8)+t[1],numcomponents:t[4]};i+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(e),e=a||this.arrayBufferToBinaryString(e)),void 0===o)switch(s.numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;default:case 3:o=this.color_spaces.DEVICE_RGB}return this.createImageInfo(e,s.width,s.height,o,8,l,t,n)},t.processJPG=function(){return this.processJPEG.apply(this,arguments)},t.getImageProperties=function(e){var n,r,i="";if(c(e)&&(e=u(e)),this.isString(e)&&(""!==(i=this.convertStringToImageData(e))?e=i:void 0!==(i=t.loadFile(e))&&(e=i)),r=this.getImageFileTypeByImageData(e),!l(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(this.supportsArrayBuffer()&&(e instanceof Uint8Array||(e=this.binaryStringToUint8Array(e))),!(n=this["process"+r.toUpperCase()](e)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:r,width:n.w,height:n.h,colorSpace:n.cs,compressionMode:n.f,bitsPerComponent:n.bpc}}}(de.API),a=de.API,de.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),a.events.push(["putPage",function(e){for(var t=this.internal.getPageInfoByObjId(e.objId),n=e.pageContext.annotations,r=function(e){if(void 0!==e&&""!=e)return!0},i=!1,a=0;a<n.length&&!i;a++)switch((l=n[a]).type){case"link":if(r(l.options.url)||r(l.options.pageNumber)){i=!0;break}case"reference":case"text":case"freetext":i=!0}if(0!=i){this.internal.write("/Annots ["),this.internal.pageSize.height;var o=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;for(a=0;a<n.length;a++){var l;switch((l=n[a]).type){case"reference":this.internal.write(" "+l.object.objId+" 0 R ");break;case"text":var c=this.internal.newAdditionalObject(),u=this.internal.newAdditionalObject(),f=l.title||"Note";m="<</Type /Annot /Subtype /Text "+(d="/Rect ["+o(l.bounds.x)+" "+s(l.bounds.y+l.bounds.h)+" "+o(l.bounds.x+l.bounds.w)+" "+s(l.bounds.y)+"] ")+"/Contents ("+l.contents+")",m+=" /Popup "+u.objId+" 0 R",m+=" /P "+t.objId+" 0 R",m+=" /T ("+f+") >>",c.content=m;var h=c.objId+" 0 R";m="<</Type /Annot /Subtype /Popup "+(d="/Rect ["+o(l.bounds.x+30)+" "+s(l.bounds.y+l.bounds.h)+" "+o(l.bounds.x+l.bounds.w+30)+" "+s(l.bounds.y)+"] ")+" /Parent "+h,l.open&&(m+=" /Open true"),m+=" >>",u.content=m,
|
||
this.internal.write(c.objId,"0 R",u.objId,"0 R");break;case"freetext":var d="/Rect ["+o(l.bounds.x)+" "+s(l.bounds.y)+" "+o(l.bounds.x+l.bounds.w)+" "+s(l.bounds.y+l.bounds.h)+"] ",p=l.color||"#000000";m="<</Type /Annot /Subtype /FreeText "+d+"/Contents ("+l.contents+")",m+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+p+")",m+=" /Border [0 0 0]",m+=" >>",this.internal.write(m);break;case"link":if(l.options.name){var g=this.annotations._nameMap[l.options.name];l.options.pageNumber=g.page,l.options.top=g.y}else l.options.top||(l.options.top=0);d="/Rect ["+o(l.x)+" "+s(l.y)+" "+o(l.x+l.w)+" "+s(l.y+l.h)+"] ";var m="";if(l.options.url)m="<</Type /Annot /Subtype /Link "+d+"/Border [0 0 0] /A <</S /URI /URI ("+l.options.url+") >>";else if(l.options.pageNumber)switch(m="<</Type /Annot /Subtype /Link "+d+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(l.options.pageNumber).objId+" 0 R",l.options.magFactor=l.options.magFactor||"XYZ",l.options.magFactor){case"Fit":m+=" /Fit]";break;case"FitH":m+=" /FitH "+l.options.top+"]";break;case"FitV":l.options.left=l.options.left||0,m+=" /FitV "+l.options.left+"]";break;case"XYZ":default:var v=s(l.options.top);l.options.left=l.options.left||0,void 0===l.options.zoom&&(l.options.zoom=0),m+=" /XYZ "+l.options.left+" "+v+" "+l.options.zoom+"]"}""!=m&&(m+=" >>",this.internal.write(m))}}this.internal.write("]")}}]),a.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},a.link=function(e,t,n,r,i){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:e,y:t,w:n,h:r,options:i,type:"link"})},a.textWithLink=function(e,t,n,r){var i=this.getTextWidth(e),a=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,n),n+=.2*a,this.link(t,n-a,i,a,r),i},a.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var a=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},o=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return o(e)&&0<=i.indexOf(e.charCodeAt(0))},c=(e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return o(e)&&a(e)&&1<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasFinalForm=function(e){return o(e)&&a(e)&&2<=t[e.charCodeAt(0)].length}),u=(e.__arabicParser__.arabicLetterHasInitialForm=function(e){return o(e)&&a(e)&&3<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasMedialForm=function(e){return o(e)&&a(e)&&4==t[e.charCodeAt(0)].length}),f=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,i=0,a="",o=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(o++,"number"==typeof(r=r[e.charCodeAt(t)])&&(i=-1!==(i=h(e.charAt(t),e.charAt(t-o),e.charAt(t+1)))?i:0,a+=String.fromCharCode(r),r=n,o=0),t===e.length-1&&(r=n,a+=e.charAt(t-(o-1)),t-=o-1,o=0)):(r=n,a+=e.charAt(t-o),t-=o,o=0);return a},h=(e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]},e.__arabicParser__.getCorrectForm=function(e,t,n){return o(e)?!1===a(e)?-1:!c(e)||!o(t)&&!o(n)||!o(n)&&s(t)||s(e)&&!o(t)||s(e)&&l(t)||s(e)&&s(t)?0:u(e)&&o(t)&&!s(t)&&o(n)&&c(n)?3:s(e)||!o(n)?1:2:-1}),d=e.__arabicParser__.processArabic=e.processArabic=function(e){var n=0,r=0,i=0,a="",s="",l="",c=(e=e||"").split("\\s+"),u=[];for(n=0;n<c.length;n+=1){for(u.push(""),r=0;r<c[n].length;r+=1)a=c[n][r],s=c[n][r-1],l=c[n][r+1],o(a)?(i=h(a,s,l),u[n]+=-1!==i?String.fromCharCode(t[a.charCodeAt(0)][i]):a):u[n]+=a;u[n]=f(u[n])}return u.join(" ")};e.events.push(["preProcessText",function(e){var t=e.text,n=(e.x,e.y,e.options,e.mutex,[]);if("[object Array]"===Object.prototype.toString.call(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)"[object Array]"===Object.prototype.toString.call(t[r])?n.push([d(t[r][0]),t[r][1],t[r][2]]):n.push([d(t[r])]);e.text=n}else e.text=d(t)}])}(de.API),de.API.autoPrint=function(e){var t;switch((e=e||{}).variant=e.variant||"non-conform",e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})}return this},o=de.API,(s=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(e){i=e}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return(this.pdf.context2d._canvas=this).pdf.context2d},s.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},o.events.push(["initialized",function(){this.canvas=new s,this.canvas.pdf=this}]),l=de.API,u={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},f=1,h=function(e,t,n,r,i){u={x:e,y:t,w:n,h:r,ln:i}},d=function(){return u},p={left:0,top:0,bottom:0},l.setHeaderFunction=function(e){c=e},l.getTextDimensions=function(e,t){var n=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(t=t||{}).scaleFactor||this.internal.scaleFactor),i=0,a=0,o=0;if("string"==typeof e)0!=(i=this.getStringUnitWidth(e)*n)&&(a=1);else{if("[object Array]"!==Object.prototype.toString.call(e))throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var s=0;s<e.length;s++)i<(o=this.getStringUnitWidth(e[s])*n)&&(i=o);0!==i&&(a=e.length)}return{w:i/=r,h:Math.max((a*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/r,0)}},l.cellAddPage=function(){var e=this.margins||p;this.addPage(),h(e.left,e.top,void 0,void 0),f+=1},l.cellInitialize=function(){u={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},f=1},l.cell=function(e,t,n,r,i,a,o){var s=d(),l=!1;if(void 0!==s.ln)if(s.ln===a)e=s.x+s.w,t=s.y;else{var c=this.margins||p;s.y+s.h+r+13>=this.internal.pageSize.getHeight()-c.bottom&&(this.cellAddPage(),l=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(a,!0)),t=d().y+d().h,l&&(t=23)}if(void 0!==i[0])if(this.printingHeaderRow?this.rect(e,t,n,r,"FD"):this.rect(e,t,n,r),"right"===o){i instanceof Array||(i=[i]);for(var u=0;u<i.length;u++){var f=i[u],g=this.getStringUnitWidth(f)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(f,e+n-g-3,t+this.internal.getLineHeight()*(u+1))}}else this.text(i,e+3,t+this.internal.getLineHeight());return h(e,t,n,r,a),this},l.arrayMax=function(e,t){var n,r,i,a=e[0];for(n=0,r=e.length;n<r;n+=1)i=e[n],t?-1===t(a,i)&&(a=i):a<i&&(a=i);return a},l.table=function(e,t,n,r,i){if(!n)throw"No data for PDF table";var a,o,s,c,h,d,g,m,v,b,y=[],w=[],S={},x={},E=[],_=[],k=!1,A=!0,C=12,T=p;if(T.width=this.internal.pageSize.getWidth(),i&&(!0===i.autoSize&&(k=!0),!1===i.printHeaders&&(A=!1),i.fontSize&&(C=i.fontSize),i.css&&void 0!==i.css["font-size"]&&(C=16*i.css["font-size"]),i.margins&&(T=i.margins)),this.lnMod=0,u={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},f=1,this.printHeaders=A,this.margins=T,this.setFontSize(C),this.table_font_size=C,null==r)y=Object.keys(n[0]);else if(r[0]&&"string"!=typeof r[0])for(o=0,s=r.length;o<s;o+=1)a=r[o],y.push(a.name),w.push(a.prompt),x[a.name]=a.width*(19.049976/25.4);else y=r;if(k)for(b=function(e){return e[a]},o=0,s=y.length;o<s;o+=1){for(S[a=y[o]]=n.map(b),E.push(this.getTextDimensions(w[o]||a,{scaleFactor:1}).w),g=0,c=(d=S[a]).length;g<c;g+=1)h=d[g],E.push(this.getTextDimensions(h,{scaleFactor:1}).w);x[a]=l.arrayMax(E),E=[]}if(A){var R=this.calculateLineHeight(y,x,w.length?w:y);for(o=0,s=y.length;o<s;o+=1)a=y[o],_.push([e,t,x[a],R,String(w.length?w[o]:a)]);this.setTableHeaderRow(_),this.printHeaderRow(1,!1)}for(o=0,s=n.length;o<s;o+=1)for(m=n[o],R=this.calculateLineHeight(y,x,m),g=0,v=y.length;g<v;g+=1)a=y[g],this.cell(e,t,x[a],R,m[a],o+2,a.align);return this.lastCellPos=u,this.table_x=e,this.table_y=t,this},l.calculateLineHeight=function(e,t,n){for(var r,i=0,a=0;a<e.length;a++){n[r=e[a]]=this.splitTextToSize(String(n[r]),t[r]-3);var o=this.internal.getLineHeight()*n[r].length+3;i<o&&(i=o)}return i},l.setTableHeaderRow=function(e){this.tableHeaderRow=e},l.printHeaderRow=function(e,t){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var n,r,i,a;if(this.printingHeaderRow=!0,void 0!==c){var o=c(this,f);h(o[0],o[1],o[2],o[3],-1)}this.setFontStyle("bold");var s=[];for(i=0,a=this.tableHeaderRow.length;i<a;i+=1)this.setFillColor(200,200,200),n=this.tableHeaderRow[i],t&&(this.margins.top=13,n[1]=this.margins&&this.margins.top||0,s.push(n)),r=[].concat(n),this.cell.apply(this,r.concat(e));0<s.length&&this.setTableHeaderRow(s),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(t,n){var r,i,a,o,s,l=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new P,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new O,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new O,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new c(this),r=this.internal.f2,this.internal.f3,i=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,s=this.internal.getVerticalCoordinate}]);var c=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return e}});var t=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return t},set:function(e){t=Boolean(e)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=0;Object.defineProperty(this,"posX",{get:function(){return r},set:function(e){isNaN(e)||(r=e)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(e){a=Boolean(e)}});var o=0;Object.defineProperty(this,"lastBreak",{get:function(){return o},set:function(e){o=e}});var s=[];Object.defineProperty(this,"pageBreaks",{get:function(){return s},set:function(e){s=e}});var c=new l;Object.defineProperty(this,"ctx",{get:function(){return c},set:function(e){e instanceof l&&(c=e)}}),Object.defineProperty(this,"path",{get:function(){return c.path},set:function(e){c.path=e}});var f=[];Object.defineProperty(this,"ctxStack",{get:function(){return f},set:function(e){f=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=u(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=u(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var n=t[1],r=(t[2],t[3]),i=t[4],a=t[5],o=t[6];i="px"===a?Math.floor(parseFloat(i)):"em"===a?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)),this.pdf.setFontSize(i);var s="";("bold"===r||700<=parseInt(r,10)||"bold"===n)&&(s="bold"),"italic"===n&&(s+="italic"),0===s.length&&(s="normal");for(var l="",c=o.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),u={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},f=0;f<c.length;f++){if(void 0!==this.pdf.internal.getFont(c[f],s,{noFallback:!0,disableWarning:!0})){l=c[f];break}if("bolditalic"===s&&void 0!==this.pdf.internal.getFont(c[f],"bold",{noFallback:!0,disableWarning:!0}))l=c[f],s="bold";else if(void 0!==this.pdf.internal.getFont(c[f],"normal",{noFallback:!0,disableWarning:!0})){l=c[f],s="normal";break}}if(""===l)for(f=0;f<c.length;f++)if(u[c[f]]){l=u[c[f]];break}l=""===l?"Times":l,this.pdf.setFont(l,s)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};c.prototype.fill=function(){m.call(this,"fill",!1)},c.prototype.stroke=function(){m.call(this,"stroke",!1)},c.prototype.beginPath=function(){this.path=[{type:"begin"}]},c.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new O(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new O(e,t)},c.prototype.closePath=function(){var t=new O(0,0),n=0;for(n=this.path.length-1;-1!==n;n--)if("begin"===this.path[n].type&&"object"===e(this.path[n+1])&&"number"==typeof this.path[n+1].x){t=new O(this.path[n+1].x,this.path[n+1].y),this.path.push({type:"lt",x:t.x,y:t.y});break}"object"===e(this.path[n+2])&&"number"==typeof this.path[n+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[n+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new O(t.x,t.y)},c.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new O(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new O(n.x,n.y)},c.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),m.call(this,null,!0)},c.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new O(n,r)),a=this.ctx.transform.applyToPoint(new O(e,t));this.path.push({type:"qct",x1:a.x,y1:a.y,x:i.x,y:i.y}),this.ctx.lastPoint=new O(i.x,i.y)},c.prototype.bezierCurveTo=function(e,t,n,r,i,a){if(isNaN(i)||isNaN(a)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var o=this.ctx.transform.applyToPoint(new O(i,a)),s=this.ctx.transform.applyToPoint(new O(e,t)),l=this.ctx.transform.applyToPoint(new O(n,r));this.path.push({type:"bct",x1:s.x,y1:s.y,x2:l.x,y2:l.y,x:o.x,y:o.y}),this.ctx.lastPoint=new O(o.x,o.y)},c.prototype.arc=function(e,t,n,r,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(a=Boolean(a),!this.ctx.transform.isIdentity){var o=this.ctx.transform.applyToPoint(new O(e,t));e=o.x,t=o.y;var s=this.ctx.transform.applyToPoint(new O(0,n)),l=this.ctx.transform.applyToPoint(new O(0,0));n=Math.sqrt(Math.pow(s.x-l.x,2)+Math.pow(s.y-l.y,2))}Math.abs(i-r)>=2*Math.PI&&(r=0,i=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:i,counterclockwise:a})},c.prototype.arcTo=function(e,t,n,r,i){throw new Error("arcTo not implemented.")},c.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},c.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},c.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");h.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},c.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},c.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new l(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},c.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},c.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var u=function(e){var t,n,r,i;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))i=r=n=t=0;else{var a=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==a)t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]),i=1;else if(null!==(a=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(e)))t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]),i=parseFloat(a[4]);else{if(i=1,"string"==typeof e&&"#"!==e.charAt(0)){var o=new RGBColor(e);e=o.ok?o.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:i,style:e}},f=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},h=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};c.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!f.call(this)){n=b.call(this,n);var i=R(this.ctx.transform.rotation),a=this.ctx.transform.scaleX;E.call(this,{text:e,x:t,y:n,scale:a,angle:i,align:this.textAlign,maxWidth:r})}},c.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!h.call(this)){r=isNaN(r)?void 0:r,n=b.call(this,n);var i=R(this.ctx.transform.rotation),a=this.ctx.transform.scaleX;E.call(this,{text:e,x:t,y:n,scale:a,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},c.prototype.measureText=function(e){if("string"!=typeof e)throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),i=t.getStringUnitWidth(e)*r/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:i*=Math.round(96*n/72*1e4)/1e4})},c.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new P(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},c.prototype.rotate=function(e){if(isNaN(e))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new P(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},c.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new P(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},c.prototype.transform=function(e,t,n,r,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(a))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var o=new P(e,t,n,r,i,a);this.ctx.transform=this.ctx.transform.multiply(o)},c.prototype.setTransform=function(e,t,n,r,i,a){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,a=isNaN(a)?0:a,this.ctx.transform=new P(e,t,n,r,i,a)},c.prototype.drawImage=function(e,t,n,r,i,a,o,s,l){var c=this.pdf.getImageProperties(e),u=1,f=1,h=1,p=1;void 0!==r&&void 0!==s&&(h=s/r,p=l/i,u=c.width/r*s/r,f=c.height/i*l/i),void 0===a&&(a=t,o=n,n=t=0),void 0!==r&&void 0===s&&(s=r,l=i),void 0===r&&void 0===s&&(s=c.width,l=c.height);var m=this.ctx.transform.decompose(),b=R(m.rotate.shx);m.scale.sx,m.scale.sy;for(var y,w=new P,S=((w=(w=(w=w.multiply(m.translate)).multiply(m.skew)).multiply(m.scale)).applyToPoint(new O(s,l)),w.applyToRectangle(new L(a-t*h,o-n*p,r*u,i*f))),x=d.call(this,S),E=[],_=0;_<x.length;_+=1)-1===E.indexOf(x[_])&&E.push(x[_]);if(E.sort(),this.autoPaging)for(var k=E[0],A=E[E.length-1],C=k;C<A+1;C++){if(this.pdf.setPage(C),0!==this.ctx.clip_path.length){var T=this.path;y=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(y,this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY),v.call(this,"fill",!0),this.path=T}var N=JSON.parse(JSON.stringify(S));N=g([N],this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY)[0],this.pdf.addImage(e,"jpg",N.x,N.y,N.w,N.h,null,null,b)}else this.pdf.addImage(e,"jpg",S.x,S.y,S.w,S.h,null,null,b)};var d=function(e,t,n){var r=[];switch(t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height,e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+this.posY)/n)+1);break;case"arc":r.push(Math.floor((e.y+this.posY-e.radius)/n)+1),r.push(Math.floor((e.y+this.posY+e.radius)/n)+1);break;case"qct":var i=B(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor(i.y/n)+1),r.push(Math.floor((i.y+i.h)/n)+1);break;case"bct":var a=I(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor(a.y/n)+1),r.push(Math.floor((a.y+a.h)/n)+1);break;case"rect":r.push(Math.floor((e.y+this.posY)/n)+1),r.push(Math.floor((e.y+e.h+this.posY)/n)+1)}for(var o=0;o<r.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<r[o];)p.call(this);return r},p=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,a=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=a},g=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;case"mt":case"lt":case"arc":default:e[r].x+=t,e[r].y+=n}return e},m=function(e,t){for(var n,r,i=this.fillStyle,a=this.strokeStyle,o=(this.font,this.lineCap),s=this.lineWidth,l=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),u=JSON.parse(JSON.stringify(this.path)),f=[],h=0;h<u.length;h++)if(void 0!==u[h].x)for(var m=d.call(this,u[h]),b=0;b<m.length;b+=1)-1===f.indexOf(m[b])&&f.push(m[b]);for(h=0;h<f.length;h++)for(;this.pdf.internal.getNumberOfPages()<f[h];)p.call(this);if(f.sort(),this.autoPaging){var y=f[0],w=f[f.length-1];for(h=y;h<w+1;h++){if(this.pdf.setPage(h),this.fillStyle=i,this.strokeStyle=a,this.lineCap=o,this.lineWidth=s,this.lineJoin=l,0!==this.ctx.clip_path.length){var S=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(n,this.posX,-1*this.pdf.internal.pageSize.height*(h-1)+this.posY),v.call(this,e,!0),this.path=S}r=JSON.parse(JSON.stringify(c)),this.path=g(r,this.posX,-1*this.pdf.internal.pageSize.height*(h-1)+this.posY),!1!==t&&0!==h||v.call(this,e,t)}}else v.call(this,e,t);this.path=c},v=function(e,t){if(("stroke"!==e||t||!h.call(this))&&("stroke"===e||t||!f.call(this))){var n=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var r,i=this.path,a=0;a<i.length;a++){var o=i[a];switch(o.type){case"begin":n.push({begin:!0});break;case"close":n.push({close:!0});break;case"mt":n.push({start:o,deltas:[],abs:[]});break;case"lt":var s=n.length;if(!isNaN(i[a-1].x)){var l=[o.x-i[a-1].x,o.y-i[a-1].y];if(0<s)for(;0<=s;s--)if(!0!==n[s-1].close&&!0!==n[s-1].begin){n[s-1].deltas.push(l),n[s-1].abs.push(o);break}}break;case"bct":l=[o.x1-i[a-1].x,o.y1-i[a-1].y,o.x2-i[a-1].x,o.y2-i[a-1].y,o.x-i[a-1].x,o.y-i[a-1].y],n[n.length-1].deltas.push(l);break;case"qct":var c=i[a-1].x+2/3*(o.x1-i[a-1].x),u=i[a-1].y+2/3*(o.y1-i[a-1].y),d=o.x+2/3*(o.x1-o.x),p=o.y+2/3*(o.y1-o.y),g=o.x,m=o.y;l=[c-i[a-1].x,u-i[a-1].y,d-i[a-1].x,p-i[a-1].y,g-i[a-1].x,m-i[a-1].y],n[n.length-1].deltas.push(l);break;case"arc":n.push({deltas:[],abs:[],arc:!0}),Array.isArray(n[n.length-1].abs)&&n[n.length-1].abs.push(o)}}for(r=t?null:"stroke"===e?"stroke":"fill",a=0;a<n.length;a++){if(n[a].arc)for(var v=n[a].abs,b=0;b<v.length;b++){var x=v[b];if(void 0!==x.startAngle){var E=R(x.startAngle),A=R(x.endAngle),C=x.x,T=x.y;y.call(this,C,T,x.radius,E,A,x.counterclockwise,r,t)}else _.call(this,x.x,x.y)}n[a].arc||!0===n[a].close||!0===n[a].begin||(C=n[a].start.x,
|
||
T=n[a].start.y,k.call(this,n[a].deltas,C,T,null,null))}r&&w.call(this,r),t&&S.call(this)}},b=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;case"ideographic":return e;case"alphabetic":default:return e}};c.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},c.prototype.createPattern=function(){return this.createLinearGradient()},c.prototype.createRadialGradient=function(){return this.createLinearGradient()};var y=function(e,t,n,r,i,a,o,s){this.pdf.internal.scaleFactor;for(var l=N(r),c=N(i),u=C.call(this,n,l,c,a),f=0;f<u.length;f++){var h=u[f];0===f&&x.call(this,h.x1+e,h.y1+t),A.call(this,e,t,h.x2,h.y2,h.x3,h.y3,h.x4,h.y4)}s?S.call(this):w.call(this,o)},w=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},S=function(){this.pdf.clip()},x=function(e,t){this.pdf.internal.out(i(e)+" "+a(t)+" m")},E=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;case"left":case"start":default:t="left"}var n=this.ctx.transform.applyToPoint(new O(e.x,e.y)),r=this.ctx.transform.decompose(),i=new P;i=(i=(i=i.multiply(r.translate)).multiply(r.skew)).multiply(r.scale);for(var a,o=this.pdf.getTextDimensions(e.text),s=this.ctx.transform.applyToRectangle(new L(e.x,e.y,o.w,o.h)),l=i.applyToRectangle(new L(e.x,e.y-o.h,o.w,o.h)),c=d.call(this,l),u=[],f=0;f<c.length;f+=1)-1===u.indexOf(c[f])&&u.push(c[f]);if(u.sort(),!0===this.autoPaging)for(var h=u[0],p=u[u.length-1],m=h;m<p+1;m++){if(this.pdf.setPage(m),0!==this.ctx.clip_path.length){var b=this.path;a=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(a,this.posX,-1*this.pdf.internal.pageSize.height*(m-1)+this.posY),v.call(this,"fill",!0),this.path=b}var y=JSON.parse(JSON.stringify(s));if(y=g([y],this.posX,-1*this.pdf.internal.pageSize.height*(m-1)+this.posY)[0],.01<=e.scale){var w=this.pdf.internal.getFontSize();this.pdf.setFontSize(w*e.scale)}this.pdf.text(e.text,y.x,y.y,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),.01<=e.scale&&this.pdf.setFontSize(w)}else.01<=e.scale&&(w=this.pdf.internal.getFontSize(),this.pdf.setFontSize(w*e.scale)),this.pdf.text(e.text,n.x+this.posX,n.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),.01<=e.scale&&this.pdf.setFontSize(w)},_=function(e,t,n,r){n=n||0,r=r||0,this.pdf.internal.out(i(e+n)+" "+a(t+r)+" l")},k=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},A=function(e,t,n,i,a,l,c,u){this.pdf.internal.out([r(o(n+e)),r(s(i+t)),r(o(a+e)),r(s(l+t)),r(o(c+e)),r(s(u+t)),"c"].join(" "))},C=function(e,t,n,r){var i=2*Math.PI,a=t;(a<i||i<a)&&(a%=i);var o=n;(o<i||i<o)&&(o%=i);for(var s=[],l=Math.PI/2,c=r?-1:1,u=t,f=Math.min(i,Math.abs(o-a));1e-5<f;){var h=u+c*Math.min(f,l);s.push(T.call(this,e,u,h)),f-=Math.abs(h-u),u=h}return s},T=function(e,t,n){var r=(n-t)/2,i=e*Math.cos(r),a=e*Math.sin(r),o=i,s=-a,l=o*o+s*s,c=l+o*i+s*a,u=4/3*(Math.sqrt(2*l*c)-c)/(o*a-s*i),f=o-u*s,h=s+u*o,d=f,p=-h,g=r+t,m=Math.cos(g),v=Math.sin(g);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:f*m-h*v,y2:f*v+h*m,x3:d*m-p*v,y3:d*v+p*m,x4:e*Math.cos(n),y4:e*Math.sin(n)}},R=function(e){return 180*e/Math.PI},N=function(e){return e*Math.PI/180},B=function(e,t,n,r,i,a){var o=e+.5*(n-e),s=t+.5*(r-t),l=i+.5*(n-i),c=a+.5*(r-a),u=Math.min(e,i,o,l),f=Math.max(e,i,o,l),h=Math.min(t,a,s,c),d=Math.max(t,a,s,c);return new L(u,h,f-u,d-h)},I=function(e,t,n,r,i,a,o,s){for(var l,c,u,f,h,d,p,g,m,v,b,y,w,S=n-e,x=r-t,E=i-n,_=a-r,k=o-i,A=s-a,C=0;C<41;C++)g=(d=(c=e+(l=C/40)*S)+l*((f=n+l*E)-c))+l*(f+l*(i+l*k-f)-d),m=(p=(u=t+l*x)+l*((h=r+l*_)-u))+l*(h+l*(a+l*A-h)-p),w=0==C?(y=v=g,b=m):(v=Math.min(v,g),b=Math.min(b,m),y=Math.max(y,g),Math.max(w,m));return new L(Math.round(v),Math.round(b),Math.round(y-v),Math.round(w-b))},O=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(e){i=e.toString()}}),this},L=function(e,t,n,r){O.call(this,e,t),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var a=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return a},set:function(e){isNaN(e)||(a=parseFloat(e))}}),this},P=function(e,t,n,r,i,a){var o=[];return Object.defineProperty(this,"sx",{get:function(){return o[0]},set:function(e){o[0]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return o[1]},set:function(e){o[1]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return o[2]},set:function(e){o[2]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return o[3]},set:function(e){o[3]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return o[4]},set:function(e){o[4]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return o[5]},set:function(e){o[5]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),this.sx=isNaN(e)?1:e,this.shy=isNaN(t)?0:t,this.shx=isNaN(n)?0:n,this.sy=isNaN(r)?1:r,this.tx=isNaN(i)?0:i,this.ty=isNaN(a)?0:a,this};P.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,i=e.shx*this.shy+e.sy*this.sy,a=e.tx*this.sx+e.ty*this.shx+this.tx,o=e.tx*this.shy+e.ty*this.sy+this.ty;return new P(t,n,r,i,a,o)},P.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,a=this.ty,o=Math.sqrt(e*e+t*t),s=(e/=o)*n+(t/=o)*r;n-=e*s,r-=t*s;var l=Math.sqrt(n*n+r*r);return s/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,s=-s,o=-o),{scale:new P(o,0,0,l,0,0),translate:new P(1,0,0,1,i,a),rotate:new P(e,t,-t,e,0,0),skew:new P(1,0,s,1,0,0)}},P.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new O(t,n)},P.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new O(e.x+e.w,e.y+e.h));return new L(t.x,t.y,n.x-t.x,n.y-t.y)},P.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,a=this.ty;return new P(e,t,n,r,i,a)}}(de.API,"undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")()),g=de.API,m=function(e){var t,n,r,i,a,o,s,l,c,u;for(/[^\x00-\xFF]/.test(e),n=[],r=0,i=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;r<i;r+=4)0!==(a=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(o=(a=((a=((a=((a=(a-(u=a%85))/85)-(c=a%85))/85)-(l=a%85))/85)-(s=a%85))/85)%85,n.push(o+33,s+33,l+33,c+33,u+33)):n.push(122);return function(e,n){for(var r=t.length;0<r;r--)e.pop()}(n),String.fromCharCode.apply(String,n)+"~>"},v=function(e){var t,n,r,i,a,o=String,s="length",l="charCodeAt",c="slice",u="replace";for(e[c](-2),e=e[c](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),r=[],i=0,a=(e+=t="uuuuu"[c](e[s]%5||5))[s];i<a;i+=5)n=52200625*(e[l](i)-33)+614125*(e[l](i+1)-33)+7225*(e[l](i+2)-33)+85*(e[l](i+3)-33)+(e[l](i+4)-33),r.push(255&n>>24,255&n>>16,255&n>>8,255&n);return function(e,n){for(var r=t[s];0<r;r--)e.pop()}(r),o.fromCharCode.apply(o,r)},b=function(e){for(var t="",n=0;n<e.length;n+=1)t+=("0"+e.charCodeAt(n).toString(16)).slice(-2);return t+=">"},y=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},w=function(e,t){t=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},t);for(var n,r,i=[],a=e.length;a--;)i[a]=e.charCodeAt(a);return n=g.adler32cs.from(e),(r=new Deflater(6)).append(new Uint8Array(i)),e=r.flush(),(i=new Uint8Array(e.length+6)).set(new Uint8Array([120,156])),i.set(e,2),i.set(new Uint8Array([255&n,n>>8&255,n>>16&255,n>>24&255]),e.length+2),e=String.fromCharCode.apply(null,i)},g.processDataByFilters=function(e,t){var n=0,r=e||"",i=[];for("string"==typeof(t=t||[])&&(t=[t]),n=0;n<t.length;n+=1)switch(t[n]){case"ASCII85Decode":case"/ASCII85Decode":r=v(r),i.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":r=m(r),i.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":r=y(r),i.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":r=b(r),i.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":r=w(r),i.push("/FlateDecode");break;default:throw'The filter: "'+t[n]+'" is not implemented'}return{data:r,reverseChain:i.reverse().join(" ")}},(S=de.API).loadFile=function(e,t,n){var r;t=t||!0,n=n||function(){};try{r=function(e,t,n){var r=new XMLHttpRequest,i=[],a=0,o=function(e){var t=e.length,n=String.fromCharCode;for(a=0;a<t;a+=1)i.push(n(255&e.charCodeAt(a)));return i.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){return o(this.responseText)}),r.send(null),200===r.status)return t?o(r.responseText):void 0;console.warn('Unable to load file "'+e+'"')}(e,t)}catch(e){r=void 0}return r},S.loadImageFile=S.loadFile,x=de.API,E="undefined"!=typeof window&&window||"undefined"!=typeof global&&global,_=function(t){var n=e(t);return"undefined"===n?"undefined":"string"===n||t instanceof String?"string":"number"===n||t instanceof Number?"number":"function"===n||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===n?"object":"unknown"},k=function(e,t){var n=document.createElement(e);if(t.className&&(n.className=t.className),t.innerHTML){n.innerHTML=t.innerHTML;for(var r=n.getElementsByTagName("script"),i=r.length;0<i--;null)r[i].parentNode.removeChild(r[i])}for(var a in t.style)n.style[a]=t.style[a];return n},(((A=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return r=(r=r.setProgress(1,e,1,[e])).set(t)}).prototype=Object.create(Promise.prototype)).constructor=A).convert=function(e,t){return e.__proto__=t||A.prototype,e},A.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{}}},A.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch(_(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.set({src:k("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},A.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},A.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},t=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(e(i,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft},!0)),r}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=k("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=k("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(k("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},A.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(function(){var e=Object.assign({},this.opt.html2canvas);if(delete e.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,e)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},A.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(function(){var e=this.opt.jsPDF,t=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete t.onrendered,e.context2d.autoPaging=!0,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,t.windowHeight=t.windowHeight||0,t.windowHeight=0==t.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):t.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,t)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},A.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},A.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},A.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},A.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(e,t)})},A.prototype.outputImg=function(e,t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},A.prototype.isHtml2CanvasLoaded=function(){var e=void 0!==E.html2canvas;return e||console.error("html2canvas not loaded."),e},A.prototype.save=function(e){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},A.prototype.doCallback=function(e){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},A.prototype.set=function(e){if("object"!==_(e))return this;var t=Object.keys(e||{}).map(function(t){if(t in A.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},A.prototype.get=function(e,t){return this.then(function(){var n=e in A.template.prop?this.prop[e]:this.opt[e];return t?t(n):n})},A.prototype.setMargin=function(e){return this.then(function(){switch(_(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},A.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then(function(){(e=e||de.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},A.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},A.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},A.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return n.updateProgress(null,e),t}).then(e,t).then(function(e){return n.updateProgress(1),e})})},A.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then;var r=this;e&&(e=e.bind(r)),t&&(t=t.bind(r));var i=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?r:A.convert(Object.assign({},r),Promise.prototype),a=n.call(i,e,t);return A.convert(a,r.__proto__)},A.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},A.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},A.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return A.convert(t,this)},A.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},A.prototype.error=function(e){return this.then(function(){throw new Error(e)})},A.prototype.using=A.prototype.set,A.prototype.saveAs=A.prototype.save,A.prototype.export=A.prototype.output,A.prototype.run=A.prototype.then,de.getPageSize=function(t,n,r){if("object"===e(t)){var i=t;t=i.orientation,n=i.unit||n,r=i.format||r}n=n||"mm",r=r||"a4",t=(""+(t||"P")).toLowerCase();var a=(""+r).toLowerCase(),o={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(n){case"pt":var s=1;break;case"mm":s=72/25.4;break;case"cm":s=72/2.54;break;case"in":s=72;break;case"px":s=.75;break;case"pc":case"em":s=12;break;case"ex":s=6;break;default:throw"Invalid unit: "+n}if(o.hasOwnProperty(a))var l=o[a][1]/s,c=o[a][0]/s;else try{l=r[1],c=r[0]}catch(t){throw new Error("Invalid format: "+r)}if("p"===t||"portrait"===t){if(t="p",l<c){var u=c;c=l,l=u}}else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",c<l&&(u=c,c=l,l=u)}return{width:c,height:l,unit:n,k:s}},x.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.jsPDF;var n=new A(t);return t.worker?n:n.from(e).doCallback()},de.API.addJS=function(e){return R=e,this.internal.events.subscribe("postPutResources",function(e){C=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(C+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),T=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+R+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==C&&void 0!==T&&this.internal.out("/Names <</JavaScript "+C+" 0 R>>")}),this},(N=de.API).events.push(["postPutResources",function(){var e=this,t=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var n=e.outline.render().split(/\r\n/),r=0;r<n.length;r++){var i=n[r],a=t.exec(i);if(null!=a){var o=a[1];e.internal.newObjectDeferredBegin(o,!1)}e.internal.write(i)}if(this.outline.createNamedDestinations){var s=this.internal.pages.length,l=[];for(r=0;r<s;r++){var c=e.internal.newObject();l.push(c);var u=e.internal.getPageInfo(r+1);e.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var f=e.internal.newObject();for(e.internal.write("<< /Names [ "),r=0;r<l.length;r++)e.internal.write("(page_"+(r+1)+")"+l[r]+" 0 R");e.internal.write(" ] >>","endobj"),e.internal.newObject(),e.internal.write("<< /Dests "+f+" 0 R"),e.internal.write(">>","endobj")}}]),N.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),N.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),0<e.children.length&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){this.ctx.pdf.internal.getCoordinateString;for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var i=t.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),0<r&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),0<i.children.length&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var a=this.count=this.count_r({count:0},i);if(0<a&&this.line("/Count "+a),i.options&&i.options.pageNumber){var o=e.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(r=0;r<t.children.length;r++)i=t.children[r],this.renderItems(i)},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(e){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}]),B=de.API,I=function(){var e="function"==typeof Deflater;if(!e)throw new Error("requires deflate.js for compression");return e},O=function(e,t,n,r){var i=5,a=j;switch(r){case B.image_compression.FAST:i=3,a=M;break;case B.image_compression.MEDIUM:i=6,a=W;break;case B.image_compression.SLOW:i=9,a=U}e=F(e,t,n,a);var o=new Uint8Array(L(i)),s=P(e),l=new Deflater(i),c=l.append(e),u=l.flush(),f=o.length+c.length+u.length,h=new Uint8Array(f+4);return h.set(o),h.set(c,o.length),h.set(u,o.length+c.length),h[f++]=s>>>24&255,h[f++]=s>>>16&255,h[f++]=s>>>8&255,h[f++]=255&s,B.arrayBufferToBinaryString(h)},L=function(e,t){var n=Math.LOG2E*Math.log(32768)-8<<4|8,r=n<<8;return r|=Math.min(3,(t-1&255)>>1)<<6,r|=0,[n,255&(r+=31-r%31)]},P=function(e,t){for(var n,r=1,i=0,a=e.length,o=0;0<a;){for(a-=n=t<a?t:a;i+=r+=e[o++],--n;);r%=65521,i%=65521}return(i<<16|r)>>>0},F=function(e,t,n,r){for(var i,a,o,s=e.length/t,l=new Uint8Array(e.length+s),c=H(),u=0;u<s;u++){if(o=u*t,i=e.subarray(o,o+t),r)l.set(r(i,n,a),o+u);else{for(var f=0,h=c.length,d=[];f<h;f++)d[f]=c[f](i,n,a);var p=V(d.concat());l.set(d[p],o+u)}a=i}return l},D=function(e,t,n){var r=Array.apply([],e);return r.unshift(0),r},M=function(e,t,n){var r,i=[],a=0,o=e.length;for(i[0]=1;a<o;a++)r=e[a-t]||0,i[a+1]=e[a]-r+256&255;return i},j=function(e,t,n){var r,i=[],a=0,o=e.length;for(i[0]=2;a<o;a++)r=n&&n[a]||0,i[a+1]=e[a]-r+256&255;return i},W=function(e,t,n){var r,i,a=[],o=0,s=e.length;for(a[0]=3;o<s;o++)r=e[o-t]||0,i=n&&n[o]||0,a[o+1]=e[o]+256-(r+i>>>1)&255;return a},U=function(e,t,n){var r,i,a,o,s=[],l=0,c=e.length;for(s[0]=4;l<c;l++)r=e[l-t]||0,i=n&&n[l]||0,a=n&&n[l-t]||0,o=z(r,i,a),s[l+1]=e[l]-o+256&255;return s},z=function(e,t,n){var r=e+t-n,i=Math.abs(r-e),a=Math.abs(r-t),o=Math.abs(r-n);return i<=a&&i<=o?e:a<=o?t:n},H=function(){return[D,M,j,W,U]},V=function(e){for(var t,n,r,i=0,a=e.length;i<a;)((t=q(e[i].slice(1)))<n||!n)&&(n=t,r=i),i++;return r},q=function(e){for(var t=0,n=e.length,r=0;t<n;)r+=Math.abs(e[t++]);return r},B.processPNG=function(e,t,n,r,i){var a,o,s,l,c,u,f=this.color_spaces.DEVICE_RGB,h=this.decode.FLATE_DECODE,d=8;if(this.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.isArrayBufferView(e)){if("function"!=typeof PNG||"function"!=typeof Be)throw new Error("PNG support requires png.js and zlib.js");if(e=(a=new PNG(e)).imgData,d=a.bits,f=a.colorSpace,l=a.colors,-1!==[4,6].indexOf(a.colorType)){if(8===a.bits)for(var p,g=(A=32==a.pixelBitlength?new Uint32Array(a.decodePixels().buffer):16==a.pixelBitlength?new Uint16Array(a.decodePixels().buffer):new Uint8Array(a.decodePixels().buffer)).length,m=new Uint8Array(g*a.colors),v=new Uint8Array(g),b=a.pixelBitlength-a.bits,y=0,w=0;y<g;y++){for(S=A[y],p=0;p<b;)m[w++]=S>>>p&255,p+=a.bits;v[y]=S>>>p&255}if(16===a.bits){g=(A=new Uint32Array(a.decodePixels().buffer)).length,m=new Uint8Array(g*(32/a.pixelBitlength)*a.colors),v=new Uint8Array(g*(32/a.pixelBitlength));for(var S,x=1<a.colors,E=w=y=0;y<g;)S=A[y++],m[w++]=S>>>0&255,x&&(m[w++]=S>>>16&255,S=A[y++],m[w++]=S>>>0&255),v[E++]=S>>>16&255;d=8}r!==B.image_compression.NONE&&I()?(e=O(m,a.width*a.colors,a.colors,r),u=O(v,a.width,1,r)):(e=m,u=v,h=null)}if(3===a.colorType&&(f=this.color_spaces.INDEXED,c=a.palette,a.transparency.indexed)){var _=a.transparency.indexed,k=0;for(y=0,g=_.length;y<g;++y)k+=_[y];if((k/=255)==g-1&&-1!==_.indexOf(0))s=[_.indexOf(0)];else if(k!==g){var A=a.decodePixels();for(v=new Uint8Array(A.length),y=0,g=A.length;y<g;y++)v[y]=_[A[y]];u=O(v,a.width,1)}}var C=function(e){var t;switch(e){case B.image_compression.FAST:t=11;break;case B.image_compression.MEDIUM:t=13;break;case B.image_compression.SLOW:t=14;break;default:t=12}return t}(r);return o=h===this.decode.FLATE_DECODE?"/Predictor "+C+" /Colors "+l+" /BitsPerComponent "+d+" /Columns "+a.width:"/Colors "+l+" /BitsPerComponent "+d+" /Columns "+a.width,(this.isArrayBuffer(e)||this.isArrayBufferView(e))&&(e=this.arrayBufferToBinaryString(e)),(u&&this.isArrayBuffer(u)||this.isArrayBufferView(u))&&(u=this.arrayBufferToBinaryString(u)),this.createImageInfo(e,a.width,a.height,f,d,h,t,n,o,s,c,u,C)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(G=de.API).processGIF89A=function(e,n,i,a,o){var s=new t(e),l=s.width,c=s.height,u=[];s.decodeAndBlitFrameRGBA(0,u);var f={data:u,width:l,height:c},h=new r(100).encode(f,100);return G.processJPEG.call(this,h,n,i,a)},G.processGIF87A=G.processGIF89A,($=de.API).processBMP=function(e,t,n,a,o){var s=new i(e,!1),l=s.width,c=s.height,u={data:s.getData(),width:l,height:c},f=new r(100).encode(u,100);return $.processJPEG.call(this,f,t,n,a)},de.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",
|
||
it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},X=de.API,Y=X.getCharWidthsArray=function(e,t){var n,r,i,a=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:a.metadata.Unicode.widths,c=l.fof?l.fof:1,u=t.kerning?t.kerning:a.metadata.Unicode.kerning,f=u.fof?u.fof:1,h=0,d=l[0]||c,p=[];for(n=0,r=e.length;n<r;n++)i=e.charCodeAt(n),"function"==typeof a.metadata.widthOfString?p.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(i))+s*(1e3/o)||0)/1e3):p.push((l[i]||d)/c+(u[i]&&u[i][h]||0)/f),h=i;return p},K=X.getArraySum=function(e){for(var t=e.length,n=0;t;)n+=e[--t];return n},J=X.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,i)/n:K(Y.apply(this,arguments))},Z=function(e,t,n,r){for(var i=[],a=0,o=e.length,s=0;a!==o&&s+t[a]<n;)s+=t[a],a++;i.push(e.slice(0,a));var l=a;for(s=0;a!==o;)s+t[a]>r&&(i.push(e.slice(l,a)),s=0,l=a),s+=t[a],a++;return l!==a&&i.push(e.slice(l,a)),i},Q=function(e,t,n){n||(n={});var r,i,a,o,s,l,c=[],u=[c],f=n.textIndent||0,h=0,d=0,p=e.split(" "),g=Y.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?p[0].length+2:n.lineIndent||0){var m=Array(l).join(" "),v=[];p.map(function(e){1<(e=e.split(/\s*\n/)).length?v=v.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):v.push(e[0])}),p=v,l=J.apply(this,[m,n])}for(a=0,o=p.length;a<o;a++){var b=0;if(r=p[a],l&&"\n"==r[0]&&(r=r.substr(1),b=1),i=Y.apply(this,[r,n]),t<f+h+(d=K(i))||b){if(t<d){for(s=Z.apply(this,[r,i,t-(f+h),t]),c.push(s.shift()),c=[s.pop()];s.length;)u.push([s.shift()]);d=K(i.slice(r.length-(c[0]?c[0].length:0)))}else c=[r];u.push(c),f=d+l,h=g}else c.push(r),f+=h+d,h=g}if(l)var y=function(e,t){return(t?m:"")+e.join(" ")};else y=function(e){return e.join(" ")};return u.map(y)},X.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),a=function(e){var t={0:1},n={};if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var r=this.internal.getFont(e.fontName,e.fontStyle),i="Unicode";return r.metadata[i]?{widths:r.metadata[i].widths||t,kerning:r.metadata[i].kerning||n}:{font:r.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:e.split(/\r?\n/);var o=1*this.internal.scaleFactor*t/i;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(Q.apply(this,[r[s],o,a]));return c},ee=de.API,ne={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(te=function(e){for(var t="klmnopqrstuvwxyz",n={},r=0;r<t.length;r++)n[t[r]]="0123456789abcdef"[r];var i,a,o,s,l,c={},u=1,f=c,h=[],d="",p="",g=e.length-1;for(r=1;r!=g;)l=e[r],r+=1,"'"==l?a=a?(s=a.join(""),i):[]:a?a.push(l):"{"==l?(h.push([f,s]),f={},s=i):"}"==l?((o=h.pop())[0][o[1]]=f,s=i,f=o[0]):"-"==l?u=-1:s===i?n.hasOwnProperty(l)?(d+=n[l],s=parseInt(d,16)*u,u=1,d=""):d+=l:n.hasOwnProperty(l)?(p+=n[l],f[s]=parseInt(p,16)*u,u=1,s=i,p=""):p+=l;return c})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},re={Unicode:{Courier:ne,"Courier-Bold":ne,"Courier-BoldOblique":ne,"Courier-Oblique":ne,Helvetica:ne,"Helvetica-Bold":ne,"Helvetica-BoldOblique":ne,"Helvetica-Oblique":ne,"Times-Roman":ne,"Times-Bold":ne,"Times-BoldItalic":ne,"Times-Italic":ne}},ie={Unicode:{"Courier-Oblique":te("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":te("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":te("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:te("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":te("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":te("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:te("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:te("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":te("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:te("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":te("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":te("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":te("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":te("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}},ee.events.push(["addFont",function(e){var t,n,r,i=e.font,a="Unicode";(t=ie[a][i.postScriptName])&&((n=i.metadata[a]?i.metadata[a]:i.metadata[a]={}).widths=t.widths,n.kerning=t.kerning),(r=re[a][i.postScriptName])&&((n=i.metadata[a]?i.metadata[a]:i.metadata[a]={}).encoding=r).codePages&&r.codePages.length&&(i.encoding=r.codePages[0])}]),ae=de,"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||Function("return this")(),ae.API.events.push(["addFont",function(e){var t=e.font,n=e.instance;if(void 0!==n&&n.existsFileInVFS(t.postScriptName)){var r=n.getFileFromVFS(t.postScriptName);if("string"!=typeof r)throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+t.postScriptName+"').");t.metadata=ae.API.TTFFont.open(t.postScriptName,t.fontName,r,t.encoding),t.metadata.Unicode=t.metadata.Unicode||{encoding:{},kerning:{},widths:[]},t.metadata.glyIdsUsed=[0]}else if(!1===t.isStandardFont)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+t.postScriptName+"').")}]),(oe=de.API).addSvg=function(e,t,n,r,i){if(void 0===t||void 0===n)throw new Error("addSVG needs values for 'x' and 'y'");var a,o,s,l,c,u,f,h,d=(l=document,h=l.createElement("iframe"),c=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(f=(u=l).createElement("style")).type="text/css",f.styleSheet?f.styleSheet.cssText=c:f.appendChild(u.createTextNode(c)),u.getElementsByTagName("head")[0].appendChild(f),h.name="childframe",h.setAttribute("width",0),h.setAttribute("height",0),h.setAttribute("frameborder","0"),h.setAttribute("scrolling","no"),h.setAttribute("seamless","seamless"),h.setAttribute("class","jsPDF_sillysvg_iframe"),l.body.appendChild(h),h),p=(a=e,(s=((o=d).contentWindow||o.contentDocument).document).write(a),s.close(),s.getElementsByTagName("svg")[0]),g=[1,1],m=parseFloat(p.getAttribute("width")),v=parseFloat(p.getAttribute("height"));m&&v&&(r&&i?g=[r/m,i/v]:r?g=[r/m,r/m]:i&&(g=[i/v,i/v]));var b,y,w,S,x=p.childNodes;for(b=0,y=x.length;b<y;b++)(w=x[b]).tagName&&"PATH"===w.tagName.toUpperCase()&&((S=function(e){for(var t=parseFloat(e[1]),n=parseFloat(e[2]),r=[],i=3,a=e.length;i<a;)"c"===e[i]?(r.push([parseFloat(e[i+1]),parseFloat(e[i+2]),parseFloat(e[i+3]),parseFloat(e[i+4]),parseFloat(e[i+5]),parseFloat(e[i+6])]),i+=7):"l"===e[i]?(r.push([parseFloat(e[i+1]),parseFloat(e[i+2])]),i+=3):i+=1;return[t,n,r]}(w.getAttribute("d").split(" ")))[0]=S[0]*g[0]+t,S[1]=S[1]*g[1]+n,this.lines.call(this,S[2],S[0],S[1],g));return this},oe.addSVG=oe.addSvg,oe.addSvgAsImage=function(e,t,n,r,i,a,o,s){if(isNaN(t)||isNaN(n))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=i;var c=l.getContext("2d");return c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height),canvg(l,e,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(l.toDataURL("image/jpeg",1),t,n,r,i,o,s),this},de.API.putTotalPages=function(e){var t,n=0;n=parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},de.API.viewerPreferences=function(t,n){function r(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}var i;t=t||{},n=n||!1;var a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(s),c=[],u=0,f=0,h=0,d=!0;if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),i=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var p=l.length;for(h=0;h<p;h+=1)i[l[h]].value=i[l[h]].defaultValue,i[l[h]].explicitSet=!1}if("object"===e(t))for(a in t)if(o=t[a],r(l,a)&&void 0!==o){if("boolean"===i[a].type&&"boolean"==typeof o)i[a].value=o;else if("name"===i[a].type&&r(i[a].valueSet,o))i[a].value=o;else if("integer"===i[a].type&&Number.isInteger(o))i[a].value=o;else if("array"===i[a].type){for(u=0;u<o.length;u+=1)if(d=!0,1===o[u].length&&"number"==typeof o[u][0])c.push(String(o[u]-1));else if(1<o[u].length){for(f=0;f<o[u].length;f+=1)"number"!=typeof o[u][f]&&(d=!1);!0===d&&c.push([o[u][0]-1,o[u][1]-1].join(" "))}i[a].value="["+c.join(" ")+"]"}else i[a].value=i[a].defaultValue;i[a].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var e,t=[];for(e in i)!0===i[e].explicitSet&&("name"===i[e].type?t.push("/"+e+" /"+i[e].value):t.push("/"+e+" "+i[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=i,this},se=de.API,ue=ce=le="",se.addMetadata=function(e,t){return ce=t||"http://jspdf.default.namespaceuri/",le=e,this.internal.events.subscribe("postPutResources",function(){if(le){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+ce+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(le)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),a=unescape(encodeURIComponent("</x:xmpmeta>")),o=n.length+r.length+i.length+t.length+a.length;ue=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+i+a),this.internal.write("endstream"),this.internal.write("endobj")}else ue=""}),this.internal.events.subscribe("putCatalog",function(){ue&&this.internal.write("/Metadata "+ue+" 0 R")}),this},function(e,t){var n=e.API,r=n.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,i=["","0","00","000","0000"],a=[""],o=0,s=e.length;o<s;++o){if(n=t.metadata.characterToGlyph(e.charCodeAt(o)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(o),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return a.join("");n=n.toString(16),a.push(i[4-n.length],n)}return a.join("")},i=function(e){var t,n,r,i,a,o,s;for(a="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],o=0,s=(n=Object.keys(e).sort(function(e,t){return e-t})).length;o<s;o++)t=n[o],100<=r.length&&(a+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),i=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+i+">");return r.length&&(a+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),a+="endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};n.events.push(["putFont",function(t){!function(t,n,r,a){if(t.metadata instanceof e.API.TTFFont&&"Identity-H"===t.encoding){for(var o=t.metadata.Unicode.widths,s=t.metadata.subset.encode(t.metadata.glyIdsUsed,1),l="",c=0;c<s.length;c++)l+=String.fromCharCode(s[c]);var u=r();a({data:l,addLength1:!0}),n("endobj");var f=r();a({data:i(t.metadata.toUnicode),addLength1:!0}),n("endobj");var h=r();n("<<"),n("/Type /FontDescriptor"),n("/FontName /"+t.fontName),n("/FontFile2 "+u+" 0 R"),n("/FontBBox "+e.API.PDFObject.convert(t.metadata.bbox)),n("/Flags "+t.metadata.flags),n("/StemV "+t.metadata.stemV),n("/ItalicAngle "+t.metadata.italicAngle),n("/Ascent "+t.metadata.ascender),n("/Descent "+t.metadata.decender),n("/CapHeight "+t.metadata.capHeight),n(">>"),n("endobj");var d=r();n("<<"),n("/Type /Font"),n("/BaseFont /"+t.fontName),n("/FontDescriptor "+h+" 0 R"),n("/W "+e.API.PDFObject.convert(o)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+t.encoding+")"),n(">>"),n(">>"),n("endobj"),t.objectNumber=r(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+f+" 0 R"),n("/BaseFont /"+t.fontName),n("/Encoding /"+t.encoding),n("/DescendantFonts ["+d+" 0 R]"),n(">>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]),n.events.push(["putFont",function(t){!function(t,n,r,a){if(t.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===t.encoding){t.metadata.Unicode.widths;for(var o=t.metadata.rawData,s="",l=0;l<o.length;l++)s+=String.fromCharCode(o[l]);var c=r();a({data:s,addLength1:!0}),n("endobj");var u=r();a({data:i(t.metadata.toUnicode),addLength1:!0}),n("endobj");var f=r();for(n("<<"),n("/Descent "+t.metadata.decender),n("/CapHeight "+t.metadata.capHeight),n("/StemV "+t.metadata.stemV),n("/Type /FontDescriptor"),n("/FontFile2 "+c+" 0 R"),n("/Flags 96"),n("/FontBBox "+e.API.PDFObject.convert(t.metadata.bbox)),n("/FontName /"+t.fontName),n("/ItalicAngle "+t.metadata.italicAngle),
|
||
n("/Ascent "+t.metadata.ascender),n(">>"),n("endobj"),t.objectNumber=r(),l=0;l<t.metadata.hmtx.widths.length;l++)t.metadata.hmtx.widths[l]=parseInt(t.metadata.hmtx.widths[l]*(1e3/t.metadata.head.unitsPerEm));n("<</Subtype/TrueType/Type/Font/ToUnicode "+u+" 0 R/BaseFont/"+t.fontName+"/FontDescriptor "+f+" 0 R/Encoding/"+t.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(t.metadata.hmtx.widths)+">>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]);var a=function(e){var t,n,i=e.text||"",a=e.x,o=e.y,s=e.options||{},l=e.mutex||{},c=l.pdfEscape,u=l.activeFontKey,f=l.fonts,h=(l.activeFontSize,""),d=0,p="",g=f[n=u].encoding;if("Identity-H"!==f[n].encoding)return{text:i,x:a,y:o,options:s,mutex:l};for(p=i,n=u,"[object Array]"===Object.prototype.toString.call(i)&&(p=i[0]),d=0;d<p.length;d+=1)f[n].metadata.hasOwnProperty("cmap")&&(t=f[n].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),t?h+=p[d]:p[d].charCodeAt(0)<256&&f[n].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var m="";return parseInt(n.slice(1))<14||"WinAnsiEncoding"===g?m=function(e){for(var t="",n=0;n<e.length;n++)t+=""+e.charCodeAt(n).toString(16);return t}(c(h,n)):"Identity-H"===g&&(m=r(h,f[n])),l.isHex=!0,{text:m,x:a,y:o,options:s,mutex:l}};n.events.push(["postProcessText",function(e){var t=e.text||"",n=e.x,r=e.y,i=e.options,o=e.mutex,s=(i.lang,[]),l={text:t,x:n,y:r,options:i,mutex:o};if("[object Array]"===Object.prototype.toString.call(t)){var c=0;for(c=0;c<t.length;c+=1)"[object Array]"===Object.prototype.toString.call(t[c])&&3===t[c].length?s.push([a(Object.assign({},l,{text:t[c][0]})).text,t[c][1],t[c][2]]):s.push(a(Object.assign({},l,{text:t[c]})).text);e.text=s}else e.text=a(Object.assign({},l,{text:t})).text}])}(de,"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||Function("return this")()),fe=de.API,he=function(e){return void 0!==e&&(void 0===e.vFS&&(e.vFS={}),!0)},fe.existsFileInVFS=function(e){return!!he(this.internal)&&void 0!==this.internal.vFS[e]},fe.addFileToVFS=function(e,t){return he(this.internal),this.internal.vFS[e]=t,this},fe.getFileFromVFS=function(e){return he(this.internal),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null},de.API.addHTML=function(e,t,n,r,i){if("undefined"==typeof html2canvas&&"undefined"==typeof rasterizeHTML)throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");"number"!=typeof t&&(r=t,i=n),"function"==typeof r&&(i=r,r=null),"function"!=typeof i&&(i=function(){});var a=this.internal,o=a.scaleFactor,s=a.pageSize.getWidth(),l=a.pageSize.getHeight();if((r=r||{}).onrendered=function(e){t=parseInt(t)||0,n=parseInt(n)||0;var a=r.dim||{},c=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},r.margin),u=a.h||Math.min(l,e.height/o),f=a.w||Math.min(s,e.width/o)-t,h=r.format||"JPEG",d=r.imageCompression||"SLOW";if(e.height>l-c.top-c.bottom&&r.pagesplit){var p=function(e,t,n,i,a){var o=document.createElement("canvas");o.height=a,o.width=i;var s=o.getContext("2d");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||"#ffffff",s.fillRect(0,0,i,a),s.drawImage(e,t,n,i,a,0,0,i,a),o},g=function(){for(var r,a,u=0,g=0,m={},v=!1;;){var b;if(g=0,m.top=0!==u?c.top:n,m.left=0!==u?c.left:t,v=(s-c.left-c.right)*o<e.width,"content"===c.useFor?0===u?(r=Math.min((s-c.left)*o,e.width),a=Math.min((l-c.top)*o,e.height-u)):(r=Math.min(s*o,e.width),a=Math.min(l*o,e.height-u),m.top=0):(r=Math.min((s-c.left-c.right)*o,e.width),a=Math.min((l-c.bottom-c.top)*o,e.height-u)),v)for(;;){"content"===c.useFor&&(0===g?r=Math.min((s-c.left)*o,e.width):(r=Math.min(s*o,e.width-g),m.left=0));var y=[b=p(e,g,u,r,a),m.left,m.top,b.width/o,b.height/o,h,null,d];if(this.addImage.apply(this,y),(g+=r)>=e.width)break;this.addPage()}else y=[b=p(e,0,u,r,a),m.left,m.top,b.width/o,b.height/o,h,null,d],this.addImage.apply(this,y);if((u+=a)>=e.height)break;this.addPage()}i(f,u,null,y)}.bind(this);if("CANVAS"===e.nodeName){var m=new Image;m.onload=g,m.src=e.toDataURL("image/png"),e=m}else g()}else{var v=Math.random().toString(35),b=[e,t,n,f,u,h,v,d];this.addImage.apply(this,b),i(f,u,v,b)}}.bind(this),"undefined"!=typeof html2canvas&&!r.rstz)return html2canvas(e,r);if("undefined"==typeof rasterizeHTML)return null;var c="drawDocument";return"string"==typeof e&&(c=/^http/.test(e)?"drawURL":"drawHTML"),r.width=r.width||s*o,rasterizeHTML[c](e,void 0,r).then(function(e){r.onrendered(e.image)},function(e){i(null,e)})},function(t){var n,r,i,a,o,s,l,c,u,f,h,d,p,g,m,v,b,y,w,S;n=function(){function e(){}return function(t){return e.prototype=t,new e}}(),f=function(e){var t,n,r,i,a,o,s;for(n=0,r=e.length,t=void 0,o=i=!1;!i&&n!==r;)(t=e[n]=e[n].trimLeft())&&(i=!0),n++;for(n=r-1;r&&!o&&-1!==n;)(t=e[n]=e[n].trimRight())&&(o=!0),n--;for(a=/\s+$/g,s=!0,n=0;n!==r;)"\u2028"!=e[n]&&(t=e[n].replace(/\s+/g," "),s&&(t=t.trimLeft()),t&&(s=a.test(t)),e[n]=t),n++;return e},d=function(e){var t,n,r;for(t=void 0,n=(r=e.split(",")).shift();!t&&n;)t=i[n.trim().toLowerCase()],n=r.shift();return t},p=function(e){var t;return-1<(e="auto"===e?"0px":e).indexOf("em")&&!isNaN(Number(e.replace("em","")))&&(e=18.719*Number(e.replace("em",""))+"px"),-1<e.indexOf("pt")&&!isNaN(Number(e.replace("pt","")))&&(e=1.333*Number(e.replace("pt",""))+"px"),(t=g[e])?t:void 0!==(t={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[e])?g[e]=t/16:(t=parseFloat(e))?g[e]=t/16:(t=e.match(/([\d\.]+)(px)/),Array.isArray(t)&&3===t.length?g[e]=parseFloat(t[1])/16:g[e]=1)},u=function(e){var t,n,r,i,u;return u=e,i=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(u,null):u.currentStyle?u.currentStyle:u.style,n=void 0,(t={})["font-family"]=d((r=function(e){return e=e.replace(/-\D/g,function(e){return e.charAt(1).toUpperCase()}),i[e]})("font-family"))||"times",t["font-style"]=a[r("font-style")]||"normal",t["text-align"]=o[r("text-align")]||"left","bold"===(n=s[r("font-weight")]||"normal")&&("normal"===t["font-style"]?t["font-style"]=n:t["font-style"]=n+t["font-style"]),t["font-size"]=p(r("font-size"))||1,t["line-height"]=p(r("line-height"))||1,t.display="inline"===r("display")?"inline":"block",n="block"===t.display,t["margin-top"]=n&&p(r("margin-top"))||0,t["margin-bottom"]=n&&p(r("margin-bottom"))||0,t["padding-top"]=n&&p(r("padding-top"))||0,t["padding-bottom"]=n&&p(r("padding-bottom"))||0,t["margin-left"]=n&&p(r("margin-left"))||0,t["margin-right"]=n&&p(r("margin-right"))||0,t["padding-left"]=n&&p(r("padding-left"))||0,t["padding-right"]=n&&p(r("padding-right"))||0,t["page-break-before"]=r("page-break-before")||"auto",t.float=l[r("cssFloat")]||"none",t.clear=c[r("clear")]||"none",t.color=r("color"),t},m=function(e,t,n){var r,i,a,o,s;if(a=!1,o=i=void 0,r=n["#"+e.id])if("function"==typeof r)a=r(e,t);else for(i=0,o=r.length;!a&&i!==o;)a=r[i](e,t),i++;if(r=n[e.nodeName],!a&&r)if("function"==typeof r)a=r(e,t);else for(i=0,o=r.length;!a&&i!==o;)a=r[i](e,t),i++;for(s="string"==typeof e.className?e.className.split(" "):[],i=0;i<s.length;i++)if(r=n["."+s[i]],!a&&r)if("function"==typeof r)a=r(e,t);else for(i=0,o=r.length;!a&&i!==o;)a=r[i](e,t),i++;return a},S=function(e,t){var n,r,i,a,o,s,l,c,u;for(n=[],r=[],i=0,u=e.rows[0].cells.length,l=e.clientWidth;i<u;)c=e.rows[0].cells[i],r[i]={name:c.textContent.toLowerCase().replace(/\s+/g,""),prompt:c.textContent.replace(/\r?\n/g,""),width:c.clientWidth/l*t.pdf.internal.pageSize.getWidth()},i++;for(i=1;i<e.rows.length;){for(s=e.rows[i],o={},a=0;a<s.cells.length;)o[r[a].name]=s.cells[a].textContent.replace(/\r?\n/g,""),a++;n.push(o),i++}return{rows:n,headers:r}};var x={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},E=1;r=function(t,i,a){var o,s,l,c,f,h,d,p;for(s=t.childNodes,o=void 0,(f="block"===(l=u(t)).display)&&(i.setBlockBoundary(),i.setBlockStyle(l)),c=0,h=s.length;c<h;){if("object"===e(o=s[c])){if(i.executeWatchFunctions(o),1===o.nodeType&&"HEADER"===o.nodeName){var g=o,b=i.pdf.margins_doc.top;i.pdf.internal.events.subscribe("addPage",function(e){i.y=b,r(g,i,a),i.pdf.margins_doc.top=i.y+10,i.y+=10},!1)}if(8===o.nodeType&&"#comment"===o.nodeName)~o.textContent.indexOf("ADD_PAGE")&&(i.pdf.addPage(),i.y=i.pdf.margins_doc.top);else if(1!==o.nodeType||x[o.nodeName])if(3===o.nodeType){var y=o.nodeValue;if(o.nodeValue&&"LI"===o.parentNode.nodeName)if("OL"===o.parentNode.parentNode.nodeName)y=E+++". "+y;else{var w=l["font-size"],_=(3-.75*w)*i.pdf.internal.scaleFactor,k=.75*w*i.pdf.internal.scaleFactor,A=1.74*w/i.pdf.internal.scaleFactor;p=function(e,t){this.pdf.circle(e+_,t+k,A,"FD")}}16&o.ownerDocument.body.compareDocumentPosition(o)&&i.addText(y,l)}else"string"==typeof o&&i.addText(o,l);else{var C;if("IMG"===o.nodeName){var T=o.getAttribute("src");C=v[i.pdf.sHashCode(T)||T]}if(C){i.pdf.internal.pageSize.getHeight()-i.pdf.margins_doc.bottom<i.y+o.height&&i.y>i.pdf.margins_doc.top&&(i.pdf.addPage(),i.y=i.pdf.margins_doc.top,i.executeWatchFunctions(o));var R=u(o),N=i.x,B=12/i.pdf.internal.scaleFactor,I=(R["margin-left"]+R["padding-left"])*B,O=(R["margin-right"]+R["padding-right"])*B,L=(R["margin-top"]+R["padding-top"])*B,P=(R["margin-bottom"]+R["padding-bottom"])*B;void 0!==R.float&&"right"===R.float?N+=i.settings.width-o.width-O:N+=I,i.pdf.addImage(C,N,i.y+L,o.width,o.height),C=void 0,"right"===R.float||"left"===R.float?(i.watchFunctions.push(function(e,t,n,r){return i.y>=t?(i.x+=e,i.settings.width+=n,!0):!!(r&&1===r.nodeType&&!x[r.nodeName]&&i.x+r.width>i.pdf.margins_doc.left+i.pdf.margins_doc.width)&&(i.x+=e,i.y=t,i.settings.width+=n,!0)}.bind(this,"left"===R.float?-o.width-I-O:0,i.y+o.height+L+P,o.width)),i.watchFunctions.push(function(e,t,n){return!(i.y<e&&t===i.pdf.internal.getNumberOfPages())||1===n.nodeType&&"both"===u(n).clear&&(i.y=e,!0)}.bind(this,i.y+o.height,i.pdf.internal.getNumberOfPages())),i.settings.width-=o.width+I+O,"left"===R.float&&(i.x+=o.width+I+O)):i.y+=o.height+L+P}else if("TABLE"===o.nodeName)d=S(o,i),i.y+=10,i.pdf.table(i.x,i.y,d.rows,d.headers,{autoSize:!1,printHeaders:a.printHeaders,margins:i.pdf.margins_doc,css:u(o)}),i.y=i.pdf.lastCellPos.y+i.pdf.lastCellPos.h+20;else if("OL"===o.nodeName||"UL"===o.nodeName)E=1,m(o,i,a)||r(o,i,a),i.y+=10;else if("LI"===o.nodeName){var F=i.x;i.x+=20/i.pdf.internal.scaleFactor,i.y+=3,m(o,i,a)||r(o,i,a),i.x=F}else"BR"===o.nodeName?(i.y+=l["font-size"]*i.pdf.internal.scaleFactor,i.addText("\u2028",n(l))):m(o,i,a)||r(o,i,a)}}c++}if(a.outY=i.y,f)return i.setBlockBoundary(p)},v={},b=function(e,t,n,r){function i(){t.pdf.internal.events.publish("imagesLoaded"),r(a)}for(var a,o=e.getElementsByTagName("img"),s=o.length,l=0;s--;)!function(e,n,r){if(e){var o=new Image;a=++l,o.crossOrigin="",o.onerror=o.onload=function(){if(o.complete&&(0===o.src.indexOf("data:image/")&&(o.width=n||o.width||0,o.height=r||o.height||0),o.width+o.height)){var a=t.pdf.sHashCode(e)||e;v[a]=v[a]||o}--l||i()},o.src=e}}(o[s].getAttribute("src"),o[s].width,o[s].height);return l||i()},y=function(e,t,n){var i=e.getElementsByTagName("footer");if(0<i.length){i=i[0];var a=t.pdf.internal.write,o=t.y;t.pdf.internal.write=function(){},r(i,t,n);var s=Math.ceil(t.y-o)+5;t.y=o,t.pdf.internal.write=a,t.pdf.margins_doc.bottom+=s;for(var l=function(e){var a=void 0!==e?e.pageNumber:1,o=t.y;t.y=t.pdf.internal.pageSize.getHeight()-t.pdf.margins_doc.bottom,t.pdf.margins_doc.bottom-=s;for(var l=i.getElementsByTagName("span"),c=0;c<l.length;++c)-1<(" "+l[c].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(l[c].innerHTML=a),-1<(" "+l[c].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(l[c].innerHTML="###jsPDFVarTotalPages###");r(i,t,n),t.pdf.margins_doc.bottom+=s,t.y=o},c=i.getElementsByTagName("span"),u=0;u<c.length;++u)-1<(" "+c[u].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&t.pdf.internal.events.subscribe("htmlRenderingFinished",t.pdf.putTotalPages.bind(t.pdf,"###jsPDFVarTotalPages###"),!0);t.pdf.internal.events.subscribe("addPage",l,!1),l(),x.FOOTER=1}},w=function(e,t,n,i,a,o){if(!t)return!1;var s,l,c,u;"string"==typeof t||t.parentNode||(t=""+t.innerHTML),"string"==typeof t&&(s=t.replace(/<\/?script[^>]*?>/gi,""),u="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(c=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",c.innerHTML='<iframe style="height:1px;width:1px" name="'+u+'" />',document.body.appendChild(c),(l=window.frames[u]).document.open(),l.document.writeln(s),l.document.close(),t=l.document.body);var f,d=new h(e,n,i,a);return b.call(this,t,d,a.elementHandlers,function(e){y(t,d,a.elementHandlers),r(t,d,a.elementHandlers),d.pdf.internal.events.publish("htmlRenderingFinished"),f=d.dispose(),"function"==typeof o?o(f):e&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),f||{x:d.x,y:d.y}},(h=function(e,t,n,r){return this.pdf=e,this.x=t,this.y=n,this.settings=r,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},h.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},h.prototype.executeWatchFunctions=function(e){var t=!1,n=[];if(0<this.watchFunctions.length){for(var r=0;r<this.watchFunctions.length;++r)!0===this.watchFunctions[r](e)?t=!0:n.push(this.watchFunctions[r]);this.watchFunctions=n}return t},h.prototype.splitFragmentsIntoLines=function(e,t){var r,i,a,o,s,l,c,u,f,h,d,p,g,m;for(h=this.pdf.internal.scaleFactor,o={},l=c=u=m=s=a=f=i=void 0,p=[d=[]],r=0,g=this.settings.width;e.length;)if(s=e.shift(),m=t.shift(),s)if((a=o[(i=m["font-family"])+(f=m["font-style"])])||(a=this.pdf.internal.getFont(i,f).metadata.Unicode,o[i+f]=a),u={widths:a.widths,kerning:a.kerning,fontSize:12*m["font-size"],textIndent:r},c=this.pdf.getStringUnitWidth(s,u)*u.fontSize/h,"\u2028"==s)d=[],p.push(d);else if(g<r+c){for(l=this.pdf.splitTextToSize(s,g,u),d.push([l.shift(),m]);l.length;)d=[[l.shift(),m]],p.push(d);r=this.pdf.getStringUnitWidth(d[0][0],u)*u.fontSize/h}else d.push([s,m]),r+=c;if(void 0!==m["text-align"]&&("center"===m["text-align"]||"right"===m["text-align"]||"justify"===m["text-align"]))for(var v=0;v<p.length;++v){var b=this.pdf.getStringUnitWidth(p[v][0][0],u)*u.fontSize/h;0<v&&(p[v][0][1]=n(p[v][0][1]));var y=g-b;if("right"===m["text-align"])p[v][0][1]["margin-left"]=y;else if("center"===m["text-align"])p[v][0][1]["margin-left"]=y/2;else if("justify"===m["text-align"]){var w=p[v][0][0].split(" ").length-1;p[v][0][1]["word-spacing"]=y/w,v===p.length-1&&(p[v][0][1]["word-spacing"]=0)}}return p},h.prototype.RenderTextFragment=function(e,t){var n,r;r=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(t.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),r=Math.max(r,t["line-height"],t["font-size"]),this.pdf.internal.write(0,(-12*r).toFixed(2),"Td")),n=this.pdf.internal.getFont(t["font-family"],t["font-style"]);var i=this.getPdfColor(t.color);i!==this.lastTextColor&&(this.pdf.internal.write(i),this.lastTextColor=i),void 0!==t["word-spacing"]&&0<t["word-spacing"]&&this.pdf.internal.write(t["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+n.id,(12*t["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(e)+") Tj"),void 0!==t["word-spacing"]&&this.pdf.internal.write(0,"Tw")},h.prototype.getPdfColor=function(e){var t,n,r,i=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(e);if(null!=i)t=parseInt(i[1]),n=parseInt(i[2]),r=parseInt(i[3]);else{if("string"==typeof e&&"#"!=e.charAt(0)){var a=new RGBColor(e);e=a.ok?a.toHex():"#000000"}t=e.substring(1,3),t=parseInt(t,16),n=e.substring(3,5),n=parseInt(n,16),r=e.substring(5,7),r=parseInt(r,16)}if("string"==typeof t&&/^#[0-9A-Fa-f]{6}$/.test(t)){var o=parseInt(t.substr(1),16);t=o>>16&255,n=o>>8&255,r=255&o}var s=this.f3;return 0===t&&0===n&&0===r||void 0===n?s(t/255)+" g":[s(t/255),s(n/255),s(r/255),"rg"].join(" ")},h.prototype.f3=function(e){return e.toFixed(3)},h.prototype.renderParagraph=function(e){var t,n,r,i,a,o,s,l,c,u,h,d,p;if(r=f(this.paragraph.text),d=this.paragraph.style,t=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:t},r.join("").trim()){s=this.splitFragmentsIntoLines(r,d),l=o=void 0,n=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,h=(Math.max((t["margin-top"]||0)-this.priorMarginBottom,0)+(t["padding-top"]||0))*n,u=((t["margin-bottom"]||0)+(t["padding-bottom"]||0))*n,this.priorMarginBottom=t["margin-bottom"]||0,"always"===t["page-break-before"]&&(this.pdf.addPage(),this.y=0,h=((t["margin-top"]||0)+(t["padding-top"]||0))*n),c=this.pdf.internal.write,a=i=void 0,this.y+=h,c("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var g=0;s.length;){for(i=l=0,a=(o=s.shift()).length;i!==a;)o[i][0].trim()&&(l=Math.max(l,o[i][1]["line-height"],o[i][1]["font-size"]),p=7*o[i][1]["font-size"]),i++;var m=0,v=0;for(void 0!==o[0][1]["margin-left"]&&0<o[0][1]["margin-left"]&&(m=(v=this.pdf.internal.getCoordinateString(o[0][1]["margin-left"]))-g,g=v),c(m+Math.max(t["margin-left"]||0,0)*n,(-12*l).toFixed(2),"Td"),i=0,a=o.length;i!==a;)o[i][0]&&this.RenderTextFragment(o[i][0],o[i][1]),i++;if(this.y+=l*n,this.executeWatchFunctions(o[0][1])&&0<s.length){var b=[],y=[];s.forEach(function(e){for(var t=0,n=e.length;t!==n;)e[t][0]&&(b.push(e[t][0]+" "),y.push(e[t][1])),++t}),s=this.splitFragmentsIntoLines(f(b),y),c("ET","Q"),c("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return e&&"function"==typeof e&&e.call(this,this.x-9,this.y-p/2),c("ET","Q"),this.y+=u}},h.prototype.setBlockBoundary=function(e){return this.renderParagraph(e)},h.prototype.setBlockStyle=function(e){return this.paragraph.blockstyle=e},h.prototype.addText=function(e,t){return this.paragraph.text.push(e),this.paragraph.style.push(t)},i={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},s={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},a={normal:"normal",italic:"italic",oblique:"italic"},o={left:"left",right:"right",center:"center",justify:"justify"},l={none:"none",right:"right",left:"left"},c={none:"none",both:"both"},g={normal:1},t.fromHTML=function(e,t,n,r,i,a){return this.margins_doc=a||{top:0,bottom:0},r||(r={}),r.elementHandlers||(r.elementHandlers={}),w(this,e,isNaN(t)?4:t,isNaN(n)?4:n,r,i)}}(de.API),de.API,("undefined"!=typeof window&&window||"undefined"!=typeof global&&global).html2pdf=function(e,t,n){var r=t.canvas;if(r){var i,a;if((r.pdf=t).annotations={_nameMap:[],createAnnotation:function(e,n){var r,i=t.context2d._wrapX(n.left),a=t.context2d._wrapY(n.top),o=(t.context2d._page(n.top),e.indexOf("#"));r=0<=o?{name:e.substring(o+1)}:{url:e},t.link(i,a,n.right-n.left,n.bottom-n.top,r)},setName:function(e,n){var r=t.context2d._wrapX(n.left),i=t.context2d._wrapY(n.top),a=t.context2d._page(n.top);this._nameMap[e]={page:a,x:r,y:i}}},r.annotations=t.annotations,t.context2d._pageBreakAt=function(e){this.pageBreaks.push(e)},t.context2d._gotoPage=function(e){for(;t.internal.getNumberOfPages()<e;)t.addPage();t.setPage(e)},"string"==typeof e){e=e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var o,s,l=document.createElement("iframe");document.body.appendChild(l),null!=(o=l.contentDocument)&&null!=o||(o=l.contentWindow.document),o.open(),o.write(e),o.close(),i=o.body,s=o.body||{},e=o.documentElement||{},a=Math.max(s.scrollHeight,s.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight)}else s=(i=e).body||{},a=Math.max(s.scrollHeight,s.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight);var c={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:r,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:a=t.internal.pageSize.getHeight(),scrollY:a};t.context2d.pageWrapYEnabled=!0,t.context2d.pageWrapY=t.internal.pageSize.getHeight(),html2canvas(i,c).then(function(e){n&&(l&&l.parentElement.removeChild(l),n(t))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(e){function t(e){return e.map(function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var n=new Uint8Array(e.byteLength);n.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=n.buffer}return t}return e})}function n(e,n){n=n||{};var r=new a;return t(e).forEach(function(e){r.append(e)}),n.type?r.getBlob(n.type):r.getBlob()}function r(e,n){return new o(t(e),n||{})}function i(){var t=!!e.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,n=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send;t&&n&&(XMLHttpRequest.prototype.send=function(e){e instanceof Blob&&this.setRequestHeader("Content-Type",e.type),n.call(this,e)});try{new File([],"")}catch(t){try{var r=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();e.File=r}catch(t){r=function(e,t,n){var r=new Blob(e,n),i=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date;return r.name=t,r.lastModifiedDate=i,r.lastModified=+i,r.toString=function(){return"[object File]"},c&&(r[c]="File"),r},e.File=r}}}var a=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder;e.URL=e.URL||e.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var o=e.Blob,s=URL.createObjectURL,l=URL.revokeObjectURL,c=e.Symbol&&e.Symbol.toStringTag,u=!1,f=!1,h=!!e.ArrayBuffer,d=a&&a.prototype.append&&a.prototype.getBlob;try{u=2===new Blob(["ä"]).size,f=2===new Blob([new Uint8Array([1,2])]).size}catch(u){}if(e.Blob&&(n.prototype=Blob.prototype,r.prototype=Blob.prototype),c)try{File.prototype[c]="File",Blob.prototype[c]="Blob",FileReader.prototype[c]="FileReader"}catch(u){}u?(i(),e.Blob=f?e.Blob:r):d?(i(),e.Blob=n):function(){function t(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t.push(r):r<2048?t.push(192|r>>6,128|63&r):r<55296||57344<=r?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}function n(e){var t,n,r,i,a,o;for(t="",r=e.length,n=0;n<r;)switch((i=e[n++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:t+=String.fromCharCode(i);break;case 12:case 13:a=e[n++],t+=String.fromCharCode((31&i)<<6|63&a);break;case 14:a=e[n++],o=e[n++],t+=String.fromCharCode((15&i)<<12|(63&a)<<6|(63&o)<<0)}return t}function r(e){for(var t=new Array(e.byteLength),n=new Uint8Array(e),r=t.length;r--;)t[r]=n[r];return t}function i(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[],r=0;r<e.length;r+=3){var i=e[r],a=r+1<e.length,o=a?e[r+1]:0,s=r+2<e.length,l=s?e[r+2]:0,c=i>>2,u=(3&i)<<4|o>>4,f=(15&o)<<2|l>>6,h=63&l;s||(h=64,a||(f=64)),n.push(t[c],t[u],t[f],t[h])}return n.join("")}function a(e,n){for(var i=0,o=(e=e||[]).length;i<o;i++){var s=e[i];s instanceof a?e[i]=s._buffer:"string"==typeof s?e[i]=t(s):h&&(ArrayBuffer.prototype.isPrototypeOf(s)||p(s))?e[i]=r(s):h&&(l=s)&&DataView.prototype.isPrototypeOf(l)?e[i]=r(s.buffer):e[i]=t(String(s))}var l;this._buffer=[].concat.apply([],e),this.size=this._buffer.length,this.type=n&&n.type||""}function o(e,t,n){var r=a.call(this,e,n=n||{})||this;return r.name=t,r.lastModifiedDate=n.lastModified?new Date(n.lastModified):new Date,r.lastModified=+r.lastModifiedDate,r}function c(){if(!(this instanceof c))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var e=document.createDocumentFragment();this.addEventListener=e.addEventListener,this.dispatchEvent=function(t){var n=this["on"+t.type];"function"==typeof n&&n(t),e.dispatchEvent(t)},this.removeEventListener=e.removeEventListener}function u(e,t,n){if(!(t instanceof a))throw new TypeError("Failed to execute '"+n+"' on 'FileReader': parameter 1 is not of type 'Blob'.");e.result="",setTimeout(function(){this.readyState=c.LOADING,e.dispatchEvent(new Event("load")),e.dispatchEvent(new Event("loadend"))})}var f=Object.create||function(e){function t(){}return t.prototype=e,new t};if(h)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(e){return e&&-1<d.indexOf(Object.prototype.toString.call(e))};if(a.prototype.slice=function(e,t,n){return new a([this._buffer.slice(e||0,t||this._buffer.length)],{type:n})},a.prototype.toString=function(){return"[object Blob]"},(o.prototype=f(a.prototype)).constructor=o,Object.setPrototypeOf)Object.setPrototypeOf(o,a);else try{o.__proto__=a}catch(f){}o.prototype.toString=function(){return"[object File]"},c.EMPTY=0,c.LOADING=1,c.DONE=2,c.prototype.error=null,c.prototype.onabort=null,c.prototype.onerror=null,c.prototype.onload=null,c.prototype.onloadend=null,c.prototype.onloadstart=null,c.prototype.onprogress=null,c.prototype.readAsDataURL=function(e){u(this,e,"readAsDataURL"),this.result="data:"+e.type+";base64,"+i(e._buffer)},c.prototype.readAsText=function(e){u(this,e,"readAsText"),this.result=n(e._buffer)},c.prototype.readAsArrayBuffer=function(e){u(this,e,"readAsText"),this.result=e._buffer.slice()},c.prototype.abort=function(){},URL.createObjectURL=function(e){return e instanceof a?"data:"+e.type+";base64,"+i(e._buffer):s.call(URL,e)},URL.revokeObjectURL=function(e){l&&l.call(URL,e)};var g=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send;g&&(XMLHttpRequest.prototype.send=function(e){e instanceof a?(this.setRequestHeader("Content-Type",e.type),g.call(this,n(e._buffer))):g.call(this,e)}),e.FileReader=c,e.File=o,e.Blob=a}()}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")());var pe,ge,me,ve,be,ye,we,Se,xe,Ee,_e,ke,Ae,Ce,Te,Re=Re||function(e){if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in r,a=/constructor/i.test(e.HTMLElement)||e.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),s=e.setImmediate||e.setTimeout,l=function(e){s(function(){throw e},0)},c=function(e){setTimeout(function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()},4e4)},u=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},f=function(t,f,h){h||(t=u(t));var d,p=this,g="application/octet-stream"===t.type,m=function(){!function(e,t,n){for(var r=(t=[].concat(t)).length;r--;){var i=e["on"+t[r]];if("function"==typeof i)try{i.call(e,e)}catch(e){l(e)}}}(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,i)return d=n().createObjectURL(t),void s(function(){var e,t;r.href=d,r.download=f,e=r,t=new MouseEvent("click"),e.dispatchEvent(t),m(),c(d),p.readyState=p.DONE},0);!function(){if((o||g&&a)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=o?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,p.readyState=p.DONE,m()},r.readAsDataURL(t),p.readyState=p.INIT}d||(d=n().createObjectURL(t)),g?e.location.href=d:e.open(d,"_blank")||(e.location.href=d),p.readyState=p.DONE,m(),c(d)}()},h=f.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return t=t||e.name||"download",n||(e=u(e)),navigator.msSaveOrOpenBlob(e,t)}:(h.abort=function(){},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(e,t,n){return new f(e,t||e.name||"download",n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0);try{exports.GifWriter=function(e,t,n,r){function i(e){var t=e.length;if(t<2||256<t||t&t-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return t}var a=0,o=void 0===(r=void 0===r?{}:r).loop?null:r.loop,s=void 0===r.palette?null:r.palette;if(t<=0||n<=0||65535<t||65535<n)throw"Width/Height invalid.";e[a++]=71,e[a++]=73,e[a++]=70,e[a++]=56,e[a++]=57,e[a++]=97;var l=0,c=0;if(null!==s){for(var u=i(s);u>>=1;)++l;if(u=1<<l,--l,void 0!==r.background){if(u<=(c=r.background))throw"Background index out of range.";if(0===c)throw"Background index explicitly passed as 0."}}if(e[a++]=255&t,e[a++]=t>>8&255,e[a++]=255&n,e[a++]=n>>8&255,e[a++]=(null!==s?128:0)|l,e[a++]=c,e[a++]=0,null!==s)for(var f=0,h=s.length;f<h;++f){var d=s[f];e[a++]=d>>16&255,e[a++]=d>>8&255,e[a++]=255&d}if(null!==o){if(o<0||65535<o)throw"Loop count invalid.";e[a++]=33,e[a++]=255,e[a++]=11,e[a++]=78,e[a++]=69,e[a++]=84,e[a++]=83,e[a++]=67,e[a++]=65,e[a++]=80,e[a++]=69,e[a++]=50,e[a++]=46,e[a++]=48,e[a++]=3,e[a++]=1,e[a++]=255&o,e[a++]=o>>8&255,e[a++]=0}var p=!1;this.addFrame=function(t,n,r,o,l,c){if(!0===p&&(--a,p=!1),c=void 0===c?{}:c,t<0||n<0||65535<t||65535<n)throw"x/y invalid.";if(r<=0||o<=0||65535<r||65535<o)throw"Width/Height invalid.";if(l.length<r*o)throw"Not enough pixels for the frame size.";var u=!0,f=c.palette;if(null==f&&(u=!1,f=s),null==f)throw"Must supply either a local or global palette.";for(var h=i(f),d=0;h>>=1;)++d;h=1<<d;var g=void 0===c.delay?0:c.delay,m=void 0===c.disposal?0:c.disposal;if(m<0||3<m)throw"Disposal out of range.";var v=!1,b=0;if(void 0!==c.transparent&&null!==c.transparent&&(v=!0,(b=c.transparent)<0||h<=b))throw"Transparent color index.";if((0!==m||v||0!==g)&&(e[a++]=33,e[a++]=249,e[a++]=4,e[a++]=m<<2|(!0===v?1:0),e[a++]=255&g,e[a++]=g>>8&255,e[a++]=b,e[a++]=0),e[a++]=44,e[a++]=255&t,e[a++]=t>>8&255,e[a++]=255&n,e[a++]=n>>8&255,e[a++]=255&r,e[a++]=r>>8&255,e[a++]=255&o,e[a++]=o>>8&255,e[a++]=!0===u?128|d-1:0,!0===u)for(var y=0,w=f.length;y<w;++y){var S=f[y];e[a++]=S>>16&255,e[a++]=S>>8&255,e[a++]=255&S}a=function(e,t,n,r){function i(n){for(;n<=h;)e[t++]=255&d,d>>=8,h-=8,t===o+256&&(e[o]=255,o=t++)}function a(e){d|=e<<h,h+=f,i(8)}e[t++]=n;var o=t++,s=1<<n,l=s-1,c=s+1,u=c+1,f=n+1,h=0,d=0,p=r[0]&l,g={};a(s);for(var m=1,v=r.length;m<v;++m){var b=r[m]&l,y=p<<8|b,w=g[y];if(void 0===w){for(d|=p<<h,h+=f;8<=h;)e[t++]=255&d,d>>=8,h-=8,t===o+256&&(e[o]=255,o=t++);4096===u?(a(s),u=c+1,f=n+1,g={}):(1<<f<=u&&++f,g[y]=u++),p=b}else p=w}return a(p),a(c),i(1),o+1===t?e[o]=0:(e[o]=t-o-1,e[t++]=0),t}(e,a,d<2?2:d,l)},this.end=function(){return!1===p&&(e[a++]=59,p=!0),a}},exports.GifReader=t}catch(a){}window.tmp=t,de.API.adler32cs=(ye="function"==typeof ArrayBuffer&&"function"==typeof Uint8Array,we=null,Se=function(){if(!ye)return function(){return!1};try{var e={};"function"==typeof e.Buffer&&(we=e.Buffer)}catch(e){}return function(e){return e instanceof ArrayBuffer||null!==we&&e instanceof we}}(),xe=null!==we?function(e){
|
||
return new we(e,"utf8").toString("binary")}:function(e){return unescape(encodeURIComponent(e))},Ee=function(e,t){for(var n=65535&e,r=e>>>16,i=0,a=t.length;i<a;i++)n=(n+(255&t.charCodeAt(i)))%65521,r=(r+n)%65521;return(r<<16|n)>>>0},_e=function(e,t){for(var n=65535&e,r=e>>>16,i=0,a=t.length;i<a;i++)n=(n+t[i])%65521,r=(r+n)%65521;return(r<<16|n)>>>0},Ae=(ke={}).Adler32=(((be=(ve=function(e){if(!(this instanceof ve))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(e=null==e?1:+e))throw new Error("First arguments needs to be a finite number.");this.checksum=e>>>0}).prototype={}).constructor=ve).from=((pe=function(e){if(!(this instanceof ve))throw new TypeError("Constructor cannot called be as a function.");if(null==e)throw new Error("First argument needs to be a string.");this.checksum=Ee(1,e.toString())}).prototype=be,pe),ve.fromUtf8=((ge=function(e){if(!(this instanceof ve))throw new TypeError("Constructor cannot called be as a function.");if(null==e)throw new Error("First argument needs to be a string.");var t=xe(e.toString());this.checksum=Ee(1,t)}).prototype=be,ge),ye&&(ve.fromBuffer=((me=function(e){if(!(this instanceof ve))throw new TypeError("Constructor cannot called be as a function.");if(!Se(e))throw new Error("First argument needs to be ArrayBuffer.");var t=new Uint8Array(e);return this.checksum=_e(1,t)}).prototype=be,me)),be.update=function(e){if(null==e)throw new Error("First argument needs to be a string.");return e=e.toString(),this.checksum=Ee(this.checksum,e)},be.updateUtf8=function(e){if(null==e)throw new Error("First argument needs to be a string.");var t=xe(e.toString());return this.checksum=Ee(this.checksum,t)},ye&&(be.updateBuffer=function(e){if(!Se(e))throw new Error("First argument needs to be ArrayBuffer.");var t=new Uint8Array(e);return this.checksum=_e(this.checksum,t)}),be.clone=function(){return new Ae(this.checksum)},ve),ke.from=function(e){if(null==e)throw new Error("First argument needs to be a string.");return Ee(1,e.toString())},ke.fromUtf8=function(e){if(null==e)throw new Error("First argument needs to be a string.");var t=xe(e.toString());return Ee(1,t)},ye&&(ke.fromBuffer=function(e){if(!Se(e))throw new Error("First argument need to be ArrayBuffer.");var t=new Uint8Array(e);return _e(1,t)}),ke),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,a,o,s,l,c=t,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],g=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var b=function(e){var t=e.charCodeAt(),n=t>>8,r=d[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?"AL":g.test(n)?"L":8===n?"R":"N"},y=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=b(e.charAt(n))))return!1;if("R"===t)return!0}return!1},w=function(e,t,o,s){var l,c,u,f,h=t[s];switch(h){case"L":case"R":m=!1;break;case"N":case"AN":break;case"EN":m&&(h="AN");break;case"AL":m=!0,h="R";break;case"WS":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=o[s-1])&&"AN"!==l||"EN"!==(c=t[s+1])&&"AN"!==c?h="N":m&&(c="AN"),h=c===l?c:"N";break;case"ES":h="EN"===(l=0<s?o[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(0<s&&"EN"===o[s-1]){h="EN";break}if(m){h="N";break}for(u=s+1,f=t.length;u<f&&"ET"===t[u];)u++;h=u<f&&"EN"===t[u]?"EN":"N";break;case"NSM":if(i&&!a){for(f=t.length,u=s+1;u<f&&"NSM"===t[u];)u++;if(u<f){var d=e[s],p=1425<=d&&d<=2303||64286===d;if(l=t[u],p&&("R"===l||"AL"===l)){h="R";break}}}h=s<1||"B"===(l=t[s-1])?"N":o[s-1];break;case"B":n=!(m=!1),h=v;break;case"S":r=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"BN":h="N"}return h},S=function(e,t,n){var r=e.split("");return n&&x(r,n,{hiLevel:v}),r.reverse(),t&&t.reverse(),r.join("")},x=function(e,t,i){var a,o,s,l,c,d=-1,p=e.length,g=0,y=[],S=v?f:u,x=[];for(r=n=m=!1,o=0;o<p;o++)x[o]=b(e[o]);for(s=0;s<p;s++){if(c=g,y[s]=w(e,x,y,s),a=240&(g=S[c][h[y[s]]]),g&=15,t[s]=l=S[g][5],0<a)if(16===a){for(o=d;o<s;o++)t[o]=1;d=-1}else d=-1;if(S[g][6])-1===d&&(d=s);else if(-1<d){for(o=d;o<s;o++)t[o]=l;d=-1}"B"===x[s]&&(t[s]=0),i.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=v;for(var i=r-1;0<=i&&"WS"===e[i];i--)t[i]=v}}(x,t,p)},E=function(e,t,r,i,a){if(!(a.hiLevel<e)){if(1===e&&1===v&&!n)return t.reverse(),void(r&&r.reverse());for(var o,s,l,c,u=t.length,f=0;f<u;){if(i[f]>=e){for(l=f+1;l<u&&i[l]>=e;)l++;for(c=f,s=l-1;c<s;c++,s--)o=t[c],t[c]=t[s],t[s]=o,r&&(o=r[c],r[c]=r[s],r[s]=o);f=l}f++}}},_=function(e,t,n){var r=e.split(""),i={hiLevel:v};return n||(n=[]),x(r,n,i),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,i=0;i<e.length;i++)1===t[i]&&0<=(r=p.indexOf(e[i]))&&(e[i]=p[r+1])}(r,n,i),E(2,r,t,n,i),E(1,r,t,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===a&&(a=y(e)),void 0===s&&(s=y(e))}(e,t),i||!o||s)if(i&&o&&a^s)v=a?1:0,e=S(e,t,n);else if(!i&&o&&s)v=a?1:0,e=_(e,t,n),e=S(e,t);else if(!i||a||o||s){if(i&&!o&&a^s)e=S(e,t),e=a?(v=0,_(e,t,n)):(v=1,e=_(e,t,n),S(e,t));else if(i&&a&&!o&&s)v=1,e=_(e,t,n),e=S(e,t);else if(!i&&!o&&a^s){var r=l;a?(v=1,e=_(e,t,n),v=0,l=!1,e=_(e,t,n),l=r):(v=0,e=_(e,t,n),e=S(e,t),l=!(v=1),e=_(e,t,n),l=r,e=S(e,t))}}else v=0,e=_(e,t,n);else v=a?1:0,e=_(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,o=e.isOutputVisual,a=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,r=(e.x,e.y,e.options,e.mutex,[]);if("[object Array]"===Object.prototype.toString.call(t)){var i=0;for(r=[],i=0;i<t.length;i+=1)"[object Array]"===Object.prototype.toString.call(t[i])?r.push([n.doBidiReorder(t[i][0]),t[i][1],t[i][2]]):r.push([n.doBidiReorder(t[i])]);e.text=r}else e.text=n.doBidiReorder(t)}])}(de),window.tmp=r,i.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},i.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){console.log("bit decode error:"+e)}},i.prototype.bit1=function(){var e=Math.ceil(this.width/8),t=e%4,n=0<=this.height?this.height-1:-this.height;for(n=this.height-1;0<=n;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++)for(var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var l=this.palette[a>>7-s&1];this.data[o+4*s]=l.blue,this.data[o+4*s+1]=l.green,this.data[o+4*s+2]=l.red,this.data[o+4*s+3]=255}0!=t&&(this.pos+=4-t)}},i.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;0<=n;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+2*i*4,s=a>>4,l=15&a,c=this.palette[s];if(this.data[o]=c.blue,this.data[o+1]=c.green,this.data[o+2]=c.red,this.data[o+3]=255,2*i+1>=this.width)break;c=this.palette[l],this.data[o+4]=c.blue,this.data[o+4+1]=c.green,this.data[o+4+2]=c.red,this.data[o+4+3]=255}0!=t&&(this.pos+=4-t)}},i.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;0<=t;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+4*r;if(i<this.palette.length){var o=this.palette[i];this.data[a]=o.red,this.data[a+1]=o.green,this.data[a+2]=o.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}0!=e&&(this.pos+=4-e)}},i.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;0<=n;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(a&t)/t*255|0,s=(a>>5&t)/t*255|0,l=(a>>10&t)/t*255|0,c=a>>15?255:0,u=r*this.width*4+4*i;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=o,this.data[u+3]=c}this.pos+=e}},i.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;0<=r;r--){for(var i=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&t)/t*255|0,l=(o>>5&n)/n*255|0,c=(o>>11)/t*255|0,u=i*this.width*4+4*a;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},i.prototype.bit24=function(){for(var e=this.height-1;0<=e;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*n;this.data[o]=a,this.data[o+1]=i,this.data[o+2]=r,this.data[o+3]=255}this.pos+=this.width%4}},i.prototype.bit32=function(){for(var e=this.height-1;0<=e;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=o}},i.prototype.getData=function(){return this.data},window.tmp=i,function(e){function t(){function e(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}var t=this;t.build_tree=function(n){var r,i,a,o=t.dyn_tree,c=t.stat_desc.static_tree,u=t.stat_desc.elems,f=-1;for(n.heap_len=0,n.heap_max=l,r=0;r<u;r++)0!==o[2*r]?(n.heap[++n.heap_len]=f=r,n.depth[r]=0):o[2*r+1]=0;for(;n.heap_len<2;)o[2*(a=n.heap[++n.heap_len]=f<2?++f:0)]=1,n.depth[a]=0,n.opt_len--,c&&(n.static_len-=c[2*a+1]);for(t.max_code=f,r=Math.floor(n.heap_len/2);1<=r;r--)n.pqdownheap(o,r);for(a=u;r=n.heap[1],n.heap[1]=n.heap[n.heap_len--],n.pqdownheap(o,1),i=n.heap[1],n.heap[--n.heap_max]=r,n.heap[--n.heap_max]=i,o[2*a]=o[2*r]+o[2*i],n.depth[a]=Math.max(n.depth[r],n.depth[i])+1,o[2*r+1]=o[2*i+1]=a,n.heap[1]=a++,n.pqdownheap(o,1),2<=n.heap_len;);n.heap[--n.heap_max]=n.heap[1],function(e){var n,r,i,a,o,c,u=t.dyn_tree,f=t.stat_desc.static_tree,h=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(a=0;a<=s;a++)e.bl_count[a]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<l;n++)p<(a=u[2*u[2*(r=e.heap[n])+1]+1]+1)&&(a=p,g++),u[2*r+1]=a,r>t.max_code||(e.bl_count[a]++,o=0,d<=r&&(o=h[r-d]),c=u[2*r],e.opt_len+=c*(a+o),f&&(e.static_len+=c*(f[2*r+1]+o)));if(0!==g){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,g-=2}while(0<g);for(a=p;0!==a;a--)for(r=e.bl_count[a];0!==r;)(i=e.heap[--n])>t.max_code||(u[2*i+1]!=a&&(e.opt_len+=(a-u[2*i+1])*u[2*i],u[2*i+1]=a),r--)}}(n),function(t,n,r){var i,a,o,l=[],c=0;for(i=1;i<=s;i++)l[i]=c=c+r[i-1]<<1;for(a=0;a<=n;a++)0!==(o=t[2*a+1])&&(t[2*a]=e(l[o]++,o))}(o,t.max_code,n.bl_count)}}function n(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i}function r(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function i(e,t,n,r){var i=e[2*t],a=e[2*n];return i<a||i==a&&r[t]<=r[n]}function a(){function e(){var e;for(e=0;e<286;e++)Z[2*e]=0;for(e=0;e<30;e++)Q[2*e]=0;for(e=0;e<19;e++)ee[2*e]=0;Z[512]=1,ce.opt_len=ce.static_len=0,re=ae=0}function r(e,t){var n,r,i=-1,a=e[1],o=0,s=7,l=4;for(0===a&&(s=138,l=3),e[2*(t+1)+1]=65535,n=0;n<=t;n++)r=a,a=e[2*(n+1)+1],++o<s&&r==a||(o<l?ee[2*r]+=o:0!==r?(r!=i&&ee[2*r]++,ee[32]++):o<=10?ee[34]++:ee[36]++,i=r,l=(o=0)===a?(s=138,3):r==a?(s=6,3):(s=7,4))}function a(e){ce.pending_buf[ce.pending++]=e}function o(e){a(255&e),a(e>>>8&255)}function s(e,t){var n,r=t;16-r<le?(o(se|=(n=e)<<le&65535),se=n>>>16-le,le+=r-16):(se|=e<<le&65535,le+=r)}function l(e,t){var n=2*e;s(65535&t[n],65535&t[n+1])}function c(e,t){var n,r,i=-1,a=e[1],o=0,c=7,u=4;for(0===a&&(c=138,u=3),n=0;n<=t;n++)if(r=a,a=e[2*(n+1)+1],!(++o<c&&r==a)){if(o<u)for(;l(r,ee),0!=--o;);else 0!==r?(r!=i&&(l(r,ee),o--),l(16,ee),s(o-3,2)):o<=10?(l(17,ee),s(o-3,3)):(l(18,ee),s(o-11,7));i=r,u=(o=0)===a?(c=138,3):r==a?(c=6,3):(c=7,4)}}function h(){16==le?(o(se),le=se=0):8<=le&&(a(255&se),se>>>=8,le-=8)}function d(e,n){var r,i,a;if(ce.pending_buf[ie+2*re]=e>>>8&255,ce.pending_buf[ie+2*re+1]=255&e,ce.pending_buf[te+re]=255&n,re++,0===e?Z[2*n]++:(ae++,e--,Z[2*(t._length_code[n]+256+1)]++,Q[2*t.d_code(e)]++),0==(8191&re)&&2<X){for(r=8*re,i=z-M,a=0;a<30;a++)r+=Q[2*a]*(5+t.extra_dbits[a]);if(r>>>=3,ae<Math.floor(re/2)&&r<Math.floor(i/2))return!0}return re==ne-1}function p(e,n){var r,i,a,o,c=0;if(0!==re)for(;r=ce.pending_buf[ie+2*c]<<8&65280|255&ce.pending_buf[ie+2*c+1],i=255&ce.pending_buf[te+c],c++,0===r?l(i,e):(l((a=t._length_code[i])+256+1,e),0!==(o=t.extra_lbits[a])&&s(i-=t.base_length[a],o),l(a=t.d_code(--r),n),0!==(o=t.extra_dbits[a])&&s(r-=t.base_dist[a],o)),c<re;);l(256,e),oe=e[513]}function g(){8<le?o(se):0<le&&a(255&se),le=se=0}function m(e,t,n){var r,i,a;s(0+(n?1:0),3),r=e,i=t,a=!0,g(),oe=8,a&&(o(i),o(~i)),ce.pending_buf.set(R.subarray(r,r+i),ce.pending),ce.pending+=i}function v(i,a,o){var l,u,f=0;0<X?(ue.build_tree(ce),fe.build_tree(ce),f=function(){var e;for(r(Z,ue.max_code),r(Q,fe.max_code),he.build_tree(ce),e=18;3<=e&&0===ee[2*t.bl_order[e]+1];e--);return ce.opt_len+=3*(e+1)+5+5+4,e}(),l=ce.opt_len+3+7>>>3,(u=ce.static_len+3+7>>>3)<=l&&(l=u)):l=u=a+5,a+4<=l&&-1!=i?m(i,a,o):u==l?(s(2+(o?1:0),3),p(n.static_ltree,n.static_dtree)):(s(4+(o?1:0),3),function(e,n,r){var i;for(s(e-257,5),s(n-1,5),s(r-4,4),i=0;i<r;i++)s(ee[2*t.bl_order[i]+1],3);c(Z,e-1),c(Q,n-1)}(ue.max_code+1,fe.max_code+1,f+1),p(Z,Q)),e(),o&&g()}function b(e){v(0<=M?M:-1,z-M,e),M=z,x.flush_pending()}function y(){var e,t,n,r;do{if(0==(r=N-V-z)&&0===z&&0===V)r=A;else if(-1==r)r--;else if(A+A-262<=z){for(R.set(R.subarray(A,A+A),0),H-=A,z-=A,M-=A,n=e=L;t=65535&I[--n],I[n]=A<=t?t-A:0,0!=--e;);for(n=e=A;t=65535&B[--n],B[n]=A<=t?t-A:0,0!=--e;);r+=A}if(0===x.avail_in)return;e=x.read_buf(R,z+V,r),3<=(V+=e)&&(O=((O=255&R[z])<<D^255&R[z+1])&F)}while(V<262&&0!==x.avail_in)}function w(e){var t,n,r=G,i=z,a=q,o=A-262<z?z-(A-262):0,s=J,l=T,c=z+258,u=R[i+a-1],f=R[i+a];K<=q&&(r>>=2),V<s&&(s=V);do{if(R[(t=e)+a]==f&&R[t+a-1]==u&&R[t]==R[i]&&R[++t]==R[i+1]){i+=2,t++;do{}while(R[++i]==R[++t]&&R[++i]==R[++t]&&R[++i]==R[++t]&&R[++i]==R[++t]&&R[++i]==R[++t]&&R[++i]==R[++t]&&R[++i]==R[++t]&&R[++i]==R[++t]&&i<c);if(n=258-(c-i),i=c-258,a<n){if(H=e,s<=(a=n))break;u=R[i+a-1],f=R[i+a]}}}while((e=65535&B[e&l])>o&&0!=--r);return a<=V?a:V}function S(t){return t.total_in=t.total_out=0,t.msg=null,ce.pending=0,ce.pending_out=0,E=113,k=0,ue.dyn_tree=Z,ue.stat_desc=n.static_l_desc,fe.dyn_tree=Q,fe.stat_desc=n.static_d_desc,he.dyn_tree=ee,he.stat_desc=n.static_bl_desc,le=se=0,oe=8,e(),function(){var e;for(N=2*A,e=I[L-1]=0;e<L-1;e++)I[e]=0;$=u[X].max_lazy,K=u[X].good_length,J=u[X].nice_length,G=u[X].max_chain,j=q=2,O=U=V=M=z=0}(),0}var x,E,_,k,A,C,T,R,N,B,I,O,L,P,F,D,M,j,W,U,z,H,V,q,G,$,X,Y,K,J,Z,Q,ee,te,ne,re,ie,ae,oe,se,le,ce=this,ue=new t,fe=new t,he=new t;ce.depth=[],ce.bl_count=[],ce.heap=[],Z=[],Q=[],ee=[],ce.pqdownheap=function(e,t){for(var n=ce.heap,r=n[t],a=t<<1;a<=ce.heap_len&&(a<ce.heap_len&&i(e,n[a+1],n[a],ce.depth)&&a++,!i(e,r,n[a],ce.depth));)n[t]=n[a],t=a,a<<=1;n[t]=r},ce.deflateInit=function(e,t,n,r,i,a){return r||(r=8),i||(i=8),a||(a=0),e.msg=null,-1==t&&(t=6),i<1||9<i||8!=r||n<9||15<n||t<0||9<t||a<0||2<a?-2:(e.dstate=ce,T=(A=1<<(C=n))-1,F=(L=1<<(P=i+7))-1,D=Math.floor((P+3-1)/3),R=new Uint8Array(2*A),B=[],I=[],ne=1<<i+6,ce.pending_buf=new Uint8Array(4*ne),_=4*ne,ie=Math.floor(ne/2),te=3*ne,X=t,Y=a,S(e))},ce.deflateEnd=function(){return 42!=E&&113!=E&&666!=E?-2:(ce.pending_buf=null,R=B=I=null,ce.dstate=null,113==E?-3:0)},ce.deflateParams=function(e,t,n){var r=0;return-1==t&&(t=6),t<0||9<t||n<0||2<n?-2:(u[X].func!=u[t].func&&0!==e.total_in&&(r=e.deflate(1)),X!=t&&($=u[X=t].max_lazy,K=u[X].good_length,J=u[X].nice_length,G=u[X].max_chain),Y=n,r)},ce.deflateSetDictionary=function(e,t,n){var r,i=n,a=0;if(!t||42!=E)return-2;if(i<3)return 0;for(A-262<i&&(a=n-(i=A-262)),R.set(t.subarray(a,a+i),0),M=z=i,O=((O=255&R[0])<<D^255&R[1])&F,r=0;r<=i-3;r++)O=(O<<D^255&R[r+2])&F,B[r&T]=I[O],I[O]=r;return 0},ce.deflate=function(e,t){var r,i,o,c,p,g;if(4<t||t<0)return-2;if(!e.next_out||!e.next_in&&0!==e.avail_in||666==E&&4!=t)return e.msg=f[4],-2;if(0===e.avail_out)return e.msg=f[7],-5;if(x=e,c=k,k=t,42==E&&(i=8+(C-8<<4)<<8,3<(o=(X-1&255)>>1)&&(o=3),i|=o<<6,0!==z&&(i|=32),E=113,a((g=i+=31-i%31)>>8&255),a(255&g)),0!==ce.pending){if(x.flush_pending(),0===x.avail_out)return k=-1,0}else if(0===x.avail_in&&t<=c&&4!=t)return x.msg=f[7],-5;if(666==E&&0!==x.avail_in)return e.msg=f[7],-5;if(0!==x.avail_in||0!==V||0!=t&&666!=E){switch(p=-1,u[X].func){case 0:p=function(e){var t,n=65535;for(_-5<n&&(n=_-5);;){if(V<=1){if(y(),0===V&&0==e)return 0;if(0===V)break}if(z+=V,t=M+n,((V=0)===z||t<=z)&&(V=z-t,z=t,b(!1),0===x.avail_out))return 0;if(A-262<=z-M&&(b(!1),0===x.avail_out))return 0}return b(4==e),0===x.avail_out?4==e?2:0:4==e?3:1}(t);break;case 1:p=function(e){for(var t,n=0;;){if(V<262){if(y(),V<262&&0==e)return 0;if(0===V)break}if(3<=V&&(O=(O<<D^255&R[z+2])&F,n=65535&I[O],B[z&T]=I[O],I[O]=z),0!==n&&(z-n&65535)<=A-262&&2!=Y&&(j=w(n)),3<=j)if(t=d(z-H,j-3),V-=j,j<=$&&3<=V){for(j--;O=(O<<D^255&R[++z+2])&F,n=65535&I[O],B[z&T]=I[O],I[O]=z,0!=--j;);z++}else z+=j,j=0,O=((O=255&R[z])<<D^255&R[z+1])&F;else t=d(0,255&R[z]),V--,z++;if(t&&(b(!1),0===x.avail_out))return 0}return b(4==e),0===x.avail_out?4==e?2:0:4==e?3:1}(t);break;case 2:p=function(e){for(var t,n,r=0;;){if(V<262){if(y(),V<262&&0==e)return 0;if(0===V)break}if(3<=V&&(O=(O<<D^255&R[z+2])&F,r=65535&I[O],B[z&T]=I[O],I[O]=z),q=j,W=H,j=2,0!==r&&q<$&&(z-r&65535)<=A-262&&(2!=Y&&(j=w(r)),j<=5&&(1==Y||3==j&&4096<z-H)&&(j=2)),3<=q&&j<=q){for(n=z+V-3,t=d(z-1-W,q-3),V-=q-1,q-=2;++z<=n&&(O=(O<<D^255&R[z+2])&F,r=65535&I[O],B[z&T]=I[O],I[O]=z),0!=--q;);if(U=0,j=2,z++,t&&(b(!1),0===x.avail_out))return 0}else if(0!==U){if((t=d(0,255&R[z-1]))&&b(!1),z++,V--,0===x.avail_out)return 0}else U=1,z++,V--}return 0!==U&&(t=d(0,255&R[z-1]),U=0),b(4==e),0===x.avail_out?4==e?2:0:4==e?3:1}(t)}if(2!=p&&3!=p||(E=666),0==p||2==p)return 0===x.avail_out&&(k=-1),0;if(1==p){if(1==t)s(2,3),l(256,n.static_ltree),h(),1+oe+10-le<9&&(s(2,3),l(256,n.static_ltree),h()),oe=7;else if(m(0,0,!1),3==t)for(r=0;r<L;r++)I[r]=0;if(x.flush_pending(),0===x.avail_out)return k=-1,0}}return 4!=t?0:1}}function o(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}var s=15,l=573,c=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];t._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],t.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],
|
||
t.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],t.d_code=function(e){return e<256?c[e]:c[256+(e>>>7)]},t.extra_lbits=[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],t.extra_dbits=[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],t.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],t.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],n.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],n.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],n.static_l_desc=new n(n.static_ltree,t.extra_lbits,257,286,s),n.static_d_desc=new n(n.static_dtree,t.extra_dbits,0,30,s),n.static_bl_desc=new n(null,t.extra_blbits,0,19,7);var u=[new r(0,0,0,0,0),new r(4,4,8,4,1),new r(4,5,16,8,1),new r(4,6,32,32,1),new r(4,4,16,16,2),new r(8,16,32,32,2),new r(8,16,128,128,2),new r(8,32,128,256,2),new r(32,128,258,1024,2),new r(32,258,258,4096,2)],f=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];o.prototype={deflateInit:function(e,t){return this.dstate=new a,t||(t=s),this.dstate.deflateInit(this,e,t)},deflate:function(e){return this.dstate?this.dstate.deflate(this,e):-2},deflateEnd:function(){if(!this.dstate)return-2;var e=this.dstate.deflateEnd();return this.dstate=null,e},deflateParams:function(e,t){return this.dstate?this.dstate.deflateParams(this,e,t):-2},deflateSetDictionary:function(e,t){return this.dstate?this.dstate.deflateSetDictionary(this,e,t):-2},read_buf:function(e,t,n){var r=this.avail_in;return n<r&&(r=n),0===r?0:(this.avail_in-=r,e.set(this.next_in.subarray(this.next_in_index,this.next_in_index+r),t),this.next_in_index+=r,this.total_in+=r,r)},flush_pending:function(){var e=this,t=e.dstate.pending;t>e.avail_out&&(t=e.avail_out),0!==t&&(e.next_out.set(e.dstate.pending_buf.subarray(e.dstate.pending_out,e.dstate.pending_out+t),e.next_out_index),e.next_out_index+=t,e.dstate.pending_out+=t,e.total_out+=t,e.avail_out-=t,e.dstate.pending-=t,0===e.dstate.pending&&(e.dstate.pending_out=0))}};var h=e.zip||e;h.Deflater=h._jzlib_Deflater=function(e){var t=new o,n=new Uint8Array(512),r=e?e.level:-1;void 0===r&&(r=-1),t.deflateInit(r),t.next_out=n,this.append=function(e,r){var i,a=[],o=0,s=0,l=0;if(e.length){t.next_in_index=0,t.next_in=e,t.avail_in=e.length;do{if(t.next_out_index=0,t.avail_out=512,0!=t.deflate(0))throw new Error("deflating: "+t.msg);t.next_out_index&&(512==t.next_out_index?a.push(new Uint8Array(n)):a.push(new Uint8Array(n.subarray(0,t.next_out_index)))),l+=t.next_out_index,r&&0<t.next_in_index&&t.next_in_index!=o&&(r(t.next_in_index),o=t.next_in_index)}while(0<t.avail_in||0===t.avail_out);return i=new Uint8Array(l),a.forEach(function(e){i.set(e,s),s+=e.length}),i}},this.flush=function(){var e,r,i=[],a=0,o=0;do{if(t.next_out_index=0,t.avail_out=512,1!=(e=t.deflate(4))&&0!=e)throw new Error("deflating: "+t.msg);0<512-t.avail_out&&i.push(new Uint8Array(n.subarray(0,t.next_out_index))),o+=t.next_out_index}while(0<t.avail_in||0===t.avail_out);return t.deflateEnd(),r=new Uint8Array(o),i.forEach(function(e){r.set(e,a),a+=e.length}),r}}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")()),("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,"")).toLowerCase();var n={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var r in n)e==r&&(e=n[r]);for(var i=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],a=0;a<i.length;a++){var o=i[a].re,s=i[a].process,l=o.exec(e);l&&(t=s(l),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}},function(e){var t="+".charCodeAt(0),n="/".charCodeAt(0),r="0".charCodeAt(0),i="a".charCodeAt(0),a="A".charCodeAt(0),o="-".charCodeAt(0),s="_".charCodeAt(0),l=function(e){var l=e.charCodeAt(0);return l===t||l===o?62:l===n||l===s?63:l<r?-1:l<r+10?l-r+26+26:l<a+26?l-a:l<i+26?l-i+26:void 0};e.API.TTFFont=function(){function e(e,t,n){var r;if(this.rawData=e,r=this.contents=new u(e),this.contents.pos=4,"ttcf"===r.readString(4)){if(!t)throw new Error("Must specify a font name for TTC files.");throw new Error("Font "+t+" not found in TTC file.")}r.pos=0,this.parse(),this.subset=new R(this),this.registerTTF()}return e.open=function(t,n,r,i){if("string"!=typeof r)throw new Error("Invalid argument supplied in TTFFont.open");return new e(function(e){function t(e){s[u++]=e}var n,r,i,a,o,s;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.length;o="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,s=new Uint8Array(3*e.length/4-o),i=0<o?e.length-4:e.length;var u=0;for(r=n=0;n<i;n+=4,r+=3)t((16711680&(a=l(e.charAt(n))<<18|l(e.charAt(n+1))<<12|l(e.charAt(n+2))<<6|l(e.charAt(n+3))))>>16),t((65280&a)>>8),t(255&a);return 2===o?t(255&(a=l(e.charAt(n))<<2|l(e.charAt(n+1))>>4)):1===o&&(t((a=l(e.charAt(n))<<10|l(e.charAt(n+1))<<4|l(e.charAt(n+2))>>2)>>8&255),t(255&a)),s}(r),n,i)},e.prototype.parse=function(){return this.directory=new f(this.contents),this.head=new p(this),this.name=new S(this),this.cmap=new m(this),this.toUnicode=new Map,this.hhea=new v(this),this.maxp=new x(this),this.hmtx=new E(this),this.post=new y(this),this.os2=new b(this),this.loca=new T(this),this.glyf=new k(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),!0&(t=r>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,i,a,o,s;for(i=o=a=0,s=(e=""+e).length;0<=s?o<s:s<o;i=0<=s?++o:--o)r=e.charCodeAt(i),a+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return a*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var c,u=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return 2147483648<=(e=this.readUInt32())?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return 32768<=(e=this.readUInt16())?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n,r;for(n=[],t=r=0;0<=e?r<e:e<r;t=0<=e?++r:--r)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r,i;for(i=[],t=n=0,r=e.length;0<=r?n<r:r<n;t=0<=r?++n:--n)i.push(this.writeByte(e.charCodeAt(t)));return i},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,a,o,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),a=this.readByte(),o=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^a)+256*(255^o)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*i+65536*a+256*o+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:e<n;0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),f=function(){function e(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:r<n;0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}var t;return e.prototype.encode=function(e){var n,r,i,a,o,s,l,c,f,h,d,p,g;for(g in d=Object.keys(e).length,s=Math.log(2),f=16*Math.floor(Math.log(d)/s),a=Math.floor(f/s),c=16*d-f,(r=new u).writeInt(this.scalarType),r.writeShort(d),r.writeShort(f),r.writeShort(a),r.writeShort(c),i=16*d,l=r.pos+i,o=null,p=[],e)for(h=e[g],r.writeString(g),r.writeInt(t(h)),r.writeInt(l),r.writeInt(h.length),p=p.concat(h),"head"===g&&(o=l),l+=h.length;l%4;)p.push(0),l++;return r.write(p),n=2981146554-t(r.data),r.pos=o+8,r.writeUInt32(n),r.data},t=function(e){var t,n,r,i;for(e=_.call(e);e.length%4;)e.push(0);for(n=new u(e),r=t=0,i=e.length;r<i;r+=4)t+=n.readUInt32();return 4294967295&t},e}(),h={}.hasOwnProperty,d=function(e,t){function n(){this.constructor=e}for(var r in t)h.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};c=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var p=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new u).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),g=function(){function e(e,t){var n,r,i,a,o,s,l,c,u,f,h,d,p,g,m,v,b,y;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=m=0;m<256;s=++m)this.codeMap[s]=e.readByte();break;case 4:for(h=e.readUInt16(),f=h/2,e.pos+=6,i=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:f<t;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,p=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:f<t;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:f<t;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:f<t;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,o=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:r<t;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=v=0,y=i.length;v<y;s=++v)for(g=i[s],n=b=d=p[s];d<=g?b<=g:g<=b;n=d<=g?++b:--b)0===c[s]?a=n+l[s]:0!==(a=o[c[s]/2+(n-d)-(f-s)]||0)&&(a+=l[s]),this.codeMap[n]=65535&a}e.pos=u}return e.encode=function(e,t){var n,r,i,a,o,s,l,c,f,h,d,p,g,m,v,b,y,w,S,x,E,_,k,A,C,T,R,N,B,I,O,L,P,F,D,M,j,W,U,z,H,V,q,G,$,X;switch(N=new u,a=Object.keys(e).sort(function(e,t){return e-t}),t){case"macroman":for(g=0,m=function(){var e,t;for(t=[],p=e=0;e<256;p=++e)t.push(0);return t}(),b={0:0},i={},B=0,P=a.length;B<P;B++)null==b[q=e[r=a[B]]]&&(b[q]=++g),i[r]={old:e[r],new:b[e[r]]},m[r]=b[e[r]];return N.writeUInt16(1),N.writeUInt16(0),N.writeUInt32(12),N.writeUInt16(0),N.writeUInt16(262),N.writeUInt16(0),N.write(m),{charMap:i,subtable:N.data,maxGlyphID:g+1};case"unicode":for(T=[],f=[],b={},n={},v=l=null,I=y=0,F=a.length;I<F;I++)null==b[S=e[r=a[I]]]&&(b[S]=++y),n[r]={old:S,new:b[S]},o=b[S]-r,null!=v&&o===l||(v&&f.push(v),T.push(r),l=o),v=r;for(v&&f.push(v),f.push(65535),T.push(65535),A=2*(k=T.length),_=2*Math.pow(Math.log(k)/Math.LN2,2),h=Math.log(_/2)/Math.LN2,E=2*k-_,s=[],x=[],d=[],p=O=0,D=T.length;O<D;p=++O){if(C=T[p],c=f[p],65535===C){s.push(0),x.push(0);break}if(32768<=C-(R=n[C].new))for(s.push(0),x.push(2*(d.length+k-p)),r=L=C;C<=c?L<=c:c<=L;r=C<=c?++L:--L)d.push(n[r].new);else s.push(R-C),x.push(0)}for(N.writeUInt16(3),N.writeUInt16(1),N.writeUInt32(12),N.writeUInt16(4),N.writeUInt16(16+8*k+2*d.length),N.writeUInt16(0),N.writeUInt16(A),N.writeUInt16(_),N.writeUInt16(h),N.writeUInt16(E),H=0,M=f.length;H<M;H++)r=f[H],N.writeUInt16(r);for(N.writeUInt16(0),V=0,j=T.length;V<j;V++)r=T[V],N.writeUInt16(r);for(G=0,W=s.length;G<W;G++)o=s[G],N.writeUInt16(o);for($=0,U=x.length;$<U;$++)w=x[$],N.writeUInt16(w);for(X=0,z=d.length;X<z;X++)g=d[X],N.writeUInt16(g);return{charMap:n,subtable:N.data,maxGlyphID:y+1}}},e}(),m=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),n=e.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:n<r;0<=n?++r:--r)t=new g(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=g.encode(e,t),(r=new u).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),v=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),b=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),0<this.version&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;++t)n.push(e.readInt());return n}(),1<this.version))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),y=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="post",t.prototype.parse=function(e){var t,n,r,i;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:break;case 131072:for(n=e.readUInt16(),this.glyphNameIndex=[],r=0;0<=n?r<n:n<r;0<=n?++r:--r)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],i=[];e.pos<this.offset+this.length;)t=e.readByte(),i.push(this.names.push(e.readString(t)));return i;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 196608:break;case 262144:return this.map=function(){var t,n,r;for(r=[],t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:n<t;0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(),w=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},S=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="name",t.prototype.parse=function(e){var t,n,r,i,a,o,s,l,c,u,f,h;for(e.pos=this.offset,e.readShort(),t=e.readShort(),o=e.readShort(),n=[],i=c=0;0<=t?c<t:t<c;i=0<=t?++c:--c)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(s={},i=u=0,f=n.length;u<f;i=++u)r=n[i],e.pos=r.offset,l=e.readString(r.length),a=new w(l,r),null==s[h=r.nameID]&&(s[h]=[]),s[r.nameID].push(a);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(),x=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),E=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,n,r,i,a,o,s;for(e.pos=this.offset,this.metrics=[],i=0,o=this.file.hhea.numberOfMetrics;0<=o?i<o:o<i;0<=o?++i:--i)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var t,r;for(r=[],t=0;0<=n?t<n:n<t;0<=n?++t:--t)r.push(e.readInt16());return r}(),this.widths=function(){var e,t,n,i;for(i=[],e=0,t=(n=this.metrics).length;e<t;e++)r=n[e],i.push(r.advance);return i}.call(this),t=this.widths[this.widths.length-1],s=[],a=0;0<=n?a<n:n<a;0<=n?++a:--a)s.push(this.widths.push(t));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),_=[].slice,k=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="glyf",t.prototype.parse=function(e){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,i,a,o,s,l,c,f;return(e=e)in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,a=(o=new u(t.read(r))).readShort(),l=o.readShort(),f=o.readShort(),s=o.readShort(),c=o.readShort(),this.cache[e]=-1===a?new C(o,l,f,s,c):new A(o,a,l,f,s,c),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,i,a,o,s;for(a=[],i=[],o=0,s=t.length;o<s;o++)r=e[t[o]],i.push(a.length),r&&(a=a.concat(r.encode(n)));return i.push(a.length),{table:a,offsets:i}},t}(),A=function(){function e(e,t,n,r,i,a){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=a,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),C=function(){function e(e,t,n,r,i){var a,o;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],a=this.raw;o=a.readShort(),this.glyphOffsets.push(a.pos),this.glyphIDs.push(a.readShort()),32&o;)a.pos+=1&o?4:2,128&o?a.pos+=8:64&o?a.pos+=4:8&o&&(a.pos+=2)}return e.prototype.encode=function(e){var t,n,r,i,a;for(n=new u(_.call(this.raw.data)),t=r=0,i=(a=this.glyphIDs).length;r<i;t=++r)a[t],n.pos=this.glyphOffsets[t];return n.data},e}(),T=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="loca",t.prototype.parse=function(e){var t;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,n,r;for(r=[],t=0,n=this.length;t<n;t+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,n,r;for(r=[],t=0,n=this.length;t<n;t+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,a=0;a<n.length;++a)if(n[a]=r,i<t.length&&t[i]==a){++i,n[a]=r;var o=this.offsets[a],s=this.offsets[a+1]-o;0<s&&(r+=s)}for(var l=new Array(4*n.length),c=0;c<n.length;++c)l[4*c+3]=255&n[c],l[4*c+2]=(65280&n[c])>>8,l[4*c+1]=(16711680&n[c])>>16,l[4*c]=(4278190080&n[c])>>24;return l},t}(),R=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,a,o,s;for(r={},a=0,o=e.length;a<o;a++)r[i=e[a]]=this.font.glyf.glyphFor(i);for(i in t=[],r)(null!=(n=r[i])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(0<t.length)for(i in s=this.glyphsFor(t))n=s[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,a,o,s,l,c,u,f,h,d,p,g,v;for(r in n=m.encode(this.generateCmap(),"unicode"),a=this.glyphsFor(e),h={0:0},v=n.charMap)h[(s=v[r]).old]=s.new;for(d in f=n.maxGlyphID,a)d in h||(h[d]=f++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(h),u=Object.keys(c).sort(function(e,t){return e-t}),p=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)o=u[e],n.push(c[o]);return n}(),i=this.font.glyf.encode(a,p,h),l=this.font.loca.encode(i.offsets,p),g={cmap:this.font.cmap.raw(),glyf:i.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},e}();e.API.PDFObject=function(){function e(){}var t;return t=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},e.convert=function(n){var r,i,a,o;if(Array.isArray(n))return"["+function(){var t,i,a;for(a=[],t=0,i=n.length;t<i;t++)r=n[t],a.push(e.convert(r));return a}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+t(n.getUTCFullYear(),4)+t(n.getUTCMonth(),2)+t(n.getUTCDate(),2)+t(n.getUTCHours(),2)+t(n.getUTCMinutes(),2)+t(n.getUTCSeconds(),2)+"Z)";if("[object Object]"!=={}.toString.call(n))return""+n;for(i in a=["<<"],n)o=n[i],a.push("/"+i+" "+e.convert(o));return a.push(">>"),a.join("\n")},e}()}(de),Ce="undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")(),Te=function(){function e(e){var t,n,r,i,a,o,s,l,c,u,f,h,d,p
|
||
;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},o=null;;){switch(t=this.readUInt32(),c=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":o&&this.animation.frames.push(o),this.pos+=4,o={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},a=this.readUInt16(),i=this.readUInt16()||100,o.delay=1e3*a/i,o.disposeOp=this.data[this.pos++],o.blendOp=this.data[this.pos++],o.data=[];break;case"IDAT":case"fdAT":for("fdAT"===c&&(this.pos+=4,t-=4),e=(null!=o?o.data:void 0)||this.imgData,h=0;0<=t?h<t:t<h;0<=t?++h:--h)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if(0<(u=r-this.transparency.indexed.length))for(d=0;0<=u?d<u:u<d;0<=u?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(f=this.read(t)).indexOf(0),l=String.fromCharCode.apply(String,f.slice(0,s)),this.text[l]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return o&&this.animation.frames.push(o),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}var t,n,r;e.load=function(t,n,r){var i;return"function"==typeof n&&(r=n),(i=new XMLHttpRequest).open("GET",t,!0),i.responseType="arraybuffer",i.onload=function(){var t;return t=new e(new Uint8Array(i.response||i.mozResponseArrayBuffer)),"function"==typeof(null!=n?n.getContext:void 0)&&t.render(n),"function"==typeof r?r(t):void 0},i.send(null)},e.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:e<t;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},e.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},e.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},e.prototype.decodePixels=function(e){function t(t,o,s,l){var c,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,k,A,C,T,R,N=Math.ceil((a.width-t)/s),B=Math.ceil((a.height-o)/l),I=a.width==N&&a.height==B;for(x=n*N,w=I?r:new Uint8Array(x*B),p=e.length,u=S=0;S<B&&i<p;){switch(e[i++]){case 0:for(h=k=0;k<x;h=k+=1)w[u++]=e[i++];break;case 1:for(h=A=0;A<x;h=A+=1)c=e[i++],d=h<n?0:w[u-n],w[u++]=(c+d)%256;break;case 2:for(h=C=0;C<x;h=C+=1)c=e[i++],f=(h-h%n)/n,E=S&&w[(S-1)*x+f*n+h%n],w[u++]=(E+c)%256;break;case 3:for(h=T=0;T<x;h=T+=1)c=e[i++],f=(h-h%n)/n,d=h<n?0:w[u-n],E=S&&w[(S-1)*x+f*n+h%n],w[u++]=(c+Math.floor((d+E)/2))%256;break;case 4:for(h=R=0;R<x;h=R+=1)c=e[i++],f=(h-h%n)/n,d=h<n?0:w[u-n],0===S?E=_=0:(E=w[(S-1)*x+f*n+h%n],_=f&&w[(S-1)*x+(f-1)*n+h%n]),g=d+E-_,m=Math.abs(g-d),b=Math.abs(g-E),y=Math.abs(g-_),v=m<=b&&m<=y?d:b<=y?E:_,w[u++]=(c+v)%256;break;default:throw new Error("Invalid filter algorithm: "+e[i-1])}if(!I){var O=((o+S*l)*a.width+t)*n,L=S*x;for(h=0;h<N;h+=1){for(var P=0;P<n;P+=1)r[O++]=w[L++];O+=(s-1)*n}}S++}}var n=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*n),i=0,a=this;return null==e&&(e=this.imgData),0===e.length?new Uint8Array(0):(e=(e=new Be(e)).getBytes(),1==a.interlaceMethod?(t(0,0,8,8),t(4,0,8,8),t(0,4,4,8),t(2,0,4,4),t(0,2,2,4),t(1,0,2,2),t(0,1,1,2)):t(0,0,1,1),r)},e.prototype.decodePalette=function(){var e,t,n,r,i,a,o,s,l;for(n=this.palette,a=this.transparency.indexed||[],i=new Uint8Array((a.length||0)+n.length),r=0,n.length,t=o=e=0,s=n.length;o<s;t=o+=3)i[r++]=n[t],i[r++]=n[t+1],i[r++]=n[t+2],i[r++]=null!=(l=a[e++])?l:255;return i},e.prototype.copyToImageData=function(e,t){var n,r,i,a,o,s,l,c,u,f,h;if(r=this.colors,u=null,n=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),r=4,n=!0),c=(i=e.data||e).length,o=u||t,a=s=0,1===r)for(;a<c;)l=u?4*t[a/4]:s,f=o[l++],i[a++]=f,i[a++]=f,i[a++]=f,i[a++]=n?o[l++]:255,s=l;else for(;a<c;)l=u?4*t[a/4]:s,i[a++]=o[l++],i[a++]=o[l++],i[a++]=o[l++],i[a++]=n?o[l++]:255,s=l},e.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};try{n=Ce.document.createElement("canvas"),r=n.getContext("2d")}catch(e){return-1}return t=function(e){var t;return r.width=e.width,r.height=e.height,r.clearRect(0,0,e.width,e.height),r.putImageData(e,0,0),(t=new Image).src=n.toDataURL(),t},e.prototype.decodeFrames=function(e){var n,r,i,a,o,s,l,c;if(this.animation){for(c=[],r=o=0,s=(l=this.animation.frames).length;o<s;r=++o)n=l[r],i=e.createImageData(n.width,n.height),a=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(i,a),n.imageData=i,c.push(n.image=t(i));return c}},e.prototype.renderFrame=function(e,t){var n,r,i;return n=(r=this.animation.frames)[t],i=r[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?e.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&e.putImageData(i.imageData,i.xOffset,i.yOffset),0===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},e.prototype.animate=function(e){var t,n,r,i,a,o,s=this;return n=0,o=this.animation,i=o.numFrames,r=o.frames,a=o.numPlays,(t=function(){var o,l;if(o=n++%i,l=r[o],s.renderFrame(e,o),1<i&&n/i<a)return s.animation._timeout=setTimeout(t,l.delay)})()},e.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},e.prototype.render=function(e){var t,n;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},e}(),Ce.PNG=Te;var Ne=function(){function e(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return e.prototype={ensureBuffer:function(e){var t=this.buffer,n=t?t.byteLength:0;if(e<n)return t;for(var r=512;r<e;)r<<=1;for(var i=new Uint8Array(r),a=0;a<n;++a)i[a]=t[a];return this.buffer=i},getByte:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(e){var t=this.pos;if(e){this.ensureBuffer(t+e);for(var n=t+e;!this.eof&&this.bufferLength<n;)this.readBlock();var r=this.bufferLength;r<n&&(n=r)}else{for(;!this.eof;)this.readBlock();n=this.bufferLength}return this.pos=n,this.buffer.subarray(t,n)},lookChar:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(e,t,n){for(var r=e+t;this.bufferLength<=r&&!this.eof;)this.readBlock();return new Stream(this.buffer,e,t,n)},skip:function(e){e||(e=1),this.pos+=e},reset:function(){this.pos=0}},e}(),Be=function(){function e(e){throw new Error(e)}function t(t){var n=0,r=t[n++],i=t[n++];-1!=r&&-1!=i||e("Invalid header in flate stream"),8!=(15&r)&&e("Unknown compression method in flate stream"),((r<<8)+i)%31!=0&&e("Bad FCHECK in flate stream"),32&i&&e("FDICT bit set in flate stream"),this.bytes=t,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,Ne.call(this)}if("undefined"!=typeof Uint32Array){var n=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),r=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),i=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),a=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],o=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(t.prototype=Object.create(Ne.prototype)).getBits=function(t){for(var n,r=this.codeSize,i=this.codeBuf,a=this.bytes,o=this.bytesPos;r<t;)void 0===(n=a[o++])&&e("Bad encoding in flate stream"),i|=n<<r,r+=8;return n=i&(1<<t)-1,this.codeBuf=i>>t,this.codeSize=r-=t,this.bytesPos=o,n},t.prototype.getCode=function(t){for(var n=t[0],r=t[1],i=this.codeSize,a=this.codeBuf,o=this.bytes,s=this.bytesPos;i<r;){var l;void 0===(l=o[s++])&&e("Bad encoding in flate stream"),a|=l<<i,i+=8}var c=n[a&(1<<r)-1],u=c>>16,f=65535&c;return(0==i||i<u||0==u)&&e("Bad encoding in flate stream"),this.codeBuf=a>>u,this.codeSize=i-u,this.bytesPos=s,f},t.prototype.generateHuffmanTable=function(e){for(var t=e.length,n=0,r=0;r<t;++r)e[r]>n&&(n=e[r]);for(var i=1<<n,a=new Uint32Array(i),o=1,s=0,l=2;o<=n;++o,s<<=1,l<<=1)for(var c=0;c<t;++c)if(e[c]==o){var u=0,f=s;for(r=0;r<o;++r)u=u<<1|1&f,f>>=1;for(r=u;r<i;r+=l)a[r]=o<<16|c;++s}return[a,n]},t.prototype.readBlock=function(){function t(e,t,n,r,i){for(var a=e.getBits(n)+r;0<a--;)t[p++]=i}var s=this.getBits(3);if(1&s&&(this.eof=!0),0!=(s>>=1)){var l,c;if(1==s)l=a,c=o;else if(2==s){for(var u=this.getBits(5)+257,f=this.getBits(5)+1,h=this.getBits(4)+4,d=Array(n.length),p=0;p<h;)d[n[p++]]=this.getBits(3);for(var g=this.generateHuffmanTable(d),m=0,v=(p=0,u+f),b=new Array(v);p<v;){var y=this.getCode(g);16==y?t(this,b,2,3,m):17==y?t(this,b,3,3,m=0):18==y?t(this,b,7,11,m=0):b[p++]=m=y}l=this.generateHuffmanTable(b.slice(0,u)),c=this.generateHuffmanTable(b.slice(u,v))}else e("Unknown block type in flate stream");for(var w=(I=this.buffer)?I.length:0,S=this.bufferLength;;){var x=this.getCode(l);if(x<256)w<=S+1&&(w=(I=this.ensureBuffer(S+1)).length),I[S++]=x;else{if(256==x)return void(this.bufferLength=S);var E=(x=r[x-=257])>>16;0<E&&(E=this.getBits(E)),m=(65535&x)+E,x=this.getCode(c),0<(E=(x=i[x])>>16)&&(E=this.getBits(E));var _=(65535&x)+E;w<=S+m&&(w=(I=this.ensureBuffer(S+m)).length);for(var k=0;k<m;++k,++S)I[S]=I[S-_]}}}else{var A,C=this.bytes,T=this.bytesPos;void 0===(A=C[T++])&&e("Bad block header in flate stream");var R=A;void 0===(A=C[T++])&&e("Bad block header in flate stream"),R|=A<<8,void 0===(A=C[T++])&&e("Bad block header in flate stream");var N=A;void 0===(A=C[T++])&&e("Bad block header in flate stream"),(N|=A<<8)!=(65535&~R)&&e("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var B=this.bufferLength,I=this.ensureBuffer(B+R),O=B+R;this.bufferLength=O;for(var L=B;L<O;++L){if(void 0===(A=C[T++])){this.eof=!0;break}I[L]=A}this.bytesPos=T}},t}}();window.tmp=Be});try{module.exports=jsPDF}catch(e){}var saveAs=saveAs||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in r,a=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},o=/constructor/i.test(e.HTMLElement)||e.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent),l=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},c=function(e){var t=function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()};setTimeout(t,4e4)},u=function(e,t,n){t=[].concat(t);for(var r=t.length;r--;){var i=e["on"+t[r]];if("function"==typeof i)try{i.call(e,n||e)}catch(e){l(e)}}},f=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},h=function(t,l,h){h||(t=f(t));var d,p=this,g=t.type,m="application/octet-stream"===g,v=function(){u(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,i)return d=n().createObjectURL(t),void setTimeout(function(){r.href=d,r.download=l,a(r),v(),c(d),p.readyState=p.DONE});!function(){if((s||m&&o)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=s?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,p.readyState=p.DONE,v()},r.readAsDataURL(t),void(p.readyState=p.INIT)}if(d||(d=n().createObjectURL(t)),m)e.location.href=d;else{e.open(d,"_blank")||(e.location.href=d)}p.readyState=p.DONE,v(),c(d)}()},d=h.prototype,p=function(e,t,n){return new h(e,t||e.name||"download",n)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return t=t||e.name||"download",n||(e=f(e)),navigator.msSaveOrOpenBlob(e,t)}:(d.abort=function(){},d.readyState=d.INIT=0,d.WRITING=1,d.DONE=2,d.error=d.onwritestart=d.onprogress=d.onwrite=d.onabort=d.onerror=d.onwriteend=null,p)}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=saveAs:"undefined"!=typeof define&&null!==define&&null!==define.amd&&define("FileSaver.js",function(){return saveAs});var DO_NOT_EXPORT_CODEPAGE=!0,DO_NOT_EXPORT_JSZIP=!0;!function(e){if("object"==typeof exports&&"undefined"!=typeof module&&void 0===DO_NOT_EXPORT_JSZIP)module.exports=e();else if("function"==typeof define&&define.amd&&void 0===DO_NOT_EXPORT_JSZIP)JSZipSync=e(),define([],e);else{var t;"undefined"!=typeof globalThis?t=globalThis:"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof $&&$.global?t=$.global:"undefined"!=typeof self&&(t=self),t.JSZipSync=e()}}(function(){return function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);throw new Error("Cannot find module '"+o+"'")}var c=n[o]={exports:{}};t[o][0].call(c.exports,function(e){var n=t[o][1][e];return i(n||e)},c,c.exports,e,t,n,r)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e,t){for(var n,i,a,o,s,l,c,u="",f=0;f<e.length;)n=e.charCodeAt(f++),i=e.charCodeAt(f++),a=e.charCodeAt(f++),o=n>>2,s=(3&n)<<4|i>>4,l=(15&i)<<2|a>>6,c=63&a,isNaN(i)?l=c=64:isNaN(a)&&(c=64),u=u+r.charAt(o)+r.charAt(s)+r.charAt(l)+r.charAt(c);return u},n.decode=function(e,t){var n,i,a,o,s,l,c,u="",f=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");f<e.length;)o=r.indexOf(e.charAt(f++)),s=r.indexOf(e.charAt(f++)),l=r.indexOf(e.charAt(f++)),c=r.indexOf(e.charAt(f++)),n=o<<2|s>>4,i=(15&s)<<4|l>>2,a=(3&l)<<6|c,u+=String.fromCharCode(n),64!=l&&(u+=String.fromCharCode(i)),64!=c&&(u+=String.fromCharCode(a));return u}},{}],2:[function(e,t,n){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],3:[function(e,t,n){"use strict";n.STORE={magic:"\0\0",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},n.DEFLATE=e("./flate")},{"./flate":8}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(e,t){if(void 0===e||!e.length)return 0;var n="string"!==r.getTypeOf(e);void 0===t&&(t=0);var a=0,o=0,s=0;t^=-1;for(var l=0,c=e.length;l<c;l++)s=n?e[l]:e.charCodeAt(l),o=255&(t^s),a=i[o],t=t>>>8^a;return-1^t}},{"./utils":21}],5:[function(e,t,n){"use strict";function r(e){this.data=null,this.length=0,this.index=0}var i=e("./utils");r.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1)}},t.exports=r},{"./utils":21}],6:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!1,n.date=null,n.compression=null,n.comment=null},{}],7:[function(e,t,n){"use strict";var r=e("./utils");n.string2binary=function(e){return r.string2binary(e)},n.string2Uint8Array=function(e){return r.transformTo("uint8array",e)},n.uint8Array2String=function(e){return r.transformTo("string",e)},n.string2Blob=function(e){var t=r.transformTo("arraybuffer",e);return r.arrayBuffer2Blob(t)},n.arrayBuffer2Blob=function(e){return r.arrayBuffer2Blob(e)},n.transformTo=function(e,t){return r.transformTo(e,t)},n.getTypeOf=function(e){return r.getTypeOf(e)},n.checkSupport=function(e){return r.checkSupport(e)},n.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,n.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,n.pretty=function(e){return r.pretty(e)},n.findCompression=function(e){return r.findCompression(e)},n.isRegExp=function(e){return r.isRegExp(e)}},{"./utils":21}],8:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako");n.uncompressInputType=r?"uint8array":"array",n.compressInputType=r?"uint8array":"array",n.magic="\b\0",n.compress=function(e){return i.deflateRaw(e)},n.uncompress=function(e){return i.inflateRaw(e)}},{pako:24}],9:[function(e,t,n){"use strict";function r(e,t){if(!(this instanceof r))return new r(e,t);this.files={},this.comment=null,this.root="",e&&this.load(e,t),this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}var i=e("./base64");r.prototype=e("./object"),r.prototype.load=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.utils=e("./deprecatedPublicUtils"),r.base64={encode:function(e){return i.encode(e)},decode:function(e){return i.decode(e)}},r.compressions=e("./compressions"),t.exports=r},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(e,t,n){"use strict";var r=e("./base64"),i=e("./zipEntries");t.exports=function(e,t){var n,a,o,s;for(t=t||{},t.base64&&(e=r.decode(e)),a=new i(e,t),n=a.files,o=0;o<n.length;o++)s=n[o],this.file(s.fileName,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileComment.length?s.fileComment:null,createFolders:t.createFolders});return a.zipComment.length&&(this.comment=a.zipComment),this}},{"./base64":1,"./zipEntries":22}],11:[function(e,t,n){(function(e){"use strict";var n=function(){};if(void 0!==e){var r=!e.from;if(!r)try{e.from("foo","utf8")}catch(e){r=!0}n=r?function(t,n){return n?new e(t,n):new e(t)}:e.from.bind(e),e.alloc||(e.alloc=function(t){return new e(t)})}t.exports=function(t,r){return"number"==typeof t?e.alloc(t):n(t,r)},t.exports.test=function(t){return e.isBuffer(t)}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],12:[function(e,t,n){"use strict";function r(e){this.data=e,this.length=this.data.length,this.index=0}var i=e("./uint8ArrayReader");r.prototype=new i,r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=r},{"./uint8ArrayReader":18}],13:[function(e,t,n){"use strict";var r=e("./support"),i=e("./utils"),a=e("./crc32"),o=e("./signature"),s=e("./defaults"),l=e("./base64"),c=e("./compressions"),u=e("./compressedObject"),f=e("./nodeBuffer"),h=e("./utf8"),d=e("./stringWriter"),p=e("./uint8ArrayWriter"),g=function(e){if(e._data instanceof u&&(e._data=e._data.getContent(),e.options.binary=!0,e.options.base64=!1,"uint8array"===i.getTypeOf(e._data))){var t=e._data;e._data=new Uint8Array(t.length),0!==t.length&&e._data.set(t,0)}return e._data},m=function(e){var t=g(e);return"string"===i.getTypeOf(t)?!e.options.binary&&r.nodebuffer?f(t,"utf-8"):e.asBinary():t},v=function(e){var t=g(this);return null===t||void 0===t?"":(this.options.base64&&(t=l.decode(t)),t=e&&this.options.binary?C.utf8decode(t):i.transformTo("string",t),e||this.options.binary||(t=i.transformTo("string",C.utf8encode(t))),t)},b=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this._data=t,this.options=n,this._initialMetadata={dir:n.dir,date:n.date}};b.prototype={asText:function(){return v.call(this,!0)},asBinary:function(){return v.call(this,!1)},asNodeBuffer:function(){var e=m(this);return i.transformTo("nodebuffer",e)},asUint8Array:function(){var e=m(this);return i.transformTo("uint8array",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var y=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},w=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},S=function(e){return e=e||{},!0!==e.base64||null!==e.binary&&void 0!==e.binary||(e.binary=!0),e=w(e,s),e.date=e.date||new Date,null!==e.compression&&(e.compression=e.compression.toUpperCase()),e},x=function(e,t,n){var r,a=i.getTypeOf(t);if(n=S(n),n.createFolders&&(r=E(e))&&_.call(this,r,!0),n.dir||null===t||void 0===t)n.base64=!1,n.binary=!1,t=null;else if("string"===a)n.binary&&!n.base64&&!0!==n.optimizedBinaryString&&(t=i.string2binary(t));else{if(n.base64=!1,n.binary=!0,!(a||t instanceof u))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===a&&(t=i.transformTo("uint8array",t))}var o=new b(e,t,n);return this.files[e]=o,o},E=function(e){"/"==e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},_=function(e,t){return"/"!=e.slice(-1)&&(e+="/"),t=void 0!==t&&t,this.files[e]||x.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},k=function(e,t){var n,r=new u;return e._data instanceof u?(r.uncompressedSize=e._data.uncompressedSize,r.crc32=e._data.crc32,0===r.uncompressedSize||e.dir?(t=c.STORE,r.compressedContent="",r.crc32=0):e._data.compressionMethod===t.magic?r.compressedContent=e._data.getCompressedContent():(n=e._data.getContent(),r.compressedContent=t.compress(i.transformTo(t.compressInputType,n)))):(n=m(e),n&&0!==n.length&&!e.dir||(t=c.STORE,n=""),r.uncompressedSize=n.length,r.crc32=a(n),r.compressedContent=t.compress(i.transformTo(t.compressInputType,n))),r.compressedSize=r.compressedContent.length,r.compressionMethod=t.magic,r},A=function(e,t,n,r){var s,l,c,u,f=(n.compressedContent,i.transformTo("string",h.utf8encode(t.name))),d=t.comment||"",p=i.transformTo("string",h.utf8encode(d)),g=f.length!==t.name.length,m=p.length!==d.length,v=t.options,b="",w="",S="";c=t._initialMetadata.dir!==t.dir?t.dir:v.dir,u=t._initialMetadata.date!==t.date?t.date:v.date,s=u.getHours(),s<<=6,s|=u.getMinutes(),s<<=5,s|=u.getSeconds()/2,l=u.getFullYear()-1980,l<<=4,l|=u.getMonth()+1,l<<=5,l|=u.getDate(),g&&(w=y(1,1)+y(a(f),4)+f,b+="up"+y(w.length,2)+w),m&&(S=y(1,1)+y(this.crc32(p),4)+p,b+="uc"+y(S.length,2)+S);var x="";return x+="\n\0",x+=g||m?"\0\b":"\0\0",x+=n.compressionMethod,x+=y(s,2),x+=y(l,2),x+=y(n.crc32,4),x+=y(n.compressedSize,4),x+=y(n.uncompressedSize,4),x+=y(f.length,2),x+=y(b.length,2),{fileRecord:o.LOCAL_FILE_HEADER+x+f+b,dirRecord:o.CENTRAL_FILE_HEADER+"\0"+x+y(p.length,2)+"\0\0\0\0"+(!0===c?"\0\0\0":"\0\0\0\0")+y(r,4)+f+b+p,compressedObject:n}},C={load:function(e,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var t,n,r,i,a=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],i=new b(r.name,r._data,w(r.options)),n=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(n,i)&&a.push(i));return a},file:function(e,t,n){if(1===arguments.length){if(i.isRegExp(e)){var r=e;return this.filter(function(e,t){return!t.dir&&r.test(e)})}return this.filter(function(t,n){return!n.dir&&t===e})[0]||null}return e=this.root+e,x.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(i.isRegExp(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=_.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!=e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){e=w(e||{},{base64:!0,compression:"STORE",type:"base64",comment:null}),
|
||
i.checkSupport(e.type);var t,n,r=[],a=0,s=0,u=i.transformTo("string",this.utf8encode(e.comment||this.comment||""));for(var f in this.files)if(this.files.hasOwnProperty(f)){var h=this.files[f],g=h.options.compression||e.compression.toUpperCase(),m=c[g];if(!m)throw new Error(g+" is not a valid compression method !");var v=k.call(this,h,m),b=A.call(this,f,h,v,a);a+=b.fileRecord.length+v.compressedSize,s+=b.dirRecord.length,r.push(b)}var S="";S=o.CENTRAL_DIRECTORY_END+"\0\0\0\0"+y(r.length,2)+y(r.length,2)+y(s,4)+y(a,4)+y(u.length,2)+u;var x=e.type.toLowerCase();for(t="uint8array"===x||"arraybuffer"===x||"blob"===x||"nodebuffer"===x?new p(a+s+S.length):new d(a+s+S.length),n=0;n<r.length;n++)t.append(r[n].fileRecord),t.append(r[n].compressedObject.compressedContent);for(n=0;n<r.length;n++)t.append(r[n].dirRecord);t.append(S);var E=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(e.type.toLowerCase(),E);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",E));case"base64":return e.base64?l.encode(E):E;default:return E}},crc32:function(e,t){return a(e,t)},utf8encode:function(e){return i.transformTo("string",h.utf8encode(e))},utf8decode:function(e){return h.utf8decode(e)}};t.exports=C},{"./base64":1,"./compressedObject":2,"./compressions":3,"./crc32":4,"./defaults":6,"./nodeBuffer":11,"./signature":14,"./stringWriter":16,"./support":17,"./uint8ArrayWriter":19,"./utf8":20,"./utils":21}],14:[function(e,t,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"},{}],15:[function(e,t,n){"use strict";function r(e,t){this.data=e,t||(this.data=a.string2binary(this.data)),this.length=this.data.length,this.index=0}var i=e("./dataReader"),a=e("./utils");r.prototype=new i,r.prototype.byteAt=function(e){return this.data.charCodeAt(e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=r},{"./dataReader":5,"./utils":21}],16:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){this.data=[]};i.prototype={append:function(e){e=r.transformTo("string",e),this.data.push(e)},finalize:function(){return this.data.join("")}},t.exports=i},{"./utils":21}],17:[function(e,t,n){(function(e){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==e,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var t=new ArrayBuffer(0);try{n.blob=0===new Blob([t],{type:"application/zip"}).size}catch(e){try{var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,i=new r;i.append(t),n.blob=0===i.getBlob("application/zip").size}catch(e){n.blob=!1}}}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],18:[function(e,t,n){"use strict";function r(e){e&&(this.data=e,this.length=this.data.length,this.index=0)}var i=e("./dataReader");r.prototype=new i,r.prototype.byteAt=function(e){return this.data[e]},r.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a;return-1},r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.index,this.index+e);return this.index+=e,t},t.exports=r},{"./dataReader":5}],19:[function(e,t,n){"use strict";var r=e("./utils"),i=function(e){this.data=new Uint8Array(e),this.index=0};i.prototype={append:function(e){0!==e.length&&(e=r.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},t.exports=i},{"./utils":21}],20:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),a=e("./nodeBuffer"),o=new Array(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;o[254]=o[254]=1;var l=function(e){var t,n,r,a,o,s=e.length,l=0;for(a=0;a<s;a++)n=e.charCodeAt(a),55296==(64512&n)&&a+1<s&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),o=0,a=0;o<l;a++)n=e.charCodeAt(a),55296==(64512&n)&&a+1<s&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},c=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+o[e[n]]>t?n:t},u=function(e){var t,n,i,a,s=e.length,l=new Array(2*s);for(n=0,t=0;t<s;)if((i=e[t++])<128)l[n++]=i;else if((a=o[i])>4)l[n++]=65533,t+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&t<s;)i=i<<6|63&e[t++],a--;a>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)};n.utf8encode=function(e){return i.nodebuffer?a(e,"utf-8"):l(e)},n.utf8decode=function(e){if(i.nodebuffer)return r.transformTo("nodebuffer",e).toString("utf-8");e=r.transformTo(i.uint8array?"uint8array":"array",e);for(var t=[],n=0,a=e.length;n<a;){var o=c(e,Math.min(n+65536,a));i.uint8array?t.push(u(e.subarray(n,o))):t.push(u(e.slice(n,o))),n=o}return t.join("")}},{"./nodeBuffer":11,"./support":17,"./utils":21}],21:[function(e,t,n){"use strict";function r(e){return e}function i(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function a(e){var t=65536,r=[],i=e.length,a=n.getTypeOf(e),o=0,s=!0;try{switch(a){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,c(0))}}catch(e){s=!1}if(!s){for(var l="",u=0;u<e.length;u++)l+=String.fromCharCode(e[u]);return l}for(;o<i&&t>1;)try{"array"===a||"nodebuffer"===a?r.push(String.fromCharCode.apply(null,e.slice(o,Math.min(o+t,i)))):r.push(String.fromCharCode.apply(null,e.subarray(o,Math.min(o+t,i)))),o+=t}catch(e){t=Math.floor(t/2)}return r.join("")}function o(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var s=e("./support"),l=e("./compressions"),c=e("./nodeBuffer");n.string2binary=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(255&e.charCodeAt(n));return t},n.arrayBuffer2Blob=function(e){n.checkSupport("blob");try{return new Blob([e],{type:"application/zip"})}catch(n){try{var t=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,r=new t;return r.append(e),r.getBlob("application/zip")}catch(e){throw new Error("Bug : can't construct the Blob.")}}},n.applyFromCharCode=a;var u={};u.string={string:r,array:function(e){return i(e,new Array(e.length))},arraybuffer:function(e){return u.string.uint8array(e).buffer},uint8array:function(e){return i(e,new Uint8Array(e.length))},nodebuffer:function(e){return i(e,c(e.length))}},u.array={string:a,array:r,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return c(e)}},u.arraybuffer={string:function(e){return a(new Uint8Array(e))},array:function(e){return o(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:r,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return c(new Uint8Array(e))}},u.uint8array={string:a,array:function(e){return o(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:r,nodebuffer:function(e){return c(e)}},u.nodebuffer={string:a,array:function(e){return o(e,new Array(e.length))},arraybuffer:function(e){return u.nodebuffer.uint8array(e).buffer},uint8array:function(e){return o(e,new Uint8Array(e.length))},nodebuffer:r},n.transformTo=function(e,t){if(t||(t=""),!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return u[r][e](t)},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":s.nodebuffer&&c.test(e)?"nodebuffer":s.uint8array&&e instanceof Uint8Array?"uint8array":s.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!s[e.toLowerCase()])throw new Error(e+" is not supported by this browser")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)t=e.charCodeAt(n),r+="\\x"+(t<16?"0":"")+t.toString(16).toUpperCase();return r},n.findCompression=function(e){for(var t in l)if(l.hasOwnProperty(t)&&l[t].magic===e)return l[t];return null},n.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},{"./compressions":3,"./nodeBuffer":11,"./support":17}],22:[function(e,t,n){"use strict";function r(e,t){this.files=[],this.loadOptions=t,e&&this.load(e)}var i=e("./stringReader"),a=e("./nodeBufferReader"),o=e("./uint8ArrayReader"),s=e("./utils"),l=e("./signature"),c=e("./zipEntry"),u=e("./support"),f=e("./object");r.prototype={checkSignature:function(e){var t=this.reader.readString(4);if(t!==e)throw new Error("Corrupted zip or bug : unexpected signature ("+s.pretty(t)+", expected "+s.pretty(e)+")")},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),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=f.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),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 e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readString(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(l.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===l.CENTRAL_FILE_HEADER;)e=new c({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);if(-1===e)throw new Error("Corrupted zip : can't find end of central directory");if(this.reader.setIndex(e),this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,-1===(e=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR)))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(e),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(e){var t=s.getTypeOf(e);"string"!==t||u.uint8array?this.reader="nodebuffer"===t?new a(e):new o(s.transformTo("uint8array",e)):this.reader=new i(e,this.loadOptions.optimizedBinaryString)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=r},{"./nodeBufferReader":12,"./object":13,"./signature":14,"./stringReader":15,"./support":17,"./uint8ArrayReader":18,"./utils":21,"./zipEntry":23}],23:[function(e,t,n){"use strict";function r(e,t){this.options=e,this.loadOptions=t}var i=e("./stringReader"),a=e("./utils"),o=e("./compressedObject"),s=e("./object");r.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(e,t,n){return function(){var r=e.index;e.setIndex(t);var i=e.readData(n);return e.setIndex(r),i}},prepareContent:function(e,t,n,r,i){return function(){var e=a.transformTo(r.uncompressInputType,this.getCompressedContent()),t=r.uncompress(e);if(t.length!==i)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readString(this.fileNameLength),e.skip(n),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(null===(t=a.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new o,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=a.transformTo("string",this.decompressed.getContent()),s.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(e){if(this.versionMadeBy=e.readString(2),this.versionNeeded=e.readInt(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4),this.fileNameLength=e.readInt(2),this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=e.readString(this.fileNameLength),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readString(this.fileCommentLength),this.dir=!!(16&this.externalFileAttributes)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=new i(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index;for(this.extraFields=this.extraFields||{};e.index<i+this.extraFieldsLength;)t=e.readInt(2),n=e.readInt(2),r=e.readString(n),this.extraFields[t]={id:t,length:n,value:r}},handleUTF8:function(){if(this.useUTF8())this.fileName=s.utf8decode(this.fileName),this.fileComment=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();null!==e&&(this.fileName=e);var t=this.findExtraFieldUnicodeComment();null!==t&&(this.fileComment=t)}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=new i(e.value);return 1!==t.readInt(1)?null:s.crc32(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=new i(e.value);return 1!==t.readInt(1)?null:s.crc32(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readString(e.length-5))}return null}},t.exports=r},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(e,t,n){"use strict";var r=e("./lib/utils/common").assign,i=e("./lib/deflate"),a=e("./lib/inflate"),o=e("./lib/zlib/constants"),s={};r(s,i,a,o),t.exports=s},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(e,t,n){"use strict";function r(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}function i(e,t){return t=t||{},t.raw=!0,r(e,t)}function a(e,t){return t=t||{},t.gzip=!0,r(e,t)}var o=e("./zlib/deflate.js"),s=e("./utils/common"),l=e("./utils/strings"),c=e("./zlib/messages"),u=e("./zlib/zstream"),f=function(e){this.options=s.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var n=o.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(c[n]);t.header&&o.deflateSetHeader(this.strm,t.header)};f.prototype.push=function(e,t){var n,r,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:!0===t?4:0,i.input="string"==typeof e?l.string2buf(e):e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new s.Buf8(a),i.next_out=0,i.avail_out=a),1!==(n=o.deflate(i,r))&&0!==n)return this.onEnd(n),this.ended=!0,!1;(0===i.avail_out||0===i.avail_in&&4===r)&&("string"===this.options.to?this.onData(l.buf2binstring(s.shrinkBuf(i.output,i.next_out))):this.onData(s.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==n);return 4!==r||(n=o.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=f,n.deflate=r,n.deflateRaw=i,n.gzip=a},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,t,n){"use strict";function r(e,t){var n=new h(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}function i(e,t){return t=t||{},t.raw=!0,r(e,t)}var a=e("./zlib/inflate.js"),o=e("./utils/common"),s=e("./utils/strings"),l=e("./zlib/constants"),c=e("./zlib/messages"),u=e("./zlib/zstream"),f=e("./zlib/gzheader"),h=function(e){this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var n=a.inflateInit2(this.strm,t.windowBits);if(n!==l.Z_OK)throw new Error(c[n]);this.header=new f,a.inflateGetHeader(this.strm,this.header)};h.prototype.push=function(e,t){var n,r,i,c,u,f=this.strm,h=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:!0===t?l.Z_FINISH:l.Z_NO_FLUSH,f.input="string"==typeof e?s.binstring2buf(e):e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new o.Buf8(h),f.next_out=0,f.avail_out=h),(n=a.inflate(f,l.Z_NO_FLUSH))!==l.Z_STREAM_END&&n!==l.Z_OK)return this.onEnd(n),this.ended=!0,!1;f.next_out&&(0===f.avail_out||n===l.Z_STREAM_END||0===f.avail_in&&r===l.Z_FINISH)&&("string"===this.options.to?(i=s.utf8border(f.output,f.next_out),c=f.next_out-i,u=s.buf2string(f.output,i),f.next_out=c,f.avail_out=h-c,c&&o.arraySet(f.output,f.output,i,c,0),this.onData(u)):this.onData(o.shrinkBuf(f.output,f.next_out)))}while(f.avail_in>0&&n!==l.Z_STREAM_END);return n===l.Z_STREAM_END&&(r=l.Z_FINISH),r!==l.Z_FINISH||(n=a.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l.Z_OK)},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===l.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=h,n.inflate=r,n.inflateRaw=i,n.ungzip=r},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)return void e.set(t.subarray(n,n+r),i);for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,o;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(r)},{}],28:[function(e,t,n){"use strict";function r(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&a))return String.fromCharCode.apply(null,i.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}var i=e("./common"),a=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new i.Buf8(256),l=0;l<256;l++)s[l]=l>=252?6:l>=248?5:l>=240?4:l>=224?3:l>=192?2:1;s[254]=s[254]=1,n.string2buf=function(e){var t,n,r,a,o,s=e.length,l=0;for(a=0;a<s;a++)n=e.charCodeAt(a),55296==(64512&n)&&a+1<s&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new i.Buf8(l),o=0,a=0;o<l;a++)n=e.charCodeAt(a),55296==(64512&n)&&a+1<s&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},n.buf2binstring=function(e){return r(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,i,a,o,l=t||e.length,c=new Array(2*l);for(i=0,n=0;n<l;)if((a=e[n++])<128)c[i++]=a;else if((o=s[a])>4)c[i++]=65533,n+=o-1;else{for(a&=2===o?31:3===o?15:7;o>1&&n<l;)a=a<<6|63&e[n++],o--;o>1?c[i++]=65533:a<65536?c[i++]=a:(a-=65536,c[i++]=55296|a>>10&1023,c[i++]=56320|1023&a)}return r(c,i)},n.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+s[e[n]]>t?n:t}},{"./common":27}],29:[function(e,t,n){"use strict";function r(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==n;){o=n>2e3?2e3:n,n-=o;do{i=i+t[r++]|0,a=a+i|0}while(--o);i%=65521,a%=65521}return i|a<<16|0}t.exports=r},{}],30:[function(e,t,n){t.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}},{}],31:[function(e,t,n){"use strict";function r(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}var i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=r},{}],32:[function(e,t,n){"use strict";function r(e,t){return e.msg=I[t],t}function i(e){return(e<<1)-(e>4?9:0)}function a(e){for(var t=e.length;--t>=0;)e[t]=0}function o(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(T.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function s(e,t){R._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,o(e.strm)}function l(e,t){e.pending_buf[e.pending++]=t}function c(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function u(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,T.arraySet(t,e.input,e.next_in,i,n),1===e.state.wrap?e.adler=N(e.adler,t,i,n):2===e.state.wrap&&(e.adler=B(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)}function f(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-se?e.strstart-(e.w_size-se):0,c=e.window,u=e.w_mask,f=e.prev,h=e.strstart+oe,d=c[a+o-1],p=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(n=t,c[n+o]===p&&c[n+o-1]===d&&c[n]===c[a]&&c[++n]===c[a+1]){a+=2,n++;do{}while(c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&a<h);if(r=oe-(h-a),a=h-oe,r>o){if(e.match_start=t,o=r,r>=s)break;d=c[a+o-1],p=c[a+o]}}}while((t=f[t&u])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead}function h(e){var t,n,r,i,a,o=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=o+(o-se)){T.arraySet(e.window,e.window,o,o,0),e.match_start-=o,e.strstart-=o,e.block_start-=o,n=e.hash_size,t=n;do{r=e.head[--t],e.head[t]=r>=o?r-o:0}while(--n);n=o,t=n;do{r=e.prev[--t],e.prev[t]=r>=o?r-o:0}while(--n);i+=o}if(0===e.strm.avail_in)break;if(n=u(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=ae)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+ae-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<ae)););}while(e.lookahead<se&&0!==e.strm.avail_in)}function d(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(h(e),0===e.lookahead&&t===O)return me;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,s(e,!1),0===e.strm.avail_out))return me;if(e.strstart-e.block_start>=e.w_size-se&&(s(e,!1),0===e.strm.avail_out))return me}return e.insert=0,t===F?(s(e,!0),0===e.strm.avail_out?be:ye):(e.strstart>e.block_start&&(s(e,!1),e.strm.avail_out),me)}function p(e,t){for(var n,r;;){if(e.lookahead<se){if(h(e),e.lookahead<se&&t===O)return me;if(0===e.lookahead)break}if(n=0,e.lookahead>=ae&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ae-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-se&&(e.match_length=f(e,n)),e.match_length>=ae)if(r=R._tr_tally(e,e.strstart-e.match_start,e.match_length-ae),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ae){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ae-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=R._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(s(e,!1),0===e.strm.avail_out))return me}return e.insert=e.strstart<ae-1?e.strstart:ae-1,t===F?(s(e,!0),0===e.strm.avail_out?be:ye):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?me:ve}function g(e,t){for(var n,r,i;;){if(e.lookahead<se){if(h(e),e.lookahead<se&&t===O)return me;if(0===e.lookahead)break}if(n=0,e.lookahead>=ae&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ae-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ae-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-se&&(e.match_length=f(e,n),e.match_length<=5&&(e.strategy===V||e.match_length===ae&&e.strstart-e.match_start>4096)&&(e.match_length=ae-1)),e.prev_length>=ae&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-ae,r=R._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ae),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ae-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=ae-1,e.strstart++,r&&(s(e,!1),0===e.strm.avail_out))return me}else if(e.match_available){if(r=R._tr_tally(e,0,e.window[e.strstart-1]),r&&s(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return me}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=R._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ae-1?e.strstart:ae-1,t===F?(s(e,!0),0===e.strm.avail_out?be:ye):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?me:ve}function m(e,t){for(var n,r,i,a,o=e.window;;){if(e.lookahead<=oe){if(h(e),e.lookahead<=oe&&t===O)return me;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=ae&&e.strstart>0&&(i=e.strstart-1,(r=o[i])===o[++i]&&r===o[++i]&&r===o[++i])){a=e.strstart+oe;do{}while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&i<a);e.match_length=oe-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ae?(n=R._tr_tally(e,1,e.match_length-ae),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=R._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(s(e,!1),0===e.strm.avail_out))return me}return e.insert=0,t===F?(s(e,!0),0===e.strm.avail_out?be:ye):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?me:ve}function v(e,t){for(var n;;){if(0===e.lookahead&&(h(e),0===e.lookahead)){if(t===O)return me;break}if(e.match_length=0,n=R._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(s(e,!1),0===e.strm.avail_out))return me}return e.insert=0,t===F?(s(e,!0),0===e.strm.avail_out?be:ye):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?me:ve}function b(e){e.window_size=2*e.w_size,a(e.head),e.max_lazy_match=C[e.level].max_lazy,e.good_match=C[e.level].good_length,e.nice_match=C[e.level].nice_length,e.max_chain_length=C[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ae-1,e.match_available=0,e.ins_h=0}function y(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=K,this.last_flush=-1,this.w_size=0,this.w_bits=0,
|
||
this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new T.Buf16(2*re),this.dyn_dtree=new T.Buf16(2*(2*te+1)),this.bl_tree=new T.Buf16(2*(2*ne+1)),a(this.dyn_ltree),a(this.dyn_dtree),a(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new T.Buf16(ie+1),this.heap=new T.Buf16(2*ee+1),a(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new T.Buf16(2*ee+1),a(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 w(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=Y,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?ce:pe,e.adler=2===t.wrap?0:1,t.last_flush=O,R._tr_init(t),M):r(e,W)}function S(e){var t=w(e);return t===M&&b(e.state),t}function x(e,t){return e&&e.state?2!==e.state.wrap?W:(e.state.gzhead=t,M):W}function E(e,t,n,i,a,o){if(!e)return W;var s=1;if(t===H&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),a<1||a>J||n!==K||i<8||i>15||t<0||t>9||o<0||o>$)return r(e,W);8===i&&(i=9);var l=new y;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=i,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+ae-1)/ae),l.window=new T.Buf8(2*l.w_size),l.head=new T.Buf16(l.hash_size),l.prev=new T.Buf16(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new T.Buf8(l.pending_buf_size),l.d_buf=l.lit_bufsize>>1,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=o,l.method=n,S(e)}function _(e,t){return E(e,t,K,Z,Q,X)}function k(e,t){var n,s,u,f;if(!e||!e.state||t>D||t<0)return e?r(e,W):W;if(s=e.state,!e.output||!e.input&&0!==e.avail_in||s.status===ge&&t!==F)return r(e,0===e.avail_out?z:W);if(s.strm=e,n=s.last_flush,s.last_flush=t,s.status===ce)if(2===s.wrap)e.adler=0,l(s,31),l(s,139),l(s,8),s.gzhead?(l(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(s.gzhead.extra?4:0)+(s.gzhead.name?8:0)+(s.gzhead.comment?16:0)),l(s,255&s.gzhead.time),l(s,s.gzhead.time>>8&255),l(s,s.gzhead.time>>16&255),l(s,s.gzhead.time>>24&255),l(s,9===s.level?2:s.strategy>=q||s.level<2?4:0),l(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(l(s,255&s.gzhead.extra.length),l(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(e.adler=B(e.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=ue):(l(s,0),l(s,0),l(s,0),l(s,0),l(s,0),l(s,9===s.level?2:s.strategy>=q||s.level<2?4:0),l(s,we),s.status=pe);else{var h=K+(s.w_bits-8<<4)<<8,d=-1;d=s.strategy>=q||s.level<2?0:s.level<6?1:6===s.level?2:3,h|=d<<6,0!==s.strstart&&(h|=le),h+=31-h%31,s.status=pe,c(s,h),0!==s.strstart&&(c(s,e.adler>>>16),c(s,65535&e.adler)),e.adler=1}if(s.status===ue)if(s.gzhead.extra){for(u=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>u&&(e.adler=B(e.adler,s.pending_buf,s.pending-u,u)),o(e),u=s.pending,s.pending!==s.pending_buf_size));)l(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>u&&(e.adler=B(e.adler,s.pending_buf,s.pending-u,u)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=fe)}else s.status=fe;if(s.status===fe)if(s.gzhead.name){u=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>u&&(e.adler=B(e.adler,s.pending_buf,s.pending-u,u)),o(e),u=s.pending,s.pending===s.pending_buf_size)){f=1;break}f=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,l(s,f)}while(0!==f);s.gzhead.hcrc&&s.pending>u&&(e.adler=B(e.adler,s.pending_buf,s.pending-u,u)),0===f&&(s.gzindex=0,s.status=he)}else s.status=he;if(s.status===he)if(s.gzhead.comment){u=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>u&&(e.adler=B(e.adler,s.pending_buf,s.pending-u,u)),o(e),u=s.pending,s.pending===s.pending_buf_size)){f=1;break}f=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,l(s,f)}while(0!==f);s.gzhead.hcrc&&s.pending>u&&(e.adler=B(e.adler,s.pending_buf,s.pending-u,u)),0===f&&(s.status=de)}else s.status=de;if(s.status===de&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&o(e),s.pending+2<=s.pending_buf_size&&(l(s,255&e.adler),l(s,e.adler>>8&255),e.adler=0,s.status=pe)):s.status=pe),0!==s.pending){if(o(e),0===e.avail_out)return s.last_flush=-1,M}else if(0===e.avail_in&&i(t)<=i(n)&&t!==F)return r(e,z);if(s.status===ge&&0!==e.avail_in)return r(e,z);if(0!==e.avail_in||0!==s.lookahead||t!==O&&s.status!==ge){var p=s.strategy===q?v(s,t):s.strategy===G?m(s,t):C[s.level].func(s,t);if(p!==be&&p!==ye||(s.status=ge),p===me||p===be)return 0===e.avail_out&&(s.last_flush=-1),M;if(p===ve&&(t===L?R._tr_align(s):t!==D&&(R._tr_stored_block(s,0,0,!1),t===P&&(a(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),o(e),0===e.avail_out))return s.last_flush=-1,M}return t!==F?M:s.wrap<=0?j:(2===s.wrap?(l(s,255&e.adler),l(s,e.adler>>8&255),l(s,e.adler>>16&255),l(s,e.adler>>24&255),l(s,255&e.total_in),l(s,e.total_in>>8&255),l(s,e.total_in>>16&255),l(s,e.total_in>>24&255)):(c(s,e.adler>>>16),c(s,65535&e.adler)),o(e),s.wrap>0&&(s.wrap=-s.wrap),0!==s.pending?M:j)}function A(e){var t;return e&&e.state?(t=e.state.status)!==ce&&t!==ue&&t!==fe&&t!==he&&t!==de&&t!==pe&&t!==ge?r(e,W):(e.state=null,t===pe?r(e,U):M):W}var C,T=e("../utils/common"),R=e("./trees"),N=e("./adler32"),B=e("./crc32"),I=e("./messages"),O=0,L=1,P=3,F=4,D=5,M=0,j=1,W=-2,U=-3,z=-5,H=-1,V=1,q=2,G=3,$=4,X=0,Y=2,K=8,J=9,Z=15,Q=8,ee=286,te=30,ne=19,re=2*ee+1,ie=15,ae=3,oe=258,se=oe+ae+1,le=32,ce=42,ue=69,fe=73,he=91,de=103,pe=113,ge=666,me=1,ve=2,be=3,ye=4,we=3,Se=function(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i};C=[new Se(0,0,0,0,d),new Se(4,4,8,4,p),new Se(4,5,16,8,p),new Se(4,6,32,32,p),new Se(4,4,16,16,g),new Se(8,16,32,32,g),new Se(8,16,128,128,g),new Se(8,32,128,256,g),new Se(32,128,258,1024,g),new Se(32,258,258,4096,g)],n.deflateInit=_,n.deflateInit2=E,n.deflateReset=S,n.deflateResetKeep=w,n.deflateSetHeader=x,n.deflate=k,n.deflateEnd=A,n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(e,t,n){"use strict";function r(){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}t.exports=r},{}],34:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,a,o,s,l,c,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,k,A;n=e.state,r=e.next_in,k=e.input,i=r+(e.avail_in-5),a=e.next_out,A=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,f=n.wnext,h=n.window,d=n.hold,p=n.bits,g=n.lencode,m=n.distcode,v=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do{p<15&&(d+=k[r++]<<p,p+=8,d+=k[r++]<<p,p+=8),y=g[d&v];t:for(;;){if(w=y>>>24,d>>>=w,p-=w,0===(w=y>>>16&255))A[a++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=g[(65535&y)+(d&(1<<w)-1)];continue t}if(32&w){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}S=65535&y,w&=15,w&&(p<w&&(d+=k[r++]<<p,p+=8),S+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=k[r++]<<p,p+=8,d+=k[r++]<<p,p+=8),y=m[d&b];n:for(;;){if(w=y>>>24,d>>>=w,p-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=m[(65535&y)+(d&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&y,w&=15,p<w&&(d+=k[r++]<<p,(p+=8)<w&&(d+=k[r++]<<p,p+=8)),(x+=d&(1<<w)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(d>>>=w,p-=w,w=a-o,x>w){if((w=x-w)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(E=0,_=h,0===f){if(E+=c-w,w<S){S-=w;do{A[a++]=h[E++]}while(--w);E=a-x,_=A}}else if(f<w){if(E+=c+f-w,(w-=f)<S){S-=w;do{A[a++]=h[E++]}while(--w);if(E=0,f<S){w=f,S-=w;do{A[a++]=h[E++]}while(--w);E=a-x,_=A}}}else if(E+=f-w,w<S){S-=w;do{A[a++]=h[E++]}while(--w);E=a-x,_=A}for(;S>2;)A[a++]=_[E++],A[a++]=_[E++],A[a++]=_[E++],S-=3;S&&(A[a++]=_[E++],S>1&&(A[a++]=_[E++]))}else{E=a-x;do{A[a++]=A[E++],A[a++]=A[E++],A[a++]=A[E++],S-=3}while(S>2);S&&(A[a++]=A[E++],S>1&&(A[a++]=A[E++]))}break}}break}}while(r<i&&a<s);S=p>>3,r-=S,p-=S<<3,d&=(1<<p)-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=d,n.bits=p}},{}],35:[function(e,t,n){"use strict";function r(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function i(){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 v.Buf16(320),this.work=new v.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=F,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new v.Buf32(pe),t.distcode=t.distdyn=new v.Buf32(ge),t.sane=1,t.back=-1,T):B}function o(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,a(e)):B}function s(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?B:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,o(e))):B}function l(e,t){var n,r;return e?(r=new i,e.state=r,r.window=null,n=s(e,t),n!==T&&(e.state=null),n):B}function c(e){return l(e,me)}function u(e){if(ve){var t;for(g=new v.Buf32(512),m=new v.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(S(E,e.lens,0,288,g,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;S(_,e.lens,0,32,m,0,e.work,{bits:5}),ve=!1}e.lencode=g,e.lenbits=9,e.distcode=m,e.distbits=5}function f(e,t,n,r){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new v.Buf8(a.wsize)),r>=a.wsize?(v.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>r&&(i=r),v.arraySet(a.window,t,n-r,i,a.wnext),r-=i,r?(v.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}function h(e,t){var n,i,a,o,s,l,c,h,d,p,g,m,pe,ge,me,ve,be,ye,we,Se,xe,Ee,_e,ke,Ae=0,Ce=new v.Buf8(4),Te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return B;n=e.state,n.mode===$&&(n.mode=X),s=e.next_out,a=e.output,c=e.avail_out,o=e.next_in,i=e.input,l=e.avail_in,h=n.hold,d=n.bits,p=l,g=c,Ee=T;e:for(;;)switch(n.mode){case F:if(0===n.wrap){n.mode=X;break}for(;d<16;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if(2&n.wrap&&35615===h){n.check=0,Ce[0]=255&h,Ce[1]=h>>>8&255,n.check=y(n.check,Ce,2,0),h=0,d=0,n.mode=D;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&h)<<8)+(h>>8))%31){e.msg="incorrect header check",n.mode=fe;break}if((15&h)!==P){e.msg="unknown compression method",n.mode=fe;break}if(h>>>=4,d-=4,xe=8+(15&h),0===n.wbits)n.wbits=xe;else if(xe>n.wbits){e.msg="invalid window size",n.mode=fe;break}n.dmax=1<<xe,e.adler=n.check=1,n.mode=512&h?q:$,h=0,d=0;break;case D:for(;d<16;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if(n.flags=h,(255&n.flags)!==P){e.msg="unknown compression method",n.mode=fe;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=fe;break}n.head&&(n.head.text=h>>8&1),512&n.flags&&(Ce[0]=255&h,Ce[1]=h>>>8&255,n.check=y(n.check,Ce,2,0)),h=0,d=0,n.mode=M;case M:for(;d<32;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}n.head&&(n.head.time=h),512&n.flags&&(Ce[0]=255&h,Ce[1]=h>>>8&255,Ce[2]=h>>>16&255,Ce[3]=h>>>24&255,n.check=y(n.check,Ce,4,0)),h=0,d=0,n.mode=j;case j:for(;d<16;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}n.head&&(n.head.xflags=255&h,n.head.os=h>>8),512&n.flags&&(Ce[0]=255&h,Ce[1]=h>>>8&255,n.check=y(n.check,Ce,2,0)),h=0,d=0,n.mode=W;case W:if(1024&n.flags){for(;d<16;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}n.length=h,n.head&&(n.head.extra_len=h),512&n.flags&&(Ce[0]=255&h,Ce[1]=h>>>8&255,n.check=y(n.check,Ce,2,0)),h=0,d=0}else n.head&&(n.head.extra=null);n.mode=U;case U:if(1024&n.flags&&(m=n.length,m>l&&(m=l),m&&(n.head&&(xe=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),v.arraySet(n.head.extra,i,o,m,xe)),512&n.flags&&(n.check=y(n.check,i,m,o)),l-=m,o+=m,n.length-=m),n.length))break e;n.length=0,n.mode=z;case z:if(2048&n.flags){if(0===l)break e;m=0;do{xe=i[o+m++],n.head&&xe&&n.length<65536&&(n.head.name+=String.fromCharCode(xe))}while(xe&&m<l);if(512&n.flags&&(n.check=y(n.check,i,m,o)),l-=m,o+=m,xe)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=H;case H:if(4096&n.flags){if(0===l)break e;m=0;do{xe=i[o+m++],n.head&&xe&&n.length<65536&&(n.head.comment+=String.fromCharCode(xe))}while(xe&&m<l);if(512&n.flags&&(n.check=y(n.check,i,m,o)),l-=m,o+=m,xe)break e}else n.head&&(n.head.comment=null);n.mode=V;case V:if(512&n.flags){for(;d<16;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if(h!==(65535&n.check)){e.msg="header crc mismatch",n.mode=fe;break}h=0,d=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=$;break;case q:for(;d<32;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}e.adler=n.check=r(h),h=0,d=0,n.mode=G;case G:if(0===n.havedict)return e.next_out=s,e.avail_out=c,e.next_in=o,e.avail_in=l,n.hold=h,n.bits=d,N;e.adler=n.check=1,n.mode=$;case $:if(t===A||t===C)break e;case X:if(n.last){h>>>=7&d,d-=7&d,n.mode=le;break}for(;d<3;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}switch(n.last=1&h,h>>>=1,d-=1,3&h){case 0:n.mode=Y;break;case 1:if(u(n),n.mode=te,t===C){h>>>=2,d-=2;break e}break;case 2:n.mode=Z;break;case 3:e.msg="invalid block type",n.mode=fe}h>>>=2,d-=2;break;case Y:for(h>>>=7&d,d-=7&d;d<32;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){e.msg="invalid stored block lengths",n.mode=fe;break}if(n.length=65535&h,h=0,d=0,n.mode=K,t===C)break e;case K:n.mode=J;case J:if(m=n.length){if(m>l&&(m=l),m>c&&(m=c),0===m)break e;v.arraySet(a,i,o,m,s),l-=m,o+=m,c-=m,s+=m,n.length-=m;break}n.mode=$;break;case Z:for(;d<14;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if(n.nlen=257+(31&h),h>>>=5,d-=5,n.ndist=1+(31&h),h>>>=5,d-=5,n.ncode=4+(15&h),h>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=fe;break}n.have=0,n.mode=Q;case Q:for(;n.have<n.ncode;){for(;d<3;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}n.lens[Te[n.have++]]=7&h,h>>>=3,d-=3}for(;n.have<19;)n.lens[Te[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,_e={bits:n.lenbits},Ee=S(x,n.lens,0,19,n.lencode,0,n.work,_e),n.lenbits=_e.bits,Ee){e.msg="invalid code lengths set",n.mode=fe;break}n.have=0,n.mode=ee;case ee:for(;n.have<n.nlen+n.ndist;){for(;Ae=n.lencode[h&(1<<n.lenbits)-1],me=Ae>>>24,ve=Ae>>>16&255,be=65535&Ae,!(me<=d);){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if(be<16)h>>>=me,d-=me,n.lens[n.have++]=be;else{if(16===be){for(ke=me+2;d<ke;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if(h>>>=me,d-=me,0===n.have){e.msg="invalid bit length repeat",n.mode=fe;break}xe=n.lens[n.have-1],m=3+(3&h),h>>>=2,d-=2}else if(17===be){for(ke=me+3;d<ke;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}h>>>=me,d-=me,xe=0,m=3+(7&h),h>>>=3,d-=3}else{for(ke=me+7;d<ke;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}h>>>=me,d-=me,xe=0,m=11+(127&h),h>>>=7,d-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=fe;break}for(;m--;)n.lens[n.have++]=xe}}if(n.mode===fe)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=fe;break}if(n.lenbits=9,_e={bits:n.lenbits},Ee=S(E,n.lens,0,n.nlen,n.lencode,0,n.work,_e),n.lenbits=_e.bits,Ee){e.msg="invalid literal/lengths set",n.mode=fe;break}if(n.distbits=6,n.distcode=n.distdyn,_e={bits:n.distbits},Ee=S(_,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,_e),n.distbits=_e.bits,Ee){e.msg="invalid distances set",n.mode=fe;break}if(n.mode=te,t===C)break e;case te:n.mode=ne;case ne:if(l>=6&&c>=258){e.next_out=s,e.avail_out=c,e.next_in=o,e.avail_in=l,n.hold=h,n.bits=d,w(e,g),s=e.next_out,a=e.output,c=e.avail_out,o=e.next_in,i=e.input,l=e.avail_in,h=n.hold,d=n.bits,n.mode===$&&(n.back=-1);break}for(n.back=0;Ae=n.lencode[h&(1<<n.lenbits)-1],me=Ae>>>24,ve=Ae>>>16&255,be=65535&Ae,!(me<=d);){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if(ve&&0==(240&ve)){for(ye=me,we=ve,Se=be;Ae=n.lencode[Se+((h&(1<<ye+we)-1)>>ye)],me=Ae>>>24,ve=Ae>>>16&255,be=65535&Ae,!(ye+me<=d);){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}h>>>=ye,d-=ye,n.back+=ye}if(h>>>=me,d-=me,n.back+=me,n.length=be,0===ve){n.mode=se;break}if(32&ve){n.back=-1,n.mode=$;break}if(64&ve){e.msg="invalid literal/length code",n.mode=fe;break}n.extra=15&ve,n.mode=re;case re:if(n.extra){for(ke=n.extra;d<ke;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}n.length+=h&(1<<n.extra)-1,h>>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=ie;case ie:for(;Ae=n.distcode[h&(1<<n.distbits)-1],me=Ae>>>24,ve=Ae>>>16&255,be=65535&Ae,!(me<=d);){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if(0==(240&ve)){for(ye=me,we=ve,Se=be;Ae=n.distcode[Se+((h&(1<<ye+we)-1)>>ye)],me=Ae>>>24,ve=Ae>>>16&255,be=65535&Ae,!(ye+me<=d);){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}h>>>=ye,d-=ye,n.back+=ye}if(h>>>=me,d-=me,n.back+=me,64&ve){e.msg="invalid distance code",n.mode=fe;break}n.offset=be,n.extra=15&ve,n.mode=ae;case ae:if(n.extra){for(ke=n.extra;d<ke;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}n.offset+=h&(1<<n.extra)-1,h>>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=fe;break}n.mode=oe;case oe:if(0===c)break e;if(m=g-c,n.offset>m){if((m=n.offset-m)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=fe;break}m>n.wnext?(m-=n.wnext,pe=n.wsize-m):pe=n.wnext-m,m>n.length&&(m=n.length),ge=n.window}else ge=a,pe=s-n.offset,m=n.length;m>c&&(m=c),c-=m,n.length-=m;do{a[s++]=ge[pe++]}while(--m);0===n.length&&(n.mode=ne);break;case se:if(0===c)break e;a[s++]=n.length,c--,n.mode=ne;break;case le:if(n.wrap){for(;d<32;){if(0===l)break e;l--,h|=i[o++]<<d,d+=8}if(g-=c,e.total_out+=g,n.total+=g,g&&(e.adler=n.check=n.flags?y(n.check,a,g,s-g):b(n.check,a,g,s-g)),g=c,(n.flags?h:r(h))!==n.check){e.msg="incorrect data check",n.mode=fe;break}h=0,d=0}n.mode=ce;case ce:if(n.wrap&&n.flags){for(;d<32;){if(0===l)break e;l--,h+=i[o++]<<d,d+=8}if(h!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=fe;break}h=0,d=0}n.mode=ue;case ue:Ee=R;break e;case fe:Ee=I;break e;case he:return O;case de:default:return B}return e.next_out=s,e.avail_out=c,e.next_in=o,e.avail_in=l,n.hold=h,n.bits=d,(n.wsize||g!==e.avail_out&&n.mode<fe&&(n.mode<le||t!==k))&&f(e,e.output,e.next_out,g-e.avail_out)?(n.mode=he,O):(p-=e.avail_in,g-=e.avail_out,e.total_in+=p,e.total_out+=g,n.total+=g,n.wrap&&g&&(e.adler=n.check=n.flags?y(n.check,a,g,e.next_out-g):b(n.check,a,g,e.next_out-g)),e.data_type=n.bits+(n.last?64:0)+(n.mode===$?128:0)+(n.mode===te||n.mode===K?256:0),(0===p&&0===g||t===k)&&Ee===T&&(Ee=L),Ee)}function d(e){if(!e||!e.state)return B;var t=e.state;return t.window&&(t.window=null),e.state=null,T}function p(e,t){var n;return e&&e.state?(n=e.state,0==(2&n.wrap)?B:(n.head=t,t.done=!1,T)):B}var g,m,v=e("../utils/common"),b=e("./adler32"),y=e("./crc32"),w=e("./inffast"),S=e("./inftrees"),x=0,E=1,_=2,k=4,A=5,C=6,T=0,R=1,N=2,B=-2,I=-3,O=-4,L=-5,P=8,F=1,D=2,M=3,j=4,W=5,U=6,z=7,H=8,V=9,q=10,G=11,$=12,X=13,Y=14,K=15,J=16,Z=17,Q=18,ee=19,te=20,ne=21,re=22,ie=23,ae=24,oe=25,se=26,le=27,ce=28,ue=29,fe=30,he=31,de=32,pe=852,ge=592,me=15,ve=!0;n.inflateReset=o,n.inflateReset2=s,n.inflateResetKeep=a,n.inflateInit=c,n.inflateInit2=l,n.inflate=h,n.inflateEnd=d,n.inflateGetHeader=p,n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./inffast":34,"./inftrees":36}],36:[function(e,t,n){"use strict";var r=e("../utils/common"),i=15,a=[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],o=[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],s=[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],l=[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];t.exports=function(e,t,n,c,u,f,h,d){var p,g,m,v,b,y,w,S,x,E=d.bits,_=0,k=0,A=0,C=0,T=0,R=0,N=0,B=0,I=0,O=0,L=null,P=0,F=new r.Buf16(16),D=new r.Buf16(16),M=null,j=0;for(_=0;_<=i;_++)F[_]=0;for(k=0;k<c;k++)F[t[n+k]]++;for(T=E,C=i;C>=1&&0===F[C];C--);if(T>C&&(T=C),0===C)return u[f++]=20971520,u[f++]=20971520,d.bits=1,0;for(A=1;A<C&&0===F[A];A++);for(T<A&&(T=A),B=1,_=1;_<=i;_++)if(B<<=1,(B-=F[_])<0)return-1;if(B>0&&(0===e||1!==C))return-1;for(D[1]=0,_=1;_<i;_++)D[_+1]=D[_]+F[_];for(k=0;k<c;k++)0!==t[n+k]&&(h[D[t[n+k]]++]=k);if(0===e?(L=M=h,y=19):1===e?(L=a,P-=257,M=o,j-=257,y=256):(L=s,M=l,y=-1),O=0,k=0,_=A,b=f,R=T,N=0,m=-1,I=1<<T,v=I-1,1===e&&I>852||2===e&&I>592)return 1;for(var W=0;;){W++,w=_-N,h[k]<y?(S=0,x=h[k]):h[k]>y?(S=M[j+h[k]],x=L[P+h[k]]):(S=96,x=0),p=1<<_-N,g=1<<R,A=g;do{g-=p,u[b+(O>>N)+g]=w<<24|S<<16|x|0}while(0!==g);for(p=1<<_-1;O&p;)p>>=1;if(0!==p?(O&=p-1,O+=p):O=0,k++,0==--F[_]){if(_===C)break;_=t[n+h[k]]}if(_>T&&(O&v)!==m){for(0===N&&(N=T),b+=A,R=_-N,B=1<<R;R+N<C&&!((B-=F[R+N])<=0);)R++,B<<=1;if(I+=1<<R,1===e&&I>852||2===e&&I>592)return 1;m=O&v,u[m]=T<<24|R<<16|b-f|0}}return 0!==O&&(u[b+O]=_-N<<24|64<<16|0),d.bits=T,0}},{"../utils/common":27}],37:[function(e,t,n){"use strict";t.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"}},{}],38:[function(e,t,n){"use strict";function r(e){for(var t=e.length;--t>=0;)e[t]=0}function i(e){return e<256?re[e]:re[256+(e>>>7)]}function a(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function o(e,t,n){e.bi_valid>q-n?(e.bi_buf|=t<<e.bi_valid&65535,a(e,e.bi_buf),e.bi_buf=t>>q-e.bi_valid,e.bi_valid+=n-q):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function s(e,t,n){o(e,n[2*t],n[2*t+1])}function l(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function c(e){16===e.bi_valid?(a(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function u(e,t){var n,r,i,a,o,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,f=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(a=0;a<=V;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<H;n++)r=e.heap[n],a=l[2*l[2*r+1]+1]+1,a>p&&(a=p,g++),l[2*r+1]=a,r>c||(e.bl_count[a]++,o=0,r>=d&&(o=h[r-d]),s=l[2*r],e.opt_len+=s*(a+o),f&&(e.static_len+=s*(u[2*r+1]+o)));if(0!==g){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(a=p;0!==a;a--)for(r=e.bl_count[a];0!==r;)(i=e.heap[--n])>c||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),r--)}}function f(e,t,n){var r,i,a=new Array(V+1),o=0;for(r=1;r<=V;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=l(a[s]++,s))}}function h(){var e,t,n,r,i,a=new Array(V+1);for(n=0,r=0;r<M-1;r++)for(ae[r]=n,e=0;e<1<<J[r];e++)ie[n++]=r;for(ie[n-1]=r,i=0,r=0;r<16;r++)for(oe[r]=i,e=0;e<1<<Z[r];e++)re[i++]=r;for(i>>=7;r<U;r++)for(oe[r]=i<<7,e=0;e<1<<Z[r]-7;e++)re[256+i++]=r;for(t=0;t<=V;t++)a[t]=0;for(e=0;e<=143;)te[2*e+1]=8,e++,a[8]++;for(;e<=255;)te[2*e+1]=9,e++,a[9]++;for(;e<=279;)te[2*e+1]=7,e++,a[7]++;for(;e<=287;)te[2*e+1]=8,e++,a[8]++;for(f(te,W+1,a),e=0;e<U;e++)ne[2*e+1]=5,ne[2*e]=l(e,5);se=new ue(te,J,j+1,W,V),le=new ue(ne,Z,0,U,V),ce=new ue(new Array(0),Q,0,z,G)}function d(e){var t;for(t=0;t<W;t++)e.dyn_ltree[2*t]=0;for(t=0;t<U;t++)e.dyn_dtree[2*t]=0;for(t=0;t<z;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*$]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function p(e){e.bi_valid>8?a(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function g(e,t,n,r){p(e),r&&(a(e,n),a(e,~n)),N.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function m(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function v(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&m(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!m(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function b(e,t,n){var r,a,l,c,u=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*u]<<8|e.pending_buf[e.d_buf+2*u+1],a=e.pending_buf[e.l_buf+u],u++,0===r?s(e,a,t):(l=ie[a],s(e,l+j+1,t),c=J[l],0!==c&&(a-=ae[l],o(e,a,c)),r--,l=i(r),s(e,l,n),0!==(c=Z[l])&&(r-=oe[l],o(e,r,c)))}while(u<e.last_lit);s(e,$,t)}function y(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=H,n=0;n<l;n++)0!==a[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)i=e.heap[++e.heap_len]=c<2?++c:0,a[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)v(e,a,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],v(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,v(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],u(e,t),f(a,c,e.bl_count)}function w(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<l&&i===o||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*X]++):s<=10?e.bl_tree[2*Y]++:e.bl_tree[2*K]++,s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4))}function S(e,t,n){var r,i,a=-1,l=t[1],c=0,u=7,f=4;for(0===l&&(u=138,f=3),r=0;r<=n;r++)if(i=l,l=t[2*(r+1)+1],!(++c<u&&i===l)){if(c<f)do{s(e,i,e.bl_tree)}while(0!=--c);else 0!==i?(i!==a&&(s(e,i,e.bl_tree),c--),s(e,X,e.bl_tree),o(e,c-3,2)):c<=10?(s(e,Y,e.bl_tree),o(e,c-3,3)):(s(e,K,e.bl_tree),o(e,c-11,7));c=0,a=i,0===l?(u=138,f=3):i===l?(u=6,f=3):(u=7,f=4)}}function x(e){var t;for(w(e,e.dyn_ltree,e.l_desc.max_code),w(e,e.dyn_dtree,e.d_desc.max_code),y(e,e.bl_desc),t=z-1;t>=3&&0===e.bl_tree[2*ee[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}function E(e,t,n,r){var i;for(o(e,t-257,5),o(e,n-1,5),o(e,r-4,4),i=0;i<r;i++)o(e,e.bl_tree[2*ee[i]+1],3);S(e,e.dyn_ltree,t-1),S(e,e.dyn_dtree,n-1)}function _(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return I;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return O;for(t=32;t<j;t++)if(0!==e.dyn_ltree[2*t])return O;return I}function k(e){he||(h(),he=!0),e.l_desc=new fe(e.dyn_ltree,se),e.d_desc=new fe(e.dyn_dtree,le),e.bl_desc=new fe(e.bl_tree,ce),e.bi_buf=0,e.bi_valid=0,d(e)}function A(e,t,n,r){o(e,(P<<1)+(r?1:0),3),g(e,t,n,!0)}function C(e){o(e,F<<1,3),s(e,$,te),c(e)}function T(e,t,n,r){var i,a,s=0;e.level>0?(e.strm.data_type===L&&(e.strm.data_type=_(e)),y(e,e.l_desc),y(e,e.d_desc),s=x(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?A(e,t,n,r):e.strategy===B||a===i?(o(e,(F<<1)+(r?1:0),3),b(e,te,ne)):(o(e,(D<<1)+(r?1:0),3),E(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),b(e,e.dyn_ltree,e.dyn_dtree)),d(e),r&&p(e)}function R(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(ie[n]+j+1)]++,e.dyn_dtree[2*i(t)]++),e.last_lit===e.lit_bufsize-1}var N=e("../utils/common"),B=4,I=0,O=1,L=2,P=0,F=1,D=2,M=29,j=256,W=j+1+M,U=30,z=19,H=2*W+1,V=15,q=16,G=7,$=256,X=16,Y=17,K=18,J=[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],Z=[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],Q=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ee=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],te=new Array(2*(W+2));r(te);var ne=new Array(2*U);r(ne);var re=new Array(512);r(re);var ie=new Array(256);r(ie);var ae=new Array(M);r(ae);var oe=new Array(U);r(oe);var se,le,ce,ue=function(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length},fe=function(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t},he=!1;n._tr_init=k,n._tr_stored_block=A,n._tr_flush_block=T,n._tr_tally=R,n._tr_align=C},{"../utils/common":27}],39:[function(e,t,n){"use strict";function r(){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}t.exports=r},{}]},{},[9])(9)});var XLSX={};"undefined"!=typeof exports?make_xlsx_lib(exports):"undefined"!=typeof module&&module.exports?make_xlsx_lib(module.exports):"function"==typeof define&&define.amd?define(function(){return XLSX.version||make_xlsx_lib(XLSX),XLSX}):make_xlsx_lib(XLSX);var XLS=XLSX,ODS=XLSX;!function(e){"use strict";function t(e){var t=d(x(),e);void 0!==t.extendWidth&&(t.tableWidth=t.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),void 0!==t.margins&&(void 0===t.margin&&(t.margin=t.margins),console.error("Use of deprecated option: margins, use margin instead.")),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach(function(e){var n="string"==typeof e?e:e[0],r="string"==typeof e?e:e[1];void 0!==t[n]&&(void 0===t.styles[r]&&(t.styles[r]=t[n]),console.error("Use of deprecated option: "+n+", use the style "+r+" instead."))});var n=t.margin;return t.margin={},"number"==typeof n.horizontal&&(n.right=n.horizontal,n.left=n.horizontal),"number"==typeof n.vertical&&(n.top=n.vertical,n.bottom=n.vertical),["top","right","bottom","left"].forEach(function(e,r){if("number"==typeof n)t.margin[e]=n;else{var i=Array.isArray(n)?r:e;t.margin[e]="number"==typeof n[i]?n[i]:40}}),t}function n(e,t){b=new Table,b.x=m.margin.left;var n=/\r\n|\r|\n/g,r=new Row(e);r.index=-1;var i=d(w,S[m.theme].table,S[m.theme].header);r.styles=d(i,m.styles,m.headerStyles),e.forEach(function(e,t){"object"==typeof e&&(t=void 0!==e.dataKey?e.dataKey:e.key),void 0!==e.width&&console.error("Use of deprecated option: column.width, use column.styles.columnWidth instead.");var i=new Column(t);i.styles=m.columnStyles[i.dataKey]||{},b.columns.push(i);var a=new Cell;a.raw="object"==typeof e?e.title:e,a.styles=r.styles,a.text=""+a.raw,a.contentWidth=2*a.styles.cellPadding+h(a.text,a.styles),a.text=a.text.split(n),r.cells[t]=a,m.createdHeaderCell(a,{column:i,row:r,settings:m})}),b.headerRow=r,t.forEach(function(e,t){var r=new Row(e),i=t%2==0,a=d(w,S[m.theme].table,i?S[m.theme].alternateRow:{}),o=d(m.styles,m.bodyStyles,i?m.alternateRowStyles:{});r.styles=d(a,o),r.index=t,b.columns.forEach(function(t){var i=new Cell;i.raw=e[t.dataKey],i.styles=d(r.styles,t.styles),i.text=void 0!==i.raw?""+i.raw:"",r.cells[t.dataKey]=i,m.createdCell(i,u({column:t,row:r})),i.contentWidth=2*i.styles.cellPadding+h(i.text,i.styles),i.text=i.text.split(n)}),b.rows.push(r)})}function r(){var e=0;b.columns.forEach(function(t){t.contentWidth=b.headerRow.cells[t.dataKey].contentWidth,b.rows.forEach(function(e){var n=e.cells[t.dataKey].contentWidth;n>t.contentWidth&&(t.contentWidth=n)}),t.width=t.contentWidth,e+=t.contentWidth}),b.contentWidth=e;var t=p.internal.pageSize.width-m.margin.left-m.margin.right,n=t;"number"==typeof m.tableWidth?n=m.tableWidth:"wrap"===m.tableWidth&&(n=b.contentWidth),b.width=n<t?n:t;var r=[],a=0,o=b.width/b.columns.length,s=0;b.columns.forEach(function(e){var t=d(w,S[m.theme].table,m.styles,e.styles)
|
||
;"wrap"===t.columnWidth?e.width=e.contentWidth:"number"==typeof t.columnWidth?e.width=t.columnWidth:(t.columnWidth,e.contentWidth<=o&&b.contentWidth>b.width?e.width=e.contentWidth:(r.push(e),a+=e.contentWidth,e.width=0)),s+=e.width}),i(r,s,a,o),b.height=0,b.rows.concat(b.headerRow).forEach(function(e,t){var n=0,r=b.x;b.columns.forEach(function(t){var i=e.cells[t.dataKey];t.x=r,c(i.styles);var a=t.width-2*i.styles.cellPadding;"linebreak"===i.styles.overflow?i.text=p.splitTextToSize(i.text,a+1,{fontSize:i.styles.fontSize}):"ellipsize"===i.styles.overflow?i.text=f(i.text,a,i.styles):"visible"===i.styles.overflow||("hidden"===i.styles.overflow?i.text=f(i.text,a,i.styles,""):"function"==typeof i.styles.overflow?i.text=i.styles.overflow(i.text,a):console.error("Unrecognized overflow type: "+i.styles.overflow));var o=Array.isArray(i.text)?i.text.length-1:0;o>n&&(n=o),r+=t.width}),e.heightStyle=e.styles.rowHeight,e.height=e.heightStyle+n*e.styles.fontSize*y,b.height+=e.height})}function i(e,t,n,r){for(var a=b.width-t-n,o=0;o<e.length;o++){var s=e[o],l=s.contentWidth/n,c=s.contentWidth+a*l<r;if(a<0&&c){e.splice(o,1),n-=s.contentWidth,s.width=r,t+=s.width,i(e,t,n,r);break}s.width=s.contentWidth+a*l}}function a(){b.rows.forEach(function(e,t){if(s(e.height)){o()}e.y=g.y,!1!==m.drawRow(e,u({row:e}))&&l(e,m.drawCell)})}function o(){m.afterPageContent(u()),p.addPage(),v++,g={x:m.margin.left,y:m.margin.top},m.beforePageContent(u()),!1!==m.drawHeaderRow(b.headerRow,u({row:b.headerRow}))&&l(b.headerRow,m.drawHeaderCell)}function s(e){return g.y+e+m.margin.bottom>=p.internal.pageSize.height}function l(e,t){for(var n=0;n<b.columns.length;n++){var r=b.columns[n],i=e.cells[r.dataKey];if(i){c(i.styles),i.x=r.x,i.y=g.y,i.height=e.height,i.width=r.width,"top"===i.styles.valign?i.textPos.y=g.y+i.styles.cellPadding:"bottom"===i.styles.valign?i.textPos.y=g.y+e.height-i.styles.cellPadding:i.textPos.y=g.y+e.height/2,"right"===i.styles.halign?i.textPos.x=i.x+i.width-i.styles.cellPadding:"center"===i.styles.halign?i.textPos.x=i.x+i.width/2:i.textPos.x=i.x+i.styles.cellPadding;!1!==t(i,u({column:r,row:e}))&&(p.rect(i.x,i.y,i.width,i.height,i.styles.fillStyle),p.autoTableText(i.text,i.textPos.x,i.textPos.y,{halign:i.styles.halign,valign:i.styles.valign}))}}g.y+=e.height}function c(e){[{func:p.setFillColor,value:e.fillColor},{func:p.setTextColor,value:e.textColor},{func:p.setFontStyle,value:e.fontStyle},{func:p.setDrawColor,value:e.lineColor},{func:p.setLineWidth,value:e.lineWidth},{func:p.setFont,value:e.font},{func:p.setFontSize,value:e.fontSize}].forEach(function(e){void 0!==e.value&&(e.value.constructor===Array?e.func.apply(this,e.value):e.func(e.value))})}function u(e){e=e||{};var t={pageCount:v,settings:m,table:b,cursor:g};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function f(e,t,n,r){if(r=void 0!==r?r:"...",Array.isArray(e))return e.forEach(function(i,a){e[a]=f(i,t,n,r)}),e;if(t>=h(e,n))return e;for(;t<h(e+r,n)&&!(e.length<2);)e=e.substring(0,e.length-1);return e.trim()+r}function h(e,t){return c(t),p.getStringUnitWidth(e)*t.fontSize}function d(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);for(var r=1;r<arguments.length;r++){var i=arguments[r];for(t in i)i.hasOwnProperty(t)&&("object"!=typeof i[t]||Array.isArray(i[t]),n[t]=i[t])}return n}var p,g,m,v,b,y=1.15,w={cellPadding:5,fontSize:10,font:"helvetica",lineColor:200,lineWidth:.1,fontStyle:"normal",overflow:"ellipsize",fillColor:255,textColor:20,halign:"left",valign:"top",fillStyle:"F",rowHeight:20,columnWidth:"auto"},S={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal",fillStyle:"F"},header:{textColor:255,fillColor:[41,128,185],rowHeight:23,fontStyle:"bold"},body:{},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1,fillStyle:"DF"},header:{textColor:255,fillColor:[26,188,156],rowHeight:23,fillStyle:"F",fontStyle:"bold"},body:{},alternateRow:{}},plain:{header:{fontStyle:"bold"}}},x=function(){return{theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(e,t){},createdCell:function(e,t){},drawHeaderRow:function(e,t){},drawRow:function(e,t){},drawHeaderCell:function(e,t){},drawCell:function(e,t){},beforePageContent:function(e){},afterPageContent:function(e){}}};e.autoTable=function(e,i,o){p=this,m=t(o||{}),v=1,g={y:!1===m.startY?m.margin.top:m.startY};var s={textColor:30,fontSize:p.internal.getFontSize(),fontStyle:p.internal.getFont().fontStyle};n(e,i),r();var f=b.rows[0]&&"auto"===m.pageBreak?b.rows[0].height:0,h=m.startY+m.margin.bottom+b.headerRow.height+f;return"avoid"===m.pageBreak&&(h+=b.height),("always"===m.pageBreak&&!1!==m.startY||!1!==m.startY&&h>p.internal.pageSize.height)&&(p.addPage(),g.y=m.margin.top),c(s),m.beforePageContent(u()),!1!==m.drawHeaderRow(b.headerRow,u({row:b.headerRow}))&&l(b.headerRow,m.drawHeaderCell),c(s),a(),m.afterPageContent(u()),c(s),this},e.autoTableEndPosY=function(){return void 0===g||void 0===g.y?0:g.y},e.autoTableHtmlToJson=function(e){var t,n,r,i,a=[],o=[],s=e.rows[0];for(r=0;r<s.cells.length;r++)o.push(void 0!==s.cells[r]?s.cells[r].textContent:"");for(r=1;r<e.rows.length;r++){for(t=e.rows[r],n=[],i=0;i<s.cells.length;i++)n.push(void 0!==t.cells[i]?t.cells[i].textContent:"");a.push(n)}return{columns:o,data:a,rows:a}},e.autoTableText=function(e,t,n,r){"number"==typeof t&&"number"==typeof n||console.error("The x and y parameters are required. Missing for the text: ",e);var i=p.internal.getFontSize()/p.internal.scaleFactor,a=y,o=/\r\n|\r|\n/g,s=null,l=1;if("middle"!==r.valign&&"bottom"!==r.valign&&"center"!==r.halign&&"right"!==r.halign||(s="string"==typeof e?e.split(o):e,l=s.length||1),n+=i*(2-a),"middle"===r.valign?n-=l/2*i:"bottom"===r.valign&&(n-=l*i),"center"===r.halign||"right"===r.halign){var c=i;if("center"===r.halign&&(c*=.5),l>=1){for(var u=0;u<s.length;u++)p.text(s[u],t-p.getStringUnitWidth(s[u])*c,n),n+=i;return p}t-=p.getStringUnitWidth(e)*c}return p.text(e,t,n),p}}(jsPDF.API);var Table=function e(){_classCallCheck(this,e),this.height=0,this.width=0,this.x=0,this.y=0,this.contentWidth=0,this.rows=[],this.columns=[],this.headerRow=null,this.settings={}},Row=function e(t){_classCallCheck(this,e),this.raw=t||{},this.index=0,this.styles={},this.cells={},this.height=0,this.y=0},Cell=function e(t){_classCallCheck(this,e),this.raw=t,this.styles={},this.text="",this.contentWidth=0,this.textPos={},this.height=0,this.width=0,this.x=0,this.y=0},Column=function e(t){_classCallCheck(this,e),this.dataKey=t,this.options={},this.styles={},this.contentWidth=0,this.width=0,this.x=0};!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self,t(e.jQuery))}(this,function(e){"use strict";function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}function f(e,t,n){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=u(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d=function(e){return e&&e.Math==Math&&e},p=d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof h&&h)||Function("return this")(),g=function(e){try{return!!e()}catch(e){return!0}},m=!g(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),v={}.propertyIsEnumerable,b=Object.getOwnPropertyDescriptor,y=b&&!v.call({1:2},1),w=y?function(e){var t=b(this,e);return!!t&&t.enumerable}:v,S={f:w},x=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E={}.toString,_=function(e){return E.call(e).slice(8,-1)},k="".split,A=g(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==_(e)?k.call(e,""):Object(e)}:Object,C=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},T=function(e){return A(C(e))},R=function(e){return"object"==typeof e?null!==e:"function"==typeof e},N=function(e,t){if(!R(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!R(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},B={}.hasOwnProperty,I=function(e,t){return B.call(e,t)},O=p.document,L=R(O)&&R(O.createElement),P=function(e){return L?O.createElement(e):{}},F=!m&&!g(function(){return 7!=Object.defineProperty(P("div"),"a",{get:function(){return 7}}).a}),D=Object.getOwnPropertyDescriptor,M=m?D:function(e,t){if(e=T(e),t=N(t,!0),F)try{return D(e,t)}catch(e){}if(I(e,t))return x(!S.f.call(e,t),e[t])},j={f:M},W=function(e){if(!R(e))throw TypeError(String(e)+" is not an object");return e},U=Object.defineProperty,z=m?U:function(e,t,n){if(W(e),t=N(t,!0),W(n),F)try{return U(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e},H={f:z},V=m?function(e,t,n){return H.f(e,t,x(1,n))}:function(e,t,n){return e[t]=n,e},q=function(e,t){try{V(p,e,t)}catch(n){p[e]=t}return t},G=p["__core-js_shared__"]||q("__core-js_shared__",{}),$=G,X=Function.toString;"function"!=typeof $.inspectSource&&($.inspectSource=function(e){return X.call(e)});var Y,K,J,Z=$.inspectSource,Q=p.WeakMap,ee="function"==typeof Q&&/native code/.test(Z(Q)),te=t(function(e){(e.exports=function(e,t){return $[e]||($[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),ne=0,re=Math.random(),ie=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++ne+re).toString(36)},ae=te("keys"),oe=function(e){return ae[e]||(ae[e]=ie(e))},se={},le=p.WeakMap,ce=function(e){return J(e)?K(e):Y(e,{})},ue=function(e){return function(t){var n;if(!R(t)||(n=K(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(ee){var fe=new le,he=fe.get,de=fe.has,pe=fe.set;Y=function(e,t){return pe.call(fe,e,t),t},K=function(e){return he.call(fe,e)||{}},J=function(e){return de.call(fe,e)}}else{var ge=oe("state");se[ge]=!0,Y=function(e,t){return V(e,ge,t),t},K=function(e){return I(e,ge)?e[ge]:{}},J=function(e){return I(e,ge)}}var me,ve,be={set:Y,get:K,has:J,enforce:ce,getterFor:ue},ye=t(function(e){var t=be.get,n=be.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;if("function"==typeof i&&("string"!=typeof t||I(i,"name")||V(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e===p)return void(s?e[t]=i:q(t,i));o?!l&&e[t]&&(s=!0):delete e[t],s?e[t]=i:V(e,t,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||Z(this)})}),we=p,Se=function(e){return"function"==typeof e?e:void 0},xe=function(e,t){return arguments.length<2?Se(we[e])||Se(p[e]):we[e]&&we[e][t]||p[e]&&p[e][t]},Ee=Math.ceil,_e=Math.floor,ke=function(e){return isNaN(e=+e)?0:(e>0?_e:Ee)(e)},Ae=Math.min,Ce=function(e){return e>0?Ae(ke(e),9007199254740991):0},Te=Math.max,Re=Math.min,Ne=function(e,t){var n=ke(e);return n<0?Te(n+t,0):Re(n,t)},Be=function(e){return function(t,n,r){var i,a=T(t),o=Ce(a.length),s=Ne(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Ie={includes:Be(!0),indexOf:Be(!1)},Oe=Ie.indexOf,Le=function(e,t){var n,r=T(e),i=0,a=[];for(n in r)!I(se,n)&&I(r,n)&&a.push(n);for(;t.length>i;)I(r,n=t[i++])&&(~Oe(a,n)||a.push(n));return a},Pe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fe=Pe.concat("length","prototype"),De=Object.getOwnPropertyNames||function(e){return Le(e,Fe)},Me={f:De},je=Object.getOwnPropertySymbols,We={f:je},Ue=xe("Reflect","ownKeys")||function(e){var t=Me.f(W(e)),n=We.f;return n?t.concat(n(e)):t},ze=function(e,t){for(var n=Ue(t),r=H.f,i=j.f,a=0;a<n.length;a++){var o=n[a];I(e,o)||r(e,o,i(t,o))}},He=/#|\.prototype\./,Ve=function(e,t){var n=Ge[qe(e)];return n==Xe||n!=$e&&("function"==typeof t?g(t):!!t)},qe=Ve.normalize=function(e){return String(e).replace(He,".").toLowerCase()},Ge=Ve.data={},$e=Ve.NATIVE="N",Xe=Ve.POLYFILL="P",Ye=Ve,Ke=j.f,Je=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?p:c?p[s]||q(s,{}):(p[s]||{}).prototype)for(r in t){if(a=t[r],e.noTargetGet?(o=Ke(n,r),i=o&&o.value):i=n[r],!Ye(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;ze(a,i)}(e.sham||i&&i.sham)&&V(a,"sham",!0),ye(n,r,a,e)}},Ze=Array.isArray||function(e){return"Array"==_(e)},Qe=function(e){return Object(C(e))},et=function(e,t,n){var r=N(t);r in e?H.f(e,r,x(0,n)):e[r]=n},tt=!!Object.getOwnPropertySymbols&&!g(function(){return!String(Symbol())}),nt=tt&&!Symbol.sham&&"symbol"==typeof Symbol(),rt=te("wks"),it=p.Symbol,at=nt?it:ie,ot=function(e){return I(rt,e)||(tt&&I(it,e)?rt[e]=it[e]:rt[e]=at("Symbol."+e)),rt[e]},st=ot("species"),lt=function(e,t){var n;return Ze(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!Ze(n.prototype)?R(n)&&null===(n=n[st])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},ct=xe("navigator","userAgent")||"",ut=p.process,ft=ut&&ut.versions,ht=ft&&ft.v8;ht?(me=ht.split("."),ve=me[0]+me[1]):ct&&(!(me=ct.match(/Edge\/(\d+)/))||me[1]>=74)&&(me=ct.match(/Chrome\/(\d+)/))&&(ve=me[1]);var dt=ve&&+ve,pt=ot("species"),gt=ot("isConcatSpreadable"),mt=dt>=51||!g(function(){var e=[];return e[gt]=!1,e.concat()[0]!==e}),vt=function(e){return dt>=51||!g(function(){var t=[],n=t.constructor={};return n[pt]=function(){return{foo:1}},1!==t[e](Boolean).foo})}("concat"),bt=function(e){if(!R(e))return!1;var t=e[gt];return void 0!==t?!!t:Ze(e)};Je({target:"Array",proto:!0,forced:!mt||!vt},{concat:function(e){var t,n,r,i,a,o=Qe(this),s=lt(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(a=-1===t?o:arguments[t],bt(a)){if(i=Ce(a.length),l+i>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,l++)n in a&&et(s,l,a[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");et(s,l++,a)}return s.length=l,s}});var yt,wt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},St=function(e,t,n){if(wt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},xt=[].push,Et=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=5==e||a;return function(s,l,c,u){for(var f,h,d=Qe(s),p=A(d),g=St(l,c,3),m=Ce(p.length),v=0,b=u||lt,y=t?b(s,m):n?b(s,0):void 0;m>v;v++)if((o||v in p)&&(f=p[v],h=g(f,v,d),e))if(t)y[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:xt.call(y,f)}else if(i)return!1;return a?-1:r||i?i:y}},_t={forEach:Et(0),map:Et(1),filter:Et(2),some:Et(3),every:Et(4),find:Et(5),findIndex:Et(6)},kt=Object.keys||function(e){return Le(e,Pe)},At=m?Object.defineProperties:function(e,t){W(e);for(var n,r=kt(t),i=r.length,a=0;i>a;)H.f(e,n=r[a++],t[n]);return e},Ct=xe("document","documentElement"),Tt=oe("IE_PROTO"),Rt=function(){},Nt=function(e){return"<script>"+e+"<\/script>"},Bt=function(e){e.write(Nt("")),e.close();var t=e.parentWindow.Object;return e=null,t},It=function(){var e,t=P("iframe");return t.style.display="none",Ct.appendChild(t),t.src=String("javascript:"),e=t.contentWindow.document,e.open(),e.write(Nt("document.F=Object")),e.close(),e.F},Ot=function(){try{yt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}Ot=yt?Bt(yt):It();for(var e=Pe.length;e--;)delete Ot.prototype[Pe[e]];return Ot()};se[Tt]=!0;var Lt=Object.create||function(e,t){var n;return null!==e?(Rt.prototype=W(e),n=new Rt,Rt.prototype=null,n[Tt]=e):n=Ot(),void 0===t?n:At(n,t)},Pt=ot("unscopables"),Ft=Array.prototype;void 0==Ft[Pt]&&H.f(Ft,Pt,{configurable:!0,value:Lt(null)});var Dt=_t.find,Mt=!0;"find"in[]&&Array(1).find(function(){Mt=!1}),Je({target:"Array",proto:!0,forced:Mt},{find:function(e){return Dt(this,e,arguments.length>1?arguments[1]:void 0)}}),function(e){Ft[Pt][e]=!0}("find");var jt=e.fn.bootstrapTable.utils;e.extend(e.fn.bootstrapTable.defaults,{stickyHeader:!1,stickyHeaderOffsetY:0,stickyHeaderOffsetLeft:0,stickyHeaderOffsetRight:0}),e.BootstrapTable=function(t){function r(){return n(this,r),c(this,o(r).apply(this,arguments))}return a(r,t),i(r,[{key:"initHeader",value:function(){for(var t,n=this,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];if((t=f(o(r.prototype),"initHeader",this)).call.apply(t,[this].concat(a)),this.options.stickyHeader){this.$tableBody.find(".sticky-header-container,.sticky_anchor_begin,.sticky_anchor_end").remove(),this.$el.before('<div class="sticky-header-container"></div>'),this.$el.before('<div class="sticky_anchor_begin"></div>'),this.$el.after('<div class="sticky_anchor_end"></div>'),this.$header.addClass("sticky-header"),this.$stickyContainer=this.$tableBody.find(".sticky-header-container"),this.$stickyBegin=this.$tableBody.find(".sticky_anchor_begin"),this.$stickyEnd=this.$tableBody.find(".sticky_anchor_end"),this.$stickyHeader=this.$header.clone(!0,!0);var l=jt.getEventName("resize.sticky-header-table",this.$el.attr("id")),c=jt.getEventName("scroll.sticky-header-table",this.$el.attr("id"));e(window).off(l).on(l,function(){return n.renderStickyHeader()}),e(window).off(c).on(c,function(){return n.renderStickyHeader()}),this.$tableBody.off("scroll").on("scroll",function(){return n.matchPositionX()})}}},{key:"onColumnSearch",value:function(e){var t=e.currentTarget,n=e.keyCode;f(o(r.prototype),"onColumnSearch",this).call(this,{currentTarget:t,keyCode:n}),this.renderStickyHeader()}},{key:"resetView",value:function(){for(var t,n=this,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];(t=f(o(r.prototype),"resetView",this)).call.apply(t,[this].concat(a)),e(".bootstrap-table.fullscreen").off("scroll").on("scroll",function(){return n.renderStickyHeader()})}},{key:"horizontalScroll",value:function(){var e=this;f(o(r.prototype),"horizontalScroll",this).call(this),this.$tableBody.on("scroll",function(){return e.matchPositionX()})}},{key:"renderStickyHeader",value:function(){var t=this,n=this;this.$stickyHeader=this.$header.clone(!0,!0),this.options.filterControl&&e(this.$stickyHeader).off("keyup change mouseup").on("keyup change mouse",function(t){var r=e(t.target),i=r.val(),a=r.parents("th").data("field"),o=n.$header.find('th[data-field="'+a+'"]');if(r.is("input"))o.find("input").val(i);else if(r.is("select")){var s=o.find("select");s.find("option[selected]").removeAttr("selected"),s.find('option[value="'+i+'"]').attr("selected",!0)}n.triggerSearch()});var r=e(window).scrollTop(),i=this.$stickyBegin.offset().top-this.options.stickyHeaderOffsetY,a=this.$stickyEnd.offset().top-this.options.stickyHeaderOffsetY-this.$header.height();if(r>i&&r<=a){this.$stickyHeader.find("tr:eq(0)").find("th").each(function(n,r){e(r).css("min-width",t.$header.find("tr:eq(0)").find("th").eq(n).css("width"))}),this.$stickyContainer.show().addClass("fix-sticky fixed-table-container");var o=this.options.stickyHeaderOffsetLeft,s=this.options.stickyHeaderOffsetRight;this.$el.closest(".bootstrap-table").hasClass("fullscreen")&&(o=0,s=0),this.$stickyContainer.css("top","".concat(this.options.stickyHeaderOffsetY)),this.$stickyContainer.css("left","".concat(o)),this.$stickyContainer.css("right","".concat(s)),this.$stickyTable=e("<table/>"),this.$stickyTable.addClass(this.options.classes),this.$stickyContainer.html(this.$stickyTable.append(this.$stickyHeader)),this.matchPositionX()}else this.$stickyContainer.removeClass("fix-sticky").hide()}},{key:"matchPositionX",value:function(){this.$stickyContainer.scrollLeft(this.$tableBody.scrollLeft())}}]),r}(e.BootstrapTable)}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self,t(e.jQuery))}(this,function(e){"use strict";function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e,t){return RegExp(e,t)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function f(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}function h(e,t,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=f(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function d(e,t){return m(e)||b(e,t)||w()}function p(e){return g(e)||v(e)||y()}function g(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function m(e){if(Array.isArray(e))return e}function v(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function b(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}function y(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},x=function(e){return e&&e.Math==Math&&e},E=x("object"==typeof globalThis&&globalThis)||x("object"==typeof window&&window)||x("object"==typeof self&&self)||x("object"==typeof S&&S)||Function("return this")(),_=function(e){try{return!!e()}catch(e){return!0}},k=!_(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),A={}.propertyIsEnumerable,C=Object.getOwnPropertyDescriptor,T=C&&!A.call({1:2},1),R=T?function(e){var t=C(this,e);return!!t&&t.enumerable}:A,N={f:R},B=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},I={}.toString,O=function(e){return I.call(e).slice(8,-1)},L="".split,P=_(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==O(e)?L.call(e,""):Object(e)}:Object,F=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},D=function(e){return P(F(e))},M=function(e){return"object"==typeof e?null!==e:"function"==typeof e},j=function(e,t){if(!M(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!M(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!M(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!M(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},W={}.hasOwnProperty,U=function(e,t){return W.call(e,t)},z=E.document,H=M(z)&&M(z.createElement),V=function(e){return H?z.createElement(e):{}},q=!k&&!_(function(){return 7!=Object.defineProperty(V("div"),"a",{get:function(){return 7}}).a}),G=Object.getOwnPropertyDescriptor,$=k?G:function(e,t){if(e=D(e),t=j(t,!0),q)try{return G(e,t)}catch(e){}if(U(e,t))return B(!N.f.call(e,t),e[t])},X={f:$},Y=function(e){if(!M(e))throw TypeError(String(e)+" is not an object");return e},K=Object.defineProperty,J=k?K:function(e,t,n){if(Y(e),t=j(t,!0),Y(n),q)try{return K(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e},Z={f:J},Q=k?function(e,t,n){return Z.f(e,t,B(1,n))}:function(e,t,n){return e[t]=n,e},ee=function(e,t){try{Q(E,e,t)}catch(n){E[e]=t}return t},te=E["__core-js_shared__"]||ee("__core-js_shared__",{}),ne=te,re=Function.toString;"function"!=typeof ne.inspectSource&&(ne.inspectSource=function(e){return re.call(e)});var ie,ae,oe,se=ne.inspectSource,le=E.WeakMap,ce="function"==typeof le&&/native code/.test(se(le)),ue=t(function(e){(e.exports=function(e,t){return ne[e]||(ne[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),fe=0,he=Math.random(),de=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++fe+he).toString(36)},pe=ue("keys"),ge=function(e){return pe[e]||(pe[e]=de(e))},me={},ve=E.WeakMap,be=function(e){return oe(e)?ae(e):ie(e,{})},ye=function(e){return function(t){var n;if(!M(t)||(n=ae(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(ce){var we=new ve,Se=we.get,xe=we.has,Ee=we.set;ie=function(e,t){return Ee.call(we,e,t),t},ae=function(e){return Se.call(we,e)||{}},oe=function(e){return xe.call(we,e)}}else{var _e=ge("state");me[_e]=!0,ie=function(e,t){return Q(e,_e,t),t},ae=function(e){return U(e,_e)?e[_e]:{}},oe=function(e){return U(e,_e)}}var ke,Ae={set:ie,get:ae,has:oe,enforce:be,getterFor:ye},Ce=t(function(e){var t=Ae.get,n=Ae.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var o=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;if("function"==typeof i&&("string"!=typeof t||U(i,"name")||Q(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e===E)return void(s?e[t]=i:ee(t,i));o?!l&&e[t]&&(s=!0):delete e[t],s?e[t]=i:Q(e,t,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||se(this)})}),Te=E,Re=function(e){return"function"==typeof e?e:void 0},Ne=function(e,t){return arguments.length<2?Re(Te[e])||Re(E[e]):Te[e]&&Te[e][t]||E[e]&&E[e][t]},Be=Math.ceil,Ie=Math.floor,Oe=function(e){return isNaN(e=+e)?0:(e>0?Ie:Be)(e)},Le=Math.min,Pe=function(e){return e>0?Le(Oe(e),9007199254740991):0},Fe=Math.max,De=Math.min,Me=function(e,t){var n=Oe(e);return n<0?Fe(n+t,0):De(n,t)},je=function(e){return function(t,n,r){var i,a=D(t),o=Pe(a.length),s=Me(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},We={includes:je(!0),indexOf:je(!1)},Ue=We.indexOf,ze=function(e,t){var n,r=D(e),i=0,a=[];for(n in r)!U(me,n)&&U(r,n)&&a.push(n);for(;t.length>i;)U(r,n=t[i++])&&(~Ue(a,n)||a.push(n));return a},He=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ve=He.concat("length","prototype"),qe=Object.getOwnPropertyNames||function(e){return ze(e,Ve)},Ge={f:qe},$e=Object.getOwnPropertySymbols,Xe={f:$e},Ye=Ne("Reflect","ownKeys")||function(e){var t=Ge.f(Y(e)),n=Xe.f;return n?t.concat(n(e)):t},Ke=function(e,t){for(var n=Ye(t),r=Z.f,i=X.f,a=0;a<n.length;a++){var o=n[a];U(e,o)||r(e,o,i(t,o))}},Je=/#|\.prototype\./,Ze=function(e,t){var n=et[Qe(e)];return n==nt||n!=tt&&("function"==typeof t?_(t):!!t)},Qe=Ze.normalize=function(e){return String(e).replace(Je,".").toLowerCase()},et=Ze.data={},tt=Ze.NATIVE="N",nt=Ze.POLYFILL="P",rt=Ze,it=X.f,at=function(e,t){var n,r,i,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?E:c?E[s]||ee(s,{}):(E[s]||{}).prototype)for(r in t){if(a=t[r],e.noTargetGet?(o=it(n,r),i=o&&o.value):i=n[r],!rt(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;Ke(a,i)}(e.sham||i&&i.sham)&&Q(a,"sham",!0),Ce(n,r,a,e)}},ot=!!Object.getOwnPropertySymbols&&!_(function(){return!String(Symbol())}),st=ot&&!Symbol.sham&&"symbol"==typeof Symbol(),lt=Array.isArray||function(e){return"Array"==O(e)},ct=function(e){return Object(F(e))},ut=Object.keys||function(e){return ze(e,He)},ft=k?Object.defineProperties:function(e,t){Y(e);for(var n,r=ut(t),i=r.length,a=0;i>a;)Z.f(e,n=r[a++],t[n]);return e},ht=Ne("document","documentElement"),dt=ge("IE_PROTO"),pt=function(){},gt=function(e){return"<script>"+e+"<\/script>"},mt=function(e){e.write(gt("")),e.close();var t=e.parentWindow.Object;return e=null,t},vt=function(){var e,t=V("iframe");return t.style.display="none",ht.appendChild(t),t.src=String("javascript:"),e=t.contentWindow.document,e.open(),e.write(gt("document.F=Object")),e.close(),e.F},bt=function(){try{ke=document.domain&&new ActiveXObject("htmlfile")}catch(e){}bt=ke?mt(ke):vt();for(var e=He.length;e--;)delete bt.prototype[He[e]];return bt()};me[dt]=!0;var yt=Object.create||function(e,t){var n;return null!==e?(pt.prototype=Y(e),n=new pt,pt.prototype=null,n[dt]=e):n=bt(),void 0===t?n:ft(n,t)},wt=Ge.f,St={}.toString,xt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Et=function(e){try{return wt(e)}catch(e){return xt.slice()}},_t=function(e){return xt&&"[object Window]"==St.call(e)?Et(e):wt(D(e))},kt={f:_t},At=ue("wks"),Ct=E.Symbol,Tt=st?Ct:de,Rt=function(e){return U(At,e)||(ot&&U(Ct,e)?At[e]=Ct[e]:At[e]=Tt("Symbol."+e)),At[e]},Nt=Rt,Bt={f:Nt},It=Z.f,Ot=function(e){var t=Te.Symbol||(Te.Symbol={});U(t,e)||It(t,e,{value:Bt.f(e)})},Lt=Z.f,Pt=Rt("toStringTag"),Ft=function(e,t,n){e&&!U(e=n?e:e.prototype,Pt)&&Lt(e,Pt,{configurable:!0,value:t})},Dt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Mt=function(e,t,n){if(Dt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},jt=Rt("species"),Wt=function(e,t){var n;return lt(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!lt(n.prototype)?M(n)&&null===(n=n[jt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Ut=[].push,zt=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,a=6==e,o=5==e||a;return function(s,l,c,u){for(var f,h,d=ct(s),p=P(d),g=Mt(l,c,3),m=Pe(p.length),v=0,b=u||Wt,y=t?b(s,m):n?b(s,0):void 0;m>v;v++)if((o||v in p)&&(f=p[v],h=g(f,v,d),e))if(t)y[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Ut.call(y,f)}else if(i)return!1
|
||
;return a?-1:r||i?i:y}},Ht={forEach:zt(0),map:zt(1),filter:zt(2),some:zt(3),every:zt(4),find:zt(5),findIndex:zt(6)},Vt=Ht.forEach,qt=ge("hidden"),Gt=Rt("toPrimitive"),$t=Ae.set,Xt=Ae.getterFor("Symbol"),Yt=Object.prototype,Kt=E.Symbol,Jt=Ne("JSON","stringify"),Zt=X.f,Qt=Z.f,en=kt.f,tn=N.f,nn=ue("symbols"),rn=ue("op-symbols"),an=ue("string-to-symbol-registry"),on=ue("symbol-to-string-registry"),sn=ue("wks"),ln=E.QObject,cn=!ln||!ln.prototype||!ln.prototype.findChild,un=k&&_(function(){return 7!=yt(Qt({},"a",{get:function(){return Qt(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Zt(Yt,t);r&&delete Yt[t],Qt(e,t,n),r&&e!==Yt&&Qt(Yt,t,r)}:Qt,fn=function(e,t){var n=nn[e]=yt(Kt.prototype);return $t(n,{type:"Symbol",tag:e,description:t}),k||(n.description=t),n},hn=ot&&"symbol"==typeof Kt.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Kt},dn=function(e,t,n){e===Yt&&dn(rn,t,n),Y(e);var r=j(t,!0);return Y(n),U(nn,r)?(n.enumerable?(U(e,qt)&&e[qt][r]&&(e[qt][r]=!1),n=yt(n,{enumerable:B(0,!1)})):(U(e,qt)||Qt(e,qt,B(1,{})),e[qt][r]=!0),un(e,r,n)):Qt(e,r,n)},pn=function(e,t){Y(e);var n=D(t),r=ut(n).concat(yn(n));return Vt(r,function(t){k&&!mn.call(n,t)||dn(e,t,n[t])}),e},gn=function(e,t){return void 0===t?yt(e):pn(yt(e),t)},mn=function(e){var t=j(e,!0),n=tn.call(this,t);return!(this===Yt&&U(nn,t)&&!U(rn,t))&&(!(n||!U(this,t)||!U(nn,t)||U(this,qt)&&this[qt][t])||n)},vn=function(e,t){var n=D(e),r=j(t,!0);if(n!==Yt||!U(nn,r)||U(rn,r)){var i=Zt(n,r);return!i||!U(nn,r)||U(n,qt)&&n[qt][r]||(i.enumerable=!0),i}},bn=function(e){var t=en(D(e)),n=[];return Vt(t,function(e){U(nn,e)||U(me,e)||n.push(e)}),n},yn=function(e){var t=e===Yt,n=en(t?rn:D(e)),r=[];return Vt(n,function(e){!U(nn,e)||t&&!U(Yt,e)||r.push(nn[e])}),r};if(ot||(Kt=function(){if(this instanceof Kt)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=de(e),n=function(e){this===Yt&&n.call(rn,e),U(this,qt)&&U(this[qt],t)&&(this[qt][t]=!1),un(this,t,B(1,e))};return k&&cn&&un(Yt,t,{configurable:!0,set:n}),fn(t,e)},Ce(Kt.prototype,"toString",function(){return Xt(this).tag}),N.f=mn,Z.f=dn,X.f=vn,Ge.f=kt.f=bn,Xe.f=yn,k&&(Qt(Kt.prototype,"description",{configurable:!0,get:function(){return Xt(this).description}}),Ce(Yt,"propertyIsEnumerable",mn,{unsafe:!0}))),st||(Bt.f=function(e){return fn(Rt(e),e)}),at({global:!0,wrap:!0,forced:!ot,sham:!ot},{Symbol:Kt}),Vt(ut(sn),function(e){Ot(e)}),at({target:"Symbol",stat:!0,forced:!ot},{for:function(e){var t=String(e);if(U(an,t))return an[t];var n=Kt(t);return an[t]=n,on[n]=t,n},keyFor:function(e){if(!hn(e))throw TypeError(e+" is not a symbol");if(U(on,e))return on[e]},useSetter:function(){cn=!0},useSimple:function(){cn=!1}}),at({target:"Object",stat:!0,forced:!ot,sham:!k},{create:gn,defineProperty:dn,defineProperties:pn,getOwnPropertyDescriptor:vn}),at({target:"Object",stat:!0,forced:!ot},{getOwnPropertyNames:bn,getOwnPropertySymbols:yn}),at({target:"Object",stat:!0,forced:_(function(){Xe.f(1)})},{getOwnPropertySymbols:function(e){return Xe.f(ct(e))}}),Jt){var wn=!ot||_(function(){var e=Kt();return"[null]"!=Jt([e])||"{}"!=Jt({a:e})||"{}"!=Jt(Object(e))});at({target:"JSON",stat:!0,forced:wn},{stringify:function(e,t,n){for(var r,i=[e],a=1;arguments.length>a;)i.push(arguments[a++]);if(r=t,(M(t)||void 0!==e)&&!hn(e))return lt(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!hn(t))return t}),i[1]=t,Jt.apply(null,i)}})}Kt.prototype[Gt]||Q(Kt.prototype,Gt,Kt.prototype.valueOf),Ft(Kt,"Symbol"),me[qt]=!0;var Sn=Z.f,xn=E.Symbol;if(k&&"function"==typeof xn&&(!("description"in xn.prototype)||void 0!==xn().description)){var En={},_n=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof _n?new xn(e):void 0===e?xn():xn(e);return""===e&&(En[t]=!0),t};Ke(_n,xn);var kn=_n.prototype=xn.prototype;kn.constructor=_n;var An=kn.toString,Cn="Symbol(test)"==String(xn("test")),Tn=/^Symbol\((.*)\)[^)]+$/;Sn(kn,"description",{configurable:!0,get:function(){var e=M(this)?this.valueOf():this,t=An.call(e);if(U(En,e))return"";var n=Cn?t.slice(7,-1):t.replace(Tn,"$1");return""===n?void 0:n}}),at({global:!0,forced:!0},{Symbol:_n})}Ot("iterator");var Rn,Nn,Bn=function(e,t,n){var r=j(t);r in e?Z.f(e,r,B(0,n)):e[r]=n},In=Ne("navigator","userAgent")||"",On=E.process,Ln=On&&On.versions,Pn=Ln&&Ln.v8;Pn?(Rn=Pn.split("."),Nn=Rn[0]+Rn[1]):In&&(!(Rn=In.match(/Edge\/(\d+)/))||Rn[1]>=74)&&(Rn=In.match(/Chrome\/(\d+)/))&&(Nn=Rn[1]);var Fn=Nn&&+Nn,Dn=Rt("species"),Mn=function(e){return Fn>=51||!_(function(){var t=[],n=t.constructor={};return n[Dn]=function(){return{foo:1}},1!==t[e](Boolean).foo})},jn=Rt("isConcatSpreadable"),Wn=Fn>=51||!_(function(){var e=[];return e[jn]=!1,e.concat()[0]!==e}),Un=Mn("concat"),zn=function(e){if(!M(e))return!1;var t=e[jn];return void 0!==t?!!t:lt(e)};at({target:"Array",proto:!0,forced:!Wn||!Un},{concat:function(e){var t,n,r,i,a,o=ct(this),s=Wt(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(a=-1===t?o:arguments[t],zn(a)){if(i=Pe(a.length),l+i>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,l++)n in a&&Bn(s,l,a[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Bn(s,l++,a)}return s.length=l,s}});var Hn=Ht.filter,Vn=Mn("filter"),qn=Vn&&!_(function(){[].filter.call({length:-1,0:1},function(e){throw e})});at({target:"Array",proto:!0,forced:!Vn||!qn},{filter:function(e){return Hn(this,e,arguments.length>1?arguments[1]:void 0)}});var Gn=Rt("unscopables"),$n=Array.prototype;void 0==$n[Gn]&&Z.f($n,Gn,{configurable:!0,value:yt(null)});var Xn=function(e){$n[Gn][e]=!0},Yn=Ht.find,Kn=!0;"find"in[]&&Array(1).find(function(){Kn=!1}),at({target:"Array",proto:!0,forced:Kn},{find:function(e){return Yn(this,e,arguments.length>1?arguments[1]:void 0)}}),Xn("find");var Jn=We.includes;at({target:"Array",proto:!0},{includes:function(e){return Jn(this,e,arguments.length>1?arguments[1]:void 0)}}),Xn("includes");var Zn=function(e,t){var n=[][e];return!n||!_(function(){n.call(null,t||function(){throw 1},1)})},Qn=We.indexOf,er=[].indexOf,tr=!!er&&1/[1].indexOf(1,-0)<0,nr=Zn("indexOf");at({target:"Array",proto:!0,forced:tr||nr},{indexOf:function(e){return tr?er.apply(this,arguments)||0:Qn(this,e,arguments.length>1?arguments[1]:void 0)}});var rr,ir,ar,or=!_(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),sr=ge("IE_PROTO"),lr=Object.prototype,cr=or?Object.getPrototypeOf:function(e){return e=ct(e),U(e,sr)?e[sr]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?lr:null},ur=Rt("iterator"),fr=!1,hr=function(){return this};[].keys&&(ar=[].keys(),"next"in ar?(ir=cr(cr(ar)))!==Object.prototype&&(rr=ir):fr=!0),void 0==rr&&(rr={}),U(rr,ur)||Q(rr,ur,hr);var dr={IteratorPrototype:rr,BUGGY_SAFARI_ITERATORS:fr},pr=dr.IteratorPrototype,gr=function(e,t,n){var r=t+" Iterator";return e.prototype=yt(pr,{next:B(1,n)}),Ft(e,r,!1),e},mr=function(e){if(!M(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},vr=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Y(n),mr(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),br=dr.IteratorPrototype,yr=dr.BUGGY_SAFARI_ITERATORS,wr=Rt("iterator"),Sr=function(){return this},xr=function(e,t,n,r,i,a,o){gr(n,t,r);var s,l,c,u=function(e){if(e===i&&g)return g;if(!yr&&e in d)return d[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[wr]||d["@@iterator"]||i&&d[i],g=!yr&&p||u(i),m="Array"==t?d.entries||p:p;if(m&&(s=cr(m.call(new e)),br!==Object.prototype&&s.next&&(cr(s)!==br&&(vr?vr(s,br):"function"!=typeof s[wr]&&Q(s,wr,Sr)),Ft(s,f,!0))),"values"==i&&p&&"values"!==p.name&&(h=!0,g=function(){return p.call(this)}),d[wr]!==g&&Q(d,wr,g),i)if(l={values:u("values"),keys:a?g:u("keys"),entries:u("entries")},o)for(c in l)!yr&&!h&&c in d||Ce(d,c,l[c]);else at({target:t,proto:!0,forced:yr||h},l);return l},Er=Ae.set,_r=Ae.getterFor("Array Iterator"),kr=xr(Array,"Array",function(e,t){Er(this,{type:"Array Iterator",target:D(e),index:0,kind:t})},function(){var e=_r(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Xn("keys"),Xn("values"),Xn("entries");var Ar=[].join,Cr=P!=Object,Tr=Zn("join",",");at({target:"Array",proto:!0,forced:Cr||Tr},{join:function(e){return Ar.call(D(this),void 0===e?",":e)}});var Rr=Object.assign,Nr=Object.defineProperty,Br=!Rr||_(function(){if(k&&1!==Rr({b:1},Rr(Nr({},"a",{enumerable:!0,get:function(){Nr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Rr({},e)[n]||ut(Rr({},t)).join("")!=r})?function(e,t){for(var n=ct(e),r=arguments.length,i=1,a=Xe.f,o=N.f;r>i;)for(var s,l=P(arguments[i++]),c=a?ut(l).concat(a(l)):ut(l),u=c.length,f=0;u>f;)s=c[f++],k&&!o.call(l,s)||(n[s]=l[s]);return n}:Rr;at({target:"Object",stat:!0,forced:Object.assign!==Br},{assign:Br});var Ir=N.f,Or=function(e){return function(t){for(var n,r=D(t),i=ut(r),a=i.length,o=0,s=[];a>o;)n=i[o++],k&&!Ir.call(r,n)||s.push(e?[n,r[n]]:r[n]);return s}},Lr={entries:Or(!0),values:Or(!1)},Pr=Lr.entries;at({target:"Object",stat:!0},{entries:function(e){return Pr(e)}});var Fr=Rt("toStringTag"),Dr={};Dr[Fr]="z";var Mr="[object z]"===String(Dr),jr=Rt("toStringTag"),Wr="Arguments"==O(function(){return arguments}()),Ur=function(e,t){try{return e[t]}catch(e){}},zr=Mr?O:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Ur(t=Object(e),jr))?n:Wr?O(t):"Object"==(r=O(t))&&"function"==typeof t.callee?"Arguments":r},Hr=Mr?{}.toString:function(){return"[object "+zr(this)+"]"};Mr||Ce(Object.prototype,"toString",Hr,{unsafe:!0});var Vr=function(){var e=Y(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},qr=_(function(){var e=n("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Gr=_(function(){var e=n("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),$r={UNSUPPORTED_Y:qr,BROKEN_CARET:Gr},Xr=RegExp.prototype.exec,Yr=String.prototype.replace,Kr=Xr,Jr=function(){var e=/a/,t=/b*/g;return Xr.call(e,"a"),Xr.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Zr=$r.UNSUPPORTED_Y||$r.BROKEN_CARET,Qr=void 0!==/()??/.exec("")[1];(Jr||Qr||Zr)&&(Kr=function(e){var t,n,r,i,a=this,o=Zr&&a.sticky,s=Vr.call(a),l=a.source,c=0,u=e;return o&&(s=s.replace("y",""),-1===s.indexOf("g")&&(s+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),Qr&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Jr&&(t=a.lastIndex),r=Xr.call(o?n:a,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:Jr&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),Qr&&r&&r.length>1&&Yr.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r});var ei=Kr;at({target:"RegExp",proto:!0,forced:/./.exec!==ei},{exec:ei});var ti=Rt("match"),ni=function(e){var t;return M(e)&&(void 0!==(t=e[ti])?!!t:"RegExp"==O(e))},ri=function(e){if(ni(e))throw TypeError("The method doesn't accept regular expressions");return e},ii=Rt("match");at({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[ii]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~String(F(this)).indexOf(ri(e),arguments.length>1?arguments[1]:void 0)}});var ai=function(e){return function(t,n){var r,i,a=String(F(t)),o=Oe(n),s=a.length;return o<0||o>=s?e?"":void 0:(r=a.charCodeAt(o),r<55296||r>56319||o+1===s||(i=a.charCodeAt(o+1))<56320||i>57343?e?a.charAt(o):r:e?a.slice(o,o+2):i-56320+(r-55296<<10)+65536)}},oi={codeAt:ai(!1),charAt:ai(!0)},si=oi.charAt,li=Ae.set,ci=Ae.getterFor("String Iterator");xr(String,"String",function(e){li(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=ci(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=si(n,r),t.index+=e.length,{value:e,done:!1})});var ui=Rt("species"),fi=!_(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),hi=function(){return"$0"==="a".replace(/./,"$0")}(),di=!_(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),pi=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},gi=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==O(e))throw TypeError("RegExp#exec called on incompatible receiver");return ei.call(e,t)};!function(e,t,n,r){var i=Rt(e),a=!_(function(){var t={};return t[i]=function(){return 7},7!=""[e](t)}),o=a&&!_(function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[ui]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t});if(!a||!o||"replace"===e&&(!fi||!hi)||"split"===e&&!di){var s=/./[i],l=n(i,""[e],function(e,t,n,r,i){return t.exec===ei?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:hi}),c=l[0],u=l[1];Ce(String.prototype,e,c),Ce(RegExp.prototype,i,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&Q(RegExp.prototype[i],"sham",!0)}("search",1,function(e,t,n){return[function(t){var n=F(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=Y(e),a=String(this),o=i.lastIndex;pi(o,0)||(i.lastIndex=0);var s=gi(i,a);return pi(i.lastIndex,o)||(i.lastIndex=o),null===s?-1:s.index}]});var mi="\t\n\v\f\r \u2028\u2029\ufeff",vi="["+mi+"]",bi=RegExp("^"+vi+vi+"*"),yi=RegExp(vi+vi+"*$"),wi=function(e){return function(t){var n=String(F(t));return 1&e&&(n=n.replace(bi,"")),2&e&&(n=n.replace(yi,"")),n}},Si={start:wi(1),end:wi(2),trim:wi(3)},xi="
",Ei=Si.trim;at({target:"String",proto:!0,forced:function(e){return _(function(){return!!mi[e]()||xi[e]()!=xi||mi[e].name!==e})}("trim")},{trim:function(){return Ei(this)}});var _i={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},ki=Rt("iterator"),Ai=Rt("toStringTag"),Ci=kr.values;for(var Ti in _i){var Ri=E[Ti],Ni=Ri&&Ri.prototype;if(Ni){if(Ni[ki]!==Ci)try{Q(Ni,ki,Ci)}catch(e){Ni[ki]=Ci}if(Ni[Ai]||Q(Ni,Ai,Ti),_i[Ti])for(var Bi in kr)if(Ni[Bi]!==kr[Bi])try{Q(Ni,Bi,kr[Bi])}catch(e){Ni[Bi]=kr[Bi]}}}var Ii=e.fn.bootstrapTable.utils,Oi={bootstrap3:{icons:{advancedSearchIcon:"glyphicon-chevron-down"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0px; padding-left: 0px;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap4:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap5:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bulma:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div class="modal" id="avdSearchModal_%s">\n <div class="modal-background"></div>\n <div class="modal-card">\n <header class="modal-card-head">\n <p class="modal-card-title">%s</p>\n <button class="delete" aria-label="close"></button>\n </header>\n <section class="modal-card-body" id="avdSearchModalContent_%s"></section>\n <footer class="modal-card-foot">\n <button class="button" id="btnCloseAvd_%s" data-close="btn btn-%s">%s</button>\n </footer>\n </div>\n </div>\n '}},foundation:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div class="reveal" id="avdSearchModal_%s" data-reveal>\n <h1>%s</h1>\n <div id="avdSearchModalContent_%s">\n\n </div>\n <button class="close-button" data-close aria-label="Close modal" type="button">\n <span aria-hidden="true">×</span>\n </button>\n\n <button id="btnCloseAvd_%s" class="%s" type="button">%s</button>\n </div>\n '}},materialize:{icons:{advancedSearchIcon:"expand_more"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal">\n <div class="modal-content">\n <h4>%s</h4>\n <div id="avdSearchModalContent_%s">\n\n </div>\n </div>\n <div class="modal-footer">\n <a href="javascript:void(0)"" id="btnCloseAvd_%s" class="modal-close waves-effect waves-green btn-flat %s">%s</a>\n </div>\n </div>\n '}},semantic:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div class="ui modal" id="avdSearchModal_%s">\n <i class="close icon"></i>\n <div class="header">\n %s\n </div>\n <div class="image content ui form" id="avdSearchModalContent_%s"></div>\n <div class="actions">\n <div id="btnCloseAvd_%s" class="ui black deny button %s">%s</div>\n </div>\n </div>\n '}}}[e.fn.bootstrapTable.theme];e.extend(e.fn.bootstrapTable.defaults,{advancedSearch:!1,idForm:"advancedSearch",actionForm:"",idTable:void 0,onColumnAdvancedSearch:function(e,t){return!1}}),e.extend(e.fn.bootstrapTable.defaults.icons,{advancedSearchIcon:Oi.icons.advancedSearchIcon}),e.extend(e.fn.bootstrapTable.Constructor.EVENTS,{"column-advanced-search.bs.table":"onColumnAdvancedSearch"}),e.extend(e.fn.bootstrapTable.locales,{formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}}),e.extend(e.fn.bootstrapTable.defaults,e.fn.bootstrapTable.locales),e.BootstrapTable=function(t){function n(){return r(this,n),u(this,s(n).apply(this,arguments))}return o(n,t),a(n,[{key:"initToolbar",value:function(){var e=this.options;this.showToolbar=this.showToolbar||e.search&&e.advancedSearch&&e.idTable,e.search&&e.advancedSearch&&e.idTable&&(this.buttons=Object.assign(this.buttons,{advancedSearch:{text:this.options.formatAdvancedSearch(),icon:this.options.icons.advancedSearchIcon,event:this.showAvdSearch,attributes:{"aria-label":this.options.formatAdvancedSearch(),title:this.options.formatAdvancedSearch()}}})),h(s(n.prototype),"initToolbar",this).call(this)}},{key:"showAvdSearch",value:function(){var t=this,n=this.options,r="#avdSearchModal_"+n.idTable;if(e(r).length<=0){e("body").append(Ii.sprintf(Oi.html.modal,n.idTable,n.formatAdvancedSearch(),n.idTable,n.idTable,n.buttonsClass,n.formatAdvancedCloseButton()));var i=0;e("#avdSearchModalContent_".concat(n.idTable)).append(this.createFormAvd().join("")),e("#".concat(n.idForm)).off("keyup blur","input").on("keyup blur","input",function(e){"server"===n.sidePagination?t.onColumnAdvancedSearch(e):(clearTimeout(i),i=setTimeout(function(){t.onColumnAdvancedSearch(e)},n.searchTimeOut))}),e("#btnCloseAvd_".concat(n.idTable)).click(function(){return t.hideModal()}),"bulma"===e.fn.bootstrapTable.theme&&e(r).find(".delete").off("click").on("click",function(){return t.hideModal()}),this.showModal()}else this.showModal()}},{key:"showModal",value:function(){var t="#avdSearchModal_"+this.options.idTable;-1!==e.inArray(e.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?e(t).modal():"bootstrap5"===e.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new bootstrap.Modal(document.getElementById("avdSearchModal_"+this.options.idTable),{})),this.toolbarModal.show()):"bulma"===e.fn.bootstrapTable.theme?e(t).toggleClass("is-active"):"foundation"===e.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new Foundation.Reveal(e(t))),this.toolbarModal.open()):"materialize"===e.fn.bootstrapTable.theme?(e(t).modal(),e(t).modal("open")):"semantic"===e.fn.bootstrapTable.theme&&e(t).modal("show")}},{key:"hideModal",value:function(){var t=e("#avdSearchModal_".concat(this.options.idTable)),n="#avdSearchModal_"+this.options.idTable;-1!==e.inArray(e.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?t.modal("hide"):"bootstrap5"===e.fn.bootstrapTable.theme?this.toolbarModal.hide():"bulma"===e.fn.bootstrapTable.theme?(e("html").toggleClass("is-clipped"),e(n).toggleClass("is-active")):"foundation"===e.fn.bootstrapTable.theme?this.toolbarModal.close():"materialize"===e.fn.bootstrapTable.theme?e(n).modal("open"):"semantic"===e.fn.bootstrapTable.theme&&e(n).modal("close"),"server"===this.options.sidePagination&&(this.options.pageNumber=1,this.updatePagination(),this.trigger("column-advanced-search",this.filterColumnsPartial))}},{key:"createFormAvd",value:function(){var e=this.options,t=['<form class="form-horizontal" id="'.concat(e.idForm,'" action="').concat(e.actionForm,'">')],n=!0,r=!1,i=void 0;try{for(var a,o=this.columns[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;!s.checkbox&&s.visible&&s.searchable&&t.push('\n <div class="form-group row">\n <label class="col-sm-4 control-label">'.concat(s.title,'</label>\n <div class="col-sm-6">\n <input type="text" class="form-control ').concat(this.constants.classes.input,'" name="').concat(s.field,'" placeholder="').concat(s.title,'" id="').concat(s.field,'">\n </div>\n </div>\n '))}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return t.push("</form>"),t}},{key:"initSearch",value:function(){var t=this;if(h(s(n.prototype),"initSearch",this).call(this),this.options.advancedSearch&&"server"!==this.options.sidePagination){var r=e.isEmptyObject(this.filterColumnsPartial)?null:this.filterColumnsPartial;this.data=r?this.data.filter(function(e,n){for(var i=0,a=Object.entries(r);i<a.length;i++){var o=d(a[i],2),s=o[0],l=o[1],c=l.toLowerCase(),u=e[s],f=t.header.fields.indexOf(s);if(u=Ii.calculateObjectValue(t.header,t.header.formatters[f],[u,e,n],u),-1===f||"string"!=typeof u&&"number"!=typeof u||!"".concat(u).toLowerCase().includes(c))return!1}return!0}):this.data,this.unsortedData=p(this.data)}}},{key:"onColumnAdvancedSearch",value:function(t){var n=e.trim(e(t.currentTarget).val()),r=e(t.currentTarget)[0].id;e.isEmptyObject(this.filterColumnsPartial)&&(this.filterColumnsPartial={}),n?this.filterColumnsPartial[r]=n:delete this.filterColumnsPartial[r],"server"!==this.options.sidePagination&&(this.options.pageNumber=1,this.onSearch(t),this.updatePagination(),this.trigger("column-advanced-search",r,n))}}]),n}(e.BootstrapTable)});
|