@arcgis/api-extractor 5.2.0-next.8 → 5.2.0-next.9

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,42 +1,42 @@
1
- import { l as H, a as se, e as De, p as pe } from "./typeScript-NcS8rwl-.js";
2
- import { a as xe, o as Pe, t as Le, b as Oe, c as Ne, e as Be, p as We, d as Ue, f as _, i as ue, g as je, h as ze, j as He, k as Je, n as Ve, r as Xe } from "./worker-BNdRo3Yw.js";
3
- import { getViewUrl as Ye, postProcessDeprecated as Q, postProcessDescription as R, postProcessDocsTags as V, resolveJsDocLink as qe } from "./extractor/processing/links.js";
1
+ import { l as H, a as se, e as Re, p as pe } from "./typeScript-DewdSAUb.js";
2
+ import { a as re, o as xe, t as De, b as Le, c as Oe, e as Ne, p as Be, d as We, f as _, i as ue, g as Ue, h as je, j as ze, k as He, n as Je, r as Ve } from "./worker-BHro8ICj.js";
3
+ import { getViewUrl as Xe, postProcessDeprecated as Q, postProcessDescription as R, postProcessDocsTags as V, resolveJsDocLink as Ye } from "./extractor/processing/links.js";
4
4
  import E from "typescript";
5
- import { path as N, toPosixPathSeparators as Ze } from "@arcgis/components-build-utils";
6
- import { mkdir as ae, writeFile as Ie } from "fs/promises";
5
+ import { path as N, toPosixPathSeparators as qe } from "@arcgis/components-build-utils";
6
+ import { mkdir as ae, writeFile as Pe } from "fs/promises";
7
7
  import { styleText as x } from "node:util";
8
- import { kebabToPascal as _e } from "@arcgis/toolkit/string";
9
- import { g as h, a as fe, b as Ke, c as Qe, d as ke, e as oe, p as ne } from "./privateContext-CB7P40up.js";
10
- import { apiTypeToImportType as le, globalPackageIdentifier as me, getApiMemberName as et, getMaybeStaticApiMemberName as ce, mergeApiNodes as Se, naturalSortModules as tt, compareNamedNodes as it, compareClassMembers as ot } from "./utils/apiHelpers.js";
11
- import { printTypeParameters as te, printTypeAlias as nt } from "./utils/partPrinter.js";
12
- import { identity as Ee, debounce as rt } from "@arcgis/toolkit/function";
13
- import { hasRuntimeDeclaration as st } from "./utils/inferEntrypoints.js";
14
- import { opendirSync as at, watch as lt, readFileSync as ct, statSync as dt } from "node:fs";
15
- const S = "/** @deprecated since 5.0. Refactor using \\@arcgis/codemod */", ft = `${S}
8
+ import { kebabToPascal as Ze } from "@arcgis/toolkit/string";
9
+ import { g as h, a as me, b as _e, c as Ke, d as Ie, e as oe, p as ne } from "./privateContext-CB7P40up.js";
10
+ import { apiTypeToImportType as le, globalPackageIdentifier as fe, getApiMemberName as Qe, getMaybeStaticApiMemberName as ce, mergeApiNodes as Se, naturalSortModules as et, compareNamedNodes as tt, compareClassMembers as it } from "./utils/apiHelpers.js";
11
+ import { printTypeParameters as te, printTypeAlias as ot } from "./utils/partPrinter.js";
12
+ import { identity as ke, debounce as nt } from "@arcgis/toolkit/function";
13
+ import { hasRuntimeDeclaration as rt } from "./utils/inferEntrypoints.js";
14
+ import { opendirSync as st, watch as at, readFileSync as lt, statSync as ct } from "node:fs";
15
+ const k = "/** @deprecated since 5.0. Refactor using \\@arcgis/codemod */", dt = `${k}
16
16
  type HashMap<T> = Record<string, T | undefined>;
17
- ${S}
17
+ ${k}
18
18
  type nullish = null | undefined;
19
19
 
20
- ${S}
20
+ ${k}
21
21
  type IHandle = import("./core/Handles.js").ResourceHandle;
22
22
 
23
- ${S}
23
+ ${k}
24
24
  type GroupKey<T> = import("./core/Accessor.js").GroupKey<T>;
25
25
 
26
- ${S}
26
+ ${k}
27
27
  declare namespace __esri {
28
- ${S}
28
+ ${k}
29
29
  type Constructor<T> = new (...params: any[]) => T;
30
30
 
31
- ${S}
31
+ ${k}
32
32
  export type AnonymousAccessor = Accessor;
33
33
 
34
- ${S}
34
+ ${k}
35
35
  export type ReadonlyAccessor = Omit<Accessor, "set" | "_set" | "destroy" | "notifyChange" | "_get">;
36
36
 
37
37
  `, mt = `
38
38
 
39
- ${S}
39
+ ${k}
40
40
  export namespace CIM {
41
41
  export enum ExpressionReturnType {
42
42
  Default = "Default",
@@ -1089,13 +1089,13 @@ declare namespace __esri {
1089
1089
  | ExternalReferenceEnvelope;
1090
1090
  }
1091
1091
 
1092
- ${S}
1092
+ ${k}
1093
1093
  export type EventHandlerCallback = (selectionResult: SelectionResultType) => void;
1094
- ${S}
1094
+ ${k}
1095
1095
  export type On = (eventName: string, eventHandler: EventHandlerCallback) => IHandle;
1096
1096
  }`;
1097
1097
  let B, D, j, W, O = "", U = "", q = "", ee = "";
1098
- function pt(e, t) {
1098
+ function ft(e, t) {
1099
1099
  j = void 0, W = void 0, U = e.path, q = "", ee = "";
1100
1100
  const i = `import("./${U}.js")`;
1101
1101
  let o = "";
@@ -1109,9 +1109,9 @@ function pt(e, t) {
1109
1109
  const l = e.declarations[n];
1110
1110
  if (he(l), A.length === 0)
1111
1111
  continue;
1112
- const c = l.name === s, d = c ? "default" : l.name, m = l.kind === "function", f = l.kind === "variable";
1113
- if (m || f) {
1114
- if (m) {
1112
+ const c = l.name === s, d = c ? "default" : l.name, f = l.kind === "function", m = l.kind === "variable";
1113
+ if (f || m) {
1114
+ if (f) {
1115
1115
  if (l.name === r)
1116
1116
  continue;
1117
1117
  if (r = l.name, c) {
@@ -1121,7 +1121,7 @@ function pt(e, t) {
1121
1121
  }), Z(A[0], t), D === void 0 && t.emitError("Expected default export @esriCompatibilityName tag to include a #", {
1122
1122
  file: h(e).file,
1123
1123
  node: void 0
1124
- }), o += ` ${S}
1124
+ }), o += ` ${k}
1125
1125
  interface ${D} {
1126
1126
  ${l.name}: typeof ${i}.${d};
1127
1127
  }
@@ -1132,7 +1132,7 @@ function pt(e, t) {
1132
1132
  `;
1133
1133
  continue;
1134
1134
  }
1135
- } else if (f && c) {
1135
+ } else if (m && c) {
1136
1136
  A.length !== 1 && t.emitError("Expected only a single @esriCompatibilityName tag on a default export variable.", {
1137
1137
  file: h(e).file,
1138
1138
  node: void 0
@@ -1145,19 +1145,19 @@ function pt(e, t) {
1145
1145
  continue;
1146
1146
  }
1147
1147
  for (let p = 0; p < A.length; ++p)
1148
- Z(A[p], t), f && j !== void 0 ? q += ` export const ${O}: ${i}.${d};
1148
+ Z(A[p], t), m && j !== void 0 ? q += ` export const ${O}: ${i}.${d};
1149
1149
  ` : ee += ` ${O}: typeof ${i}.${d};
1150
1150
  `;
1151
- } else if (l.kind === "class" || l.kind === "mixin" || l.kind === "interface" && fe(l).isMixinBaseClass === !0) {
1151
+ } else if (l.kind === "class" || l.kind === "mixin" || l.kind === "interface" && me(l).isMixinBaseClass === !0) {
1152
1152
  const p = te(K(l.typeParameters, !1, U)), g = te(K(l.typeParameters, !1, void 0)), u = te(K(l.typeParameters, !0, void 0)), v = ` ${i}.${d}`;
1153
1153
  for (let C = 0; C < A.length; ++C) {
1154
1154
  if (Z(A[C], t), O.startsWith("$")) {
1155
1155
  const b = O.slice(1);
1156
- o += ut(b, l, d, U);
1156
+ o += pt(b, l, d, U);
1157
1157
  continue;
1158
1158
  }
1159
1159
  const y = B === void 0 ? " " : " ";
1160
- o += `${y}${S}
1160
+ o += `${y}${k}
1161
1161
  ${y}export type ${O}${p} =${v}${g};
1162
1162
  ${y}export const ${O}: typeof${v}${u};
1163
1163
 
@@ -1168,7 +1168,7 @@ ${y}export const ${O}: typeof${v}${u};
1168
1168
  return q.length > 0 && (j === void 0 && t.emitError("Invalid @esriCompatibilityName usage: Namespace name was not set correctly.", {
1169
1169
  file: h(e).file,
1170
1170
  node: void 0
1171
- }), o += ` ${S}
1171
+ }), o += ` ${k}
1172
1172
  namespace ${j} {
1173
1173
  ${q.slice(0, -1)} }
1174
1174
 
@@ -1178,7 +1178,7 @@ ${q.slice(0, -1)} }
1178
1178
  file: h(e).file,
1179
1179
  node: void 0
1180
1180
  }
1181
- ), o += ` ${S}
1181
+ ), o += ` ${k}
1182
1182
  interface ${W} {
1183
1183
  ${ee} }
1184
1184
 
@@ -1191,10 +1191,10 @@ function ye(e, t, i, o) {
1191
1191
  let n = "";
1192
1192
  for (let l = 0; l < A.length; ++l) {
1193
1193
  Z(A[l], o);
1194
- const c = nt(O, a, void 0, r);
1195
- B === void 0 ? n += ` ${S}
1194
+ const c = ot(O, a, void 0, r);
1195
+ B === void 0 ? n += ` ${k}
1196
1196
  ${c}
1197
- ` : q += ` ${S}
1197
+ ` : q += ` ${k}
1198
1198
  ${c}
1199
1199
 
1200
1200
  `;
@@ -1246,7 +1246,7 @@ function K(e, t, i) {
1246
1246
  const ie = [];
1247
1247
  let A = ie;
1248
1248
  function he(e) {
1249
- e.kind === "variable" ? A = Ke(e).esriCompatibilityNames ?? ie : e.kind === "function" ? A = Qe(e).esriCompatibilityNames ?? ie : A = fe(e).esriCompatibilityNames ?? ie;
1249
+ e.kind === "variable" ? A = _e(e).esriCompatibilityNames ?? ie : e.kind === "function" ? A = Ke(e).esriCompatibilityNames ?? ie : A = me(e).esriCompatibilityNames ?? ie;
1250
1250
  }
1251
1251
  function Z(e, t) {
1252
1252
  const i = e.indexOf(".");
@@ -1275,17 +1275,17 @@ function Z(e, t) {
1275
1275
  }
1276
1276
  B = void 0, D = void 0, O = e;
1277
1277
  }
1278
- function ut(e, t, i, o) {
1279
- const s = yt(e, t.events), r = `${// IdentityManager fake class got renamed to IdentityManagerBase real class
1280
- t.name.startsWith(A[0]) ? A[0] : t.name}${_e(e)}Event`, n = ht(s, o) ?? ` = import("./${o}.js").${i}["@eventTypes"]["${e}"]`, l = n.startsWith("<") ? n.indexOf(">") + 1 : -1, c = l !== -1 ? n.slice(0, l) : "";
1281
- return ` ${S}
1278
+ function pt(e, t, i, o) {
1279
+ const s = ut(e, t.events), r = `${// IdentityManager fake class got renamed to IdentityManagerBase real class
1280
+ t.name.startsWith(A[0]) ? A[0] : t.name}${Ze(e)}Event`, n = yt(s, o) ?? ` = import("./${o}.js").${i}["@eventTypes"]["${e}"]`, l = n.startsWith("<") ? n.indexOf(">") + 1 : -1, c = l !== -1 ? n.slice(0, l) : "";
1281
+ return ` ${k}
1282
1282
  export type ${r}${n};
1283
- ${S}
1283
+ ${k}
1284
1284
  export type ${r}Handler${c} = (event: ${r}${c}) => void;
1285
1285
 
1286
1286
  `;
1287
1287
  }
1288
- function yt(e, t) {
1288
+ function ut(e, t) {
1289
1289
  if (t !== void 0)
1290
1290
  for (let i = 0; i < t.length; ++i) {
1291
1291
  const o = t[i];
@@ -1293,7 +1293,7 @@ function yt(e, t) {
1293
1293
  return o;
1294
1294
  }
1295
1295
  }
1296
- function ht(e, t) {
1296
+ function yt(e, t) {
1297
1297
  const i = e?.type;
1298
1298
  if (t = e?.inheritedFrom?.module ?? t, i?.references?.length === 1) {
1299
1299
  const a = i.references[0];
@@ -1306,26 +1306,26 @@ function ht(e, t) {
1306
1306
  if (!(o.package !== void 0 || s.package !== void 0 || s.module !== void 0 || s.viewUrl !== void 0) && i.text === `${o.name}<${s.name}>`)
1307
1307
  return t = o.module ?? t, `<${s.name}> = import("./${t}.js").${o.name}<${s.name}>`;
1308
1308
  }
1309
- function gt(e, t) {
1310
- let i = ft;
1309
+ function ht(e, t) {
1310
+ let i = dt;
1311
1311
  for (let o = 0; o < e.length; ++o) {
1312
1312
  const s = e[o];
1313
- i += pt(s, t);
1313
+ i += ft(s, t);
1314
1314
  }
1315
1315
  return i + mt;
1316
1316
  }
1317
- function vt(e, t, i) {
1317
+ function gt(e, t, i) {
1318
1318
  let o = "";
1319
1319
  const s = t.importsMap, a = /* @__PURE__ */ Object.create(null);
1320
1320
  for (const r in s) {
1321
1321
  const n = s[r];
1322
1322
  if (!n.wasUsed)
1323
1323
  continue;
1324
- let l = n.specifier;
1324
+ let l = n.rawSpecifier;
1325
1325
  if (n.replacementName !== void 0) {
1326
1326
  const d = s[n.replacementName];
1327
1327
  if (d?.wasUsed === !0) {
1328
- d.specifier !== n.specifier && i.emitError(
1328
+ d.modulePath !== n.modulePath && i.emitError(
1329
1329
  `Failed to perform type replacement of ${r} with ${n.replacementName} because ${n.replacementName} is already imported from ${d.modulePath}, where as type replacement was going to import it from ${n.modulePath}. Either manually replace ${n.replacementName} usage with ${r} or alias ${r} to another name.`,
1330
1330
  {
1331
1331
  file: t.file,
@@ -1338,32 +1338,32 @@ function vt(e, t, i) {
1338
1338
  const c = n.replacementName ?? r;
1339
1339
  if (n.type === "named") {
1340
1340
  if (n.modulePath !== void 0) {
1341
- const f = n.actualName ?? c, p = i.moduleMap.get(n.modulePath), g = p === void 0 ? void 0 : h(p);
1342
- if (g?.index.named[f] === void 0) {
1341
+ const m = n.actualName ?? c, p = i.moduleMap.get(n.modulePath), g = p === void 0 ? void 0 : h(p);
1342
+ if (g?.index.named[m] === void 0) {
1343
1343
  if (i.privateMixinModuleNames.has(n.modulePath))
1344
1344
  continue;
1345
1345
  i.emitError(
1346
- `The ${x("red", f)} imported from ${x("red", p?.sourcePath ?? n.modulePath)} is not @public but used in the type of a @public declaration. Add /** @public */ JSDoc, refactor out the usage, or ensure ${x("red", f)} is not a re-export, not a namespace, and not an enum.`,
1346
+ `The ${x("red", m)} imported from ${x("red", p?.sourcePath ?? n.modulePath)} is not @public but used in the type of a @public declaration. Add /** @public */ JSDoc, refactor out the usage, or ensure ${x("red", m)} is not a re-export, not a namespace, and not an enum.`,
1347
1347
  {
1348
1348
  file: t.file,
1349
1349
  node: void 0
1350
1350
  }
1351
1351
  );
1352
1352
  } else
1353
- l = re(g, t);
1353
+ l = re(t.dtsPath, g.dtsPath);
1354
1354
  }
1355
- const d = a[l], m = n.actualName === void 0 ? c : `${n.actualName} as ${c}`;
1356
- a[l] = d === void 0 ? m : `${d}, ${m}`;
1355
+ const d = a[l], f = n.actualName === void 0 ? c : `${n.actualName} as ${c}`;
1356
+ a[l] = d === void 0 ? f : `${d}, ${f}`;
1357
1357
  } else if (n.type === "default") {
1358
1358
  if (n.modulePath !== void 0) {
1359
- const d = i.moduleMap.get(n.modulePath), m = d === void 0 ? void 0 : h(d);
1360
- m?.index.default === void 0 ? i.emitError(
1359
+ const d = i.moduleMap.get(n.modulePath), f = d === void 0 ? void 0 : h(d);
1360
+ f?.index.default === void 0 ? i.emitError(
1361
1361
  `The default exported declaration in ${x("red", d?.sourcePath ?? n.modulePath)} is not @public but used in the type of a @public declaration. Add /** @public */ JSDoc or refactor out the usage.`,
1362
1362
  {
1363
1363
  file: t.file,
1364
1364
  node: void 0
1365
1365
  }
1366
- ) : l = re(m, t);
1366
+ ) : l = re(t.dtsPath, f.dtsPath);
1367
1367
  }
1368
1368
  o += `import type ${c} from "${l}";
1369
1369
  `;
@@ -1376,15 +1376,15 @@ function vt(e, t, i) {
1376
1376
  file: t.file,
1377
1377
  node: void 0
1378
1378
  }
1379
- ) : l = re(h(d), t);
1379
+ ) : l = re(t.dtsPath, h(d).dtsPath);
1380
1380
  }
1381
1381
  c === "__esri" ? o = `/// <reference types="@arcgis/core/interfaces.d.ts" />
1382
1382
  ${o}` : o += `import type * as ${c} from "${l}";
1383
1383
  `;
1384
1384
  }
1385
1385
  if (n.modulePath !== void 0 && i.watchFiles !== void 0) {
1386
- const d = i.moduleMap.get(n.modulePath), f = (d === void 0 ? void 0 : h(d))?.file.fileName.slice(i.config.context.cwd.length);
1387
- f !== void 0 && (i.watchFiles.get(e.sourcePath).dependencies.add(f), i.watchFiles.get(f).dependents.set(e.sourcePath, !0));
1386
+ const d = i.moduleMap.get(n.modulePath), m = (d === void 0 ? void 0 : h(d))?.file.fileName.slice(i.config.context.cwd.length);
1387
+ m !== void 0 && (i.watchFiles.get(e.sourcePath).dependencies.add(m), i.watchFiles.get(m).dependents.set(e.sourcePath, !0));
1388
1388
  }
1389
1389
  }
1390
1390
  if (i.produceDts) {
@@ -1396,10 +1396,7 @@ ${o}` : o += `import type * as ${c} from "${l}";
1396
1396
  t.importsText = o;
1397
1397
  }
1398
1398
  }
1399
- function re(e, t) {
1400
- return `${xe(t.dtsPath, e.dtsPath)}.js`;
1401
- }
1402
- function Ct(e, t, i, o) {
1399
+ function vt(e, t, i, o) {
1403
1400
  const s = e.references;
1404
1401
  if (s !== void 0) {
1405
1402
  if (t.autoCastingRequiresType === void 0 && s.length > 1 && s[0].module === "core/Collection")
@@ -1407,20 +1404,20 @@ function Ct(e, t, i, o) {
1407
1404
  t.autoCastingRequiresType = !0;
1408
1405
  else {
1409
1406
  const a = s[1], r = a.module === void 0 ? i : o.moduleMap.get(a.module), n = r === void 0 ? void 0 : h(r), l = a.name === "default" ? n?.index.default : n?.index.named[a.name];
1410
- Ae(l) && (t.autoCastingRequiresType = !0);
1407
+ Fe(l) && (t.autoCastingRequiresType = !0);
1411
1408
  }
1412
- return Te(e, t, o, i, s);
1409
+ return Ee(e, t, o, i, s);
1413
1410
  }
1414
1411
  }
1415
- function Te(e, t, i, o, s) {
1412
+ function Ee(e, t, i, o, s) {
1416
1413
  for (let a = s.length - 1; a >= 0; a--) {
1417
1414
  const r = s[a];
1418
1415
  if (r.package !== void 0) {
1419
- r.package === me && r.name === "Date" && ge(
1416
+ r.package === fe && r.name === "Date" && ge(
1420
1417
  e,
1421
1418
  s,
1422
1419
  a,
1423
- { type: xt, inheritedFrom: void 0 },
1420
+ { type: bt, inheritedFrom: void 0 },
1424
1421
  i,
1425
1422
  o,
1426
1423
  t
@@ -1428,9 +1425,9 @@ function Te(e, t, i, o, s) {
1428
1425
  continue;
1429
1426
  }
1430
1427
  const n = r.module === void 0 ? o : i.moduleMap.get(r.module), l = n === void 0 ? void 0 : h(n), c = r.name === "default" ? l?.index.default : l?.index.named[r.name];
1431
- if (Ae(c)) {
1432
- const m = `(${c.type.text})`, f = e.text;
1433
- e.text = `${e.text.slice(0, r.start)}${m}${e.text.slice(r.end)}`;
1428
+ if (Fe(c)) {
1429
+ const f = `(${c.type.text})`, m = e.text;
1430
+ e.text = `${e.text.slice(0, r.start)}${f}${e.text.slice(r.end)}`;
1434
1431
  const p = e.text, g = r.start + 1, u = [];
1435
1432
  for (let C = 0; C < c.type.references.length; ++C) {
1436
1433
  const y = c.type.references[C], b = y.module ?? n?.path, M = b === o.path;
@@ -1441,18 +1438,18 @@ function Te(e, t, i, o, s) {
1441
1438
  end: y.end + g
1442
1439
  });
1443
1440
  }
1444
- if (Te(e, t, i, o, u), e.text === p) {
1445
- e.text = f;
1441
+ if (Ee(e, t, i, o, u), e.text === p) {
1442
+ e.text = m;
1446
1443
  continue;
1447
1444
  }
1448
1445
  s.splice(a, 1, ...u);
1449
- const v = e.text.length - f.length;
1450
- Pe(s, v, a + u.length);
1446
+ const v = e.text.length - m.length;
1447
+ xe(s, v, a + u.length);
1451
1448
  continue;
1452
1449
  }
1453
1450
  if (c?.kind !== "class")
1454
1451
  continue;
1455
- const d = $e(c, n, void 0, i);
1452
+ const d = Te(c, n, void 0, i);
1456
1453
  if (d === void 0) {
1457
1454
  i.emitError(
1458
1455
  `Failed to resolve auto-castable type for ${x("red", c.name)} from ${x("red", n.sourcePath)}. Ensure the class either has a public constructor or a public ${x("green", c.name)}Properties interface. Auto-casting resolution was attempted because this class is used in an autocastable property in ${x("blue", o.sourcePath)} in type ${x("blue", e.text)}.`,
@@ -1474,14 +1471,14 @@ function Te(e, t, i, o, s) {
1474
1471
  );
1475
1472
  }
1476
1473
  }
1477
- function $e(e, t, i, o) {
1474
+ function Te(e, t, i, o) {
1478
1475
  const s = h(t), a = s.constructorAutoCastType;
1479
1476
  if (a !== void 0)
1480
1477
  return a;
1481
- const r = Mt(e, t, i, o);
1478
+ const r = Ct(e, t, i, o);
1482
1479
  return r !== void 0 && (s.constructorAutoCastType = r), r;
1483
1480
  }
1484
- function Mt(e, t, i, o) {
1481
+ function Ct(e, t, i, o) {
1485
1482
  if (e.members !== void 0)
1486
1483
  for (let r = 0; r < e.members.length; ++r) {
1487
1484
  const n = e.members[r];
@@ -1505,7 +1502,7 @@ function Mt(e, t, i, o) {
1505
1502
  name: a.name,
1506
1503
  module: t.path,
1507
1504
  package: void 0,
1508
- viewUrl: Ye(t.path, a.name, void 0, o),
1505
+ viewUrl: Xe(t.path, a.name, void 0, o),
1509
1506
  start: 0,
1510
1507
  end: a.name.length
1511
1508
  }
@@ -1516,7 +1513,7 @@ function Mt(e, t, i, o) {
1516
1513
  if (e.superclass !== void 0) {
1517
1514
  const r = e.superclass.module === void 0 ? t : o.moduleMap.get(e.superclass.module), c = (r === void 0 ? void 0 : h(r))?.index?.class;
1518
1515
  if (c !== void 0)
1519
- return $e(c, r, r, o);
1516
+ return Te(c, r, r, o);
1520
1517
  }
1521
1518
  }
1522
1519
  function ge(e, t, i, { type: o, inheritedFrom: s }, a, r, n) {
@@ -1527,8 +1524,8 @@ function ge(e, t, i, { type: o, inheritedFrom: s }, a, r, n) {
1527
1524
  references: l
1528
1525
  });
1529
1526
  let c = o.text;
1530
- const d = t[i], m = o.text.length - (d.end - d.start);
1531
- let f = 0;
1527
+ const d = t[i], f = o.text.length - (d.end - d.start);
1528
+ let m = 0;
1532
1529
  t.splice(i, 1);
1533
1530
  for (let p = l.length - 1; p >= 0; p--) {
1534
1531
  const g = l[p], u = o.text.slice(g.start, g.end);
@@ -1553,28 +1550,28 @@ function ge(e, t, i, { type: o, inheritedFrom: s }, a, r, n) {
1553
1550
  );
1554
1551
  continue;
1555
1552
  }
1556
- Fe(g, C, a, r);
1553
+ $e(g, C, a, r);
1557
1554
  const M = d.start, I = {
1558
1555
  ...g,
1559
- start: g.start + M + f,
1560
- end: g.end + M + f
1556
+ start: g.start + M + m,
1557
+ end: g.end + M + m
1561
1558
  }, P = y.typeName;
1562
1559
  if (l.length === 1 && n.autoCastingRequiresType === !0 && P !== void 0) {
1563
- const L = n.autoCastingDefaultType === P, k = `(${u} & { type${L ? "?" : ""}: "${P}" })`, F = k.length - u.length;
1564
- f += F, I.end += F, c = c.slice(0, g.start) + k + c.slice(g.end);
1560
+ const L = n.autoCastingDefaultType === P, S = `(${u} & { type${L ? "?" : ""}: "${P}" })`, F = S.length - u.length;
1561
+ m += F, I.end += F, c = c.slice(0, g.start) + S + c.slice(g.end);
1565
1562
  }
1566
1563
  t.splice(i, 0, I);
1567
1564
  }
1568
- return e.text = e.text.slice(0, d.start) + c + e.text.slice(d.end), Pe(
1565
+ return e.text = e.text.slice(0, d.start) + c + e.text.slice(d.end), xe(
1569
1566
  t,
1570
- m + f,
1567
+ f + m,
1571
1568
  i + (l?.length ?? 0)
1572
1569
  ), !0;
1573
1570
  }
1574
- function Fe(e, t, i, o) {
1571
+ function $e(e, t, i, o) {
1575
1572
  const s = h(o);
1576
1573
  if (e.package !== void 0) {
1577
- if (e.package === me)
1574
+ if (e.package === fe)
1578
1575
  return;
1579
1576
  i.emitError(
1580
1577
  `Unsupported case: cannot yet handle auto-adding imports for external packages. Tried to add ${e.name} from ${e.package} when resolving auto-casting type.`,
@@ -1598,13 +1595,13 @@ function Fe(e, t, i, o) {
1598
1595
  return;
1599
1596
  }
1600
1597
  let n = r, l;
1601
- const c = ke(e);
1598
+ const c = Ie(e);
1602
1599
  c !== void 0 && (n = c, l = r);
1603
1600
  const d = s.importsMap[n];
1604
1601
  d === void 0 ? s.importsMap[n] = {
1605
1602
  type: e.name === "default" ? "default" : "named",
1606
1603
  modulePath: t.path,
1607
- specifier: xe(s.dtsPath, a.dtsPath),
1604
+ rawSpecifier: "",
1608
1605
  replacementName: void 0,
1609
1606
  actualName: l,
1610
1607
  wasUsed: !0
@@ -1616,10 +1613,10 @@ function Fe(e, t, i, o) {
1616
1613
  }
1617
1614
  ) : d.wasUsed = !0;
1618
1615
  }
1619
- function Ae(e) {
1620
- return e?.kind === "interface" && e.members === void 0 && e.supertypes === void 0 && e.type?.references !== void 0 && e.type.references.length > 1 && e.typeParameters === void 0 && bt(e.type);
1616
+ function Fe(e) {
1617
+ return e?.kind === "interface" && e.members === void 0 && e.supertypes === void 0 && e.type?.references !== void 0 && e.type.references.length > 1 && e.typeParameters === void 0 && Mt(e.type);
1621
1618
  }
1622
- function bt(e) {
1619
+ function Mt(e) {
1623
1620
  let t = 0;
1624
1621
  for (let i = 0; i < e.references.length; ++i) {
1625
1622
  const o = e.references[i], s = e.text.slice(t, o.start).trim();
@@ -1629,14 +1626,14 @@ function bt(e) {
1629
1626
  }
1630
1627
  return t === e.text.length;
1631
1628
  }
1632
- const xt = {
1629
+ const bt = {
1633
1630
  // Wrap in parents to correctly substitute Date[] in TimeInfo.stops
1634
1631
  text: "(Date | number | string)",
1635
1632
  references: [
1636
1633
  {
1637
1634
  name: "Date",
1638
1635
  module: void 0,
1639
- package: me,
1636
+ package: fe,
1640
1637
  viewUrl: "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date",
1641
1638
  start: 1,
1642
1639
  end: 5
@@ -1645,7 +1642,7 @@ const xt = {
1645
1642
  values: void 0,
1646
1643
  source: void 0
1647
1644
  };
1648
- function Pt(e, t) {
1645
+ function xt(e, t) {
1649
1646
  const i = e.constructorPropertiesInterface;
1650
1647
  i.type = void 0;
1651
1648
  const o = h(t.apiModule).index.class;
@@ -1688,27 +1685,27 @@ function Pt(e, t) {
1688
1685
  isConstructorOnly: void 0,
1689
1686
  isOverride: void 0,
1690
1687
  dtsTypeOverride: void 0
1691
- }, m = n, f = {
1688
+ }, f = n, m = {
1692
1689
  [ne]: d,
1693
1690
  kind: "field",
1694
- name: m.name,
1691
+ name: f.name,
1695
1692
  static: void 0,
1696
- deprecated: m.deprecated,
1693
+ deprecated: f.deprecated,
1697
1694
  summary: void 0,
1698
- description: m.description,
1699
- docsTags: m.docsTags,
1695
+ description: f.description,
1696
+ docsTags: f.docsTags,
1700
1697
  type: c,
1701
1698
  getterType: void 0,
1702
- default: m.default,
1699
+ default: f.default,
1703
1700
  readonly: void 0,
1704
1701
  inheritedFrom: void 0,
1705
- privacy: m.privacy,
1702
+ privacy: f.privacy,
1706
1703
  source: void 0,
1707
1704
  attribute: void 0,
1708
1705
  reflects: void 0,
1709
1706
  docsOnlyReadonly: void 0
1710
1707
  };
1711
- i.members ??= [], i.members.push(f);
1708
+ i.members ??= [], i.members.push(m);
1712
1709
  }
1713
1710
  if (a.length > 0) {
1714
1711
  i.supertypes ??= [];
@@ -1751,30 +1748,30 @@ function ve(e, t) {
1751
1748
  }
1752
1749
  return;
1753
1750
  }
1754
- const a = ke(e), r = {
1751
+ const a = Ie(e), r = {
1755
1752
  /**
1756
1753
  * If class was renamed when imported, also rename the created Properties
1757
1754
  * interface. This avoids name collision inside of
1758
1755
  * views/3d/environment/SunLighting as it imports webscene/SunLighting.
1759
1756
  * apiReference.name !== class.name for references to mixin base classes.
1760
1757
  */
1761
- [ne]: a === e.name ? void 0 : It(a, o.index.class.name),
1758
+ [ne]: a === e.name ? void 0 : Pt(a, o.index.class.name),
1762
1759
  name: s.name,
1763
1760
  module: e.module,
1764
1761
  package: e.package,
1765
1762
  viewUrl: e.viewUrl,
1766
1763
  typeArguments: void 0
1767
1764
  };
1768
- return Fe(r, i, t, t.apiModule), r[ne] ??= s.name, r;
1765
+ return $e(r, i, t, t.apiModule), r[ne] ??= s.name, r;
1769
1766
  }
1770
- function It(e, t) {
1767
+ function Pt(e, t) {
1771
1768
  if (e === void 0 || e === t)
1772
1769
  return;
1773
1770
  const i = e.indexOf("<");
1774
1771
  if (e = i === -1 ? e : e.slice(0, i), e !== t)
1775
1772
  return `${e}Properties`;
1776
1773
  }
1777
- function kt(e) {
1774
+ function It(e) {
1778
1775
  if (e.customElement === void 0)
1779
1776
  return;
1780
1777
  const t = e, i = [];
@@ -1791,7 +1788,7 @@ function kt(e) {
1791
1788
  description: s.description,
1792
1789
  inheritedFrom: s.inheritedFrom,
1793
1790
  type: a === void 0 || a.length === 0 ? s.type : {
1794
- text: Le(a),
1791
+ text: De(a),
1795
1792
  references: void 0,
1796
1793
  values: a,
1797
1794
  source: void 0
@@ -1817,7 +1814,7 @@ const de = {
1817
1814
  };
1818
1815
  function St(e, t, i, o) {
1819
1816
  const s = e;
1820
- o.produceDts && (fe(t).eventTypesProperty = s);
1817
+ o.produceDts && (me(t).eventTypesProperty = s);
1821
1818
  const a = h(i), r = `${t.name}Events`;
1822
1819
  if (s.type.text !== r && !s.type.text.startsWith(`${r}<`)) {
1823
1820
  if (s.type.text === "unknown")
@@ -1842,9 +1839,9 @@ function St(e, t, i, o) {
1842
1839
  );
1843
1840
  return;
1844
1841
  }
1845
- t.events ??= [], we(n, t, i, void 0, o);
1842
+ t.events ??= [], Ae(n, t, i, void 0, o);
1846
1843
  }
1847
- function we(e, t, i, o, s) {
1844
+ function Ae(e, t, i, o, s) {
1848
1845
  const a = o !== void 0;
1849
1846
  if (o ??= /* @__PURE__ */ new Set(), e.type !== void 0) {
1850
1847
  s.emitError(
@@ -1861,7 +1858,7 @@ function we(e, t, i, o, s) {
1861
1858
  const n = e.members[r];
1862
1859
  if (n.kind !== "field") {
1863
1860
  s.emitError(
1864
- `Event interfaces should only contain properties. Found ${et(n)} of kind ${x("red", n.kind)} in ${e.name}.`,
1861
+ `Event interfaces should only contain properties. Found ${Qe(n)} of kind ${x("red", n.kind)} in ${e.name}.`,
1865
1862
  {
1866
1863
  file: h(i).file,
1867
1864
  node: void 0
@@ -1901,24 +1898,24 @@ function we(e, t, i, o, s) {
1901
1898
  );
1902
1899
  return;
1903
1900
  }
1904
- we(c, t, l, o, s);
1901
+ Ae(c, t, l, o, s);
1905
1902
  }
1906
1903
  }
1907
- function Ge(e, t, i) {
1904
+ function we(e, t, i) {
1908
1905
  const o = h(e);
1909
1906
  if (o.inheritance !== void 0)
1910
1907
  return;
1911
1908
  o.inheritance = de.deferred;
1912
1909
  let a = !1;
1913
1910
  if (t.members !== void 0)
1914
- for (let m = 0; m < t.members.length; ++m) {
1915
- const f = t.members[m];
1916
- if (f.kind === "field") {
1917
- if (f.name === "@eventTypes") {
1918
- a = !0, St(f, t, e, i), t.members.splice(m, 1), m -= 1;
1911
+ for (let f = 0; f < t.members.length; ++f) {
1912
+ const m = t.members[f];
1913
+ if (m.kind === "field") {
1914
+ if (m.name === "@eventTypes") {
1915
+ a = !0, St(m, t, e, i), t.members.splice(f, 1), f -= 1;
1919
1916
  continue;
1920
1917
  }
1921
- f.inheritedFrom === void 0 && Tt(f, e, i);
1918
+ m.inheritedFrom === void 0 && Et(m, e, i);
1922
1919
  }
1923
1920
  }
1924
1921
  const r = t;
@@ -1926,30 +1923,30 @@ function Ge(e, t, i) {
1926
1923
  if (c?.supertypes !== void 0) {
1927
1924
  n = n === void 0 ? [] : [...n];
1928
1925
  do {
1929
- const m = c.supertypes.length > 1, f = m ? 1 : 0;
1930
- for (let p = c.supertypes.length - 1; p >= f; p--) {
1926
+ const f = c.supertypes.length > 1, m = f ? 1 : 0;
1927
+ for (let p = c.supertypes.length - 1; p >= m; p--) {
1931
1928
  const g = c.supertypes[p], u = g.module === void 0 ? { ...g, module: l.module } : g;
1932
1929
  n.unshift(u);
1933
1930
  }
1934
- l = m ? c.supertypes[0] : void 0, c = l === void 0 ? void 0 : be(l, e, i);
1931
+ l = f ? c.supertypes[0] : void 0, c = l === void 0 ? void 0 : be(l, e, i);
1935
1932
  } while (c?.supertypes !== void 0);
1936
1933
  }
1937
1934
  if (n !== void 0) {
1938
- const m = n.length - (t.mixins?.length ?? 0);
1939
- for (let f = n.length - 1; f >= 0; f--) {
1940
- const p = n[f], g = Me(p.module ?? e.path, !0, i);
1941
- typeof g == "object" ? Ce(g, t, a, i) : f >= m && (t.mixins.splice(f - m, 1), t.mixins.length === 0 && (t.mixins = void 0));
1935
+ const f = n.length - (t.mixins?.length ?? 0);
1936
+ for (let m = n.length - 1; m >= 0; m--) {
1937
+ const p = n[m], g = Me(p.module ?? e.path, !0, i);
1938
+ typeof g == "object" ? Ce(g, t, a, i) : m >= f && (t.mixins.splice(m - f, 1), t.mixins.length === 0 && (t.mixins = void 0));
1942
1939
  }
1943
1940
  }
1944
1941
  if (l?.package !== void 0)
1945
1942
  return;
1946
1943
  const d = l?.module;
1947
1944
  if (d !== void 0) {
1948
- const m = Me(d, !1, i);
1949
- typeof m == "object" && (m.declaration.privacy !== void 0 && t.privacy === void 0 && i.emitError(
1950
- `Public component may only subclass a public component to avoid broken inheritance. Tried to inherit from private ${m.declaration.name}. Remove @private from it but feel free to add a jsdoc description stating the base class is abstract - not for direct consumption. Lumina does bare minimum extraction work for private components, which makes them ineligible for public docs.`,
1945
+ const f = Me(d, !1, i);
1946
+ typeof f == "object" && (f.declaration.privacy !== void 0 && t.privacy === void 0 && i.emitError(
1947
+ `Public component may only subclass a public component to avoid broken inheritance. Tried to inherit from private ${f.declaration.name}. Remove @private from it but feel free to add a jsdoc description stating the base class is abstract - not for direct consumption. Lumina does bare minimum extraction work for private components, which makes them ineligible for public docs.`,
1951
1948
  { file: o.file, node: void 0 }
1952
- ), Ce(m, t, a, i));
1949
+ ), Ce(f, t, a, i));
1953
1950
  }
1954
1951
  }
1955
1952
  function Ce(e, t, i, o) {
@@ -1959,22 +1956,22 @@ function Ce(e, t, i, o) {
1959
1956
  const r = t.members, n = o.config.documentation.noInheritMembers[e.inheritanceData.module];
1960
1957
  let l = n === void 0 ? void 0 : new Set(n);
1961
1958
  for (let d = 0; d < r.length; ++d) {
1962
- const m = r[d], f = ce(m), p = e.indexedMembers[f];
1959
+ const f = r[d], m = ce(f), p = e.indexedMembers[m];
1963
1960
  if (p === void 0)
1964
1961
  continue;
1965
- if (l ??= /* @__PURE__ */ new Set(), l.add(f), m.kind === "field") {
1966
- const u = oe(m);
1962
+ if (l ??= /* @__PURE__ */ new Set(), l.add(m), f.kind === "field") {
1963
+ const u = oe(f);
1967
1964
  oe(p).isAccessor === !0 && (u.isAccessor = !0), u.isOverride = !0;
1968
1965
  }
1969
- p !== void 0 && m.inheritedFrom === void 0 && Se(p, m);
1966
+ p !== void 0 && f.inheritedFrom === void 0 && Se(p, f);
1970
1967
  }
1971
1968
  const c = s.members;
1972
1969
  for (let d = 0; d < c.length; ++d) {
1973
- const m = c[d];
1970
+ const f = c[d];
1974
1971
  // Most classes don't override any public members, so don't even check
1975
1972
  // for this if no members were overridden.
1976
- (l?.has(ce(m)) ?? !1) || t.members.push(
1977
- m.inheritedFrom === void 0 ? { ...m, inheritedFrom: e.inheritanceData } : m
1973
+ (l?.has(ce(f)) ?? !1) || t.members.push(
1974
+ f.inheritedFrom === void 0 ? { ...f, inheritedFrom: e.inheritanceData } : f
1978
1975
  );
1979
1976
  }
1980
1977
  }
@@ -2021,20 +2018,20 @@ function X(e = [], t, i, o) {
2021
2018
  return e;
2022
2019
  }
2023
2020
  function Me(e, t, i) {
2024
- const o = i.moduleMap.get(e), s = Et(o, e, t, i), a = o === void 0 ? void 0 : h(o);
2021
+ const o = i.moduleMap.get(e), s = kt(o, e, t, i), a = o === void 0 ? void 0 : h(o);
2025
2022
  if (s === !1 || o === void 0)
2026
2023
  return a !== void 0 ? a.inheritance = de.skip : t && i.privateMixinModuleNames.add(e), de.skip;
2027
2024
  const [r, n] = s, l = n;
2028
- Ge(o, n, i);
2025
+ we(o, n, i);
2029
2026
  let c, d = !1;
2030
2027
  if (n.members !== void 0) {
2031
2028
  c = /* @__PURE__ */ Object.create(null);
2032
- for (let f = 0; f < n.members.length; ++f) {
2033
- const p = n.members[f], g = ce(p), v = c[g] !== void 0;
2029
+ for (let m = 0; m < n.members.length; ++m) {
2030
+ const p = n.members[m], g = ce(p), v = c[g] !== void 0;
2034
2031
  c[g] = v ? void 0 : p, d ||= p.kind === "field" && p.readonly === void 0;
2035
2032
  }
2036
2033
  }
2037
- const m = {
2034
+ const f = {
2038
2035
  inheritanceData: {
2039
2036
  name: n.name,
2040
2037
  module: r,
@@ -2051,7 +2048,7 @@ function Me(e, t, i) {
2051
2048
  indexedCssProperties: Y(l.cssProperties),
2052
2049
  indexedCssStates: Y(l.cssStates)
2053
2050
  };
2054
- return a.inheritance = m, m;
2051
+ return a.inheritance = f, f;
2055
2052
  }
2056
2053
  function Y(e) {
2057
2054
  if (e === void 0)
@@ -2063,7 +2060,7 @@ function Y(e) {
2063
2060
  }
2064
2061
  return t;
2065
2062
  }
2066
- function Et(e, t, i, o) {
2063
+ function kt(e, t, i, o) {
2067
2064
  const s = e === void 0 ? void 0 : h(e), a = s?.index.class;
2068
2065
  return a === void 0 ? (i || o.emitError(
2069
2066
  `Failed to find @public class/custom element declaration in ${x("red", t)}. Referenced in the extends clause by ${x("blue", o.apiModule.sourcePath)}`,
@@ -2091,11 +2088,11 @@ function be(e, t, i) {
2091
2088
  }
2092
2089
  return a.kind === "interface" ? a : void 0;
2093
2090
  }
2094
- function Tt(e, t, i) {
2091
+ function Et(e, t, i) {
2095
2092
  const o = oe(e), s = h(t);
2096
- o.hasAutoCasting === !0 && (Ct(e.type, o, t, i), o.isConstructorOnly !== !0 && e.getterType?.text === e.type.text && (e.getterType = void 0)), o.isConstructorOnly === !0 && (s.constructorOnlySetters ??= {}, s.constructorOnlySetters[e.name] = e.type, e.type = e.getterType ?? e.type, e.getterType = void 0, e.readonly = !0);
2093
+ o.hasAutoCasting === !0 && (vt(e.type, o, t, i), o.isConstructorOnly !== !0 && e.getterType?.text === e.type.text && (e.getterType = void 0)), o.isConstructorOnly === !0 && (s.constructorOnlySetters ??= {}, s.constructorOnlySetters[e.name] = e.type, e.type = e.getterType ?? e.type, e.getterType = void 0, e.readonly = !0);
2097
2094
  }
2098
- function $t(e, t, i) {
2095
+ function Tt(e, t, i) {
2099
2096
  if (!(i.watchFiles === void 0 || t.reExports === void 0))
2100
2097
  for (let o = 0; o < t.reExports.length; ++o) {
2101
2098
  const s = t.reExports[o];
@@ -2105,10 +2102,10 @@ function $t(e, t, i) {
2105
2102
  n !== void 0 && (i.watchFiles.get(e.sourcePath).dependencies.add(n), i.watchFiles.get(n).dependents.set(e.sourcePath, !0));
2106
2103
  }
2107
2104
  }
2108
- function Ft(e, t) {
2109
- e.sort(tt), At(e, t), t.isComponentProject && Oe(e, t);
2105
+ function $t(e, t) {
2106
+ e.sort(et), Ft(e, t), t.isComponentProject && Le(e, t);
2110
2107
  }
2111
- function At(e, t) {
2108
+ function Ft(e, t) {
2112
2109
  for (let i = 0; i < e.length; ++i) {
2113
2110
  const o = e[i];
2114
2111
  if (!h(o).isStale)
@@ -2123,7 +2120,7 @@ function At(e, t) {
2123
2120
  file: h(o).file,
2124
2121
  node: void 0
2125
2122
  }
2126
- ), "members" in n && n.kind !== "interface" && (Ge(o, n, t), n.events?.sort(it));
2123
+ ), "members" in n && n.kind !== "interface" && (we(o, n, t), n.events?.sort(tt));
2127
2124
  }
2128
2125
  }
2129
2126
  for (let i = 0; i < e.length; ++i) {
@@ -2154,8 +2151,8 @@ function At(e, t) {
2154
2151
  const n = r;
2155
2152
  if (n.members !== void 0) {
2156
2153
  for (let c = 0; c < n.members.length; ++c) {
2157
- const d = n.members[c], m = d.inheritedFrom, f = m !== void 0;
2158
- if (t.inheritedModuleName = m?.module, d.deprecated = Q(d.deprecated, t), d.description = R(d.description, t), V(d.docsTags, t), !f && d.kind !== "field") {
2154
+ const d = n.members[c], f = d.inheritedFrom, m = f !== void 0;
2155
+ if (t.inheritedModuleName = f?.module, d.deprecated = Q(d.deprecated, t), d.description = R(d.description, t), V(d.docsTags, t), !m && d.kind !== "field") {
2159
2156
  if (d.parameters !== void 0)
2160
2157
  for (let g = 0; g < d.parameters.length; ++g) {
2161
2158
  const u = d.parameters[g];
@@ -2166,7 +2163,7 @@ function At(e, t) {
2166
2163
  }
2167
2164
  t.inheritedModuleName = void 0;
2168
2165
  }
2169
- r.kind !== "interface" && n.members.sort(ot);
2166
+ r.kind !== "interface" && n.members.sort(it);
2170
2167
  const l = r;
2171
2168
  if (l.events !== void 0) {
2172
2169
  for (let c = 0; c < l.events.length; ++c) {
@@ -2175,7 +2172,7 @@ function At(e, t) {
2175
2172
  }
2176
2173
  t.inheritedModuleName = void 0;
2177
2174
  }
2178
- if (t.config.context.isLuminaMinimalExtraction || kt(n), l.slots !== void 0)
2175
+ if (t.config.context.isLuminaMinimalExtraction || It(n), l.slots !== void 0)
2179
2176
  for (let c = 0; c < l.slots.length; ++c) {
2180
2177
  const d = l.slots[c];
2181
2178
  d.description = R(d.description, t);
@@ -2202,21 +2199,21 @@ function At(e, t) {
2202
2199
  }
2203
2200
  } else r === s.constructorPropertiesInterface && (o.declarations.splice(a, 1), a -= 1);
2204
2201
  }
2205
- s.constructorPropertiesInterface !== void 0 && Pt(s, t), vt(o, s, t), $t(o, s, t);
2202
+ s.constructorPropertiesInterface !== void 0 && xt(s, t), gt(o, s, t), Tt(o, s, t);
2206
2203
  }
2207
2204
  }
2208
- function wt(e) {
2209
- const t = [Gt];
2205
+ function At(e) {
2206
+ const t = [wt];
2210
2207
  for (let i = 0; i < e.length; ++i) {
2211
2208
  const o = e[i];
2212
- st(o) && t.push(
2209
+ rt(o) && t.push(
2213
2210
  ` "@arcgis/core/${o.path}.js": typeof import("./${o.path}.js")${o.exports === void 0 ? "" : ".default"};
2214
2211
  `
2215
2212
  );
2216
2213
  }
2217
- return t.push(Rt), t.join("");
2214
+ return t.push(Gt), t.join("");
2218
2215
  }
2219
- const Gt = `declare global {
2216
+ const wt = `declare global {
2220
2217
  const $arcgis: ArcgisGlobal;
2221
2218
  }
2222
2219
 
@@ -2236,8 +2233,8 @@ interface ArcgisImport {
2236
2233
  }
2237
2234
 
2238
2235
  export interface ArcgisImportModules {
2239
- `, Rt = `}
2240
- `, Dt = async function() {
2236
+ `, Gt = `}
2237
+ `, Rt = async function() {
2241
2238
  if (this.isRunInProgress)
2242
2239
  throw Error(
2243
2240
  "The ApiExtractor.run() is already in progress, or previous run crashed with unrecoverable error. Await the previous run first or create a new ApiExtractor"
@@ -2247,7 +2244,7 @@ export interface ArcgisImportModules {
2247
2244
  this.watchFiles === void 0 && (this.moduleMap = /* @__PURE__ */ new Map());
2248
2245
  const t = e.context.dtsEmitPath !== "", i = e.context.emptyDtsEmitPath && t ? (
2249
2246
  // This takes 80ms for JSAPI
2250
- Ne(e.context.dtsEmitPath)
2247
+ Oe(e.context.dtsEmitPath)
2251
2248
  ) : void 0;
2252
2249
  if (e.types.typeCheckedExtraction || e.types.fullTypeCheck) {
2253
2250
  const n = _(), l = e.types.typeScriptConfig;
@@ -2260,29 +2257,29 @@ export interface ArcgisImportModules {
2260
2257
  });
2261
2258
  this.program = d, e.types.typeScriptInstanceCreated(d, c);
2262
2259
  }
2263
- Re(this, n);
2260
+ Ge(this, n);
2264
2261
  }
2265
- const o = _(), s = await Be(this);
2266
- Ft(s, this);
2262
+ const o = _(), s = await Ne(this);
2263
+ $t(s, this);
2267
2264
  const a = this.wrapApiModules(s);
2268
2265
  e.context.logger.info(
2269
2266
  `${H}Extracted ${s.length} @public files in ${x("green", `${o()}s`)}`
2270
2267
  );
2271
2268
  const r = { apiJson: a, dtsFiles: void 0 };
2272
- if (e.afterApiJsonCreate !== Ee && e.afterApiJsonCreate(r), this.produceDts) {
2269
+ if (e.afterApiJsonCreate !== ke && e.afterApiJsonCreate(r), this.produceDts) {
2273
2270
  const n = _(), l = this.dtsFiles;
2274
2271
  if (this.dtsFiles = /* @__PURE__ */ new Map(), this.isJsApi) {
2275
- const c = gt(s, this), d = `${e.context.dtsEmitPath}interfaces.d.ts`;
2272
+ const c = ht(s, this), d = `${e.context.dtsEmitPath}interfaces.d.ts`;
2276
2273
  this.dtsFiles.set(d, c);
2277
- const m = wt(s), f = `${e.context.dtsEmitPath}arcgisGlobal.d.ts`;
2278
- this.dtsFiles.set(f, m);
2279
- } else this.isComponentProject && We(s, this);
2274
+ const f = At(s), m = `${e.context.dtsEmitPath}arcgisGlobal.d.ts`;
2275
+ this.dtsFiles.set(m, f);
2276
+ } else this.isComponentProject && Be(s, this);
2280
2277
  for (let c = 0; c < s.length; ++c) {
2281
- const d = s[c], m = h(d);
2282
- let f = `${e.context.dtsEmitPath + m.dtsPath}.d.ts`, p;
2283
- if (m.isStale) {
2284
- if (p = Ue(d, this), e.types.declarationTextTransformers.length > 0) {
2285
- let v = { filePath: f, content: p };
2278
+ const d = s[c], f = h(d);
2279
+ let m = `${e.context.dtsEmitPath + f.dtsPath}.d.ts`, p;
2280
+ if (f.isStale) {
2281
+ if (p = We(d, this), e.types.declarationTextTransformers.length > 0) {
2282
+ let v = { filePath: m, content: p };
2286
2283
  for (let C = 0; C < e.types.declarationTextTransformers.length; ++C) {
2287
2284
  const y = e.types.declarationTextTransformers[C];
2288
2285
  if (v = y(v, d, this), v === !1)
@@ -2290,21 +2287,21 @@ export interface ArcgisImportModules {
2290
2287
  }
2291
2288
  if (v === !1)
2292
2289
  continue;
2293
- f = v.filePath, p = v.content;
2290
+ m = v.filePath, p = v.content;
2294
2291
  }
2295
2292
  } else
2296
- p = l.get(f);
2293
+ p = l.get(m);
2297
2294
  if (d.exports?.[0].kind === "custom-element-definition" && p.length > 0) {
2298
- const v = `${f.slice(0, -19)}/index.d.ts`;
2295
+ const v = `${m.slice(0, -19)}/index.d.ts`;
2299
2296
  this.dtsFiles.set(v, 'export * from "./customElement.js";');
2300
2297
  }
2301
- this.dtsFiles.set(f, p);
2298
+ this.dtsFiles.set(m, p);
2302
2299
  }
2303
2300
  if (this.changedDtsFiles !== void 0)
2304
2301
  for (const [c, d] of this.dtsFiles)
2305
2302
  l.get(c) !== d && this.changedDtsFiles.set(c, d);
2306
2303
  if (t) {
2307
- await i, await ae(e.context.dtsEmitPath, { recursive: !0 }), await Lt(e.context.dtsEmitPath, !0, this.changedDtsFiles ?? this.dtsFiles);
2304
+ await i, await ae(e.context.dtsEmitPath, { recursive: !0 }), await Dt(e.context.dtsEmitPath, !0, this.changedDtsFiles ?? this.dtsFiles);
2308
2305
  const c = N.join(N.relative(process.cwd(), e.context.dtsEmitPath), "/");
2309
2306
  e.context.logger.info(
2310
2307
  `${H}Wrote ${c}**/*${x("blue", ".d.ts")} in ${x("green", `${n()}s`)}`
@@ -2313,7 +2310,7 @@ export interface ArcgisImportModules {
2313
2310
  }
2314
2311
  if (e.context.apiJsonEmitPath !== "") {
2315
2312
  const n = N.resolve(e.context.cwd, e.context.apiJsonEmitPath), l = N.join(N.relative(process.cwd(), N.dirname(n)), "/");
2316
- await ae(N.dirname(n), { recursive: !0 }), await Ie(
2313
+ await ae(N.dirname(n), { recursive: !0 }), await Pe(
2317
2314
  n,
2318
2315
  e.context.environment === "production" ? JSON.stringify(a) : JSON.stringify(a, null, 2)
2319
2316
  ), e.context.logger.info(
@@ -2324,15 +2321,15 @@ export interface ArcgisImportModules {
2324
2321
  `${H}${x("red", `Found ${this.errorCount} ${this.errorCount === 1 ? "error" : "errors"}`)}`
2325
2322
  ), this.silencedBrokenLinkCount > 0 && e.context.logger.info(`${H}Silenced ${this.silencedBrokenLinkCount} broken link errors.`), this.isRunInProgress = !1, this.produceDts && (r.dtsFiles = this.dtsFiles), r;
2326
2323
  };
2327
- async function Lt(e, t, i) {
2324
+ async function Dt(e, t, i) {
2328
2325
  const o = /* @__PURE__ */ new Set(), s = Array.from(i.entries());
2329
2326
  for (let l = 0; l < s.length; ++l) {
2330
2327
  const [c, d] = s[l];
2331
2328
  if (d.length === 0)
2332
2329
  continue;
2333
- const m = (t ? c.slice(e.length) : c).split("/");
2334
- for (let f = 1; f < m.length; ++f)
2335
- o.add(m.slice(0, f).join("/"));
2330
+ const f = (t ? c.slice(e.length) : c).split("/");
2331
+ for (let m = 1; m < f.length; ++m)
2332
+ o.add(f.slice(0, m).join("/"));
2336
2333
  }
2337
2334
  const a = new Array(o.size);
2338
2335
  for (const l of o)
@@ -2343,12 +2340,12 @@ async function Lt(e, t, i) {
2343
2340
  const [c, d] = s[l];
2344
2341
  if (d.length === 0)
2345
2342
  continue;
2346
- const m = n + c;
2347
- r[l] = Ie(m, d);
2343
+ const f = n + c;
2344
+ r[l] = Pe(f, d);
2348
2345
  }
2349
2346
  await Promise.all(r);
2350
2347
  }
2351
- function Re(e, t) {
2348
+ function Ge(e, t) {
2352
2349
  if (e.config.types.fullTypeCheck)
2353
2350
  if ("getSemanticDiagnostics" in e.program) {
2354
2351
  const i = e.builderProgram === void 0 ? E.getPreEmitDiagnostics(e.program) : e.builderProgram.getSemanticDiagnostics();
@@ -2361,7 +2358,7 @@ function Re(e, t) {
2361
2358
  node: void 0
2362
2359
  });
2363
2360
  }
2364
- const Ot = async function() {
2361
+ const Lt = async function() {
2365
2362
  if (this.watchFiles !== void 0)
2366
2363
  throw Error(
2367
2364
  "The ApiExtractor.watch() is already in progress, or previous watch crashed with unrecoverable error. Stop the previous watch first or create a new ApiExtractor"
@@ -2388,8 +2385,8 @@ const Ot = async function() {
2388
2385
  }
2389
2386
  }, n = (u, v, C) => {
2390
2387
  if (v === void 0) {
2391
- const y = e.context.cwd + u, b = ct(y, "utf8");
2392
- v = Je(y, b);
2388
+ const y = e.context.cwd + u, b = lt(y, "utf8");
2389
+ v = He(y, b);
2393
2390
  }
2394
2391
  this.watchFiles.set(u, {
2395
2392
  file: v,
@@ -2404,11 +2401,11 @@ const Ot = async function() {
2404
2401
  });
2405
2402
  };
2406
2403
  let l, c = !0, d;
2407
- m();
2408
- function m() {
2404
+ f();
2405
+ function f() {
2409
2406
  return d === void 0 ? (d = Promise.withResolvers(), e.watch.onUpdate(d.promise), !0) : !1;
2410
2407
  }
2411
- function f(u) {
2408
+ function m(u) {
2412
2409
  d?.resolve(u), d = void 0;
2413
2410
  }
2414
2411
  const p = async () => {
@@ -2417,7 +2414,7 @@ const Ot = async function() {
2417
2414
  try {
2418
2415
  u = await this.run();
2419
2416
  } catch (M) {
2420
- throw f(void 0), M;
2417
+ throw m(void 0), M;
2421
2418
  }
2422
2419
  const v = [], C = [];
2423
2420
  for (const M of this.watchFiles.values()) {
@@ -2425,7 +2422,7 @@ const Ot = async function() {
2425
2422
  if (I === void 0)
2426
2423
  P !== void 0 && (M.module = M.previousModule, a(M, P.sourcePath));
2427
2424
  else {
2428
- P === void 0 ? (c || C.push(I), M.previousModule = I) : I !== P && (Ve(I, P) ? M.module = P : (v.push({ old: P, new: I }), M.previousModule = I));
2425
+ P === void 0 ? (c || C.push(I), M.previousModule = I) : I !== P && (Je(I, P) ? M.module = P : (v.push({ old: P, new: I }), M.previousModule = I));
2429
2426
  const L = h(I);
2430
2427
  L.isStale && (L.isStale = !1);
2431
2428
  }
@@ -2448,15 +2445,15 @@ const Ot = async function() {
2448
2445
  };
2449
2446
  o = [];
2450
2447
  const b = c || v.length > 0 || C.length > 0 || y.removedModules.length > 0;
2451
- c = !1, f(b ? y : void 0), l?.();
2448
+ c = !1, m(b ? y : void 0), l?.();
2452
2449
  };
2453
2450
  if (e.types.typeCheckedExtraction || e.types.fullTypeCheck) {
2454
2451
  const u = e.types.fullTypeCheck ? E.createSemanticDiagnosticsBuilderProgram : E.createAbstractBuilder;
2455
2452
  let v;
2456
- const C = (k, F, T, ...w) => (v = T, u(
2453
+ const C = (S, F, T, ...w) => (v = T, u(
2457
2454
  // If not doing full type check, don't scout test files
2458
2455
  // If non-tests import tests, they will be included implicitly anyway
2459
- e.types.fullTypeCheck ? k : k?.filter(($) => !He($)),
2456
+ e.types.fullTypeCheck ? S : S?.filter(($) => !ze($)),
2460
2457
  F,
2461
2458
  T,
2462
2459
  ...w
@@ -2472,14 +2469,14 @@ const Ot = async function() {
2472
2469
  void 0
2473
2470
  ), b = y.setTimeout;
2474
2471
  let M;
2475
- y.setTimeout = b === void 0 ? void 0 : (k, F, ...T) => {
2472
+ y.setTimeout = b === void 0 ? void 0 : (S, F, ...T) => {
2476
2473
  if (!(T[0] === "timerToUpdateProgram"))
2477
- return b(k, F, ...T);
2478
- const G = M !== void 0 ? Promise.resolve() : d === void 0 ? Promise.resolve(m()) : d.promise.finally(m);
2474
+ return b(S, F, ...T);
2475
+ const G = M !== void 0 ? Promise.resolve() : d === void 0 ? Promise.resolve(f()) : d.promise.finally(f);
2479
2476
  return M = b(
2480
2477
  (...J) => {
2481
2478
  M = void 0, G.finally(() => {
2482
- this.program = void 0, k(...J), this.program === void 0 && f(void 0);
2479
+ this.program = void 0, S(...J), this.program === void 0 && m(void 0);
2483
2480
  });
2484
2481
  },
2485
2482
  e.watch.debounceTime,
@@ -2487,11 +2484,11 @@ const Ot = async function() {
2487
2484
  ), M;
2488
2485
  };
2489
2486
  const I = y.onWatchStatusChange, P = 6031, L = 6032;
2490
- y.onWatchStatusChange = (k, ...F) => {
2491
- k.code === L ? e.watch.clearScreen && E.sys.clearScreen?.() : k.code !== P && I?.(k, ...F);
2492
- }, y.afterProgramCreate = (k) => {
2493
- this.builderProgram = k;
2494
- const F = k.getProgram();
2487
+ y.onWatchStatusChange = (S, ...F) => {
2488
+ S.code === L ? e.watch.clearScreen && E.sys.clearScreen?.() : S.code !== P && I?.(S, ...F);
2489
+ }, y.afterProgramCreate = (S) => {
2490
+ this.builderProgram = S;
2491
+ const F = S.getProgram();
2495
2492
  this.program = F;
2496
2493
  const T = F.getSourceFiles();
2497
2494
  e.types.typeScriptInstanceCreated(F, v);
@@ -2507,40 +2504,40 @@ const Ot = async function() {
2507
2504
  }
2508
2505
  for (const [$, G] of this.watchFiles)
2509
2506
  G.wasRemoved && (a(G, $), w = !0);
2510
- w ? p() : (Re(this, _()), f(void 0));
2507
+ w ? p() : (Ge(this, _()), m(void 0));
2511
2508
  }, t = E.createWatchProgram(y);
2512
2509
  } else {
2513
2510
  let u = function(y) {
2514
- return dt(y, {
2511
+ return ct(y, {
2515
2512
  throwIfNoEntry: !1
2516
2513
  })?.isFile();
2517
2514
  };
2518
- const v = rt(() => {
2515
+ const v = nt(() => {
2519
2516
  let y = !1;
2520
2517
  for (const [b, M] of i)
2521
2518
  y = C(b, M) || y;
2522
- i.clear(), y ? (e.watch.clearScreen && E.sys.clearScreen?.(), p()) : f(void 0);
2519
+ i.clear(), y ? (e.watch.clearScreen && E.sys.clearScreen?.(), p()) : m(void 0);
2523
2520
  }, e.watch.debounceTime), C = (y, b) => {
2524
2521
  const M = e.context.cwd + y, I = !b, P = this.watchFiles.get(y), L = P !== void 0;
2525
2522
  if (I || P === void 0) {
2526
- const k = u(M);
2527
- if (k === !1) {
2523
+ const S = u(M);
2524
+ if (S === !1) {
2528
2525
  let T, w = !1;
2529
2526
  try {
2530
- T = at(M, { recursive: !0 });
2527
+ T = st(M, { recursive: !0 });
2531
2528
  let $;
2532
2529
  for (; ($ = T.readSync()) !== null; ) {
2533
2530
  if ($.isDirectory())
2534
2531
  continue;
2535
2532
  const z = `${$.parentPath}/${$.name}`.slice(e.context.cwd.length);
2536
- je(z) && (w = C(z, !1) || w);
2533
+ Ue(z) && (w = C(z, !1) || w);
2537
2534
  }
2538
2535
  } finally {
2539
2536
  T?.closeSync();
2540
2537
  }
2541
2538
  return w;
2542
2539
  }
2543
- const F = k === !0;
2540
+ const F = S === !0;
2544
2541
  if (L) {
2545
2542
  if (F)
2546
2543
  return s(P, y, void 0), !0;
@@ -2562,12 +2559,12 @@ const Ot = async function() {
2562
2559
  } else
2563
2560
  return s(P, y, void 0), !0;
2564
2561
  };
2565
- t = lt(this.basePath, { recursive: !0 }, (y, b) => {
2566
- const M = m(), I = b === null ? void 0 : Ze(b), P = y === "change";
2562
+ t = at(this.basePath, { recursive: !0 }, (y, b) => {
2563
+ const M = f(), I = b === null ? void 0 : qe(b), P = y === "change";
2567
2564
  if (I !== void 0 && // If changed, check if it is an included file
2568
2565
  // For a rename, we don't know if it is directory or a file - only check
2569
2566
  // if directory is included, and the file will be checked later.
2570
- (P ? ue(this.basePath + I, this) : ze(this.basePath + I, this))) {
2567
+ (P ? ue(this.basePath + I, this) : je(this.basePath + I, this))) {
2571
2568
  const L = e.context.basePath + I, F = (i.get(L) ?? !0) && P;
2572
2569
  i.set(L, F);
2573
2570
  }
@@ -2581,17 +2578,17 @@ const Ot = async function() {
2581
2578
  t.close(), i.clear(), await d?.promise, this.watchFiles = void 0;
2582
2579
  }
2583
2580
  };
2584
- }, Nt = ".verify-typings.ts";
2585
- class Bt {
2581
+ }, Ot = ".verify-typings.ts";
2582
+ class Nt {
2586
2583
  constructor(t, i = N.join(process.cwd(), "dist")) {
2587
2584
  this.extractor = t, this.virtualCwdPath = N.join(i, "/");
2588
2585
  }
2589
2586
  verifyTypes(t) {
2590
2587
  const i = _(), o = /* @__PURE__ */ Object.create(null);
2591
- o[this.virtualCwdPath + Nt] = this.getVerificationFileContents(t);
2588
+ o[this.virtualCwdPath + Ot] = this.getVerificationFileContents(t);
2592
2589
  const s = this.extractor.config.context.dtsEmitPath === "" ? this.virtualCwdPath : "";
2593
- for (const [f, p] of this.extractor.dtsFiles)
2594
- o[s + f] = p;
2590
+ for (const [m, p] of this.extractor.dtsFiles)
2591
+ o[s + m] = p;
2595
2592
  const a = {
2596
2593
  lib: ["lib.dom.d.ts", "lib.esnext.d.ts"],
2597
2594
  module: E.ModuleKind.ESNext,
@@ -2611,22 +2608,22 @@ class Bt {
2611
2608
  // Performance optimization. Don't look up node_modules/@typescript/lib-...
2612
2609
  libReplacement: !1
2613
2610
  }, r = E.createCompilerHost(a), n = r.fileExists;
2614
- r.fileExists = (f) => f.endsWith("package.json") ? f.includes("node_modules") ? n(f) : !1 : o[f] !== void 0 ? !0 : f.endsWith(".d.ts") ? n(f) : !1, r.useCaseSensitiveFileNames = () => !0;
2611
+ r.fileExists = (m) => m.endsWith("package.json") ? m.includes("node_modules") ? n(m) : !1 : o[m] !== void 0 ? !0 : m.endsWith(".d.ts") ? n(m) : !1, r.useCaseSensitiveFileNames = () => !0;
2615
2612
  const l = r.readFile;
2616
- r.readFile = (f) => {
2617
- const p = o[f];
2618
- return p === void 0 ? l(f) : p;
2613
+ r.readFile = (m) => {
2614
+ const p = o[m];
2615
+ return p === void 0 ? l(m) : p;
2619
2616
  };
2620
2617
  const c = r.directoryExists;
2621
- r.directoryExists = (f) => f.includes("node_modules") ? c(f) : !0, r.getCurrentDirectory = () => this.virtualCwdPath, r.getCanonicalFileName = se.getCanonicalFileName;
2618
+ r.directoryExists = (m) => m.includes("node_modules") ? c(m) : !0, r.getCurrentDirectory = () => this.virtualCwdPath, r.getCanonicalFileName = se.getCanonicalFileName;
2622
2619
  const d = E.createProgram({
2623
2620
  rootNames: Object.keys(o),
2624
2621
  host: r,
2625
2622
  options: a
2626
- }), m = E.getPreEmitDiagnostics(d).filter(this.extractor.config.verify.filterTypeCheckDiagnostic);
2627
- m.length && (this.extractor.config.context.logger.error(
2628
- E.formatDiagnosticsWithColorAndContext(m, se)
2629
- ), process.exitCode = 1, this.extractor.errorCount += m.length), this.extractor.config.context.logger.info(`${H}Types verified in ${x("green", `${i()}s`)}`);
2623
+ }), f = E.getPreEmitDiagnostics(d).filter(this.extractor.config.verify.filterTypeCheckDiagnostic);
2624
+ f.length && (this.extractor.config.context.logger.error(
2625
+ E.formatDiagnosticsWithColorAndContext(f, se)
2626
+ ), process.exitCode = 1, this.extractor.errorCount += f.length), this.extractor.config.context.logger.info(`${H}Types verified in ${x("green", `${i()}s`)}`);
2630
2627
  }
2631
2628
  printTypeParameters(t, i) {
2632
2629
  if (t === void 0)
@@ -2658,18 +2655,18 @@ class Bt {
2658
2655
  return i;
2659
2656
  }
2660
2657
  }
2661
- class ei {
2658
+ class Qt {
2662
2659
  /**
2663
2660
  * @public
2664
2661
  * @param rawConfig Optional configuration for the extractor.
2665
2662
  */
2666
2663
  constructor(t = {}) {
2667
- this.componentStories = /* @__PURE__ */ Object.create(null), this.dtsFiles = /* @__PURE__ */ new Map(), this.changedDtsFiles = void 0, this.isRunInProgress = !1, this.watchFiles = void 0, this.program = void 0, this.builderProgram = void 0, this.componentPathMapping = void 0, this.componentCssFileDocs = void 0, this.vanillaComponentTypes = void 0, this.isInLuminaMinimalExtraction = !1, this.errorCount = 0, this.silencedBrokenLinkCount = 0, this.loggedBooleanWarning = !1, this.moduleMap = void 0, this.privateMixinModuleNames = /* @__PURE__ */ new Set(), this.implicitPublicModules = void 0, this.file = void 0, this.apiModule = void 0, this.componentTagName = void 0, this.pairedSetter = void 0, this.statementJsDocs = [], this.jsDoc = void 0, this.apiObject = void 0, this.moduleContext = void 0, this.localDeclarations = /* @__PURE__ */ new Set(), this.exportDefaultName = void 0, this.objectLikeTypeParameters = void 0, this.functionLikeTypeParameters = void 0, this.apiClassLikeName = void 0, this.mixinName = void 0, this.mixinMixins = void 0, this.moduleHasAccessorLikeClass = !1, this.moduleHasClass = !1, this.inheritedModuleName = void 0, this.run = Dt.bind(this), this.watch = Ot.bind(this), this.emitError = De.bind(this);
2668
- const i = Xe(t);
2664
+ this.componentStories = /* @__PURE__ */ Object.create(null), this.dtsFiles = /* @__PURE__ */ new Map(), this.changedDtsFiles = void 0, this.isRunInProgress = !1, this.watchFiles = void 0, this.program = void 0, this.builderProgram = void 0, this.componentPathMapping = void 0, this.componentCssFileDocs = void 0, this.vanillaComponentTypes = void 0, this.isInLuminaMinimalExtraction = !1, this.errorCount = 0, this.silencedBrokenLinkCount = 0, this.loggedBooleanWarning = !1, this.moduleMap = void 0, this.privateMixinModuleNames = /* @__PURE__ */ new Set(), this.implicitPublicModules = void 0, this.file = void 0, this.apiModule = void 0, this.componentTagName = void 0, this.pairedSetter = void 0, this.statementJsDocs = [], this.jsDoc = void 0, this.apiObject = void 0, this.moduleContext = void 0, this.localDeclarations = /* @__PURE__ */ new Set(), this.exportDefaultName = void 0, this.objectLikeTypeParameters = void 0, this.functionLikeTypeParameters = void 0, this.apiClassLikeName = void 0, this.mixinName = void 0, this.mixinMixins = void 0, this.moduleHasAccessorLikeClass = !1, this.moduleHasClass = !1, this.inheritedModuleName = void 0, this.run = Rt.bind(this), this.watch = Lt.bind(this), this.emitError = Re.bind(this);
2665
+ const i = Ve(t);
2669
2666
  this.config = i, this.produceDts = i.types.forceProduceDts || i.context.dtsEmitPath !== "" || i.verify.typeCheckTypes, this.basePath = `${i.context.cwd}${i.context.basePath}`, this.normalizedApiReferencePrefix = `https://${this.config.documentation.host}${this.config.documentation.basePath}`, this.runtimeDependencyNames = /* @__PURE__ */ new Set([
2670
2667
  ...Object.keys(i.context.packageJson.dependencies ?? {}),
2671
2668
  ...Object.keys(i.context.packageJson.peerDependencies ?? {})
2672
- ]), this.resolveJsDocLink = i.context.isLuminaMinimalExtraction ? Ee : qe.bind(void 0, this), this.isComponentProject = "@arcgis/lumina" in (i.context.packageJson.dependencies ?? {}), this.isJsApi = i.context.packageJson.name === "arcgis-js-api", this.typeVerifier = i.verify.typeCheckTypes ? new Bt(this, i.context.dtsEmitPath || void 0) : void 0, this.localPrivateDeclarations = i.strict ? void 0 : /* @__PURE__ */ new Map();
2669
+ ]), this.resolveJsDocLink = i.context.isLuminaMinimalExtraction ? ke : Ye.bind(void 0, this), this.isComponentProject = "@arcgis/lumina" in (i.context.packageJson.dependencies ?? {}), this.isJsApi = i.context.packageJson.name === "arcgis-js-api", this.typeVerifier = i.verify.typeCheckTypes ? new Nt(this, i.context.dtsEmitPath || void 0) : void 0, this.localPrivateDeclarations = i.strict ? void 0 : /* @__PURE__ */ new Map();
2673
2670
  }
2674
2671
  /**
2675
2672
  * Given an array of ApiModules, add top-level api.json metadata and return
@@ -2696,6 +2693,6 @@ class ei {
2696
2693
  }
2697
2694
  }
2698
2695
  export {
2699
- ei as A,
2700
- Lt as w
2696
+ Qt as A,
2697
+ Dt as w
2701
2698
  };