@teleporthq/teleport-plugin-jsx-head-config 0.36.6 → 0.37.2

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.
@@ -1,4 +1,4 @@
1
- import { ComponentPluginFactory, ComponentPlugin } from '@teleporthq/teleport-types';
1
+ import { ComponentPluginFactory, ComponentPlugin, UIDLExternalDependency } from '@teleporthq/teleport-types';
2
2
  interface JSXHeadPluginConfig {
3
3
  componentChunkName?: string;
4
4
  configTagIdentifier?: string;
@@ -7,6 +7,7 @@ interface JSXHeadPluginConfig {
7
7
  isExternalPackage?: boolean;
8
8
  isDefaultImport?: boolean;
9
9
  }
10
+ export declare const USE_TRANSLATIONS_HOOK: UIDLExternalDependency;
10
11
  export declare const createJSXHeadConfigPlugin: ComponentPluginFactory<JSXHeadPluginConfig>;
11
12
  declare const _default: ComponentPlugin;
12
13
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAGhB,MAAM,4BAA4B,CAAA;AAInC,UAAU,mBAAmB;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,0BAA0B,CAAC,EAAE,MAAM,CAAA;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,eAAO,MAAM,yBAAyB,EAAE,sBAAsB,CAAC,mBAAmB,CA8IjF,CAAA;;AAED,wBAA0C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAGf,sBAAsB,EACvB,MAAM,4BAA4B,CAAA;AAInC,UAAU,mBAAmB;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,0BAA0B,CAAC,EAAE,MAAM,CAAA;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,eAAO,MAAM,qBAAqB,EAAE,sBAUnC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,sBAAsB,CAAC,mBAAmB,CA+LjF,CAAA;;AAED,wBAA0C"}
package/dist/cjs/index.js CHANGED
@@ -70,14 +70,26 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
70
70
  }
71
71
  };
72
72
  Object.defineProperty(exports, "__esModule", { value: true });
73
- exports.createJSXHeadConfigPlugin = void 0;
73
+ exports.createJSXHeadConfigPlugin = exports.USE_TRANSLATIONS_HOOK = void 0;
74
74
  var teleport_plugin_common_1 = require("@teleporthq/teleport-plugin-common");
75
75
  var types = __importStar(require("@babel/types"));
76
+ exports.USE_TRANSLATIONS_HOOK = {
77
+ type: 'package',
78
+ path: 'next-intl',
79
+ // next-intl version above to 2.10.0 has issues with next@12 and react@17 which we use.
80
+ // The latest version is 3.20 something, which relies on next/navigation. Which is only available in next@13.
81
+ // Which we don't use. So we are sticking with 2.10.0 for now.'
82
+ version: '2.10.0',
83
+ meta: {
84
+ namedImport: true,
85
+ },
86
+ };
76
87
  var createJSXHeadConfigPlugin = function (config) {
77
88
  var _a = config || {}, _b = _a.componentChunkName, componentChunkName = _b === void 0 ? 'jsx-component' : _b, _c = _a.configTagIdentifier, configTagIdentifier = _c === void 0 ? 'Helmet' : _c, _d = _a.configTagDependencyPath, configTagDependencyPath = _d === void 0 ? 'react-helmet' : _d, _e = _a.configTagDependencyVersion, configTagDependencyVersion = _e === void 0 ? '^6.1.0' : _e, _f = _a.isExternalPackage, isExternalPackage = _f === void 0 ? true : _f, _g = _a.isDefaultImport, isDefaultImport = _g === void 0 ? false : _g;
78
89
  var jsxHeadConfigPlugin = function (structure) { return __awaiter(void 0, void 0, void 0, function () {
79
- var uidl, chunks, dependencies, componentChunk, headASTTags, titleAST, headConfigTag, rootKey, rootElement;
80
- return __generator(this, function (_a) {
90
+ var uidl, chunks, dependencies, componentChunk, reactHooks, headASTTags, translationsAdded, _a, titleAST, hasTranslation, headConfigTag, rootKey, rootElement, componentBody;
91
+ var _b, _c, _d, _e;
92
+ return __generator(this, function (_f) {
81
93
  uidl = structure.uidl, chunks = structure.chunks, dependencies = structure.dependencies;
82
94
  componentChunk = chunks.find(function (chunk) { return chunk.name === componentChunkName; });
83
95
  if (!componentChunk) {
@@ -86,9 +98,16 @@ var createJSXHeadConfigPlugin = function (config) {
86
98
  if (!uidl.seo) {
87
99
  return [2 /*return*/, structure];
88
100
  }
101
+ reactHooks = [];
89
102
  headASTTags = [];
103
+ translationsAdded = false;
90
104
  if (uidl.seo.title) {
91
- titleAST = generateTitleAST(uidl.seo.title);
105
+ _a = generateTitleAST(uidl.seo.title), titleAST = _a.titleAST, hasTranslation = _a.hasTranslation;
106
+ if (hasTranslation) {
107
+ structure.dependencies.useTranslations = exports.USE_TRANSLATIONS_HOOK;
108
+ reactHooks.push(getTranslationsAST());
109
+ translationsAdded = true;
110
+ }
92
111
  headASTTags.push(titleAST);
93
112
  }
94
113
  if (uidl.seo.metaTags) {
@@ -96,7 +115,12 @@ var createJSXHeadConfigPlugin = function (config) {
96
115
  var metaAST = teleport_plugin_common_1.ASTBuilders.createSelfClosingJSXTag('meta');
97
116
  Object.keys(tag).forEach(function (key) {
98
117
  var value = tag[key];
99
- addAttributeToMetaTag(metaAST, key, value);
118
+ var translationUsed = addAttributeToMetaTag(metaAST, key, value).translationUsed;
119
+ if (translationUsed && !translationsAdded) {
120
+ structure.dependencies.useTranslations = exports.USE_TRANSLATIONS_HOOK;
121
+ reactHooks.push(getTranslationsAST());
122
+ translationsAdded = true;
123
+ }
100
124
  });
101
125
  headASTTags.push(metaAST);
102
126
  });
@@ -124,46 +148,67 @@ var createJSXHeadConfigPlugin = function (config) {
124
148
  },
125
149
  }));
126
150
  }
151
+ componentBody = (_d = (_c = (_b = componentChunk.content
152
+ .declarations) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.init) === null || _d === void 0 ? void 0 : _d.body;
153
+ (_e = componentBody === null || componentBody === void 0 ? void 0 : componentBody.body) === null || _e === void 0 ? void 0 : _e.unshift.apply(_e, reactHooks);
127
154
  return [2 /*return*/, structure];
128
155
  });
129
156
  }); };
157
+ var getTranslationsAST = function () {
158
+ return types.variableDeclaration('const', [
159
+ types.variableDeclarator(types.identifier('translate'), types.callExpression(types.identifier('useTranslations'), [])),
160
+ ]);
161
+ };
130
162
  var addAttributeToMetaTag = function (metaTag, key, value) {
131
163
  var _a;
132
164
  if (typeof value === 'string') {
133
165
  teleport_plugin_common_1.ASTUtils.addAttributeToJSXTag(metaTag, key, value);
134
- return;
166
+ return { translationUsed: false };
135
167
  }
136
168
  var isDynamic = value.type === 'dynamic';
137
169
  if (!isDynamic) {
138
170
  teleport_plugin_common_1.ASTUtils.addAttributeToJSXTag(metaTag, key, value.content.toString());
139
- return;
171
+ return { translationUsed: false };
140
172
  }
141
- if (value.content.referenceType !== 'prop') {
142
- throw new Error("Only prop references are supported for dynamic meta tags");
173
+ if (value.content.referenceType !== 'prop' && value.content.referenceType !== 'locale') {
174
+ throw new Error("Only prop and locale references are supported for dynamic meta tags");
143
175
  }
144
- var content = "props";
145
- (_a = value.content.refPath) === null || _a === void 0 ? void 0 : _a.forEach(function (pathItem) {
146
- content = content.concat("?.".concat(pathItem));
147
- });
148
- metaTag.openingElement.attributes.push(types.jsxAttribute(types.jsxIdentifier(key), types.jsxExpressionContainer(types.identifier(content))));
176
+ if (value.content.referenceType === 'prop') {
177
+ var content_1 = "props";
178
+ (_a = value.content.refPath) === null || _a === void 0 ? void 0 : _a.forEach(function (pathItem) {
179
+ content_1 = content_1.concat("?.".concat(pathItem));
180
+ });
181
+ metaTag.openingElement.attributes.push(types.jsxAttribute(types.jsxIdentifier(key), types.jsxExpressionContainer(types.identifier(content_1))));
182
+ return { translationUsed: false };
183
+ }
184
+ var refRawExpression = types.callExpression(types.memberExpression(types.identifier('translate'), types.identifier('raw')), [types.stringLiteral(value.content.id)]);
185
+ var expression = types.jsxExpressionContainer(refRawExpression);
186
+ metaTag.openingElement.attributes.push(types.jsxAttribute(types.jsxIdentifier(key), expression));
187
+ return { translationUsed: true };
149
188
  };
150
189
  var generateTitleAST = function (title) {
151
190
  var titleAST = teleport_plugin_common_1.ASTBuilders.createJSXTag('title');
152
191
  if (typeof title === 'string') {
153
192
  teleport_plugin_common_1.ASTUtils.addChildJSXText(titleAST, title);
154
- return titleAST;
193
+ return { titleAST: titleAST, hasTranslation: false };
155
194
  }
156
195
  var isDynamic = title.type === 'dynamic';
157
196
  if (!isDynamic) {
158
197
  teleport_plugin_common_1.ASTUtils.addChildJSXText(titleAST, title.content.toString());
159
- return titleAST;
198
+ return { titleAST: titleAST, hasTranslation: false };
199
+ }
200
+ if (title.content.referenceType !== 'prop' && title.content.referenceType !== 'locale') {
201
+ throw new Error("Only prop and locale references are supported for dynamic titles");
160
202
  }
161
- if (title.content.referenceType !== 'prop') {
162
- throw new Error("Only prop references are supported for dynamic titles");
203
+ if (title.content.referenceType === 'prop') {
204
+ var expresContainer = types.jsxExpressionContainer(teleport_plugin_common_1.ASTUtils.generateMemberExpressionASTFromBase(types.identifier('props'), title.content.refPath || []));
205
+ titleAST.children.push(expresContainer);
206
+ return { titleAST: titleAST, hasTranslation: false };
163
207
  }
164
- var expresContainer = types.jsxExpressionContainer(teleport_plugin_common_1.ASTUtils.generateMemberExpressionASTFromBase(types.identifier('props'), title.content.refPath || []));
165
- titleAST.children.push(expresContainer);
166
- return titleAST;
208
+ var refRawExpression = types.callExpression(types.memberExpression(types.identifier('translate'), types.identifier('raw')), [types.stringLiteral(title.content.id)]);
209
+ var expression = types.jsxExpressionContainer(refRawExpression);
210
+ titleAST.children.push(expression);
211
+ return { titleAST: titleAST, hasTranslation: true };
167
212
  };
168
213
  return jsxHeadConfigPlugin;
169
214
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,6EAA0E;AAC1E,kDAAqC;AAW9B,IAAM,yBAAyB,GAAgD,UAAC,MAAM;IACrF,IAAA,KAOF,MAAM,IAAI,EAAE,EANd,0BAAoC,EAApC,kBAAkB,mBAAG,eAAe,KAAA,EACpC,2BAA8B,EAA9B,mBAAmB,mBAAG,QAAQ,KAAA,EAC9B,+BAAwC,EAAxC,uBAAuB,mBAAG,cAAc,KAAA,EACxC,kCAAqC,EAArC,0BAA0B,mBAAG,QAAQ,KAAA,EACrC,yBAAwB,EAAxB,iBAAiB,mBAAG,IAAI,KAAA,EACxB,uBAAuB,EAAvB,eAAe,mBAAG,KAAK,KACT,CAAA;IAEhB,IAAM,mBAAmB,GAAoB,UAAO,SAAS;;;YACnD,IAAI,GAA2B,SAAS,KAApC,EAAE,MAAM,GAAmB,SAAS,OAA5B,EAAE,YAAY,GAAK,SAAS,aAAd,CAAc;YAE1C,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,IAAI,KAAK,kBAAkB,EAAjC,CAAiC,CAAC,CAAA;YAChF,IAAI,CAAC,cAAc,EAAE;gBACnB,MAAM,IAAI,KAAK,CACb,wCAAiC,kBAAkB,iCAA8B,CAClF,CAAA;aACF;YAED,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACb,sBAAO,SAAS,EAAA;aACjB;YAEK,WAAW,GAAG,EAAE,CAAA;YAEtB,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE;gBACZ,QAAQ,GAAG,gBAAgB,CAAC,I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BAAmB,CAAA;AAC5B,CAAC,CAAA;AA/LY,QAAA,yBAAyB,6BA+LrC;AAED,kBAAe,IAAA,iCAAyB,GAAE,CAAA"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","ebd41c9dba284cfad4987bc83aa953c586e5d13fa8fd61e4e1db20d9d2c5bfb8","397cecdda86d0436209c7e17818497c6699a003c3f608ca639ba96b008276a66","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","caa06ca877ed1a6cc58d471056673d72644b3cd98974f48a97225673167d64d6","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","61fe981de167fe34caf4bd80a3c120747844dddb519eaf8a79549d5f78081fb7","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","f2ad963e74d849aa62c16f4cae23b7f8f6e26844c0d61f42943086ee7e0cd896","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","61400df9aaf7b706a02c64ee2b30b499e9f6822d2852fcd8a28be6ae48bb7294","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","dbabf6441a0629843274eefb8bfce76265c0dfd5c37b0a440d67e5c785ac1abc","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","5e311ff10bfde2163e21741125d322a756c3869c44cf1f0edd7b9a1e4d7f08f9","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"49dd5560b76534055a530f7047a945c0cbb6ee7149a645ba82a11d861b9ee8ff","signature":"52ddce0cc60e0995975eae3813904b6177c0c9e63fe27100569dc66c57839cb6"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[154,156],[150,151],[150,151,152,153],[155],[157],[63],[99],[100,105,133],[101,112,113,120,130,141],[101,102,112,120],[103,142],[104,105,113,121],[105,130,138],[106,108,112,120],[99,107],[108,109],[112],[110,112],[99,112],[112,113,114,130,141],[112,113,114,127,130,133],[97,146],[108,112,115,120,130,141],[112,113,115,116,120,130,138,141],[115,117,130,138,141],[63,64,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148],[112,118],[119,141,146],[108,112,120,130],[121],[122],[99,123],[124,140,146],[125],[126],[112,127,128],[127,129,142,144],[100,112,130,131,132,133],[100,130,132],[130,131],[133],[134],[99,130],[112,136,137],[136,137],[105,120,130,138],[139],[120,140],[100,115,126,141],[105,142],[130,143],[119,144],[145],[100,105,112,114,123,130,141,144,146],[130,147],[74,78,141],[74,130,141],[69],[71,74,138,141],[120,138],[149],[69,149],[71,74,120,141],[66,67,70,73,100,112,130,141],[66,72],[70,74,100,133,141,149],[100,149],[90,100,149],[68,69,149],[74],[68,69,70,71,72,73,74,75,76,78,79,80,81,82,83,84,85,86,87,88,89,91,92,93,94,95,96],[74,81,82],[72,74,82,83],[73],[66,69,74],[74,78,82,83],[78],[72,74,77,141],[66,71,72,74,78,81],[100,130],[69,74,90,100,146,149],[48,49],[48],[48,49,51],[50,51,52,53,54,55,56,57,58,59,60],[48,57],[48,49,59],[48,49,61],[44],[44,45,46,47],[43],[43,44]],"referencedMap":[[157,1],[152,2],[154,3],[153,2],[156,4],[158,5],[63,6],[64,6],[99,7],[100,8],[101,9],[102,10],[103,11],[104,12],[105,13],[106,14],[107,15],[108,16],[109,16],[111,17],[110,18],[112,19],[113,20],[114,21],[98,22],[115,23],[116,24],[117,25],[149,26],[118,27],[119,28],[120,29],[121,30],[122,31],[123,32],[124,33],[125,34],[126,35],[127,36],[128,36],[129,37],[130,38],[132,39],[131,40],[133,41],[134,42],[135,43],[136,44],[137,45],[138,46],[139,47],[140,48],[141,49],[142,50],[143,51],[144,52],[145,53],[146,54],[147,55],[81,56],[88,57],[80,56],[95,58],[72,59],[71,60],[94,61],[89,62],[92,63],[74,64],[73,65],[69,66],[68,67],[91,68],[70,69],[75,70],[79,70],[97,71],[96,70],[83,72],[84,73],[86,74],[82,75],[85,76],[90,61],[77,77],[78,78],[87,79],[67,80],[93,81],[50,82],[53,83],[52,84],[61,85],[58,86],[57,83],[60,87],[59,82],[54,84],[56,82],[55,83],[62,88],[45,89],[48,90],[44,91],[47,92]],"exportedModulesMap":[[157,1],[152,2],[154,3],[153,2],[156,4],[158,5],[63,6],[64,6],[99,7],[100,8],[101,9],[102,10],[103,11],[104,12],[105,13],[106,14],[107,15],[108,16],[109,16],[111,17],[110,18],[112,19],[113,20],[114,21],[98,22],[115,23],[116,24],[117,25],[149,26],[118,27],[119,28],[120,29],[121,30],[122,31],[123,32],[124,33],[125,34],[126,35],[127,36],[128,36],[129,37],[130,38],[132,39],[131,40],[133,41],[134,42],[135,43],[136,44],[137,45],[138,46],[139,47],[140,48],[141,49],[142,50],[143,51],[144,52],[145,53],[146,54],[147,55],[81,56],[88,57],[80,56],[95,58],[72,59],[71,60],[94,61],[89,62],[92,63],[74,64],[73,65],[69,66],[68,67],[91,68],[70,69],[75,70],[79,70],[97,71],[96,70],[83,72],[84,73],[86,74],[82,75],[85,76],[90,61],[77,77],[78,78],[87,79],[67,80],[93,81],[50,82],[53,83],[52,84],[61,85],[58,86],[57,83],[60,87],[59,82],[54,84],[56,82],[55,83],[62,83],[45,89],[48,90],[44,91],[47,92]],"semanticDiagnosticsPerFile":[49,157,150,152,154,153,151,156,155,158,63,64,99,100,101,102,103,104,105,106,107,108,109,111,110,112,113,114,98,148,115,116,117,149,118,119,120,121,122,123,124,125,126,127,128,129,130,132,131,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,65,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,81,88,80,95,72,71,94,89,92,74,73,69,68,91,70,75,76,79,66,97,96,83,84,86,82,85,90,77,78,87,67,93,50,53,52,61,58,57,60,59,54,56,51,55,62,46,45,43,48,44,47]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/types.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","5f78f7e29d7e5d56b544c7a48595ba9433e3466ba26643b8973638fed93723d1","55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","dff2c83d88067791b25fd1c3126a753311ddb954c0ce6dd9c968faef32e84117","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","f29399e10ced2ff9ecbe07448806c44dfcb87dcf281cb7ccac3061174c3cae37","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","61fe981de167fe34caf4bd80a3c120747844dddb519eaf8a79549d5f78081fb7","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","f2ad963e74d849aa62c16f4cae23b7f8f6e26844c0d61f42943086ee7e0cd896","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","10b2bb0a74b12ecbab5003ff91aa8b3da674f81a5d72fdd6f998bfaf664948c8","86abd6ddb4cd3f82a3c167d53a47e2adbca6c92c91ebfe2980ded0d9812e0b18","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","dbabf6441a0629843274eefb8bfce76265c0dfd5c37b0a440d67e5c785ac1abc","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","954d24a996cb9a7af6dfb50f99e56cd0abfcc132dc425ea2c43a9d23a3470682","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"230bc8d437dab18453dff634e4260a1356437e9d39c95a57f1c923a5dff5f03a","signature":"482e5a4b9988719e3acb68f7f1b721007b6830ff589bbf4012aac945eb449e59"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[155,157],[151,152],[151,152,153,154],[156],[158],[64],[100],[101,106,134],[102,113,114,121,131,142],[102,103,113,121],[104,143],[105,106,114,122],[106,131,139],[107,109,113,121],[100,108],[109,110],[113],[111,113],[100,113],[113,114,115,131,142],[113,114,115,128,131,134],[98,147],[109,113,116,121,131,142],[113,114,116,117,121,131,139,142],[116,118,131,139,142],[64,65,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],[113,119],[120,142,147],[109,113,121,131],[122],[123],[100,124],[125,141,147],[126],[127],[113,128,129],[128,130,143,145],[101,113,131,132,133,134],[101,131,133],[131,132],[134],[135],[100,131],[113,137,138],[137,138],[106,121,131,139],[140],[121,141],[101,116,127,142],[106,143],[131,144],[120,145],[146],[101,106,113,115,124,131,142,145,147],[131,148],[75,79,142],[75,131,142],[70],[72,75,139,142],[121,139],[150],[70,150],[72,75,121,142],[67,68,71,74,101,113,131,142],[67,73],[71,75,101,134,142,150],[101,150],[91,101,150],[69,70,150],[75],[69,70,71,72,73,74,75,76,77,79,80,81,82,83,84,85,86,87,88,89,90,92,93,94,95,96,97],[75,82,83],[73,75,83,84],[74],[67,70,75],[75,79,83,84],[79],[73,75,78,142],[67,72,73,75,79,82],[101,131],[70,75,91,101,147,150],[45,49],[49],[45,49,51],[50,51,52,53,55,56,57,58,59,60,61],[49,58],[45,49,60],[45,49,51,54],[45,49,62],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[158,1],[153,2],[155,3],[154,2],[157,4],[159,5],[64,6],[65,6],[100,7],[101,8],[102,9],[103,10],[104,11],[105,12],[106,13],[107,14],[108,15],[109,16],[110,16],[112,17],[111,18],[113,19],[114,20],[115,21],[99,22],[116,23],[117,24],[118,25],[150,26],[119,27],[120,28],[121,29],[122,30],[123,31],[124,32],[125,33],[126,34],[127,35],[128,36],[129,36],[130,37],[131,38],[133,39],[132,40],[134,41],[135,42],[136,43],[137,44],[138,45],[139,46],[140,47],[141,48],[142,49],[143,50],[144,51],[145,52],[146,53],[147,54],[148,55],[82,56],[89,57],[81,56],[96,58],[73,59],[72,60],[95,61],[90,62],[93,63],[75,64],[74,65],[70,66],[69,67],[92,68],[71,69],[76,70],[80,70],[98,71],[97,70],[84,72],[85,73],[87,74],[83,75],[86,76],[91,61],[78,77],[79,78],[88,79],[68,80],[94,81],[50,82],[53,83],[52,84],[62,85],[59,86],[58,83],[61,87],[60,82],[55,88],[57,82],[56,83],[63,89],[46,90],[49,91],[44,92],[48,93]],"exportedModulesMap":[[158,1],[153,2],[155,3],[154,2],[157,4],[159,5],[64,6],[65,6],[100,7],[101,8],[102,9],[103,10],[104,11],[105,12],[106,13],[107,14],[108,15],[109,16],[110,16],[112,17],[111,18],[113,19],[114,20],[115,21],[99,22],[116,23],[117,24],[118,25],[150,26],[119,27],[120,28],[121,29],[122,30],[123,31],[124,32],[125,33],[126,34],[127,35],[128,36],[129,36],[130,37],[131,38],[133,39],[132,40],[134,41],[135,42],[136,43],[137,44],[138,45],[139,46],[140,47],[141,48],[142,49],[143,50],[144,51],[145,52],[146,53],[147,54],[148,55],[82,56],[89,57],[81,56],[96,58],[73,59],[72,60],[95,61],[90,62],[93,63],[75,64],[74,65],[70,66],[69,67],[92,68],[71,69],[76,70],[80,70],[98,71],[97,70],[84,72],[85,73],[87,74],[83,75],[86,76],[91,61],[78,77],[79,78],[88,79],[68,80],[94,81],[50,82],[53,83],[52,84],[62,85],[59,86],[58,83],[61,87],[60,82],[55,88],[57,82],[56,83],[63,83],[46,90],[49,91],[44,92],[48,93]],"semanticDiagnosticsPerFile":[45,158,151,153,155,154,152,157,156,159,64,65,100,101,102,103,104,105,106,107,108,109,110,112,111,113,114,115,99,149,116,117,118,150,119,120,121,122,123,124,125,126,127,128,129,130,131,133,132,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,66,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,82,89,81,96,73,72,95,90,93,75,74,70,69,92,71,76,77,80,67,98,97,84,85,87,83,86,91,78,79,88,68,94,50,53,52,62,59,58,61,60,55,57,51,56,54,63,47,46,43,49,44,48]},"version":"4.9.5"}
@@ -1,4 +1,4 @@
1
- import { ComponentPluginFactory, ComponentPlugin } from '@teleporthq/teleport-types';
1
+ import { ComponentPluginFactory, ComponentPlugin, UIDLExternalDependency } from '@teleporthq/teleport-types';
2
2
  interface JSXHeadPluginConfig {
3
3
  componentChunkName?: string;
4
4
  configTagIdentifier?: string;
@@ -7,6 +7,7 @@ interface JSXHeadPluginConfig {
7
7
  isExternalPackage?: boolean;
8
8
  isDefaultImport?: boolean;
9
9
  }
10
+ export declare const USE_TRANSLATIONS_HOOK: UIDLExternalDependency;
10
11
  export declare const createJSXHeadConfigPlugin: ComponentPluginFactory<JSXHeadPluginConfig>;
11
12
  declare const _default: ComponentPlugin;
12
13
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAGhB,MAAM,4BAA4B,CAAA;AAInC,UAAU,mBAAmB;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,0BAA0B,CAAC,EAAE,MAAM,CAAA;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,eAAO,MAAM,yBAAyB,EAAE,sBAAsB,CAAC,mBAAmB,CA8IjF,CAAA;;AAED,wBAA0C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAGf,sBAAsB,EACvB,MAAM,4BAA4B,CAAA;AAInC,UAAU,mBAAmB;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,0BAA0B,CAAC,EAAE,MAAM,CAAA;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,eAAO,MAAM,qBAAqB,EAAE,sBAUnC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,sBAAsB,CAAC,mBAAmB,CA+LjF,CAAA;;AAED,wBAA0C"}
package/dist/esm/index.js CHANGED
@@ -47,11 +47,23 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  import { ASTBuilders, ASTUtils } from '@teleporthq/teleport-plugin-common';
49
49
  import * as types from '@babel/types';
50
+ export var USE_TRANSLATIONS_HOOK = {
51
+ type: 'package',
52
+ path: 'next-intl',
53
+ // next-intl version above to 2.10.0 has issues with next@12 and react@17 which we use.
54
+ // The latest version is 3.20 something, which relies on next/navigation. Which is only available in next@13.
55
+ // Which we don't use. So we are sticking with 2.10.0 for now.'
56
+ version: '2.10.0',
57
+ meta: {
58
+ namedImport: true,
59
+ },
60
+ };
50
61
  export var createJSXHeadConfigPlugin = function (config) {
51
62
  var _a = config || {}, _b = _a.componentChunkName, componentChunkName = _b === void 0 ? 'jsx-component' : _b, _c = _a.configTagIdentifier, configTagIdentifier = _c === void 0 ? 'Helmet' : _c, _d = _a.configTagDependencyPath, configTagDependencyPath = _d === void 0 ? 'react-helmet' : _d, _e = _a.configTagDependencyVersion, configTagDependencyVersion = _e === void 0 ? '^6.1.0' : _e, _f = _a.isExternalPackage, isExternalPackage = _f === void 0 ? true : _f, _g = _a.isDefaultImport, isDefaultImport = _g === void 0 ? false : _g;
52
63
  var jsxHeadConfigPlugin = function (structure) { return __awaiter(void 0, void 0, void 0, function () {
53
- var uidl, chunks, dependencies, componentChunk, headASTTags, titleAST, headConfigTag, rootKey, rootElement;
54
- return __generator(this, function (_a) {
64
+ var uidl, chunks, dependencies, componentChunk, reactHooks, headASTTags, translationsAdded, _a, titleAST, hasTranslation, headConfigTag, rootKey, rootElement, componentBody;
65
+ var _b, _c, _d, _e;
66
+ return __generator(this, function (_f) {
55
67
  uidl = structure.uidl, chunks = structure.chunks, dependencies = structure.dependencies;
56
68
  componentChunk = chunks.find(function (chunk) { return chunk.name === componentChunkName; });
57
69
  if (!componentChunk) {
@@ -60,9 +72,16 @@ export var createJSXHeadConfigPlugin = function (config) {
60
72
  if (!uidl.seo) {
61
73
  return [2 /*return*/, structure];
62
74
  }
75
+ reactHooks = [];
63
76
  headASTTags = [];
77
+ translationsAdded = false;
64
78
  if (uidl.seo.title) {
65
- titleAST = generateTitleAST(uidl.seo.title);
79
+ _a = generateTitleAST(uidl.seo.title), titleAST = _a.titleAST, hasTranslation = _a.hasTranslation;
80
+ if (hasTranslation) {
81
+ structure.dependencies.useTranslations = USE_TRANSLATIONS_HOOK;
82
+ reactHooks.push(getTranslationsAST());
83
+ translationsAdded = true;
84
+ }
66
85
  headASTTags.push(titleAST);
67
86
  }
68
87
  if (uidl.seo.metaTags) {
@@ -70,7 +89,12 @@ export var createJSXHeadConfigPlugin = function (config) {
70
89
  var metaAST = ASTBuilders.createSelfClosingJSXTag('meta');
71
90
  Object.keys(tag).forEach(function (key) {
72
91
  var value = tag[key];
73
- addAttributeToMetaTag(metaAST, key, value);
92
+ var translationUsed = addAttributeToMetaTag(metaAST, key, value).translationUsed;
93
+ if (translationUsed && !translationsAdded) {
94
+ structure.dependencies.useTranslations = USE_TRANSLATIONS_HOOK;
95
+ reactHooks.push(getTranslationsAST());
96
+ translationsAdded = true;
97
+ }
74
98
  });
75
99
  headASTTags.push(metaAST);
76
100
  });
@@ -98,46 +122,67 @@ export var createJSXHeadConfigPlugin = function (config) {
98
122
  },
99
123
  }));
100
124
  }
125
+ componentBody = (_d = (_c = (_b = componentChunk.content
126
+ .declarations) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.init) === null || _d === void 0 ? void 0 : _d.body;
127
+ (_e = componentBody === null || componentBody === void 0 ? void 0 : componentBody.body) === null || _e === void 0 ? void 0 : _e.unshift.apply(_e, reactHooks);
101
128
  return [2 /*return*/, structure];
102
129
  });
103
130
  }); };
131
+ var getTranslationsAST = function () {
132
+ return types.variableDeclaration('const', [
133
+ types.variableDeclarator(types.identifier('translate'), types.callExpression(types.identifier('useTranslations'), [])),
134
+ ]);
135
+ };
104
136
  var addAttributeToMetaTag = function (metaTag, key, value) {
105
137
  var _a;
106
138
  if (typeof value === 'string') {
107
139
  ASTUtils.addAttributeToJSXTag(metaTag, key, value);
108
- return;
140
+ return { translationUsed: false };
109
141
  }
110
142
  var isDynamic = value.type === 'dynamic';
111
143
  if (!isDynamic) {
112
144
  ASTUtils.addAttributeToJSXTag(metaTag, key, value.content.toString());
113
- return;
145
+ return { translationUsed: false };
114
146
  }
115
- if (value.content.referenceType !== 'prop') {
116
- throw new Error("Only prop references are supported for dynamic meta tags");
147
+ if (value.content.referenceType !== 'prop' && value.content.referenceType !== 'locale') {
148
+ throw new Error("Only prop and locale references are supported for dynamic meta tags");
117
149
  }
118
- var content = "props";
119
- (_a = value.content.refPath) === null || _a === void 0 ? void 0 : _a.forEach(function (pathItem) {
120
- content = content.concat("?.".concat(pathItem));
121
- });
122
- metaTag.openingElement.attributes.push(types.jsxAttribute(types.jsxIdentifier(key), types.jsxExpressionContainer(types.identifier(content))));
150
+ if (value.content.referenceType === 'prop') {
151
+ var content_1 = "props";
152
+ (_a = value.content.refPath) === null || _a === void 0 ? void 0 : _a.forEach(function (pathItem) {
153
+ content_1 = content_1.concat("?.".concat(pathItem));
154
+ });
155
+ metaTag.openingElement.attributes.push(types.jsxAttribute(types.jsxIdentifier(key), types.jsxExpressionContainer(types.identifier(content_1))));
156
+ return { translationUsed: false };
157
+ }
158
+ var refRawExpression = types.callExpression(types.memberExpression(types.identifier('translate'), types.identifier('raw')), [types.stringLiteral(value.content.id)]);
159
+ var expression = types.jsxExpressionContainer(refRawExpression);
160
+ metaTag.openingElement.attributes.push(types.jsxAttribute(types.jsxIdentifier(key), expression));
161
+ return { translationUsed: true };
123
162
  };
124
163
  var generateTitleAST = function (title) {
125
164
  var titleAST = ASTBuilders.createJSXTag('title');
126
165
  if (typeof title === 'string') {
127
166
  ASTUtils.addChildJSXText(titleAST, title);
128
- return titleAST;
167
+ return { titleAST: titleAST, hasTranslation: false };
129
168
  }
130
169
  var isDynamic = title.type === 'dynamic';
131
170
  if (!isDynamic) {
132
171
  ASTUtils.addChildJSXText(titleAST, title.content.toString());
133
- return titleAST;
172
+ return { titleAST: titleAST, hasTranslation: false };
173
+ }
174
+ if (title.content.referenceType !== 'prop' && title.content.referenceType !== 'locale') {
175
+ throw new Error("Only prop and locale references are supported for dynamic titles");
134
176
  }
135
- if (title.content.referenceType !== 'prop') {
136
- throw new Error("Only prop references are supported for dynamic titles");
177
+ if (title.content.referenceType === 'prop') {
178
+ var expresContainer = types.jsxExpressionContainer(ASTUtils.generateMemberExpressionASTFromBase(types.identifier('props'), title.content.refPath || []));
179
+ titleAST.children.push(expresContainer);
180
+ return { titleAST: titleAST, hasTranslation: false };
137
181
  }
138
- var expresContainer = types.jsxExpressionContainer(ASTUtils.generateMemberExpressionASTFromBase(types.identifier('props'), title.content.refPath || []));
139
- titleAST.children.push(expresContainer);
140
- return titleAST;
182
+ var refRawExpression = types.callExpression(types.memberExpression(types.identifier('translate'), types.identifier('raw')), [types.stringLiteral(title.content.id)]);
183
+ var expression = types.jsxExpressionContainer(refRawExpression);
184
+ titleAST.children.push(expression);
185
+ return { titleAST: titleAST, hasTranslation: true };
141
186
  };
142
187
  return jsxHeadConfigPlugin;
143
188
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;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../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","ebd41c9dba284cfad4987bc83aa953c586e5d13fa8fd61e4e1db20d9d2c5bfb8","397cecdda86d0436209c7e17818497c6699a003c3f608ca639ba96b008276a66","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","caa06ca877ed1a6cc58d471056673d72644b3cd98974f48a97225673167d64d6","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","61fe981de167fe34caf4bd80a3c120747844dddb519eaf8a79549d5f78081fb7","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","f2ad963e74d849aa62c16f4cae23b7f8f6e26844c0d61f42943086ee7e0cd896","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","61400df9aaf7b706a02c64ee2b30b499e9f6822d2852fcd8a28be6ae48bb7294","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","dbabf6441a0629843274eefb8bfce76265c0dfd5c37b0a440d67e5c785ac1abc","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","5e311ff10bfde2163e21741125d322a756c3869c44cf1f0edd7b9a1e4d7f08f9","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"49dd5560b76534055a530f7047a945c0cbb6ee7149a645ba82a11d861b9ee8ff","signature":"52ddce0cc60e0995975eae3813904b6177c0c9e63fe27100569dc66c57839cb6"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":99,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[154,156],[150,151],[150,151,152,153],[155],[157],[63],[99],[100,105,133],[101,112,113,120,130,141],[101,102,112,120],[103,142],[104,105,113,121],[105,130,138],[106,108,112,120],[99,107],[108,109],[112],[110,112],[99,112],[112,113,114,130,141],[112,113,114,127,130,133],[97,146],[108,112,115,120,130,141],[112,113,115,116,120,130,138,141],[115,117,130,138,141],[63,64,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148],[112,118],[119,141,146],[108,112,120,130],[121],[122],[99,123],[124,140,146],[125],[126],[112,127,128],[127,129,142,144],[100,112,130,131,132,133],[100,130,132],[130,131],[133],[134],[99,130],[112,136,137],[136,137],[105,120,130,138],[139],[120,140],[100,115,126,141],[105,142],[130,143],[119,144],[145],[100,105,112,114,123,130,141,144,146],[130,147],[74,78,141],[74,130,141],[69],[71,74,138,141],[120,138],[149],[69,149],[71,74,120,141],[66,67,70,73,100,112,130,141],[66,72],[70,74,100,133,141,149],[100,149],[90,100,149],[68,69,149],[74],[68,69,70,71,72,73,74,75,76,78,79,80,81,82,83,84,85,86,87,88,89,91,92,93,94,95,96],[74,81,82],[72,74,82,83],[73],[66,69,74],[74,78,82,83],[78],[72,74,77,141],[66,71,72,74,78,81],[100,130],[69,74,90,100,146,149],[48,49],[48],[48,49,51],[50,51,52,53,54,55,56,57,58,59,60],[48,57],[48,49,59],[48,49,61],[44],[44,45,46,47],[43],[43,44]],"referencedMap":[[157,1],[152,2],[154,3],[153,2],[156,4],[158,5],[63,6],[64,6],[99,7],[100,8],[101,9],[102,10],[103,11],[104,12],[105,13],[106,14],[107,15],[108,16],[109,16],[111,17],[110,18],[112,19],[113,20],[114,21],[98,22],[115,23],[116,24],[117,25],[149,26],[118,27],[119,28],[120,29],[121,30],[122,31],[123,32],[124,33],[125,34],[126,35],[127,36],[128,36],[129,37],[130,38],[132,39],[131,40],[133,41],[134,42],[135,43],[136,44],[137,45],[138,46],[139,47],[140,48],[141,49],[142,50],[143,51],[144,52],[145,53],[146,54],[147,55],[81,56],[88,57],[80,56],[95,58],[72,59],[71,60],[94,61],[89,62],[92,63],[74,64],[73,65],[69,66],[68,67],[91,68],[70,69],[75,70],[79,70],[97,71],[96,70],[83,72],[84,73],[86,74],[82,75],[85,76],[90,61],[77,77],[78,78],[87,79],[67,80],[93,81],[50,82],[53,83],[52,84],[61,85],[58,86],[57,83],[60,87],[59,82],[54,84],[56,82],[55,83],[62,88],[45,89],[48,90],[44,91],[47,92]],"exportedModulesMap":[[157,1],[152,2],[154,3],[153,2],[156,4],[158,5],[63,6],[64,6],[99,7],[100,8],[101,9],[102,10],[103,11],[104,12],[105,13],[106,14],[107,15],[108,16],[109,16],[111,17],[110,18],[112,19],[113,20],[114,21],[98,22],[115,23],[116,24],[117,25],[149,26],[118,27],[119,28],[120,29],[121,30],[122,31],[123,32],[124,33],[125,34],[126,35],[127,36],[128,36],[129,37],[130,38],[132,39],[131,40],[133,41],[134,42],[135,43],[136,44],[137,45],[138,46],[139,47],[140,48],[141,49],[142,50],[143,51],[144,52],[145,53],[146,54],[147,55],[81,56],[88,57],[80,56],[95,58],[72,59],[71,60],[94,61],[89,62],[92,63],[74,64],[73,65],[69,66],[68,67],[91,68],[70,69],[75,70],[79,70],[97,71],[96,70],[83,72],[84,73],[86,74],[82,75],[85,76],[90,61],[77,77],[78,78],[87,79],[67,80],[93,81],[50,82],[53,83],[52,84],[61,85],[58,86],[57,83],[60,87],[59,82],[54,84],[56,82],[55,83],[62,83],[45,89],[48,90],[44,91],[47,92]],"semanticDiagnosticsPerFile":[49,157,150,152,154,153,151,156,155,158,63,64,99,100,101,102,103,104,105,106,107,108,109,111,110,112,113,114,98,148,115,116,117,149,118,119,120,121,122,123,124,125,126,127,128,129,130,132,131,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,65,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,81,88,80,95,72,71,94,89,92,74,73,69,68,91,70,75,76,79,66,97,96,83,84,86,82,85,90,77,78,87,67,93,50,53,52,61,58,57,60,59,54,56,51,55,62,46,45,43,48,44,47]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/types.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","5f78f7e29d7e5d56b544c7a48595ba9433e3466ba26643b8973638fed93723d1","55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","dff2c83d88067791b25fd1c3126a753311ddb954c0ce6dd9c968faef32e84117","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","f29399e10ced2ff9ecbe07448806c44dfcb87dcf281cb7ccac3061174c3cae37","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","61fe981de167fe34caf4bd80a3c120747844dddb519eaf8a79549d5f78081fb7","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","f2ad963e74d849aa62c16f4cae23b7f8f6e26844c0d61f42943086ee7e0cd896","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","10b2bb0a74b12ecbab5003ff91aa8b3da674f81a5d72fdd6f998bfaf664948c8","86abd6ddb4cd3f82a3c167d53a47e2adbca6c92c91ebfe2980ded0d9812e0b18","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","dbabf6441a0629843274eefb8bfce76265c0dfd5c37b0a440d67e5c785ac1abc","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","954d24a996cb9a7af6dfb50f99e56cd0abfcc132dc425ea2c43a9d23a3470682","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"230bc8d437dab18453dff634e4260a1356437e9d39c95a57f1c923a5dff5f03a","signature":"482e5a4b9988719e3acb68f7f1b721007b6830ff589bbf4012aac945eb449e59"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":99,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[155,157],[151,152],[151,152,153,154],[156],[158],[64],[100],[101,106,134],[102,113,114,121,131,142],[102,103,113,121],[104,143],[105,106,114,122],[106,131,139],[107,109,113,121],[100,108],[109,110],[113],[111,113],[100,113],[113,114,115,131,142],[113,114,115,128,131,134],[98,147],[109,113,116,121,131,142],[113,114,116,117,121,131,139,142],[116,118,131,139,142],[64,65,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],[113,119],[120,142,147],[109,113,121,131],[122],[123],[100,124],[125,141,147],[126],[127],[113,128,129],[128,130,143,145],[101,113,131,132,133,134],[101,131,133],[131,132],[134],[135],[100,131],[113,137,138],[137,138],[106,121,131,139],[140],[121,141],[101,116,127,142],[106,143],[131,144],[120,145],[146],[101,106,113,115,124,131,142,145,147],[131,148],[75,79,142],[75,131,142],[70],[72,75,139,142],[121,139],[150],[70,150],[72,75,121,142],[67,68,71,74,101,113,131,142],[67,73],[71,75,101,134,142,150],[101,150],[91,101,150],[69,70,150],[75],[69,70,71,72,73,74,75,76,77,79,80,81,82,83,84,85,86,87,88,89,90,92,93,94,95,96,97],[75,82,83],[73,75,83,84],[74],[67,70,75],[75,79,83,84],[79],[73,75,78,142],[67,72,73,75,79,82],[101,131],[70,75,91,101,147,150],[45,49],[49],[45,49,51],[50,51,52,53,55,56,57,58,59,60,61],[49,58],[45,49,60],[45,49,51,54],[45,49,62],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[158,1],[153,2],[155,3],[154,2],[157,4],[159,5],[64,6],[65,6],[100,7],[101,8],[102,9],[103,10],[104,11],[105,12],[106,13],[107,14],[108,15],[109,16],[110,16],[112,17],[111,18],[113,19],[114,20],[115,21],[99,22],[116,23],[117,24],[118,25],[150,26],[119,27],[120,28],[121,29],[122,30],[123,31],[124,32],[125,33],[126,34],[127,35],[128,36],[129,36],[130,37],[131,38],[133,39],[132,40],[134,41],[135,42],[136,43],[137,44],[138,45],[139,46],[140,47],[141,48],[142,49],[143,50],[144,51],[145,52],[146,53],[147,54],[148,55],[82,56],[89,57],[81,56],[96,58],[73,59],[72,60],[95,61],[90,62],[93,63],[75,64],[74,65],[70,66],[69,67],[92,68],[71,69],[76,70],[80,70],[98,71],[97,70],[84,72],[85,73],[87,74],[83,75],[86,76],[91,61],[78,77],[79,78],[88,79],[68,80],[94,81],[50,82],[53,83],[52,84],[62,85],[59,86],[58,83],[61,87],[60,82],[55,88],[57,82],[56,83],[63,89],[46,90],[49,91],[44,92],[48,93]],"exportedModulesMap":[[158,1],[153,2],[155,3],[154,2],[157,4],[159,5],[64,6],[65,6],[100,7],[101,8],[102,9],[103,10],[104,11],[105,12],[106,13],[107,14],[108,15],[109,16],[110,16],[112,17],[111,18],[113,19],[114,20],[115,21],[99,22],[116,23],[117,24],[118,25],[150,26],[119,27],[120,28],[121,29],[122,30],[123,31],[124,32],[125,33],[126,34],[127,35],[128,36],[129,36],[130,37],[131,38],[133,39],[132,40],[134,41],[135,42],[136,43],[137,44],[138,45],[139,46],[140,47],[141,48],[142,49],[143,50],[144,51],[145,52],[146,53],[147,54],[148,55],[82,56],[89,57],[81,56],[96,58],[73,59],[72,60],[95,61],[90,62],[93,63],[75,64],[74,65],[70,66],[69,67],[92,68],[71,69],[76,70],[80,70],[98,71],[97,70],[84,72],[85,73],[87,74],[83,75],[86,76],[91,61],[78,77],[79,78],[88,79],[68,80],[94,81],[50,82],[53,83],[52,84],[62,85],[59,86],[58,83],[61,87],[60,82],[55,88],[57,82],[56,83],[63,83],[46,90],[49,91],[44,92],[48,93]],"semanticDiagnosticsPerFile":[45,158,151,153,155,154,152,157,156,159,64,65,100,101,102,103,104,105,106,107,108,109,110,112,111,113,114,115,99,149,116,117,118,150,119,120,121,122,123,124,125,126,127,128,129,130,131,133,132,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,66,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,82,89,81,96,73,72,95,90,93,75,74,70,69,92,71,76,77,80,67,98,97,84,85,87,83,86,91,78,79,88,68,94,50,53,52,62,59,58,61,60,55,57,51,56,54,63,47,46,43,49,44,48]},"version":"4.9.5"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teleporthq/teleport-plugin-jsx-head-config",
3
- "version": "0.36.6",
3
+ "version": "0.37.2",
4
4
  "description": "A plugin for generating `<head>` tags inside regular JSX-based components",
5
5
  "author": "teleportHQ",
6
6
  "license": "MIT",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@babel/types": "^7.5.5",
28
- "@teleporthq/teleport-plugin-common": "^0.36.6",
29
- "@teleporthq/teleport-types": "^0.36.6"
28
+ "@teleporthq/teleport-plugin-common": "^0.37.2",
29
+ "@teleporthq/teleport-types": "^0.37.2"
30
30
  },
31
- "gitHead": "64a55c39dba17f13dc58805a7a28f74cd96dd03a"
31
+ "gitHead": "bfc4e6229bcd9b3e5ce4077dbf6fd19666935187"
32
32
  }
package/src/index.ts CHANGED
@@ -3,6 +3,7 @@ import {
3
3
  ComponentPlugin,
4
4
  UIDLDynamicReference,
5
5
  UIDLStaticValue,
6
+ UIDLExternalDependency,
6
7
  } from '@teleporthq/teleport-types'
7
8
  import { ASTBuilders, ASTUtils } from '@teleporthq/teleport-plugin-common'
8
9
  import * as types from '@babel/types'
@@ -16,6 +17,18 @@ interface JSXHeadPluginConfig {
16
17
  isDefaultImport?: boolean
17
18
  }
18
19
 
20
+ export const USE_TRANSLATIONS_HOOK: UIDLExternalDependency = {
21
+ type: 'package',
22
+ path: 'next-intl',
23
+ // next-intl version above to 2.10.0 has issues with next@12 and react@17 which we use.
24
+ // The latest version is 3.20 something, which relies on next/navigation. Which is only available in next@13.
25
+ // Which we don't use. So we are sticking with 2.10.0 for now.'
26
+ version: '2.10.0',
27
+ meta: {
28
+ namedImport: true,
29
+ },
30
+ }
31
+
19
32
  export const createJSXHeadConfigPlugin: ComponentPluginFactory<JSXHeadPluginConfig> = (config) => {
20
33
  const {
21
34
  componentChunkName = 'jsx-component',
@@ -28,7 +41,6 @@ export const createJSXHeadConfigPlugin: ComponentPluginFactory<JSXHeadPluginConf
28
41
 
29
42
  const jsxHeadConfigPlugin: ComponentPlugin = async (structure) => {
30
43
  const { uidl, chunks, dependencies } = structure
31
-
32
44
  const componentChunk = chunks.find((chunk) => chunk.name === componentChunkName)
33
45
  if (!componentChunk) {
34
46
  throw new Error(
@@ -40,10 +52,17 @@ export const createJSXHeadConfigPlugin: ComponentPluginFactory<JSXHeadPluginConf
40
52
  return structure
41
53
  }
42
54
 
55
+ const reactHooks: types.VariableDeclaration[] = []
43
56
  const headASTTags = []
57
+ let translationsAdded = false
44
58
 
45
59
  if (uidl.seo.title) {
46
- const titleAST = generateTitleAST(uidl.seo.title)
60
+ const { titleAST, hasTranslation } = generateTitleAST(uidl.seo.title)
61
+ if (hasTranslation) {
62
+ structure.dependencies.useTranslations = USE_TRANSLATIONS_HOOK
63
+ reactHooks.push(getTranslationsAST())
64
+ translationsAdded = true
65
+ }
47
66
  headASTTags.push(titleAST)
48
67
  }
49
68
 
@@ -52,7 +71,12 @@ export const createJSXHeadConfigPlugin: ComponentPluginFactory<JSXHeadPluginConf
52
71
  const metaAST = ASTBuilders.createSelfClosingJSXTag('meta')
53
72
  Object.keys(tag).forEach((key) => {
54
73
  const value = tag[key]
55
- addAttributeToMetaTag(metaAST, key, value)
74
+ const { translationUsed } = addAttributeToMetaTag(metaAST, key, value)
75
+ if (translationUsed && !translationsAdded) {
76
+ structure.dependencies.useTranslations = USE_TRANSLATIONS_HOOK
77
+ reactHooks.push(getTranslationsAST())
78
+ translationsAdded = true
79
+ }
56
80
  })
57
81
  headASTTags.push(metaAST)
58
82
  })
@@ -92,9 +116,25 @@ export const createJSXHeadConfigPlugin: ComponentPluginFactory<JSXHeadPluginConf
92
116
  }
93
117
  }
94
118
 
119
+ const componentBody = (
120
+ (
121
+ (componentChunk.content as types.VariableDeclaration)
122
+ .declarations?.[0] as types.VariableDeclarator
123
+ )?.init as types.ArrowFunctionExpression
124
+ )?.body as types.BlockStatement
125
+ componentBody?.body?.unshift(...reactHooks)
95
126
  return structure
96
127
  }
97
128
 
129
+ const getTranslationsAST = () => {
130
+ return types.variableDeclaration('const', [
131
+ types.variableDeclarator(
132
+ types.identifier('translate'),
133
+ types.callExpression(types.identifier('useTranslations'), [])
134
+ ),
135
+ ])
136
+ }
137
+
98
138
  const addAttributeToMetaTag = (
99
139
  metaTag: types.JSXElement,
100
140
  key: string,
@@ -102,30 +142,41 @@ export const createJSXHeadConfigPlugin: ComponentPluginFactory<JSXHeadPluginConf
102
142
  ) => {
103
143
  if (typeof value === 'string') {
104
144
  ASTUtils.addAttributeToJSXTag(metaTag, key, value)
105
- return
145
+ return { translationUsed: false }
106
146
  }
107
147
 
108
148
  const isDynamic = value.type === 'dynamic'
109
149
  if (!isDynamic) {
110
150
  ASTUtils.addAttributeToJSXTag(metaTag, key, value!.content.toString())
111
- return
151
+ return { translationUsed: false }
112
152
  }
113
153
 
114
- if (value.content.referenceType !== 'prop') {
115
- throw new Error(`Only prop references are supported for dynamic meta tags`)
154
+ if (value.content.referenceType !== 'prop' && value.content.referenceType !== 'locale') {
155
+ throw new Error(`Only prop and locale references are supported for dynamic meta tags`)
116
156
  }
117
157
 
118
- let content = `props`
119
- value.content.refPath?.forEach((pathItem) => {
120
- content = content.concat(`?.${pathItem}`)
121
- })
158
+ if (value.content.referenceType === 'prop') {
159
+ let content = `props`
160
+ value.content.refPath?.forEach((pathItem) => {
161
+ content = content.concat(`?.${pathItem}`)
162
+ })
122
163
 
123
- metaTag.openingElement.attributes.push(
124
- types.jsxAttribute(
125
- types.jsxIdentifier(key),
126
- types.jsxExpressionContainer(types.identifier(content))
164
+ metaTag.openingElement.attributes.push(
165
+ types.jsxAttribute(
166
+ types.jsxIdentifier(key),
167
+ types.jsxExpressionContainer(types.identifier(content))
168
+ )
127
169
  )
170
+ return { translationUsed: false }
171
+ }
172
+
173
+ const refRawExpression = types.callExpression(
174
+ types.memberExpression(types.identifier('translate'), types.identifier('raw')),
175
+ [types.stringLiteral(value.content.id)]
128
176
  )
177
+ const expression = types.jsxExpressionContainer(refRawExpression)
178
+ metaTag.openingElement.attributes.push(types.jsxAttribute(types.jsxIdentifier(key), expression))
179
+ return { translationUsed: true }
129
180
  }
130
181
 
131
182
  const generateTitleAST = (title: string | UIDLStaticValue | UIDLDynamicReference) => {
@@ -133,28 +184,39 @@ export const createJSXHeadConfigPlugin: ComponentPluginFactory<JSXHeadPluginConf
133
184
 
134
185
  if (typeof title === 'string') {
135
186
  ASTUtils.addChildJSXText(titleAST, title)
136
- return titleAST
187
+ return { titleAST, hasTranslation: false }
137
188
  }
138
189
 
139
190
  const isDynamic = title.type === 'dynamic'
140
191
  if (!isDynamic) {
141
192
  ASTUtils.addChildJSXText(titleAST, title!.content.toString())
142
- return titleAST
193
+ return { titleAST, hasTranslation: false }
143
194
  }
144
195
 
145
- if (title.content.referenceType !== 'prop') {
146
- throw new Error(`Only prop references are supported for dynamic titles`)
196
+ if (title.content.referenceType !== 'prop' && title.content.referenceType !== 'locale') {
197
+ throw new Error(`Only prop and locale references are supported for dynamic titles`)
147
198
  }
148
199
 
149
- const expresContainer = types.jsxExpressionContainer(
150
- ASTUtils.generateMemberExpressionASTFromBase(
151
- types.identifier('props'),
152
- title.content.refPath || []
200
+ if (title.content.referenceType === 'prop') {
201
+ const expresContainer = types.jsxExpressionContainer(
202
+ ASTUtils.generateMemberExpressionASTFromBase(
203
+ types.identifier('props'),
204
+ title.content.refPath || []
205
+ )
153
206
  )
207
+
208
+ titleAST.children.push(expresContainer)
209
+ return { titleAST, hasTranslation: false }
210
+ }
211
+
212
+ const refRawExpression = types.callExpression(
213
+ types.memberExpression(types.identifier('translate'), types.identifier('raw')),
214
+ [types.stringLiteral(title.content.id)]
154
215
  )
216
+ const expression = types.jsxExpressionContainer(refRawExpression)
155
217
 
156
- titleAST.children.push(expresContainer)
157
- return titleAST
218
+ titleAST.children.push(expression)
219
+ return { titleAST, hasTranslation: true }
158
220
  }
159
221
 
160
222
  return jsxHeadConfigPlugin