docxodus 9.7.0 → 9.9.0
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 +22 -0
- package/README.md +0 -1
- package/dist/editor.bundle.js +454 -99
- package/dist/editor.d.ts +4 -4
- package/dist/editor.d.ts.map +1 -1
- package/dist/editor.js +55 -8
- package/dist/editor.js.map +1 -1
- package/dist/embed.bundle.js +454 -99
- package/dist/embed.iife.js +454 -99
- package/dist/page-geometry.d.ts +50 -3
- package/dist/page-geometry.d.ts.map +1 -1
- package/dist/page-geometry.js +63 -6
- package/dist/page-geometry.js.map +1 -1
- package/dist/pagination.bundle.js +416 -91
- package/dist/pagination.d.ts +61 -8
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.js +353 -105
- package/dist/pagination.js.map +1 -1
- package/dist/ribbon-chrome.d.ts +1 -1
- package/dist/ribbon-chrome.d.ts.map +1 -1
- package/dist/ribbon-chrome.js +1 -0
- package/dist/ribbon-chrome.js.map +1 -1
- package/dist/wasm/_framework/Docxodus.wasm +0 -0
- package/dist/wasm/_framework/Docxodus.wasm.br +0 -0
- package/dist/wasm/_framework/DocxodusWasm.wasm +0 -0
- package/dist/wasm/_framework/DocxodusWasm.wasm.br +0 -0
- package/dist/wasm/_framework/System.Collections.Concurrent.wasm +0 -0
- package/dist/wasm/_framework/System.Collections.Concurrent.wasm.br +0 -0
- package/dist/wasm/_framework/System.Collections.Immutable.wasm +0 -0
- package/dist/wasm/_framework/System.Collections.Immutable.wasm.br +0 -0
- package/dist/wasm/_framework/System.Collections.NonGeneric.wasm +0 -0
- package/dist/wasm/_framework/System.Collections.NonGeneric.wasm.br +0 -0
- package/dist/wasm/_framework/System.Collections.Specialized.wasm +0 -0
- package/dist/wasm/_framework/System.Collections.Specialized.wasm.br +0 -0
- package/dist/wasm/_framework/System.Collections.wasm +0 -0
- package/dist/wasm/_framework/System.Collections.wasm.br +0 -0
- package/dist/wasm/_framework/System.ComponentModel.Primitives.wasm +0 -0
- package/dist/wasm/_framework/System.ComponentModel.Primitives.wasm.br +0 -0
- package/dist/wasm/_framework/System.ComponentModel.TypeConverter.wasm +0 -0
- package/dist/wasm/_framework/System.ComponentModel.TypeConverter.wasm.br +0 -0
- package/dist/wasm/_framework/System.ComponentModel.wasm +0 -0
- package/dist/wasm/_framework/System.ComponentModel.wasm.br +0 -0
- package/dist/wasm/_framework/System.Console.wasm +0 -0
- package/dist/wasm/_framework/System.Console.wasm.br +0 -0
- package/dist/wasm/_framework/System.Diagnostics.Process.wasm +0 -0
- package/dist/wasm/_framework/System.Diagnostics.Process.wasm.br +0 -0
- package/dist/wasm/_framework/System.IO.Compression.wasm +0 -0
- package/dist/wasm/_framework/System.IO.Compression.wasm.br +0 -0
- package/dist/wasm/_framework/System.IO.Pipelines.wasm +0 -0
- package/dist/wasm/_framework/System.IO.Pipelines.wasm.br +0 -0
- package/dist/wasm/_framework/System.Linq.Expressions.wasm +0 -0
- package/dist/wasm/_framework/System.Linq.Expressions.wasm.br +0 -0
- package/dist/wasm/_framework/System.Linq.wasm +0 -0
- package/dist/wasm/_framework/System.Linq.wasm.br +0 -0
- package/dist/wasm/_framework/System.Memory.wasm +0 -0
- package/dist/wasm/_framework/System.Memory.wasm.br +0 -0
- package/dist/wasm/_framework/System.Net.Http.wasm +0 -0
- package/dist/wasm/_framework/System.Net.Http.wasm.br +0 -0
- package/dist/wasm/_framework/System.Net.Primitives.wasm +0 -0
- package/dist/wasm/_framework/System.Net.Primitives.wasm.br +0 -0
- package/dist/wasm/_framework/System.ObjectModel.wasm +0 -0
- package/dist/wasm/_framework/System.ObjectModel.wasm.br +0 -0
- package/dist/wasm/_framework/System.Private.CoreLib.wasm +0 -0
- package/dist/wasm/_framework/System.Private.CoreLib.wasm.br +0 -0
- package/dist/wasm/_framework/System.Private.Uri.wasm +0 -0
- package/dist/wasm/_framework/System.Private.Uri.wasm.br +0 -0
- package/dist/wasm/_framework/System.Private.Xml.Linq.wasm +0 -0
- package/dist/wasm/_framework/System.Private.Xml.Linq.wasm.br +0 -0
- package/dist/wasm/_framework/System.Private.Xml.wasm +0 -0
- package/dist/wasm/_framework/System.Private.Xml.wasm.br +0 -0
- package/dist/wasm/_framework/System.Runtime.InteropServices.JavaScript.wasm +0 -0
- package/dist/wasm/_framework/System.Runtime.InteropServices.JavaScript.wasm.br +0 -0
- package/dist/wasm/_framework/System.Runtime.wasm +0 -0
- package/dist/wasm/_framework/System.Runtime.wasm.br +0 -0
- package/dist/wasm/_framework/System.Security.Cryptography.wasm +0 -0
- package/dist/wasm/_framework/System.Security.Cryptography.wasm.br +0 -0
- package/dist/wasm/_framework/System.Text.Encodings.Web.wasm +0 -0
- package/dist/wasm/_framework/System.Text.Encodings.Web.wasm.br +0 -0
- package/dist/wasm/_framework/System.Text.Json.wasm +0 -0
- package/dist/wasm/_framework/System.Text.Json.wasm.br +0 -0
- package/dist/wasm/_framework/System.Text.RegularExpressions.wasm +0 -0
- package/dist/wasm/_framework/System.Text.RegularExpressions.wasm.br +0 -0
- package/dist/wasm/_framework/System.Xml.Linq.wasm +0 -0
- package/dist/wasm/_framework/System.Xml.Linq.wasm.br +0 -0
- package/dist/wasm/_framework/System.Xml.XDocument.wasm +0 -0
- package/dist/wasm/_framework/System.Xml.XDocument.wasm.br +0 -0
- package/dist/wasm/_framework/System.wasm +0 -0
- package/dist/wasm/_framework/System.wasm.br +0 -0
- package/dist/wasm/_framework/dotnet.boot.js +35 -35
- package/dist/wasm/_framework/dotnet.boot.js.br +0 -0
- package/dist/wasm/_framework/dotnet.js +1 -1
- package/dist/wasm/_framework/dotnet.js.br +0 -0
- package/dist/wasm/_framework/dotnet.native.js +3 -3
- package/dist/wasm/_framework/dotnet.native.js.br +0 -0
- package/dist/wasm/_framework/dotnet.native.wasm +0 -0
- package/dist/wasm/_framework/dotnet.native.wasm.br +0 -0
- package/dist/wasm/_framework/dotnet.runtime.js +1 -1
- package/dist/wasm/_framework/dotnet.runtime.js.br +0 -0
- package/package.json +14 -5
- package/dist/wasm/index.html +0 -238
- package/dist/wasm/main.js +0 -26
package/dist/page-geometry.d.ts
CHANGED
|
@@ -32,16 +32,22 @@ export interface PageDimensions {
|
|
|
32
32
|
marginBottom: number;
|
|
33
33
|
/** Left margin in points */
|
|
34
34
|
marginLeft: number;
|
|
35
|
-
/**
|
|
35
|
+
/** `w:pgMar/@w:header` — page top edge to the TOP of the header story, in points. */
|
|
36
|
+
headerDistance: number;
|
|
37
|
+
/** `w:pgMar/@w:footer` — page bottom edge to the BOTTOM of the footer story, in points. */
|
|
38
|
+
footerDistance: number;
|
|
39
|
+
/** @deprecated Misnamed alias of {@link headerDistance} — it never held a height. */
|
|
36
40
|
headerHeight: number;
|
|
37
|
-
/**
|
|
41
|
+
/** @deprecated Misnamed alias of {@link footerDistance} — it never held a height. */
|
|
38
42
|
footerHeight: number;
|
|
39
43
|
}
|
|
40
44
|
/** US Letter portrait — Word's default, and this module's fallback for an unstamped section. */
|
|
41
45
|
export declare const DEFAULT_PAGE_WIDTH = 612;
|
|
42
46
|
export declare const DEFAULT_PAGE_HEIGHT = 792;
|
|
43
47
|
export declare const DEFAULT_MARGIN = 72;
|
|
44
|
-
/** Default header/footer distance (0.5 inch). */
|
|
48
|
+
/** Default header/footer distance from the paper edge (0.5 inch). */
|
|
49
|
+
export declare const DEFAULT_HEADER_FOOTER_DISTANCE = 36;
|
|
50
|
+
/** @deprecated Misnamed alias of {@link DEFAULT_HEADER_FOOTER_DISTANCE}. */
|
|
45
51
|
export declare const DEFAULT_HEADER_FOOTER_HEIGHT = 36;
|
|
46
52
|
/** Converts pixels to points (assuming 96 DPI screen). */
|
|
47
53
|
export declare function pxToPt(px: number): number;
|
|
@@ -49,6 +55,47 @@ export declare function pxToPt(px: number): number;
|
|
|
49
55
|
export declare function ptToPx(pt: number): number;
|
|
50
56
|
/** Parses page dimensions from a section wrapper's data attributes. */
|
|
51
57
|
export declare function parseSectionDimensions(section: HTMLElement): PageDimensions;
|
|
58
|
+
/**
|
|
59
|
+
* Where a page's three bands sit, in points measured from the page's TOP edge.
|
|
60
|
+
*
|
|
61
|
+
* Resolved by {@link resolvePageBands} from the section's page setup plus the measured
|
|
62
|
+
* height of the running content actually selected for that page.
|
|
63
|
+
*/
|
|
64
|
+
export interface PageBands {
|
|
65
|
+
/** Top of the header band; it grows downward from here. */
|
|
66
|
+
headerTop: number;
|
|
67
|
+
/** Height of the header band (the measured header story, clipped to the body's top). */
|
|
68
|
+
headerHeight: number;
|
|
69
|
+
/** Top of the body text band. */
|
|
70
|
+
bodyTop: number;
|
|
71
|
+
/** Height of the body text band. */
|
|
72
|
+
bodyHeight: number;
|
|
73
|
+
/** Top of the footer band; it grows upward, so its BOTTOM is the fixed edge. */
|
|
74
|
+
footerTop: number;
|
|
75
|
+
/** Height of the footer band (the measured footer story, clipped to the body's bottom). */
|
|
76
|
+
footerHeight: number;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* A body band this short cannot hold a single line, and a page that can hold nothing sends
|
|
80
|
+
* every block down the oversized-block path. Running content may push the body — Word does
|
|
81
|
+
* that — but it may not delete it, so a pathological header/footer gives this much back.
|
|
82
|
+
*/
|
|
83
|
+
export declare const MIN_BODY_BAND_PT = 12;
|
|
84
|
+
/**
|
|
85
|
+
* Word's page band model.
|
|
86
|
+
*
|
|
87
|
+
* `w:header`/`w:footer` are DISTANCES from the paper edge to the running content, and
|
|
88
|
+
* `w:top`/`w:bottom` are distances from the paper edge to the body text — four independent
|
|
89
|
+
* numbers, not two nested boxes. The header is laid out from `headerDistance` downward and
|
|
90
|
+
* the footer from `footerDistance` upward; the body then starts at the top margin unless the
|
|
91
|
+
* header has already run past it, and ends at the bottom margin unless the footer has
|
|
92
|
+
* already climbed above it.
|
|
93
|
+
*
|
|
94
|
+
* Anchoring the bands to the margins instead — header bottom-aligned to `marginTop`, footer
|
|
95
|
+
* top-aligned to `pageHeight - marginBottom` — collapses both toward the body by exactly
|
|
96
|
+
* `margin - distance`, which is what this function replaced.
|
|
97
|
+
*/
|
|
98
|
+
export declare function resolvePageBands(dims: PageDimensions, headerContentHeight: number, footerContentHeight: number): PageBands;
|
|
52
99
|
/** Every section wrapper under `root`, or `root` itself when the render stamped none. */
|
|
53
100
|
export declare function sectionWrappers(root: HTMLElement): HTMLElement[];
|
|
54
101
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-geometry.d.ts","sourceRoot":"","sources":["../src/page-geometry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,sFAAsF;AACtF,MAAM,WAAW,cAAc;IAC7B,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,YAAY,EAAE,MAAM,CAAC;IACrB,yDAAyD;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"page-geometry.d.ts","sourceRoot":"","sources":["../src/page-geometry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,sFAAsF;AACtF,MAAM,WAAW,cAAc;IAC7B,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,YAAY,EAAE,MAAM,CAAC;IACrB,yDAAyD;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC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Ae,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW,EAAE,CAGhE;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa,OAAO,CAAC;AAElC,wBAAgB,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,SAAI,GAAG,MAAM,CAKhF;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CACvB,EAAE,EAAE,WAAW,EACf,KAAK,EAAE,MAAM,EACb,SAAS,CAAC,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAC5C,IAAI,CAqBN"}
|
package/dist/page-geometry.js
CHANGED
|
@@ -18,8 +18,10 @@
|
|
|
18
18
|
export const DEFAULT_PAGE_WIDTH = 612;
|
|
19
19
|
export const DEFAULT_PAGE_HEIGHT = 792;
|
|
20
20
|
export const DEFAULT_MARGIN = 72; // 1 inch
|
|
21
|
-
/** Default header/footer distance (0.5 inch). */
|
|
22
|
-
export const
|
|
21
|
+
/** Default header/footer distance from the paper edge (0.5 inch). */
|
|
22
|
+
export const DEFAULT_HEADER_FOOTER_DISTANCE = 36;
|
|
23
|
+
/** @deprecated Misnamed alias of {@link DEFAULT_HEADER_FOOTER_DISTANCE}. */
|
|
24
|
+
export const DEFAULT_HEADER_FOOTER_HEIGHT = DEFAULT_HEADER_FOOTER_DISTANCE;
|
|
23
25
|
/** Converts pixels to points (assuming 96 DPI screen). */
|
|
24
26
|
export function pxToPt(px) {
|
|
25
27
|
return px * 0.75; // 72 points / 96 pixels
|
|
@@ -38,8 +40,10 @@ export function parseSectionDimensions(section) {
|
|
|
38
40
|
const marginRight = parseFloat(section.dataset.marginRight || "") || DEFAULT_MARGIN;
|
|
39
41
|
const marginBottom = parseFloat(section.dataset.marginBottom || "") || DEFAULT_MARGIN;
|
|
40
42
|
const marginLeft = parseFloat(section.dataset.marginLeft || "") || DEFAULT_MARGIN;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
// `data-header-height`/`data-footer-height` carry `w:pgMar/@w:header` and `@w:footer`, which
|
|
44
|
+
// are distances from the paper edge — the attribute names predate that being understood.
|
|
45
|
+
const headerDistance = parseFloat(section.dataset.headerHeight || "") || DEFAULT_HEADER_FOOTER_DISTANCE;
|
|
46
|
+
const footerDistance = parseFloat(section.dataset.footerHeight || "") || DEFAULT_HEADER_FOOTER_DISTANCE;
|
|
43
47
|
return {
|
|
44
48
|
pageWidth,
|
|
45
49
|
pageHeight,
|
|
@@ -49,8 +53,61 @@ export function parseSectionDimensions(section) {
|
|
|
49
53
|
marginRight,
|
|
50
54
|
marginBottom,
|
|
51
55
|
marginLeft,
|
|
52
|
-
|
|
53
|
-
|
|
56
|
+
headerDistance,
|
|
57
|
+
footerDistance,
|
|
58
|
+
headerHeight: headerDistance,
|
|
59
|
+
footerHeight: footerDistance,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* A body band this short cannot hold a single line, and a page that can hold nothing sends
|
|
64
|
+
* every block down the oversized-block path. Running content may push the body — Word does
|
|
65
|
+
* that — but it may not delete it, so a pathological header/footer gives this much back.
|
|
66
|
+
*/
|
|
67
|
+
export const MIN_BODY_BAND_PT = 12;
|
|
68
|
+
/**
|
|
69
|
+
* Word's page band model.
|
|
70
|
+
*
|
|
71
|
+
* `w:header`/`w:footer` are DISTANCES from the paper edge to the running content, and
|
|
72
|
+
* `w:top`/`w:bottom` are distances from the paper edge to the body text — four independent
|
|
73
|
+
* numbers, not two nested boxes. The header is laid out from `headerDistance` downward and
|
|
74
|
+
* the footer from `footerDistance` upward; the body then starts at the top margin unless the
|
|
75
|
+
* header has already run past it, and ends at the bottom margin unless the footer has
|
|
76
|
+
* already climbed above it.
|
|
77
|
+
*
|
|
78
|
+
* Anchoring the bands to the margins instead — header bottom-aligned to `marginTop`, footer
|
|
79
|
+
* top-aligned to `pageHeight - marginBottom` — collapses both toward the body by exactly
|
|
80
|
+
* `margin - distance`, which is what this function replaced.
|
|
81
|
+
*/
|
|
82
|
+
export function resolvePageBands(dims, headerContentHeight, footerContentHeight) {
|
|
83
|
+
const headerTop = dims.headerDistance;
|
|
84
|
+
const footerBottom = dims.pageHeight - dims.footerDistance;
|
|
85
|
+
// A page with NO running story has nothing below the paper edge to push the body: the
|
|
86
|
+
// distance alone reserves no space. (Word's own empty header is still a story — one empty
|
|
87
|
+
// paragraph with a real line height — so zero here means absent, not blank.)
|
|
88
|
+
const headerReach = headerContentHeight > 0 ? headerTop + headerContentHeight : 0;
|
|
89
|
+
const footerReach = footerContentHeight > 0 ? footerBottom - footerContentHeight : dims.pageHeight;
|
|
90
|
+
let bodyTop = Math.max(dims.marginTop, headerReach);
|
|
91
|
+
let bodyBottom = Math.min(dims.pageHeight - dims.marginBottom, footerReach);
|
|
92
|
+
// Hand back whatever the bands over-claimed, in proportion to how far each grew past its
|
|
93
|
+
// own margin, so a tall header does not silently consume the whole page.
|
|
94
|
+
const shortfall = MIN_BODY_BAND_PT - (bodyBottom - bodyTop);
|
|
95
|
+
if (shortfall > 0) {
|
|
96
|
+
const headerGrowth = bodyTop - dims.marginTop;
|
|
97
|
+
const footerGrowth = dims.pageHeight - dims.marginBottom - bodyBottom;
|
|
98
|
+
const growth = headerGrowth + footerGrowth;
|
|
99
|
+
if (growth > 0) {
|
|
100
|
+
bodyTop -= (shortfall * headerGrowth) / growth;
|
|
101
|
+
bodyBottom += (shortfall * footerGrowth) / growth;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
headerTop,
|
|
106
|
+
headerHeight: Math.max(0, Math.min(headerContentHeight, bodyTop - headerTop)),
|
|
107
|
+
bodyTop,
|
|
108
|
+
bodyHeight: Math.max(0, bodyBottom - bodyTop),
|
|
109
|
+
footerTop: footerBottom - Math.max(0, Math.min(footerContentHeight, footerBottom - bodyBottom)),
|
|
110
|
+
footerHeight: Math.max(0, Math.min(footerContentHeight, footerBottom - bodyBottom)),
|
|
54
111
|
};
|
|
55
112
|
}
|
|
56
113
|
/** Every section wrapper under `root`, or `root` itself when the render stamped none. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-geometry.js","sourceRoot":"","sources":["../src/page-geometry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;
|
|
1
|
+
{"version":3,"file":"page-geometry.js","sourceRoot":"","sources":["../src/page-geometry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AA8BH,gGAAgG;AAChG,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAC;AACtC,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAC;AACvC,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,CAAC,CAAC,SAAS;AAC3C,qEAAqE;AACrE,MAAM,CAAC,MAAM,8BAA8B,GAAG,EAAE,CAAC;AACjD,4EAA4E;AAC5E,MAAM,CAAC,MAAM,4BAA4B,GAAG,8BAA8B,CAAC;AAE3E,0DAA0D;AAC1D,MAAM,UAAU,MAAM,CAAC,EAAU;IAC/B,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC,wBAAwB;AAC5C,CAAC;AAED,0DAA0D;AAC1D,MAAM,UAAU,MAAM,CAAC,EAAU;IAC/B,OAAO,EAAE,GAAG,IAAI,CAAC;AACnB,CAAC;AAED,uEAAuE;AACvE,MAAM,UAAU,sBAAsB,CAAC,OAAoB;IACzD,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,kBAAkB,CAAC;IACpF,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,IAAI,EAAE,CAAC,IAAI,mBAAmB,CAAC;IACvF,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,IAAI,EAAE,CAAC,IAAI,SAAS,GAAG,CAAC,GAAG,cAAc,CAAC;IACtG,MAAM,a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