@teambit/export 0.0.881 → 0.0.882
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/dist/export-cmd.js +0 -32
- package/dist/export-cmd.js.map +1 -1
- package/dist/export.aspect.js +0 -5
- package/dist/export.aspect.js.map +1 -1
- package/dist/export.composition.js +0 -6
- package/dist/export.composition.js.map +1 -1
- package/dist/export.main.runtime.js +45 -294
- package/dist/export.main.runtime.js.map +1 -1
- package/dist/index.js +0 -15
- package/dist/index.js.map +1 -1
- package/dist/resume-export-cmd.js +0 -13
- package/dist/resume-export-cmd.js.map +1 -1
- package/package-tar/teambit-export-0.0.882.tgz +0 -0
- package/package.json +6 -6
- package/{preview-1666409808293.js → preview-1666496165706.js} +2 -2
- package/package-tar/teambit-export-0.0.881.tgz +0 -0
package/dist/export-cmd.js
CHANGED
|
@@ -1,66 +1,47 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
require("core-js/modules/es.array.iterator.js");
|
|
6
|
-
|
|
7
5
|
require("core-js/modules/es.promise.js");
|
|
8
|
-
|
|
9
6
|
Object.defineProperty(exports, "__esModule", {
|
|
10
7
|
value: true
|
|
11
8
|
});
|
|
12
9
|
exports.ExportCmd = void 0;
|
|
13
|
-
|
|
14
10
|
function _defineProperty2() {
|
|
15
11
|
const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
|
-
|
|
17
12
|
_defineProperty2 = function () {
|
|
18
13
|
return data;
|
|
19
14
|
};
|
|
20
|
-
|
|
21
15
|
return data;
|
|
22
16
|
}
|
|
23
|
-
|
|
24
17
|
function _ejectTemplate() {
|
|
25
18
|
const data = _interopRequireDefault(require("@teambit/legacy/dist/cli/templates/eject-template"));
|
|
26
|
-
|
|
27
19
|
_ejectTemplate = function () {
|
|
28
20
|
return data;
|
|
29
21
|
};
|
|
30
|
-
|
|
31
22
|
return data;
|
|
32
23
|
}
|
|
33
|
-
|
|
34
24
|
function _constants() {
|
|
35
25
|
const data = require("@teambit/legacy/dist/constants");
|
|
36
|
-
|
|
37
26
|
_constants = function () {
|
|
38
27
|
return data;
|
|
39
28
|
};
|
|
40
|
-
|
|
41
29
|
return data;
|
|
42
30
|
}
|
|
43
|
-
|
|
44
31
|
function _chalk() {
|
|
45
32
|
const data = _interopRequireDefault(require("chalk"));
|
|
46
|
-
|
|
47
33
|
_chalk = function () {
|
|
48
34
|
return data;
|
|
49
35
|
};
|
|
50
|
-
|
|
51
36
|
return data;
|
|
52
37
|
}
|
|
53
|
-
|
|
54
38
|
function _lodash() {
|
|
55
39
|
const data = require("lodash");
|
|
56
|
-
|
|
57
40
|
_lodash = function () {
|
|
58
41
|
return data;
|
|
59
42
|
};
|
|
60
|
-
|
|
61
43
|
return data;
|
|
62
44
|
}
|
|
63
|
-
|
|
64
45
|
class ExportCmd {
|
|
65
46
|
constructor(exportMain) {
|
|
66
47
|
this.exportMain = exportMain;
|
|
@@ -81,7 +62,6 @@ class ExportCmd {
|
|
|
81
62
|
(0, _defineProperty2().default)(this, "group", 'collaborate');
|
|
82
63
|
(0, _defineProperty2().default)(this, "remoteOp", true);
|
|
83
64
|
}
|
|
84
|
-
|
|
85
65
|
async report([ids = []], {
|
|
86
66
|
eject = false,
|
|
87
67
|
all = false,
|
|
@@ -106,48 +86,38 @@ class ExportCmd {
|
|
|
106
86
|
resumeExportId: resume,
|
|
107
87
|
ignoreMissingArtifacts
|
|
108
88
|
});
|
|
109
|
-
|
|
110
89
|
if ((0, _lodash().isEmpty)(componentsIds) && (0, _lodash().isEmpty)(nonExistOnBitMap) && (0, _lodash().isEmpty)(missingScope)) {
|
|
111
90
|
return _chalk().default.yellow('nothing to export');
|
|
112
91
|
}
|
|
113
|
-
|
|
114
92
|
const exportOutput = () => {
|
|
115
93
|
if ((0, _lodash().isEmpty)(componentsIds)) return '';
|
|
116
94
|
const lanesOutput = exportedLanes.length ? ` from lane ${_chalk().default.bold(exportedLanes[0].name)}` : '';
|
|
117
95
|
return _chalk().default.green(`exported the following ${componentsIds.length} component(s)${lanesOutput}:\n${_chalk().default.bold(componentsIds.join('\n'))}`);
|
|
118
96
|
};
|
|
119
|
-
|
|
120
97
|
const nonExistOnBitMapOutput = () => {
|
|
121
98
|
// if includeDependencies is true, the nonExistOnBitMap might be the dependencies
|
|
122
99
|
if ((0, _lodash().isEmpty)(nonExistOnBitMap)) return '';
|
|
123
100
|
const idsStr = nonExistOnBitMap.map(id => id.toString()).join(', ');
|
|
124
101
|
return _chalk().default.yellow(`${idsStr}\nexported successfully. bit did not update the workspace as the component files are not tracked. this might happen when a component was tracked in a different git branch. to fix it check if they where tracked in a different git branch, checkout to that branch and resync by running 'bit import'. or stay on your branch and track the components again using 'bit add'.\n`);
|
|
125
102
|
};
|
|
126
|
-
|
|
127
103
|
const removedOutput = () => {
|
|
128
104
|
if (!removedIds.length) return '';
|
|
129
|
-
|
|
130
105
|
const title = _chalk().default.bold(`\n\nthe following component(s) have been marked as removed on the remote\n`);
|
|
131
|
-
|
|
132
106
|
const idsStr = removedIds.join('\n');
|
|
133
107
|
return title + idsStr;
|
|
134
108
|
};
|
|
135
|
-
|
|
136
109
|
const missingScopeOutput = () => {
|
|
137
110
|
if ((0, _lodash().isEmpty)(missingScope)) return '';
|
|
138
111
|
const idsStr = missingScope.map(id => id.toString()).join(', ');
|
|
139
112
|
return _chalk().default.yellow(`the following component(s) were not exported: ${_chalk().default.bold(idsStr)}.\nplease specify <remote> to export them, or set a "defaultScope" in your workspace config\n\n`);
|
|
140
113
|
};
|
|
141
|
-
|
|
142
114
|
const ejectOutput = () => {
|
|
143
115
|
if (!ejectResults) return '';
|
|
144
116
|
const output = (0, _ejectTemplate().default)(ejectResults);
|
|
145
117
|
return `\n${output}`;
|
|
146
118
|
};
|
|
147
|
-
|
|
148
119
|
return nonExistOnBitMapOutput() + missingScopeOutput() + exportOutput() + ejectOutput() + removedOutput();
|
|
149
120
|
}
|
|
150
|
-
|
|
151
121
|
async json([ids = []], {
|
|
152
122
|
eject = false,
|
|
153
123
|
all = false,
|
|
@@ -167,9 +137,7 @@ class ExportCmd {
|
|
|
167
137
|
});
|
|
168
138
|
return results;
|
|
169
139
|
}
|
|
170
|
-
|
|
171
140
|
}
|
|
172
|
-
|
|
173
141
|
exports.ExportCmd = ExportCmd;
|
|
174
142
|
|
|
175
143
|
//# sourceMappingURL=export-cmd.js.map
|
package/dist/export-cmd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ExportCmd","constructor","exportMain","name","description","WILDCARD_HELP","report","ids","eject","all","allVersions","originDirectly","ignoreMissingArtifacts","resume","componentsIds","nonExistOnBitMap","removedIds","missingScope","exportedLanes","ejectResults","export","includeNonStaged","resumeExportId","isEmpty","chalk","yellow","exportOutput","lanesOutput","length","bold","green","join","nonExistOnBitMapOutput","idsStr","map","id","toString","removedOutput","title","missingScopeOutput","ejectOutput","output","ejectTemplate","json","results"],"sources":["export-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport ejectTemplate from '@teambit/legacy/dist/cli/templates/eject-template';\nimport { WILDCARD_HELP } from '@teambit/legacy/dist/constants';\nimport chalk from 'chalk';\nimport { isEmpty } from 'lodash';\nimport { ExportMain } from './export.main.runtime';\n\nexport class ExportCmd implements Command {\n name = 'export [component-patterns...]';\n description = 'export components from the workspace to remote scopes';\n arguments = [\n {\n name: 'component-patterns...',\n description:\n 'component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)',\n },\n ];\n extendedDescription = `bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n \\`bit export [id...]\\` => export the given ids to their current scope\n ${WILDCARD_HELP('export remote-scope')}`;\n alias = 'e';\n helpUrl = 'components/exporting-components';\n options = [\n [\n 'e',\n 'eject',\n 'replace the exported components with their corresponding packages (to use these components without further maintaining them)',\n ],\n [\n 'a',\n 'all',\n 'export all components, including non-staged (useful when components in the remote scope are corrupted or missing)',\n ],\n [\n '',\n 'all-versions',\n 'export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)',\n ],\n [\n '',\n 'origin-directly',\n 'EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!',\n ],\n [\n '',\n 'resume <string>',\n 'in case the previous export failed and suggested to resume with an export-id, enter the id',\n ],\n [\n '',\n 'ignore-missing-artifacts',\n \"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote\",\n ],\n ['j', 'json', 'show output in json format'],\n ] as CommandOptions;\n loader = true;\n migration = true;\n group = 'collaborate';\n remoteOp = true;\n\n constructor(private exportMain: ExportMain) {}\n\n async report(\n [ids = []]: [string[]],\n {\n eject = false,\n all = false,\n allVersions = false,\n originDirectly = false,\n ignoreMissingArtifacts = false,\n resume,\n }: any\n ): Promise<string> {\n const { componentsIds, nonExistOnBitMap, removedIds, missingScope, exportedLanes, ejectResults } =\n await this.exportMain.export({\n ids,\n eject,\n includeNonStaged: all || allVersions,\n allVersions: allVersions || all,\n originDirectly,\n resumeExportId: resume,\n ignoreMissingArtifacts,\n });\n if (isEmpty(componentsIds) && isEmpty(nonExistOnBitMap) && isEmpty(missingScope)) {\n return chalk.yellow('nothing to export');\n }\n const exportOutput = () => {\n if (isEmpty(componentsIds)) return '';\n const lanesOutput = exportedLanes.length ? ` from lane ${chalk.bold(exportedLanes[0].name)}` : '';\n return chalk.green(\n `exported the following ${componentsIds.length} component(s)${lanesOutput}:\\n${chalk.bold(\n componentsIds.join('\\n')\n )}`\n );\n };\n const nonExistOnBitMapOutput = () => {\n // if includeDependencies is true, the nonExistOnBitMap might be the dependencies\n if (isEmpty(nonExistOnBitMap)) return '';\n const idsStr = nonExistOnBitMap.map((id) => id.toString()).join(', ');\n return chalk.yellow(\n `${idsStr}\\nexported successfully. bit did not update the workspace as the component files are not tracked. this might happen when a component was tracked in a different git branch. to fix it check if they where tracked in a different git branch, checkout to that branch and resync by running 'bit import'. or stay on your branch and track the components again using 'bit add'.\\n`\n );\n };\n const removedOutput = () => {\n if (!removedIds.length) return '';\n const title = chalk.bold(`\\n\\nthe following component(s) have been marked as removed on the remote\\n`);\n const idsStr = removedIds.join('\\n');\n return title + idsStr;\n };\n const missingScopeOutput = () => {\n if (isEmpty(missingScope)) return '';\n const idsStr = missingScope.map((id) => id.toString()).join(', ');\n return chalk.yellow(\n `the following component(s) were not exported: ${chalk.bold(\n idsStr\n )}.\\nplease specify <remote> to export them, or set a \"defaultScope\" in your workspace config\\n\\n`\n );\n };\n const ejectOutput = () => {\n if (!ejectResults) return '';\n const output = ejectTemplate(ejectResults);\n return `\\n${output}`;\n };\n\n return nonExistOnBitMapOutput() + missingScopeOutput() + exportOutput() + ejectOutput() + removedOutput();\n }\n\n async json(\n [ids = []]: [string[]],\n {\n eject = false,\n all = false,\n allVersions = false,\n originDirectly = false,\n ignoreMissingArtifacts = false,\n resume,\n }: any\n ) {\n const results = await this.exportMain.export({\n ids,\n eject,\n includeNonStaged: all || allVersions,\n allVersions: allVersions || all,\n originDirectly,\n resumeExportId: resume,\n ignoreMissingArtifacts,\n });\n\n return results;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["ExportCmd","constructor","exportMain","name","description","WILDCARD_HELP","report","ids","eject","all","allVersions","originDirectly","ignoreMissingArtifacts","resume","componentsIds","nonExistOnBitMap","removedIds","missingScope","exportedLanes","ejectResults","export","includeNonStaged","resumeExportId","isEmpty","chalk","yellow","exportOutput","lanesOutput","length","bold","green","join","nonExistOnBitMapOutput","idsStr","map","id","toString","removedOutput","title","missingScopeOutput","ejectOutput","output","ejectTemplate","json","results"],"sources":["export-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport ejectTemplate from '@teambit/legacy/dist/cli/templates/eject-template';\nimport { WILDCARD_HELP } from '@teambit/legacy/dist/constants';\nimport chalk from 'chalk';\nimport { isEmpty } from 'lodash';\nimport { ExportMain } from './export.main.runtime';\n\nexport class ExportCmd implements Command {\n name = 'export [component-patterns...]';\n description = 'export components from the workspace to remote scopes';\n arguments = [\n {\n name: 'component-patterns...',\n description:\n 'component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)',\n },\n ];\n extendedDescription = `bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n \\`bit export [id...]\\` => export the given ids to their current scope\n ${WILDCARD_HELP('export remote-scope')}`;\n alias = 'e';\n helpUrl = 'components/exporting-components';\n options = [\n [\n 'e',\n 'eject',\n 'replace the exported components with their corresponding packages (to use these components without further maintaining them)',\n ],\n [\n 'a',\n 'all',\n 'export all components, including non-staged (useful when components in the remote scope are corrupted or missing)',\n ],\n [\n '',\n 'all-versions',\n 'export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)',\n ],\n [\n '',\n 'origin-directly',\n 'EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!',\n ],\n [\n '',\n 'resume <string>',\n 'in case the previous export failed and suggested to resume with an export-id, enter the id',\n ],\n [\n '',\n 'ignore-missing-artifacts',\n \"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote\",\n ],\n ['j', 'json', 'show output in json format'],\n ] as CommandOptions;\n loader = true;\n migration = true;\n group = 'collaborate';\n remoteOp = true;\n\n constructor(private exportMain: ExportMain) {}\n\n async report(\n [ids = []]: [string[]],\n {\n eject = false,\n all = false,\n allVersions = false,\n originDirectly = false,\n ignoreMissingArtifacts = false,\n resume,\n }: any\n ): Promise<string> {\n const { componentsIds, nonExistOnBitMap, removedIds, missingScope, exportedLanes, ejectResults } =\n await this.exportMain.export({\n ids,\n eject,\n includeNonStaged: all || allVersions,\n allVersions: allVersions || all,\n originDirectly,\n resumeExportId: resume,\n ignoreMissingArtifacts,\n });\n if (isEmpty(componentsIds) && isEmpty(nonExistOnBitMap) && isEmpty(missingScope)) {\n return chalk.yellow('nothing to export');\n }\n const exportOutput = () => {\n if (isEmpty(componentsIds)) return '';\n const lanesOutput = exportedLanes.length ? ` from lane ${chalk.bold(exportedLanes[0].name)}` : '';\n return chalk.green(\n `exported the following ${componentsIds.length} component(s)${lanesOutput}:\\n${chalk.bold(\n componentsIds.join('\\n')\n )}`\n );\n };\n const nonExistOnBitMapOutput = () => {\n // if includeDependencies is true, the nonExistOnBitMap might be the dependencies\n if (isEmpty(nonExistOnBitMap)) return '';\n const idsStr = nonExistOnBitMap.map((id) => id.toString()).join(', ');\n return chalk.yellow(\n `${idsStr}\\nexported successfully. bit did not update the workspace as the component files are not tracked. this might happen when a component was tracked in a different git branch. to fix it check if they where tracked in a different git branch, checkout to that branch and resync by running 'bit import'. or stay on your branch and track the components again using 'bit add'.\\n`\n );\n };\n const removedOutput = () => {\n if (!removedIds.length) return '';\n const title = chalk.bold(`\\n\\nthe following component(s) have been marked as removed on the remote\\n`);\n const idsStr = removedIds.join('\\n');\n return title + idsStr;\n };\n const missingScopeOutput = () => {\n if (isEmpty(missingScope)) return '';\n const idsStr = missingScope.map((id) => id.toString()).join(', ');\n return chalk.yellow(\n `the following component(s) were not exported: ${chalk.bold(\n idsStr\n )}.\\nplease specify <remote> to export them, or set a \"defaultScope\" in your workspace config\\n\\n`\n );\n };\n const ejectOutput = () => {\n if (!ejectResults) return '';\n const output = ejectTemplate(ejectResults);\n return `\\n${output}`;\n };\n\n return nonExistOnBitMapOutput() + missingScopeOutput() + exportOutput() + ejectOutput() + removedOutput();\n }\n\n async json(\n [ids = []]: [string[]],\n {\n eject = false,\n all = false,\n allVersions = false,\n originDirectly = false,\n ignoreMissingArtifacts = false,\n resume,\n }: any\n ) {\n const results = await this.exportMain.export({\n ids,\n eject,\n includeNonStaged: all || allVersions,\n allVersions: allVersions || all,\n originDirectly,\n resumeExportId: resume,\n ignoreMissingArtifacts,\n });\n\n return results;\n }\n}\n"],"mappings":";;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MAC/BE,cAAc;MACdW,cAAc,EAAET,MAAM;MACtBD;IACF,CAAC,CAAC;IAEF,OAAOgC,OAAO;EAChB;AACF;AAAC"}
|
package/dist/export.aspect.js
CHANGED
|
@@ -4,21 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.ExportAspect = void 0;
|
|
7
|
-
|
|
8
7
|
function _harmony() {
|
|
9
8
|
const data = require("@teambit/harmony");
|
|
10
|
-
|
|
11
9
|
_harmony = function () {
|
|
12
10
|
return data;
|
|
13
11
|
};
|
|
14
|
-
|
|
15
12
|
return data;
|
|
16
13
|
}
|
|
17
|
-
|
|
18
14
|
const ExportAspect = _harmony().Aspect.create({
|
|
19
15
|
id: 'teambit.scope/export'
|
|
20
16
|
});
|
|
21
|
-
|
|
22
17
|
exports.ExportAspect = ExportAspect;
|
|
23
18
|
|
|
24
19
|
//# sourceMappingURL=export.aspect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ExportAspect","Aspect","create","id"],"sources":["export.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const ExportAspect = Aspect.create({\n id: 'teambit.scope/export',\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["ExportAspect","Aspect","create","id"],"sources":["export.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const ExportAspect = Aspect.create({\n id: 'teambit.scope/export',\n});\n"],"mappings":";;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,YAAY,GAAGC,iBAAM,CAACC,MAAM,CAAC;EACxCC,EAAE,EAAE;AACN,CAAC,CAAC;AAAC"}
|
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.Logo = void 0;
|
|
9
|
-
|
|
10
8
|
function _react() {
|
|
11
9
|
const data = _interopRequireDefault(require("react"));
|
|
12
|
-
|
|
13
10
|
_react = function () {
|
|
14
11
|
return data;
|
|
15
12
|
};
|
|
16
|
-
|
|
17
13
|
return data;
|
|
18
14
|
}
|
|
19
|
-
|
|
20
15
|
const Logo = () => /*#__PURE__*/_react().default.createElement("div", {
|
|
21
16
|
style: {
|
|
22
17
|
height: '100%',
|
|
@@ -29,7 +24,6 @@ const Logo = () => /*#__PURE__*/_react().default.createElement("div", {
|
|
|
29
24
|
},
|
|
30
25
|
src: "https://static.bit.dev/extensions-icons/export.svg"
|
|
31
26
|
}));
|
|
32
|
-
|
|
33
27
|
exports.Logo = Logo;
|
|
34
28
|
|
|
35
29
|
//# sourceMappingURL=export.composition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Logo","height","display","justifyContent","width"],"sources":["export.composition.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/export.svg\" />\n </div>\n);\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["Logo","height","display","justifyContent","width"],"sources":["export.composition.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/export.svg\" />\n </div>\n);\n"],"mappings":";;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,IAAI,GAAG,mBAClB;EAAK,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxE;EAAK,KAAK,EAAE;IAAEC,KAAK,EAAE;EAAG,CAAE;EAAC,GAAG,EAAC;AAAoD,EAAG,CAEzF;AAAC"}
|