@arcgis/api-extractor 5.2.0-next.5 → 5.2.0-next.7

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,24 +1,24 @@
1
1
  import { path as $e, existsAsync as Zt, getCwd as Ri, retrievePackageJson as dt, toPosixPathSeparators as Li } from "@arcgis/components-build-utils";
2
- import { b as Ii, p as Ai, l as ki } from "./typeScript-C9dgub7w.js";
2
+ import { b as Ii, p as Ai, l as ki } from "./typeScript-CSnL-3Jn.js";
3
3
  import { getDefaultBasePath as ei, buildViewUrl as Gi, getViewUrl as Ve } from "./extractor/processing/links.js";
4
4
  import o from "typescript";
5
5
  import "fs/promises";
6
- import { a as pe, b as ti, c as Et, g as ne, p as j, f as tt, h as ii, d as Oe, e as Fi, i as Oi, j as ni, k as Ni } from "./privateContext-CB7P40up.js";
7
- import { maybeEscapePropertyName as Rt, printTypeAlias as Lt, printInterface as wi, printFunction as Ui, printVariable as Vi, printClass as Wi, printMethod as _i, printProperty as fe, printGetterSetter as Bi, printSignature as Ki } from "./utils/partPrinter.js";
6
+ import { a as me, b as ti, c as Et, g as ne, p as j, f as tt, h as ii, d as Oe, e as Fi, i as Oi, j as ni, k as Ni } from "./privateContext-CB7P40up.js";
7
+ import { maybeEscapePropertyName as Rt, printTypeAlias as Lt, printInterface as wi, printFunction as Ui, printVariable as Vi, printClass as Wi, printMethod as _i, printProperty as ye, printGetterSetter as Bi, printSignature as Ki } from "./utils/partPrinter.js";
8
8
  import { styleText as ie } from "node:util";
9
9
  import { readFile as It, opendir as At, rm as Hi } from "node:fs/promises";
10
10
  import { pathIsComponentEntrypoint as $i, findDeclaredComponent as zi } from "./extractor/webComponent/findComponents.js";
11
11
  import { renameComponentFolder as We, addComponentPathMapping as ji } from "./extractor/webComponent/pathMapping.js";
12
- import { getBasename as Z, getPackageNameFromExternalSpecifier as pt, extractInitializer as ze, extractBooleanInitializer as Y, findDecorator as De, getMemberName as xe } from "./utils/astHelpers.js";
13
- import { readFileSync as Ji, existsSync as ue } from "node:fs";
12
+ import { getBasename as Z, getPackageNameFromExternalSpecifier as pt, extractInitializer as ze, extractBooleanInitializer as Y, findDecorator as De, getMemberName as Re } from "./utils/astHelpers.js";
13
+ import { readFileSync as Ji, existsSync as fe } from "node:fs";
14
14
  import { uncapitalize as qi, camelToKebab as Qi, kebabToPascal as Xi } from "@arcgis/toolkit/string";
15
- import { globalPackageIdentifier as Re, mergeApiNodes as Yi, isApiMethodAsync as Zi } from "./utils/apiHelpers.js";
16
- import { identity as ge } from "@arcgis/toolkit/function";
15
+ import { globalPackageIdentifier as ce, mergeApiNodes as Yi, isApiMethodAsync as Zi } from "./utils/apiHelpers.js";
16
+ import { identity as Se } from "@arcgis/toolkit/function";
17
17
  import { pathToFileURL as en } from "node:url";
18
18
  import tn from "path";
19
19
  import { getWidenedLiteralType as nn, unsafeUndocumentedTs as on, unsafeGetUndocumentedPrinter as an } from "./utils/internalTypeScriptApis.js";
20
20
  const kt = "developers.arcgis.com", Gt = "next.gha.afd.arcgis.com";
21
- function ua(e) {
21
+ function fa(e) {
22
22
  if (e.isResolvedConfig === !0)
23
23
  return e;
24
24
  const t = e.context, n = e.types, i = e.documentation, r = `${t?.cwd === void 0 ? Ri() : $e.resolve(t?.cwd)}/`, l = t?.packageJson ?? dt(r);
@@ -75,8 +75,8 @@ function ua(e) {
75
75
  types: {
76
76
  typeCheckedExtraction: p,
77
77
  fullTypeCheck: d,
78
- afterDiagnostic: n?.afterDiagnostic ?? ge,
79
- typeScriptInstanceCreated: n?.typeScriptInstanceCreated ?? ge,
78
+ afterDiagnostic: n?.afterDiagnostic ?? Se,
79
+ typeScriptInstanceCreated: n?.typeScriptInstanceCreated ?? Se,
80
80
  typeScriptConfigPath: m.configPath,
81
81
  typeScriptConfig: f,
82
82
  compilerOptions: f.config.options,
@@ -101,7 +101,7 @@ function ua(e) {
101
101
  detectBrokenLinks: e.verify?.detectBrokenLinks ?? !0
102
102
  },
103
103
  watch: {
104
- onUpdate: e.watch?.onUpdate ?? ge,
104
+ onUpdate: e.watch?.onUpdate ?? Se,
105
105
  // Many reads can happen in a short time (on folder moves, or if prettier re-runs)
106
106
  // Shorter than TypeScript's default of 250ms as we are blocked until this
107
107
  // timeout is complete. Short timeout for unchecked extraction as it is fast,
@@ -111,10 +111,10 @@ function ua(e) {
111
111
  skipWritingUnchanged: P ? !1 : e.watch?.skipWritingUnchanged ?? !0
112
112
  },
113
113
  strict: e.strict ?? !c,
114
- afterApiJsonCreate: e.afterApiJsonCreate ?? ge
114
+ afterApiJsonCreate: e.afterApiJsonCreate ?? Se
115
115
  };
116
116
  }
117
- async function fa(e, t) {
117
+ async function ya(e, t) {
118
118
  const n = t !== void 0, i = e ?? process.cwd(), a = $e.resolve(i, t ?? "api-extractor.config.ts"), r = await Zt(a);
119
119
  if (n && !r)
120
120
  throw Error(`The provided config file at ${a} does not exist.`);
@@ -129,7 +129,7 @@ async function fa(e, t) {
129
129
  }
130
130
  };
131
131
  }
132
- function ya(e, t) {
132
+ function va(e, t) {
133
133
  const n = e.context, i = t.context, a = e.types, r = t.types, l = e.documentation, s = t.documentation, c = e.verify, p = t.verify, d = e.watch, m = t.watch;
134
134
  return {
135
135
  isResolvedConfig: e.isResolvedConfig || t.isResolvedConfig || void 0,
@@ -189,10 +189,10 @@ function ya(e, t) {
189
189
  };
190
190
  }
191
191
  function Ne(e, t) {
192
- const n = t === ge ? void 0 : t, i = e === ge ? void 0 : e;
192
+ const n = t === Se ? void 0 : t, i = e === Se ? void 0 : e;
193
193
  return n !== void 0 && i !== void 0 ? ((...a) => (n(...a), i(...a))) : i ?? n;
194
194
  }
195
- function Te(e) {
195
+ function he(e) {
196
196
  const t = [], n = e, i = e;
197
197
  if (e.deprecated && t.push({
198
198
  name: "deprecated",
@@ -392,7 +392,7 @@ function ai(e, t) {
392
392
  else if (a === "slot")
393
393
  e.slots ??= [], e.slots.push(rt(r));
394
394
  else if (a === "esriCompatibilityName") {
395
- const l = pe(e);
395
+ const l = me(e);
396
396
  l.esriCompatibilityNames ??= [], l.esriCompatibilityNames.push(r ?? "");
397
397
  } else a === "readonly" || (e.docsTags ??= [], e.docsTags.push(i));
398
398
  }
@@ -503,7 +503,7 @@ const U = {
503
503
  }, Le = {
504
504
  description: void 0,
505
505
  docsTags: []
506
- }, Ce = {
506
+ }, Pe = {
507
507
  description: void 0,
508
508
  docsTags: [U.private]
509
509
  };
@@ -534,9 +534,7 @@ function yn(e, t, n) {
534
534
  export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {`;
535
535
  return e.slice(0, a) + p + e.slice(a + i.length, c) + e.slice(s);
536
536
  }
537
- case "layers/OrientedImageryLayer":
538
- case "layers/AnnotationLayer":
539
- case "layers/DimensionFeatureLayer": {
537
+ case "layers/OrientedImageryLayer": {
540
538
  const i = `import type { __FeatureLayerSansType } from "./FeatureLayer.js";
541
539
  `, a = `extends FeatureLayer {
542
540
  `, r = e.indexOf(a);
@@ -563,31 +561,31 @@ export namespace tsx {
563
561
  return e;
564
562
  }
565
563
  }
566
- function va(e, t) {
564
+ function ga(e, t) {
567
565
  let n = `/// <reference types="../index.d.ts" />
568
566
  `, i = `
569
567
 
570
568
  `, a = "", r = "", l = "", s = "", c = "", p = "", d = "", m = "", f = "", u = "", g = "", C = "";
571
569
  for (let S = 0; S < e.length; ++S) {
572
- const x = e[S];
573
- for (let A = 0; A < x.declarations.length; ++A) {
574
- const V = x.declarations[A];
570
+ const D = e[S];
571
+ for (let A = 0; A < D.declarations.length; ++A) {
572
+ const V = D.declarations[A];
575
573
  if (V.customElement !== !0)
576
574
  continue;
577
575
  const W = V;
578
- if (W.privacy !== void 0 || pe(W).hasExplicitAbstract === !0)
576
+ if (W.privacy !== void 0 || me(W).hasExplicitAbstract === !0)
579
577
  continue;
580
578
  const { name: G, tagName: O, pascalCaseName: F, events: B } = W;
581
- i += `import type { ${G} } from "./${x.path}/customElement.js";
582
- `, n += `import type { ${G} } from "../${x.path}/customElement.js";
579
+ i += `import type { ${G} } from "./${D.path}/customElement.js";
580
+ `, n += `import type { ${G} } from "../${D.path}/customElement.js";
583
581
  `;
584
- const [me, Ge] = vn(W.name, W.members);
582
+ const [ue, Ge] = vn(W.name, W.members);
585
583
  let te = "", q = "";
586
584
  if (B !== void 0) {
587
- for (let de = 0; de < B.length; ++de) {
588
- const Fe = B[de], xt = `EventHandler<${G}["${Fe.name}"]>`;
589
- te += ` ${Rt(`on${Fe.name}`)}?: ${xt};
590
- `, q += ` ${Rt(`on${Fe.name[0].toUpperCase()}${Fe.name.slice(1)}`)}?: ${xt};
585
+ for (let pe = 0; pe < B.length; ++pe) {
586
+ const Fe = B[pe], Dt = `EventHandler<${G}["${Fe.name}"]>`;
587
+ te += ` ${Rt(`on${Fe.name}`)}?: ${Dt};
588
+ `, q += ` ${Rt(`on${Fe.name[0].toUpperCase()}${Fe.name.slice(1)}`)}?: ${Dt};
591
589
  `;
592
590
  }
593
591
  a += `export interface ${F}CustomEvent<T> extends CustomEvent<T> {
@@ -601,19 +599,19 @@ function va(e, t) {
601
599
  r += ` type HTML${F}Element = ${G};
602
600
 
603
601
  `, l += ` "${O}": ${G};
604
- `, s += `interface Lumina${F} extends ${me}h.JSX.HTMLAttributes<${G}> {
602
+ `, s += `interface Lumina${F} extends ${ue}h.JSX.HTMLAttributes<${G}> {
605
603
  ${te}}
606
604
 
607
605
  `, c += ` "${O}": Lumina${F};
608
- `, p += `interface Preact${F} extends ${me}HTMLAttributes<${G}> {
606
+ `, p += `interface Preact${F} extends ${ue}HTMLAttributes<${G}> {
609
607
  ${te}}
610
608
 
611
609
  `, d += ` "${O}": Preact${F};
612
- `, m += `interface React${F} extends ${me}HTMLProps<${G}> {
610
+ `, m += `interface React${F} extends ${ue}HTMLProps<${G}> {
613
611
  ${te}}
614
612
 
615
613
  `, f += ` "${O}": React${F};
616
- `, u += `interface Stencil${F} extends ${me}StencilJsx.HTMLAttributes<${G}> {
614
+ `, u += `interface Stencil${F} extends ${ue}StencilJsx.HTMLAttributes<${G}> {
617
615
  ${q}}
618
616
 
619
617
  `, g += ` "${O}": Stencil${F};
@@ -682,9 +680,9 @@ declare module "@stencil/core/internal/stencil-public-runtime" {
682
680
  export namespace h.JSX {
683
681
  interface IntrinsicElements extends ExposedElements {}
684
682
  }
685
- }`, D = `/** @deprecated import from stencil.d.ts instead */
683
+ }`, x = `/** @deprecated import from stencil.d.ts instead */
686
684
  export * from "./stencil.js";`, T = `${t.config.context.dtsEmitPath}types/`, _ = `${T}lumina.d.ts`, N = `${T}preact.d.ts`, J = `${T}react.d.ts`, K = `${T}stencil.d.ts`, E = `${T}components.d.ts`;
687
- t.dtsFiles.set(_, R), t.dtsFiles.set(N, y), t.dtsFiles.set(J, M), t.dtsFiles.set(K, L), t.dtsFiles.set(E, D);
685
+ t.dtsFiles.set(_, R), t.dtsFiles.set(N, y), t.dtsFiles.set(J, M), t.dtsFiles.set(K, L), t.dtsFiles.set(E, x);
688
686
  }
689
687
  function vn(e, t) {
690
688
  const n = [], i = [];
@@ -706,7 +704,7 @@ function vn(e, t) {
706
704
  ` : "";
707
705
  return [r.length === 0 ? "" : `${r}, `, l];
708
706
  }
709
- function ga(e, t) {
707
+ function Sa(e, t) {
710
708
  const n = t.moduleMap.get("index");
711
709
  if (n === void 0)
712
710
  e.unshift(gn);
@@ -794,7 +792,7 @@ browser will load the assets from.`,
794
792
  {
795
793
  name: "URL",
796
794
  module: void 0,
797
- package: "global:",
795
+ package: ce,
798
796
  viewUrl: "https://developer.mozilla.org/docs/Web/API/URL",
799
797
  start: 0,
800
798
  end: 3
@@ -834,8 +832,8 @@ const gn = {
834
832
  declarations: [si, li],
835
833
  exports: void 0
836
834
  };
837
- function Sa(e, t) {
838
- const n = Te(e), i = he(n), a = ne(e);
835
+ function Ta(e, t) {
836
+ const n = he(e), i = Ee(n), a = ne(e);
839
837
  if (a.index.class?.privacy !== void 0)
840
838
  return e.declarations.length > 1 && t.emitError(
841
839
  `Did not expect to find any public declarations in a module that declares a private web component. Found: ${e.declarations.filter((s) => s !== a.index.class).map((s) => s.name).join(", ")}`,
@@ -881,20 +879,20 @@ function Sa(e, t) {
881
879
  return t.isJsApi ? yn(r, e, t) : (t.isComponentProject && (e.exports?.[0].kind === "custom-element-definition" ? r = `/// <reference path="../../index.d.ts" />
882
880
  ${r}` : e.path === "index" && (r += t.vanillaComponentTypes)), r);
883
881
  }
884
- function he(e) {
882
+ function Ee(e) {
885
883
  return e === void 0 ? "" : `/*${rn(e)}*/
886
884
  `;
887
885
  }
888
886
  function Ot(e) {
889
- let t = Te(e), n = "";
887
+ let t = he(e), n = "";
890
888
  if (e.kind === "class" || e.kind === "mixin")
891
889
  n = Nt(e);
892
890
  else if (e.kind === "interface") {
893
- const a = pe(e);
891
+ const a = me(e);
894
892
  if (e.supertypes === void 0 && e.type === void 0 && e.members?.length === 1 && (e.members[0].kind === "call-signature" || e.members[0].kind === "constructor")) {
895
893
  const l = e.members[0];
896
894
  let s = di(l, !0);
897
- const c = Te(l)?.docsTags;
895
+ const c = he(l)?.docsTags;
898
896
  c !== void 0 && (t = {
899
897
  description: t?.description,
900
898
  docsTags: [...c, ...t?.docsTags ?? []]
@@ -930,10 +928,10 @@ function Ot(e) {
930
928
  const a = ti(e);
931
929
  n += Vi(a.isDefaultExported === !0, e.name, e.type.text);
932
930
  }
933
- return `${he(t)}${n}`;
931
+ return `${Ee(t)}${n}`;
934
932
  }
935
933
  function Nt(e) {
936
- const t = pe(e), n = t.isDefaultExported === !0, i = mt(e), a = e, r = e;
934
+ const t = me(e), n = t.isDefaultExported === !0, i = mt(e), a = e, r = e;
937
935
  let l, s = a.mixins ?? r.supertypes;
938
936
  s === void 0 ? a.superclass !== void 0 && (l = Oe(a.superclass)) : a.superclass === void 0 && s.length === 1 ? (l = Oe(s[0]), s = void 0) : l = `${e.name}Superclass`;
939
937
  let c = Wi(
@@ -957,13 +955,13 @@ declare const ${l}:`, a.superclass !== void 0 && (c += ` typeof ${Oe(a.superclas
957
955
  function mt(e) {
958
956
  const t = e.members;
959
957
  let n = "";
960
- const i = pe(e);
958
+ const i = me(e);
961
959
  if (e.kind === "mixin" && (n += `constructor(...args: any[]);
962
960
  `), i.eventTypesProperty !== void 0) {
963
961
  let l = Tn;
964
962
  if (i.eventTypesProperty.description !== void 0 || i.eventTypesProperty.docsTags !== void 0) {
965
- const c = Te(i.eventTypesProperty);
966
- l = he(c);
963
+ const c = he(i.eventTypesProperty);
964
+ l = Ee(c);
967
965
  }
968
966
  const s = wt(i.eventTypesProperty);
969
967
  n += `${l}${s}
@@ -976,12 +974,12 @@ function mt(e) {
976
974
  const c = t[s];
977
975
  if (c.inheritedFrom !== void 0 || c.privacy === "private")
978
976
  continue;
979
- const d = Te(c);
980
- n += he(d), c.kind === "field" ? (r && c.getterType !== void 0 && (l += ` ${fe(!1, !1, !1, !1, !1, c.docsTags?.includes(U.required) !== !0, c.name, c.type.text)}
977
+ const d = he(c);
978
+ n += Ee(d), c.kind === "field" ? (r && c.getterType !== void 0 && (l += ` ${ye(!1, !1, !1, !1, !1, c.docsTags?.includes(U.required) !== !0, c.name, c.type.text)}
981
979
  `), n += wt(c)) : n += di(c, !1), n += `
982
980
  `;
983
981
  }
984
- l !== "" && (n += `${fe(!1, !1, !1, !1, !1, !1, ri, `{
982
+ l !== "" && (n += `${ye(!1, !1, !1, !1, !1, !1, ri, `{
985
983
  ${l}}`)}
986
984
  `);
987
985
  }
@@ -997,14 +995,14 @@ ${l}}`)}
997
995
  for (let c = 0; c < a.events.length; ++c) {
998
996
  const p = a.events[c];
999
997
  if (p.inheritedFrom === void 0) {
1000
- const d = Te(p);
1001
- n += `${he(d)}${fe(!1, !1, !1, !0, !1, !1, p.name, `import("${Sn}").TargetedEvent<this, ${p.type.text}>`)}
998
+ const d = he(p);
999
+ n += `${Ee(d)}${ye(!1, !1, !1, !0, !1, !1, p.name, `import("${Sn}").TargetedEvent<this, ${p.type.text}>`)}
1002
1000
  `;
1003
1001
  }
1004
- s += ` ${fe(!1, !1, !1, !1, !1, !1, p.name, `${l}["${p.name}"]["detail"]`)}
1002
+ s += ` ${ye(!1, !1, !1, !1, !1, !1, p.name, `${l}["${p.name}"]["detail"]`)}
1005
1003
  `;
1006
1004
  }
1007
- n += `${fe(!1, !1, !1, !0, !1, !1, "@eventTypes", `{
1005
+ n += `${ye(!1, !1, !1, !0, !1, !1, "@eventTypes", `{
1008
1006
  ${s}}`)}
1009
1007
  `;
1010
1008
  }
@@ -1028,7 +1026,7 @@ function wt(e) {
1028
1026
  );
1029
1027
  else {
1030
1028
  const r = n.dtsTypeOverride ?? e.type.text, l = i ? !1 : r.endsWith(" | undefined"), s = l ? r.slice(0, -12) : r;
1031
- t += fe(
1029
+ t += ye(
1032
1030
  e.privacy !== void 0,
1033
1031
  n.isAbstract === !0,
1034
1032
  e.static === !0,
@@ -1054,7 +1052,7 @@ function di(e, t) {
1054
1052
  e.return?.type.text
1055
1053
  );
1056
1054
  }
1057
- const Tn = he({
1055
+ const Tn = Ee({
1058
1056
  description: void 0,
1059
1057
  docsTags: [
1060
1058
  {
@@ -1064,7 +1062,7 @@ Use EventNames and EventTypes helpers from @arcgis/core/Evented`
1064
1062
  }
1065
1063
  ]
1066
1064
  });
1067
- function Ta() {
1065
+ function ha() {
1068
1066
  const e = Date.now();
1069
1067
  return () => (Date.now() - e) / hn;
1070
1068
  }
@@ -1086,13 +1084,13 @@ function Ut(e, t, n) {
1086
1084
  }
1087
1085
  const a = [];
1088
1086
  for (const l of e.matchAll(Pn)) {
1089
- const s = l[1], c = xn(s), p = e.indexOf("{", l.index), d = e.indexOf("}", p), m = e.slice(0, l.index).trimEnd();
1087
+ const s = l[1], c = Dn(s), p = e.indexOf("{", l.index), d = e.indexOf("}", p), m = e.slice(0, l.index).trimEnd();
1090
1088
  let f = "";
1091
1089
  if (m.endsWith("*/")) {
1092
1090
  const C = m.lastIndexOf("/**");
1093
1091
  f = m.slice(C + 3, -2).trim().replaceAll(Mn, "");
1094
1092
  }
1095
- const u = e.slice(p, d).match(bn)?.[1] || c, g = Dn(c);
1093
+ const u = e.slice(p, d).match(bn)?.[1] || c, g = xn(c);
1096
1094
  a.push({
1097
1095
  description: `${u}${f ? `
1098
1096
  ${f}` : ""}`,
@@ -1110,7 +1108,7 @@ ${f}` : ""}`,
1110
1108
  const r = n.componentStories[i];
1111
1109
  r === void 0 ? n.componentStories[i] = a : r.push(...a);
1112
1110
  }
1113
- const Cn = /component: ["']([^"']+)["']/u, Pn = /export const (\w+)/gu, bn = /name: ["']([^"']+)["']/u, Mn = /^\s*\*\s?/gmu, Dn = (e) => e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]/giu, "-").replace(/-+/gu, "-").replace(/^-+/u, "").replace(/-+$/u, ""), xn = (e) => e.replace(/_/gu, " ").replace(/-/gu, " ").replace(/\./gu, " ").replace(/([^\n])([A-Z])([a-z])/gu, (t, n, i, a) => `${n} ${i}${a}`).replace(/([a-z])([A-Z])/gu, (t, n, i) => `${n} ${i}`).replace(/([a-z])([0-9])/giu, (t, n, i) => `${n} ${i}`).replace(/([0-9])([a-z])/giu, (t, n, i) => `${n} ${i}`).replace(/(\s|^)(\w)/gu, (t, n, i) => `${n}${i.toUpperCase()}`).replace(/ +/gu, " ").trim();
1111
+ const Cn = /component: ["']([^"']+)["']/u, Pn = /export const (\w+)/gu, bn = /name: ["']([^"']+)["']/u, Mn = /^\s*\*\s?/gmu, xn = (e) => e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]/giu, "-").replace(/-+/gu, "-").replace(/^-+/u, "").replace(/-+$/u, ""), Dn = (e) => e.replace(/_/gu, " ").replace(/-/gu, " ").replace(/\./gu, " ").replace(/([^\n])([A-Z])([a-z])/gu, (t, n, i, a) => `${n} ${i}${a}`).replace(/([a-z])([A-Z])/gu, (t, n, i) => `${n} ${i}`).replace(/([a-z])([0-9])/giu, (t, n, i) => `${n} ${i}`).replace(/([0-9])([a-z])/giu, (t, n, i) => `${n} ${i}`).replace(/(\s|^)(\w)/gu, (t, n, i) => `${n}${i.toUpperCase()}`).replace(/ +/gu, " ").trim();
1114
1112
  function ut(e, t) {
1115
1113
  let i = t.startsWith("./") ? t.slice(2) : t, a = e;
1116
1114
  for (; ; ) {
@@ -1121,7 +1119,7 @@ function ut(e, t) {
1121
1119
  return a === "" ? i : `${a}/${i}`;
1122
1120
  }
1123
1121
  }
1124
- function ye(e, t) {
1122
+ function ve(e, t) {
1125
1123
  let n = 0;
1126
1124
  for (; ; ) {
1127
1125
  const a = e.indexOf("/", n) + 1;
@@ -1256,7 +1254,7 @@ function qe(e, t, n, i, a) {
1256
1254
  }), {
1257
1255
  name: p,
1258
1256
  module: void 0,
1259
- package: Re,
1257
+ package: ce,
1260
1258
  viewUrl: void 0,
1261
1259
  start: i,
1262
1260
  end: a
@@ -1283,14 +1281,14 @@ function qe(e, t, n, i, a) {
1283
1281
  if (v === void 0) {
1284
1282
  for (let R = d.parent; R !== void 0; R = R.parent)
1285
1283
  if (o.isModuleDeclaration(R) && o.isIdentifier(R.name)) {
1286
- P = R.name.escapedText, v = ft[P]?.[1]?.[p], h = `${P}.${p}`, be(t, h);
1284
+ P = R.name.escapedText, v = ft[P]?.[1]?.[p], h = `${P}.${p}`, Me(t, h);
1287
1285
  break;
1288
1286
  }
1289
1287
  }
1290
1288
  return {
1291
1289
  name: h,
1292
1290
  module: void 0,
1293
- package: Re,
1291
+ package: ce,
1294
1292
  viewUrl: v?.[0]?.startsWith("https") === !1 ? `${yt}${v[0]}` : v?.[0] ?? void 0,
1295
1293
  start: i,
1296
1294
  end: i + h.length
@@ -1328,7 +1326,7 @@ function qe(e, t, n, i, a) {
1328
1326
  i,
1329
1327
  i + P.escapedName.length
1330
1328
  );
1331
- return be(t, c), be(t, `${h.name}["@eventTypes"]`), h;
1329
+ return Me(t, c), Me(t, `${h.name}["@eventTypes"]`), h;
1332
1330
  }
1333
1331
  }
1334
1332
  }
@@ -1343,7 +1341,7 @@ function qe(e, t, n, i, a) {
1343
1341
  if (y ? I.wasUsed = !0 : R = n.moduleContext.importsMap[h] !== void 0, R)
1344
1342
  continue;
1345
1343
  const k = h !== c;
1346
- k && (be(t, h), a = i + h.length);
1344
+ k && (Me(t, h), a = i + h.length);
1347
1345
  const M = Kn(l), L = M === "named";
1348
1346
  L || (g = M), f === void 0 && !n.config.strict && Je(
1349
1347
  u,
@@ -1353,7 +1351,7 @@ function qe(e, t, n, i, a) {
1353
1351
  ), y || (n.moduleContext.importsMap[h] = {
1354
1352
  type: M,
1355
1353
  modulePath: f === void 0 ? u : void 0,
1356
- specifier: f === void 0 ? ye(ne(n.apiModule).dtsPath, u) : f + (u === void 0 ? "" : `/${u}`),
1354
+ specifier: f === void 0 ? ve(ne(n.apiModule).dtsPath, u) : f + (u === void 0 ? "" : `/${u}`),
1357
1355
  replacementName: void 0,
1358
1356
  actualName: L && k ? s : void 0,
1359
1357
  wasUsed: !0
@@ -1432,7 +1430,7 @@ function Un(e, t, n) {
1432
1430
  node: void 0
1433
1431
  }
1434
1432
  ), {
1435
- packageName: Re,
1433
+ packageName: ce,
1436
1434
  modulePath: void 0
1437
1435
  };
1438
1436
  }
@@ -1555,7 +1553,7 @@ function H(e, t, n, i) {
1555
1553
  if (o.isStringLiteral(e) || o.isNoSubstitutionTemplateLiteral(e))
1556
1554
  return t === w.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.StringKeyword) : o.factory.createLiteralTypeNode(e);
1557
1555
  if (o.isTemplateExpression(e))
1558
- return Se(n, t, i) ?? o.factory.createKeywordTypeNode(o.SyntaxKind.StringKeyword);
1556
+ return Te(n, t, i) ?? o.factory.createKeywordTypeNode(o.SyntaxKind.StringKeyword);
1559
1557
  if (o.isNumericLiteral(e))
1560
1558
  return t === w.false ? o.factory.createKeywordTypeNode(o.SyntaxKind.NumberKeyword) : o.factory.createLiteralTypeNode(e);
1561
1559
  if (o.isBigIntLiteral(e))
@@ -1590,14 +1588,14 @@ function H(e, t, n, i) {
1590
1588
  }
1591
1589
  if (o.isPrefixUnaryExpression(e)) {
1592
1590
  if (e.operator !== o.SyntaxKind.MinusToken)
1593
- return Pe(n, Q, t, i);
1591
+ return be(n, Q, t, i);
1594
1592
  if (t === w.false)
1595
1593
  return o.factory.createKeywordTypeNode(o.SyntaxKind.NumberKeyword);
1596
1594
  {
1597
1595
  const a = H(e.operand, t, n, i);
1598
1596
  return o.isLiteralTypeNode(a) ? o.factory.createLiteralTypeNode(
1599
1597
  o.factory.createPrefixUnaryExpression(o.SyntaxKind.MinusToken, a.literal)
1600
- ) : Pe(n, Q, t, i);
1598
+ ) : be(n, Q, t, i);
1601
1599
  }
1602
1600
  }
1603
1601
  if (o.isParenthesizedExpression(e))
@@ -1634,13 +1632,13 @@ function H(e, t, n, i) {
1634
1632
  H(e.whenFalse, t, { ...n, node: e.whenFalse }, i)
1635
1633
  ]);
1636
1634
  if (o.isIdentifier(e))
1637
- return Se(n, t, i) ?? o.factory.createTypeQueryNode(e);
1635
+ return Te(n, t, i) ?? o.factory.createTypeQueryNode(e);
1638
1636
  if (o.isPropertyAccessExpression(e) && o.isIdentifier(e.name)) {
1639
- const a = Se(n, t, i);
1637
+ const a = Te(n, t, i);
1640
1638
  if (a !== void 0)
1641
1639
  return a;
1642
1640
  const r = H(e.expression, t, n, i);
1643
- return o.isTypeQueryNode(r) ? o.factory.createTypeQueryNode(o.factory.createQualifiedName(r.exprName, e.name)) : r === gt ? gt : Pe(n, Q, t, i);
1641
+ return o.isTypeQueryNode(r) ? o.factory.createTypeQueryNode(o.factory.createQualifiedName(r.exprName, e.name)) : r === gt ? gt : be(n, Q, t, i);
1644
1642
  }
1645
1643
  if (o.isCallExpression(e)) {
1646
1644
  const a = e.expression, r = e.arguments.at(0);
@@ -1648,13 +1646,13 @@ function H(e, t, n, i) {
1648
1646
  return o.factory.createTypeReferenceNode(a.expression, [
1649
1647
  o.factory.createTypeReferenceNode(r)
1650
1648
  ]);
1651
- const l = Se(n, t, i);
1649
+ const l = Te(n, t, i);
1652
1650
  if (l !== void 0)
1653
1651
  return l;
1654
1652
  const s = H(a, t, n, i);
1655
1653
  return o.isTypeQueryNode(s) ? o.factory.createTypeReferenceNode(o.factory.createIdentifier("ReturnType"), [
1656
1654
  o.factory.createTypeQueryNode(s.exprName, e.typeArguments)
1657
- ]) : Pe(n, Q, t, i);
1655
+ ]) : be(n, Q, t, i);
1658
1656
  }
1659
1657
  if (o.isArrowFunction(e)) {
1660
1658
  if (i.isInLuminaMinimalExtraction)
@@ -1666,7 +1664,7 @@ function H(e, t, n, i) {
1666
1664
  e.type ?? (o.isBlock(e.body) ? Qe(e, i) ?? X(n, Q, i) : H(e.body, a, n, i))
1667
1665
  );
1668
1666
  }
1669
- return Pe(n, Q, t, i);
1667
+ return be(n, Q, t, i);
1670
1668
  }
1671
1669
  function $n(e, t, n, i) {
1672
1670
  const a = t === w.false ? void 0 : Xn;
@@ -1679,7 +1677,7 @@ function $n(e, t, n, i) {
1679
1677
  a,
1680
1678
  e.name,
1681
1679
  void 0,
1682
- Se(n, t, i) ?? o.factory.createTypeQueryNode(o.factory.createIdentifier(e.name.escapedText))
1680
+ Te(n, t, i) ?? o.factory.createTypeQueryNode(o.factory.createIdentifier(e.name.escapedText))
1683
1681
  ) : o.isSpreadAssignment(e) ? o.factory.createPropertySignature(
1684
1682
  a,
1685
1683
  "_spread",
@@ -1708,10 +1706,10 @@ function $n(e, t, n, i) {
1708
1706
  void 0
1709
1707
  );
1710
1708
  }
1711
- function Pe(e, t, n, i) {
1712
- return Se(e, n, i) ?? X(e, t, i);
1709
+ function be(e, t, n, i) {
1710
+ return Te(e, n, i) ?? X(e, t, i);
1713
1711
  }
1714
- function Se(e, t, n) {
1712
+ function Te(e, t, n) {
1715
1713
  const i = n.program?.getTypeChecker?.();
1716
1714
  if (i !== void 0 && e.node !== void 0) {
1717
1715
  let a;
@@ -1817,13 +1815,13 @@ function z(e, t) {
1817
1815
  };
1818
1816
  }
1819
1817
  let b;
1820
- const ve = (e, t, n) => {
1818
+ const ge = (e, t, n) => {
1821
1819
  switch (t.kind) {
1822
1820
  case o.SyntaxKind.TypeReference:
1823
1821
  const i = t, a = i.typeName;
1824
1822
  switch (a.escapedText) {
1825
1823
  case "nil":
1826
- return ve(e, io, n);
1824
+ return ge(e, io, n);
1827
1825
  // Used in public typings in 88 files
1828
1826
  // REFACTOR: consider refactoring out Const usages in public API to
1829
1827
  // reduce divergence
@@ -1831,20 +1829,20 @@ const ve = (e, t, n) => {
1831
1829
  // In public types, Lumina's "component" and "el" have the same type
1832
1830
  // eslint-disable-next-line no-fallthrough
1833
1831
  case "ToElement":
1834
- return ve(e, i.typeArguments[0], n);
1832
+ return ge(e, i.typeArguments[0], n);
1835
1833
  /**
1836
1834
  * @see https://webgis.esri.com/references/api-extractor/advanced-patterns#publicprivate-type-divergence
1837
1835
  */
1838
1836
  case "PublicApiNarrowType":
1839
1837
  case "PublicApiRelaxType":
1840
- return ve(e, i.typeArguments[1], n);
1838
+ return ge(e, i.typeArguments[1], n);
1841
1839
  }
1842
1840
  Ke(a);
1843
1841
  break;
1844
1842
  case o.SyntaxKind.TypeQuery:
1845
1843
  const l = Yn(t, b);
1846
1844
  if (l !== void 0)
1847
- return ve(e, l, n);
1845
+ return ge(e, l, n);
1848
1846
  Ke(t.exprName, no);
1849
1847
  break;
1850
1848
  case o.SyntaxKind.PropertyAccessExpression:
@@ -1866,7 +1864,7 @@ const ve = (e, t, n) => {
1866
1864
  // Thus print ArcgisHome["el"] as just ArcgisHome
1867
1865
  b.isComponentProject && d.indexType.kind === o.SyntaxKind.LiteralType && d.indexType.literal.text === "el"
1868
1866
  )
1869
- return ve(e, d.objectType, n);
1867
+ return ge(e, d.objectType, n);
1870
1868
  break;
1871
1869
  case o.SyntaxKind.ImportType:
1872
1870
  b.emitError(
@@ -1879,7 +1877,7 @@ const ve = (e, t, n) => {
1879
1877
  }, to = an(
1880
1878
  {},
1881
1879
  {
1882
- onEmitNode: ve
1880
+ onEmitNode: ge
1883
1881
  }
1884
1882
  ), io = o.factory.createIdentifier("null | undefined"), Be = on.createTextWriter(`
1885
1883
  `), no = 7, Xe = /* @__PURE__ */ new Set();
@@ -1964,7 +1962,7 @@ function Ke(e, t = 0) {
1964
1962
  if (d !== void 0) {
1965
1963
  d.wasUsed = !0;
1966
1964
  const g = d.type === "named";
1967
- d.replacementName !== void 0 && (be(a, d.replacementName), s = l + d.replacementName.length), d.replacementName !== void 0 && (b.functionLikeTypeParameters?.has(d.replacementName) === !0 || b.objectLikeTypeParameters?.has(d.replacementName) === !0) && b.emitError(
1965
+ d.replacementName !== void 0 && (Me(a, d.replacementName), s = l + d.replacementName.length), d.replacementName !== void 0 && (b.functionLikeTypeParameters?.has(d.replacementName) === !0 || b.objectLikeTypeParameters?.has(d.replacementName) === !0) && b.emitError(
1968
1966
  `Can't do a type replacement of ${ie("green", r)} to ${ie("red", d.replacementName)} as the latter name conflicts with a type parameter name in the current scope. Rename the type parameter or refactor out the type replacement.`,
1969
1967
  { file: b.file, node: e }
1970
1968
  );
@@ -2002,7 +2000,7 @@ function Ke(e, t = 0) {
2002
2000
  $.push({
2003
2001
  name: r,
2004
2002
  module: void 0,
2005
- package: Re,
2003
+ package: ce,
2006
2004
  viewUrl: m[0]?.startsWith("https") === !1 ? `${yt}${m[0]}` : m[0] ?? void 0,
2007
2005
  start: l,
2008
2006
  end: s
@@ -2022,7 +2020,7 @@ function Ke(e, t = 0) {
2022
2020
  $.push({
2023
2021
  name: P.escapedText,
2024
2022
  module: void 0,
2025
- package: Re,
2023
+ package: ce,
2026
2024
  viewUrl: g[0]?.startsWith("https") === !1 ? `${yt}${g[0]}` : g[0] ?? void 0,
2027
2025
  start: v,
2028
2026
  end: h
@@ -2044,7 +2042,7 @@ function Ke(e, t = 0) {
2044
2042
  { file: b.file, node: e }
2045
2043
  );
2046
2044
  }
2047
- function be(e, t) {
2045
+ function Me(e, t) {
2048
2046
  const n = e.escapedText;
2049
2047
  Ye = e, Tt = t, yi(), Tt = n;
2050
2048
  }
@@ -2085,7 +2083,7 @@ function ot(e, t, n) {
2085
2083
  return i;
2086
2084
  }
2087
2085
  const oo = /* @__PURE__ */ new Set(), ao = /* @__PURE__ */ new Set();
2088
- function Ee(e, t, n) {
2086
+ function Ce(e, t, n) {
2089
2087
  if (!o.isIdentifier(e) && !o.isQualifiedName(e) && !o.isPropertyAccessExpression(e))
2090
2088
  return n.emitError(
2091
2089
  "Expected the type nodes in the extends clause to be Identifier, QualifiedName or PropertyAccessExpression.",
@@ -2143,7 +2141,7 @@ const vi = { text: "unknown", references: void 0, values: void 0, source: void 0
2143
2141
  {
2144
2142
  name: "Record",
2145
2143
  module: void 0,
2146
- package: "global:",
2144
+ package: ce,
2147
2145
  viewUrl: "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
2148
2146
  start: 0,
2149
2147
  end: 6
@@ -2177,7 +2175,10 @@ console.log("${e.tagName} is ready to go!");
2177
2175
  typeParameters: void 0,
2178
2176
  parameters: void 0,
2179
2177
  return: mo,
2180
- inheritedFrom: e.superclass,
2178
+ // Must include .inheritedFrom for this member so that it is excluded from
2179
+ // .d.ts printing (TypeScript inherits it from PublicLitElement) and from
2180
+ // the docs search index.
2181
+ inheritedFrom: uo,
2181
2182
  signature: "(): Promise<this>",
2182
2183
  privacy: void 0,
2183
2184
  source: void 0
@@ -2222,8 +2223,13 @@ const po = tt(), mo = {
2222
2223
  values: void 0,
2223
2224
  source: void 0
2224
2225
  }
2225
- }, uo = ce, fo = ce, yo = ce, vo = ce, go = ce, So = ce, To = ce, gi = ce;
2226
- function ce(e, t, n, i, a) {
2226
+ }, uo = {
2227
+ name: "this",
2228
+ module: void 0,
2229
+ package: void 0,
2230
+ viewUrl: void 0
2231
+ }, fo = de, yo = de, vo = de, go = de, So = de, To = de, ho = de, gi = de;
2232
+ function de(e, t, n, i, a) {
2227
2233
  if (i.docsTags === void 0 || n === void 0)
2228
2234
  return;
2229
2235
  const r = i.docsTags.indexOf(U.copyDoc);
@@ -2252,7 +2258,7 @@ function bt(e, t, n) {
2252
2258
  }
2253
2259
  });
2254
2260
  }
2255
- const ho = ke, lt = ke, Eo = ke, Ht = ke, $t = ke;
2261
+ const Eo = ke, lt = ke, Co = ke, Ht = ke, $t = ke;
2256
2262
  function ke(e, t, n, i) {
2257
2263
  if (t === void 0) {
2258
2264
  i.emitError("Computed function/method names are not yet supported.", {
@@ -2261,7 +2267,7 @@ function ke(e, t, n, i) {
2261
2267
  });
2262
2268
  return;
2263
2269
  }
2264
- const a = n ?? e, r = n !== void 0 && !o.isVariableStatement(n), l = o.isMethodDeclaration(e), s = o.isMethodSignature(e), c = l || s || r, p = n !== void 0 && o.isVariableStatement(n), m = o.isFunctionDeclaration(e) || p, f = !r && !p && o.isFunctionTypeNode(e) || o.isCallSignatureDeclaration(e), u = o.isConstructorDeclaration(e), g = u || o.isConstructSignatureDeclaration(e) || o.isConstructorTypeNode(e), C = i.isInLuminaMinimalExtraction || i.jsDoc === Ce, v = tt();
2270
+ const a = n ?? e, r = n !== void 0 && !o.isVariableStatement(n), l = o.isMethodDeclaration(e), s = o.isMethodSignature(e), c = l || s || r, p = n !== void 0 && o.isVariableStatement(n), m = o.isFunctionDeclaration(e) || p, f = !r && !p && o.isFunctionTypeNode(e) || o.isCallSignatureDeclaration(e), u = o.isConstructorDeclaration(e), g = u || o.isConstructSignatureDeclaration(e) || o.isConstructorTypeNode(e), C = i.isInLuminaMinimalExtraction || i.jsDoc === Pe, v = tt();
2265
2271
  let P, h, R = !1, I = !1;
2266
2272
  if (!m && a.modifiers !== void 0)
2267
2273
  for (let E = 0; E < a.modifiers.length; ++E)
@@ -2307,7 +2313,7 @@ function ke(e, t, n, i) {
2307
2313
  privacy: h,
2308
2314
  source: void 0
2309
2315
  }, k = y, M = pn(y, i.jsDoc), L = C ? [] : e.parameters;
2310
- let D = M.length, T = !1, _ = 0;
2316
+ let x = M.length, T = !1, _ = 0;
2311
2317
  for (let E = 0; E < L.length; ++E) {
2312
2318
  const S = L[E], A = o.isIdentifier(S.name) ? S.name.escapedText : void 0;
2313
2319
  if (A === "this") {
@@ -2316,12 +2322,12 @@ function ke(e, t, n, i) {
2316
2322
  }
2317
2323
  const W = u && A !== void 0 && S.modifiers !== void 0 && S.modifiers.length > 0 ? oe(S, !0, i) : void 0;
2318
2324
  if (W !== void 0) {
2319
- _ -= 1, D += 1, i.jsDoc = W;
2325
+ _ -= 1, x += 1, i.jsDoc = W;
2320
2326
  const q = Ti(S, A, !1, i);
2321
2327
  if (q === void 0)
2322
2328
  continue;
2323
2329
  i.apiObject.members.push(q);
2324
- const de = {
2330
+ const pe = {
2325
2331
  name: A,
2326
2332
  deprecated: void 0,
2327
2333
  summary: void 0,
@@ -2332,7 +2338,7 @@ function ke(e, t, n, i) {
2332
2338
  type: q.type,
2333
2339
  default: q.default
2334
2340
  };
2335
- de.optional = zt(S, de), y.parameters.push(de);
2341
+ pe.optional = zt(S, pe), y.parameters.push(pe);
2336
2342
  continue;
2337
2343
  }
2338
2344
  let G = M[E + _]?.text, O, F;
@@ -2359,11 +2365,11 @@ function ke(e, t, n, i) {
2359
2365
  } else
2360
2366
  O = A.startsWith("_") ? A.slice(1) : A;
2361
2367
  }
2362
- const me = S.type ?? (S.initializer === void 0 ? X(
2368
+ const ue = S.type ?? (S.initializer === void 0 ? X(
2363
2369
  { file: i.file, node: S },
2364
2370
  `Public parameter ${O} must have a type annotation or a default value`,
2365
2371
  i
2366
- ) : Ct(S.initializer, w.false, i.file, i)), Ge = z(me, i), te = {
2372
+ ) : Ct(S.initializer, w.false, i.file, i)), Ge = z(ue, i), te = {
2367
2373
  name: O,
2368
2374
  deprecated: void 0,
2369
2375
  summary: void 0,
@@ -2376,7 +2382,7 @@ function ke(e, t, n, i) {
2376
2382
  };
2377
2383
  te.optional = zt(S, te), y.parameters.push(te);
2378
2384
  }
2379
- if (i.config.strict && !T && D !== y.parameters.length && i.emitError(
2385
+ if (i.config.strict && !T && x !== y.parameters.length && i.emitError(
2380
2386
  `Expected @param tags to match the number of parameters on a public function. Found ${M.length} @param tags for ${y.parameters.length} TypeScript parameters. Documentation: https://webgis.esri.com/references/api-extractor/tags-reference#param)${g ? " and https://webgis.esri.com/references/api-extractor/api-node-kinds#constructor" : ""}`,
2381
2387
  { file: i.file, node: e }
2382
2388
  ), y.parameters.length === 0)
@@ -2384,8 +2390,8 @@ function ke(e, t, n, i) {
2384
2390
  else {
2385
2391
  let E = !0;
2386
2392
  for (let S = y.parameters.length - 1; S >= 0; S--) {
2387
- const x = y.parameters[S];
2388
- E &&= x.optional === !0 || x.rest === !0 || x.default !== void 0, !E && x.optional && (x.optional = void 0, x.type.text.endsWith(" | undefined") || (x.type.text += " | undefined"));
2393
+ const D = y.parameters[S];
2394
+ E &&= D.optional === !0 || D.rest === !0 || D.default !== void 0, !E && D.optional && (D.optional = void 0, D.type.text.endsWith(" | undefined") || (D.type.text += " | undefined"));
2389
2395
  }
2390
2396
  }
2391
2397
  l && i.componentTagName !== void 0 && (k.signature = Ki(k), I && !Zi(k) && i.emitError("Public method marked as async must have a Promise<SomeType> return type annotation.", {
@@ -2396,13 +2402,13 @@ function ke(e, t, n, i) {
2396
2402
  return m && (K ? bt(y, !0, i) : N === 0 && i.config.strict && i.emitError("Expected @public function to be exported using named or default export.", {
2397
2403
  file: i.file,
2398
2404
  node: e
2399
- })), i.produceDts && (c || g || f ? (R && (v.isAbstract = !0), v.hasQuestionToken = a.questionToken !== void 0 ? !0 : void 0) : v.isDefaultExported = K || void 0), c ? fo(
2405
+ })), i.produceDts && (c || g || f ? (R && (v.isAbstract = !0), v.hasQuestionToken = a.questionToken !== void 0 ? !0 : void 0) : v.isDefaultExported = K || void 0), c ? yo(
2400
2406
  i,
2401
2407
  n ?? e,
2402
2408
  i.config.documentation.copyDocDefinitions.methods,
2403
2409
  y,
2404
2410
  i.apiObject
2405
- ) : m && vo(
2411
+ ) : m && go(
2406
2412
  i,
2407
2413
  n ?? e,
2408
2414
  i.config.documentation.copyDocDefinitions.functions,
@@ -2415,11 +2421,11 @@ const zt = (e, t) => (
2415
2421
  e.questionToken !== void 0 || // If had default value internally, but not publicly, add ?
2416
2422
  e.initializer !== void 0 && t.default === void 0 ? !0 : void 0
2417
2423
  );
2418
- function Co(e, t, n) {
2419
- return ht(), Me(e, t), Mt && t !== void 0 && n !== void 0 && (ht(), Dt(t.getTypeAtLocation(n))), Si();
2424
+ function Po(e, t, n) {
2425
+ return ht(), xe(e, t), Mt && t !== void 0 && n !== void 0 && (ht(), xt(t.getTypeAtLocation(n))), Si();
2420
2426
  }
2421
- function Po(e) {
2422
- return ht(), Dt(e), Si();
2427
+ function bo(e) {
2428
+ return ht(), xt(e), Si();
2423
2429
  }
2424
2430
  let Ie = !1, ae = !1, re = !1, Ae = !1, se = !1, Mt = !1;
2425
2431
  const le = [], ee = [];
@@ -2433,15 +2439,15 @@ function Si() {
2433
2439
  if (le.length > 0)
2434
2440
  for (let t = 0; t < le.length; ++t)
2435
2441
  e.push({ type: "string", value: le[t] });
2436
- else re && e.push(bo);
2442
+ else re && e.push(Mo);
2437
2443
  if (ee.length > 0)
2438
2444
  for (let t = 0; t < ee.length; ++t)
2439
2445
  e.push({ type: "number", value: ee[t] });
2440
- else se && e.push(Mo);
2441
- return Ae && e.push(Do), Ie ? e.push(xo) : ae && e.push(Ro), e;
2446
+ else se && e.push(xo);
2447
+ return Ae && e.push(Do), Ie ? e.push(Ro) : ae && e.push(Lo), e;
2442
2448
  }
2443
- const bo = { type: "string", value: void 0 }, Mo = { type: "number", value: void 0 }, Do = { type: "boolean", value: void 0 }, xo = { type: "any", value: void 0 }, Ro = { type: "object", value: void 0 };
2444
- function Me(e, t) {
2449
+ const Mo = { type: "string", value: void 0 }, xo = { type: "number", value: void 0 }, Do = { type: "boolean", value: void 0 }, Ro = { type: "any", value: void 0 }, Lo = { type: "object", value: void 0 };
2450
+ function xe(e, t) {
2445
2451
  switch (e.kind) {
2446
2452
  case o.SyntaxKind.BooleanKeyword:
2447
2453
  case o.SyntaxKind.TrueKeyword:
@@ -2459,7 +2465,7 @@ function Me(e, t) {
2459
2465
  Ie = !0;
2460
2466
  return;
2461
2467
  case o.SyntaxKind.LiteralType:
2462
- Me(e.literal, t);
2468
+ xe(e.literal, t);
2463
2469
  return;
2464
2470
  case o.SyntaxKind.StringLiteral:
2465
2471
  case o.SyntaxKind.NoSubstitutionTemplateLiteral:
@@ -2479,17 +2485,17 @@ function Me(e, t) {
2479
2485
  case o.SyntaxKind.UnionType:
2480
2486
  const i = e.types, a = Math.min(i.length, Ze);
2481
2487
  for (let l = 0; l < a; ++l)
2482
- Me(i[l], t);
2488
+ xe(i[l], t);
2483
2489
  i.length > Ze && (le.length = 0, ee.length = 0);
2484
2490
  return;
2485
2491
  case o.SyntaxKind.ParenthesizedType:
2486
- Me(e.type, t);
2492
+ xe(e.type, t);
2487
2493
  return;
2488
2494
  case o.SyntaxKind.TypeQuery:
2489
2495
  case o.SyntaxKind.IndexedAccessType:
2490
2496
  case o.SyntaxKind.ImportType:
2491
2497
  case o.SyntaxKind.TypeReference:
2492
- t === void 0 ? ae = !0 : Dt(
2498
+ t === void 0 ? ae = !0 : xt(
2493
2499
  t.getTypeFromTypeNode(
2494
2500
  e
2495
2501
  )
@@ -2497,7 +2503,7 @@ function Me(e, t) {
2497
2503
  return;
2498
2504
  case o.SyntaxKind.TypeOperator:
2499
2505
  const r = e;
2500
- r.operator === o.SyntaxKind.KeyOfKeyword ? re = !0 : r.operator === o.SyntaxKind.ReadonlyKeyword ? Me(r.type, t) : ae = !0;
2506
+ r.operator === o.SyntaxKind.KeyOfKeyword ? re = !0 : r.operator === o.SyntaxKind.ReadonlyKeyword ? xe(r.type, t) : ae = !0;
2501
2507
  return;
2502
2508
  /*case ts.SyntaxKind.UnknownKeyword:
2503
2509
  case ts.SyntaxKind.FunctionType:
@@ -2515,7 +2521,7 @@ function Me(e, t) {
2515
2521
  }
2516
2522
  }
2517
2523
  const Ze = 40;
2518
- function Dt(e) {
2524
+ function xt(e) {
2519
2525
  if (e.isUnion()) {
2520
2526
  const t = Math.min(e.types.length, Ze);
2521
2527
  for (let n = 0; n < t; ++n)
@@ -2534,10 +2540,10 @@ function jt(e) {
2534
2540
  }
2535
2541
  Ie = !0, n = !0;
2536
2542
  }
2537
- t & Lo || n || (ae = !0);
2543
+ t & Io || n || (ae = !0);
2538
2544
  }
2539
- const Lo = o.TypeFlags.Null | o.TypeFlags.VoidLike, ha = (e) => e.map(Io).join(" | "), Io = (e) => e.type === "string" && e.value !== void 0 ? `"${e.value}"` : e.value ?? e.type;
2540
- function Ao(e, t, n) {
2545
+ const Io = o.TypeFlags.Null | o.TypeFlags.VoidLike, Ea = (e) => e.map(Ao).join(" | "), Ao = (e) => e.type === "string" && e.value !== void 0 ? `"${e.value}"` : e.value ?? e.type;
2546
+ function ko(e, t, n) {
2541
2547
  let i;
2542
2548
  const a = e.initializer;
2543
2549
  let r;
@@ -2586,7 +2592,7 @@ function Ao(e, t, n) {
2586
2592
  cancelable: void 0,
2587
2593
  composed: void 0
2588
2594
  };
2589
- return fn(l, n.jsDoc), r !== void 0 && ko(e, r, l, n), yo(
2595
+ return fn(l, n.jsDoc), r !== void 0 && Go(e, r, l, n), vo(
2590
2596
  n,
2591
2597
  e,
2592
2598
  n.config.documentation.copyDocDefinitions.events,
@@ -2595,7 +2601,7 @@ function Ao(e, t, n) {
2595
2601
  ), l;
2596
2602
  }
2597
2603
  const He = "createEvent";
2598
- function ko(e, t, n, i) {
2604
+ function Go(e, t, n, i) {
2599
2605
  if (t !== void 0) {
2600
2606
  if (!o.isObjectLiteralExpression(t)) {
2601
2607
  i.emitError(`Expected object literal expression as first argument of ${He}().`, {
@@ -2636,7 +2642,7 @@ function Ti(e, t, n, i) {
2636
2642
  i.emitError("Computed property names are not yet supported", { file: i.file, node: e });
2637
2643
  return;
2638
2644
  }
2639
- const a = e, r = De(a.modifiers, "property") ?? (i.pairedSetter === void 0 ? void 0 : De(i.pairedSetter.modifiers, "property")), l = r?.arguments[0], s = l !== void 0 && o.isObjectLiteralExpression(l) ? l.properties : void 0, c = o.isPropertyDeclaration(e) || o.isPropertySignature(e), p = o.isGetAccessor(e), d = Oi(), m = i.isInLuminaMinimalExtraction || i.jsDoc === Ce;
2645
+ const a = e, r = De(a.modifiers, "property") ?? (i.pairedSetter === void 0 ? void 0 : De(i.pairedSetter.modifiers, "property")), l = r?.arguments[0], s = l !== void 0 && o.isObjectLiteralExpression(l) ? l.properties : void 0, c = o.isPropertyDeclaration(e) || o.isPropertySignature(e), p = o.isGetAccessor(e), d = Oi(), m = i.isInLuminaMinimalExtraction || i.jsDoc === Pe;
2640
2646
  let f = !1, u = !1, g, C = !1, v, P, h;
2641
2647
  if (c && e.modifiers !== void 0)
2642
2648
  for (let E = 0; E < e.modifiers.length; ++E)
@@ -2668,8 +2674,8 @@ function Ti(e, t, n, i) {
2668
2674
  I ||= o.isSpreadAssignment(S);
2669
2675
  continue;
2670
2676
  }
2671
- const x = S.name.escapedText;
2672
- x === "readOnly" && Y(S.initializer, i) ? n = !0 : x === "constructOnly" && Y(S.initializer, i) ? d.isConstructorOnly = !0 : x === "type" ? d.hasAutoCasting = !0 : x === "types" && Go(
2677
+ const D = S.name.escapedText;
2678
+ D === "readOnly" && Y(S.initializer, i) ? n = !0 : D === "constructOnly" && Y(S.initializer, i) ? d.isConstructorOnly = !0 : D === "type" ? d.hasAutoCasting = !0 : D === "types" && Fo(
2673
2679
  d,
2674
2680
  S.initializer?.kind === o.SyntaxKind.ObjectLiteralExpression ? S.initializer : void 0
2675
2681
  );
@@ -2682,7 +2688,7 @@ function Ti(e, t, n, i) {
2682
2688
  if (m)
2683
2689
  return;
2684
2690
  {
2685
- const S = c && !v ? Ao(e, t, i) : void 0;
2691
+ const S = c && !v ? ko(e, t, i) : void 0;
2686
2692
  if (S !== void 0) {
2687
2693
  E.events ??= [], E.events.push(S);
2688
2694
  return;
@@ -2699,17 +2705,17 @@ function Ti(e, t, n, i) {
2699
2705
  }
2700
2706
  } else if (s !== void 0)
2701
2707
  for (let S = 0; S < s.length; ++S) {
2702
- const x = s[S];
2703
- if (!(!o.isPropertyAssignment(x) || !o.isIdentifier(x.name)))
2704
- switch (x.name.escapedText) {
2708
+ const D = s[S];
2709
+ if (!(!o.isPropertyAssignment(D) || !o.isIdentifier(D.name)))
2710
+ switch (D.name.escapedText) {
2705
2711
  case "attribute":
2706
- o.isStringLiteral(x.initializer) ? P = x.initializer.text : P = Y(x.initializer, i);
2712
+ o.isStringLiteral(D.initializer) ? P = D.initializer.text : P = Y(D.initializer, i);
2707
2713
  continue;
2708
2714
  case "reflect":
2709
- Y(x.initializer, i) && (P ??= !0, h = !0);
2715
+ Y(D.initializer, i) && (P ??= !0, h = !0);
2710
2716
  continue;
2711
2717
  case "readOnly":
2712
- Y(x.initializer, i) && (n = !0);
2718
+ Y(D.initializer, i) && (n = !0);
2713
2719
  continue;
2714
2720
  case "type":
2715
2721
  case "converter":
@@ -2721,22 +2727,22 @@ function Ti(e, t, n, i) {
2721
2727
  const y = i.pairedSetter ?? (o.isSetAccessor(e) ? e : void 0), k = n ? void 0 : y;
2722
2728
  u ||= r !== void 0 || p || y !== void 0, d.isAccessor = u || void 0;
2723
2729
  const M = k?.parameters[0].type, L = a.type;
2724
- let D = M ?? L;
2725
- if (D === void 0) {
2730
+ let x = M ?? L;
2731
+ if (x === void 0) {
2726
2732
  const E = k?.parameters[0].initializer ?? e.initializer;
2727
2733
  if (c && E !== void 0 && o.isArrowFunction(E)) {
2728
2734
  if (n)
2729
2735
  return $t(E, t, e, i);
2730
2736
  qt(e, i);
2731
2737
  }
2732
- D = E === void 0 ? qn(e, i) ?? X(
2738
+ x = E === void 0 ? qn(e, i) ?? X(
2733
2739
  { file: i.file, node: e },
2734
2740
  "Public property must have a type annotation or a default value",
2735
2741
  i
2736
2742
  ) : Ct(E, n ? w.shallow : w.false, i.file, i);
2737
- } else if (D = Pt(D), c && o.isFunctionTypeNode(D)) {
2743
+ } else if (x = Pt(x), c && o.isFunctionTypeNode(x)) {
2738
2744
  if (n)
2739
- return $t(D, t, e, i);
2745
+ return $t(x, t, e, i);
2740
2746
  qt(e, i);
2741
2747
  }
2742
2748
  const T = {
@@ -2749,7 +2755,7 @@ function Ti(e, t, n, i) {
2749
2755
  description: void 0,
2750
2756
  docsTags: void 0,
2751
2757
  // In minimal extraction, we care only for type.values (set below)
2752
- type: m ? { ...vi } : z(D, i),
2758
+ type: m ? { ...vi } : z(x, i),
2753
2759
  getterType: void 0,
2754
2760
  default: void 0,
2755
2761
  readonly: n || void 0,
@@ -2767,11 +2773,11 @@ function Ti(e, t, n, i) {
2767
2773
  if (N) {
2768
2774
  !n && T.readonly === !0 && (T.docsOnlyReadonly = !0);
2769
2775
  const E = i.program?.getTypeChecker?.();
2770
- T.type.values = E !== void 0 && D.pos === -1 && (D.kind === o.SyntaxKind.TypeQuery || D.kind === o.SyntaxKind.IndexedAccessType || D.kind === o.SyntaxKind.ImportType || D.kind === o.SyntaxKind.TypeReference) ? Po(E.getTypeAtLocation(y?.parameters[0] ?? e)) : Co(D, E, y?.parameters[0] ?? e), (P === void 0 && T.type.values === void 0 && !i.config.context.isLuminaMinimalExtraction || T.readonly && !T.reflects) && (T.attribute = void 0);
2776
+ T.type.values = E !== void 0 && x.pos === -1 && (x.kind === o.SyntaxKind.TypeQuery || x.kind === o.SyntaxKind.IndexedAccessType || x.kind === o.SyntaxKind.ImportType || x.kind === o.SyntaxKind.TypeReference) ? bo(E.getTypeAtLocation(y?.parameters[0] ?? e)) : Po(x, E, y?.parameters[0] ?? e), (P === void 0 && T.type.values === void 0 && !i.config.context.isLuminaMinimalExtraction || T.readonly && !T.reflects) && (T.attribute = void 0);
2771
2777
  const S = E !== void 0 && o.isPropertyDeclaration(e) && // BUG: should not check node.type here? but do check in property.getterType below
2772
2778
  e.type !== void 0 && e.initializer !== void 0 && o.isPropertyAccessExpression(e.initializer) && o.isPropertyAccessExpression(e.initializer.expression) && e.initializer.expression.expression.kind === o.SyntaxKind.ThisKeyword && o.isIdentifier(e.initializer.expression.name) && o.isIdentifier(e.initializer.name);
2773
2779
  if (("initializer" in e && e.initializer !== void 0 && (!T.default || !T.description) || S) && !m) {
2774
- const x = e.initializer, A = E?.getSymbolAtLocation(x), V = A !== void 0 && ((A.flags ?? 0) & o.SymbolFlags.Alias) !== 0 ? E?.getAliasedSymbol(A) : A;
2780
+ const D = e.initializer, A = E?.getSymbolAtLocation(D), V = A !== void 0 && ((A.flags ?? 0) & o.SymbolFlags.Alias) !== 0 ? E?.getAliasedSymbol(A) : A;
2775
2781
  let W, G;
2776
2782
  const O = V?.getDeclarations();
2777
2783
  if (O !== void 0)
@@ -2794,10 +2800,10 @@ function Ti(e, t, n, i) {
2794
2800
  if (L !== void 0 && M !== void 0 && !m && // Quick perf check: type is definitely the same if raw type string matches.
2795
2801
  // More reliable check follows in processing/index.ts, where printed normalized
2796
2802
  // type string is compared.
2797
- L.getText(i.file) !== M.getText(i.file) ? T.getterType = z(L, i) : T.readonly === !0 && T.name === "type" && D.kind === o.SyntaxKind.LiteralType && D.literal.kind === o.SyntaxKind.StringLiteral && (i.moduleContext.typeName = D.literal.text), (d.hasAutoCasting === !0 || d.isConstructorOnly === !0) && (T.readonly === !0 && d.isConstructorOnly !== !0 ? d.hasAutoCasting = void 0 : T.getterType ??= {
2803
+ L.getText(i.file) !== M.getText(i.file) ? T.getterType = z(L, i) : T.readonly === !0 && T.name === "type" && x.kind === o.SyntaxKind.LiteralType && x.literal.kind === o.SyntaxKind.StringLiteral && (i.moduleContext.typeName = x.literal.text), (d.hasAutoCasting === !0 || d.isConstructorOnly === !0) && (T.readonly === !0 && d.isConstructorOnly !== !0 ? d.hasAutoCasting = void 0 : T.getterType ??= {
2798
2804
  ...T.type,
2799
2805
  references: T.type.references === void 0 ? void 0 : [...T.type.references]
2800
- }), n && D.kind === o.SyntaxKind.LiteralType || (T.default = ze(
2806
+ }), n && x.kind === o.SyntaxKind.LiteralType || (T.default = ze(
2801
2807
  e.initializer,
2802
2808
  T.default,
2803
2809
  i.file
@@ -2807,7 +2813,7 @@ function Ti(e, t, n, i) {
2807
2813
  `${ki}Boolean properties should default to "false". Found default value "true" in ${i.apiObject.name}.${T.name}. See https://webgis.esri.com/references/lumina/properties#boolean-properties`
2808
2814
  ), i.loggedBooleanWarning = !0));
2809
2815
  }
2810
- return uo(
2816
+ return fo(
2811
2817
  i,
2812
2818
  e,
2813
2819
  i.config.documentation.copyDocDefinitions?.properties,
@@ -2815,7 +2821,7 @@ function Ti(e, t, n, i) {
2815
2821
  i.apiObject
2816
2822
  ), i.produceDts && C && (d.isAbstract = !0), c && e.questionToken !== void 0 && (T.type.text.endsWith(" | undefined") || (T.type.text = // Don't need to wrap non-accessors in |undefined as we replace |undefined
2817
2823
  // with ? during printing
2818
- u && (D.kind === o.SyntaxKind.FunctionType || D.kind === o.SyntaxKind.ConstructorType || D.kind === o.SyntaxKind.ConditionalType || D.kind === o.SyntaxKind.InferType) ? `(${T.type.text}) | undefined` : `${T.type.text} | undefined`), T.getterType !== void 0 && !T.getterType.text.endsWith(" | undefined") && (T.getterType.text += " | undefined")), T;
2824
+ u && (x.kind === o.SyntaxKind.FunctionType || x.kind === o.SyntaxKind.ConstructorType || x.kind === o.SyntaxKind.ConditionalType || x.kind === o.SyntaxKind.InferType) ? `(${T.type.text}) | undefined` : `${T.type.text} | undefined`), T.getterType !== void 0 && !T.getterType.text.endsWith(" | undefined") && (T.getterType.text += " | undefined")), T;
2819
2825
  }
2820
2826
  function qt(e, t) {
2821
2827
  if (!t.config.strict)
@@ -2835,7 +2841,7 @@ function qt(e, t) {
2835
2841
  }
2836
2842
  }
2837
2843
  }
2838
- function Go(e, t) {
2844
+ function Fo(e, t) {
2839
2845
  if (e.hasAutoCasting = !0, e.autoCastingRequiresType = !0, t !== void 0)
2840
2846
  for (let n = 0; n < t.properties.length; ++n) {
2841
2847
  const i = t.properties[n];
@@ -2852,7 +2858,7 @@ function et(e, t) {
2852
2858
  const a = n ? t.componentTagName : void 0, r = !n && mi(i, t);
2853
2859
  let l = e.heritageClauses === void 0 || r ? void 0 : e.heritageClauses[0]?.token === o.SyntaxKind.ExtendsKeyword ? e.heritageClauses[0] : e.heritageClauses[1]?.token === o.SyntaxKind.ExtendsKeyword ? e.heritageClauses[1] : void 0;
2854
2860
  if (t.config.context.supportApplyMixinsSyntax && !n && l?.types.length === 1 && o.isExpressionWithTypeArguments(l.types[0]) && l.types[0].expression.escapedText === "MixinInstances" && l.types[0].typeArguments?.length === 1) {
2855
- Oo(i, l.types[0].typeArguments[0], t);
2861
+ No(i, l.types[0].typeArguments[0], t);
2856
2862
  return;
2857
2863
  }
2858
2864
  const s = n && t.mixinName !== void 0 && l !== void 0 && o.isExpressionWithTypeArguments(l.types[0]) && o.isIdentifier(l.types[0].expression) && l.types[0].expression.escapedText === "TypedBase";
@@ -2907,15 +2913,15 @@ function et(e, t) {
2907
2913
  file: t.file,
2908
2914
  node: e
2909
2915
  }
2910
- ) : Fo(l, n, p, e, t), a !== void 0 && co(m, t), d.members.length === 0 && (a === void 0 && (d.members = void 0), r && (t.moduleContext.constructorPropertiesInterface = f));
2916
+ ) : Oo(l, n, p, e, t), a !== void 0 && co(m, t), d.members.length === 0 && (a === void 0 && (d.members = void 0), r && (t.moduleContext.constructorPropertiesInterface = f));
2911
2917
  const g = t.exportDefaultName === i, C = it(e), v = g || C === 2;
2912
- return (v || a !== void 0) && bt(d, v, t), n ? (a === void 0 ? So(
2918
+ return (v || a !== void 0) && bt(d, v, t), n ? (a === void 0 ? To(
2913
2919
  t,
2914
2920
  e,
2915
2921
  t.config.documentation.copyDocDefinitions.classes,
2916
2922
  m,
2917
2923
  t.apiModule
2918
- ) : To(
2924
+ ) : ho(
2919
2925
  t,
2920
2926
  e,
2921
2927
  t.config.documentation.copyDocDefinitions.customElements,
@@ -2935,7 +2941,7 @@ function et(e, t) {
2935
2941
  node: e
2936
2942
  }), pi(e.modifiers, o.SyntaxKind.AbstractKeyword) ? c.hasExplicitAbstract = !0 : !u && (t.config.strict || a !== void 0) && (c.hasExplicitAbstract = !1))), t.objectLikeTypeParameters = void 0, d;
2937
2943
  }
2938
- function Fo(e, t, n, i, a) {
2944
+ function Oo(e, t, n, i, a) {
2939
2945
  for (let r = 0; r < e.types.length; ++r) {
2940
2946
  const l = e.types[r];
2941
2947
  if (t) {
@@ -2957,7 +2963,7 @@ function Fo(e, t, n, i, a) {
2957
2963
  n.mixins ??= [];
2958
2964
  const m = c.expression;
2959
2965
  n.mixins.unshift(
2960
- Ee(m, c.typeArguments, a)
2966
+ Ce(m, c.typeArguments, a)
2961
2967
  ), c = c.arguments[0];
2962
2968
  }
2963
2969
  } while (o.isCallExpression(c));
@@ -2969,13 +2975,13 @@ function Fo(e, t, n, i, a) {
2969
2975
  break;
2970
2976
  } else o.isExpressionWithTypeArguments(c) && (s = c.typeArguments, c = c.expression);
2971
2977
  }
2972
- const p = Ee(
2978
+ const p = Ce(
2973
2979
  c,
2974
2980
  a.isInLuminaMinimalExtraction ? void 0 : s,
2975
2981
  a
2976
2982
  );
2977
2983
  if (p.name === "LitElement") {
2978
- p.name = "PublicLitElement", p.module = "PublicLitElement", p.package = "@arcgis/lumina";
2984
+ p.name = "HTMLElement", p.package = ce, p.viewUrl = "https://developer.mozilla.org/docs/Web/API/HTMLElement";
2979
2985
  const d = a.moduleContext.importsMap.LitElement;
2980
2986
  d === void 0 ? a.emitError("Expected LitElement import to be defined", { file: a.file, node: i }) : d.actualName = "PublicLitElement";
2981
2987
  }
@@ -2989,7 +2995,7 @@ function Fo(e, t, n, i, a) {
2989
2995
  else if (o.isTypeReferenceNode(s) && (c = s.typeName, p = s.typeArguments, c.escapedText === "Record" && p?.length === 2 && p[0].kind === o.SyntaxKind.NeverKeyword && p[1].kind === o.SyntaxKind.NeverKeyword))
2990
2996
  continue;
2991
2997
  n.supertypes ??= [], n.supertypes.push(
2992
- Ee(c, p, a)
2998
+ Ce(c, p, a)
2993
2999
  );
2994
3000
  }
2995
3001
  }
@@ -2997,9 +3003,9 @@ function Fo(e, t, n, i, a) {
2997
3003
  function Ei(e, t, n, i) {
2998
3004
  i.apiObject = e;
2999
3005
  const a = e.customElement === !0, r = e.members, l = t.length;
3000
- let s, c = t[0], p, d = xe(c?.name), m = !1;
3006
+ let s, c = t[0], p, d = Re(c?.name), m = !1;
3001
3007
  for (let f = 0; f < l; ++f) {
3002
- if (s = c, c = t[f + 1], p = d, d = xe(c?.name), i.pairedSetter !== void 0) {
3008
+ if (s = c, c = t[f + 1], p = d, d = Re(c?.name), i.pairedSetter !== void 0) {
3003
3009
  i.pairedSetter = void 0;
3004
3010
  continue;
3005
3011
  }
@@ -3009,8 +3015,8 @@ function Ei(e, t, n, i) {
3009
3015
  let u = oe(s, !0, i) ?? (i.pairedSetter === void 0 ? void 0 : oe(i.pairedSetter, !0, i));
3010
3016
  if (u === void 0 && !i.config.strict && (a ? p !== void 0 && Qt(s, i.pairedSetter, !0) : !pi(s.modifiers, o.SyntaxKind.PrivateKeyword))) {
3011
3017
  const C = i.pairedSetter === void 0 ? je(s, !1, i, Le) : oe(s, !1, i) ?? je(i.pairedSetter, !1, i, Le);
3012
- C?.docsTags.includes(U.private) === !0 ? a && i.config.context.includeLuminaPrivateComponents ? u = Ce : u = void 0 : u = C;
3013
- } else u === void 0 && a && i.config.context.includeLuminaPrivateComponents && Qt(s, i.pairedSetter, !1) && (u = Ce);
3018
+ C?.docsTags.includes(U.private) === !0 ? a && i.config.context.includeLuminaPrivateComponents ? u = Pe : u = void 0 : u = C;
3019
+ } else u === void 0 && a && i.config.context.includeLuminaPrivateComponents && Qt(s, i.pairedSetter, !1) && (u = Pe);
3014
3020
  if (u === void 0) {
3015
3021
  a && o.isPropertyDeclaration(s) && o.isIdentifier(s.name) && (s.name.escapedText === "shadowRootOptions" && s.initializer !== void 0 && o.isIdentifier(s.initializer) && s.initializer.escapedText === "noShadowRoot" && (i.apiObject.encapsulation = "none"), s.name.escapedText === "formAssociated" && s.initializer !== void 0 && Y(s.initializer, i) && (i.apiObject.formAssociated = !0));
3016
3022
  continue;
@@ -3021,7 +3027,7 @@ function Ei(e, t, n, i) {
3021
3027
  0,
3022
3028
  ct.members.length,
3023
3029
  s
3024
- ), Ci(e, ct, i), pe(e).emitAsTypeAlias = !0) : i.emitError(`@public used on unsupported member kind: ${o.SyntaxKind[s.kind]}`, {
3030
+ ), Ci(e, ct, i), me(e).emitAsTypeAlias = !0) : i.emitError(`@public used on unsupported member kind: ${o.SyntaxKind[s.kind]}`, {
3025
3031
  file: i.file,
3026
3032
  node: s
3027
3033
  }), g !== void 0 && r.push(g);
@@ -3062,7 +3068,7 @@ function Ci(e, t, n) {
3062
3068
  };
3063
3069
  }
3064
3070
  }
3065
- function Oo(e, t, n) {
3071
+ function No(e, t, n) {
3066
3072
  if (!o.isTypeQueryNode(t)) {
3067
3073
  n.emitError("Expected a TypeQueryNode for applyMixins syntax", { file: n.file, node: t });
3068
3074
  return;
@@ -3125,10 +3131,10 @@ function Oo(e, t, n) {
3125
3131
  });
3126
3132
  return;
3127
3133
  }
3128
- r.mixins.unshift(Ee(c, void 0, n));
3134
+ r.mixins.unshift(Ce(c, void 0, n));
3129
3135
  }
3130
3136
  }
3131
- function No(e, t) {
3137
+ function wo(e, t) {
3132
3138
  const n = e.type, i = e.name.escapedText, a = mi(i, t), r = ni(), l = {
3133
3139
  [j]: r,
3134
3140
  kind: "interface",
@@ -3169,7 +3175,7 @@ function No(e, t) {
3169
3175
  if (o.isTypeLiteralNode(d))
3170
3176
  Ei(s, d.members, i, t);
3171
3177
  else if (o.isTypeReferenceNode(d))
3172
- s.supertypes ??= [], s.supertypes.push(Ee(d.typeName, d.typeArguments, t));
3178
+ s.supertypes ??= [], s.supertypes.push(Ce(d.typeName, d.typeArguments, t));
3173
3179
  else if (o.isFunctionTypeNode(d) || o.isConstructorTypeNode(d)) {
3174
3180
  if (t.jsDoc = Le, s.docsTags !== void 0) {
3175
3181
  t.jsDoc = { ...Le, docsTags: [] };
@@ -3179,7 +3185,7 @@ function No(e, t) {
3179
3185
  }
3180
3186
  s.docsTags.length === 0 && (s.docsTags = void 0);
3181
3187
  }
3182
- s.members.push(Eo(d, i, void 0, t));
3188
+ s.members.push(Co(d, i, void 0, t));
3183
3189
  } else
3184
3190
  Ci(s, d, t);
3185
3191
  }
@@ -3192,7 +3198,7 @@ function No(e, t) {
3192
3198
  t.apiModule
3193
3199
  ), s.members.length === 0 && (s.members = void 0), s;
3194
3200
  }
3195
- function wo(e, t, n) {
3201
+ function Uo(e, t, n) {
3196
3202
  const i = e.initializer, a = i.body;
3197
3203
  let r, l;
3198
3204
  for (let d = 0; d < a.statements.length; ++d) {
@@ -3204,7 +3210,7 @@ function wo(e, t, n) {
3204
3210
  let u = f.initializer.expression.expression;
3205
3211
  for (; o.isCallExpression(u); ) {
3206
3212
  const g = u.expression;
3207
- r ??= [], r.push(Ee(g, u.typeArguments, n)), u = u.arguments[0];
3213
+ r ??= [], r.push(Ce(g, u.typeArguments, n)), u = u.arguments[0];
3208
3214
  }
3209
3215
  } else o.isClassDeclaration(m) && (l = m);
3210
3216
  }
@@ -3230,7 +3236,7 @@ function wo(e, t, n) {
3230
3236
  const p = et(l, n);
3231
3237
  return p.kind = "mixin", p;
3232
3238
  }
3233
- function Uo(e, t, n) {
3239
+ function Vo(e, t, n) {
3234
3240
  const i = n.moduleHasClass;
3235
3241
  n.moduleHasClass = !1;
3236
3242
  const a = o.factory.createClassDeclaration(
@@ -3243,10 +3249,10 @@ function Uo(e, t, n) {
3243
3249
  ])
3244
3250
  ],
3245
3251
  []
3246
- ), r = et(a, n), l = r, s = pe(l);
3252
+ ), r = et(a, n), l = r, s = me(l);
3247
3253
  return l.kind = "interface", l.supertypes = r.mixins, r.mixins = void 0, r.superclass !== void 0 && (l.supertypes ??= [], l.supertypes.unshift(r.superclass), r.superclass = void 0), n.moduleHasClass = i, s.isMixinBaseClass = !0, l;
3248
3254
  }
3249
- function Vo(e, t) {
3255
+ function Wo(e, t) {
3250
3256
  const n = e.declarationList.declarations;
3251
3257
  n.length !== 1 && t.emitError("Public variable statements must have only a single variable declarations. Found multiple.", {
3252
3258
  file: t.file,
@@ -3265,13 +3271,13 @@ function Vo(e, t) {
3265
3271
  file: t.file,
3266
3272
  node: e
3267
3273
  }), t.mixinName !== void 0 && i.initializer !== void 0 && o.isCallExpression(i.initializer) && o.isIdentifier(i.initializer.expression) && i.initializer.expression.escapedText === t.mixinName)
3268
- return Uo(i.initializer, r, t);
3274
+ return Vo(i.initializer, r, t);
3269
3275
  let c = i.type;
3270
3276
  const p = (e.declarationList.flags & o.NodeFlags.Const) !== 0;
3271
3277
  if (c === void 0) {
3272
3278
  const u = i.initializer;
3273
3279
  if (u !== void 0 && o.isArrowFunction(u) && p)
3274
- return u.typeParameters?.at(0)?.name?.escapedText === "TBase" ? wo(i, r, t) : Ht(u, r, e, t);
3280
+ return u.typeParameters?.at(0)?.name?.escapedText === "TBase" ? Uo(i, r, t) : Ht(u, r, e, t);
3275
3281
  u === void 0 ? c = X(
3276
3282
  { file: t.file, node: i },
3277
3283
  "Public variable must have a type annotation or a default value",
@@ -3291,7 +3297,7 @@ function Vo(e, t) {
3291
3297
  type: z(c, t),
3292
3298
  default: void 0
3293
3299
  };
3294
- return un(m, t.jsDoc), p && c.kind === o.SyntaxKind.LiteralType || (m.default = ze(i.initializer, m.default, t.file)), go(
3300
+ return un(m, t.jsDoc), p && c.kind === o.SyntaxKind.LiteralType || (m.default = ze(i.initializer, m.default, t.file)), So(
3295
3301
  t,
3296
3302
  e,
3297
3303
  t.config.documentation.copyDocDefinitions.variables,
@@ -3305,23 +3311,23 @@ function Pi(e, t, n) {
3305
3311
  if (n.jsDoc = i, o.isClassDeclaration(e))
3306
3312
  return et(e, n);
3307
3313
  if (o.isFunctionDeclaration(e))
3308
- return ho(e, e.name.escapedText, void 0, n);
3314
+ return Eo(e, e.name.escapedText, void 0, n);
3309
3315
  if (o.isInterfaceDeclaration(e))
3310
3316
  return et(e, n);
3311
3317
  if (o.isTypeAliasDeclaration(e))
3312
- return No(e, n);
3318
+ return wo(e, n);
3313
3319
  if (o.isVariableStatement(e))
3314
- return Vo(e, n);
3320
+ return Wo(e, n);
3315
3321
  }
3316
3322
  }
3317
- function Wo(e, t) {
3323
+ function _o(e, t) {
3318
3324
  const n = t.apiModule.declarations, i = e.statements;
3319
3325
  for (let a = 0; a < i.length; ++a) {
3320
3326
  const r = i[a], l = Pi(r, a, t);
3321
3327
  l !== void 0 && n.push(l);
3322
3328
  }
3323
3329
  }
3324
- function _o(e, t) {
3330
+ function Bo(e, t) {
3325
3331
  const n = e.fileName.slice(t.config.context.cwd.length), i = t.watchFiles?.get(n);
3326
3332
  if (i !== void 0) {
3327
3333
  if (i.module !== void 0)
@@ -3359,9 +3365,9 @@ function _o(e, t) {
3359
3365
  const L = je(y, !1, t, {
3360
3366
  description: void 0,
3361
3367
  docsTags: []
3362
- }), D = y.kind === o.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && y.heritageClauses !== void 0 && y.modifiers !== void 0;
3363
- L?.docsTags.includes(U.private) === !0 ? D && t.config.context.includeLuminaPrivateComponents ? (M = Ce, t.isInLuminaMinimalExtraction = !0) : M = void 0 : L !== void 0 && (D || g !== void 0 && Nn(y, g)) && (M = L);
3364
- } else M === void 0 && t.componentTagName !== void 0 && t.config.context.includeLuminaPrivateComponents && y.kind === o.SyntaxKind.ClassDeclaration && (M = Ce, t.isInLuminaMinimalExtraction = !0);
3368
+ }), x = y.kind === o.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && y.heritageClauses !== void 0 && y.modifiers !== void 0;
3369
+ L?.docsTags.includes(U.private) === !0 ? x && t.config.context.includeLuminaPrivateComponents ? (M = Pe, t.isInLuminaMinimalExtraction = !0) : M = void 0 : L !== void 0 && (x || g !== void 0 && Nn(y, g)) && (M = L);
3370
+ } else M === void 0 && t.componentTagName !== void 0 && t.config.context.includeLuminaPrivateComponents && y.kind === o.SyntaxKind.ClassDeclaration && (M = Pe, t.isInLuminaMinimalExtraction = !0);
3365
3371
  M !== void 0 && !t.config.strict && y.kind === o.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && y.heritageClauses !== void 0 && y.modifiers !== void 0 && M.docsTags.includes(U.internal) && (C = !0);
3366
3372
  }
3367
3373
  if (t.statementJsDocs[I] = M, k || I === 0 && (m = oe(e, !0, t)), M !== void 0)
@@ -3372,14 +3378,14 @@ function _o(e, t) {
3372
3378
  const L = y.importClause;
3373
3379
  if (L === void 0)
3374
3380
  continue;
3375
- const D = y.moduleSpecifier.text, T = !D.startsWith("."), _ = T ? D : Z(D), N = T ? void 0 : We(ut(r, _), t), J = N === void 0 ? void 0 : t.config.types.typeReplacements[N];
3381
+ const x = y.moduleSpecifier.text, T = !x.startsWith("."), _ = T ? x : Z(x), N = T ? void 0 : We(ut(r, _), t), J = N === void 0 ? void 0 : t.config.types.typeReplacements[N];
3376
3382
  if (Rn(y, t), L.name !== void 0) {
3377
- const E = L.name.escapedText, S = J?.[E], x = S?.[1], A = S === void 0 ? !T && D.endsWith(".json") ? D : _ : ye(s, S[0]), V = S?.[0] ?? N;
3383
+ const E = L.name.escapedText, S = J?.[E], D = S?.[1], A = S === void 0 ? !T && x.endsWith(".json") ? x : _ : ve(s, S[0]), V = S?.[0] ?? N;
3378
3384
  c[E] = {
3379
3385
  type: S?.[2] ?? "default",
3380
3386
  modulePath: V,
3381
3387
  specifier: A,
3382
- replacementName: x,
3388
+ replacementName: D,
3383
3389
  actualName: void 0,
3384
3390
  wasUsed: !1
3385
3391
  };
@@ -3388,24 +3394,24 @@ function _o(e, t) {
3388
3394
  if (K === void 0)
3389
3395
  continue;
3390
3396
  if (K.kind === o.SyntaxKind.NamespaceImport) {
3391
- const E = K.name.escapedText, S = J?.[E], x = S?.[1], A = S === void 0 ? _ : ye(s, S[0]), V = S?.[0] ?? N;
3397
+ const E = K.name.escapedText, S = J?.[E], D = S?.[1], A = S === void 0 ? _ : ve(s, S[0]), V = S?.[0] ?? N;
3392
3398
  c[E] = {
3393
3399
  type: "*",
3394
3400
  modulePath: V,
3395
3401
  specifier: A,
3396
- replacementName: x,
3402
+ replacementName: D,
3397
3403
  actualName: void 0,
3398
3404
  wasUsed: !1
3399
3405
  };
3400
3406
  } else
3401
3407
  for (let E = 0; E < K.elements.length; ++E) {
3402
- const S = K.elements[E], x = S.propertyName === void 0 ? void 0 : S.propertyName.escapedText ?? S.propertyName.text, A = S.name.escapedText, V = J?.[x ?? A], W = V?.[1], G = V === void 0 ? _ : ye(s, V[0]), O = V?.[0] ?? N;
3408
+ const S = K.elements[E], D = S.propertyName === void 0 ? void 0 : S.propertyName.escapedText ?? S.propertyName.text, A = S.name.escapedText, V = J?.[D ?? A], W = V?.[1], G = V === void 0 ? _ : ve(s, V[0]), O = V?.[0] ?? N;
3403
3409
  c[A] = {
3404
3410
  type: V?.[2] ?? "named",
3405
3411
  modulePath: O,
3406
3412
  specifier: G,
3407
3413
  replacementName: W,
3408
- actualName: V === void 0 ? x : void 0,
3414
+ actualName: V === void 0 ? D : void 0,
3409
3415
  wasUsed: !1
3410
3416
  };
3411
3417
  }
@@ -3416,13 +3422,13 @@ function _o(e, t) {
3416
3422
  }
3417
3423
  } else if (o.isExportDeclaration(y) && y.moduleSpecifier !== void 0 && !t.isInLuminaMinimalExtraction) {
3418
3424
  if (oe(y, !0, t) !== void 0) {
3419
- const D = y.moduleSpecifier.text, T = !D.startsWith("."), _ = T ? D : ut(r, Z(D)), N = T ? void 0 : We(_, t), J = T ? D : ye(s, N);
3425
+ const x = y.moduleSpecifier.text, T = !x.startsWith("."), _ = T ? x : ut(r, Z(x)), N = T ? void 0 : We(_, t), J = T ? x : ve(s, N);
3420
3426
  u.reExports ??= [];
3421
3427
  const K = [];
3422
3428
  if (y.exportClause?.kind === o.SyntaxKind.NamedExports) {
3423
3429
  const E = y.exportClause.elements;
3424
3430
  for (let S = 0; S < E.length; ++S) {
3425
- const x = E[S], A = xe(x.name), V = x.propertyName === void 0 ? void 0 : xe(x.propertyName), W = V ?? A, G = V === void 0 ? void 0 : A;
3431
+ const D = E[S], A = Re(D.name), V = D.propertyName === void 0 ? void 0 : Re(D.propertyName), W = V ?? A, G = V === void 0 ? void 0 : A;
3426
3432
  K.push({
3427
3433
  exportName: W,
3428
3434
  aliasName: G,
@@ -3432,7 +3438,7 @@ function _o(e, t) {
3432
3438
  } else
3433
3439
  K.push({
3434
3440
  exportName: "*",
3435
- aliasName: y.exportClause === void 0 ? void 0 : xe(y.exportClause.name),
3441
+ aliasName: y.exportClause === void 0 ? void 0 : Re(y.exportClause.name),
3436
3442
  isTypeOnly: !1
3437
3443
  }), !t.config.strict && N !== void 0 && Je(N, _, "*", t);
3438
3444
  u.reExports.push({
@@ -3455,7 +3461,7 @@ function _o(e, t) {
3455
3461
  c[k] = {
3456
3462
  type: M[2],
3457
3463
  modulePath: M[0],
3458
- specifier: ye(s, M[0]),
3464
+ specifier: ve(s, M[0]),
3459
3465
  replacementName: M[1],
3460
3466
  actualName: void 0,
3461
3467
  wasUsed: !1
@@ -3475,7 +3481,7 @@ function _o(e, t) {
3475
3481
  declarations: [],
3476
3482
  exports: []
3477
3483
  };
3478
- if (t.apiModule = h, Wo(e, t), d !== void 0) {
3484
+ if (t.apiModule = h, _o(e, t), d !== void 0) {
3479
3485
  let I = !1;
3480
3486
  do {
3481
3487
  I = !1;
@@ -3535,12 +3541,12 @@ function _o(e, t) {
3535
3541
  }
3536
3542
  ) : (v && m.docsTags.push(U.internal), dn(h, m))), h;
3537
3543
  }
3538
- async function Ea(e) {
3544
+ async function Ca(e) {
3539
3545
  const t = [], n = e.basePath, i = e.config.context.excludedDirectories, a = `${e.basePath}components/`, r = [], l = !e.config.strict || e.config.context.includeLuminaPrivateComponents;
3540
3546
  e.componentPathMapping = /* @__PURE__ */ Object.create(null);
3541
3547
  const s = e.isComponentProject ? (m) => $i(m, a) : () => !1, c = e.isComponentProject ? p : d;
3542
3548
  if (e.program === void 0)
3543
- await xi(n, i, async (m) => {
3549
+ await Di(n, i, async (m) => {
3544
3550
  if (bi(m))
3545
3551
  return;
3546
3552
  const f = await It(m);
@@ -3551,7 +3557,7 @@ async function Ea(e) {
3551
3557
  }
3552
3558
  const u = s(m);
3553
3559
  if (u && l || // Exclude files before paying .toString() cost
3554
- f.includes($o) && (f.includes(zo) || f.includes(jo))) {
3560
+ f.includes(zo) && (f.includes(jo) || f.includes(Jo))) {
3555
3561
  const C = f.toString("utf8"), v = Yt(m, C);
3556
3562
  c(v, u);
3557
3563
  }
@@ -3560,14 +3566,14 @@ async function Ea(e) {
3560
3566
  const m = e.program.getSourceFiles();
3561
3567
  for (let f = 0; f < m.length; ++f) {
3562
3568
  const u = m[f], g = u.fileName;
3563
- if (!Bo(g, e))
3569
+ if (!Ko(g, e))
3564
3570
  continue;
3565
3571
  if (g.includes(".stories.")) {
3566
3572
  Ut(u.text, g, e);
3567
3573
  continue;
3568
3574
  }
3569
3575
  const C = s(g);
3570
- (C && l || u.text.includes(Mi) || u.text.includes(Di)) && c(u, C);
3576
+ (C && l || u.text.includes(Mi) || u.text.includes(xi)) && c(u, C);
3571
3577
  }
3572
3578
  }
3573
3579
  function p(m, f) {
@@ -3580,7 +3586,7 @@ async function Ea(e) {
3580
3586
  }
3581
3587
  function d(m) {
3582
3588
  e.file = m;
3583
- const f = _o(m, e);
3589
+ const f = Bo(m, e);
3584
3590
  f !== void 0 && t.push(f);
3585
3591
  }
3586
3592
  for (let m = 0; m < r.length; ++m)
@@ -3612,7 +3618,7 @@ async function Ea(e) {
3612
3618
  }
3613
3619
  m = !0, u.extractedNames = u.pendingNames === void 0 ? void 0 : new Set(u.pendingNames);
3614
3620
  let v = e.basePath + u.sourcePath, P = !1, h = e.program?.getSourceFile(v) ?? e.program?.getSourceFile(`${v}.ts`) ?? e.program?.getSourceFile(`${v}.tsx`) ?? e.program?.getSourceFile(`${v}.d.ts`);
3615
- if (h === void 0 && (h = e.program?.getSourceFile(`${v}/index.ts`) ?? e.program?.getSourceFile(`${v}/index.tsx`) ?? e.program?.getSourceFile(`${v}/index.d.ts`), h !== void 0 && (P = !0)), e.program === void 0 && (Z(v) === v && (v = ue(`${v}.ts`) ? `${v}.ts` : ue(`${v}.tsx`) ? `${v}.tsx` : ue(`${v}.d.ts`) ? `${v}.d.ts` : void 0, v === void 0 && (v = ue(`${v}/index.ts`) ? `${v}/index.ts` : ue(`${v}/index.tsx`) ? `${v}/index.tsx` : ue(`${v}/index.d.ts`) ? `${v}/index.d.ts` : void 0, v !== void 0 && (P = !0))), v !== void 0 && (h = Yt(v, await It(v, "utf8")))), h !== void 0) {
3621
+ if (h === void 0 && (h = e.program?.getSourceFile(`${v}/index.ts`) ?? e.program?.getSourceFile(`${v}/index.tsx`) ?? e.program?.getSourceFile(`${v}/index.d.ts`), h !== void 0 && (P = !0)), e.program === void 0 && (Z(v) === v && (v = fe(`${v}.ts`) ? `${v}.ts` : fe(`${v}.tsx`) ? `${v}.tsx` : fe(`${v}.d.ts`) ? `${v}.d.ts` : void 0, v === void 0 && (v = fe(`${v}/index.ts`) ? `${v}/index.ts` : fe(`${v}/index.tsx`) ? `${v}/index.tsx` : fe(`${v}/index.d.ts`) ? `${v}/index.d.ts` : void 0, v !== void 0 && (P = !0))), v !== void 0 && (h = Yt(v, await It(v, "utf8")))), h !== void 0) {
3616
3622
  const R = h.fileName.slice(e.basePath.length);
3617
3623
  R !== u.sourcePath && (u.sourcePath = R), P && (u.actualModulePath = `${g}/index`), d(h);
3618
3624
  }
@@ -3621,13 +3627,13 @@ async function Ea(e) {
3621
3627
  }
3622
3628
  return t;
3623
3629
  }
3624
- const Bo = (e, t) => Ko(e) && Ho(e, t), Ko = (e) => (e.endsWith(".ts") || e.endsWith(".tsx")) && !bi(e), bi = (e) => e.includes("__test") || e.includes(".e2e.") || e.includes(".spec.") || e.includes(".test."), Ho = (e, t) => e.startsWith(t.basePath) && !t.config.context.excludedDirectories.has(
3630
+ const Ko = (e, t) => Ho(e) && $o(e, t), Ho = (e) => (e.endsWith(".ts") || e.endsWith(".tsx")) && !bi(e), bi = (e) => e.includes("__test") || e.includes(".e2e.") || e.includes(".spec.") || e.includes(".test."), $o = (e, t) => e.startsWith(t.basePath) && !t.config.context.excludedDirectories.has(
3625
3631
  En(e.slice(t.basePath.length))
3626
- ) && !e.includes("node_modules"), Xt = 32, $o = 64, Mi = "@public", zo = Buffer.from(Mi), Di = "@internal", jo = Buffer.from(Di);
3627
- async function Ca(e) {
3628
- await Zt(e) && await xi(e, /* @__PURE__ */ new Set(), Hi);
3632
+ ) && !e.includes("node_modules"), Xt = 32, zo = 64, Mi = "@public", jo = Buffer.from(Mi), xi = "@internal", Jo = Buffer.from(xi);
3633
+ async function Pa(e) {
3634
+ await Zt(e) && await Di(e, /* @__PURE__ */ new Set(), Hi);
3629
3635
  }
3630
- async function xi(e, t, n) {
3636
+ async function Di(e, t, n) {
3631
3637
  const i = [], a = [];
3632
3638
  for await (const d of await At(e)) {
3633
3639
  const m = `${e}${d.name}`;
@@ -3678,22 +3684,22 @@ function Yt(e, t) {
3678
3684
  );
3679
3685
  }
3680
3686
  export {
3681
- ye as a,
3682
- ga as b,
3683
- Ca as c,
3684
- Sa as d,
3685
- Ea as e,
3686
- Ta as f,
3687
- Ko as g,
3688
- Ho as h,
3689
- Bo as i,
3687
+ ve as a,
3688
+ Sa as b,
3689
+ Pa as c,
3690
+ Ta as d,
3691
+ Ca as e,
3692
+ ha as f,
3693
+ Ho as g,
3694
+ $o as h,
3695
+ Ko as i,
3690
3696
  bi as j,
3691
3697
  Yt as k,
3692
- fa as l,
3693
- ya as m,
3698
+ ya as l,
3699
+ va as m,
3694
3700
  Wt as n,
3695
3701
  Vt as o,
3696
- va as p,
3697
- ua as r,
3698
- ha as t
3702
+ ga as p,
3703
+ fa as r,
3704
+ Ea as t
3699
3705
  };