@progress/kendo-vue-excel-export 3.7.1 → 3.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoVueExcelExport=t(require("vue"),require("@progress/kendo-licensing")):e.KendoVueExcelExport=t(e.Vue,e.KendoLicensing)}(self,(function(e,t){return(()=>{"use strict";var r={946:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},424:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},545:(e,t,r)=>{var n=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]},i=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.saveExcel=void 0;var o,a=(o=r(551))&&o.__esModule?o:{default:o};t.saveExcel=a.default,i(r(424),t),i(r(946),t),i(r(628),t),i(r(364),t)},613:(e,t)=>{var r=function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ExporterColumn=t.toExporterColumns=void 0;var n=function(e,t,n){return function(i){n(t,i);var o=e(r({},t)),a=Number(o);return isNaN(a)?o:a}},i=function(e,t){e.$implicit=e.group=t,e.field=t.field,e.value=t.value,e.aggregates=t.aggregates},o=function(e,t){e.group=t.group,e.$implicit=e.aggregates=t},a=function(e,t){};t.toExporterColumns=function(e){var t=[],r=0;return function e(t,n,i){t.forEach((function(t){var o=new s(t,r);if(n.push(o),t.children&&t.children.length>1){var a=o.columns=[];e(t.children,a,i+1)}else r++}))}(e,t,0),t};var s=function(e,t){this.title=e.title,this.field=e.field,this.hidden=e.hidden,this.locked=e.locked,this.width=e.width,this.headerCellOptions=e.headerCellOptions,this.cellOptions=e.cellOptions,this.groupHeaderCellOptions=e.groupHeaderCellOptions,this.groupFooterCellOptions=e.groupFooterCellOptions,this.footerCellOptions=e.footerCellOptions,e.footer&&(this.footerTemplate=n(e.footer,{$implicit:e,column:e,columnIndex:t},a)),e.groupFooter&&(this.groupFooterTemplate=n(e.groupFooter,{column:e,field:e.field},o)),e.groupHeader&&(this.groupHeaderTemplate=n(e.groupHeader,{},i))};t.ExporterColumn=s},628:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isWorkbookOptions=t.toDataURL=t.workbookOptions=void 0;var n=r(364),i=r(613);t.workbookOptions=function(e){var t,r=(0,i.toExporterColumns)(e.columns),o=new n.ExcelExporter({columns:r,data:e.data,filterable:e.filterable,groups:e.group,paddingCellOptions:e.paddingCellOptions,headerPaddingCellOptions:e.headerPaddingCellOptions,hierarchy:e.hierarchy?{depth:(t=e.data,Math.max.apply(Math,t.map((function(e){return e.level})))+1),itemLevel:function(e){return e.level}}:null,collapsible:e.collapsible}).workbook();return o.creator=e.creator,o.date=e.date,o.rtl="rtl"===e.dir,o},t.toDataURL=function(e){return new n.Workbook(e).toDataURL()},t.isWorkbookOptions=function(e){return e&&e.sheets}},169:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-vue-excel-export",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1666778017,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},551:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(628),i=r(202),o=r(680),a=r(169);t.default=function(e){(0,o.validatePackage)(a.packageMetadata);var t=(0,n.workbookOptions)(e);(0,n.toDataURL)(t).then((function(t){e.onExportComplete&&e.onExportComplete.call(void 0,{dataURL:t,options:e}),(0,i.saveAs)(t,e.fileName,{forceProxy:e.forceProxy,proxyURL:e.proxyURL})}))}},202:(e,t,r)=>{function n(e,t,r){void 0===r&&(r={});var n=l;if(r.forceProxy&&!r.proxyURL)throw new Error("No proxyURL is set, but forceProxy is true");r.forceProxy||(o()&&(n=s),navigator.msSaveBlob&&(n=a)),n(e,t,r)}r.r(t),r.d(t,{encodeBase64:()=>h,saveAs:()=>n});var i=function(){return document.createElement("a")},o=function(){return"download"in i()};function a(e,t){var r=e;if("string"==typeof e){for(var n=e.split(";base64,"),i=n[0],o=atob(n[1]),a=new Uint8Array(o.length),s=0;s<o.length;s++)a[s]=o.charCodeAt(s);r=new Blob([a.buffer],{type:i})}navigator.msSaveBlob(r,t)}function s(e,t){var r=e;window.Blob&&e instanceof Blob&&(r=URL.createObjectURL(e));var n=i();n.download=t,n.href=r;var o=document.createEvent("MouseEvents");o.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),n.dispatchEvent(o),setTimeout((function(){return URL.revokeObjectURL(r)}))}function l(e,t,r){if(r.proxyURL){var n=document.createElement("form");n.setAttribute("action",r.proxyURL),n.setAttribute("method","POST"),n.setAttribute("target",r.proxyTarget||"_self");var i=r.proxyData||{};i.fileName=t;var o=e.split(";base64,");for(var a in i.contentType=o[0].replace("data:",""),i.base64=o[1],i)if(i.hasOwnProperty(a)){var s=document.createElement("input");s.setAttribute("type","hidden"),s.setAttribute("name",a),s.setAttribute("value",i[a]),n.appendChild(s)}document.body.appendChild(n),n.submit(),document.body.removeChild(n)}}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=String.fromCharCode;function h(e){for(var t,r,n,i,o,a,s,l=function(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=c(n):n<2048?(t+=c(192|n>>>6),t+=c(128|63&n)):n<65536&&(t+=c(224|n>>>12),t+=c(128|n>>>6&63),t+=c(128|63&n))}return t}(e),h="",d=0;d<l.length;)i=(t=l.charCodeAt(d++))>>2,o=(3&t)<<4|(r=l.charCodeAt(d++))>>4,a=(15&r)<<2|(n=l.charCodeAt(d++))>>6,s=63&n,isNaN(r)?a=s=64:isNaN(n)&&(s=64),h=h+u.charAt(i)+u.charAt(o)+u.charAt(a)+u.charAt(s);return h}},364:(e,t,r)=>{r.r(t),r.d(t,{ExcelExporter:()=>p,IntlService:()=>v,TemplateService:()=>o,Workbook:()=>Zr,Worksheet:()=>Hr});var n={compile:function(e){return e}},i=function(){};i.register=function(e){n=e},i.compile=function(e){return n.compile(e)};const o=i;var a=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,s={};function l(e){if(s[e])return s[e];var t=[];return e.replace(a,(function(e,r,n,i){t.push(void 0!==r?r:n||i)})),s[e]=function(e){for(var r=e,n=0;n<t.length&&r;n++)r=r[t[n]];return r},s[e]}function u(e,t){return e.reduce((function(e,r,n){var i=t(r,n);return null!=i&&e.push(i),e}),[])}function c(e){return e.title+": "+e.value}function h(e,t){for(var r=[],n=0;n<e;n++)r.push(t(n));return r}function d(e){return e.id}s[void 0]=function(e){return e};var f=function(e){e.columns=this._trimColumns(e.columns||[]),this.allColumns=u(this._leafColumns(e.columns||[]),this._prepareColumn),this.columns=this._visibleColumns(this.allColumns),this.options=e,this.data=e.data||[],this.aggregates=e.aggregates||{},this.groups=[].concat(e.groups||[]),this.hasGroups=this.groups.length>0,this.hierarchy=e.hierarchy,this.hasGroupHeaderColumn=this.columns.some((function(e){return e.groupHeaderColumnTemplate})),this.collapsible=this.options.collapsible};f.prototype.workbook=function(){return{sheets:[{columns:this._columns(),rows:this.hierarchy?this._hierarchyRows():this._rows(),freezePane:this._freezePane(),filter:this._filter()}]}},f.prototype._trimColumns=function(e){var t=this;return e.filter((function(e){var r=Boolean(e.field);return!r&&e.columns&&(r=t._trimColumns(e.columns).length>0),r}))},f.prototype._leafColumns=function(e){for(var t=[],r=0;r<e.length;r++)e[r].columns?t=t.concat(this._leafColumns(e[r].columns)):t.push(e[r]);return t},f.prototype._prepareColumn=function(e){if(!e.field)return null;var t=function(t){return l(e.field)(t)},r=null;return e.values&&(r={},e.values.forEach((function(e){r[e.value]=e.text})),t=function(t){return r[l(e.field)(t)]}),Object.assign({},e,{value:t,values:r,groupHeaderTemplate:e.groupHeaderTemplate?o.compile(e.groupHeaderTemplate):c,groupHeaderColumnTemplate:e.groupHeaderColumnTemplate?o.compile(e.groupHeaderColumnTemplate):null,groupFooterTemplate:e.groupFooterTemplate?o.compile(e.groupFooterTemplate):null,footerTemplate:e.footerTemplate?o.compile(e.footerTemplate):null})},f.prototype._filter=function(){if(!this.options.filterable)return null;var e=this._depth();return{from:e,to:e+this.columns.length-1}},f.prototype._createPaddingCells=function(e){var t=this;return h(e,(function(){return Object.assign({background:"#dfdfdf",color:"#333"},t.options.paddingCellOptions)}))},f.prototype._dataRow=function(e,t,r){var n=this._createPaddingCells(t);if(this.hasGroups&&r&&e.items){n=n.concat(this._groupHeaderCells(e,t,r));var i=this._dataRows(e.items,t+1);return i.unshift({type:"group-header",cells:n,level:this.collapsible?t:null}),i.concat(this._footer(e,t))}for(var o=[],a=0;a<this.columns.length;a++)o[a]=this._cell(e,this.columns[a]);return this.hierarchy&&(o[0].colSpan=r-t+1),[{type:"data",cells:n.concat(o),level:this.collapsible?t:null}]},f.prototype._groupHeaderCells=function(e,t,r){var n=[],i=this.allColumns.filter((function(t){return t.field===e.field}))[0]||{},o=i&&i.title?i.title:e.field,a=i?i.groupHeaderTemplate||i.groupHeaderColumnTemplate:null,s=Object.assign({title:o,field:e.field,value:i&&i.values?i.values[e.value]:e.value,aggregates:e.aggregates,items:e.items},e.aggregates[e.field]),l=a?a(s):o+": "+e.value;return n.push(Object.assign({value:l,background:"#dfdfdf",color:"#333",colSpan:(this.hasGroupHeaderColumn?1:this.columns.length)+r-t},i.groupHeaderCellOptions)),this.hasGroupHeaderColumn&&this.columns.forEach((function(t,r){r>0&&n.push(Object.assign({background:"#dfdfdf",color:"#333",value:t.groupHeaderColumnTemplate?t.groupHeaderColumnTemplate(Object.assign({group:s},s,e.aggregates[t.field])):void 0},t.groupHeaderCellOptions))})),n},f.prototype._dataRows=function(e,t){for(var r=this._depth(),n=[],i=0;i<e.length;i++)n.push.apply(n,this._dataRow(e[i],t,r));return n},f.prototype._hierarchyRows=function(){var e,t=this._depth(),r=this.data,n=this.hierarchy.itemLevel,i=this.hierarchy.itemId||d,o=this._hasFooterTemplate(),a=[],s=[],l=0;o||(this.collapsible=!1);for(var u=0;u<r.length;u++){var c=r[u],h=n(c,u);o&&(h>l?s.push({id:e,level:l}):h<l&&a.push.apply(a,this._hierarchyFooterRows(s,h,t)),l=h,e=i(c,u)),a.push.apply(a,this._dataRow(c,h+1,t))}if(o){a.push.apply(a,this._hierarchyFooterRows(s,0,t));var f=r.length?this.aggregates[r[0].parentId]:{};a.push(this._hierarchyFooter(f,0,t))}return this._prependHeaderRows(a),a},f.prototype._hierarchyFooterRows=function(e,t,r){for(var n=[];e.length&&e[e.length-1].level>=t;){var i=e.pop();n.push(this._hierarchyFooter(this.aggregates[i.id],i.level+1,r))}return n},f.prototype._hasFooterTemplate=function(){for(var e=this.columns,t=0;t<e.length;t++)if(e[t].footerTemplate)return!0},f.prototype._hierarchyFooter=function(e,t,r){var n=this.columns.map((function(n,i){var o=i?1:r-t+1;if(n.footerTemplate){var a=(e||{})[n.field];return Object.assign({background:"#dfdfdf",color:"#333",colSpan:o,value:n.footerTemplate(Object.assign({aggregates:e},a))},n.footerCellOptions)}return Object.assign({background:"#dfdfdf",color:"#333",colSpan:o},n.footerCellOptions)}));return{type:"footer",cells:this._createPaddingCells(t).concat(n),level:this.collapsible?t:null}},f.prototype._footer=function(e,t){var r,n,i=[],o=this.columns.some((function(e){return e.groupFooterTemplate}));o&&(n={group:{items:e.items,field:e.field,value:e.value}},r={},Object.keys(e.aggregates).forEach((function(t){r[t]=Object.assign({},e.aggregates[t],n)})));var a=this.columns.map((function(t){if(t.groupFooterTemplate){var i=Object.assign({},r,e.aggregates[t.field],n);return Object.assign({background:"#dfdfdf",color:"#333",value:t.groupFooterTemplate(i)},t.groupFooterCellOptions)}return Object.assign({background:"#dfdfdf",color:"#333"},t.groupFooterCellOptions)}));return o&&i.push({type:"group-footer",cells:this._createPaddingCells(this.groups.length).concat(a),level:this.collapsible?t:null}),i},f.prototype._isColumnVisible=function(e){return this._visibleColumns([e]).length>0&&(e.field||e.columns)},f.prototype._visibleColumns=function(e){var t=this;return e.filter((function(e){var r=e.exportable;"object"==typeof r&&(r=e.exportable.excel);var n=!e.hidden&&!1!==r,i=e.hidden&&!0===r,o=n||i;return o&&e.columns&&(o=t._visibleColumns(e.columns).length>0),o}))},f.prototype._headerRow=function(e,t){var r=this,n=e.cells.map((function(t){return Object.assign(t,{colSpan:t.colSpan>1?t.colSpan:1,rowSpan:e.rowSpan>1&&!t.colSpan?e.rowSpan:1})}));return this.hierarchy&&n[0].firstCell&&(n[0].colSpan+=this._depth()),{type:"header",cells:h(t.length,(function(){return Object.assign({background:"#7a7a7a",color:"#fff"},r.options.headerPaddingCellOptions)})).concat(n)}},f.prototype._prependHeaderRows=function(e){var t=this.groups,r=[{rowSpan:1,cells:[],index:0}];this._prepareHeaderRows(r,this.options.columns);for(var n=r.length-1;n>=0;n--)e.unshift(this._headerRow(r[n],t))},f.prototype._prepareHeaderRows=function(e,t,r,n){for(var i=this,o=n||e[e.length-1],a=e[o.index+1],s=0,l=0;l<t.length;l++){var u=t[l];if(i._isColumnVisible(u)){var c=Object.assign({background:"#7a7a7a",color:"#fff",value:u.title||u.field,colSpan:0,firstCell:0===l&&(!r||r.firstCell)},u.headerCellOptions);o.cells.push(c),u.columns&&u.columns.length&&(a||(a={rowSpan:0,cells:[],index:e.length},e.push(a)),c.colSpan=i._trimColumns(i._visibleColumns(u.columns)).length,i._prepareHeaderRows(e,u.columns,c,a),s+=c.colSpan-1,o.rowSpan=e.length-o.index)}}r&&(r.colSpan+=s)},f.prototype._rows=function(){var e=this,t=this._dataRows(this.data,0);if(this.columns.length){this._prependHeaderRows(t);var r=!1,n=this.columns.map((function(t){return t.footerTemplate?(r=!0,Object.assign({background:"#dfdfdf",color:"#333",value:t.footerTemplate(Object.assign({},e.aggregates,e.aggregates[t.field]))},t.footerCellOptions)):Object.assign({background:"#dfdfdf",color:"#333"},t.footerCellOptions)}));r&&t.push({type:"footer",cells:this._createPaddingCells(this.groups.length).concat(n)})}return t},f.prototype._headerDepth=function(e){for(var t=0,r=0;r<e.length;r++)if(e[r].columns){var n=this._headerDepth(e[r].columns);n>t&&(t=n)}return 1+t},f.prototype._freezePane=function(){var e=this._visibleColumns(this.options.columns||[]),t=this._visibleColumns(this._trimColumns(this._leafColumns(e.filter((function(e){return e.locked}))))).length;return{rowSplit:this._headerDepth(e),colSplit:t?t+this.groups.length:0}},f.prototype._cell=function(e,t){return Object.assign({value:t.value(e)},t.cellOptions)},f.prototype._depth=function(){return this.hierarchy?this.hierarchy.depth:this.groups.length},f.prototype._columns=function(){return h(this._depth(),(function(){return{width:20}})).concat(this.columns.map((function(e){return{width:parseInt(e.width,10),autoWidth:!e.width}})))};const p=f;var m={toString:function(e){return e}},g=function(){};g.register=function(e){m=e},g.toString=function(e,t){return m.toString(e,t)};const v=g;var _=-2;function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function b(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)y(r,n)&&(e[n]=r[n])}}return e}function w(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}var x={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){var t,r,n,i,o,a;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(a=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)o=e[t],a.set(o,i),i+=o.length;return a},Buf8:function(e){return new Uint8Array(e)},Buf16:function(e){return new Uint16Array(e)},Buf32:function(e){return new Int32Array(e)}},k={arraySet:function(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)},Buf8:function(e){return new Array(e)},Buf16:function(e){return new Array(e)},Buf32:function(e){return new Array(e)}},C=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;return C=function(){return e},e},O=function(e,t,r,n,i){return(O=C()?x.arraySet:k.arraySet)(e,t,r,n,i)},S=function(e){return(S=C()?x.flattenChunks:k.flattenChunks)(e)},z=function(e){return(z=C()?x.Buf8:k.Buf8)(e)},P=function(e){return(P=C()?x.Buf16:k.Buf16)(e)},I=function(e){return(I=C()?x.Buf32:k.Buf32)(e)},A=function(){var e=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}return A=function(){return e},e},D=function(){var e=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){e=!1}return D=function(){return e},e},T=function(e){for(var t=z(256),r=0;r<256;r++)t[r]=r>=252?6:r>=248?5:r>=240?4:r>=224?3:r>=192?2:1;return t[254]=t[254]=1,T=function(e){return t[e]},t[e]};function F(e){var t,r,n,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t}function j(e,t){if(t<65534&&(e.subarray&&D()||!e.subarray&&A()))return String.fromCharCode.apply(null,w(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}function E(e,t){var r,n,i,o,a=t||e.length,s=new Array(2*a);for(n=0,r=0;r<a;)if((i=e[r++])<128)s[n++]=i;else if((o=T(i))>4)s[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r<a;)i=i<<6|63&e[r++],o--;o>1?s[n++]=65533:i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return j(s,n)}function R(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+T(e[r])>t?r:t}function M(e,t,r,n){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}var L=function(){var e=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();return L=function(){return e},e};function B(e,t,r,n){var i=L(),o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}function U(e,t){var r,n,i,o,a,s,l,u,c,h,d,f,p,m,g,v,_,y,b,w,x,k,C,O,S;r=e.state,n=e.next_in,O=e.input,i=n+(e.avail_in-5),o=e.next_out,S=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,h=r.wnext,d=r.window,f=r.hold,p=r.bits,m=r.lencode,g=r.distcode,v=(1<<r.lenbits)-1,_=(1<<r.distbits)-1;e:do{p<15&&(f+=O[n++]<<p,p+=8,f+=O[n++]<<p,p+=8),y=m[f&v];t:for(;;){if(f>>>=b=y>>>24,p-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(f&(1<<b)-1)];continue t}if(32&b){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=65535&y,(b&=15)&&(p<b&&(f+=O[n++]<<p,p+=8),w+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=O[n++]<<p,p+=8,f+=O[n++]<<p,p+=8),y=g[f&_];r:for(;;){if(f>>>=b=y>>>24,p-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(f&(1<<b)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(x=65535&y,p<(b&=15)&&(f+=O[n++]<<p,(p+=8)<b&&(f+=O[n++]<<p,p+=8)),(x+=f&(1<<b)-1)>l){e.msg="invalid distance too far back",r.mode=30;break e}if(f>>>=b,p-=b,x>(b=o-a)){if((b=x-b)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(k=0,C=d,0===h){if(k+=u-b,b<w){w-=b;do{S[o++]=d[k++]}while(--b);k=o-x,C=S}}else if(h<b){if(k+=u+h-b,(b-=h)<w){w-=b;do{S[o++]=d[k++]}while(--b);if(k=0,h<w){w-=b=h;do{S[o++]=d[k++]}while(--b);k=o-x,C=S}}}else if(k+=h-b,b<w){w-=b;do{S[o++]=d[k++]}while(--b);k=o-x,C=S}for(;w>2;)S[o++]=C[k++],S[o++]=C[k++],S[o++]=C[k++],w-=3;w&&(S[o++]=C[k++],w>1&&(S[o++]=C[k++]))}else{k=o-x;do{S[o++]=S[k++],S[o++]=S[k++],S[o++]=S[k++],w-=3}while(w>2);w&&(S[o++]=S[k++],w>1&&(S[o++]=S[k++]))}break}}break}}while(n<i&&o<s);n-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=o<s?s-o+257:257-(o-s),r.hold=f,r.bits=p}var N=[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],W=[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],H=[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],V=[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];function q(e,t,r,n,i,o,a,s){var l,u,c,h,d,f,p,m,g,v=s.bits,_=0,y=0,b=0,w=0,x=0,k=0,C=0,O=0,S=0,z=0,I=null,A=0,D=P(16),T=P(16),F=null,j=0;for(_=0;_<=15;_++)D[_]=0;for(y=0;y<n;y++)D[t[r+y]]++;for(x=v,w=15;w>=1&&0===D[w];w--);if(x>w&&(x=w),0===w)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(b=1;b<w&&0===D[b];b++);for(x<b&&(x=b),O=1,_=1;_<=15;_++)if(O<<=1,(O-=D[_])<0)return-1;if(O>0&&(0===e||1!==w))return-1;for(T[1]=0,_=1;_<15;_++)T[_+1]=T[_]+D[_];for(y=0;y<n;y++)0!==t[r+y]&&(a[T[t[r+y]]++]=y);if(0===e?(I=F=a,f=19):1===e?(I=N,A-=257,F=W,j-=257,f=256):(I=H,F=V,f=-1),z=0,y=0,_=b,d=o,k=x,C=0,c=-1,h=(S=1<<x)-1,1===e&&S>852||2===e&&S>592)return 1;for(;;){p=_-C,a[y]<f?(m=0,g=a[y]):a[y]>f?(m=F[j+a[y]],g=I[A+a[y]]):(m=96,g=0),l=1<<_-C,b=u=1<<k;do{i[d+(z>>C)+(u-=l)]=p<<24|m<<16|g|0}while(0!==u);for(l=1<<_-1;z&l;)l>>=1;if(0!==l?(z&=l-1,z+=l):z=0,y++,0==--D[_]){if(_===w)break;_=t[r+a[y]]}if(_>x&&(z&h)!==c){for(0===C&&(C=x),d+=b,O=1<<(k=_-C);k+C<w&&!((O-=D[k+C])<=0);)k++,O<<=1;if(S+=1<<k,1===e&&S>852||2===e&&S>592)return 1;i[c=z&h]=x<<24|k<<16|d-o|0}}return 0!==z&&(i[d+z]=_-C<<24|64<<16|0),s.bits=x,0}var K=-2,X=12,$=30;function Z(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function G(){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=P(320),this.work=P(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Y(e,t){var r,n;return e?(n=new G,e.state=n,n.window=null,r=function(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?K:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,function(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(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=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=I(852),t.distcode=t.distdyn=I(592),t.sane=1,t.back=-1,0):K}(e)):K}(e))):K}(e,t),0!==r&&(e.state=null),r):K}var J,Q,ee=!0;function te(e){if(ee){var t;for(J=I(512),Q=I(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(q(1,e.lens,0,288,J,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;q(2,e.lens,0,32,Q,0,e.work,{bits:5}),ee=!1}e.lencode=J,e.lenbits=9,e.distcode=Q,e.distbits=5}function re(e,t,r,n){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=z(o.wsize)),n>=o.wsize?(O(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>n&&(i=n),O(o.window,t,r-n,i,o.wnext),(n-=i)?(O(o.window,t,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}function ne(e,t){var r,n,i,o,a,s,l,u,c,h,d,f,p,m,g,v,_,y,b,w,x,k,C,S,P=0,I=z(4),A=[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 K;(r=e.state).mode===X&&(r.mode=13),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,n=e.input,s=e.avail_in,u=r.hold,c=r.bits,h=s,d=l,k=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(2&r.wrap&&35615===u){r.check=0,I[0]=255&u,I[1]=u>>>8&255,r.check=B(r.check,I,2,0),u=0,c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=$;break}if(8!=(15&u)){e.msg="unknown compression method",r.mode=$;break}if(c-=4,x=8+(15&(u>>>=4)),0===r.wbits)r.wbits=x;else if(x>r.wbits){e.msg="invalid window size",r.mode=$;break}r.dmax=1<<x,e.adler=r.check=1,r.mode=512&u?10:X,u=0,c=0;break;case 2:for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(r.flags=u,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=$;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=$;break}r.head&&(r.head.text=u>>8&1),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,r.check=B(r.check,I,2,0)),u=0,c=0,r.mode=3;case 3:for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.head&&(r.head.time=u),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,I[2]=u>>>16&255,I[3]=u>>>24&255,r.check=B(r.check,I,4,0)),u=0,c=0,r.mode=4;case 4:for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.head&&(r.head.xflags=255&u,r.head.os=u>>8),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,r.check=B(r.check,I,2,0)),u=0,c=0,r.mode=5;case 5:if(1024&r.flags){for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.length=u,r.head&&(r.head.extra_len=u),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,r.check=B(r.check,I,2,0)),u=0,c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((f=r.length)>s&&(f=s),f&&(r.head&&(x=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),O(r.head.extra,n,o,f,x)),512&r.flags&&(r.check=B(r.check,n,f,o)),s-=f,o+=f,r.length-=f),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break e;f=0;do{x=n[o+f++],r.head&&x&&r.length<65536&&(r.head.name+=String.fromCharCode(x))}while(x&&f<s);if(512&r.flags&&(r.check=B(r.check,n,f,o)),s-=f,o+=f,x)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===s)break e;f=0;do{x=n[o+f++],r.head&&x&&r.length<65536&&(r.head.comment+=String.fromCharCode(x))}while(x&&f<s);if(512&r.flags&&(r.check=B(r.check,n,f,o)),s-=f,o+=f,x)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(u!==(65535&r.check)){e.msg="header crc mismatch",r.mode=$;break}u=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=X;break;case 10:for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}e.adler=r.check=Z(u),u=0,c=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,r.hold=u,r.bits=c,2;e.adler=r.check=1,r.mode=X;case X:if(5===t||6===t)break e;case 13:if(r.last){u>>>=7&c,c-=7&c,r.mode=27;break}for(;c<3;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}switch(r.last=1&u,c-=1,3&(u>>>=1)){case 0:r.mode=14;break;case 1:if(te(r),r.mode=20,6===t){u>>>=2,c-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=$}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",r.mode=$;break}if(r.length=65535&u,u=0,c=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(f=r.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break e;O(i,n,o,f,a),s-=f,o+=f,l-=f,a+=f,r.length-=f;break}r.mode=X;break;case 17:for(;c<14;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(r.nlen=257+(31&u),u>>>=5,c-=5,r.ndist=1+(31&u),u>>>=5,c-=5,r.ncode=4+(15&u),u>>>=4,c-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=$;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;c<3;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.lens[A[r.have++]]=7&u,u>>>=3,c-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},k=q(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,k){e.msg="invalid code lengths set",r.mode=$;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;v=(P=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,_=65535&P,!((g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(_<16)u>>>=g,c-=g,r.lens[r.have++]=_;else{if(16===_){for(S=g+2;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(u>>>=g,c-=g,0===r.have){e.msg="invalid bit length repeat",r.mode=$;break}x=r.lens[r.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===_){for(S=g+3;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}c-=g,x=0,f=3+(7&(u>>>=g)),u>>>=3,c-=3}else{for(S=g+7;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}c-=g,x=0,f=11+(127&(u>>>=g)),u>>>=7,c-=7}if(r.have+f>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=$;break}for(;f--;)r.lens[r.have++]=x}}if(r.mode===$)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=$;break}if(r.lenbits=9,C={bits:r.lenbits},k=q(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,k){e.msg="invalid literal/lengths set",r.mode=$;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},k=q(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,k){e.msg="invalid distances set",r.mode=$;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,r.hold=u,r.bits=c,U(e,d),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,n=e.input,s=e.avail_in,u=r.hold,c=r.bits,r.mode===X&&(r.back=-1);break}for(r.back=0;v=(P=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,_=65535&P,!((g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(v&&0==(240&v)){for(y=g,b=v,w=_;v=(P=r.lencode[w+((u&(1<<y+b)-1)>>y)])>>>16&255,_=65535&P,!(y+(g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=y,c-=y,r.back+=y}if(u>>>=g,c-=g,r.back+=g,r.length=_,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=X;break}if(64&v){e.msg="invalid literal/length code",r.mode=$;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(S=r.extra;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(P=r.distcode[u&(1<<r.distbits)-1])>>>16&255,_=65535&P,!((g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(0==(240&v)){for(y=g,b=v,w=_;v=(P=r.distcode[w+((u&(1<<y+b)-1)>>y)])>>>16&255,_=65535&P,!(y+(g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=y,c-=y,r.back+=y}if(u>>>=g,c-=g,r.back+=g,64&v){e.msg="invalid distance code",r.mode=$;break}r.offset=_,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(S=r.extra;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=$;break}r.mode=25;case 25:if(0===l)break e;if(f=d-l,r.offset>f){if((f=r.offset-f)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=$;break}f>r.wnext?(f-=r.wnext,p=r.wsize-f):p=r.wnext-f,f>r.length&&(f=r.length),m=r.window}else m=i,p=a-r.offset,f=r.length;f>l&&(f=l),l-=f,r.length-=f;do{i[a++]=m[p++]}while(--f);0===r.length&&(r.mode=21);break;case 26:if(0===l)break e;i[a++]=r.length,l--,r.mode=21;break;case 27:if(r.wrap){for(;c<32;){if(0===s)break e;s--,u|=n[o++]<<c,c+=8}if(d-=l,e.total_out+=d,r.total+=d,d&&(e.adler=r.check=r.flags?B(r.check,i,d,a-d):M(r.check,i,d,a-d)),d=l,(r.flags?u:Z(u))!==r.check){e.msg="incorrect data check",r.mode=$;break}u=0,c=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(u!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=$;break}u=0,c=0}r.mode=29;case 29:k=1;break e;case $:k=-3;break e;case 31:return-4;default:return K}return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,r.hold=u,r.bits=c,(r.wsize||d!==e.avail_out&&r.mode<$&&(r.mode<27||4!==t))&&re(e,e.output,e.next_out,d-e.avail_out),h-=e.avail_in,d-=e.avail_out,e.total_in+=h,e.total_out+=d,r.total+=d,r.wrap&&d&&(e.adler=r.check=r.flags?B(r.check,i,d,e.next_out-d):M(r.check,i,d,e.next_out-d)),e.data_type=r.bits+(r.last?64:0)+(r.mode===X?128:0)+(20===r.mode||15===r.mode?256:0),(0===h&&0===d||4===t)&&0===k&&(k=-5),k}function ie(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?K:11===r.mode&&M(1,t,n,0)!==r.check?-3:re(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):K}var oe={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"};function ae(){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}function se(){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}var le=Object.prototype.toString,ue=function e(t){if(!(this instanceof e))return new e(t);this.options=b({chunkSize:16384,windowBits:0,to:""},t||{});var r=this.options;r.raw&&r.windowBits>=0&&r.windowBits<16&&(r.windowBits=-r.windowBits,0===r.windowBits&&(r.windowBits=-15)),!(r.windowBits>=0&&r.windowBits<16)||t&&t.windowBits||(r.windowBits+=32),r.windowBits>15&&r.windowBits<48&&0==(15&r.windowBits)&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ae,this.strm.avail_out=0;var n,i,o,a=Y(this.strm,r.windowBits);if(0!==a)throw new Error(oe[a]);if(this.header=new se,n=this.strm,i=this.header,n&&n.state&&(0==(2&(o=n.state).wrap)||(o.head=i,i.done=!1)),r.dictionary&&("string"==typeof r.dictionary?r.dictionary=F(r.dictionary):"[object ArrayBuffer]"===le.call(r.dictionary)&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&0!==(a=ie(this.strm,r.dictionary))))throw new Error(oe[a])};function ce(e){for(var t=e.length;--t>=0;)e[t]=0}ue.prototype.push=function(e,t){var r,n,i,o,a,s,l=this.strm,u=this.options.chunkSize,c=this.options.dictionary,h=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?l.input=function(e){for(var t=new Uint8Array(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t}(e):"[object ArrayBuffer]"===le.call(e)?l.input=new Uint8Array(e):l.input=e,l.next_in=0,l.avail_in=l.input.length;do{if(0===l.avail_out&&(l.output=z(u),l.next_out=0,l.avail_out=u),2===(r=ne(l,0))&&c&&(s="string"==typeof c?F(c):"[object ArrayBuffer]"===le.call(c)?new Uint8Array(c):c,r=ie(this.strm,s)),-5===r&&!0===h&&(r=0,h=!1),1!==r&&0!==r)return this.onEnd(r),this.ended=!0,!1;l.next_out&&(0!==l.avail_out&&1!==r&&(0!==l.avail_in||4!==n&&2!==n)||("string"===this.options.to?(i=R(l.output,l.next_out),o=l.next_out-i,a=E(l.output,i),l.next_out=o,l.avail_out=u-o,o&&O(l.output,l.output,i,o,0),this.onData(a)):this.onData(w(l.output,l.next_out)))),0===l.avail_in&&0===l.avail_out&&(h=!0)}while((l.avail_in>0||0===l.avail_out)&&1!==r);return 1===r&&(n=4),4===n?(r=function(e){if(!e||!e.state)return K;var t=e.state;return t.window&&(t.window=null),e.state=null,0}(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),l.avail_out=0,!0)},ue.prototype.onData=function(e){this.chunks.push(e)},ue.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=S(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var he,de,fe,pe,me,ge,ve,_e,ye,be=[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],we=[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],xe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ke=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function Ce(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function Oe(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Se(e){return e<256?fe[e]:fe[256+(e>>>7)]}function ze(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Pe(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,ze(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Ie(e,t,r){Pe(e,r[2*t],r[2*t+1])}function Ae(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function De(e,t,r){var n,i,o=new Array(16),a=0;for(n=1;n<=15;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Ae(o[s]++,s))}}function Te(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Fe(e){e.bi_valid>8?ze(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 je(e,t,r,n){var i=2*t,o=2*r;return e[i]<e[o]||e[i]===e[o]&&n[t]<=n[r]}function Ee(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&je(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!je(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function Re(e,t,r){var n,i,o,a,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?Ie(e,i,t):(Ie(e,(o=pe[i])+256+1,t),0!==(a=be[o])&&Pe(e,i-=me[o],a),Ie(e,o=Se(--n),r),0!==(a=we[o])&&Pe(e,n-=ge[o],a))}while(s<e.last_lit);Ie(e,256,t)}function Me(e,t){var r,n,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<l;r++)0!==o[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):o[2*r+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;r>=1;r--)Ee(e,o,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ee(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,Ee(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,a,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(o=l[2*l[2*(n=e.heap[r])+1]+1]+1)>p&&(o=p,m++),l[2*n+1]=o,n>u||(e.bl_count[o]++,a=0,n>=f&&(a=d[n-f]),s=l[2*n],e.opt_len+=s*(o+a),h&&(e.static_len+=s*(c[2*n+1]+a)));if(0!==m){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--)for(n=e.bl_count[o];0!==n;)(i=e.heap[--r])>u||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),n--)}}(e,t),De(o,u,e.bl_count)}function Le(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=t[2*(n+1)+1],++s<l&&i===a||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4))}function Be(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),n=0;n<=r;n++)if(i=a,a=t[2*(n+1)+1],!(++s<l&&i===a)){if(s<u)do{Ie(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(Ie(e,i,e.bl_tree),s--),Ie(e,16,e.bl_tree),Pe(e,s-3,2)):s<=10?(Ie(e,17,e.bl_tree),Pe(e,s-3,3)):(Ie(e,18,e.bl_tree),Pe(e,s-11,7));s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4)}}var Ue=!1;function Ne(e,t,r,n){Pe(e,0+(n?1:0),3),function(e,t,r,n){Fe(e),ze(e,r),ze(e,~r),O(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r)}function We(e,t,r){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&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(pe[r]+256+1)]++,e.dyn_dtree[2*Se(t)]++),e.last_lit===e.lit_bufsize-1}var He=258,Ve=262,qe=103,Ke=113,Xe=666;function $e(e,t){return e.msg=oe[t],t}function Ze(e){return(e<<1)-(e>4?9:0)}function Ge(e){for(var t=e.length;--t>=0;)e[t]=0}function Ye(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(O(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function Je(e,t){(function(e,t,r,n){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),Me(e,e.l_desc),Me(e,e.d_desc),a=function(e){var t;for(Le(e,e.dyn_ltree,e.l_desc.max_code),Le(e,e.dyn_dtree,e.d_desc.max_code),Me(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*ke[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?Ne(e,t,r,n):4===e.strategy||o===i?(Pe(e,2+(n?1:0),3),Re(e,he,de)):(Pe(e,4+(n?1:0),3),function(e,t,r,n){var i;for(Pe(e,t-257,5),Pe(e,r-1,5),Pe(e,n-4,4),i=0;i<n;i++)Pe(e,e.bl_tree[2*ke[i]+1],3);Be(e,e.dyn_ltree,t-1),Be(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Re(e,e.dyn_ltree,e.dyn_dtree)),Te(e),n&&Fe(e)})(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ye(e.strm)}function Qe(e,t){e.pending_buf[e.pending++]=t}function et(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function tt(e,t){var r,n,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-Ve?e.strstart-(e.w_size-Ve):0,u=e.window,c=e.w_mask,h=e.prev,d=e.strstart+He,f=u[o+a-1],p=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(r=t)+a]===p&&u[r+a-1]===f&&u[r]===u[o]&&u[++r]===u[o+1]){o+=2,r++;do{}while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<d);if(n=He-(d-o),o=d-He,n>a){if(e.match_start=t,a=n,n>=s)break;f=u[o+a-1],p=u[o+a]}}}while((t=h[t&c])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function rt(e){var t,r,n,i,o,a,s,l,u,c,h=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-Ve)){O(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=h?n-h:0}while(--r);t=r=h;do{n=e.prev[--t],e.prev[t]=n>=h?n-h:0}while(--r);i+=h}if(0===e.strm.avail_in)break;if(a=e.strm,s=e.window,l=e.strstart+e.lookahead,u=i,c=void 0,(c=a.avail_in)>u&&(c=u),r=0===c?0:(a.avail_in-=c,O(s,a.input,a.next_in,c,l),1===a.state.wrap?a.adler=M(a.adler,s,c,l):2===a.state.wrap&&(a.adler=B(a.adler,s,c,l)),a.next_in+=c,a.total_in+=c,c),e.lookahead+=r,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+3-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<Ve&&0!==e.strm.avail_in)}function nt(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(rt(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,Je(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-Ve&&(Je(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Je(e,!1),e.strm.avail_out),1)}function it(e,t){for(var r,n;;){if(e.lookahead<Ve){if(rt(e),e.lookahead<Ve&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-Ve&&(e.match_length=tt(e,r)),e.match_length>=3)if(n=We(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=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 n=We(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(Je(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Je(e,!1),0===e.strm.avail_out)?1:2}function ot(e,t){for(var r,n,i;;){if(e.lookahead<Ve){if(rt(e),e.lookahead<Ve&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=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=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-Ve&&(e.match_length=tt(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=We(e,e.strstart-1-e.prev_match,e.prev_length-3),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+3-1])&e.hash_mask,r=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=2,e.strstart++,n&&(Je(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=We(e,0,e.window[e.strstart-1]))&&Je(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=We(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Je(e,!1),0===e.strm.avail_out)?1:2}function at(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}var st=function(){var e=[new at(0,0,0,0,nt),new at(4,4,8,4,it),new at(4,5,16,8,it),new at(4,6,32,32,it),new at(4,4,16,16,ot),new at(8,16,32,32,ot),new at(8,16,128,128,ot),new at(8,32,128,256,ot),new at(32,128,258,1024,ot),new at(32,258,258,4096,ot)];return st=function(){return e},e};function lt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=P(1146),this.dyn_dtree=P(122),this.bl_tree=P(78),Ge(this.dyn_ltree),Ge(this.dyn_dtree),Ge(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=P(16),this.heap=P(573),Ge(this.heap),this.heap_len=0,this.heap_max=0,this.depth=P(573),Ge(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 ut(e){var t=function(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:Ke,e.adler=2===t.wrap?0:1,t.last_flush=0,function(e){Ue||(function(){var e,t,r,n,i,o=new Array(16);for(ce(he=new Array(576)),ce(de=new Array(60)),ce(fe=new Array(512)),ce(pe=new Array(256)),ce(me=new Array(29)),ce(ge=new Array(30)),r=0,n=0;n<28;n++)for(me[n]=r,e=0;e<1<<be[n];e++)pe[r++]=n;for(pe[r-1]=n,i=0,n=0;n<16;n++)for(ge[n]=i,e=0;e<1<<we[n];e++)fe[i++]=n;for(i>>=7;n<30;n++)for(ge[n]=i<<7,e=0;e<1<<we[n]-7;e++)fe[256+i++]=n;for(t=0;t<=15;t++)o[t]=0;for(e=0;e<=143;)he[2*e+1]=8,e++,o[8]++;for(;e<=255;)he[2*e+1]=9,e++,o[9]++;for(;e<=279;)he[2*e+1]=7,e++,o[7]++;for(;e<=287;)he[2*e+1]=8,e++,o[8]++;for(De(he,287,o),e=0;e<30;e++)de[2*e+1]=5,de[2*e]=Ae(e,5);ve=new Ce(he,be,257,286,15),_e=new Ce(de,we,0,30,15),ye=new Ce(new Array(0),xe,0,19,7)}(),Ue=!0),e.l_desc=new Oe(e.dyn_ltree,ve),e.d_desc=new Oe(e.dyn_dtree,_e),e.bl_desc=new Oe(e.bl_tree,ye),e.bi_buf=0,e.bi_valid=0,Te(e)}(t),0):$e(e,_)}(e);return 0===t&&function(e){e.window_size=2*e.w_size,Ge(e.head);var t=st();e.max_lazy_match=t[e.level].max_lazy,e.good_match=t[e.level].good_length,e.nice_match=t[e.level].nice_length,e.max_chain_length=t[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0}(e.state),t}function ct(e,t){var r,n,i,o;if(!e||!e.state||t>5||t<0)return e?$e(e,_):_;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||n.status===Xe&&4!==t)return $e(e,0===e.avail_out?-5:_);if(n.strm=e,r=n.last_flush,n.last_flush=t,42===n.status)if(2===n.wrap)e.adler=0,Qe(n,31),Qe(n,139),Qe(n,8),n.gzhead?(Qe(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Qe(n,255&n.gzhead.time),Qe(n,n.gzhead.time>>8&255),Qe(n,n.gzhead.time>>16&255),Qe(n,n.gzhead.time>>24&255),Qe(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Qe(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Qe(n,255&n.gzhead.extra.length),Qe(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=B(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(Qe(n,0),Qe(n,0),Qe(n,0),Qe(n,0),Qe(n,0),Qe(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Qe(n,3),n.status=Ke);else{var a=8+(n.w_bits-8<<4)<<8;a|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(a|=32),a+=31-a%31,n.status=Ke,et(n,a),0!==n.strstart&&(et(n,e.adler>>>16),et(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),Ye(e),i=n.pending,n.pending!==n.pending_buf_size));)Qe(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),Ye(e),i=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,Qe(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),Ye(e),i=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,Qe(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),0===o&&(n.status=qe)}else n.status=qe;if(n.status===qe&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ye(e),n.pending+2<=n.pending_buf_size&&(Qe(n,255&e.adler),Qe(n,e.adler>>8&255),e.adler=0,n.status=Ke)):n.status=Ke),0!==n.pending){if(Ye(e),0===e.avail_out)return n.last_flush=-1,0}else if(0===e.avail_in&&Ze(t)<=Ze(r)&&4!==t)return $e(e,-5);if(n.status===Xe&&0!==e.avail_in)return $e(e,-5);if(0!==e.avail_in||0!==n.lookahead||0!==t&&n.status!==Xe){var s=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(rt(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=We(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Je(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Je(e,!1),0===e.strm.avail_out)?1:2}(n,t):3===n.strategy?function(e,t){for(var r,n,i,o,a=e.window;;){if(e.lookahead<=He){if(rt(e),e.lookahead<=He&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=a[i=e.strstart-1])===a[++i]&&n===a[++i]&&n===a[++i]){o=e.strstart+He;do{}while(n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&i<o);e.match_length=He-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=We(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=We(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Je(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Je(e,!1),0===e.strm.avail_out)?1:2}(n,t):st()[n.level].func(n,t);if(3!==s&&4!==s||(n.status=Xe),1===s||3===s)return 0===e.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===t?function(e){Pe(e,2,3),Ie(e,256,he),function(e){16===e.bi_valid?(ze(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)}(e)}(n):5!==t&&(Ne(n,0,0,!1),3===t&&(Ge(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),Ye(e),0===e.avail_out))return n.last_flush=-1,0}return 4!==t?0:n.wrap<=0?1:(2===n.wrap?(Qe(n,255&e.adler),Qe(n,e.adler>>8&255),Qe(n,e.adler>>16&255),Qe(n,e.adler>>24&255),Qe(n,255&e.total_in),Qe(n,e.total_in>>8&255),Qe(n,e.total_in>>16&255),Qe(n,e.total_in>>24&255)):(et(n,e.adler>>>16),et(n,65535&e.adler)),Ye(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)}var ht=Object.prototype.toString,dt=function(e){this.options=b({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 ae,this.strm.avail_out=0;var r,n,i=function(e,t,r,n,i,o){if(!e)return _;var a=1;if(-1===t&&(t=6),n<0?(a=0,n=-n):n>15&&(a=2,n-=16),i<1||i>9||8!==r||n<8||n>15||t<0||t>9||o<0||o>4)return $e(e,_);8===n&&(n=9);var s=new lt;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=z(2*s.w_size),s.head=P(s.hash_size),s.prev=P(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=z(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=r,ut(e)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==i)throw new Error(oe[i]);if(t.header&&(r=this.strm,n=t.header,r&&r.state&&(2!==r.state.wrap||(r.state.gzhead=n))),t.dictionary){var o;if(o="string"==typeof t.dictionary?F(t.dictionary):"[object ArrayBuffer]"===ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,i=function(e,t){var r,n,i,o,a,s,l,u,c=t.length;if(!e||!e.state)return _;if(2===(o=(r=e.state).wrap)||1===o&&42!==r.status||r.lookahead)return _;for(1===o&&(e.adler=M(e.adler,t,c,0)),r.wrap=0,c>=r.w_size&&(0===o&&(Ge(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=z(r.w_size),O(u,t,c-r.w_size,r.w_size,0),t=u,c=r.w_size),a=e.avail_in,s=e.next_in,l=e.input,e.avail_in=c,e.next_in=0,e.input=t,rt(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--i);r.strstart=n,r.lookahead=2,rt(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=l,e.avail_in=a,r.wrap=o,0}(this.strm,o),0!==i)throw new Error(oe[i]);this._dict_set=!0}};dt.prototype.push=function(e,t){var r,n,i,o=this.strm,a=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?o.input=F(e):"[object ArrayBuffer]"===ht.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=z(a),o.next_out=0,o.avail_out=a),1!==(r=ct(o,n))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(j(i=w(o.output,o.next_out),i.length)):this.onData(w(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&1!==r);return 4===n?(r=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==qe&&t!==Ke&&t!==Xe?$e(e,_):(e.state=null,t===Ke?$e(e,-3):0):_}(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),o.avail_out=0,!0)},dt.prototype.onData=function(e){this.chunks.push(e)},dt.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=S(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var ft={Promise},pt={base64:!0,array:!0,string:!0,nodebuffer:!1,nodestream:!1,get arraybuffer(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},get uint8array(){return"undefined"!=typeof Uint8Array},get blob(){return mt()}},mt=function(){var e;if("undefined"==typeof ArrayBuffer)e=!1;else{var t=new ArrayBuffer(0);try{e=0===new Blob([t],{type:"application/zip"}).size}catch(t){e=!1}}return mt=function(){return e},e},gt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function vt(e){return e}function _t(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}function yt(e,t,r){var n=[],i=0,o=e.length;if(o<=r)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,o)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")}var bt=function(){var e;try{e=pt.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){e=!1}return bt=function(){return e},e};function wt(e){var t=65536,r=St(e),n=!0;if("uint8array"===r&&(n=bt()),n)for(;t>1;)try{return yt(e,r,t)}catch(e){t=Math.floor(t/2)}return function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}(e)}var xt=wt;function kt(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}var Ct={string:{string:vt,array:function(e){return _t(e,new Array(e.length))},arraybuffer:function(e){return Ct.string.uint8array(e).buffer},uint8array:function(e){return _t(e,new Uint8Array(e.length))}},array:{string:wt,array:vt,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)}},arraybuffer:{string:function(e){return wt(new Uint8Array(e))},array:function(e){return kt(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:vt,uint8array:function(e){return new Uint8Array(e)}},uint8array:{string:wt,array:function(e){return kt(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:vt}},Ot=function(e,t){if(t||(t=""),!e)return t;zt(e);var r=St(t);return Ct[r][e](t)},St=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":pt.uint8array&&e instanceof Uint8Array?"uint8array":pt.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},zt=function(e){if(!pt[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},Pt=65535,It=-1,At=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},Dt=function(e,t,r){setTimeout((function(){e.apply(r||null,t||[])}),0)},Tt=function(){var e,t,r=arguments,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.hasOwnProperty.call(r[e],t)&&void 0===n[t]&&(n[t]=r[e][t]);return n},Ft=function(e,t,r,n,i){return ft.Promise.resolve(t).then((function(e){return pt.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new ft.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(t){var o,a=St(t);return a?("arraybuffer"===a?t=Ot("uint8array",t):"string"===a&&(i?t=function(e){var t,r,n,i,o,a,s=0,l=0,u="data:";if(e.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");var c,h=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===gt.charAt(64)&&h--,e.charAt(e.length-2)===gt.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=pt.uint8array?new Uint8Array(0|h):new Array(0|h);s<e.length;)t=gt.indexOf(e.charAt(s++))<<2|(i=gt.indexOf(e.charAt(s++)))>>4,r=(15&i)<<4|(o=gt.indexOf(e.charAt(s++)))>>2,n=(3&o)<<6|(a=gt.indexOf(e.charAt(s++))),c[l++]=t,64!==o&&(c[l++]=r),64!==a&&(c[l++]=n);return c}(t):r&&!0!==n&&(t=_t(o=t,pt.uint8array?new Uint8Array(o.length):new Array(o.length)))),t):ft.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))},jt=function(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null};jt.prototype.push=function(e){this.emit("data",e)},jt.prototype.end=function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},jt.prototype.error=function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},jt.prototype.on=function(e,t){return this._listeners[e].push(t),this},jt.prototype.cleanUp=function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},jt.prototype.emit=function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},jt.prototype.pipe=function(e){return e.registerPrevious(this)},jt.prototype.registerPrevious=function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},jt.prototype.pause=function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},jt.prototype.resume=function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},jt.prototype.flush=function(){},jt.prototype.processChunk=function(e){this.push(e)},jt.prototype.withStreamInfo=function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},jt.prototype.mergeStreamInfo=function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},jt.prototype.lock=function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},jt.prototype.toString=function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e};var Et=function(e){for(var t=new Array(256),r=0;r<256;r++)t[r]=r>=252?6:r>=248?5:r>=240?4:r>=224?3:r>=192?2:1;return t[254]=t[254]=1,Et=function(e){return t[e]},t[e]},Rt=function(e){return function(e){var t,r,n,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=pt.uint8array?new Uint8Array(s):new Array(s),o=0,i=0;o<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t}(e)},Mt=function(e){return function(e){var t,r,n,i,o=e.length,a=new Array(2*o);for(r=0,t=0;t<o;)if((n=e[t++])<128)a[r++]=n;else if((i=Et(n))>4)a[r++]=65533,t+=i-1;else{for(n&=2===i?31:3===i?15:7;i>1&&t<o;)n=n<<6|63&e[t++],i--;i>1?a[r++]=65533:n<65536?a[r++]=n:(n-=65536,a[r++]=55296|n>>10&1023,a[r++]=56320|1023&n)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),xt(a)}(e=Ot(pt.uint8array?"uint8array":"array",e))},Lt=function(e){function t(){e.call(this,"utf-8 decode"),this.leftOver=null}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){var t=Ot(pt.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(pt.uint8array){var r=t;(t=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),t.set(r,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var n=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+Et(e[r])>t?r:t}(t),i=t;n!==t.length&&(pt.uint8array?(i=t.subarray(0,n),this.leftOver=t.subarray(n,t.length)):(i=t.slice(0,n),this.leftOver=t.slice(n,t.length))),this.push({data:Mt(i),meta:e.meta})},t.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Mt(this.leftOver),meta:{}}),this.leftOver=null)},t}(jt),Bt=function(e){function t(){e.call(this,"utf-8 encode")}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.push({data:Rt(e.data),meta:e.meta})},t}(jt),Ut=function(e){function t(t){e.call(this,"ConvertWorker to "+t),this.destType=t}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.push({data:Ot(this.destType,e.data),meta:e.meta})},t}(jt);function Nt(e,t){return new ft.Promise((function(r,n){var i=[],o=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",(function(e,r){i.push(e),t&&t(r)})).on("error",(function(e){i=[],n(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return function(e,t){return zt("blob"),new Blob([e],{type:t})}(Ot("arraybuffer",t),r);case"base64":return function(e){for(var t,r,n,i,o,a,s,l=[],u=0,c=e.length,h=c,d="string"!=typeof e;u<e.length;)h=c-u,d?(t=e[u++],r=u<c?e[u++]:0,n=u<c?e[u++]:0):(t=e.charCodeAt(u++),r=u<c?e.charCodeAt(u++):0,n=u<c?e.charCodeAt(u++):0),i=t>>2,o=(3&t)<<4|r>>4,a=h>1?(15&r)<<2|n>>6:64,s=h>2?63&n:64,l.push(gt.charAt(i)+gt.charAt(o)+gt.charAt(a)+gt.charAt(s));return l.join("")}(t);default:return Ot(e,t)}}(a,function(e,t){var r,n=0,i=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(o),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;default:throw new Error("concat : unsupported type '"+e+"'")}}(o,i),s);r(e)}catch(e){n(e)}i=[]})).resume()}))}var Wt=function(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,zt(n),this._worker=e.pipe(new Ut(n)),e.lock()}catch(e){this._worker=new jt("error"),this._worker.error(e)}};Wt.prototype.accumulate=function(e){return Nt(this,e)},Wt.prototype.on=function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){Dt(t,arguments,r)})),this},Wt.prototype.resume=function(){return Dt(this._worker.resume,[],this._worker),this},Wt.prototype.pause=function(){return this._worker.pause(),this};var Ht=Object.freeze({__proto__:null,base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null}),Vt=function(e){function t(t){e.call(this,"DataWorker");var r=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(e){r.dataIsReady=!0,r.data=e,r.max=e&&e.length||0,r.type=St(e),r.isPaused||r._tickAndRepeat()}),(function(e){r.error(e)}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this.data=null},t.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Dt(this._tickAndRepeat,[],this)),!0)},t.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Dt(this._tickAndRepeat,[],this),this._tickScheduled=!0))},t.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t}(jt),qt=function(e){function t(t){e.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(t){if(t){var r=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=r+t.data.length}e.prototype.processChunk.call(this,t)},t}(jt),Kt=function(){for(var e=[],t=0;t<256;t++){for(var r=t,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;e[t]=r}return Kt=function(){return e},e};function Xt(e,t){return void 0!==e&&e.length?"string"!==St(e)?function(e,t,r,n){var i=Kt(),o=0+r;e^=-1;for(var a=0;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length):function(e,t,r,n){var i=Kt(),o=0+r;e^=-1;for(var a=0;a<o;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length):0}var $t=function(e){function t(){e.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.streamInfo.crc32=Xt(e.data,this.streamInfo.crc32||0),this.push(e)},t}(jt),Zt=function(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i};Zt.prototype.getContentWorker=function(){var e=new Vt(ft.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new qt("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},Zt.prototype.getCompressedWorker=function(){return new Vt(ft.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)},Zt.createWorkerFrom=function(e,t,r){return e.pipe(new $t).pipe(new qt("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new qt("compressedSize")).withStreamInfo("compression",t)};var Gt=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};Gt.prototype.internalStream=function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new Bt)),!i&&n&&(t=t.pipe(new Lt))}catch(e){(t=new jt("error")).error(e)}return new Wt(t,r,"")},Gt.prototype.async=function(e,t){return this.internalStream(e).accumulate(t)},Gt.prototype._compressWorker=function(e,t){if(this._data instanceof Zt&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new Bt)),Zt.createWorkerFrom(r,e,t)},Gt.prototype._decompressWorker=function(){return this._data instanceof Zt?this._data.getContentWorker():this._data instanceof jt?this._data:new Vt(this._data)};var Yt=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array?"uint8array":"array";Yt=function(){return e}},Jt=function(e){function t(t,r){e.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=r,this.meta={}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(Ot(Yt(),e.data),!1)},t.prototype.flush=function(){e.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},t.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this._pako=null},t.prototype._createPako=function(){var e=this,t={raw:!0,level:this._pakoOptions.level||-1};this._pako="Deflate"===this._pakoAction?new dt(t):new ue(t),this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},t}(jt),Qt={STORE:{magic:"\0\0",compressWorker:function(){return new jt("STORE compression")},uncompressWorker:function(){return new jt("STORE decompression")}},DEFLATE:{magic:"\b\0",compressWorker:function(e){return new Jt("Deflate",e)},uncompressWorker:function(){return new Jt("Inflate",{})}}},er="PK",tr="PK",rr="PK",nr="PK",ir="PK",or=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},ar=function(e,t,r,n,i,o){var a,s,l=e.file,u=e.compression,c=o!==Rt,h=Ot("string",o(l.name)),d=Ot("string",Rt(l.name)),f=l.comment,p=Ot("string",o(f)),m=Ot("string",Rt(f)),g=d.length!==l.name.length,v=m.length!==f.length,_="",y="",b="",w=l.dir,x=l.date,k={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(k.crc32=e.crc32,k.compressedSize=e.compressedSize,k.uncompressedSize=e.uncompressedSize);var C=0;t&&(C|=8),c||!g&&!v||(C|=2048);var O,S,z,P=0,I=0;w&&(P|=16),"UNIX"===i?(I=798,P|=(O=l.unixPermissions,S=w,z=O,O||(z=S?16893:33204),(65535&z)<<16)):(I=20,P|=63&(l.dosPermissions||0)),a=x.getUTCHours(),a<<=6,a|=x.getUTCMinutes(),a<<=5,a|=x.getUTCSeconds()/2,s=x.getUTCFullYear()-1980,s<<=4,s|=x.getUTCMonth()+1,s<<=5,s|=x.getUTCDate(),g&&(y=or(1,1)+or(Xt(h),4)+d,_+="up"+or(y.length,2)+y),v&&(b=or(1,1)+or(Xt(p),4)+m,_+="uc"+or(b.length,2)+b);var A="";return A+="\n\0",A+=or(C,2),A+=u.magic,A+=or(a,2),A+=or(s,2),A+=or(k.crc32,4),A+=or(k.compressedSize,4),A+=or(k.uncompressedSize,4),A+=or(h.length,2),A+=or(_.length,2),{fileRecord:er+A+h+_,dirRecord:tr+or(I,2)+A+or(p.length,2)+"\0\0\0\0"+or(P,4)+or(n,4)+h+_+p}},sr=function(e){return"PK\b"+or(e.crc32,4)+or(e.compressedSize,4)+or(e.uncompressedSize,4)},lr=function(e){function t(t,r,n,i){e.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=r,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(t){var r=t.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,e.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(r+100*(n-i-1))/n:100}}))},t.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=ar(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},t.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=ar(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:sr(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},t.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=function(e,t,r,n,i){var o=Ot("string",i(n));return"PK\0\0\0\0"+or(e,2)+or(e,2)+or(t,4)+or(r,4)+or(o.length,2)+o}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},t.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},t.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},t.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},t.prototype.error=function(t){var r=this._sources;if(!e.prototype.error.call(this,t))return!1;for(var n=0;n<r.length;n++)try{r[n].error(t)}catch(e){}return!0},t.prototype.lock=function(){e.prototype.lock.call(this);for(var t=this._sources,r=0;r<t.length;r++)t[r].lock()},t}(jt),ur=function(e){this.data=e,this.length=e.length,this.index=0,this.zero=0};ur.prototype.checkOffset=function(e){this.checkIndex(this.index+e)},ur.prototype.checkIndex=function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},ur.prototype.setIndex=function(e){this.checkIndex(e),this.index=e},ur.prototype.skip=function(e){this.setIndex(this.index+e)},ur.prototype.byteAt=function(e){},ur.prototype.readInt=function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},ur.prototype.readString=function(e){return Ot("string",this.readData(e))},ur.prototype.readData=function(e){},ur.prototype.lastIndexOfSignature=function(e){},ur.prototype.readAndCheckSignature=function(e){},ur.prototype.readDate=function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))};var cr=function(e){function t(t){e.call(this,t);for(var r=0;r<this.data.length;r++)t[r]=255&t[r]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.byteAt=function(e){return this.data[this.zero+e]},t.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return-1},t.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},t.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(ur),hr=function(e){function t(t){e.call(this,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},t.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},t.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},t.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(ur),dr=function(e){function t(t){e.call(this,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(cr);function fr(e){var t=St(e);return zt(t),"string"!==t||pt.uint8array?pt.uint8array?new dr(Ot("uint8array",e)):new cr(Ot("array",e)):new hr(e)}var pr=function(e,t){this.options=e,this.loadOptions=t};pr.prototype.isEncrypted=function(){return 1==(1&this.bitFlag)},pr.prototype.useUTF8=function(){return 2048==(2048&this.bitFlag)},pr.prototype.readLocalPart=function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in Qt)if(Qt.hasOwnProperty(t)&&Qt[t].magic===e)return Qt[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+At(this.compressionMethod)+" unknown (inner file : "+Ot("string",this.fileName)+")");this.decompressed=new Zt(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},pr.prototype.readCentralPart=function(e){this.versionMadeBy=e.readInt(2),e.skip(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);var t=e.readInt(2);if(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");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},pr.prototype.processAttributes=function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},pr.prototype.parseZIP64ExtraField=function(e){if(this.extraFields[1]){var t=fr(this.extraFields[1].value);this.uncompressedSize===It&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===It&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===It&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===It&&(this.diskNumberStart=t.readInt(4))}},pr.prototype.readExtraFields=function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n}},pr.prototype.handleUTF8=function(){var e=pt.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Mt(this.fileName),this.fileCommentStr=Mt(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=Ot(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=Ot(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},pr.prototype.findExtraFieldUnicodePath=function(){var e=this.extraFields[28789];if(e){var t=fr(e.value);return 1!==t.readInt(1)||Xt(this.fileName)!==t.readInt(4)?null:Mt(t.readData(e.length-5))}return null},pr.prototype.findExtraFieldUnicodeComment=function(){var e=this.extraFields[25461];if(e){var t=fr(e.value);return 1!==t.readInt(1)||Xt(this.fileComment)!==t.readInt(4)?null:Mt(t.readData(e.length-5))}return null};var mr=function(e){this.files=[],this.loadOptions=e};function gr(e){return new ft.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new $t);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}function vr(e,t){var r=this;return t=Tt(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Mt}),Ft("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new mr(t);return r.load(e),r})).then((function(e){var r=[ft.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var i=0;i<n.length;i++)r.push(gr(n[i]));return ft.Promise.all(r)})).then((function(e){for(var n=e.shift(),i=n.files,o=0;o<i.length;o++){var a=i[o];r.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders})}return n.zipComment.length&&(r.comment=n.zipComment),r}))}mr.prototype.checkSignature=function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+At(t)+", expected "+At(e)+")")}},mr.prototype.isSignature=function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},mr.prototype.readBlockEndOfCentral=function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=pt.uint8array?"uint8array":"array",r=Ot(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},mr.prototype.readBlockZip64EndOfCentral=function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},mr.prototype.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")},mr.prototype.readLocalFiles=function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(er),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},mr.prototype.readCentralDir=function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(tr);)(e=new pr({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},mr.prototype.readEndOfCentral=function(){var e=this.reader.lastIndexOfSignature(rr);if(e<0)throw this.isSignature(0,er)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(rr),this.readBlockEndOfCentral(),this.diskNumber===Pt||this.diskWithCentralDirStart===Pt||this.centralDirRecordsOnThisDisk===Pt||this.centralDirRecords===Pt||this.centralDirSize===It||this.centralDirOffset===It){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(nr))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(nr),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,ir)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(ir),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(ir),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,tr)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},mr.prototype.prepareReader=function(e){this.reader=fr(e)},mr.prototype.load=function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()};var _r=function(e,t,r){var n,i=St(t),o=Tt(r||{},Ht);o.date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),"string"==typeof o.unixPermissions&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(e=br(e)),o.createFolders&&(n=yr(e))&&wr.call(this,n,!0);var a="string"===i&&!1===o.binary&&!1===o.base64;r&&void 0!==r.binary||(o.binary=!a),(t instanceof Zt&&0===t.uncompressedSize||o.dir||!t||0===t.length)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",i="string");var s;s=t instanceof Zt||t instanceof jt?t:Ft(e,t,o.binary,o.optimizedBinaryString,o.base64);var l=new Gt(e,s,o);this.files[e]=l},yr=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},br=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},wr=function(e,t){return t=void 0===t||t,e=br(e),this.files[e]||_r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function xr(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var kr=function e(){if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new e;for(var r in this)"function"!=typeof this[r]&&(t[r]=this[r]);return t}},Cr={support:{configurable:!0},defaults:{configurable:!0},version:{configurable:!0},external:{configurable:!0}};function Or(e,t,r){return(1461*(e+4800+((t-13)/12|0))/4|0)+(367*(t-1-12*((t-13)/12|0))/12|0)-(3*((e+4900+((t-13)/12|0))/100|0)/4|0)+r-32075}kr.prototype.load=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},kr.prototype.forEach=function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},kr.prototype.filter=function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},kr.prototype.file=function(e,t,r){if(1===arguments.length){if(xr(e)){var n=e;return this.filter((function(e,t){return!t.dir&&n.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,_r.call(this,e,t,r),this},kr.prototype.folder=function(e){if(!e)return this;if(xr(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=wr.call(this,t),n=this.clone();return n.root=r.name,n},kr.prototype.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 r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},kr.prototype.generate=function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},kr.prototype.generateInternalStream=function(e){var t,r={};try{if((r=Tt(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Rt})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");zt(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS"),t=function(e,t,r){var n=new lr(t.streamFiles,r,t.platform,t.encodeFileName),i=0;try{e.forEach((function(e,r){i++;var o=function(e,t){var r=e||t,n=Qt[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,t.compression),a=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,l=r.date;r._compressWorker(o,a).withStreamInfo("file",{name:e,dir:s,date:l,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)})),n.entriesCount=i}catch(e){n.error(e)}return n}(this,r,r.comment||this.comment||"")}catch(e){(t=new jt("error")).error(e)}return new Wt(t,r.type||"string",r.mimeType)},kr.prototype.generateAsync=function(e,t){return this.generateInternalStream(e).accumulate(t)},kr.prototype.loadAsync=function(e,t){return vr.apply(this,[e,t])},kr.loadAsync=function(e,t){return(new kr).loadAsync(e,t)},Cr.support.get=function(){return pt},Cr.defaults.get=function(){return Ht},Cr.version.get=function(){return"3.2.2-esm"},Cr.external.get=function(){return ft},Object.defineProperties(kr,Cr);var Sr=Or(1900,0,-1);var zr={compression:"DEFLATE",type:"base64"},Pr={compression:"DEFLATE",type:"blob"},Ir={compression:"DEFLATE",type:"arraybuffer"};function Ar(e){return"data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,"+e}function Dr(e,t){return t.indexOf(e)}var Tr=JSON.parse.bind(JSON);function Fr(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;").replace(/\'/g,"&#39;")}function jr(e,t){for(var r="",n=0;n<e;++n)r+=t(n);return r}function Er(e,t){var r="";if(null!=e)if(Array.isArray(e))for(var n=0;n<e.length;++n)r+=t(e[n],n);else"object"==typeof e&&Object.keys(e).forEach((function(n,i){r+=t(e[n],n,i)}));return r}var Rr='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r',Mr=function(e){return Rr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Er(e,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+e.target+'"/>'}))+"\n</Relationships>"};function Lr(e){var t=Math.floor(e/26)-1;return(t>=0?Lr(t):"")+String.fromCharCode(65+e%26)}function Br(e,t){return Lr(t)+(e+1)}function Ur(e,t){return"$"+Lr(t)+"$"+(e+1)}function Nr(e){return(e.frozenRows||(e.freezePane||{}).rowSplit||1)-1}function Wr(e){return e/7-Math.floor(128/7)/256}var Hr=function(e,t,r,n){this.options=e,this._strings=t,this._styles=r,this._borders=n,this._validations={},this._comments=[],this._drawings=e.drawings||[],this._hyperlinks=(this.options.hyperlinks||[]).map((function(e,t){return Object.assign({},e,{rId:"link"+t})}))};function Vr(e){var t=e.length;return e.forEach((function(e){e.index&&e.index>=t&&(t=e.index+1)})),t}Hr.prototype.relsToXML=function(){var e=this._hyperlinks,t=this._comments,r=this._drawings;if(e.length||t.length||r.length)return function(e){var t=e.comments,r=e.sheetIndex,n=e.drawings;return Rr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Er(e.hyperlinks,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="'+Fr(e.target)+'" TargetMode="External" />'}))+"\n "+(t.length?'\n <Relationship Id="comment'+r+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="../comments'+r+'.xml"/>\n <Relationship Id="vml'+r+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" Target="../drawings/vmlDrawing'+r+'.vml"/>':"")+"\n "+(n.length?'\n <Relationship Id="drw'+r+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" Target="../drawings/drawing'+r+'.xml"/>':"")+"\n</Relationships>"}({hyperlinks:e,comments:t,sheetIndex:this.options.sheetIndex,drawings:r})},Hr.prototype.toXML=function(e){var t=this,r=this.options.mergedCells||[],n=function(e,t){var r=[],n=[];!function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n){var i=n.index;"number"!=typeof i&&(i=r),t(n,i)}}}(e,(function(e,t){var i={_source:e,index:t,height:e.height,level:e.level,cells:[]};r.push(i),n[t]=i}));for(var i=Qr(r).slice(0),o={rowData:r,rowsByIndex:n,mergedCells:t},a=0;a<i.length;a++)nn(i[a],o),delete i[a]._source;return Qr(r)}(this.options.rows||[],r);this._readCells(n);var i,o=this.options.filter;o&&"number"==typeof o.from&&"number"==typeof o.to?o={from:Br(Nr(this.options),o.from),to:Br(Nr(this.options),o.to)}:o&&o.ref&&o.columns&&(i=o,o=null);var a=[];for(var s in t._validations)Object.prototype.hasOwnProperty.call(t._validations,s)&&a.push(t._validations[s]);var l=null;this.options.defaultCellStyle&&(l=this._lookupStyle(this.options.defaultCellStyle));var u=this.options.freezePane||{},c=this.options.defaults||{},h=this.options.rows?this._getLastRow():1,d=this.options.rows?this._getLastCol():1;return function(e){var t=e.frozenColumns,r=e.frozenRows,n=e.columns,i=e.defaults,o=e.data,a=e.index,s=e.mergeCells,l=e.autoFilter,u=e.filter,c=e.showGridLines,h=e.hyperlinks,d=e.validations,f=e.defaultCellStyleId,p=e.rtl,m=e.legacyDrawing,g=e.drawing,v=e.lastRow,_=e.lastCol;return Rr+'\n<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" mc:Ignorable="x14ac">\n '+(v&&_?'<dimension ref="A1:'+Br(v-1,_-1)+'" />':"")+"\n\n <sheetViews>\n <sheetView "+(p?'rightToLeft="1"':"")+" "+(0===a?'tabSelected="1"':"")+' workbookViewId="0" '+(!1===c?'showGridLines="0"':"")+">\n "+(r||t?'\n <pane state="frozen"\n '+(t?'xSplit="'+t+'"':"")+"\n "+(r?'ySplit="'+r+'"':"")+'\n topLeftCell="'+(String.fromCharCode(65+(t||0))+((r||0)+1))+'"\n />':"")+'\n </sheetView>\n </sheetViews>\n\n <sheetFormatPr x14ac:dyDescent="0.25" '+(i.skipCustomHeight?"":'customHeight="1"')+' defaultRowHeight="'+(i.rowHeight?.75*i.rowHeight:15)+'"\n '+(i.columnWidth?'defaultColWidth="'+Wr(i.columnWidth)+'"':"")+" />\n\n "+(null!=f||n&&n.length>0?"\n <cols>\n "+(n&&n.length?"":'\n <col min="1" max="16384" style="'+f+'"\n '+(i.columnWidth?'width="'+Wr(i.columnWidth)+'"':"")+" /> ")+"\n "+Er(n,(function(e,t){var r="number"==typeof e.index?e.index+1:t+1;return 0===e.width?"<col "+(null!=f?'style="'+f+'"':"")+'\n min="'+r+'" max="'+r+'" hidden="1" customWidth="1" />':"<col "+(null!=f?'style="'+f+'"':"")+'\n min="'+r+'" max="'+r+'" customWidth="1"\n '+(e.autoWidth?'width="'+(7*e.width+5)/7*256/256+'" bestFit="1"':'width="'+Wr(e.width)+'"')+" />"}))+"\n </cols>":"")+"\n\n <sheetData>\n "+Er(o,(function(e,t){return'\n <row r="'+("number"==typeof e.index?e.index+1:t+1)+'" x14ac:dyDescent="0.25"\n '+(e.level?'outlineLevel="'+e.level+'"':"")+"\n "+(0===e.height?'hidden="1"':e.height?'ht="'+.75*e.height+'" customHeight="1"':"")+">\n "+Er(e.data,(function(e){return'\n <c r="'+e.ref+'" '+(e.style?'s="'+e.style+'"':"")+" "+(e.type?'t="'+e.type+'"':"")+">\n "+(null!=e.formula?"string"==typeof(t=e.formula)?"<f>"+Fr(t)+"</f>":'<f t="array" ref="'+t.ref+'">'+Fr(t.src)+"</f>":"")+"\n "+(null!=e.value?"<v>"+Fr(e.value)+"</v>":"")+"\n </c>";var t}))+"\n </row>\n "}))+"\n </sheetData>\n\n "+(l?'<autoFilter ref="'+l.from+":"+l.to+'"/>':u?dn(u):"")+"\n\n "+(s.length?'\n <mergeCells count="'+s.length+'">\n '+Er(s,(function(e){return'<mergeCell ref="'+e+'"/>'}))+"\n </mergeCells>":"")+"\n\n "+(d.length?"\n <dataValidations>\n "+Er(d,(function(e){return'\n <dataValidation sqref="'+e.sqref.join(" ")+'"\n showErrorMessage="'+e.showErrorMessage+'"\n type="'+Fr(e.type)+'"\n '+("list"!==e.type?'operator="'+Fr(e.operator)+'"':"")+'\n allowBlank="'+e.allowBlank+'"\n showDropDown="'+e.showDropDown+'"\n '+(e.error?'error="'+Fr(e.error)+'"':"")+"\n "+(e.errorTitle?'errorTitle="'+Fr(e.errorTitle)+'"':"")+">\n "+(e.formula1?"<formula1>"+Fr(e.formula1)+"</formula1>":"")+"\n "+(e.formula2?"<formula2>"+Fr(e.formula2)+"</formula2>":"")+"\n </dataValidation>"}))+"\n </dataValidations>":"")+"\n\n "+(h.length?"\n <hyperlinks>\n "+Er(h,(function(e){return'\n <hyperlink ref="'+e.ref+'" r:id="'+e.rId+'"/>'}))+"\n </hyperlinks>":"")+'\n\n <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3" />\n '+(g?'<drawing r:id="'+g+'"/>':"")+"\n "+(m?'<legacyDrawing r:id="'+m+'"/>':"")+"\n</worksheet>"}({frozenColumns:this.options.frozenColumns||u.colSplit,frozenRows:this.options.frozenRows||u.rowSplit,columns:this.options.columns,defaults:c,data:n,index:e,mergeCells:r,autoFilter:o,filter:i,showGridLines:this.options.showGridLines,hyperlinks:this._hyperlinks,validations:a,defaultCellStyleId:l,rtl:void 0!==this.options.rtl?this.options.rtl:c.rtl,legacyDrawing:this._comments.length?"vml"+this.options.sheetIndex:null,drawing:this._drawings.length?"drw"+this.options.sheetIndex:null,lastRow:h,lastCol:d})},Hr.prototype.commentsXML=function(){if(this._comments.length)return function(e){return Rr+'\n<comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">\n <authors>\n <author></author>\n </authors>\n <commentList>\n '+Er(e.comments,(function(e){return'\n <comment ref="'+e.ref+'" authorId="0">\n <text>\n <r>\n <rPr>\n <sz val="8"/>\n <color indexed="81"/>\n <rFont val="Tahoma"/>\n <charset val="1"/>\n </rPr>\n <t>'+Fr(e.text)+"</t>\n </r>\n </text>\n </comment>"}))+"\n </commentList>\n</comments>"}({comments:this._comments})},Hr.prototype.drawingsXML=function(e){if(this._drawings.length){var t={},r=this._drawings.map((function(r){var n=tn(r.topLeftCell),i=t[r.image];return i||(i=t[r.image]={rId:"img"+r.image,target:e[r.image].target}),{col:n.col,colOffset:rn(r.offsetX),row:n.row,rowOffset:rn(r.offsetY),width:rn(r.width),height:rn(r.height),imageId:i.rId}}));return{main:(n=r,Rr+'\n<xdr:wsDr xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"\n xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"\n xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n '+Er(n,(function(e,t){return'\n <xdr:oneCellAnchor editAs="oneCell">\n <xdr:from>\n <xdr:col>'+e.col+"</xdr:col>\n <xdr:colOff>"+e.colOffset+"</xdr:colOff>\n <xdr:row>"+e.row+"</xdr:row>\n <xdr:rowOff>"+e.rowOffset+'</xdr:rowOff>\n </xdr:from>\n <xdr:ext cx="'+e.width+'" cy="'+e.height+'" />\n <xdr:pic>\n <xdr:nvPicPr>\n <xdr:cNvPr id="'+(t+1)+'" name="Picture '+(t+1)+'"/>\n <xdr:cNvPicPr/>\n </xdr:nvPicPr>\n <xdr:blipFill>\n <a:blip r:embed="'+e.imageId+'"/>\n <a:stretch>\n <a:fillRect/>\n </a:stretch>\n </xdr:blipFill>\n <xdr:spPr>\n <a:prstGeom prst="rect">\n <a:avLst/>\n </a:prstGeom>\n </xdr:spPr>\n </xdr:pic>\n <xdr:clientData/>\n </xdr:oneCellAnchor>'}))+"\n</xdr:wsDr>"),rels:Mr(t)}}var n},Hr.prototype.legacyDrawing=function(){if(this._comments.length)return function(e){return'<xml xmlns:v="urn:schemas-microsoft-com:vml"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:x="urn:schemas-microsoft-com:office:excel">\n <v:shapetype coordsize="21600,21600" id="_x0000_t202" path="m,l,21600r21600,l21600,xe">\n <v:stroke joinstyle="miter"/>\n <v:path gradientshapeok="t" o:connecttype="rect"/>\n </v:shapetype>\n '+Er(e.comments,(function(e){return'\n <v:shape type="#_x0000_t202" style="visibility: hidden" fillcolor="#ffffe1" o:insetmode="auto">\n <v:shadow on="t" color="black" obscured="t"/>\n <x:ClientData ObjectType="Note">\n <x:MoveWithCells/>\n <x:SizeWithCells/>\n <x:Anchor>'+e.anchor+"</x:Anchor>\n <x:AutoFill>False</x:AutoFill>\n <x:Row>"+e.row+"</x:Row>\n <x:Column>"+e.col+"</x:Column>\n </x:ClientData>\n </v:shape>"}))+"\n</xml>"}({comments:this._comments})},Hr.prototype._lookupString=function(e){var t,r="$"+e,n=this._strings.indexes[r];return void 0!==n?t=n:(t=this._strings.indexes[r]=this._strings.uniqueCount,this._strings.uniqueCount++),this._strings.count++,t},Hr.prototype._lookupStyle=function(e){var t=JSON.stringify(e);if("{}"===t)return 0;var r=Dr(t,this._styles);return r<0&&(r=this._styles.push(t)-1),r+1},Hr.prototype._lookupBorder=function(e){var t=JSON.stringify(e);if("{}"!==t){var r=Dr(t,this._borders);return r<0&&(r=this._borders.push(t)-1),r+1}},Hr.prototype._readCells=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=r.cells;r.data=[];for(var i=0;i<n.length;i++){var o=this._cell(n[i],r.index,i);o&&r.data.push(o)}}},Hr.prototype._cell=function(e,t,r){if(!e||e===Jr)return null;var n=e.value,i={};e.borderLeft&&(i.left=e.borderLeft),e.borderRight&&(i.right=e.borderRight),e.borderTop&&(i.top=e.borderTop),e.borderBottom&&(i.bottom=e.borderBottom),e.dBorders&&(i.diagonal=e.dBorders),i=this._lookupBorder(i);var o,a=this.options.defaultCellStyle||{},s={borderId:i};(o=function(t,r){var n=e[t];if(void 0===n&&(n=a[t]),void 0!==n)return s[r||t]=n,!0})("color"),o("background"),o("bold"),o("italic"),o("underline"),o("fontFamily")||o("fontName","fontFamily"),o("fontSize"),o("format"),o("textAlign")||o("hAlign","textAlign"),o("verticalAlign")||o("vAlign","verticalAlign"),o("wrap"),o("indent");var l,u,c,h=(this.options.columns||[])[r],d=typeof n;if(h&&h.autoWidth&&(!e.colSpan||1===e.colSpan)){var f=n;"number"===d&&(f=v.toString(n,e.format)),h.width=Math.max(h.width||0,String(f).length)}"string"===d?(n=function(e){return String(e).replace(/[\x00-\x09\x0B\x0C\x0E-\x1F]/g,"").replace(/\r?\n/g,"\r\n")}(n),n=this._lookupString(n),d="s"):"number"===d?d="n":"boolean"===d?(d="b",n=Number(n)):n&&n.getTime?(d=null,u=((l=n).getHours()+(l.getMinutes()+(l.getSeconds()+l.getMilliseconds()/1e3)/60)/60)/24,n=(c=function(e,t,r){return Or(e,t,r)-Sr}(l.getFullYear(),l.getMonth(),l.getDate()))<0?c-1+u:c+u,s.format||(s.format="mm-dd-yy")):(d=null,n=null),s=this._lookupStyle(s);var p=Br(t,r);if(e.validation&&this._addValidation(e.validation,p),e.comment){var m=[r+1,15,t,10,r+3,15,t+3,4];this._comments.push({ref:p,text:e.comment,row:t,col:r,anchor:m.join(", ")})}return{value:n,formula:e.formula,type:d,style:s,ref:p}},Hr.prototype._addValidation=function(e,t){var r={showErrorMessage:"reject"===e.type?1:0,formula1:e.from,formula2:e.to,type:Kr[e.dataType]||e.dataType,operator:qr[e.comparerType]||e.comparerType,allowBlank:e.allowNulls?1:0,showDropDown:e.showButton?0:1,error:e.messageTemplate,errorTitle:e.titleTemplate},n=JSON.stringify(r);this._validations[n]||(this._validations[n]=r,r.sqref=[]),this._validations[n].sqref.push(t)},Hr.prototype._getLastRow=function(){return Vr(this.options.rows)},Hr.prototype._getLastCol=function(){var e=0;return this.options.rows.forEach((function(t){t.cells&&(e=Math.max(e,Vr(t.cells)))})),e};var qr={greaterThanOrEqualTo:"greaterThanOrEqual",lessThanOrEqualTo:"lessThanOrEqual"},Kr={number:"decimal"},Xr={General:0,0:1,"0.00":2,"#,##0":3,"#,##0.00":4,"0%":9,"0.00%":10,"0.00E+00":11,"# ?/?":12,"# ??/??":13,"mm-dd-yy":14,"d-mmm-yy":15,"d-mmm":16,"mmm-yy":17,"h:mm AM/PM":18,"h:mm:ss AM/PM":19,"h:mm":20,"h:mm:ss":21,"m/d/yy h:mm":22,"#,##0 ;(#,##0)":37,"#,##0 ;[Red](#,##0)":38,"#,##0.00;(#,##0.00)":39,"#,##0.00;[Red](#,##0.00)":40,"mm:ss":45,"[h]:mm:ss":46,"mmss.0":47,"##0.0E+0":48,"@":49,"[$-404]e/m/d":27,"m/d/yy":30,t0:59,"t0.00":60,"t#,##0":61,"t#,##0.00":62,"t0%":67,"t0.00%":68,"t# ?/?":69,"t# ??/??":70};function $r(e){var t=function(e){function t(e){var t=parseInt(e,10).toString(16);return t.length<2?"0"+t:t}var r=/^rgba?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([0-9.]+)\s*)?\)/i.exec(e.trim());return r?"#"+t(255*(r[4]?parseFloat(r[4]):1)|0)+t(r[1])+t(r[2])+t(r[3]):e}(e);return t.length<6&&(t=t.replace(/(\w)/g,(function(e,t){return t+t}))),(t=t.substring(1).toUpperCase()).length<8&&(t="FF"+t),t}var Zr=function(e){var t=this;this.options=e||{},this._strings={indexes:{},count:0,uniqueCount:0},this._styles=[],this._borders=[],this._images=this.options.images,this._imgId=0,this._sheets=u(this.options.sheets||[],(function(e,r){return e.defaults=t.options,e.sheetIndex=r+1,new Hr(e,t._strings,t._styles,t._borders)}))};function Gr(e,t){var r,n,i="";return t&&(i+="<"+e+' style="'+(n="thin",2===(r=t.size)?n="medium":3===r&&(n="thick"),n+'">'),t.color&&(i+='<color rgb="'+$r(t.color)+'"/>'),i+="</"+e+">"),i}function Yr(e){var t=e.diagonal?e.diagonal.type:0;return"<border "+(2&t?'diagonalUp="true"':"")+" "+(1&t?'diagonalDown="true"':"")+">\n "+Gr("left",e.left)+"\n "+Gr("right",e.right)+"\n "+Gr("top",e.top)+"\n "+Gr("bottom",e.bottom)+"\n "+Gr("diagonal",e.diagonal)+"\n </border>"}Zr.prototype.imageFilename=function(e){var t=++this._imgId;switch(e){case"image/jpg":case"image/jpeg":return"image"+t+".jpg";case"image/png":return"image"+t+".png";case"image/gif":return"image"+t+".gif";default:return"image"+t+".bin"}},Zr.prototype.toZIP=function(){var e=this,t=new kr,r=t.folder("docProps");r.file("core.xml",function(e){var t=e.lastModifiedBy,r=e.created,n=e.modified;return Rr+'\n <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"\n xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"\n xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\n <dc:creator>'+Fr(e.creator)+"</dc:creator>\n <cp:lastModifiedBy>"+Fr(t)+'</cp:lastModifiedBy>\n <dcterms:created xsi:type="dcterms:W3CDTF">'+Fr(r)+'</dcterms:created>\n <dcterms:modified xsi:type="dcterms:W3CDTF">'+Fr(n)+"</dcterms:modified>\n</cp:coreProperties>"}({creator:this.options.creator||"Kendo UI",lastModifiedBy:this.options.creator||"Kendo UI",created:this.options.date||(new Date).toJSON(),modified:this.options.date||(new Date).toJSON()}));var n=this._sheets.length;r.file("app.xml",function(e){var t=e.sheets;return Rr+'\n<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">\n <Application>Microsoft Excel</Application>\n <DocSecurity>0</DocSecurity>\n <ScaleCrop>false</ScaleCrop>\n <HeadingPairs>\n <vt:vector size="2" baseType="variant">\n <vt:variant>\n <vt:lpstr>Worksheets</vt:lpstr>\n </vt:variant>\n <vt:variant>\n <vt:i4>'+t.length+'</vt:i4>\n </vt:variant>\n </vt:vector>\n </HeadingPairs>\n <TitlesOfParts>\n <vt:vector size="'+t.length+'" baseType="lpstr">'+Er(t,(function(e,t){return e.options.title?"<vt:lpstr>"+Fr(e.options.title)+"</vt:lpstr>":"<vt:lpstr>Sheet"+(t+1)+"</vt:lpstr>"}))+"</vt:vector>\n </TitlesOfParts>\n <LinksUpToDate>false</LinksUpToDate>\n <SharedDoc>false</SharedDoc>\n <HyperlinksChanged>false</HyperlinksChanged>\n <AppVersion>14.0300</AppVersion>\n</Properties>"}({sheets:this._sheets})),t.folder("_rels").file(".rels",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>\n <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>\n <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/>\n </Relationships>');var i=t.folder("xl");if(i.folder("_rels").file("workbook.xml.rels",function(e){var t=e.count;return Rr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+jr(t,(function(e){return'\n <Relationship Id="rId'+(e+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet'+(e+1)+'.xml" />'}))+'\n <Relationship Id="rId'+(t+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml" />\n <Relationship Id="rId'+(t+2)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml" />\n</Relationships>'}({count:n})),this._images){var o=i.folder("media");Object.keys(this._images).forEach((function(t){var r=e._images[t],n=e.imageFilename(r.type);o.file(n,r.data),r.target="../media/"+n}))}var a={};i.file("workbook.xml",function(e){var t=e.filterNames,r=e.userNames;return Rr+'\n<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n <fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="9303" />\n <workbookPr defaultThemeVersion="124226" />\n <bookViews>\n <workbookView xWindow="240" yWindow="45" windowWidth="18195" windowHeight="7995" />\n </bookViews>\n <sheets>\n '+Er(e.sheets,(function(e,t){var r=e.options;return'<sheet name="'+Fr(r.name||r.title||"Sheet"+(t+1))+'" sheetId="'+(t+1)+'" r:id="rId'+(t+1)+'" />'}))+"\n </sheets>\n "+(t.length||r.length?"\n <definedNames>\n "+Er(t,(function(e){return'\n <definedName name="_xlnm._FilterDatabase" hidden="1" localSheetId="'+e.localSheetId+'">'+Fr(function(e){return/^\'/.test(e)||/^[a-z_][a-z0-9_]*$/i.test(e)?e:"'"+e.replace(/\x27/g,"\\'")+"'"}(e.name))+"!"+Fr(e.from)+":"+Fr(e.to)+"</definedName>"}))+"\n "+Er(r,(function(e){return'\n <definedName name="'+e.name+'" hidden="'+(e.hidden?1:0)+'" '+(null!=e.localSheetId?'localSheetId="'+e.localSheetId+'"':"")+">"+Fr(e.value)+"</definedName>"}))+"\n </definedNames>":"")+'\n <calcPr fullCalcOnLoad="1" calcId="145621" />\n</workbook>'}({sheets:this._sheets,filterNames:u(this._sheets,(function(e,t){var r=e.options,n=r.name||r.title||"Sheet"+(t+1);a[n.toLowerCase()]=t;var i=r.filter;if(i){if(i.ref){var o=i.ref.split(":"),s=tn(o[0]),l=tn(o[1]);return{localSheetId:t,name:n,from:Ur(s.row,s.col),to:Ur(l.row,l.col)}}if(void 0!==i.from&&void 0!==i.to)return{localSheetId:t,name:n,from:Ur(Nr(r),i.from),to:Ur(Nr(r),i.to)}}})),userNames:u(this.options.names||[],(function(e){return{name:e.localName,localSheetId:e.sheet?a[e.sheet.toLowerCase()]:null,value:e.value,hidden:e.hidden}}))}));for(var s=i.folder("worksheets"),l=i.folder("drawings"),c=l.folder("_rels"),h=s.folder("_rels"),d=[],f=[],p=0;p<n;p++){var m=e._sheets[p],g="sheet"+(p+1)+".xml",v=m.toXML(p),_=m.relsToXML(),y=m.commentsXML(),b=m.legacyDrawing(),w=m.drawingsXML(e._images);if(_&&h.file(g+".rels",_),y){var x="comments"+m.options.sheetIndex+".xml";i.file(x,y),d.push(x)}if(b&&l.file("vmlDrawing"+m.options.sheetIndex+".vml",b),w){var k="drawing"+m.options.sheetIndex+".xml";l.file(k,w.main),c.file(k+".rels",w.rels),f.push(k)}s.file(g,v)}var C=u(this._borders,Tr),O=u(this._styles,Tr),S=function(e){return e.underline||e.bold||e.italic||e.color||e.fontFamily||e.fontSize},z=u(O,(function(e){var t,r,n;if(e.fontSize&&(e.fontSize=(t=e.fontSize,(n=Number(t))&&(r=3*n/4),r)),e.color&&(e.color=$r(e.color)),S(e))return e})),P=u(O,(function(e){if(e.format&&void 0===Xr[e.format])return e})),I=u(O,(function(e){if(e.background)return e.background=$r(e.background),e}));return i.file("styles.xml",function(e){var t=e.formats,r=e.fonts,n=e.fills,i=e.borders,o=e.styles;return Rr+'\n<styleSheet\n xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"\n xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"\n mc:Ignorable="x14ac"\n xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">\n <numFmts count="'+t.length+'">\n '+Er(t,(function(e,t){return'\n <numFmt formatCode="'+Fr(e.format)+'" numFmtId="'+(165+t)+'" />'}))+'\n </numFmts>\n <fonts count="'+(r.length+1)+'" x14ac:knownFonts="1">\n <font>\n <sz val="11" />\n <color theme="1" />\n <name val="Calibri" />\n <family val="2" />\n <scheme val="minor" />\n </font>\n '+Er(r,(function(e){return"\n <font>\n "+(e.bold?"<b/>":"")+"\n "+(e.italic?"<i/>":"")+"\n "+(e.underline?"<u/>":"")+'\n <sz val="'+(e.fontSize||11)+'" />\n '+(e.color?'<color rgb="'+Fr(e.color)+'" />':'<color theme="1" />')+"\n "+(e.fontFamily?'\n <name val="'+Fr(e.fontFamily)+'" />\n <family val="2" />\n ':'\n <name val="Calibri" />\n <family val="2" />\n <scheme val="minor" />\n ')+"\n </font>"}))+'\n </fonts>\n <fills count="'+(n.length+2)+'">\n <fill><patternFill patternType="none"/></fill>\n <fill><patternFill patternType="gray125"/></fill>\n '+Er(n,(function(e){return"\n "+(e.background?'\n <fill>\n <patternFill patternType="solid">\n <fgColor rgb="'+Fr(e.background)+'"/>\n </patternFill>\n </fill>\n ':"")}))+'\n </fills>\n <borders count="'+(i.length+1)+'">\n <border><left/><right/><top/><bottom/><diagonal/></border>\n '+Er(i,Yr)+'\n </borders>\n <cellStyleXfs count="1">\n <xf borderId="0" fillId="0" fontId="0" />\n </cellStyleXfs>\n <cellXfs count="'+(o.length+1)+'">\n <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" />\n '+Er(o,(function(e){return'\n <xf xfId="0"\n '+(e.fontId?'fontId="'+e.fontId+'" applyFont="1"':"")+"\n "+(e.fillId?'fillId="'+e.fillId+'" applyFill="1"':"")+"\n "+(e.numFmtId?'numFmtId="'+e.numFmtId+'" applyNumberFormat="1"':"")+"\n "+(e.textAlign||e.verticalAlign||e.wrap?'applyAlignment="1"':"")+"\n "+(e.borderId?'borderId="'+e.borderId+'" applyBorder="1"':"")+">\n "+(e.textAlign||e.verticalAlign||e.wrap?"\n <alignment\n "+(e.textAlign?'horizontal="'+Fr(e.textAlign)+'"':"")+"\n "+(e.verticalAlign?'vertical="'+Fr(e.verticalAlign)+'"':"")+"\n "+(e.indent?'indent="'+Fr(e.indent)+'"':"")+"\n "+(e.wrap?'wrapText="1"':"")+" />\n ":"")+"\n </xf>\n "}))+'\n </cellXfs>\n <cellStyles count="1">\n <cellStyle name="Normal" xfId="0" builtinId="0"/>\n </cellStyles>\n <dxfs count="0" />\n <tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleMedium9" />\n</styleSheet>'}({fonts:z,fills:I,formats:P,borders:C,styles:u(O,(function(e){var t={};return S(e)&&(t.fontId=Dr(e,z)+1),e.background&&(t.fillId=Dr(e,I)+2),t.textAlign=e.textAlign,t.indent=e.indent,t.verticalAlign=e.verticalAlign,t.wrap=e.wrap,t.borderId=e.borderId,e.format&&(void 0!==Xr[e.format]?t.numFmtId=Xr[e.format]:t.numFmtId=165+Dr(e,P)),t}))})),i.file("sharedStrings.xml",function(e){var t=e.count,r=e.uniqueCount,n=e.indexes;return Rr+'\n<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'+t+'" uniqueCount="'+r+'">\n '+Er(Object.keys(n),(function(e){return'\n <si><t xml:space="preserve">'+Fr(e.substring(1))+"</t></si>"}))+"\n</sst>"}(this._strings)),t.file("[Content_Types].xml",function(e){var t=e.commentFiles,r=e.drawingFiles;return Rr+'\n<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n <Default Extension="png" ContentType="image/png"/>\n <Default Extension="gif" ContentType="image/gif"/>\n <Default Extension="jpg" ContentType="image/jpeg"/>\n <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />\n <Default Extension="xml" ContentType="application/xml" />\n <Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/>\n <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" />\n <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/>\n <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/>\n '+jr(e.sheetCount,(function(e){return'<Override PartName="/xl/worksheets/sheet'+(e+1)+'.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" />'}))+"\n "+Er(t,(function(e){return'<Override PartName="/xl/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/>'}))+"\n "+Er(r,(function(e){return'<Override PartName="/xl/drawings/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.drawing+xml"/>'}))+'\n <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml" />\n <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" />\n</Types>'}({sheetCount:n,commentFiles:d,drawingFiles:f})),t},Zr.prototype.toDataURL=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(zr).then(Ar):Ar(e.generate(zr))},Zr.prototype.toBlob=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(Pr):new Blob([e.generate(Ir)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})};var Jr={};function Qr(e){return e.sort((function(e,t){return e.index-t.index}))}function en(e,t){for(var r=0;r<e.length;++r){var n=e[r].split(":"),i=n[0];if(i===t){var o=n[1];return i=tn(i),{rowSpan:(o=tn(o)).row-i.row+1,colSpan:o.col-i.col+1}}}}function tn(e){var t,r=/^([a-z]+)(\d+)$/i.exec(e);return{row:(t=r[2],parseInt(t,10)-1),col:function(e){for(var t=e.toUpperCase(),r=0,n=0;n<t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}(r[1])}}function rn(e){return Math.round(9525*e)}function nn(e,t){var r,n,i=e._source,o=e.index,a=i.cells,s=e.cells;if(a)for(var l=0;l<a.length;l++){var u=a[l]||Jr,c=u.rowSpan||1,h=u.colSpan||1,d=on(s,u),f=Br(o,d);if(1===c&&1===h){var p=en(t.mergedCells,f);p&&(h=p.colSpan,c=p.rowSpan)}if(sn(u,s,d,h),(c>1||h>1)&&(r=t.mergedCells,n=f+":"+Br(o+c-1,d+h-1),r.indexOf(n)<0&&r.push(n)),c>1)for(var m=o+1;m<o+c;m++){var g=t.rowsByIndex[m];g||(g=t.rowsByIndex[m]={index:m,cells:[]},t.rowData.push(g)),sn(u,g.cells,d-1,h+1)}}}function on(e,t){var r;return"number"==typeof t.index?(r=t.index,an(e,t,t.index)):r=function(e,t){for(var r=e.length,n=0;n<e.length+1;n++)if(!e[n]){e[n]=t,r=n;break}return r}(e,t),r}function an(e,t,r){e[r]=t}function sn(e,t,r,n){for(var i=1;i<n;i++)an(t,{borderTop:e.borderTop,borderRight:e.borderRight,borderBottom:e.borderBottom,borderLeft:e.borderLeft},r+i)}var ln=function(e){return"\n<customFilters "+("and"===e.logic?'and="1"':"")+">\n"+Er(e.criteria,(function(e){var t=dn.customOperator(e);return"<customFilter "+(t?'operator="'+t+'"':"")+' val="'+dn.customValue(e)+'"/>'}))+"\n</customFilters>"},un=function(e){var t=e.type;return'<dynamicFilter type="'+dn.dynamicFilterType(t)+'" />'},cn=function(e){var t=e.type,r=e.value;return'<top10 percent="'+(/percent$/i.test(t)?1:0)+'"\n top="'+(/^top/i.test(t)?1:0)+'"\n val="'+r+'" />'},hn=function(e){return"<filters "+(e.blanks?'blank="1"':"")+">\n "+Er(e.values,(function(e){return'\n <filter val="'+e+'" />'}))+"\n </filters>"};function dn(e){return t={ref:e.ref,columns:e.columns,generators:{custom:ln,dynamic:un,top:cn,value:hn}},r=t.generators,'\n<autoFilter ref="'+t.ref+'">\n '+Er(t.columns,(function(e){return'\n <filterColumn colId="'+e.index+'">\n '+r[e.filter](e)+"\n </filterColumn>\n "}))+"\n</autoFilter>";var t,r}dn.customOperator=function(e){return{eq:"equal",gt:"greaterThan",gte:"greaterThanOrEqual",lt:"lessThan",lte:"lessThanOrEqual",ne:"notEqual",doesnotstartwith:"notEqual",doesnotendwith:"notEqual",doesnotcontain:"notEqual",doesnotmatch:"notEqual"}[e.operator.toLowerCase()]},dn.customValue=function(e){function t(e){return e.replace(/([*?])/g,"~$1")}switch(e.operator.toLowerCase()){case"startswith":case"doesnotstartwith":return t(e.value)+"*";case"endswith":case"doesnotendwith":return"*"+t(e.value);case"contains":case"doesnotcontain":return"*"+t(e.value)+"*";default:return e.value}},dn.dynamicFilterType=function(e){return{quarter1:"Q1",quarter2:"Q2",quarter3:"Q3",quarter4:"Q4",january:"M1",february:"M2",march:"M3",april:"M4",may:"M5",june:"M6",july:"M7",august:"M8",september:"M9",october:"M10",november:"M11",december:"M12"}[e.toLowerCase()]||e}},346:(e,t,r)=>{var n;function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableVue2=t.Draggable=void 0;var o=r(895),a=(o.h,o.version&&"3"===o.version[0]),s=r(154),l=r(123),u=(i(n={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new s.default({press:this.press,drag:this.drag,release:this.release})},setup:a?function(){return{v3:!!a}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:a?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(e){this.element&&this.$emit("press",e,this.element)},drag:function(e){this.element&&this.$emit("drag",e,this.element)},release:function(e){this.element&&this.$emit("release",e,this.element)}}},"setup",a?function(){return{v3:!!a}}:void 0),i(n,"render",(function(e){return(0,l.getDefaultSlots)(this)})),n);t.DraggableVue2=u;var c=u;t.Draggable=c},685:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserSupportService=void 0;var r=function(){return"undefined"!=typeof document?document:{}},n=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=r();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!1,configurable:!0}),e}();t.BrowserSupportService=n},770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var r=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);t.canUseDOM=r},820:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=void 0;var n=r(650);t.classNames=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?t.classNames.apply(void 0,e):(0,n.isObject)(e)?Object.keys(e).map((function(t,r){return e[r]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")}},920:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cloneArray=t.cloneValue=t.cloneObject=t.clone=t.cloneDate=void 0;var n=r(650);function i(e,t){for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];t[r]=o(n,t[r])}}function o(e,r){if(Array.isArray(e))return a(e);if(e instanceof Date)return(0,t.cloneDate)(e);if(e&&(0,n.isObject)(e)){var o=r||{};return i(e,o),o}return e}function a(e){return e.map((function(e){return o(e,void 0)}))}t.cloneDate=function(e){return e?new Date(e.getTime()):null},t.clone=function(e){var t={};return i(e,t),t},t.cloneObject=i,t.cloneValue=o,t.cloneArray=a},866:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FIELD_REGEX=void 0,t.FIELD_REGEX=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g},123:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultSlots=void 0,t.getDefaultSlots=function(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}},580:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.focusContainer=t.focusLastFocusableChild=t.focusFirstFocusableChild=t.lastFocusableChild=t.firstFocusableChild=void 0;var n=r(385),i='input, [tabindex]:not([tabindex="-1"])';t.firstFocusableChild=function(e){if(e){var t=e.querySelectorAll(i);if(t.length&&t[0].focus)return t[0]}},t.lastFocusableChild=function(e){if(e){var t=e.querySelectorAll(i);if(t.length&&t[t.length-1].focus)return t[t.length-1]}},t.focusFirstFocusableChild=function(e){if(e){var t=e.querySelectorAll(i);t.length&&t[0].focus&&t[0].focus()}},t.focusLastFocusableChild=function(e){if(e){var t=e.querySelectorAll(i);t.length&&t[t.length-1].focus&&t[t.length-1].focus()}},t.focusContainer=function(e,r){var i=!0;if(e.keyCode!==n.Keys.enter&&e.target===r)return!1;if(e.keyCode===n.Keys.enter&&e.target===r)i=!0,setTimeout((function(){(0,t.focusFirstFocusableChild)(r)}),1);else if(e.keyCode===n.Keys.esc)i=!1,r.focus();else if(e.keyCode===n.Keys.tab){var o=(0,t.firstFocusableChild)(r),a=(0,t.lastFocusableChild)(r);a&&!e.shiftKey&&e.target===a&&(e.preventDefault(),o.focus()),o&&e.shiftKey&&e.target===o&&(e.preventDefault(),a.focus())}return i}},369:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getTabIndex=void 0,t.getTabIndex=function(e,t,r){var n="string"==typeof e?parseInt(e,void 0):e;if(NaN!==n)return void 0!==n?n:t?r?void 0:-1:0}},504:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getter=void 0;var n=r(866),i={undefined:function(){}};t.getter=function(e){if(i[e])return i[e];var t=[];return e.replace(n.FIELD_REGEX,(function(e,r,n,i){t.push(void 0!==r?r:n||i)})),i[e]=function(e){for(var r=e,n=0;n<t.length&&r;n++)r=r[t[n]];return r},i[e]}},350:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.guid=void 0,t.guid=function(){var e,t,r="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(r+="-"),r+=(12===e?4:16===e?3&t|8:t).toString(16);return r}},366:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.hasRelativeStackingContext=void 0;var n=r(770);t.hasRelativeStackingContext=function(e){if(!n.canUseDOM)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var r=t.createElement("div");r.style.transform="matrix(10, 0, 0, 10, 0, 0)",r.innerHTML='<div style="position: fixed; top: '.concat(10,'px;">child</div>'),t.body.appendChild(r);var i=10!==r.children[0].getBoundingClientRect().top;return t.body.removeChild(r),i}},650:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=void 0,t.isObject=function(e){return"object"==typeof e}},777:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDir=t.isRtl=void 0;var n=r(770);t.isRtl=function(e){return Boolean(n.canUseDOM&&e&&"rtl"===getComputedStyle(e).direction)},t.getDir=function(e,t){if(!t&&n.canUseDOM&&e){var r=window.getComputedStyle(e).direction;if(r)return r}return t}},385:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Keys=void 0,t.Keys={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46}},681:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getListeners=t.hasListener=void 0,t.hasListener=function(e){return this.v3?Object.keys(this.$attrs).map((function(e){return e.toLowerCase()})).some((function(t){return t.endsWith(e.toLowerCase())})):this.$listeners[e]},t.getListeners=function(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}},680:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.validatePackage=t.setter=t.getter=t.getDir=t.isRtl=t.getDefaultSlots=t.getTabIndex=t.templateDefinition=t.templateRendering=t.getTemplate=t.cloneDate=t.cloneObject=t.cloneValue=t.cloneArray=t.Draggable=t.clone=t.focusContainer=t.focusLastFocusableChild=t.lastFocusableChild=t.focusFirstFocusableChild=t.firstFocusableChild=t.canUseDOM=t.hasListener=t.getListeners=t.isObject=t.noop=t.Keys=t.guid=t.classNames=t.setRef=t.getRef=void 0;var o=r(820);Object.defineProperty(t,"classNames",{enumerable:!0,get:function(){return o.classNames}});var a=r(350);Object.defineProperty(t,"guid",{enumerable:!0,get:function(){return a.guid}});var s=r(385);Object.defineProperty(t,"Keys",{enumerable:!0,get:function(){return s.Keys}});var l=r(770);Object.defineProperty(t,"canUseDOM",{enumerable:!0,get:function(){return l.canUseDOM}});var u=r(360);Object.defineProperty(t,"getRef",{enumerable:!0,get:function(){return u.getRef}}),Object.defineProperty(t,"setRef",{enumerable:!0,get:function(){return u.setRef}});var c=r(580);Object.defineProperty(t,"focusFirstFocusableChild",{enumerable:!0,get:function(){return c.focusFirstFocusableChild}}),Object.defineProperty(t,"focusLastFocusableChild",{enumerable:!0,get:function(){return c.focusLastFocusableChild}}),Object.defineProperty(t,"focusContainer",{enumerable:!0,get:function(){return c.focusContainer}}),Object.defineProperty(t,"firstFocusableChild",{enumerable:!0,get:function(){return c.firstFocusableChild}}),Object.defineProperty(t,"lastFocusableChild",{enumerable:!0,get:function(){return c.lastFocusableChild}});var h=r(346);Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return h.Draggable}});var d=r(920);Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return d.clone}}),Object.defineProperty(t,"cloneArray",{enumerable:!0,get:function(){return d.cloneArray}}),Object.defineProperty(t,"cloneValue",{enumerable:!0,get:function(){return d.cloneValue}}),Object.defineProperty(t,"cloneObject",{enumerable:!0,get:function(){return d.cloneObject}}),Object.defineProperty(t,"cloneDate",{enumerable:!0,get:function(){return d.cloneDate}});var f=r(650);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return f.isObject}});var p=r(482);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return p.noop}});var m=r(504);Object.defineProperty(t,"getter",{enumerable:!0,get:function(){return m.getter}});var g=r(63);Object.defineProperty(t,"setter",{enumerable:!0,get:function(){return g.setter}});var v=r(681);Object.defineProperty(t,"hasListener",{enumerable:!0,get:function(){return v.hasListener}}),Object.defineProperty(t,"getListeners",{enumerable:!0,get:function(){return v.getListeners}});var _=r(337);Object.defineProperty(t,"templateRendering",{enumerable:!0,get:function(){return _.templateRendering}}),Object.defineProperty(t,"getTemplate",{enumerable:!0,get:function(){return _.getTemplate}}),Object.defineProperty(t,"templateDefinition",{enumerable:!0,get:function(){return _.templateDefinition}});var y=r(369);Object.defineProperty(t,"getTabIndex",{enumerable:!0,get:function(){return y.getTabIndex}});var b=r(123);Object.defineProperty(t,"getDefaultSlots",{enumerable:!0,get:function(){return b.getDefaultSlots}});var w=r(777);Object.defineProperty(t,"isRtl",{enumerable:!0,get:function(){return w.isRtl}}),Object.defineProperty(t,"getDir",{enumerable:!0,get:function(){return w.getDir}});var x=r(940);Object.defineProperty(t,"validatePackage",{enumerable:!0,get:function(){return x.validatePackage}}),i(r(484),t),i(r(269),t),i(r(685),t),i(r(984),t),i(r(366),t)},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},360:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setRef=t.getRef=void 0,t.getRef=function(e,t,r){return e.v3?e["".concat(t,"Ref")]:e.$refs["".concat(r||t)]},t.setRef=function(e,t,r){return e.v3?function(r){e["".concat(t,"Ref")]=r}:r||t}},984:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setScrollbarWidth=t.getScrollbarWidth=void 0;var n=r(685),i=r(770);t.getScrollbarWidth=function(){return!(!i.canUseDOM||!document.body)&&(new n.BrowserSupportService).scrollbarWidth},t.setScrollbarWidth=function(){if(!i.canUseDOM||!document.body)return!1;var e=(new n.BrowserSupportService).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))}},63:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setter=void 0;var n=r(866),i={undefined:function(e){return e}};t.setter=function(e){if(i[e])return i[e];var t=[];return e.replace(n.FIELD_REGEX,(function(e,r,n,i){t.push(void 0!==r?r:n||i)})),i[e]=function(e,r){for(var n=e,i=t.length-1,o=0;o<i&&n;o++)n=n[t[o]]=n[t[o]]||{};n[t[i]]=r},i[e]}},337:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.transformListeners=t.getTemplate=t.templateRendering=t.templateDefinition=void 0;var i=r(895),o=r(650),a=i,s=a.version&&"3"===a.version[0];function l(e){if(!e)return e;for(var t={},r=Object.keys(e),n=0;n<r.length;n++){var i=r[n];t["on"+i.charAt(0).toUpperCase()+i.slice(1)]=e[i]}return t}t.templateDefinition={type:[String,Function,Object,Boolean],default:function(){}},t.templateRendering=function(e,t){if(e||!1===e){var r=s?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&r?{kt:!0,type:"slot",render:r,listeners:t}:"string"==typeof e||(0,o.isObject)(e)||"function"==typeof e&&e.component?{kt:!0,type:"component",render:e,listeners:t}:{kt:!0,type:"renderFunction",render:e,listeners:t}}},t.getTemplate=function(e){var t,r,i,o=e.h,a=e.template,u=e.defaultRendering,c=e.defaultSlots,h=e.additionalProps,d=e.additionalListeners,f=e.swapDefaultSlots;if(!a||a&&!0===a.render)return u;if(s){var p=u?u.props:{};t=n(n({},l(d)),a.listeners),r=n(n(n({},p),h),t),i=n(n({},r),t)}else{var m=u&&u.componentOptions,g=m?u.componentOptions.listeners:{},v=m?u.componentOptions.propsData:{};t=n(n(n(n({},g),d),l(d)),a.listeners),i={props:r=n(n(n({},v),h),t),on:t}}if("slot"===a.type){var _=a.render({props:r,listeners:t,methods:t,defaultSlots:c});return _?_[0]:void 0}return"renderFunction"===a.type?f?a.render?a.render(o,u,c,r,t):void 0:a.render?a.render(o,u,r,t,c):void 0:o(a.render,i,s?function(){return[c]}:[c])},t.transformListeners=l},484:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.kendoThemeMaps=void 0,t.kendoThemeMaps={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},269:function(e,t){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},n=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};function i(e,t,i){var o;return i?r(r({},e),((o={})[t]=i.length?n([],i,!0):void 0,o)):e&&e[t]?n([],e[t],!0):[]}function o(e,t,r){if(e[t]){var n=i(e,t).map((function(e){return o(e,t,r)}));return r(i(e,t,n))}return r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getNestedValue=t.getItemPath=t.extendDataItem=t.mapTreeItem=t.mapTree=void 0,t.mapTree=function(e,t,r){return n([],e.map((function(e){return o(e,t,r)})),!0)},t.mapTreeItem=function(e,t,r,n){for(var i=e,o=[],a=0;a<t.length;a++)i=i[t[a]],i=Array.isArray(i)?i:i[r],o.push(i);var s=o.length>1?o[o.length-2]:e,l=t[t.length-1],u=n(s[l]);s.splice(l,1,u)},t.extendDataItem=function(e,t,r){var n;return Object.assign({},e,e[t]?((n={})[t]=e[t].slice(),n):{},r||{})},t.getItemPath=function(e,t,r){var i=[],o=n([],t,!0);if(o.length){var a=e[o.shift()||0];for(i.push(a);o.length&&r;)a=a[r][o.shift()||0],i.push(a)}return i},t.getNestedValue=function(e,t){var r=e.split("."),n=t;return r.forEach((function(e){n=n?n[e]:void 0})),n}},940:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validatePackage=void 0;var n=r(302);t.validatePackage=function(e){var t=n,r=void 0!==t&&t.validatePackage?t:t.default;if(r&&r.validatePackage)r.validatePackage(e);else{var i="License activation failed for ".concat(e.name,"\n");i+="The @progress/kendo-licensing script is not loaded.\n",i+="See ".concat(e.licensingDocsUrl," for more information.\n"),console.warn(i)}}},154:(e,t,r)=>{r.r(t),r.d(t,{Draggable:()=>c,default:()=>d});var n=function(e,t){return function(r){return t(e(r))}},i=function(e,t,r){return e.addEventListener&&e.addEventListener(t,r)},o=function(e,t,r){return e&&e.removeEventListener&&e.removeEventListener(t,r)},a=function(){},s=function(e){return e.preventDefault()},l=/touch/;function u(e){return e.type.match(l)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var c=function(e){var t=this,r=e.press;void 0===r&&(r=a);var l=e.drag;void 0===l&&(l=a);var c=e.release;void 0===c&&(c=a);var h=e.mouseOnly;void 0===h&&(h=!1),this._pressHandler=n(u,r),this._dragHandler=n(u,l),this._releaseHandler=n(u,c),this._ignoreMouse=!1,this._mouseOnly=h,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var r=e.which;r&&r>1||t._ignoreMouse||(i(t.document,"mousemove",t._mousemove),i(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){o(t.document,"mousemove",t._mousemove),o(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(i(t.document,"pointermove",t._pointermove),i(t.document,"pointerup",t._pointerup),i(t.document,"pointercancel",t._pointerup),i(t.document,"contextmenu",s),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(o(t.document,"pointermove",t._pointermove),o(t.document,"pointerup",t._pointerup),o(t.document,"pointercancel",t._pointerup),o(t.document,"contextmenu",s),t._releaseHandler(e))}},h={document:{configurable:!0}};c.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},h.document.get=function(){return this._element?this._element.ownerDocument:document},c.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},c.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?i(e,"pointerdown",this._pointerdown):(i(e,"mousedown",this._mousedown),this._mouseOnly||(i(e,"touchstart",this._touchstart),i(e,"touchmove",this._touchmove),i(e,"touchend",this._touchend)))},c.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return o(e,"pointerdown",this._pointerdown),o(this.document,"pointermove",this._pointermove),o(this.document,"pointerup",this._pointerup),o(this.document,"contextmenu",s),void o(this.document,"pointercancel",this._pointerup);o(e,"mousedown",this._mousedown),this._mouseOnly||(o(e,"touchstart",this._touchstart),o(e,"touchmove",this._touchmove),o(e,"touchend",this._touchend))},c.prototype._usePointers=function(){return!this._mouseOnly&&c.supportPointerEvent()},c.prototype.update=function(e){var t=e.press;void 0===t&&(t=a);var r=e.drag;void 0===r&&(r=a);var i=e.release;void 0===i&&(i=a);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=n(u,t),this._dragHandler=n(u,r),this._releaseHandler=n(u,i),this._mouseOnly=o},c.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(c.prototype,h),c.default=c;const d=c},302:e=>{e.exports=t},895:t=>{t.exports=e}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e].call(o.exports,o,o.exports,i),o.exports}return i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i(545)})()}));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoVueExcelExport=t(require("vue"),require("@progress/kendo-licensing")):e.KendoVueExcelExport=t(e.Vue,e.KendoLicensing)}(self,(function(e,t){return(()=>{"use strict";var r={946:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},424:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},545:(e,t,r)=>{var n=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]},i=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.saveExcel=void 0;var o,a=(o=r(551))&&o.__esModule?o:{default:o};t.saveExcel=a.default,i(r(424),t),i(r(946),t),i(r(628),t),i(r(364),t)},613:(e,t)=>{var r=function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ExporterColumn=t.toExporterColumns=void 0;var n=function(e,t,n){return function(i){n(t,i);var o=e(r({},t)),a=Number(o);return isNaN(a)?o:a}},i=function(e,t){e.$implicit=e.group=t,e.field=t.field,e.value=t.value,e.aggregates=t.aggregates},o=function(e,t){e.group=t.group,e.$implicit=e.aggregates=t},a=function(e,t){};t.toExporterColumns=function(e){var t=[],r=0;return function e(t,n,i){t.forEach((function(t){var o=new s(t,r);if(n.push(o),t.children&&t.children.length>1){var a=o.columns=[];e(t.children,a,i+1)}else r++}))}(e,t,0),t};var s=function(e,t){this.title=e.title,this.field=e.field,this.hidden=e.hidden,this.locked=e.locked,this.width=e.width,this.headerCellOptions=e.headerCellOptions,this.cellOptions=e.cellOptions,this.groupHeaderCellOptions=e.groupHeaderCellOptions,this.groupFooterCellOptions=e.groupFooterCellOptions,this.footerCellOptions=e.footerCellOptions,e.footer&&(this.footerTemplate=n(e.footer,{$implicit:e,column:e,columnIndex:t},a)),e.groupFooter&&(this.groupFooterTemplate=n(e.groupFooter,{column:e,field:e.field},o)),e.groupHeader&&(this.groupHeaderTemplate=n(e.groupHeader,{},i))};t.ExporterColumn=s},628:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isWorkbookOptions=t.toDataURL=t.workbookOptions=void 0;var n=r(364),i=r(613);t.workbookOptions=function(e){var t,r=(0,i.toExporterColumns)(e.columns),o=new n.ExcelExporter({columns:r,data:e.data,filterable:e.filterable,groups:e.group,paddingCellOptions:e.paddingCellOptions,headerPaddingCellOptions:e.headerPaddingCellOptions,hierarchy:e.hierarchy?{depth:(t=e.data,Math.max.apply(Math,t.map((function(e){return e.level})))+1),itemLevel:function(e){return e.level}}:null,collapsible:e.collapsible}).workbook();return o.creator=e.creator,o.date=e.date,o.rtl="rtl"===e.dir,o},t.toDataURL=function(e){return new n.Workbook(e).toDataURL()},t.isWorkbookOptions=function(e){return e&&e.sheets}},169:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-vue-excel-export",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1667290112,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},551:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(628),i=r(202),o=r(680),a=r(169);t.default=function(e){(0,o.validatePackage)(a.packageMetadata);var t=(0,n.workbookOptions)(e);(0,n.toDataURL)(t).then((function(t){e.onExportComplete&&e.onExportComplete.call(void 0,{dataURL:t,options:e}),(0,i.saveAs)(t,e.fileName,{forceProxy:e.forceProxy,proxyURL:e.proxyURL})}))}},202:(e,t,r)=>{function n(e,t,r){void 0===r&&(r={});var n=l;if(r.forceProxy&&!r.proxyURL)throw new Error("No proxyURL is set, but forceProxy is true");r.forceProxy||(o()&&(n=s),navigator.msSaveBlob&&(n=a)),n(e,t,r)}r.r(t),r.d(t,{encodeBase64:()=>h,saveAs:()=>n});var i=function(){return document.createElement("a")},o=function(){return"download"in i()};function a(e,t){var r=e;if("string"==typeof e){for(var n=e.split(";base64,"),i=n[0],o=atob(n[1]),a=new Uint8Array(o.length),s=0;s<o.length;s++)a[s]=o.charCodeAt(s);r=new Blob([a.buffer],{type:i})}navigator.msSaveBlob(r,t)}function s(e,t){var r=e;window.Blob&&e instanceof Blob&&(r=URL.createObjectURL(e));var n=i();n.download=t,n.href=r;var o=document.createEvent("MouseEvents");o.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),n.dispatchEvent(o),setTimeout((function(){return URL.revokeObjectURL(r)}))}function l(e,t,r){if(r.proxyURL){var n=document.createElement("form");n.setAttribute("action",r.proxyURL),n.setAttribute("method","POST"),n.setAttribute("target",r.proxyTarget||"_self");var i=r.proxyData||{};i.fileName=t;var o=e.split(";base64,");for(var a in i.contentType=o[0].replace("data:",""),i.base64=o[1],i)if(i.hasOwnProperty(a)){var s=document.createElement("input");s.setAttribute("type","hidden"),s.setAttribute("name",a),s.setAttribute("value",i[a]),n.appendChild(s)}document.body.appendChild(n),n.submit(),document.body.removeChild(n)}}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=String.fromCharCode;function h(e){for(var t,r,n,i,o,a,s,l=function(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=c(n):n<2048?(t+=c(192|n>>>6),t+=c(128|63&n)):n<65536&&(t+=c(224|n>>>12),t+=c(128|n>>>6&63),t+=c(128|63&n))}return t}(e),h="",d=0;d<l.length;)i=(t=l.charCodeAt(d++))>>2,o=(3&t)<<4|(r=l.charCodeAt(d++))>>4,a=(15&r)<<2|(n=l.charCodeAt(d++))>>6,s=63&n,isNaN(r)?a=s=64:isNaN(n)&&(s=64),h=h+u.charAt(i)+u.charAt(o)+u.charAt(a)+u.charAt(s);return h}},364:(e,t,r)=>{r.r(t),r.d(t,{ExcelExporter:()=>p,IntlService:()=>v,TemplateService:()=>o,Workbook:()=>Zr,Worksheet:()=>Hr});var n={compile:function(e){return e}},i=function(){};i.register=function(e){n=e},i.compile=function(e){return n.compile(e)};const o=i;var a=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,s={};function l(e){if(s[e])return s[e];var t=[];return e.replace(a,(function(e,r,n,i){t.push(void 0!==r?r:n||i)})),s[e]=function(e){for(var r=e,n=0;n<t.length&&r;n++)r=r[t[n]];return r},s[e]}function u(e,t){return e.reduce((function(e,r,n){var i=t(r,n);return null!=i&&e.push(i),e}),[])}function c(e){return e.title+": "+e.value}function h(e,t){for(var r=[],n=0;n<e;n++)r.push(t(n));return r}function d(e){return e.id}s[void 0]=function(e){return e};var f=function(e){e.columns=this._trimColumns(e.columns||[]),this.allColumns=u(this._leafColumns(e.columns||[]),this._prepareColumn),this.columns=this._visibleColumns(this.allColumns),this.options=e,this.data=e.data||[],this.aggregates=e.aggregates||{},this.groups=[].concat(e.groups||[]),this.hasGroups=this.groups.length>0,this.hierarchy=e.hierarchy,this.hasGroupHeaderColumn=this.columns.some((function(e){return e.groupHeaderColumnTemplate})),this.collapsible=this.options.collapsible};f.prototype.workbook=function(){return{sheets:[{columns:this._columns(),rows:this.hierarchy?this._hierarchyRows():this._rows(),freezePane:this._freezePane(),filter:this._filter()}]}},f.prototype._trimColumns=function(e){var t=this;return e.filter((function(e){var r=Boolean(e.field);return!r&&e.columns&&(r=t._trimColumns(e.columns).length>0),r}))},f.prototype._leafColumns=function(e){for(var t=[],r=0;r<e.length;r++)e[r].columns?t=t.concat(this._leafColumns(e[r].columns)):t.push(e[r]);return t},f.prototype._prepareColumn=function(e){if(!e.field)return null;var t=function(t){return l(e.field)(t)},r=null;return e.values&&(r={},e.values.forEach((function(e){r[e.value]=e.text})),t=function(t){return r[l(e.field)(t)]}),Object.assign({},e,{value:t,values:r,groupHeaderTemplate:e.groupHeaderTemplate?o.compile(e.groupHeaderTemplate):c,groupHeaderColumnTemplate:e.groupHeaderColumnTemplate?o.compile(e.groupHeaderColumnTemplate):null,groupFooterTemplate:e.groupFooterTemplate?o.compile(e.groupFooterTemplate):null,footerTemplate:e.footerTemplate?o.compile(e.footerTemplate):null})},f.prototype._filter=function(){if(!this.options.filterable)return null;var e=this._depth();return{from:e,to:e+this.columns.length-1}},f.prototype._createPaddingCells=function(e){var t=this;return h(e,(function(){return Object.assign({background:"#dfdfdf",color:"#333"},t.options.paddingCellOptions)}))},f.prototype._dataRow=function(e,t,r){var n=this._createPaddingCells(t);if(this.hasGroups&&r&&e.items){n=n.concat(this._groupHeaderCells(e,t,r));var i=this._dataRows(e.items,t+1);return i.unshift({type:"group-header",cells:n,level:this.collapsible?t:null}),i.concat(this._footer(e,t))}for(var o=[],a=0;a<this.columns.length;a++)o[a]=this._cell(e,this.columns[a]);return this.hierarchy&&(o[0].colSpan=r-t+1),[{type:"data",cells:n.concat(o),level:this.collapsible?t:null}]},f.prototype._groupHeaderCells=function(e,t,r){var n=[],i=this.allColumns.filter((function(t){return t.field===e.field}))[0]||{},o=i&&i.title?i.title:e.field,a=i?i.groupHeaderTemplate||i.groupHeaderColumnTemplate:null,s=Object.assign({title:o,field:e.field,value:i&&i.values?i.values[e.value]:e.value,aggregates:e.aggregates,items:e.items},e.aggregates[e.field]),l=a?a(s):o+": "+e.value;return n.push(Object.assign({value:l,background:"#dfdfdf",color:"#333",colSpan:(this.hasGroupHeaderColumn?1:this.columns.length)+r-t},i.groupHeaderCellOptions)),this.hasGroupHeaderColumn&&this.columns.forEach((function(t,r){r>0&&n.push(Object.assign({background:"#dfdfdf",color:"#333",value:t.groupHeaderColumnTemplate?t.groupHeaderColumnTemplate(Object.assign({group:s},s,e.aggregates[t.field])):void 0},t.groupHeaderCellOptions))})),n},f.prototype._dataRows=function(e,t){for(var r=this._depth(),n=[],i=0;i<e.length;i++)n.push.apply(n,this._dataRow(e[i],t,r));return n},f.prototype._hierarchyRows=function(){var e,t=this._depth(),r=this.data,n=this.hierarchy.itemLevel,i=this.hierarchy.itemId||d,o=this._hasFooterTemplate(),a=[],s=[],l=0;o||(this.collapsible=!1);for(var u=0;u<r.length;u++){var c=r[u],h=n(c,u);o&&(h>l?s.push({id:e,level:l}):h<l&&a.push.apply(a,this._hierarchyFooterRows(s,h,t)),l=h,e=i(c,u)),a.push.apply(a,this._dataRow(c,h+1,t))}if(o){a.push.apply(a,this._hierarchyFooterRows(s,0,t));var f=r.length?this.aggregates[r[0].parentId]:{};a.push(this._hierarchyFooter(f,0,t))}return this._prependHeaderRows(a),a},f.prototype._hierarchyFooterRows=function(e,t,r){for(var n=[];e.length&&e[e.length-1].level>=t;){var i=e.pop();n.push(this._hierarchyFooter(this.aggregates[i.id],i.level+1,r))}return n},f.prototype._hasFooterTemplate=function(){for(var e=this.columns,t=0;t<e.length;t++)if(e[t].footerTemplate)return!0},f.prototype._hierarchyFooter=function(e,t,r){var n=this.columns.map((function(n,i){var o=i?1:r-t+1;if(n.footerTemplate){var a=(e||{})[n.field];return Object.assign({background:"#dfdfdf",color:"#333",colSpan:o,value:n.footerTemplate(Object.assign({aggregates:e},a))},n.footerCellOptions)}return Object.assign({background:"#dfdfdf",color:"#333",colSpan:o},n.footerCellOptions)}));return{type:"footer",cells:this._createPaddingCells(t).concat(n),level:this.collapsible?t:null}},f.prototype._footer=function(e,t){var r,n,i=[],o=this.columns.some((function(e){return e.groupFooterTemplate}));o&&(n={group:{items:e.items,field:e.field,value:e.value}},r={},Object.keys(e.aggregates).forEach((function(t){r[t]=Object.assign({},e.aggregates[t],n)})));var a=this.columns.map((function(t){if(t.groupFooterTemplate){var i=Object.assign({},r,e.aggregates[t.field],n);return Object.assign({background:"#dfdfdf",color:"#333",value:t.groupFooterTemplate(i)},t.groupFooterCellOptions)}return Object.assign({background:"#dfdfdf",color:"#333"},t.groupFooterCellOptions)}));return o&&i.push({type:"group-footer",cells:this._createPaddingCells(this.groups.length).concat(a),level:this.collapsible?t:null}),i},f.prototype._isColumnVisible=function(e){return this._visibleColumns([e]).length>0&&(e.field||e.columns)},f.prototype._visibleColumns=function(e){var t=this;return e.filter((function(e){var r=e.exportable;"object"==typeof r&&(r=e.exportable.excel);var n=!e.hidden&&!1!==r,i=e.hidden&&!0===r,o=n||i;return o&&e.columns&&(o=t._visibleColumns(e.columns).length>0),o}))},f.prototype._headerRow=function(e,t){var r=this,n=e.cells.map((function(t){return Object.assign(t,{colSpan:t.colSpan>1?t.colSpan:1,rowSpan:e.rowSpan>1&&!t.colSpan?e.rowSpan:1})}));return this.hierarchy&&n[0].firstCell&&(n[0].colSpan+=this._depth()),{type:"header",cells:h(t.length,(function(){return Object.assign({background:"#7a7a7a",color:"#fff"},r.options.headerPaddingCellOptions)})).concat(n)}},f.prototype._prependHeaderRows=function(e){var t=this.groups,r=[{rowSpan:1,cells:[],index:0}];this._prepareHeaderRows(r,this.options.columns);for(var n=r.length-1;n>=0;n--)e.unshift(this._headerRow(r[n],t))},f.prototype._prepareHeaderRows=function(e,t,r,n){for(var i=this,o=n||e[e.length-1],a=e[o.index+1],s=0,l=0;l<t.length;l++){var u=t[l];if(i._isColumnVisible(u)){var c=Object.assign({background:"#7a7a7a",color:"#fff",value:u.title||u.field,colSpan:0,firstCell:0===l&&(!r||r.firstCell)},u.headerCellOptions);o.cells.push(c),u.columns&&u.columns.length&&(a||(a={rowSpan:0,cells:[],index:e.length},e.push(a)),c.colSpan=i._trimColumns(i._visibleColumns(u.columns)).length,i._prepareHeaderRows(e,u.columns,c,a),s+=c.colSpan-1,o.rowSpan=e.length-o.index)}}r&&(r.colSpan+=s)},f.prototype._rows=function(){var e=this,t=this._dataRows(this.data,0);if(this.columns.length){this._prependHeaderRows(t);var r=!1,n=this.columns.map((function(t){return t.footerTemplate?(r=!0,Object.assign({background:"#dfdfdf",color:"#333",value:t.footerTemplate(Object.assign({},e.aggregates,e.aggregates[t.field]))},t.footerCellOptions)):Object.assign({background:"#dfdfdf",color:"#333"},t.footerCellOptions)}));r&&t.push({type:"footer",cells:this._createPaddingCells(this.groups.length).concat(n)})}return t},f.prototype._headerDepth=function(e){for(var t=0,r=0;r<e.length;r++)if(e[r].columns){var n=this._headerDepth(e[r].columns);n>t&&(t=n)}return 1+t},f.prototype._freezePane=function(){var e=this._visibleColumns(this.options.columns||[]),t=this._visibleColumns(this._trimColumns(this._leafColumns(e.filter((function(e){return e.locked}))))).length;return{rowSplit:this._headerDepth(e),colSplit:t?t+this.groups.length:0}},f.prototype._cell=function(e,t){return Object.assign({value:t.value(e)},t.cellOptions)},f.prototype._depth=function(){return this.hierarchy?this.hierarchy.depth:this.groups.length},f.prototype._columns=function(){return h(this._depth(),(function(){return{width:20}})).concat(this.columns.map((function(e){return{width:parseInt(e.width,10),autoWidth:!e.width}})))};const p=f;var m={toString:function(e){return e}},g=function(){};g.register=function(e){m=e},g.toString=function(e,t){return m.toString(e,t)};const v=g;var _=-2;function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function b(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)y(r,n)&&(e[n]=r[n])}}return e}function w(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}var x={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){var t,r,n,i,o,a;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(a=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)o=e[t],a.set(o,i),i+=o.length;return a},Buf8:function(e){return new Uint8Array(e)},Buf16:function(e){return new Uint16Array(e)},Buf32:function(e){return new Int32Array(e)}},k={arraySet:function(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)},Buf8:function(e){return new Array(e)},Buf16:function(e){return new Array(e)},Buf32:function(e){return new Array(e)}},C=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;return C=function(){return e},e},O=function(e,t,r,n,i){return(O=C()?x.arraySet:k.arraySet)(e,t,r,n,i)},S=function(e){return(S=C()?x.flattenChunks:k.flattenChunks)(e)},z=function(e){return(z=C()?x.Buf8:k.Buf8)(e)},P=function(e){return(P=C()?x.Buf16:k.Buf16)(e)},I=function(e){return(I=C()?x.Buf32:k.Buf32)(e)},A=function(){var e=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}return A=function(){return e},e},D=function(){var e=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){e=!1}return D=function(){return e},e},T=function(e){for(var t=z(256),r=0;r<256;r++)t[r]=r>=252?6:r>=248?5:r>=240?4:r>=224?3:r>=192?2:1;return t[254]=t[254]=1,T=function(e){return t[e]},t[e]};function F(e){var t,r,n,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t}function j(e,t){if(t<65534&&(e.subarray&&D()||!e.subarray&&A()))return String.fromCharCode.apply(null,w(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}function E(e,t){var r,n,i,o,a=t||e.length,s=new Array(2*a);for(n=0,r=0;r<a;)if((i=e[r++])<128)s[n++]=i;else if((o=T(i))>4)s[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r<a;)i=i<<6|63&e[r++],o--;o>1?s[n++]=65533:i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return j(s,n)}function R(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+T(e[r])>t?r:t}function M(e,t,r,n){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}var L=function(){var e=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();return L=function(){return e},e};function B(e,t,r,n){var i=L(),o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}function U(e,t){var r,n,i,o,a,s,l,u,c,h,d,f,p,m,g,v,_,y,b,w,x,k,C,O,S;r=e.state,n=e.next_in,O=e.input,i=n+(e.avail_in-5),o=e.next_out,S=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,h=r.wnext,d=r.window,f=r.hold,p=r.bits,m=r.lencode,g=r.distcode,v=(1<<r.lenbits)-1,_=(1<<r.distbits)-1;e:do{p<15&&(f+=O[n++]<<p,p+=8,f+=O[n++]<<p,p+=8),y=m[f&v];t:for(;;){if(f>>>=b=y>>>24,p-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(f&(1<<b)-1)];continue t}if(32&b){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=65535&y,(b&=15)&&(p<b&&(f+=O[n++]<<p,p+=8),w+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=O[n++]<<p,p+=8,f+=O[n++]<<p,p+=8),y=g[f&_];r:for(;;){if(f>>>=b=y>>>24,p-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(f&(1<<b)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(x=65535&y,p<(b&=15)&&(f+=O[n++]<<p,(p+=8)<b&&(f+=O[n++]<<p,p+=8)),(x+=f&(1<<b)-1)>l){e.msg="invalid distance too far back",r.mode=30;break e}if(f>>>=b,p-=b,x>(b=o-a)){if((b=x-b)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(k=0,C=d,0===h){if(k+=u-b,b<w){w-=b;do{S[o++]=d[k++]}while(--b);k=o-x,C=S}}else if(h<b){if(k+=u+h-b,(b-=h)<w){w-=b;do{S[o++]=d[k++]}while(--b);if(k=0,h<w){w-=b=h;do{S[o++]=d[k++]}while(--b);k=o-x,C=S}}}else if(k+=h-b,b<w){w-=b;do{S[o++]=d[k++]}while(--b);k=o-x,C=S}for(;w>2;)S[o++]=C[k++],S[o++]=C[k++],S[o++]=C[k++],w-=3;w&&(S[o++]=C[k++],w>1&&(S[o++]=C[k++]))}else{k=o-x;do{S[o++]=S[k++],S[o++]=S[k++],S[o++]=S[k++],w-=3}while(w>2);w&&(S[o++]=S[k++],w>1&&(S[o++]=S[k++]))}break}}break}}while(n<i&&o<s);n-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=o<s?s-o+257:257-(o-s),r.hold=f,r.bits=p}var N=[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],W=[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],H=[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],V=[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];function q(e,t,r,n,i,o,a,s){var l,u,c,h,d,f,p,m,g,v=s.bits,_=0,y=0,b=0,w=0,x=0,k=0,C=0,O=0,S=0,z=0,I=null,A=0,D=P(16),T=P(16),F=null,j=0;for(_=0;_<=15;_++)D[_]=0;for(y=0;y<n;y++)D[t[r+y]]++;for(x=v,w=15;w>=1&&0===D[w];w--);if(x>w&&(x=w),0===w)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(b=1;b<w&&0===D[b];b++);for(x<b&&(x=b),O=1,_=1;_<=15;_++)if(O<<=1,(O-=D[_])<0)return-1;if(O>0&&(0===e||1!==w))return-1;for(T[1]=0,_=1;_<15;_++)T[_+1]=T[_]+D[_];for(y=0;y<n;y++)0!==t[r+y]&&(a[T[t[r+y]]++]=y);if(0===e?(I=F=a,f=19):1===e?(I=N,A-=257,F=W,j-=257,f=256):(I=H,F=V,f=-1),z=0,y=0,_=b,d=o,k=x,C=0,c=-1,h=(S=1<<x)-1,1===e&&S>852||2===e&&S>592)return 1;for(;;){p=_-C,a[y]<f?(m=0,g=a[y]):a[y]>f?(m=F[j+a[y]],g=I[A+a[y]]):(m=96,g=0),l=1<<_-C,b=u=1<<k;do{i[d+(z>>C)+(u-=l)]=p<<24|m<<16|g|0}while(0!==u);for(l=1<<_-1;z&l;)l>>=1;if(0!==l?(z&=l-1,z+=l):z=0,y++,0==--D[_]){if(_===w)break;_=t[r+a[y]]}if(_>x&&(z&h)!==c){for(0===C&&(C=x),d+=b,O=1<<(k=_-C);k+C<w&&!((O-=D[k+C])<=0);)k++,O<<=1;if(S+=1<<k,1===e&&S>852||2===e&&S>592)return 1;i[c=z&h]=x<<24|k<<16|d-o|0}}return 0!==z&&(i[d+z]=_-C<<24|64<<16|0),s.bits=x,0}var K=-2,X=12,$=30;function Z(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function G(){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=P(320),this.work=P(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Y(e,t){var r,n;return e?(n=new G,e.state=n,n.window=null,r=function(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?K:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,function(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(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=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=I(852),t.distcode=t.distdyn=I(592),t.sane=1,t.back=-1,0):K}(e)):K}(e))):K}(e,t),0!==r&&(e.state=null),r):K}var J,Q,ee=!0;function te(e){if(ee){var t;for(J=I(512),Q=I(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(q(1,e.lens,0,288,J,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;q(2,e.lens,0,32,Q,0,e.work,{bits:5}),ee=!1}e.lencode=J,e.lenbits=9,e.distcode=Q,e.distbits=5}function re(e,t,r,n){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=z(o.wsize)),n>=o.wsize?(O(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>n&&(i=n),O(o.window,t,r-n,i,o.wnext),(n-=i)?(O(o.window,t,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}function ne(e,t){var r,n,i,o,a,s,l,u,c,h,d,f,p,m,g,v,_,y,b,w,x,k,C,S,P=0,I=z(4),A=[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 K;(r=e.state).mode===X&&(r.mode=13),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,n=e.input,s=e.avail_in,u=r.hold,c=r.bits,h=s,d=l,k=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(2&r.wrap&&35615===u){r.check=0,I[0]=255&u,I[1]=u>>>8&255,r.check=B(r.check,I,2,0),u=0,c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=$;break}if(8!=(15&u)){e.msg="unknown compression method",r.mode=$;break}if(c-=4,x=8+(15&(u>>>=4)),0===r.wbits)r.wbits=x;else if(x>r.wbits){e.msg="invalid window size",r.mode=$;break}r.dmax=1<<x,e.adler=r.check=1,r.mode=512&u?10:X,u=0,c=0;break;case 2:for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(r.flags=u,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=$;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=$;break}r.head&&(r.head.text=u>>8&1),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,r.check=B(r.check,I,2,0)),u=0,c=0,r.mode=3;case 3:for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.head&&(r.head.time=u),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,I[2]=u>>>16&255,I[3]=u>>>24&255,r.check=B(r.check,I,4,0)),u=0,c=0,r.mode=4;case 4:for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.head&&(r.head.xflags=255&u,r.head.os=u>>8),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,r.check=B(r.check,I,2,0)),u=0,c=0,r.mode=5;case 5:if(1024&r.flags){for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.length=u,r.head&&(r.head.extra_len=u),512&r.flags&&(I[0]=255&u,I[1]=u>>>8&255,r.check=B(r.check,I,2,0)),u=0,c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((f=r.length)>s&&(f=s),f&&(r.head&&(x=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),O(r.head.extra,n,o,f,x)),512&r.flags&&(r.check=B(r.check,n,f,o)),s-=f,o+=f,r.length-=f),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break e;f=0;do{x=n[o+f++],r.head&&x&&r.length<65536&&(r.head.name+=String.fromCharCode(x))}while(x&&f<s);if(512&r.flags&&(r.check=B(r.check,n,f,o)),s-=f,o+=f,x)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===s)break e;f=0;do{x=n[o+f++],r.head&&x&&r.length<65536&&(r.head.comment+=String.fromCharCode(x))}while(x&&f<s);if(512&r.flags&&(r.check=B(r.check,n,f,o)),s-=f,o+=f,x)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;c<16;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(u!==(65535&r.check)){e.msg="header crc mismatch",r.mode=$;break}u=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=X;break;case 10:for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}e.adler=r.check=Z(u),u=0,c=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,r.hold=u,r.bits=c,2;e.adler=r.check=1,r.mode=X;case X:if(5===t||6===t)break e;case 13:if(r.last){u>>>=7&c,c-=7&c,r.mode=27;break}for(;c<3;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}switch(r.last=1&u,c-=1,3&(u>>>=1)){case 0:r.mode=14;break;case 1:if(te(r),r.mode=20,6===t){u>>>=2,c-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=$}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",r.mode=$;break}if(r.length=65535&u,u=0,c=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(f=r.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break e;O(i,n,o,f,a),s-=f,o+=f,l-=f,a+=f,r.length-=f;break}r.mode=X;break;case 17:for(;c<14;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(r.nlen=257+(31&u),u>>>=5,c-=5,r.ndist=1+(31&u),u>>>=5,c-=5,r.ncode=4+(15&u),u>>>=4,c-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=$;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;c<3;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.lens[A[r.have++]]=7&u,u>>>=3,c-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},k=q(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,k){e.msg="invalid code lengths set",r.mode=$;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;v=(P=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,_=65535&P,!((g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(_<16)u>>>=g,c-=g,r.lens[r.have++]=_;else{if(16===_){for(S=g+2;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(u>>>=g,c-=g,0===r.have){e.msg="invalid bit length repeat",r.mode=$;break}x=r.lens[r.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===_){for(S=g+3;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}c-=g,x=0,f=3+(7&(u>>>=g)),u>>>=3,c-=3}else{for(S=g+7;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}c-=g,x=0,f=11+(127&(u>>>=g)),u>>>=7,c-=7}if(r.have+f>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=$;break}for(;f--;)r.lens[r.have++]=x}}if(r.mode===$)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=$;break}if(r.lenbits=9,C={bits:r.lenbits},k=q(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,k){e.msg="invalid literal/lengths set",r.mode=$;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},k=q(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,k){e.msg="invalid distances set",r.mode=$;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,r.hold=u,r.bits=c,U(e,d),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,n=e.input,s=e.avail_in,u=r.hold,c=r.bits,r.mode===X&&(r.back=-1);break}for(r.back=0;v=(P=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,_=65535&P,!((g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(v&&0==(240&v)){for(y=g,b=v,w=_;v=(P=r.lencode[w+((u&(1<<y+b)-1)>>y)])>>>16&255,_=65535&P,!(y+(g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=y,c-=y,r.back+=y}if(u>>>=g,c-=g,r.back+=g,r.length=_,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=X;break}if(64&v){e.msg="invalid literal/length code",r.mode=$;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(S=r.extra;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(P=r.distcode[u&(1<<r.distbits)-1])>>>16&255,_=65535&P,!((g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(0==(240&v)){for(y=g,b=v,w=_;v=(P=r.distcode[w+((u&(1<<y+b)-1)>>y)])>>>16&255,_=65535&P,!(y+(g=P>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=y,c-=y,r.back+=y}if(u>>>=g,c-=g,r.back+=g,64&v){e.msg="invalid distance code",r.mode=$;break}r.offset=_,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(S=r.extra;c<S;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=$;break}r.mode=25;case 25:if(0===l)break e;if(f=d-l,r.offset>f){if((f=r.offset-f)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=$;break}f>r.wnext?(f-=r.wnext,p=r.wsize-f):p=r.wnext-f,f>r.length&&(f=r.length),m=r.window}else m=i,p=a-r.offset,f=r.length;f>l&&(f=l),l-=f,r.length-=f;do{i[a++]=m[p++]}while(--f);0===r.length&&(r.mode=21);break;case 26:if(0===l)break e;i[a++]=r.length,l--,r.mode=21;break;case 27:if(r.wrap){for(;c<32;){if(0===s)break e;s--,u|=n[o++]<<c,c+=8}if(d-=l,e.total_out+=d,r.total+=d,d&&(e.adler=r.check=r.flags?B(r.check,i,d,a-d):M(r.check,i,d,a-d)),d=l,(r.flags?u:Z(u))!==r.check){e.msg="incorrect data check",r.mode=$;break}u=0,c=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(u!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=$;break}u=0,c=0}r.mode=29;case 29:k=1;break e;case $:k=-3;break e;case 31:return-4;default:return K}return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,r.hold=u,r.bits=c,(r.wsize||d!==e.avail_out&&r.mode<$&&(r.mode<27||4!==t))&&re(e,e.output,e.next_out,d-e.avail_out),h-=e.avail_in,d-=e.avail_out,e.total_in+=h,e.total_out+=d,r.total+=d,r.wrap&&d&&(e.adler=r.check=r.flags?B(r.check,i,d,e.next_out-d):M(r.check,i,d,e.next_out-d)),e.data_type=r.bits+(r.last?64:0)+(r.mode===X?128:0)+(20===r.mode||15===r.mode?256:0),(0===h&&0===d||4===t)&&0===k&&(k=-5),k}function ie(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?K:11===r.mode&&M(1,t,n,0)!==r.check?-3:re(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):K}var oe={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"};function ae(){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}function se(){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}var le=Object.prototype.toString,ue=function e(t){if(!(this instanceof e))return new e(t);this.options=b({chunkSize:16384,windowBits:0,to:""},t||{});var r=this.options;r.raw&&r.windowBits>=0&&r.windowBits<16&&(r.windowBits=-r.windowBits,0===r.windowBits&&(r.windowBits=-15)),!(r.windowBits>=0&&r.windowBits<16)||t&&t.windowBits||(r.windowBits+=32),r.windowBits>15&&r.windowBits<48&&0==(15&r.windowBits)&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ae,this.strm.avail_out=0;var n,i,o,a=Y(this.strm,r.windowBits);if(0!==a)throw new Error(oe[a]);if(this.header=new se,n=this.strm,i=this.header,n&&n.state&&(0==(2&(o=n.state).wrap)||(o.head=i,i.done=!1)),r.dictionary&&("string"==typeof r.dictionary?r.dictionary=F(r.dictionary):"[object ArrayBuffer]"===le.call(r.dictionary)&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&0!==(a=ie(this.strm,r.dictionary))))throw new Error(oe[a])};function ce(e){for(var t=e.length;--t>=0;)e[t]=0}ue.prototype.push=function(e,t){var r,n,i,o,a,s,l=this.strm,u=this.options.chunkSize,c=this.options.dictionary,h=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?l.input=function(e){for(var t=new Uint8Array(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t}(e):"[object ArrayBuffer]"===le.call(e)?l.input=new Uint8Array(e):l.input=e,l.next_in=0,l.avail_in=l.input.length;do{if(0===l.avail_out&&(l.output=z(u),l.next_out=0,l.avail_out=u),2===(r=ne(l,0))&&c&&(s="string"==typeof c?F(c):"[object ArrayBuffer]"===le.call(c)?new Uint8Array(c):c,r=ie(this.strm,s)),-5===r&&!0===h&&(r=0,h=!1),1!==r&&0!==r)return this.onEnd(r),this.ended=!0,!1;l.next_out&&(0!==l.avail_out&&1!==r&&(0!==l.avail_in||4!==n&&2!==n)||("string"===this.options.to?(i=R(l.output,l.next_out),o=l.next_out-i,a=E(l.output,i),l.next_out=o,l.avail_out=u-o,o&&O(l.output,l.output,i,o,0),this.onData(a)):this.onData(w(l.output,l.next_out)))),0===l.avail_in&&0===l.avail_out&&(h=!0)}while((l.avail_in>0||0===l.avail_out)&&1!==r);return 1===r&&(n=4),4===n?(r=function(e){if(!e||!e.state)return K;var t=e.state;return t.window&&(t.window=null),e.state=null,0}(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),l.avail_out=0,!0)},ue.prototype.onData=function(e){this.chunks.push(e)},ue.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=S(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var he,de,fe,pe,me,ge,ve,_e,ye,be=[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],we=[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],xe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ke=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function Ce(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function Oe(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Se(e){return e<256?fe[e]:fe[256+(e>>>7)]}function ze(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Pe(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,ze(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Ie(e,t,r){Pe(e,r[2*t],r[2*t+1])}function Ae(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function De(e,t,r){var n,i,o=new Array(16),a=0;for(n=1;n<=15;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Ae(o[s]++,s))}}function Te(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Fe(e){e.bi_valid>8?ze(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 je(e,t,r,n){var i=2*t,o=2*r;return e[i]<e[o]||e[i]===e[o]&&n[t]<=n[r]}function Ee(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&je(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!je(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function Re(e,t,r){var n,i,o,a,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?Ie(e,i,t):(Ie(e,(o=pe[i])+256+1,t),0!==(a=be[o])&&Pe(e,i-=me[o],a),Ie(e,o=Se(--n),r),0!==(a=we[o])&&Pe(e,n-=ge[o],a))}while(s<e.last_lit);Ie(e,256,t)}function Me(e,t){var r,n,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<l;r++)0!==o[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):o[2*r+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;r>=1;r--)Ee(e,o,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ee(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,Ee(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,a,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(o=l[2*l[2*(n=e.heap[r])+1]+1]+1)>p&&(o=p,m++),l[2*n+1]=o,n>u||(e.bl_count[o]++,a=0,n>=f&&(a=d[n-f]),s=l[2*n],e.opt_len+=s*(o+a),h&&(e.static_len+=s*(c[2*n+1]+a)));if(0!==m){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--)for(n=e.bl_count[o];0!==n;)(i=e.heap[--r])>u||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),n--)}}(e,t),De(o,u,e.bl_count)}function Le(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=t[2*(n+1)+1],++s<l&&i===a||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4))}function Be(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),n=0;n<=r;n++)if(i=a,a=t[2*(n+1)+1],!(++s<l&&i===a)){if(s<u)do{Ie(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(Ie(e,i,e.bl_tree),s--),Ie(e,16,e.bl_tree),Pe(e,s-3,2)):s<=10?(Ie(e,17,e.bl_tree),Pe(e,s-3,3)):(Ie(e,18,e.bl_tree),Pe(e,s-11,7));s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4)}}var Ue=!1;function Ne(e,t,r,n){Pe(e,0+(n?1:0),3),function(e,t,r,n){Fe(e),ze(e,r),ze(e,~r),O(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r)}function We(e,t,r){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&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(pe[r]+256+1)]++,e.dyn_dtree[2*Se(t)]++),e.last_lit===e.lit_bufsize-1}var He=258,Ve=262,qe=103,Ke=113,Xe=666;function $e(e,t){return e.msg=oe[t],t}function Ze(e){return(e<<1)-(e>4?9:0)}function Ge(e){for(var t=e.length;--t>=0;)e[t]=0}function Ye(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(O(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function Je(e,t){(function(e,t,r,n){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),Me(e,e.l_desc),Me(e,e.d_desc),a=function(e){var t;for(Le(e,e.dyn_ltree,e.l_desc.max_code),Le(e,e.dyn_dtree,e.d_desc.max_code),Me(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*ke[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?Ne(e,t,r,n):4===e.strategy||o===i?(Pe(e,2+(n?1:0),3),Re(e,he,de)):(Pe(e,4+(n?1:0),3),function(e,t,r,n){var i;for(Pe(e,t-257,5),Pe(e,r-1,5),Pe(e,n-4,4),i=0;i<n;i++)Pe(e,e.bl_tree[2*ke[i]+1],3);Be(e,e.dyn_ltree,t-1),Be(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Re(e,e.dyn_ltree,e.dyn_dtree)),Te(e),n&&Fe(e)})(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ye(e.strm)}function Qe(e,t){e.pending_buf[e.pending++]=t}function et(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function tt(e,t){var r,n,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-Ve?e.strstart-(e.w_size-Ve):0,u=e.window,c=e.w_mask,h=e.prev,d=e.strstart+He,f=u[o+a-1],p=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(r=t)+a]===p&&u[r+a-1]===f&&u[r]===u[o]&&u[++r]===u[o+1]){o+=2,r++;do{}while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<d);if(n=He-(d-o),o=d-He,n>a){if(e.match_start=t,a=n,n>=s)break;f=u[o+a-1],p=u[o+a]}}}while((t=h[t&c])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function rt(e){var t,r,n,i,o,a,s,l,u,c,h=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-Ve)){O(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=h?n-h:0}while(--r);t=r=h;do{n=e.prev[--t],e.prev[t]=n>=h?n-h:0}while(--r);i+=h}if(0===e.strm.avail_in)break;if(a=e.strm,s=e.window,l=e.strstart+e.lookahead,u=i,c=void 0,(c=a.avail_in)>u&&(c=u),r=0===c?0:(a.avail_in-=c,O(s,a.input,a.next_in,c,l),1===a.state.wrap?a.adler=M(a.adler,s,c,l):2===a.state.wrap&&(a.adler=B(a.adler,s,c,l)),a.next_in+=c,a.total_in+=c,c),e.lookahead+=r,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+3-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<Ve&&0!==e.strm.avail_in)}function nt(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(rt(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,Je(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-Ve&&(Je(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Je(e,!1),e.strm.avail_out),1)}function it(e,t){for(var r,n;;){if(e.lookahead<Ve){if(rt(e),e.lookahead<Ve&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-Ve&&(e.match_length=tt(e,r)),e.match_length>=3)if(n=We(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=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 n=We(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(Je(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Je(e,!1),0===e.strm.avail_out)?1:2}function ot(e,t){for(var r,n,i;;){if(e.lookahead<Ve){if(rt(e),e.lookahead<Ve&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=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=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-Ve&&(e.match_length=tt(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=We(e,e.strstart-1-e.prev_match,e.prev_length-3),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+3-1])&e.hash_mask,r=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=2,e.strstart++,n&&(Je(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=We(e,0,e.window[e.strstart-1]))&&Je(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=We(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Je(e,!1),0===e.strm.avail_out)?1:2}function at(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}var st=function(){var e=[new at(0,0,0,0,nt),new at(4,4,8,4,it),new at(4,5,16,8,it),new at(4,6,32,32,it),new at(4,4,16,16,ot),new at(8,16,32,32,ot),new at(8,16,128,128,ot),new at(8,32,128,256,ot),new at(32,128,258,1024,ot),new at(32,258,258,4096,ot)];return st=function(){return e},e};function lt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=P(1146),this.dyn_dtree=P(122),this.bl_tree=P(78),Ge(this.dyn_ltree),Ge(this.dyn_dtree),Ge(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=P(16),this.heap=P(573),Ge(this.heap),this.heap_len=0,this.heap_max=0,this.depth=P(573),Ge(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 ut(e){var t=function(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:Ke,e.adler=2===t.wrap?0:1,t.last_flush=0,function(e){Ue||(function(){var e,t,r,n,i,o=new Array(16);for(ce(he=new Array(576)),ce(de=new Array(60)),ce(fe=new Array(512)),ce(pe=new Array(256)),ce(me=new Array(29)),ce(ge=new Array(30)),r=0,n=0;n<28;n++)for(me[n]=r,e=0;e<1<<be[n];e++)pe[r++]=n;for(pe[r-1]=n,i=0,n=0;n<16;n++)for(ge[n]=i,e=0;e<1<<we[n];e++)fe[i++]=n;for(i>>=7;n<30;n++)for(ge[n]=i<<7,e=0;e<1<<we[n]-7;e++)fe[256+i++]=n;for(t=0;t<=15;t++)o[t]=0;for(e=0;e<=143;)he[2*e+1]=8,e++,o[8]++;for(;e<=255;)he[2*e+1]=9,e++,o[9]++;for(;e<=279;)he[2*e+1]=7,e++,o[7]++;for(;e<=287;)he[2*e+1]=8,e++,o[8]++;for(De(he,287,o),e=0;e<30;e++)de[2*e+1]=5,de[2*e]=Ae(e,5);ve=new Ce(he,be,257,286,15),_e=new Ce(de,we,0,30,15),ye=new Ce(new Array(0),xe,0,19,7)}(),Ue=!0),e.l_desc=new Oe(e.dyn_ltree,ve),e.d_desc=new Oe(e.dyn_dtree,_e),e.bl_desc=new Oe(e.bl_tree,ye),e.bi_buf=0,e.bi_valid=0,Te(e)}(t),0):$e(e,_)}(e);return 0===t&&function(e){e.window_size=2*e.w_size,Ge(e.head);var t=st();e.max_lazy_match=t[e.level].max_lazy,e.good_match=t[e.level].good_length,e.nice_match=t[e.level].nice_length,e.max_chain_length=t[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0}(e.state),t}function ct(e,t){var r,n,i,o;if(!e||!e.state||t>5||t<0)return e?$e(e,_):_;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||n.status===Xe&&4!==t)return $e(e,0===e.avail_out?-5:_);if(n.strm=e,r=n.last_flush,n.last_flush=t,42===n.status)if(2===n.wrap)e.adler=0,Qe(n,31),Qe(n,139),Qe(n,8),n.gzhead?(Qe(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Qe(n,255&n.gzhead.time),Qe(n,n.gzhead.time>>8&255),Qe(n,n.gzhead.time>>16&255),Qe(n,n.gzhead.time>>24&255),Qe(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Qe(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Qe(n,255&n.gzhead.extra.length),Qe(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=B(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(Qe(n,0),Qe(n,0),Qe(n,0),Qe(n,0),Qe(n,0),Qe(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Qe(n,3),n.status=Ke);else{var a=8+(n.w_bits-8<<4)<<8;a|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(a|=32),a+=31-a%31,n.status=Ke,et(n,a),0!==n.strstart&&(et(n,e.adler>>>16),et(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),Ye(e),i=n.pending,n.pending!==n.pending_buf_size));)Qe(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),Ye(e),i=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,Qe(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),Ye(e),i=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,Qe(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=B(e.adler,n.pending_buf,n.pending-i,i)),0===o&&(n.status=qe)}else n.status=qe;if(n.status===qe&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ye(e),n.pending+2<=n.pending_buf_size&&(Qe(n,255&e.adler),Qe(n,e.adler>>8&255),e.adler=0,n.status=Ke)):n.status=Ke),0!==n.pending){if(Ye(e),0===e.avail_out)return n.last_flush=-1,0}else if(0===e.avail_in&&Ze(t)<=Ze(r)&&4!==t)return $e(e,-5);if(n.status===Xe&&0!==e.avail_in)return $e(e,-5);if(0!==e.avail_in||0!==n.lookahead||0!==t&&n.status!==Xe){var s=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(rt(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=We(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Je(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Je(e,!1),0===e.strm.avail_out)?1:2}(n,t):3===n.strategy?function(e,t){for(var r,n,i,o,a=e.window;;){if(e.lookahead<=He){if(rt(e),e.lookahead<=He&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=a[i=e.strstart-1])===a[++i]&&n===a[++i]&&n===a[++i]){o=e.strstart+He;do{}while(n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&i<o);e.match_length=He-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=We(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=We(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Je(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Je(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Je(e,!1),0===e.strm.avail_out)?1:2}(n,t):st()[n.level].func(n,t);if(3!==s&&4!==s||(n.status=Xe),1===s||3===s)return 0===e.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===t?function(e){Pe(e,2,3),Ie(e,256,he),function(e){16===e.bi_valid?(ze(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)}(e)}(n):5!==t&&(Ne(n,0,0,!1),3===t&&(Ge(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),Ye(e),0===e.avail_out))return n.last_flush=-1,0}return 4!==t?0:n.wrap<=0?1:(2===n.wrap?(Qe(n,255&e.adler),Qe(n,e.adler>>8&255),Qe(n,e.adler>>16&255),Qe(n,e.adler>>24&255),Qe(n,255&e.total_in),Qe(n,e.total_in>>8&255),Qe(n,e.total_in>>16&255),Qe(n,e.total_in>>24&255)):(et(n,e.adler>>>16),et(n,65535&e.adler)),Ye(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)}var ht=Object.prototype.toString,dt=function(e){this.options=b({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 ae,this.strm.avail_out=0;var r,n,i=function(e,t,r,n,i,o){if(!e)return _;var a=1;if(-1===t&&(t=6),n<0?(a=0,n=-n):n>15&&(a=2,n-=16),i<1||i>9||8!==r||n<8||n>15||t<0||t>9||o<0||o>4)return $e(e,_);8===n&&(n=9);var s=new lt;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=z(2*s.w_size),s.head=P(s.hash_size),s.prev=P(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=z(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=r,ut(e)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==i)throw new Error(oe[i]);if(t.header&&(r=this.strm,n=t.header,r&&r.state&&(2!==r.state.wrap||(r.state.gzhead=n))),t.dictionary){var o;if(o="string"==typeof t.dictionary?F(t.dictionary):"[object ArrayBuffer]"===ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,i=function(e,t){var r,n,i,o,a,s,l,u,c=t.length;if(!e||!e.state)return _;if(2===(o=(r=e.state).wrap)||1===o&&42!==r.status||r.lookahead)return _;for(1===o&&(e.adler=M(e.adler,t,c,0)),r.wrap=0,c>=r.w_size&&(0===o&&(Ge(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=z(r.w_size),O(u,t,c-r.w_size,r.w_size,0),t=u,c=r.w_size),a=e.avail_in,s=e.next_in,l=e.input,e.avail_in=c,e.next_in=0,e.input=t,rt(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--i);r.strstart=n,r.lookahead=2,rt(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=l,e.avail_in=a,r.wrap=o,0}(this.strm,o),0!==i)throw new Error(oe[i]);this._dict_set=!0}};dt.prototype.push=function(e,t){var r,n,i,o=this.strm,a=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?o.input=F(e):"[object ArrayBuffer]"===ht.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=z(a),o.next_out=0,o.avail_out=a),1!==(r=ct(o,n))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(j(i=w(o.output,o.next_out),i.length)):this.onData(w(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&1!==r);return 4===n?(r=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==qe&&t!==Ke&&t!==Xe?$e(e,_):(e.state=null,t===Ke?$e(e,-3):0):_}(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),o.avail_out=0,!0)},dt.prototype.onData=function(e){this.chunks.push(e)},dt.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=S(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var ft={Promise},pt={base64:!0,array:!0,string:!0,nodebuffer:!1,nodestream:!1,get arraybuffer(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},get uint8array(){return"undefined"!=typeof Uint8Array},get blob(){return mt()}},mt=function(){var e;if("undefined"==typeof ArrayBuffer)e=!1;else{var t=new ArrayBuffer(0);try{e=0===new Blob([t],{type:"application/zip"}).size}catch(t){e=!1}}return mt=function(){return e},e},gt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function vt(e){return e}function _t(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}function yt(e,t,r){var n=[],i=0,o=e.length;if(o<=r)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,o)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")}var bt=function(){var e;try{e=pt.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){e=!1}return bt=function(){return e},e};function wt(e){var t=65536,r=St(e),n=!0;if("uint8array"===r&&(n=bt()),n)for(;t>1;)try{return yt(e,r,t)}catch(e){t=Math.floor(t/2)}return function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}(e)}var xt=wt;function kt(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}var Ct={string:{string:vt,array:function(e){return _t(e,new Array(e.length))},arraybuffer:function(e){return Ct.string.uint8array(e).buffer},uint8array:function(e){return _t(e,new Uint8Array(e.length))}},array:{string:wt,array:vt,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)}},arraybuffer:{string:function(e){return wt(new Uint8Array(e))},array:function(e){return kt(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:vt,uint8array:function(e){return new Uint8Array(e)}},uint8array:{string:wt,array:function(e){return kt(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:vt}},Ot=function(e,t){if(t||(t=""),!e)return t;zt(e);var r=St(t);return Ct[r][e](t)},St=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":pt.uint8array&&e instanceof Uint8Array?"uint8array":pt.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},zt=function(e){if(!pt[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},Pt=65535,It=-1,At=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},Dt=function(e,t,r){setTimeout((function(){e.apply(r||null,t||[])}),0)},Tt=function(){var e,t,r=arguments,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.hasOwnProperty.call(r[e],t)&&void 0===n[t]&&(n[t]=r[e][t]);return n},Ft=function(e,t,r,n,i){return ft.Promise.resolve(t).then((function(e){return pt.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new ft.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(t){var o,a=St(t);return a?("arraybuffer"===a?t=Ot("uint8array",t):"string"===a&&(i?t=function(e){var t,r,n,i,o,a,s=0,l=0,u="data:";if(e.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");var c,h=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===gt.charAt(64)&&h--,e.charAt(e.length-2)===gt.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=pt.uint8array?new Uint8Array(0|h):new Array(0|h);s<e.length;)t=gt.indexOf(e.charAt(s++))<<2|(i=gt.indexOf(e.charAt(s++)))>>4,r=(15&i)<<4|(o=gt.indexOf(e.charAt(s++)))>>2,n=(3&o)<<6|(a=gt.indexOf(e.charAt(s++))),c[l++]=t,64!==o&&(c[l++]=r),64!==a&&(c[l++]=n);return c}(t):r&&!0!==n&&(t=_t(o=t,pt.uint8array?new Uint8Array(o.length):new Array(o.length)))),t):ft.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))},jt=function(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null};jt.prototype.push=function(e){this.emit("data",e)},jt.prototype.end=function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},jt.prototype.error=function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},jt.prototype.on=function(e,t){return this._listeners[e].push(t),this},jt.prototype.cleanUp=function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},jt.prototype.emit=function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},jt.prototype.pipe=function(e){return e.registerPrevious(this)},jt.prototype.registerPrevious=function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},jt.prototype.pause=function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},jt.prototype.resume=function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},jt.prototype.flush=function(){},jt.prototype.processChunk=function(e){this.push(e)},jt.prototype.withStreamInfo=function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},jt.prototype.mergeStreamInfo=function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},jt.prototype.lock=function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},jt.prototype.toString=function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e};var Et=function(e){for(var t=new Array(256),r=0;r<256;r++)t[r]=r>=252?6:r>=248?5:r>=240?4:r>=224?3:r>=192?2:1;return t[254]=t[254]=1,Et=function(e){return t[e]},t[e]},Rt=function(e){return function(e){var t,r,n,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=pt.uint8array?new Uint8Array(s):new Array(s),o=0,i=0;o<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t}(e)},Mt=function(e){return function(e){var t,r,n,i,o=e.length,a=new Array(2*o);for(r=0,t=0;t<o;)if((n=e[t++])<128)a[r++]=n;else if((i=Et(n))>4)a[r++]=65533,t+=i-1;else{for(n&=2===i?31:3===i?15:7;i>1&&t<o;)n=n<<6|63&e[t++],i--;i>1?a[r++]=65533:n<65536?a[r++]=n:(n-=65536,a[r++]=55296|n>>10&1023,a[r++]=56320|1023&n)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),xt(a)}(e=Ot(pt.uint8array?"uint8array":"array",e))},Lt=function(e){function t(){e.call(this,"utf-8 decode"),this.leftOver=null}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){var t=Ot(pt.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(pt.uint8array){var r=t;(t=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),t.set(r,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var n=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+Et(e[r])>t?r:t}(t),i=t;n!==t.length&&(pt.uint8array?(i=t.subarray(0,n),this.leftOver=t.subarray(n,t.length)):(i=t.slice(0,n),this.leftOver=t.slice(n,t.length))),this.push({data:Mt(i),meta:e.meta})},t.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Mt(this.leftOver),meta:{}}),this.leftOver=null)},t}(jt),Bt=function(e){function t(){e.call(this,"utf-8 encode")}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.push({data:Rt(e.data),meta:e.meta})},t}(jt),Ut=function(e){function t(t){e.call(this,"ConvertWorker to "+t),this.destType=t}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.push({data:Ot(this.destType,e.data),meta:e.meta})},t}(jt);function Nt(e,t){return new ft.Promise((function(r,n){var i=[],o=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",(function(e,r){i.push(e),t&&t(r)})).on("error",(function(e){i=[],n(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return function(e,t){return zt("blob"),new Blob([e],{type:t})}(Ot("arraybuffer",t),r);case"base64":return function(e){for(var t,r,n,i,o,a,s,l=[],u=0,c=e.length,h=c,d="string"!=typeof e;u<e.length;)h=c-u,d?(t=e[u++],r=u<c?e[u++]:0,n=u<c?e[u++]:0):(t=e.charCodeAt(u++),r=u<c?e.charCodeAt(u++):0,n=u<c?e.charCodeAt(u++):0),i=t>>2,o=(3&t)<<4|r>>4,a=h>1?(15&r)<<2|n>>6:64,s=h>2?63&n:64,l.push(gt.charAt(i)+gt.charAt(o)+gt.charAt(a)+gt.charAt(s));return l.join("")}(t);default:return Ot(e,t)}}(a,function(e,t){var r,n=0,i=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(o),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;default:throw new Error("concat : unsupported type '"+e+"'")}}(o,i),s);r(e)}catch(e){n(e)}i=[]})).resume()}))}var Wt=function(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,zt(n),this._worker=e.pipe(new Ut(n)),e.lock()}catch(e){this._worker=new jt("error"),this._worker.error(e)}};Wt.prototype.accumulate=function(e){return Nt(this,e)},Wt.prototype.on=function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){Dt(t,arguments,r)})),this},Wt.prototype.resume=function(){return Dt(this._worker.resume,[],this._worker),this},Wt.prototype.pause=function(){return this._worker.pause(),this};var Ht=Object.freeze({__proto__:null,base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null}),Vt=function(e){function t(t){e.call(this,"DataWorker");var r=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(e){r.dataIsReady=!0,r.data=e,r.max=e&&e.length||0,r.type=St(e),r.isPaused||r._tickAndRepeat()}),(function(e){r.error(e)}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this.data=null},t.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Dt(this._tickAndRepeat,[],this)),!0)},t.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Dt(this._tickAndRepeat,[],this),this._tickScheduled=!0))},t.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t}(jt),qt=function(e){function t(t){e.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(t){if(t){var r=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=r+t.data.length}e.prototype.processChunk.call(this,t)},t}(jt),Kt=function(){for(var e=[],t=0;t<256;t++){for(var r=t,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;e[t]=r}return Kt=function(){return e},e};function Xt(e,t){return void 0!==e&&e.length?"string"!==St(e)?function(e,t,r,n){var i=Kt(),o=0+r;e^=-1;for(var a=0;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length):function(e,t,r,n){var i=Kt(),o=0+r;e^=-1;for(var a=0;a<o;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length):0}var $t=function(e){function t(){e.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.streamInfo.crc32=Xt(e.data,this.streamInfo.crc32||0),this.push(e)},t}(jt),Zt=function(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i};Zt.prototype.getContentWorker=function(){var e=new Vt(ft.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new qt("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},Zt.prototype.getCompressedWorker=function(){return new Vt(ft.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)},Zt.createWorkerFrom=function(e,t,r){return e.pipe(new $t).pipe(new qt("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new qt("compressedSize")).withStreamInfo("compression",t)};var Gt=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};Gt.prototype.internalStream=function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new Bt)),!i&&n&&(t=t.pipe(new Lt))}catch(e){(t=new jt("error")).error(e)}return new Wt(t,r,"")},Gt.prototype.async=function(e,t){return this.internalStream(e).accumulate(t)},Gt.prototype._compressWorker=function(e,t){if(this._data instanceof Zt&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new Bt)),Zt.createWorkerFrom(r,e,t)},Gt.prototype._decompressWorker=function(){return this._data instanceof Zt?this._data.getContentWorker():this._data instanceof jt?this._data:new Vt(this._data)};var Yt=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array?"uint8array":"array";Yt=function(){return e}},Jt=function(e){function t(t,r){e.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=r,this.meta={}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(Ot(Yt(),e.data),!1)},t.prototype.flush=function(){e.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},t.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this._pako=null},t.prototype._createPako=function(){var e=this,t={raw:!0,level:this._pakoOptions.level||-1};this._pako="Deflate"===this._pakoAction?new dt(t):new ue(t),this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},t}(jt),Qt={STORE:{magic:"\0\0",compressWorker:function(){return new jt("STORE compression")},uncompressWorker:function(){return new jt("STORE decompression")}},DEFLATE:{magic:"\b\0",compressWorker:function(e){return new Jt("Deflate",e)},uncompressWorker:function(){return new Jt("Inflate",{})}}},er="PK",tr="PK",rr="PK",nr="PK",ir="PK",or=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},ar=function(e,t,r,n,i,o){var a,s,l=e.file,u=e.compression,c=o!==Rt,h=Ot("string",o(l.name)),d=Ot("string",Rt(l.name)),f=l.comment,p=Ot("string",o(f)),m=Ot("string",Rt(f)),g=d.length!==l.name.length,v=m.length!==f.length,_="",y="",b="",w=l.dir,x=l.date,k={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(k.crc32=e.crc32,k.compressedSize=e.compressedSize,k.uncompressedSize=e.uncompressedSize);var C=0;t&&(C|=8),c||!g&&!v||(C|=2048);var O,S,z,P=0,I=0;w&&(P|=16),"UNIX"===i?(I=798,P|=(O=l.unixPermissions,S=w,z=O,O||(z=S?16893:33204),(65535&z)<<16)):(I=20,P|=63&(l.dosPermissions||0)),a=x.getUTCHours(),a<<=6,a|=x.getUTCMinutes(),a<<=5,a|=x.getUTCSeconds()/2,s=x.getUTCFullYear()-1980,s<<=4,s|=x.getUTCMonth()+1,s<<=5,s|=x.getUTCDate(),g&&(y=or(1,1)+or(Xt(h),4)+d,_+="up"+or(y.length,2)+y),v&&(b=or(1,1)+or(Xt(p),4)+m,_+="uc"+or(b.length,2)+b);var A="";return A+="\n\0",A+=or(C,2),A+=u.magic,A+=or(a,2),A+=or(s,2),A+=or(k.crc32,4),A+=or(k.compressedSize,4),A+=or(k.uncompressedSize,4),A+=or(h.length,2),A+=or(_.length,2),{fileRecord:er+A+h+_,dirRecord:tr+or(I,2)+A+or(p.length,2)+"\0\0\0\0"+or(P,4)+or(n,4)+h+_+p}},sr=function(e){return"PK\b"+or(e.crc32,4)+or(e.compressedSize,4)+or(e.uncompressedSize,4)},lr=function(e){function t(t,r,n,i){e.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=r,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(t){var r=t.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,e.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(r+100*(n-i-1))/n:100}}))},t.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=ar(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},t.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=ar(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:sr(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},t.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=function(e,t,r,n,i){var o=Ot("string",i(n));return"PK\0\0\0\0"+or(e,2)+or(e,2)+or(t,4)+or(r,4)+or(o.length,2)+o}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},t.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},t.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},t.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},t.prototype.error=function(t){var r=this._sources;if(!e.prototype.error.call(this,t))return!1;for(var n=0;n<r.length;n++)try{r[n].error(t)}catch(e){}return!0},t.prototype.lock=function(){e.prototype.lock.call(this);for(var t=this._sources,r=0;r<t.length;r++)t[r].lock()},t}(jt),ur=function(e){this.data=e,this.length=e.length,this.index=0,this.zero=0};ur.prototype.checkOffset=function(e){this.checkIndex(this.index+e)},ur.prototype.checkIndex=function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},ur.prototype.setIndex=function(e){this.checkIndex(e),this.index=e},ur.prototype.skip=function(e){this.setIndex(this.index+e)},ur.prototype.byteAt=function(e){},ur.prototype.readInt=function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},ur.prototype.readString=function(e){return Ot("string",this.readData(e))},ur.prototype.readData=function(e){},ur.prototype.lastIndexOfSignature=function(e){},ur.prototype.readAndCheckSignature=function(e){},ur.prototype.readDate=function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))};var cr=function(e){function t(t){e.call(this,t);for(var r=0;r<this.data.length;r++)t[r]=255&t[r]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.byteAt=function(e){return this.data[this.zero+e]},t.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return-1},t.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},t.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(ur),hr=function(e){function t(t){e.call(this,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},t.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},t.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},t.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(ur),dr=function(e){function t(t){e.call(this,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t}(cr);function fr(e){var t=St(e);return zt(t),"string"!==t||pt.uint8array?pt.uint8array?new dr(Ot("uint8array",e)):new cr(Ot("array",e)):new hr(e)}var pr=function(e,t){this.options=e,this.loadOptions=t};pr.prototype.isEncrypted=function(){return 1==(1&this.bitFlag)},pr.prototype.useUTF8=function(){return 2048==(2048&this.bitFlag)},pr.prototype.readLocalPart=function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in Qt)if(Qt.hasOwnProperty(t)&&Qt[t].magic===e)return Qt[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+At(this.compressionMethod)+" unknown (inner file : "+Ot("string",this.fileName)+")");this.decompressed=new Zt(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},pr.prototype.readCentralPart=function(e){this.versionMadeBy=e.readInt(2),e.skip(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);var t=e.readInt(2);if(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");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},pr.prototype.processAttributes=function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},pr.prototype.parseZIP64ExtraField=function(e){if(this.extraFields[1]){var t=fr(this.extraFields[1].value);this.uncompressedSize===It&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===It&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===It&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===It&&(this.diskNumberStart=t.readInt(4))}},pr.prototype.readExtraFields=function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n}},pr.prototype.handleUTF8=function(){var e=pt.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Mt(this.fileName),this.fileCommentStr=Mt(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=Ot(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=Ot(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},pr.prototype.findExtraFieldUnicodePath=function(){var e=this.extraFields[28789];if(e){var t=fr(e.value);return 1!==t.readInt(1)||Xt(this.fileName)!==t.readInt(4)?null:Mt(t.readData(e.length-5))}return null},pr.prototype.findExtraFieldUnicodeComment=function(){var e=this.extraFields[25461];if(e){var t=fr(e.value);return 1!==t.readInt(1)||Xt(this.fileComment)!==t.readInt(4)?null:Mt(t.readData(e.length-5))}return null};var mr=function(e){this.files=[],this.loadOptions=e};function gr(e){return new ft.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new $t);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}function vr(e,t){var r=this;return t=Tt(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Mt}),Ft("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new mr(t);return r.load(e),r})).then((function(e){var r=[ft.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var i=0;i<n.length;i++)r.push(gr(n[i]));return ft.Promise.all(r)})).then((function(e){for(var n=e.shift(),i=n.files,o=0;o<i.length;o++){var a=i[o];r.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders})}return n.zipComment.length&&(r.comment=n.zipComment),r}))}mr.prototype.checkSignature=function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+At(t)+", expected "+At(e)+")")}},mr.prototype.isSignature=function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},mr.prototype.readBlockEndOfCentral=function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=pt.uint8array?"uint8array":"array",r=Ot(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},mr.prototype.readBlockZip64EndOfCentral=function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},mr.prototype.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")},mr.prototype.readLocalFiles=function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(er),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},mr.prototype.readCentralDir=function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(tr);)(e=new pr({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},mr.prototype.readEndOfCentral=function(){var e=this.reader.lastIndexOfSignature(rr);if(e<0)throw this.isSignature(0,er)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(rr),this.readBlockEndOfCentral(),this.diskNumber===Pt||this.diskWithCentralDirStart===Pt||this.centralDirRecordsOnThisDisk===Pt||this.centralDirRecords===Pt||this.centralDirSize===It||this.centralDirOffset===It){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(nr))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(nr),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,ir)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(ir),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(ir),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,tr)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},mr.prototype.prepareReader=function(e){this.reader=fr(e)},mr.prototype.load=function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()};var _r=function(e,t,r){var n,i=St(t),o=Tt(r||{},Ht);o.date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),"string"==typeof o.unixPermissions&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(e=br(e)),o.createFolders&&(n=yr(e))&&wr.call(this,n,!0);var a="string"===i&&!1===o.binary&&!1===o.base64;r&&void 0!==r.binary||(o.binary=!a),(t instanceof Zt&&0===t.uncompressedSize||o.dir||!t||0===t.length)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",i="string");var s;s=t instanceof Zt||t instanceof jt?t:Ft(e,t,o.binary,o.optimizedBinaryString,o.base64);var l=new Gt(e,s,o);this.files[e]=l},yr=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},br=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},wr=function(e,t){return t=void 0===t||t,e=br(e),this.files[e]||_r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function xr(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var kr=function e(){if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new e;for(var r in this)"function"!=typeof this[r]&&(t[r]=this[r]);return t}},Cr={support:{configurable:!0},defaults:{configurable:!0},version:{configurable:!0},external:{configurable:!0}};function Or(e,t,r){return(1461*(e+4800+((t-13)/12|0))/4|0)+(367*(t-1-12*((t-13)/12|0))/12|0)-(3*((e+4900+((t-13)/12|0))/100|0)/4|0)+r-32075}kr.prototype.load=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},kr.prototype.forEach=function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},kr.prototype.filter=function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},kr.prototype.file=function(e,t,r){if(1===arguments.length){if(xr(e)){var n=e;return this.filter((function(e,t){return!t.dir&&n.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,_r.call(this,e,t,r),this},kr.prototype.folder=function(e){if(!e)return this;if(xr(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=wr.call(this,t),n=this.clone();return n.root=r.name,n},kr.prototype.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 r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},kr.prototype.generate=function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},kr.prototype.generateInternalStream=function(e){var t,r={};try{if((r=Tt(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Rt})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");zt(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS"),t=function(e,t,r){var n=new lr(t.streamFiles,r,t.platform,t.encodeFileName),i=0;try{e.forEach((function(e,r){i++;var o=function(e,t){var r=e||t,n=Qt[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,t.compression),a=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,l=r.date;r._compressWorker(o,a).withStreamInfo("file",{name:e,dir:s,date:l,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)})),n.entriesCount=i}catch(e){n.error(e)}return n}(this,r,r.comment||this.comment||"")}catch(e){(t=new jt("error")).error(e)}return new Wt(t,r.type||"string",r.mimeType)},kr.prototype.generateAsync=function(e,t){return this.generateInternalStream(e).accumulate(t)},kr.prototype.loadAsync=function(e,t){return vr.apply(this,[e,t])},kr.loadAsync=function(e,t){return(new kr).loadAsync(e,t)},Cr.support.get=function(){return pt},Cr.defaults.get=function(){return Ht},Cr.version.get=function(){return"3.2.2-esm"},Cr.external.get=function(){return ft},Object.defineProperties(kr,Cr);var Sr=Or(1900,0,-1);var zr={compression:"DEFLATE",type:"base64"},Pr={compression:"DEFLATE",type:"blob"},Ir={compression:"DEFLATE",type:"arraybuffer"};function Ar(e){return"data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,"+e}function Dr(e,t){return t.indexOf(e)}var Tr=JSON.parse.bind(JSON);function Fr(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;").replace(/\'/g,"&#39;")}function jr(e,t){for(var r="",n=0;n<e;++n)r+=t(n);return r}function Er(e,t){var r="";if(null!=e)if(Array.isArray(e))for(var n=0;n<e.length;++n)r+=t(e[n],n);else"object"==typeof e&&Object.keys(e).forEach((function(n,i){r+=t(e[n],n,i)}));return r}var Rr='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r',Mr=function(e){return Rr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Er(e,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+e.target+'"/>'}))+"\n</Relationships>"};function Lr(e){var t=Math.floor(e/26)-1;return(t>=0?Lr(t):"")+String.fromCharCode(65+e%26)}function Br(e,t){return Lr(t)+(e+1)}function Ur(e,t){return"$"+Lr(t)+"$"+(e+1)}function Nr(e){return(e.frozenRows||(e.freezePane||{}).rowSplit||1)-1}function Wr(e){return e/7-Math.floor(128/7)/256}var Hr=function(e,t,r,n){this.options=e,this._strings=t,this._styles=r,this._borders=n,this._validations={},this._comments=[],this._drawings=e.drawings||[],this._hyperlinks=(this.options.hyperlinks||[]).map((function(e,t){return Object.assign({},e,{rId:"link"+t})}))};function Vr(e){var t=e.length;return e.forEach((function(e){e.index&&e.index>=t&&(t=e.index+1)})),t}Hr.prototype.relsToXML=function(){var e=this._hyperlinks,t=this._comments,r=this._drawings;if(e.length||t.length||r.length)return function(e){var t=e.comments,r=e.sheetIndex,n=e.drawings;return Rr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Er(e.hyperlinks,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="'+Fr(e.target)+'" TargetMode="External" />'}))+"\n "+(t.length?'\n <Relationship Id="comment'+r+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="../comments'+r+'.xml"/>\n <Relationship Id="vml'+r+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" Target="../drawings/vmlDrawing'+r+'.vml"/>':"")+"\n "+(n.length?'\n <Relationship Id="drw'+r+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" Target="../drawings/drawing'+r+'.xml"/>':"")+"\n</Relationships>"}({hyperlinks:e,comments:t,sheetIndex:this.options.sheetIndex,drawings:r})},Hr.prototype.toXML=function(e){var t=this,r=this.options.mergedCells||[],n=function(e,t){var r=[],n=[];!function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n){var i=n.index;"number"!=typeof i&&(i=r),t(n,i)}}}(e,(function(e,t){var i={_source:e,index:t,height:e.height,level:e.level,cells:[]};r.push(i),n[t]=i}));for(var i=Qr(r).slice(0),o={rowData:r,rowsByIndex:n,mergedCells:t},a=0;a<i.length;a++)nn(i[a],o),delete i[a]._source;return Qr(r)}(this.options.rows||[],r);this._readCells(n);var i,o=this.options.filter;o&&"number"==typeof o.from&&"number"==typeof o.to?o={from:Br(Nr(this.options),o.from),to:Br(Nr(this.options),o.to)}:o&&o.ref&&o.columns&&(i=o,o=null);var a=[];for(var s in t._validations)Object.prototype.hasOwnProperty.call(t._validations,s)&&a.push(t._validations[s]);var l=null;this.options.defaultCellStyle&&(l=this._lookupStyle(this.options.defaultCellStyle));var u=this.options.freezePane||{},c=this.options.defaults||{},h=this.options.rows?this._getLastRow():1,d=this.options.rows?this._getLastCol():1;return function(e){var t=e.frozenColumns,r=e.frozenRows,n=e.columns,i=e.defaults,o=e.data,a=e.index,s=e.mergeCells,l=e.autoFilter,u=e.filter,c=e.showGridLines,h=e.hyperlinks,d=e.validations,f=e.defaultCellStyleId,p=e.rtl,m=e.legacyDrawing,g=e.drawing,v=e.lastRow,_=e.lastCol;return Rr+'\n<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" mc:Ignorable="x14ac">\n '+(v&&_?'<dimension ref="A1:'+Br(v-1,_-1)+'" />':"")+"\n\n <sheetViews>\n <sheetView "+(p?'rightToLeft="1"':"")+" "+(0===a?'tabSelected="1"':"")+' workbookViewId="0" '+(!1===c?'showGridLines="0"':"")+">\n "+(r||t?'\n <pane state="frozen"\n '+(t?'xSplit="'+t+'"':"")+"\n "+(r?'ySplit="'+r+'"':"")+'\n topLeftCell="'+(String.fromCharCode(65+(t||0))+((r||0)+1))+'"\n />':"")+'\n </sheetView>\n </sheetViews>\n\n <sheetFormatPr x14ac:dyDescent="0.25" '+(i.skipCustomHeight?"":'customHeight="1"')+' defaultRowHeight="'+(i.rowHeight?.75*i.rowHeight:15)+'"\n '+(i.columnWidth?'defaultColWidth="'+Wr(i.columnWidth)+'"':"")+" />\n\n "+(null!=f||n&&n.length>0?"\n <cols>\n "+(n&&n.length?"":'\n <col min="1" max="16384" style="'+f+'"\n '+(i.columnWidth?'width="'+Wr(i.columnWidth)+'"':"")+" /> ")+"\n "+Er(n,(function(e,t){var r="number"==typeof e.index?e.index+1:t+1;return 0===e.width?"<col "+(null!=f?'style="'+f+'"':"")+'\n min="'+r+'" max="'+r+'" hidden="1" customWidth="1" />':"<col "+(null!=f?'style="'+f+'"':"")+'\n min="'+r+'" max="'+r+'" customWidth="1"\n '+(e.autoWidth?'width="'+(7*e.width+5)/7*256/256+'" bestFit="1"':'width="'+Wr(e.width)+'"')+" />"}))+"\n </cols>":"")+"\n\n <sheetData>\n "+Er(o,(function(e,t){return'\n <row r="'+("number"==typeof e.index?e.index+1:t+1)+'" x14ac:dyDescent="0.25"\n '+(e.level?'outlineLevel="'+e.level+'"':"")+"\n "+(0===e.height?'hidden="1"':e.height?'ht="'+.75*e.height+'" customHeight="1"':"")+">\n "+Er(e.data,(function(e){return'\n <c r="'+e.ref+'" '+(e.style?'s="'+e.style+'"':"")+" "+(e.type?'t="'+e.type+'"':"")+">\n "+(null!=e.formula?"string"==typeof(t=e.formula)?"<f>"+Fr(t)+"</f>":'<f t="array" ref="'+t.ref+'">'+Fr(t.src)+"</f>":"")+"\n "+(null!=e.value?"<v>"+Fr(e.value)+"</v>":"")+"\n </c>";var t}))+"\n </row>\n "}))+"\n </sheetData>\n\n "+(l?'<autoFilter ref="'+l.from+":"+l.to+'"/>':u?dn(u):"")+"\n\n "+(s.length?'\n <mergeCells count="'+s.length+'">\n '+Er(s,(function(e){return'<mergeCell ref="'+e+'"/>'}))+"\n </mergeCells>":"")+"\n\n "+(d.length?"\n <dataValidations>\n "+Er(d,(function(e){return'\n <dataValidation sqref="'+e.sqref.join(" ")+'"\n showErrorMessage="'+e.showErrorMessage+'"\n type="'+Fr(e.type)+'"\n '+("list"!==e.type?'operator="'+Fr(e.operator)+'"':"")+'\n allowBlank="'+e.allowBlank+'"\n showDropDown="'+e.showDropDown+'"\n '+(e.error?'error="'+Fr(e.error)+'"':"")+"\n "+(e.errorTitle?'errorTitle="'+Fr(e.errorTitle)+'"':"")+">\n "+(e.formula1?"<formula1>"+Fr(e.formula1)+"</formula1>":"")+"\n "+(e.formula2?"<formula2>"+Fr(e.formula2)+"</formula2>":"")+"\n </dataValidation>"}))+"\n </dataValidations>":"")+"\n\n "+(h.length?"\n <hyperlinks>\n "+Er(h,(function(e){return'\n <hyperlink ref="'+e.ref+'" r:id="'+e.rId+'"/>'}))+"\n </hyperlinks>":"")+'\n\n <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3" />\n '+(g?'<drawing r:id="'+g+'"/>':"")+"\n "+(m?'<legacyDrawing r:id="'+m+'"/>':"")+"\n</worksheet>"}({frozenColumns:this.options.frozenColumns||u.colSplit,frozenRows:this.options.frozenRows||u.rowSplit,columns:this.options.columns,defaults:c,data:n,index:e,mergeCells:r,autoFilter:o,filter:i,showGridLines:this.options.showGridLines,hyperlinks:this._hyperlinks,validations:a,defaultCellStyleId:l,rtl:void 0!==this.options.rtl?this.options.rtl:c.rtl,legacyDrawing:this._comments.length?"vml"+this.options.sheetIndex:null,drawing:this._drawings.length?"drw"+this.options.sheetIndex:null,lastRow:h,lastCol:d})},Hr.prototype.commentsXML=function(){if(this._comments.length)return function(e){return Rr+'\n<comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">\n <authors>\n <author></author>\n </authors>\n <commentList>\n '+Er(e.comments,(function(e){return'\n <comment ref="'+e.ref+'" authorId="0">\n <text>\n <r>\n <rPr>\n <sz val="8"/>\n <color indexed="81"/>\n <rFont val="Tahoma"/>\n <charset val="1"/>\n </rPr>\n <t>'+Fr(e.text)+"</t>\n </r>\n </text>\n </comment>"}))+"\n </commentList>\n</comments>"}({comments:this._comments})},Hr.prototype.drawingsXML=function(e){if(this._drawings.length){var t={},r=this._drawings.map((function(r){var n=tn(r.topLeftCell),i=t[r.image];return i||(i=t[r.image]={rId:"img"+r.image,target:e[r.image].target}),{col:n.col,colOffset:rn(r.offsetX),row:n.row,rowOffset:rn(r.offsetY),width:rn(r.width),height:rn(r.height),imageId:i.rId}}));return{main:(n=r,Rr+'\n<xdr:wsDr xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"\n xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"\n xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n '+Er(n,(function(e,t){return'\n <xdr:oneCellAnchor editAs="oneCell">\n <xdr:from>\n <xdr:col>'+e.col+"</xdr:col>\n <xdr:colOff>"+e.colOffset+"</xdr:colOff>\n <xdr:row>"+e.row+"</xdr:row>\n <xdr:rowOff>"+e.rowOffset+'</xdr:rowOff>\n </xdr:from>\n <xdr:ext cx="'+e.width+'" cy="'+e.height+'" />\n <xdr:pic>\n <xdr:nvPicPr>\n <xdr:cNvPr id="'+(t+1)+'" name="Picture '+(t+1)+'"/>\n <xdr:cNvPicPr/>\n </xdr:nvPicPr>\n <xdr:blipFill>\n <a:blip r:embed="'+e.imageId+'"/>\n <a:stretch>\n <a:fillRect/>\n </a:stretch>\n </xdr:blipFill>\n <xdr:spPr>\n <a:prstGeom prst="rect">\n <a:avLst/>\n </a:prstGeom>\n </xdr:spPr>\n </xdr:pic>\n <xdr:clientData/>\n </xdr:oneCellAnchor>'}))+"\n</xdr:wsDr>"),rels:Mr(t)}}var n},Hr.prototype.legacyDrawing=function(){if(this._comments.length)return function(e){return'<xml xmlns:v="urn:schemas-microsoft-com:vml"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:x="urn:schemas-microsoft-com:office:excel">\n <v:shapetype coordsize="21600,21600" id="_x0000_t202" path="m,l,21600r21600,l21600,xe">\n <v:stroke joinstyle="miter"/>\n <v:path gradientshapeok="t" o:connecttype="rect"/>\n </v:shapetype>\n '+Er(e.comments,(function(e){return'\n <v:shape type="#_x0000_t202" style="visibility: hidden" fillcolor="#ffffe1" o:insetmode="auto">\n <v:shadow on="t" color="black" obscured="t"/>\n <x:ClientData ObjectType="Note">\n <x:MoveWithCells/>\n <x:SizeWithCells/>\n <x:Anchor>'+e.anchor+"</x:Anchor>\n <x:AutoFill>False</x:AutoFill>\n <x:Row>"+e.row+"</x:Row>\n <x:Column>"+e.col+"</x:Column>\n </x:ClientData>\n </v:shape>"}))+"\n</xml>"}({comments:this._comments})},Hr.prototype._lookupString=function(e){var t,r="$"+e,n=this._strings.indexes[r];return void 0!==n?t=n:(t=this._strings.indexes[r]=this._strings.uniqueCount,this._strings.uniqueCount++),this._strings.count++,t},Hr.prototype._lookupStyle=function(e){var t=JSON.stringify(e);if("{}"===t)return 0;var r=Dr(t,this._styles);return r<0&&(r=this._styles.push(t)-1),r+1},Hr.prototype._lookupBorder=function(e){var t=JSON.stringify(e);if("{}"!==t){var r=Dr(t,this._borders);return r<0&&(r=this._borders.push(t)-1),r+1}},Hr.prototype._readCells=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=r.cells;r.data=[];for(var i=0;i<n.length;i++){var o=this._cell(n[i],r.index,i);o&&r.data.push(o)}}},Hr.prototype._cell=function(e,t,r){if(!e||e===Jr)return null;var n=e.value,i={};e.borderLeft&&(i.left=e.borderLeft),e.borderRight&&(i.right=e.borderRight),e.borderTop&&(i.top=e.borderTop),e.borderBottom&&(i.bottom=e.borderBottom),e.dBorders&&(i.diagonal=e.dBorders),i=this._lookupBorder(i);var o,a=this.options.defaultCellStyle||{},s={borderId:i};(o=function(t,r){var n=e[t];if(void 0===n&&(n=a[t]),void 0!==n)return s[r||t]=n,!0})("color"),o("background"),o("bold"),o("italic"),o("underline"),o("fontFamily")||o("fontName","fontFamily"),o("fontSize"),o("format"),o("textAlign")||o("hAlign","textAlign"),o("verticalAlign")||o("vAlign","verticalAlign"),o("wrap"),o("indent");var l,u,c,h=(this.options.columns||[])[r],d=typeof n;if(h&&h.autoWidth&&(!e.colSpan||1===e.colSpan)){var f=n;"number"===d&&(f=v.toString(n,e.format)),h.width=Math.max(h.width||0,String(f).length)}"string"===d?(n=function(e){return String(e).replace(/[\x00-\x09\x0B\x0C\x0E-\x1F]/g,"").replace(/\r?\n/g,"\r\n")}(n),n=this._lookupString(n),d="s"):"number"===d?d="n":"boolean"===d?(d="b",n=Number(n)):n&&n.getTime?(d=null,u=((l=n).getHours()+(l.getMinutes()+(l.getSeconds()+l.getMilliseconds()/1e3)/60)/60)/24,n=(c=function(e,t,r){return Or(e,t,r)-Sr}(l.getFullYear(),l.getMonth(),l.getDate()))<0?c-1+u:c+u,s.format||(s.format="mm-dd-yy")):(d=null,n=null),s=this._lookupStyle(s);var p=Br(t,r);if(e.validation&&this._addValidation(e.validation,p),e.comment){var m=[r+1,15,t,10,r+3,15,t+3,4];this._comments.push({ref:p,text:e.comment,row:t,col:r,anchor:m.join(", ")})}return{value:n,formula:e.formula,type:d,style:s,ref:p}},Hr.prototype._addValidation=function(e,t){var r={showErrorMessage:"reject"===e.type?1:0,formula1:e.from,formula2:e.to,type:Kr[e.dataType]||e.dataType,operator:qr[e.comparerType]||e.comparerType,allowBlank:e.allowNulls?1:0,showDropDown:e.showButton?0:1,error:e.messageTemplate,errorTitle:e.titleTemplate},n=JSON.stringify(r);this._validations[n]||(this._validations[n]=r,r.sqref=[]),this._validations[n].sqref.push(t)},Hr.prototype._getLastRow=function(){return Vr(this.options.rows)},Hr.prototype._getLastCol=function(){var e=0;return this.options.rows.forEach((function(t){t.cells&&(e=Math.max(e,Vr(t.cells)))})),e};var qr={greaterThanOrEqualTo:"greaterThanOrEqual",lessThanOrEqualTo:"lessThanOrEqual"},Kr={number:"decimal"},Xr={General:0,0:1,"0.00":2,"#,##0":3,"#,##0.00":4,"0%":9,"0.00%":10,"0.00E+00":11,"# ?/?":12,"# ??/??":13,"mm-dd-yy":14,"d-mmm-yy":15,"d-mmm":16,"mmm-yy":17,"h:mm AM/PM":18,"h:mm:ss AM/PM":19,"h:mm":20,"h:mm:ss":21,"m/d/yy h:mm":22,"#,##0 ;(#,##0)":37,"#,##0 ;[Red](#,##0)":38,"#,##0.00;(#,##0.00)":39,"#,##0.00;[Red](#,##0.00)":40,"mm:ss":45,"[h]:mm:ss":46,"mmss.0":47,"##0.0E+0":48,"@":49,"[$-404]e/m/d":27,"m/d/yy":30,t0:59,"t0.00":60,"t#,##0":61,"t#,##0.00":62,"t0%":67,"t0.00%":68,"t# ?/?":69,"t# ??/??":70};function $r(e){var t=function(e){function t(e){var t=parseInt(e,10).toString(16);return t.length<2?"0"+t:t}var r=/^rgba?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([0-9.]+)\s*)?\)/i.exec(e.trim());return r?"#"+t(255*(r[4]?parseFloat(r[4]):1)|0)+t(r[1])+t(r[2])+t(r[3]):e}(e);return t.length<6&&(t=t.replace(/(\w)/g,(function(e,t){return t+t}))),(t=t.substring(1).toUpperCase()).length<8&&(t="FF"+t),t}var Zr=function(e){var t=this;this.options=e||{},this._strings={indexes:{},count:0,uniqueCount:0},this._styles=[],this._borders=[],this._images=this.options.images,this._imgId=0,this._sheets=u(this.options.sheets||[],(function(e,r){return e.defaults=t.options,e.sheetIndex=r+1,new Hr(e,t._strings,t._styles,t._borders)}))};function Gr(e,t){var r,n,i="";return t&&(i+="<"+e+' style="'+(n="thin",2===(r=t.size)?n="medium":3===r&&(n="thick"),n+'">'),t.color&&(i+='<color rgb="'+$r(t.color)+'"/>'),i+="</"+e+">"),i}function Yr(e){var t=e.diagonal?e.diagonal.type:0;return"<border "+(2&t?'diagonalUp="true"':"")+" "+(1&t?'diagonalDown="true"':"")+">\n "+Gr("left",e.left)+"\n "+Gr("right",e.right)+"\n "+Gr("top",e.top)+"\n "+Gr("bottom",e.bottom)+"\n "+Gr("diagonal",e.diagonal)+"\n </border>"}Zr.prototype.imageFilename=function(e){var t=++this._imgId;switch(e){case"image/jpg":case"image/jpeg":return"image"+t+".jpg";case"image/png":return"image"+t+".png";case"image/gif":return"image"+t+".gif";default:return"image"+t+".bin"}},Zr.prototype.toZIP=function(){var e=this,t=new kr,r=t.folder("docProps");r.file("core.xml",function(e){var t=e.lastModifiedBy,r=e.created,n=e.modified;return Rr+'\n <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"\n xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"\n xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\n <dc:creator>'+Fr(e.creator)+"</dc:creator>\n <cp:lastModifiedBy>"+Fr(t)+'</cp:lastModifiedBy>\n <dcterms:created xsi:type="dcterms:W3CDTF">'+Fr(r)+'</dcterms:created>\n <dcterms:modified xsi:type="dcterms:W3CDTF">'+Fr(n)+"</dcterms:modified>\n</cp:coreProperties>"}({creator:this.options.creator||"Kendo UI",lastModifiedBy:this.options.creator||"Kendo UI",created:this.options.date||(new Date).toJSON(),modified:this.options.date||(new Date).toJSON()}));var n=this._sheets.length;r.file("app.xml",function(e){var t=e.sheets;return Rr+'\n<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">\n <Application>Microsoft Excel</Application>\n <DocSecurity>0</DocSecurity>\n <ScaleCrop>false</ScaleCrop>\n <HeadingPairs>\n <vt:vector size="2" baseType="variant">\n <vt:variant>\n <vt:lpstr>Worksheets</vt:lpstr>\n </vt:variant>\n <vt:variant>\n <vt:i4>'+t.length+'</vt:i4>\n </vt:variant>\n </vt:vector>\n </HeadingPairs>\n <TitlesOfParts>\n <vt:vector size="'+t.length+'" baseType="lpstr">'+Er(t,(function(e,t){return e.options.title?"<vt:lpstr>"+Fr(e.options.title)+"</vt:lpstr>":"<vt:lpstr>Sheet"+(t+1)+"</vt:lpstr>"}))+"</vt:vector>\n </TitlesOfParts>\n <LinksUpToDate>false</LinksUpToDate>\n <SharedDoc>false</SharedDoc>\n <HyperlinksChanged>false</HyperlinksChanged>\n <AppVersion>14.0300</AppVersion>\n</Properties>"}({sheets:this._sheets})),t.folder("_rels").file(".rels",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>\n <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>\n <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/>\n </Relationships>');var i=t.folder("xl");if(i.folder("_rels").file("workbook.xml.rels",function(e){var t=e.count;return Rr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+jr(t,(function(e){return'\n <Relationship Id="rId'+(e+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet'+(e+1)+'.xml" />'}))+'\n <Relationship Id="rId'+(t+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml" />\n <Relationship Id="rId'+(t+2)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml" />\n</Relationships>'}({count:n})),this._images){var o=i.folder("media");Object.keys(this._images).forEach((function(t){var r=e._images[t],n=e.imageFilename(r.type);o.file(n,r.data),r.target="../media/"+n}))}var a={};i.file("workbook.xml",function(e){var t=e.filterNames,r=e.userNames;return Rr+'\n<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n <fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="9303" />\n <workbookPr defaultThemeVersion="124226" />\n <bookViews>\n <workbookView xWindow="240" yWindow="45" windowWidth="18195" windowHeight="7995" />\n </bookViews>\n <sheets>\n '+Er(e.sheets,(function(e,t){var r=e.options;return'<sheet name="'+Fr(r.name||r.title||"Sheet"+(t+1))+'" sheetId="'+(t+1)+'" r:id="rId'+(t+1)+'" />'}))+"\n </sheets>\n "+(t.length||r.length?"\n <definedNames>\n "+Er(t,(function(e){return'\n <definedName name="_xlnm._FilterDatabase" hidden="1" localSheetId="'+e.localSheetId+'">'+Fr(function(e){return/^\'/.test(e)||/^[a-z_][a-z0-9_]*$/i.test(e)?e:"'"+e.replace(/\x27/g,"\\'")+"'"}(e.name))+"!"+Fr(e.from)+":"+Fr(e.to)+"</definedName>"}))+"\n "+Er(r,(function(e){return'\n <definedName name="'+e.name+'" hidden="'+(e.hidden?1:0)+'" '+(null!=e.localSheetId?'localSheetId="'+e.localSheetId+'"':"")+">"+Fr(e.value)+"</definedName>"}))+"\n </definedNames>":"")+'\n <calcPr fullCalcOnLoad="1" calcId="145621" />\n</workbook>'}({sheets:this._sheets,filterNames:u(this._sheets,(function(e,t){var r=e.options,n=r.name||r.title||"Sheet"+(t+1);a[n.toLowerCase()]=t;var i=r.filter;if(i){if(i.ref){var o=i.ref.split(":"),s=tn(o[0]),l=tn(o[1]);return{localSheetId:t,name:n,from:Ur(s.row,s.col),to:Ur(l.row,l.col)}}if(void 0!==i.from&&void 0!==i.to)return{localSheetId:t,name:n,from:Ur(Nr(r),i.from),to:Ur(Nr(r),i.to)}}})),userNames:u(this.options.names||[],(function(e){return{name:e.localName,localSheetId:e.sheet?a[e.sheet.toLowerCase()]:null,value:e.value,hidden:e.hidden}}))}));for(var s=i.folder("worksheets"),l=i.folder("drawings"),c=l.folder("_rels"),h=s.folder("_rels"),d=[],f=[],p=0;p<n;p++){var m=e._sheets[p],g="sheet"+(p+1)+".xml",v=m.toXML(p),_=m.relsToXML(),y=m.commentsXML(),b=m.legacyDrawing(),w=m.drawingsXML(e._images);if(_&&h.file(g+".rels",_),y){var x="comments"+m.options.sheetIndex+".xml";i.file(x,y),d.push(x)}if(b&&l.file("vmlDrawing"+m.options.sheetIndex+".vml",b),w){var k="drawing"+m.options.sheetIndex+".xml";l.file(k,w.main),c.file(k+".rels",w.rels),f.push(k)}s.file(g,v)}var C=u(this._borders,Tr),O=u(this._styles,Tr),S=function(e){return e.underline||e.bold||e.italic||e.color||e.fontFamily||e.fontSize},z=u(O,(function(e){var t,r,n;if(e.fontSize&&(e.fontSize=(t=e.fontSize,(n=Number(t))&&(r=3*n/4),r)),e.color&&(e.color=$r(e.color)),S(e))return e})),P=u(O,(function(e){if(e.format&&void 0===Xr[e.format])return e})),I=u(O,(function(e){if(e.background)return e.background=$r(e.background),e}));return i.file("styles.xml",function(e){var t=e.formats,r=e.fonts,n=e.fills,i=e.borders,o=e.styles;return Rr+'\n<styleSheet\n xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"\n xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"\n mc:Ignorable="x14ac"\n xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">\n <numFmts count="'+t.length+'">\n '+Er(t,(function(e,t){return'\n <numFmt formatCode="'+Fr(e.format)+'" numFmtId="'+(165+t)+'" />'}))+'\n </numFmts>\n <fonts count="'+(r.length+1)+'" x14ac:knownFonts="1">\n <font>\n <sz val="11" />\n <color theme="1" />\n <name val="Calibri" />\n <family val="2" />\n <scheme val="minor" />\n </font>\n '+Er(r,(function(e){return"\n <font>\n "+(e.bold?"<b/>":"")+"\n "+(e.italic?"<i/>":"")+"\n "+(e.underline?"<u/>":"")+'\n <sz val="'+(e.fontSize||11)+'" />\n '+(e.color?'<color rgb="'+Fr(e.color)+'" />':'<color theme="1" />')+"\n "+(e.fontFamily?'\n <name val="'+Fr(e.fontFamily)+'" />\n <family val="2" />\n ':'\n <name val="Calibri" />\n <family val="2" />\n <scheme val="minor" />\n ')+"\n </font>"}))+'\n </fonts>\n <fills count="'+(n.length+2)+'">\n <fill><patternFill patternType="none"/></fill>\n <fill><patternFill patternType="gray125"/></fill>\n '+Er(n,(function(e){return"\n "+(e.background?'\n <fill>\n <patternFill patternType="solid">\n <fgColor rgb="'+Fr(e.background)+'"/>\n </patternFill>\n </fill>\n ':"")}))+'\n </fills>\n <borders count="'+(i.length+1)+'">\n <border><left/><right/><top/><bottom/><diagonal/></border>\n '+Er(i,Yr)+'\n </borders>\n <cellStyleXfs count="1">\n <xf borderId="0" fillId="0" fontId="0" />\n </cellStyleXfs>\n <cellXfs count="'+(o.length+1)+'">\n <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" />\n '+Er(o,(function(e){return'\n <xf xfId="0"\n '+(e.fontId?'fontId="'+e.fontId+'" applyFont="1"':"")+"\n "+(e.fillId?'fillId="'+e.fillId+'" applyFill="1"':"")+"\n "+(e.numFmtId?'numFmtId="'+e.numFmtId+'" applyNumberFormat="1"':"")+"\n "+(e.textAlign||e.verticalAlign||e.wrap?'applyAlignment="1"':"")+"\n "+(e.borderId?'borderId="'+e.borderId+'" applyBorder="1"':"")+">\n "+(e.textAlign||e.verticalAlign||e.wrap?"\n <alignment\n "+(e.textAlign?'horizontal="'+Fr(e.textAlign)+'"':"")+"\n "+(e.verticalAlign?'vertical="'+Fr(e.verticalAlign)+'"':"")+"\n "+(e.indent?'indent="'+Fr(e.indent)+'"':"")+"\n "+(e.wrap?'wrapText="1"':"")+" />\n ":"")+"\n </xf>\n "}))+'\n </cellXfs>\n <cellStyles count="1">\n <cellStyle name="Normal" xfId="0" builtinId="0"/>\n </cellStyles>\n <dxfs count="0" />\n <tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleMedium9" />\n</styleSheet>'}({fonts:z,fills:I,formats:P,borders:C,styles:u(O,(function(e){var t={};return S(e)&&(t.fontId=Dr(e,z)+1),e.background&&(t.fillId=Dr(e,I)+2),t.textAlign=e.textAlign,t.indent=e.indent,t.verticalAlign=e.verticalAlign,t.wrap=e.wrap,t.borderId=e.borderId,e.format&&(void 0!==Xr[e.format]?t.numFmtId=Xr[e.format]:t.numFmtId=165+Dr(e,P)),t}))})),i.file("sharedStrings.xml",function(e){var t=e.count,r=e.uniqueCount,n=e.indexes;return Rr+'\n<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'+t+'" uniqueCount="'+r+'">\n '+Er(Object.keys(n),(function(e){return'\n <si><t xml:space="preserve">'+Fr(e.substring(1))+"</t></si>"}))+"\n</sst>"}(this._strings)),t.file("[Content_Types].xml",function(e){var t=e.commentFiles,r=e.drawingFiles;return Rr+'\n<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n <Default Extension="png" ContentType="image/png"/>\n <Default Extension="gif" ContentType="image/gif"/>\n <Default Extension="jpg" ContentType="image/jpeg"/>\n <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />\n <Default Extension="xml" ContentType="application/xml" />\n <Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/>\n <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" />\n <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/>\n <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/>\n '+jr(e.sheetCount,(function(e){return'<Override PartName="/xl/worksheets/sheet'+(e+1)+'.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" />'}))+"\n "+Er(t,(function(e){return'<Override PartName="/xl/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/>'}))+"\n "+Er(r,(function(e){return'<Override PartName="/xl/drawings/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.drawing+xml"/>'}))+'\n <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml" />\n <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" />\n</Types>'}({sheetCount:n,commentFiles:d,drawingFiles:f})),t},Zr.prototype.toDataURL=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(zr).then(Ar):Ar(e.generate(zr))},Zr.prototype.toBlob=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(Pr):new Blob([e.generate(Ir)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})};var Jr={};function Qr(e){return e.sort((function(e,t){return e.index-t.index}))}function en(e,t){for(var r=0;r<e.length;++r){var n=e[r].split(":"),i=n[0];if(i===t){var o=n[1];return i=tn(i),{rowSpan:(o=tn(o)).row-i.row+1,colSpan:o.col-i.col+1}}}}function tn(e){var t,r=/^([a-z]+)(\d+)$/i.exec(e);return{row:(t=r[2],parseInt(t,10)-1),col:function(e){for(var t=e.toUpperCase(),r=0,n=0;n<t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}(r[1])}}function rn(e){return Math.round(9525*e)}function nn(e,t){var r,n,i=e._source,o=e.index,a=i.cells,s=e.cells;if(a)for(var l=0;l<a.length;l++){var u=a[l]||Jr,c=u.rowSpan||1,h=u.colSpan||1,d=on(s,u),f=Br(o,d);if(1===c&&1===h){var p=en(t.mergedCells,f);p&&(h=p.colSpan,c=p.rowSpan)}if(sn(u,s,d,h),(c>1||h>1)&&(r=t.mergedCells,n=f+":"+Br(o+c-1,d+h-1),r.indexOf(n)<0&&r.push(n)),c>1)for(var m=o+1;m<o+c;m++){var g=t.rowsByIndex[m];g||(g=t.rowsByIndex[m]={index:m,cells:[]},t.rowData.push(g)),sn(u,g.cells,d-1,h+1)}}}function on(e,t){var r;return"number"==typeof t.index?(r=t.index,an(e,t,t.index)):r=function(e,t){for(var r=e.length,n=0;n<e.length+1;n++)if(!e[n]){e[n]=t,r=n;break}return r}(e,t),r}function an(e,t,r){e[r]=t}function sn(e,t,r,n){for(var i=1;i<n;i++)an(t,{borderTop:e.borderTop,borderRight:e.borderRight,borderBottom:e.borderBottom,borderLeft:e.borderLeft},r+i)}var ln=function(e){return"\n<customFilters "+("and"===e.logic?'and="1"':"")+">\n"+Er(e.criteria,(function(e){var t=dn.customOperator(e);return"<customFilter "+(t?'operator="'+t+'"':"")+' val="'+dn.customValue(e)+'"/>'}))+"\n</customFilters>"},un=function(e){var t=e.type;return'<dynamicFilter type="'+dn.dynamicFilterType(t)+'" />'},cn=function(e){var t=e.type,r=e.value;return'<top10 percent="'+(/percent$/i.test(t)?1:0)+'"\n top="'+(/^top/i.test(t)?1:0)+'"\n val="'+r+'" />'},hn=function(e){return"<filters "+(e.blanks?'blank="1"':"")+">\n "+Er(e.values,(function(e){return'\n <filter val="'+e+'" />'}))+"\n </filters>"};function dn(e){return t={ref:e.ref,columns:e.columns,generators:{custom:ln,dynamic:un,top:cn,value:hn}},r=t.generators,'\n<autoFilter ref="'+t.ref+'">\n '+Er(t.columns,(function(e){return'\n <filterColumn colId="'+e.index+'">\n '+r[e.filter](e)+"\n </filterColumn>\n "}))+"\n</autoFilter>";var t,r}dn.customOperator=function(e){return{eq:"equal",gt:"greaterThan",gte:"greaterThanOrEqual",lt:"lessThan",lte:"lessThanOrEqual",ne:"notEqual",doesnotstartwith:"notEqual",doesnotendwith:"notEqual",doesnotcontain:"notEqual",doesnotmatch:"notEqual"}[e.operator.toLowerCase()]},dn.customValue=function(e){function t(e){return e.replace(/([*?])/g,"~$1")}switch(e.operator.toLowerCase()){case"startswith":case"doesnotstartwith":return t(e.value)+"*";case"endswith":case"doesnotendwith":return"*"+t(e.value);case"contains":case"doesnotcontain":return"*"+t(e.value)+"*";default:return e.value}},dn.dynamicFilterType=function(e){return{quarter1:"Q1",quarter2:"Q2",quarter3:"Q3",quarter4:"Q4",january:"M1",february:"M2",march:"M3",april:"M4",may:"M5",june:"M6",july:"M7",august:"M8",september:"M9",october:"M10",november:"M11",december:"M12"}[e.toLowerCase()]||e}},346:(e,t,r)=>{var n;function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableVue2=t.Draggable=void 0;var o=r(895),a=(o.h,o.version&&"3"===o.version[0]),s=r(154),l=r(123),u=(i(n={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new s.default({press:this.press,drag:this.drag,release:this.release})},setup:a?function(){return{v3:!!a}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:a?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(e){this.element&&this.$emit("press",e,this.element)},drag:function(e){this.element&&this.$emit("drag",e,this.element)},release:function(e){this.element&&this.$emit("release",e,this.element)}}},"setup",a?function(){return{v3:!!a}}:void 0),i(n,"render",(function(e){return(0,l.getDefaultSlots)(this)})),n);t.DraggableVue2=u;var c=u;t.Draggable=c},685:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserSupportService=void 0;var r=function(){return"undefined"!=typeof document?document:{}},n=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=r();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!1,configurable:!0}),e}();t.BrowserSupportService=n},770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var r=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);t.canUseDOM=r},820:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=void 0;var n=r(650);t.classNames=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?t.classNames.apply(void 0,e):(0,n.isObject)(e)?Object.keys(e).map((function(t,r){return e[r]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")}},920:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.cloneArray=t.cloneValue=t.cloneObject=t.clone=t.cloneDate=void 0;var n=r(650);function i(e,t){for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];t[r]=o(n,t[r])}}function o(e,r){if(Array.isArray(e))return a(e);if(e instanceof Date)return(0,t.cloneDate)(e);if(e&&(0,n.isObject)(e)){var o=r||{};return i(e,o),o}return e}function a(e){return e.map((function(e){return o(e,void 0)}))}t.cloneDate=function(e){return e?new Date(e.getTime()):null},t.clone=function(e){var t={};return i(e,t),t},t.cloneObject=i,t.cloneValue=o,t.cloneArray=a},866:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FIELD_REGEX=void 0,t.FIELD_REGEX=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g},123:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultSlots=void 0,t.getDefaultSlots=function(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}},580:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.focusContainer=t.focusLastFocusableChild=t.focusFirstFocusableChild=t.lastFocusableChild=t.firstFocusableChild=void 0;var n=r(385),i='input, [tabindex]:not([tabindex="-1"])';t.firstFocusableChild=function(e){if(e){var t=e.querySelectorAll(i);if(t.length&&t[0].focus)return t[0]}},t.lastFocusableChild=function(e){if(e){var t=e.querySelectorAll(i);if(t.length&&t[t.length-1].focus)return t[t.length-1]}},t.focusFirstFocusableChild=function(e){if(e){var t=e.querySelectorAll(i);t.length&&t[0].focus&&t[0].focus()}},t.focusLastFocusableChild=function(e){if(e){var t=e.querySelectorAll(i);t.length&&t[t.length-1].focus&&t[t.length-1].focus()}},t.focusContainer=function(e,r){var i=!0;if(e.keyCode!==n.Keys.enter&&e.target===r)return!1;if(e.keyCode===n.Keys.enter&&e.target===r)i=!0,setTimeout((function(){(0,t.focusFirstFocusableChild)(r)}),1);else if(e.keyCode===n.Keys.esc)i=!1,r.focus();else if(e.keyCode===n.Keys.tab){var o=(0,t.firstFocusableChild)(r),a=(0,t.lastFocusableChild)(r);a&&!e.shiftKey&&e.target===a&&(e.preventDefault(),o.focus()),o&&e.shiftKey&&e.target===o&&(e.preventDefault(),a.focus())}return i}},369:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getTabIndex=void 0,t.getTabIndex=function(e,t,r){var n="string"==typeof e?parseInt(e,void 0):e;if(NaN!==n)return void 0!==n?n:t?r?void 0:-1:0}},504:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getter=void 0;var n=r(866),i={undefined:function(){}};t.getter=function(e){if(i[e])return i[e];var t=[];return e.replace(n.FIELD_REGEX,(function(e,r,n,i){t.push(void 0!==r?r:n||i)})),i[e]=function(e){for(var r=e,n=0;n<t.length&&r;n++)r=r[t[n]];return r},i[e]}},350:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.guid=void 0,t.guid=function(){var e,t,r="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(r+="-"),r+=(12===e?4:16===e?3&t|8:t).toString(16);return r}},366:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.hasRelativeStackingContext=void 0;var n=r(770);t.hasRelativeStackingContext=function(e){if(!n.canUseDOM)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var r=t.createElement("div");r.style.transform="matrix(10, 0, 0, 10, 0, 0)",r.innerHTML='<div style="position: fixed; top: '.concat(10,'px;">child</div>'),t.body.appendChild(r);var i=10!==r.children[0].getBoundingClientRect().top;return t.body.removeChild(r),i}},650:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=void 0,t.isObject=function(e){return"object"==typeof e}},777:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDir=t.isRtl=void 0;var n=r(770);t.isRtl=function(e){return Boolean(n.canUseDOM&&e&&"rtl"===getComputedStyle(e).direction)},t.getDir=function(e,t){if(!t&&n.canUseDOM&&e){var r=window.getComputedStyle(e).direction;if(r)return r}return t}},385:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Keys=void 0,t.Keys={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46}},681:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getListeners=t.hasListener=void 0,t.hasListener=function(e){return this.v3?Object.keys(this.$attrs).map((function(e){return e.toLowerCase()})).some((function(t){return t.endsWith(e.toLowerCase())})):this.$listeners[e]},t.getListeners=function(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}},680:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.validatePackage=t.setter=t.getter=t.getDir=t.isRtl=t.getDefaultSlots=t.getTabIndex=t.templateDefinition=t.templateRendering=t.getTemplate=t.cloneDate=t.cloneObject=t.cloneValue=t.cloneArray=t.Draggable=t.clone=t.focusContainer=t.focusLastFocusableChild=t.lastFocusableChild=t.focusFirstFocusableChild=t.firstFocusableChild=t.canUseDOM=t.hasListener=t.getListeners=t.isObject=t.noop=t.Keys=t.guid=t.classNames=t.setRef=t.getRef=void 0;var o=r(820);Object.defineProperty(t,"classNames",{enumerable:!0,get:function(){return o.classNames}});var a=r(350);Object.defineProperty(t,"guid",{enumerable:!0,get:function(){return a.guid}});var s=r(385);Object.defineProperty(t,"Keys",{enumerable:!0,get:function(){return s.Keys}});var l=r(770);Object.defineProperty(t,"canUseDOM",{enumerable:!0,get:function(){return l.canUseDOM}});var u=r(360);Object.defineProperty(t,"getRef",{enumerable:!0,get:function(){return u.getRef}}),Object.defineProperty(t,"setRef",{enumerable:!0,get:function(){return u.setRef}});var c=r(580);Object.defineProperty(t,"focusFirstFocusableChild",{enumerable:!0,get:function(){return c.focusFirstFocusableChild}}),Object.defineProperty(t,"focusLastFocusableChild",{enumerable:!0,get:function(){return c.focusLastFocusableChild}}),Object.defineProperty(t,"focusContainer",{enumerable:!0,get:function(){return c.focusContainer}}),Object.defineProperty(t,"firstFocusableChild",{enumerable:!0,get:function(){return c.firstFocusableChild}}),Object.defineProperty(t,"lastFocusableChild",{enumerable:!0,get:function(){return c.lastFocusableChild}});var h=r(346);Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return h.Draggable}});var d=r(920);Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return d.clone}}),Object.defineProperty(t,"cloneArray",{enumerable:!0,get:function(){return d.cloneArray}}),Object.defineProperty(t,"cloneValue",{enumerable:!0,get:function(){return d.cloneValue}}),Object.defineProperty(t,"cloneObject",{enumerable:!0,get:function(){return d.cloneObject}}),Object.defineProperty(t,"cloneDate",{enumerable:!0,get:function(){return d.cloneDate}});var f=r(650);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return f.isObject}});var p=r(482);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return p.noop}});var m=r(504);Object.defineProperty(t,"getter",{enumerable:!0,get:function(){return m.getter}});var g=r(63);Object.defineProperty(t,"setter",{enumerable:!0,get:function(){return g.setter}});var v=r(681);Object.defineProperty(t,"hasListener",{enumerable:!0,get:function(){return v.hasListener}}),Object.defineProperty(t,"getListeners",{enumerable:!0,get:function(){return v.getListeners}});var _=r(337);Object.defineProperty(t,"templateRendering",{enumerable:!0,get:function(){return _.templateRendering}}),Object.defineProperty(t,"getTemplate",{enumerable:!0,get:function(){return _.getTemplate}}),Object.defineProperty(t,"templateDefinition",{enumerable:!0,get:function(){return _.templateDefinition}});var y=r(369);Object.defineProperty(t,"getTabIndex",{enumerable:!0,get:function(){return y.getTabIndex}});var b=r(123);Object.defineProperty(t,"getDefaultSlots",{enumerable:!0,get:function(){return b.getDefaultSlots}});var w=r(777);Object.defineProperty(t,"isRtl",{enumerable:!0,get:function(){return w.isRtl}}),Object.defineProperty(t,"getDir",{enumerable:!0,get:function(){return w.getDir}});var x=r(940);Object.defineProperty(t,"validatePackage",{enumerable:!0,get:function(){return x.validatePackage}}),i(r(484),t),i(r(269),t),i(r(685),t),i(r(984),t),i(r(366),t)},482:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},360:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setRef=t.getRef=void 0,t.getRef=function(e,t,r){return e.v3?e["".concat(t,"Ref")]:e.$refs["".concat(r||t)]},t.setRef=function(e,t,r){return e.v3?function(r){e["".concat(t,"Ref")]=r}:r||t}},984:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setScrollbarWidth=t.getScrollbarWidth=void 0;var n=r(685),i=r(770);t.getScrollbarWidth=function(){return!(!i.canUseDOM||!document.body)&&(new n.BrowserSupportService).scrollbarWidth},t.setScrollbarWidth=function(){if(!i.canUseDOM||!document.body)return!1;var e=(new n.BrowserSupportService).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width","".concat(e,"px"))}},63:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setter=void 0;var n=r(866),i={undefined:function(e){return e}};t.setter=function(e){if(i[e])return i[e];var t=[];return e.replace(n.FIELD_REGEX,(function(e,r,n,i){t.push(void 0!==r?r:n||i)})),i[e]=function(e,r){for(var n=e,i=t.length-1,o=0;o<i&&n;o++)n=n[t[o]]=n[t[o]]||{};n[t[i]]=r},i[e]}},337:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.transformListeners=t.getTemplate=t.templateRendering=t.templateDefinition=void 0;var i=r(895),o=r(650),a=i,s=a.version&&"3"===a.version[0];function l(e){if(!e)return e;for(var t={},r=Object.keys(e),n=0;n<r.length;n++){var i=r[n];t["on"+i.charAt(0).toUpperCase()+i.slice(1)]=e[i]}return t}t.templateDefinition={type:[String,Function,Object,Boolean],default:function(){}},t.templateRendering=function(e,t){if(e||!1===e){var r=s?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&r?{kt:!0,type:"slot",render:r,listeners:t}:"string"==typeof e||(0,o.isObject)(e)||"function"==typeof e&&e.component?{kt:!0,type:"component",render:e,listeners:t}:{kt:!0,type:"renderFunction",render:e,listeners:t}}},t.getTemplate=function(e){var t,r,i,o=e.h,a=e.template,u=e.defaultRendering,c=e.defaultSlots,h=e.additionalProps,d=e.additionalListeners,f=e.swapDefaultSlots;if(!a||a&&!0===a.render)return u;if(s){var p=u?u.props:{};t=n(n({},l(d)),a.listeners),r=n(n(n({},p),h),t),i=n(n({},r),t)}else{var m=u&&u.componentOptions,g=m?u.componentOptions.listeners:{},v=m?u.componentOptions.propsData:{};t=n(n(n(n({},g),d),l(d)),a.listeners),i={props:r=n(n(n({},v),h),t),on:t}}if("slot"===a.type){var _=a.render({props:r,listeners:t,methods:t,defaultSlots:c});return _?_[0]:void 0}return"renderFunction"===a.type?f?a.render?a.render(o,u,c,r,t):void 0:a.render?a.render(o,u,r,t,c):void 0:o(a.render,i,s?function(){return[c]}:[c])},t.transformListeners=l},484:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.kendoThemeMaps=void 0,t.kendoThemeMaps={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},269:function(e,t){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},n=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};function i(e,t,i){var o;return i?r(r({},e),((o={})[t]=i.length?n([],i,!0):void 0,o)):e&&e[t]?n([],e[t],!0):[]}function o(e,t,r){if(e[t]){var n=i(e,t).map((function(e){return o(e,t,r)}));return r(i(e,t,n))}return r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getNestedValue=t.getItemPath=t.extendDataItem=t.mapTreeItem=t.mapTree=void 0,t.mapTree=function(e,t,r){return n([],e.map((function(e){return o(e,t,r)})),!0)},t.mapTreeItem=function(e,t,r,n){for(var i=e,o=[],a=0;a<t.length;a++)i=i[t[a]],i=Array.isArray(i)?i:i[r],o.push(i);var s=o.length>1?o[o.length-2]:e,l=t[t.length-1],u=n(s[l]);s.splice(l,1,u)},t.extendDataItem=function(e,t,r){var n;return Object.assign({},e,e[t]?((n={})[t]=e[t].slice(),n):{},r||{})},t.getItemPath=function(e,t,r){var i=[],o=n([],t,!0);if(o.length){var a=e[o.shift()||0];for(i.push(a);o.length&&r;)a=a[r][o.shift()||0],i.push(a)}return i},t.getNestedValue=function(e,t){var r=e.split("."),n=t;return r.forEach((function(e){n=n?n[e]:void 0})),n}},940:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validatePackage=void 0;var n=r(302);t.validatePackage=function(e){var t=n,r=void 0!==t&&t.validatePackage?t:t.default;if(r&&r.validatePackage)r.validatePackage(e);else{var i="License activation failed for ".concat(e.name,"\n");i+="The @progress/kendo-licensing script is not loaded.\n",i+="See ".concat(e.licensingDocsUrl," for more information.\n"),console.warn(i)}}},154:(e,t,r)=>{r.r(t),r.d(t,{Draggable:()=>c,default:()=>d});var n=function(e,t){return function(r){return t(e(r))}},i=function(e,t,r){return e.addEventListener&&e.addEventListener(t,r)},o=function(e,t,r){return e&&e.removeEventListener&&e.removeEventListener(t,r)},a=function(){},s=function(e){return e.preventDefault()},l=/touch/;function u(e){return e.type.match(l)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var c=function(e){var t=this,r=e.press;void 0===r&&(r=a);var l=e.drag;void 0===l&&(l=a);var c=e.release;void 0===c&&(c=a);var h=e.mouseOnly;void 0===h&&(h=!1),this._pressHandler=n(u,r),this._dragHandler=n(u,l),this._releaseHandler=n(u,c),this._ignoreMouse=!1,this._mouseOnly=h,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var r=e.which;r&&r>1||t._ignoreMouse||(i(t.document,"mousemove",t._mousemove),i(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){o(t.document,"mousemove",t._mousemove),o(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(i(t.document,"pointermove",t._pointermove),i(t.document,"pointerup",t._pointerup),i(t.document,"pointercancel",t._pointerup),i(t.document,"contextmenu",s),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(o(t.document,"pointermove",t._pointermove),o(t.document,"pointerup",t._pointerup),o(t.document,"pointercancel",t._pointerup),o(t.document,"contextmenu",s),t._releaseHandler(e))}},h={document:{configurable:!0}};c.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},h.document.get=function(){return this._element?this._element.ownerDocument:document},c.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},c.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?i(e,"pointerdown",this._pointerdown):(i(e,"mousedown",this._mousedown),this._mouseOnly||(i(e,"touchstart",this._touchstart),i(e,"touchmove",this._touchmove),i(e,"touchend",this._touchend)))},c.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return o(e,"pointerdown",this._pointerdown),o(this.document,"pointermove",this._pointermove),o(this.document,"pointerup",this._pointerup),o(this.document,"contextmenu",s),void o(this.document,"pointercancel",this._pointerup);o(e,"mousedown",this._mousedown),this._mouseOnly||(o(e,"touchstart",this._touchstart),o(e,"touchmove",this._touchmove),o(e,"touchend",this._touchend))},c.prototype._usePointers=function(){return!this._mouseOnly&&c.supportPointerEvent()},c.prototype.update=function(e){var t=e.press;void 0===t&&(t=a);var r=e.drag;void 0===r&&(r=a);var i=e.release;void 0===i&&(i=a);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=n(u,t),this._dragHandler=n(u,r),this._releaseHandler=n(u,i),this._mouseOnly=o},c.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(c.prototype,h),c.default=c;const d=c},302:e=>{e.exports=t},895:t=>{t.exports=e}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e].call(o.exports,o,o.exports,i),o.exports}return i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i(545)})()}));
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-excel-export',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1666778017,
8
+ publishDate: 1667290112,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-excel-export',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1666778017,
8
+ publishDate: 1667290112,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-excel-export',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1666778017,
11
+ publishDate: 1667290112,
12
12
  version: '',
13
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
14
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-excel-export",
3
- "version": "3.7.1",
3
+ "version": "3.7.2",
4
4
  "description": "Kendo UI for Vue Excel Export package",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@progress/kendo-file-saver": "^1.1.0",
36
36
  "@progress/kendo-ooxml": "^1.6.1",
37
- "@progress/kendo-vue-common": "3.7.1"
37
+ "@progress/kendo-vue-common": "3.7.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@progress/kendo-data-query": "^1.5.4",