@progress/kendo-angular-excel-export 4.0.3-dev.202201190830 → 4.0.3

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.
@@ -17,4 +17,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
17
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
18
  PERFORMANCE OF THIS SOFTWARE.
19
19
  ***************************************************************************** */
20
- var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=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}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function s(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t){return function(r,n){t(r,n,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function d(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function h(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function f(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||(t[r]=e[r])}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function y(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function _(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{(r=i[e](t)).value instanceof v?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}var r}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:v(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=p(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,i,(t=e[r](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}function S(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function M(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}},function(t,r){t.exports=e},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.parent=e}return Object.defineProperty(e.prototype,"level",{get:function(){return this.parent?this.parent.level+1:0},enumerable:!0,configurable:!0}),n.__decorate([i.Input(),n.__metadata("design:type",String)],e.prototype,"title",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Number)],e.prototype,"width",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"locked",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"hidden",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],e.prototype,"headerCellOptions",void 0),n.__decorate([i.ContentChildren(e),n.__metadata("design:type",i.QueryList)],e.prototype,"children",void 0),e}();t.ColumnBase=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.templateRef=e}return e=n.__decorate([i.Directive({selector:"[kendoExcelExportGroupHeaderTemplate]"}),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.GroupHeaderTemplateDirective=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.templateRef=e}return e=n.__decorate([i.Directive({selector:"[kendoExcelExportGroupFooterTemplate]"}),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.GroupFooterTemplateDirective=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.templateRef=e}return e=n.__decorate([i.Directive({selector:"[kendoExcelExportFooterTemplate]"}),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.FooterTemplateDirective=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(19),a=r(7),s=r(2),l=r(14),u=r(15),c=r(16),d=function(){function e(e,t){this.localization=e,this.zone=t,this.fileName="Export.xlsx",this.columns=new i.QueryList,u.validatePackage(c.packageMetadata),this.saveFile=this.saveFile.bind(this)}return e.prototype.save=function(e){this.toDataURL(e).then(this.saveFile)},e.prototype.workbookOptions=function(e){var t=this.getExportData(e);return a.workbookOptions({columns:this.columns,data:t.data,group:t.group,filterable:this.filterable,creator:this.creator,date:this.date,rtl:this.localization.rtl,paddingCellOptions:this.paddingCellOptions,headerPaddingCellOptions:this.headerPaddingCellOptions,collapsible:this.collapsible})},e.prototype.toDataURL=function(e){var t=a.isWorkbookOptions(e)?e:this.workbookOptions(e);return this.zone.runOutsideAngular((function(){return a.toDataURL(t)}))},e.prototype.getExportData=function(e){return e?Array.isArray(e)?{data:e}:e:{data:this.data,group:this.group}},e.prototype.saveFile=function(e){o.saveAs(e,this.fileName,{forceProxy:this.forceProxy,proxyURL:this.proxyURL})},n.__decorate([i.Input(),n.__metadata("design:type",String)],e.prototype,"fileName",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"filterable",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"collapsible",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],e.prototype,"creator",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Date)],e.prototype,"date",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"forceProxy",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],e.prototype,"proxyURL",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Array)],e.prototype,"data",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Array)],e.prototype,"group",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],e.prototype,"paddingCellOptions",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],e.prototype,"headerPaddingCellOptions",void 0),n.__decorate([i.ContentChildren(s.ColumnBase,{descendants:!0}),n.__metadata("design:type",i.QueryList)],e.prototype,"columns",void 0),e=n.__decorate([i.Component({exportAs:"kendoExcelExport",selector:"kendo-excelexport",providers:[l.LocalizationService,{provide:l.L10N_PREFIX,useValue:"kendo.excelexport"}],template:""}),n.__metadata("design:paramtypes",[l.LocalizationService,i.NgZone])],e)}();t.ExcelExportComponent=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(11),i=r(13),o=r(18);n.IntlService.register({toString:o.toString}),t.workbookOptions=function(e){var t=i.toExporterColumns(e.columns),r=new n.ExcelExporter({columns:t,data:e.data,filterable:e.filterable,groups:e.group,paddingCellOptions:e.paddingCellOptions,headerPaddingCellOptions:e.headerPaddingCellOptions,collapsible:e.collapsible,hierarchy:e.hierarchy,aggregates:e.aggregates}).workbook();return r.creator=e.creator,r.date=e.date,r.rtl=e.rtl,i.destroyColumns(t),r},t.toDataURL=function(e){return new n.Workbook(e).toDataURL()},t.isWorkbookOptions=function(e){return e&&e.sheets}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(3),a=r(9),s=r(4),l=r(5),u=r(2),c=function(e){function t(t){return e.call(this,t)||this}var r;return n.__extends(t,e),r=t,n.__decorate([i.Input(),n.__metadata("design:type",String)],t.prototype,"field",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],t.prototype,"cellOptions",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],t.prototype,"groupHeaderCellOptions",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],t.prototype,"groupFooterCellOptions",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],t.prototype,"footerCellOptions",void 0),n.__decorate([i.ContentChild(o.GroupHeaderTemplateDirective,{static:!1}),n.__metadata("design:type",o.GroupHeaderTemplateDirective)],t.prototype,"groupHeaderTemplate",void 0),n.__decorate([i.ContentChild(a.GroupHeaderColumnTemplateDirective,{static:!1}),n.__metadata("design:type",a.GroupHeaderColumnTemplateDirective)],t.prototype,"groupHeaderColumnTemplate",void 0),n.__decorate([i.ContentChild(s.GroupFooterTemplateDirective,{static:!1}),n.__metadata("design:type",s.GroupFooterTemplateDirective)],t.prototype,"groupFooterTemplate",void 0),n.__decorate([i.ContentChild(l.FooterTemplateDirective,{static:!1}),n.__metadata("design:type",l.FooterTemplateDirective)],t.prototype,"footerTemplate",void 0),t=r=n.__decorate([i.Component({providers:[{provide:u.ColumnBase,useExisting:i.forwardRef((function(){return r}))}],selector:"kendo-excelexport-column",template:""}),n.__param(0,i.SkipSelf()),n.__param(0,i.Host()),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[u.ColumnBase])],t)}(u.ColumnBase);t.ColumnComponent=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.templateRef=e}return e=n.__decorate([i.Directive({selector:"[kendoExcelExportGroupHeaderColumnTemplate]"}),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.GroupHeaderColumnTemplateDirective=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(2),a=function(e){function t(t){var r=e.call(this,t)||this;return r.parent=t,r}var r;return n.__extends(t,e),r=t,t=r=n.__decorate([i.Component({providers:[{provide:o.ColumnBase,useExisting:i.forwardRef((function(){return r}))}],selector:"kendo-excelexport-column-group",template:""}),n.__param(0,i.SkipSelf()),n.__param(0,i.Host()),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[o.ColumnBase])],t)}(o.ColumnBase);t.ColumnGroupComponent=a},function(e,t,r){"use strict";r.r(t),r.d(t,"ExcelExporter",(function(){return p})),r.d(t,"IntlService",(function(){return y})),r.d(t,"TemplateService",(function(){return o})),r.d(t,"Workbook",(function(){return Ur})),r.d(t,"Worksheet",(function(){return Nr}));var n={compile:function(e){return e}},i=function(){};i.register=function(e){n=e},i.compile=function(e){return n.compile(e)};var o=i,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 d(e,t){for(var r=[],n=0;n<e;n++)r.push(t(n));return r}function h(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(){var e={sheets:[{columns:this._columns(),rows:this.hierarchy?this._hierarchyRows():this._rows(),freezePane:this._freezePane(),filter:this._filter()}]};return e},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 d(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||h,o=this._hasFooterTemplate(),a=[],s=[],l=0;o||(this.collapsible=!1);for(var u=0;u<r.length;u++){var c=r[u],d=n(c,u);o&&(d>l?s.push({id:e,level:l}):d<l&&a.push.apply(a,this._hierarchyFooterRows(s,d,t)),l=d,e=i(c,u)),a.push.apply(a,this._dataRow(c,d+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:d(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=n||e[e.length-1],o=e[i.index+1],a=0,s=0;s<t.length;s++){var l=t[s];if(this._isColumnVisible(l)){var u=Object.assign({background:"#7a7a7a",color:"#fff",value:l.title||l.field,colSpan:0,firstCell:0===s&&(!r||r.firstCell)},l.headerCellOptions);i.cells.push(u),l.columns&&l.columns.length&&(o||(o={rowSpan:0,cells:[],index:e.length},e.push(o)),u.colSpan=this._trimColumns(this._visibleColumns(l.columns)).length,this._prepareHeaderRows(e,l.columns,u,o),a+=u.colSpan-1,i.rowSpan=e.length-i.index)}}r&&(r.colSpan+=a)},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 d(this._depth(),(function(){return{width:20}})).concat(this.columns.map((function(e){return{width:parseInt(e.width,10),autoWidth:!e.width}})))};var p=f,m={toString:function(e){return e}},g=function(){};g.register=function(e){m=e},g.toString=function(e,t){return m.toString(e,t)};var y=g;function v(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(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)v(r,n)&&(e[n]=r[n])}}return e}function b(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}var w={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)}},x={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)}},k=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;return k=function(){return e},e},C=function(e,t,r,n,i){return(C=k()?w.arraySet:x.arraySet)(e,t,r,n,i)},S=function(e){return(S=k()?w.flattenChunks:x.flattenChunks)(e)},M=function(e){return(M=k()?w.Buf8:x.Buf8)(e)},O=function(e){return(O=k()?w.Buf16:x.Buf16)(e)},z=function(e){return(z=k()?w.Buf32:x.Buf32)(e)},D=function(){var e=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}return D=function(){return e},e},I=function(){var e=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){e=!1}return I=function(){return e},e},T=function(e){for(var t=M(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 A(e,t){if(t<65534&&(e.subarray&&I()||!e.subarray&&D()))return String.fromCharCode.apply(null,b(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 A(s,n)}function P(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 N(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 B=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 B=function(){return e},e};function j(e,t,r,n){var i=B(),o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}function H(e,t){var r,n,i,o,a,s,l,u,c,d,h,f,p,m,g,y,v,_,b,w,x,k,C,S,M;r=e.state,n=e.next_in,S=e.input,i=n+(e.avail_in-5),o=e.next_out,M=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,d=r.wnext,h=r.window,f=r.hold,p=r.bits,m=r.lencode,g=r.distcode,y=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;e:do{p<15&&(f+=S[n++]<<p,p+=8,f+=S[n++]<<p,p+=8),_=m[f&y];t:for(;;){if(f>>>=b=_>>>24,p-=b,0===(b=_>>>16&255))M[o++]=65535&_;else{if(!(16&b)){if(0==(64&b)){_=m[(65535&_)+(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&_,(b&=15)&&(p<b&&(f+=S[n++]<<p,p+=8),w+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=S[n++]<<p,p+=8,f+=S[n++]<<p,p+=8),_=g[f&v];r:for(;;){if(f>>>=b=_>>>24,p-=b,!(16&(b=_>>>16&255))){if(0==(64&b)){_=g[(65535&_)+(f&(1<<b)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(x=65535&_,p<(b&=15)&&(f+=S[n++]<<p,(p+=8)<b&&(f+=S[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=h,0===d){if(k+=u-b,b<w){w-=b;do{M[o++]=h[k++]}while(--b);k=o-x,C=M}}else if(d<b){if(k+=u+d-b,(b-=d)<w){w-=b;do{M[o++]=h[k++]}while(--b);if(k=0,d<w){w-=b=d;do{M[o++]=h[k++]}while(--b);k=o-x,C=M}}}else if(k+=d-b,b<w){w-=b;do{M[o++]=h[k++]}while(--b);k=o-x,C=M}for(;w>2;)M[o++]=C[k++],M[o++]=C[k++],M[o++]=C[k++],w-=3;w&&(M[o++]=C[k++],w>1&&(M[o++]=C[k++]))}else{k=o-x;do{M[o++]=M[k++],M[o++]=M[k++],M[o++]=M[k++],w-=3}while(w>2);w&&(M[o++]=M[k++],w>1&&(M[o++]=M[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 L=[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],R=[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],U=[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],G=[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 W(e,t,r,n,i,o,a,s){var l,u,c,d,h,f,p,m,g,y=s.bits,v=0,_=0,b=0,w=0,x=0,k=0,C=0,S=0,M=0,z=0,D=null,I=0,T=O(16),F=O(16),A=null,E=0;for(v=0;v<=15;v++)T[v]=0;for(_=0;_<n;_++)T[t[r+_]]++;for(x=y,w=15;w>=1&&0===T[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===T[b];b++);for(x<b&&(x=b),S=1,v=1;v<=15;v++)if(S<<=1,(S-=T[v])<0)return-1;if(S>0&&(0===e||1!==w))return-1;for(F[1]=0,v=1;v<15;v++)F[v+1]=F[v]+T[v];for(_=0;_<n;_++)0!==t[r+_]&&(a[F[t[r+_]]++]=_);if(0===e?(D=A=a,f=19):1===e?(D=L,I-=257,A=R,E-=257,f=256):(D=U,A=G,f=-1),z=0,_=0,v=b,h=o,k=x,C=0,c=-1,d=(M=1<<x)-1,1===e&&M>852||2===e&&M>592)return 1;for(;;){p=v-C,a[_]<f?(m=0,g=a[_]):a[_]>f?(m=A[E+a[_]],g=D[I+a[_]]):(m=96,g=0),l=1<<v-C,b=u=1<<k;do{i[h+(z>>C)+(u-=l)]=p<<24|m<<16|g|0}while(0!==u);for(l=1<<v-1;z&l;)l>>=1;if(0!==l?(z&=l-1,z+=l):z=0,_++,0==--T[v]){if(v===w)break;v=t[r+a[_]]}if(v>x&&(z&d)!==c){for(0===C&&(C=x),h+=b,S=1<<(k=v-C);k+C<w&&!((S-=T[k+C])<=0);)k++,S<<=1;if(M+=1<<k,1===e&&M>852||2===e&&M>592)return 1;i[c=z&d]=x<<24|k<<16|h-o|0}}return 0!==z&&(i[h+z]=v-C<<24|64<<16|0),s.bits=x,0}function q(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Z(){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=O(320),this.work=O(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function X(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=z(852),t.distcode=t.distdyn=z(592),t.sane=1,t.back=-1,0):-2}(e)):-2}function K(e,t){var r,n;return e?(n=new Z,e.state=n,n.window=null,0!==(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)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,X(e))):-2}(e,t))&&(e.state=null),r):-2}var J,V,Q=!0;function $(e){if(Q){var t;for(J=z(512),V=z(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(W(1,e.lens,0,288,J,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;W(2,e.lens,0,32,V,0,e.work,{bits:5}),Q=!1}e.lencode=J,e.lenbits=9,e.distcode=V,e.distbits=5}function Y(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=M(o.wsize)),n>=o.wsize?(C(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>n&&(i=n),C(o.window,t,r-n,i,o.wnext),(n-=i)?(C(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 ee(e,t){var r,n,i,o,a,s,l,u,c,d,h,f,p,m,g,y,v,_,b,w,x,k,S,O,z=0,D=M(4),I=[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-2;12===(r=e.state).mode&&(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,d=s,h=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,D[0]=255&u,D[1]=u>>>8&255,r.check=j(r.check,D,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=30;break}if(8!=(15&u)){e.msg="unknown compression method",r.mode=30;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=30;break}r.dmax=1<<x,e.adler=r.check=1,r.mode=512&u?10:12,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=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=u>>8&1),512&r.flags&&(D[0]=255&u,D[1]=u>>>8&255,r.check=j(r.check,D,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&&(D[0]=255&u,D[1]=u>>>8&255,D[2]=u>>>16&255,D[3]=u>>>24&255,r.check=j(r.check,D,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&&(D[0]=255&u,D[1]=u>>>8&255,r.check=j(r.check,D,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&&(D[0]=255&u,D[1]=u>>>8&255,r.check=j(r.check,D,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)),C(r.head.extra,n,o,f,x)),512&r.flags&&(r.check=j(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=j(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=j(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=30;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=12;break;case 10:for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}e.adler=r.check=q(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=12;case 12: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($(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=30}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=30;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;C(i,n,o,f,a),s-=f,o+=f,l-=f,a+=f,r.length-=f;break}r.mode=12;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=30;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[I[r.have++]]=7&u,u>>>=3,c-=3}for(;r.have<19;)r.lens[I[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},k=W(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,k){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;y=(z=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,v=65535&z,!((g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(v<16)u>>>=g,c-=g,r.lens[r.have++]=v;else{if(16===v){for(O=g+2;c<O;){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=30;break}x=r.lens[r.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===v){for(O=g+3;c<O;){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(O=g+7;c<O;){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=30;break}for(;f--;)r.lens[r.have++]=x}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},k=W(1,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,k){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},k=W(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,k){e.msg="invalid distances set",r.mode=30;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,H(e,h),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,12===r.mode&&(r.back=-1);break}for(r.back=0;y=(z=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,v=65535&z,!((g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(y&&0==(240&y)){for(_=g,b=y,w=v;y=(z=r.lencode[w+((u&(1<<_+b)-1)>>_)])>>>16&255,v=65535&z,!(_+(g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=_,c-=_,r.back+=_}if(u>>>=g,c-=g,r.back+=g,r.length=v,0===y){r.mode=26;break}if(32&y){r.back=-1,r.mode=12;break}if(64&y){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&y,r.mode=22;case 22:if(r.extra){for(O=r.extra;c<O;){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(;y=(z=r.distcode[u&(1<<r.distbits)-1])>>>16&255,v=65535&z,!((g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(0==(240&y)){for(_=g,b=y,w=v;y=(z=r.distcode[w+((u&(1<<_+b)-1)>>_)])>>>16&255,v=65535&z,!(_+(g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=_,c-=_,r.back+=_}if(u>>>=g,c-=g,r.back+=g,64&y){e.msg="invalid distance code",r.mode=30;break}r.offset=v,r.extra=15&y,r.mode=24;case 24:if(r.extra){for(O=r.extra;c<O;){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=30;break}r.mode=25;case 25:if(0===l)break e;if(f=h-l,r.offset>f){if((f=r.offset-f)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;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(h-=l,e.total_out+=h,r.total+=h,h&&(e.adler=r.check=r.flags?j(r.check,i,h,a-h):N(r.check,i,h,a-h)),h=l,(r.flags?u:q(u))!==r.check){e.msg="incorrect data check",r.mode=30;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=30;break}u=0,c=0}r.mode=29;case 29:k=1;break e;case 30:k=-3;break e;case 31:return-4;case 32:default:return-2}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||h!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&Y(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,r.total+=h,r.wrap&&h&&(e.adler=r.check=r.flags?j(r.check,i,h,e.next_out-h):N(r.check,i,h,e.next_out-h)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===d&&0===h||4===t)&&0===k&&(k=-5),k}function te(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?-2:11===r.mode&&N(1,t,n,0)!==r.check?-3:Y(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2}var re={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 ne(){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 ie(){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 oe=Object.prototype.toString,ae=function e(t){if(!(this instanceof e))return new e(t);this.options=_({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 ne,this.strm.avail_out=0;var n,i,o,a=K(this.strm,r.windowBits);if(0!==a)throw new Error(re[a]);if(this.header=new ie,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]"===oe.call(r.dictionary)&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&0!==(a=te(this.strm,r.dictionary))))throw new Error(re[a])};ae.prototype.push=function(e,t){var r,n,i,o,a,s,l=this.strm,u=this.options.chunkSize,c=this.options.dictionary,d=!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]"===oe.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=M(u),l.next_out=0,l.avail_out=u),2===(r=ee(l,0))&&c&&(s="string"==typeof c?F(c):"[object ArrayBuffer]"===oe.call(c)?new Uint8Array(c):c,r=te(this.strm,s)),-5===r&&!0===d&&(r=0,d=!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=P(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&&C(l.output,l.output,i,o,0),this.onData(a)):this.onData(b(l.output,l.next_out)))),0===l.avail_in&&0===l.avail_out&&(d=!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-2;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)},ae.prototype.onData=function(e){this.chunks.push(e)},ae.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};function se(e){for(var t=e.length;--t>=0;)e[t]=0}var le,ue,ce,de,he,fe,pe,me,ge,ye=[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],ve=[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],_e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function we(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 xe(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function ke(e){return e<256?ce[e]:ce[256+(e>>>7)]}function Ce(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Se(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,Ce(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 Me(e,t,r){Se(e,r[2*t],r[2*t+1])}function Oe(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function ze(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]=Oe(o[s]++,s))}}function De(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 Ie(e){e.bi_valid>8?Ce(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 Te(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 Fe(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&Te(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Te(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function Ae(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?Me(e,i,t):(Me(e,(o=de[i])+256+1,t),0!==(a=ye[o])&&Se(e,i-=he[o],a),Me(e,o=ke(--n),r),0!==(a=ve[o])&&Se(e,n-=fe[o],a))}while(s<e.last_lit);Me(e,256,t)}function Ee(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--)Fe(e,o,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Fe(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++,Fe(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,d=t.stat_desc.has_stree,h=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=h[n-f]),s=l[2*n],e.opt_len+=s*(o+a),d&&(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),ze(o,u,e.bl_count)}function Pe(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 Ne(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{Me(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(Me(e,i,e.bl_tree),s--),Me(e,16,e.bl_tree),Se(e,s-3,2)):s<=10?(Me(e,17,e.bl_tree),Se(e,s-3,3)):(Me(e,18,e.bl_tree),Se(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 Be=!1;function je(e){Be||(!function(){var e,t,r,n,i,o=new Array(16);for(se(le=new Array(576)),se(ue=new Array(60)),se(ce=new Array(512)),se(de=new Array(256)),se(he=new Array(29)),se(fe=new Array(30)),r=0,n=0;n<28;n++)for(he[n]=r,e=0;e<1<<ye[n];e++)de[r++]=n;for(de[r-1]=n,i=0,n=0;n<16;n++)for(fe[n]=i,e=0;e<1<<ve[n];e++)ce[i++]=n;for(i>>=7;n<30;n++)for(fe[n]=i<<7,e=0;e<1<<ve[n]-7;e++)ce[256+i++]=n;for(t=0;t<=15;t++)o[t]=0;for(e=0;e<=143;)le[2*e+1]=8,e++,o[8]++;for(;e<=255;)le[2*e+1]=9,e++,o[9]++;for(;e<=279;)le[2*e+1]=7,e++,o[7]++;for(;e<=287;)le[2*e+1]=8,e++,o[8]++;for(ze(le,287,o),e=0;e<30;e++)ue[2*e+1]=5,ue[2*e]=Oe(e,5);pe=new we(le,ye,257,286,15),me=new we(ue,ve,0,30,15),ge=new we(new Array(0),_e,0,19,7)}(),Be=!0),e.l_desc=new xe(e.dyn_ltree,pe),e.d_desc=new xe(e.dyn_dtree,me),e.bl_desc=new xe(e.bl_tree,ge),e.bi_buf=0,e.bi_valid=0,De(e)}function He(e,t,r,n){Se(e,0+(n?1:0),3),function(e,t,r,n){Ie(e),n&&(Ce(e,r),Ce(e,~r)),C(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}function Le(e){Se(e,2,3),Me(e,256,le),function(e){16===e.bi_valid?(Ce(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)}function Re(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)),Ee(e,e.l_desc),Ee(e,e.d_desc),a=function(e){var t;for(Pe(e,e.dyn_ltree,e.l_desc.max_code),Pe(e,e.dyn_dtree,e.d_desc.max_code),Ee(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*be[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?He(e,t,r,n):4===e.strategy||o===i?(Se(e,2+(n?1:0),3),Ae(e,le,ue)):(Se(e,4+(n?1:0),3),function(e,t,r,n){var i;for(Se(e,t-257,5),Se(e,r-1,5),Se(e,n-4,4),i=0;i<n;i++)Se(e,e.bl_tree[2*be[i]+1],3);Ne(e,e.dyn_ltree,t-1),Ne(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Ae(e,e.dyn_ltree,e.dyn_dtree)),De(e),n&&Ie(e)}function Ue(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*(de[r]+256+1)]++,e.dyn_dtree[2*ke(t)]++),e.last_lit===e.lit_bufsize-1}function Ge(e,t){return e.msg=re[t],t}function We(e){return(e<<1)-(e>4?9:0)}function qe(e){for(var t=e.length;--t>=0;)e[t]=0}function Ze(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(C(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 Xe(e,t){Re(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ze(e.strm)}function Ke(e,t){e.pending_buf[e.pending++]=t}function Je(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Ve(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-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+258,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<h);if(n=258-(h-o),o=h-258,n>a){if(e.match_start=t,a=n,n>=s)break;f=u[o+a-1],p=u[o+a]}}}while((t=d[t&c])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function Qe(e){var t,r,n,i,o,a,s,l,u,c,d=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-262)){C(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=d?n-d:0}while(--r);t=r=d;do{n=e.prev[--t],e.prev[t]=n>=d?n-d:0}while(--r);i+=d}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,C(s,a.input,a.next_in,c,l),1===a.state.wrap?a.adler=N(a.adler,s,c,l):2===a.state.wrap&&(a.adler=j(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<262&&0!==e.strm.avail_in)}function $e(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Qe(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,Xe(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(Xe(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Xe(e,!1),e.strm.avail_out),1)}function Ye(e,t){for(var r,n;;){if(e.lookahead<262){if(Qe(e),e.lookahead<262&&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-262&&(e.match_length=Ve(e,r)),e.match_length>=3)if(n=Ue(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=Ue(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(Xe(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Xe(e,!1),0===e.strm.avail_out)?1:2}function et(e,t){for(var r,n,i;;){if(e.lookahead<262){if(Qe(e),e.lookahead<262&&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-262&&(e.match_length=Ve(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=Ue(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&&(Xe(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=Ue(e,0,e.window[e.strstart-1]))&&Xe(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=Ue(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Xe(e,!1),0===e.strm.avail_out)?1:2}function tt(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 rt=function(){var e=[new tt(0,0,0,0,$e),new tt(4,4,8,4,Ye),new tt(4,5,16,8,Ye),new tt(4,6,32,32,Ye),new tt(4,4,16,16,et),new tt(8,16,32,32,et),new tt(8,16,128,128,et),new tt(8,32,128,256,et),new tt(32,128,258,1024,et),new tt(32,258,258,4096,et)];return rt=function(){return e},e};function nt(){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=O(1146),this.dyn_dtree=O(122),this.bl_tree=O(78),qe(this.dyn_ltree),qe(this.dyn_dtree),qe(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=O(16),this.heap=O(573),qe(this.heap),this.heap_len=0,this.heap_max=0,this.depth=O(573),qe(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 it(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:113,e.adler=2===t.wrap?0:1,t.last_flush=0,je(t),0):Ge(e,-2)}(e);return 0===t&&function(e){e.window_size=2*e.w_size,qe(e.head);var t=rt();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 ot(e,t){var r,n,i,o;if(!e||!e.state||t>5||t<0)return e?Ge(e,-2):-2;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&4!==t)return Ge(e,0===e.avail_out?-5:-2);if(n.strm=e,r=n.last_flush,n.last_flush=t,42===n.status)if(2===n.wrap)e.adler=0,Ke(n,31),Ke(n,139),Ke(n,8),n.gzhead?(Ke(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)),Ke(n,255&n.gzhead.time),Ke(n,n.gzhead.time>>8&255),Ke(n,n.gzhead.time>>16&255),Ke(n,n.gzhead.time>>24&255),Ke(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Ke(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Ke(n,255&n.gzhead.extra.length),Ke(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=j(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(Ke(n,0),Ke(n,0),Ke(n,0),Ke(n,0),Ke(n,0),Ke(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Ke(n,3),n.status=113);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=113,Je(n,a),0!==n.strstart&&(Je(n,e.adler>>>16),Je(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=j(e.adler,n.pending_buf,n.pending-i,i)),Ze(e),i=n.pending,n.pending!==n.pending_buf_size));)Ke(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=j(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=j(e.adler,n.pending_buf,n.pending-i,i)),Ze(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,Ke(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=j(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=j(e.adler,n.pending_buf,n.pending-i,i)),Ze(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,Ke(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=j(e.adler,n.pending_buf,n.pending-i,i)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ze(e),n.pending+2<=n.pending_buf_size&&(Ke(n,255&e.adler),Ke(n,e.adler>>8&255),e.adler=0,n.status=113)):n.status=113),0!==n.pending){if(Ze(e),0===e.avail_out)return n.last_flush=-1,0}else if(0===e.avail_in&&We(t)<=We(r)&&4!==t)return Ge(e,-5);if(666===n.status&&0!==e.avail_in)return Ge(e,-5);if(0!==e.avail_in||0!==n.lookahead||0!==t&&666!==n.status){var s=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(Qe(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=Ue(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Xe(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Xe(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<=258){if(Qe(e),e.lookahead<=258&&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+258;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=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=Ue(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=Ue(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Xe(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Xe(e,!1),0===e.strm.avail_out)?1:2}(n,t):rt()[n.level].func(n,t);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===e.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===t?Le(n):5!==t&&(He(n,0,0,!1),3===t&&(qe(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),Ze(e),0===e.avail_out))return n.last_flush=-1,0}return 4!==t?0:n.wrap<=0?1:(2===n.wrap?(Ke(n,255&e.adler),Ke(n,e.adler>>8&255),Ke(n,e.adler>>16&255),Ke(n,e.adler>>24&255),Ke(n,255&e.total_in),Ke(n,e.total_in>>8&255),Ke(n,e.total_in>>16&255),Ke(n,e.total_in>>24&255)):(Je(n,e.adler>>>16),Je(n,65535&e.adler)),Ze(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)}var at=Object.prototype.toString,st=function(e){this.options=_({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 ne,this.strm.avail_out=0;var r,n,i=function(e,t,r,n,i,o){if(!e)return-2;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 Ge(e,-2);8===n&&(n=9);var s=new nt;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=M(2*s.w_size),s.head=O(s.hash_size),s.prev=O(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=M(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,it(e)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==i)throw new Error(re[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]"===at.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(i=function(e,t){var r,n,i,o,a,s,l,u,c=t.length;if(!e||!e.state)return-2;if(2===(o=(r=e.state).wrap)||1===o&&42!==r.status||r.lookahead)return-2;for(1===o&&(e.adler=N(e.adler,t,c,0)),r.wrap=0,c>=r.w_size&&(0===o&&(qe(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=M(r.w_size),C(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,Qe(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,Qe(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)))throw new Error(re[i]);this._dict_set=!0}};st.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]"===at.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=M(a),o.next_out=0,o.avail_out=a),1!==(r=ot(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(A(i=b(o.output,o.next_out),i.length)):this.onData(b(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&&103!==t&&113!==t&&666!==t?Ge(e,-2):(e.state=null,113===t?Ge(e,-3):0):-2}(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),o.avail_out=0,!0)},st.prototype.onData=function(e){this.chunks.push(e)},st.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 lt={Promise:Promise},ut={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 ct()}},ct=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 ct=function(){return e},e},dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function ht(e){return e}function ft(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}function pt(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 mt=function(){var e;try{e=ut.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){e=!1}return mt=function(){return e},e};function gt(e){var t=65536,r=wt(e),n=!0;if("uint8array"===r&&(n=mt()),n)for(;t>1;)try{return pt(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 yt=gt;function vt(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}var _t={string:{string:ht,array:function(e){return ft(e,new Array(e.length))},arraybuffer:function(e){return _t.string.uint8array(e).buffer},uint8array:function(e){return ft(e,new Uint8Array(e.length))}},array:{string:gt,array:ht,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)}},arraybuffer:{string:function(e){return gt(new Uint8Array(e))},array:function(e){return vt(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:ht,uint8array:function(e){return new Uint8Array(e)}},uint8array:{string:gt,array:function(e){return vt(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:ht}},bt=function(e,t){if(t||(t=""),!e)return t;xt(e);var r=wt(t);return _t[r][e](t)},wt=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":ut.uint8array&&e instanceof Uint8Array?"uint8array":ut.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},xt=function(e){if(!ut[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},kt=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},Ct=function(e,t,r){setTimeout((function(){e.apply(r||null,t||[])}),0)},St=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},Mt=function(e,t,r,n,i){return lt.Promise.resolve(t).then((function(e){return ut.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new lt.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=wt(t);return a?("arraybuffer"===a?t=bt("uint8array",t):"string"===a&&(i?t=function(e){var t,r,n,i,o,a,s=0,l=0;if("data:"===e.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var u,c=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===dt.charAt(64)&&c--,e.charAt(e.length-2)===dt.charAt(64)&&c--,c%1!=0)throw new Error("Invalid base64 input, bad content length.");for(u=ut.uint8array?new Uint8Array(0|c):new Array(0|c);s<e.length;)t=dt.indexOf(e.charAt(s++))<<2|(i=dt.indexOf(e.charAt(s++)))>>4,r=(15&i)<<4|(o=dt.indexOf(e.charAt(s++)))>>2,n=(3&o)<<6|(a=dt.indexOf(e.charAt(s++))),u[l++]=t,64!==o&&(u[l++]=r),64!==a&&(u[l++]=n);return u}(t):r&&!0!==n&&(t=ft(o=t,ut.uint8array?new Uint8Array(o.length):new Array(o.length)))),t):lt.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))},Ot=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};Ot.prototype.push=function(e){this.emit("data",e)},Ot.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},Ot.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)},Ot.prototype.on=function(e,t){return this._listeners[e].push(t),this},Ot.prototype.cleanUp=function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},Ot.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)},Ot.prototype.pipe=function(e){return e.registerPrevious(this)},Ot.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},Ot.prototype.pause=function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},Ot.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},Ot.prototype.flush=function(){},Ot.prototype.processChunk=function(e){this.push(e)},Ot.prototype.withStreamInfo=function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},Ot.prototype.mergeStreamInfo=function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},Ot.prototype.lock=function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},Ot.prototype.toString=function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e};var zt=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,zt=function(e){return t[e]},t[e]},Dt=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=ut.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)},It=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=zt(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),yt(a)}(e=bt(ut.uint8array?"uint8array":"array",e))},Tt=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=bt(ut.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(ut.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+zt(e[r])>t?r:t}(t),i=t;n!==t.length&&(ut.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:It(i),meta:e.meta})},t.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:It(this.leftOver),meta:{}}),this.leftOver=null)},t}(Ot),Ft=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:Dt(e.data),meta:e.meta})},t}(Ot),At=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:bt(this.destType,e.data),meta:e.meta})},t}(Ot);function Et(e,t,r){switch(e){case"blob":return function(e,t){return xt("blob"),new Blob([e],{type:t})}(bt("arraybuffer",t),r);case"base64":return function(e){for(var t,r,n,i,o,a,s,l=[],u=0,c=e.length,d=c,h="string"!=typeof e;u<e.length;)d=c-u,h?(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=d>1?(15&r)<<2|n>>6:64,s=d>2?63&n:64,l.push(dt.charAt(i)+dt.charAt(o)+dt.charAt(a)+dt.charAt(s));return l.join("")}(t);default:return bt(e,t)}}function Pt(e,t){return new lt.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=Et(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 Nt=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,xt(n),this._worker=e.pipe(new At(n)),e.lock()}catch(e){this._worker=new Ot("error"),this._worker.error(e)}};Nt.prototype.accumulate=function(e){return Pt(this,e)},Nt.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(){Ct(t,arguments,r)})),this},Nt.prototype.resume=function(){return Ct(this._worker.resume,[],this._worker),this},Nt.prototype.pause=function(){return this._worker.pause(),this};var Bt=Object.freeze({__proto__:null,base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null}),jt=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=wt(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,Ct(this._tickAndRepeat,[],this)),!0)},t.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Ct(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}(Ot),Ht=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}(Ot),Lt=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 Lt=function(){return e},e};function Rt(e,t){return void 0!==e&&e.length?"string"!==wt(e)?function(e,t,r,n){var i=Lt(),o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var i=Lt(),o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}var Ut=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=Rt(e.data,this.streamInfo.crc32||0),this.push(e)},t}(Ot),Gt=function(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i};Gt.prototype.getContentWorker=function(){var e=new jt(lt.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Ht("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},Gt.prototype.getCompressedWorker=function(){return new jt(lt.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)},Gt.createWorkerFrom=function(e,t,r){return e.pipe(new Ut).pipe(new Ht("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new Ht("compressedSize")).withStreamInfo("compression",t)};var Wt=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}};Wt.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 Ft)),!i&&n&&(t=t.pipe(new Tt))}catch(e){(t=new Ot("error")).error(e)}return new Nt(t,r,"")},Wt.prototype.async=function(e,t){return this.internalStream(e).accumulate(t)},Wt.prototype._compressWorker=function(e,t){if(this._data instanceof Gt&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new Ft)),Gt.createWorkerFrom(r,e,t)},Wt.prototype._decompressWorker=function(){return this._data instanceof Gt?this._data.getContentWorker():this._data instanceof Ot?this._data:new jt(this._data)};var qt=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array?"uint8array":"array";qt=function(){return e}},Zt=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(bt(qt(),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 st(t):new ae(t),this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},t}(Ot),Xt={STORE:{magic:"\0\0",compressWorker:function(){return new Ot("STORE compression")},uncompressWorker:function(){return new Ot("STORE decompression")}},DEFLATE:{magic:"\b\0",compressWorker:function(e){return new Zt("Deflate",e)},uncompressWorker:function(){return new Zt("Inflate",{})}}},Kt=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},Jt=function(e,t,r,n,i,o){var a,s,l=e.file,u=e.compression,c=o!==Dt,d=bt("string",o(l.name)),h=bt("string",Dt(l.name)),f=l.comment,p=bt("string",o(f)),m=bt("string",Dt(f)),g=h.length!==l.name.length,y=m.length!==f.length,v="",_="",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&&!y||(C|=2048);var S=0,M=0;w&&(S|=16),"UNIX"===i?(M=798,S|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(l.unixPermissions,w)):(M=20,S|=function(e,t){return 63&(e||0)}(l.dosPermissions)),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&&(_=Kt(1,1)+Kt(Rt(d),4)+h,v+="up"+Kt(_.length,2)+_),y&&(b=Kt(1,1)+Kt(Rt(p),4)+m,v+="uc"+Kt(b.length,2)+b);var O="";return O+="\n\0",O+=Kt(C,2),O+=u.magic,O+=Kt(a,2),O+=Kt(s,2),O+=Kt(k.crc32,4),O+=Kt(k.compressedSize,4),O+=Kt(k.uncompressedSize,4),O+=Kt(d.length,2),{fileRecord:"PK"+(O+=Kt(v.length,2))+d+v,dirRecord:"PK"+Kt(M,2)+O+Kt(p.length,2)+"\0\0\0\0"+Kt(S,4)+Kt(n,4)+d+v+p}},Vt=function(e){return"PK\b"+Kt(e.crc32,4)+Kt(e.compressedSize,4)+Kt(e.uncompressedSize,4)},Qt=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=Jt(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=Jt(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:Vt(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=bt("string",i(n));return"PK\0\0\0\0"+Kt(e,2)+Kt(e,2)+Kt(t,4)+Kt(r,4)+Kt(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}(Ot),$t=function(e,t,r){var n=new Qt(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=Xt[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},Yt=function(e){this.data=e,this.length=e.length,this.index=0,this.zero=0};Yt.prototype.checkOffset=function(e){this.checkIndex(this.index+e)},Yt.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 ?")},Yt.prototype.setIndex=function(e){this.checkIndex(e),this.index=e},Yt.prototype.skip=function(e){this.setIndex(this.index+e)},Yt.prototype.byteAt=function(e){},Yt.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},Yt.prototype.readString=function(e){return bt("string",this.readData(e))},Yt.prototype.readData=function(e){},Yt.prototype.lastIndexOfSignature=function(e){},Yt.prototype.readAndCheckSignature=function(e){},Yt.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 er=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}(Yt),tr=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}(Yt),rr=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}(er);function nr(e){var t=wt(e);return xt(t),"string"!==t||ut.uint8array?ut.uint8array?new rr(bt("uint8array",e)):new er(bt("array",e)):new tr(e)}var ir=function(e,t){this.options=e,this.loadOptions=t};ir.prototype.isEncrypted=function(){return 1==(1&this.bitFlag)},ir.prototype.useUTF8=function(){return 2048==(2048&this.bitFlag)},ir.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 Xt)if(Xt.hasOwnProperty(t)&&Xt[t].magic===e)return Xt[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+kt(this.compressionMethod)+" unknown (inner file : "+bt("string",this.fileName)+")");this.decompressed=new Gt(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},ir.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)},ir.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)},ir.prototype.parseZIP64ExtraField=function(e){if(this.extraFields[1]){var t=nr(this.extraFields[1].value);-1===this.uncompressedSize&&(this.uncompressedSize=t.readInt(8)),-1===this.compressedSize&&(this.compressedSize=t.readInt(8)),-1===this.localHeaderOffset&&(this.localHeaderOffset=t.readInt(8)),-1===this.diskNumberStart&&(this.diskNumberStart=t.readInt(4))}},ir.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}},ir.prototype.handleUTF8=function(){var e=ut.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=It(this.fileName),this.fileCommentStr=It(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=bt(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=bt(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},ir.prototype.findExtraFieldUnicodePath=function(){var e=this.extraFields[28789];if(e){var t=nr(e.value);return 1!==t.readInt(1)||Rt(this.fileName)!==t.readInt(4)?null:It(t.readData(e.length-5))}return null},ir.prototype.findExtraFieldUnicodeComment=function(){var e=this.extraFields[25461];if(e){var t=nr(e.value);return 1!==t.readInt(1)||Rt(this.fileComment)!==t.readInt(4)?null:It(t.readData(e.length-5))}return null};var or=function(e){this.files=[],this.loadOptions=e};function ar(e){return new lt.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new Ut);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 sr(e,t){var r=this;return t=St(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:It}),Mt("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new or(t);return r.load(e),r})).then((function(e){var r=[lt.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var i=0;i<n.length;i++)r.push(ar(n[i]));return lt.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}))}or.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 ("+kt(t)+", expected "+kt(e)+")")}},or.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},or.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=ut.uint8array?"uint8array":"array",r=bt(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},or.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}},or.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")},or.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("PK"),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},or.prototype.readCentralDir=function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature("PK");)(e=new ir({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)},or.prototype.readEndOfCentral=function(){var e=this.reader.lastIndexOfSignature("PK");if(e<0)throw!this.isSignature(0,"PK")?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"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(e);var t=e;if(this.checkSignature("PK"),this.readBlockEndOfCentral(),65535===this.diskNumber||65535===this.diskWithCentralDirStart||65535===this.centralDirRecordsOnThisDisk||65535===this.centralDirRecords||-1===this.centralDirSize||-1===this.centralDirOffset){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature("PK"))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature("PK"),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,"PK")&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature("PK"),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature("PK"),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,"PK")||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},or.prototype.prepareReader=function(e){this.reader=nr(e)},or.prototype.load=function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()};var lr=function(e,t,r){var n,i=wt(t),o=St(r||{},Bt);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=cr(e)),o.createFolders&&(n=ur(e))&&dr.call(this,n,!0);var a="string"===i&&!1===o.binary&&!1===o.base64;r&&void 0!==r.binary||(o.binary=!a),(t instanceof Gt&&0===t.uncompressedSize||o.dir||!t||0===t.length)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",i="string");var s=null;s=t instanceof Gt||t instanceof Ot?t:Mt(e,t,o.binary,o.optimizedBinaryString,o.base64);var l=new Wt(e,s,o);this.files[e]=l},ur=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},cr=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},dr=function(e,t){return t=void 0===t||t,e=cr(e),this.files[e]||lr.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function hr(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var fr=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}},pr={support:{configurable:!0},defaults:{configurable:!0},version:{configurable:!0},external:{configurable:!0}};function mr(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}fr.prototype.load=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},fr.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)},fr.prototype.filter=function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},fr.prototype.file=function(e,t,r){if(1===arguments.length){if(hr(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,lr.call(this,e,t,r),this},fr.prototype.folder=function(e){if(!e)return this;if(hr(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=dr.call(this,t),n=this.clone();return n.root=r.name,n},fr.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},fr.prototype.generate=function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},fr.prototype.generateInternalStream=function(e){var t,r={};try{if((r=St(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Dt})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");xt(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=$t(this,r,n)}catch(e){(t=new Ot("error")).error(e)}return new Nt(t,r.type||"string",r.mimeType)},fr.prototype.generateAsync=function(e,t){return this.generateInternalStream(e).accumulate(t)},fr.prototype.loadAsync=function(e,t){return sr.apply(this,[e,t])},fr.loadAsync=function(e,t){return(new fr).loadAsync(e,t)},pr.support.get=function(){return ut},pr.defaults.get=function(){return Bt},pr.version.get=function(){return"3.2.2-esm"},pr.external.get=function(){return lt},Object.defineProperties(fr,pr);var gr=mr(1900,0,-1);function yr(e){var t,r,n,i,o=(t=e.getHours(),r=e.getMinutes(),n=e.getSeconds(),i=e.getMilliseconds(),(t+(r+(n+i/1e3)/60)/60)/24),a=function(e,t,r){return mr(e,t,r)-gr}(e.getFullYear(),e.getMonth(),e.getDate());return a<0?a-1+o:a+o}var vr="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",_r={compression:"DEFLATE",type:"base64"},br={compression:"DEFLATE",type:"blob"},wr={compression:"DEFLATE",type:"arraybuffer"};function xr(e){return"data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,"+e}function kr(e,t){return t.indexOf(e)}var Cr=JSON.parse.bind(JSON);function Sr(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;").replace(/\'/g,"&#39;")}function Mr(e,t){for(var r="",n=0;n<e;++n)r+=t(n);return r}function Or(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 zr='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r',Dr=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,d=e.hyperlinks,h=e.validations,f=e.defaultCellStyleId,p=e.rtl,m=e.legacyDrawing,g=e.drawing,y=e.lastRow,v=e.lastCol;return zr+'\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 '+(y&&v?'<dimension ref="A1:'+Fr(y-1,v-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="'+Pr(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="'+Pr(i.columnWidth)+'"':"")+" /> ")+"\n "+Or(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="'+Pr(e.width)+'"')+" />"}))+"\n </cols>":"")+"\n\n <sheetData>\n "+Or(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 "+Or(e.data,(function(e){return'\n <c r="'+e.ref+'" '+(e.style?'s="'+e.style+'"':"")+" "+(e.type?'t="'+e.type+'"':"")+">\n "+(null!=e.formula?function(e){if("string"==typeof e)return"<f>"+Sr(e)+"</f>";return'<f t="array" ref="'+e.ref+'">'+Sr(e.src)+"</f>"}(e.formula):"")+"\n "+(null!=e.value?"<v>"+Sr(e.value)+"</v>":"")+"\n </c>"}))+"\n </row>\n "}))+"\n </sheetData>\n\n "+(l?'<autoFilter ref="'+l.from+":"+l.to+'"/>':u?on(u):"")+"\n\n "+(s.length?'\n <mergeCells count="'+s.length+'">\n '+Or(s,(function(e){return'<mergeCell ref="'+e+'"/>'}))+"\n </mergeCells>":"")+"\n\n "+(h.length?"\n <dataValidations>\n "+Or(h,(function(e){return'\n <dataValidation sqref="'+e.sqref.join(" ")+'"\n showErrorMessage="'+e.showErrorMessage+'"\n type="'+Sr(e.type)+'"\n '+("list"!==e.type?'operator="'+Sr(e.operator)+'"':"")+'\n allowBlank="'+e.allowBlank+'"\n showDropDown="'+e.showDropDown+'"\n '+(e.error?'error="'+Sr(e.error)+'"':"")+"\n "+(e.errorTitle?'errorTitle="'+Sr(e.errorTitle)+'"':"")+">\n "+(e.formula1?"<formula1>"+Sr(e.formula1)+"</formula1>":"")+"\n "+(e.formula2?"<formula2>"+Sr(e.formula2)+"</formula2>":"")+"\n </dataValidation>"}))+"\n </dataValidations>":"")+"\n\n "+(d.length?"\n <hyperlinks>\n "+Or(d,(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>"},Ir=function(e){return zr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Or(e,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+e.target+'"/>'}))+"\n</Relationships>"};function Tr(e){var t=Math.floor(e/26)-1;return(t>=0?Tr(t):"")+String.fromCharCode(65+e%26)}function Fr(e,t){return Tr(t)+(e+1)}function Ar(e,t){return"$"+Tr(t)+"$"+(e+1)}function Er(e){return(e.frozenRows||(e.freezePane||{}).rowSplit||1)-1}function Pr(e){return e/7-Math.floor(128/7)/256}var Nr=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 Br(e){var t=e.length;return e.forEach((function(e){e.index&&e.index>=t&&(t=e.index+1)})),t}Nr.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.hyperlinks,r=e.comments,n=e.sheetIndex,i=e.drawings;return zr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Or(t,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="'+Sr(e.target)+'" TargetMode="External" />'}))+"\n "+(r.length?'\n <Relationship Id="comment'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="../comments'+n+'.xml"/>\n <Relationship Id="vml'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" Target="../drawings/vmlDrawing'+n+'.vml"/>':"")+"\n "+(i.length?'\n <Relationship Id="drw'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" Target="../drawings/drawing'+n+'.xml"/>':"")+"\n</Relationships>"}({hyperlinks:e,comments:t,sheetIndex:this.options.sheetIndex,drawings:r})},Nr.prototype.toXML=function(e){var t=this.options.mergedCells||[],r=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=Zr(r).slice(0),o={rowData:r,rowsByIndex:n,mergedCells:t},a=0;a<i.length;a++)Vr(i[a],o),delete i[a]._source;return Zr(r)}(this.options.rows||[],t);this._readCells(r);var n,i=this.options.filter;i&&"number"==typeof i.from&&"number"==typeof i.to?i={from:Fr(Er(this.options),i.from),to:Fr(Er(this.options),i.to)}:i&&i.ref&&i.columns&&(n=i,i=null);var o=[];for(var a in this._validations)Object.prototype.hasOwnProperty.call(this._validations,a)&&o.push(this._validations[a]);var s=null;this.options.defaultCellStyle&&(s=this._lookupStyle(this.options.defaultCellStyle));var l=this.options.freezePane||{},u=this.options.defaults||{},c=this.options.rows?this._getLastRow():1,d=this.options.rows?this._getLastCol():1;return Dr({frozenColumns:this.options.frozenColumns||l.colSplit,frozenRows:this.options.frozenRows||l.rowSplit,columns:this.options.columns,defaults:u,data:r,index:e,mergeCells:t,autoFilter:i,filter:n,showGridLines:this.options.showGridLines,hyperlinks:this._hyperlinks,validations:o,defaultCellStyleId:s,rtl:void 0!==this.options.rtl?this.options.rtl:u.rtl,legacyDrawing:this._comments.length?"vml"+this.options.sheetIndex:null,drawing:this._drawings.length?"drw"+this.options.sheetIndex:null,lastRow:c,lastCol:d})},Nr.prototype.commentsXML=function(){if(this._comments.length)return function(e){var t=e.comments;return zr+'\n<comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">\n <authors>\n <author></author>\n </authors>\n <commentList>\n '+Or(t,(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>'+Sr(e.text)+"</t>\n </r>\n </text>\n </comment>"}))+"\n </commentList>\n</comments>"}({comments:this._comments})},Nr.prototype.drawingsXML=function(e){if(this._drawings.length){var t={},r=this._drawings.map((function(r){var n=Kr(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:Jr(r.offsetX),row:n.row,rowOffset:Jr(r.offsetY),width:Jr(r.width),height:Jr(r.height),imageId:i.rId}}));return{main:(n=r,zr+'\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 '+Or(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:Ir(t)}}var n},Nr.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 '+Or(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})},Nr.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},Nr.prototype._lookupStyle=function(e){var t=JSON.stringify(e);if("{}"===t)return 0;var r=kr(t,this._styles);return r<0&&(r=this._styles.push(t)-1),r+1},Nr.prototype._lookupBorder=function(e){var t=JSON.stringify(e);if("{}"!==t){var r=kr(t,this._borders);return r<0&&(r=this._borders.push(t)-1),r+1}},Nr.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)}}},Nr.prototype._cell=function(e,t,r){if(!e||e===qr)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),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=(this.options.columns||[])[r],u=typeof n;if(l&&l.autoWidth&&(!e.colSpan||1===e.colSpan)){var c=n;"number"===u&&(c=y.toString(n,e.format)),l.width=Math.max(l.width||0,String(c).length)}"string"===u?(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),u="s"):"number"===u?u="n":"boolean"===u?(u="b",n=Number(n)):n&&n.getTime?(u=null,n=yr(n),s.format||(s.format="mm-dd-yy")):(u=null,n=null),s=this._lookupStyle(s);var d=Fr(t,r);if(e.validation&&this._addValidation(e.validation,d),e.comment){var h=[r+1,15,t,10,r+3,15,t+3,4];this._comments.push({ref:d,text:e.comment,row:t,col:r,anchor:h.join(", ")})}return{value:n,formula:e.formula,type:u,style:s,ref:d}},Nr.prototype._addValidation=function(e,t){var r={showErrorMessage:"reject"===e.type?1:0,formula1:e.from,formula2:e.to,type:Hr[e.dataType]||e.dataType,operator:jr[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)},Nr.prototype._getLastRow=function(){return Br(this.options.rows)},Nr.prototype._getLastCol=function(){var e=0;return this.options.rows.forEach((function(t){t.cells&&(e=Math.max(e,Br(t.cells)))})),e};var jr={greaterThanOrEqualTo:"greaterThanOrEqual",lessThanOrEqualTo:"lessThanOrEqual"},Hr={number:"decimal"},Lr={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 Rr(e){var t=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 Ur=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 Nr(e,t._strings,t._styles,t._borders)}))};function Gr(e,t){var r,n,i="";return t&&(i+="<"+e+' style="'+(r=t.size,n="thin",2===r?n="medium":3===r&&(n="thick"),n+'">'),t.color&&(i+='<color rgb="'+Rr(t.color)+'"/>'),i+="</"+e+">"),i}function Wr(e){return"<border>"+Gr("left",e.left)+Gr("right",e.right)+Gr("top",e.top)+Gr("bottom",e.bottom)+"</border>"}Ur.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"}},Ur.prototype.toZIP=function(){var e=this,t=new fr,r=t.folder("docProps");r.file("core.xml",function(e){var t=e.creator,r=e.lastModifiedBy,n=e.created,i=e.modified;return zr+'\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>'+Sr(t)+"</dc:creator>\n <cp:lastModifiedBy>"+Sr(r)+'</cp:lastModifiedBy>\n <dcterms:created xsi:type="dcterms:W3CDTF">'+Sr(n)+'</dcterms:created>\n <dcterms:modified xsi:type="dcterms:W3CDTF">'+Sr(i)+"</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 zr+'\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">'+Or(t,(function(e,t){return e.options.title?"<vt:lpstr>"+Sr(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 zr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Mr(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.sheets,r=e.filterNames,n=e.userNames;return zr+'\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 '+Or(t,(function(e,t){var r=e.options;return'<sheet name="'+Sr(r.name||r.title||"Sheet"+(t+1))+'" sheetId="'+(t+1)+'" r:id="rId'+(t+1)+'" />'}))+"\n </sheets>\n "+(r.length||n.length?"\n <definedNames>\n "+Or(r,(function(e){return'\n <definedName name="_xlnm._FilterDatabase" hidden="1" localSheetId="'+e.localSheetId+'">'+Sr(function(e){if(/^\'/.test(e))return e;if(/^[a-z_][a-z0-9_]*$/i.test(e))return e;return"'"+e.replace(/\x27/g,"\\'")+"'"}(e.name))+"!"+Sr(e.from)+":"+Sr(e.to)+"</definedName>"}))+"\n "+Or(n,(function(e){return'\n <definedName name="'+e.name+'" hidden="'+(e.hidden?1:0)+'" '+(null!=e.localSheetId?'localSheetId="'+e.localSheetId+'"':"")+">"+Sr(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=Kr(o[0]),l=Kr(o[1]);return{localSheetId:t,name:n,from:Ar(s.row,s.col),to:Ar(l.row,l.col)}}if(void 0!==i.from&&void 0!==i.to)return{localSheetId:t,name:n,from:Ar(Er(r),i.from),to:Ar(Er(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"),d=s.folder("_rels"),h=[],f=[],p=0;p<n;p++){var m=e._sheets[p],g="sheet"+(p+1)+".xml",y=m.toXML(p),v=m.relsToXML(),_=m.commentsXML(),b=m.legacyDrawing(),w=m.drawingsXML(e._images);if(v&&d.file(g+".rels",v),_){var x="comments"+m.options.sheetIndex+".xml";i.file(x,_),h.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,y)}var C=u(this._borders,Cr),S=u(this._styles,Cr),M=function(e){return e.underline||e.bold||e.italic||e.color||e.fontFamily||e.fontSize},O=u(S,(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=Rr(e.color)),M(e))return e})),z=u(S,(function(e){if(e.format&&void 0===Lr[e.format])return e})),D=u(S,(function(e){if(e.background)return e.background=Rr(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 zr+'\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 '+Or(t,(function(e,t){return'\n <numFmt formatCode="'+Sr(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 '+Or(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="'+Sr(e.color)+'" />':'<color theme="1" />')+"\n "+(e.fontFamily?'\n <name val="'+Sr(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 '+Or(n,(function(e){return"\n "+(e.background?'\n <fill>\n <patternFill patternType="solid">\n <fgColor rgb="'+Sr(e.background)+'"/>\n </patternFill>\n </fill>\n ':"")}))+'\n </fills>\n <borders count="'+(i.length+1)+'">\n <border><left/><right/><top/><bottom/><diagonal/></border>\n '+Or(i,Wr)+'\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 '+Or(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="'+Sr(e.textAlign)+'"':"")+"\n "+(e.verticalAlign?'vertical="'+Sr(e.verticalAlign)+'"':"")+"\n "+(e.indent?'indent="'+Sr(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:O,fills:D,formats:z,borders:C,styles:u(S,(function(e){var t={};return M(e)&&(t.fontId=kr(e,O)+1),e.background&&(t.fillId=kr(e,D)+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!==Lr[e.format]?t.numFmtId=Lr[e.format]:t.numFmtId=165+kr(e,z)),t}))})),i.file("sharedStrings.xml",function(e){var t=e.count,r=e.uniqueCount,n=e.indexes;return zr+'\n<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'+t+'" uniqueCount="'+r+'">\n '+Or(Object.keys(n),(function(e){return'\n <si><t xml:space="preserve">'+Sr(e.substring(1))+"</t></si>"}))+"\n</sst>"}(this._strings)),t.file("[Content_Types].xml",function(e){var t=e.sheetCount,r=e.commentFiles,n=e.drawingFiles;return zr+'\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 '+Mr(t,(function(e){return'<Override PartName="/xl/worksheets/sheet'+(e+1)+'.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" />'}))+"\n "+Or(r,(function(e){return'<Override PartName="/xl/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/>'}))+"\n "+Or(n,(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:h,drawingFiles:f})),t},Ur.prototype.toDataURL=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(_r).then(xr):xr(e.generate(_r))},Ur.prototype.toBlob=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(br):new Blob([e.generate(wr)],{type:vr})};var qr={};function Zr(e){return e.sort((function(e,t){return e.index-t.index}))}function Xr(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=Kr(i),{rowSpan:(o=Kr(o)).row-i.row+1,colSpan:o.col-i.col+1}}}}function Kr(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 Jr(e){return Math.round(9525*e)}function Vr(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]||qr,c=u.rowSpan||1,d=u.colSpan||1,h=Qr(s,u),f=Fr(o,h);if(1===c&&1===d){var p=Xr(t.mergedCells,f);p&&(d=p.colSpan,c=p.rowSpan)}if(Yr(u,s,h,d),(c>1||d>1)&&(r=t.mergedCells,n=f+":"+Fr(o+c-1,h+d-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)),Yr(u,g.cells,h-1,d+1)}}}function Qr(e,t){var r;return"number"==typeof t.index?(r=t.index,$r(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 $r(e,t,r){e[r]=t}function Yr(e,t,r,n){for(var i=1;i<n;i++){$r(t,{borderTop:e.borderTop,borderRight:e.borderRight,borderBottom:e.borderBottom,borderLeft:e.borderLeft},r+i)}}var en=function(e){return"\n<customFilters "+("and"===e.logic?'and="1"':"")+">\n"+Or(e.criteria,(function(e){var t=on.customOperator(e);return"<customFilter "+(t?'operator="'+t+'"':"")+' val="'+on.customValue(e)+'"/>'}))+"\n</customFilters>"},tn=function(e){var t=e.type;return'<dynamicFilter type="'+on.dynamicFilterType(t)+'" />'},rn=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+'" />'},nn=function(e){return"<filters "+(e.blanks?'blank="1"':"")+">\n "+Or(e.values,(function(e){return'\n <filter val="'+e+'" />'}))+"\n </filters>"};function on(e){return function(e){var t=e.ref,r=e.columns,n=e.generators;return'\n<autoFilter ref="'+t+'">\n '+Or(r,(function(e){return'\n <filterColumn colId="'+e.index+'">\n '+n[e.filter](e)+"\n </filterColumn>\n "}))+"\n</autoFilter>"}({ref:e.ref,columns:e.columns,generators:{custom:en,dynamic:tn,top:rn,value:nn}})}on.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()]},on.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}},on.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}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(6);t.ExcelExportComponent=i.ExcelExportComponent;var o=r(17);t.ExcelExportModule=o.ExcelExportModule;var a=r(2);t.ColumnBase=a.ColumnBase;var s=r(8);t.ColumnComponent=s.ColumnComponent;var l=r(10);t.ColumnGroupComponent=l.ColumnGroupComponent;var u=r(5);t.FooterTemplateDirective=u.FooterTemplateDirective;var c=r(4);t.GroupFooterTemplateDirective=c.GroupFooterTemplateDirective;var d=r(3);t.GroupHeaderTemplateDirective=d.GroupHeaderTemplateDirective,n.__exportStar(r(7),t),n.__exportStar(r(11),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,r){var n=e.createEmbeddedView(t),i=function(e){return r(t,e),n.detectChanges(),n.rootNodes.reduce((function(e,t){return e+t.textContent}),"").trim()};return i.destroy=function(){n.destroy(),n=null},i},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){e.aggregates=t.aggregates};t.toExporterColumns=function(e){var t=[],r=0,n=function(e,t,i){e.forEach((function(e){if(e.level===i){var o=new s(e,r);if(t.push(o),e.children&&e.children.some((function(t){return t!==e}))){var a=o.columns=[];n(e.children,a,i+1)}else r++}}))};return n(e,t,0),t},t.destroyColumns=function(e){e&&e.forEach((function(e){e.destroy()}))};var s=function(){function e(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.footerTemplate&&(this.footerTemplate=n(e.footerTemplate.templateRef,{$implicit:e,column:e,columnIndex:t},a)),e.groupFooterTemplate&&(this.groupFooterTemplate=n(e.groupFooterTemplate.templateRef,{column:e,field:e.field},o)),e.groupHeaderTemplate&&(this.groupHeaderTemplate=n(e.groupHeaderTemplate.templateRef,{},i)),e.groupHeaderColumnTemplate&&(this.groupHeaderColumnTemplate=n(e.groupHeaderColumnTemplate.templateRef,{},i))}return e.prototype.destroy=function(){this.footerTemplate&&this.footerTemplate.destroy(),this.groupFooterTemplate&&this.groupFooterTemplate.destroy(),this.groupHeaderTemplate&&this.groupHeaderTemplate.destroy(),this.groupHeaderColumnTemplate&&this.groupHeaderColumnTemplate.destroy(),t.destroyColumns(this.columns)},e}();t.ExporterColumn=s},function(e,r){e.exports=t},function(e,t,r){"use strict";r.r(t),r.d(t,"setScriptKey",(function(){return u})),r.d(t,"validatePackage",(function(){return c}));var n,i,o=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];n=o,i=131,function(e){for(;--e;)n.push(n.shift())}(++i);var a=function(e,t){var r=o[e-=0];if(void 0===a.eVebMg){a.JsjtEd=function(e){for(var t=function(e){for(var t,r,n=String(e).replace(/=+$/,""),i="",o=0,a=0;r=n.charAt(a++);~r&&(t=o%4?64*t+r:r,o++%4)?i+=String.fromCharCode(255&t>>(-2*o&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);return i}(e),r=[],n=0,i=t.length;n<i;n++)r+="%"+("00"+t.charCodeAt(n).toString(16)).slice(-2);return decodeURIComponent(r)},a.rqrXoU={},a.eVebMg=!0}var n=a.rqrXoU[e];return void 0===n?(r=a.JsjtEd(r),a.rqrXoU[e]=r):r=n,r},s={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},l=new Map;function u(e){}function c(e){if(l[a("0x14")](e[a("0x4")])){if(a("0x35")==a("0x35"))return l[a("0x36")](e[a("0x4")])}var t,r=e[a("0x1")]?" v"+e[a("0x1")]:"",n=e[a("0x4")]+r,i=JSON[a("0x9")](s[a("0x34")]),o=!i[a("0x26")]&&!i[a("0x38")],u=i[a("0x26")]&&typeof KendoLicensing===a("0x2b"),c=function(e,t){var r=e[a("0x8")];if(!r||!r[a("0x2d")]){if(a("0x11")==a("0x11"))return null}var n=new Set(t);return r[a("0x2a")]((function(e){if(a("0xa")!==a("0x18"))return n[a("0x14")](e[a("0x39")])}))}(i,e[a("0x2")]);if(o||u)if(a("0x29")!=a("0x29")){}else t={type:0,packageName:n,docsUrl:e[a("0x27")]};else if(a("0xf")===a("0x24")){}else if(c){if(a("0x12")!=a("0x12")){}else if(c[a("0x37")]<e[a("0x1c")])if(a("0x21")===a("0x32")){}else t={type:2,packageName:n,publishDate:d(e[a("0x1c")]),expiryDate:d(c[a("0x37")]),docsUrl:e[a("0x27")]}}else if(a("0x6")!=a("0x6")){}else t={type:1,packageName:n,docsUrl:e[a("0x27")]};if(t&&typeof console===a("0x30"))if(a("0x5")===a("0x3")){}else{var h=a("0x1b")+e[a("0xe")],f=typeof console[a("0x7")]===a("0x33");if(f)if(a("0xc")!=a("0xc")){}else console[a("0x7")](h);else if(a("0x17")!=a("0x17")){}else console[a("0x1e")](h);if(console[a("0x1e")](function(e){var t=a("0x28")+e[a("0x16")]+"\n";if(2===e[a("0x3a")])if(a("0x20")!=a("0x20")){}else t+=a("0x25")+e[a("0x15")][a("0x2c")]()+a("0xb")+e[a("0x1c")][a("0x2c")]()+".\n";else if(0===e[a("0x3a")])if(a("0x13")!==a("0x10"))t+=a("0xd");else{}else if(1===e[a("0x3a")])if(a("0x2e")===a("0x23")){}else t+=a("0x1d");return t+=a("0x31")+e[a("0x1a")]+a("0x22")}(t)),f)if(a("0x1f")!==a("0x19"))console[a("0x2f")]();else{}}var p=!t;return l[a("0x0")](e[a("0x4")],p),p}function d(e){return new Date(1e3*e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-excel-export",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642580969,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(6),a=r(8),s=r(10),l=r(5),u=r(4),c=r(3),d=r(9),h=[o.ExcelExportComponent,a.ColumnComponent,s.ColumnGroupComponent,l.FooterTemplateDirective,u.GroupFooterTemplateDirective,c.GroupHeaderTemplateDirective,d.GroupHeaderColumnTemplateDirective],f=function(){function e(){}return e=n.__decorate([i.NgModule({declarations:[h],exports:[h]})],e)}();t.ExcelExportModule=f},function(e,t,r){"use strict";r.r(t),r.d(t,"formatNumber",(function(){return ke})),r.d(t,"parseNumber",(function(){return ze})),r.d(t,"formatDate",(function(){return tt})),r.d(t,"parseDate",(function(){return Ct})),r.d(t,"splitDateFormat",(function(){return zt})),r.d(t,"load",(function(){return F})),r.d(t,"setData",(function(){return A})),r.d(t,"dateFieldName",(function(){return E})),r.d(t,"dateFormatNames",(function(){return P})),r.d(t,"cldr",(function(){return c})),r.d(t,"localeInfo",(function(){return h})),r.d(t,"currencyDisplays",(function(){return q})),r.d(t,"currencyDisplay",(function(){return Z})),r.d(t,"currencyFractionOptions",(function(){return X})),r.d(t,"territoryCurrencyCode",(function(){return K})),r.d(t,"localeCurrency",(function(){return J})),r.d(t,"firstDay",(function(){return Y})),r.d(t,"weekendRange",(function(){return te})),r.d(t,"numberSymbols",(function(){return re})),r.d(t,"toString",(function(){return It})),r.d(t,"format",(function(){return Tt})),r.d(t,"errors",(function(){return u})),r.d(t,"IntlError",(function(){return a})),r.d(t,"toIntlErrors",(function(){return l}));var n={en:{name:"en",identity:{version:{_number:"$Revision: 12418 $",_cldrVersion:"29"},language:"en"},territory:"US",numbers:{symbols:{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},decimal:{patterns:["n"],groupSize:[3]},scientific:{patterns:["nEn"],groupSize:[]},percent:{patterns:["n%"],groupSize:[3]},currency:{patterns:["$n"],groupSize:[3],"unitPattern-count-one":"n $","unitPattern-count-other":"n $"},currencies:{BGN:{displayName:"Bulgarian Lev","displayName-count-one":"Bulgarian lev","displayName-count-other":"Bulgarian leva",symbol:"BGN"},EUR:{displayName:"Euro","displayName-count-one":"euro","displayName-count-other":"euros",symbol:"€","symbol-alt-narrow":"€"},USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}},localeCurrency:"USD",accounting:{patterns:["$n","($n)"],groupSize:[3]}},calendar:{gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",patterns:{d:"M/d/y",D:"EEEE, MMMM d, y",m:"MMM d",M:"MMMM d",y:"MMM y",Y:"MMMM y",F:"EEEE, MMMM d, y h:mm:ss a",g:"M/d/y h:mm a",G:"M/d/y h:mm:ss a",t:"h:mm a",T:"h:mm:ss a",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d","MMMMW-count-one":"'week' W 'of' MMMM","MMMMW-count-other":"'week' W 'of' MMMM",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y","yw-count-one":"'week' w 'of' Y","yw-count-other":"'week' w 'of' Y"}},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},days:{format:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},months:{format:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},quarters:{format:{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{format:{wide:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},abbreviated:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},narrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}}},dateFields:{era:{wide:"era"},year:{wide:"year",short:"yr.",narrow:"yr."},quarter:{wide:"quarter",short:"qtr.",narrow:"qtr."},month:{wide:"month",short:"mo.",narrow:"mo."},week:{wide:"week",short:"wk.",narrow:"wk."},day:{wide:"day",short:"day",narrow:"day"},weekday:{wide:"day of the week"},dayperiod:{wide:"AM/PM"},hour:{wide:"hour",short:"hr.",narrow:"hr."},minute:{wide:"minute",short:"min.",narrow:"min."},second:{wide:"second",short:"sec.",narrow:"sec."},millisecond:{wide:"millisecond",short:"ms",narrow:"ms"},zone:{wide:"time zone"}}}},supplemental:{likelySubtags:{en:"en-Latn-US"},currencyData:{region:{US:[{USD:{_from:"1792-01-01"}}]}},weekData:{firstDay:{US:"sun"},weekendStart:{"001":"sat"},weekendEnd:{"001":"sun"}}}};function i(e){return"string"==typeof e}var o=/\{(\d+)}?\}/g,a=function(e){var t=e.name,r=e.message;if(!t||!r)throw new Error("{ name: string, message: string } object is required!");this.name=t,this.message=r};a.prototype.formatMessage=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=s(e),n=this.message.replace(o,(function(e,t){return r[parseInt(t,10)]}));return this.name+": "+n},a.prototype.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new Error(this.formatMessage(e))};var s=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},l=function(e){return Object.keys(e).reduce((function(t,r){return t[r]=new a({name:r,message:e[r]}),t}),{})},u=l({NoLocale:"Missing locale info for '{0}'",NoCurrency:"Cannot determine currency information. Please load the locale currencies data.",NoSupplementalCurrency:"Cannot determine currency. Please load the supplemental currencyData.",NoCurrencyRegion:"No currency data for region '{0}'",NoCurrencyDisplay:"Cannot determine currency display information. Please load the locale currencies data. The default culture does not include the all currencies data.",NoGMTInfo:"Cannot determine locale GMT format. Please load the locale timeZoneNames data.",NoWeekData:"Cannot determine locale first day of week. Please load the supplemental weekData.",NoFirstDay:"Cannot determine locale first day of week. Please load the supplemental weekData. The default culture includes only the 'en-US' first day info.",NoValidCurrency:"Cannot determine a default currency for the {0} locale. Please specify explicitly the currency with the format options.",NoDateFieldNames:"Cannot determine the locale date field names. Please load the locale dateFields data."});var c=n;function d(e){return i(e)?h(e):e}function h(e){if(c[e])return c[e];if(c.supplemental.likelySubtags){var t=e.split("-"),r=t[0],n=t.slice(1),i=function(e,t){for(var r=c.supplemental.likelySubtags,n=0;n<t.length;n++){var i=r[e+"-"+t[n]];if(i)return i}if(r[e])return r[e]}(r,n),o=i?function(e,t){var r=e.split("-"),n=r[0],i=r[1],o=r[2];return c[e]||-1!==t.indexOf(o)&&c[n+"-"+o]||-1!==t.indexOf(i)&&c[n+"-"+i]||c[n]}(i,n):null;if(o)return o}throw u.NoLocale.error(e)}var f=/([#,0.]+)/g,p=/¤/g;function m(e){return f.lastIndex=0,e.replace(p,"$").replace(f,"n").split(";")}function g(e){return f.lastIndex=0,f.exec(e.split(";")[0])[0].split(".")[0].split(",").slice(1).map((function(e){return e.length})).reverse()}function y(e,t){for(var r in t)r.startsWith("unitPattern")&&(e[r]=t[r].replace("{0}","n").replace("{1}","$"))}function v(e,t){var r=c[e],n=r.numbers=r.numbers||{};for(var i in n.symbols=n.symbols||{},t)if("symbols-numberSystem-latn"===i)Object.assign(n.symbols,t[i]);else if(i.includes("Formats-numberSystem-latn")){var o=i.substr(0,i.indexOf("Formats-numberSystem-latn")),a=t[i].standard;n[o]={patterns:m(a)},"currency"===o?(n[o].groupSize=g((t["decimalFormats-numberSystem-latn"]||t[i]).standard),y(n[o],t[i]),n.accounting={patterns:m(t[i].accounting),groupSize:n[o].groupSize}):n[o].groupSize=g(a)}else"currencies"===i&&(n.currencies=t[i])}var _={s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},b=/y+/g,w=[["dateFormats","short"]],x={D:[["dateFormats","full"]],m:[["dateTimeFormats","availableFormats","MMMd"]],M:[["dateTimeFormats","availableFormats","MMMMd"]],y:[["dateTimeFormats","availableFormats","yMMM"]],Y:[["dateTimeFormats","availableFormats","yMMMM"]],F:[["dateFormats","full"],["timeFormats","medium"]],g:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","short"]],G:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","medium"]],t:[["timeFormats","short"]],T:[["timeFormats","medium"]]};function k(e){for(var t=[],r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var i=e[r[n]];t.push(i)}return t}function C(e,t){var r={};for(var n in e){var i=r[n]={};for(var o in e[n]){var a=e[n][o];i[o]=t?a:k(a)}}return r}function S(e,t){var r=c[e].calendar;r.days=C(t.days),r.months=C(t.months),r.quarters=C(t.quarters),r.dayPeriods=C(t.dayPeriods,!0),r.eras=function(e){var t={},r=t.format={},n={eraAbbr:"abbreviated",eraNames:"wide",eraNarrow:"narrow"};for(var i in e){r[n[i]]=e[i]}return t}(t.eras)}function M(e,t){var r=c[e].calendar,n={};for(var i in t){var o=i.split("-"),a=o[0],s=o[1];void 0===s&&(s="wide");var l=n[a]||{},u=t[i].displayName;u&&(l[s]=u,n[a]=l)}r.dateFields=n}function O(e,t){for(var r=[],n=0;n<e.length;n++){for(var i=e[n],o=t,a=0;a<i.length;a++)o=o[i[a]];r.push(o)}return r.join(" ")}function z(e,t){var r=c[e].calendar,n=r.patterns={};for(var i in n.d=O(w,t).replace(b,"y"),x)n[i]=O(x[i],t);for(var o in _)n[o]=_[o];var a=t.dateTimeFormats;r.dateTimeFormats={full:a.full,long:a.long,medium:a.medium,short:a.short,availableFormats:a.availableFormats},r.timeFormats=t.timeFormats,r.dateFormats=t.dateFormats}function D(e,t){var r=c[e].calendar=c[e].calendar||{};for(var n in t)"timeZoneNames"===n?(r.gmtFormat=t[n].gmtFormat,r.gmtZeroFormat=t[n].gmtZeroFormat):"calendars"===n&&t[n].gregorian?(z(e,t[n].gregorian),S(e,t[n].gregorian)):"fields"===n&&M(e,t.fields)}function I(e){if(e.territory)return e.territory;var t,r=e.name,n=e.identity;return t=n&&n.territory?n.territory:function(e,t){var r=c.supplemental.likelySubtags,n=e.split("-");if(r){var i=r[e]||r[n[0]];i&&(n=i.split("-"))}if(t)for(var o=n.length-1;o>=1;o--){var a=n[o];a!==t.variant&&a!==t.script||n.splice(o,1)}var s=n.length;if(s>1)return n[s-1].toUpperCase()}(r,n),e.territory=t,t}function T(e,t){for(var r in t)"numbers"===r?v(e,t[r]):"dates"===r&&D(e,t[r])}function F(){for(var e=arguments,t=arguments.length,r=0;r<t;r++){var n=e[r];if(n.main){var i=Object.keys(n.main)[0],o=n.main[i],a=c[i]=c[i]||{};a.name=a.name||i,a.identity=a.identity||o.identity,I(a),T(i,o)}else if(n.supplemental)if(n.supplemental.weekData)c.supplemental.weekData={firstDay:n.supplemental.weekData.firstDay,weekendStart:n.supplemental.weekData.weekendStart,weekendEnd:n.supplemental.weekData.weekendEnd};else if(n.supplemental.likelySubtags)c.supplemental.likelySubtags=Object.assign(c.supplemental.likelySubtags,n.supplemental.likelySubtags);else if(n.supplemental.currencyData){var s=c.supplemental.currencyData;s.region=Object.assign(s.region||{},n.supplemental.currencyData.region),s.fractions=Object.assign(s.fractions||{},n.supplemental.currencyData.fractions)}}}function A(e){var t=e.name,r=c[t]=c[t]||{},n=c.supplemental=c.supplemental||{};e.likelySubtags&&(n.likelySubtags=Object.assign(n.likelySubtags||{},e.likelySubtags)),e.currencyData&&(n.currencyData=n.currencyData||{},n.currencyData.fractions=Object.assign(n.currencyData.fractions||{},e.currencyData));var i=r.numbers;Object.assign(r,e),i&&e.numbers&&(r.numbers=Object.assign({},i,e.numbers))}function E(e,t){void 0===t&&(t="en");var r=h(t).calendar.dateFields;if(!r)throw u.NoDateFieldNames.error();var n=r[e.type]||{};return n[e.nameType]||n.wide}function P(e,t){var r,n=t.type,i=t.nameType,o=t.standAlone,a=t.lower,s=o?"stand-alone":"format",l=(a?"lower-":"")+i,u=d(e).calendar[n][s],c=u[l];return!c&&a&&(c=u[l]=(r=u[i],Array.isArray(r)?function(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r].toLowerCase());return t}(r):function(e){var t={};for(var r in e)t[r]=e[r].toLowerCase();return t}(r))),c}function N(e){var t=e.split("-"),r=parseInt(t[0],10),n=parseInt(t[1],10)-1,i=parseInt(t[2],10);return new Date(r,n,i)}var B=u.NoCurrency,j=u.NoCurrencyDisplay,H=u.NoSupplementalCurrency,L=u.NoCurrencyRegion,R=u.NoValidCurrency,U={"001":"USD",150:"EUR"};function G(e,t,r){var n=d(e).numbers.currencies;if(n){var i=n[t];if(i)return i;if(r)throw j.error()}else if(r)throw B.error()}function W(e,t){return t.length-e.length}function q(e,t,r){void 0===r&&(r=!0);var n=G(e,t,r);if(n){if(!n.displays){var i=[t];for(var o in n)i.push(n[o]);i.sort(W),n.displays=i}return n.displays}}function Z(e,t){var r=t.value,n=t.currency,i=t.currencyDisplay;if(void 0===i&&(i="symbol"),"code"===i)return n;var o=G(e,n,!0);return"symbol"===i?o["symbol-alt-narrow"]||o.symbol:void 0===typeof r||1!==r?o["displayName-count-other"]:o["displayName-count-one"]}function X(e){var t=2,r=2,n=((c.supplemental.currencyData||{}).fractions||{})[e];return n&&n._digits&&(r=t=parseInt(n._digits,10)),{minimumFractionDigits:t,maximumFractionDigits:r}}function K(e,t){if(void 0===t&&(t=!0),U[e])return U[e];var r=c.supplemental.currencyData;if(r){var n=r.region[e];if(n)return function(e){for(var t,r,n,i,o=0;o<e.length;o++){var a=e[o],s=Object.keys(a)[0],l=a[s];if("XXX"!==s&&"false"!==l._tender&&l._from)if(l._to){if(!n){var u=N(l._from),c=N(l._to);(!r||r.to<c||r.from<u)&&(t=s,r={from:u,to:c})}}else{var d=N(l._from);(!i||i<d)&&(n=s,i=d)}}return n||t}(n);if(t)throw L.error(e)}else if(t)throw H.error()}function J(e,t){var r=d(e),n=r.numbers;if(!n.localeCurrency){var i=K(I(r),t);if(!i&&t)throw R.error(r.name);n.localeCurrency=i}return n.localeCurrency}var V=["sun","mon","tue","wed","thu","fri","sat"],Q=u.NoWeekData,$=u.NoFirstDay;function Y(e){var t=d(e);if(!isNaN(t.firstDay))return t.firstDay;var r=c.supplemental.weekData;if(!r)throw Q.error();var n=r.firstDay[I(t)]||r.firstDay["001"];if(!n)throw $.error();return t.firstDay=V.indexOf(n),t.firstDay}var ee=u.NoWeekData;function te(e){var t=d(e);if(t.weekendRange)return t.weekendRange;var r=c.supplemental.weekData;if(!r)throw ee.error();var n=I(t),i=r.weekendStart[n]||r.weekendStart["001"],o=r.weekendEnd[n]||r.weekendEnd["001"];return t.weekendRange={start:V.indexOf(i),end:V.indexOf(o)},t.weekendRange}function re(e){return d(e).numbers.symbols}function ne(e){return 1/e==-1/0}function ie(e,t){return void 0===t&&(t={}),t.currency||(t.currency=J(e,!0)),Z(e,t)}function oe(e,t,r,n,i){var o=i.numbers.symbols,a=e.indexOf(o.decimal),s=n.groupSize.slice(),l=s.shift(),u=-1!==a?a:r+1,c=e.substring(t,u),d=e,h=c.length;if(h>=l){for(var f=h,p=[];f>-1;){var m=c.substring(f-l,f);m&&p.push(m),f-=l;var g=s.shift();if(0===(l=void 0!==g?g:l)){(m=c.substring(0,f))&&p.push(m);break}}c=p.reverse().join(o.group),d=e.substring(0,t)+c+e.substring(u)}return d}function ae(e){return"currency"===e||"accounting"===e}function se(e,t,r){void 0===t&&(t=2),void 0===r&&(r=!1);var n=t-String(e).length,i=e;if(n>0){var o=new Array(n+1).join("0");i=r?e+o:o+e}return i}function le(e,t){var r=e,n=t||0;return r=r.toString().split("e"),r=(r=Math.round(Number(r[0]+"e"+(r[1]?Number(r[1])+n:n)))).toString().split("e"),(r=Number(r[0]+"e"+(r[1]?Number(r[1])-n:-n))).toFixed(Math.min(n,20))}var ue=/0+$/;function ce(e,t,r){var n=r.numbers.symbols,i=t.style,o=ae(i);if("scientific"===i)return(void 0!==t.minimumFractionDigits?e.toExponential(t.minimumFractionDigits):e.toExponential()).replace(".",n.decimal);var a,s=e;o&&(t.value=s,a=ie(r,t)),"percent"===i&&(s*=100,a=n.percentSign);var l=function(e){var t,r=e.minimumFractionDigits,n=e.maximumFractionDigits,i=e.style,o=ae(i);return o&&(t=X(e.currency)),void 0===r&&(r=o?t.minimumFractionDigits:0),void 0===n&&(n="percent"===i?Math.max(r,0):o?Math.max(r,t.maximumFractionDigits):Math.max(r,3)),{minimumFractionDigits:r,maximumFractionDigits:n}}(t),u=l.minimumFractionDigits,c=(s=le(s,l.maximumFractionDigits))<0,d=ne(e),h=s.split("."),f=h[0],p=se(h[1]?h[1].replace(ue,""):"",u,!0);c&&(f=f.substring(1)),t.minimumIntegerDigits&&(f=se(f,t.minimumIntegerDigits));var m,g=!1!==t.useGrouping?oe(f,0,f.length,t,r):f;if(p&&(g+=n.decimal+p),o&&"name"===t.currencyDisplay)m=function(e,t){var r=e.numbers.currency,n=1!==t?r["unitPattern-count-other"]:r["unitPattern-count-one"];return t<0&&(n=n.replace("n","-n")),n}(r,e);else{var y=t.patterns;m=c||d?y[1]||"-"+y[0]:y[0]}return"n"!==m||c?function(e,t,r){for(var n="",i=0,o=t.length;i<o;i++){var a=t.charAt(i);n+="n"===a?e:"$"===a||"%"===a?r:a}return n}(g,m,a):g}var de=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g;function he(e,t){var r=e.format;-1!==r.indexOf("%")&&(e.style="percent",e.symbol=t.numbers.symbols.percentSign,e.number*=100),-1!==r.indexOf("$")&&(e.style="currency",e.symbol=ie(t))}function fe(e){var t=e.format;if(t.indexOf("'")>-1||t.indexOf('"')>-1||t.indexOf("\\")>-1){var r=e.literals=[];e.format=t.replace(de,(function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return r.push(n),"__??__"}))}}var pe=/(\.(?:[0-9]*[1-9])?)0+$/g,me=/\.$/,ge=/\,/g;function ye(e){var t,r,n,i=e.number,o=e.format,a=o.indexOf(".");if(-1!==a){var s=o.lastIndexOf("0")-a,l=o.lastIndexOf("#")-a,u=s>-1,c=l>-1,d=i.toString().split("e"),h=(d=(d=d[1]?le(i,Math.abs(d[1])):d[0]).split(".")[1]||"").length,f=-1;u||c?u&&s>l?h=s:l>s&&(c&&h>l?h=l:u&&h<s&&(h=s),f=u?s:0):(e.format=o.substring(0,a)+o.substring(a+1),a=-1,h=0),h>-1&&(i=le(i,h),f>-1&&(t=i,n=0===(r=f)?pe:new RegExp("(\\.[0-9]{"+r+"}[1-9]*)0+$","g"),i=t.replace(n,"$1").replace(me,"")))}else i=le(i);e.negative&&-1*i>=0&&!e.negativeZero&&(e.negative=!1),e.number=i,e.decimalIndex=a}function ve(e,t,r){return-1===e&&-1!==t?t:-1!==e&&-1===t?e:r?Math.min(e,t):Math.max(e,t)}function _e(e,t){var r=e.number;return-1!==e.start&&(r=function(e,t){var r=e;if(t)for(var n=t.length,i=0;i<n;i++)r=r.replace("__??__",t[i]);return r}(r=function(e,t,r){var n=e;if("currency"===t||"percent"===t){n="";for(var i=0,o=e.length;i<o;i++){var a=e.charAt(i);n+="$"===a||"%"===a?r:a}}return n}(r=function(e,t){var r=e.start,n=e.end,i=e.negative,o=e.negativeZero,a=e.format,s=e.decimalIndex,l=e.lastZeroIndex,u=e.hasNegativeFormat,c=e.hasGroup,d=e.number,h=d.toString().split("."),f=a.length,p=h[0],m=h[1]||"",g=p.length,y="";d=a.substring(0,r),!i&&!o||u||(d+="-");for(var v=r;v<f;v++){var _=a.charAt(v);if(-1===s){if(n-v<g){d+=p;break}}else if(-1!==l&&l<v&&(y=""),s-v<=g&&s-v>-1&&(d+=p,v=s),s===v){d+=(m?t.numbers.symbols.decimal:"")+m,v+=n-s+1;continue}"0"===_?(d+=_,y=_):"#"===_&&(d+=y)}return c&&(d=oe(d,r+(i&&!u?1:0),Math.max(n,g+r),t.numbers.decimal,t)),n>=r&&(d+=a.substring(n+1)),d}(e,t),e.style,e.symbol),e.literals)),r}function be(e,t,r){var n={negative:e<0,number:Math.abs(e),negativeZero:ne(e),format:t};return function(e){var t=e.number,r=e.format;if(r=r.split(";"),(e.negative||e.negativeZero)&&r[1])r=r[1],e.hasNegativeFormat=!0;else if(0===t){var n=r[2];r=n||r[0],n&&function(e){return-1===e.indexOf("#")&&-1===e.indexOf("0")}(n)&&(e.constant=n)}else r=r[0];e.format=r}(n),n.constant?n.constant:(fe(n),he(n,r),function(e){e.hasGroup=e.format.indexOf(",")>-1,e.hasGroup&&(e.format=e.format.replace(ge,""))}(n),ye(n),function(e){var t=e.format,r=t.indexOf("#"),n=t.indexOf("0"),i=ve(r,n,!0),o=ve(r=t.lastIndexOf("#"),n=t.lastIndexOf("0"));i===t.length&&(o=i),e.start=i,e.end=o,e.lastZeroIndex=n}(n),_e(n,r))}var we=/^(n|c|p|e|a)(\d*)$/i;function xe(e){return i(e)?function(e){var t=we.exec(e);if(t){var r={style:"decimal"},n=t[1].toLowerCase();return"c"===n?r.style="currency":"a"===n?r.style="accounting":"p"===n?r.style="percent":"e"===n&&(r.style="scientific"),t[2]&&(r.minimumFractionDigits=r.maximumFractionDigits=parseInt(t[2],10)),r}}(e):e}function ke(e,t,r){if(void 0===t&&(t="n"),void 0===r&&(r="en"),null==e)return"";if(!isFinite(e))return String(e);var n,i=h(r),o=xe(t);if(o){var a=o.style||"decimal";n=ce(e,Object.assign({},i.numbers[a],o),i)}else n=be(e,t,i);return n}function Ce(e){return"number"==typeof e}var Se=/[eE][\-+]?[0-9]+/,Me=/\u00A0/g;function Oe(e,t){if(t.length>1){var r=(t[1]||"").replace("$","").split("n");if(e.indexOf(r[0])>-1&&e.indexOf(r[1])>-1)return e.replace(r[0],"").replace(r[1],"")}}function ze(e,t,r){if(void 0===t&&(t="en"),void 0===r&&(r={}),!e&&0!==e)return null;if(Ce(e))return e;var n,o=h(t),a=o.numbers.symbols,s=e.toString(),l=r||{};if(i(r)&&(fe(l={format:r}),s=function(e,t){var r=t.literals,n=e;if(r)for(var i=0;i<r.length;i++)n=n.replace(r[i],"");return n}(s,l),he(l,o)),("percent"===l.style||s.indexOf(a.percentSign)>-1)&&(s=s.replace(a.percentSign,""),n=!0),Se.test(s))return s=parseFloat(s.replace(a.decimal,".")),isNaN(s)?null:s;var u=function(e,t,r){var n,i=xe(r)||{},o=ae(i.style),a=e,s=i.currency||J(t,o);if(s){var l=q(t,s,o);if(l)for(var u=0;u<l.length;u++){var c=l[u];if(a.includes(c)){a=a.replace(c,""),o=!0;break}}if(o){var d=Oe(a,t.numbers.currency.patterns)||Oe(a,t.numbers.accounting.patterns);d&&(n=!0,a=d)}}return{number:a,negative:n}}(s,o,l),c=u.negative,d=u.number,f=(s=String(d).trim()).indexOf("-");if(f>0)return null;var p=f>-1;return p=void 0!==c?c:p,s=s.replace("-","").replace(Me," ").split(a.group.replace(Me," ")).join("").replace(a.decimal,"."),s=parseFloat(s),isNaN(s)?s=null:p&&(s*=-1),s&&n&&(s/=100),s}var De=/\{(\d+)}/g;function Ie(e){var t=arguments;return e.replace(De,(function(e,r){return t[parseInt(r,10)+1]}))}var Te=[2,1,5,3,4],Fe={};Fe[(-2).toString()]=8,Fe[(-1).toString()]=6,Fe[2..toString()]=6,Fe[1..toString()]=3;var Ae={numeric:1,"2-digit":2,short:3,long:4,narrow:5},Ee=/[hHmsSzZoOvVxX]/;var Pe=[{key:"era",specifier:"G"},{key:"year",specifier:"y"},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:function(e){return e.hour12?"h":"H"}},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],Ne={e:"c",E:"c",M:"L",Q:"q"},Be={},je={};function He(e){return Be[e]||(Be[e]=new RegExp(e+"+")),Be[e]}function Le(e){for(var t=[],r=e.charAt(0),n=r,i=1;i<e.length;i++){var o=e.charAt(i);o===n?r+=o:(t.push(r),r=n=o)}return t.push(r),t}function Re(e,t){var r,n,i=e.length,o=-Number.MAX_VALUE;for(var a in t){for(var s=[],l=a.replace("v","z"),u=0,c=0;c<i;c++){var d=e[c],h=(He(d[0]).exec(l)||[])[0];if(h){if(l=l.replace(h,""),h.length!==d.length){var f=Math.max(Math.min(Te[h.length]-Te[d.length],2),-2);u-=Fe[f]}}else u-=120;if(s.push(h),u<o)break}l.length&&(u-=20*Le(l).length),u>o&&(o=u,r=s,n=t[a])}n=n.replace("v","z");for(var p=0;p<i;p++){var m=r[p];if(m&&m!==e[p]){var g=r[p][0];n=n.replace(He(g),e[p]),Ne[g]&&(n=n.replace(He(Ne[g]),e[p]))}}return n}function Ue(e,t){var r=t.calendar.dateTimeFormats.availableFormats;if(r[e])return r[e];if(je[t.name]&&je[t.name][e])return je[t.name][e];var n,i=e.search(Ee);if(i>0){var o=e.substr(0,i),a=e.substr(i);n=Ie(t.calendar.dateTimeFormats.short,r[a]||Re(Le(a),r),r[o]||Re(Le(o),r))}else n=Re(Le(e),r);return function(e,t,r){je[r]||(je[r]={}),je[r][e]=t}(e,n,t.name),n}function Ge(e,t){var r,n=t.calendar;if(i(e))r=n.patterns[e]?n.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var o=e.skeleton;o||(e.datetime?r=Ie(n.dateTimeFormats[e.datetime],n.timeFormats[e.datetime],n.dateFormats[e.datetime]):e.date?r=n.dateFormats[e.date]:e.time?r=n.timeFormats[e.time]:o=function(e){for(var t=[],r=0;r<Pe.length;r++){var n=Pe[r],i=e[n.key];if(i){var o=n.specifier||n.getSpecifier(e);t.push(o.repeat(Ae[i]))}}return t.join("")}(e)),o&&(r=Ue(o,t))}return r||(r=n.patterns.d),r}function We(e){var t;return e<=3?t="abbreviated":4===e?t="wide":5===e?t="narrow":6===e&&(t="short"),t}function qe(e,t,r,n,i){return P(e,{type:t,nameType:We(r),standAlone:n,lower:i})}function Ze(e){return"function"==typeof e}function Xe(e){return Boolean(e)&&Ze(e.getTime)&&Ze(e.getMonth)}var Ke={G:"era",y:"year",q:"quarter",Q:"quarter",M:"month",L:"month",d:"day",E:"weekday",c:"weekday",e:"weekday",h:"hour",H:"hour",k:"hour",K:"hour",m:"minute",s:"second",S:"millisecond",a:"dayperiod",x:"zone",X:"zone",z:"zone",Z:"zone"},Je=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g;function Ve(e,t,r,n){return t<=2?se(e+1,t):qe(r,"months",t,n)[e]}function Qe(e,t,r,n){var i=Math.floor(e.getMonth()/3);return t<3?i+1:qe(r,"quarters",t,n)[i]}function $e(e,t,r){var n=r.shortHours,i=r.optionalMinutes,o=r.separator,a=r.localizedName,s=r.zZeroOffset,l=e.getTimezoneOffset()/60;if(0===l&&s)return"Z";var u=l<=0?"+":"-",c=Math.abs(l).toString().split("."),d=c[1]||0,h=u+(n?c[0]:se(c[0],2));(!d&&i||(h+=(o?":":"")+se(d,2)),a)&&(h=Ie(0===l?t.calendar.gmtZeroFormat:t.calendar.gmtFormat,h));return h}function Ye(e,t,r,n){var i,o,a;return t<3?(o=e.getDay(),a=Y(r),i=(o<a?7-a+o:o-a)+1):i=qe(r,"days",t,n)[e.getDay()],i}var et={};function tt(e,t,r){if(void 0===r&&(r="en"),!Xe(e))return null==e?"":e;var n=h(r);return Ge(t,n).replace(Je,(function(t){var r=t.length;return t.includes("'")||t.includes('"')?t.slice(1,r-1):et[t[0]](e,r,n)}))}function rt(e,t,r){var n=e.getTimezoneOffset(),i=new Date(e.getTime()+6e4*(t-r)),o=i.getTimezoneOffset();return new Date(i.getTime()+6e4*(o-n))}et.d=function(e,t){return se(e.getDate(),t)},et.E=function(e,t,r){return qe(r,"days",t)[e.getDay()]},et.M=function(e,t,r){return Ve(e.getMonth(),t,r,!1)},et.L=function(e,t,r){return Ve(e.getMonth(),t,r,!0)},et.y=function(e,t){var r=e.getFullYear();return 2===t&&(r%=100),se(r,t)},et.h=function(e,t){return se(e.getHours()%12||12,t)},et.H=function(e,t){return se(e.getHours(),t)},et.k=function(e,t){return se(e.getHours()||24,t)},et.K=function(e,t){return se(e.getHours()%12,t)},et.m=function(e,t){return se(e.getMinutes(),t)},et.s=function(e,t){return se(e.getSeconds(),t)},et.S=function(e,t){var r=e.getMilliseconds();return 0!==r?se(String(r/1e3).split(".")[1].substr(0,t),t,!0):se("",t)},et.a=function(e,t,r){return qe(r,"dayPeriods",t)[e.getHours()<12?"am":"pm"]},et.z=function(e,t,r){return $e(e,r,{shortHours:t<4,optionalMinutes:t<4,separator:!0,localizedName:!0})},et.Z=function(e,t,r){return $e(e,r,{separator:t>3,localizedName:4===t,zZeroOffset:5===t})},et.x=function(e,t,r){return $e(e,r,{optionalMinutes:1===t,separator:3===t||5===t})},et.X=function(e,t,r){return $e(e,r,{optionalMinutes:1===t,separator:3===t||5===t,zZeroOffset:!0})},et.G=function(e,t,r){var n=e.getFullYear()>=0?1:0;return qe(r,"eras",t)[n]},et.e=Ye,et.c=function(e,t,r){return Ye(e,t,r,!0)},et.q=function(e,t,r){return Qe(e,t,r,!0)},et.Q=Qe;var nt=/([+|\-]\d{1,2})(:?)(\d{2})?/,it=/^\/Date\((.*?)\)\/$/,ot=/[+-]\d*/,at={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},st=/\d+/,lt=/^ */,ut=/ *$/,ct=["yyyy/MM/dd HH:mm:ss","yyyy/MM/dd HH:mm","yyyy/MM/dd","E MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:ss.SSSSSSSXXX","yyyy-MM-ddTHH:mm:ss.SSSXXX","yyyy-MM-ddTHH:mm:ss.SSXXX","yyyy-MM-ddTHH:mm:ssXXX","yyyy-MM-ddTHH:mm:ss.SSSSSSS","yyyy-MM-ddTHH:mm:ss.SSS","yyyy-MM-ddTHH:mmXXX","yyyy-MM-ddTHH:mmX","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","yyyy-MM-dd","HH:mm:ss","HH:mm"],dt=["G","g","F","Y","y","M","m","D","d","y","T","t"];function ht(e,t,r){return!(e>=t&&e<=r)}function ft(e,t){for(var r=t.format,n=t.idx,i=0;r[n]===e;)i++,n++;return i>0&&(n-=1),t.idx=n,i}function pt(e,t){var r=e?at[e]||new RegExp("^\\d{1,"+e+"}"):st,n=t.value.substr(t.valueIdx,e).match(r);return n?(n=n[0],t.valueIdx+=n.length,parseInt(n,10)):null}function mt(e,t,r){for(var n,i,o,a=0,s=e.length,l=0,u=0;a<s;a++)i=(n=e[a]).length,o=t.value.substr(t.valueIdx,i),r&&(o=o.toLowerCase()),o===n&&i>l&&(l=i,u=a);return l?(t.valueIdx+=l,u+1):null}function gt(e){var t=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,t=!0),t}function yt(e,t,r){var n=r.shortHours,i=r.noSeparator,o=r.optionalMinutes,a=r.localizedName,s=r.zLiteral;if(e.UTC=!0,s&&"Z"===e.value.charAt(e.valueIdx))return e.valueIdx++,!1;if(a&&!mt(function(e){var t=e.gmtFormat,r=e.gmtZeroFormat;if(!t)throw u.NoGMTInfo.error();return[t.replace("{0}","").toLowerCase(),r.replace("{0}","").toLowerCase()]}(t.calendar),e,!0))return!0;var l=nt.exec(e.value.substr(e.valueIdx,6));if(!l)return!a;var c=l[1],d=l[3],h=parseInt(c,10),f=l[2],p=parseInt(d,10);return!!(isNaN(h)||!n&&3!==c.length||!o&&isNaN(p)||i&&f)||(isNaN(p)&&(p=null),!!(ht(h,-12,13)||p&&ht(p,0,59))||(e.valueIdx+=l[0].length,e.hoursOffset=h,void(e.minutesOffset=p)))}function vt(e,t,r){var n=ft(e,t),i=qe(r,"months",n,"L"===e,!0),o=n<3?pt(2,t):mt(i,t,!0);if(null===o||ht(o,1,12))return!0;t.month=o-1}function _t(e,t,r){var n=ft(e,t),i=qe(r,"days",n,"c"===e,!0),o=n<3?pt(1,t):mt(i,t,!0);if(!o&&0!==o||ht(o,1,7))return!0}var bt={};function wt(e,t){return""+lt.exec(t)[0]+e+ut.exec(t)[0]}function xt(e,t,r){for(var n=Ge(t,r).split(""),i={format:n,idx:0,value:wt(e,t),valueIdx:0,year:null,month:null,day:null,hours:null,minutes:null,seconds:null,milliseconds:null},o=n.length,a=!1;i.idx<o;i.idx++){var s=n[i.idx];if(a)"'"===s&&(a=!1),gt(i);else if(bt[s]){if(bt[s](i,r))return null}else if("'"===s)a=!0,gt(i);else if(!gt(i))return null}return i.valueIdx<e.length?null:function(e){var t,r=e.year,n=e.month,i=e.day,o=e.hours,a=e.minutes,s=e.seconds,l=e.milliseconds,u=e.pmHour,c=e.UTC,d=e.hoursOffset,h=e.minutesOffset,f=null!==o||null!==a||s||null,p=new Date;return null===r&&null===n&&null===i&&f?(r=p.getFullYear(),n=p.getMonth(),i=p.getDate()):(null===r&&(r=p.getFullYear()),null===i&&(i=1)),u&&o<12&&(o+=12),c?(d&&(o+=-d),h&&(a+=-h*(d<0?-1:1)),t=new Date(Date.UTC(r,n,i,o,a,s,l))):function(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}(t=new Date(r,n,i,o,a,s,l),o),r<100&&t.setFullYear(r),t.getDate()!==i&&void 0===c?null:t}(i)||null}function kt(e){if(e&&0===e.indexOf("/D")){var t=it.exec(e);if(t){t=t[1];var r=ot.exec(t.substring(1));return t=new Date(parseInt(t,10)),r&&(n=r[0],i="-"===n.substr(0,1)?-1:1,o=n.substring(1),r=i*(o=60*parseInt(o.substr(0,2),10)+parseInt(o.substring(2),10)),t=rt(t,t.getTimezoneOffset(),0),t=rt(t,0,-1*r)),t}}var n,i,o}function Ct(e,t,r){if(void 0===r&&(r="en"),!e)return null;if(Xe(e))return e;var n=String(e).trim(),i=kt(n);if(i)return i;for(var o=h(r),a=t||function(e){for(var t=[],r=e.patterns,n=dt.length,i=0;i<n;i++)t.push(r[dt[i]]);return t.concat(ct)}(o.calendar),s=(a=Array.isArray(a)?a:[a]).length,l=0;l<s;l++)if(i=xt(n,a[l],o))return i;return i}bt.d=function(e){ft("d",e);var t=pt(2,e);if(null===t||ht(t,1,31))return!0;null===e.day&&(e.day=t)},bt.E=function(e,t){if(null===mt(qe(t,"days",ft("E",e),!1,!0),e,!0))return!0},bt.M=function(e,t){return vt("M",e,t)},bt.L=function(e,t){return vt("L",e,t)},bt.y=function(e){var t=ft("y",e),r=pt(1===t?void 0:t,e);if(null===r)return!0;if(2===t){var n=(new Date).getFullYear();(r=n-n%100+r)>2029&&(r-=100)}e.year=r},bt.h=function(e){ft("h",e);var t=pt(2,e);if(12===t&&(t=0),null===t||ht(t,0,11))return!0;e.hours=t},bt.K=function(e){ft("K",e);var t=pt(2,e);if(null===t||ht(t,0,11))return!0;e.hours=t},bt.a=function(e,t){var r=qe(t,"dayPeriods",ft("a",e),!1,!0),n=mt([r.pm],e,!0);if(!n&&!mt([r.am],e,!0))return!0;e.pmHour=n},bt.H=function(e){ft("H",e);var t=pt(2,e);if(null===t||ht(t,0,23))return!0;e.hours=t},bt.k=function(e){ft("k",e);var t=pt(2,e);if(null===t||ht(t,1,24))return!0;e.hours=24===t?0:t},bt.m=function(e){ft("m",e);var t=pt(2,e);if(null===t||ht(t,0,59))return!0;e.minutes=t},bt.s=function(e){ft("s",e);var t=pt(2,e);if(null===t||ht(t,0,59))return!0;e.seconds=t},bt.S=function(e){var t=ft("S",e),r=e.value.substr(e.valueIdx,t),n=null;if(isNaN(parseInt(r,10))||(n=le(n=parseFloat("0."+r,10),3),n*=1e3,e.valueIdx+=t),null===n||ht(n,0,999))return!0;e.milliseconds=n},bt.z=function(e,t){var r=ft("z",e)<4,n=yt(e,t,{shortHours:r,optionalMinutes:r,localizedName:!0});if(n)return n},bt.Z=function(e,t){var r=ft("Z",e),n=yt(e,t,{noSeparator:r<4,zLiteral:5===r,localizedName:4===r});if(n)return n},bt.x=function(e,t){var r=ft("x",e),n=yt(e,t,{noSeparator:3!==r&&5!==r,optionalMinutes:1===r});if(n)return n},bt.X=function(e,t){var r=ft("X",e),n=yt(e,t,{noSeparator:3!==r&&5!==r,optionalMinutes:1===r,zLiteral:!0});if(n)return n},bt.G=function(e,t){var r=qe(t,"eras",ft("G",e),!1,!0);if(null===mt([r[0],r[1]],e,!0))return!0},bt.e=function(e,t){return _t("e",e,t)},bt.c=function(e,t){return _t("c",e,t)};var St={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}};function Mt(e,t){var r=e[e.length-1];r&&"literal"===r.type?r.pattern+=t:e.push({type:"literal",pattern:t})}function Ot(e){return"h"===e||"K"===e}function zt(e,t){void 0===t&&(t="en");for(var r=Ge(e,h(t)),n=[],i=Je.lastIndex=0,o=Je.exec(r);o;){var a=o[0];if(i<o.index&&Mt(n,r.substring(i,o.index)),a.startsWith('"')||a.startsWith("'"))Mt(n,a);else{var s=a[0],l=Ke[s],u={type:l,pattern:a};"hour"===l&&(u.hour12=Ot(a));var c=St[l];if(c){var d=Ce(c.minLength)?c.minLength:c.minLength[s],f=a.length;f>=d&&(u.names={type:c.type,nameType:We(f),standAlone:c.standAlone===s})}n.push(u)}i=Je.lastIndex,o=Je.exec(r)}return i<r.length&&Mt(n,r.substring(i)),n}var Dt=/\{(\d+)(:[^\}]+)?\}/g;function It(e,t,r){if(t){if(Xe(e))return tt(e,t,r);if(Ce(e))return ke(e,t,r)}return null!=e?e:""}function Tt(e,t,r){return e.replace(Dt,(function(e,n,i){return It(t[parseInt(n,10)],i?i.substring(1):"",r)}))}},function(e,t,r){"use strict";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,"saveAs",(function(){return n})),r.d(t,"encodeBase64",(function(){return d}));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 d(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),d="",h=0;h<l.length;)i=(t=l.charCodeAt(h++))>>2,o=(3&t)<<4|(r=l.charCodeAt(h++))>>4,a=(15&r)<<2|(n=l.charCodeAt(h++))>>6,s=63&n,isNaN(r)?a=s=64:isNaN(n)&&(s=64),d=d+u.charAt(i)+u.charAt(o)+u.charAt(a)+u.charAt(s);return d}}])}));
20
+ var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=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}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function s(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t){return function(r,n){t(r,n,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function d(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function h(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function f(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||(t[r]=e[r])}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function y(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function _(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{(r=i[e](t)).value instanceof v?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}var r}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:v(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=p(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,i,(t=e[r](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}function S(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function M(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}},function(t,r){t.exports=e},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.parent=e}return Object.defineProperty(e.prototype,"level",{get:function(){return this.parent?this.parent.level+1:0},enumerable:!0,configurable:!0}),n.__decorate([i.Input(),n.__metadata("design:type",String)],e.prototype,"title",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Number)],e.prototype,"width",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"locked",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"hidden",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],e.prototype,"headerCellOptions",void 0),n.__decorate([i.ContentChildren(e),n.__metadata("design:type",i.QueryList)],e.prototype,"children",void 0),e}();t.ColumnBase=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.templateRef=e}return e=n.__decorate([i.Directive({selector:"[kendoExcelExportGroupHeaderTemplate]"}),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.GroupHeaderTemplateDirective=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.templateRef=e}return e=n.__decorate([i.Directive({selector:"[kendoExcelExportGroupFooterTemplate]"}),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.GroupFooterTemplateDirective=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.templateRef=e}return e=n.__decorate([i.Directive({selector:"[kendoExcelExportFooterTemplate]"}),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.FooterTemplateDirective=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(19),a=r(7),s=r(2),l=r(14),u=r(15),c=r(16),d=function(){function e(e,t){this.localization=e,this.zone=t,this.fileName="Export.xlsx",this.columns=new i.QueryList,u.validatePackage(c.packageMetadata),this.saveFile=this.saveFile.bind(this)}return e.prototype.save=function(e){this.toDataURL(e).then(this.saveFile)},e.prototype.workbookOptions=function(e){var t=this.getExportData(e);return a.workbookOptions({columns:this.columns,data:t.data,group:t.group,filterable:this.filterable,creator:this.creator,date:this.date,rtl:this.localization.rtl,paddingCellOptions:this.paddingCellOptions,headerPaddingCellOptions:this.headerPaddingCellOptions,collapsible:this.collapsible})},e.prototype.toDataURL=function(e){var t=a.isWorkbookOptions(e)?e:this.workbookOptions(e);return this.zone.runOutsideAngular((function(){return a.toDataURL(t)}))},e.prototype.getExportData=function(e){return e?Array.isArray(e)?{data:e}:e:{data:this.data,group:this.group}},e.prototype.saveFile=function(e){o.saveAs(e,this.fileName,{forceProxy:this.forceProxy,proxyURL:this.proxyURL})},n.__decorate([i.Input(),n.__metadata("design:type",String)],e.prototype,"fileName",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"filterable",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"collapsible",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],e.prototype,"creator",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Date)],e.prototype,"date",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],e.prototype,"forceProxy",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],e.prototype,"proxyURL",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Array)],e.prototype,"data",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Array)],e.prototype,"group",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],e.prototype,"paddingCellOptions",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],e.prototype,"headerPaddingCellOptions",void 0),n.__decorate([i.ContentChildren(s.ColumnBase,{descendants:!0}),n.__metadata("design:type",i.QueryList)],e.prototype,"columns",void 0),e=n.__decorate([i.Component({exportAs:"kendoExcelExport",selector:"kendo-excelexport",providers:[l.LocalizationService,{provide:l.L10N_PREFIX,useValue:"kendo.excelexport"}],template:""}),n.__metadata("design:paramtypes",[l.LocalizationService,i.NgZone])],e)}();t.ExcelExportComponent=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(11),i=r(13),o=r(18);n.IntlService.register({toString:o.toString}),t.workbookOptions=function(e){var t=i.toExporterColumns(e.columns),r=new n.ExcelExporter({columns:t,data:e.data,filterable:e.filterable,groups:e.group,paddingCellOptions:e.paddingCellOptions,headerPaddingCellOptions:e.headerPaddingCellOptions,collapsible:e.collapsible,hierarchy:e.hierarchy,aggregates:e.aggregates}).workbook();return r.creator=e.creator,r.date=e.date,r.rtl=e.rtl,i.destroyColumns(t),r},t.toDataURL=function(e){return new n.Workbook(e).toDataURL()},t.isWorkbookOptions=function(e){return e&&e.sheets}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(3),a=r(9),s=r(4),l=r(5),u=r(2),c=function(e){function t(t){return e.call(this,t)||this}var r;return n.__extends(t,e),r=t,n.__decorate([i.Input(),n.__metadata("design:type",String)],t.prototype,"field",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],t.prototype,"cellOptions",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],t.prototype,"groupHeaderCellOptions",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],t.prototype,"groupFooterCellOptions",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],t.prototype,"footerCellOptions",void 0),n.__decorate([i.ContentChild(o.GroupHeaderTemplateDirective,{static:!1}),n.__metadata("design:type",o.GroupHeaderTemplateDirective)],t.prototype,"groupHeaderTemplate",void 0),n.__decorate([i.ContentChild(a.GroupHeaderColumnTemplateDirective,{static:!1}),n.__metadata("design:type",a.GroupHeaderColumnTemplateDirective)],t.prototype,"groupHeaderColumnTemplate",void 0),n.__decorate([i.ContentChild(s.GroupFooterTemplateDirective,{static:!1}),n.__metadata("design:type",s.GroupFooterTemplateDirective)],t.prototype,"groupFooterTemplate",void 0),n.__decorate([i.ContentChild(l.FooterTemplateDirective,{static:!1}),n.__metadata("design:type",l.FooterTemplateDirective)],t.prototype,"footerTemplate",void 0),t=r=n.__decorate([i.Component({providers:[{provide:u.ColumnBase,useExisting:i.forwardRef((function(){return r}))}],selector:"kendo-excelexport-column",template:""}),n.__param(0,i.SkipSelf()),n.__param(0,i.Host()),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[u.ColumnBase])],t)}(u.ColumnBase);t.ColumnComponent=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function e(e){this.templateRef=e}return e=n.__decorate([i.Directive({selector:"[kendoExcelExportGroupHeaderColumnTemplate]"}),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.GroupHeaderColumnTemplateDirective=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(2),a=function(e){function t(t){var r=e.call(this,t)||this;return r.parent=t,r}var r;return n.__extends(t,e),r=t,t=r=n.__decorate([i.Component({providers:[{provide:o.ColumnBase,useExisting:i.forwardRef((function(){return r}))}],selector:"kendo-excelexport-column-group",template:""}),n.__param(0,i.SkipSelf()),n.__param(0,i.Host()),n.__param(0,i.Optional()),n.__metadata("design:paramtypes",[o.ColumnBase])],t)}(o.ColumnBase);t.ColumnGroupComponent=a},function(e,t,r){"use strict";r.r(t),r.d(t,"ExcelExporter",(function(){return p})),r.d(t,"IntlService",(function(){return y})),r.d(t,"TemplateService",(function(){return o})),r.d(t,"Workbook",(function(){return Ur})),r.d(t,"Worksheet",(function(){return Nr}));var n={compile:function(e){return e}},i=function(){};i.register=function(e){n=e},i.compile=function(e){return n.compile(e)};var o=i,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 d(e,t){for(var r=[],n=0;n<e;n++)r.push(t(n));return r}function h(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(){var e={sheets:[{columns:this._columns(),rows:this.hierarchy?this._hierarchyRows():this._rows(),freezePane:this._freezePane(),filter:this._filter()}]};return e},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 d(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||h,o=this._hasFooterTemplate(),a=[],s=[],l=0;o||(this.collapsible=!1);for(var u=0;u<r.length;u++){var c=r[u],d=n(c,u);o&&(d>l?s.push({id:e,level:l}):d<l&&a.push.apply(a,this._hierarchyFooterRows(s,d,t)),l=d,e=i(c,u)),a.push.apply(a,this._dataRow(c,d+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:d(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=n||e[e.length-1],o=e[i.index+1],a=0,s=0;s<t.length;s++){var l=t[s];if(this._isColumnVisible(l)){var u=Object.assign({background:"#7a7a7a",color:"#fff",value:l.title||l.field,colSpan:0,firstCell:0===s&&(!r||r.firstCell)},l.headerCellOptions);i.cells.push(u),l.columns&&l.columns.length&&(o||(o={rowSpan:0,cells:[],index:e.length},e.push(o)),u.colSpan=this._trimColumns(this._visibleColumns(l.columns)).length,this._prepareHeaderRows(e,l.columns,u,o),a+=u.colSpan-1,i.rowSpan=e.length-i.index)}}r&&(r.colSpan+=a)},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 d(this._depth(),(function(){return{width:20}})).concat(this.columns.map((function(e){return{width:parseInt(e.width,10),autoWidth:!e.width}})))};var p=f,m={toString:function(e){return e}},g=function(){};g.register=function(e){m=e},g.toString=function(e,t){return m.toString(e,t)};var y=g;function v(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(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)v(r,n)&&(e[n]=r[n])}}return e}function b(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}var w={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)}},x={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)}},k=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;return k=function(){return e},e},C=function(e,t,r,n,i){return(C=k()?w.arraySet:x.arraySet)(e,t,r,n,i)},S=function(e){return(S=k()?w.flattenChunks:x.flattenChunks)(e)},M=function(e){return(M=k()?w.Buf8:x.Buf8)(e)},O=function(e){return(O=k()?w.Buf16:x.Buf16)(e)},z=function(e){return(z=k()?w.Buf32:x.Buf32)(e)},D=function(){var e=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}return D=function(){return e},e},I=function(){var e=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){e=!1}return I=function(){return e},e},T=function(e){for(var t=M(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 A(e,t){if(t<65534&&(e.subarray&&I()||!e.subarray&&D()))return String.fromCharCode.apply(null,b(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 A(s,n)}function P(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 N(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 B=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 B=function(){return e},e};function j(e,t,r,n){var i=B(),o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}function H(e,t){var r,n,i,o,a,s,l,u,c,d,h,f,p,m,g,y,v,_,b,w,x,k,C,S,M;r=e.state,n=e.next_in,S=e.input,i=n+(e.avail_in-5),o=e.next_out,M=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,d=r.wnext,h=r.window,f=r.hold,p=r.bits,m=r.lencode,g=r.distcode,y=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;e:do{p<15&&(f+=S[n++]<<p,p+=8,f+=S[n++]<<p,p+=8),_=m[f&y];t:for(;;){if(f>>>=b=_>>>24,p-=b,0===(b=_>>>16&255))M[o++]=65535&_;else{if(!(16&b)){if(0==(64&b)){_=m[(65535&_)+(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&_,(b&=15)&&(p<b&&(f+=S[n++]<<p,p+=8),w+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=S[n++]<<p,p+=8,f+=S[n++]<<p,p+=8),_=g[f&v];r:for(;;){if(f>>>=b=_>>>24,p-=b,!(16&(b=_>>>16&255))){if(0==(64&b)){_=g[(65535&_)+(f&(1<<b)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(x=65535&_,p<(b&=15)&&(f+=S[n++]<<p,(p+=8)<b&&(f+=S[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=h,0===d){if(k+=u-b,b<w){w-=b;do{M[o++]=h[k++]}while(--b);k=o-x,C=M}}else if(d<b){if(k+=u+d-b,(b-=d)<w){w-=b;do{M[o++]=h[k++]}while(--b);if(k=0,d<w){w-=b=d;do{M[o++]=h[k++]}while(--b);k=o-x,C=M}}}else if(k+=d-b,b<w){w-=b;do{M[o++]=h[k++]}while(--b);k=o-x,C=M}for(;w>2;)M[o++]=C[k++],M[o++]=C[k++],M[o++]=C[k++],w-=3;w&&(M[o++]=C[k++],w>1&&(M[o++]=C[k++]))}else{k=o-x;do{M[o++]=M[k++],M[o++]=M[k++],M[o++]=M[k++],w-=3}while(w>2);w&&(M[o++]=M[k++],w>1&&(M[o++]=M[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 L=[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],R=[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],U=[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],G=[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 W(e,t,r,n,i,o,a,s){var l,u,c,d,h,f,p,m,g,y=s.bits,v=0,_=0,b=0,w=0,x=0,k=0,C=0,S=0,M=0,z=0,D=null,I=0,T=O(16),F=O(16),A=null,E=0;for(v=0;v<=15;v++)T[v]=0;for(_=0;_<n;_++)T[t[r+_]]++;for(x=y,w=15;w>=1&&0===T[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===T[b];b++);for(x<b&&(x=b),S=1,v=1;v<=15;v++)if(S<<=1,(S-=T[v])<0)return-1;if(S>0&&(0===e||1!==w))return-1;for(F[1]=0,v=1;v<15;v++)F[v+1]=F[v]+T[v];for(_=0;_<n;_++)0!==t[r+_]&&(a[F[t[r+_]]++]=_);if(0===e?(D=A=a,f=19):1===e?(D=L,I-=257,A=R,E-=257,f=256):(D=U,A=G,f=-1),z=0,_=0,v=b,h=o,k=x,C=0,c=-1,d=(M=1<<x)-1,1===e&&M>852||2===e&&M>592)return 1;for(;;){p=v-C,a[_]<f?(m=0,g=a[_]):a[_]>f?(m=A[E+a[_]],g=D[I+a[_]]):(m=96,g=0),l=1<<v-C,b=u=1<<k;do{i[h+(z>>C)+(u-=l)]=p<<24|m<<16|g|0}while(0!==u);for(l=1<<v-1;z&l;)l>>=1;if(0!==l?(z&=l-1,z+=l):z=0,_++,0==--T[v]){if(v===w)break;v=t[r+a[_]]}if(v>x&&(z&d)!==c){for(0===C&&(C=x),h+=b,S=1<<(k=v-C);k+C<w&&!((S-=T[k+C])<=0);)k++,S<<=1;if(M+=1<<k,1===e&&M>852||2===e&&M>592)return 1;i[c=z&d]=x<<24|k<<16|h-o|0}}return 0!==z&&(i[h+z]=v-C<<24|64<<16|0),s.bits=x,0}function q(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Z(){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=O(320),this.work=O(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function X(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=z(852),t.distcode=t.distdyn=z(592),t.sane=1,t.back=-1,0):-2}(e)):-2}function K(e,t){var r,n;return e?(n=new Z,e.state=n,n.window=null,0!==(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)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,X(e))):-2}(e,t))&&(e.state=null),r):-2}var J,V,Q=!0;function $(e){if(Q){var t;for(J=z(512),V=z(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(W(1,e.lens,0,288,J,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;W(2,e.lens,0,32,V,0,e.work,{bits:5}),Q=!1}e.lencode=J,e.lenbits=9,e.distcode=V,e.distbits=5}function Y(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=M(o.wsize)),n>=o.wsize?(C(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>n&&(i=n),C(o.window,t,r-n,i,o.wnext),(n-=i)?(C(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 ee(e,t){var r,n,i,o,a,s,l,u,c,d,h,f,p,m,g,y,v,_,b,w,x,k,S,O,z=0,D=M(4),I=[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-2;12===(r=e.state).mode&&(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,d=s,h=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,D[0]=255&u,D[1]=u>>>8&255,r.check=j(r.check,D,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=30;break}if(8!=(15&u)){e.msg="unknown compression method",r.mode=30;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=30;break}r.dmax=1<<x,e.adler=r.check=1,r.mode=512&u?10:12,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=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=u>>8&1),512&r.flags&&(D[0]=255&u,D[1]=u>>>8&255,r.check=j(r.check,D,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&&(D[0]=255&u,D[1]=u>>>8&255,D[2]=u>>>16&255,D[3]=u>>>24&255,r.check=j(r.check,D,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&&(D[0]=255&u,D[1]=u>>>8&255,r.check=j(r.check,D,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&&(D[0]=255&u,D[1]=u>>>8&255,r.check=j(r.check,D,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)),C(r.head.extra,n,o,f,x)),512&r.flags&&(r.check=j(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=j(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=j(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=30;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=12;break;case 10:for(;c<32;){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}e.adler=r.check=q(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=12;case 12: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($(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=30}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=30;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;C(i,n,o,f,a),s-=f,o+=f,l-=f,a+=f,r.length-=f;break}r.mode=12;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=30;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[I[r.have++]]=7&u,u>>>=3,c-=3}for(;r.have<19;)r.lens[I[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},k=W(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,k){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;y=(z=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,v=65535&z,!((g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(v<16)u>>>=g,c-=g,r.lens[r.have++]=v;else{if(16===v){for(O=g+2;c<O;){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=30;break}x=r.lens[r.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===v){for(O=g+3;c<O;){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(O=g+7;c<O;){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=30;break}for(;f--;)r.lens[r.have++]=x}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},k=W(1,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,k){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},k=W(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,k){e.msg="invalid distances set",r.mode=30;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,H(e,h),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,12===r.mode&&(r.back=-1);break}for(r.back=0;y=(z=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,v=65535&z,!((g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(y&&0==(240&y)){for(_=g,b=y,w=v;y=(z=r.lencode[w+((u&(1<<_+b)-1)>>_)])>>>16&255,v=65535&z,!(_+(g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=_,c-=_,r.back+=_}if(u>>>=g,c-=g,r.back+=g,r.length=v,0===y){r.mode=26;break}if(32&y){r.back=-1,r.mode=12;break}if(64&y){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&y,r.mode=22;case 22:if(r.extra){for(O=r.extra;c<O;){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(;y=(z=r.distcode[u&(1<<r.distbits)-1])>>>16&255,v=65535&z,!((g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}if(0==(240&y)){for(_=g,b=y,w=v;y=(z=r.distcode[w+((u&(1<<_+b)-1)>>_)])>>>16&255,v=65535&z,!(_+(g=z>>>24)<=c);){if(0===s)break e;s--,u+=n[o++]<<c,c+=8}u>>>=_,c-=_,r.back+=_}if(u>>>=g,c-=g,r.back+=g,64&y){e.msg="invalid distance code",r.mode=30;break}r.offset=v,r.extra=15&y,r.mode=24;case 24:if(r.extra){for(O=r.extra;c<O;){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=30;break}r.mode=25;case 25:if(0===l)break e;if(f=h-l,r.offset>f){if((f=r.offset-f)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;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(h-=l,e.total_out+=h,r.total+=h,h&&(e.adler=r.check=r.flags?j(r.check,i,h,a-h):N(r.check,i,h,a-h)),h=l,(r.flags?u:q(u))!==r.check){e.msg="incorrect data check",r.mode=30;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=30;break}u=0,c=0}r.mode=29;case 29:k=1;break e;case 30:k=-3;break e;case 31:return-4;case 32:default:return-2}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||h!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&Y(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,r.total+=h,r.wrap&&h&&(e.adler=r.check=r.flags?j(r.check,i,h,e.next_out-h):N(r.check,i,h,e.next_out-h)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===d&&0===h||4===t)&&0===k&&(k=-5),k}function te(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?-2:11===r.mode&&N(1,t,n,0)!==r.check?-3:Y(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2}var re={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 ne(){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 ie(){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 oe=Object.prototype.toString,ae=function e(t){if(!(this instanceof e))return new e(t);this.options=_({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 ne,this.strm.avail_out=0;var n,i,o,a=K(this.strm,r.windowBits);if(0!==a)throw new Error(re[a]);if(this.header=new ie,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]"===oe.call(r.dictionary)&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&0!==(a=te(this.strm,r.dictionary))))throw new Error(re[a])};ae.prototype.push=function(e,t){var r,n,i,o,a,s,l=this.strm,u=this.options.chunkSize,c=this.options.dictionary,d=!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]"===oe.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=M(u),l.next_out=0,l.avail_out=u),2===(r=ee(l,0))&&c&&(s="string"==typeof c?F(c):"[object ArrayBuffer]"===oe.call(c)?new Uint8Array(c):c,r=te(this.strm,s)),-5===r&&!0===d&&(r=0,d=!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=P(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&&C(l.output,l.output,i,o,0),this.onData(a)):this.onData(b(l.output,l.next_out)))),0===l.avail_in&&0===l.avail_out&&(d=!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-2;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)},ae.prototype.onData=function(e){this.chunks.push(e)},ae.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};function se(e){for(var t=e.length;--t>=0;)e[t]=0}var le,ue,ce,de,he,fe,pe,me,ge,ye=[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],ve=[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],_e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function we(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 xe(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function ke(e){return e<256?ce[e]:ce[256+(e>>>7)]}function Ce(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Se(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,Ce(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 Me(e,t,r){Se(e,r[2*t],r[2*t+1])}function Oe(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function ze(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]=Oe(o[s]++,s))}}function De(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 Ie(e){e.bi_valid>8?Ce(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 Te(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 Fe(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&Te(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Te(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function Ae(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?Me(e,i,t):(Me(e,(o=de[i])+256+1,t),0!==(a=ye[o])&&Se(e,i-=he[o],a),Me(e,o=ke(--n),r),0!==(a=ve[o])&&Se(e,n-=fe[o],a))}while(s<e.last_lit);Me(e,256,t)}function Ee(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--)Fe(e,o,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Fe(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++,Fe(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,d=t.stat_desc.has_stree,h=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=h[n-f]),s=l[2*n],e.opt_len+=s*(o+a),d&&(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),ze(o,u,e.bl_count)}function Pe(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 Ne(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{Me(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(Me(e,i,e.bl_tree),s--),Me(e,16,e.bl_tree),Se(e,s-3,2)):s<=10?(Me(e,17,e.bl_tree),Se(e,s-3,3)):(Me(e,18,e.bl_tree),Se(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 Be=!1;function je(e){Be||(!function(){var e,t,r,n,i,o=new Array(16);for(se(le=new Array(576)),se(ue=new Array(60)),se(ce=new Array(512)),se(de=new Array(256)),se(he=new Array(29)),se(fe=new Array(30)),r=0,n=0;n<28;n++)for(he[n]=r,e=0;e<1<<ye[n];e++)de[r++]=n;for(de[r-1]=n,i=0,n=0;n<16;n++)for(fe[n]=i,e=0;e<1<<ve[n];e++)ce[i++]=n;for(i>>=7;n<30;n++)for(fe[n]=i<<7,e=0;e<1<<ve[n]-7;e++)ce[256+i++]=n;for(t=0;t<=15;t++)o[t]=0;for(e=0;e<=143;)le[2*e+1]=8,e++,o[8]++;for(;e<=255;)le[2*e+1]=9,e++,o[9]++;for(;e<=279;)le[2*e+1]=7,e++,o[7]++;for(;e<=287;)le[2*e+1]=8,e++,o[8]++;for(ze(le,287,o),e=0;e<30;e++)ue[2*e+1]=5,ue[2*e]=Oe(e,5);pe=new we(le,ye,257,286,15),me=new we(ue,ve,0,30,15),ge=new we(new Array(0),_e,0,19,7)}(),Be=!0),e.l_desc=new xe(e.dyn_ltree,pe),e.d_desc=new xe(e.dyn_dtree,me),e.bl_desc=new xe(e.bl_tree,ge),e.bi_buf=0,e.bi_valid=0,De(e)}function He(e,t,r,n){Se(e,0+(n?1:0),3),function(e,t,r,n){Ie(e),n&&(Ce(e,r),Ce(e,~r)),C(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}function Le(e){Se(e,2,3),Me(e,256,le),function(e){16===e.bi_valid?(Ce(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)}function Re(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)),Ee(e,e.l_desc),Ee(e,e.d_desc),a=function(e){var t;for(Pe(e,e.dyn_ltree,e.l_desc.max_code),Pe(e,e.dyn_dtree,e.d_desc.max_code),Ee(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*be[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?He(e,t,r,n):4===e.strategy||o===i?(Se(e,2+(n?1:0),3),Ae(e,le,ue)):(Se(e,4+(n?1:0),3),function(e,t,r,n){var i;for(Se(e,t-257,5),Se(e,r-1,5),Se(e,n-4,4),i=0;i<n;i++)Se(e,e.bl_tree[2*be[i]+1],3);Ne(e,e.dyn_ltree,t-1),Ne(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Ae(e,e.dyn_ltree,e.dyn_dtree)),De(e),n&&Ie(e)}function Ue(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*(de[r]+256+1)]++,e.dyn_dtree[2*ke(t)]++),e.last_lit===e.lit_bufsize-1}function Ge(e,t){return e.msg=re[t],t}function We(e){return(e<<1)-(e>4?9:0)}function qe(e){for(var t=e.length;--t>=0;)e[t]=0}function Ze(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(C(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 Xe(e,t){Re(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ze(e.strm)}function Ke(e,t){e.pending_buf[e.pending++]=t}function Je(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Ve(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-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+258,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<h);if(n=258-(h-o),o=h-258,n>a){if(e.match_start=t,a=n,n>=s)break;f=u[o+a-1],p=u[o+a]}}}while((t=d[t&c])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function Qe(e){var t,r,n,i,o,a,s,l,u,c,d=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-262)){C(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=d?n-d:0}while(--r);t=r=d;do{n=e.prev[--t],e.prev[t]=n>=d?n-d:0}while(--r);i+=d}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,C(s,a.input,a.next_in,c,l),1===a.state.wrap?a.adler=N(a.adler,s,c,l):2===a.state.wrap&&(a.adler=j(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<262&&0!==e.strm.avail_in)}function $e(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Qe(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,Xe(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(Xe(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Xe(e,!1),e.strm.avail_out),1)}function Ye(e,t){for(var r,n;;){if(e.lookahead<262){if(Qe(e),e.lookahead<262&&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-262&&(e.match_length=Ve(e,r)),e.match_length>=3)if(n=Ue(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=Ue(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(Xe(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Xe(e,!1),0===e.strm.avail_out)?1:2}function et(e,t){for(var r,n,i;;){if(e.lookahead<262){if(Qe(e),e.lookahead<262&&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-262&&(e.match_length=Ve(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=Ue(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&&(Xe(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=Ue(e,0,e.window[e.strstart-1]))&&Xe(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=Ue(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Xe(e,!1),0===e.strm.avail_out)?1:2}function tt(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 rt=function(){var e=[new tt(0,0,0,0,$e),new tt(4,4,8,4,Ye),new tt(4,5,16,8,Ye),new tt(4,6,32,32,Ye),new tt(4,4,16,16,et),new tt(8,16,32,32,et),new tt(8,16,128,128,et),new tt(8,32,128,256,et),new tt(32,128,258,1024,et),new tt(32,258,258,4096,et)];return rt=function(){return e},e};function nt(){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=O(1146),this.dyn_dtree=O(122),this.bl_tree=O(78),qe(this.dyn_ltree),qe(this.dyn_dtree),qe(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=O(16),this.heap=O(573),qe(this.heap),this.heap_len=0,this.heap_max=0,this.depth=O(573),qe(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 it(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:113,e.adler=2===t.wrap?0:1,t.last_flush=0,je(t),0):Ge(e,-2)}(e);return 0===t&&function(e){e.window_size=2*e.w_size,qe(e.head);var t=rt();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 ot(e,t){var r,n,i,o;if(!e||!e.state||t>5||t<0)return e?Ge(e,-2):-2;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&4!==t)return Ge(e,0===e.avail_out?-5:-2);if(n.strm=e,r=n.last_flush,n.last_flush=t,42===n.status)if(2===n.wrap)e.adler=0,Ke(n,31),Ke(n,139),Ke(n,8),n.gzhead?(Ke(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)),Ke(n,255&n.gzhead.time),Ke(n,n.gzhead.time>>8&255),Ke(n,n.gzhead.time>>16&255),Ke(n,n.gzhead.time>>24&255),Ke(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Ke(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Ke(n,255&n.gzhead.extra.length),Ke(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=j(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(Ke(n,0),Ke(n,0),Ke(n,0),Ke(n,0),Ke(n,0),Ke(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Ke(n,3),n.status=113);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=113,Je(n,a),0!==n.strstart&&(Je(n,e.adler>>>16),Je(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=j(e.adler,n.pending_buf,n.pending-i,i)),Ze(e),i=n.pending,n.pending!==n.pending_buf_size));)Ke(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=j(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=j(e.adler,n.pending_buf,n.pending-i,i)),Ze(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,Ke(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=j(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=j(e.adler,n.pending_buf,n.pending-i,i)),Ze(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,Ke(n,o)}while(0!==o);n.gzhead.hcrc&&n.pending>i&&(e.adler=j(e.adler,n.pending_buf,n.pending-i,i)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ze(e),n.pending+2<=n.pending_buf_size&&(Ke(n,255&e.adler),Ke(n,e.adler>>8&255),e.adler=0,n.status=113)):n.status=113),0!==n.pending){if(Ze(e),0===e.avail_out)return n.last_flush=-1,0}else if(0===e.avail_in&&We(t)<=We(r)&&4!==t)return Ge(e,-5);if(666===n.status&&0!==e.avail_in)return Ge(e,-5);if(0!==e.avail_in||0!==n.lookahead||0!==t&&666!==n.status){var s=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(Qe(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=Ue(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Xe(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Xe(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<=258){if(Qe(e),e.lookahead<=258&&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+258;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=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=Ue(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=Ue(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Xe(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Xe(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Xe(e,!1),0===e.strm.avail_out)?1:2}(n,t):rt()[n.level].func(n,t);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===e.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===t?Le(n):5!==t&&(He(n,0,0,!1),3===t&&(qe(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),Ze(e),0===e.avail_out))return n.last_flush=-1,0}return 4!==t?0:n.wrap<=0?1:(2===n.wrap?(Ke(n,255&e.adler),Ke(n,e.adler>>8&255),Ke(n,e.adler>>16&255),Ke(n,e.adler>>24&255),Ke(n,255&e.total_in),Ke(n,e.total_in>>8&255),Ke(n,e.total_in>>16&255),Ke(n,e.total_in>>24&255)):(Je(n,e.adler>>>16),Je(n,65535&e.adler)),Ze(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)}var at=Object.prototype.toString,st=function(e){this.options=_({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 ne,this.strm.avail_out=0;var r,n,i=function(e,t,r,n,i,o){if(!e)return-2;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 Ge(e,-2);8===n&&(n=9);var s=new nt;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=M(2*s.w_size),s.head=O(s.hash_size),s.prev=O(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=M(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,it(e)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==i)throw new Error(re[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]"===at.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(i=function(e,t){var r,n,i,o,a,s,l,u,c=t.length;if(!e||!e.state)return-2;if(2===(o=(r=e.state).wrap)||1===o&&42!==r.status||r.lookahead)return-2;for(1===o&&(e.adler=N(e.adler,t,c,0)),r.wrap=0,c>=r.w_size&&(0===o&&(qe(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=M(r.w_size),C(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,Qe(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,Qe(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)))throw new Error(re[i]);this._dict_set=!0}};st.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]"===at.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=M(a),o.next_out=0,o.avail_out=a),1!==(r=ot(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(A(i=b(o.output,o.next_out),i.length)):this.onData(b(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&&103!==t&&113!==t&&666!==t?Ge(e,-2):(e.state=null,113===t?Ge(e,-3):0):-2}(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),o.avail_out=0,!0)},st.prototype.onData=function(e){this.chunks.push(e)},st.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 lt={Promise:Promise},ut={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 ct()}},ct=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 ct=function(){return e},e},dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function ht(e){return e}function ft(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}function pt(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 mt=function(){var e;try{e=ut.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){e=!1}return mt=function(){return e},e};function gt(e){var t=65536,r=wt(e),n=!0;if("uint8array"===r&&(n=mt()),n)for(;t>1;)try{return pt(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 yt=gt;function vt(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}var _t={string:{string:ht,array:function(e){return ft(e,new Array(e.length))},arraybuffer:function(e){return _t.string.uint8array(e).buffer},uint8array:function(e){return ft(e,new Uint8Array(e.length))}},array:{string:gt,array:ht,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)}},arraybuffer:{string:function(e){return gt(new Uint8Array(e))},array:function(e){return vt(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:ht,uint8array:function(e){return new Uint8Array(e)}},uint8array:{string:gt,array:function(e){return vt(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:ht}},bt=function(e,t){if(t||(t=""),!e)return t;xt(e);var r=wt(t);return _t[r][e](t)},wt=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":ut.uint8array&&e instanceof Uint8Array?"uint8array":ut.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},xt=function(e){if(!ut[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},kt=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},Ct=function(e,t,r){setTimeout((function(){e.apply(r||null,t||[])}),0)},St=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},Mt=function(e,t,r,n,i){return lt.Promise.resolve(t).then((function(e){return ut.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new lt.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=wt(t);return a?("arraybuffer"===a?t=bt("uint8array",t):"string"===a&&(i?t=function(e){var t,r,n,i,o,a,s=0,l=0;if("data:"===e.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var u,c=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===dt.charAt(64)&&c--,e.charAt(e.length-2)===dt.charAt(64)&&c--,c%1!=0)throw new Error("Invalid base64 input, bad content length.");for(u=ut.uint8array?new Uint8Array(0|c):new Array(0|c);s<e.length;)t=dt.indexOf(e.charAt(s++))<<2|(i=dt.indexOf(e.charAt(s++)))>>4,r=(15&i)<<4|(o=dt.indexOf(e.charAt(s++)))>>2,n=(3&o)<<6|(a=dt.indexOf(e.charAt(s++))),u[l++]=t,64!==o&&(u[l++]=r),64!==a&&(u[l++]=n);return u}(t):r&&!0!==n&&(t=ft(o=t,ut.uint8array?new Uint8Array(o.length):new Array(o.length)))),t):lt.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))},Ot=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};Ot.prototype.push=function(e){this.emit("data",e)},Ot.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},Ot.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)},Ot.prototype.on=function(e,t){return this._listeners[e].push(t),this},Ot.prototype.cleanUp=function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},Ot.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)},Ot.prototype.pipe=function(e){return e.registerPrevious(this)},Ot.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},Ot.prototype.pause=function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},Ot.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},Ot.prototype.flush=function(){},Ot.prototype.processChunk=function(e){this.push(e)},Ot.prototype.withStreamInfo=function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},Ot.prototype.mergeStreamInfo=function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},Ot.prototype.lock=function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},Ot.prototype.toString=function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e};var zt=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,zt=function(e){return t[e]},t[e]},Dt=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=ut.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)},It=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=zt(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),yt(a)}(e=bt(ut.uint8array?"uint8array":"array",e))},Tt=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=bt(ut.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(ut.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+zt(e[r])>t?r:t}(t),i=t;n!==t.length&&(ut.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:It(i),meta:e.meta})},t.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:It(this.leftOver),meta:{}}),this.leftOver=null)},t}(Ot),Ft=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:Dt(e.data),meta:e.meta})},t}(Ot),At=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:bt(this.destType,e.data),meta:e.meta})},t}(Ot);function Et(e,t,r){switch(e){case"blob":return function(e,t){return xt("blob"),new Blob([e],{type:t})}(bt("arraybuffer",t),r);case"base64":return function(e){for(var t,r,n,i,o,a,s,l=[],u=0,c=e.length,d=c,h="string"!=typeof e;u<e.length;)d=c-u,h?(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=d>1?(15&r)<<2|n>>6:64,s=d>2?63&n:64,l.push(dt.charAt(i)+dt.charAt(o)+dt.charAt(a)+dt.charAt(s));return l.join("")}(t);default:return bt(e,t)}}function Pt(e,t){return new lt.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=Et(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 Nt=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,xt(n),this._worker=e.pipe(new At(n)),e.lock()}catch(e){this._worker=new Ot("error"),this._worker.error(e)}};Nt.prototype.accumulate=function(e){return Pt(this,e)},Nt.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(){Ct(t,arguments,r)})),this},Nt.prototype.resume=function(){return Ct(this._worker.resume,[],this._worker),this},Nt.prototype.pause=function(){return this._worker.pause(),this};var Bt=Object.freeze({__proto__:null,base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null}),jt=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=wt(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,Ct(this._tickAndRepeat,[],this)),!0)},t.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Ct(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}(Ot),Ht=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}(Ot),Lt=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 Lt=function(){return e},e};function Rt(e,t){return void 0!==e&&e.length?"string"!==wt(e)?function(e,t,r,n){var i=Lt(),o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var i=Lt(),o=n+r;e^=-1;for(var a=n;a<o;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}var Ut=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=Rt(e.data,this.streamInfo.crc32||0),this.push(e)},t}(Ot),Gt=function(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i};Gt.prototype.getContentWorker=function(){var e=new jt(lt.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Ht("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},Gt.prototype.getCompressedWorker=function(){return new jt(lt.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)},Gt.createWorkerFrom=function(e,t,r){return e.pipe(new Ut).pipe(new Ht("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new Ht("compressedSize")).withStreamInfo("compression",t)};var Wt=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}};Wt.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 Ft)),!i&&n&&(t=t.pipe(new Tt))}catch(e){(t=new Ot("error")).error(e)}return new Nt(t,r,"")},Wt.prototype.async=function(e,t){return this.internalStream(e).accumulate(t)},Wt.prototype._compressWorker=function(e,t){if(this._data instanceof Gt&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new Ft)),Gt.createWorkerFrom(r,e,t)},Wt.prototype._decompressWorker=function(){return this._data instanceof Gt?this._data.getContentWorker():this._data instanceof Ot?this._data:new jt(this._data)};var qt=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array?"uint8array":"array";qt=function(){return e}},Zt=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(bt(qt(),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 st(t):new ae(t),this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},t}(Ot),Xt={STORE:{magic:"\0\0",compressWorker:function(){return new Ot("STORE compression")},uncompressWorker:function(){return new Ot("STORE decompression")}},DEFLATE:{magic:"\b\0",compressWorker:function(e){return new Zt("Deflate",e)},uncompressWorker:function(){return new Zt("Inflate",{})}}},Kt=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},Jt=function(e,t,r,n,i,o){var a,s,l=e.file,u=e.compression,c=o!==Dt,d=bt("string",o(l.name)),h=bt("string",Dt(l.name)),f=l.comment,p=bt("string",o(f)),m=bt("string",Dt(f)),g=h.length!==l.name.length,y=m.length!==f.length,v="",_="",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&&!y||(C|=2048);var S=0,M=0;w&&(S|=16),"UNIX"===i?(M=798,S|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(l.unixPermissions,w)):(M=20,S|=function(e,t){return 63&(e||0)}(l.dosPermissions)),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&&(_=Kt(1,1)+Kt(Rt(d),4)+h,v+="up"+Kt(_.length,2)+_),y&&(b=Kt(1,1)+Kt(Rt(p),4)+m,v+="uc"+Kt(b.length,2)+b);var O="";return O+="\n\0",O+=Kt(C,2),O+=u.magic,O+=Kt(a,2),O+=Kt(s,2),O+=Kt(k.crc32,4),O+=Kt(k.compressedSize,4),O+=Kt(k.uncompressedSize,4),O+=Kt(d.length,2),{fileRecord:"PK"+(O+=Kt(v.length,2))+d+v,dirRecord:"PK"+Kt(M,2)+O+Kt(p.length,2)+"\0\0\0\0"+Kt(S,4)+Kt(n,4)+d+v+p}},Vt=function(e){return"PK\b"+Kt(e.crc32,4)+Kt(e.compressedSize,4)+Kt(e.uncompressedSize,4)},Qt=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=Jt(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=Jt(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:Vt(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=bt("string",i(n));return"PK\0\0\0\0"+Kt(e,2)+Kt(e,2)+Kt(t,4)+Kt(r,4)+Kt(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}(Ot),$t=function(e,t,r){var n=new Qt(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=Xt[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},Yt=function(e){this.data=e,this.length=e.length,this.index=0,this.zero=0};Yt.prototype.checkOffset=function(e){this.checkIndex(this.index+e)},Yt.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 ?")},Yt.prototype.setIndex=function(e){this.checkIndex(e),this.index=e},Yt.prototype.skip=function(e){this.setIndex(this.index+e)},Yt.prototype.byteAt=function(e){},Yt.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},Yt.prototype.readString=function(e){return bt("string",this.readData(e))},Yt.prototype.readData=function(e){},Yt.prototype.lastIndexOfSignature=function(e){},Yt.prototype.readAndCheckSignature=function(e){},Yt.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 er=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}(Yt),tr=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}(Yt),rr=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}(er);function nr(e){var t=wt(e);return xt(t),"string"!==t||ut.uint8array?ut.uint8array?new rr(bt("uint8array",e)):new er(bt("array",e)):new tr(e)}var ir=function(e,t){this.options=e,this.loadOptions=t};ir.prototype.isEncrypted=function(){return 1==(1&this.bitFlag)},ir.prototype.useUTF8=function(){return 2048==(2048&this.bitFlag)},ir.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 Xt)if(Xt.hasOwnProperty(t)&&Xt[t].magic===e)return Xt[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+kt(this.compressionMethod)+" unknown (inner file : "+bt("string",this.fileName)+")");this.decompressed=new Gt(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},ir.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)},ir.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)},ir.prototype.parseZIP64ExtraField=function(e){if(this.extraFields[1]){var t=nr(this.extraFields[1].value);-1===this.uncompressedSize&&(this.uncompressedSize=t.readInt(8)),-1===this.compressedSize&&(this.compressedSize=t.readInt(8)),-1===this.localHeaderOffset&&(this.localHeaderOffset=t.readInt(8)),-1===this.diskNumberStart&&(this.diskNumberStart=t.readInt(4))}},ir.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}},ir.prototype.handleUTF8=function(){var e=ut.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=It(this.fileName),this.fileCommentStr=It(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=bt(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=bt(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},ir.prototype.findExtraFieldUnicodePath=function(){var e=this.extraFields[28789];if(e){var t=nr(e.value);return 1!==t.readInt(1)||Rt(this.fileName)!==t.readInt(4)?null:It(t.readData(e.length-5))}return null},ir.prototype.findExtraFieldUnicodeComment=function(){var e=this.extraFields[25461];if(e){var t=nr(e.value);return 1!==t.readInt(1)||Rt(this.fileComment)!==t.readInt(4)?null:It(t.readData(e.length-5))}return null};var or=function(e){this.files=[],this.loadOptions=e};function ar(e){return new lt.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new Ut);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 sr(e,t){var r=this;return t=St(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:It}),Mt("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new or(t);return r.load(e),r})).then((function(e){var r=[lt.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var i=0;i<n.length;i++)r.push(ar(n[i]));return lt.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}))}or.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 ("+kt(t)+", expected "+kt(e)+")")}},or.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},or.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=ut.uint8array?"uint8array":"array",r=bt(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},or.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}},or.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")},or.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("PK"),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},or.prototype.readCentralDir=function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature("PK");)(e=new ir({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)},or.prototype.readEndOfCentral=function(){var e=this.reader.lastIndexOfSignature("PK");if(e<0)throw!this.isSignature(0,"PK")?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"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(e);var t=e;if(this.checkSignature("PK"),this.readBlockEndOfCentral(),65535===this.diskNumber||65535===this.diskWithCentralDirStart||65535===this.centralDirRecordsOnThisDisk||65535===this.centralDirRecords||-1===this.centralDirSize||-1===this.centralDirOffset){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature("PK"))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature("PK"),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,"PK")&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature("PK"),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature("PK"),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,"PK")||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},or.prototype.prepareReader=function(e){this.reader=nr(e)},or.prototype.load=function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()};var lr=function(e,t,r){var n,i=wt(t),o=St(r||{},Bt);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=cr(e)),o.createFolders&&(n=ur(e))&&dr.call(this,n,!0);var a="string"===i&&!1===o.binary&&!1===o.base64;r&&void 0!==r.binary||(o.binary=!a),(t instanceof Gt&&0===t.uncompressedSize||o.dir||!t||0===t.length)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",i="string");var s=null;s=t instanceof Gt||t instanceof Ot?t:Mt(e,t,o.binary,o.optimizedBinaryString,o.base64);var l=new Wt(e,s,o);this.files[e]=l},ur=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},cr=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},dr=function(e,t){return t=void 0===t||t,e=cr(e),this.files[e]||lr.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function hr(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var fr=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}},pr={support:{configurable:!0},defaults:{configurable:!0},version:{configurable:!0},external:{configurable:!0}};function mr(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}fr.prototype.load=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},fr.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)},fr.prototype.filter=function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},fr.prototype.file=function(e,t,r){if(1===arguments.length){if(hr(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,lr.call(this,e,t,r),this},fr.prototype.folder=function(e){if(!e)return this;if(hr(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=dr.call(this,t),n=this.clone();return n.root=r.name,n},fr.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},fr.prototype.generate=function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},fr.prototype.generateInternalStream=function(e){var t,r={};try{if((r=St(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Dt})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");xt(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=$t(this,r,n)}catch(e){(t=new Ot("error")).error(e)}return new Nt(t,r.type||"string",r.mimeType)},fr.prototype.generateAsync=function(e,t){return this.generateInternalStream(e).accumulate(t)},fr.prototype.loadAsync=function(e,t){return sr.apply(this,[e,t])},fr.loadAsync=function(e,t){return(new fr).loadAsync(e,t)},pr.support.get=function(){return ut},pr.defaults.get=function(){return Bt},pr.version.get=function(){return"3.2.2-esm"},pr.external.get=function(){return lt},Object.defineProperties(fr,pr);var gr=mr(1900,0,-1);function yr(e){var t,r,n,i,o=(t=e.getHours(),r=e.getMinutes(),n=e.getSeconds(),i=e.getMilliseconds(),(t+(r+(n+i/1e3)/60)/60)/24),a=function(e,t,r){return mr(e,t,r)-gr}(e.getFullYear(),e.getMonth(),e.getDate());return a<0?a-1+o:a+o}var vr="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",_r={compression:"DEFLATE",type:"base64"},br={compression:"DEFLATE",type:"blob"},wr={compression:"DEFLATE",type:"arraybuffer"};function xr(e){return"data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,"+e}function kr(e,t){return t.indexOf(e)}var Cr=JSON.parse.bind(JSON);function Sr(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;").replace(/\'/g,"&#39;")}function Mr(e,t){for(var r="",n=0;n<e;++n)r+=t(n);return r}function Or(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 zr='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r',Dr=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,d=e.hyperlinks,h=e.validations,f=e.defaultCellStyleId,p=e.rtl,m=e.legacyDrawing,g=e.drawing,y=e.lastRow,v=e.lastCol;return zr+'\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 '+(y&&v?'<dimension ref="A1:'+Fr(y-1,v-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="'+Pr(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="'+Pr(i.columnWidth)+'"':"")+" /> ")+"\n "+Or(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="'+Pr(e.width)+'"')+" />"}))+"\n </cols>":"")+"\n\n <sheetData>\n "+Or(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 "+Or(e.data,(function(e){return'\n <c r="'+e.ref+'" '+(e.style?'s="'+e.style+'"':"")+" "+(e.type?'t="'+e.type+'"':"")+">\n "+(null!=e.formula?function(e){if("string"==typeof e)return"<f>"+Sr(e)+"</f>";return'<f t="array" ref="'+e.ref+'">'+Sr(e.src)+"</f>"}(e.formula):"")+"\n "+(null!=e.value?"<v>"+Sr(e.value)+"</v>":"")+"\n </c>"}))+"\n </row>\n "}))+"\n </sheetData>\n\n "+(l?'<autoFilter ref="'+l.from+":"+l.to+'"/>':u?on(u):"")+"\n\n "+(s.length?'\n <mergeCells count="'+s.length+'">\n '+Or(s,(function(e){return'<mergeCell ref="'+e+'"/>'}))+"\n </mergeCells>":"")+"\n\n "+(h.length?"\n <dataValidations>\n "+Or(h,(function(e){return'\n <dataValidation sqref="'+e.sqref.join(" ")+'"\n showErrorMessage="'+e.showErrorMessage+'"\n type="'+Sr(e.type)+'"\n '+("list"!==e.type?'operator="'+Sr(e.operator)+'"':"")+'\n allowBlank="'+e.allowBlank+'"\n showDropDown="'+e.showDropDown+'"\n '+(e.error?'error="'+Sr(e.error)+'"':"")+"\n "+(e.errorTitle?'errorTitle="'+Sr(e.errorTitle)+'"':"")+">\n "+(e.formula1?"<formula1>"+Sr(e.formula1)+"</formula1>":"")+"\n "+(e.formula2?"<formula2>"+Sr(e.formula2)+"</formula2>":"")+"\n </dataValidation>"}))+"\n </dataValidations>":"")+"\n\n "+(d.length?"\n <hyperlinks>\n "+Or(d,(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>"},Ir=function(e){return zr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Or(e,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+e.target+'"/>'}))+"\n</Relationships>"};function Tr(e){var t=Math.floor(e/26)-1;return(t>=0?Tr(t):"")+String.fromCharCode(65+e%26)}function Fr(e,t){return Tr(t)+(e+1)}function Ar(e,t){return"$"+Tr(t)+"$"+(e+1)}function Er(e){return(e.frozenRows||(e.freezePane||{}).rowSplit||1)-1}function Pr(e){return e/7-Math.floor(128/7)/256}var Nr=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 Br(e){var t=e.length;return e.forEach((function(e){e.index&&e.index>=t&&(t=e.index+1)})),t}Nr.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.hyperlinks,r=e.comments,n=e.sheetIndex,i=e.drawings;return zr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Or(t,(function(e){return'\n <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="'+Sr(e.target)+'" TargetMode="External" />'}))+"\n "+(r.length?'\n <Relationship Id="comment'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="../comments'+n+'.xml"/>\n <Relationship Id="vml'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" Target="../drawings/vmlDrawing'+n+'.vml"/>':"")+"\n "+(i.length?'\n <Relationship Id="drw'+n+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" Target="../drawings/drawing'+n+'.xml"/>':"")+"\n</Relationships>"}({hyperlinks:e,comments:t,sheetIndex:this.options.sheetIndex,drawings:r})},Nr.prototype.toXML=function(e){var t=this.options.mergedCells||[],r=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=Zr(r).slice(0),o={rowData:r,rowsByIndex:n,mergedCells:t},a=0;a<i.length;a++)Vr(i[a],o),delete i[a]._source;return Zr(r)}(this.options.rows||[],t);this._readCells(r);var n,i=this.options.filter;i&&"number"==typeof i.from&&"number"==typeof i.to?i={from:Fr(Er(this.options),i.from),to:Fr(Er(this.options),i.to)}:i&&i.ref&&i.columns&&(n=i,i=null);var o=[];for(var a in this._validations)Object.prototype.hasOwnProperty.call(this._validations,a)&&o.push(this._validations[a]);var s=null;this.options.defaultCellStyle&&(s=this._lookupStyle(this.options.defaultCellStyle));var l=this.options.freezePane||{},u=this.options.defaults||{},c=this.options.rows?this._getLastRow():1,d=this.options.rows?this._getLastCol():1;return Dr({frozenColumns:this.options.frozenColumns||l.colSplit,frozenRows:this.options.frozenRows||l.rowSplit,columns:this.options.columns,defaults:u,data:r,index:e,mergeCells:t,autoFilter:i,filter:n,showGridLines:this.options.showGridLines,hyperlinks:this._hyperlinks,validations:o,defaultCellStyleId:s,rtl:void 0!==this.options.rtl?this.options.rtl:u.rtl,legacyDrawing:this._comments.length?"vml"+this.options.sheetIndex:null,drawing:this._drawings.length?"drw"+this.options.sheetIndex:null,lastRow:c,lastCol:d})},Nr.prototype.commentsXML=function(){if(this._comments.length)return function(e){var t=e.comments;return zr+'\n<comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">\n <authors>\n <author></author>\n </authors>\n <commentList>\n '+Or(t,(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>'+Sr(e.text)+"</t>\n </r>\n </text>\n </comment>"}))+"\n </commentList>\n</comments>"}({comments:this._comments})},Nr.prototype.drawingsXML=function(e){if(this._drawings.length){var t={},r=this._drawings.map((function(r){var n=Kr(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:Jr(r.offsetX),row:n.row,rowOffset:Jr(r.offsetY),width:Jr(r.width),height:Jr(r.height),imageId:i.rId}}));return{main:(n=r,zr+'\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 '+Or(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:Ir(t)}}var n},Nr.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 '+Or(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})},Nr.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},Nr.prototype._lookupStyle=function(e){var t=JSON.stringify(e);if("{}"===t)return 0;var r=kr(t,this._styles);return r<0&&(r=this._styles.push(t)-1),r+1},Nr.prototype._lookupBorder=function(e){var t=JSON.stringify(e);if("{}"!==t){var r=kr(t,this._borders);return r<0&&(r=this._borders.push(t)-1),r+1}},Nr.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)}}},Nr.prototype._cell=function(e,t,r){if(!e||e===qr)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),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=(this.options.columns||[])[r],u=typeof n;if(l&&l.autoWidth&&(!e.colSpan||1===e.colSpan)){var c=n;"number"===u&&(c=y.toString(n,e.format)),l.width=Math.max(l.width||0,String(c).length)}"string"===u?(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),u="s"):"number"===u?u="n":"boolean"===u?(u="b",n=Number(n)):n&&n.getTime?(u=null,n=yr(n),s.format||(s.format="mm-dd-yy")):(u=null,n=null),s=this._lookupStyle(s);var d=Fr(t,r);if(e.validation&&this._addValidation(e.validation,d),e.comment){var h=[r+1,15,t,10,r+3,15,t+3,4];this._comments.push({ref:d,text:e.comment,row:t,col:r,anchor:h.join(", ")})}return{value:n,formula:e.formula,type:u,style:s,ref:d}},Nr.prototype._addValidation=function(e,t){var r={showErrorMessage:"reject"===e.type?1:0,formula1:e.from,formula2:e.to,type:Hr[e.dataType]||e.dataType,operator:jr[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)},Nr.prototype._getLastRow=function(){return Br(this.options.rows)},Nr.prototype._getLastCol=function(){var e=0;return this.options.rows.forEach((function(t){t.cells&&(e=Math.max(e,Br(t.cells)))})),e};var jr={greaterThanOrEqualTo:"greaterThanOrEqual",lessThanOrEqualTo:"lessThanOrEqual"},Hr={number:"decimal"},Lr={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 Rr(e){var t=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 Ur=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 Nr(e,t._strings,t._styles,t._borders)}))};function Gr(e,t){var r,n,i="";return t&&(i+="<"+e+' style="'+(r=t.size,n="thin",2===r?n="medium":3===r&&(n="thick"),n+'">'),t.color&&(i+='<color rgb="'+Rr(t.color)+'"/>'),i+="</"+e+">"),i}function Wr(e){return"<border>"+Gr("left",e.left)+Gr("right",e.right)+Gr("top",e.top)+Gr("bottom",e.bottom)+"</border>"}Ur.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"}},Ur.prototype.toZIP=function(){var e=this,t=new fr,r=t.folder("docProps");r.file("core.xml",function(e){var t=e.creator,r=e.lastModifiedBy,n=e.created,i=e.modified;return zr+'\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>'+Sr(t)+"</dc:creator>\n <cp:lastModifiedBy>"+Sr(r)+'</cp:lastModifiedBy>\n <dcterms:created xsi:type="dcterms:W3CDTF">'+Sr(n)+'</dcterms:created>\n <dcterms:modified xsi:type="dcterms:W3CDTF">'+Sr(i)+"</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 zr+'\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">'+Or(t,(function(e,t){return e.options.title?"<vt:lpstr>"+Sr(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 zr+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n '+Mr(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.sheets,r=e.filterNames,n=e.userNames;return zr+'\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 '+Or(t,(function(e,t){var r=e.options;return'<sheet name="'+Sr(r.name||r.title||"Sheet"+(t+1))+'" sheetId="'+(t+1)+'" r:id="rId'+(t+1)+'" />'}))+"\n </sheets>\n "+(r.length||n.length?"\n <definedNames>\n "+Or(r,(function(e){return'\n <definedName name="_xlnm._FilterDatabase" hidden="1" localSheetId="'+e.localSheetId+'">'+Sr(function(e){if(/^\'/.test(e))return e;if(/^[a-z_][a-z0-9_]*$/i.test(e))return e;return"'"+e.replace(/\x27/g,"\\'")+"'"}(e.name))+"!"+Sr(e.from)+":"+Sr(e.to)+"</definedName>"}))+"\n "+Or(n,(function(e){return'\n <definedName name="'+e.name+'" hidden="'+(e.hidden?1:0)+'" '+(null!=e.localSheetId?'localSheetId="'+e.localSheetId+'"':"")+">"+Sr(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=Kr(o[0]),l=Kr(o[1]);return{localSheetId:t,name:n,from:Ar(s.row,s.col),to:Ar(l.row,l.col)}}if(void 0!==i.from&&void 0!==i.to)return{localSheetId:t,name:n,from:Ar(Er(r),i.from),to:Ar(Er(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"),d=s.folder("_rels"),h=[],f=[],p=0;p<n;p++){var m=e._sheets[p],g="sheet"+(p+1)+".xml",y=m.toXML(p),v=m.relsToXML(),_=m.commentsXML(),b=m.legacyDrawing(),w=m.drawingsXML(e._images);if(v&&d.file(g+".rels",v),_){var x="comments"+m.options.sheetIndex+".xml";i.file(x,_),h.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,y)}var C=u(this._borders,Cr),S=u(this._styles,Cr),M=function(e){return e.underline||e.bold||e.italic||e.color||e.fontFamily||e.fontSize},O=u(S,(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=Rr(e.color)),M(e))return e})),z=u(S,(function(e){if(e.format&&void 0===Lr[e.format])return e})),D=u(S,(function(e){if(e.background)return e.background=Rr(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 zr+'\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 '+Or(t,(function(e,t){return'\n <numFmt formatCode="'+Sr(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 '+Or(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="'+Sr(e.color)+'" />':'<color theme="1" />')+"\n "+(e.fontFamily?'\n <name val="'+Sr(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 '+Or(n,(function(e){return"\n "+(e.background?'\n <fill>\n <patternFill patternType="solid">\n <fgColor rgb="'+Sr(e.background)+'"/>\n </patternFill>\n </fill>\n ':"")}))+'\n </fills>\n <borders count="'+(i.length+1)+'">\n <border><left/><right/><top/><bottom/><diagonal/></border>\n '+Or(i,Wr)+'\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 '+Or(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="'+Sr(e.textAlign)+'"':"")+"\n "+(e.verticalAlign?'vertical="'+Sr(e.verticalAlign)+'"':"")+"\n "+(e.indent?'indent="'+Sr(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:O,fills:D,formats:z,borders:C,styles:u(S,(function(e){var t={};return M(e)&&(t.fontId=kr(e,O)+1),e.background&&(t.fillId=kr(e,D)+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!==Lr[e.format]?t.numFmtId=Lr[e.format]:t.numFmtId=165+kr(e,z)),t}))})),i.file("sharedStrings.xml",function(e){var t=e.count,r=e.uniqueCount,n=e.indexes;return zr+'\n<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'+t+'" uniqueCount="'+r+'">\n '+Or(Object.keys(n),(function(e){return'\n <si><t xml:space="preserve">'+Sr(e.substring(1))+"</t></si>"}))+"\n</sst>"}(this._strings)),t.file("[Content_Types].xml",function(e){var t=e.sheetCount,r=e.commentFiles,n=e.drawingFiles;return zr+'\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 '+Mr(t,(function(e){return'<Override PartName="/xl/worksheets/sheet'+(e+1)+'.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" />'}))+"\n "+Or(r,(function(e){return'<Override PartName="/xl/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/>'}))+"\n "+Or(n,(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:h,drawingFiles:f})),t},Ur.prototype.toDataURL=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(_r).then(xr):xr(e.generate(_r))},Ur.prototype.toBlob=function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(br):new Blob([e.generate(wr)],{type:vr})};var qr={};function Zr(e){return e.sort((function(e,t){return e.index-t.index}))}function Xr(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=Kr(i),{rowSpan:(o=Kr(o)).row-i.row+1,colSpan:o.col-i.col+1}}}}function Kr(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 Jr(e){return Math.round(9525*e)}function Vr(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]||qr,c=u.rowSpan||1,d=u.colSpan||1,h=Qr(s,u),f=Fr(o,h);if(1===c&&1===d){var p=Xr(t.mergedCells,f);p&&(d=p.colSpan,c=p.rowSpan)}if(Yr(u,s,h,d),(c>1||d>1)&&(r=t.mergedCells,n=f+":"+Fr(o+c-1,h+d-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)),Yr(u,g.cells,h-1,d+1)}}}function Qr(e,t){var r;return"number"==typeof t.index?(r=t.index,$r(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 $r(e,t,r){e[r]=t}function Yr(e,t,r,n){for(var i=1;i<n;i++){$r(t,{borderTop:e.borderTop,borderRight:e.borderRight,borderBottom:e.borderBottom,borderLeft:e.borderLeft},r+i)}}var en=function(e){return"\n<customFilters "+("and"===e.logic?'and="1"':"")+">\n"+Or(e.criteria,(function(e){var t=on.customOperator(e);return"<customFilter "+(t?'operator="'+t+'"':"")+' val="'+on.customValue(e)+'"/>'}))+"\n</customFilters>"},tn=function(e){var t=e.type;return'<dynamicFilter type="'+on.dynamicFilterType(t)+'" />'},rn=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+'" />'},nn=function(e){return"<filters "+(e.blanks?'blank="1"':"")+">\n "+Or(e.values,(function(e){return'\n <filter val="'+e+'" />'}))+"\n </filters>"};function on(e){return function(e){var t=e.ref,r=e.columns,n=e.generators;return'\n<autoFilter ref="'+t+'">\n '+Or(r,(function(e){return'\n <filterColumn colId="'+e.index+'">\n '+n[e.filter](e)+"\n </filterColumn>\n "}))+"\n</autoFilter>"}({ref:e.ref,columns:e.columns,generators:{custom:en,dynamic:tn,top:rn,value:nn}})}on.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()]},on.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}},on.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}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(6);t.ExcelExportComponent=i.ExcelExportComponent;var o=r(17);t.ExcelExportModule=o.ExcelExportModule;var a=r(2);t.ColumnBase=a.ColumnBase;var s=r(8);t.ColumnComponent=s.ColumnComponent;var l=r(10);t.ColumnGroupComponent=l.ColumnGroupComponent;var u=r(5);t.FooterTemplateDirective=u.FooterTemplateDirective;var c=r(4);t.GroupFooterTemplateDirective=c.GroupFooterTemplateDirective;var d=r(3);t.GroupHeaderTemplateDirective=d.GroupHeaderTemplateDirective,n.__exportStar(r(7),t),n.__exportStar(r(11),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,r){var n=e.createEmbeddedView(t),i=function(e){return r(t,e),n.detectChanges(),n.rootNodes.reduce((function(e,t){return e+t.textContent}),"").trim()};return i.destroy=function(){n.destroy(),n=null},i},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){e.aggregates=t.aggregates};t.toExporterColumns=function(e){var t=[],r=0,n=function(e,t,i){e.forEach((function(e){if(e.level===i){var o=new s(e,r);if(t.push(o),e.children&&e.children.some((function(t){return t!==e}))){var a=o.columns=[];n(e.children,a,i+1)}else r++}}))};return n(e,t,0),t},t.destroyColumns=function(e){e&&e.forEach((function(e){e.destroy()}))};var s=function(){function e(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.footerTemplate&&(this.footerTemplate=n(e.footerTemplate.templateRef,{$implicit:e,column:e,columnIndex:t},a)),e.groupFooterTemplate&&(this.groupFooterTemplate=n(e.groupFooterTemplate.templateRef,{column:e,field:e.field},o)),e.groupHeaderTemplate&&(this.groupHeaderTemplate=n(e.groupHeaderTemplate.templateRef,{},i)),e.groupHeaderColumnTemplate&&(this.groupHeaderColumnTemplate=n(e.groupHeaderColumnTemplate.templateRef,{},i))}return e.prototype.destroy=function(){this.footerTemplate&&this.footerTemplate.destroy(),this.groupFooterTemplate&&this.groupFooterTemplate.destroy(),this.groupHeaderTemplate&&this.groupHeaderTemplate.destroy(),this.groupHeaderColumnTemplate&&this.groupHeaderColumnTemplate.destroy(),t.destroyColumns(this.columns)},e}();t.ExporterColumn=s},function(e,r){e.exports=t},function(e,t,r){"use strict";r.r(t),r.d(t,"setScriptKey",(function(){return u})),r.d(t,"validatePackage",(function(){return c}));var n,i,o=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];n=o,i=131,function(e){for(;--e;)n.push(n.shift())}(++i);var a=function(e,t){var r=o[e-=0];if(void 0===a.eVebMg){a.JsjtEd=function(e){for(var t=function(e){for(var t,r,n=String(e).replace(/=+$/,""),i="",o=0,a=0;r=n.charAt(a++);~r&&(t=o%4?64*t+r:r,o++%4)?i+=String.fromCharCode(255&t>>(-2*o&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);return i}(e),r=[],n=0,i=t.length;n<i;n++)r+="%"+("00"+t.charCodeAt(n).toString(16)).slice(-2);return decodeURIComponent(r)},a.rqrXoU={},a.eVebMg=!0}var n=a.rqrXoU[e];return void 0===n?(r=a.JsjtEd(r),a.rqrXoU[e]=r):r=n,r},s={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},l=new Map;function u(e){}function c(e){if(l[a("0x14")](e[a("0x4")])){if(a("0x35")==a("0x35"))return l[a("0x36")](e[a("0x4")])}var t,r=e[a("0x1")]?" v"+e[a("0x1")]:"",n=e[a("0x4")]+r,i=JSON[a("0x9")](s[a("0x34")]),o=!i[a("0x26")]&&!i[a("0x38")],u=i[a("0x26")]&&typeof KendoLicensing===a("0x2b"),c=function(e,t){var r=e[a("0x8")];if(!r||!r[a("0x2d")]){if(a("0x11")==a("0x11"))return null}var n=new Set(t);return r[a("0x2a")]((function(e){if(a("0xa")!==a("0x18"))return n[a("0x14")](e[a("0x39")])}))}(i,e[a("0x2")]);if(o||u)if(a("0x29")!=a("0x29")){}else t={type:0,packageName:n,docsUrl:e[a("0x27")]};else if(a("0xf")===a("0x24")){}else if(c){if(a("0x12")!=a("0x12")){}else if(c[a("0x37")]<e[a("0x1c")])if(a("0x21")===a("0x32")){}else t={type:2,packageName:n,publishDate:d(e[a("0x1c")]),expiryDate:d(c[a("0x37")]),docsUrl:e[a("0x27")]}}else if(a("0x6")!=a("0x6")){}else t={type:1,packageName:n,docsUrl:e[a("0x27")]};if(t&&typeof console===a("0x30"))if(a("0x5")===a("0x3")){}else{var h=a("0x1b")+e[a("0xe")],f=typeof console[a("0x7")]===a("0x33");if(f)if(a("0xc")!=a("0xc")){}else console[a("0x7")](h);else if(a("0x17")!=a("0x17")){}else console[a("0x1e")](h);if(console[a("0x1e")](function(e){var t=a("0x28")+e[a("0x16")]+"\n";if(2===e[a("0x3a")])if(a("0x20")!=a("0x20")){}else t+=a("0x25")+e[a("0x15")][a("0x2c")]()+a("0xb")+e[a("0x1c")][a("0x2c")]()+".\n";else if(0===e[a("0x3a")])if(a("0x13")!==a("0x10"))t+=a("0xd");else{}else if(1===e[a("0x3a")])if(a("0x2e")===a("0x23")){}else t+=a("0x1d");return t+=a("0x31")+e[a("0x1a")]+a("0x22")}(t)),f)if(a("0x1f")!==a("0x19"))console[a("0x2f")]();else{}}var p=!t;return l[a("0x0")](e[a("0x4")],p),p}function d(e){return new Date(1e3*e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-excel-export",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642581347,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(6),a=r(8),s=r(10),l=r(5),u=r(4),c=r(3),d=r(9),h=[o.ExcelExportComponent,a.ColumnComponent,s.ColumnGroupComponent,l.FooterTemplateDirective,u.GroupFooterTemplateDirective,c.GroupHeaderTemplateDirective,d.GroupHeaderColumnTemplateDirective],f=function(){function e(){}return e=n.__decorate([i.NgModule({declarations:[h],exports:[h]})],e)}();t.ExcelExportModule=f},function(e,t,r){"use strict";r.r(t),r.d(t,"formatNumber",(function(){return ke})),r.d(t,"parseNumber",(function(){return ze})),r.d(t,"formatDate",(function(){return tt})),r.d(t,"parseDate",(function(){return Ct})),r.d(t,"splitDateFormat",(function(){return zt})),r.d(t,"load",(function(){return F})),r.d(t,"setData",(function(){return A})),r.d(t,"dateFieldName",(function(){return E})),r.d(t,"dateFormatNames",(function(){return P})),r.d(t,"cldr",(function(){return c})),r.d(t,"localeInfo",(function(){return h})),r.d(t,"currencyDisplays",(function(){return q})),r.d(t,"currencyDisplay",(function(){return Z})),r.d(t,"currencyFractionOptions",(function(){return X})),r.d(t,"territoryCurrencyCode",(function(){return K})),r.d(t,"localeCurrency",(function(){return J})),r.d(t,"firstDay",(function(){return Y})),r.d(t,"weekendRange",(function(){return te})),r.d(t,"numberSymbols",(function(){return re})),r.d(t,"toString",(function(){return It})),r.d(t,"format",(function(){return Tt})),r.d(t,"errors",(function(){return u})),r.d(t,"IntlError",(function(){return a})),r.d(t,"toIntlErrors",(function(){return l}));var n={en:{name:"en",identity:{version:{_number:"$Revision: 12418 $",_cldrVersion:"29"},language:"en"},territory:"US",numbers:{symbols:{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},decimal:{patterns:["n"],groupSize:[3]},scientific:{patterns:["nEn"],groupSize:[]},percent:{patterns:["n%"],groupSize:[3]},currency:{patterns:["$n"],groupSize:[3],"unitPattern-count-one":"n $","unitPattern-count-other":"n $"},currencies:{BGN:{displayName:"Bulgarian Lev","displayName-count-one":"Bulgarian lev","displayName-count-other":"Bulgarian leva",symbol:"BGN"},EUR:{displayName:"Euro","displayName-count-one":"euro","displayName-count-other":"euros",symbol:"€","symbol-alt-narrow":"€"},USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}},localeCurrency:"USD",accounting:{patterns:["$n","($n)"],groupSize:[3]}},calendar:{gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",patterns:{d:"M/d/y",D:"EEEE, MMMM d, y",m:"MMM d",M:"MMMM d",y:"MMM y",Y:"MMMM y",F:"EEEE, MMMM d, y h:mm:ss a",g:"M/d/y h:mm a",G:"M/d/y h:mm:ss a",t:"h:mm a",T:"h:mm:ss a",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d","MMMMW-count-one":"'week' W 'of' MMMM","MMMMW-count-other":"'week' W 'of' MMMM",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y","yw-count-one":"'week' w 'of' Y","yw-count-other":"'week' w 'of' Y"}},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},days:{format:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},months:{format:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},quarters:{format:{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{format:{wide:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},abbreviated:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},narrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}}},dateFields:{era:{wide:"era"},year:{wide:"year",short:"yr.",narrow:"yr."},quarter:{wide:"quarter",short:"qtr.",narrow:"qtr."},month:{wide:"month",short:"mo.",narrow:"mo."},week:{wide:"week",short:"wk.",narrow:"wk."},day:{wide:"day",short:"day",narrow:"day"},weekday:{wide:"day of the week"},dayperiod:{wide:"AM/PM"},hour:{wide:"hour",short:"hr.",narrow:"hr."},minute:{wide:"minute",short:"min.",narrow:"min."},second:{wide:"second",short:"sec.",narrow:"sec."},millisecond:{wide:"millisecond",short:"ms",narrow:"ms"},zone:{wide:"time zone"}}}},supplemental:{likelySubtags:{en:"en-Latn-US"},currencyData:{region:{US:[{USD:{_from:"1792-01-01"}}]}},weekData:{firstDay:{US:"sun"},weekendStart:{"001":"sat"},weekendEnd:{"001":"sun"}}}};function i(e){return"string"==typeof e}var o=/\{(\d+)}?\}/g,a=function(e){var t=e.name,r=e.message;if(!t||!r)throw new Error("{ name: string, message: string } object is required!");this.name=t,this.message=r};a.prototype.formatMessage=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=s(e),n=this.message.replace(o,(function(e,t){return r[parseInt(t,10)]}));return this.name+": "+n},a.prototype.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new Error(this.formatMessage(e))};var s=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},l=function(e){return Object.keys(e).reduce((function(t,r){return t[r]=new a({name:r,message:e[r]}),t}),{})},u=l({NoLocale:"Missing locale info for '{0}'",NoCurrency:"Cannot determine currency information. Please load the locale currencies data.",NoSupplementalCurrency:"Cannot determine currency. Please load the supplemental currencyData.",NoCurrencyRegion:"No currency data for region '{0}'",NoCurrencyDisplay:"Cannot determine currency display information. Please load the locale currencies data. The default culture does not include the all currencies data.",NoGMTInfo:"Cannot determine locale GMT format. Please load the locale timeZoneNames data.",NoWeekData:"Cannot determine locale first day of week. Please load the supplemental weekData.",NoFirstDay:"Cannot determine locale first day of week. Please load the supplemental weekData. The default culture includes only the 'en-US' first day info.",NoValidCurrency:"Cannot determine a default currency for the {0} locale. Please specify explicitly the currency with the format options.",NoDateFieldNames:"Cannot determine the locale date field names. Please load the locale dateFields data."});var c=n;function d(e){return i(e)?h(e):e}function h(e){if(c[e])return c[e];if(c.supplemental.likelySubtags){var t=e.split("-"),r=t[0],n=t.slice(1),i=function(e,t){for(var r=c.supplemental.likelySubtags,n=0;n<t.length;n++){var i=r[e+"-"+t[n]];if(i)return i}if(r[e])return r[e]}(r,n),o=i?function(e,t){var r=e.split("-"),n=r[0],i=r[1],o=r[2];return c[e]||-1!==t.indexOf(o)&&c[n+"-"+o]||-1!==t.indexOf(i)&&c[n+"-"+i]||c[n]}(i,n):null;if(o)return o}throw u.NoLocale.error(e)}var f=/([#,0.]+)/g,p=/¤/g;function m(e){return f.lastIndex=0,e.replace(p,"$").replace(f,"n").split(";")}function g(e){return f.lastIndex=0,f.exec(e.split(";")[0])[0].split(".")[0].split(",").slice(1).map((function(e){return e.length})).reverse()}function y(e,t){for(var r in t)r.startsWith("unitPattern")&&(e[r]=t[r].replace("{0}","n").replace("{1}","$"))}function v(e,t){var r=c[e],n=r.numbers=r.numbers||{};for(var i in n.symbols=n.symbols||{},t)if("symbols-numberSystem-latn"===i)Object.assign(n.symbols,t[i]);else if(i.includes("Formats-numberSystem-latn")){var o=i.substr(0,i.indexOf("Formats-numberSystem-latn")),a=t[i].standard;n[o]={patterns:m(a)},"currency"===o?(n[o].groupSize=g((t["decimalFormats-numberSystem-latn"]||t[i]).standard),y(n[o],t[i]),n.accounting={patterns:m(t[i].accounting),groupSize:n[o].groupSize}):n[o].groupSize=g(a)}else"currencies"===i&&(n.currencies=t[i])}var _={s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},b=/y+/g,w=[["dateFormats","short"]],x={D:[["dateFormats","full"]],m:[["dateTimeFormats","availableFormats","MMMd"]],M:[["dateTimeFormats","availableFormats","MMMMd"]],y:[["dateTimeFormats","availableFormats","yMMM"]],Y:[["dateTimeFormats","availableFormats","yMMMM"]],F:[["dateFormats","full"],["timeFormats","medium"]],g:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","short"]],G:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","medium"]],t:[["timeFormats","short"]],T:[["timeFormats","medium"]]};function k(e){for(var t=[],r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var i=e[r[n]];t.push(i)}return t}function C(e,t){var r={};for(var n in e){var i=r[n]={};for(var o in e[n]){var a=e[n][o];i[o]=t?a:k(a)}}return r}function S(e,t){var r=c[e].calendar;r.days=C(t.days),r.months=C(t.months),r.quarters=C(t.quarters),r.dayPeriods=C(t.dayPeriods,!0),r.eras=function(e){var t={},r=t.format={},n={eraAbbr:"abbreviated",eraNames:"wide",eraNarrow:"narrow"};for(var i in e){r[n[i]]=e[i]}return t}(t.eras)}function M(e,t){var r=c[e].calendar,n={};for(var i in t){var o=i.split("-"),a=o[0],s=o[1];void 0===s&&(s="wide");var l=n[a]||{},u=t[i].displayName;u&&(l[s]=u,n[a]=l)}r.dateFields=n}function O(e,t){for(var r=[],n=0;n<e.length;n++){for(var i=e[n],o=t,a=0;a<i.length;a++)o=o[i[a]];r.push(o)}return r.join(" ")}function z(e,t){var r=c[e].calendar,n=r.patterns={};for(var i in n.d=O(w,t).replace(b,"y"),x)n[i]=O(x[i],t);for(var o in _)n[o]=_[o];var a=t.dateTimeFormats;r.dateTimeFormats={full:a.full,long:a.long,medium:a.medium,short:a.short,availableFormats:a.availableFormats},r.timeFormats=t.timeFormats,r.dateFormats=t.dateFormats}function D(e,t){var r=c[e].calendar=c[e].calendar||{};for(var n in t)"timeZoneNames"===n?(r.gmtFormat=t[n].gmtFormat,r.gmtZeroFormat=t[n].gmtZeroFormat):"calendars"===n&&t[n].gregorian?(z(e,t[n].gregorian),S(e,t[n].gregorian)):"fields"===n&&M(e,t.fields)}function I(e){if(e.territory)return e.territory;var t,r=e.name,n=e.identity;return t=n&&n.territory?n.territory:function(e,t){var r=c.supplemental.likelySubtags,n=e.split("-");if(r){var i=r[e]||r[n[0]];i&&(n=i.split("-"))}if(t)for(var o=n.length-1;o>=1;o--){var a=n[o];a!==t.variant&&a!==t.script||n.splice(o,1)}var s=n.length;if(s>1)return n[s-1].toUpperCase()}(r,n),e.territory=t,t}function T(e,t){for(var r in t)"numbers"===r?v(e,t[r]):"dates"===r&&D(e,t[r])}function F(){for(var e=arguments,t=arguments.length,r=0;r<t;r++){var n=e[r];if(n.main){var i=Object.keys(n.main)[0],o=n.main[i],a=c[i]=c[i]||{};a.name=a.name||i,a.identity=a.identity||o.identity,I(a),T(i,o)}else if(n.supplemental)if(n.supplemental.weekData)c.supplemental.weekData={firstDay:n.supplemental.weekData.firstDay,weekendStart:n.supplemental.weekData.weekendStart,weekendEnd:n.supplemental.weekData.weekendEnd};else if(n.supplemental.likelySubtags)c.supplemental.likelySubtags=Object.assign(c.supplemental.likelySubtags,n.supplemental.likelySubtags);else if(n.supplemental.currencyData){var s=c.supplemental.currencyData;s.region=Object.assign(s.region||{},n.supplemental.currencyData.region),s.fractions=Object.assign(s.fractions||{},n.supplemental.currencyData.fractions)}}}function A(e){var t=e.name,r=c[t]=c[t]||{},n=c.supplemental=c.supplemental||{};e.likelySubtags&&(n.likelySubtags=Object.assign(n.likelySubtags||{},e.likelySubtags)),e.currencyData&&(n.currencyData=n.currencyData||{},n.currencyData.fractions=Object.assign(n.currencyData.fractions||{},e.currencyData));var i=r.numbers;Object.assign(r,e),i&&e.numbers&&(r.numbers=Object.assign({},i,e.numbers))}function E(e,t){void 0===t&&(t="en");var r=h(t).calendar.dateFields;if(!r)throw u.NoDateFieldNames.error();var n=r[e.type]||{};return n[e.nameType]||n.wide}function P(e,t){var r,n=t.type,i=t.nameType,o=t.standAlone,a=t.lower,s=o?"stand-alone":"format",l=(a?"lower-":"")+i,u=d(e).calendar[n][s],c=u[l];return!c&&a&&(c=u[l]=(r=u[i],Array.isArray(r)?function(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r].toLowerCase());return t}(r):function(e){var t={};for(var r in e)t[r]=e[r].toLowerCase();return t}(r))),c}function N(e){var t=e.split("-"),r=parseInt(t[0],10),n=parseInt(t[1],10)-1,i=parseInt(t[2],10);return new Date(r,n,i)}var B=u.NoCurrency,j=u.NoCurrencyDisplay,H=u.NoSupplementalCurrency,L=u.NoCurrencyRegion,R=u.NoValidCurrency,U={"001":"USD",150:"EUR"};function G(e,t,r){var n=d(e).numbers.currencies;if(n){var i=n[t];if(i)return i;if(r)throw j.error()}else if(r)throw B.error()}function W(e,t){return t.length-e.length}function q(e,t,r){void 0===r&&(r=!0);var n=G(e,t,r);if(n){if(!n.displays){var i=[t];for(var o in n)i.push(n[o]);i.sort(W),n.displays=i}return n.displays}}function Z(e,t){var r=t.value,n=t.currency,i=t.currencyDisplay;if(void 0===i&&(i="symbol"),"code"===i)return n;var o=G(e,n,!0);return"symbol"===i?o["symbol-alt-narrow"]||o.symbol:void 0===typeof r||1!==r?o["displayName-count-other"]:o["displayName-count-one"]}function X(e){var t=2,r=2,n=((c.supplemental.currencyData||{}).fractions||{})[e];return n&&n._digits&&(r=t=parseInt(n._digits,10)),{minimumFractionDigits:t,maximumFractionDigits:r}}function K(e,t){if(void 0===t&&(t=!0),U[e])return U[e];var r=c.supplemental.currencyData;if(r){var n=r.region[e];if(n)return function(e){for(var t,r,n,i,o=0;o<e.length;o++){var a=e[o],s=Object.keys(a)[0],l=a[s];if("XXX"!==s&&"false"!==l._tender&&l._from)if(l._to){if(!n){var u=N(l._from),c=N(l._to);(!r||r.to<c||r.from<u)&&(t=s,r={from:u,to:c})}}else{var d=N(l._from);(!i||i<d)&&(n=s,i=d)}}return n||t}(n);if(t)throw L.error(e)}else if(t)throw H.error()}function J(e,t){var r=d(e),n=r.numbers;if(!n.localeCurrency){var i=K(I(r),t);if(!i&&t)throw R.error(r.name);n.localeCurrency=i}return n.localeCurrency}var V=["sun","mon","tue","wed","thu","fri","sat"],Q=u.NoWeekData,$=u.NoFirstDay;function Y(e){var t=d(e);if(!isNaN(t.firstDay))return t.firstDay;var r=c.supplemental.weekData;if(!r)throw Q.error();var n=r.firstDay[I(t)]||r.firstDay["001"];if(!n)throw $.error();return t.firstDay=V.indexOf(n),t.firstDay}var ee=u.NoWeekData;function te(e){var t=d(e);if(t.weekendRange)return t.weekendRange;var r=c.supplemental.weekData;if(!r)throw ee.error();var n=I(t),i=r.weekendStart[n]||r.weekendStart["001"],o=r.weekendEnd[n]||r.weekendEnd["001"];return t.weekendRange={start:V.indexOf(i),end:V.indexOf(o)},t.weekendRange}function re(e){return d(e).numbers.symbols}function ne(e){return 1/e==-1/0}function ie(e,t){return void 0===t&&(t={}),t.currency||(t.currency=J(e,!0)),Z(e,t)}function oe(e,t,r,n,i){var o=i.numbers.symbols,a=e.indexOf(o.decimal),s=n.groupSize.slice(),l=s.shift(),u=-1!==a?a:r+1,c=e.substring(t,u),d=e,h=c.length;if(h>=l){for(var f=h,p=[];f>-1;){var m=c.substring(f-l,f);m&&p.push(m),f-=l;var g=s.shift();if(0===(l=void 0!==g?g:l)){(m=c.substring(0,f))&&p.push(m);break}}c=p.reverse().join(o.group),d=e.substring(0,t)+c+e.substring(u)}return d}function ae(e){return"currency"===e||"accounting"===e}function se(e,t,r){void 0===t&&(t=2),void 0===r&&(r=!1);var n=t-String(e).length,i=e;if(n>0){var o=new Array(n+1).join("0");i=r?e+o:o+e}return i}function le(e,t){var r=e,n=t||0;return r=r.toString().split("e"),r=(r=Math.round(Number(r[0]+"e"+(r[1]?Number(r[1])+n:n)))).toString().split("e"),(r=Number(r[0]+"e"+(r[1]?Number(r[1])-n:-n))).toFixed(Math.min(n,20))}var ue=/0+$/;function ce(e,t,r){var n=r.numbers.symbols,i=t.style,o=ae(i);if("scientific"===i)return(void 0!==t.minimumFractionDigits?e.toExponential(t.minimumFractionDigits):e.toExponential()).replace(".",n.decimal);var a,s=e;o&&(t.value=s,a=ie(r,t)),"percent"===i&&(s*=100,a=n.percentSign);var l=function(e){var t,r=e.minimumFractionDigits,n=e.maximumFractionDigits,i=e.style,o=ae(i);return o&&(t=X(e.currency)),void 0===r&&(r=o?t.minimumFractionDigits:0),void 0===n&&(n="percent"===i?Math.max(r,0):o?Math.max(r,t.maximumFractionDigits):Math.max(r,3)),{minimumFractionDigits:r,maximumFractionDigits:n}}(t),u=l.minimumFractionDigits,c=(s=le(s,l.maximumFractionDigits))<0,d=ne(e),h=s.split("."),f=h[0],p=se(h[1]?h[1].replace(ue,""):"",u,!0);c&&(f=f.substring(1)),t.minimumIntegerDigits&&(f=se(f,t.minimumIntegerDigits));var m,g=!1!==t.useGrouping?oe(f,0,f.length,t,r):f;if(p&&(g+=n.decimal+p),o&&"name"===t.currencyDisplay)m=function(e,t){var r=e.numbers.currency,n=1!==t?r["unitPattern-count-other"]:r["unitPattern-count-one"];return t<0&&(n=n.replace("n","-n")),n}(r,e);else{var y=t.patterns;m=c||d?y[1]||"-"+y[0]:y[0]}return"n"!==m||c?function(e,t,r){for(var n="",i=0,o=t.length;i<o;i++){var a=t.charAt(i);n+="n"===a?e:"$"===a||"%"===a?r:a}return n}(g,m,a):g}var de=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g;function he(e,t){var r=e.format;-1!==r.indexOf("%")&&(e.style="percent",e.symbol=t.numbers.symbols.percentSign,e.number*=100),-1!==r.indexOf("$")&&(e.style="currency",e.symbol=ie(t))}function fe(e){var t=e.format;if(t.indexOf("'")>-1||t.indexOf('"')>-1||t.indexOf("\\")>-1){var r=e.literals=[];e.format=t.replace(de,(function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return r.push(n),"__??__"}))}}var pe=/(\.(?:[0-9]*[1-9])?)0+$/g,me=/\.$/,ge=/\,/g;function ye(e){var t,r,n,i=e.number,o=e.format,a=o.indexOf(".");if(-1!==a){var s=o.lastIndexOf("0")-a,l=o.lastIndexOf("#")-a,u=s>-1,c=l>-1,d=i.toString().split("e"),h=(d=(d=d[1]?le(i,Math.abs(d[1])):d[0]).split(".")[1]||"").length,f=-1;u||c?u&&s>l?h=s:l>s&&(c&&h>l?h=l:u&&h<s&&(h=s),f=u?s:0):(e.format=o.substring(0,a)+o.substring(a+1),a=-1,h=0),h>-1&&(i=le(i,h),f>-1&&(t=i,n=0===(r=f)?pe:new RegExp("(\\.[0-9]{"+r+"}[1-9]*)0+$","g"),i=t.replace(n,"$1").replace(me,"")))}else i=le(i);e.negative&&-1*i>=0&&!e.negativeZero&&(e.negative=!1),e.number=i,e.decimalIndex=a}function ve(e,t,r){return-1===e&&-1!==t?t:-1!==e&&-1===t?e:r?Math.min(e,t):Math.max(e,t)}function _e(e,t){var r=e.number;return-1!==e.start&&(r=function(e,t){var r=e;if(t)for(var n=t.length,i=0;i<n;i++)r=r.replace("__??__",t[i]);return r}(r=function(e,t,r){var n=e;if("currency"===t||"percent"===t){n="";for(var i=0,o=e.length;i<o;i++){var a=e.charAt(i);n+="$"===a||"%"===a?r:a}}return n}(r=function(e,t){var r=e.start,n=e.end,i=e.negative,o=e.negativeZero,a=e.format,s=e.decimalIndex,l=e.lastZeroIndex,u=e.hasNegativeFormat,c=e.hasGroup,d=e.number,h=d.toString().split("."),f=a.length,p=h[0],m=h[1]||"",g=p.length,y="";d=a.substring(0,r),!i&&!o||u||(d+="-");for(var v=r;v<f;v++){var _=a.charAt(v);if(-1===s){if(n-v<g){d+=p;break}}else if(-1!==l&&l<v&&(y=""),s-v<=g&&s-v>-1&&(d+=p,v=s),s===v){d+=(m?t.numbers.symbols.decimal:"")+m,v+=n-s+1;continue}"0"===_?(d+=_,y=_):"#"===_&&(d+=y)}return c&&(d=oe(d,r+(i&&!u?1:0),Math.max(n,g+r),t.numbers.decimal,t)),n>=r&&(d+=a.substring(n+1)),d}(e,t),e.style,e.symbol),e.literals)),r}function be(e,t,r){var n={negative:e<0,number:Math.abs(e),negativeZero:ne(e),format:t};return function(e){var t=e.number,r=e.format;if(r=r.split(";"),(e.negative||e.negativeZero)&&r[1])r=r[1],e.hasNegativeFormat=!0;else if(0===t){var n=r[2];r=n||r[0],n&&function(e){return-1===e.indexOf("#")&&-1===e.indexOf("0")}(n)&&(e.constant=n)}else r=r[0];e.format=r}(n),n.constant?n.constant:(fe(n),he(n,r),function(e){e.hasGroup=e.format.indexOf(",")>-1,e.hasGroup&&(e.format=e.format.replace(ge,""))}(n),ye(n),function(e){var t=e.format,r=t.indexOf("#"),n=t.indexOf("0"),i=ve(r,n,!0),o=ve(r=t.lastIndexOf("#"),n=t.lastIndexOf("0"));i===t.length&&(o=i),e.start=i,e.end=o,e.lastZeroIndex=n}(n),_e(n,r))}var we=/^(n|c|p|e|a)(\d*)$/i;function xe(e){return i(e)?function(e){var t=we.exec(e);if(t){var r={style:"decimal"},n=t[1].toLowerCase();return"c"===n?r.style="currency":"a"===n?r.style="accounting":"p"===n?r.style="percent":"e"===n&&(r.style="scientific"),t[2]&&(r.minimumFractionDigits=r.maximumFractionDigits=parseInt(t[2],10)),r}}(e):e}function ke(e,t,r){if(void 0===t&&(t="n"),void 0===r&&(r="en"),null==e)return"";if(!isFinite(e))return String(e);var n,i=h(r),o=xe(t);if(o){var a=o.style||"decimal";n=ce(e,Object.assign({},i.numbers[a],o),i)}else n=be(e,t,i);return n}function Ce(e){return"number"==typeof e}var Se=/[eE][\-+]?[0-9]+/,Me=/\u00A0/g;function Oe(e,t){if(t.length>1){var r=(t[1]||"").replace("$","").split("n");if(e.indexOf(r[0])>-1&&e.indexOf(r[1])>-1)return e.replace(r[0],"").replace(r[1],"")}}function ze(e,t,r){if(void 0===t&&(t="en"),void 0===r&&(r={}),!e&&0!==e)return null;if(Ce(e))return e;var n,o=h(t),a=o.numbers.symbols,s=e.toString(),l=r||{};if(i(r)&&(fe(l={format:r}),s=function(e,t){var r=t.literals,n=e;if(r)for(var i=0;i<r.length;i++)n=n.replace(r[i],"");return n}(s,l),he(l,o)),("percent"===l.style||s.indexOf(a.percentSign)>-1)&&(s=s.replace(a.percentSign,""),n=!0),Se.test(s))return s=parseFloat(s.replace(a.decimal,".")),isNaN(s)?null:s;var u=function(e,t,r){var n,i=xe(r)||{},o=ae(i.style),a=e,s=i.currency||J(t,o);if(s){var l=q(t,s,o);if(l)for(var u=0;u<l.length;u++){var c=l[u];if(a.includes(c)){a=a.replace(c,""),o=!0;break}}if(o){var d=Oe(a,t.numbers.currency.patterns)||Oe(a,t.numbers.accounting.patterns);d&&(n=!0,a=d)}}return{number:a,negative:n}}(s,o,l),c=u.negative,d=u.number,f=(s=String(d).trim()).indexOf("-");if(f>0)return null;var p=f>-1;return p=void 0!==c?c:p,s=s.replace("-","").replace(Me," ").split(a.group.replace(Me," ")).join("").replace(a.decimal,"."),s=parseFloat(s),isNaN(s)?s=null:p&&(s*=-1),s&&n&&(s/=100),s}var De=/\{(\d+)}/g;function Ie(e){var t=arguments;return e.replace(De,(function(e,r){return t[parseInt(r,10)+1]}))}var Te=[2,1,5,3,4],Fe={};Fe[(-2).toString()]=8,Fe[(-1).toString()]=6,Fe[2..toString()]=6,Fe[1..toString()]=3;var Ae={numeric:1,"2-digit":2,short:3,long:4,narrow:5},Ee=/[hHmsSzZoOvVxX]/;var Pe=[{key:"era",specifier:"G"},{key:"year",specifier:"y"},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:function(e){return e.hour12?"h":"H"}},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],Ne={e:"c",E:"c",M:"L",Q:"q"},Be={},je={};function He(e){return Be[e]||(Be[e]=new RegExp(e+"+")),Be[e]}function Le(e){for(var t=[],r=e.charAt(0),n=r,i=1;i<e.length;i++){var o=e.charAt(i);o===n?r+=o:(t.push(r),r=n=o)}return t.push(r),t}function Re(e,t){var r,n,i=e.length,o=-Number.MAX_VALUE;for(var a in t){for(var s=[],l=a.replace("v","z"),u=0,c=0;c<i;c++){var d=e[c],h=(He(d[0]).exec(l)||[])[0];if(h){if(l=l.replace(h,""),h.length!==d.length){var f=Math.max(Math.min(Te[h.length]-Te[d.length],2),-2);u-=Fe[f]}}else u-=120;if(s.push(h),u<o)break}l.length&&(u-=20*Le(l).length),u>o&&(o=u,r=s,n=t[a])}n=n.replace("v","z");for(var p=0;p<i;p++){var m=r[p];if(m&&m!==e[p]){var g=r[p][0];n=n.replace(He(g),e[p]),Ne[g]&&(n=n.replace(He(Ne[g]),e[p]))}}return n}function Ue(e,t){var r=t.calendar.dateTimeFormats.availableFormats;if(r[e])return r[e];if(je[t.name]&&je[t.name][e])return je[t.name][e];var n,i=e.search(Ee);if(i>0){var o=e.substr(0,i),a=e.substr(i);n=Ie(t.calendar.dateTimeFormats.short,r[a]||Re(Le(a),r),r[o]||Re(Le(o),r))}else n=Re(Le(e),r);return function(e,t,r){je[r]||(je[r]={}),je[r][e]=t}(e,n,t.name),n}function Ge(e,t){var r,n=t.calendar;if(i(e))r=n.patterns[e]?n.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var o=e.skeleton;o||(e.datetime?r=Ie(n.dateTimeFormats[e.datetime],n.timeFormats[e.datetime],n.dateFormats[e.datetime]):e.date?r=n.dateFormats[e.date]:e.time?r=n.timeFormats[e.time]:o=function(e){for(var t=[],r=0;r<Pe.length;r++){var n=Pe[r],i=e[n.key];if(i){var o=n.specifier||n.getSpecifier(e);t.push(o.repeat(Ae[i]))}}return t.join("")}(e)),o&&(r=Ue(o,t))}return r||(r=n.patterns.d),r}function We(e){var t;return e<=3?t="abbreviated":4===e?t="wide":5===e?t="narrow":6===e&&(t="short"),t}function qe(e,t,r,n,i){return P(e,{type:t,nameType:We(r),standAlone:n,lower:i})}function Ze(e){return"function"==typeof e}function Xe(e){return Boolean(e)&&Ze(e.getTime)&&Ze(e.getMonth)}var Ke={G:"era",y:"year",q:"quarter",Q:"quarter",M:"month",L:"month",d:"day",E:"weekday",c:"weekday",e:"weekday",h:"hour",H:"hour",k:"hour",K:"hour",m:"minute",s:"second",S:"millisecond",a:"dayperiod",x:"zone",X:"zone",z:"zone",Z:"zone"},Je=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g;function Ve(e,t,r,n){return t<=2?se(e+1,t):qe(r,"months",t,n)[e]}function Qe(e,t,r,n){var i=Math.floor(e.getMonth()/3);return t<3?i+1:qe(r,"quarters",t,n)[i]}function $e(e,t,r){var n=r.shortHours,i=r.optionalMinutes,o=r.separator,a=r.localizedName,s=r.zZeroOffset,l=e.getTimezoneOffset()/60;if(0===l&&s)return"Z";var u=l<=0?"+":"-",c=Math.abs(l).toString().split("."),d=c[1]||0,h=u+(n?c[0]:se(c[0],2));(!d&&i||(h+=(o?":":"")+se(d,2)),a)&&(h=Ie(0===l?t.calendar.gmtZeroFormat:t.calendar.gmtFormat,h));return h}function Ye(e,t,r,n){var i,o,a;return t<3?(o=e.getDay(),a=Y(r),i=(o<a?7-a+o:o-a)+1):i=qe(r,"days",t,n)[e.getDay()],i}var et={};function tt(e,t,r){if(void 0===r&&(r="en"),!Xe(e))return null==e?"":e;var n=h(r);return Ge(t,n).replace(Je,(function(t){var r=t.length;return t.includes("'")||t.includes('"')?t.slice(1,r-1):et[t[0]](e,r,n)}))}function rt(e,t,r){var n=e.getTimezoneOffset(),i=new Date(e.getTime()+6e4*(t-r)),o=i.getTimezoneOffset();return new Date(i.getTime()+6e4*(o-n))}et.d=function(e,t){return se(e.getDate(),t)},et.E=function(e,t,r){return qe(r,"days",t)[e.getDay()]},et.M=function(e,t,r){return Ve(e.getMonth(),t,r,!1)},et.L=function(e,t,r){return Ve(e.getMonth(),t,r,!0)},et.y=function(e,t){var r=e.getFullYear();return 2===t&&(r%=100),se(r,t)},et.h=function(e,t){return se(e.getHours()%12||12,t)},et.H=function(e,t){return se(e.getHours(),t)},et.k=function(e,t){return se(e.getHours()||24,t)},et.K=function(e,t){return se(e.getHours()%12,t)},et.m=function(e,t){return se(e.getMinutes(),t)},et.s=function(e,t){return se(e.getSeconds(),t)},et.S=function(e,t){var r=e.getMilliseconds();return 0!==r?se(String(r/1e3).split(".")[1].substr(0,t),t,!0):se("",t)},et.a=function(e,t,r){return qe(r,"dayPeriods",t)[e.getHours()<12?"am":"pm"]},et.z=function(e,t,r){return $e(e,r,{shortHours:t<4,optionalMinutes:t<4,separator:!0,localizedName:!0})},et.Z=function(e,t,r){return $e(e,r,{separator:t>3,localizedName:4===t,zZeroOffset:5===t})},et.x=function(e,t,r){return $e(e,r,{optionalMinutes:1===t,separator:3===t||5===t})},et.X=function(e,t,r){return $e(e,r,{optionalMinutes:1===t,separator:3===t||5===t,zZeroOffset:!0})},et.G=function(e,t,r){var n=e.getFullYear()>=0?1:0;return qe(r,"eras",t)[n]},et.e=Ye,et.c=function(e,t,r){return Ye(e,t,r,!0)},et.q=function(e,t,r){return Qe(e,t,r,!0)},et.Q=Qe;var nt=/([+|\-]\d{1,2})(:?)(\d{2})?/,it=/^\/Date\((.*?)\)\/$/,ot=/[+-]\d*/,at={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},st=/\d+/,lt=/^ */,ut=/ *$/,ct=["yyyy/MM/dd HH:mm:ss","yyyy/MM/dd HH:mm","yyyy/MM/dd","E MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:ss.SSSSSSSXXX","yyyy-MM-ddTHH:mm:ss.SSSXXX","yyyy-MM-ddTHH:mm:ss.SSXXX","yyyy-MM-ddTHH:mm:ssXXX","yyyy-MM-ddTHH:mm:ss.SSSSSSS","yyyy-MM-ddTHH:mm:ss.SSS","yyyy-MM-ddTHH:mmXXX","yyyy-MM-ddTHH:mmX","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","yyyy-MM-dd","HH:mm:ss","HH:mm"],dt=["G","g","F","Y","y","M","m","D","d","y","T","t"];function ht(e,t,r){return!(e>=t&&e<=r)}function ft(e,t){for(var r=t.format,n=t.idx,i=0;r[n]===e;)i++,n++;return i>0&&(n-=1),t.idx=n,i}function pt(e,t){var r=e?at[e]||new RegExp("^\\d{1,"+e+"}"):st,n=t.value.substr(t.valueIdx,e).match(r);return n?(n=n[0],t.valueIdx+=n.length,parseInt(n,10)):null}function mt(e,t,r){for(var n,i,o,a=0,s=e.length,l=0,u=0;a<s;a++)i=(n=e[a]).length,o=t.value.substr(t.valueIdx,i),r&&(o=o.toLowerCase()),o===n&&i>l&&(l=i,u=a);return l?(t.valueIdx+=l,u+1):null}function gt(e){var t=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,t=!0),t}function yt(e,t,r){var n=r.shortHours,i=r.noSeparator,o=r.optionalMinutes,a=r.localizedName,s=r.zLiteral;if(e.UTC=!0,s&&"Z"===e.value.charAt(e.valueIdx))return e.valueIdx++,!1;if(a&&!mt(function(e){var t=e.gmtFormat,r=e.gmtZeroFormat;if(!t)throw u.NoGMTInfo.error();return[t.replace("{0}","").toLowerCase(),r.replace("{0}","").toLowerCase()]}(t.calendar),e,!0))return!0;var l=nt.exec(e.value.substr(e.valueIdx,6));if(!l)return!a;var c=l[1],d=l[3],h=parseInt(c,10),f=l[2],p=parseInt(d,10);return!!(isNaN(h)||!n&&3!==c.length||!o&&isNaN(p)||i&&f)||(isNaN(p)&&(p=null),!!(ht(h,-12,13)||p&&ht(p,0,59))||(e.valueIdx+=l[0].length,e.hoursOffset=h,void(e.minutesOffset=p)))}function vt(e,t,r){var n=ft(e,t),i=qe(r,"months",n,"L"===e,!0),o=n<3?pt(2,t):mt(i,t,!0);if(null===o||ht(o,1,12))return!0;t.month=o-1}function _t(e,t,r){var n=ft(e,t),i=qe(r,"days",n,"c"===e,!0),o=n<3?pt(1,t):mt(i,t,!0);if(!o&&0!==o||ht(o,1,7))return!0}var bt={};function wt(e,t){return""+lt.exec(t)[0]+e+ut.exec(t)[0]}function xt(e,t,r){for(var n=Ge(t,r).split(""),i={format:n,idx:0,value:wt(e,t),valueIdx:0,year:null,month:null,day:null,hours:null,minutes:null,seconds:null,milliseconds:null},o=n.length,a=!1;i.idx<o;i.idx++){var s=n[i.idx];if(a)"'"===s&&(a=!1),gt(i);else if(bt[s]){if(bt[s](i,r))return null}else if("'"===s)a=!0,gt(i);else if(!gt(i))return null}return i.valueIdx<e.length?null:function(e){var t,r=e.year,n=e.month,i=e.day,o=e.hours,a=e.minutes,s=e.seconds,l=e.milliseconds,u=e.pmHour,c=e.UTC,d=e.hoursOffset,h=e.minutesOffset,f=null!==o||null!==a||s||null,p=new Date;return null===r&&null===n&&null===i&&f?(r=p.getFullYear(),n=p.getMonth(),i=p.getDate()):(null===r&&(r=p.getFullYear()),null===i&&(i=1)),u&&o<12&&(o+=12),c?(d&&(o+=-d),h&&(a+=-h*(d<0?-1:1)),t=new Date(Date.UTC(r,n,i,o,a,s,l))):function(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}(t=new Date(r,n,i,o,a,s,l),o),r<100&&t.setFullYear(r),t.getDate()!==i&&void 0===c?null:t}(i)||null}function kt(e){if(e&&0===e.indexOf("/D")){var t=it.exec(e);if(t){t=t[1];var r=ot.exec(t.substring(1));return t=new Date(parseInt(t,10)),r&&(n=r[0],i="-"===n.substr(0,1)?-1:1,o=n.substring(1),r=i*(o=60*parseInt(o.substr(0,2),10)+parseInt(o.substring(2),10)),t=rt(t,t.getTimezoneOffset(),0),t=rt(t,0,-1*r)),t}}var n,i,o}function Ct(e,t,r){if(void 0===r&&(r="en"),!e)return null;if(Xe(e))return e;var n=String(e).trim(),i=kt(n);if(i)return i;for(var o=h(r),a=t||function(e){for(var t=[],r=e.patterns,n=dt.length,i=0;i<n;i++)t.push(r[dt[i]]);return t.concat(ct)}(o.calendar),s=(a=Array.isArray(a)?a:[a]).length,l=0;l<s;l++)if(i=xt(n,a[l],o))return i;return i}bt.d=function(e){ft("d",e);var t=pt(2,e);if(null===t||ht(t,1,31))return!0;null===e.day&&(e.day=t)},bt.E=function(e,t){if(null===mt(qe(t,"days",ft("E",e),!1,!0),e,!0))return!0},bt.M=function(e,t){return vt("M",e,t)},bt.L=function(e,t){return vt("L",e,t)},bt.y=function(e){var t=ft("y",e),r=pt(1===t?void 0:t,e);if(null===r)return!0;if(2===t){var n=(new Date).getFullYear();(r=n-n%100+r)>2029&&(r-=100)}e.year=r},bt.h=function(e){ft("h",e);var t=pt(2,e);if(12===t&&(t=0),null===t||ht(t,0,11))return!0;e.hours=t},bt.K=function(e){ft("K",e);var t=pt(2,e);if(null===t||ht(t,0,11))return!0;e.hours=t},bt.a=function(e,t){var r=qe(t,"dayPeriods",ft("a",e),!1,!0),n=mt([r.pm],e,!0);if(!n&&!mt([r.am],e,!0))return!0;e.pmHour=n},bt.H=function(e){ft("H",e);var t=pt(2,e);if(null===t||ht(t,0,23))return!0;e.hours=t},bt.k=function(e){ft("k",e);var t=pt(2,e);if(null===t||ht(t,1,24))return!0;e.hours=24===t?0:t},bt.m=function(e){ft("m",e);var t=pt(2,e);if(null===t||ht(t,0,59))return!0;e.minutes=t},bt.s=function(e){ft("s",e);var t=pt(2,e);if(null===t||ht(t,0,59))return!0;e.seconds=t},bt.S=function(e){var t=ft("S",e),r=e.value.substr(e.valueIdx,t),n=null;if(isNaN(parseInt(r,10))||(n=le(n=parseFloat("0."+r,10),3),n*=1e3,e.valueIdx+=t),null===n||ht(n,0,999))return!0;e.milliseconds=n},bt.z=function(e,t){var r=ft("z",e)<4,n=yt(e,t,{shortHours:r,optionalMinutes:r,localizedName:!0});if(n)return n},bt.Z=function(e,t){var r=ft("Z",e),n=yt(e,t,{noSeparator:r<4,zLiteral:5===r,localizedName:4===r});if(n)return n},bt.x=function(e,t){var r=ft("x",e),n=yt(e,t,{noSeparator:3!==r&&5!==r,optionalMinutes:1===r});if(n)return n},bt.X=function(e,t){var r=ft("X",e),n=yt(e,t,{noSeparator:3!==r&&5!==r,optionalMinutes:1===r,zLiteral:!0});if(n)return n},bt.G=function(e,t){var r=qe(t,"eras",ft("G",e),!1,!0);if(null===mt([r[0],r[1]],e,!0))return!0},bt.e=function(e,t){return _t("e",e,t)},bt.c=function(e,t){return _t("c",e,t)};var St={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}};function Mt(e,t){var r=e[e.length-1];r&&"literal"===r.type?r.pattern+=t:e.push({type:"literal",pattern:t})}function Ot(e){return"h"===e||"K"===e}function zt(e,t){void 0===t&&(t="en");for(var r=Ge(e,h(t)),n=[],i=Je.lastIndex=0,o=Je.exec(r);o;){var a=o[0];if(i<o.index&&Mt(n,r.substring(i,o.index)),a.startsWith('"')||a.startsWith("'"))Mt(n,a);else{var s=a[0],l=Ke[s],u={type:l,pattern:a};"hour"===l&&(u.hour12=Ot(a));var c=St[l];if(c){var d=Ce(c.minLength)?c.minLength:c.minLength[s],f=a.length;f>=d&&(u.names={type:c.type,nameType:We(f),standAlone:c.standAlone===s})}n.push(u)}i=Je.lastIndex,o=Je.exec(r)}return i<r.length&&Mt(n,r.substring(i)),n}var Dt=/\{(\d+)(:[^\}]+)?\}/g;function It(e,t,r){if(t){if(Xe(e))return tt(e,t,r);if(Ce(e))return ke(e,t,r)}return null!=e?e:""}function Tt(e,t,r){return e.replace(Dt,(function(e,n,i){return It(t[parseInt(n,10)],i?i.substring(1):"",r)}))}},function(e,t,r){"use strict";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,"saveAs",(function(){return n})),r.d(t,"encodeBase64",(function(){return d}));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 d(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),d="",h=0;h<l.length;)i=(t=l.charCodeAt(h++))>>2,o=(3&t)<<4|(r=l.charCodeAt(h++))>>4,a=(15&r)<<2|(n=l.charCodeAt(h++))>>6,s=63&n,isNaN(r)?a=s=64:isNaN(n)&&(s=64),d=d+u.charAt(i)+u.charAt(o)+u.charAt(a)+u.charAt(s);return d}}])}));