kordoc 4.24.44 → 4.24.45
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/README.md +3 -3
- package/dist/{-H334XSXO.js → -U63KR7FM.js} +21 -21
- package/dist/{chunk-YN3C6T5M.cjs → chunk-2QHC2YXC.cjs} +221 -115
- package/dist/chunk-2QHC2YXC.cjs.map +1 -0
- package/dist/{chunk-WXTEM53O.js → chunk-3DV5MIZK.js} +2 -2
- package/dist/{chunk-6ZYOH3TZ.js → chunk-3JKPMYNQ.js} +2 -2
- package/dist/{chunk-4Y5KRSHV.js → chunk-56HJNAU2.js} +3 -3
- package/dist/{chunk-QR5EL3EF.js → chunk-5IEBL77T.js} +2 -2
- package/dist/{chunk-HD6RQDGW.js → chunk-7D7CLX3U.js} +2 -2
- package/dist/{chunk-2FDWBF47.js → chunk-AJAVVV7C.js} +2 -2
- package/dist/{chunk-SXULSPB6.cjs → chunk-ASS2MVTL.cjs} +30 -26
- package/dist/chunk-ASS2MVTL.cjs.map +1 -0
- package/dist/{chunk-FQMLFAEN.js → chunk-AUSFVOEA.js} +10 -10
- package/dist/{chunk-2TJ4E6MT.js → chunk-B3BUBTAB.js} +2 -2
- package/dist/{chunk-ZGYKWZJS.cjs → chunk-B773KHRO.cjs} +2 -2
- package/dist/{chunk-ZGYKWZJS.cjs.map → chunk-B773KHRO.cjs.map} +1 -1
- package/dist/{chunk-NYQ6HNLA.js → chunk-BCRSFFTV.js} +2 -2
- package/dist/{chunk-AMLNYJWV.js → chunk-BHL5HQNO.js} +3 -3
- package/dist/{chunk-YEKQTHWN.js → chunk-BM4NQPJ7.js} +5 -5
- package/dist/{chunk-HDP2NFYZ.js → chunk-BXL3WAEY.js} +8 -4
- package/dist/chunk-BXL3WAEY.js.map +1 -0
- package/dist/{chunk-IV6GW3K7.js → chunk-DLYJKFRY.js} +2 -2
- package/dist/{chunk-TRVRIIER.js → chunk-E6OSXYA4.js} +2 -2
- package/dist/{chunk-AS6INVO3.js → chunk-ELEYRONP.js} +9 -5
- package/dist/chunk-ELEYRONP.js.map +1 -0
- package/dist/{chunk-IT34DGXJ.cjs → chunk-F7MGZMTQ.cjs} +3 -3
- package/dist/{chunk-IT34DGXJ.cjs.map → chunk-F7MGZMTQ.cjs.map} +1 -1
- package/dist/{chunk-7VVBR5WX.js → chunk-FZFESBG6.js} +111 -5
- package/dist/chunk-FZFESBG6.js.map +1 -0
- package/dist/{chunk-C2TMQUP4.js → chunk-FZRETZG3.js} +5 -5
- package/dist/{chunk-PSB3XI2U.js → chunk-H6YKDFKG.js} +2 -2
- package/dist/{chunk-RUCMKRDE.js → chunk-HHORHT5O.js} +2 -2
- package/dist/{chunk-JI3WWHN2.js → chunk-HMTXDJZA.js} +6 -6
- package/dist/{chunk-B3GHP32M.js → chunk-HVVPLWQD.js} +6 -6
- package/dist/{chunk-3EBWTFBT.js → chunk-JKBJDB6X.js} +2 -2
- package/dist/{chunk-HB3KLT7N.cjs → chunk-K4BI5IO3.cjs} +58 -58
- package/dist/{chunk-HB3KLT7N.cjs.map → chunk-K4BI5IO3.cjs.map} +1 -1
- package/dist/{chunk-7W6G4EC7.js → chunk-KXTTQ3RN.js} +2 -2
- package/dist/{chunk-NJ2BJDHJ.js → chunk-MKJRT3PP.js} +2 -2
- package/dist/{chunk-YSRLHL2J.js → chunk-MOZCSVGA.js} +112 -6
- package/dist/chunk-MOZCSVGA.js.map +1 -0
- package/dist/{chunk-2KHZVNCS.js → chunk-MVLVCUBP.js} +3 -3
- package/dist/{chunk-WF2GLWPA.js → chunk-MXCODLV5.js} +15 -15
- package/dist/{chunk-UZTGIVEH.js → chunk-NKWF62JV.js} +5 -5
- package/dist/{chunk-ABJ5DR2C.js → chunk-TJYUA2VR.js} +2 -2
- package/dist/{chunk-XCRE5EMS.js → chunk-U453MJJB.js} +2 -2
- package/dist/{chunk-RFSKHVLF.js → chunk-U4MF5C62.js} +2 -2
- package/dist/{chunk-O7EDZT7I.cjs → chunk-VVV54QND.cjs} +98 -98
- package/dist/{chunk-O7EDZT7I.cjs.map → chunk-VVV54QND.cjs.map} +1 -1
- package/dist/{chunk-GRY6ITVN.js → chunk-W7BLAMBO.js} +2 -2
- package/dist/{chunk-UETXNBIQ.js → chunk-WHWBBUSD.js} +7 -7
- package/dist/{chunk-6M2Z6QDD.js → chunk-WK3QLJCE.js} +2 -2
- package/dist/{chunk-HW6KA2HI.cjs → chunk-XS3SXFUY.cjs} +3 -3
- package/dist/{chunk-HW6KA2HI.cjs.map → chunk-XS3SXFUY.cjs.map} +1 -1
- package/dist/{chunk-OQCRVBB7.cjs → chunk-YIWEURPR.cjs} +6 -6
- package/dist/{chunk-OQCRVBB7.cjs.map → chunk-YIWEURPR.cjs.map} +1 -1
- package/dist/{chunk-WLBPDYAT.js → chunk-YOMV4HR6.js} +11 -11
- package/dist/chunks-LIB2Y6AD.js +11 -0
- package/dist/cli.js +43 -43
- package/dist/{formula-DLJ44T7B.js → formula-C46F5MG6.js} +4 -4
- package/dist/{formula-2FOYPHV2.js → formula-FBBDRGK6.js} +3 -3
- package/dist/{formula-XAUTHBU5.cjs → formula-V2ZZCARY.cjs} +9 -9
- package/dist/{formula-XAUTHBU5.cjs.map → formula-V2ZZCARY.cjs.map} +1 -1
- package/dist/generator-BNV7GC2V.js +17 -0
- package/dist/generator-CKRACBBG.js +10 -0
- package/dist/generator-MINQI74H.cjs +11 -0
- package/dist/{generator-BIEVUOPW.cjs.map → generator-MINQI74H.cjs.map} +1 -1
- package/dist/{hancom-TFYG5RGJ.cjs → hancom-3U6TQO6F.cjs} +5 -5
- package/dist/{hancom-TFYG5RGJ.cjs.map → hancom-3U6TQO6F.cjs.map} +1 -1
- package/dist/{hancom-B5LZPM5Y.js → hancom-P2ULOGNX.js} +2 -2
- package/dist/{hancom-W6XQOGQY.js → hancom-WBVEG72Q.js} +2 -2
- package/dist/{image-ocr-6NMWKDT6.cjs → image-ocr-4Y4WGZKF.cjs} +27 -27
- package/dist/{image-ocr-6NMWKDT6.cjs.map → image-ocr-4Y4WGZKF.cjs.map} +1 -1
- package/dist/{image-ocr-BKFZMHFE.js → image-ocr-7HH262GO.js} +7 -7
- package/dist/{image-ocr-XRXLPEBP.js → image-ocr-G5T3YPM5.js} +10 -10
- package/dist/index.cjs +1105 -1105
- package/dist/index.js +9 -9
- package/dist/mcp.js +36 -36
- package/dist/memo-CBYIVGEA.js +17 -0
- package/dist/{model-bundle-R3AIXPVX.js → model-bundle-APD72FGN.js} +5 -5
- package/dist/{models-BLHI4JAU.js → models-RK4ENUTB.js} +5 -5
- package/dist/{parse-worker-v2-IB3KIORL.js → parse-worker-v2-TSULPUIC.js} +22 -22
- package/dist/{parser-QCPSCSGJ.js → parser-55MAW7G3.js} +9 -9
- package/dist/{parser-7VLNB7T6.cjs → parser-K275FDSR.cjs} +159 -159
- package/dist/{parser-7VLNB7T6.cjs.map → parser-K275FDSR.cjs.map} +1 -1
- package/dist/{parser-QR2TG3WE.js → parser-VBQTQ6K6.js} +12 -12
- package/dist/{pdf-ocr-6PZ66I7G.js → pdf-ocr-6AAMBNUY.js} +9 -9
- package/dist/pdf-ocr-FR4G5PDF.cjs +42 -0
- package/dist/{pdf-ocr-TUCEX4AY.cjs.map → pdf-ocr-FR4G5PDF.cjs.map} +1 -1
- package/dist/{pdf-ocr-TGXEFZB5.js → pdf-ocr-YSEEZMJI.js} +6 -6
- package/dist/{profile-io-QL4XZ34F.js → profile-io-DSBGIVPH.js} +3 -3
- package/dist/{rasterize-PUG2V436.js → rasterize-46HYG3R6.js} +3 -3
- package/dist/{redact-doc-XDMXMF3A.js → redact-doc-GN673LJP.js} +21 -21
- package/dist/{render-IHE7XBO6.js → render-R7S7ZM3G.js} +12 -12
- package/dist/{rewrite-fallback-J2KE4JIC.js → rewrite-fallback-J3IBHAY2.js} +13 -13
- package/dist/seal-D6PQOQJI.js +16 -0
- package/dist/{setup-FAU3G7N3.js → setup-EFW6CWKF.js} +3 -3
- package/dist/{to-hwpx-B5CXJLNS.js → to-hwpx-6TQLW6WX.js} +4 -4
- package/dist/{to-hwpx-YLJE3AZW.js → to-hwpx-EPTNQA53.js} +7 -7
- package/dist/to-hwpx-X7YKAFO7.cjs +16 -0
- package/dist/{to-hwpx-KFQVO5YC.cjs.map → to-hwpx-X7YKAFO7.cjs.map} +1 -1
- package/dist/visual-RODVDMIJ.js +37 -0
- package/dist/{watch-VKZVO6GV.js → watch-ZQPN6IBT.js} +22 -22
- package/package.json +1 -1
- package/dist/chunk-7VVBR5WX.js.map +0 -1
- package/dist/chunk-AS6INVO3.js.map +0 -1
- package/dist/chunk-HDP2NFYZ.js.map +0 -1
- package/dist/chunk-SXULSPB6.cjs.map +0 -1
- package/dist/chunk-YN3C6T5M.cjs.map +0 -1
- package/dist/chunk-YSRLHL2J.js.map +0 -1
- package/dist/chunks-IBZZKRII.js +0 -11
- package/dist/generator-5QCCBJM6.js +0 -10
- package/dist/generator-BIEVUOPW.cjs +0 -11
- package/dist/generator-S373GIY7.js +0 -17
- package/dist/memo-NMEJZR24.js +0 -17
- package/dist/pdf-ocr-TUCEX4AY.cjs +0 -42
- package/dist/seal-OXEZMJL4.js +0 -16
- package/dist/to-hwpx-KFQVO5YC.cjs +0 -16
- package/dist/visual-GJLFH23Q.js +0 -37
- /package/dist/{-H334XSXO.js.map → -U63KR7FM.js.map} +0 -0
- /package/dist/{chunk-WXTEM53O.js.map → chunk-3DV5MIZK.js.map} +0 -0
- /package/dist/{chunk-6ZYOH3TZ.js.map → chunk-3JKPMYNQ.js.map} +0 -0
- /package/dist/{chunk-4Y5KRSHV.js.map → chunk-56HJNAU2.js.map} +0 -0
- /package/dist/{chunk-QR5EL3EF.js.map → chunk-5IEBL77T.js.map} +0 -0
- /package/dist/{chunk-HD6RQDGW.js.map → chunk-7D7CLX3U.js.map} +0 -0
- /package/dist/{chunk-2FDWBF47.js.map → chunk-AJAVVV7C.js.map} +0 -0
- /package/dist/{chunk-FQMLFAEN.js.map → chunk-AUSFVOEA.js.map} +0 -0
- /package/dist/{chunk-2TJ4E6MT.js.map → chunk-B3BUBTAB.js.map} +0 -0
- /package/dist/{chunk-NYQ6HNLA.js.map → chunk-BCRSFFTV.js.map} +0 -0
- /package/dist/{chunk-AMLNYJWV.js.map → chunk-BHL5HQNO.js.map} +0 -0
- /package/dist/{chunk-YEKQTHWN.js.map → chunk-BM4NQPJ7.js.map} +0 -0
- /package/dist/{chunk-IV6GW3K7.js.map → chunk-DLYJKFRY.js.map} +0 -0
- /package/dist/{chunk-TRVRIIER.js.map → chunk-E6OSXYA4.js.map} +0 -0
- /package/dist/{chunk-C2TMQUP4.js.map → chunk-FZRETZG3.js.map} +0 -0
- /package/dist/{chunk-PSB3XI2U.js.map → chunk-H6YKDFKG.js.map} +0 -0
- /package/dist/{chunk-RUCMKRDE.js.map → chunk-HHORHT5O.js.map} +0 -0
- /package/dist/{chunk-JI3WWHN2.js.map → chunk-HMTXDJZA.js.map} +0 -0
- /package/dist/{chunk-B3GHP32M.js.map → chunk-HVVPLWQD.js.map} +0 -0
- /package/dist/{chunk-3EBWTFBT.js.map → chunk-JKBJDB6X.js.map} +0 -0
- /package/dist/{chunk-7W6G4EC7.js.map → chunk-KXTTQ3RN.js.map} +0 -0
- /package/dist/{chunk-NJ2BJDHJ.js.map → chunk-MKJRT3PP.js.map} +0 -0
- /package/dist/{chunk-2KHZVNCS.js.map → chunk-MVLVCUBP.js.map} +0 -0
- /package/dist/{chunk-WF2GLWPA.js.map → chunk-MXCODLV5.js.map} +0 -0
- /package/dist/{chunk-UZTGIVEH.js.map → chunk-NKWF62JV.js.map} +0 -0
- /package/dist/{chunk-ABJ5DR2C.js.map → chunk-TJYUA2VR.js.map} +0 -0
- /package/dist/{chunk-XCRE5EMS.js.map → chunk-U453MJJB.js.map} +0 -0
- /package/dist/{chunk-RFSKHVLF.js.map → chunk-U4MF5C62.js.map} +0 -0
- /package/dist/{chunk-GRY6ITVN.js.map → chunk-W7BLAMBO.js.map} +0 -0
- /package/dist/{chunk-UETXNBIQ.js.map → chunk-WHWBBUSD.js.map} +0 -0
- /package/dist/{chunk-6M2Z6QDD.js.map → chunk-WK3QLJCE.js.map} +0 -0
- /package/dist/{chunk-WLBPDYAT.js.map → chunk-YOMV4HR6.js.map} +0 -0
- /package/dist/{chunks-IBZZKRII.js.map → chunks-LIB2Y6AD.js.map} +0 -0
- /package/dist/{formula-DLJ44T7B.js.map → formula-C46F5MG6.js.map} +0 -0
- /package/dist/{formula-2FOYPHV2.js.map → formula-FBBDRGK6.js.map} +0 -0
- /package/dist/{generator-5QCCBJM6.js.map → generator-BNV7GC2V.js.map} +0 -0
- /package/dist/{generator-S373GIY7.js.map → generator-CKRACBBG.js.map} +0 -0
- /package/dist/{hancom-B5LZPM5Y.js.map → hancom-P2ULOGNX.js.map} +0 -0
- /package/dist/{hancom-W6XQOGQY.js.map → hancom-WBVEG72Q.js.map} +0 -0
- /package/dist/{image-ocr-BKFZMHFE.js.map → image-ocr-7HH262GO.js.map} +0 -0
- /package/dist/{image-ocr-XRXLPEBP.js.map → image-ocr-G5T3YPM5.js.map} +0 -0
- /package/dist/{memo-NMEJZR24.js.map → memo-CBYIVGEA.js.map} +0 -0
- /package/dist/{model-bundle-R3AIXPVX.js.map → model-bundle-APD72FGN.js.map} +0 -0
- /package/dist/{models-BLHI4JAU.js.map → models-RK4ENUTB.js.map} +0 -0
- /package/dist/{parse-worker-v2-IB3KIORL.js.map → parse-worker-v2-TSULPUIC.js.map} +0 -0
- /package/dist/{parser-QCPSCSGJ.js.map → parser-55MAW7G3.js.map} +0 -0
- /package/dist/{parser-QR2TG3WE.js.map → parser-VBQTQ6K6.js.map} +0 -0
- /package/dist/{pdf-ocr-6PZ66I7G.js.map → pdf-ocr-6AAMBNUY.js.map} +0 -0
- /package/dist/{pdf-ocr-TGXEFZB5.js.map → pdf-ocr-YSEEZMJI.js.map} +0 -0
- /package/dist/{profile-io-QL4XZ34F.js.map → profile-io-DSBGIVPH.js.map} +0 -0
- /package/dist/{rasterize-PUG2V436.js.map → rasterize-46HYG3R6.js.map} +0 -0
- /package/dist/{redact-doc-XDMXMF3A.js.map → redact-doc-GN673LJP.js.map} +0 -0
- /package/dist/{render-IHE7XBO6.js.map → render-R7S7ZM3G.js.map} +0 -0
- /package/dist/{rewrite-fallback-J2KE4JIC.js.map → rewrite-fallback-J3IBHAY2.js.map} +0 -0
- /package/dist/{seal-OXEZMJL4.js.map → seal-D6PQOQJI.js.map} +0 -0
- /package/dist/{setup-FAU3G7N3.js.map → setup-EFW6CWKF.js.map} +0 -0
- /package/dist/{to-hwpx-B5CXJLNS.js.map → to-hwpx-6TQLW6WX.js.map} +0 -0
- /package/dist/{to-hwpx-YLJE3AZW.js.map → to-hwpx-EPTNQA53.js.map} +0 -0
- /package/dist/{visual-GJLFH23Q.js.map → visual-RODVDMIJ.js.map} +0 -0
- /package/dist/{watch-VKZVO6GV.js.map → watch-ZQPN6IBT.js.map} +0 -0
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
MAX_DECOMPRESS_SIZE,
|
|
4
4
|
ZipBombError,
|
|
5
5
|
readZipEntry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B3BUBTAB.js";
|
|
7
7
|
import {
|
|
8
8
|
KordocError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E6OSXYA4.js";
|
|
10
10
|
|
|
11
11
|
// src/hwpx/crypto.ts
|
|
12
12
|
import { createDecipheriv, createHash, pbkdf2Sync, timingSafeEqual } from "crypto";
|
|
@@ -112,4 +112,4 @@ export {
|
|
|
112
112
|
lockedHwpxError,
|
|
113
113
|
decryptHwpxInPlace
|
|
114
114
|
};
|
|
115
|
-
//# sourceMappingURL=chunk-
|
|
115
|
+
//# sourceMappingURL=chunk-MVLVCUBP.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
extractRenderedRegions,
|
|
4
4
|
renderDocumentToScene
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AUSFVOEA.js";
|
|
6
6
|
import {
|
|
7
7
|
blocksToPages
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-U4MF5C62.js";
|
|
9
9
|
import {
|
|
10
10
|
applyCellEdit,
|
|
11
11
|
buildOrigUnits,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resolveParagraphMappings,
|
|
19
19
|
resolveSectionEntryNames,
|
|
20
20
|
stripCellTokens
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YOMV4HR6.js";
|
|
22
22
|
import {
|
|
23
23
|
TOTAL_LABEL_RE,
|
|
24
24
|
comResultToParseResult,
|
|
@@ -47,10 +47,10 @@ import {
|
|
|
47
47
|
summarize,
|
|
48
48
|
textProfile,
|
|
49
49
|
topLevelParagraphs
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-HVVPLWQD.js";
|
|
51
51
|
import {
|
|
52
52
|
patchZipEntries
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-H6YKDFKG.js";
|
|
54
54
|
import {
|
|
55
55
|
ANNOTATION_BLANK_RE,
|
|
56
56
|
ValueCursor,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
localName,
|
|
88
88
|
rawTextContent,
|
|
89
89
|
readZipEntry
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-B3BUBTAB.js";
|
|
91
91
|
import {
|
|
92
92
|
INLINE_TABLE_MARK,
|
|
93
93
|
blocksPlainText,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
memosMarkdown,
|
|
101
101
|
parseHwp5Document,
|
|
102
102
|
resolveImageBlocks
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-NKWF62JV.js";
|
|
104
104
|
import {
|
|
105
105
|
bmpToPng,
|
|
106
106
|
inlineImagesIntoMarkdown
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
stripScriptTags,
|
|
126
126
|
tidyScriptTags,
|
|
127
127
|
wrapScript
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-KXTTQ3RN.js";
|
|
129
129
|
import {
|
|
130
130
|
MAX_COLS,
|
|
131
131
|
MAX_ROWS,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
flattenLayoutTables,
|
|
137
137
|
hasStructuredCellContent,
|
|
138
138
|
sanitizeText
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-HHORHT5O.js";
|
|
140
140
|
import {
|
|
141
141
|
hangulAmount,
|
|
142
142
|
mapPuaText
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
stripDtd,
|
|
153
153
|
toArrayBuffer,
|
|
154
154
|
unzipLimitBytes
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-E6OSXYA4.js";
|
|
156
156
|
|
|
157
157
|
// src/table/visual.ts
|
|
158
158
|
import { readFile as readFile2 } from "fs/promises";
|
|
@@ -16821,7 +16821,7 @@ var MIN_SIDE = 24;
|
|
|
16821
16821
|
async function ocrEmbeddedImages(blocks, options, warnings) {
|
|
16822
16822
|
const ocr = options?.ocr;
|
|
16823
16823
|
if (ocr !== true && ocr !== "force" && typeof ocr !== "function") return false;
|
|
16824
|
-
const { parseImageDocument } = await import("./image-ocr-
|
|
16824
|
+
const { parseImageDocument } = await import("./image-ocr-G5T3YPM5.js");
|
|
16825
16825
|
let inserted = false, unreadable = 0;
|
|
16826
16826
|
let failed = null;
|
|
16827
16827
|
const walk = async (list, depth) => {
|
|
@@ -20422,7 +20422,7 @@ function scriptsOff(r, off) {
|
|
|
20422
20422
|
}
|
|
20423
20423
|
async function parseImage(buffer, options) {
|
|
20424
20424
|
try {
|
|
20425
|
-
const { parseImageDocument } = await import("./image-ocr-
|
|
20425
|
+
const { parseImageDocument } = await import("./image-ocr-G5T3YPM5.js");
|
|
20426
20426
|
const { blocks, warnings, lines } = await parseImageDocument(buffer, options);
|
|
20427
20427
|
stripScriptTags({ blocks });
|
|
20428
20428
|
return {
|
|
@@ -20488,7 +20488,7 @@ async function parseHwp(buffer, options) {
|
|
|
20488
20488
|
async function parsePdf(buffer, options) {
|
|
20489
20489
|
let parsePdfDocument;
|
|
20490
20490
|
try {
|
|
20491
|
-
const mod = await import("./parser-
|
|
20491
|
+
const mod = await import("./parser-VBQTQ6K6.js");
|
|
20492
20492
|
parsePdfDocument = mod.parsePdfDocument;
|
|
20493
20493
|
} catch {
|
|
20494
20494
|
return {
|
|
@@ -20564,7 +20564,7 @@ async function fillForm(input, values, outputFormat = "markdown") {
|
|
|
20564
20564
|
throw new Error(`hwpx-preserve \uD3EC\uB9F7\uC740 HWPX\xB7HWP 5.x \uC785\uB825\uB9CC \uC9C0\uC6D0\uD569\uB2C8\uB2E4 (\uAC10\uC9C0\uB41C \uD3EC\uB9F7: ${zipFormat})`);
|
|
20565
20565
|
}
|
|
20566
20566
|
} else if (format2 === "hwp" && detectOle2Format(buffer) === "hwp") {
|
|
20567
|
-
const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-
|
|
20567
|
+
const { hwpToHwpx: hwpToHwpx2 } = await import("./to-hwpx-EPTNQA53.js");
|
|
20568
20568
|
const hwpx = await hwpToHwpx2(new Uint8Array(buffer));
|
|
20569
20569
|
buffer = hwpx.buffer.slice(hwpx.byteOffset, hwpx.byteOffset + hwpx.byteLength);
|
|
20570
20570
|
} else {
|
|
@@ -20713,4 +20713,4 @@ export {
|
|
|
20713
20713
|
parseHwpml,
|
|
20714
20714
|
fillForm
|
|
20715
20715
|
};
|
|
20716
|
-
//# sourceMappingURL=chunk-
|
|
20716
|
+
//# sourceMappingURL=chunk-MXCODLV5.js.map
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
parseFileHeader,
|
|
37
37
|
readRecords,
|
|
38
38
|
resolveLiteralLt
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-JKBJDB6X.js";
|
|
40
40
|
import {
|
|
41
41
|
TOC_ENTRY_BLOCKS,
|
|
42
42
|
takeTocLeaders
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
HEADING_RATIO_H3,
|
|
55
55
|
tidyScriptTags,
|
|
56
56
|
unframeLayoutTables
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KXTTQ3RN.js";
|
|
58
58
|
import {
|
|
59
59
|
MAX_COLS,
|
|
60
60
|
MAX_ROWS,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
flattenLayoutTables,
|
|
68
68
|
markNonLayoutTable,
|
|
69
69
|
sanitizeText
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-HHORHT5O.js";
|
|
71
71
|
import {
|
|
72
72
|
circledHangul,
|
|
73
73
|
circledNumber,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
import {
|
|
79
79
|
KordocError,
|
|
80
80
|
sanitizeHref
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-E6OSXYA4.js";
|
|
82
82
|
|
|
83
83
|
// src/memo-notes.ts
|
|
84
84
|
var squash = (s) => sanitizeText(s).replace(/\s+/g, "");
|
|
@@ -2833,4 +2833,4 @@ export {
|
|
|
2833
2833
|
parseHwp5Document,
|
|
2834
2834
|
extractHwp5MetadataOnly
|
|
2835
2835
|
};
|
|
2836
|
-
//# sourceMappingURL=chunk-
|
|
2836
|
+
//# sourceMappingURL=chunk-NKWF62JV.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
assignTableIds,
|
|
4
4
|
blocksToMarkdown
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HHORHT5O.js";
|
|
6
6
|
|
|
7
7
|
// src/chunks.ts
|
|
8
8
|
var LIST_MARKER_RE = /^(?:[□■◇◆○◎●◦ㅇ•▪▸▶※-]|\d{1,3}[.)]|[가나다라마바사아자차카타파하][.)]|\([가나다라마바사아자차카타파하0-9]{1,3}\)|[①-⑳㉮-㉻㈎-㈛])\s/;
|
|
@@ -82,4 +82,4 @@ function blocksToChunks(blocks, options) {
|
|
|
82
82
|
export {
|
|
83
83
|
blocksToChunks
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-TJYUA2VR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KordocError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7D7CLX3U.js";
|
|
4
4
|
|
|
5
5
|
// src/pdf/formula/models.ts
|
|
6
6
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -310,4 +310,4 @@ export {
|
|
|
310
310
|
ensureFormulaModels,
|
|
311
311
|
ensureSingleModel
|
|
312
312
|
};
|
|
313
|
-
//# sourceMappingURL=chunk-
|
|
313
|
+
//# sourceMappingURL=chunk-U453MJJB.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
blocksToMarkdown
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HHORHT5O.js";
|
|
5
5
|
|
|
6
6
|
// src/page-markdown.ts
|
|
7
7
|
function blocksToPages(blocks, render = blocksToMarkdown) {
|
|
@@ -29,4 +29,4 @@ function blocksToPages(blocks, render = blocksToMarkdown) {
|
|
|
29
29
|
export {
|
|
30
30
|
blocksToPages
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-U4MF5C62.js.map
|