@burdenoff/microfe-planmagnet 2026.930.25 → 2026.1001.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/dist/_virtual/__vite-browser-external.js +9 -0
  2. package/dist/_virtual/__vite-browser-external.js.map +1 -0
  3. package/dist/_virtual/_rolldown/runtime.js +5 -2
  4. package/dist/index.js +3 -1
  5. package/dist/node_modules/fflate/esm/browser.js +554 -0
  6. package/dist/node_modules/fflate/esm/browser.js.map +1 -0
  7. package/dist/node_modules/jszip/dist/jszip.min.js +3038 -0
  8. package/dist/node_modules/jszip/dist/jszip.min.js.map +1 -0
  9. package/dist/node_modules/pptxgenjs/dist/pptxgen.es.js +2151 -0
  10. package/dist/node_modules/pptxgenjs/dist/pptxgen.es.js.map +1 -0
  11. package/dist/node_modules/write-excel-file/browser/index.js +3 -0
  12. package/dist/node_modules/write-excel-file/modules/export/convertFileContentToUint8ArrayBrowser.js +13 -0
  13. package/dist/node_modules/write-excel-file/modules/export/convertFileContentToUint8ArrayBrowser.js.map +1 -0
  14. package/dist/node_modules/write-excel-file/modules/export/convertFilesContentToUint8Arrays.js +21 -0
  15. package/dist/node_modules/write-excel-file/modules/export/convertFilesContentToUint8Arrays.js.map +1 -0
  16. package/dist/node_modules/write-excel-file/modules/export/downloadBlob.js +11 -0
  17. package/dist/node_modules/write-excel-file/modules/export/downloadBlob.js.map +1 -0
  18. package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileBrowser.js +23 -0
  19. package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileBrowser.js.map +1 -0
  20. package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileUniversal.js +22 -0
  21. package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileUniversal.js.map +1 -0
  22. package/dist/node_modules/write-excel-file/modules/getSheetData/getSheetData.js +18 -0
  23. package/dist/node_modules/write-excel-file/modules/getSheetData/getSheetData.js.map +1 -0
  24. package/dist/node_modules/write-excel-file/modules/xlsx/features/conditionalFormatting.js +131 -0
  25. package/dist/node_modules/write-excel-file/modules/xlsx/features/conditionalFormatting.js.map +1 -0
  26. package/dist/node_modules/write-excel-file/modules/xlsx/features/images.js +188 -0
  27. package/dist/node_modules/write-excel-file/modules/xlsx/features/images.js.map +1 -0
  28. package/dist/node_modules/write-excel-file/modules/xlsx/features/stickyRowsOrColumns.js +52 -0
  29. package/dist/node_modules/write-excel-file/modules/xlsx/features/stickyRowsOrColumns.js.map +1 -0
  30. package/dist/node_modules/write-excel-file/modules/xlsx/files/_Content_Types_.xml.js +18 -0
  31. package/dist/node_modules/write-excel-file/modules/xlsx/files/_Content_Types_.xml.js.map +1 -0
  32. package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.js +18 -0
  33. package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.js.map +1 -0
  34. package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.rels.js +17 -0
  35. package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.rels.js.map +1 -0
  36. package/dist/node_modules/write-excel-file/modules/xlsx/files/rels.js +11 -0
  37. package/dist/node_modules/write-excel-file/modules/xlsx/files/rels.js.map +1 -0
  38. package/dist/node_modules/write-excel-file/modules/xlsx/files/sharedStrings.xml.js +42 -0
  39. package/dist/node_modules/write-excel-file/modules/xlsx/files/sharedStrings.xml.js.map +1 -0
  40. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/cell.js +102 -0
  41. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/cell.js.map +1 -0
  42. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/column.js +17 -0
  43. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/column.js.map +1 -0
  44. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/columns.js +15 -0
  45. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/columns.js.map +1 -0
  46. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/drawingReference.js +8 -0
  47. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/drawingReference.js.map +1 -0
  48. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/helpers/getCellStyleProperties.js +71 -0
  49. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/helpers/getCellStyleProperties.js.map +1 -0
  50. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/mergedCellsDescription.js +56 -0
  51. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/mergedCellsDescription.js.map +1 -0
  52. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageMargins.js +15 -0
  53. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageMargins.js.map +1 -0
  54. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageSetup.js +13 -0
  55. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageSetup.js.map +1 -0
  56. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/processMergedCells.js +44 -0
  57. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/processMergedCells.js.map +1 -0
  58. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/row.js +123 -0
  59. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/row.js.map +1 -0
  60. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheet.xml.js +41 -0
  61. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheet.xml.js.map +1 -0
  62. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetData.js +11 -0
  63. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetData.js.map +1 -0
  64. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetViews.js +17 -0
  65. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetViews.js.map +1 -0
  66. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml.rels.js +20 -0
  67. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml.rels.js.map +1 -0
  68. package/dist/node_modules/write-excel-file/modules/xlsx/files/styles.xml.js +77 -0
  69. package/dist/node_modules/write-excel-file/modules/xlsx/files/styles.xml.js.map +1 -0
  70. package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.js +22 -0
  71. package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.js.map +1 -0
  72. package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.rels.js +13 -0
  73. package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.rels.js.map +1 -0
  74. package/dist/node_modules/write-excel-file/modules/xlsx/generateXlsxFileContents.js +242 -0
  75. package/dist/node_modules/write-excel-file/modules/xlsx/generateXlsxFileContents.js.map +1 -0
  76. package/dist/node_modules/write-excel-file/modules/xlsx/getFeatures.js +29 -0
  77. package/dist/node_modules/write-excel-file/modules/xlsx/getFeatures.js.map +1 -0
  78. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/convertDateToSerialNumber.js +9 -0
  79. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/convertDateToSerialNumber.js.map +1 -0
  80. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getAdditionalContent.js +42 -0
  81. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getAdditionalContent.js.map +1 -0
  82. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getElementXml.js +43 -0
  83. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getElementXml.js.map +1 -0
  84. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getWrittenFiles.js +93 -0
  85. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getWrittenFiles.js.map +1 -0
  86. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/transformContent.js +39 -0
  87. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/transformContent.js.map +1 -0
  88. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getAlignmentXml.js +17 -0
  89. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getAlignmentXml.js.map +1 -0
  90. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getBorderXml.js +29 -0
  91. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getBorderXml.js.map +1 -0
  92. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getCellAddress.js +14 -0
  93. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getCellAddress.js.map +1 -0
  94. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFileExtensionForContentType.js +11 -0
  95. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFileExtensionForContentType.js.map +1 -0
  96. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFillXml.js +14 -0
  97. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFillXml.js.map +1 -0
  98. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFontXml.js +12 -0
  99. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFontXml.js.map +1 -0
  100. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getOrderOfSiblings.js +24 -0
  101. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getOrderOfSiblings.js.map +1 -0
  102. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getXlsxColorForHexColor.js +9 -0
  103. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getXlsxColorForHexColor.js.map +1 -0
  104. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasAlignment.js +9 -0
  105. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasAlignment.js.map +1 -0
  106. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasBorder.js +9 -0
  107. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasBorder.js.map +1 -0
  108. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFill.js +9 -0
  109. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFill.js.map +1 -0
  110. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFont.js +9 -0
  111. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFont.js.map +1 -0
  112. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isCellObject.js +9 -0
  113. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isCellObject.js.map +1 -0
  114. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isObject.js +9 -0
  115. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isObject.js.map +1 -0
  116. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/orderOfSiblings.js +27 -0
  117. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/orderOfSiblings.js.map +1 -0
  118. package/dist/node_modules/write-excel-file/modules/xlsx/initializeSharedStrings.js +17 -0
  119. package/dist/node_modules/write-excel-file/modules/xlsx/initializeSharedStrings.js.map +1 -0
  120. package/dist/node_modules/write-excel-file/modules/xlsx/initializeSheets.js +74 -0
  121. package/dist/node_modules/write-excel-file/modules/xlsx/initializeSheets.js.map +1 -0
  122. package/dist/node_modules/write-excel-file/modules/xlsx/initializeStyles.js +138 -0
  123. package/dist/node_modules/write-excel-file/modules/xlsx/initializeStyles.js.map +1 -0
  124. package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetData.js +40 -0
  125. package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetData.js.map +1 -0
  126. package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetName.js +11 -0
  127. package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetName.js.map +1 -0
  128. package/dist/node_modules/write-excel-file/modules/xml/appendMarkupInsideElement.js +9 -0
  129. package/dist/node_modules/write-excel-file/modules/xml/appendMarkupInsideElement.js.map +1 -0
  130. package/dist/node_modules/write-excel-file/modules/xml/applyEnclosingElementOffset.js +9 -0
  131. package/dist/node_modules/write-excel-file/modules/xml/applyEnclosingElementOffset.js.map +1 -0
  132. package/dist/node_modules/write-excel-file/modules/xml/escapeXmlSpecialCharacters.js +12 -0
  133. package/dist/node_modules/write-excel-file/modules/xml/escapeXmlSpecialCharacters.js.map +1 -0
  134. package/dist/node_modules/write-excel-file/modules/xml/findElement.js +12 -0
  135. package/dist/node_modules/write-excel-file/modules/xml/findElement.js.map +1 -0
  136. package/dist/node_modules/write-excel-file/modules/xml/findElementInsideElement.js +12 -0
  137. package/dist/node_modules/write-excel-file/modules/xml/findElementInsideElement.js.map +1 -0
  138. package/dist/node_modules/write-excel-file/modules/xml/findElementsNonRecursive_.js +41 -0
  139. package/dist/node_modules/write-excel-file/modules/xml/findElementsNonRecursive_.js.map +1 -0
  140. package/dist/node_modules/write-excel-file/modules/xml/getAttributesString.js +14 -0
  141. package/dist/node_modules/write-excel-file/modules/xml/getAttributesString.js.map +1 -0
  142. package/dist/node_modules/write-excel-file/modules/xml/getChildElements.js +42 -0
  143. package/dist/node_modules/write-excel-file/modules/xml/getChildElements.js.map +1 -0
  144. package/dist/node_modules/write-excel-file/modules/xml/getClosingTagMarkup.js +8 -0
  145. package/dist/node_modules/write-excel-file/modules/xml/getClosingTagMarkup.js.map +1 -0
  146. package/dist/node_modules/write-excel-file/modules/xml/getMarkupInsideElement.js +8 -0
  147. package/dist/node_modules/write-excel-file/modules/xml/getMarkupInsideElement.js.map +1 -0
  148. package/dist/node_modules/write-excel-file/modules/xml/getOpeningTagMarkup.js +9 -0
  149. package/dist/node_modules/write-excel-file/modules/xml/getOpeningTagMarkup.js.map +1 -0
  150. package/dist/node_modules/write-excel-file/modules/xml/getSelfClosingTagMarkup.js +9 -0
  151. package/dist/node_modules/write-excel-file/modules/xml/getSelfClosingTagMarkup.js.map +1 -0
  152. package/dist/node_modules/write-excel-file/modules/xml/insertElementMarkupAccordingToOrderOfSiblings.js +64 -0
  153. package/dist/node_modules/write-excel-file/modules/xml/insertElementMarkupAccordingToOrderOfSiblings.js.map +1 -0
  154. package/dist/node_modules/write-excel-file/modules/xml/prependMarkupInsideElement.js +9 -0
  155. package/dist/node_modules/write-excel-file/modules/xml/prependMarkupInsideElement.js.map +1 -0
  156. package/dist/node_modules/write-excel-file/modules/xml/removeInvalidXmlCharacters.js +9 -0
  157. package/dist/node_modules/write-excel-file/modules/xml/removeInvalidXmlCharacters.js.map +1 -0
  158. package/dist/node_modules/write-excel-file/modules/xml/replaceElement.js +8 -0
  159. package/dist/node_modules/write-excel-file/modules/xml/replaceElement.js.map +1 -0
  160. package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeName.js +10 -0
  161. package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeName.js.map +1 -0
  162. package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeValue.js +11 -0
  163. package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeValue.js.map +1 -0
  164. package/dist/node_modules/write-excel-file/modules/xml/sanitizeTextContent.js +11 -0
  165. package/dist/node_modules/write-excel-file/modules/xml/sanitizeTextContent.js.map +1 -0
  166. package/dist/node_modules/write-excel-file/modules/xml/setMarkupInsideElement.js +8 -0
  167. package/dist/node_modules/write-excel-file/modules/xml/setMarkupInsideElement.js.map +1 -0
  168. package/dist/node_modules/write-excel-file/modules/zip/zipToArrayBuffer.js +18 -0
  169. package/dist/node_modules/write-excel-file/modules/zip/zipToArrayBuffer.js.map +1 -0
  170. package/dist/planmagnet/PlanMagnetRoot.d.ts.map +1 -1
  171. package/dist/planmagnet/PlanMagnetRoot.js +160 -147
  172. package/dist/planmagnet/PlanMagnetRoot.js.map +1 -1
  173. package/dist/planmagnet/PlanMagnetRoutes.d.ts.map +1 -1
  174. package/dist/planmagnet/PlanMagnetRoutes.js +126 -106
  175. package/dist/planmagnet/PlanMagnetRoutes.js.map +1 -1
  176. package/dist/planmagnet/comments/CommentThread.js +36 -36
  177. package/dist/planmagnet/comments/RoadmapComments.js +21 -21
  178. package/dist/planmagnet/controls/AutomationRuleControls.js +24 -24
  179. package/dist/planmagnet/controls/FeatureControls.js +60 -60
  180. package/dist/planmagnet/controls/Pickers.d.ts +10 -0
  181. package/dist/planmagnet/controls/Pickers.d.ts.map +1 -1
  182. package/dist/planmagnet/controls/Pickers.js +75 -27
  183. package/dist/planmagnet/controls/Pickers.js.map +1 -1
  184. package/dist/planmagnet/controls/SyncControls.js +59 -59
  185. package/dist/planmagnet/discussion/WorkItemDiscussionPanel.js +15 -15
  186. package/dist/planmagnet/docs/DocSuggestionsPanel.js +12 -12
  187. package/dist/planmagnet/docs/DocVersionCompare.js +3 -3
  188. package/dist/planmagnet/forecast/DeliveryForecastCard.d.ts +12 -0
  189. package/dist/planmagnet/forecast/DeliveryForecastCard.d.ts.map +1 -0
  190. package/dist/planmagnet/forecast/DeliveryForecastCard.js +208 -0
  191. package/dist/planmagnet/forecast/DeliveryForecastCard.js.map +1 -0
  192. package/dist/planmagnet/forecast/ProjectOutlookCard.d.ts +5 -0
  193. package/dist/planmagnet/forecast/ProjectOutlookCard.d.ts.map +1 -0
  194. package/dist/planmagnet/forecast/ProjectOutlookCard.js +190 -0
  195. package/dist/planmagnet/forecast/ProjectOutlookCard.js.map +1 -0
  196. package/dist/planmagnet/forecast/ProjectRiskSummaryCard.d.ts +5 -0
  197. package/dist/planmagnet/forecast/ProjectRiskSummaryCard.d.ts.map +1 -0
  198. package/dist/planmagnet/forecast/ProjectRiskSummaryCard.js +99 -0
  199. package/dist/planmagnet/forecast/ProjectRiskSummaryCard.js.map +1 -0
  200. package/dist/planmagnet/forecast/ResourceForecastCard.d.ts +8 -0
  201. package/dist/planmagnet/forecast/ResourceForecastCard.d.ts.map +1 -0
  202. package/dist/planmagnet/forecast/ResourceForecastCard.js +185 -0
  203. package/dist/planmagnet/forecast/ResourceForecastCard.js.map +1 -0
  204. package/dist/planmagnet/forecast/riskFlags.d.ts +35 -0
  205. package/dist/planmagnet/forecast/riskFlags.d.ts.map +1 -0
  206. package/dist/planmagnet/forecast/riskFlags.js +37 -0
  207. package/dist/planmagnet/forecast/riskFlags.js.map +1 -0
  208. package/dist/planmagnet/index.d.ts +2 -0
  209. package/dist/planmagnet/index.d.ts.map +1 -1
  210. package/dist/planmagnet/index.js +2 -0
  211. package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.d.ts.map +1 -1
  212. package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +216 -182
  213. package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js.map +1 -1
  214. package/dist/planmagnet/pages/AutomationAutomationRuleDetailPagePage.js +11 -11
  215. package/dist/planmagnet/pages/AutomationCreateAutomationRulePagePage.js +4 -4
  216. package/dist/planmagnet/pages/DocsDocDetailPagePage.js +163 -163
  217. package/dist/planmagnet/pages/DocsDocDetailPagePage.js.map +1 -1
  218. package/dist/planmagnet/pages/IntegrationsNewSyncPagePage.js +165 -165
  219. package/dist/planmagnet/pages/IntegrationsNewSyncPagePage.js.map +1 -1
  220. package/dist/planmagnet/pages/ProjectsAtRiskPagePage.d.ts +2 -0
  221. package/dist/planmagnet/pages/ProjectsAtRiskPagePage.d.ts.map +1 -0
  222. package/dist/planmagnet/pages/ProjectsAtRiskPagePage.js +234 -0
  223. package/dist/planmagnet/pages/ProjectsAtRiskPagePage.js.map +1 -0
  224. package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.d.ts.map +1 -1
  225. package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +206 -182
  226. package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js.map +1 -1
  227. package/dist/planmagnet/pages/ReportsCreateReportPagePage.d.ts +6 -0
  228. package/dist/planmagnet/pages/ReportsCreateReportPagePage.d.ts.map +1 -1
  229. package/dist/planmagnet/pages/ReportsCreateReportPagePage.js +5 -177
  230. package/dist/planmagnet/pages/ReportsCreateReportPagePage.js.map +1 -1
  231. package/dist/planmagnet/pages/ReportsEditReportPagePage.d.ts +3 -0
  232. package/dist/planmagnet/pages/ReportsEditReportPagePage.d.ts.map +1 -0
  233. package/dist/planmagnet/pages/ReportsEditReportPagePage.js +15 -0
  234. package/dist/planmagnet/pages/ReportsEditReportPagePage.js.map +1 -0
  235. package/dist/planmagnet/pages/ReportsReportPagePage.d.ts +7 -0
  236. package/dist/planmagnet/pages/ReportsReportPagePage.d.ts.map +1 -0
  237. package/dist/planmagnet/pages/ReportsReportPagePage.js +226 -0
  238. package/dist/planmagnet/pages/ReportsReportPagePage.js.map +1 -0
  239. package/dist/planmagnet/pages/ReportsReportsPagePage.d.ts.map +1 -1
  240. package/dist/planmagnet/pages/ReportsReportsPagePage.js +224 -496
  241. package/dist/planmagnet/pages/ReportsReportsPagePage.js.map +1 -1
  242. package/dist/planmagnet/pages/TeamTeamDetailPagePage.d.ts.map +1 -1
  243. package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +88 -83
  244. package/dist/planmagnet/pages/TeamTeamDetailPagePage.js.map +1 -1
  245. package/dist/planmagnet/pages/analytics/SprintDeliveryCards.d.ts.map +1 -1
  246. package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js +139 -112
  247. package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js.map +1 -1
  248. package/dist/planmagnet/pages/analytics/StatusFlowCard.js +21 -21
  249. package/dist/planmagnet/product/ProductControls.js +91 -91
  250. package/dist/planmagnet/reports/ExportMenu.d.ts +9 -0
  251. package/dist/planmagnet/reports/ExportMenu.d.ts.map +1 -0
  252. package/dist/planmagnet/reports/ExportMenu.js +116 -0
  253. package/dist/planmagnet/reports/ExportMenu.js.map +1 -0
  254. package/dist/planmagnet/reports/PrintReportView.d.ts +24 -0
  255. package/dist/planmagnet/reports/PrintReportView.d.ts.map +1 -0
  256. package/dist/planmagnet/reports/PrintReportView.js +75 -0
  257. package/dist/planmagnet/reports/PrintReportView.js.map +1 -0
  258. package/dist/planmagnet/reports/ReportBuilderCanvas.d.ts +8 -0
  259. package/dist/planmagnet/reports/ReportBuilderCanvas.d.ts.map +1 -0
  260. package/dist/planmagnet/reports/ReportBuilderCanvas.js +261 -0
  261. package/dist/planmagnet/reports/ReportBuilderCanvas.js.map +1 -0
  262. package/dist/planmagnet/reports/ReportBuilderPage.d.ts +5 -0
  263. package/dist/planmagnet/reports/ReportBuilderPage.d.ts.map +1 -0
  264. package/dist/planmagnet/reports/ReportBuilderPage.js +198 -0
  265. package/dist/planmagnet/reports/ReportBuilderPage.js.map +1 -0
  266. package/dist/planmagnet/reports/ReportRunHistory.d.ts +8 -0
  267. package/dist/planmagnet/reports/ReportRunHistory.d.ts.map +1 -0
  268. package/dist/planmagnet/reports/ReportRunHistory.js +63 -0
  269. package/dist/planmagnet/reports/ReportRunHistory.js.map +1 -0
  270. package/dist/planmagnet/reports/ReportWidgetRenderer.d.ts +7 -0
  271. package/dist/planmagnet/reports/ReportWidgetRenderer.d.ts.map +1 -0
  272. package/dist/planmagnet/reports/ReportWidgetRenderer.js +251 -0
  273. package/dist/planmagnet/reports/ReportWidgetRenderer.js.map +1 -0
  274. package/dist/planmagnet/reports/SchedulesPanel.d.ts +4 -0
  275. package/dist/planmagnet/reports/SchedulesPanel.d.ts.map +1 -0
  276. package/dist/planmagnet/reports/SchedulesPanel.js +457 -0
  277. package/dist/planmagnet/reports/SchedulesPanel.js.map +1 -0
  278. package/dist/planmagnet/reports/ShareDialog.d.ts +5 -0
  279. package/dist/planmagnet/reports/ShareDialog.d.ts.map +1 -0
  280. package/dist/planmagnet/reports/ShareDialog.js +234 -0
  281. package/dist/planmagnet/reports/ShareDialog.js.map +1 -0
  282. package/dist/planmagnet/reports/SharedReportPage.d.ts +4 -0
  283. package/dist/planmagnet/reports/SharedReportPage.d.ts.map +1 -0
  284. package/dist/planmagnet/reports/SharedReportPage.js +180 -0
  285. package/dist/planmagnet/reports/SharedReportPage.js.map +1 -0
  286. package/dist/planmagnet/reports/WidgetEditorDialog.d.ts +10 -0
  287. package/dist/planmagnet/reports/WidgetEditorDialog.d.ts.map +1 -0
  288. package/dist/planmagnet/reports/WidgetEditorDialog.js +220 -0
  289. package/dist/planmagnet/reports/WidgetEditorDialog.js.map +1 -0
  290. package/dist/planmagnet/reports/reportExportPptx.d.ts +4 -0
  291. package/dist/planmagnet/reports/reportExportPptx.d.ts.map +1 -0
  292. package/dist/planmagnet/reports/reportExportPptx.js +118 -0
  293. package/dist/planmagnet/reports/reportExportPptx.js.map +1 -0
  294. package/dist/planmagnet/reports/reportExportXlsx.d.ts +4 -0
  295. package/dist/planmagnet/reports/reportExportXlsx.d.ts.map +1 -0
  296. package/dist/planmagnet/reports/reportExportXlsx.js +42 -0
  297. package/dist/planmagnet/reports/reportExportXlsx.js.map +1 -0
  298. package/dist/planmagnet/reports/reportGraphql.d.ts +28 -0
  299. package/dist/planmagnet/reports/reportGraphql.d.ts.map +1 -0
  300. package/dist/planmagnet/reports/reportGraphql.js +360 -0
  301. package/dist/planmagnet/reports/reportGraphql.js.map +1 -0
  302. package/dist/planmagnet/reports/reportModel.d.ts +198 -0
  303. package/dist/planmagnet/reports/reportModel.d.ts.map +1 -0
  304. package/dist/planmagnet/reports/reportModel.js +328 -0
  305. package/dist/planmagnet/reports/reportModel.js.map +1 -0
  306. package/dist/planmagnet/reports/sharedReportRoute.d.ts +15 -0
  307. package/dist/planmagnet/reports/sharedReportRoute.d.ts.map +1 -0
  308. package/dist/planmagnet/reports/sharedReportRoute.js +9 -0
  309. package/dist/planmagnet/reports/sharedReportRoute.js.map +1 -0
  310. package/dist/planmagnet/roadmaps/RoadmapControls.js +60 -60
  311. package/dist/planmagnet/roadmaps/RoadmapNowNextLater.js +30 -30
  312. package/dist/planmagnet/roadmaps/RoadmapReviewPanel.js +21 -21
  313. package/dist/planmagnet/roadmaps/RoadmapVersionsPanel.js +22 -22
  314. package/package.json +6 -4
@@ -0,0 +1,3038 @@
1
+ import { __commonJSMin as e, __require as t } from "../../../_virtual/_rolldown/runtime.js";
2
+ //#region node_modules/jszip/dist/jszip.min.js
3
+ var n = /* @__PURE__ */ e(((e, n) => {
4
+ (function(t) {
5
+ typeof e == "object" && n !== void 0 ? n.exports = t() : typeof define == "function" && define.amd ? define([], t) : (typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : this).JSZip = t();
6
+ })(function() {
7
+ return function e(n, r, i) {
8
+ function a(s, c) {
9
+ if (!r[s]) {
10
+ if (!n[s]) {
11
+ var l = typeof t == "function" && t;
12
+ if (!c && l) return l(s, !0);
13
+ if (o) return o(s, !0);
14
+ var u = /* @__PURE__ */ Error("Cannot find module '" + s + "'");
15
+ throw u.code = "MODULE_NOT_FOUND", u;
16
+ }
17
+ var d = r[s] = { exports: {} };
18
+ n[s][0].call(d.exports, function(e) {
19
+ var t = n[s][1][e];
20
+ return a(t || e);
21
+ }, d, d.exports, e, n, r, i);
22
+ }
23
+ return r[s].exports;
24
+ }
25
+ for (var o = typeof t == "function" && t, s = 0; s < i.length; s++) a(i[s]);
26
+ return a;
27
+ }({
28
+ 1: [function(e, t, n) {
29
+ var r = e("./utils"), i = e("./support"), a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
30
+ n.encode = function(e) {
31
+ for (var t, n, i, o, s, c, l, u = [], d = 0, f = e.length, p = f, m = r.getTypeOf(e) !== "string"; d < e.length;) p = f - d, i = m ? (t = e[d++], n = d < f ? e[d++] : 0, d < f ? e[d++] : 0) : (t = e.charCodeAt(d++), n = d < f ? e.charCodeAt(d++) : 0, d < f ? e.charCodeAt(d++) : 0), o = t >> 2, s = (3 & t) << 4 | n >> 4, c = 1 < p ? (15 & n) << 2 | i >> 6 : 64, l = 2 < p ? 63 & i : 64, u.push(a.charAt(o) + a.charAt(s) + a.charAt(c) + a.charAt(l));
32
+ return u.join("");
33
+ }, n.decode = function(e) {
34
+ var t, n, r, o, s, c, l = 0, u = 0, d = "data:";
35
+ if (e.substr(0, d.length) === d) throw Error("Invalid base64 input, it looks like a data url.");
36
+ var f, p = 3 * (e = e.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
37
+ if (e.charAt(e.length - 1) === a.charAt(64) && p--, e.charAt(e.length - 2) === a.charAt(64) && p--, p % 1 != 0) throw Error("Invalid base64 input, bad content length.");
38
+ for (f = i.uint8array ? new Uint8Array(0 | p) : Array(0 | p); l < e.length;) t = a.indexOf(e.charAt(l++)) << 2 | (o = a.indexOf(e.charAt(l++))) >> 4, n = (15 & o) << 4 | (s = a.indexOf(e.charAt(l++))) >> 2, r = (3 & s) << 6 | (c = a.indexOf(e.charAt(l++))), f[u++] = t, s !== 64 && (f[u++] = n), c !== 64 && (f[u++] = r);
39
+ return f;
40
+ };
41
+ }, {
42
+ "./support": 30,
43
+ "./utils": 32
44
+ }],
45
+ 2: [function(e, t, n) {
46
+ var r = e("./external"), i = e("./stream/DataWorker"), a = e("./stream/Crc32Probe"), o = e("./stream/DataLengthProbe");
47
+ function s(e, t, n, r, i) {
48
+ this.compressedSize = e, this.uncompressedSize = t, this.crc32 = n, this.compression = r, this.compressedContent = i;
49
+ }
50
+ s.prototype = {
51
+ getContentWorker: function() {
52
+ var e = new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")), t = this;
53
+ return e.on("end", function() {
54
+ if (this.streamInfo.data_length !== t.uncompressedSize) throw Error("Bug : uncompressed data size mismatch");
55
+ }), e;
56
+ },
57
+ getCompressedWorker: function() {
58
+ return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
59
+ }
60
+ }, s.createWorkerFrom = function(e, t, n) {
61
+ return e.pipe(new a()).pipe(new o("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression", t);
62
+ }, t.exports = s;
63
+ }, {
64
+ "./external": 6,
65
+ "./stream/Crc32Probe": 25,
66
+ "./stream/DataLengthProbe": 26,
67
+ "./stream/DataWorker": 27
68
+ }],
69
+ 3: [function(e, t, n) {
70
+ var r = e("./stream/GenericWorker");
71
+ n.STORE = {
72
+ magic: "\0\0",
73
+ compressWorker: function() {
74
+ return new r("STORE compression");
75
+ },
76
+ uncompressWorker: function() {
77
+ return new r("STORE decompression");
78
+ }
79
+ }, n.DEFLATE = e("./flate");
80
+ }, {
81
+ "./flate": 7,
82
+ "./stream/GenericWorker": 28
83
+ }],
84
+ 4: [function(e, t, n) {
85
+ var r = e("./utils"), i = function() {
86
+ for (var e, t = [], n = 0; n < 256; n++) {
87
+ e = n;
88
+ for (var r = 0; r < 8; r++) e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1;
89
+ t[n] = e;
90
+ }
91
+ return t;
92
+ }();
93
+ t.exports = function(e, t) {
94
+ return e !== void 0 && e.length ? r.getTypeOf(e) === "string" ? function(e, t, n, r) {
95
+ var a = i, o = r + n;
96
+ e ^= -1;
97
+ for (var s = r; s < o; s++) e = e >>> 8 ^ a[255 & (e ^ t.charCodeAt(s))];
98
+ return -1 ^ e;
99
+ }(0 | t, e, e.length, 0) : function(e, t, n, r) {
100
+ var a = i, o = r + n;
101
+ e ^= -1;
102
+ for (var s = r; s < o; s++) e = e >>> 8 ^ a[255 & (e ^ t[s])];
103
+ return -1 ^ e;
104
+ }(0 | t, e, e.length, 0) : 0;
105
+ };
106
+ }, { "./utils": 32 }],
107
+ 5: [function(e, t, n) {
108
+ n.base64 = !1, n.binary = !1, n.dir = !1, n.createFolders = !0, n.date = null, n.compression = null, n.compressionOptions = null, n.comment = null, n.unixPermissions = null, n.dosPermissions = null;
109
+ }, {}],
110
+ 6: [function(e, t, n) {
111
+ var r = null;
112
+ r = typeof Promise < "u" ? Promise : e("lie"), t.exports = { Promise: r };
113
+ }, { lie: 37 }],
114
+ 7: [function(e, t, n) {
115
+ var r = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", i = e("pako"), a = e("./utils"), o = e("./stream/GenericWorker"), s = r ? "uint8array" : "array";
116
+ function c(e, t) {
117
+ o.call(this, "FlateWorker/" + e), this._pako = null, this._pakoAction = e, this._pakoOptions = t, this.meta = {};
118
+ }
119
+ n.magic = "\b\0", a.inherits(c, o), c.prototype.processChunk = function(e) {
120
+ this.meta = e.meta, this._pako === null && this._createPako(), this._pako.push(a.transformTo(s, e.data), !1);
121
+ }, c.prototype.flush = function() {
122
+ o.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
123
+ }, c.prototype.cleanUp = function() {
124
+ o.prototype.cleanUp.call(this), this._pako = null;
125
+ }, c.prototype._createPako = function() {
126
+ this._pako = new i[this._pakoAction]({
127
+ raw: !0,
128
+ level: this._pakoOptions.level || -1
129
+ });
130
+ var e = this;
131
+ this._pako.onData = function(t) {
132
+ e.push({
133
+ data: t,
134
+ meta: e.meta
135
+ });
136
+ };
137
+ }, n.compressWorker = function(e) {
138
+ return new c("Deflate", e);
139
+ }, n.uncompressWorker = function() {
140
+ return new c("Inflate", {});
141
+ };
142
+ }, {
143
+ "./stream/GenericWorker": 28,
144
+ "./utils": 32,
145
+ pako: 38
146
+ }],
147
+ 8: [function(e, t, n) {
148
+ function r(e, t) {
149
+ var n, r = "";
150
+ for (n = 0; n < t; n++) r += String.fromCharCode(255 & e), e >>>= 8;
151
+ return r;
152
+ }
153
+ function i(e, t, n, i, o, u) {
154
+ var d, f, p = e.file, m = e.compression, h = u !== s.utf8encode, g = a.transformTo("string", u(p.name)), _ = a.transformTo("string", s.utf8encode(p.name)), v = p.comment, y = a.transformTo("string", u(v)), b = a.transformTo("string", s.utf8encode(v)), x = _.length !== p.name.length, S = b.length !== v.length, C = "", w = "", T = "", E = p.dir, D = p.date, O = {
155
+ crc32: 0,
156
+ compressedSize: 0,
157
+ uncompressedSize: 0
158
+ };
159
+ t && !n || (O.crc32 = e.crc32, O.compressedSize = e.compressedSize, O.uncompressedSize = e.uncompressedSize);
160
+ var k = 0;
161
+ t && (k |= 8), h || !x && !S || (k |= 2048);
162
+ var A = 0, j = 0;
163
+ E && (A |= 16), o === "UNIX" ? (j = 798, A |= function(e, t) {
164
+ var n = e;
165
+ return e || (n = t ? 16893 : 33204), (65535 & n) << 16;
166
+ }(p.unixPermissions, E)) : (j = 20, A |= function(e) {
167
+ return 63 & (e || 0);
168
+ }(p.dosPermissions)), d = D.getUTCHours(), d <<= 6, d |= D.getUTCMinutes(), d <<= 5, d |= D.getUTCSeconds() / 2, f = D.getUTCFullYear() - 1980, f <<= 4, f |= D.getUTCMonth() + 1, f <<= 5, f |= D.getUTCDate(), x && (w = r(1, 1) + r(c(g), 4) + _, C += "up" + r(w.length, 2) + w), S && (T = r(1, 1) + r(c(y), 4) + b, C += "uc" + r(T.length, 2) + T);
169
+ var M = "";
170
+ return M += "\n\0", M += r(k, 2), M += m.magic, M += r(d, 2), M += r(f, 2), M += r(O.crc32, 4), M += r(O.compressedSize, 4), M += r(O.uncompressedSize, 4), M += r(g.length, 2), M += r(C.length, 2), {
171
+ fileRecord: l.LOCAL_FILE_HEADER + M + g + C,
172
+ dirRecord: l.CENTRAL_FILE_HEADER + r(j, 2) + M + r(y.length, 2) + "\0\0\0\0" + r(A, 4) + r(i, 4) + g + C + y
173
+ };
174
+ }
175
+ var a = e("../utils"), o = e("../stream/GenericWorker"), s = e("../utf8"), c = e("../crc32"), l = e("../signature");
176
+ function u(e, t, n, r) {
177
+ o.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = t, this.zipPlatform = n, this.encodeFileName = r, this.streamFiles = e, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
178
+ }
179
+ a.inherits(u, o), u.prototype.push = function(e) {
180
+ var t = e.meta.percent || 0, n = this.entriesCount, r = this._sources.length;
181
+ this.accumulate ? this.contentBuffer.push(e) : (this.bytesWritten += e.data.length, o.prototype.push.call(this, {
182
+ data: e.data,
183
+ meta: {
184
+ currentFile: this.currentFile,
185
+ percent: n ? (t + 100 * (n - r - 1)) / n : 100
186
+ }
187
+ }));
188
+ }, u.prototype.openedSource = function(e) {
189
+ this.currentSourceOffset = this.bytesWritten, this.currentFile = e.file.name;
190
+ var t = this.streamFiles && !e.file.dir;
191
+ if (t) {
192
+ var n = i(e, t, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
193
+ this.push({
194
+ data: n.fileRecord,
195
+ meta: { percent: 0 }
196
+ });
197
+ } else this.accumulate = !0;
198
+ }, u.prototype.closedSource = function(e) {
199
+ this.accumulate = !1;
200
+ var t = this.streamFiles && !e.file.dir, n = i(e, t, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
201
+ if (this.dirRecords.push(n.dirRecord), t) this.push({
202
+ data: function(e) {
203
+ return l.DATA_DESCRIPTOR + r(e.crc32, 4) + r(e.compressedSize, 4) + r(e.uncompressedSize, 4);
204
+ }(e),
205
+ meta: { percent: 100 }
206
+ });
207
+ else for (this.push({
208
+ data: n.fileRecord,
209
+ meta: { percent: 0 }
210
+ }); this.contentBuffer.length;) this.push(this.contentBuffer.shift());
211
+ this.currentFile = null;
212
+ }, u.prototype.flush = function() {
213
+ for (var e = this.bytesWritten, t = 0; t < this.dirRecords.length; t++) this.push({
214
+ data: this.dirRecords[t],
215
+ meta: { percent: 100 }
216
+ });
217
+ var n = this.bytesWritten - e, i = function(e, t, n, i, o) {
218
+ var s = a.transformTo("string", o(i));
219
+ return l.CENTRAL_DIRECTORY_END + "\0\0\0\0" + r(e, 2) + r(e, 2) + r(t, 4) + r(n, 4) + r(s.length, 2) + s;
220
+ }(this.dirRecords.length, n, e, this.zipComment, this.encodeFileName);
221
+ this.push({
222
+ data: i,
223
+ meta: { percent: 100 }
224
+ });
225
+ }, u.prototype.prepareNextSource = function() {
226
+ this.previous = this._sources.shift(), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume();
227
+ }, u.prototype.registerPrevious = function(e) {
228
+ this._sources.push(e);
229
+ var t = this;
230
+ return e.on("data", function(e) {
231
+ t.processChunk(e);
232
+ }), e.on("end", function() {
233
+ t.closedSource(t.previous.streamInfo), t._sources.length ? t.prepareNextSource() : t.end();
234
+ }), e.on("error", function(e) {
235
+ t.error(e);
236
+ }), this;
237
+ }, u.prototype.resume = function() {
238
+ return !!o.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0));
239
+ }, u.prototype.error = function(e) {
240
+ var t = this._sources;
241
+ if (!o.prototype.error.call(this, e)) return !1;
242
+ for (var n = 0; n < t.length; n++) try {
243
+ t[n].error(e);
244
+ } catch {}
245
+ return !0;
246
+ }, u.prototype.lock = function() {
247
+ o.prototype.lock.call(this);
248
+ for (var e = this._sources, t = 0; t < e.length; t++) e[t].lock();
249
+ }, t.exports = u;
250
+ }, {
251
+ "../crc32": 4,
252
+ "../signature": 23,
253
+ "../stream/GenericWorker": 28,
254
+ "../utf8": 31,
255
+ "../utils": 32
256
+ }],
257
+ 9: [function(e, t, n) {
258
+ var r = e("../compressions"), i = e("./ZipFileWorker");
259
+ n.generateWorker = function(e, t, n) {
260
+ var a = new i(t.streamFiles, n, t.platform, t.encodeFileName), o = 0;
261
+ try {
262
+ e.forEach(function(e, n) {
263
+ o++;
264
+ var i = function(e, t) {
265
+ var n = e || t, i = r[n];
266
+ if (!i) throw Error(n + " is not a valid compression method !");
267
+ return i;
268
+ }(n.options.compression, t.compression), s = n.options.compressionOptions || t.compressionOptions || {}, c = n.dir, l = n.date;
269
+ n._compressWorker(i, s).withStreamInfo("file", {
270
+ name: e,
271
+ dir: c,
272
+ date: l,
273
+ comment: n.comment || "",
274
+ unixPermissions: n.unixPermissions,
275
+ dosPermissions: n.dosPermissions
276
+ }).pipe(a);
277
+ }), a.entriesCount = o;
278
+ } catch (e) {
279
+ a.error(e);
280
+ }
281
+ return a;
282
+ };
283
+ }, {
284
+ "../compressions": 3,
285
+ "./ZipFileWorker": 8
286
+ }],
287
+ 10: [function(e, t, n) {
288
+ function r() {
289
+ if (!(this instanceof r)) return new r();
290
+ if (arguments.length) throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");
291
+ this.files = Object.create(null), this.comment = null, this.root = "", this.clone = function() {
292
+ var e = new r();
293
+ for (var t in this) typeof this[t] != "function" && (e[t] = this[t]);
294
+ return e;
295
+ };
296
+ }
297
+ (r.prototype = e("./object")).loadAsync = e("./load"), r.support = e("./support"), r.defaults = e("./defaults"), r.version = "3.10.2", r.loadAsync = function(e, t) {
298
+ return new r().loadAsync(e, t);
299
+ }, r.external = e("./external"), t.exports = r;
300
+ }, {
301
+ "./defaults": 5,
302
+ "./external": 6,
303
+ "./load": 11,
304
+ "./object": 15,
305
+ "./support": 30
306
+ }],
307
+ 11: [function(e, t, n) {
308
+ var r = e("./utils"), i = e("./external"), a = e("./utf8"), o = e("./zipEntries"), s = e("./stream/Crc32Probe"), c = e("./nodejsUtils");
309
+ function l(e) {
310
+ return new i.Promise(function(t, n) {
311
+ var r = e.decompressed.getContentWorker().pipe(new s());
312
+ r.on("error", function(e) {
313
+ n(e);
314
+ }).on("end", function() {
315
+ r.streamInfo.crc32 === e.decompressed.crc32 ? t() : n(/* @__PURE__ */ Error("Corrupted zip : CRC32 mismatch"));
316
+ }).resume();
317
+ });
318
+ }
319
+ t.exports = function(e, t) {
320
+ var n = this;
321
+ return t = r.extend(t || {}, {
322
+ base64: !1,
323
+ checkCRC32: !1,
324
+ optimizedBinaryString: !1,
325
+ createFolders: !1,
326
+ decodeFileName: a.utf8decode
327
+ }), c.isNode && c.isStream(e) ? i.Promise.reject(/* @__PURE__ */ Error("JSZip can't accept a stream when loading a zip file.")) : r.prepareContent("the loaded zip file", e, !0, t.optimizedBinaryString, t.base64).then(function(e) {
328
+ var n = new o(t);
329
+ return n.load(e), n;
330
+ }).then(function(e) {
331
+ var n = [i.Promise.resolve(e)], r = e.files;
332
+ if (t.checkCRC32) for (var a = 0; a < r.length; a++) n.push(l(r[a]));
333
+ return i.Promise.all(n);
334
+ }).then(function(e) {
335
+ for (var i = e.shift(), a = i.files, o = 0; o < a.length; o++) {
336
+ var s = a[o], c = s.fileNameStr, l = r.resolve(s.fileNameStr);
337
+ n.file(l, s.decompressed, {
338
+ binary: !0,
339
+ optimizedBinaryString: !0,
340
+ date: s.date,
341
+ dir: s.dir,
342
+ comment: s.fileCommentStr.length ? s.fileCommentStr : null,
343
+ unixPermissions: s.unixPermissions,
344
+ dosPermissions: s.dosPermissions,
345
+ createFolders: t.createFolders
346
+ }), s.dir || (n.file(l).unsafeOriginalName = c);
347
+ }
348
+ return i.zipComment.length && (n.comment = i.zipComment), n;
349
+ });
350
+ };
351
+ }, {
352
+ "./external": 6,
353
+ "./nodejsUtils": 14,
354
+ "./stream/Crc32Probe": 25,
355
+ "./utf8": 31,
356
+ "./utils": 32,
357
+ "./zipEntries": 33
358
+ }],
359
+ 12: [function(e, t, n) {
360
+ var r = e("../utils"), i = e("../stream/GenericWorker");
361
+ function a(e, t) {
362
+ i.call(this, "Nodejs stream input adapter for " + e), this._upstreamEnded = !1, this._bindStream(t);
363
+ }
364
+ r.inherits(a, i), a.prototype._bindStream = function(e) {
365
+ var t = this;
366
+ (this._stream = e).pause(), e.on("data", function(e) {
367
+ t.push({
368
+ data: e,
369
+ meta: { percent: 0 }
370
+ });
371
+ }).on("error", function(e) {
372
+ t.isPaused ? this.generatedError = e : t.error(e);
373
+ }).on("end", function() {
374
+ t.isPaused ? t._upstreamEnded = !0 : t.end();
375
+ });
376
+ }, a.prototype.pause = function() {
377
+ return !!i.prototype.pause.call(this) && (this._stream.pause(), !0);
378
+ }, a.prototype.resume = function() {
379
+ return !!i.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0);
380
+ }, t.exports = a;
381
+ }, {
382
+ "../stream/GenericWorker": 28,
383
+ "../utils": 32
384
+ }],
385
+ 13: [function(e, t, n) {
386
+ var r = e("readable-stream").Readable;
387
+ function i(e, t, n) {
388
+ r.call(this, t), this._helper = e;
389
+ var i = this;
390
+ e.on("data", function(e, t) {
391
+ i.push(e) || i._helper.pause(), n && n(t);
392
+ }).on("error", function(e) {
393
+ i.emit("error", e);
394
+ }).on("end", function() {
395
+ i.push(null);
396
+ });
397
+ }
398
+ e("../utils").inherits(i, r), i.prototype._read = function() {
399
+ this._helper.resume();
400
+ }, t.exports = i;
401
+ }, {
402
+ "../utils": 32,
403
+ "readable-stream": 16
404
+ }],
405
+ 14: [function(e, t, n) {
406
+ t.exports = {
407
+ isNode: typeof Buffer < "u",
408
+ newBufferFrom: function(e, t) {
409
+ if (Buffer.from && Buffer.from !== Uint8Array.from) return Buffer.from(e, t);
410
+ if (typeof e == "number") throw Error("The \"data\" argument must not be a number");
411
+ return new Buffer(e, t);
412
+ },
413
+ allocBuffer: function(e) {
414
+ if (Buffer.alloc) return Buffer.alloc(e);
415
+ var t = new Buffer(e);
416
+ return t.fill(0), t;
417
+ },
418
+ isBuffer: function(e) {
419
+ return Buffer.isBuffer(e);
420
+ },
421
+ isStream: function(e) {
422
+ return e && typeof e.on == "function" && typeof e.pause == "function" && typeof e.resume == "function";
423
+ }
424
+ };
425
+ }, {}],
426
+ 15: [function(e, t, n) {
427
+ function r(e, t, n) {
428
+ var r, i = a.getTypeOf(t), s = a.extend(n || {}, c);
429
+ s.date = s.date || /* @__PURE__ */ new Date(), s.compression !== null && (s.compression = s.compression.toUpperCase()), typeof s.unixPermissions == "string" && (s.unixPermissions = parseInt(s.unixPermissions, 8)), s.unixPermissions && 16384 & s.unixPermissions && (s.dir = !0), s.dosPermissions && 16 & s.dosPermissions && (s.dir = !0), s.dir && (e = h(e)), s.createFolders && (r = m(e)) && g.call(this, r, !0);
430
+ var d = i === "string" && !1 === s.binary && !1 === s.base64;
431
+ n && n.binary !== void 0 || (s.binary = !d), (t instanceof l && t.uncompressedSize === 0 || s.dir || !t || t.length === 0) && (s.base64 = !1, s.binary = !0, t = "", s.compression = "STORE", i = "string");
432
+ var _ = null;
433
+ _ = t instanceof l || t instanceof o ? t : f.isNode && f.isStream(t) ? new p(e, t) : a.prepareContent(e, t, s.binary, s.optimizedBinaryString, s.base64);
434
+ var v = new u(e, _, s);
435
+ this.files[e] = v;
436
+ }
437
+ var i = e("./utf8"), a = e("./utils"), o = e("./stream/GenericWorker"), s = e("./stream/StreamHelper"), c = e("./defaults"), l = e("./compressedObject"), u = e("./zipObject"), d = e("./generate"), f = e("./nodejsUtils"), p = e("./nodejs/NodejsStreamInputAdapter"), m = function(e) {
438
+ e.slice(-1) === "/" && (e = e.substring(0, e.length - 1));
439
+ var t = e.lastIndexOf("/");
440
+ return 0 < t ? e.substring(0, t) : "";
441
+ }, h = function(e) {
442
+ return e.slice(-1) !== "/" && (e += "/"), e;
443
+ }, g = function(e, t) {
444
+ return t = t === void 0 ? c.createFolders : t, e = h(e), this.files[e] || r.call(this, e, null, {
445
+ dir: !0,
446
+ createFolders: t
447
+ }), this.files[e];
448
+ };
449
+ function _(e) {
450
+ return Object.prototype.toString.call(e) === "[object RegExp]";
451
+ }
452
+ t.exports = {
453
+ load: function() {
454
+ throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
455
+ },
456
+ forEach: function(e) {
457
+ var t, n, r;
458
+ for (t in this.files) r = this.files[t], (n = t.slice(this.root.length, t.length)) && t.slice(0, this.root.length) === this.root && e(n, r);
459
+ },
460
+ filter: function(e) {
461
+ var t = [];
462
+ return this.forEach(function(n, r) {
463
+ e(n, r) && t.push(r);
464
+ }), t;
465
+ },
466
+ file: function(e, t, n) {
467
+ if (arguments.length !== 1) return e = this.root + e, r.call(this, e, t, n), this;
468
+ if (_(e)) {
469
+ var i = e;
470
+ return this.filter(function(e, t) {
471
+ return !t.dir && i.test(e);
472
+ });
473
+ }
474
+ var a = this.files[this.root + e];
475
+ return a && !a.dir ? a : null;
476
+ },
477
+ folder: function(e) {
478
+ if (!e) return this;
479
+ if (_(e)) return this.filter(function(t, n) {
480
+ return n.dir && e.test(t);
481
+ });
482
+ var t = this.root + e, n = g.call(this, t), r = this.clone();
483
+ return r.root = n.name, r;
484
+ },
485
+ remove: function(e) {
486
+ e = this.root + e;
487
+ var t = this.files[e];
488
+ if (t ||= (e.slice(-1) !== "/" && (e += "/"), this.files[e]), t && !t.dir) delete this.files[e];
489
+ else for (var n = this.filter(function(t, n) {
490
+ return n.name.slice(0, e.length) === e;
491
+ }), r = 0; r < n.length; r++) delete this.files[n[r].name];
492
+ return this;
493
+ },
494
+ generate: function() {
495
+ throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
496
+ },
497
+ generateInternalStream: function(e) {
498
+ var t, n = {};
499
+ try {
500
+ if ((n = a.extend(e || {}, {
501
+ streamFiles: !1,
502
+ compression: "STORE",
503
+ compressionOptions: null,
504
+ type: "",
505
+ platform: "DOS",
506
+ comment: null,
507
+ mimeType: "application/zip",
508
+ encodeFileName: i.utf8encode
509
+ })).type = n.type.toLowerCase(), n.compression = n.compression.toUpperCase(), n.type === "binarystring" && (n.type = "string"), !n.type) throw Error("No output type specified.");
510
+ a.checkSupport(n.type), n.platform !== "darwin" && n.platform !== "freebsd" && n.platform !== "linux" && n.platform !== "sunos" || (n.platform = "UNIX"), n.platform === "win32" && (n.platform = "DOS");
511
+ var r = n.comment || this.comment || "";
512
+ t = d.generateWorker(this, n, r);
513
+ } catch (e) {
514
+ (t = new o("error")).error(e);
515
+ }
516
+ return new s(t, n.type || "string", n.mimeType);
517
+ },
518
+ generateAsync: function(e, t) {
519
+ return this.generateInternalStream(e).accumulate(t);
520
+ },
521
+ generateNodeStream: function(e, t) {
522
+ return (e ||= {}).type || (e.type = "nodebuffer"), this.generateInternalStream(e).toNodejsStream(t);
523
+ }
524
+ };
525
+ }, {
526
+ "./compressedObject": 2,
527
+ "./defaults": 5,
528
+ "./generate": 9,
529
+ "./nodejs/NodejsStreamInputAdapter": 12,
530
+ "./nodejsUtils": 14,
531
+ "./stream/GenericWorker": 28,
532
+ "./stream/StreamHelper": 29,
533
+ "./utf8": 31,
534
+ "./utils": 32,
535
+ "./zipObject": 35
536
+ }],
537
+ 16: [function(e, t, n) {
538
+ t.exports = e("stream");
539
+ }, { stream: void 0 }],
540
+ 17: [function(e, t, n) {
541
+ var r = e("./DataReader");
542
+ function i(e) {
543
+ r.call(this, e);
544
+ for (var t = 0; t < this.data.length; t++) e[t] = 255 & e[t];
545
+ }
546
+ e("../utils").inherits(i, r), i.prototype.byteAt = function(e) {
547
+ return this.data[this.zero + e];
548
+ }, i.prototype.lastIndexOfSignature = function(e) {
549
+ for (var t = e.charCodeAt(0), n = e.charCodeAt(1), r = e.charCodeAt(2), i = e.charCodeAt(3), a = this.length - 4; 0 <= a; --a) if (this.data[a] === t && this.data[a + 1] === n && this.data[a + 2] === r && this.data[a + 3] === i) return a - this.zero;
550
+ return -1;
551
+ }, i.prototype.readAndCheckSignature = function(e) {
552
+ var t = e.charCodeAt(0), n = e.charCodeAt(1), r = e.charCodeAt(2), i = e.charCodeAt(3), a = this.readData(4);
553
+ return t === a[0] && n === a[1] && r === a[2] && i === a[3];
554
+ }, i.prototype.readData = function(e) {
555
+ if (this.checkOffset(e), e === 0) return [];
556
+ var t = this.data.slice(this.zero + this.index, this.zero + this.index + e);
557
+ return this.index += e, t;
558
+ }, t.exports = i;
559
+ }, {
560
+ "../utils": 32,
561
+ "./DataReader": 18
562
+ }],
563
+ 18: [function(e, t, n) {
564
+ var r = e("../utils");
565
+ function i(e) {
566
+ this.data = e, this.length = e.length, this.index = 0, this.zero = 0;
567
+ }
568
+ i.prototype = {
569
+ checkOffset: function(e) {
570
+ this.checkIndex(this.index + e);
571
+ },
572
+ checkIndex: function(e) {
573
+ if (this.length < this.zero + e || e < 0) throw Error("End of data reached (data length = " + this.length + ", asked index = " + e + "). Corrupted zip ?");
574
+ },
575
+ setIndex: function(e) {
576
+ this.checkIndex(e), this.index = e;
577
+ },
578
+ skip: function(e) {
579
+ this.setIndex(this.index + e);
580
+ },
581
+ byteAt: function() {},
582
+ readInt: function(e) {
583
+ var t, n = 0;
584
+ for (this.checkOffset(e), t = this.index + e - 1; t >= this.index; t--) n = (n << 8) + this.byteAt(t);
585
+ return this.index += e, n;
586
+ },
587
+ readString: function(e) {
588
+ return r.transformTo("string", this.readData(e));
589
+ },
590
+ readData: function() {},
591
+ lastIndexOfSignature: function() {},
592
+ readAndCheckSignature: function() {},
593
+ readDate: function() {
594
+ var e = this.readInt(4);
595
+ 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));
596
+ }
597
+ }, t.exports = i;
598
+ }, { "../utils": 32 }],
599
+ 19: [function(e, t, n) {
600
+ var r = e("./Uint8ArrayReader");
601
+ function i(e) {
602
+ r.call(this, e);
603
+ }
604
+ e("../utils").inherits(i, r), i.prototype.readData = function(e) {
605
+ this.checkOffset(e);
606
+ var t = this.data.slice(this.zero + this.index, this.zero + this.index + e);
607
+ return this.index += e, t;
608
+ }, t.exports = i;
609
+ }, {
610
+ "../utils": 32,
611
+ "./Uint8ArrayReader": 21
612
+ }],
613
+ 20: [function(e, t, n) {
614
+ var r = e("./DataReader");
615
+ function i(e) {
616
+ r.call(this, e);
617
+ }
618
+ e("../utils").inherits(i, r), i.prototype.byteAt = function(e) {
619
+ return this.data.charCodeAt(this.zero + e);
620
+ }, i.prototype.lastIndexOfSignature = function(e) {
621
+ return this.data.lastIndexOf(e) - this.zero;
622
+ }, i.prototype.readAndCheckSignature = function(e) {
623
+ return e === this.readData(4);
624
+ }, i.prototype.readData = function(e) {
625
+ this.checkOffset(e);
626
+ var t = this.data.slice(this.zero + this.index, this.zero + this.index + e);
627
+ return this.index += e, t;
628
+ }, t.exports = i;
629
+ }, {
630
+ "../utils": 32,
631
+ "./DataReader": 18
632
+ }],
633
+ 21: [function(e, t, n) {
634
+ var r = e("./ArrayReader");
635
+ function i(e) {
636
+ r.call(this, e);
637
+ }
638
+ e("../utils").inherits(i, r), i.prototype.readData = function(e) {
639
+ if (this.checkOffset(e), e === 0) return new Uint8Array();
640
+ var t = this.data.subarray(this.zero + this.index, this.zero + this.index + e);
641
+ return this.index += e, t;
642
+ }, t.exports = i;
643
+ }, {
644
+ "../utils": 32,
645
+ "./ArrayReader": 17
646
+ }],
647
+ 22: [function(e, t, n) {
648
+ var r = e("../utils"), i = e("../support"), a = e("./ArrayReader"), o = e("./StringReader"), s = e("./NodeBufferReader"), c = e("./Uint8ArrayReader");
649
+ t.exports = function(e) {
650
+ var t = r.getTypeOf(e);
651
+ return r.checkSupport(t), t !== "string" || i.uint8array ? t === "nodebuffer" ? new s(e) : i.uint8array ? new c(r.transformTo("uint8array", e)) : new a(r.transformTo("array", e)) : new o(e);
652
+ };
653
+ }, {
654
+ "../support": 30,
655
+ "../utils": 32,
656
+ "./ArrayReader": 17,
657
+ "./NodeBufferReader": 19,
658
+ "./StringReader": 20,
659
+ "./Uint8ArrayReader": 21
660
+ }],
661
+ 23: [function(e, t, n) {
662
+ n.LOCAL_FILE_HEADER = "PK", n.CENTRAL_FILE_HEADER = "PK", n.CENTRAL_DIRECTORY_END = "PK", n.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", n.ZIP64_CENTRAL_DIRECTORY_END = "PK", n.DATA_DESCRIPTOR = "PK\x07\b";
663
+ }, {}],
664
+ 24: [function(e, t, n) {
665
+ var r = e("./GenericWorker"), i = e("../utils");
666
+ function a(e) {
667
+ r.call(this, "ConvertWorker to " + e), this.destType = e;
668
+ }
669
+ i.inherits(a, r), a.prototype.processChunk = function(e) {
670
+ this.push({
671
+ data: i.transformTo(this.destType, e.data),
672
+ meta: e.meta
673
+ });
674
+ }, t.exports = a;
675
+ }, {
676
+ "../utils": 32,
677
+ "./GenericWorker": 28
678
+ }],
679
+ 25: [function(e, t, n) {
680
+ var r = e("./GenericWorker"), i = e("../crc32");
681
+ function a() {
682
+ r.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
683
+ }
684
+ e("../utils").inherits(a, r), a.prototype.processChunk = function(e) {
685
+ this.streamInfo.crc32 = i(e.data, this.streamInfo.crc32 || 0), this.push(e);
686
+ }, t.exports = a;
687
+ }, {
688
+ "../crc32": 4,
689
+ "../utils": 32,
690
+ "./GenericWorker": 28
691
+ }],
692
+ 26: [function(e, t, n) {
693
+ var r = e("../utils"), i = e("./GenericWorker");
694
+ function a(e) {
695
+ i.call(this, "DataLengthProbe for " + e), this.propName = e, this.withStreamInfo(e, 0);
696
+ }
697
+ r.inherits(a, i), a.prototype.processChunk = function(e) {
698
+ if (e) {
699
+ var t = this.streamInfo[this.propName] || 0;
700
+ this.streamInfo[this.propName] = t + e.data.length;
701
+ }
702
+ i.prototype.processChunk.call(this, e);
703
+ }, t.exports = a;
704
+ }, {
705
+ "../utils": 32,
706
+ "./GenericWorker": 28
707
+ }],
708
+ 27: [function(e, t, n) {
709
+ var r = e("../utils"), i = e("./GenericWorker");
710
+ function a(e) {
711
+ i.call(this, "DataWorker");
712
+ var t = this;
713
+ this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, e.then(function(e) {
714
+ t.dataIsReady = !0, t.data = e, t.max = e && e.length || 0, t.type = r.getTypeOf(e), t.isPaused || t._tickAndRepeat();
715
+ }, function(e) {
716
+ t.error(e);
717
+ });
718
+ }
719
+ r.inherits(a, i), a.prototype.cleanUp = function() {
720
+ i.prototype.cleanUp.call(this), this.data = null;
721
+ }, a.prototype.resume = function() {
722
+ return !!i.prototype.resume.call(this) && (!this._tickScheduled && this.dataIsReady && (this._tickScheduled = !0, r.delay(this._tickAndRepeat, [], this)), !0);
723
+ }, a.prototype._tickAndRepeat = function() {
724
+ this._tickScheduled = !1, this.isPaused || this.isFinished || (this._tick(), this.isFinished || (r.delay(this._tickAndRepeat, [], this), this._tickScheduled = !0));
725
+ }, a.prototype._tick = function() {
726
+ if (this.isPaused || this.isFinished) return !1;
727
+ var e = null, t = Math.min(this.max, this.index + 16384);
728
+ if (this.index >= this.max) return this.end();
729
+ switch (this.type) {
730
+ case "string":
731
+ e = this.data.substring(this.index, t);
732
+ break;
733
+ case "uint8array":
734
+ e = this.data.subarray(this.index, t);
735
+ break;
736
+ case "array":
737
+ case "nodebuffer": e = this.data.slice(this.index, t);
738
+ }
739
+ return this.index = t, this.push({
740
+ data: e,
741
+ meta: { percent: this.max ? this.index / this.max * 100 : 0 }
742
+ });
743
+ }, t.exports = a;
744
+ }, {
745
+ "../utils": 32,
746
+ "./GenericWorker": 28
747
+ }],
748
+ 28: [function(e, t, n) {
749
+ function r(e) {
750
+ this.name = e || "default", this.streamInfo = {}, this.generatedError = null, this.extraStreamInfo = {}, this.isPaused = !0, this.isFinished = !1, this.isLocked = !1, this._listeners = {
751
+ data: [],
752
+ end: [],
753
+ error: []
754
+ }, this.previous = null;
755
+ }
756
+ r.prototype = {
757
+ push: function(e) {
758
+ this.emit("data", e);
759
+ },
760
+ end: function() {
761
+ if (this.isFinished) return !1;
762
+ this.flush();
763
+ try {
764
+ this.emit("end"), this.cleanUp(), this.isFinished = !0;
765
+ } catch (e) {
766
+ this.emit("error", e);
767
+ }
768
+ return !0;
769
+ },
770
+ error: function(e) {
771
+ return !this.isFinished && (this.isPaused ? this.generatedError = e : (this.isFinished = !0, this.emit("error", e), this.previous && this.previous.error(e), this.cleanUp()), !0);
772
+ },
773
+ on: function(e, t) {
774
+ return this._listeners[e].push(t), this;
775
+ },
776
+ cleanUp: function() {
777
+ this.streamInfo = this.generatedError = this.extraStreamInfo = null, this._listeners = [];
778
+ },
779
+ emit: function(e, t) {
780
+ if (this._listeners[e]) for (var n = 0; n < this._listeners[e].length; n++) this._listeners[e][n].call(this, t);
781
+ },
782
+ pipe: function(e) {
783
+ return e.registerPrevious(this);
784
+ },
785
+ registerPrevious: function(e) {
786
+ if (this.isLocked) throw Error("The stream '" + this + "' has already been used.");
787
+ this.streamInfo = e.streamInfo, this.mergeStreamInfo(), this.previous = e;
788
+ var t = this;
789
+ return e.on("data", function(e) {
790
+ t.processChunk(e);
791
+ }), e.on("end", function() {
792
+ t.end();
793
+ }), e.on("error", function(e) {
794
+ t.error(e);
795
+ }), this;
796
+ },
797
+ pause: function() {
798
+ return !this.isPaused && !this.isFinished && (this.isPaused = !0, this.previous && this.previous.pause(), !0);
799
+ },
800
+ resume: function() {
801
+ if (!this.isPaused || this.isFinished) return !1;
802
+ var e = this.isPaused = !1;
803
+ return this.generatedError && (this.error(this.generatedError), e = !0), this.previous && this.previous.resume(), !e;
804
+ },
805
+ flush: function() {},
806
+ processChunk: function(e) {
807
+ this.push(e);
808
+ },
809
+ withStreamInfo: function(e, t) {
810
+ return this.extraStreamInfo[e] = t, this.mergeStreamInfo(), this;
811
+ },
812
+ mergeStreamInfo: function() {
813
+ for (var e in this.extraStreamInfo) Object.prototype.hasOwnProperty.call(this.extraStreamInfo, e) && (this.streamInfo[e] = this.extraStreamInfo[e]);
814
+ },
815
+ lock: function() {
816
+ if (this.isLocked) throw Error("The stream '" + this + "' has already been used.");
817
+ this.isLocked = !0, this.previous && this.previous.lock();
818
+ },
819
+ toString: function() {
820
+ var e = "Worker " + this.name;
821
+ return this.previous ? this.previous + " -> " + e : e;
822
+ }
823
+ }, t.exports = r;
824
+ }, {}],
825
+ 29: [function(e, t, n) {
826
+ var r = e("../utils"), i = e("./ConvertWorker"), a = e("./GenericWorker"), o = e("../base64"), s = e("../support"), c = e("../external"), l = null;
827
+ if (s.nodestream) try {
828
+ l = e("../nodejs/NodejsStreamOutputAdapter");
829
+ } catch {}
830
+ function u(e, t) {
831
+ return new c.Promise(function(n, i) {
832
+ var a = [], s = e._internalType, c = e._outputType, l = e._mimeType;
833
+ e.on("data", function(e, n) {
834
+ a.push(e), t && t(n);
835
+ }).on("error", function(e) {
836
+ a = [], i(e);
837
+ }).on("end", function() {
838
+ try {
839
+ n(function(e, t, n) {
840
+ switch (e) {
841
+ case "blob": return r.newBlob(r.transformTo("arraybuffer", t), n);
842
+ case "base64": return o.encode(t);
843
+ default: return r.transformTo(e, t);
844
+ }
845
+ }(c, function(e, t) {
846
+ var n, r = 0, i = null, a = 0;
847
+ for (n = 0; n < t.length; n++) a += t[n].length;
848
+ switch (e) {
849
+ case "string": return t.join("");
850
+ case "array": return Array.prototype.concat.apply([], t);
851
+ case "uint8array":
852
+ for (i = new Uint8Array(a), n = 0; n < t.length; n++) i.set(t[n], r), r += t[n].length;
853
+ return i;
854
+ case "nodebuffer": return Buffer.concat(t);
855
+ default: throw Error("concat : unsupported type '" + e + "'");
856
+ }
857
+ }(s, a), l));
858
+ } catch (e) {
859
+ i(e);
860
+ }
861
+ a = [];
862
+ }).resume();
863
+ });
864
+ }
865
+ function d(e, t, n) {
866
+ var o = t;
867
+ switch (t) {
868
+ case "blob":
869
+ case "arraybuffer":
870
+ o = "uint8array";
871
+ break;
872
+ case "base64": o = "string";
873
+ }
874
+ try {
875
+ this._internalType = o, this._outputType = t, this._mimeType = n, r.checkSupport(o), this._worker = e.pipe(new i(o)), e.lock();
876
+ } catch (e) {
877
+ this._worker = new a("error"), this._worker.error(e);
878
+ }
879
+ }
880
+ d.prototype = {
881
+ accumulate: function(e) {
882
+ return u(this, e);
883
+ },
884
+ on: function(e, t) {
885
+ var n = this;
886
+ return e === "data" ? this._worker.on(e, function(e) {
887
+ t.call(n, e.data, e.meta);
888
+ }) : this._worker.on(e, function() {
889
+ r.delay(t, arguments, n);
890
+ }), this;
891
+ },
892
+ resume: function() {
893
+ return r.delay(this._worker.resume, [], this._worker), this;
894
+ },
895
+ pause: function() {
896
+ return this._worker.pause(), this;
897
+ },
898
+ toNodejsStream: function(e) {
899
+ if (r.checkSupport("nodestream"), this._outputType !== "nodebuffer") throw Error(this._outputType + " is not supported by this method");
900
+ return new l(this, { objectMode: this._outputType !== "nodebuffer" }, e);
901
+ }
902
+ }, t.exports = d;
903
+ }, {
904
+ "../base64": 1,
905
+ "../external": 6,
906
+ "../nodejs/NodejsStreamOutputAdapter": 13,
907
+ "../support": 30,
908
+ "../utils": 32,
909
+ "./ConvertWorker": 24,
910
+ "./GenericWorker": 28
911
+ }],
912
+ 30: [function(e, t, n) {
913
+ if (n.base64 = !0, n.array = !0, n.string = !0, n.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", n.nodebuffer = typeof Buffer < "u", n.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") n.blob = !1;
914
+ else {
915
+ var r = /* @__PURE__ */ new ArrayBuffer(0);
916
+ try {
917
+ n.blob = new Blob([r], { type: "application/zip" }).size === 0;
918
+ } catch {
919
+ try {
920
+ var i = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
921
+ i.append(r), n.blob = i.getBlob("application/zip").size === 0;
922
+ } catch {
923
+ n.blob = !1;
924
+ }
925
+ }
926
+ }
927
+ try {
928
+ n.nodestream = !!e("readable-stream").Readable;
929
+ } catch {
930
+ n.nodestream = !1;
931
+ }
932
+ }, { "readable-stream": 16 }],
933
+ 31: [function(e, t, n) {
934
+ for (var r = e("./utils"), i = e("./support"), a = e("./nodejsUtils"), o = e("./stream/GenericWorker"), s = Array(256), c = 0; c < 256; c++) s[c] = 252 <= c ? 6 : 248 <= c ? 5 : 240 <= c ? 4 : 224 <= c ? 3 : 192 <= c ? 2 : 1;
935
+ s[254] = s[254] = 1;
936
+ function l() {
937
+ o.call(this, "utf-8 decode"), this.leftOver = null;
938
+ }
939
+ function u() {
940
+ o.call(this, "utf-8 encode");
941
+ }
942
+ n.utf8encode = function(e) {
943
+ return i.nodebuffer ? a.newBufferFrom(e, "utf-8") : function(e) {
944
+ var t, n, r, a, o, s = e.length, c = 0;
945
+ for (a = 0; a < s; a++) (64512 & (n = e.charCodeAt(a))) == 55296 && a + 1 < s && (64512 & (r = e.charCodeAt(a + 1))) == 56320 && (n = 65536 + (n - 55296 << 10) + (r - 56320), a++), c += n < 128 ? 1 : n < 2048 ? 2 : n < 65536 ? 3 : 4;
946
+ for (t = i.uint8array ? new Uint8Array(c) : Array(c), a = o = 0; o < c; a++) (64512 & (n = e.charCodeAt(a))) == 55296 && a + 1 < s && (64512 & (r = e.charCodeAt(a + 1))) == 56320 && (n = 65536 + (n - 55296 << 10) + (r - 56320), a++), n < 128 ? t[o++] = n : (n < 2048 ? t[o++] = 192 | n >>> 6 : (n < 65536 ? t[o++] = 224 | n >>> 12 : (t[o++] = 240 | n >>> 18, t[o++] = 128 | n >>> 12 & 63), t[o++] = 128 | n >>> 6 & 63), t[o++] = 128 | 63 & n);
947
+ return t;
948
+ }(e);
949
+ }, n.utf8decode = function(e) {
950
+ return i.nodebuffer ? r.transformTo("nodebuffer", e).toString("utf-8") : function(e) {
951
+ var t, n, i, a, o = e.length, c = Array(2 * o);
952
+ for (t = n = 0; t < o;) if ((i = e[t++]) < 128) c[n++] = i;
953
+ else if (4 < (a = s[i])) c[n++] = 65533, t += a - 1;
954
+ else {
955
+ for (i &= a === 2 ? 31 : a === 3 ? 15 : 7; 1 < a && t < o;) i = i << 6 | 63 & e[t++], a--;
956
+ 1 < a ? c[n++] = 65533 : i < 65536 ? c[n++] = i : (i -= 65536, c[n++] = 55296 | i >> 10 & 1023, c[n++] = 56320 | 1023 & i);
957
+ }
958
+ return c.length !== n && (c.subarray ? c = c.subarray(0, n) : c.length = n), r.applyFromCharCode(c);
959
+ }(e = r.transformTo(i.uint8array ? "uint8array" : "array", e));
960
+ }, r.inherits(l, o), l.prototype.processChunk = function(e) {
961
+ var t = r.transformTo(i.uint8array ? "uint8array" : "array", e.data);
962
+ if (this.leftOver && this.leftOver.length) {
963
+ if (i.uint8array) {
964
+ var a = t;
965
+ (t = new Uint8Array(a.length + this.leftOver.length)).set(this.leftOver, 0), t.set(a, this.leftOver.length);
966
+ } else t = this.leftOver.concat(t);
967
+ this.leftOver = null;
968
+ }
969
+ var o = function(e, t) {
970
+ var n;
971
+ for ((t ||= e.length) > e.length && (t = e.length), n = t - 1; 0 <= n && (192 & e[n]) == 128;) n--;
972
+ return n < 0 || n === 0 ? t : n + s[e[n]] > t ? n : t;
973
+ }(t), c = t;
974
+ o !== t.length && (i.uint8array ? (c = t.subarray(0, o), this.leftOver = t.subarray(o, t.length)) : (c = t.slice(0, o), this.leftOver = t.slice(o, t.length))), this.push({
975
+ data: n.utf8decode(c),
976
+ meta: e.meta
977
+ });
978
+ }, l.prototype.flush = function() {
979
+ this.leftOver && this.leftOver.length && (this.push({
980
+ data: n.utf8decode(this.leftOver),
981
+ meta: {}
982
+ }), this.leftOver = null);
983
+ }, n.Utf8DecodeWorker = l, r.inherits(u, o), u.prototype.processChunk = function(e) {
984
+ this.push({
985
+ data: n.utf8encode(e.data),
986
+ meta: e.meta
987
+ });
988
+ }, n.Utf8EncodeWorker = u;
989
+ }, {
990
+ "./nodejsUtils": 14,
991
+ "./stream/GenericWorker": 28,
992
+ "./support": 30,
993
+ "./utils": 32
994
+ }],
995
+ 32: [function(e, t, n) {
996
+ var r = e("./support"), i = e("./base64"), a = e("./nodejsUtils"), o = e("./external");
997
+ function s(e) {
998
+ return e;
999
+ }
1000
+ function c(e, t) {
1001
+ for (var n = 0; n < e.length; ++n) t[n] = 255 & e.charCodeAt(n);
1002
+ return t;
1003
+ }
1004
+ e("setimmediate"), n.newBlob = function(e, t) {
1005
+ n.checkSupport("blob");
1006
+ try {
1007
+ return new Blob([e], { type: t });
1008
+ } catch {
1009
+ try {
1010
+ var r = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
1011
+ return r.append(e), r.getBlob(t);
1012
+ } catch {
1013
+ throw Error("Bug : can't construct the Blob.");
1014
+ }
1015
+ }
1016
+ };
1017
+ var l = {
1018
+ stringifyByChunk: function(e, t, n) {
1019
+ var r = [], i = 0, a = e.length;
1020
+ if (a <= n) return String.fromCharCode.apply(null, e);
1021
+ for (; i < a;) t === "array" || t === "nodebuffer" ? r.push(String.fromCharCode.apply(null, e.slice(i, Math.min(i + n, a)))) : r.push(String.fromCharCode.apply(null, e.subarray(i, Math.min(i + n, a)))), i += n;
1022
+ return r.join("");
1023
+ },
1024
+ stringifyByChar: function(e) {
1025
+ for (var t = "", n = 0; n < e.length; n++) t += String.fromCharCode(e[n]);
1026
+ return t;
1027
+ },
1028
+ applyCanBeUsed: {
1029
+ uint8array: function() {
1030
+ try {
1031
+ return r.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1;
1032
+ } catch {
1033
+ return !1;
1034
+ }
1035
+ }(),
1036
+ nodebuffer: function() {
1037
+ try {
1038
+ return r.nodebuffer && String.fromCharCode.apply(null, a.allocBuffer(1)).length === 1;
1039
+ } catch {
1040
+ return !1;
1041
+ }
1042
+ }()
1043
+ }
1044
+ };
1045
+ function u(e) {
1046
+ var t = 65536, r = n.getTypeOf(e), i = !0;
1047
+ if (r === "uint8array" ? i = l.applyCanBeUsed.uint8array : r === "nodebuffer" && (i = l.applyCanBeUsed.nodebuffer), i) for (; 1 < t;) try {
1048
+ return l.stringifyByChunk(e, r, t);
1049
+ } catch {
1050
+ t = Math.floor(t / 2);
1051
+ }
1052
+ return l.stringifyByChar(e);
1053
+ }
1054
+ function d(e, t) {
1055
+ for (var n = 0; n < e.length; n++) t[n] = e[n];
1056
+ return t;
1057
+ }
1058
+ n.applyFromCharCode = u;
1059
+ var f = {};
1060
+ f.string = {
1061
+ string: s,
1062
+ array: function(e) {
1063
+ return c(e, Array(e.length));
1064
+ },
1065
+ arraybuffer: function(e) {
1066
+ return f.string.uint8array(e).buffer;
1067
+ },
1068
+ uint8array: function(e) {
1069
+ return c(e, new Uint8Array(e.length));
1070
+ },
1071
+ nodebuffer: function(e) {
1072
+ return c(e, a.allocBuffer(e.length));
1073
+ }
1074
+ }, f.array = {
1075
+ string: u,
1076
+ array: s,
1077
+ arraybuffer: function(e) {
1078
+ return new Uint8Array(e).buffer;
1079
+ },
1080
+ uint8array: function(e) {
1081
+ return new Uint8Array(e);
1082
+ },
1083
+ nodebuffer: function(e) {
1084
+ return a.newBufferFrom(e);
1085
+ }
1086
+ }, f.arraybuffer = {
1087
+ string: function(e) {
1088
+ return u(new Uint8Array(e));
1089
+ },
1090
+ array: function(e) {
1091
+ return d(new Uint8Array(e), Array(e.byteLength));
1092
+ },
1093
+ arraybuffer: s,
1094
+ uint8array: function(e) {
1095
+ return new Uint8Array(e);
1096
+ },
1097
+ nodebuffer: function(e) {
1098
+ return a.newBufferFrom(new Uint8Array(e));
1099
+ }
1100
+ }, f.uint8array = {
1101
+ string: u,
1102
+ array: function(e) {
1103
+ return d(e, Array(e.length));
1104
+ },
1105
+ arraybuffer: function(e) {
1106
+ return e.buffer;
1107
+ },
1108
+ uint8array: s,
1109
+ nodebuffer: function(e) {
1110
+ return a.newBufferFrom(e);
1111
+ }
1112
+ }, f.nodebuffer = {
1113
+ string: u,
1114
+ array: function(e) {
1115
+ return d(e, Array(e.length));
1116
+ },
1117
+ arraybuffer: function(e) {
1118
+ return f.nodebuffer.uint8array(e).buffer;
1119
+ },
1120
+ uint8array: function(e) {
1121
+ return d(e, new Uint8Array(e.length));
1122
+ },
1123
+ nodebuffer: s
1124
+ }, n.transformTo = function(e, t) {
1125
+ return t ||= "", e ? (n.checkSupport(e), f[n.getTypeOf(t)][e](t)) : t;
1126
+ }, n.resolve = function(e) {
1127
+ for (var t = e.split("/"), n = [], r = 0; r < t.length; r++) {
1128
+ var i = t[r];
1129
+ i === "." || i === "" && r !== 0 && r !== t.length - 1 || (i === ".." ? n.pop() : n.push(i));
1130
+ }
1131
+ return n.join("/");
1132
+ }, n.getTypeOf = function(e) {
1133
+ if (typeof e == "string") return "string";
1134
+ var t = Object.prototype.toString.call(e);
1135
+ return t === "[object Array]" ? "array" : r.nodebuffer && a.isBuffer(e) ? "nodebuffer" : r.uint8array && t === "[object Uint8Array]" ? "uint8array" : r.arraybuffer && t === "[object ArrayBuffer]" ? "arraybuffer" : void 0;
1136
+ }, n.checkSupport = function(e) {
1137
+ if (!r[e.toLowerCase()]) throw Error(e + " is not supported by this platform");
1138
+ }, n.MAX_VALUE_16BITS = 65535, n.MAX_VALUE_32BITS = -1, n.pretty = function(e) {
1139
+ var t, n, r = "";
1140
+ for (n = 0; n < (e || "").length; n++) r += "\\x" + ((t = e.charCodeAt(n)) < 16 ? "0" : "") + t.toString(16).toUpperCase();
1141
+ return r;
1142
+ }, n.delay = function(e, t, n) {
1143
+ setImmediate(function() {
1144
+ e.apply(n || null, t || []);
1145
+ });
1146
+ }, n.inherits = function(e, t) {
1147
+ function n() {}
1148
+ n.prototype = t.prototype, e.prototype = new n();
1149
+ }, n.extend = function() {
1150
+ var e, t, n = {};
1151
+ for (e = 0; e < arguments.length; e++) for (t in arguments[e]) Object.prototype.hasOwnProperty.call(arguments[e], t) && n[t] === void 0 && (n[t] = arguments[e][t]);
1152
+ return n;
1153
+ }, n.prepareContent = function(e, t, a, s, l) {
1154
+ return o.Promise.resolve(t).then(function(t) {
1155
+ return r.blob && (t instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(t)) !== -1) ? Blob.prototype.arrayBuffer === void 0 ? typeof FileReader < "u" ? new o.Promise(function(e, n) {
1156
+ var r = new FileReader();
1157
+ r.onload = function(t) {
1158
+ e(t.target.result);
1159
+ }, r.onerror = function(e) {
1160
+ n(e.target.error);
1161
+ }, r.readAsArrayBuffer(t);
1162
+ }) : o.Promise.reject(/* @__PURE__ */ Error(e + " is a Blob, but we have no way of reading it.")) : t.arrayBuffer() : t;
1163
+ }).then(function(t) {
1164
+ var u = n.getTypeOf(t);
1165
+ return u ? (u === "arraybuffer" ? t = n.transformTo("uint8array", t) : u === "string" && (l ? t = i.decode(t) : a && !0 !== s && (t = function(e) {
1166
+ return c(e, r.uint8array ? new Uint8Array(e.length) : Array(e.length));
1167
+ }(t))), t) : o.Promise.reject(/* @__PURE__ */ Error("Can't read the data of '" + e + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
1168
+ });
1169
+ };
1170
+ }, {
1171
+ "./base64": 1,
1172
+ "./external": 6,
1173
+ "./nodejsUtils": 14,
1174
+ "./support": 30,
1175
+ setimmediate: 54
1176
+ }],
1177
+ 33: [function(e, t, n) {
1178
+ var r = e("./reader/readerFor"), i = e("./utils"), a = e("./signature"), o = e("./zipEntry"), s = e("./support");
1179
+ function c(e) {
1180
+ this.files = [], this.loadOptions = e;
1181
+ }
1182
+ c.prototype = {
1183
+ checkSignature: function(e) {
1184
+ if (!this.reader.readAndCheckSignature(e)) {
1185
+ this.reader.index -= 4;
1186
+ var t = this.reader.readString(4);
1187
+ throw Error("Corrupted zip or bug: unexpected signature (" + i.pretty(t) + ", expected " + i.pretty(e) + ")");
1188
+ }
1189
+ },
1190
+ isSignature: function(e, t) {
1191
+ var n = this.reader.index;
1192
+ this.reader.setIndex(e);
1193
+ var r = this.reader.readString(4) === t;
1194
+ return this.reader.setIndex(n), r;
1195
+ },
1196
+ readBlockEndOfCentral: function() {
1197
+ 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);
1198
+ var e = this.reader.readData(this.zipCommentLength), t = s.uint8array ? "uint8array" : "array", n = i.transformTo(t, e);
1199
+ this.zipComment = this.loadOptions.decodeFileName(n);
1200
+ },
1201
+ readBlockZip64EndOfCentral: function() {
1202
+ 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 = {};
1203
+ for (var e, t, n, r = this.zip64EndOfCentralSize - 44; 0 < r;) e = this.reader.readInt(2), t = this.reader.readInt(4), n = this.reader.readData(t), this.zip64ExtensibleData[e] = {
1204
+ id: e,
1205
+ length: t,
1206
+ value: n
1207
+ };
1208
+ },
1209
+ readBlockZip64EndOfCentralLocator: function() {
1210
+ if (this.diskWithZip64CentralDirStart = this.reader.readInt(4), this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8), this.disksCount = this.reader.readInt(4), 1 < this.disksCount) throw Error("Multi-volumes zip are not supported");
1211
+ },
1212
+ readLocalFiles: function() {
1213
+ var e, t;
1214
+ for (e = 0; e < this.files.length; e++) t = this.files[e], this.reader.setIndex(t.localHeaderOffset), this.checkSignature(a.LOCAL_FILE_HEADER), t.readLocalPart(this.reader), t.handleUTF8(), t.processAttributes();
1215
+ },
1216
+ readCentralDir: function() {
1217
+ var e;
1218
+ for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);) (e = new o({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(e);
1219
+ if (this.centralDirRecords !== this.files.length && this.centralDirRecords !== 0 && this.files.length === 0) throw Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length);
1220
+ },
1221
+ readEndOfCentral: function() {
1222
+ var e = this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);
1223
+ if (e < 0) throw this.isSignature(0, a.LOCAL_FILE_HEADER) ? /* @__PURE__ */ Error("Corrupted zip: can't find end of central directory") : /* @__PURE__ */ 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");
1224
+ this.reader.setIndex(e);
1225
+ var t = e;
1226
+ if (this.checkSignature(a.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === i.MAX_VALUE_16BITS || this.diskWithCentralDirStart === i.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === i.MAX_VALUE_16BITS || this.centralDirRecords === i.MAX_VALUE_16BITS || this.centralDirSize === i.MAX_VALUE_32BITS || this.centralDirOffset === i.MAX_VALUE_32BITS) {
1227
+ if (this.zip64 = !0, (e = this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
1228
+ if (this.reader.setIndex(e), this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, a.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw Error("Corrupted zip: can't find the ZIP64 end of central directory");
1229
+ this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral();
1230
+ }
1231
+ var n = this.centralDirOffset + this.centralDirSize;
1232
+ this.zip64 && (n += 20, n += 12 + this.zip64EndOfCentralSize);
1233
+ var r = t - n;
1234
+ if (0 < r) this.isSignature(t, a.CENTRAL_FILE_HEADER) || (this.reader.zero = r);
1235
+ else if (r < 0) throw Error("Corrupted zip: missing " + Math.abs(r) + " bytes.");
1236
+ },
1237
+ prepareReader: function(e) {
1238
+ this.reader = r(e);
1239
+ },
1240
+ load: function(e) {
1241
+ this.prepareReader(e), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
1242
+ }
1243
+ }, t.exports = c;
1244
+ }, {
1245
+ "./reader/readerFor": 22,
1246
+ "./signature": 23,
1247
+ "./support": 30,
1248
+ "./utils": 32,
1249
+ "./zipEntry": 34
1250
+ }],
1251
+ 34: [function(e, t, n) {
1252
+ var r = e("./reader/readerFor"), i = e("./utils"), a = e("./compressedObject"), o = e("./crc32"), s = e("./utf8"), c = e("./compressions"), l = e("./support");
1253
+ function u(e, t) {
1254
+ this.options = e, this.loadOptions = t;
1255
+ }
1256
+ u.prototype = {
1257
+ isEncrypted: function() {
1258
+ return (1 & this.bitFlag) == 1;
1259
+ },
1260
+ useUTF8: function() {
1261
+ return (2048 & this.bitFlag) == 2048;
1262
+ },
1263
+ readLocalPart: function(e) {
1264
+ var t, n;
1265
+ if (e.skip(22), this.fileNameLength = e.readInt(2), n = e.readInt(2), this.fileName = e.readData(this.fileNameLength), e.skip(n), this.compressedSize === -1 || this.uncompressedSize === -1) throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
1266
+ if ((t = function(e) {
1267
+ for (var t in c) if (Object.prototype.hasOwnProperty.call(c, t) && c[t].magic === e) return c[t];
1268
+ return null;
1269
+ }(this.compressionMethod)) === null) throw Error("Corrupted zip : compression " + i.pretty(this.compressionMethod) + " unknown (inner file : " + i.transformTo("string", this.fileName) + ")");
1270
+ this.decompressed = new a(this.compressedSize, this.uncompressedSize, this.crc32, t, e.readData(this.compressedSize));
1271
+ },
1272
+ readCentralPart: function(e) {
1273
+ 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);
1274
+ var t = e.readInt(2);
1275
+ 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 Error("Encrypted zip are not supported");
1276
+ e.skip(t), this.readExtraFields(e), this.parseZIP64ExtraField(e), this.fileComment = e.readData(this.fileCommentLength);
1277
+ },
1278
+ processAttributes: function() {
1279
+ this.unixPermissions = null, this.dosPermissions = null;
1280
+ var e = this.versionMadeBy >> 8;
1281
+ this.dir = !!(16 & this.externalFileAttributes), e == 0 && (this.dosPermissions = 63 & this.externalFileAttributes), e == 3 && (this.unixPermissions = this.externalFileAttributes >> 16 & 65535), this.dir || this.fileNameStr.slice(-1) !== "/" || (this.dir = !0);
1282
+ },
1283
+ parseZIP64ExtraField: function() {
1284
+ if (this.extraFields[1]) {
1285
+ var e = r(this.extraFields[1].value);
1286
+ this.uncompressedSize === i.MAX_VALUE_32BITS && (this.uncompressedSize = e.readInt(8)), this.compressedSize === i.MAX_VALUE_32BITS && (this.compressedSize = e.readInt(8)), this.localHeaderOffset === i.MAX_VALUE_32BITS && (this.localHeaderOffset = e.readInt(8)), this.diskNumberStart === i.MAX_VALUE_32BITS && (this.diskNumberStart = e.readInt(4));
1287
+ }
1288
+ },
1289
+ readExtraFields: function(e) {
1290
+ var t, n, r, i = e.index + this.extraFieldsLength;
1291
+ for (this.extraFields ||= {}; e.index + 4 < i;) t = e.readInt(2), n = e.readInt(2), r = e.readData(n), this.extraFields[t] = {
1292
+ id: t,
1293
+ length: n,
1294
+ value: r
1295
+ };
1296
+ e.setIndex(i);
1297
+ },
1298
+ handleUTF8: function() {
1299
+ var e = l.uint8array ? "uint8array" : "array";
1300
+ if (this.useUTF8()) this.fileNameStr = s.utf8decode(this.fileName), this.fileCommentStr = s.utf8decode(this.fileComment);
1301
+ else {
1302
+ var t = this.findExtraFieldUnicodePath();
1303
+ if (t !== null) this.fileNameStr = t;
1304
+ else {
1305
+ var n = i.transformTo(e, this.fileName);
1306
+ this.fileNameStr = this.loadOptions.decodeFileName(n);
1307
+ }
1308
+ var r = this.findExtraFieldUnicodeComment();
1309
+ if (r !== null) this.fileCommentStr = r;
1310
+ else {
1311
+ var a = i.transformTo(e, this.fileComment);
1312
+ this.fileCommentStr = this.loadOptions.decodeFileName(a);
1313
+ }
1314
+ }
1315
+ },
1316
+ findExtraFieldUnicodePath: function() {
1317
+ var e = this.extraFields[28789];
1318
+ if (e) {
1319
+ var t = r(e.value);
1320
+ return t.readInt(1) === 1 && o(this.fileName) === t.readInt(4) ? s.utf8decode(t.readData(e.length - 5)) : null;
1321
+ }
1322
+ return null;
1323
+ },
1324
+ findExtraFieldUnicodeComment: function() {
1325
+ var e = this.extraFields[25461];
1326
+ if (e) {
1327
+ var t = r(e.value);
1328
+ return t.readInt(1) === 1 && o(this.fileComment) === t.readInt(4) ? s.utf8decode(t.readData(e.length - 5)) : null;
1329
+ }
1330
+ return null;
1331
+ }
1332
+ }, t.exports = u;
1333
+ }, {
1334
+ "./compressedObject": 2,
1335
+ "./compressions": 3,
1336
+ "./crc32": 4,
1337
+ "./reader/readerFor": 22,
1338
+ "./support": 30,
1339
+ "./utf8": 31,
1340
+ "./utils": 32
1341
+ }],
1342
+ 35: [function(e, t, n) {
1343
+ function r(e, t, n) {
1344
+ this.name = e, this.dir = n.dir, this.date = n.date, this.comment = n.comment, this.unixPermissions = n.unixPermissions, this.dosPermissions = n.dosPermissions, this._data = t, this._dataBinary = n.binary, this.options = {
1345
+ compression: n.compression,
1346
+ compressionOptions: n.compressionOptions
1347
+ };
1348
+ }
1349
+ var i = e("./stream/StreamHelper"), a = e("./stream/DataWorker"), o = e("./utf8"), s = e("./compressedObject"), c = e("./stream/GenericWorker");
1350
+ r.prototype = {
1351
+ internalStream: function(e) {
1352
+ var t = null, n = "string";
1353
+ try {
1354
+ if (!e) throw Error("No output type specified.");
1355
+ var r = (n = e.toLowerCase()) === "string" || n === "text";
1356
+ n !== "binarystring" && n !== "text" || (n = "string"), t = this._decompressWorker();
1357
+ var a = !this._dataBinary;
1358
+ a && !r && (t = t.pipe(new o.Utf8EncodeWorker())), !a && r && (t = t.pipe(new o.Utf8DecodeWorker()));
1359
+ } catch (e) {
1360
+ (t = new c("error")).error(e);
1361
+ }
1362
+ return new i(t, n, "");
1363
+ },
1364
+ async: function(e, t) {
1365
+ return this.internalStream(e).accumulate(t);
1366
+ },
1367
+ nodeStream: function(e, t) {
1368
+ return this.internalStream(e || "nodebuffer").toNodejsStream(t);
1369
+ },
1370
+ _compressWorker: function(e, t) {
1371
+ if (this._data instanceof s && this._data.compression.magic === e.magic) return this._data.getCompressedWorker();
1372
+ var n = this._decompressWorker();
1373
+ return this._dataBinary || (n = n.pipe(new o.Utf8EncodeWorker())), s.createWorkerFrom(n, e, t);
1374
+ },
1375
+ _decompressWorker: function() {
1376
+ return this._data instanceof s ? this._data.getContentWorker() : this._data instanceof c ? this._data : new a(this._data);
1377
+ }
1378
+ };
1379
+ for (var l = [
1380
+ "asText",
1381
+ "asBinary",
1382
+ "asNodeBuffer",
1383
+ "asUint8Array",
1384
+ "asArrayBuffer"
1385
+ ], u = function() {
1386
+ throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
1387
+ }, d = 0; d < l.length; d++) r.prototype[l[d]] = u;
1388
+ t.exports = r;
1389
+ }, {
1390
+ "./compressedObject": 2,
1391
+ "./stream/DataWorker": 27,
1392
+ "./stream/GenericWorker": 28,
1393
+ "./stream/StreamHelper": 29,
1394
+ "./utf8": 31
1395
+ }],
1396
+ 36: [function(e, t, n) {
1397
+ (function(e) {
1398
+ var n, r, i = e.MutationObserver || e.WebKitMutationObserver;
1399
+ if (i) {
1400
+ var a = 0, o = new i(u), s = e.document.createTextNode("");
1401
+ o.observe(s, { characterData: !0 }), n = function() {
1402
+ s.data = a = ++a % 2;
1403
+ };
1404
+ } else if (e.setImmediate || e.MessageChannel === void 0) n = "document" in e && "onreadystatechange" in e.document.createElement("script") ? function() {
1405
+ var t = e.document.createElement("script");
1406
+ t.onreadystatechange = function() {
1407
+ u(), t.onreadystatechange = null, t.parentNode.removeChild(t), t = null;
1408
+ }, e.document.documentElement.appendChild(t);
1409
+ } : function() {
1410
+ setTimeout(u, 0);
1411
+ };
1412
+ else {
1413
+ var c = new e.MessageChannel();
1414
+ c.port1.onmessage = u, n = function() {
1415
+ c.port2.postMessage(0);
1416
+ };
1417
+ }
1418
+ var l = [];
1419
+ function u() {
1420
+ var e, t;
1421
+ r = !0;
1422
+ for (var n = l.length; n;) {
1423
+ for (t = l, l = [], e = -1; ++e < n;) t[e]();
1424
+ n = l.length;
1425
+ }
1426
+ r = !1;
1427
+ }
1428
+ t.exports = function(e) {
1429
+ l.push(e) !== 1 || r || n();
1430
+ };
1431
+ }).call(this, typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : {});
1432
+ }, {}],
1433
+ 37: [function(e, t, n) {
1434
+ var r = e("immediate");
1435
+ function i() {}
1436
+ var a = {}, o = ["REJECTED"], s = ["FULFILLED"], c = ["PENDING"];
1437
+ function l(e) {
1438
+ if (typeof e != "function") throw TypeError("resolver must be a function");
1439
+ this.state = c, this.queue = [], this.outcome = void 0, e !== i && p(this, e);
1440
+ }
1441
+ function u(e, t, n) {
1442
+ this.promise = e, typeof t == "function" && (this.onFulfilled = t, this.callFulfilled = this.otherCallFulfilled), typeof n == "function" && (this.onRejected = n, this.callRejected = this.otherCallRejected);
1443
+ }
1444
+ function d(e, t, n) {
1445
+ r(function() {
1446
+ var r;
1447
+ try {
1448
+ r = t(n);
1449
+ } catch (t) {
1450
+ return a.reject(e, t);
1451
+ }
1452
+ r === e ? a.reject(e, /* @__PURE__ */ TypeError("Cannot resolve promise with itself")) : a.resolve(e, r);
1453
+ });
1454
+ }
1455
+ function f(e) {
1456
+ var t = e && e.then;
1457
+ if (e && (typeof e == "object" || typeof e == "function") && typeof t == "function") return function() {
1458
+ t.apply(e, arguments);
1459
+ };
1460
+ }
1461
+ function p(e, t) {
1462
+ var n = !1;
1463
+ function r(t) {
1464
+ n || (n = !0, a.reject(e, t));
1465
+ }
1466
+ function i(t) {
1467
+ n || (n = !0, a.resolve(e, t));
1468
+ }
1469
+ var o = m(function() {
1470
+ t(i, r);
1471
+ });
1472
+ o.status === "error" && r(o.value);
1473
+ }
1474
+ function m(e, t) {
1475
+ var n = {};
1476
+ try {
1477
+ n.value = e(t), n.status = "success";
1478
+ } catch (e) {
1479
+ n.status = "error", n.value = e;
1480
+ }
1481
+ return n;
1482
+ }
1483
+ (t.exports = l).prototype.finally = function(e) {
1484
+ if (typeof e != "function") return this;
1485
+ var t = this.constructor;
1486
+ return this.then(function(n) {
1487
+ return t.resolve(e()).then(function() {
1488
+ return n;
1489
+ });
1490
+ }, function(n) {
1491
+ return t.resolve(e()).then(function() {
1492
+ throw n;
1493
+ });
1494
+ });
1495
+ }, l.prototype.catch = function(e) {
1496
+ return this.then(null, e);
1497
+ }, l.prototype.then = function(e, t) {
1498
+ if (typeof e != "function" && this.state === s || typeof t != "function" && this.state === o) return this;
1499
+ var n = new this.constructor(i);
1500
+ return this.state === c ? this.queue.push(new u(n, e, t)) : d(n, this.state === s ? e : t, this.outcome), n;
1501
+ }, u.prototype.callFulfilled = function(e) {
1502
+ a.resolve(this.promise, e);
1503
+ }, u.prototype.otherCallFulfilled = function(e) {
1504
+ d(this.promise, this.onFulfilled, e);
1505
+ }, u.prototype.callRejected = function(e) {
1506
+ a.reject(this.promise, e);
1507
+ }, u.prototype.otherCallRejected = function(e) {
1508
+ d(this.promise, this.onRejected, e);
1509
+ }, a.resolve = function(e, t) {
1510
+ var n = m(f, t);
1511
+ if (n.status === "error") return a.reject(e, n.value);
1512
+ var r = n.value;
1513
+ if (r) p(e, r);
1514
+ else {
1515
+ e.state = s, e.outcome = t;
1516
+ for (var i = -1, o = e.queue.length; ++i < o;) e.queue[i].callFulfilled(t);
1517
+ }
1518
+ return e;
1519
+ }, a.reject = function(e, t) {
1520
+ e.state = o, e.outcome = t;
1521
+ for (var n = -1, r = e.queue.length; ++n < r;) e.queue[n].callRejected(t);
1522
+ return e;
1523
+ }, l.resolve = function(e) {
1524
+ return e instanceof this ? e : a.resolve(new this(i), e);
1525
+ }, l.reject = function(e) {
1526
+ var t = new this(i);
1527
+ return a.reject(t, e);
1528
+ }, l.all = function(e) {
1529
+ var t = this;
1530
+ if (Object.prototype.toString.call(e) !== "[object Array]") return this.reject(/* @__PURE__ */ TypeError("must be an array"));
1531
+ var n = e.length, r = !1;
1532
+ if (!n) return this.resolve([]);
1533
+ for (var o = Array(n), s = 0, c = -1, l = new this(i); ++c < n;) u(e[c], c);
1534
+ return l;
1535
+ function u(e, i) {
1536
+ t.resolve(e).then(function(e) {
1537
+ o[i] = e, ++s !== n || r || (r = !0, a.resolve(l, o));
1538
+ }, function(e) {
1539
+ r || (r = !0, a.reject(l, e));
1540
+ });
1541
+ }
1542
+ }, l.race = function(e) {
1543
+ var t = this;
1544
+ if (Object.prototype.toString.call(e) !== "[object Array]") return this.reject(/* @__PURE__ */ TypeError("must be an array"));
1545
+ var n = e.length, r = !1;
1546
+ if (!n) return this.resolve([]);
1547
+ for (var o = -1, s = new this(i); ++o < n;) c = e[o], t.resolve(c).then(function(e) {
1548
+ r || (r = !0, a.resolve(s, e));
1549
+ }, function(e) {
1550
+ r || (r = !0, a.reject(s, e));
1551
+ });
1552
+ var c;
1553
+ return s;
1554
+ };
1555
+ }, { immediate: 36 }],
1556
+ 38: [function(e, t, n) {
1557
+ var r = {};
1558
+ (0, e("./lib/utils/common").assign)(r, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), t.exports = r;
1559
+ }, {
1560
+ "./lib/deflate": 39,
1561
+ "./lib/inflate": 40,
1562
+ "./lib/utils/common": 41,
1563
+ "./lib/zlib/constants": 44
1564
+ }],
1565
+ 39: [function(e, t, n) {
1566
+ var r = e("./zlib/deflate"), i = e("./utils/common"), a = e("./utils/strings"), o = e("./zlib/messages"), s = e("./zlib/zstream"), c = Object.prototype.toString, l = 0, u = -1, d = 0, f = 8;
1567
+ function p(e) {
1568
+ if (!(this instanceof p)) return new p(e);
1569
+ this.options = i.assign({
1570
+ level: u,
1571
+ method: f,
1572
+ chunkSize: 16384,
1573
+ windowBits: 15,
1574
+ memLevel: 8,
1575
+ strategy: d,
1576
+ to: ""
1577
+ }, e || {});
1578
+ var t = this.options;
1579
+ t.raw && 0 < t.windowBits ? t.windowBits = -t.windowBits : t.gzip && 0 < t.windowBits && t.windowBits < 16 && (t.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new s(), this.strm.avail_out = 0;
1580
+ var n = r.deflateInit2(this.strm, t.level, t.method, t.windowBits, t.memLevel, t.strategy);
1581
+ if (n !== l) throw Error(o[n]);
1582
+ if (t.header && r.deflateSetHeader(this.strm, t.header), t.dictionary) {
1583
+ var m;
1584
+ if (m = typeof t.dictionary == "string" ? a.string2buf(t.dictionary) : c.call(t.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(t.dictionary) : t.dictionary, (n = r.deflateSetDictionary(this.strm, m)) !== l) throw Error(o[n]);
1585
+ this._dict_set = !0;
1586
+ }
1587
+ }
1588
+ function m(e, t) {
1589
+ var n = new p(t);
1590
+ if (n.push(e, !0), n.err) throw n.msg || o[n.err];
1591
+ return n.result;
1592
+ }
1593
+ p.prototype.push = function(e, t) {
1594
+ var n, o, s = this.strm, u = this.options.chunkSize;
1595
+ if (this.ended) return !1;
1596
+ o = t === ~~t ? t : !0 === t ? 4 : 0, typeof e == "string" ? s.input = a.string2buf(e) : c.call(e) === "[object ArrayBuffer]" ? s.input = new Uint8Array(e) : s.input = e, s.next_in = 0, s.avail_in = s.input.length;
1597
+ do {
1598
+ if (s.avail_out === 0 && (s.output = new i.Buf8(u), s.next_out = 0, s.avail_out = u), (n = r.deflate(s, o)) !== 1 && n !== l) return this.onEnd(n), !(this.ended = !0);
1599
+ s.avail_out !== 0 && (s.avail_in !== 0 || o !== 4 && o !== 2) || (this.options.to === "string" ? this.onData(a.buf2binstring(i.shrinkBuf(s.output, s.next_out))) : this.onData(i.shrinkBuf(s.output, s.next_out)));
1600
+ } while ((0 < s.avail_in || s.avail_out === 0) && n !== 1);
1601
+ return o === 4 ? (n = r.deflateEnd(this.strm), this.onEnd(n), this.ended = !0, n === l) : o !== 2 || (this.onEnd(l), !(s.avail_out = 0));
1602
+ }, p.prototype.onData = function(e) {
1603
+ this.chunks.push(e);
1604
+ }, p.prototype.onEnd = function(e) {
1605
+ e === l && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
1606
+ }, n.Deflate = p, n.deflate = m, n.deflateRaw = function(e, t) {
1607
+ return (t ||= {}).raw = !0, m(e, t);
1608
+ }, n.gzip = function(e, t) {
1609
+ return (t ||= {}).gzip = !0, m(e, t);
1610
+ };
1611
+ }, {
1612
+ "./utils/common": 41,
1613
+ "./utils/strings": 42,
1614
+ "./zlib/deflate": 46,
1615
+ "./zlib/messages": 51,
1616
+ "./zlib/zstream": 53
1617
+ }],
1618
+ 40: [function(e, t, n) {
1619
+ var r = e("./zlib/inflate"), i = e("./utils/common"), a = e("./utils/strings"), o = e("./zlib/constants"), s = e("./zlib/messages"), c = e("./zlib/zstream"), l = e("./zlib/gzheader"), u = Object.prototype.toString;
1620
+ function d(e) {
1621
+ if (!(this instanceof d)) return new d(e);
1622
+ this.options = i.assign({
1623
+ chunkSize: 16384,
1624
+ windowBits: 0,
1625
+ to: ""
1626
+ }, e || {});
1627
+ var t = this.options;
1628
+ t.raw && 0 <= t.windowBits && t.windowBits < 16 && (t.windowBits = -t.windowBits, t.windowBits === 0 && (t.windowBits = -15)), !(0 <= t.windowBits && t.windowBits < 16) || e && e.windowBits || (t.windowBits += 32), 15 < t.windowBits && t.windowBits < 48 && !(15 & t.windowBits) && (t.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new c(), this.strm.avail_out = 0;
1629
+ var n = r.inflateInit2(this.strm, t.windowBits);
1630
+ if (n !== o.Z_OK) throw Error(s[n]);
1631
+ this.header = new l(), r.inflateGetHeader(this.strm, this.header);
1632
+ }
1633
+ function f(e, t) {
1634
+ var n = new d(t);
1635
+ if (n.push(e, !0), n.err) throw n.msg || s[n.err];
1636
+ return n.result;
1637
+ }
1638
+ d.prototype.push = function(e, t) {
1639
+ var n, s, c, l, d, f, p = this.strm, m = this.options.chunkSize, h = this.options.dictionary, g = !1;
1640
+ if (this.ended) return !1;
1641
+ s = t === ~~t ? t : !0 === t ? o.Z_FINISH : o.Z_NO_FLUSH, typeof e == "string" ? p.input = a.binstring2buf(e) : u.call(e) === "[object ArrayBuffer]" ? p.input = new Uint8Array(e) : p.input = e, p.next_in = 0, p.avail_in = p.input.length;
1642
+ do {
1643
+ if (p.avail_out === 0 && (p.output = new i.Buf8(m), p.next_out = 0, p.avail_out = m), (n = r.inflate(p, o.Z_NO_FLUSH)) === o.Z_NEED_DICT && h && (f = typeof h == "string" ? a.string2buf(h) : u.call(h) === "[object ArrayBuffer]" ? new Uint8Array(h) : h, n = r.inflateSetDictionary(this.strm, f)), n === o.Z_BUF_ERROR && !0 === g && (n = o.Z_OK, g = !1), n !== o.Z_STREAM_END && n !== o.Z_OK) return this.onEnd(n), !(this.ended = !0);
1644
+ p.next_out && (p.avail_out !== 0 && n !== o.Z_STREAM_END && (p.avail_in !== 0 || s !== o.Z_FINISH && s !== o.Z_SYNC_FLUSH) || (this.options.to === "string" ? (c = a.utf8border(p.output, p.next_out), l = p.next_out - c, d = a.buf2string(p.output, c), p.next_out = l, p.avail_out = m - l, l && i.arraySet(p.output, p.output, c, l, 0), this.onData(d)) : this.onData(i.shrinkBuf(p.output, p.next_out)))), p.avail_in === 0 && p.avail_out === 0 && (g = !0);
1645
+ } while ((0 < p.avail_in || p.avail_out === 0) && n !== o.Z_STREAM_END);
1646
+ return n === o.Z_STREAM_END && (s = o.Z_FINISH), s === o.Z_FINISH ? (n = r.inflateEnd(this.strm), this.onEnd(n), this.ended = !0, n === o.Z_OK) : s !== o.Z_SYNC_FLUSH || (this.onEnd(o.Z_OK), !(p.avail_out = 0));
1647
+ }, d.prototype.onData = function(e) {
1648
+ this.chunks.push(e);
1649
+ }, d.prototype.onEnd = function(e) {
1650
+ e === o.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
1651
+ }, n.Inflate = d, n.inflate = f, n.inflateRaw = function(e, t) {
1652
+ return (t ||= {}).raw = !0, f(e, t);
1653
+ }, n.ungzip = f;
1654
+ }, {
1655
+ "./utils/common": 41,
1656
+ "./utils/strings": 42,
1657
+ "./zlib/constants": 44,
1658
+ "./zlib/gzheader": 47,
1659
+ "./zlib/inflate": 49,
1660
+ "./zlib/messages": 51,
1661
+ "./zlib/zstream": 53
1662
+ }],
1663
+ 41: [function(e, t, n) {
1664
+ var r = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
1665
+ n.assign = function(e) {
1666
+ for (var t = Array.prototype.slice.call(arguments, 1); t.length;) {
1667
+ var n = t.shift();
1668
+ if (n) {
1669
+ if (typeof n != "object") throw TypeError(n + "must be non-object");
1670
+ for (var r in n) n.hasOwnProperty(r) && (e[r] = n[r]);
1671
+ }
1672
+ }
1673
+ return e;
1674
+ }, n.shrinkBuf = function(e, t) {
1675
+ return e.length === t ? e : e.subarray ? e.subarray(0, t) : (e.length = t, e);
1676
+ };
1677
+ var i = {
1678
+ arraySet: function(e, t, n, r, i) {
1679
+ if (t.subarray && e.subarray) e.set(t.subarray(n, n + r), i);
1680
+ else for (var a = 0; a < r; a++) e[i + a] = t[n + a];
1681
+ },
1682
+ flattenChunks: function(e) {
1683
+ var t, n, r, i, a, o;
1684
+ for (t = r = 0, n = e.length; t < n; t++) r += e[t].length;
1685
+ for (o = new Uint8Array(r), t = i = 0, n = e.length; t < n; t++) a = e[t], o.set(a, i), i += a.length;
1686
+ return o;
1687
+ }
1688
+ }, a = {
1689
+ arraySet: function(e, t, n, r, i) {
1690
+ for (var a = 0; a < r; a++) e[i + a] = t[n + a];
1691
+ },
1692
+ flattenChunks: function(e) {
1693
+ return [].concat.apply([], e);
1694
+ }
1695
+ };
1696
+ n.setTyped = function(e) {
1697
+ e ? (n.Buf8 = Uint8Array, n.Buf16 = Uint16Array, n.Buf32 = Int32Array, n.assign(n, i)) : (n.Buf8 = Array, n.Buf16 = Array, n.Buf32 = Array, n.assign(n, a));
1698
+ }, n.setTyped(r);
1699
+ }, {}],
1700
+ 42: [function(e, t, n) {
1701
+ var r = e("./common"), i = !0, a = !0;
1702
+ try {
1703
+ String.fromCharCode.apply(null, [0]);
1704
+ } catch {
1705
+ i = !1;
1706
+ }
1707
+ try {
1708
+ String.fromCharCode.apply(null, new Uint8Array(1));
1709
+ } catch {
1710
+ a = !1;
1711
+ }
1712
+ for (var o = new r.Buf8(256), s = 0; s < 256; s++) o[s] = 252 <= s ? 6 : 248 <= s ? 5 : 240 <= s ? 4 : 224 <= s ? 3 : 192 <= s ? 2 : 1;
1713
+ function c(e, t) {
1714
+ if (t < 65537 && (e.subarray && a || !e.subarray && i)) return String.fromCharCode.apply(null, r.shrinkBuf(e, t));
1715
+ for (var n = "", o = 0; o < t; o++) n += String.fromCharCode(e[o]);
1716
+ return n;
1717
+ }
1718
+ o[254] = o[254] = 1, n.string2buf = function(e) {
1719
+ var t, n, i, a, o, s = e.length, c = 0;
1720
+ for (a = 0; a < s; a++) (64512 & (n = e.charCodeAt(a))) == 55296 && a + 1 < s && (64512 & (i = e.charCodeAt(a + 1))) == 56320 && (n = 65536 + (n - 55296 << 10) + (i - 56320), a++), c += n < 128 ? 1 : n < 2048 ? 2 : n < 65536 ? 3 : 4;
1721
+ for (t = new r.Buf8(c), a = o = 0; o < c; a++) (64512 & (n = e.charCodeAt(a))) == 55296 && a + 1 < s && (64512 & (i = e.charCodeAt(a + 1))) == 56320 && (n = 65536 + (n - 55296 << 10) + (i - 56320), a++), n < 128 ? t[o++] = n : (n < 2048 ? t[o++] = 192 | n >>> 6 : (n < 65536 ? t[o++] = 224 | n >>> 12 : (t[o++] = 240 | n >>> 18, t[o++] = 128 | n >>> 12 & 63), t[o++] = 128 | n >>> 6 & 63), t[o++] = 128 | 63 & n);
1722
+ return t;
1723
+ }, n.buf2binstring = function(e) {
1724
+ return c(e, e.length);
1725
+ }, n.binstring2buf = function(e) {
1726
+ for (var t = new r.Buf8(e.length), n = 0, i = t.length; n < i; n++) t[n] = e.charCodeAt(n);
1727
+ return t;
1728
+ }, n.buf2string = function(e, t) {
1729
+ var n, r, i, a, s = t || e.length, l = Array(2 * s);
1730
+ for (n = r = 0; n < s;) if ((i = e[n++]) < 128) l[r++] = i;
1731
+ else if (4 < (a = o[i])) l[r++] = 65533, n += a - 1;
1732
+ else {
1733
+ for (i &= a === 2 ? 31 : a === 3 ? 15 : 7; 1 < a && n < s;) i = i << 6 | 63 & e[n++], a--;
1734
+ 1 < a ? l[r++] = 65533 : i < 65536 ? l[r++] = i : (i -= 65536, l[r++] = 55296 | i >> 10 & 1023, l[r++] = 56320 | 1023 & i);
1735
+ }
1736
+ return c(l, r);
1737
+ }, n.utf8border = function(e, t) {
1738
+ var n;
1739
+ for ((t ||= e.length) > e.length && (t = e.length), n = t - 1; 0 <= n && (192 & e[n]) == 128;) n--;
1740
+ return n < 0 || n === 0 ? t : n + o[e[n]] > t ? n : t;
1741
+ };
1742
+ }, { "./common": 41 }],
1743
+ 43: [function(e, t, n) {
1744
+ t.exports = function(e, t, n, r) {
1745
+ for (var i = 65535 & e | 0, a = e >>> 16 & 65535 | 0, o = 0; n !== 0;) {
1746
+ for (n -= o = 2e3 < n ? 2e3 : n; a = a + (i = i + t[r++] | 0) | 0, --o;);
1747
+ i %= 65521, a %= 65521;
1748
+ }
1749
+ return i | a << 16 | 0;
1750
+ };
1751
+ }, {}],
1752
+ 44: [function(e, t, n) {
1753
+ t.exports = {
1754
+ Z_NO_FLUSH: 0,
1755
+ Z_PARTIAL_FLUSH: 1,
1756
+ Z_SYNC_FLUSH: 2,
1757
+ Z_FULL_FLUSH: 3,
1758
+ Z_FINISH: 4,
1759
+ Z_BLOCK: 5,
1760
+ Z_TREES: 6,
1761
+ Z_OK: 0,
1762
+ Z_STREAM_END: 1,
1763
+ Z_NEED_DICT: 2,
1764
+ Z_ERRNO: -1,
1765
+ Z_STREAM_ERROR: -2,
1766
+ Z_DATA_ERROR: -3,
1767
+ Z_BUF_ERROR: -5,
1768
+ Z_NO_COMPRESSION: 0,
1769
+ Z_BEST_SPEED: 1,
1770
+ Z_BEST_COMPRESSION: 9,
1771
+ Z_DEFAULT_COMPRESSION: -1,
1772
+ Z_FILTERED: 1,
1773
+ Z_HUFFMAN_ONLY: 2,
1774
+ Z_RLE: 3,
1775
+ Z_FIXED: 4,
1776
+ Z_DEFAULT_STRATEGY: 0,
1777
+ Z_BINARY: 0,
1778
+ Z_TEXT: 1,
1779
+ Z_UNKNOWN: 2,
1780
+ Z_DEFLATED: 8
1781
+ };
1782
+ }, {}],
1783
+ 45: [function(e, t, n) {
1784
+ var r = function() {
1785
+ for (var e, t = [], n = 0; n < 256; n++) {
1786
+ e = n;
1787
+ for (var r = 0; r < 8; r++) e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1;
1788
+ t[n] = e;
1789
+ }
1790
+ return t;
1791
+ }();
1792
+ t.exports = function(e, t, n, i) {
1793
+ var a = r, o = i + n;
1794
+ e ^= -1;
1795
+ for (var s = i; s < o; s++) e = e >>> 8 ^ a[255 & (e ^ t[s])];
1796
+ return -1 ^ e;
1797
+ };
1798
+ }, {}],
1799
+ 46: [function(e, t, n) {
1800
+ var r, i = e("../utils/common"), a = e("./trees"), o = e("./adler32"), s = e("./crc32"), c = e("./messages"), l = 0, u = 4, d = 0, f = -2, p = -1, m = 4, h = 2, g = 8, _ = 9, v = 286, y = 30, b = 19, x = 2 * v + 1, S = 15, C = 3, w = 258, T = w + C + 1, E = 42, D = 113, O = 1, k = 2, A = 3, j = 4;
1801
+ function M(e, t) {
1802
+ return e.msg = c[t], t;
1803
+ }
1804
+ function N(e) {
1805
+ return (e << 1) - (4 < e ? 9 : 0);
1806
+ }
1807
+ function P(e) {
1808
+ for (var t = e.length; 0 <= --t;) e[t] = 0;
1809
+ }
1810
+ function F(e) {
1811
+ var t = e.state, n = t.pending;
1812
+ n > e.avail_out && (n = e.avail_out), n !== 0 && (i.arraySet(e.output, t.pending_buf, t.pending_out, n, e.next_out), e.next_out += n, t.pending_out += n, e.total_out += n, e.avail_out -= n, t.pending -= n, t.pending === 0 && (t.pending_out = 0));
1813
+ }
1814
+ function I(e, t) {
1815
+ a._tr_flush_block(e, 0 <= e.block_start ? e.block_start : -1, e.strstart - e.block_start, t), e.block_start = e.strstart, F(e.strm);
1816
+ }
1817
+ function L(e, t) {
1818
+ e.pending_buf[e.pending++] = t;
1819
+ }
1820
+ function R(e, t) {
1821
+ e.pending_buf[e.pending++] = t >>> 8 & 255, e.pending_buf[e.pending++] = 255 & t;
1822
+ }
1823
+ function z(e, t) {
1824
+ var n, r, i = e.max_chain_length, a = e.strstart, o = e.prev_length, s = e.nice_match, c = e.strstart > e.w_size - T ? e.strstart - (e.w_size - T) : 0, l = e.window, u = e.w_mask, d = e.prev, f = e.strstart + w, p = l[a + o - 1], m = l[a + o];
1825
+ e.prev_length >= e.good_match && (i >>= 2), s > e.lookahead && (s = e.lookahead);
1826
+ do
1827
+ if (l[(n = t) + o] === m && l[n + o - 1] === p && l[n] === l[a] && l[++n] === l[a + 1]) {
1828
+ a += 2, n++;
1829
+ do ;
1830
+ while (l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && a < f);
1831
+ if (r = w - (f - a), a = f - w, o < r) {
1832
+ if (e.match_start = t, s <= (o = r)) break;
1833
+ p = l[a + o - 1], m = l[a + o];
1834
+ }
1835
+ }
1836
+ while ((t = d[t & u]) > c && --i != 0);
1837
+ return o <= e.lookahead ? o : e.lookahead;
1838
+ }
1839
+ function B(e) {
1840
+ var t, n, r, a, c, l, u, d, f, p, m = e.w_size;
1841
+ do {
1842
+ if (a = e.window_size - e.lookahead - e.strstart, e.strstart >= m + (m - T)) {
1843
+ for (i.arraySet(e.window, e.window, m, m, 0), e.match_start -= m, e.strstart -= m, e.block_start -= m, t = n = e.hash_size; r = e.head[--t], e.head[t] = m <= r ? r - m : 0, --n;);
1844
+ for (t = n = m; r = e.prev[--t], e.prev[t] = m <= r ? r - m : 0, --n;);
1845
+ a += m;
1846
+ }
1847
+ if (e.strm.avail_in === 0) break;
1848
+ if (l = e.strm, u = e.window, d = e.strstart + e.lookahead, f = a, p = void 0, p = l.avail_in, f < p && (p = f), n = p === 0 ? 0 : (l.avail_in -= p, i.arraySet(u, l.input, l.next_in, p, d), l.state.wrap === 1 ? l.adler = o(l.adler, u, p, d) : l.state.wrap === 2 && (l.adler = s(l.adler, u, p, d)), l.next_in += p, l.total_in += p, p), e.lookahead += n, e.lookahead + e.insert >= C) for (c = e.strstart - e.insert, e.ins_h = e.window[c], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[c + 1]) & e.hash_mask; e.insert && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[c + C - 1]) & e.hash_mask, e.prev[c & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = c, c++, e.insert--, !(e.lookahead + e.insert < C)););
1849
+ } while (e.lookahead < T && e.strm.avail_in !== 0);
1850
+ }
1851
+ function V(e, t) {
1852
+ for (var n, r;;) {
1853
+ if (e.lookahead < T) {
1854
+ if (B(e), e.lookahead < T && t === l) return O;
1855
+ if (e.lookahead === 0) break;
1856
+ }
1857
+ if (n = 0, e.lookahead >= C && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + C - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), n !== 0 && e.strstart - n <= e.w_size - T && (e.match_length = z(e, n)), e.match_length >= C) if (r = a._tr_tally(e, e.strstart - e.match_start, e.match_length - C), e.lookahead -= e.match_length, e.match_length <= e.max_lazy_match && e.lookahead >= C) {
1858
+ for (e.match_length--; e.strstart++, e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + C - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart, --e.match_length != 0;);
1859
+ e.strstart++;
1860
+ } 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;
1861
+ else r = a._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++;
1862
+ if (r && (I(e, !1), e.strm.avail_out === 0)) return O;
1863
+ }
1864
+ return e.insert = e.strstart < C - 1 ? e.strstart : C - 1, t === u ? (I(e, !0), e.strm.avail_out === 0 ? A : j) : e.last_lit && (I(e, !1), e.strm.avail_out === 0) ? O : k;
1865
+ }
1866
+ function H(e, t) {
1867
+ for (var n, r, i;;) {
1868
+ if (e.lookahead < T) {
1869
+ if (B(e), e.lookahead < T && t === l) return O;
1870
+ if (e.lookahead === 0) break;
1871
+ }
1872
+ if (n = 0, e.lookahead >= C && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + C - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), e.prev_length = e.match_length, e.prev_match = e.match_start, e.match_length = C - 1, n !== 0 && e.prev_length < e.max_lazy_match && e.strstart - n <= e.w_size - T && (e.match_length = z(e, n), e.match_length <= 5 && (e.strategy === 1 || e.match_length === C && 4096 < e.strstart - e.match_start) && (e.match_length = C - 1)), e.prev_length >= C && e.match_length <= e.prev_length) {
1873
+ for (i = e.strstart + e.lookahead - C, r = a._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - C), e.lookahead -= e.prev_length - 1, e.prev_length -= 2; ++e.strstart <= i && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + C - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), --e.prev_length != 0;);
1874
+ if (e.match_available = 0, e.match_length = C - 1, e.strstart++, r && (I(e, !1), e.strm.avail_out === 0)) return O;
1875
+ } else if (e.match_available) {
1876
+ if ((r = a._tr_tally(e, 0, e.window[e.strstart - 1])) && I(e, !1), e.strstart++, e.lookahead--, e.strm.avail_out === 0) return O;
1877
+ } else e.match_available = 1, e.strstart++, e.lookahead--;
1878
+ }
1879
+ return e.match_available &&= (r = a._tr_tally(e, 0, e.window[e.strstart - 1]), 0), e.insert = e.strstart < C - 1 ? e.strstart : C - 1, t === u ? (I(e, !0), e.strm.avail_out === 0 ? A : j) : e.last_lit && (I(e, !1), e.strm.avail_out === 0) ? O : k;
1880
+ }
1881
+ function U(e, t, n, r, i) {
1882
+ this.good_length = e, this.max_lazy = t, this.nice_length = n, this.max_chain = r, this.func = i;
1883
+ }
1884
+ function W() {
1885
+ 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 = g, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new i.Buf16(2 * x), this.dyn_dtree = new i.Buf16(2 * (2 * y + 1)), this.bl_tree = new i.Buf16(2 * (2 * b + 1)), P(this.dyn_ltree), P(this.dyn_dtree), P(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new i.Buf16(S + 1), this.heap = new i.Buf16(2 * v + 1), P(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new i.Buf16(2 * v + 1), P(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;
1886
+ }
1887
+ function G(e) {
1888
+ var t;
1889
+ return e && e.state ? (e.total_in = e.total_out = 0, e.data_type = h, (t = e.state).pending = 0, t.pending_out = 0, t.wrap < 0 && (t.wrap = -t.wrap), t.status = t.wrap ? E : D, e.adler = t.wrap === 2 ? 0 : 1, t.last_flush = l, a._tr_init(t), d) : M(e, f);
1890
+ }
1891
+ function K(e) {
1892
+ var t = G(e);
1893
+ return t === d && function(e) {
1894
+ e.window_size = 2 * e.w_size, P(e.head), e.max_lazy_match = r[e.level].max_lazy, e.good_match = r[e.level].good_length, e.nice_match = r[e.level].nice_length, e.max_chain_length = r[e.level].max_chain, e.strstart = 0, e.block_start = 0, e.lookahead = 0, e.insert = 0, e.match_length = e.prev_length = C - 1, e.match_available = 0, e.ins_h = 0;
1895
+ }(e.state), t;
1896
+ }
1897
+ function q(e, t, n, r, a, o) {
1898
+ if (!e) return f;
1899
+ var s = 1;
1900
+ if (t === p && (t = 6), r < 0 ? (s = 0, r = -r) : 15 < r && (s = 2, r -= 16), a < 1 || _ < a || n !== g || r < 8 || 15 < r || t < 0 || 9 < t || o < 0 || m < o) return M(e, f);
1901
+ r === 8 && (r = 9);
1902
+ var c = new W();
1903
+ return (e.state = c).strm = e, c.wrap = s, c.gzhead = null, c.w_bits = r, c.w_size = 1 << c.w_bits, c.w_mask = c.w_size - 1, c.hash_bits = a + 7, c.hash_size = 1 << c.hash_bits, c.hash_mask = c.hash_size - 1, c.hash_shift = ~~((c.hash_bits + C - 1) / C), c.window = new i.Buf8(2 * c.w_size), c.head = new i.Buf16(c.hash_size), c.prev = new i.Buf16(c.w_size), c.lit_bufsize = 1 << a + 6, c.pending_buf_size = 4 * c.lit_bufsize, c.pending_buf = new i.Buf8(c.pending_buf_size), c.d_buf = 1 * c.lit_bufsize, c.l_buf = 3 * c.lit_bufsize, c.level = t, c.strategy = o, c.method = n, K(e);
1904
+ }
1905
+ r = [
1906
+ new U(0, 0, 0, 0, function(e, t) {
1907
+ var n = 65535;
1908
+ for (n > e.pending_buf_size - 5 && (n = e.pending_buf_size - 5);;) {
1909
+ if (e.lookahead <= 1) {
1910
+ if (B(e), e.lookahead === 0 && t === l) return O;
1911
+ if (e.lookahead === 0) break;
1912
+ }
1913
+ e.strstart += e.lookahead, e.lookahead = 0;
1914
+ var r = e.block_start + n;
1915
+ if ((e.strstart === 0 || e.strstart >= r) && (e.lookahead = e.strstart - r, e.strstart = r, I(e, !1), e.strm.avail_out === 0) || e.strstart - e.block_start >= e.w_size - T && (I(e, !1), e.strm.avail_out === 0)) return O;
1916
+ }
1917
+ return e.insert = 0, t === u ? (I(e, !0), e.strm.avail_out === 0 ? A : j) : (e.strstart > e.block_start && (I(e, !1), e.strm.avail_out), O);
1918
+ }),
1919
+ new U(4, 4, 8, 4, V),
1920
+ new U(4, 5, 16, 8, V),
1921
+ new U(4, 6, 32, 32, V),
1922
+ new U(4, 4, 16, 16, H),
1923
+ new U(8, 16, 32, 32, H),
1924
+ new U(8, 16, 128, 128, H),
1925
+ new U(8, 32, 128, 256, H),
1926
+ new U(32, 128, 258, 1024, H),
1927
+ new U(32, 258, 258, 4096, H)
1928
+ ], n.deflateInit = function(e, t) {
1929
+ return q(e, t, g, 15, 8, 0);
1930
+ }, n.deflateInit2 = q, n.deflateReset = K, n.deflateResetKeep = G, n.deflateSetHeader = function(e, t) {
1931
+ return e && e.state && e.state.wrap === 2 ? (e.state.gzhead = t, d) : f;
1932
+ }, n.deflate = function(e, t) {
1933
+ var n, i, o, c;
1934
+ if (!e || !e.state || 5 < t || t < 0) return e ? M(e, f) : f;
1935
+ if (i = e.state, !e.output || !e.input && e.avail_in !== 0 || i.status === 666 && t !== u) return M(e, e.avail_out === 0 ? -5 : f);
1936
+ if (i.strm = e, n = i.last_flush, i.last_flush = t, i.status === E) if (i.wrap === 2) e.adler = 0, L(i, 31), L(i, 139), L(i, 8), i.gzhead ? (L(i, +!!i.gzhead.text + (i.gzhead.hcrc ? 2 : 0) + (i.gzhead.extra ? 4 : 0) + (i.gzhead.name ? 8 : 0) + (i.gzhead.comment ? 16 : 0)), L(i, 255 & i.gzhead.time), L(i, i.gzhead.time >> 8 & 255), L(i, i.gzhead.time >> 16 & 255), L(i, i.gzhead.time >> 24 & 255), L(i, i.level === 9 ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), L(i, 255 & i.gzhead.os), i.gzhead.extra && i.gzhead.extra.length && (L(i, 255 & i.gzhead.extra.length), L(i, i.gzhead.extra.length >> 8 & 255)), i.gzhead.hcrc && (e.adler = s(e.adler, i.pending_buf, i.pending, 0)), i.gzindex = 0, i.status = 69) : (L(i, 0), L(i, 0), L(i, 0), L(i, 0), L(i, 0), L(i, i.level === 9 ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), L(i, 3), i.status = D);
1937
+ else {
1938
+ var p = g + (i.w_bits - 8 << 4) << 8;
1939
+ p |= (2 <= i.strategy || i.level < 2 ? 0 : i.level < 6 ? 1 : i.level === 6 ? 2 : 3) << 6, i.strstart !== 0 && (p |= 32), p += 31 - p % 31, i.status = D, R(i, p), i.strstart !== 0 && (R(i, e.adler >>> 16), R(i, 65535 & e.adler)), e.adler = 1;
1940
+ }
1941
+ if (i.status === 69) if (i.gzhead.extra) {
1942
+ for (o = i.pending; i.gzindex < (65535 & i.gzhead.extra.length) && (i.pending !== i.pending_buf_size || (i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), F(e), o = i.pending, i.pending !== i.pending_buf_size));) L(i, 255 & i.gzhead.extra[i.gzindex]), i.gzindex++;
1943
+ i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), i.gzindex === i.gzhead.extra.length && (i.gzindex = 0, i.status = 73);
1944
+ } else i.status = 73;
1945
+ if (i.status === 73) if (i.gzhead.name) {
1946
+ o = i.pending;
1947
+ do {
1948
+ if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), F(e), o = i.pending, i.pending === i.pending_buf_size)) {
1949
+ c = 1;
1950
+ break;
1951
+ }
1952
+ c = i.gzindex < i.gzhead.name.length ? 255 & i.gzhead.name.charCodeAt(i.gzindex++) : 0, L(i, c);
1953
+ } while (c !== 0);
1954
+ i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), c === 0 && (i.gzindex = 0, i.status = 91);
1955
+ } else i.status = 91;
1956
+ if (i.status === 91) if (i.gzhead.comment) {
1957
+ o = i.pending;
1958
+ do {
1959
+ if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), F(e), o = i.pending, i.pending === i.pending_buf_size)) {
1960
+ c = 1;
1961
+ break;
1962
+ }
1963
+ c = i.gzindex < i.gzhead.comment.length ? 255 & i.gzhead.comment.charCodeAt(i.gzindex++) : 0, L(i, c);
1964
+ } while (c !== 0);
1965
+ i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), c === 0 && (i.status = 103);
1966
+ } else i.status = 103;
1967
+ if (i.status === 103 && (i.gzhead.hcrc ? (i.pending + 2 > i.pending_buf_size && F(e), i.pending + 2 <= i.pending_buf_size && (L(i, 255 & e.adler), L(i, e.adler >> 8 & 255), e.adler = 0, i.status = D)) : i.status = D), i.pending !== 0) {
1968
+ if (F(e), e.avail_out === 0) return i.last_flush = -1, d;
1969
+ } else if (e.avail_in === 0 && N(t) <= N(n) && t !== u) return M(e, -5);
1970
+ if (i.status === 666 && e.avail_in !== 0) return M(e, -5);
1971
+ if (e.avail_in !== 0 || i.lookahead !== 0 || t !== l && i.status !== 666) {
1972
+ var m = i.strategy === 2 ? function(e, t) {
1973
+ for (var n;;) {
1974
+ if (e.lookahead === 0 && (B(e), e.lookahead === 0)) {
1975
+ if (t === l) return O;
1976
+ break;
1977
+ }
1978
+ if (e.match_length = 0, n = a._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++, n && (I(e, !1), e.strm.avail_out === 0)) return O;
1979
+ }
1980
+ return e.insert = 0, t === u ? (I(e, !0), e.strm.avail_out === 0 ? A : j) : e.last_lit && (I(e, !1), e.strm.avail_out === 0) ? O : k;
1981
+ }(i, t) : i.strategy === 3 ? function(e, t) {
1982
+ for (var n, r, i, o, s = e.window;;) {
1983
+ if (e.lookahead <= w) {
1984
+ if (B(e), e.lookahead <= w && t === l) return O;
1985
+ if (e.lookahead === 0) break;
1986
+ }
1987
+ if (e.match_length = 0, e.lookahead >= C && 0 < e.strstart && (r = s[i = e.strstart - 1]) === s[++i] && r === s[++i] && r === s[++i]) {
1988
+ o = e.strstart + w;
1989
+ do ;
1990
+ while (r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && i < o);
1991
+ e.match_length = w - (o - i), e.match_length > e.lookahead && (e.match_length = e.lookahead);
1992
+ }
1993
+ if (e.match_length >= C ? (n = a._tr_tally(e, 1, e.match_length - C), e.lookahead -= e.match_length, e.strstart += e.match_length, e.match_length = 0) : (n = a._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++), n && (I(e, !1), e.strm.avail_out === 0)) return O;
1994
+ }
1995
+ return e.insert = 0, t === u ? (I(e, !0), e.strm.avail_out === 0 ? A : j) : e.last_lit && (I(e, !1), e.strm.avail_out === 0) ? O : k;
1996
+ }(i, t) : r[i.level].func(i, t);
1997
+ if (m !== A && m !== j || (i.status = 666), m === O || m === A) return e.avail_out === 0 && (i.last_flush = -1), d;
1998
+ if (m === k && (t === 1 ? a._tr_align(i) : t !== 5 && (a._tr_stored_block(i, 0, 0, !1), t === 3 && (P(i.head), i.lookahead === 0 && (i.strstart = 0, i.block_start = 0, i.insert = 0))), F(e), e.avail_out === 0)) return i.last_flush = -1, d;
1999
+ }
2000
+ return t === u ? i.wrap <= 0 ? 1 : (i.wrap === 2 ? (L(i, 255 & e.adler), L(i, e.adler >> 8 & 255), L(i, e.adler >> 16 & 255), L(i, e.adler >> 24 & 255), L(i, 255 & e.total_in), L(i, e.total_in >> 8 & 255), L(i, e.total_in >> 16 & 255), L(i, e.total_in >> 24 & 255)) : (R(i, e.adler >>> 16), R(i, 65535 & e.adler)), F(e), 0 < i.wrap && (i.wrap = -i.wrap), i.pending === 0 ? 1 : d) : d;
2001
+ }, n.deflateEnd = function(e) {
2002
+ var t;
2003
+ return e && e.state ? (t = e.state.status) !== E && t !== 69 && t !== 73 && t !== 91 && t !== 103 && t !== D && t !== 666 ? M(e, f) : (e.state = null, t === D ? M(e, -3) : d) : f;
2004
+ }, n.deflateSetDictionary = function(e, t) {
2005
+ var n, r, a, s, c, l, u, p, m = t.length;
2006
+ if (!e || !e.state || (s = (n = e.state).wrap) === 2 || s === 1 && n.status !== E || n.lookahead) return f;
2007
+ for (s === 1 && (e.adler = o(e.adler, t, m, 0)), n.wrap = 0, m >= n.w_size && (s === 0 && (P(n.head), n.strstart = 0, n.block_start = 0, n.insert = 0), p = new i.Buf8(n.w_size), i.arraySet(p, t, m - n.w_size, n.w_size, 0), t = p, m = n.w_size), c = e.avail_in, l = e.next_in, u = e.input, e.avail_in = m, e.next_in = 0, e.input = t, B(n); n.lookahead >= C;) {
2008
+ for (r = n.strstart, a = n.lookahead - (C - 1); n.ins_h = (n.ins_h << n.hash_shift ^ n.window[r + C - 1]) & n.hash_mask, n.prev[r & n.w_mask] = n.head[n.ins_h], n.head[n.ins_h] = r, r++, --a;);
2009
+ n.strstart = r, n.lookahead = C - 1, B(n);
2010
+ }
2011
+ return n.strstart += n.lookahead, n.block_start = n.strstart, n.insert = n.lookahead, n.lookahead = 0, n.match_length = n.prev_length = C - 1, n.match_available = 0, e.next_in = l, e.input = u, e.avail_in = c, n.wrap = s, d;
2012
+ }, n.deflateInfo = "pako deflate (from Nodeca project)";
2013
+ }, {
2014
+ "../utils/common": 41,
2015
+ "./adler32": 43,
2016
+ "./crc32": 45,
2017
+ "./messages": 51,
2018
+ "./trees": 52
2019
+ }],
2020
+ 47: [function(e, t, n) {
2021
+ t.exports = function() {
2022
+ 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;
2023
+ };
2024
+ }, {}],
2025
+ 48: [function(e, t, n) {
2026
+ t.exports = function(e, t) {
2027
+ var n = e.state, r = e.next_in, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T = e.input, E;
2028
+ i = r + (e.avail_in - 5), a = e.next_out, E = e.output, o = a - (t - e.avail_out), s = a + (e.avail_out - 257), c = n.dmax, l = n.wsize, u = n.whave, d = n.wnext, f = n.window, p = n.hold, m = n.bits, h = n.lencode, g = n.distcode, _ = (1 << n.lenbits) - 1, v = (1 << n.distbits) - 1;
2029
+ e: do {
2030
+ m < 15 && (p += T[r++] << m, m += 8, p += T[r++] << m, m += 8), y = h[p & _];
2031
+ t: for (;;) {
2032
+ if (p >>>= b = y >>> 24, m -= b, (b = y >>> 16 & 255) == 0) E[a++] = 65535 & y;
2033
+ else {
2034
+ if (!(16 & b)) {
2035
+ if (!(64 & b)) {
2036
+ y = h[(65535 & y) + (p & (1 << b) - 1)];
2037
+ continue t;
2038
+ }
2039
+ if (32 & b) {
2040
+ n.mode = 12;
2041
+ break e;
2042
+ }
2043
+ e.msg = "invalid literal/length code", n.mode = 30;
2044
+ break e;
2045
+ }
2046
+ x = 65535 & y, (b &= 15) && (m < b && (p += T[r++] << m, m += 8), x += p & (1 << b) - 1, p >>>= b, m -= b), m < 15 && (p += T[r++] << m, m += 8, p += T[r++] << m, m += 8), y = g[p & v];
2047
+ r: for (;;) {
2048
+ if (p >>>= b = y >>> 24, m -= b, !(16 & (b = y >>> 16 & 255))) {
2049
+ if (!(64 & b)) {
2050
+ y = g[(65535 & y) + (p & (1 << b) - 1)];
2051
+ continue r;
2052
+ }
2053
+ e.msg = "invalid distance code", n.mode = 30;
2054
+ break e;
2055
+ }
2056
+ if (S = 65535 & y, m < (b &= 15) && (p += T[r++] << m, (m += 8) < b && (p += T[r++] << m, m += 8)), c < (S += p & (1 << b) - 1)) {
2057
+ e.msg = "invalid distance too far back", n.mode = 30;
2058
+ break e;
2059
+ }
2060
+ if (p >>>= b, m -= b, (b = a - o) < S) {
2061
+ if (u < (b = S - b) && n.sane) {
2062
+ e.msg = "invalid distance too far back", n.mode = 30;
2063
+ break e;
2064
+ }
2065
+ if (w = f, (C = 0) === d) {
2066
+ if (C += l - b, b < x) {
2067
+ for (x -= b; E[a++] = f[C++], --b;);
2068
+ C = a - S, w = E;
2069
+ }
2070
+ } else if (d < b) {
2071
+ if (C += l + d - b, (b -= d) < x) {
2072
+ for (x -= b; E[a++] = f[C++], --b;);
2073
+ if (C = 0, d < x) {
2074
+ for (x -= b = d; E[a++] = f[C++], --b;);
2075
+ C = a - S, w = E;
2076
+ }
2077
+ }
2078
+ } else if (C += d - b, b < x) {
2079
+ for (x -= b; E[a++] = f[C++], --b;);
2080
+ C = a - S, w = E;
2081
+ }
2082
+ for (; 2 < x;) E[a++] = w[C++], E[a++] = w[C++], E[a++] = w[C++], x -= 3;
2083
+ x && (E[a++] = w[C++], 1 < x && (E[a++] = w[C++]));
2084
+ } else {
2085
+ for (C = a - S; E[a++] = E[C++], E[a++] = E[C++], E[a++] = E[C++], 2 < (x -= 3););
2086
+ x && (E[a++] = E[C++], 1 < x && (E[a++] = E[C++]));
2087
+ }
2088
+ break;
2089
+ }
2090
+ }
2091
+ break;
2092
+ }
2093
+ } while (r < i && a < s);
2094
+ r -= x = m >> 3, p &= (1 << (m -= x << 3)) - 1, e.next_in = r, e.next_out = a, e.avail_in = r < i ? i - r + 5 : 5 - (r - i), e.avail_out = a < s ? s - a + 257 : 257 - (a - s), n.hold = p, n.bits = m;
2095
+ };
2096
+ }, {}],
2097
+ 49: [function(e, t, n) {
2098
+ var r = e("../utils/common"), i = e("./adler32"), a = e("./crc32"), o = e("./inffast"), s = e("./inftrees"), c = 1, l = 2, u = 0, d = -2, f = 1, p = 852, m = 592;
2099
+ function h(e) {
2100
+ return (e >>> 24 & 255) + (e >>> 8 & 65280) + ((65280 & e) << 8) + ((255 & e) << 24);
2101
+ }
2102
+ function g() {
2103
+ this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new r.Buf16(320), this.work = new r.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
2104
+ }
2105
+ function _(e) {
2106
+ var t;
2107
+ return e && e.state ? (t = e.state, e.total_in = e.total_out = t.total = 0, e.msg = "", t.wrap && (e.adler = 1 & t.wrap), t.mode = f, t.last = 0, t.havedict = 0, t.dmax = 32768, t.head = null, t.hold = 0, t.bits = 0, t.lencode = t.lendyn = new r.Buf32(p), t.distcode = t.distdyn = new r.Buf32(m), t.sane = 1, t.back = -1, u) : d;
2108
+ }
2109
+ function v(e) {
2110
+ var t;
2111
+ return e && e.state ? ((t = e.state).wsize = 0, t.whave = 0, t.wnext = 0, _(e)) : d;
2112
+ }
2113
+ function y(e, t) {
2114
+ var n, r;
2115
+ return e && e.state ? (r = e.state, t < 0 ? (n = 0, t = -t) : (n = 1 + (t >> 4), t < 48 && (t &= 15)), t && (t < 8 || 15 < t) ? d : (r.window !== null && r.wbits !== t && (r.window = null), r.wrap = n, r.wbits = t, v(e))) : d;
2116
+ }
2117
+ function b(e, t) {
2118
+ var n, r;
2119
+ return e ? (r = new g(), (e.state = r).window = null, (n = y(e, t)) !== u && (e.state = null), n) : d;
2120
+ }
2121
+ var x, S, C = !0;
2122
+ function w(e) {
2123
+ if (C) {
2124
+ var t;
2125
+ for (x = new r.Buf32(512), S = new r.Buf32(32), t = 0; t < 144;) e.lens[t++] = 8;
2126
+ for (; t < 256;) e.lens[t++] = 9;
2127
+ for (; t < 280;) e.lens[t++] = 7;
2128
+ for (; t < 288;) e.lens[t++] = 8;
2129
+ for (s(c, e.lens, 0, 288, x, 0, e.work, { bits: 9 }), t = 0; t < 32;) e.lens[t++] = 5;
2130
+ s(l, e.lens, 0, 32, S, 0, e.work, { bits: 5 }), C = !1;
2131
+ }
2132
+ e.lencode = x, e.lenbits = 9, e.distcode = S, e.distbits = 5;
2133
+ }
2134
+ function T(e, t, n, i) {
2135
+ var a, o = e.state;
2136
+ return o.window === null && (o.wsize = 1 << o.wbits, o.wnext = 0, o.whave = 0, o.window = new r.Buf8(o.wsize)), i >= o.wsize ? (r.arraySet(o.window, t, n - o.wsize, o.wsize, 0), o.wnext = 0, o.whave = o.wsize) : (i < (a = o.wsize - o.wnext) && (a = i), r.arraySet(o.window, t, n - i, a, o.wnext), (i -= a) ? (r.arraySet(o.window, t, n - i, i, 0), o.wnext = i, o.whave = o.wsize) : (o.wnext += a, o.wnext === o.wsize && (o.wnext = 0), o.whave < o.wsize && (o.whave += a))), 0;
2137
+ }
2138
+ n.inflateReset = v, n.inflateReset2 = y, n.inflateResetKeep = _, n.inflateInit = function(e) {
2139
+ return b(e, 15);
2140
+ }, n.inflateInit2 = b, n.inflate = function(e, t) {
2141
+ var n, p, m, g, _, v, y, b, x, S, C, E, D, O, k, A, j, M, N, P, F, I, L, R, z = 0, B = new r.Buf8(4), V = [
2142
+ 16,
2143
+ 17,
2144
+ 18,
2145
+ 0,
2146
+ 8,
2147
+ 7,
2148
+ 9,
2149
+ 6,
2150
+ 10,
2151
+ 5,
2152
+ 11,
2153
+ 4,
2154
+ 12,
2155
+ 3,
2156
+ 13,
2157
+ 2,
2158
+ 14,
2159
+ 1,
2160
+ 15
2161
+ ];
2162
+ if (!e || !e.state || !e.output || !e.input && e.avail_in !== 0) return d;
2163
+ (n = e.state).mode === 12 && (n.mode = 13), _ = e.next_out, m = e.output, y = e.avail_out, g = e.next_in, p = e.input, v = e.avail_in, b = n.hold, x = n.bits, S = v, C = y, I = u;
2164
+ e: for (;;) switch (n.mode) {
2165
+ case f:
2166
+ if (n.wrap === 0) {
2167
+ n.mode = 13;
2168
+ break;
2169
+ }
2170
+ for (; x < 16;) {
2171
+ if (v === 0) break e;
2172
+ v--, b += p[g++] << x, x += 8;
2173
+ }
2174
+ if (2 & n.wrap && b === 35615) {
2175
+ B[n.check = 0] = 255 & b, B[1] = b >>> 8 & 255, n.check = a(n.check, B, 2, 0), x = b = 0, n.mode = 2;
2176
+ break;
2177
+ }
2178
+ if (n.flags = 0, n.head && (n.head.done = !1), !(1 & n.wrap) || (((255 & b) << 8) + (b >> 8)) % 31) {
2179
+ e.msg = "incorrect header check", n.mode = 30;
2180
+ break;
2181
+ }
2182
+ if ((15 & b) != 8) {
2183
+ e.msg = "unknown compression method", n.mode = 30;
2184
+ break;
2185
+ }
2186
+ if (x -= 4, F = 8 + (15 & (b >>>= 4)), n.wbits === 0) n.wbits = F;
2187
+ else if (F > n.wbits) {
2188
+ e.msg = "invalid window size", n.mode = 30;
2189
+ break;
2190
+ }
2191
+ n.dmax = 1 << F, e.adler = n.check = 1, n.mode = 512 & b ? 10 : 12, x = b = 0;
2192
+ break;
2193
+ case 2:
2194
+ for (; x < 16;) {
2195
+ if (v === 0) break e;
2196
+ v--, b += p[g++] << x, x += 8;
2197
+ }
2198
+ if (n.flags = b, (255 & n.flags) != 8) {
2199
+ e.msg = "unknown compression method", n.mode = 30;
2200
+ break;
2201
+ }
2202
+ if (57344 & n.flags) {
2203
+ e.msg = "unknown header flags set", n.mode = 30;
2204
+ break;
2205
+ }
2206
+ n.head && (n.head.text = b >> 8 & 1), 512 & n.flags && (B[0] = 255 & b, B[1] = b >>> 8 & 255, n.check = a(n.check, B, 2, 0)), x = b = 0, n.mode = 3;
2207
+ case 3:
2208
+ for (; x < 32;) {
2209
+ if (v === 0) break e;
2210
+ v--, b += p[g++] << x, x += 8;
2211
+ }
2212
+ n.head && (n.head.time = b), 512 & n.flags && (B[0] = 255 & b, B[1] = b >>> 8 & 255, B[2] = b >>> 16 & 255, B[3] = b >>> 24 & 255, n.check = a(n.check, B, 4, 0)), x = b = 0, n.mode = 4;
2213
+ case 4:
2214
+ for (; x < 16;) {
2215
+ if (v === 0) break e;
2216
+ v--, b += p[g++] << x, x += 8;
2217
+ }
2218
+ n.head && (n.head.xflags = 255 & b, n.head.os = b >> 8), 512 & n.flags && (B[0] = 255 & b, B[1] = b >>> 8 & 255, n.check = a(n.check, B, 2, 0)), x = b = 0, n.mode = 5;
2219
+ case 5:
2220
+ if (1024 & n.flags) {
2221
+ for (; x < 16;) {
2222
+ if (v === 0) break e;
2223
+ v--, b += p[g++] << x, x += 8;
2224
+ }
2225
+ n.length = b, n.head && (n.head.extra_len = b), 512 & n.flags && (B[0] = 255 & b, B[1] = b >>> 8 & 255, n.check = a(n.check, B, 2, 0)), x = b = 0;
2226
+ } else n.head && (n.head.extra = null);
2227
+ n.mode = 6;
2228
+ case 6:
2229
+ if (1024 & n.flags && (v < (E = n.length) && (E = v), E && (n.head && (F = n.head.extra_len - n.length, n.head.extra || (n.head.extra = Array(n.head.extra_len)), r.arraySet(n.head.extra, p, g, E, F)), 512 & n.flags && (n.check = a(n.check, p, E, g)), v -= E, g += E, n.length -= E), n.length)) break e;
2230
+ n.length = 0, n.mode = 7;
2231
+ case 7:
2232
+ if (2048 & n.flags) {
2233
+ if (v === 0) break e;
2234
+ for (E = 0; F = p[g + E++], n.head && F && n.length < 65536 && (n.head.name += String.fromCharCode(F)), F && E < v;);
2235
+ if (512 & n.flags && (n.check = a(n.check, p, E, g)), v -= E, g += E, F) break e;
2236
+ } else n.head && (n.head.name = null);
2237
+ n.length = 0, n.mode = 8;
2238
+ case 8:
2239
+ if (4096 & n.flags) {
2240
+ if (v === 0) break e;
2241
+ for (E = 0; F = p[g + E++], n.head && F && n.length < 65536 && (n.head.comment += String.fromCharCode(F)), F && E < v;);
2242
+ if (512 & n.flags && (n.check = a(n.check, p, E, g)), v -= E, g += E, F) break e;
2243
+ } else n.head && (n.head.comment = null);
2244
+ n.mode = 9;
2245
+ case 9:
2246
+ if (512 & n.flags) {
2247
+ for (; x < 16;) {
2248
+ if (v === 0) break e;
2249
+ v--, b += p[g++] << x, x += 8;
2250
+ }
2251
+ if (b !== (65535 & n.check)) {
2252
+ e.msg = "header crc mismatch", n.mode = 30;
2253
+ break;
2254
+ }
2255
+ x = b = 0;
2256
+ }
2257
+ n.head && (n.head.hcrc = n.flags >> 9 & 1, n.head.done = !0), e.adler = n.check = 0, n.mode = 12;
2258
+ break;
2259
+ case 10:
2260
+ for (; x < 32;) {
2261
+ if (v === 0) break e;
2262
+ v--, b += p[g++] << x, x += 8;
2263
+ }
2264
+ e.adler = n.check = h(b), x = b = 0, n.mode = 11;
2265
+ case 11:
2266
+ if (n.havedict === 0) return e.next_out = _, e.avail_out = y, e.next_in = g, e.avail_in = v, n.hold = b, n.bits = x, 2;
2267
+ e.adler = n.check = 1, n.mode = 12;
2268
+ case 12: if (t === 5 || t === 6) break e;
2269
+ case 13:
2270
+ if (n.last) {
2271
+ b >>>= 7 & x, x -= 7 & x, n.mode = 27;
2272
+ break;
2273
+ }
2274
+ for (; x < 3;) {
2275
+ if (v === 0) break e;
2276
+ v--, b += p[g++] << x, x += 8;
2277
+ }
2278
+ switch (n.last = 1 & b, --x, 3 & (b >>>= 1)) {
2279
+ case 0:
2280
+ n.mode = 14;
2281
+ break;
2282
+ case 1:
2283
+ if (w(n), n.mode = 20, t !== 6) break;
2284
+ b >>>= 2, x -= 2;
2285
+ break e;
2286
+ case 2:
2287
+ n.mode = 17;
2288
+ break;
2289
+ case 3: e.msg = "invalid block type", n.mode = 30;
2290
+ }
2291
+ b >>>= 2, x -= 2;
2292
+ break;
2293
+ case 14:
2294
+ for (b >>>= 7 & x, x -= 7 & x; x < 32;) {
2295
+ if (v === 0) break e;
2296
+ v--, b += p[g++] << x, x += 8;
2297
+ }
2298
+ if ((65535 & b) != (b >>> 16 ^ 65535)) {
2299
+ e.msg = "invalid stored block lengths", n.mode = 30;
2300
+ break;
2301
+ }
2302
+ if (n.length = 65535 & b, x = b = 0, n.mode = 15, t === 6) break e;
2303
+ case 15: n.mode = 16;
2304
+ case 16:
2305
+ if (E = n.length) {
2306
+ if (v < E && (E = v), y < E && (E = y), E === 0) break e;
2307
+ r.arraySet(m, p, g, E, _), v -= E, g += E, y -= E, _ += E, n.length -= E;
2308
+ break;
2309
+ }
2310
+ n.mode = 12;
2311
+ break;
2312
+ case 17:
2313
+ for (; x < 14;) {
2314
+ if (v === 0) break e;
2315
+ v--, b += p[g++] << x, x += 8;
2316
+ }
2317
+ if (n.nlen = 257 + (31 & b), b >>>= 5, x -= 5, n.ndist = 1 + (31 & b), b >>>= 5, x -= 5, n.ncode = 4 + (15 & b), b >>>= 4, x -= 4, 286 < n.nlen || 30 < n.ndist) {
2318
+ e.msg = "too many length or distance symbols", n.mode = 30;
2319
+ break;
2320
+ }
2321
+ n.have = 0, n.mode = 18;
2322
+ case 18:
2323
+ for (; n.have < n.ncode;) {
2324
+ for (; x < 3;) {
2325
+ if (v === 0) break e;
2326
+ v--, b += p[g++] << x, x += 8;
2327
+ }
2328
+ n.lens[V[n.have++]] = 7 & b, b >>>= 3, x -= 3;
2329
+ }
2330
+ for (; n.have < 19;) n.lens[V[n.have++]] = 0;
2331
+ if (n.lencode = n.lendyn, n.lenbits = 7, L = { bits: n.lenbits }, I = s(0, n.lens, 0, 19, n.lencode, 0, n.work, L), n.lenbits = L.bits, I) {
2332
+ e.msg = "invalid code lengths set", n.mode = 30;
2333
+ break;
2334
+ }
2335
+ n.have = 0, n.mode = 19;
2336
+ case 19:
2337
+ for (; n.have < n.nlen + n.ndist;) {
2338
+ for (; A = (z = n.lencode[b & (1 << n.lenbits) - 1]) >>> 16 & 255, j = 65535 & z, !((k = z >>> 24) <= x);) {
2339
+ if (v === 0) break e;
2340
+ v--, b += p[g++] << x, x += 8;
2341
+ }
2342
+ if (j < 16) b >>>= k, x -= k, n.lens[n.have++] = j;
2343
+ else {
2344
+ if (j === 16) {
2345
+ for (R = k + 2; x < R;) {
2346
+ if (v === 0) break e;
2347
+ v--, b += p[g++] << x, x += 8;
2348
+ }
2349
+ if (b >>>= k, x -= k, n.have === 0) {
2350
+ e.msg = "invalid bit length repeat", n.mode = 30;
2351
+ break;
2352
+ }
2353
+ F = n.lens[n.have - 1], E = 3 + (3 & b), b >>>= 2, x -= 2;
2354
+ } else if (j === 17) {
2355
+ for (R = k + 3; x < R;) {
2356
+ if (v === 0) break e;
2357
+ v--, b += p[g++] << x, x += 8;
2358
+ }
2359
+ x -= k, F = 0, E = 3 + (7 & (b >>>= k)), b >>>= 3, x -= 3;
2360
+ } else {
2361
+ for (R = k + 7; x < R;) {
2362
+ if (v === 0) break e;
2363
+ v--, b += p[g++] << x, x += 8;
2364
+ }
2365
+ x -= k, F = 0, E = 11 + (127 & (b >>>= k)), b >>>= 7, x -= 7;
2366
+ }
2367
+ if (n.have + E > n.nlen + n.ndist) {
2368
+ e.msg = "invalid bit length repeat", n.mode = 30;
2369
+ break;
2370
+ }
2371
+ for (; E--;) n.lens[n.have++] = F;
2372
+ }
2373
+ }
2374
+ if (n.mode === 30) break;
2375
+ if (n.lens[256] === 0) {
2376
+ e.msg = "invalid code -- missing end-of-block", n.mode = 30;
2377
+ break;
2378
+ }
2379
+ if (n.lenbits = 9, L = { bits: n.lenbits }, I = s(c, n.lens, 0, n.nlen, n.lencode, 0, n.work, L), n.lenbits = L.bits, I) {
2380
+ e.msg = "invalid literal/lengths set", n.mode = 30;
2381
+ break;
2382
+ }
2383
+ if (n.distbits = 6, n.distcode = n.distdyn, L = { bits: n.distbits }, I = s(l, n.lens, n.nlen, n.ndist, n.distcode, 0, n.work, L), n.distbits = L.bits, I) {
2384
+ e.msg = "invalid distances set", n.mode = 30;
2385
+ break;
2386
+ }
2387
+ if (n.mode = 20, t === 6) break e;
2388
+ case 20: n.mode = 21;
2389
+ case 21:
2390
+ if (6 <= v && 258 <= y) {
2391
+ e.next_out = _, e.avail_out = y, e.next_in = g, e.avail_in = v, n.hold = b, n.bits = x, o(e, C), _ = e.next_out, m = e.output, y = e.avail_out, g = e.next_in, p = e.input, v = e.avail_in, b = n.hold, x = n.bits, n.mode === 12 && (n.back = -1);
2392
+ break;
2393
+ }
2394
+ for (n.back = 0; A = (z = n.lencode[b & (1 << n.lenbits) - 1]) >>> 16 & 255, j = 65535 & z, !((k = z >>> 24) <= x);) {
2395
+ if (v === 0) break e;
2396
+ v--, b += p[g++] << x, x += 8;
2397
+ }
2398
+ if (A && !(240 & A)) {
2399
+ for (M = k, N = A, P = j; A = (z = n.lencode[P + ((b & (1 << M + N) - 1) >> M)]) >>> 16 & 255, j = 65535 & z, !(M + (k = z >>> 24) <= x);) {
2400
+ if (v === 0) break e;
2401
+ v--, b += p[g++] << x, x += 8;
2402
+ }
2403
+ b >>>= M, x -= M, n.back += M;
2404
+ }
2405
+ if (b >>>= k, x -= k, n.back += k, n.length = j, A === 0) {
2406
+ n.mode = 26;
2407
+ break;
2408
+ }
2409
+ if (32 & A) {
2410
+ n.back = -1, n.mode = 12;
2411
+ break;
2412
+ }
2413
+ if (64 & A) {
2414
+ e.msg = "invalid literal/length code", n.mode = 30;
2415
+ break;
2416
+ }
2417
+ n.extra = 15 & A, n.mode = 22;
2418
+ case 22:
2419
+ if (n.extra) {
2420
+ for (R = n.extra; x < R;) {
2421
+ if (v === 0) break e;
2422
+ v--, b += p[g++] << x, x += 8;
2423
+ }
2424
+ n.length += b & (1 << n.extra) - 1, b >>>= n.extra, x -= n.extra, n.back += n.extra;
2425
+ }
2426
+ n.was = n.length, n.mode = 23;
2427
+ case 23:
2428
+ for (; A = (z = n.distcode[b & (1 << n.distbits) - 1]) >>> 16 & 255, j = 65535 & z, !((k = z >>> 24) <= x);) {
2429
+ if (v === 0) break e;
2430
+ v--, b += p[g++] << x, x += 8;
2431
+ }
2432
+ if (!(240 & A)) {
2433
+ for (M = k, N = A, P = j; A = (z = n.distcode[P + ((b & (1 << M + N) - 1) >> M)]) >>> 16 & 255, j = 65535 & z, !(M + (k = z >>> 24) <= x);) {
2434
+ if (v === 0) break e;
2435
+ v--, b += p[g++] << x, x += 8;
2436
+ }
2437
+ b >>>= M, x -= M, n.back += M;
2438
+ }
2439
+ if (b >>>= k, x -= k, n.back += k, 64 & A) {
2440
+ e.msg = "invalid distance code", n.mode = 30;
2441
+ break;
2442
+ }
2443
+ n.offset = j, n.extra = 15 & A, n.mode = 24;
2444
+ case 24:
2445
+ if (n.extra) {
2446
+ for (R = n.extra; x < R;) {
2447
+ if (v === 0) break e;
2448
+ v--, b += p[g++] << x, x += 8;
2449
+ }
2450
+ n.offset += b & (1 << n.extra) - 1, b >>>= n.extra, x -= n.extra, n.back += n.extra;
2451
+ }
2452
+ if (n.offset > n.dmax) {
2453
+ e.msg = "invalid distance too far back", n.mode = 30;
2454
+ break;
2455
+ }
2456
+ n.mode = 25;
2457
+ case 25:
2458
+ if (y === 0) break e;
2459
+ if (E = C - y, n.offset > E) {
2460
+ if ((E = n.offset - E) > n.whave && n.sane) {
2461
+ e.msg = "invalid distance too far back", n.mode = 30;
2462
+ break;
2463
+ }
2464
+ D = E > n.wnext ? (E -= n.wnext, n.wsize - E) : n.wnext - E, E > n.length && (E = n.length), O = n.window;
2465
+ } else O = m, D = _ - n.offset, E = n.length;
2466
+ for (y < E && (E = y), y -= E, n.length -= E; m[_++] = O[D++], --E;);
2467
+ n.length === 0 && (n.mode = 21);
2468
+ break;
2469
+ case 26:
2470
+ if (y === 0) break e;
2471
+ m[_++] = n.length, y--, n.mode = 21;
2472
+ break;
2473
+ case 27:
2474
+ if (n.wrap) {
2475
+ for (; x < 32;) {
2476
+ if (v === 0) break e;
2477
+ v--, b |= p[g++] << x, x += 8;
2478
+ }
2479
+ if (C -= y, e.total_out += C, n.total += C, C && (e.adler = n.check = n.flags ? a(n.check, m, C, _ - C) : i(n.check, m, C, _ - C)), C = y, (n.flags ? b : h(b)) !== n.check) {
2480
+ e.msg = "incorrect data check", n.mode = 30;
2481
+ break;
2482
+ }
2483
+ x = b = 0;
2484
+ }
2485
+ n.mode = 28;
2486
+ case 28:
2487
+ if (n.wrap && n.flags) {
2488
+ for (; x < 32;) {
2489
+ if (v === 0) break e;
2490
+ v--, b += p[g++] << x, x += 8;
2491
+ }
2492
+ if (b !== (4294967295 & n.total)) {
2493
+ e.msg = "incorrect length check", n.mode = 30;
2494
+ break;
2495
+ }
2496
+ x = b = 0;
2497
+ }
2498
+ n.mode = 29;
2499
+ case 29:
2500
+ I = 1;
2501
+ break e;
2502
+ case 30:
2503
+ I = -3;
2504
+ break e;
2505
+ case 31: return -4;
2506
+ case 32:
2507
+ default: return d;
2508
+ }
2509
+ return e.next_out = _, e.avail_out = y, e.next_in = g, e.avail_in = v, n.hold = b, n.bits = x, (n.wsize || C !== e.avail_out && n.mode < 30 && (n.mode < 27 || t !== 4)) && T(e, e.output, e.next_out, C - e.avail_out) ? (n.mode = 31, -4) : (S -= e.avail_in, C -= e.avail_out, e.total_in += S, e.total_out += C, n.total += C, n.wrap && C && (e.adler = n.check = n.flags ? a(n.check, m, C, e.next_out - C) : i(n.check, m, C, e.next_out - C)), e.data_type = n.bits + (n.last ? 64 : 0) + (n.mode === 12 ? 128 : 0) + (n.mode === 20 || n.mode === 15 ? 256 : 0), (S == 0 && C === 0 || t === 4) && I === u && (I = -5), I);
2510
+ }, n.inflateEnd = function(e) {
2511
+ if (!e || !e.state) return d;
2512
+ var t = e.state;
2513
+ return t.window &&= null, e.state = null, u;
2514
+ }, n.inflateGetHeader = function(e, t) {
2515
+ var n;
2516
+ return e && e.state && 2 & (n = e.state).wrap ? ((n.head = t).done = !1, u) : d;
2517
+ }, n.inflateSetDictionary = function(e, t) {
2518
+ var n, r = t.length;
2519
+ return e && e.state ? (n = e.state).wrap !== 0 && n.mode !== 11 ? d : n.mode === 11 && i(1, t, r, 0) !== n.check ? -3 : T(e, t, r, r) ? (n.mode = 31, -4) : (n.havedict = 1, u) : d;
2520
+ }, n.inflateInfo = "pako inflate (from Nodeca project)";
2521
+ }, {
2522
+ "../utils/common": 41,
2523
+ "./adler32": 43,
2524
+ "./crc32": 45,
2525
+ "./inffast": 48,
2526
+ "./inftrees": 50
2527
+ }],
2528
+ 50: [function(e, t, n) {
2529
+ var r = e("../utils/common"), i = [
2530
+ 3,
2531
+ 4,
2532
+ 5,
2533
+ 6,
2534
+ 7,
2535
+ 8,
2536
+ 9,
2537
+ 10,
2538
+ 11,
2539
+ 13,
2540
+ 15,
2541
+ 17,
2542
+ 19,
2543
+ 23,
2544
+ 27,
2545
+ 31,
2546
+ 35,
2547
+ 43,
2548
+ 51,
2549
+ 59,
2550
+ 67,
2551
+ 83,
2552
+ 99,
2553
+ 115,
2554
+ 131,
2555
+ 163,
2556
+ 195,
2557
+ 227,
2558
+ 258,
2559
+ 0,
2560
+ 0
2561
+ ], a = [
2562
+ 16,
2563
+ 16,
2564
+ 16,
2565
+ 16,
2566
+ 16,
2567
+ 16,
2568
+ 16,
2569
+ 16,
2570
+ 17,
2571
+ 17,
2572
+ 17,
2573
+ 17,
2574
+ 18,
2575
+ 18,
2576
+ 18,
2577
+ 18,
2578
+ 19,
2579
+ 19,
2580
+ 19,
2581
+ 19,
2582
+ 20,
2583
+ 20,
2584
+ 20,
2585
+ 20,
2586
+ 21,
2587
+ 21,
2588
+ 21,
2589
+ 21,
2590
+ 16,
2591
+ 72,
2592
+ 78
2593
+ ], o = [
2594
+ 1,
2595
+ 2,
2596
+ 3,
2597
+ 4,
2598
+ 5,
2599
+ 7,
2600
+ 9,
2601
+ 13,
2602
+ 17,
2603
+ 25,
2604
+ 33,
2605
+ 49,
2606
+ 65,
2607
+ 97,
2608
+ 129,
2609
+ 193,
2610
+ 257,
2611
+ 385,
2612
+ 513,
2613
+ 769,
2614
+ 1025,
2615
+ 1537,
2616
+ 2049,
2617
+ 3073,
2618
+ 4097,
2619
+ 6145,
2620
+ 8193,
2621
+ 12289,
2622
+ 16385,
2623
+ 24577,
2624
+ 0,
2625
+ 0
2626
+ ], s = [
2627
+ 16,
2628
+ 16,
2629
+ 16,
2630
+ 16,
2631
+ 17,
2632
+ 17,
2633
+ 18,
2634
+ 18,
2635
+ 19,
2636
+ 19,
2637
+ 20,
2638
+ 20,
2639
+ 21,
2640
+ 21,
2641
+ 22,
2642
+ 22,
2643
+ 23,
2644
+ 23,
2645
+ 24,
2646
+ 24,
2647
+ 25,
2648
+ 25,
2649
+ 26,
2650
+ 26,
2651
+ 27,
2652
+ 27,
2653
+ 28,
2654
+ 28,
2655
+ 29,
2656
+ 29,
2657
+ 64,
2658
+ 64
2659
+ ];
2660
+ t.exports = function(e, t, n, c, l, u, d, f) {
2661
+ var p, m, h, g, _, v, y, b, x, S = f.bits, C = 0, w = 0, T = 0, E = 0, D = 0, O = 0, k = 0, A = 0, j = 0, M = 0, N = null, P = 0, F = new r.Buf16(16), I = new r.Buf16(16), L = null, R = 0;
2662
+ for (C = 0; C <= 15; C++) F[C] = 0;
2663
+ for (w = 0; w < c; w++) F[t[n + w]]++;
2664
+ for (D = S, E = 15; 1 <= E && F[E] === 0; E--);
2665
+ if (E < D && (D = E), E === 0) return l[u++] = 20971520, l[u++] = 20971520, f.bits = 1, 0;
2666
+ for (T = 1; T < E && F[T] === 0; T++);
2667
+ for (D < T && (D = T), C = A = 1; C <= 15; C++) if (A <<= 1, (A -= F[C]) < 0) return -1;
2668
+ if (0 < A && (e === 0 || E !== 1)) return -1;
2669
+ for (I[1] = 0, C = 1; C < 15; C++) I[C + 1] = I[C] + F[C];
2670
+ for (w = 0; w < c; w++) t[n + w] !== 0 && (d[I[t[n + w]]++] = w);
2671
+ if (v = e === 0 ? (N = L = d, 19) : e === 1 ? (N = i, P -= 257, L = a, R -= 257, 256) : (N = o, L = s, -1), C = T, _ = u, k = w = M = 0, h = -1, g = (j = 1 << (O = D)) - 1, e === 1 && 852 < j || e === 2 && 592 < j) return 1;
2672
+ for (;;) {
2673
+ for (y = C - k, x = d[w] < v ? (b = 0, d[w]) : d[w] > v ? (b = L[R + d[w]], N[P + d[w]]) : (b = 96, 0), p = 1 << C - k, T = m = 1 << O; l[_ + (M >> k) + (m -= p)] = y << 24 | b << 16 | x | 0, m !== 0;);
2674
+ for (p = 1 << C - 1; M & p;) p >>= 1;
2675
+ if (p === 0 ? M = 0 : (M &= p - 1, M += p), w++, --F[C] == 0) {
2676
+ if (C === E) break;
2677
+ C = t[n + d[w]];
2678
+ }
2679
+ if (D < C && (M & g) !== h) {
2680
+ for (k === 0 && (k = D), _ += T, A = 1 << (O = C - k); O + k < E && !((A -= F[O + k]) <= 0);) O++, A <<= 1;
2681
+ if (j += 1 << O, e === 1 && 852 < j || e === 2 && 592 < j) return 1;
2682
+ l[h = M & g] = D << 24 | O << 16 | _ - u | 0;
2683
+ }
2684
+ }
2685
+ return M !== 0 && (l[_ + M] = C - k << 24 | 4194304), f.bits = D, 0;
2686
+ };
2687
+ }, { "../utils/common": 41 }],
2688
+ 51: [function(e, t, n) {
2689
+ t.exports = {
2690
+ 2: "need dictionary",
2691
+ 1: "stream end",
2692
+ 0: "",
2693
+ "-1": "file error",
2694
+ "-2": "stream error",
2695
+ "-3": "data error",
2696
+ "-4": "insufficient memory",
2697
+ "-5": "buffer error",
2698
+ "-6": "incompatible version"
2699
+ };
2700
+ }, {}],
2701
+ 52: [function(e, t, n) {
2702
+ var r = e("../utils/common"), i = 0, a = 1;
2703
+ function o(e) {
2704
+ for (var t = e.length; 0 <= --t;) e[t] = 0;
2705
+ }
2706
+ var s = 0, c = 29, l = 256, u = l + 1 + c, d = 30, f = 19, p = 2 * u + 1, m = 15, h = 16, g = 7, _ = 256, v = 16, y = 17, b = 18, x = [
2707
+ 0,
2708
+ 0,
2709
+ 0,
2710
+ 0,
2711
+ 0,
2712
+ 0,
2713
+ 0,
2714
+ 0,
2715
+ 1,
2716
+ 1,
2717
+ 1,
2718
+ 1,
2719
+ 2,
2720
+ 2,
2721
+ 2,
2722
+ 2,
2723
+ 3,
2724
+ 3,
2725
+ 3,
2726
+ 3,
2727
+ 4,
2728
+ 4,
2729
+ 4,
2730
+ 4,
2731
+ 5,
2732
+ 5,
2733
+ 5,
2734
+ 5,
2735
+ 0
2736
+ ], S = [
2737
+ 0,
2738
+ 0,
2739
+ 0,
2740
+ 0,
2741
+ 1,
2742
+ 1,
2743
+ 2,
2744
+ 2,
2745
+ 3,
2746
+ 3,
2747
+ 4,
2748
+ 4,
2749
+ 5,
2750
+ 5,
2751
+ 6,
2752
+ 6,
2753
+ 7,
2754
+ 7,
2755
+ 8,
2756
+ 8,
2757
+ 9,
2758
+ 9,
2759
+ 10,
2760
+ 10,
2761
+ 11,
2762
+ 11,
2763
+ 12,
2764
+ 12,
2765
+ 13,
2766
+ 13
2767
+ ], C = [
2768
+ 0,
2769
+ 0,
2770
+ 0,
2771
+ 0,
2772
+ 0,
2773
+ 0,
2774
+ 0,
2775
+ 0,
2776
+ 0,
2777
+ 0,
2778
+ 0,
2779
+ 0,
2780
+ 0,
2781
+ 0,
2782
+ 0,
2783
+ 0,
2784
+ 2,
2785
+ 3,
2786
+ 7
2787
+ ], w = [
2788
+ 16,
2789
+ 17,
2790
+ 18,
2791
+ 0,
2792
+ 8,
2793
+ 7,
2794
+ 9,
2795
+ 6,
2796
+ 10,
2797
+ 5,
2798
+ 11,
2799
+ 4,
2800
+ 12,
2801
+ 3,
2802
+ 13,
2803
+ 2,
2804
+ 14,
2805
+ 1,
2806
+ 15
2807
+ ], T = Array(2 * (u + 2));
2808
+ o(T);
2809
+ var E = Array(2 * d);
2810
+ o(E);
2811
+ var D = Array(512);
2812
+ o(D);
2813
+ var O = Array(256);
2814
+ o(O);
2815
+ var k = Array(c);
2816
+ o(k);
2817
+ var A, j, M, N = Array(d);
2818
+ function P(e, t, n, r, i) {
2819
+ this.static_tree = e, this.extra_bits = t, this.extra_base = n, this.elems = r, this.max_length = i, this.has_stree = e && e.length;
2820
+ }
2821
+ function F(e, t) {
2822
+ this.dyn_tree = e, this.max_code = 0, this.stat_desc = t;
2823
+ }
2824
+ function I(e) {
2825
+ return e < 256 ? D[e] : D[256 + (e >>> 7)];
2826
+ }
2827
+ function L(e, t) {
2828
+ e.pending_buf[e.pending++] = 255 & t, e.pending_buf[e.pending++] = t >>> 8 & 255;
2829
+ }
2830
+ function R(e, t, n) {
2831
+ e.bi_valid > h - n ? (e.bi_buf |= t << e.bi_valid & 65535, L(e, e.bi_buf), e.bi_buf = t >> h - e.bi_valid, e.bi_valid += n - h) : (e.bi_buf |= t << e.bi_valid & 65535, e.bi_valid += n);
2832
+ }
2833
+ function z(e, t, n) {
2834
+ R(e, n[2 * t], n[2 * t + 1]);
2835
+ }
2836
+ function B(e, t) {
2837
+ for (var n = 0; n |= 1 & e, e >>>= 1, n <<= 1, 0 < --t;);
2838
+ return n >>> 1;
2839
+ }
2840
+ function V(e, t, n) {
2841
+ var r, i, a = Array(m + 1), o = 0;
2842
+ for (r = 1; r <= m; r++) a[r] = o = o + n[r - 1] << 1;
2843
+ for (i = 0; i <= t; i++) {
2844
+ var s = e[2 * i + 1];
2845
+ s !== 0 && (e[2 * i] = B(a[s]++, s));
2846
+ }
2847
+ }
2848
+ function H(e) {
2849
+ var t;
2850
+ for (t = 0; t < u; t++) e.dyn_ltree[2 * t] = 0;
2851
+ for (t = 0; t < d; t++) e.dyn_dtree[2 * t] = 0;
2852
+ for (t = 0; t < f; t++) e.bl_tree[2 * t] = 0;
2853
+ e.dyn_ltree[2 * _] = 1, e.opt_len = e.static_len = 0, e.last_lit = e.matches = 0;
2854
+ }
2855
+ function U(e) {
2856
+ 8 < e.bi_valid ? L(e, e.bi_buf) : 0 < e.bi_valid && (e.pending_buf[e.pending++] = e.bi_buf), e.bi_buf = 0, e.bi_valid = 0;
2857
+ }
2858
+ function W(e, t, n, r) {
2859
+ var i = 2 * t, a = 2 * n;
2860
+ return e[i] < e[a] || e[i] === e[a] && r[t] <= r[n];
2861
+ }
2862
+ function G(e, t, n) {
2863
+ for (var r = e.heap[n], i = n << 1; i <= e.heap_len && (i < e.heap_len && W(t, e.heap[i + 1], e.heap[i], e.depth) && i++, !W(t, r, e.heap[i], e.depth));) e.heap[n] = e.heap[i], n = i, i <<= 1;
2864
+ e.heap[n] = r;
2865
+ }
2866
+ function K(e, t, n) {
2867
+ var r, i, a, o, s = 0;
2868
+ if (e.last_lit !== 0) for (; r = 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++, r === 0 ? z(e, i, t) : (z(e, (a = O[i]) + l + 1, t), (o = x[a]) !== 0 && R(e, i -= k[a], o), z(e, a = I(--r), n), (o = S[a]) !== 0 && R(e, r -= N[a], o)), s < e.last_lit;);
2869
+ z(e, _, t);
2870
+ }
2871
+ function q(e, t) {
2872
+ var n, r, i, a = t.dyn_tree, o = t.stat_desc.static_tree, s = t.stat_desc.has_stree, c = t.stat_desc.elems, l = -1;
2873
+ for (e.heap_len = 0, e.heap_max = p, n = 0; n < c; n++) a[2 * n] === 0 ? a[2 * n + 1] = 0 : (e.heap[++e.heap_len] = l = n, e.depth[n] = 0);
2874
+ for (; e.heap_len < 2;) a[2 * (i = e.heap[++e.heap_len] = l < 2 ? ++l : 0)] = 1, e.depth[i] = 0, e.opt_len--, s && (e.static_len -= o[2 * i + 1]);
2875
+ for (t.max_code = l, n = e.heap_len >> 1; 1 <= n; n--) G(e, a, n);
2876
+ for (i = c; n = e.heap[1], e.heap[1] = e.heap[e.heap_len--], G(e, a, 1), r = e.heap[1], e.heap[--e.heap_max] = n, e.heap[--e.heap_max] = r, a[2 * i] = a[2 * n] + a[2 * r], e.depth[i] = (e.depth[n] >= e.depth[r] ? e.depth[n] : e.depth[r]) + 1, a[2 * n + 1] = a[2 * r + 1] = i, e.heap[1] = i++, G(e, a, 1), 2 <= e.heap_len;);
2877
+ e.heap[--e.heap_max] = e.heap[1], function(e, t) {
2878
+ var n, r, i, a, o, s, c = t.dyn_tree, l = t.max_code, u = t.stat_desc.static_tree, d = t.stat_desc.has_stree, f = t.stat_desc.extra_bits, h = t.stat_desc.extra_base, g = t.stat_desc.max_length, _ = 0;
2879
+ for (a = 0; a <= m; a++) e.bl_count[a] = 0;
2880
+ for (c[2 * e.heap[e.heap_max] + 1] = 0, n = e.heap_max + 1; n < p; n++) g < (a = c[2 * c[2 * (r = e.heap[n]) + 1] + 1] + 1) && (a = g, _++), c[2 * r + 1] = a, l < r || (e.bl_count[a]++, o = 0, h <= r && (o = f[r - h]), s = c[2 * r], e.opt_len += s * (a + o), d && (e.static_len += s * (u[2 * r + 1] + o)));
2881
+ if (_ !== 0) {
2882
+ do {
2883
+ for (a = g - 1; e.bl_count[a] === 0;) a--;
2884
+ e.bl_count[a]--, e.bl_count[a + 1] += 2, e.bl_count[g]--, _ -= 2;
2885
+ } while (0 < _);
2886
+ for (a = g; a !== 0; a--) for (r = e.bl_count[a]; r !== 0;) l < (i = e.heap[--n]) || (c[2 * i + 1] !== a && (e.opt_len += (a - c[2 * i + 1]) * c[2 * i], c[2 * i + 1] = a), r--);
2887
+ }
2888
+ }(e, t), V(a, l, e.bl_count);
2889
+ }
2890
+ function J(e, t, n) {
2891
+ var r, i, a = -1, o = t[1], s = 0, c = 7, l = 4;
2892
+ for (o === 0 && (c = 138, l = 3), t[2 * (n + 1) + 1] = 65535, r = 0; r <= n; r++) i = o, o = t[2 * (r + 1) + 1], ++s < c && i === o || (s < l ? e.bl_tree[2 * i] += s : i === 0 ? s <= 10 ? e.bl_tree[2 * y]++ : e.bl_tree[2 * b]++ : (i !== a && e.bl_tree[2 * i]++, e.bl_tree[2 * v]++), a = i, l = (s = 0) === o ? (c = 138, 3) : i === o ? (c = 6, 3) : (c = 7, 4));
2893
+ }
2894
+ function Y(e, t, n) {
2895
+ var r, i, a = -1, o = t[1], s = 0, c = 7, l = 4;
2896
+ for (o === 0 && (c = 138, l = 3), r = 0; r <= n; r++) if (i = o, o = t[2 * (r + 1) + 1], !(++s < c && i === o)) {
2897
+ if (s < l) for (; z(e, i, e.bl_tree), --s != 0;);
2898
+ else i === 0 ? s <= 10 ? (z(e, y, e.bl_tree), R(e, s - 3, 3)) : (z(e, b, e.bl_tree), R(e, s - 11, 7)) : (i !== a && (z(e, i, e.bl_tree), s--), z(e, v, e.bl_tree), R(e, s - 3, 2));
2899
+ a = i, l = (s = 0) === o ? (c = 138, 3) : i === o ? (c = 6, 3) : (c = 7, 4);
2900
+ }
2901
+ }
2902
+ o(N);
2903
+ var X = !1;
2904
+ function Z(e, t, n, i) {
2905
+ R(e, (s << 1) + +!!i, 3), function(e, t, n, i) {
2906
+ U(e), i && (L(e, n), L(e, ~n)), r.arraySet(e.pending_buf, e.window, t, n, e.pending), e.pending += n;
2907
+ }(e, t, n, !0);
2908
+ }
2909
+ n._tr_init = function(e) {
2910
+ X ||= (function() {
2911
+ var e, t, n, r, i, a = Array(m + 1);
2912
+ for (r = n = 0; r < c - 1; r++) for (k[r] = n, e = 0; e < 1 << x[r]; e++) O[n++] = r;
2913
+ for (O[n - 1] = r, r = i = 0; r < 16; r++) for (N[r] = i, e = 0; e < 1 << S[r]; e++) D[i++] = r;
2914
+ for (i >>= 7; r < d; r++) for (N[r] = i << 7, e = 0; e < 1 << S[r] - 7; e++) D[256 + i++] = r;
2915
+ for (t = 0; t <= m; t++) a[t] = 0;
2916
+ for (e = 0; e <= 143;) T[2 * e + 1] = 8, e++, a[8]++;
2917
+ for (; e <= 255;) T[2 * e + 1] = 9, e++, a[9]++;
2918
+ for (; e <= 279;) T[2 * e + 1] = 7, e++, a[7]++;
2919
+ for (; e <= 287;) T[2 * e + 1] = 8, e++, a[8]++;
2920
+ for (V(T, u + 1, a), e = 0; e < d; e++) E[2 * e + 1] = 5, E[2 * e] = B(e, 5);
2921
+ A = new P(T, x, l + 1, u, m), j = new P(E, S, 0, d, m), M = new P([], C, 0, f, g);
2922
+ }(), !0), e.l_desc = new F(e.dyn_ltree, A), e.d_desc = new F(e.dyn_dtree, j), e.bl_desc = new F(e.bl_tree, M), e.bi_buf = 0, e.bi_valid = 0, H(e);
2923
+ }, n._tr_stored_block = Z, n._tr_flush_block = function(e, t, n, r) {
2924
+ var o, s, c = 0;
2925
+ 0 < e.level ? (e.strm.data_type === 2 && (e.strm.data_type = function(e) {
2926
+ var t, n = 4093624447;
2927
+ for (t = 0; t <= 31; t++, n >>>= 1) if (1 & n && e.dyn_ltree[2 * t] !== 0) return i;
2928
+ if (e.dyn_ltree[18] !== 0 || e.dyn_ltree[20] !== 0 || e.dyn_ltree[26] !== 0) return a;
2929
+ for (t = 32; t < l; t++) if (e.dyn_ltree[2 * t] !== 0) return a;
2930
+ return i;
2931
+ }(e)), q(e, e.l_desc), q(e, e.d_desc), c = function(e) {
2932
+ var t;
2933
+ for (J(e, e.dyn_ltree, e.l_desc.max_code), J(e, e.dyn_dtree, e.d_desc.max_code), q(e, e.bl_desc), t = f - 1; 3 <= t && e.bl_tree[2 * w[t] + 1] === 0; t--);
2934
+ return e.opt_len += 3 * (t + 1) + 5 + 5 + 4, t;
2935
+ }(e), o = e.opt_len + 3 + 7 >>> 3, (s = e.static_len + 3 + 7 >>> 3) <= o && (o = s)) : o = s = n + 5, n + 4 <= o && t !== -1 ? Z(e, t, n, r) : e.strategy === 4 || s === o ? (R(e, 2 + +!!r, 3), K(e, T, E)) : (R(e, 4 + +!!r, 3), function(e, t, n, r) {
2936
+ var i;
2937
+ for (R(e, t - 257, 5), R(e, n - 1, 5), R(e, r - 4, 4), i = 0; i < r; i++) R(e, e.bl_tree[2 * w[i] + 1], 3);
2938
+ Y(e, e.dyn_ltree, t - 1), Y(e, e.dyn_dtree, n - 1);
2939
+ }(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, c + 1), K(e, e.dyn_ltree, e.dyn_dtree)), H(e), r && U(e);
2940
+ }, n._tr_tally = function(e, t, n) {
2941
+ return e.pending_buf[e.d_buf + 2 * e.last_lit] = t >>> 8 & 255, e.pending_buf[e.d_buf + 2 * e.last_lit + 1] = 255 & t, e.pending_buf[e.l_buf + e.last_lit] = 255 & n, e.last_lit++, t === 0 ? e.dyn_ltree[2 * n]++ : (e.matches++, t--, e.dyn_ltree[2 * (O[n] + l + 1)]++, e.dyn_dtree[2 * I(t)]++), e.last_lit === e.lit_bufsize - 1;
2942
+ }, n._tr_align = function(e) {
2943
+ R(e, 2, 3), z(e, _, T), function(e) {
2944
+ e.bi_valid === 16 ? (L(e, e.bi_buf), e.bi_buf = 0, e.bi_valid = 0) : 8 <= e.bi_valid && (e.pending_buf[e.pending++] = 255 & e.bi_buf, e.bi_buf >>= 8, e.bi_valid -= 8);
2945
+ }(e);
2946
+ };
2947
+ }, { "../utils/common": 41 }],
2948
+ 53: [function(e, t, n) {
2949
+ t.exports = function() {
2950
+ 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;
2951
+ };
2952
+ }, {}],
2953
+ 54: [function(e, t, n) {
2954
+ (function(e) {
2955
+ (function(e, t) {
2956
+ if (!e.setImmediate) {
2957
+ var n, r, i, a, o = 1, s = {}, c = !1, l = e.document, u = Object.getPrototypeOf && Object.getPrototypeOf(e);
2958
+ u = u && u.setTimeout ? u : e, n = {}.toString.call(e.process) === "[object process]" ? function(e) {
2959
+ process.nextTick(function() {
2960
+ f(e);
2961
+ });
2962
+ } : function() {
2963
+ if (e.postMessage && !e.importScripts) {
2964
+ var t = !0, n = e.onmessage;
2965
+ return e.onmessage = function() {
2966
+ t = !1;
2967
+ }, e.postMessage("", "*"), e.onmessage = n, t;
2968
+ }
2969
+ }() ? (a = "setImmediate$" + Math.random() + "$", e.addEventListener ? e.addEventListener("message", p, !1) : e.attachEvent("onmessage", p), function(t) {
2970
+ e.postMessage(a + t, "*");
2971
+ }) : e.MessageChannel ? ((i = new MessageChannel()).port1.onmessage = function(e) {
2972
+ f(e.data);
2973
+ }, function(e) {
2974
+ i.port2.postMessage(e);
2975
+ }) : l && "onreadystatechange" in l.createElement("script") ? (r = l.documentElement, function(e) {
2976
+ var t = l.createElement("script");
2977
+ t.onreadystatechange = function() {
2978
+ f(e), t.onreadystatechange = null, r.removeChild(t), t = null;
2979
+ }, r.appendChild(t);
2980
+ }) : function(e) {
2981
+ setTimeout(f, 0, e);
2982
+ }, u.setImmediate = function(e) {
2983
+ typeof e != "function" && (e = Function("" + e));
2984
+ for (var t = Array(arguments.length - 1), r = 0; r < t.length; r++) t[r] = arguments[r + 1];
2985
+ return s[o] = {
2986
+ callback: e,
2987
+ args: t
2988
+ }, n(o), o++;
2989
+ }, u.clearImmediate = d;
2990
+ }
2991
+ function d(e) {
2992
+ delete s[e];
2993
+ }
2994
+ function f(e) {
2995
+ if (c) setTimeout(f, 0, e);
2996
+ else {
2997
+ var n = s[e];
2998
+ if (n) {
2999
+ c = !0;
3000
+ try {
3001
+ (function(e) {
3002
+ var n = e.callback, r = e.args;
3003
+ switch (r.length) {
3004
+ case 0:
3005
+ n();
3006
+ break;
3007
+ case 1:
3008
+ n(r[0]);
3009
+ break;
3010
+ case 2:
3011
+ n(r[0], r[1]);
3012
+ break;
3013
+ case 3:
3014
+ n(r[0], r[1], r[2]);
3015
+ break;
3016
+ default: n.apply(t, r);
3017
+ }
3018
+ })(n);
3019
+ } finally {
3020
+ d(e), c = !1;
3021
+ }
3022
+ }
3023
+ }
3024
+ }
3025
+ function p(t) {
3026
+ t.source === e && typeof t.data == "string" && t.data.indexOf(a) === 0 && f(+t.data.slice(a.length));
3027
+ }
3028
+ })(typeof self > "u" ? e === void 0 ? this : e : self);
3029
+ }).call(this, typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : {});
3030
+ }, {}]
3031
+ }, {}, [10])(10);
3032
+ });
3033
+ }));
3034
+ //#endregion
3035
+ export default n();
3036
+ export { n as require_jszip_min };
3037
+
3038
+ //# sourceMappingURL=jszip.min.js.map