@sheetxl/io-xlsx 0.7.23-beta.1
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.
- package/LICENSE.md +11 -0
- package/README.md +23 -0
- package/browser/cjs/5QaWZ2tRVhz1rf3W.cjs +1 -0
- package/browser/cjs/B6sirGz6w-Bm7Ofo.cjs +1 -0
- package/browser/cjs/B7_pDFYCVzt-3hUs.cjs +1 -0
- package/browser/cjs/BE7AtU1GCShmJ8Yu.cjs +1 -0
- package/browser/cjs/CIpMN7SDVREKQUQE.cjs +6 -0
- package/browser/cjs/Chkqh5BZ-MJjAcPF.cjs +5 -0
- package/browser/cjs/D-8WoJkvdPf-79sB.cjs +2 -0
- package/browser/cjs/D5Y4KQhKdukOkjvA.cjs +2 -0
- package/browser/cjs/DWkuoJSgvcXJTdN1.cjs +1 -0
- package/browser/cjs/index.cjs +1 -0
- package/browser/cjs/sEmMmxaNBSY_o-Zb.cjs +1 -0
- package/browser/cjs/xQ6-wbTw5UzZUM1Y.cjs +1 -0
- package/browser/esm/B20zuEvdeypuSU5s.mjs +3851 -0
- package/browser/esm/BVAAJynubTdvPOQA.mjs +24 -0
- package/browser/esm/CLo2oPoIised6GbD.mjs +3617 -0
- package/browser/esm/COSdjubnJ_UgB-Gr.mjs +111 -0
- package/browser/esm/CS1t46OUALKkZxTa.mjs +494 -0
- package/browser/esm/CS8eRkAhoCN8KdGO.mjs +52 -0
- package/browser/esm/CcXnQZ4Fk_nkbq2G.mjs +99 -0
- package/browser/esm/Ch5gA6g56cOtRvJA.mjs +2193 -0
- package/browser/esm/DRuB-nlH4kq_OQJ5.mjs +196 -0
- package/browser/esm/DoKP-E832M9vPWgU.mjs +4675 -0
- package/browser/esm/XoDWB6uCJVrra-pE.mjs +2623 -0
- package/browser/esm/index.mjs +8 -0
- package/licenses/dependencies.txt +60 -0
- package/node/esm/B3Hb3GSFs_FIoXoI.mjs +209 -0
- package/node/esm/BqwG-e5ddQ45fg8w.mjs +2702 -0
- package/node/esm/C81WoKHbCRwhcHWd.mjs +2413 -0
- package/node/esm/CIzCy_gyysEIa_HI.mjs +3700 -0
- package/node/esm/CL8002u21KKQkkL0.mjs +108 -0
- package/node/esm/DF893ovKIDS88O7b.mjs +2237 -0
- package/node/esm/DTuPlHBTHnbLGvxd.mjs +504 -0
- package/node/esm/DVJuJqAXDwgA-ge8.mjs +118 -0
- package/node/esm/index.mjs +52 -0
- package/package.json +55 -0
- package/types/index.d.ts +2 -0
- package/types/src/ConditionalFormatRules.d.ts +86 -0
- package/types/src/ConditionalFormatRules.d.ts.map +1 -0
- package/types/src/DataValidationRules.d.ts +59 -0
- package/types/src/DataValidationRules.d.ts.map +1 -0
- package/types/src/ExcelCompat.d.ts +142 -0
- package/types/src/ExcelCompat.d.ts.map +1 -0
- package/types/src/ExcelFunctionFacts.d.ts +375 -0
- package/types/src/ExcelFunctionFacts.d.ts.map +1 -0
- package/types/src/ExcelReservedNames.d.ts +67 -0
- package/types/src/ExcelReservedNames.d.ts.map +1 -0
- package/types/src/LegacyFormula.d.ts +74 -0
- package/types/src/LegacyFormula.d.ts.map +1 -0
- package/types/src/OOXMLEscape.d.ts +28 -0
- package/types/src/OOXMLEscape.d.ts.map +1 -0
- package/types/src/OOXMLExtensions.d.ts +53 -0
- package/types/src/OOXMLExtensions.d.ts.map +1 -0
- package/types/src/OperandLiterals.d.ts +34 -0
- package/types/src/OperandLiterals.d.ts.map +1 -0
- package/types/src/Plugin.d.ts +16 -0
- package/types/src/Plugin.d.ts.map +1 -0
- package/types/src/SourcePackage.d.ts +76 -0
- package/types/src/SourcePackage.d.ts.map +1 -0
- package/types/src/Types.d.ts +44 -0
- package/types/src/Types.d.ts.map +1 -0
- package/types/src/cfb/CompoundFileReader.d.ts +73 -0
- package/types/src/cfb/CompoundFileReader.d.ts.map +1 -0
- package/types/src/cfb/CompoundFileWriter.d.ts +57 -0
- package/types/src/cfb/CompoundFileWriter.d.ts.map +1 -0
- package/types/src/cfb/index.d.ts +3 -0
- package/types/src/cfb/index.d.ts.map +1 -0
- package/types/src/index.d.ts +3 -0
- package/types/src/index.d.ts.map +1 -0
- package/types/src/legacyChart/OOXMLMappings.d.ts +8 -0
- package/types/src/legacyChart/OOXMLMappings.d.ts.map +1 -0
- package/types/src/legacyChart/OOXMLUtils.d.ts +78 -0
- package/types/src/legacyChart/OOXMLUtils.d.ts.map +1 -0
- package/types/src/legacyChart/ToOOXMLConverter.d.ts +30 -0
- package/types/src/legacyChart/ToOOXMLConverter.d.ts.map +1 -0
- package/types/src/offcrypto/AgileCrypto.d.ts +85 -0
- package/types/src/offcrypto/AgileCrypto.d.ts.map +1 -0
- package/types/src/offcrypto/EncryptionInfo.d.ts +109 -0
- package/types/src/offcrypto/EncryptionInfo.d.ts.map +1 -0
- package/types/src/offcrypto/LazyOffCryptoEncryption.d.ts +18 -0
- package/types/src/offcrypto/LazyOffCryptoEncryption.d.ts.map +1 -0
- package/types/src/offcrypto/OffCryptoEncryption.d.ts +15 -0
- package/types/src/offcrypto/OffCryptoEncryption.d.ts.map +1 -0
- package/types/src/offcrypto/index.d.ts +5 -0
- package/types/src/offcrypto/index.d.ts.map +1 -0
- package/types/src/reader/DummyFunctionUnwrap.d.ts +58 -0
- package/types/src/reader/DummyFunctionUnwrap.d.ts.map +1 -0
- package/types/src/reader/ReaderProfiler.d.ts +45 -0
- package/types/src/reader/ReaderProfiler.d.ts.map +1 -0
- package/types/src/reader/ReaderUtils.d.ts +66 -0
- package/types/src/reader/ReaderUtils.d.ts.map +1 -0
- package/types/src/reader/XLSXReader.d.ts +11 -0
- package/types/src/reader/XLSXReader.d.ts.map +1 -0
- package/types/src/reader/ZipReader.d.ts +62 -0
- package/types/src/reader/ZipReader.d.ts.map +1 -0
- package/types/src/reader/dom/DOMTransformer.d.ts +22 -0
- package/types/src/reader/dom/DOMTransformer.d.ts.map +1 -0
- package/types/src/reader/dom/DefaultVisitor.d.ts +8 -0
- package/types/src/reader/dom/DefaultVisitor.d.ts.map +1 -0
- package/types/src/reader/dom/ExecutionContext.d.ts +78 -0
- package/types/src/reader/dom/ExecutionContext.d.ts.map +1 -0
- package/types/src/reader/dom/NumberUtils.d.ts +17 -0
- package/types/src/reader/dom/NumberUtils.d.ts.map +1 -0
- package/types/src/reader/dom/Types.d.ts +27 -0
- package/types/src/reader/dom/Types.d.ts.map +1 -0
- package/types/src/reader/dom/VisitContext.d.ts +10 -0
- package/types/src/reader/dom/VisitContext.d.ts.map +1 -0
- package/types/src/reader/dom/Visitor.d.ts +23 -0
- package/types/src/reader/dom/Visitor.d.ts.map +1 -0
- package/types/src/reader/dom/VisitorUtils.d.ts +16 -0
- package/types/src/reader/dom/VisitorUtils.d.ts.map +1 -0
- package/types/src/reader/dom/index.d.ts +7 -0
- package/types/src/reader/dom/index.d.ts.map +1 -0
- package/types/src/reader/domVisitors/AppPropertiesVisitor.d.ts +11 -0
- package/types/src/reader/domVisitors/AppPropertiesVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/AutoFilterVisitor.d.ts +25 -0
- package/types/src/reader/domVisitors/AutoFilterVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/AxisVisitor.d.ts +12 -0
- package/types/src/reader/domVisitors/AxisVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/BarChartTypeVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/BarChartTypeVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ChartSpaceVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/ChartSpaceVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ChartTypeVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/ChartTypeVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ChartVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/ChartVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ClrSchemeVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/ClrSchemeVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ColorContainerVisitor.d.ts +37 -0
- package/types/src/reader/domVisitors/ColorContainerVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/CommentVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/CommentVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/CommentsVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/CommentsVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/CorePropertiesVisitor.d.ts +11 -0
- package/types/src/reader/domVisitors/CorePropertiesVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DataLabelsVisitor.d.ts +8 -0
- package/types/src/reader/domVisitors/DataLabelsVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DataPointVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/DataPointVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DrawingAnchorVisitor.d.ts +8 -0
- package/types/src/reader/domVisitors/DrawingAnchorVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DrawingCxnSpVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/DrawingCxnSpVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DrawingElementVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/DrawingElementVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DrawingGraphicFrameVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/DrawingGraphicFrameVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DrawingGrpSpVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/DrawingGrpSpVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DrawingPicVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/DrawingPicVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DrawingSpVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/DrawingSpVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/DrawingVisitor.d.ts +5 -0
- package/types/src/reader/domVisitors/DrawingVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ExternalLinkVisitor.d.ts +32 -0
- package/types/src/reader/domVisitors/ExternalLinkVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/FmtSchemeVisitor.d.ts +22 -0
- package/types/src/reader/domVisitors/FmtSchemeVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/FontSchemeVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/FontSchemeVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/HyperlinkVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/HyperlinkVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/LayoutVisitor.d.ts +5 -0
- package/types/src/reader/domVisitors/LayoutVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/LegendEntryVisitor.d.ts +5 -0
- package/types/src/reader/domVisitors/LegendEntryVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/LegendVisitor.d.ts +5 -0
- package/types/src/reader/domVisitors/LegendVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/MarkerVisitor.d.ts +5 -0
- package/types/src/reader/domVisitors/MarkerVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/MetadataVisitor.d.ts +104 -0
- package/types/src/reader/domVisitors/MetadataVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/NegativeShapeVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/NegativeShapeVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/OOXMLVisitorUtils.d.ts +3 -0
- package/types/src/reader/domVisitors/OOXMLVisitorUtils.d.ts.map +1 -0
- package/types/src/reader/domVisitors/PersonListVisitor.d.ts +5 -0
- package/types/src/reader/domVisitors/PersonListVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/PlotAreaVisitor.d.ts +5 -0
- package/types/src/reader/domVisitors/PlotAreaVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/PresetTableStylesVisitor.d.ts +8 -0
- package/types/src/reader/domVisitors/PresetTableStylesVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/RelsVisitor.d.ts +9 -0
- package/types/src/reader/domVisitors/RelsVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/RichValueDataVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/RichValueDataVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/RichValueStructureVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/RichValueStructureVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/SeriesVisitor.d.ts +8 -0
- package/types/src/reader/domVisitors/SeriesVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ShapePropertiesVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/ShapePropertiesVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/SheetColorContainerVisitor.d.ts +28 -0
- package/types/src/reader/domVisitors/SheetColorContainerVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/SheetStyleVisitor.d.ts +20 -0
- package/types/src/reader/domVisitors/SheetStyleVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/SlicerCacheDefinitionVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/SlicerCacheDefinitionVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/SlicersVisitor.d.ts +7 -0
- package/types/src/reader/domVisitors/SlicersVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/SortStateVisitor.d.ts +8 -0
- package/types/src/reader/domVisitors/SortStateVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/TableVisitor.d.ts +10 -0
- package/types/src/reader/domVisitors/TableVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/TableX14Visitor.d.ts +6 -0
- package/types/src/reader/domVisitors/TableX14Visitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/TextPropertiesVisitor.d.ts +11 -0
- package/types/src/reader/domVisitors/TextPropertiesVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ThemeVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/ThemeVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ThreadedCommentVisitor.d.ts +9 -0
- package/types/src/reader/domVisitors/ThreadedCommentVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/ThreadedCommentsVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/ThreadedCommentsVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/TitleVisitor.d.ts +9 -0
- package/types/src/reader/domVisitors/TitleVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/WorkbookVisitor.d.ts +30 -0
- package/types/src/reader/domVisitors/WorkbookVisitor.d.ts.map +1 -0
- package/types/src/reader/domVisitors/index.d.ts +101 -0
- package/types/src/reader/domVisitors/index.d.ts.map +1 -0
- package/types/src/reader/sax/SaxParser.d.ts +34 -0
- package/types/src/reader/sax/SaxParser.d.ts.map +1 -0
- package/types/src/reader/sax/SaxVisitor.d.ts +59 -0
- package/types/src/reader/sax/SaxVisitor.d.ts.map +1 -0
- package/types/src/reader/sax/Saxes.d.ts +641 -0
- package/types/src/reader/sax/Saxes.d.ts.map +1 -0
- package/types/src/reader/sax/index.d.ts +3 -0
- package/types/src/reader/sax/index.d.ts.map +1 -0
- package/types/src/reader/sax/xmlchars/xml/1.0/ed4.d.ts +32 -0
- package/types/src/reader/sax/xmlchars/xml/1.0/ed4.d.ts.map +1 -0
- package/types/src/reader/sax/xmlchars/xml/1.0/ed5.d.ts +52 -0
- package/types/src/reader/sax/xmlchars/xml/1.0/ed5.d.ts.map +1 -0
- package/types/src/reader/sax/xmlchars/xml/1.1/ed2.d.ts +74 -0
- package/types/src/reader/sax/xmlchars/xml/1.1/ed2.d.ts.map +1 -0
- package/types/src/reader/sax/xmlchars/xmlns/1.0/ed3.d.ts +29 -0
- package/types/src/reader/sax/xmlchars/xmlns/1.0/ed3.d.ts.map +1 -0
- package/types/src/reader/saxVisitors/ContentTypesVisitor.d.ts +54 -0
- package/types/src/reader/saxVisitors/ContentTypesVisitor.d.ts.map +1 -0
- package/types/src/reader/saxVisitors/SharedStringsVisitor.d.ts +22 -0
- package/types/src/reader/saxVisitors/SharedStringsVisitor.d.ts.map +1 -0
- package/types/src/reader/saxVisitors/WorksheetVisitor.d.ts +25 -0
- package/types/src/reader/saxVisitors/WorksheetVisitor.d.ts.map +1 -0
- package/types/src/vba/CompoundDocumentCompression.d.ts +37 -0
- package/types/src/vba/CompoundDocumentCompression.d.ts.map +1 -0
- package/types/src/vba/VBAProject.d.ts +47 -0
- package/types/src/vba/VBAProject.d.ts.map +1 -0
- package/types/src/vba/index.d.ts +3 -0
- package/types/src/vba/index.d.ts.map +1 -0
- package/types/src/writer/XLSXWriter.d.ts +4 -0
- package/types/src/writer/XLSXWriter.d.ts.map +1 -0
- package/types/src/writer/builder/ContentTypes.d.ts +18 -0
- package/types/src/writer/builder/ContentTypes.d.ts.map +1 -0
- package/types/src/writer/builder/Emitter.d.ts +25 -0
- package/types/src/writer/builder/Emitter.d.ts.map +1 -0
- package/types/src/writer/builder/EmitterRegistry.d.ts +29 -0
- package/types/src/writer/builder/EmitterRegistry.d.ts.map +1 -0
- package/types/src/writer/builder/OpcXmlUtils.d.ts +26 -0
- package/types/src/writer/builder/OpcXmlUtils.d.ts.map +1 -0
- package/types/src/writer/builder/PackageBuilder.d.ts +148 -0
- package/types/src/writer/builder/PackageBuilder.d.ts.map +1 -0
- package/types/src/writer/builder/PartWriter.d.ts +24 -0
- package/types/src/writer/builder/PartWriter.d.ts.map +1 -0
- package/types/src/writer/builder/RelationshipSet.d.ts +18 -0
- package/types/src/writer/builder/RelationshipSet.d.ts.map +1 -0
- package/types/src/writer/builder/Types.d.ts +311 -0
- package/types/src/writer/builder/Types.d.ts.map +1 -0
- package/types/src/writer/builder/Utils.d.ts +63 -0
- package/types/src/writer/builder/Utils.d.ts.map +1 -0
- package/types/src/writer/builder/XmlWriter.d.ts +3 -0
- package/types/src/writer/builder/XmlWriter.d.ts.map +1 -0
- package/types/src/writer/builder/ZipBackend.d.ts +21 -0
- package/types/src/writer/builder/ZipBackend.d.ts.map +1 -0
- package/types/src/writer/builder/_Types.d.ts +102 -0
- package/types/src/writer/builder/_Types.d.ts.map +1 -0
- package/types/src/writer/builder/index.d.ts +6 -0
- package/types/src/writer/builder/index.d.ts.map +1 -0
- package/types/src/writer/emitters/ChartColorsEmitter.d.ts +7 -0
- package/types/src/writer/emitters/ChartColorsEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/ChartEmitter.d.ts +14 -0
- package/types/src/writer/emitters/ChartEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/ChartStyleEmitter.d.ts +46 -0
- package/types/src/writer/emitters/ChartStyleEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/DrawingEmitter.d.ts +15 -0
- package/types/src/writer/emitters/DrawingEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/MetadataEmitter.d.ts +8 -0
- package/types/src/writer/emitters/MetadataEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/PropsAppEmitter.d.ts +12 -0
- package/types/src/writer/emitters/PropsAppEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/PropsCoreEmitter.d.ts +7 -0
- package/types/src/writer/emitters/PropsCoreEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/RichValueEmitter.d.ts +8 -0
- package/types/src/writer/emitters/RichValueEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/RichValueStructureEmitter.d.ts +28 -0
- package/types/src/writer/emitters/RichValueStructureEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/RichValueTypesEmitter.d.ts +10 -0
- package/types/src/writer/emitters/RichValueTypesEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/SharedStringsEmitter.d.ts +13 -0
- package/types/src/writer/emitters/SharedStringsEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/StylesEmitter.d.ts +17 -0
- package/types/src/writer/emitters/StylesEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/TableEmitter.d.ts +14 -0
- package/types/src/writer/emitters/TableEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/ThemeEmitter.d.ts +16 -0
- package/types/src/writer/emitters/ThemeEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/WorkbookEmitter.d.ts +11 -0
- package/types/src/writer/emitters/WorkbookEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/WorksheetEmitter.d.ts +18 -0
- package/types/src/writer/emitters/WorksheetEmitter.d.ts.map +1 -0
- package/types/src/writer/emitters/index.d.ts +3 -0
- package/types/src/writer/emitters/index.d.ts.map +1 -0
- package/types/src/writer/utils/AutoFilter.d.ts +15 -0
- package/types/src/writer/utils/AutoFilter.d.ts.map +1 -0
- package/types/src/writer/utils/ColorUtils.d.ts +46 -0
- package/types/src/writer/utils/ColorUtils.d.ts.map +1 -0
- package/types/src/writer/utils/DrawMLUtils.d.ts +26 -0
- package/types/src/writer/utils/DrawMLUtils.d.ts.map +1 -0
- package/types/src/writer/utils/DummyFunction.d.ts +66 -0
- package/types/src/writer/utils/DummyFunction.d.ts.map +1 -0
- package/types/src/writer/utils/DxfCollector.d.ts +22 -0
- package/types/src/writer/utils/DxfCollector.d.ts.map +1 -0
- package/types/src/writer/utils/ExtLstUtils.d.ts +3 -0
- package/types/src/writer/utils/ExtLstUtils.d.ts.map +1 -0
- package/types/src/writer/utils/IDUtils.d.ts +2 -0
- package/types/src/writer/utils/IDUtils.d.ts.map +1 -0
- package/types/src/writer/utils/MetadataCollector.d.ts +146 -0
- package/types/src/writer/utils/MetadataCollector.d.ts.map +1 -0
- package/types/src/writer/utils/ProtectionUtils.d.ts +3 -0
- package/types/src/writer/utils/ProtectionUtils.d.ts.map +1 -0
- package/types/src/writer/utils/RichValueCollector.d.ts +200 -0
- package/types/src/writer/utils/RichValueCollector.d.ts.map +1 -0
- package/types/src/writer/utils/TextUtils.d.ts +8 -0
- package/types/src/writer/utils/TextUtils.d.ts.map +1 -0
- package/types/src/writer/utils/UnsupportedFunctions.d.ts +19 -0
- package/types/src/writer/utils/UnsupportedFunctions.d.ts.map +1 -0
- package/types/src/writer/utils/VersionUtils.d.ts +26 -0
- package/types/src/writer/utils/VersionUtils.d.ts.map +1 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Repository Licensing
|
|
2
|
+
|
|
3
|
+
SheetXL contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
|
|
4
|
+
|
|
5
|
+
For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
|
|
6
|
+
|
|
7
|
+
Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
|
|
8
|
+
|
|
9
|
+
For more details on commercial licensing, please visit our website:
|
|
10
|
+
|
|
11
|
+
https://www.sheetxl.com/docs/guides/licensing-pricing
|
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# IO XLSX
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<a href="https://www.sheetxl.com" target="_blank">
|
|
5
|
+
<img src="https://www.sheetxl.com/logo-text.svg" alt="SheetXL Logo" width="180" />
|
|
6
|
+
</a>
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
Library importing and exporting to Excel.
|
|
10
|
+
|
|
11
|
+
## 🔗 Learn More
|
|
12
|
+
|
|
13
|
+
Whether you're ready to build, need help, or just want to see more examples, here's where to go next.
|
|
14
|
+
|
|
15
|
+
* 💬 **[Join our Discord Community](https://discord.gg/NTKdwUgK9p)** - Get help and connect with the team.
|
|
16
|
+
* ⭐ **[Star us on GitHub](https://github.com/sheetxl/sheetxl)** - If you like SheetXL give us a star ⭐ and help others find us!
|
|
17
|
+
* 📘 **[Developer Docs](https://www.sheetxl.com/docs)** - Guides and tutorials.
|
|
18
|
+
* 🔌 **[API Reference](https://api.sheetxl.com)** - Detailed documentation for all packages.
|
|
19
|
+
* 👀 **[Live Demo Gallery](https://www.sheetxl.com/demos)** - A showcase of interactive examples.
|
|
20
|
+
* 🖼️ **[Storybook](https://storybook.sheetxl.com)** - Explore and test individual UI components.
|
|
21
|
+
* 🌐 **[Website](https://www.sheetxl.com)** - Our Website.
|
|
22
|
+
|
|
23
|
+
---
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./DWkuoJSgvcXJTdN1.cjs"),n=require("./D-8WoJkvdPf-79sB.cjs");let r=require("@sheetxl/utils"),i=require("@sheetxl/sdk");var a=new Uint8Array,o=class e{constructor(e,t,n){this.buffers=new Map,this.zip=e,this.entries=t,this.rawBuffer=n}static normalize(e){return e.startsWith(`/`)?e.slice(1):e}static async create(t){let r=t instanceof Blob?a:t instanceof Uint8Array?t:new Uint8Array(t),i=new n.z(t instanceof Blob?new n.B(t):new n.U(r)),o=new Map;for(let e of await i.getEntries())e.directory||o.set(e.filename,e);return new e(i,o,r)}getNames(){return[...this.entries.keys()]}has(t){return this.entries.has(e.normalize(t))}uncompressedSize(t){return this.entries.get(e.normalize(t))?.uncompressedSize??0}async getBuffer(t){let r=e.normalize(t),i=this.buffers.get(r);if(i)return i;let a=this.entries.get(r);if(!a)return null;let o=await a.getData(new n.W);return this.buffers.set(r,o),o}async prefetch(e){let t=[];for(let[r,i]of this.entries)!this.buffers.has(r)&&e(r,i)&&t.push(i.getData(new n.W).then(e=>{this.buffers.set(r,e)}));await Promise.all(t)}getEntry(t){return this.buffers.get(e.normalize(t))??null}async getTextStream(t,n){let r=this.entries.get(e.normalize(t));if(!r)return null;let i=new TransformStream;r.getData(i.writable).catch(()=>{});let a=i.readable.getReader(),o=new TextDecoder(`utf-8`);return new ReadableStream({async pull(e){let{value:t,done:r}=await a.read();if(r){let t=o.decode();t&&e.enqueue(t),e.close();return}n?.(t.byteLength);let i=o.decode(t,{stream:!0});i&&e.enqueue(i)}}).getReader()}getRawEntry(t){let n=this.entries.get(e.normalize(t));if(!n||n.encrypted)return null;let r=n.offset;if(r+30>this.rawBuffer.byteLength)return null;let i=new DataView(this.rawBuffer.buffer,this.rawBuffer.byteOffset+r,30);if(i.getUint32(0,!0)!==67324752)return null;let a=r+30+i.getUint16(26,!0)+i.getUint16(28,!0),o=a+n.compressedSize;return o>this.rawBuffer.byteLength?null:{data:this.rawBuffer.subarray(a,o),compressionMethod:n.compressionMethod,signature:n.signature}}async close(){await this.zip.close()}},s=class{constructor(e){this._sink=e,this._samples=[],this._t0=c(),this._tPrev=this._t0,this._heapPrev=l()}mark(e){let t=c(),n=l(),r={label:e,tMs:t-this._t0,dtMs:t-this._tPrev,heapBytes:n,dHeapBytes:n!==void 0&&this._heapPrev!==void 0?n-this._heapPrev:void 0,rssBytes:u()};this._tPrev=t,this._heapPrev=n,this._samples.push(r),this._sink?.(r)}samples(){return this._samples}toTable(){return this._samples.map(e=>({phase:e.label,tMs:Math.round(e.tMs),dtMs:Math.round(e.dtMs),heapMB:e.heapBytes===void 0?`—`:d(e.heapBytes/1048576),dHeapMB:e.dHeapBytes===void 0?`—`:d(e.dHeapBytes/1048576),rssMB:e.rssBytes===void 0?`—`:d(e.rssBytes/1048576)}))}},c=typeof performance==`object`&&typeof performance.now==`function`?()=>performance.now():()=>Date.now();function l(){let e=typeof performance==`object`?performance.memory:void 0;if(e&&typeof e.usedJSHeapSize==`number`)return e.usedJSHeapSize;let t=globalThis.process;return typeof t==`object`&&typeof t.memoryUsage==`function`?t.memoryUsage().heapUsed:void 0}function u(){let e=globalThis.process;if(typeof e==`object`&&typeof e.memoryUsage==`function`)return e.memoryUsage().rss}function d(e){return Math.round(10*e)/10}var f=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-`,p=`-${f}.0-9·̀-ͯ‿-⁀`,m=(RegExp(`^[${f}]$`,`u`),RegExp(`^[${p}]$`,`u`),RegExp(`^[${f}][${p}]*$`,`u`)),h=(RegExp(`^[${p}]+$`,`u`),[32,10,13,9]);function g(e){return e>=65&&e<=90||e>=97&&e<=122||e===58||e===95||e===8204||e===8205||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var _=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-`,v=`-${_}.0-9·̀-ͯ‿-⁀`;RegExp(`^[${_}]$`,`u`),RegExp(`^[${v}]$`,`u`),RegExp(`^[${_}][${v}]*$`,`u`),RegExp(`^[${v}]+$`,`u`);var y=`A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-`,b=`-${y}.0-9·̀-ͯ‿-⁀`,x=(RegExp(`^[${y}]$`,`u`),RegExp(`^[${b}]$`,`u`),RegExp(`^[${y}][${b}]*$`,`u`));function ee(e){return e>=65&&e<=90||e===95||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var S=function(e){return e===32||e===10||e===13||e===9},C=function(e){return e>=32&&e<=55295||e===10||e===13||e===9||e>=57344&&e<=65533||e>=65536&&e<=1114111},w=g,T=function(e){return g(e)||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256},E=h,D=m,te=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},O=ee,k=function(e){return ee(e)||e===45||e===46||e>=48&&e<=57||e===183||e>=768&&e<=879||e>=8255&&e<=8256},A=x,j=`http://www.w3.org/XML/1998/namespace`,M=`http://www.w3.org/2000/xmlns/`,N={__proto__:null,xml:j,xmlns:M},P={__proto__:null,amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},F=-1,I=-2,L=13,R=33,z=10,B=60,V=61,H=62,U=63,W=93,ne=e=>e===34||e===39,re=[34,39],ie=[...re,91,H],ae=[...re,B,W],oe=[V,U,...E],se=[...E,H,38,B];function G(e,t,n){switch(t){case`xml`:n!==j&&e.fail(`xml prefix must be bound to ${j}.`);break;case`xmlns`:n!==M&&e.fail(`xmlns prefix must be bound to ${M}.`)}switch(n){case M:e.fail(t===``?`the default namespace may not be set to ${n}.`:`may not assign a prefix (even "xmlns") to the URI ${M}.`);break;case j:switch(t){case`xml`:break;case``:e.fail(`the default namespace may not be set to ${n}.`);break;default:e.fail(`may not assign the xml namespace to another prefix.`)}}}var K,q,ce=e=>A.test(e),le=e=>D.test(e),J={xmldecl:`xmlDeclHandler`,text:`textHandler`,processinginstruction:`piHandler`,doctype:`doctypeHandler`,comment:`commentHandler`,opentagstart:`openTagStartHandler`,attribute:`attributeHandler`,opentag:`openTagHandler`,closetag:`closeTagHandler`,cdata:`cdataHandler`,error:`errorHandler`,end:`endHandler`,ready:`readyHandler`},Y=class{get closed(){return this._closed}constructor(e){this.i=0,this.prevI=0,this.opt=e??{},this.fragmentOpt=!!this.opt.fragment;let t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=O,this.nameCheck=k,this.isName=ce,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...N};let e=this.opt.additionalNamespaces;e!=null&&(function(e,t){for(let n of Object.keys(t))G(e,n,t[n])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=w,this.nameCheck=T,this.isName=le,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}_init(){this.openWakaBang=``,this.text=``,this.name=``,this.piTarget=``,this.entity=``,this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk=``,this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];let{fragmentOpt:e}=this;this.state=e?L:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=e,this.xmlDeclPossible=!e,this.xmlDeclExpects=[`version`],this.entityReturnState=void 0;let{defaultXMLVersion:t}=this.opt;if(t===void 0){if(!0===this.opt.forceXMLVersion)throw Error(`forceXMLVersion set but defaultXMLVersion is not set`);t=`1.0`}this.setXMLVersion(t),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(P),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[J[e]]=t}off(e){this[J[e]]=void 0}makeError(e){let t=this.fileName??``;return this.trackPosition&&(t.length>0&&(t+=`:`),t+=`${this.line}:${this.column}`),t.length>0&&(t+=`: `),Error(t+e)}fail(e){let t=this.makeError(e),n=this.errorHandler;if(n===void 0)throw t;return n(t),this}write(e){if(this.closed)return this.fail(`cannot write after close.`);let t=!1;e===null?(t=!0,e=``):typeof e==`object`&&(e=e.toString()),this.carriedFromPrevious!==void 0&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let n=e.length,r=e.charCodeAt(n-1);!t&&(r===13||r>=55296&&r<=56319)&&(this.carriedFromPrevious=e[n-1],n--,e=e.slice(0,n));let{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<n;)i[this.state].call(this);return this.chunkPosition+=n,t?this.end():this}close(){return this.write(null)}getCode10(){let e=this.chunk,t=this.i;if(this.prevI=t,this.i++,t>=e.length)return F;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>=32||n===9)return n;switch(n){case z:return this.line++,this.column=0,this.positionAtNewLine=this.position,z;case 13:return e.charCodeAt(t+1)===z&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,I;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCode11(){let{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return F;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>31&&n<127||n>159&&n!==8232||n===9)return n;switch(n){case z:return this.line++,this.column=0,this.positionAtNewLine=this.position,z;case 13:{let n=e.charCodeAt(t+1);n!==z&&n!==133||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,I;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCodeNorm(){let e=this.getCode();return e===I?z:e}unGet(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode(),i=r===I,a=i?z:r;if(a===F||e.includes(a))return this.text+=n.slice(t,this.prevI),a;i&&(this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i)}}captureToChar(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode();switch(r){case I:this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i,r=z;break;case F:return this.text+=n.slice(t),!1}if(r===e)return this.text+=n.slice(t,this.prevI),!0}}captureNameChars(){let{chunk:e,i:t}=this;for(;;){let n=this.getCode();if(n===F)return this.name+=e.slice(t),F;if(!T(n))return this.name+=e.slice(t,this.prevI),n===I?z:n}}skipSpaces(){for(;;){let e=this.getCodeNorm();if(e===F||!S(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,e===`1.0`?(this.isChar=C,this.getCode=this.getCode10):(this.isChar=te,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){let e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case B:if(this.state=15,this.text.length!==0)throw Error(`no-empty text at start`);break;case F:break;default:this.unGet(),this.state=L,this.xmlDeclPossible=!1}}sDoctype(){let e=this.captureTo(ie);switch(e){case H:this.doctypeHandler?.(this.text),this.text=``,this.state=L,this.doctype=!0;break;case F:break;default:this.text+=String.fromCodePoint(e),e===91?this.state=4:ne(e)&&(this.state=3,this.q=e)}}sDoctypeQuote(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){let e=this.captureTo(ae);e!==F&&(this.text+=String.fromCodePoint(e),e===W?this.state=2:e===B?this.state=6:ne(e)&&(this.state=5,this.q=e))}sDTDQuoted(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){let e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang=``;break;case U:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){let e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,t!==`-`&&(this.state=t===`--`?8:4,this.openWakaBang=``)}sDTDComment(){this.captureToChar(45)&&(this.text+=`-`,this.state=9)}sDTDCommentEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=e===45?10:8}sDTDCommentEnded(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===H?this.state=4:(this.fail(`malformed comment.`),this.state=8)}sDTDPI(){this.captureToChar(U)&&(this.text+=`?`,this.state=12)}sDTDPIEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===H&&(this.state=4)}sText(){this.tags.length===0?this.handleTextOutsideRoot():this.handleTextInRoot()}sEntity(){let{i:e}=this,{chunk:t}=this;t:for(;;)switch(this.getCode()){case I:this.entity+=`${t.slice(e,this.prevI)}\n`,e=this.i;break;case 59:{let{entityReturnState:n}=this,r=this.entity+t.slice(e,this.prevI),i;this.state=n,r===``?(this.fail(`empty entity name.`),i=`&;`):(i=this.parseEntity(r),this.entity=``),n===L&&this.textHandler===void 0||(this.text+=i);break t}case F:this.entity+=t.slice(e);break t}}sOpenWaka(){let e=this.getCode();if(w(e))this.state=34,this.unGet(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=``,this.xmlDeclPossible=!1;break;case U:this.state=23;break;default:this.fail(`disallowed character in tag name`),this.state=L,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case`[CDATA[`:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=``;break;case`--`:this.state=17,this.openWakaBang=``;break;case`DOCTYPE`:this.state=2,(this.doctype||this.sawRoot)&&this.fail(`inappropriately located doctype declaration.`),this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&this.fail(`incorrect syntax.`)}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){let e=this.getCodeNorm();e===45?(this.state=19,this.commentHandler?.(this.text),this.text=``):(this.text+=`-${String.fromCodePoint(e)}`,this.state=17)}sCommentEnded(){let e=this.getCodeNorm();e===H?this.state=L:(this.fail(`malformed comment.`),this.text+=`--${String.fromCodePoint(e)}`,this.state=17)}sCData(){this.captureToChar(W)&&(this.state=21)}sCDataEnding(){let e=this.getCodeNorm();e===W?this.state=22:(this.text+=`]${String.fromCodePoint(e)}`,this.state=20)}sCDataEnding2(){let e=this.getCodeNorm();switch(e){case H:this.cdataHandler?.(this.text),this.text=``,this.state=L;break;case W:this.text+=`]`;break;default:this.text+=`]]${String.fromCodePoint(e)}`,this.state=20}}sPIFirstChar(){let e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===U||S(e)?(this.fail(`processing instruction without a target.`),this.state=e===U?26:25):(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){let{chunk:e,i:t}=this;for(;;){let n=this.getCodeNorm();if(n===F)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(n)){this.piTarget+=e.slice(t,this.prevI);let r=n===U;r||S(n)?this.piTarget===`xml`?(this.xmlDeclPossible||this.fail(`an XML declaration must be at the start of the document.`),this.state=r?R:27):this.state=r?26:25:(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(n));break}}}sPIBody(){if(this.text.length===0){let e=this.getCodeNorm();e===U?this.state=26:S(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(U)&&(this.state=26)}sPIEnding(){let e=this.getCodeNorm();if(e===H){let{piTarget:e}=this;e.toLowerCase()===`xml`&&this.fail(`the XML declaration must appear at the start of the document.`),this.piHandler?.({target:e,body:this.text}),this.piTarget=this.text=``,this.state=L}else e===U?this.text+=`?`:(this.text+=`?${String.fromCodePoint(e)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){let e=this.skipSpaces();e===U?this.state=R:e!==F&&(this.state=28,this.name=String.fromCodePoint(e))}sXMLDeclName(){let e=this.captureTo(oe);if(e===U)return this.state=R,this.name+=this.text,this.text=``,void this.fail(`XML declaration is incomplete.`);if(S(e)||e===V){if(this.name+=this.text,this.text=``,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(`did not expect any more name/value pairs.`);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(`, `)}`)}this.state=e===V?30:29}}sXMLDeclEq(){let e=this.getCodeNorm();if(e===U)return this.state=R,void this.fail(`XML declaration is incomplete.`);S(e)||(e!==V&&this.fail(`value required.`),this.state=30)}sXMLDeclValueStart(){let e=this.getCodeNorm();if(e===U)return this.state=R,void this.fail(`XML declaration is incomplete.`);S(e)||(ne(e)?this.q=e:(this.fail(`value must be quoted.`),this.q=32),this.state=31)}sXMLDeclValue(){let e=this.captureTo([this.q,U]);if(e===U)return this.state=R,this.text=``,void this.fail(`XML declaration is incomplete.`);if(e===F)return;let t=this.text;switch(this.text=``,this.name){case`version`:{this.xmlDeclExpects=[`encoding`,`standalone`];let e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail(`version number must match /^1\\.[0-9]+$/.`);break}case`encoding`:/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail(`encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.`),this.xmlDeclExpects=[`standalone`],this.xmlDecl.encoding=t;break;case`standalone`:t!==`yes`&&t!==`no`&&this.fail(`standalone value must match "yes" or "no".`),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name=``,this.state=32}sXMLDeclSeparator(){let e=this.getCodeNorm();e===U?this.state=R:(S(e)||(this.fail(`whitespace required.`),this.unGet()),this.state=27)}sXMLDeclEnding(){this.getCodeNorm()===H?(this.piTarget===`xml`?this.name!==`version`&&this.xmlDeclExpects.includes(`version`)&&this.fail(`XML declaration must contain a version.`):this.fail(`processing instructions are not allowed before root.`),this.xmlDeclHandler?.(this.xmlDecl),this.name=``,this.piTarget=this.text=``,this.state=L):this.fail(`The character ? is disallowed anywhere in XML declarations.`),this.xmlDeclPossible=!1}sOpenTag(){let e=this.captureNameChars();if(e===F)return;let t=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name=``,this.xmlnsOpt&&(this.topNS=t.ns=Object.create(null)),this.openTagStartHandler?.(t),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail(`documents may contain only one root.`),e){case H:this.openTag();break;case 47:this.state=35;break;default:S(e)||this.fail(`disallowed character in tag name.`),this.state=36}}sOpenTagSlash(){this.getCode()===H?this.openSelfClosingTag():(this.fail(`forward-slash in opening tag not followed by >.`),this.state=36)}sAttrib(){let e=this.skipSpaces();e!==F&&(w(e)?(this.unGet(),this.state=37):e===H?this.openTag():e===47?this.state=35:this.fail(`disallowed character in attribute name.`))}sAttribName(){let e=this.captureNameChars();e===V?this.state=39:S(e)?this.state=38:e===H?(this.fail(`attribute without value.`),this.pushAttrib(this.name,this.name),this.name=this.text=``,this.openTag()):e!==F&&this.fail(`disallowed character in attribute name.`)}sAttribNameSawWhite(){let e=this.skipSpaces();switch(e){case F:return;case V:this.state=39;break;default:this.fail(`attribute without value.`),this.text=``,this.name=``,e===H?this.openTag():w(e)?(this.unGet(),this.state=37):(this.fail(`disallowed character in attribute name.`),this.state=36)}}sAttribValue(){let e=this.getCodeNorm();ne(e)?(this.q=e,this.state=40):S(e)||(this.fail(`unquoted attribute value.`),this.state=42,this.unGet())}sAttribValueQuoted(){let{q:e,chunk:t}=this,{i:n}=this;for(;;)switch(this.getCode()){case e:this.pushAttrib(this.name,this.text+t.slice(n,this.prevI)),this.name=this.text=``,this.q=null,this.state=41;return;case 38:this.text+=t.slice(n,this.prevI),this.state=14,this.entityReturnState=40;return;case z:case I:case 9:this.text+=`${t.slice(n,this.prevI)} `,n=this.i;break;case B:this.text+=t.slice(n,this.prevI),this.fail(`disallowed character.`);return;case F:this.text+=t.slice(n);return}}sAttribValueClosed(){let e=this.getCodeNorm();S(e)?this.state=36:e===H?this.openTag():e===47?this.state=35:w(e)?(this.fail(`no whitespace between attributes.`),this.unGet(),this.state=37):this.fail(`disallowed character in attribute name.`)}sAttribValueUnquoted(){let e=this.captureTo(se);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case B:this.fail(`disallowed character.`);break;case F:break;default:this.text.includes(`]]>`)&&this.fail(`the string "]]>" is disallowed in char data.`),this.pushAttrib(this.name,this.text),this.name=this.text=``,e===H?this.openTag():this.state=36}}sCloseTag(){let e=this.captureNameChars();e===H?this.closeTag():S(e)?this.state=44:e!==F&&this.fail(`disallowed character in closing tag.`)}sCloseTagSawWhite(){switch(this.skipSpaces()){case H:this.closeTag();break;case F:break;default:this.fail(`disallowed character in closing tag.`)}}handleTextInRoot(){let{i:e,forbiddenState:t}=this,{chunk:n,textHandler:r}=this;t:for(;;)switch(this.getCode()){case B:if(this.state=15,r!==void 0){let{text:t}=this,i=n.slice(e,this.prevI);t.length===0?i.length!==0&&r(i):(r(t+i),this.text=``)}t=0;break t;case 38:this.state=14,this.entityReturnState=L,r!==void 0&&(this.text+=n.slice(e,this.prevI)),t=0;break t;case W:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw Error(`impossible state`)}break;case H:t===2&&this.fail(`the string "]]>" is disallowed in char data.`),t=0;break;case I:r!==void 0&&(this.text+=`${n.slice(e,this.prevI)}\n`),e=this.i,t=0;break;case F:r!==void 0&&(this.text+=n.slice(e));break t;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this,{chunk:t,textHandler:n}=this,r=!1;t:for(;;){let i=this.getCode();switch(i){case B:if(this.state=15,n!==void 0){let{text:r}=this,i=t.slice(e,this.prevI);r.length===0?i.length!==0&&n(i):(n(r+i),this.text=``)}break t;case 38:this.state=14,this.entityReturnState=L,n!==void 0&&(this.text+=t.slice(e,this.prevI)),r=!0;break t;case I:n!==void 0&&(this.text+=`${t.slice(e,this.prevI)}\n`),e=this.i;break;case F:n!==void 0&&(this.text+=t.slice(e));break t;default:S(i)||(r=!0)}}r&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){let{prefix:n,local:r}=this.qName(e),i={name:e,prefix:n,local:r,value:t};if(this.attribList.push(i),this.attributeHandler?.(i),n===`xmlns`){let e=t.trim();this.currentXMLVersion===`1.0`&&e===``&&this.fail(`invalid attempt to undefine prefix in XML 1.0`),this.topNS[r]=e,G(this,r,e)}else if(e===`xmlns`){let e=t.trim();this.topNS[``]=e,G(this,``,e)}}pushAttribPlain(e,t){let n={name:e,value:t};this.attribList.push(n),this.attributeHandler?.(n)}end(){this.sawRoot||this.fail(`document must contain a root element.`);let{tags:e}=this;for(;e.length>0;){let t=e.pop();this.fail(`unclosed tag: ${t.name}`)}this.state!==0&&this.state!==L&&this.fail(`unexpected end.`);let{text:t}=this;return t.length!==0&&(this.textHandler?.(t),this.text=``),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(e){let t=this.topNS[e];if(t!==void 0)return t;let{tags:n}=this;for(let r=n.length-1;r>=0;r--)if(t=n[r].ns[e],t!==void 0)return t;return t=this.ns[e],t===void 0?this.opt.resolvePrefix?.(e):t}qName(e){let t=e.indexOf(`:`);if(t===-1)return{prefix:``,local:e};let n=e.slice(t+1),r=e.slice(0,t);return(r===``||n===``||n.includes(`:`))&&this.fail(`malformed name: ${e}.`),{prefix:r,local:n}}processAttribsNS(){let{attribList:e}=this,t=this.tag;{let{prefix:e,local:n}=this.qName(t.name);t.prefix=e,t.local=n;let r=t.uri=this.resolve(e)??``;e!==``&&(e===`xmlns`&&this.fail(`tags may not have "xmlns" as prefix.`),r===``&&(this.fail(`unbound namespace prefix: ${JSON.stringify(e)}.`),t.uri=e))}if(e.length===0)return;let{attributes:n}=t,r=new Set;for(let t of e){let{name:e,prefix:i,local:a}=t,o,s;i===``?(o=e===`xmlns`?M:``,s=e):(o=this.resolve(i),o===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(i)}.`),o=i),s=`{${o}}${a}`),r.has(s)&&this.fail(`duplicate attribute: ${s}.`),r.add(s),t.uri=o,n[e]=t}this.attribList=[]}processAttribsPlain(){let{attribList:e}=this,t=this.tag.attributes;for(let{name:n,value:r}of e)t[n]!==void 0&&this.fail(`duplicate attribute: ${n}.`),t[n]=r;this.attribList=[]}openTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!1,this.openTagHandler?.(t),e.push(t),this.state=L,this.name=``}openSelfClosingTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!0,this.openTagHandler?.(t),this.closeTagHandler?.(t),(this.tag=e[e.length-1]??null)===null&&(this.closedRoot=!0),this.state=L,this.name=``}closeTag(){let{tags:e,name:t}=this;if(this.state=L,this.name=``,t===``)return this.fail(`weird empty close tag.`),void(this.text+=`</>`);let n=this.closeTagHandler,r=e.length;for(;r-->0;){let r=this.tag=e.pop();if(this.topNS=r.ns,n?.(r),r.name===t)break;this.fail(`unexpected close tag: ${t}.`)}r===0?this.closedRoot=!0:r<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if(e[0]!==`#`){let t=this.ENTITIES[e];return t===void 0?(this.fail(this.isName(e)?`undefined entity.`:`disallowed character in entity name.`),`&${e};`):t}let t=NaN;return e[1]===`x`&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail(`malformed character entity.`),`&${e};`)}};(q=K||={}).Events={XmlDecl:`xmldecl`,Text:`text`,ProcessingInstruction:`processinginstruction`,Doctype:`doctype`,Comment:`comment`,OpenTagStart:`opentagstart`,Attribute:`attribute`,OpenTag:`opentag`,CloseTag:`closetag`,CDdata:`cdata`,Error:`error`,End:`end`,Ready:`ready`},q.parseStream=async(e,t,n)=>{let r=new Y({position:!1,...n}),i;t.onOpenTagStart&&r.on(K.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&r.on(K.Events.OpenTag,t.onOpenTag),t.onCloseTag&&r.on(K.Events.CloseTag,t.onCloseTag),t.onAttribute&&r.on(K.Events.Attribute,t.onAttribute),t.onText&&r.on(K.Events.Text,t.onText),t.onError&&r.on(K.Events.Error,t.onError);let a=t.onEnd;for(a&&r.on(K.Events.End,()=>{i=a()});;){let{value:t,done:n}=await e.read();if(n)break;r.write(t)}return r.close(),i};var X=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,Z=e=>{let t=parseInt(e);return isNaN(t)?null:t},Q=e=>{let t=parseFloat(e);return isNaN(t)?null:t},$=null,ue=class{constructor(){this._registeredVisitors=new Map}registerVisitor(e){this._registeredVisitors.set(e.from,e)}createEventHandler(e,t,n){let r=this._registeredVisitors,i=[],a=[],o=null,s=null,c=null,l=null,u=[],d={key:null,source:e,parent:null},f=null,p=!1,m=(e,t)=>{let n=c.attributes[e];if(t){if(Array.isArray(t)){let e=t.length;for(let r=0;r<e;r++)if(n==null||(n=t[r](n),n==null))return}else if(n==null||(n=t(n),n==null))return}return n},h={getSource:()=>f?.source??null,setSource:e=>{f.source=e},setKey:e=>{f.key=e},getFrom:()=>c,getAttribute:(e,t)=>m(e,t)??null,hasAttribute:e=>h.getAttribute(e)!==null,getParent:()=>{let e=u[u.length-2];return e.parent??e.source},getPath:()=>{let e=[],t=a.length;for(let n=0;n<t;n++)e.push(a[n].local);return e.join(`\\`)},parseAttribute:m,copyToObject:(e,t,n,r)=>{let i=m(r??t,n);i!==void 0&&(e[t]=i)},copyTo:(e,t,n)=>{let r=m(n??e,t);r!==void 0&&(f.source[e]=r)},warn:e=>{n?n?.(e):console.warn(e)}};return{onOpenTag:e=>{let t=e.name,n=t.indexOf(`:`);n!==-1&&(t=t.slice(n+1));let m=(i.length>0?i[i.length-1]:r).get(t);if(o={local:t,visitor:m,tag:e,destination:null},p)return a.push(o),s=t,void(c=e);l=o?.visitor??null,s=t,c=e;let g=!!m&&m.to===null;if(m&&!g&&m.scope){let e=m.scope(h);e===null?g=!0:e&&(i.push(e),o.pushedScope=!0)}m&&(a.length===0?(f=d,o.destination=f,o.pushedDestination=!0,u.push(f)):g?(f=null,o.destination=null):m.transparent?o.destination=f:(f={key:null,source:{},parent:null},o.destination=f,o.pushedDestination=!0,u.push(f))),a.push(o),p=g;let _=l?.openTag?.(h);_!==void 0&&(f.parent=_)},onCloseTag:e=>{let t=e.name,r=t.indexOf(`:`);if(r!==-1&&(t=t.slice(r+1)),t!==s)throw Error(`mismatch open/close tag: '${t}'/'${s}'`);p||l?.closeTag?.(h);let m=a.pop()??null;o=a[a.length-1]??null,m?.pushedScope&&i.pop();let g=m?.destination;if(g&&m.pushedDestination){u.pop(),f=u[u.length-1]??d;let e=m.visitor;e&&e.to&&g.source!==void 0&&(Array.isArray(e.to)?f.source.push?f.source.push(g.source):n?.(`Unable to parse array for ${e.from} at ${h.getPath()}`):g.key?f.source[g.key]=g.source:typeof e.to==`string`&&(f.source[e.to]=g.source))}s=o?.local??null,c=o?.tag??null,l=o?.visitor??null,p=!o?.destination},onText:e=>{l?.text?.(e,h)},onEnd:t}}},de=`IFERROR(${n.C}(`,fe=de.toUpperCase(),pe=n.S.toUpperCase(),me={kind:`none`},he={kind:`spilled`},ge=(e,t)=>{if(e.charCodeAt(t)!==34)return null;let n=``,r=t+1;for(;r<e.length;)if(e.charCodeAt(r)===34){if(e.charCodeAt(r+1)!==34)return{value:n,end:r+1};n+=`"`,r+=2}else n+=e[r],r++;return null},_e=e=>{let t=[],n=0;for(;n<e.length;){let r=e.charCodeAt(n);if(r===34){let t=ge(e,n);if(t===null)break;n=t.end;continue}if(!(r>=65&&r<=90||r>=97&&r<=122||r===95)){n++;continue}let i=n+1;for(;i<e.length;){let t=e.charCodeAt(i);if(!(t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===95||t===46))break;i++}e.charCodeAt(i)===40&&t.push(e.slice(n,i).toUpperCase().replace(/^_XLFN\./,``).replace(/^_XLWS\./,``)),n=i}return t},ve=e=>{let t=0,n=0;for(let r=0;r<e.length;r++){let i=e[r];if(i!==`"`&&i!==`'`){if(i===`[`)n++;else if(i===`]`)n>0&&n--;else if(n===0){if(i===`(`)t++;else if(i===`)`&&(t--,t<0))return!1}}else{for(r++;r<e.length;){if(e[r]===i){if(e[r+1]===i){r+=2;continue}break}r++}if(r>=e.length)return!1}}return t===0&&n===0},ye=class{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}},be=(e,t,n)=>{if(e[0].value[0]===e[1].value[0])return t},xe={colStart:0,colEnd:0,rowStart:0,rowEnd:0},Se=(e,t,r,a,o,s,c)=>{let l=!1,u=!1,d=[],f=!1,p=null,m=null,h=null,g=null,_=null,v=null,y=c?.get(`richData`)??i.CommonUtils.EmptyArray,b=c?.get(`dummyWrapped`)??null,x=i.AddressUtils.normalizeA1ToR1C1,ee=i.CoordUtils.createConflatingRanges(),S=new Map,C=[],w=!1,T=!1,E=null,D=!1,te=i.CoordUtils.createConflatingRanges(),O=!1,k=-1,A=-1,j=null,M=null,N=null,P=[],F=null,I=-2,L=0,R=``,z=``,B=``,V=``,H=``,U=``,W=``,ne=``,re=``,ie=``,ae=``,oe=``,se=``,G=``,K=!0,q=null,ce=!1,le=!1,J=null,Y=0;return{...r,onEnd:()=>{P.length>0&&(t.rows=i.AddressUtils.runsToRefs(P,!1));let a=ee.done(be),o=a.length;if(o>0){let e=new Set;for(let t=0;t<C.length;t++)e.add(C[t][0].split(`:`)[0]);let r=Array(o);for(let t=0;t<o;t++){let o=a[t],s=i.AddressUtils.rangeToString(o),c=o.value[1],l=i.AddressUtils.resolveRelativeToA1(c,o.rowStart,o.colStart);l&&!e.has(s.split(`:`)[0])&&ve(l)&&(l=`${n.M}(${l})`),r[t]=[s,l]}t.formulas=r}let s=te.done(!0),c=s.length;if(c>0){let e=Array(c);for(let t=0;t<c;t++){let n=s[t];e[t]=i.AddressUtils.rangeToString(n)}t.volatile=e}C.length>0&&(t.formulaArray=[...C]);let l=d.length;if(l>0){d.sort(i.CoordUtils.createRangeComparator(i.IRange.Axis.Column));let e=d[0],n=e.colStart,r=e.colEnd,a=e.rowEnd,o=e.value,s=[];s.push(e);let c=null;for(let t=1;t<l;t++)c=d[t],o!==c.value||n!==c.colStart||r!==c.colEnd||a+1!==c.rowEnd?(s.push(c),e=c,n=e.colStart,r=e.colEnd,a=e.rowEnd,o=e.value):(a=c.rowEnd,e.rowEnd=a);let u=s.length,f=Array(u);for(let e=0;e<u;e++){let t=s[e];f[e]=[i.AddressUtils.rangeToString(t),t.value]}t.directStyles=f}let u=e.build();u&&(t.data=u.tuples),r?.onEnd?.()},onOpenTag:e=>{let n=e.name,a=n.indexOf(`:`);if(a!==-1&&(n=n.slice(a+1)),Y++,Y%196608==0&&o?.(Y),M){let t=e.attributes;switch(n){case`v`:u=!0;break;case`f`:switch(f=!0,t.t??null){case null:case`normal`:break;case`shared`:let e=t.si;m=t.ref,p=e;break;case`array`:m=t.ref,E=m;break;case`datatable`:m=t.ref,f=!0}let e=t.ca;e!==void 0&&(D=e===`1`);break;case`is`:O=!0;return}O&&!f&&s?.onOpenTag?.(e);return}if(l){if(n===`c`){M=e;let t=e.attributes,n=t.r;A=i.AddressUtils.fastStringToCol(n);let r=t.t;r===void 0?N=null:(N=r,N===`str`&&(O=!0));let a=t.s;a===void 0&&(J!==null||le)&&(a=`0`),a!==void 0&&(a=parseInt(a),q&&q.value===a&&q.colEnd+1===A?q.colEnd=A:(q={colStart:A,rowStart:k,colEnd:A,rowEnd:k,value:a},d.push(q))),E=null,T=!1;let o=t.cm;w=o!==void 0&&(e=>{let t=c?.get(`metadata`)?.cells;if(!t)return!1;let n=parseInt(e,10);return!(!Number.isFinite(n)||n<1)&&!0===t[n-1]?.get(`XLDAPR`)?.fDynamic})(o);let s=t.vm;if(s!==void 0){let e=y[parseInt(s)-1];if(i.FormulaError.isError(e)){let t=e.getCode();j={t:`e`,v:t},w&&t===i.FormulaError.Code.Spill&&(T=!0)}}}}else{if(n===`row`){l=!0;let t=e.attributes.r;if(k=parseInt(t)-1,L=0,z=e.attributes.customHeight,z!==void 0&&(L|=ye.CustomHeight),z!==re&&(K=!0,re=z),R=e.attributes.ht,R!==void 0&&(L|=ye.Ht),R!==ne&&(K=!0,ne=R),B=e.attributes.hidden,B!==void 0&&(L|=ye.Hidden),B!==ie&&(K=!0,ie=B),H=e.attributes.s,H!==void 0&&(L|=ye.S),H!==oe&&(K=!0,oe=H),V=e.attributes.customFormat,V!==void 0&&(L|=ye.CustomFormat),V!==ae&&(K=!0,ae=V),U=e.attributes.outlineLevel,U!==void 0&&(L|=ye.OutlineLevel),U!==se&&(K=!0,se=U),W=e.attributes.collapsed,W!==void 0&&(L|=ye.Collapsed),W!==G&&(K=!0,G=W),L!==0)if(I+1!==k||K){let e=z!==void 0&&(z===`1`||z===`true`),t=V!==void 0&&(V===`1`||V===`true`);J=t&&H!==void 0?H:null,t&&J===null&&(J=`0`),F={min:k,max:k,value:{sz:R===void 0?-1:parseFloat(R),csz:e,h:B!==void 0&&(B===`1`||B===`true`),s:J===null?void 0:J===`0`?0:parseInt(J),l:U===void 0||U===`0`?0:parseInt(U),cl:W!==void 0&&(W===`1`||W===`true`)}},P.push(F)}else F.max=k;I=k,K=!1;return}if(!ce&&n===`sheetData`){ce=!0;let e=t.cols,n=e?e.length:0;for(let t=0;!le&&t<n;t++)e[t].v.s&&(le=!0)}r?.onOpenTag?.(e)}},onCloseTag:t=>{let n=t.name;if(!f||n!==`c`&&n!==`f`||(p&&(g=S.get(p)??null),g&&(ee.append(k,A,g),D&&te.append(k,A)),E!==null&&C.push([E,w?T?`dynamicSpillError`:`dynamic`:`static`]),f=!1,g=null,p=null,m=null,u=!1,D=!1,E=null,w=!1,T=!1),M){let r=n.indexOf(`:`);if(r!==-1&&(n=n.slice(r+1)),O)if(n===`is`||n===`v`){let t=s?.onEnd?.();t!=null&&e.pushAt(k,A,``+t)}else n!==`f`&&s?.onCloseTag?.(t);u&&=!1,n===`c`&&(M=null,O=!1);return}if(l)return l=!1,void(q=null);r?.onCloseTag?.(t)},onText:n=>{let o=n.trim();if(u){switch(j=null,N){case null:case`n`:j=parseFloat(o);break;case`b`:j=o===`1`||o===`true`;break;case`s`:j=o;break;case`e`:if(o===`#VALUE!`){let e=M.attributes.vm;if(e!==void 0){let t=y[parseInt(e)-1];if(i.FormulaError.isError(t)){j={t:`e`,v:t.getCode()};break}}}let e=i.FormulaError.getBuiltInByLabel(o);e?j={t:`e`,v:e.getCode()}:(j=o,a?.(`Unknown formula error '${o}' in cell ${i.AddressUtils.cellToString({colIndex:A,rowIndex:k})}`));break;case`str`:case`inlineStr`:O=!0}j!==null&&e.pushAt(k,A,j)}if(p){if(_===p)g=v;else{if(g=S.get(p)??null,!g){let e=[];h=x(o,k,A,e),g=[h,e,o],S.set(p,g)}_=p,v=g}p=null}if(f){if(b!==null){let e=(e=>{if(e.length<de.length||e.slice(0,de.length).toUpperCase()!==fe)return me;let t=ge(e,de.length);if(t===null||e.charCodeAt(t.end)!==41||e.charCodeAt(t.end+1)!==44||e.charCodeAt(e.length-1)!==41)return me;let n=t.value;return n.toUpperCase()===pe?he:n.length===0?me:{kind:`formula`,formula:n}})(o);e.kind!==`none`&&b.push({sheet:t,rowIndex:k,colIndex:A,formula:e.kind===`formula`?e.formula:null})}let e=[];h=x(o,k,A,e),g=[h,e,o]}O?s?.onText?.(n):l||r?.onText?.(o)}}},Ce=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)},we={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.macroEnabled.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.binary.macroEnabled.main":`workbooks`,"application/vnd.ms-excel.addin.macroEnabled.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":`sheets`,"application/vnd.ms-excel.worksheet":`sheets`,"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":`charts`,"application/vnd.ms-excel.chartsheet":`charts`,"application/vnd.ms-excel.macrosheet+xml":`macros`,"application/vnd.ms-excel.macrosheet":`macros`,"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":`dialogs`,"application/vnd.ms-excel.dialogsheet":`dialogs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":`strs`,"application/vnd.ms-excel.sharedStrings":`strs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":`styles`,"application/vnd.ms-excel.styles":`styles`,"application/vnd.openxmlformats-package.core-properties+xml":`coreprops`,"application/vnd.openxmlformats-officedocument.custom-properties+xml":`custprops`,"application/vnd.openxmlformats-officedocument.extended-properties+xml":`extprops`,"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":`comments`,"application/vnd.ms-excel.comments":`comments`,"application/vnd.ms-excel.threadedcomments+xml":`threadedcomments`,"application/vnd.ms-excel.person+xml":`people`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":`metadata`,"application/vnd.ms-excel.sheetMetadata":`metadata`,"application/vnd.ms-excel.externalLink":`links`,"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":`links`,"application/vnd.openxmlformats-officedocument.theme+xml":`themes`},Te=e=>e.startsWith(`/`)?e.slice(1):e,Ee=/^xl\/(worksheets|chartsheets)\/[^/]+\.xml$/i;exports.readXLSX=async(a,c)=>{let{password:l,onVBA:u,profile:d,createWorkbookOptions:f={},...p}=c??{},m=f.origin&&typeof f.origin!=`string`?f.origin:null,h=d?new s(typeof d==`function`?d:void 0):null,g=[],_=c?.progress,v=_?.onProgress?_.onProgress.bind(_):void 0,y=a.byteLength,b=0,x=0,ee=v?e=>{if(b<=0)return;x+=e;let t=Math.min(y,Math.round(x/b*y));v(t,y)}:void 0,S=Promise.resolve().then(()=>require("./sEmMmxaNBSY_o-Zb.cjs")),C=null;try{C=new DOMParser}catch{}let w=null;try{w=new XMLSerializer}catch{}let T,E,D,te=null;C||(te=Promise.resolve().then(()=>e.r(require("./CIpMN7SDVREKQUQE.cjs").default,1)));try{let[e,t]=await Promise.all([te,S]);T=new t.DOMTransformer,E=C??new e.DOMParser,D=w??new e.XMLSerializer}catch(e){throw Error(`Unable to load XLSX parser.`,{cause:e})}let O=e=>D.serializeToString(e),k;try{k=await o.create(a)}catch(e){throw new r.ExpectedError(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`,{cause:e})}h?.mark(`zip-open`);try{if(!k.has(`[Content_Types].xml`))throw new r.ExpectedError(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);let e=e=>{let t=k.getEntry(e);return t?{content:t}:void 0},a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],metadata:[],people:[],sst:``,style:``,defaults:{}};{let e=((e,t)=>({onOpenTag:t=>{let n=(e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)})(t.name),r=t.attributes;if(n===`Override`){let t=r.ContentType,n=r.PartName;if(!t||!n)return;let i=we[t],a=i?e[i]:void 0;Array.isArray(a)&&a.push(n)}else if(n===`Default`){let t=r.Extension,n=r.ContentType;t&&(e.defaults[t.toLowerCase()]=n)}},onEnd:()=>{e.sst=e.strs.length>0?e.strs[0]:``,e.style=e.styles.length>0?e.styles[0]:``},onError:e=>{t?.(`Error parsing content types: ${e?.message??e}`)}}))(a,e=>{g.push([e,`[Content_Types].xml`])}),t=await k.getTextStream(`[Content_Types].xml`);if(!t)throw Error(`Error parsing content types: '[Content_Types].xml'`);try{await K.parseStream(t,e,{xmlns:!1})}catch(e){throw Error(`Error parsing content types: '[Content_Types].xml'`,{cause:e})}m&&await k.getBuffer(`[Content_Types].xml`)}h?.mark(`content-types`);let o=a.sst,s=new Set;for(let e of a.sheets)s.add(Te(e));o&&s.add(Te(o));for(let e of s)b+=k.uncompressedSize(e);if(await k.prefetch(e=>!s.has(e)&&!Ee.test(e)),h?.mark(`prefetch-side-parts`),a.workbooks.length===0){let n=t.s(`_rels/.rels`,e,E,T);if(n){for(let e of n.values())if(e.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`&&e.target){a.workbooks.push(e.target);break}}}if(a.workbooks.length===0)throw new r.ExpectedError(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);a.richstructure=[`/xl/richData/rdrichvaluestructure.xml`],a.richdata=[`/xl/richData/rdrichvalue.xml`];let c=f?.resources??new i.ResourceCollection,l=c.beginPersist(),p={},x=new Set,S=new Map;S.set(`richTypes`,[]);let C=[];S.set(`dummyWrapped`,C);let w=t.u(`metadata`,a,e,E,T).entries().next()?.value?.[1]?.metadata;w&&S.set(`metadata`,w);let D=new Map,te=[],A=(n,r=D)=>{let i=n.lastIndexOf(`/`),a=n.substring(0,i+1)+`_rels/`+n.substring(i+1,n.length)+`.rels`,o=r.get(a);return o||(o=t.s(a,e,E,T,L),r.set(a,o)),o},j=(a,o,s,u=D)=>{let d=A(o,u).get(a),f=d?.target;if(!f)return null;if(d.targetMode===`External`){if(!s)return d.target;let e=c.add({source:{external:d.target}});return e.addReference(p),x.add(e),l.toResourceId(e)}let m=o.lastIndexOf(`/`),h=o.substring(0,m+1);f.startsWith(`/`)||(f=h+f),f=t.p(f);let _=T?.getVisitorParamsState().get(`dxfs`),v=u.get(f);if(!v)if(d.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`){let e={};v=e,te.push((async()=>{let a=((e,r,a,o,s,c,l,u)=>{let d=new ue,f=new i.Tuple.TransposedBuilder,p=null;d.registerVisitor({from:`autoFilter`,to:`autoTable`,openTag:e=>{let t=e.getAttribute(`ref`),n=i.AddressUtils.fastStringToRange(t);e.getSource().r=n,e.getSource().v={}},closeTag:e=>{let t=e.getSource(),n=t.v,r=n.hiddenButtons;if(Array.isArray(r)){let e=r.length,i=t.r,a=i.colEnd-i.colStart+1;e===0?n.hiddenButtons=!1:e===a&&(n.hiddenButtons=!0)}}}),d.registerVisitor({from:`conditionalFormatting`,to:{},openTag:e=>{let t=e.getParent();t.conditionals||=[];let n=e.getAttribute(`sqref`);n&&=n.trim().split(/\s+/).join(`,`);let r={r:n,conditionals:t.conditionals},i=e.getAttribute(`pivot`,X);i!==null&&(r.pivot=i),e.setSource(r)}}),d.registerVisitor({from:`cfRule`,to:{},openTag:e=>{let t=e.getParent();if(!t?.r)return;let n=e.getSource()??{};t.pivot!==void 0&&(n.pivot=t.pivot),t.conditionals.push({r:t.r,v:null,rule:n}),e.copyToObject(n,`type`,$),e.copyToObject(n,`priority`,Z),e.copyToObject(n,`stopIfTrue`,X);let r=e.getAttribute(`dxfId`,Z);if(r!==null){let t=o?.get(r);t||=(c?.(`Unable to load conditional color. Invalid dxfI: '${r}' at '${e.getPath()}'.`),{}),n.style=t}e.copyToObject(n,`aboveAverage`,X),e.copyToObject(n,`equalAverage`,X),e.copyToObject(n,`stdDev`,Z),e.copyToObject(n,`bottom`,X),e.copyToObject(n,`percent`,X),e.copyToObject(n,`rank`,Z),e.copyToObject(n,`operator`,$),e.copyToObject(n,`text`,$),e.copyToObject(n,`timePeriod`,$)},closeTag:e=>{let t=e.getParent();if(!t?.r)return;let r=t.conditionals[t.conditionals.length-1],i=r?.rule;if(!i)return;let a={},o=n._(i,c);o&&(a.condition=o),i.style&&(a.style=i.style),i.scale&&(a.scale=i.scale),i.stopIfTrue&&(a.stopIfTrue=!0),i.pivot&&(a.pivot=!0),r.v=a,r.priority=i.priority,i.x14Id&&(r.x14Id=i.x14Id),delete r.rule}});let m=e=>{let t=e.conditions??[],n=[];for(let e=0;e<t.length;e++){let r=t[e],i={};r.type&&(i.type=r.type),r.value!==void 0&&(i.value=r.value),r.exclusive&&(i.exclusive=!0),n.push(i)}return n};d.registerVisitor({from:`colorScale`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),n=t.colors??[],r=m(t);for(let e=0;e<r.length;e++)r[e].color=n[e];e.getParent().scale={type:i.IConditionalFormat.ScaleType.ColorScale,stops:r}}}),d.registerVisitor({from:`dataBar`,to:{},openTag:e=>{e.copyTo(`maxLength`,Z),e.copyTo(`minLength`,Z),e.copyTo(`showValue`,X)},closeTag:e=>{let t=e.getSource(),n={type:i.IConditionalFormat.ScaleType.DataBar,stops:m(t)},r=t.colors?.[0];r&&(n.color=r),t.minLength!==void 0&&(n.minLength=t.minLength),t.maxLength!==void 0&&(n.maxLength=t.maxLength),t.showValue!==void 0&&(n.showValue=t.showValue),e.getParent().scale=n}}),d.registerVisitor({from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`reverse`,X),e.copyTo(`showValue`,X)},closeTag:e=>{let t=e.getSource(),n={type:i.IConditionalFormat.ScaleType.IconSet,stops:m(t)};t.iconSet!==void 0&&(n.iconSet=t.iconSet),t.reverse!==void 0&&(n.reverse=t.reverse),t.showValue!==void 0&&(n.showValue=t.showValue),e.getParent().scale=n}}),d.registerVisitor({from:`formula`,to:{},text:(e,t)=>{let n=t.getParent(),r=n.formulas;r||(r=[],n.formulas=r),r.push(e)}}),d.registerVisitor({from:`cfvo`,to:{},openTag:e=>{let t=e.getParent();t.conditions||=[];let n=e.getSource();t.conditions.push(n),e.copyTo(`type`,$),n.type===i.IConditionalFormat.ColorStopType.Formula?e.copyTo(`value`,$,`val`):e.copyTo(`value`,Q,`val`),!1===e.getAttribute(`gte`,X)&&(n.exclusive=!0)}}),d.registerVisitor({from:`color`,to:{},openTag:e=>{let n=e.getParent();n.colors||=[];let r=t.d(t=>e.getAttribute(t));n.colors.push(r)}}),d.registerVisitor({from:`filterColumn`,to:{},openTag:e=>{let t=e.getParent().v,n=parseInt(e.getAttribute(`colId`)),r=e.getSource();r.index=n;let i=t.filter;i||(i={conditions:[]},t.filter=i);let a=i.conditions;if(a||(a=[],i.conditions=a),a.push(r),e.getAttribute(`hiddenButton`,X)&&t){let e=t.hiddenButtons;e||(e=[],t.hiddenButtons=e),e.push(n)}if(e.getAttribute(`showButton`,X)&&t){let e=t.showButtons;e||(e=[],t.showButtons=e),e.push(n)}return r}}),d.registerVisitor({from:`colorFilter`,openTag:e=>{let t=e.getParent(),n={};t.operator=i.ICondition.BuiltInOperatorNames.Color,t.param=n,e.copyToObject(n,`cellColor`),e.copyToObject(n,`styleId`,Z,`dxfId`)}}),d.registerVisitor({from:`iconFilter`,openTag:e=>{let t=e.getParent(),n={};t.operator=i.ICondition.BuiltInOperatorNames.Icon,t.param=n,e.copyToObject(n,`iconId`,Z),e.copyToObject(n,`iconSet`,$)}}),d.registerVisitor({from:`top10`,openTag:e=>{let t=e.getParent(),n={};t.operator=i.ICondition.BuiltInOperatorNames.TopN,t.param=n,e.copyToObject(n,`filterVal`,Q),e.copyToObject(n,`percent`,X),e.copyToObject(n,`top`,X),e.copyToObject(n,`limit`,Q,`val`)}}),d.registerVisitor({from:`dynamicFilter`,openTag:e=>{let t=e.getParent(),n={};t.operator=i.ICondition.BuiltInOperatorNames.TimePeriod,t.param=n;let r=e.getAttribute(`type`);Object.values(i.ICondition.AverageType).includes(r)?(t.operator=i.ICondition.BuiltInOperatorNames.Average,e.copyToObject(n,`stdDevs`,Z,`val`)):e.copyToObject(n,`anchorDate`,Z,`val`),e.copyToObject(n,`operator`,$,`type`),e.copyToObject(n,`maxVal`,Q,`maxVal`)}}),d.registerVisitor({from:`filters`,to:{},openTag:e=>{let t=e.getParent(),n={};return t.operator=i.ICondition.BuiltInOperatorNames.InSet,t.param=n,e.copyToObject(n,`blank`,X),e.copyToObject(n,`calendarType`,$),n}}),d.registerVisitor({from:`filter`,openTag:e=>{let t=e.getParent(),n=t.items;n||(n=[],t.items=n),n.push(e.getAttribute(`val`,$))}}),d.registerVisitor({from:`dateGroupItem`,to:{},openTag:e=>{let t=e.getParent(),n=t.dateGroups;n||(n=[],t.dateGroups=n),n.push(e.getSource()),e.copyTo(`group`,$,`dateTimeGrouping`),e.copyTo(`day`,Z),e.copyTo(`hour`,Z),e.copyTo(`minute`,Z),e.copyTo(`month`,Z),e.copyTo(`second`,Z),e.copyTo(`year`,Z)}}),d.registerVisitor({from:`customFilters`,openTag:e=>{let t=e.getParent(),n=e.getAttribute(`and`),r=n===`and`||n===`1`;e.getAttribute(`val`);let a=[];return t.operator=r?i.ICondition.BuiltInOperatorNames.And:i.ICondition.BuiltInOperatorNames.Or,t.param={conditions:a},e.setSource(t),a},closeTag:e=>{e.getSource().param.conditions.length}}),d.registerVisitor({from:`customFilter`,openTag:e=>{let t=e.getParent(),n;Array.isArray(t)?(n={},t.push(n)):n=t,e.copyToObject(n,`operator`),e.copyToObject(n,`param`,$,`val`)}}),d.registerVisitor({from:`sortState`,to:{},openTag:e=>{let t=e.getParent(),n=t.v;n&&(n.sort={},e.setSource(t))}}),d.registerVisitor({from:`sortCondition`,to:{},openTag:e=>{let t=e.getParent(),n=t.v;if(!n)return;let r=n.sort;if(!r)return;let a=r.sorts;a||(a=[],r.sorts=a);let o=e.getAttribute(`ref`),s=0;if(o){let e=i.AddressUtils.fastStringToRange(o,xe).colStart,n=t.r,r=n.colStart;s=n?e-r:e}let c={};e.copyToObject(c,`sortOn`,$,`sortBy`),e.copyToObject(c,`dxfId`,$,`sortBy`),e.copyToObject(c,`iconSet`,$),e.copyToObject(c,`customList`,$),c.reverse=e.getAttribute(`descending`,X)??!1;let l={index:s,criteria:c};a.push(l)}}),d.registerVisitor({from:`AlternateContent`,to:null});let h=e=>{p=e.getSource(),e.copyTo(`topLeft`,$,`topLeftCell`);let n=t.r(e.getAttribute(`defaultGridColor`)),r=e.getAttribute(`colorId`);r===null||n||(e.getSource().gridLineColor=`index`+parseFloat(r)),e.copyTo(`showZeros`,X),e.copyTo(`showFormulas`,X),e.copyTo(`zoomScale`,Z),e.copyTo(`showRowHeaders`,X,`showRowColHeaders`),e.copyTo(`showColumnHeaders`,X,`showRowColHeaders`),e.copyTo(`showRowGridlines`,X,`showGridLines`),e.copyTo(`showColumnGridlines`,X,`showGridLines`),e.copyTo(`rightToLeft`,X)};d.registerVisitor({from:`sheetView`,to:`view`,openTag:e=>{h(e)},closeTag:()=>{p=null}}),d.registerVisitor({from:`customSheetViews`,to:`customSheetViews`,openTag:e=>{e.setSource([])}}),d.registerVisitor({from:`customSheetView`,to:[],openTag:e=>{h(e)},closeTag:()=>{p=null}}),d.registerVisitor({from:`selection`,to:`selection`,openTag:e=>{if(!p)return;e.copyTo(`cell`,$,`activeCell`),e.copyTo(`rangeIndex`,Z,`activeCellId`);let t=e.getAttribute(`activeCell`),n=e.getAttribute(`sqref`);n&&n!==t&&(e.getSource().ranges=n.trim().split(/\s+/))}}),d.registerVisitor({from:`pane`,to:null,openTag:e=>{if(p&&e.getAttribute(`state`)===`frozen`){let t={};p.freezePanes=t,e.copyToObject(t,`topLeft`,$,`topLeftCell`);let n=(p.topLeft?i.AddressUtils.fastStringToCell(p.topLeft):void 0)??{colIndex:0,rowIndex:0},r={colIndex:0,rowIndex:0};e.copyToObject(r,`colIndex`,Z,`xSplit`),e.copyToObject(r,`rowIndex`,Z,`ySplit`);let a={colIndex:n.colIndex+r.colIndex,rowIndex:n.rowIndex+r.rowIndex};t.coords=i.AddressUtils.cellToString(a)}}}),d.registerVisitor({from:`tabColor`,to:null,openTag:n=>{let r=t.d(e=>n.getAttribute(e));r&&(e.tabColor=r)}}),d.registerVisitor({from:`pageSetUpPr`,to:`pageSetUpPr`,openTag:e=>{}}),d.registerVisitor({from:`outlinePr`,to:`outlinePr`,openTag:e=>{}}),d.registerVisitor({from:`pageMargins`,to:`pageMargins`,openTag:e=>{e.copyTo(`bottom`,Q),e.copyTo(`footer`,Q),e.copyTo(`header`,Q),e.copyTo(`left`,Q),e.copyTo(`right`,Q),e.copyTo(`top`,Q),e.copyTo(`bottom`,Q)}}),d.registerVisitor({from:`pageSetup`,to:`pageSetup`,openTag:e=>{e.copyTo(`blackAndWhite`,X),e.copyTo(`cellComments`),e.copyTo(`copies`,Z),e.copyTo(`draft`,X),e.copyTo(`errors`),e.copyTo(`firstPageNumber`,Z),e.copyTo(`fitToHeight`,Z),e.copyTo(`fitToWidth`,Z),e.copyTo(`horizontalDpi`,Z),e.copyTo(`orientation`),e.copyTo(`pageOrder`),e.copyTo(`paperSize`,Z),e.copyTo(`scale`,Z),e.copyTo(`useFirstPageNumber`,X),e.copyTo(`usePrinterDefaults`,X),e.copyTo(`verticalDpi`,Z)}}),d.registerVisitor({from:`printOptions`,to:`printOptions`,openTag:e=>{e.copyTo(`gridLines`,X),e.copyTo(`gridLinesSet`,X),e.copyTo(`headings`,X),e.copyTo(`horizontalCentered`,X),e.copyTo(`verticalCentered`,X)}}),d.registerVisitor({from:`headerFoot`,to:`headerFoot`,openTag:e=>{}}),d.registerVisitor({from:`mergeCells`,to:`merges`,openTag:e=>{e.setSource([])}}),d.registerVisitor({from:`dataValidations`,to:`validations`,openTag:e=>{e.setSource([])}});let g={from:`dataValidation`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n,rule:{type:e.getAttribute(`type`)??void 0,operator:e.getAttribute(`operator`)??void 0}};!0===e.getAttribute(`showDropDown`,X)&&(n.hideDropdown=!0),e.copyToObject(n,`alert`,$,`error`),e.copyToObject(n,`alertTitle`,$,`errorTitle`),e.copyToObject(n,`showAlertMessage`,X,`showErrorMessage`),n.alertStyle=e.getAttribute(`errorStyle`)??`stop`,e.copyToObject(n,`imeMode`),e.copyToObject(n,`prompt`),e.copyToObject(n,`promptTitle`),e.copyToObject(n,`showPromptMessage`,X,`showInputMessage`),e.setSource(r)},closeTag:e=>{let t=e.getSource();if(!t?.rule)return;let r=n.h(t.rule,c);r&&(e.getAttribute(`allowBlank`,X)&&(r.includeBlanks=!0),t.v.condition=r),delete t.rule}};d.registerVisitor(g),d.registerVisitor({from:`formula1`,to:{},text:(e,t)=>{let r=t.getParent().rule;r?.type&&(r.formula1=n.p(e,r.type))}}),d.registerVisitor({from:`formula2`,to:{},text:(e,t)=>{let r=t.getParent().rule;r?.type&&(r.formula2=n.p(e,r.type))}}),d.registerVisitor({from:`picture`,to:`picture`,openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return void console.warn(`no rId found for picture`,e.getPath());let n=r(t,!0);e.getSource().resId=n}});let _={from:`slicer`,to:{},openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return void console.warn(`no rId found for picture`,e.getPath());let n=r(t)?.slicers,i=e.getParent();i.slicers||={};let a=Object.keys(n);for(let e of a)i.slicers[e]=n[e]}};d.registerVisitor(_);let v=(e,t)=>({from:e,to:{},openTag:e=>{e.setSource(``)},text:(e,t)=>{t.setSource((t.getSource()??``)+e)},closeTag:e=>{t(String(e.getSource()??``),e)}}),y=new Map;y.set(`dataValidations`,{from:`dataValidations`,to:`validations`,openTag:e=>{let t=e.getParent();e.setSource(t.validations??[])},closeTag:e=>{(e.getSource()?.length??0)===0&&e.setSource(void 0)}}),y.set(`dataValidation`,{...g,closeTag:e=>{g.closeTag(e);let t=e.getSource();t&&!t.r&&(e.warn(`x14 dataValidation with no xm:sqref was dropped.`),e.setSource(void 0))}});let b=e=>({from:e,to:{},openTag:t=>{t.setSource({rule:t.getParent()?.rule,key:e})}});y.set(`formula1`,b(`formula1`)),y.set(`formula2`,b(`formula2`)),y.set(`f`,v(`f`,(e,t)=>{let r=t.getParent(),i=r?.rule;i&&(i[r.key]=n.p(e,i.type))})),y.set(`sqref`,v(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.r=r.split(/\s+/).join(`,`))}));let x=new Map,ee=[],S=new Map;S.set(`conditionalFormattings`,{from:`conditionalFormattings`,transparent:!0}),S.set(`conditionalFormatting`,{from:`conditionalFormatting`,to:{},openTag:e=>{e.setSource({rules:[]})},closeTag:e=>{let t=e.getSource(),n=t?.rules??[];for(let e=0;e<n.length;e++){let r=n[e];r.sqref=t.sqref,r.id?x.set(r.id,r):ee.push(r)}}}),S.set(`cfRule`,{from:`cfRule`,to:{},openTag:e=>{e.copyTo(`id`,$),e.copyTo(`type`,$),e.copyTo(`priority`,Z)},closeTag:e=>{let t=e.getSource();t&&e.getParent()?.rules?.push(t)}}),S.set(`sqref`,v(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.sqref=r)})),S.set(`dataBar`,{from:`dataBar`,to:{},openTag:e=>{e.copyTo(`minLength`,Z),e.copyTo(`maxLength`,Z),e.copyTo(`gradient`,X),e.copyTo(`border`,X),e.copyTo(`direction`,$),e.copyTo(`axisPosition`,$),e.copyTo(`negativeBarColorSameAsPositive`,X),e.copyTo(`negativeBarBorderColorSameAsPositive`,X)},closeTag:e=>{e.getParent().dataBar=e.getSource()}}),S.set(`iconSet`,{from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`custom`,X),e.copyTo(`reverse`,X),e.copyTo(`showValue`,X)},closeTag:e=>{e.getParent().iconSet=e.getSource()}}),S.set(`cfvo`,{from:`cfvo`,to:{},openTag:e=>{let t=e.getParent();t.conditions||=[];let n=e.getSource();t.conditions.push(n),e.copyTo(`type`,$),!1===e.getAttribute(`gte`,X)&&(n.exclusive=!0)}}),S.set(`f`,v(`f`,(e,t)=>{let n=t.getParent();if(!n)return;let r=e.trim(),i=Number(r);n.value=r.length>0&&Number.isFinite(i)?i:e}));let C=e=>({from:e,to:{},openTag:n=>{let r=t.d(e=>n.getAttribute(e));r&&(n.getParent()[e]=r)}});S.set(`borderColor`,C(`borderColor`)),S.set(`negativeFillColor`,C(`negativeFillColor`)),S.set(`negativeBorderColor`,C(`negativeBorderColor`)),S.set(`axisColor`,C(`axisColor`)),S.set(`cfIcon`,{from:`cfIcon`,to:{},openTag:e=>{let t=e.getAttribute(`iconSet`),n=e.getAttribute(`iconId`,Z);if(t===null||n===null)return;let r=e.getParent();r.icons||=[],r.icons.push({set:t,id:n})}});let w=new Map;w.set(`id`,v(`id`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.x14Id=r)}));let T=new Map;T.set(`slicerList`,{from:`slicerList`,transparent:!0}),T.set(`slicer`,_);let E=new Map([[n.f(n.i),y],[n.f(n.n),S],[n.f(n.r),S],[n.f(n.t),w],[n.f(n.a),T],[n.f(n.o),T]]),D=new Set;d.registerVisitor({from:`extLst`,transparent:!0}),d.registerVisitor({from:`ext`,transparent:!0,scope:e=>{let t=e.getAttribute(`uri`),r=n.f(t),i=E.get(r);if(i)return i;if(!n.l.has(r)&&!D.has(r)){D.add(r);let i=n.u[r];e.warn(i?`Extension content '${i}' (${t}) is not read; it will be lost on resave.`:`Unknown extension content (uri ${t}) is not read; it will be lost on resave.`)}return null}}),d.registerVisitor({from:`mergeCell`,to:[],openTag:e=>{let t=e.getAttribute(`ref`);e.setSource(t)}}),d.registerVisitor({from:`hyperlinks`,to:`hyperlinks`,openTag:e=>{e.setSource([])}}),d.registerVisitor({from:`hyperlink`,to:[],openTag:e=>{let t=e.getAttribute(`r:id`),n=e.getAttribute(`ref`);if(!n)return void console.warn(`No ref found for hyperlink`);e.setKey(n);let i=t?r(t):``;if(typeof i!=`string`)return void console.warn(`Invalid address `,i);i.endsWith(`\\`)&&(i=i.substring(0,i.length-1));let a=e.getAttribute(`location`);if(a&&(i+=`#`+a),!i)return void console.warn(`No address found for hyperlink. r:id`,t);let o,s=e.getAttribute(`tooltip`);o=s?{address:i,screenTip:s}:i,e.setSource({r:n,v:o})}}),d.registerVisitor({from:`drawing`,to:`movables`,openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return;let n=r(t);n?e.setSource(n.movables):console.warn(`no drawing found for rId`,t)}}),d.registerVisitor({from:`tableParts`,to:`tables`,openTag:e=>{e.setSource([])}}),d.registerVisitor({from:`tablePart`,to:[],openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return;let n=r(t);n?e.setSource(n):console.warn(`no table found for rId`,t)}});let te=(e,t)=>{t.conditions?.length&&(e.stops=m(t)),t.minLength!==void 0&&(e.minLength=t.minLength),t.maxLength!==void 0&&(e.maxLength=t.maxLength),(t.gradient??1)&&(e.gradient=!0),t.border&&t.borderColor&&(e.borderColor=t.borderColor),!t.negativeBarColorSameAsPositive&&t.negativeFillColor&&(e.negativeFillColor=t.negativeFillColor),!(t.negativeBarBorderColorSameAsPositive??1)&&t.negativeBorderColor&&(e.negativeBorderColor=t.negativeBorderColor),t.axisColor&&(e.axisColor=t.axisColor),t.axisPosition!==`middle`&&t.axisPosition!==`none`||(e.axisPosition=t.axisPosition),t.direction!==`leftToRight`&&t.direction!==`rightToLeft`||(e.direction=t.direction)},O=(e,t)=>{t.conditions?.length&&(e.stops=m(t)),t.iconSet&&t.iconSet!==e.iconSet&&(e.iconSet=t.iconSet),t.icons?.length&&(e.icon=t.icons),t.reverse!==void 0&&(e.reverse=t.reverse),t.showValue!==void 0&&(e.showValue=t.showValue)},k=e=>{if(e.type!==`iconSet`||!e.iconSet||!e.sqref)return null;let t={type:i.IConditionalFormat.ScaleType.IconSet,stops:[]};return O(t,e.iconSet),{r:e.sqref.split(/\s+/).join(`,`),v:{scale:t},priority:e.priority}};d.registerVisitor({from:`worksheet`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),n=t?.conditionals;if(n)for(let e=0;e<n.length;e++){let t=n[e],r=t.x14Id;if(!r)continue;delete t.x14Id;let a=x.get(r);if(!a)continue;x.delete(r);let o=t.v?.scale;a.dataBar&&o?.type===i.IConditionalFormat.ScaleType.DataBar?te(o,a.dataBar):a.iconSet&&o?.type===i.IConditionalFormat.ScaleType.IconSet&&O(o,a.iconSet)}let r=[...x.values(),...ee];for(let e=0;e<r.length;e++){let i=k(r[e]);i?(n||(n=[],t.conditionals=n),n.push(i)):c?.(`x14-only conditional formatting rule (type '${r[e].type??`unknown`}') is not read and will be lost on resave.`)}if(n){n.length>1&&n.sort((e,t)=>(e.priority??1/0)-(t.priority??1/0));for(let e=0;e<n.length;e++)delete n[e].priority}}}),d.registerVisitor({from:`customProperties`,to:`customProperties`,openTag:e=>{e.setSource([])},closeTag:e=>{let t=e.getSource();t.length>0&&(e.getParent().customProperties=t)}}),d.registerVisitor({from:`customPr`,to:{},openTag:e=>{let t=e.getParent();e.copyTo(`name`);let n=e.getAttribute(`r:id`);if(!n)return void console.warn(`no rId found for customProperties`,e.getPath());let i=r(n,!0),a=e.getSource();a.resId=i,t.push(a)}}),d.registerVisitor({from:`sheetProtection`,to:`protection`,openTag:e=>{let t=!1;if(e.hasAttribute(`sheet`)&&X(e.getAttribute(`sheet`))&&(t=!0),!t)return void e.setSource(void 0);let n=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null;e.copyTo(`autoTable`,n),e.copyTo(`deleteColumns`,n),e.copyTo(`formatCells`,n),e.copyTo(`formatColumns`,n),e.copyTo(`formatRows`,n),e.copyTo(`insertColumns`,n),e.copyTo(`insertHyperlinks`,n),e.copyTo(`insertRows`,n),e.copyTo(`objects`,n),e.copyTo(`pivotTables`,n),e.copyTo(`scenarios`,n),e.copyTo(`selectLockedCells`,n),e.copyTo(`selectUnlockedCells`,n),e.copyTo(`sort`,n);let r={};e.copyToObject(r,`hash`,$,`hashValue`),e.copyToObject(r,`algorithm`,$,`algorithmName`),e.copyToObject(r,`salt`,$,`saltValue`),e.copyToObject(r,`spinCount`,Z),Object.keys(r).length>0&&(e.getSource().password=r)}}),d.registerVisitor({from:`protectedRanges`,to:`protectedRanges`,openTag:e=>{e.setSource([])}}),d.registerVisitor({from:`protectedRange`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n};e.copyToObject(n,`name`),e.copyToObject(n,`securityDescriptor`);let i={};e.copyToObject(i,`hash`,$,`hashValue`),e.copyToObject(i,`algorithm`,$,`algorithmName`),e.copyToObject(i,`salt`,$,`saltValue`),e.copyToObject(i,`spinCount`,Z),Object.keys(i).length>0&&(n.password=i),e.setSource(r)},closeTag:e=>{let t=e.getSource();t?.r&&t.v.name||e.setSource(void 0)}}),d.registerVisitor({from:`sheetFormatPr`,to:`sheetFormatPr`,openTag:t=>{t.copyToObject(e,`defaultColSize`,Q,`defaultColWidth`),t.copyToObject(e,`outlineLevelCol`,Z,`outlineLevelCol`);let n=t.getAttribute(`customHeight`);n!==`1`&&n!==`true`||t.copyToObject(e,`defaultRowSize`,Q,`defaultRowHeight`),t.copyToObject(e,`outlineLevelRow`,Z,`outlineLevelRow`)}}),d.registerVisitor({from:`cols`,to:`cols`,openTag:e=>{e.setSource([])}}),d.registerVisitor({from:`col`,to:[],openTag:e=>{let t=e.getSource(),n=e.getAttribute(`min`),r=e.getAttribute(`max`),a=n===void 0?0:parseInt(n)-1,o=r===void 0?a:parseInt(r)-1;t.r=i.AddressUtils.runToString(a,o,!0);let s={};t.v=s,e.copyToObject(s,`sz`,Q,`width`),e.copyToObject(s,`csz`,X,`customWidth`),e.copyToObject(s,`h`,X,`hidden`),e.copyToObject(s,`l`,Z,`outlineLevel`),e.copyToObject(s,`s`,Z,`style`)}}),d.registerVisitor({from:`oleObjects`,to:null,openTag:e=>{e.warn(`'OLE Objects' are not supported.`)}});let A=!1,j=!1,M=0,N=``,P=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)};return Se(f,e,d.createEventHandler(e,s,c),c,l,{onOpenTag:e=>{A=!0;let t=P(e.name);t===`t`||t===`v`?M===0&&(j=!0):t!==`rPh`&&t!==`phoneticPr`||M++},onText:e=>{j&&(N+=e)},onCloseTag:e=>{let t=P(e.name);t===`t`||t===`v`?j=!1:t!==`rPh`&&t!==`phoneticPr`||M>0&&M--},onEnd:()=>{if(!A)return;let e=a(n.b(N));return A=!1,j=!1,M=0,N=``,e},onError:e=>{}},u)})(e,(e,t=!1)=>j(e,f,t)??null,H,_,()=>{},(e,t)=>{let n=t?`${t} (${f})`:f;g.push([e,n])},void 0,S),o=await k.getTextStream(f,ee);if(o)try{await K.parseStream(o,a,{xmlns:!1})}catch(e){throw console.warn(`Error parsing sheet: '${f}'`,e),Error(`Error parsing sheet: '${f}'`,{cause:e})}let s=A(f,u),c,l=new Map;if(s){let n;if(s.forEach((e,t)=>{e.type===`http://schemas.microsoft.com/office/2017/10/relationships/threadedComment`&&(c=j(t,f,!1,u)?.comments,c&&c.forEach(e=>{let t=e.v;l.set(t.id,e)}))}),s.forEach((e,t)=>{e.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`&&(n=j(t,f,!1,u))}),n||c){let i=c??[],a=n?.authors,o=n?.comments,s=o?o.length:0;if(o)for(let e=0;e<s;e++){let n=o[e];if(!n)continue;let s=n.v,c=a&&s.personId!==void 0?a[s.personId]:s.personId;if(c&&c.startsWith(`tc=`)&&(c=t.f(c.substring(3)),l.has(c)))continue;let u=I({displayName:c}),d={id:r.CommonUtils.uuidV4(),personId:u.id,done:!1,asNote:!0,content:s.content};i.push({r:n.r,v:d})}e.comments=i}}})())}else if(d.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`){let n=t.l(f,e,E,T,L);if(n&&Object.keys(n).length!==0){let e=n,t=[];A(f,u)?.forEach(e=>{e.targetMode===`External`&&e.type&&e.target&&t.push({type:e.type,target:e.target})}),e.identity=t,v=e}else v=null}else v=s?t.c(f,e,(e,t)=>{let n=c.add({source:{buffer:e}});return n.addReference(p),x.add(n),l.toResourceId(n)},L):t.l(f,e,E,T,L);return v};t.u(`coreprops`,a,e,E,T),t.u(`extprops`,a,e,E,T);let M=new Map,N=new Map,P=t.u(`people`,a,e,E,T),F=null;if(P.size>0&&(F=P.entries().next()?.value?.[1]?.persons,F)){let e=F.length;for(let t=0;t<e;t++){let e=F[t];M.set(e.id,e),e.displayName!==void 0&&N.set(e.displayName,e)}}let I=e=>{if(!e)return;if(e.id&&M.has(e.id))return M.get(e.id);let t=e.displayName;if(!e.id){if(t){let e=N.get(t);if(e)return e}e.id=r.CommonUtils.uuidV4()}let n=M.get(e.id);if(n)return n;let i=e;return M.set(e.id,i),t&&N.set(t,i),F||=[],F.push(i),i},L={paramMap:S,getRefs:A,getRef:j,parsedRefs:D,addPerson:I,serializeElement:O},R=[];if(o){let e=await k.getTextStream(o,ee);if(e){let t=((e,t)=>{let r=!1,i=!1,a=0,o=``;return{onOpenTag:e=>{let t=Ce(e.name);t===`t`?r&&a===0&&(i=!0):t===`si`?(r=!0,o=``,a=0):t!==`rPh`&&t!==`phoneticPr`||a++},onText:e=>{i&&(o+=e)},onCloseTag:t=>{let s=Ce(t.name);s===`t`?i=!1:s===`si`?(e(n.b(o)),r=!1,o=``):s!==`rPh`&&s!==`phoneticPr`||a>0&&a--},onError:e=>{t?.(`Error parsing shared strings: ${e?.message??e}`)}}})(e=>{R.push(e)},e=>{g.push([e,o])});try{await K.parseStream(e,t,{xmlns:!1})}catch(e){throw console.warn(`Error parsing shared strings: '${o}'`,e),Error(`Error parsing shared strings: '${o}'`,{cause:e})}}}h?.mark(`shared-strings`);let z=R.length,B=new Map,V=z,H=e=>{let t=B.get(e);if(t!==void 0)return t;let n=V;return B.set(e,V++),R.push(e),n},U=[];a.slicersCache=U;let W=k.getNames(),ne=W.length;for(let e=0;e<ne;e++){let t=W[e];t&&t.startsWith(`xl/slicerCache`)&&U.push(`/${t}`)}let re=t.u(`slicersCache`,a,e,E,T,L),ie=new Map;re.forEach(e=>{let t=e.name;delete e.name,ie.set(t,e)}),S.set(`slicerCaches`,ie),t.u(`richstructure`,a,e,E,T,L),t.u(`richdata`,a,e,E,T,L);let ae=t.u(`themes`,a,e,E,T,L),oe=null;if(ae&&ae.entries){let e=ae.entries().next();e?.value?.[1]&&(oe=e.value[1])}let se=new i.Theme(oe),G=t.u(`styles`,a,e,E,T,L).entries().next()?.value?.[1];G&&=JSON.parse(r.BufferUtils.JSONStableStringify(G));let q=t.u(`workbooks`,a,e,E,T,L);h?.mark(`side-parts-json`),await Promise.all(te),v&&b>0&&(v(y,y),await new Promise(e=>setTimeout(e,0))),h?.mark(`sheets`);let ce={...q.entries().next().value?.[1],styles:G,theme:se.toJSON()};if(R.length>0&&(ce.strings=R),F&&F.length>0&&(ce.people=F),u){let e=k.getEntry(`xl/vbaProject.bin`);if(e)try{let{VBAProject:t}=await Promise.resolve().then(()=>require("./D5Y4KQhKdukOkjvA.cjs")),n=t.extract(e);n?(u?.(n),ce.vba=n):g.push([`Unable to parse VBA project.`,`xl/vbaProject.bin`])}catch(e){g.push([`Error extracting VBA: ${e?.message??e}`,`xl/vbaProject.bin`])}}let le=null,J={...f,resources:c,json:ce,formulaTransform:n.P(()=>le?.getCalculation())};J.disableLoadAutoFit===void 0&&(J.disableLoadAutoFit=!1),h?.mark(`json-assembled`);let Y=new i.Workbook(J);if(le=Y,h?.mark(`workbook-constructed`),C.length>0){await Y.whenCalculationReady();let e=new Map,t=ce.sheets??[],n=Y.getSheets().getItems();for(let r=0;r<t.length;r++){let i=t[r]?.sheet,a=n[r];i&&a&&e.set(i,a)}((e,t,n)=>{if(t.length===0)return;let r=e.getCalculation().getFunctions(),i=new Map,a=e=>{let t=i.get(e);return t===void 0&&(t=r.getByName(e)!==null,i.set(e,t)),t},o=new Map;for(let e of t){let t=o.get(e.sheet);t||(t=[],o.set(e.sheet,t)),t.push(e)}for(let[e,t]of o){let r=n.get(e);if(!r)continue;let i=(e,t)=>`${e},${t}`,o=new Set;for(let e of t)e.formula===null&&o.add(i(e.rowIndex,e.colIndex));for(let e of t){if(e.formula===null)continue;let t=_e(e.formula),n=!0;for(let e of t)if(!a(e)){n=!1;break}if(!n)continue;let s=[],c=[[e.rowIndex,e.colIndex]],l=new Set([i(e.rowIndex,e.colIndex)]);for(;c.length>0;){let[e,t]=c.pop(),n=[[e+1,t],[e-1,t],[e,t+1],[e,t-1]];for(let[e,t]of n){let n=i(e,t);!l.has(n)&&o.has(n)&&(l.add(n),s.push([e,t]),c.push([e,t]))}}for(let[e,t]of s)o.delete(i(e,t)),r.getRange({rowStart:e,colStart:t,rowEnd:e,colEnd:t}).clear();r.getRange({rowStart:e.rowIndex,colStart:e.colIndex,rowEnd:e.rowIndex,colEnd:e.colIndex}).setValue(`=`+e.formula)}}})(Y,C,e)}if(x.forEach(e=>{e.deleteReference(p)}),l.endPersist(),m){n.A(m);let e=new Map,t=0;for(let n of k.getNames()){let r=k.getEntry(n);if(!r)continue;let i=k.getRawEntry(n),a=i?{data:r,uncompressedSize:k.uncompressedSize(n),raw:{compressedData:i.data,compressionMethod:i.compressionMethod,signature:i.signature}}:{data:r,uncompressedSize:k.uncompressedSize(n)};e.set(n,a),t+=r.byteLength}if(t>67108864)g.push([`Source package too large to retain (${t} bytes, limit ${n.D}); unmodeled parts will be dropped on save.`,`SourcePackage`]);else if(e.size>0){let t=new n.O(e);n.j(m,t);let r=Y.getSheets().getItems(),i=Y.getTransactions().addListener({onCommitEnd:e=>{let n=e.getOperation()?.name;n!==`insertCells`&&n!==`deleteCells`||t.markStructuralChange()}}),a=Y.addListeners({onSheetsChange:()=>{let e=Y.getSheets().getItems();(e.length!==r.length||e.some((e,t)=>e!==r[t]))&&t.markStructuralChange(),r=e}});Y.addListeners({onClose:()=>{i(),a(),n.A(m)}})}}if(g.length&&_?.onWarning)for(let e of g){let[t,n]=e;_.onWarning(t,n)}return h&&!0===d&&console.table(h.toTable()),Y}catch(e){let t=`Unable to parse XLSX.`;throw e instanceof i.OutOfBoundsError&&(t=`Unable to open XLSX. There are too many rows or columns.`),Error(t,{cause:e})}finally{await k.close().catch(()=>{})}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./xQ6-wbTw5UzZUM1Y.cjs");let t=require("@sheetxl/utils");var n,r,i=class e{static{this.SIGNATURE=[208,207,17,224,161,177,26,225]}static{this.FATSECT=4294967293}static{this.DIFSECT=4294967292}static{this.ENDOFCHAIN=4294967294}static{this.FREESECT=4294967295}static{this.NOSTREAM=4294967295}static{this.SECTOR_SIZE=512}static{this.MINI_SECTOR_SIZE=64}static{this.MINI_CUTOFF=4096}static{this.DIR_ENTRY_SIZE=128}static{this.DIFAT_HEADER_COUNT=109}constructor(){this.sectors=[],this.fat=[]}static write(t){return new e()._build(t)}allocate(t){let n=e.SECTOR_SIZE,r=Math.max(1,Math.ceil(t.byteLength/n)),i=this.sectors.length;for(let a=0;a<r;a++){let o=new Uint8Array(n);o.set(t.subarray(a*n,Math.min((a+1)*n,t.byteLength))),this.sectors.push(o),this.fat.push(a===r-1?e.ENDOFCHAIN:i+a+1)}return i}_build(t){let{SECTOR_SIZE:n,MINI_SECTOR_SIZE:r,MINI_CUTOFF:i,ENDOFCHAIN:a,FREESECT:o,FATSECT:s,DIFSECT:c,NOSTREAM:l,DIR_ENTRY_SIZE:u,DIFAT_HEADER_COUNT:d}=e,f=[],p=0,m=t.map(e=>{if(e.data.byteLength>=i)return{entry:e,mini:!1,start:-1};let t=p,n=Math.max(1,Math.ceil(e.data.byteLength/r)),a=new Uint8Array(n*r);return a.set(e.data),f.push(a),p+=n,{entry:e,mini:!0,start:t}});for(let e of m)e.mini||(e.start=e.entry.data.byteLength===0?a:this.allocate(e.entry.data));let h=a,g=p*r;if(p>0){let e=new Uint8Array(g),t=0;for(let n of f)e.set(n,t),t+=n.byteLength;h=this.allocate(e)}let _=a,v=0;if(p>0){let e=n/4;v=Math.ceil(p/e);let t=new Uint8Array(v*n),i=new DataView(t.buffer);t.fill(255);let o=0;for(let e of m){if(!e.mini)continue;let t=Math.max(1,Math.ceil(e.entry.data.byteLength/r));for(let e=0;e<t;e++,o++)i.setUint32(4*o,e===t-1?a:o+1,!0)}_=this.allocate(t),v=Math.ceil(t.byteLength/n)}let y=[];y.push(this._directoryEntry({name:`Root Entry`,type:5,child:t.length>0?1:l,start:h===a?0:h,size:g}));let b=m.map((e,t)=>({place:e,index:t})).sort((e,t)=>{let n=e.place.entry.name,r=t.place.entry.name;return n.length===r.length?n.toUpperCase()<r.toUpperCase()?-1:+(n.toUpperCase()>r.toUpperCase()):n.length-r.length}),x=new Map;b.forEach((e,t)=>x.set(e.index,t+1)),m.forEach((e,t)=>{let n=x.get(t)-1,r=b[n+1];y.push(this._directoryEntry({name:e.entry.name,type:2,right:r?x.get(r.index):l,start:e.mini?e.start:e.start===a?0:e.start,size:e.entry.data.byteLength}))});let S=[y[0]];b.forEach(e=>S.push(y[e.index+1]));let C=n/u,w=Math.ceil(S.length/C),T=new Uint8Array(w*n);for(let e=0;e<w*C;e++){let t=S[e]??this._directoryEntry({name:``,type:0});T.set(t,e*u)}let E=this.allocate(T),D=n/4,O=D-1,k=this.sectors.length,A=1,j=0;for(let e=0;e<16;e++){let e=k+A+j,t=Math.max(1,Math.ceil(e/D)),n=t<=d?0:Math.ceil((t-d)/O);if(t===A&&n===j)break;A=t,j=n}let M=[],N=[];for(let e=0;e<A;e++)M.push(k+e);for(let e=0;e<j;e++)N.push(k+A+e);for(let e of M)this.fat[e]=s;for(let e of N)this.fat[e]=c;let P=new Uint8Array(A*n);P.fill(255);let F=new DataView(P.buffer);for(let e=0;e<this.fat.length;e++)F.setUint32(4*e,this.fat[e],!0);let I=new Uint8Array(n+(k+A+j)*n),L=new DataView(I.buffer);I.set(e.SIGNATURE,0),L.setUint16(24,62,!0),L.setUint16(26,3,!0),L.setUint16(28,65534,!0),L.setUint16(30,9,!0),L.setUint16(32,6,!0),L.setUint32(44,A,!0),L.setUint32(48,E,!0),L.setUint32(56,i,!0),L.setUint32(60,_,!0),L.setUint32(64,v,!0),L.setUint32(68,j>0?N[0]:a,!0),L.setUint32(72,j,!0);for(let e=0;e<d;e++)L.setUint32(76+4*e,e<A?M[e]:o,!0);for(let e=0;e<k;e++)I.set(this.sectors[e],n+e*n);I.set(P,n+M[0]*n);for(let e=0;e<j;e++){let t=n+N[e]*n;for(let n=0;n<O;n++){let r=d+e*O+n;L.setUint32(t+4*n,r<A?M[r]:o,!0)}L.setUint32(t+4*O,e===j-1?a:N[e+1],!0)}return I}_directoryEntry(t){let{NOSTREAM:n}=e,r=new Uint8Array(e.DIR_ENTRY_SIZE),i=new DataView(r.buffer),a=t.name;for(let e=0;e<a.length&&e<31;e++)i.setUint16(2*e,a.charCodeAt(e),!0);return i.setUint16(64,a.length>0?2*(Math.min(a.length,31)+1):0,!0),r[66]=t.type,r[67]=1,i.setUint32(68,t.left??n,!0),i.setUint32(72,t.right??n,!0),i.setUint32(76,t.child??n,!0),i.setUint32(116,t.start??0,!0),i.setUint32(120,t.size??0,!0),i.setUint32(124,0,!0),r}};(function(e){let t=e=>{let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n},n=(e,t,n)=>{let r=((e,t)=>{let n=RegExp(`\\b${t}\\s*=\\s*"([^"]*)"`).exec(e);return n?n[1]:null})(e,t);if(r===null)throw Error(`Malformed encryption descriptor: <${n}> is missing '${t}'.`);return r},r=(e,r)=>({saltValue:t(n(e,`saltValue`,r)),blockSize:parseInt(n(e,`blockSize`,r),10),keyBits:parseInt(n(e,`keyBits`,r),10),hashSize:parseInt(n(e,`hashSize`,r),10),cipherAlgorithm:n(e,`cipherAlgorithm`,r),cipherChaining:n(e,`cipherChaining`,r),hashAlgorithm:n(e,`hashAlgorithm`,r)}),i=(e,t)=>{let n=RegExp(`<(?:\\w+:)?${t}\\b[^>]*>`).exec(e);return n?n[0]:null},a=e=>{let t=``;for(let n=0;n<e.byteLength;n++)t+=String.fromCharCode(e[n]);return btoa(t)};e.build=e=>{let t=`saltSize="${e.saltSize}" blockSize="${e.blockSize}" keyBits="${e.keyBits}" hashSize="${e.hashSize}" cipherAlgorithm="${e.cipherAlgorithm}" cipherChaining="${e.cipherChaining}" hashAlgorithm="${e.hashAlgorithm}"`,n=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<encryption xmlns="http://schemas.microsoft.com/office/2006/encryption" xmlns:p="http://schemas.microsoft.com/office/2006/keyEncryptor/password" xmlns:c="http://schemas.microsoft.com/office/2006/keyEncryptor/certificate"><keyData ${t} saltValue="${a(e.keyDataSalt)}"/><dataIntegrity encryptedHmacKey="${a(e.encryptedHmacKey)}" encryptedHmacValue="${a(e.encryptedHmacValue)}"/><keyEncryptors><keyEncryptor uri="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><p:encryptedKey spinCount="${e.spinCount}" ${t} saltValue="${a(e.encryptorSalt)}" encryptedVerifierHashInput="${a(e.encryptedVerifierHashInput)}" encryptedVerifierHashValue="${a(e.encryptedVerifierHashValue)}" encryptedKeyValue="${a(e.encryptedKeyValue)}"/></keyEncryptor></keyEncryptors></encryption>`,r=new TextEncoder().encode(n),i=new Uint8Array(8+r.byteLength),o=new DataView(i.buffer);return o.setUint16(0,4,!0),o.setUint16(2,4,!0),o.setUint32(4,64,!0),i.set(r,8),i},e.parse=e=>{if(e.byteLength<8)throw Error(`Malformed EncryptionInfo stream (too short).`);let a=new DataView(e.buffer,e.byteOffset,e.byteLength),o=a.getUint16(0,!0),s=a.getUint16(2,!0);if(o===4&&s===4){let a=new TextDecoder().decode(e.subarray(8)),o=i(a,`keyData`);if(!o)throw Error(`Malformed encryption descriptor: no <keyData>.`);let s=i(a,`encryptedKey`);if(!s)throw Error(`This file is encrypted with a scheme SheetXL cannot open (no password key encryptor).`);let c=i(a,`dataIntegrity`);return{scheme:`agile`,keyData:r(o,`keyData`),passwordKeyEncryptor:{...r(s,`encryptedKey`),spinCount:parseInt(n(s,`spinCount`,`encryptedKey`),10),encryptedVerifierHashInput:t(n(s,`encryptedVerifierHashInput`,`encryptedKey`)),encryptedVerifierHashValue:t(n(s,`encryptedVerifierHashValue`,`encryptedKey`)),encryptedKeyValue:t(n(s,`encryptedKeyValue`,`encryptedKey`))},dataIntegrity:c?{encryptedHmacKey:t(n(c,`encryptedHmacKey`,`dataIntegrity`)),encryptedHmacValue:t(n(c,`encryptedHmacValue`,`dataIntegrity`))}:null}}return{scheme:o===2?`rc4-cryptoapi`:s===2?`standard`:`rc4`,versionMajor:o,versionMinor:s}}})(n||={}),function(e){let t={verifierHashInput:new Uint8Array([254,167,210,118,59,75,158,121]),verifierHashValue:new Uint8Array([215,170,15,109,48,97,52,78]),keyValue:new Uint8Array([20,110,11,231,171,172,208,214]),hmacKey:new Uint8Array([95,178,173,1,12,185,225,246]),hmacValue:new Uint8Array([160,103,127,2,178,44,132,51])},n=async()=>globalThis.crypto,r=e=>{switch(e.toUpperCase().replace(/[^A-Z0-9]/g,``)){case`SHA1`:return`SHA-1`;case`SHA256`:return`SHA-256`;case`SHA384`:return`SHA-384`;case`SHA512`:return`SHA-512`;default:throw Error(`Unsupported encryption hash algorithm '${e}'.`)}},i=e=>{let t=new Uint8Array(e.byteLength);return t.set(e),t},a=(...e)=>{let t=0;for(let n of e)t+=n.byteLength;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n},o=(e,t)=>{if(e.byteLength>=t)return i(e.subarray(0,t));let n=new Uint8Array(t).fill(54);return n.set(e),n},s=e=>{let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),t},c=async(e,t,...n)=>new Uint8Array(await e.subtle.digest(t,a(...n))),l=()=>typeof MessageChannel==`function`?new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>{t.port1.close(),t.port2.close(),e()},t.port2.postMessage(null)}):new Promise(e=>{setTimeout(e,0)}),u=async(e,t,n,r,i)=>{let a=new Uint8Array(2*t.length),o=new DataView(a.buffer);for(let e=0;e<t.length;e++)o.setUint16(2*e,t.charCodeAt(e),!0);let u=await c(e,r,n,a);for(let t=0;t<i;t++)u=await c(e,r,s(t),u),t%2048==0&&await l();return u},d=async(e,t,n,r,i)=>o(await c(e,r,t,n),i),f=async(e,t,n,r,i)=>o(await c(e,r,t,s(n)),i),p=async(e,t,n,r,i)=>o(await c(e,r,t,n),i),m=async(e,t,n,r)=>{let a=await e.subtle.importKey(`raw`,i(n),{name:`HMAC`,hash:{name:t}},!1,[`sign`]);return new Uint8Array(await e.subtle.sign(`HMAC`,a,i(r)))},h=async(e,t,n,r)=>{let o=i(r);if(o.byteLength===0)return o;if(o.byteLength%16!=0)throw Error(`Malformed encrypted payload (not block aligned).`);let s=await e.subtle.importKey(`raw`,t,{name:`AES-CBC`},!1,[`encrypt`,`decrypt`]),c=i(o.subarray(o.byteLength-16)),l=new Uint8Array(16).fill(16),u=new Uint8Array(await e.subtle.encrypt({name:`AES-CBC`,iv:c},s,l)).subarray(0,16),d=await e.subtle.decrypt({name:`AES-CBC`,iv:n},s,a(o,u));return new Uint8Array(d)};e.resolveSecretKey=async(e,a)=>{let s=e.passwordKeyEncryptor;if(!/^AES$/i.test(s.cipherAlgorithm)||!/CBC$/i.test(s.cipherChaining))throw Error(`Unsupported encryption cipher '${s.cipherAlgorithm}/${s.cipherChaining}'.`);let l=await n(),f=r(s.hashAlgorithm),p=s.keyBits/8,m=await u(l,a,s.saltValue,f,s.spinCount),g=o(s.saltValue,s.blockSize),_=await d(l,m,t.verifierHashInput,f,p),v=await h(l,_,g,s.encryptedVerifierHashInput),y=await d(l,m,t.verifierHashValue,f,p),b=await h(l,y,g,s.encryptedVerifierHashValue),x=await c(l,f,v),S=+(x.byteLength>b.byteLength);for(let e=0;e<b.byteLength;e++)S|=(e<x.byteLength?x[e]:0)^b[e];if(S!==0)return null;let C=await d(l,m,t.keyValue,f,p),w=await h(l,C,g,s.encryptedKeyValue);return i(w.subarray(0,e.keyData.keyBits/8))};let g=async(e,t,n,r)=>{let a=i(r);if(a.byteLength===0)return a;if(a.byteLength%16!=0)throw Error(`Malformed plaintext (not block aligned).`);let o=await e.subtle.importKey(`raw`,t,{name:`AES-CBC`},!1,[`encrypt`]),s=new Uint8Array(await e.subtle.encrypt({name:`AES-CBC`,iv:n},o,a));return i(s.subarray(0,a.byteLength))},_=(e,t)=>e%t===0?e:e+(t-e%t),v=4096;e.decryptPackage=async(e,t,i)=>{if(i.byteLength<8)throw Error(`Malformed EncryptedPackage stream (too short).`);let a=await n(),{keyData:o}=e,s=r(o.hashAlgorithm),c=new DataView(i.buffer,i.byteOffset,i.byteLength),l=c.getUint32(0,!0)+4294967296*c.getUint32(4,!0),u=i.subarray(8),d=new Uint8Array(Math.min(l,u.byteLength)),p=0;for(let e=0;e*v<u.byteLength;e++){let n=e*v,r=u.subarray(n,Math.min(n+v,u.byteLength)),i=r.byteLength%o.blockSize;if(i){let e=new Uint8Array(r.byteLength+o.blockSize-i);e.set(r),r=e}let c=await f(a,o.saltValue,e,s,o.blockSize),l=await h(a,t,c,r),m=Math.min(l.byteLength,d.byteLength-p);if(m<=0)break;d.set(l.subarray(0,m),p),p+=m}return d.subarray(0,p)},e.verifyIntegrity=async(e,i,a)=>{let o=e.dataIntegrity;if(!o)return!0;let s=await n(),{keyData:c}=e,l=r(c.hashAlgorithm),u=(await h(s,i,await p(s,c.saltValue,t.hmacKey,l,c.blockSize),o.encryptedHmacKey)).subarray(0,c.hashSize),d=(await h(s,i,await p(s,c.saltValue,t.hmacValue,l,c.blockSize),o.encryptedHmacValue)).subarray(0,c.hashSize),f=await m(s,l,u,a);if(f.byteLength<c.hashSize)return!1;let g=0;for(let e=0;e<c.hashSize;e++)g|=d[e]^f[e];return g===0};let y=e.DEFAULTS={hashAlgorithm:`SHA512`,cipherAlgorithm:`AES`,cipherChaining:`ChainingModeCBC`,saltSize:16,blockSize:16,keyBits:256,hashSize:64,spinCount:1e5};e.encrypt=async(e,i)=>{let a=await n(),s=r(y.hashAlgorithm),l=y.keyBits/8,h=e=>{let t=new Uint8Array(e);return a.getRandomValues(t),t},b=h(l),x=h(y.saltSize),S=h(y.saltSize),C=h(y.saltSize),w=await u(a,i,S,s,y.spinCount),T=o(S,y.blockSize),E=await d(a,w,t.verifierHashInput,s,l),D=await g(a,E,T,C),O=await c(a,s,C),k=await d(a,w,t.verifierHashValue,s,l),A=new Uint8Array(_(O.byteLength,y.blockSize));A.set(O);let j=await g(a,k,T,A),M=await d(a,w,t.keyValue,s,l),N=await g(a,M,T,b),P=e.byteLength,F=Math.max(1,Math.ceil(P/v)),I=new Uint8Array(_(P,y.blockSize)||y.blockSize);for(let t=0;t<F;t++){let n=t*v,r=e.subarray(n,Math.min(n+v,P)),i=new Uint8Array(_(r.byteLength,y.blockSize));i.set(r);let o=await f(a,x,t,s,y.blockSize);I.set(await g(a,b,o,i),n)}let L=new Uint8Array(8+I.byteLength),R=new DataView(L.buffer);R.setUint32(0,P>>>0,!0),R.setUint32(4,Math.floor(P/4294967296),!0),L.set(I,8);let z=h(y.hashSize),B=new Uint8Array(_(z.byteLength,y.blockSize));B.set(z);let V=await g(a,b,await p(a,x,t.hmacKey,s,y.blockSize),B),H=await m(a,s,z,L),U=new Uint8Array(_(H.byteLength,y.blockSize));return U.set(H),{keyDataSalt:x,encryptorSalt:S,encryptedVerifierHashInput:D,encryptedVerifierHashValue:j,encryptedKeyValue:N,encryptedHmacKey:V,encryptedHmacValue:await g(a,b,await p(a,x,t.hmacValue,s,y.blockSize),U),encryptedPackage:L}}}(r||={});var a=[208,207,17,224,161,177,26,225],o=`EncryptionInfo`,s=`EncryptedPackage`,c=t=>{if(!(e=>{if(e.byteLength<a.length)return!1;let t=new Uint8Array(e,0,a.length);for(let e=0;e<a.length;e++)if(t[e]!==a[e])return!1;return!0})(t))return null;let n;try{n=e.t.read(new Uint8Array(t))}catch{return null}let r=n.readStream(o),i=n.readStream(s);return r&&i?{info:r,encryptedPackage:i}:null},l={key:`offcrypto`,description:`Office Document Encryption`,detect:e=>c(e)!==null,async decode(e,i){let a=c(e);if(!a)throw Error(`Not an encrypted Office container.`);let o=n.parse(a.info);if(o.scheme!==`agile`)throw Error(`This file uses ${(e=>{switch(e){case`standard`:return`Standard ECMA-376 encryption (Office 2007)`;case`rc4-cryptoapi`:return`RC4 CryptoAPI encryption (Office 2002-2003)`;case`rc4`:return`RC4/XOR obfuscation (Office 97-2000)`;default:return e}})(o.scheme)}, which SheetXL cannot open yet. Re-save it from Excel to upgrade it to the current encryption.`);let s=await r.resolveSecretKey(o,i);if(!s)throw new t.InvalidPasswordError;if(o.dataIntegrity&&!await r.verifyIntegrity(o,s,a.encryptedPackage))throw Error(`This file failed its integrity check — it has been altered or is damaged since it was encrypted.`);let l=await r.decryptPackage(o,s,a.encryptedPackage);return l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength)},async encode(e,t){if(!t)throw Error(`A password is required to encrypt.`);let a=await r.encrypt(new Uint8Array(e),t),c=n.build({...r.DEFAULTS,keyDataSalt:a.keyDataSalt,encryptorSalt:a.encryptorSalt,encryptedVerifierHashInput:a.encryptedVerifierHashInput,encryptedVerifierHashValue:a.encryptedVerifierHashValue,encryptedKeyValue:a.encryptedKeyValue,encryptedHmacKey:a.encryptedHmacKey,encryptedHmacValue:a.encryptedHmacValue}),l=i.write([{name:o,data:c},{name:s,data:a.encryptedPackage}]);return l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength)}};exports.OffCryptoEncryption=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(o,s,c)=>(c=o==null?{}:e(i(o)),((e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c,l=r(i),u=0,d=l.length;u<d;u++)c=l[u],a.call(e,c)||c===o||t(e,c,{get:(e=>i[e]).bind(null,c),enumerable:!(s=n(i,c))||s.enumerable});return e})(!s&&o&&o.__esModule?c:t(c,`default`,{value:o,enumerable:!0}),o));Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[208,207,17,224,161,177,26,225],t=async()=>(await Promise.resolve().then(()=>require("./B6sirGz6w-Bm7Ofo.cjs"))).OffCryptoEncryption,n={key:`offcrypto`,description:`Office Document Encryption`,detect:async n=>!!(t=>{if(t.byteLength<e.length)return!1;let n=new Uint8Array(t,0,e.length);for(let t=0;t<e.length;t++)if(n[t]!==e[t])return!1;return!0})(n)&&(await t()).detect(n),decode:async(e,n)=>(await t()).decode(e,n),encode:async(e,n)=>(await t()).encode(e,n)},r=`Excel`,i={key:r,description:`Excel Workbook`,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,exts:[`xlsx`,`xls`,`xlsm`],handler:async(e,t)=>(await Promise.resolve().then(()=>require("./5QaWZ2tRVhz1rf3W.cjs"))).readXLSX(e,t)},a={key:r,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,description:`Excel Workbook`,exts:[`xlsx`],handler:async(e,t)=>(await Promise.resolve().then(()=>require("./Chkqh5BZ-MJjAcPF.cjs"))).writeXLSX(e,t)},o={name:`@sheetxl/io-xlsx`,version:`0.7.23-beta.1`,description:`XLSX I/O formats for SheetXL`,author:`SheetXL`,async register(e){await e.registerReadFormat(i),await e.registerWriteFormat(a),await e.registerEncryption(n)}};Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e=require("./B7_pDFYCVzt-3hUs.cjs");var t=e.t(e=>{function t(e,t){return t===void 0&&(t=Object),t&&typeof t.getOwnPropertyDescriptors==`function`&&(e=t.create(null,t.getOwnPropertyDescriptors(e))),t&&typeof t.freeze==`function`?t.freeze(e):e}function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var r=t({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0}),i=t({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),a=t({script:!1,style:!1,textarea:!0,title:!0});function o(e){return e===s.HTML}var s=t({HTML:`text/html`,XML_APPLICATION:`application/xml`,XML_TEXT:`text/xml`,XML_XHTML_APPLICATION:`application/xhtml+xml`,XML_SVG_IMAGE:`image/svg+xml`}),c=Object.keys(s).map(function(e){return s[e]}),l=t({HTML:`http://www.w3.org/1999/xhtml`,SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`});e.assign=function(e,t){if(typeof e!=`object`||!e)throw TypeError(`target is not an object`);for(var r in t)n(t,r)&&(e[r]=t[r]);return e},e.find=function(e,t,r){if(r===void 0&&(r=Array.prototype),e&&typeof r.find==`function`)return r.find.call(e,t);for(var i=0;i<e.length;i++)if(n(e,i)){var a=e[i];if(t.call(void 0,a,i,e))return a}},e.freeze=t,e.HTML_BOOLEAN_ATTRIBUTES=r,e.HTML_RAW_TEXT_ELEMENTS=a,e.HTML_VOID_ELEMENTS=i,e.hasDefaultHTMLNamespace=function(e){return o(e)||e===s.XML_XHTML_APPLICATION},e.hasOwn=n,e.isHTMLBooleanAttribute=function(e){return n(r,e.toLowerCase())},e.isHTMLRawTextElement=function(e){var t=e.toLowerCase();return n(a,t)&&!a[t]},e.isHTMLEscapableRawTextElement=function(e){var t=e.toLowerCase();return n(a,t)&&a[t]},e.isHTMLMimeType=o,e.isHTMLVoidElement=function(e){return n(i,e.toLowerCase())},e.isValidMimeType=function(e){return c.indexOf(e)>-1},e.MIME_TYPE=s,e.NAMESPACE=l}),n=e.t(e=>{function n(e,t){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:!0,writable:t}})}var r=t().freeze({Error:`Error`,IndexSizeError:`IndexSizeError`,DomstringSizeError:`DomstringSizeError`,HierarchyRequestError:`HierarchyRequestError`,WrongDocumentError:`WrongDocumentError`,InvalidCharacterError:`InvalidCharacterError`,NoDataAllowedError:`NoDataAllowedError`,NoModificationAllowedError:`NoModificationAllowedError`,NotFoundError:`NotFoundError`,NotSupportedError:`NotSupportedError`,InUseAttributeError:`InUseAttributeError`,InvalidStateError:`InvalidStateError`,SyntaxError:`SyntaxError`,InvalidModificationError:`InvalidModificationError`,NamespaceError:`NamespaceError`,InvalidAccessError:`InvalidAccessError`,ValidationError:`ValidationError`,TypeMismatchError:`TypeMismatchError`,SecurityError:`SecurityError`,NetworkError:`NetworkError`,AbortError:`AbortError`,URLMismatchError:`URLMismatchError`,QuotaExceededError:`QuotaExceededError`,TimeoutError:`TimeoutError`,InvalidNodeTypeError:`InvalidNodeTypeError`,DataCloneError:`DataCloneError`,EncodingError:`EncodingError`,NotReadableError:`NotReadableError`,UnknownError:`UnknownError`,ConstraintError:`ConstraintError`,DataError:`DataError`,TransactionInactiveError:`TransactionInactiveError`,ReadOnlyError:`ReadOnlyError`,VersionError:`VersionError`,OperationError:`OperationError`,NotAllowedError:`NotAllowedError`,OptOutError:`OptOutError`}),i=Object.keys(r);function a(e){return typeof e==`number`&&e>=1&&e<=25}function o(e,t){var n;a(e)?(this.name=i[e],this.message=t||``):(this.message=e,this.name=typeof(n=t)==`string`&&n.substring(n.length-r.Error.length)===r.Error?t:r.Error),Error.captureStackTrace&&Error.captureStackTrace(this,o)}n(o,!0),Object.defineProperties(o.prototype,{code:{enumerable:!0,get:function(){var e=i.indexOf(this.name);return a(e)?e:0}}});for(var s={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},c=Object.entries(s),l=0;l<c.length;l++)o[c[l][0]]=c[l][1];function u(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,u)}n(u),e.DOMException=o,e.DOMExceptionName=r,e.ExceptionCode=s,e.ParseError=u}),r=e.t(e=>{function t(e){try{typeof e!=`function`&&(e=RegExp);var t=new e(`𝌆`,`u`).exec(`𝌆`);return!!t&&t[0].length===2}catch{}return!1}var n=t();function r(e){if(e.source[0]!==`[`)throw Error(e+` can not be used with chars`);return e.source.slice(1,e.source.lastIndexOf(`]`))}function i(e,t){if(e.source[0]!==`[`)throw Error(`/`+e.source+`/ can not be used with chars_without`);if(!t||typeof t!=`string`)throw Error(JSON.stringify(t)+` is not a valid search`);if(e.source.indexOf(t)===-1)throw Error(`"`+t+`" is not is /`+e.source+`/`);if(t===`-`&&e.source.indexOf(t)!==1)throw Error(`"`+t+`" is not at the first postion of /`+e.source+`/`);return new RegExp(e.source.replace(t,``),n?`u`:``)}function a(e){var t=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(e){var n=typeof e==`string`;if(n&&t===void 0&&e===`|`)throw Error("use regg instead of reg to wrap expressions with `|`!");return n?e:e.source}).join(``),n?`mu`:`m`)}function o(e){if(arguments.length===0)throw Error(`no parameters provided`);return a.apply(o,[`(?:`].concat(Array.prototype.slice.call(arguments),[`)`]))}var s=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;n&&(s=a(`[`,r(s),`\\u{10000}-\\u{10FFFF}`,`]`));var c=RegExp(`[^`+r(s)+`]`,n?`u`:``),l=/[\x20\x09\x0D\x0A]/,u=r(l),d=a(l,`+`),f=a(l,`*`),p=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;n&&(p=a(`[`,r(p),`\\u{10000}-\\u{10FFFF}`,`]`));var m=a(`[`,r(p),r(/[-.0-9\xB7]/),r(/[\u0300-\u036F\u203F-\u2040]/),`]`),h=a(p,m,`*`),g=a(m,`+`),_=o(a(`&`,h,`;`),`|`,o(/&#[0-9]+;|&#x[0-9a-fA-F]+;/)),v=a(`%`,h,`;`),y=o(a(`"`,o(/[^%&"]/,`|`,v,`|`,_),`*`,`"`),`|`,a(`'`,o(/[^%&']/,`|`,v,`|`,_),`*`,`'`)),b=o(`"`,o(/[^<&"]/,`|`,_),`*`,`"`,`|`,`'`,o(/[^<&']/,`|`,_),`*`,`'`),x=a(i(p,`:`),i(m,`:`),`*`),S=a(x,o(`:`,x),`?`),C=a(`^`,S,`$`),w=a(`(`,S,`)`),T=o(/"[^"]*"|'[^']*'/),E=a(/^<\?/,`(`,h,`)`,o(d,`(`,s,`*?)`),`?`,/\?>/),D=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,O=o(`"`,D,`*"`,`|`,`'`,i(D,`'`),`*'`),k=`<!--`,A=a(k,o(i(s,`-`),`|`,a(`-`,i(s,`-`))),`*`,`-->`),j=`#PCDATA`,M=o(`EMPTY`,`|`,`ANY`,`|`,o(a(/\(/,f,j,o(f,/\|/,f,S),`*`,f,/\)\*/),`|`,a(/\(/,f,j,f,/\)/)),`|`,a(/\([^>]+\)/,/[?*+]?/)),ee=a(`<!ELEMENT`,d,o(S,`|`,v),d,o(M,`|`,v),f,`>`),N=a(`<!ATTLIST`,d,h,o(d,h,d,o(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,`|`,o(a(`NOTATION`,d,/\(/,f,h,o(f,/\|/,f,h),`*`,f,/\)/),`|`,a(/\(/,f,g,o(f,/\|/,f,g),`*`,f,/\)/))),d,o(/#REQUIRED|#IMPLIED/,`|`,o(o(`#FIXED`,d),`?`,b))),`*`,f,`>`),P=`about:legacy-compat`,F=o(`"`+P+`"`,`|`,`'`+P+`'`),I=`SYSTEM`,L=`PUBLIC`,R=o(o(I,d,T),`|`,o(L,d,O,d,T)),z=a(`^`,o(o(I,d,`(?<SystemLiteralOnly>`,T,`)`),`|`,o(L,d,`(?<PubidLiteral>`,O,`)`,d,`(?<SystemLiteral>`,T,`)`))),B=a(`^`,O,`$`),V=a(`^`,T,`$`),H=o(y,`|`,o(R,o(d,`NDATA`,d,h),`?`)),U=`<!ENTITY`,W=o(a(U,d,h,d,H,f,`>`),`|`,a(U,d,`%`,d,h,d,o(y,`|`,R),f,`>`)),te=a(`<!NOTATION`,d,h,d,o(R,`|`,a(L,d,O)),f,`>`),G=a(f,`=`,f),K=/1[.]\d+/,ne=a(d,`version`,G,o(`'`,K,`'`,`|`,`"`,K,`"`)),q=/[A-Za-z][-A-Za-z0-9._]*/,re=a(/^<\?xml/,ne,o(d,`encoding`,G,o(`"`,q,`"`,`|`,`'`,q,`'`)),`?`,o(d,`standalone`,G,o(`'`,o(`yes`,`|`,`no`),`'`,`|`,`"`,o(`yes`,`|`,`no`),`"`)),`?`,f,/\?>/),ie=a(/<!\[CDATA\[/,a(s,`*?`,/\]\]>/));e.chars=r,e.chars_without=i,e.detectUnicodeSupport=t,e.reg=a,e.regg=o,e.ABOUT_LEGACY_COMPAT=P,e.ABOUT_LEGACY_COMPAT_SystemLiteral=F,e.AttlistDecl=N,e.CDATA_START=`<![CDATA[`,e.CDATA_END=`]]>`,e.CDSect=ie,e.Char=s,e.Comment=A,e.COMMENT_START=k,e.COMMENT_END=`-->`,e.DOCTYPE_DECL_START=`<!DOCTYPE`,e.elementdecl=ee,e.EntityDecl=W,e.EntityValue=y,e.ExternalID=R,e.ExternalID_match=z,e.Name=h,e.NotationDecl=te,e.Reference=_,e.PEReference=v,e.PI=E,e.PUBLIC=L,e.PubidLiteral=O,e.PubidLiteral_match=B,e.QName=S,e.QName_exact=C,e.QName_group=w,e.S=d,e.SChar_s=u,e.S_OPT=f,e.SYSTEM=I,e.SystemLiteral=T,e.SystemLiteral_match=V,e.InvalidChar=c,e.UNICODE_REPLACEMENT_CHARACTER=`�`,e.UNICODE_SUPPORT=n,e.XMLDecl=re}),i=e.t(e=>{var i=t(),a=i.find,o=i.hasDefaultHTMLNamespace,s=i.hasOwn,c=i.isHTMLMimeType,l=i.isHTMLRawTextElement,u=i.isHTMLVoidElement,d=i.MIME_TYPE,f=i.NAMESPACE,p=Symbol(),m=n(),h=m.DOMException,g=m.DOMExceptionName,_=r();function v(e){if(e!==p)throw TypeError(`Illegal constructor`)}function y(e){return e!==``}function b(e,t){return s(e,t)||(e[t]=!0),e}function x(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(y):[]}(e);return Object.keys(t.reduce(b,{}))}function S(e){if(!_.QName_exact.test(e))throw new h(h.INVALID_CHARACTER_ERR,`invalid character in qualified name "`+e+`"`)}function C(e,t){S(t),e||=null;var n=null,r=t;if(t.indexOf(`:`)>=0){var a=t.split(`:`);n=a[0],r=a[1]}if(n!==null&&e===null)throw new h(h.NAMESPACE_ERR,`prefix is non-null and namespace is null`);if(n===`xml`&&e!==i.NAMESPACE.XML)throw new h(h.NAMESPACE_ERR,`prefix is "xml" and namespace is not the XML namespace`);if((n===`xmlns`||t===`xmlns`)&&e!==i.NAMESPACE.XMLNS)throw new h(h.NAMESPACE_ERR,`either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace`);if(e===i.NAMESPACE.XMLNS&&n!==`xmlns`&&t!==`xmlns`)throw new h(h.NAMESPACE_ERR,`namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"`);return[e,n,r]}function w(e,t){for(var n in e)s(e,n)&&(t[n]=e[n])}function T(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,w(n,r=new r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var E={},D=E.ELEMENT_NODE=1,O=E.ATTRIBUTE_NODE=2,k=E.TEXT_NODE=3,A=E.CDATA_SECTION_NODE=4,j=E.ENTITY_REFERENCE_NODE=5,M=E.ENTITY_NODE=6,ee=E.PROCESSING_INSTRUCTION_NODE=7,N=E.COMMENT_NODE=8,P=E.DOCUMENT_NODE=9,F=E.DOCUMENT_TYPE_NODE=10,I=E.DOCUMENT_FRAGMENT_NODE=11,L=E.NOTATION_NODE=12,R=i.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function z(e,t){if(t.length<e.length)return z(t,e);var n=null;for(var r in e){if(e[r]!==t[r])return n;n=e[r]}return n}function B(e){return e.guid||=Math.random(),e.guid}function V(){}function H(e,t){this._node=e,this._refresh=t,U(this)}function U(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(je(e,`length`,n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)s(e,r)&&delete e[r];w(n,e),e._inc=t}}function W(){}function te(e,t){for(var n=0;n<e.length;){if(e[n]===t)return n;n++}}function G(e,t,n,r){if(r?t[te(t,r)]=n:(t[t.length]=n,t.length++),e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&ae(i,e,r),function(e,t,n){e&&e._inc++,n.namespaceURI===f.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}(i,e,n))}}function K(e,t,n){var r=te(t,n);if(r>=0){for(var i=t.length-1;r<=i;)t[r]=t[++r];if(t.length=i,e){var a=e.ownerDocument;a&&ae(a,e,n),n.ownerElement=null}}}function ne(){}function q(e){v(e)}function re(e){return(e==`<`?`<`:e==`>`&&`>`)||e==`&`&&`&`||e==`"`&&`"`||`&#`+e.charCodeAt()+`;`}function ie(e,t){J(e,null,{enter:function(e){return!t(e)||J.STOP}})}function J(e,t,n){for(var r=[{node:e,context:t,phase:J.ENTER}];r.length>0;){var i=r.pop();if(i.phase===J.ENTER){var a=n.enter(i.node,i.context);if(a===J.STOP)return J.STOP;if(r.push({node:i.node,context:a,phase:J.EXIT}),a==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:a,phase:J.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}function Y(e,t){v(e);var n=t||{};this.ownerDocument=this,this.contentType=n.contentType||d.XML_APPLICATION,this.type=c(this.contentType)?`html`:`xml`}function ae(e,t,n,r){e&&e._inc++,n.namespaceURI===f.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function oe(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n&&!n.nextSibling)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function se(e,t){if(e!==t.parentNode)throw new h(h.NOT_FOUND_ERR,`child's parent is not parent`);var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,oe(e.ownerDocument,e),t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t}function X(e){return e&&e.nodeType===q.DOCUMENT_TYPE_NODE}function Z(e){return e&&e.nodeType===q.ELEMENT_NODE}function ce(e){return e&&e.nodeType===q.TEXT_NODE}function le(e,t){var n=e.childNodes||[];if(a(n,Z)||X(t))return!1;var r=a(n,X);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function ue(e,t){var n=e.childNodes||[];if(a(n,function(e){return Z(e)&&e!==t}))return!1;var r=a(n,X);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function de(e,t,n){if(!function(e){return e&&(e.nodeType===q.DOCUMENT_NODE||e.nodeType===q.DOCUMENT_FRAGMENT_NODE||e.nodeType===q.ELEMENT_NODE)}(e))throw new h(h.HIERARCHY_REQUEST_ERR,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new h(h.NOT_FOUND_ERR,`child not in parent`);if(!function(e){return e&&(e.nodeType===q.CDATA_SECTION_NODE||e.nodeType===q.COMMENT_NODE||e.nodeType===q.DOCUMENT_FRAGMENT_NODE||e.nodeType===q.DOCUMENT_TYPE_NODE||e.nodeType===q.ELEMENT_NODE||e.nodeType===q.PROCESSING_INSTRUCTION_NODE||e.nodeType===q.TEXT_NODE)}(t)||X(t)&&e.nodeType!==q.DOCUMENT_NODE)throw new h(h.HIERARCHY_REQUEST_ERR,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function fe(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===q.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Z);if(o.length>1||a(i,ce))throw new h(h.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!le(e,n))throw new h(h.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(Z(t)&&!le(e,n))throw new h(h.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(X(t)){if(a(r,X))throw new h(h.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=a(r,Z);if(n&&r.indexOf(s)<r.indexOf(n))throw new h(h.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`);if(!n&&s)throw new h(h.HIERARCHY_REQUEST_ERR,`Doctype can not be appended since element is present`)}}function pe(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===q.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Z);if(o.length>1||a(i,ce))throw new h(h.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!ue(e,n))throw new h(h.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(Z(t)&&!ue(e,n))throw new h(h.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(X(t)){if(a(r,function(e){return X(e)&&e!==n}))throw new h(h.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=a(r,Z);if(n&&r.indexOf(s)<r.indexOf(n))throw new h(h.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`)}}function me(e,t,n,r){de(e,t,n),e.nodeType===q.DOCUMENT_NODE&&(r||fe)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===I){var a=t.firstChild;if(a==null)return t;var o=t.lastChild}else a=o=t;var s=n?n.previousSibling:e.lastChild;a.previousSibling=s,o.nextSibling=n,s?s.nextSibling=a:e.firstChild=a,n==null?e.lastChild=o:n.previousSibling=o;do a.parentNode=e;while(a!==o&&(a=a.nextSibling));return oe(e.ownerDocument||e,e,t),t.nodeType==I&&(t.firstChild=t.lastChild=null),t}function Q(e){v(e),this._nsMap=Object.create(null)}function $(e){v(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}function he(e){v(e)}function ge(e){v(e)}function _e(e){v(e)}function ve(e){v(e)}function ye(e){v(e)}function be(e){v(e)}function xe(e){v(e)}function Se(e){v(e)}function Ce(e){v(e)}function we(e){v(e)}function Te(){}function Ee(e){var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e==null?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null}:{requireWellFormed:!!e.requireWellFormed,splitCDATASections:!1!==e.splitCDATASections,nodeFilter:e.nodeFilter||null},n=[],r=this.nodeType===P&&this.documentElement||this,i=r.prefix,a=r.namespaceURI;if(a&&i==null&&(i=r.lookupPrefix(a))==null)var o=[{namespace:a,prefix:null}];return ke(this,n,o,t),n.join(``)}function De(e,t,n){var r=e.prefix||``,i=e.namespaceURI;if(!i||r===`xml`&&i===f.XML||i===f.XMLNS)return!1;for(var a=n.length;a--;){var o=n[a];if(o.prefix===r)return o.namespace!==i}return!0}function Oe(e,t,n){e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,re),`"`)}function ke(e,t,n,r){n||=[];var i=r.nodeFilter,a=r.requireWellFormed,o=r.splitCDATASections,s=(e.nodeType===P?e:e.ownerDocument).type===`html`;J(e,{ns:n},{enter:function(e,n){var c=n.ns;if(i){if(!(e=i(e)))return null;if(typeof e==`string`)return t.push(e),null}switch(e.nodeType){case D:var d=e.attributes,p=d.length,m=e.tagName,v=m;if(!s&&!e.prefix&&e.namespaceURI){for(var y,b=0;b<d.length;b++)if(d.item(b).name===`xmlns`){y=d.item(b).value;break}if(!y){for(var x=c.length-1;x>=0;x--)if((S=c[x]).prefix===``&&S.namespace===e.namespaceURI){y=S.namespace;break}}if(y!==e.namespaceURI)for(x=c.length-1;x>=0;x--){var S;if((S=c[x]).namespace===e.namespaceURI){S.prefix&&(v=S.prefix+`:`+m);break}}}t.push(`<`,v);for(var C=c.slice(),w=0;w<p;w++)(T=d.item(w)).prefix==`xmlns`?C.push({prefix:T.localName,namespace:T.value}):T.nodeName==`xmlns`&&C.push({prefix:``,namespace:T.value});for(w=0;w<p;w++){var T;if(De(T=d.item(w),0,C)){var E=T.prefix||``,M=T.namespaceURI;Oe(t,E?`xmlns:`+E:`xmlns`,M),C.push({prefix:E,namespace:M})}var L=i?i(T):T;L&&(typeof L==`string`?t.push(L):Oe(t,L.name,L.value))}if(m===v&&De(e,0,C)){var R=e.prefix||``;M=e.namespaceURI,Oe(t,R?`xmlns:`+R:`xmlns`,M),C.push({prefix:R,namespace:M})}var z=!e.firstChild;if(z&&(s||e.namespaceURI===f.HTML)&&(z=u(m)),z)return t.push(`/>`),null;if(t.push(`>`),s&&l(m)){for(var B=e.firstChild;B;)B.data?t.push(B.data):ke(B,t,C.slice(),r),B=B.nextSibling;return t.push(`</`,v,`>`),null}return{ns:C,tag:v};case P:case I:if(a&&e.nodeType===P&&e.documentElement==null)throw new h(`The Document has no documentElement`,g.InvalidStateError);return{ns:c};case O:return Oe(t,e.name,e.value),null;case k:if(a&&_.InvalidChar.test(e.data))throw new h(`The Text node data contains characters outside the XML Char production`,g.InvalidStateError);return t.push(e.data.replace(/[<&>]/g,re)),null;case A:if(a&&e.data.indexOf(`]]>`)!==-1)throw new h(`The CDATASection data contains "]]>"`,g.InvalidStateError);return o?t.push(_.CDATA_START,e.data.replace(/]]>/g,`]]]]><![CDATA[>`),_.CDATA_END):t.push(_.CDATA_START,e.data,_.CDATA_END),null;case N:if(a){if(_.InvalidChar.test(e.data))throw new h(`The comment node data contains characters outside the XML Char production`,g.InvalidStateError);if(e.data.indexOf(`--`)!==-1||e.data[e.data.length-1]===`-`)throw new h(`The comment node data contains "--" or ends with "-"`,g.InvalidStateError)}return t.push(_.COMMENT_START,e.data,_.COMMENT_END),null;case F:var V=e.publicId,H=e.systemId;if(a){if(V&&!_.PubidLiteral_match.test(V))throw new h(`DocumentType publicId is not a valid PubidLiteral`,g.InvalidStateError);if(H&&H!==`.`&&!_.SystemLiteral_match.test(H))throw new h(`DocumentType systemId is not a valid SystemLiteral`,g.InvalidStateError);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new h(`DocumentType internalSubset contains "]>"`,g.InvalidStateError)}return t.push(_.DOCTYPE_DECL_START,` `,e.name),V?(t.push(` `,_.PUBLIC,` `,V),H&&H!==`.`&&t.push(` `,H)):H&&H!==`.`&&t.push(` `,_.SYSTEM,` `,H),e.internalSubset&&t.push(` [`,e.internalSubset,`]`),t.push(`>`),null;case ee:if(a){if(e.target.indexOf(`:`)!==-1||e.target.toLowerCase()===`xml`)throw new h(`The ProcessingInstruction target is not well-formed`,g.InvalidStateError);if(_.InvalidChar.test(e.data))throw new h(`The ProcessingInstruction data contains characters outside the XML Char production`,g.InvalidStateError);if(e.data.indexOf(`?>`)!==-1)throw new h(`The ProcessingInstruction data contains "?>"`,g.InvalidStateError)}return t.push(`<?`,e.target,` `,e.data,`?>`),null;case j:return t.push(`&`,e.nodeName,`;`),null;default:return t.push(`??`,e.nodeName),null}},exit:function(e,n){n&&n.tag&&t.push(`</`,n.tag,`>`)}})}function Ae(e,t,n){var r;return J(t,null,{enter:function(t,i){var a=new t.constructor(p);for(var o in t)if(s(t,o)){var c=t[o];typeof c!=`object`&&c!=a[o]&&(a[o]=c)}t.childNodes&&(a.childNodes=new V),a.ownerDocument=e;var l=n;switch(a.nodeType){case D:var u=t.attributes,d=a.attributes=new W,f=u.length;d._ownerElement=a;for(var m=0;m<f;m++)a.setAttributeNode(Ae(e,u.item(m),!0));break;case O:l=!0}return i===null?r=a:i.appendChild(a),l?a:null}}),r}function je(e,t,n){e[t]=n}function Me(e){for(var t=[],n=e.firstChild;n;)n.nodeType===D&&t.push(n),n=n.nextSibling;return t}V.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e?{requireWellFormed:!!e.requireWellFormed,splitCDATASections:!1!==e.splitCDATASections,nodeFilter:e.nodeFilter||null}:{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null},n=[],r=0;r<this.length;r++)ke(this[r],n,null,t);return n.join(``)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},V.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},H.prototype.item=function(e){return U(this),this[e]||null},T(H,V),W.prototype={length:0,item:V.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var t=0;t<this.length;){var n=this[t];if(n.nodeName===e)return n;t++}return null},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!==this._ownerElement)throw new h(h.INUSE_ATTRIBUTE_ERR);var n=this.getNamedItemNS(e.namespaceURI,e.localName);return n===e?e:(G(this._ownerElement,this,e,n),n)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var t=this.getNamedItem(e);if(!t)throw new h(h.NOT_FOUND_ERR,e);return K(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);if(!n)throw new h(h.NOT_FOUND_ERR,e?e+` : `+t:t);return K(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){e||=null;for(var n=0;n<this.length;){var r=this[n];if(r.localName===t&&r.namespaceURI===e)return r;n++}return null}},W.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},ne.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=d.XML_APPLICATION;e===f.HTML?r=d.XML_XHTML_APPLICATION:e===f.SVG&&(r=d.XML_SVG_IMAGE);var i=new Y(p,{contentType:r});if(i.implementation=this,i.childNodes=new V,i.doctype=n||null,n&&i.appendChild(n),t){var a=i.createElementNS(e,t);i.appendChild(a)}return i},createDocumentType:function(e,t,n,r){S(e);var i=new ye(p);return i.name=e,i.nodeName=e,i.publicId=t||``,i.systemId=n||``,i.internalSubset=r||``,i.childNodes=new V,i},createHTMLDocument:function(e){var t=new Y(p,{contentType:d.HTML});if(t.implementation=this,t.childNodes=new V,!1!==e){t.doctype=this.createDocumentType(`html`),t.doctype.ownerDocument=t,t.appendChild(t.doctype);var n=t.createElement(`html`);t.appendChild(n);var r=t.createElement(`head`);if(n.appendChild(r),typeof e==`string`){var i=t.createElement(`title`);i.appendChild(t.createTextNode(e)),r.appendChild(i)}n.appendChild(t.createElement(`body`))}return t}},q.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:`about:blank`,get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var t=e;do{if(this===t)return!0;t=t.parentNode}while(t);return!1},getRootNode:function(e){var t=this;do{if(!t.parentNode)return t;t=t.parentNode}while(t)},isEqualNode:function(e){if(!e)return!1;for(var t=[{node:this,other:e}];t.length>0;){var n=t.pop(),r=n.node,i=n.other;if(r.nodeType!==i.nodeType)return!1;switch(r.nodeType){case r.DOCUMENT_TYPE_NODE:if(r.name!==i.name||r.publicId!==i.publicId||r.systemId!==i.systemId)return!1;break;case r.ELEMENT_NODE:if(r.namespaceURI!==i.namespaceURI||r.prefix!==i.prefix||r.localName!==i.localName||r.attributes.length!==i.attributes.length)return!1;for(var a=0;a<r.attributes.length;a++){var o=r.attributes.item(a),s=i.getAttributeNodeNS(o.namespaceURI,o.localName);if(!s)return!1;t.push({node:o,other:s})}break;case r.ATTRIBUTE_NODE:if(r.namespaceURI!==i.namespaceURI||r.localName!==i.localName||r.value!==i.value)return!1;break;case r.PROCESSING_INSTRUCTION_NODE:if(r.target!==i.target||r.data!==i.data)return!1;break;case r.TEXT_NODE:case r.CDATA_SECTION_NODE:case r.COMMENT_NODE:if(r.data!==i.data)return!1}if(r.childNodes.length!==i.childNodes.length)return!1;for(a=r.childNodes.length-1;a>=0;a--)t.push({node:r.childNodes[a],other:i.childNodes[a]})}return!0},isSameNode:function(e){return this===e},insertBefore:function(e,t){return me(this,e,t)},replaceChild:function(e,t){me(this,e,t,pe),t&&this.removeChild(t)},removeChild:function(e){return se(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Ae(this.ownerDocument||this,this,e)},normalize:function(){J(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;n!==null&&n.nodeType===k&&t.nodeType===k?(e.removeChild(n),t.appendData(n.data)):t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(s(n,r)&&n[r]===e)return r}t=t.nodeType==O?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&s(n,e))return n[e];t=t.nodeType==O?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null},compareDocumentPosition:function(e){if(this===e)return 0;var t=e,n=this,r=null,i=null;if(t instanceof $&&(t=(r=t).ownerElement),n instanceof $&&(n=(i=n).ownerElement,r&&t&&n===t))for(var a,o=0;a=n.attributes[o];o++){if(a===r)return R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+R.DOCUMENT_POSITION_PRECEDING;if(a===i)return R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+R.DOCUMENT_POSITION_FOLLOWING}if(!t||!n||n.ownerDocument!==t.ownerDocument)return R.DOCUMENT_POSITION_DISCONNECTED+R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(B(n.ownerDocument)>B(t.ownerDocument)?R.DOCUMENT_POSITION_FOLLOWING:R.DOCUMENT_POSITION_PRECEDING);if(i&&t===n)return R.DOCUMENT_POSITION_CONTAINS+R.DOCUMENT_POSITION_PRECEDING;if(r&&t===n)return R.DOCUMENT_POSITION_CONTAINED_BY+R.DOCUMENT_POSITION_FOLLOWING;for(var s=[],c=t.parentNode;c;){if(!i&&c===n)return R.DOCUMENT_POSITION_CONTAINED_BY+R.DOCUMENT_POSITION_FOLLOWING;s.push(c),c=c.parentNode}s.reverse();for(var l=[],u=n.parentNode;u;){if(!r&&u===t)return R.DOCUMENT_POSITION_CONTAINS+R.DOCUMENT_POSITION_PRECEDING;l.push(u),u=u.parentNode}l.reverse();var d=z(s,l);for(var f in d.childNodes){var p=d.childNodes[f];if(p===n)return R.DOCUMENT_POSITION_FOLLOWING;if(p===t)return R.DOCUMENT_POSITION_PRECEDING;if(l.indexOf(p)>=0)return R.DOCUMENT_POSITION_FOLLOWING;if(s.indexOf(p)>=0)return R.DOCUMENT_POSITION_PRECEDING}return 0}},w(E,q),w(E,q.prototype),w(R,q),w(R,q.prototype),J.STOP=Symbol(`walkDOM.STOP`),J.ENTER=0,J.EXIT=1,Y.prototype={implementation:null,nodeName:`#document`,nodeType:P,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType===I){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return me(this,e,t),e.ownerDocument=this,this.documentElement===null&&e.nodeType===D&&(this.documentElement=e),e},removeChild:function(e){var t=se(this,e);return t===this.documentElement&&(this.documentElement=null),t},replaceChild:function(e,t){me(this,e,t,pe),e.ownerDocument=this,t&&this.removeChild(t),Z(e)&&(this.documentElement=e)},importNode:function(e,t){return function(e,t,n){var r;return J(t,null,{enter:function(t,i){var a=t.cloneNode(!1);return a.ownerDocument=e,a.parentNode=null,i===null?r=a:i.appendChild(a),t.nodeType===O||n?a:null}}),r}(this,e,t)},getElementById:function(e){var t=null;return ie(this.documentElement,function(n){if(n.nodeType==D&&n.getAttribute(`id`)==e)return t=n,!0}),t},createElement:function(e){var t=new Q(p);return t.ownerDocument=this,this.type===`html`&&(e=e.toLowerCase()),o(this.contentType)&&(t.namespaceURI=f.HTML),t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new V,(t.attributes=new W)._ownerElement=t,t},createDocumentFragment:function(){var e=new Ce(p);return e.ownerDocument=this,e.childNodes=new V,e},createTextNode:function(e){var t=new ge(p);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createComment:function(e){var t=new _e(p);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf(`]]>`)!==-1)throw new h(h.INVALID_CHARACTER_ERR,`data contains "]]>"`);var t=new ve(p);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new we(p);return n.ownerDocument=this,n.childNodes=new V,n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){if(!_.QName_exact.test(e))throw new h(h.INVALID_CHARACTER_ERR,`invalid character in name "`+e+`"`);return this.type===`html`&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var t=new $(p);return t.ownerDocument=this,t.childNodes=new V,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!_.Name.test(e))throw new h(h.INVALID_CHARACTER_ERR,`not a valid xml name "`+e+`"`);if(this.type===`html`)throw new h(`document is an html document`,g.NotSupportedError);var t=new Se(p);return t.ownerDocument=this,t.childNodes=new V,t.nodeName=e,t},createElementNS:function(e,t){var n=C(e,t),r=new Q(p),i=r.attributes=new W;return r.childNodes=new V,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],i._ownerElement=r,r},createAttributeNS:function(e,t){var n=C(e,t),r=new $(p);return r.ownerDocument=this,r.childNodes=new V,r.nodeName=t,r.name=t,r.specified=!0,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],r}},T(Y,q),Q.prototype={nodeType:D,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+`:`+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type===`html`&&this.namespaceURI===f.HTML},hasAttributes:function(){return!(!this.attributes||!this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t?t.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,t){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var n=this.getAttributeNode(e);n?n.value=n.nodeValue=``+t:((n=this.ownerDocument._createAttribute(e)).value=n.nodeValue=``+t,this.setAttributeNode(n))},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null},setAttributeNS:function(e,t,n){var r=C(e,t)[2],i=this.getAttributeNodeNS(e,r);i?i.value=i.nodeValue=``+n:((i=this.ownerDocument.createAttributeNS(e,t)).value=i.nodeValue=``+n,this.setAttributeNode(i))},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByClassName:function(e){var t=x(e);return new H(this,function(n){var r=[];return t.length>0&&ie(n,function(i){if(i!==n&&i.nodeType===D){var a=i.getAttribute(`class`);if(a){var o=e===a;if(!o){var s=x(a);o=t.every((c=s,function(e){return c&&c.indexOf(e)!==-1}))}o&&r.push(i)}}var c}),r})},getElementsByTagName:function(e){var t=(this.nodeType===P?this:this.ownerDocument).type===`html`,n=e.toLowerCase();return new H(this,function(r){var i=[];return ie(r,function(a){a!==r&&a.nodeType===D&&(e===`*`||a.getQualifiedName()===(t&&a.namespaceURI===f.HTML?n:e))&&i.push(a)}),i})},getElementsByTagNameNS:function(e,t){return new H(this,function(n){var r=[];return ie(n,function(i){i===n||i.nodeType!==D||e!==`*`&&i.namespaceURI!==e||t!==`*`&&i.localName!=t||r.push(i)}),r})}},Y.prototype.getElementsByClassName=Q.prototype.getElementsByClassName,Y.prototype.getElementsByTagName=Q.prototype.getElementsByTagName,Y.prototype.getElementsByTagNameNS=Q.prototype.getElementsByTagNameNS,T(Q,q),$.prototype.nodeType=O,T($,q),he.prototype={data:``,substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},T(he,q),ge.prototype={nodeName:`#text`,nodeType:k,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},T(ge,he),_e.prototype={nodeName:`#comment`,nodeType:N},T(_e,he),ve.prototype={nodeName:`#cdata-section`,nodeType:A},T(ve,ge),ye.prototype.nodeType=F,T(ye,q),be.prototype.nodeType=L,T(be,q),xe.prototype.nodeType=M,T(xe,q),Se.prototype.nodeType=j,T(Se,q),Ce.prototype.nodeName=`#document-fragment`,Ce.prototype.nodeType=I,T(Ce,q),we.prototype.nodeType=ee,T(we,he),Te.prototype.serializeToString=function(e,t){return Ee.call(e,t)},q.prototype.toString=Ee;try{Object.defineProperty&&(Object.defineProperty(H.prototype,"length",{get:function(){return U(this),this.$$length}}),Object.defineProperty(q.prototype,"textContent",{get:function(){if(this.nodeType===D||this.nodeType===I){var e=[];return J(this,null,{enter:function(t){return t.nodeType===D||t.nodeType===I||(t.nodeType===ee||t.nodeType===N?null:void e.push(t.nodeValue))}}),e.join(``)}return this.nodeValue},set:function(e){switch(this.nodeType){case D:case I:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Object.defineProperty(Q.prototype,"children",{get:function(){return new H(this,Me)}}),Object.defineProperty(Y.prototype,"children",{get:function(){return new H(this,Me)}}),Object.defineProperty(Ce.prototype,"children",{get:function(){return new H(this,Me)}}),je=function(e,t,n){e[`$$`+t]=n})}catch{}e._updateLiveList=U,e.Attr=$,e.CDATASection=ve,e.CharacterData=he,e.Comment=_e,e.Document=Y,e.DocumentFragment=Ce,e.DocumentType=ye,e.DOMImplementation=ne,e.Element=Q,e.Entity=xe,e.EntityReference=Se,e.LiveNodeList=H,e.NamedNodeMap=W,e.Node=q,e.NodeList=V,e.Notation=be,e.Text=ge,e.ProcessingInstruction=we,e.walkDOM=J,e.XMLSerializer=Te}),a=e.t(e=>{var n=t().freeze;e.XML_ENTITIES=n({amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}),e.HTML_ENTITIES=n({Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:``,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,AMP:`&`,amp:`&`,And:`⩓`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,ap:`≈`,apacir:`⩯`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:``,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,Barwed:`⌆`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,Because:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxDL:`╗`,boxDl:`╖`,boxdL:`╕`,boxdl:`┐`,boxDR:`╔`,boxDr:`╓`,boxdR:`╒`,boxdr:`┌`,boxH:`═`,boxh:`─`,boxHD:`╦`,boxHd:`╤`,boxhD:`╥`,boxhd:`┬`,boxHU:`╩`,boxHu:`╧`,boxhU:`╨`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxUL:`╝`,boxUl:`╜`,boxuL:`╛`,boxul:`┘`,boxUR:`╚`,boxUr:`╙`,boxuR:`╘`,boxur:`└`,boxV:`║`,boxv:`│`,boxVH:`╬`,boxVh:`╫`,boxvH:`╪`,boxvh:`┼`,boxVL:`╣`,boxVl:`╢`,boxvL:`╡`,boxvl:`┤`,boxVR:`╠`,boxVr:`╟`,boxvR:`╞`,boxvr:`├`,bprime:`‵`,Breve:`˘`,breve:`˘`,brvbar:`¦`,Bscr:`ℬ`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,Cap:`⋒`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,CenterDot:`·`,centerdot:`·`,Cfr:`ℭ`,cfr:`𝔠`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,Colon:`∷`,colon:`:`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,Conint:`∯`,conint:`∮`,ContourIntegral:`∮`,Copf:`ℂ`,copf:`𝕔`,coprod:`∐`,Coproduct:`∐`,COPY:`©`,copy:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,Cross:`⨯`,cross:`✗`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,Cup:`⋓`,cup:`∪`,cupbrcap:`⩈`,CupCap:`≍`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,Dagger:`‡`,dagger:`†`,daleth:`ℸ`,Darr:`↡`,dArr:`⇓`,darr:`↓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,DD:`ⅅ`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,Diamond:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,Downarrow:`⇓`,downarrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,ecir:`≖`,Ecirc:`Ê`,ecirc:`ê`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,eDot:`≑`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,Escr:`ℰ`,escr:`ℯ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,ExponentialE:`ⅇ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,ForAll:`∀`,forall:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,Fscr:`ℱ`,fscr:`𝒻`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,gE:`≧`,ge:`≥`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,Gg:`⋙`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gnE:`≩`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,Gt:`≫`,GT:`>`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,hArr:`⇔`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,Hfr:`ℌ`,hfr:`𝔥`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,Hopf:`ℍ`,hopf:`𝕙`,horbar:`―`,HorizontalLine:`─`,Hscr:`ℋ`,hscr:`𝒽`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:``,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,Ifr:`ℑ`,ifr:`𝔦`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Im:`ℑ`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,Int:`∬`,int:`∫`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:``,InvisibleTimes:``,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,Iscr:`ℐ`,iscr:`𝒾`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:``,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,Lang:`⟪`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,Larr:`↞`,lArr:`⇐`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,lAtail:`⤛`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lBarr:`⤎`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,lE:`≦`,le:`≤`,LeftAngleBracket:`⟨`,LeftArrow:`←`,Leftarrow:`⇐`,leftarrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,Ll:`⋘`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lnE:`≨`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftarrow:`⟵`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longleftrightarrow:`⟷`,longmapsto:`⟼`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:``,lrtri:`⊿`,lsaquo:`‹`,Lscr:`ℒ`,lscr:`𝓁`,Lsh:`↰`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,Lt:`≪`,LT:`<`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,Mscr:`ℳ`,mscr:`𝓂`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:``,NegativeThickSpace:``,NegativeThinSpace:``,NegativeVeryThinSpace:``,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
|
|
2
|
+
`,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:``,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,Qopf:`ℚ`,qopf:`𝕢`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,QUOT:`"`,quot:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,Rang:`⟫`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,Rarr:`↠`,rArr:`⇒`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,rAtail:`⤜`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,RBarr:`⤐`,rBarr:`⤏`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,REG:`®`,reg:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,Rfr:`ℜ`,rfr:`𝔯`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrow:`→`,Rightarrow:`⇒`,rightarrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:``,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,Ropf:`ℝ`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,Rscr:`ℛ`,rscr:`𝓇`,Rsh:`↱`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,Sc:`⪼`,sc:`≻`,scap:`⪸`,Scaron:`Š`,scaron:`š`,sccue:`≽`,scE:`⪴`,sce:`⪰`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,seArr:`⇘`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:``,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,Square:`□`,square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,Sub:`⋐`,sub:`⊂`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,Subset:`⋐`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,Sum:`∑`,sum:`∑`,sung:`♪`,Sup:`⋑`,sup:`⊃`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,Supset:`⋑`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swArr:`⇙`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,Therefore:`∴`,therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:` `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,Tilde:`∼`,tilde:`˜`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,TRADE:`™`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,Uarr:`↟`,uArr:`⇑`,uarr:`↑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrow:`↑`,Uparrow:`⇑`,uparrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,Updownarrow:`⇕`,updownarrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,upsi:`υ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,vArr:`⇕`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,Vbar:`⫫`,vBar:`⫨`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,VDash:`⊫`,Vdash:`⊩`,vDash:`⊨`,vdash:`⊢`,Vdashl:`⫦`,Vee:`⋁`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,Verbar:`‖`,verbar:`|`,Vert:`‖`,vert:`|`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,Wedge:`⋀`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,Xi:`Ξ`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,Yuml:`Ÿ`,yuml:`ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:``,Zeta:`Ζ`,zeta:`ζ`,Zfr:`ℨ`,zfr:`𝔷`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,Zopf:`ℤ`,zopf:`𝕫`,Zscr:`𝒵`,zscr:`𝓏`,zwj:``,zwnj:``}),e.entityMap=e.HTML_ENTITIES}),o=e.t(e=>{var i=t(),a=r(),o=n(),s=i.isHTMLEscapableRawTextElement,c=i.isHTMLMimeType,l=i.isHTMLRawTextElement,u=i.hasOwn,d=i.NAMESPACE,f=o.ParseError,p=o.DOMException;function m(){}m.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),b(t,t=Object.create(null)),function(e,t,n,r,o){var s=c(r.mimeType);e.indexOf(a.UNICODE_REPLACEMENT_CHARACTER)>=0&&o.warning(`Unicode replacement character detected, source encoding issues?`);function l(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function d(e){var t=e[e.length-1]===`;`?e:e+`;`;if(!s&&t!==e)return o.error(`EntityRef: expecting ;`),e;var r=a.Reference.exec(t);if(!r||r[0].length!==t.length)return o.error(`entity not matching Reference production: `+e),e;var i=t.slice(1,-1);return u(n,i)?n[i]:i.charAt(0)===`#`?l(parseInt(i.substring(1).replace(`x`,`0x`))):(o.error(`entity not found:`+e),e)}function m(t){if(t>A){var n=e.substring(A,t).replace(h,d);E&&D(A),r.characters(n,0,t-A),A=t}}var b=0,x=0,T=/\r\n?|\n|$/g,E=r.locator;function D(t,n){for(;t>=x&&(n=T.exec(e));)b=x,x=n.index+n[0].length,E.lineNumber++;E.columnNumber=t-b+1}for(var O=[{currentNSMap:t}],k=[],A=0;;){try{var j=e.indexOf(`<`,A);if(j<0){if(!s&&k.length>0)return o.fatalError(`unclosed xml tag(s): `+k.join(`, `));if(!e.substring(A).match(/^\s*$/)){var M=r.doc,ee=M.createTextNode(e.substring(A));if(M.documentElement)return o.error(`Extra content at the end of the document`);M.appendChild(ee),r.currentElement=ee}return}if(j>A){var N=e.substring(A,j);s||k.length!==0||(N=N.replace(new RegExp(a.S_OPT.source,`g`),``))&&o.error(`Unexpected content outside root element: '`+N+`'`),m(j)}switch(e.charAt(j+1)){case`/`:var P=e.indexOf(`>`,j+2),F=e.substring(j+2,P>0?P:void 0);if(!F)return o.fatalError(`end tag name missing`);var I=P>0&&a.reg(`^`,a.QName_group,a.S_OPT,`$`).exec(F);if(!I)return o.fatalError(`end tag name contains invalid characters: "`+F+`"`);if(!r.currentElement&&!r.doc.documentElement)return;var L=k[k.length-1]||r.currentElement.tagName||r.doc.documentElement.tagName||``;if(L!==I[1]){var R=I[1].toLowerCase();if(!s||L.toLowerCase()!==R)return o.fatalError(`Opening and ending tag mismatch: "`+L+`" != "`+F+`"`)}var z=O.pop();k.pop();var B=z.localNSMap;if(r.endElement(z.uri,z.localName,L),B)for(var V in B)u(B,V)&&r.endPrefixMapping(V);P++;break;case`?`:E&&D(j),P=C(e,j,r,o);break;case`!`:E&&D(j),P=S(e,j,r,o,s);break;default:E&&D(j);var H=new w,U=O[O.length-1].currentNSMap,W=(P=_(e,j,H,U,d,o,s),H.length);if(H.closed||(s&&i.isHTMLVoidElement(H.tagName)?H.closed=!0:k.push(H.tagName)),E&&W){for(var te=g(E,{}),G=0;G<W;G++){var K=H[G];D(K.offset),K.locator=g(E,{})}r.locator=te,v(H,r,U)&&O.push(H),r.locator=E}else v(H,r,U)&&O.push(H);s&&!H.closed?P=y(e,P,H.tagName,d,r):P++}}catch(e){if(e instanceof f)throw e;if(e instanceof p)throw new f(e.name+`: `+e.message,r.locator,e);o.error(`element parse error: `+e),P=-1}P>A?A=P:m(Math.max(j,A)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}};var h=/&#?\w+;?/g;function g(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function _(e,t,n,r,i,a,o){function s(e,t,r){return u(n.attributeNames,e)?a.fatalError(`Attribute `+e+` redefined`):!o&&t.indexOf(`<`)>=0?a.fatalError(`Unescaped '<' not allowed in attributes values`):void n.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(h,i),r)}for(var c,l=++t,d=0;;){var f=e.charAt(l);switch(f){case`=`:if(d===1)c=e.slice(t,l),d=3;else{if(d!==2)throw Error(`attribute equal must after attrName`);d=3}break;case`'`:case`"`:if(d===3||d===1){if(d===1&&(a.warning(`attribute value must after "="`),c=e.slice(t,l)),t=l+1,!((l=e.indexOf(f,t))>0))throw Error(`attribute value no end '`+f+`' match`);s(c,p=e.slice(t,l),t-1),d=5}else{if(d!=4)throw Error(`attribute value must after "="`);s(c,p=e.slice(t,l),t),a.warning(`attribute "`+c+`" missed start quot(`+f+`)!!`),t=l+1,d=5}break;case`/`:switch(d){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:d=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return a.error(`unexpected end of input`),d==0&&n.setTagName(e.slice(t,l)),l;case`>`:switch(d){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:(p=e.slice(t,l)).slice(-1)===`/`&&(n.closed=!0,p=p.slice(0,-1));case 2:d===2&&(p=c),d==4?(a.warning(`attribute "`+p+`" missed quot(")!`),s(c,p,t)):(o||a.warning(`attribute "`+p+`" missed value!! "`+p+`" instead!!`),s(p,p,t));break;case 3:if(!o)return a.fatalError(`AttValue: ' or " expected`)}return l;case``:f=` `;default:if(f<=` `)switch(d){case 0:n.setTagName(e.slice(t,l)),d=6;break;case 1:c=e.slice(t,l),d=2;break;case 4:var p=e.slice(t,l);a.warning(`attribute "`+p+`" missed quot(")!!`),s(c,p,t);case 5:d=6}else switch(d){case 2:o||a.warning(`attribute "`+c+`" missed value!! "`+c+`" instead2!!`),s(c,c,t),t=l,d=1;break;case 5:a.warning(`attribute space is required"`+c+`"!!`);case 6:d=1,t=l;break;case 3:d=4,t=l;break;case 7:throw Error(`elements closed character '/' and '>' must be connected to`)}}l++}}function v(e,t,n){for(var r=e.tagName,i=null,a=e.length;a--;){var o=e[a],s=o.qName,c=o.value;if((m=s.indexOf(`:`))>0)var l=o.prefix=s.slice(0,m),f=s.slice(m+1),p=l===`xmlns`&&f;else f=s,l=null,p=s===`xmlns`&&``;o.localName=f,!1!==p&&(i??(i=Object.create(null),b(n,n=Object.create(null))),n[p]=i[p]=c,o.uri=d.XMLNS,t.startPrefixMapping(p,c))}for(a=e.length;a--;)(o=e[a]).prefix&&(o.prefix===`xml`&&(o.uri=d.XML),o.prefix!==`xmlns`&&(o.uri=n[o.prefix]));var m;(m=r.indexOf(`:`))>0?(l=e.prefix=r.slice(0,m),f=e.localName=r.slice(m+1)):(l=null,f=e.localName=r);var h=e.uri=n[l||``];if(t.startElement(h,f,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(h,f,r),i)for(l in i)u(i,l)&&t.endPrefixMapping(l)}function y(e,t,n,r,i){var a=s(n);if(a||l(n)){var o=e.indexOf(`</`+n+`>`,t),c=e.substring(t+1,o);return a&&(c=c.replace(h,r)),i.characters(c,0,c.length),o}return t+1}function b(e,t){for(var n in e)u(e,n)&&(t[n]=e[n])}function x(e,t){var n=t;function r(t){return t||=0,e.charAt(n+t)}function i(e){n+=e||=1}function o(){return e.substring(n)}return{char:r,getIndex:function(){return n},getMatch:function(e){var t=a.reg(`^`,e).exec(o());return t?(i(t[0].length),t[0]):null},getSource:function(){return e},skip:i,skipBlanks:function(){for(var t=0;n<e.length;){var a=r();if(a!==` `&&a!==`
|
|
3
|
+
`&&a!==` `&&a!==`\r`)return t;t++,i()}return-1},substringFromIndex:o,substringStartsWith:function(t){return e.substring(n,n+t.length)===t},substringStartsWithCaseInsensitive:function(t){return e.substring(n,n+t.length).toUpperCase()===t.toUpperCase()}}}function S(e,t,n,r,i){var o=x(e,t);switch(i?o.char(2).toUpperCase():o.char(2)){case`-`:var s=o.getMatch(a.Comment);return s?(n.comment(s,a.COMMENT_START.length,s.length-a.COMMENT_START.length-a.COMMENT_END.length),o.getIndex()):r.fatalError(`comment is not well-formed at position `+o.getIndex());case`[`:var c=o.getMatch(a.CDSect);return c?i||n.currentElement?(n.startCDATA(),n.characters(c,a.CDATA_START.length,c.length-a.CDATA_START.length-a.CDATA_END.length),n.endCDATA(),o.getIndex()):r.fatalError(`CDATA outside of element`):r.fatalError(`Invalid CDATA starting at position `+t);case`D`:if(n.doc&&n.doc.documentElement)return r.fatalError(`Doctype not allowed inside or after documentElement at position `+o.getIndex());if(i?!o.substringStartsWithCaseInsensitive(a.DOCTYPE_DECL_START):!o.substringStartsWith(a.DOCTYPE_DECL_START))return r.fatalError(`Expected `+a.DOCTYPE_DECL_START+` at position `+o.getIndex());if(o.skip(a.DOCTYPE_DECL_START.length),o.skipBlanks()<1)return r.fatalError(`Expected whitespace after `+a.DOCTYPE_DECL_START+` at position `+o.getIndex());var l={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(l.name=o.getMatch(a.Name),!l.name)return r.fatalError(`doctype name missing or contains unexpected characters at position `+o.getIndex());if(i&&l.name.toLowerCase()!==`html`&&r.warning(`Unexpected DOCTYPE in HTML document at position `+o.getIndex()),o.skipBlanks(),o.substringStartsWith(a.PUBLIC)||o.substringStartsWith(a.SYSTEM)){var u=a.ExternalID_match.exec(o.substringFromIndex());if(!u)return r.fatalError(`doctype external id is not well-formed at position `+o.getIndex());u.groups.SystemLiteralOnly===void 0?(l.systemId=u.groups.SystemLiteral,l.publicId=u.groups.PubidLiteral):l.systemId=u.groups.SystemLiteralOnly,o.skip(u[0].length)}else if(i&&o.substringStartsWithCaseInsensitive(a.SYSTEM)){if(o.skip(a.SYSTEM.length),o.skipBlanks()<1)return r.fatalError(`Expected whitespace after `+a.SYSTEM+` at position `+o.getIndex());if(l.systemId=o.getMatch(a.ABOUT_LEGACY_COMPAT_SystemLiteral),!l.systemId)return r.fatalError(`Expected `+a.ABOUT_LEGACY_COMPAT+` in single or double quotes after `+a.SYSTEM+` at position `+o.getIndex())}return i&&l.systemId&&!a.ABOUT_LEGACY_COMPAT_SystemLiteral.test(l.systemId)&&r.warning(`Unexpected doctype.systemId in HTML document at position `+o.getIndex()),i||(o.skipBlanks(),l.internalSubset=function(e,t){function n(e,t){var n=a.PI.exec(e.substringFromIndex());return n?n[1].toLowerCase()===`xml`?t.fatalError(`xml declaration is only allowed at the start of the document, but found at position `+e.getIndex()):(e.skip(n[0].length),n[0]):t.fatalError(`processing instruction is not well-formed at position `+e.getIndex())}var r=e.getSource();if(e.char()===`[`){e.skip(1);for(var i=e.getIndex();e.getIndex()<r.length;){if(e.skipBlanks(),e.char()===`]`){var o=r.substring(i,e.getIndex());return e.skip(1),o}var s=null;if(e.char()===`<`&&e.char(1)===`!`)switch(e.char(2)){case`E`:e.char(3)===`L`?s=e.getMatch(a.elementdecl):e.char(3)===`N`&&(s=e.getMatch(a.EntityDecl));break;case`A`:s=e.getMatch(a.AttlistDecl);break;case`N`:s=e.getMatch(a.NotationDecl);break;case`-`:s=e.getMatch(a.Comment)}else if(e.char()===`<`&&e.char(1)===`?`)s=n(e,t);else{if(e.char()!==`%`)return t.fatalError(`Error detected in Markup declaration`);s=e.getMatch(a.PEReference)}if(!s)return t.fatalError(`Error in internal subset at position `+e.getIndex())}return t.fatalError(`doctype internal subset is not well-formed, missing ]`)}}(o,r)),o.skipBlanks(),o.char()===`>`?(o.skip(1),n.startDTD(l.name,l.publicId,l.systemId,l.internalSubset),n.endDTD(),o.getIndex()):r.fatalError(`doctype not terminated with > at position `+o.getIndex());default:return r.fatalError(`Not well-formed XML starting with "<!" at position `+t)}}function C(e,t,n,r){var i=e.substring(t).match(a.PI);if(!i)return r.fatalError(`Invalid processing instruction starting at position `+t);if(i[1].toLowerCase()===`xml`){if(t>0)return r.fatalError(`processing instruction at position `+t+` is an xml declaration which is only at the start of the document`);if(!a.XMLDecl.test(e.substring(t)))return r.fatalError(`xml declaration is not well-formed`)}return n.processingInstruction(i[1],i[2]),t+i[0].length}function w(){this.attributeNames=Object.create(null)}w.prototype={setTagName:function(e){if(!a.QName_exact.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,n){if(!a.QName_exact.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},e.XMLReader=m,e.parseUtils=x,e.parseDoctypeCommentOrCData=S}),s=e.t(e=>{var r=t(),s=i(),c=n(),l=a(),u=o(),d=s.DOMImplementation,f=r.hasDefaultHTMLNamespace,p=r.isHTMLMimeType,m=r.isValidMimeType,h=r.MIME_TYPE,g=r.NAMESPACE,_=c.ParseError,v=u.XMLReader;function y(e){return e.replace(/\r[\n\u0085]/g,`
|
|
4
|
+
`).replace(/[\r\u0085\u2028\u2029]/g,`
|
|
5
|
+
`)}function b(e){if((e||={}).locator===void 0&&(e.locator=!0),this.assign=e.assign||r.assign,this.domHandler=e.domHandler||x,this.onError=e.onError||e.errorHandler,e.errorHandler&&typeof e.errorHandler!=`function`)throw TypeError(`errorHandler object is no longer supported, switch to onError!`);e.errorHandler&&e.errorHandler(`warning`,"The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||y,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns)}function x(e){var t=e||{};this.mimeType=t.mimeType||h.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function S(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function C(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}function w(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}b.prototype.parseFromString=function(e,t){if(!m(t))throw TypeError(`DOMParser.parseFromString: the provided mimeType "`+t+`" is not valid.`);var n=this.assign(Object.create(null),this.xmlns),i=l.XML_ENTITIES,a=n[``]||null;f(t)?(i=l.HTML_ENTITIES,a=g.HTML):t===h.XML_SVG_IMAGE&&(a=g.SVG),n[``]=a,n.xml=n.xml||g.XML;var o=new this.domHandler({mimeType:t,defaultNamespace:a,onError:this.onError}),s=this.locator?{}:void 0;this.locator&&o.setDocumentLocator(s);var c=new v;return c.errorHandler=o,c.domBuilder=o,r.isHTMLMimeType(t)||typeof e==`string`||c.errorHandler.fatalError(`source is not a string`),c.parse(this.normalizeLineEndings(String(e)),n,i),o.doc.documentElement||c.errorHandler.fatalError(`missing root element`),o.doc},x.prototype={startDocument:function(){var e=new d;this.doc=p(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,``)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;w(this,a),this.currentElement=a,this.locator&&S(this.locator,a);for(var s=0;s<o;s++){e=r.getURI(s);var c=r.getValue(s),l=(n=r.getQName(s),i.createAttributeNS(e,n));this.locator&&S(r.getLocator(s),l),l.value=l.nodeValue=c,a.setAttributeNode(l)}},endElement:function(e,t,n){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&S(this.locator,n),w(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=C.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&S(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){e&&(e.lineNumber=0),this.locator=e},comment:function(e,t,n){e=C.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&S(this.locator,r),w(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n,r){var i=this.doc.implementation;if(i&&i.createDocumentType){var a=i.createDocumentType(e,t,n,r);this.locator&&S(this.locator,a),w(this,a),this.doc.doctype=a}},reportError:function(e,t){if(typeof this.onError==`function`)try{this.onError(e,t,this)}catch(n){throw new _(`Reporting `+e+` "`+t+`" caused `+n,this.locator)}else console.error(`[xmldom `+e+`] `+t,function(e){if(e)return`
|
|
6
|
+
@#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}(this.locator))},warning:function(e){this.reportError(`warning`,e)},error:function(e){this.reportError(`error`,e)},fatalError:function(e){throw this.reportError(`fatalError`,e),new _(e,this.locator)}},`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){x.prototype[e]=function(){return null}}),e.__DOMHandler=x,e.DOMParser=b,e.normalizeLineEndings=y,e.onErrorStopParsing=function(e){if(e===`error`)throw`onErrorStopParsing`},e.onWarningStopParsing=function(){throw`onWarningStopParsing`}}),c=e.t(e=>{var r=t();e.assign=r.assign,e.hasDefaultHTMLNamespace=r.hasDefaultHTMLNamespace,e.isHTMLMimeType=r.isHTMLMimeType,e.isValidMimeType=r.isValidMimeType,e.MIME_TYPE=r.MIME_TYPE,e.NAMESPACE=r.NAMESPACE;var a=n();e.DOMException=a.DOMException,e.DOMExceptionName=a.DOMExceptionName,e.ExceptionCode=a.ExceptionCode,e.ParseError=a.ParseError;var o=i();e.Attr=o.Attr,e.CDATASection=o.CDATASection,e.CharacterData=o.CharacterData,e.Comment=o.Comment,e.Document=o.Document,e.DocumentFragment=o.DocumentFragment,e.DocumentType=o.DocumentType,e.DOMImplementation=o.DOMImplementation,e.Element=o.Element,e.Entity=o.Entity,e.EntityReference=o.EntityReference,e.LiveNodeList=o.LiveNodeList,e.NamedNodeMap=o.NamedNodeMap,e.Node=o.Node,e.NodeList=o.NodeList,e.Notation=o.Notation,e.ProcessingInstruction=o.ProcessingInstruction,e.Text=o.Text,e.XMLSerializer=o.XMLSerializer;var c=s();e.DOMParser=c.DOMParser,e.normalizeLineEndings=c.normalizeLineEndings,e.onErrorStopParsing=c.onErrorStopParsing,e.onWarningStopParsing=c.onWarningStopParsing});Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return c()}});
|