@thi.ng/hdom-mock 1.1.62 → 2.0.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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [1.1.62](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.61...@thi.ng/hdom-mock@1.1.62) (2021-08-08)
6
+ ## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@2.0.0...@thi.ng/hdom-mock@2.0.1) (2021-10-13)
7
7
 
8
8
  **Note:** Version bump only for package @thi.ng/hdom-mock
9
9
 
@@ -11,62 +11,55 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [1.1.61](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.60...@thi.ng/hdom-mock@1.1.61) (2021-08-08)
15
-
16
- **Note:** Version bump only for package @thi.ng/hdom-mock
17
-
18
-
19
-
20
-
21
-
22
- ## [1.1.60](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.59...@thi.ng/hdom-mock@1.1.60) (2021-08-04)
23
-
24
- **Note:** Version bump only for package @thi.ng/hdom-mock
25
-
14
+ # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.64...@thi.ng/hdom-mock@2.0.0) (2021-10-12)
26
15
 
27
16
 
17
+ ### Build System
28
18
 
29
-
30
- ## [1.1.59](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.58...@thi.ng/hdom-mock@1.1.59) (2021-07-01)
31
-
32
- **Note:** Version bump only for package @thi.ng/hdom-mock
33
-
19
+ * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
34
20
 
35
21
 
22
+ ### BREAKING CHANGES
36
23
 
24
+ * discontinue CommonJS & UMD versions
37
25
 
38
- ## [1.1.58](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.57...@thi.ng/hdom-mock@1.1.58) (2021-06-08)
26
+ - only ESM modules will be published from now on
27
+ - CJS obsolete due to ESM support in recent versions of node:
28
+ - i.e. launch NodeJS via:
29
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
30
+ - in the node REPL use `await import(...)` instead of `require()`
31
+ - UMD obsolete due to widespread browser support for ESM
39
32
 
40
- **Note:** Version bump only for package @thi.ng/hdom-mock
33
+ Also:
34
+ - normalize/restructure/reorg all package.json files
35
+ - cleanup all build scripts, remove obsolete
36
+ - switch from mocha to @thi.ng/testament for all tests
41
37
 
42
38
 
43
39
 
44
40
 
45
41
 
46
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.0.16...@thi.ng/hdom-mock@1.1.0) (2019-07-07)
47
42
 
48
- ### Features
43
+ # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.0.16...@thi.ng/hdom-mock@1.1.0) (2019-07-07)
49
44
 
50
- * **hdom-mock:** enable TS strict compiler flags (refactor) ([787e2d4](https://github.com/thi-ng/umbrella/commit/787e2d4))
45
+ ### Features
51
46
 
52
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@0.1.5...@thi.ng/hdom-mock@1.0.0) (2019-01-21)
47
+ - **hdom-mock:** enable TS strict compiler flags (refactor) ([787e2d4](https://github.com/thi-ng/umbrella/commit/787e2d4))
53
48
 
54
- ### Build System
49
+ # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@0.1.5...@thi.ng/hdom-mock@1.0.0) (2019-01-21)
55
50
 
56
- * update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
51
+ ### Build System
57
52
 
58
- ### BREAKING CHANGES
53
+ - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
59
54
 
60
- * enable multi-outputs (ES6 modules, CJS, UMD)
55
+ ### BREAKING CHANGES
61
56
 
62
- - build scripts now first build ES6 modules in package root, then call
63
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
64
- - all imports MUST be updated to only refer to package level
65
- (not individual files anymore). tree shaking in user land will get rid of
66
- all unused imported symbols
57
+ - enable multi-outputs (ES6 modules, CJS, UMD)
58
+ - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
59
+ - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols
67
60
 
68
- # 0.1.0 (2018-12-13)
61
+ # 0.1.0 (2018-12-13)
69
62
 
70
- ### Features
63
+ ### Features
71
64
 
72
- * **hdom-mock:** add hdom-mock package and implementation, add initial tests ([5609d24](https://github.com/thi-ng/umbrella/commit/5609d24))
65
+ - **hdom-mock:** add hdom-mock package and implementation, add initial tests ([5609d24](https://github.com/thi-ng/umbrella/commit/5609d24))
package/README.md CHANGED
@@ -38,15 +38,24 @@ custom target implementations.
38
38
  yarn add @thi.ng/hdom-mock
39
39
  ```
40
40
 
41
+ ES module import:
42
+
41
43
  ```html
42
- // ES module
43
- <script type="module" src="https://unpkg.com/@thi.ng/hdom-mock?module" crossorigin></script>
44
+ <script type="module" src="https://cdn.skypack.dev/@thi.ng/hdom-mock"></script>
45
+ ```
46
+
47
+ [Skypack documentation](https://docs.skypack.dev/)
48
+
49
+ For Node.js REPL:
50
+
51
+ ```text
52
+ # with flag only for < v16
53
+ node --experimental-repl-await
44
54
 
45
- // UMD
46
- <script src="https://unpkg.com/@thi.ng/hdom-mock/lib/index.umd.js" crossorigin></script>
55
+ > const hdomMock = await import("@thi.ng/hdom-mock");
47
56
  ```
48
57
 
49
- Package sizes (gzipped, pre-treeshake): ESM: 1.04 KB / CJS: 1.09 KB / UMD: 1.19 KB
58
+ Package sizes (gzipped, pre-treeshake): ESM: 1.07 KB
50
59
 
51
60
  ## Dependencies
52
61
 
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { HDOMImplementation, HDOMOpts } from "@thi.ng/hdom";
2
1
  import type { IObjectOf } from "@thi.ng/api";
2
+ import type { HDOMImplementation, HDOMOpts } from "@thi.ng/hdom";
3
3
  export declare const TEXT: unique symbol;
4
4
  export declare class HDOMNode {
5
5
  /**
package/index.js CHANGED
@@ -1,7 +1,24 @@
1
- import { isFunction } from "@thi.ng/checks";
2
- import { createTree, diffTree, hydrateTree, normalizeTree, } from "@thi.ng/hdom";
1
+ import { isFunction } from "@thi.ng/checks/is-function";
2
+ import { diffTree } from "@thi.ng/hdom/diff";
3
+ import { createTree, hydrateTree } from "@thi.ng/hdom/dom";
4
+ import { normalizeTree } from "@thi.ng/hdom/normalize";
3
5
  export const TEXT = Symbol();
4
6
  export class HDOMNode {
7
+ /**
8
+ * Only real child nodes
9
+ */
10
+ children;
11
+ /**
12
+ * Includes real children AND text nodes
13
+ */
14
+ _children;
15
+ listeners;
16
+ value;
17
+ checked;
18
+ tag;
19
+ attribs;
20
+ style;
21
+ body;
5
22
  constructor(tag, attribs = {}) {
6
23
  this.tag = tag;
7
24
  this.children = [];
@@ -65,7 +82,7 @@ export class HDOMNode {
65
82
  if (this.isText()) {
66
83
  return this.body;
67
84
  }
68
- const attr = Object.assign({}, this.attribs);
85
+ const attr = { ...this.attribs };
69
86
  this.style && (attr.style = this.style);
70
87
  this.value != null && (attr.value = this.value);
71
88
  this.checked && (attr.checked = true);
@@ -73,6 +90,7 @@ export class HDOMNode {
73
90
  }
74
91
  }
75
92
  export class MockHDOM {
93
+ root;
76
94
  constructor(root) {
77
95
  this.root = root;
78
96
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thi.ng/hdom-mock",
3
- "version": "1.1.62",
3
+ "version": "2.0.1",
4
4
  "description": "Mock base implementation for @thi.ng/hdom API",
5
+ "type": "module",
5
6
  "module": "./index.js",
6
- "main": "./lib/index.js",
7
- "umd:main": "./lib/index.umd.js",
8
7
  "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "https://github.com/thi-ng/umbrella.git"
@@ -24,29 +24,23 @@
24
24
  "author": "Karsten Schmidt <k+npm@thi.ng>",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
- "build": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module",
28
- "build:release": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module all",
29
- "build:es6": "tsc --declaration",
30
- "build:test": "rimraf build && tsc -p test/tsconfig.json",
31
- "build:check": "tsc --isolatedModules --noEmit",
32
- "test": "mocha test",
33
- "cover": "nyc mocha test && nyc report --reporter=lcov",
34
- "clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
35
- "doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
36
- "doc": "typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf *.js *.d.ts *.map doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
37
30
  "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
38
- "pub": "yarn build:release && yarn publish --access public"
31
+ "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
+ "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
+ "pub": "yarn build && yarn publish --access public",
34
+ "test": "testament test"
39
35
  },
40
36
  "dependencies": {
41
- "@thi.ng/api": "^7.1.9",
42
- "@thi.ng/checks": "^2.9.10",
43
- "@thi.ng/hdom": "^8.2.30"
37
+ "@thi.ng/api": "^8.0.1",
38
+ "@thi.ng/checks": "^3.0.1",
39
+ "@thi.ng/hdom": "^9.0.1"
40
+ },
41
+ "devDependencies": {
42
+ "@thi.ng/testament": "^0.1.1"
44
43
  },
45
- "files": [
46
- "*.js",
47
- "*.d.ts",
48
- "lib"
49
- ],
50
44
  "keywords": [
51
45
  "datastructure",
52
46
  "typescript"
@@ -54,11 +48,22 @@
54
48
  "publishConfig": {
55
49
  "access": "public"
56
50
  },
57
- "sideEffects": false,
51
+ "engines": {
52
+ "node": ">=12.7"
53
+ },
54
+ "files": [
55
+ "*.js",
56
+ "*.d.ts"
57
+ ],
58
+ "exports": {
59
+ ".": {
60
+ "import": "./index.js"
61
+ }
62
+ },
58
63
  "thi.ng": {
59
64
  "parent": "@thi.ng/hdom",
60
65
  "status": "alpha",
61
66
  "year": 2018
62
67
  },
63
- "gitHead": "538019e9d8ca6c5fee4754af93ad454c0674dc72"
68
+ "gitHead": "2e6b3d7c0f4c5686c1e9bdb4902ed7d3f90bcc19"
64
69
  }
package/lib/index.js DELETED
@@ -1,201 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var checks = require('@thi.ng/checks');
6
- var hdom = require('@thi.ng/hdom');
7
-
8
- const TEXT = Symbol();
9
- class HDOMNode {
10
- constructor(tag, attribs = {}) {
11
- this.tag = tag;
12
- this.children = [];
13
- this._children = [];
14
- this.attribs = attribs;
15
- this.listeners = {};
16
- }
17
- get textContent() {
18
- const res = [];
19
- for (let c of this._children) {
20
- if (c.isText()) {
21
- res.push(c.body);
22
- }
23
- }
24
- return res.join("");
25
- }
26
- set textContent(body) {
27
- const txt = new HDOMNode(TEXT);
28
- txt.body = body;
29
- this._children = [txt];
30
- this.children = [];
31
- }
32
- isText() {
33
- return this.tag === TEXT;
34
- }
35
- insertBefore(c, i) {
36
- const existing = this.children[i];
37
- if (existing) {
38
- !this.isText() && this.children.splice(i, 0, c);
39
- this._children.splice(this._children.indexOf(existing), 0, c);
40
- }
41
- else {
42
- this.appendChild(c);
43
- }
44
- return c;
45
- }
46
- appendChild(c) {
47
- !c.isText() && this.children.push(c);
48
- this._children.push(c);
49
- return c;
50
- }
51
- removeChild(i) {
52
- const c = this.children[i];
53
- if (c) {
54
- this.children.splice(i, 1);
55
- this._children.splice(this._children.indexOf(c), 1);
56
- }
57
- }
58
- getElementById(id) {
59
- if (this.attribs.id === id)
60
- return this;
61
- let c;
62
- for (c of this.children) {
63
- c = c.getElementById(id);
64
- if (c)
65
- return c;
66
- }
67
- return null;
68
- }
69
- toHiccup() {
70
- if (this.isText()) {
71
- return this.body;
72
- }
73
- const attr = Object.assign({}, this.attribs);
74
- this.style && (attr.style = this.style);
75
- this.value != null && (attr.value = this.value);
76
- this.checked && (attr.checked = true);
77
- return [this.tag, attr, ...this._children.map((c) => c.toHiccup())];
78
- }
79
- }
80
- class MockHDOM {
81
- constructor(root) {
82
- this.root = root;
83
- }
84
- normalizeTree(opts, tree) {
85
- return hdom.normalizeTree(opts, tree);
86
- }
87
- createTree(opts, parent, tree, child) {
88
- return hdom.createTree(opts, this, parent, tree, child);
89
- }
90
- hydrateTree(opts, parent, tree, child) {
91
- return hdom.hydrateTree(opts, this, parent, tree, child);
92
- }
93
- diffTree(opts, parent, prev, curr, child) {
94
- hdom.diffTree(opts, this, parent, prev, curr, child);
95
- }
96
- createElement(parent, tag, attribs, insert) {
97
- const el = new HDOMNode(tag);
98
- if (parent) {
99
- if (insert == null) {
100
- parent.appendChild(el);
101
- }
102
- else {
103
- parent.insertBefore(el, insert);
104
- }
105
- }
106
- if (attribs) {
107
- this.setAttribs(el, attribs);
108
- }
109
- return el;
110
- }
111
- createTextElement(parent, content) {
112
- const el = new HDOMNode(TEXT);
113
- el.body = content;
114
- parent && parent.appendChild(el);
115
- return el;
116
- }
117
- getElementById(id) {
118
- return this.root.getElementById(id);
119
- }
120
- replaceChild(opts, parent, child, tree) {
121
- this.removeChild(parent, child);
122
- return this.createTree(opts, parent, tree, child);
123
- }
124
- getChild(parent, i) {
125
- return parent.children[i];
126
- }
127
- removeChild(parent, i) {
128
- parent.removeChild(i);
129
- }
130
- setAttribs(el, attribs) {
131
- for (let k in attribs) {
132
- this.setAttrib(el, k, attribs[k], attribs);
133
- }
134
- return el;
135
- }
136
- setAttrib(el, id, val, attribs) {
137
- if (id.startsWith("__"))
138
- return;
139
- const isListener = id.indexOf("on") === 0;
140
- if (!isListener && typeof val === "function") {
141
- val = val(attribs);
142
- }
143
- if (val !== undefined && val !== false) {
144
- switch (id) {
145
- case "style":
146
- this.setStyle(el, val);
147
- break;
148
- case "value":
149
- el.value = val;
150
- break;
151
- case "checked":
152
- el[id] = val;
153
- break;
154
- default:
155
- if (isListener) {
156
- const lid = id.substr(2);
157
- const listeners = el.listeners[lid];
158
- (listeners || (el.listeners[lid] = [])).push(val);
159
- }
160
- else {
161
- el.attribs[id] = val;
162
- }
163
- }
164
- }
165
- else {
166
- el[id] != null
167
- ? (el[id] = null)
168
- : delete el.attribs[id];
169
- }
170
- return el;
171
- }
172
- removeAttribs(el, attribs, prev) {
173
- for (let i = attribs.length; --i >= 0;) {
174
- const a = attribs[i];
175
- if (a.indexOf("on") === 0) {
176
- const listeners = el.listeners[a.substr(2)];
177
- if (listeners) {
178
- const i = listeners.indexOf(prev[a]);
179
- i >= 0 && listeners.splice(i, 1);
180
- }
181
- }
182
- else {
183
- el[a] ? (el[a] = null) : delete el.attribs[a];
184
- }
185
- }
186
- }
187
- setContent(el, value) {
188
- el.textContent = value;
189
- }
190
- setStyle(el, rules) {
191
- for (let r in rules) {
192
- let v = rules[r];
193
- checks.isFunction(v) && (v = v(rules));
194
- v != null && ((el.style || (el.style = {}))[r] = v);
195
- }
196
- }
197
- }
198
-
199
- exports.HDOMNode = HDOMNode;
200
- exports.MockHDOM = MockHDOM;
201
- exports.TEXT = TEXT;
package/lib/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../index.js"],"sourcesContent":null,"names":["normalizeTree","createTree","hydrateTree","diffTree","isFunction"],"mappings":";;;;;;;AAEY,MAAC,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C,CAAC,CAAC;AAChE,SAAS;AACT,KAAK;AACL;;;;;;"}
package/lib/index.umd.js DELETED
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@thi.ng/checks"),require("@thi.ng/hdom")):"function"==typeof define&&define.amd?define(["exports","@thi.ng/checks","@thi.ng/hdom"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).thi=e.thi||{},e.thi.ng=e.thi.ng||{},e.thi.ng.hdomMock={}),e.thi.ng.checks,e.thi.ng.hdom)}(this,(function(e,t,i){"use strict";const s=Symbol();class n{constructor(e,t={}){this.tag=e,this.children=[],this._children=[],this.attribs=t,this.listeners={}}get textContent(){const e=[];for(let t of this._children)t.isText()&&e.push(t.body);return e.join("")}set textContent(e){const t=new n(s);t.body=e,this._children=[t],this.children=[]}isText(){return this.tag===s}insertBefore(e,t){const i=this.children[t];return i?(!this.isText()&&this.children.splice(t,0,e),this._children.splice(this._children.indexOf(i),0,e)):this.appendChild(e),e}appendChild(e){return!e.isText()&&this.children.push(e),this._children.push(e),e}removeChild(e){const t=this.children[e];t&&(this.children.splice(e,1),this._children.splice(this._children.indexOf(t),1))}getElementById(e){if(this.attribs.id===e)return this;let t;for(t of this.children)if(t=t.getElementById(e),t)return t;return null}toHiccup(){if(this.isText())return this.body;const e=Object.assign({},this.attribs);return this.style&&(e.style=this.style),null!=this.value&&(e.value=this.value),this.checked&&(e.checked=!0),[this.tag,e,...this._children.map((e=>e.toHiccup()))]}}e.HDOMNode=n,e.MockHDOM=class{constructor(e){this.root=e}normalizeTree(e,t){return i.normalizeTree(e,t)}createTree(e,t,s,n){return i.createTree(e,this,t,s,n)}hydrateTree(e,t,s,n){return i.hydrateTree(e,this,t,s,n)}diffTree(e,t,s,n,r){i.diffTree(e,this,t,s,n,r)}createElement(e,t,i,s){const r=new n(t);return e&&(null==s?e.appendChild(r):e.insertBefore(r,s)),i&&this.setAttribs(r,i),r}createTextElement(e,t){const i=new n(s);return i.body=t,e&&e.appendChild(i),i}getElementById(e){return this.root.getElementById(e)}replaceChild(e,t,i,s){return this.removeChild(t,i),this.createTree(e,t,s,i)}getChild(e,t){return e.children[t]}removeChild(e,t){e.removeChild(t)}setAttribs(e,t){for(let i in t)this.setAttrib(e,i,t[i],t);return e}setAttrib(e,t,i,s){if(t.startsWith("__"))return;const n=0===t.indexOf("on");if(n||"function"!=typeof i||(i=i(s)),void 0!==i&&!1!==i)switch(t){case"style":this.setStyle(e,i);break;case"value":e.value=i;break;case"checked":e[t]=i;break;default:if(n){const s=t.substr(2);(e.listeners[s]||(e.listeners[s]=[])).push(i)}else e.attribs[t]=i}else null!=e[t]?e[t]=null:delete e.attribs[t];return e}removeAttribs(e,t,i){for(let s=t.length;--s>=0;){const n=t[s];if(0===n.indexOf("on")){const t=e.listeners[n.substr(2)];if(t){const e=t.indexOf(i[n]);e>=0&&t.splice(e,1)}}else e[n]?e[n]=null:delete e.attribs[n]}}setContent(e,t){e.textContent=t}setStyle(e,i){for(let s in i){let n=i[s];t.isFunction(n)&&(n=n(i)),null!=n&&((e.style||(e.style={}))[s]=n)}}},e.TEXT=s,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.umd.js","sources":["../index.js"],"sourcesContent":null,"names":["normalizeTree","createTree","hydrateTree","diffTree","isFunction"],"mappings":";;;;;;AAEY,UAAC,IAAI,GAAG,MAAM,GAAG;IACtB,MAAM,QAAQ,CAAC;IACtB,IAAI,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE;IACnC,QAAQ,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACvB,QAAQ,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;IAC3B,QAAQ,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IAC5B,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC/B,QAAQ,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IAC5B,KA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