@angular/core 18.2.9 → 18.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/util/change_detection_utils.mjs +1 -2
- package/esm2022/src/render3/util/discovery_utils.mjs +1 -10
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/application_error_handler.mjs +3 -3
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +3 -13
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +4 -4
- package/index.d.ts +1 -11
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/after-render-phase/bundle.js +288 -330
- package/schematics/migrations/http-providers/bundle.js +291 -333
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +182 -224
- package/schematics/ng-generate/control-flow-migration/bundle.js +291 -333
- package/schematics/ng-generate/inject-migration/bundle.js +294 -336
- package/schematics/ng-generate/route-lazy-loading/bundle.js +290 -332
- package/schematics/ng-generate/standalone-migration/bundle.js +472 -514
- package/testing/index.d.ts +1 -1
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
|
|
67
67
|
var invalid_two_way_bindings_exports = {};
|
|
68
68
|
__export(invalid_two_way_bindings_exports, {
|
|
69
69
|
default: () => invalid_two_way_bindings_default
|
|
@@ -72,7 +72,7 @@ module.exports = __toCommonJS(invalid_two_way_bindings_exports);
|
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
var import_path3 = require("path");
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
76
76
|
var import_core = require("@angular-devkit/core");
|
|
77
77
|
function getProjectTsConfigPaths(tree) {
|
|
78
78
|
return __async(this, null, function* () {
|
|
@@ -152,11 +152,11 @@ function getWorkspace(tree) {
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
156
156
|
var import_path = require("path");
|
|
157
157
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
158
158
|
|
|
159
|
-
// bazel-out/
|
|
159
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
160
160
|
var path = __toESM(require("path"), 1);
|
|
161
161
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
162
162
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -173,7 +173,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
173
173
|
return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
// bazel-out/
|
|
176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
177
177
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
178
178
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
179
179
|
return import_typescript2.default.createProgram(rootNames, options, host);
|
|
@@ -206,7 +206,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
206
206
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/analysis.mjs
|
|
210
210
|
var import_path2 = require("path");
|
|
211
211
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
212
212
|
var AnalyzedFile = class {
|
|
@@ -266,7 +266,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
270
270
|
var _SELECTOR_REGEXP = new RegExp(
|
|
271
271
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
272
272
|
"g"
|
|
@@ -574,7 +574,7 @@ var SelectorContext = class {
|
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
-
// bazel-out/
|
|
577
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
|
|
578
578
|
var ViewEncapsulation;
|
|
579
579
|
(function(ViewEncapsulation2) {
|
|
580
580
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -642,7 +642,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
642
642
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
// bazel-out/
|
|
645
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
646
646
|
var textEncoder;
|
|
647
647
|
function computeDigest(message) {
|
|
648
648
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -889,7 +889,7 @@ function wordAt(bytes, index, endian) {
|
|
|
889
889
|
return word;
|
|
890
890
|
}
|
|
891
891
|
|
|
892
|
-
// bazel-out/
|
|
892
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
893
893
|
var TypeModifier;
|
|
894
894
|
(function(TypeModifier2) {
|
|
895
895
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1827,7 +1827,7 @@ function serializeTags(tags) {
|
|
|
1827
1827
|
return out;
|
|
1828
1828
|
}
|
|
1829
1829
|
|
|
1830
|
-
// bazel-out/
|
|
1830
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1831
1831
|
var CONSTANT_PREFIX = "_c";
|
|
1832
1832
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1833
1833
|
var KEY_CONTEXT = {};
|
|
@@ -2015,7 +2015,7 @@ function isLongStringLiteral(expr) {
|
|
|
2015
2015
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2016
2016
|
}
|
|
2017
2017
|
|
|
2018
|
-
// bazel-out/
|
|
2018
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2019
2019
|
var CORE = "@angular/core";
|
|
2020
2020
|
var _Identifiers = class {
|
|
2021
2021
|
};
|
|
@@ -2912,7 +2912,7 @@ var Identifiers = _Identifiers;
|
|
|
2912
2912
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2913
2913
|
})();
|
|
2914
2914
|
|
|
2915
|
-
// bazel-out/
|
|
2915
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2916
2916
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2917
2917
|
function dashCaseToCamelCase(input) {
|
|
2918
2918
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2989,7 +2989,7 @@ var Version = class {
|
|
|
2989
2989
|
};
|
|
2990
2990
|
var _global = globalThis;
|
|
2991
2991
|
|
|
2992
|
-
// bazel-out/
|
|
2992
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2993
2993
|
var VERSION = 3;
|
|
2994
2994
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2995
2995
|
var SourceMapGenerator = class {
|
|
@@ -3118,7 +3118,7 @@ function toBase64Digit(value) {
|
|
|
3118
3118
|
return B64_DIGITS[value];
|
|
3119
3119
|
}
|
|
3120
3120
|
|
|
3121
|
-
// bazel-out/
|
|
3121
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3122
3122
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3123
3123
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3124
3124
|
var _INDENT_WITH = " ";
|
|
@@ -3606,7 +3606,7 @@ function _createIndent(count) {
|
|
|
3606
3606
|
return res;
|
|
3607
3607
|
}
|
|
3608
3608
|
|
|
3609
|
-
// bazel-out/
|
|
3609
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3610
3610
|
function typeWithParameters(type, numParams) {
|
|
3611
3611
|
if (numParams === 0) {
|
|
3612
3612
|
return expressionType(type);
|
|
@@ -3661,7 +3661,7 @@ function generateForwardRef(expr) {
|
|
|
3661
3661
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3662
3662
|
}
|
|
3663
3663
|
|
|
3664
|
-
// bazel-out/
|
|
3664
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3665
3665
|
var R3FactoryDelegateType;
|
|
3666
3666
|
(function(R3FactoryDelegateType2) {
|
|
3667
3667
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3806,7 +3806,7 @@ function getInjectFn(target) {
|
|
|
3806
3806
|
}
|
|
3807
3807
|
}
|
|
3808
3808
|
|
|
3809
|
-
// bazel-out/
|
|
3809
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3810
3810
|
var ParserError = class {
|
|
3811
3811
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3812
3812
|
this.input = input;
|
|
@@ -4244,7 +4244,7 @@ var BoundElementProperty = class {
|
|
|
4244
4244
|
}
|
|
4245
4245
|
};
|
|
4246
4246
|
|
|
4247
|
-
// bazel-out/
|
|
4247
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4248
4248
|
var TagContentType;
|
|
4249
4249
|
(function(TagContentType2) {
|
|
4250
4250
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4281,7 +4281,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4281
4281
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4282
4282
|
}
|
|
4283
4283
|
|
|
4284
|
-
// bazel-out/
|
|
4284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4285
4285
|
var Comment = class {
|
|
4286
4286
|
constructor(value, sourceSpan) {
|
|
4287
4287
|
this.value = value;
|
|
@@ -4751,7 +4751,7 @@ function visitAll(visitor, nodes) {
|
|
|
4751
4751
|
return result;
|
|
4752
4752
|
}
|
|
4753
4753
|
|
|
4754
|
-
// bazel-out/
|
|
4754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4755
4755
|
var Message = class {
|
|
4756
4756
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4757
4757
|
this.nodes = nodes;
|
|
@@ -4891,7 +4891,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4891
4891
|
}
|
|
4892
4892
|
};
|
|
4893
4893
|
|
|
4894
|
-
// bazel-out/
|
|
4894
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4895
4895
|
var _Visitor = class {
|
|
4896
4896
|
visitTag(tag) {
|
|
4897
4897
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4919,12 +4919,12 @@ ${doctype.dtd}
|
|
|
4919
4919
|
};
|
|
4920
4920
|
var _visitor = new _Visitor();
|
|
4921
4921
|
|
|
4922
|
-
// bazel-out/
|
|
4922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4923
4923
|
function toPublicName(internalName) {
|
|
4924
4924
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4925
4925
|
}
|
|
4926
4926
|
|
|
4927
|
-
// bazel-out/
|
|
4927
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4928
4928
|
var I18N_ATTR = "i18n";
|
|
4929
4929
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4930
4930
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4964,7 +4964,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4964
4964
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4965
4965
|
}
|
|
4966
4966
|
|
|
4967
|
-
// bazel-out/
|
|
4967
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4968
4968
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4969
4969
|
var TEMPORARY_NAME = "_t";
|
|
4970
4970
|
var CONTEXT_NAME = "ctx";
|
|
@@ -5091,7 +5091,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
5091
5091
|
return attributesMap;
|
|
5092
5092
|
}
|
|
5093
5093
|
|
|
5094
|
-
// bazel-out/
|
|
5094
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
5095
5095
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
5096
5096
|
let result = null;
|
|
5097
5097
|
const factoryMeta = {
|
|
@@ -5179,7 +5179,7 @@ function createFactoryFunction(type) {
|
|
|
5179
5179
|
return arrowFn([t], type.prop("\u0275fac").callFn([variable(t.name)]));
|
|
5180
5180
|
}
|
|
5181
5181
|
|
|
5182
|
-
// bazel-out/
|
|
5182
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5183
5183
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5184
5184
|
/@/,
|
|
5185
5185
|
/^\s*$/,
|
|
@@ -5202,7 +5202,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5202
5202
|
}
|
|
5203
5203
|
}
|
|
5204
5204
|
|
|
5205
|
-
// bazel-out/
|
|
5205
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
5206
5206
|
var InterpolationConfig = class {
|
|
5207
5207
|
static fromArray(markers) {
|
|
5208
5208
|
if (!markers) {
|
|
@@ -5219,7 +5219,7 @@ var InterpolationConfig = class {
|
|
|
5219
5219
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5220
5220
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5221
5221
|
|
|
5222
|
-
// bazel-out/
|
|
5222
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5223
5223
|
var $EOF = 0;
|
|
5224
5224
|
var $BSPACE = 8;
|
|
5225
5225
|
var $TAB = 9;
|
|
@@ -5301,7 +5301,7 @@ function isQuote(code) {
|
|
|
5301
5301
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5302
5302
|
}
|
|
5303
5303
|
|
|
5304
|
-
// bazel-out/
|
|
5304
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5305
5305
|
var ParseLocation = class {
|
|
5306
5306
|
constructor(file, offset, line, col) {
|
|
5307
5307
|
this.file = file;
|
|
@@ -5448,7 +5448,7 @@ function sanitizeIdentifier(name) {
|
|
|
5448
5448
|
return name.replace(/\W/g, "_");
|
|
5449
5449
|
}
|
|
5450
5450
|
|
|
5451
|
-
// bazel-out/
|
|
5451
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5452
5452
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5453
5453
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5454
5454
|
constructor() {
|
|
@@ -5541,7 +5541,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5541
5541
|
}
|
|
5542
5542
|
};
|
|
5543
5543
|
|
|
5544
|
-
// bazel-out/
|
|
5544
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5545
5545
|
var policy;
|
|
5546
5546
|
function getPolicy() {
|
|
5547
5547
|
if (policy === void 0) {
|
|
@@ -5579,7 +5579,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5579
5579
|
return fn2.bind(_global);
|
|
5580
5580
|
}
|
|
5581
5581
|
|
|
5582
|
-
// bazel-out/
|
|
5582
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5583
5583
|
var JitEvaluator = class {
|
|
5584
5584
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5585
5585
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5667,7 +5667,7 @@ function isUseStrictStatement(statement) {
|
|
|
5667
5667
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5668
5668
|
}
|
|
5669
5669
|
|
|
5670
|
-
// bazel-out/
|
|
5670
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5671
5671
|
function compileInjector(meta) {
|
|
5672
5672
|
const definitionMap = new DefinitionMap();
|
|
5673
5673
|
if (meta.providers !== null) {
|
|
@@ -5684,7 +5684,7 @@ function createInjectorType(meta) {
|
|
|
5684
5684
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5685
5685
|
}
|
|
5686
5686
|
|
|
5687
|
-
// bazel-out/
|
|
5687
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5688
5688
|
var R3JitReflector = class {
|
|
5689
5689
|
constructor(context) {
|
|
5690
5690
|
this.context = context;
|
|
@@ -5700,7 +5700,7 @@ var R3JitReflector = class {
|
|
|
5700
5700
|
}
|
|
5701
5701
|
};
|
|
5702
5702
|
|
|
5703
|
-
// bazel-out/
|
|
5703
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5704
5704
|
var R3SelectorScopeMode;
|
|
5705
5705
|
(function(R3SelectorScopeMode2) {
|
|
5706
5706
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5835,7 +5835,7 @@ function tupleOfTypes(types) {
|
|
|
5835
5835
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5836
5836
|
}
|
|
5837
5837
|
|
|
5838
|
-
// bazel-out/
|
|
5838
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5839
5839
|
function compilePipeFromMetadata(metadata) {
|
|
5840
5840
|
const definitionMapValues = [];
|
|
5841
5841
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5856,7 +5856,7 @@ function createPipeType(metadata) {
|
|
|
5856
5856
|
]));
|
|
5857
5857
|
}
|
|
5858
5858
|
|
|
5859
|
-
// bazel-out/
|
|
5859
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5860
5860
|
var R3TemplateDependencyKind;
|
|
5861
5861
|
(function(R3TemplateDependencyKind2) {
|
|
5862
5862
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5864,7 +5864,7 @@ var R3TemplateDependencyKind;
|
|
|
5864
5864
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5865
5865
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5866
5866
|
|
|
5867
|
-
// bazel-out/
|
|
5867
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5868
5868
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5869
5869
|
"inherit",
|
|
5870
5870
|
"initial",
|
|
@@ -6010,7 +6010,7 @@ var ShadowCss = class {
|
|
|
6010
6010
|
});
|
|
6011
6011
|
}
|
|
6012
6012
|
_convertColonHostContext(cssText) {
|
|
6013
|
-
return cssText.replace(_cssColonHostContextReGlobal, (selectorText
|
|
6013
|
+
return cssText.replace(_cssColonHostContextReGlobal, (selectorText) => {
|
|
6014
6014
|
var _a2;
|
|
6015
6015
|
const contextSelectorGroups = [[]];
|
|
6016
6016
|
let match;
|
|
@@ -6025,7 +6025,7 @@ var ShadowCss = class {
|
|
|
6025
6025
|
}
|
|
6026
6026
|
selectorText = match[2];
|
|
6027
6027
|
}
|
|
6028
|
-
return contextSelectorGroups.map((contextSelectors) =>
|
|
6028
|
+
return contextSelectorGroups.map((contextSelectors) => combineHostContextSelectors(contextSelectors, selectorText)).join(", ");
|
|
6029
6029
|
});
|
|
6030
6030
|
}
|
|
6031
6031
|
_convertShadowDOMSelectors(cssText) {
|
|
@@ -6036,12 +6036,7 @@ var ShadowCss = class {
|
|
|
6036
6036
|
let selector = rule.selector;
|
|
6037
6037
|
let content = rule.content;
|
|
6038
6038
|
if (rule.selector[0] !== "@") {
|
|
6039
|
-
selector = this._scopeSelector(
|
|
6040
|
-
selector,
|
|
6041
|
-
scopeSelector,
|
|
6042
|
-
hostSelector,
|
|
6043
|
-
isParentSelector: true
|
|
6044
|
-
});
|
|
6039
|
+
selector = this._scopeSelector(rule.selector, scopeSelector, hostSelector);
|
|
6045
6040
|
} else if (scopedAtRuleIdentifiers.some((atRule) => rule.selector.startsWith(atRule))) {
|
|
6046
6041
|
content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
|
|
6047
6042
|
} else if (rule.selector.startsWith("@font-face") || rule.selector.startsWith("@page")) {
|
|
@@ -6056,18 +6051,12 @@ var ShadowCss = class {
|
|
|
6056
6051
|
return new CssRule(selector, rule.content);
|
|
6057
6052
|
});
|
|
6058
6053
|
}
|
|
6059
|
-
_scopeSelector(
|
|
6060
|
-
|
|
6061
|
-
return selector.split(selectorSplitRe).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
|
|
6054
|
+
_scopeSelector(selector, scopeSelector, hostSelector) {
|
|
6055
|
+
return selector.split(/ ?, ?/).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
|
|
6062
6056
|
const [shallowPart, ...otherParts] = deepParts;
|
|
6063
6057
|
const applyScope = (shallowPart2) => {
|
|
6064
6058
|
if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
|
|
6065
|
-
return this._applySelectorScope(
|
|
6066
|
-
selector: shallowPart2,
|
|
6067
|
-
scopeSelector,
|
|
6068
|
-
hostSelector,
|
|
6069
|
-
isParentSelector
|
|
6070
|
-
});
|
|
6059
|
+
return this._applySelectorScope(shallowPart2, scopeSelector, hostSelector);
|
|
6071
6060
|
} else {
|
|
6072
6061
|
return shallowPart2;
|
|
6073
6062
|
}
|
|
@@ -6089,15 +6078,15 @@ var ShadowCss = class {
|
|
|
6089
6078
|
_polyfillHostRe.lastIndex = 0;
|
|
6090
6079
|
if (_polyfillHostRe.test(selector)) {
|
|
6091
6080
|
const replaceBy = `[${hostSelector}]`;
|
|
6092
|
-
return selector.replace(
|
|
6093
|
-
return selector2.replace(/([
|
|
6081
|
+
return selector.replace(_polyfillHostNoCombinatorRe, (hnc, selector2) => {
|
|
6082
|
+
return selector2.replace(/([^:]*)(:*)(.*)/, (_, before, colon, after) => {
|
|
6094
6083
|
return before + replaceBy + colon + after;
|
|
6095
6084
|
});
|
|
6096
6085
|
}).replace(_polyfillHostRe, replaceBy + " ");
|
|
6097
6086
|
}
|
|
6098
6087
|
return scopeSelector + " " + selector;
|
|
6099
6088
|
}
|
|
6100
|
-
_applySelectorScope(
|
|
6089
|
+
_applySelectorScope(selector, scopeSelector, hostSelector) {
|
|
6101
6090
|
var _a2;
|
|
6102
6091
|
const isRe = /\[is=([^\]]*)\]/g;
|
|
6103
6092
|
scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
|
|
@@ -6109,10 +6098,6 @@ var ShadowCss = class {
|
|
|
6109
6098
|
}
|
|
6110
6099
|
if (p.includes(_polyfillHostNoCombinator)) {
|
|
6111
6100
|
scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
6112
|
-
if (_polyfillHostNoCombinatorWithinPseudoFunction.test(p)) {
|
|
6113
|
-
const [_, before, colon, after] = scopedP.match(/([^:]*)(:*)(.*)/);
|
|
6114
|
-
scopedP = before + attrName + colon + after;
|
|
6115
|
-
}
|
|
6116
6101
|
} else {
|
|
6117
6102
|
const t = p.replace(_polyfillHostRe, "");
|
|
6118
6103
|
if (t.length > 0) {
|
|
@@ -6124,52 +6109,29 @@ var ShadowCss = class {
|
|
|
6124
6109
|
}
|
|
6125
6110
|
return scopedP;
|
|
6126
6111
|
};
|
|
6127
|
-
const
|
|
6128
|
-
|
|
6129
|
-
const cssPrefixWithPseudoSelectorFunctionMatch = selectorPart.match(_cssPrefixWithPseudoSelectorFunction);
|
|
6130
|
-
if (cssPrefixWithPseudoSelectorFunctionMatch) {
|
|
6131
|
-
const [cssPseudoSelectorFunction] = cssPrefixWithPseudoSelectorFunctionMatch;
|
|
6132
|
-
const selectorToScope = selectorPart.slice(cssPseudoSelectorFunction.length, -1);
|
|
6133
|
-
if (selectorToScope.includes(_polyfillHostNoCombinator)) {
|
|
6134
|
-
this._shouldScopeIndicator = true;
|
|
6135
|
-
}
|
|
6136
|
-
const scopedInnerPart = this._scopeSelector({
|
|
6137
|
-
selector: selectorToScope,
|
|
6138
|
-
scopeSelector,
|
|
6139
|
-
hostSelector
|
|
6140
|
-
});
|
|
6141
|
-
scopedPart = `${cssPseudoSelectorFunction}${scopedInnerPart})`;
|
|
6142
|
-
} else {
|
|
6143
|
-
this._shouldScopeIndicator = this._shouldScopeIndicator || selectorPart.includes(_polyfillHostNoCombinator);
|
|
6144
|
-
scopedPart = this._shouldScopeIndicator ? _scopeSelectorPart(selectorPart) : selectorPart;
|
|
6145
|
-
}
|
|
6146
|
-
return scopedPart;
|
|
6147
|
-
};
|
|
6148
|
-
if (isParentSelector) {
|
|
6149
|
-
this._safeSelector = new SafeSelector(selector);
|
|
6150
|
-
selector = this._safeSelector.content();
|
|
6151
|
-
}
|
|
6112
|
+
const safeContent = new SafeSelector(selector);
|
|
6113
|
+
selector = safeContent.content();
|
|
6152
6114
|
let scopedSelector = "";
|
|
6153
6115
|
let startIndex = 0;
|
|
6154
6116
|
let res;
|
|
6155
|
-
const sep = /( |>|\+|~(?!=))
|
|
6117
|
+
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
6156
6118
|
const hasHost = selector.includes(_polyfillHostNoCombinator);
|
|
6157
|
-
|
|
6158
|
-
this._shouldScopeIndicator = !hasHost;
|
|
6159
|
-
}
|
|
6119
|
+
let shouldScope = !hasHost;
|
|
6160
6120
|
while ((res = sep.exec(selector)) !== null) {
|
|
6161
6121
|
const separator = res[1];
|
|
6162
6122
|
const part2 = selector.slice(startIndex, res.index);
|
|
6163
6123
|
if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
|
|
6164
6124
|
continue;
|
|
6165
6125
|
}
|
|
6166
|
-
|
|
6126
|
+
shouldScope = shouldScope || part2.includes(_polyfillHostNoCombinator);
|
|
6127
|
+
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
6167
6128
|
scopedSelector += `${scopedPart} ${separator} `;
|
|
6168
6129
|
startIndex = sep.lastIndex;
|
|
6169
6130
|
}
|
|
6170
6131
|
const part = selector.substring(startIndex);
|
|
6171
|
-
|
|
6172
|
-
|
|
6132
|
+
shouldScope = shouldScope || part.includes(_polyfillHostNoCombinator);
|
|
6133
|
+
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
6134
|
+
return safeContent.restore(scopedSelector);
|
|
6173
6135
|
}
|
|
6174
6136
|
_insertPolyfillHostInCssText(selector) {
|
|
6175
6137
|
return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);
|
|
@@ -6208,8 +6170,6 @@ var SafeSelector = class {
|
|
|
6208
6170
|
});
|
|
6209
6171
|
}
|
|
6210
6172
|
};
|
|
6211
|
-
var _cssScopedPseudoFunctionPrefix = "(:(where|is)\\()?";
|
|
6212
|
-
var _cssPrefixWithPseudoSelectorFunction = /^:(where|is)\(/i;
|
|
6213
6173
|
var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
|
|
6214
6174
|
var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
6215
6175
|
var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
@@ -6217,12 +6177,10 @@ var _polyfillHost = "-shadowcsshost";
|
|
|
6217
6177
|
var _polyfillHostContext = "-shadowcsscontext";
|
|
6218
6178
|
var _parenSuffix = "(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
6219
6179
|
var _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, "gim");
|
|
6220
|
-
var _cssColonHostContextReGlobal = new RegExp(
|
|
6180
|
+
var _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, "gim");
|
|
6221
6181
|
var _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, "im");
|
|
6222
6182
|
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
6223
|
-
var _polyfillHostNoCombinatorWithinPseudoFunction = new RegExp(`:.*\\(.*${_polyfillHostNoCombinator}.*\\)`);
|
|
6224
6183
|
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
6225
|
-
var _polyfillHostNoCombinatorReGlobal = new RegExp(_polyfillHostNoCombinatorRe, "g");
|
|
6226
6184
|
var _shadowDOMSelectorsRe = [
|
|
6227
6185
|
/::shadow/g,
|
|
6228
6186
|
/::content/g,
|
|
@@ -6357,7 +6315,7 @@ function unescapeInStrings(input) {
|
|
|
6357
6315
|
function unescapeQuotes(str, isQuoted) {
|
|
6358
6316
|
return !isQuoted ? str : str.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g, "$1");
|
|
6359
6317
|
}
|
|
6360
|
-
function
|
|
6318
|
+
function combineHostContextSelectors(contextSelectors, otherSelectors) {
|
|
6361
6319
|
const hostMarker = _polyfillHostNoCombinator;
|
|
6362
6320
|
_polyfillHostRe.lastIndex = 0;
|
|
6363
6321
|
const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors);
|
|
@@ -6375,7 +6333,7 @@ function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPr
|
|
|
6375
6333
|
combined[i] = contextSelector + previousSelectors;
|
|
6376
6334
|
}
|
|
6377
6335
|
}
|
|
6378
|
-
return combined.map((s) => otherSelectorsHasHost ? `${
|
|
6336
|
+
return combined.map((s) => otherSelectorsHasHost ? `${s}${otherSelectors}` : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`).join(",");
|
|
6379
6337
|
}
|
|
6380
6338
|
function repeatGroups(groups, multiples) {
|
|
6381
6339
|
const length = groups.length;
|
|
@@ -6386,7 +6344,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6386
6344
|
}
|
|
6387
6345
|
}
|
|
6388
6346
|
|
|
6389
|
-
// bazel-out/
|
|
6347
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6390
6348
|
var OpKind;
|
|
6391
6349
|
(function(OpKind2) {
|
|
6392
6350
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6544,7 +6502,7 @@ var TemplateKind;
|
|
|
6544
6502
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6545
6503
|
})(TemplateKind || (TemplateKind = {}));
|
|
6546
6504
|
|
|
6547
|
-
// bazel-out/
|
|
6505
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6548
6506
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6549
6507
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6550
6508
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6572,7 +6530,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6572
6530
|
return expr[UsesVarOffset] === true;
|
|
6573
6531
|
}
|
|
6574
6532
|
|
|
6575
|
-
// bazel-out/
|
|
6533
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6576
6534
|
function createStatementOp(statement) {
|
|
6577
6535
|
return __spreadValues({
|
|
6578
6536
|
kind: OpKind.Statement,
|
|
@@ -6594,7 +6552,7 @@ var NEW_OP = {
|
|
|
6594
6552
|
next: null
|
|
6595
6553
|
};
|
|
6596
6554
|
|
|
6597
|
-
// bazel-out/
|
|
6555
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6598
6556
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6599
6557
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6600
6558
|
kind: OpKind.InterpolateText,
|
|
@@ -6783,7 +6741,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
6783
6741
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
6784
6742
|
}
|
|
6785
6743
|
|
|
6786
|
-
// bazel-out/
|
|
6744
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6787
6745
|
var _a;
|
|
6788
6746
|
var _b;
|
|
6789
6747
|
var _c;
|
|
@@ -7701,7 +7659,7 @@ function isStringLiteral(expr) {
|
|
|
7701
7659
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7702
7660
|
}
|
|
7703
7661
|
|
|
7704
|
-
// bazel-out/
|
|
7662
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7705
7663
|
var _OpList = class {
|
|
7706
7664
|
constructor() {
|
|
7707
7665
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7892,14 +7850,14 @@ var OpList = _OpList;
|
|
|
7892
7850
|
_OpList.nextListId = 0;
|
|
7893
7851
|
})();
|
|
7894
7852
|
|
|
7895
|
-
// bazel-out/
|
|
7853
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7896
7854
|
var SlotHandle = class {
|
|
7897
7855
|
constructor() {
|
|
7898
7856
|
this.slot = null;
|
|
7899
7857
|
}
|
|
7900
7858
|
};
|
|
7901
7859
|
|
|
7902
|
-
// bazel-out/
|
|
7860
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7903
7861
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7904
7862
|
OpKind.Element,
|
|
7905
7863
|
OpKind.ElementStart,
|
|
@@ -8212,7 +8170,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
8212
8170
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
8213
8171
|
}
|
|
8214
8172
|
|
|
8215
|
-
// bazel-out/
|
|
8173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
8216
8174
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
8217
8175
|
return __spreadValues(__spreadValues({
|
|
8218
8176
|
kind: OpKind.HostProperty,
|
|
@@ -8226,10 +8184,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
8226
8184
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
8227
8185
|
}
|
|
8228
8186
|
|
|
8229
|
-
// bazel-out/
|
|
8187
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
8230
8188
|
var CTX_REF = "CTX_REF_MARKER";
|
|
8231
8189
|
|
|
8232
|
-
// bazel-out/
|
|
8190
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
8233
8191
|
var CompilationJobKind;
|
|
8234
8192
|
(function(CompilationJobKind2) {
|
|
8235
8193
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8337,7 +8295,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8337
8295
|
}
|
|
8338
8296
|
};
|
|
8339
8297
|
|
|
8340
|
-
// bazel-out/
|
|
8298
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8341
8299
|
function deleteAnyCasts(job) {
|
|
8342
8300
|
for (const unit of job.units) {
|
|
8343
8301
|
for (const op of unit.ops()) {
|
|
@@ -8355,7 +8313,7 @@ function removeAnys(e) {
|
|
|
8355
8313
|
return e;
|
|
8356
8314
|
}
|
|
8357
8315
|
|
|
8358
|
-
// bazel-out/
|
|
8316
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8359
8317
|
function applyI18nExpressions(job) {
|
|
8360
8318
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8361
8319
|
for (const unit of job.units) {
|
|
@@ -8398,7 +8356,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8398
8356
|
return false;
|
|
8399
8357
|
}
|
|
8400
8358
|
|
|
8401
|
-
// bazel-out/
|
|
8359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8402
8360
|
function assignI18nSlotDependencies(job) {
|
|
8403
8361
|
for (const unit of job.units) {
|
|
8404
8362
|
let updateOp = unit.update.head;
|
|
@@ -8443,7 +8401,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8443
8401
|
}
|
|
8444
8402
|
}
|
|
8445
8403
|
|
|
8446
|
-
// bazel-out/
|
|
8404
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8447
8405
|
function createOpXrefMap(unit) {
|
|
8448
8406
|
const map = /* @__PURE__ */ new Map();
|
|
8449
8407
|
for (const op of unit.create) {
|
|
@@ -8458,7 +8416,7 @@ function createOpXrefMap(unit) {
|
|
|
8458
8416
|
return map;
|
|
8459
8417
|
}
|
|
8460
8418
|
|
|
8461
|
-
// bazel-out/
|
|
8419
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8462
8420
|
function extractAttributes(job) {
|
|
8463
8421
|
for (const unit of job.units) {
|
|
8464
8422
|
const elements = createOpXrefMap(unit);
|
|
@@ -8587,7 +8545,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8587
8545
|
}
|
|
8588
8546
|
}
|
|
8589
8547
|
|
|
8590
|
-
// bazel-out/
|
|
8548
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8591
8549
|
function lookupElement2(elements, xref) {
|
|
8592
8550
|
const el = elements.get(xref);
|
|
8593
8551
|
if (el === void 0) {
|
|
@@ -8644,7 +8602,7 @@ function specializeBindings(job) {
|
|
|
8644
8602
|
}
|
|
8645
8603
|
}
|
|
8646
8604
|
|
|
8647
|
-
// bazel-out/
|
|
8605
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8648
8606
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8649
8607
|
Identifiers.attribute,
|
|
8650
8608
|
Identifiers.classProp,
|
|
@@ -8716,7 +8674,7 @@ function chainOperationsInList(opList) {
|
|
|
8716
8674
|
}
|
|
8717
8675
|
}
|
|
8718
8676
|
|
|
8719
|
-
// bazel-out/
|
|
8677
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8720
8678
|
function collapseSingletonInterpolations(job) {
|
|
8721
8679
|
for (const unit of job.units) {
|
|
8722
8680
|
for (const op of unit.update) {
|
|
@@ -8728,7 +8686,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8728
8686
|
}
|
|
8729
8687
|
}
|
|
8730
8688
|
|
|
8731
|
-
// bazel-out/
|
|
8689
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8732
8690
|
function generateConditionalExpressions(job) {
|
|
8733
8691
|
for (const unit of job.units) {
|
|
8734
8692
|
for (const op of unit.ops()) {
|
|
@@ -8765,7 +8723,7 @@ function generateConditionalExpressions(job) {
|
|
|
8765
8723
|
}
|
|
8766
8724
|
}
|
|
8767
8725
|
|
|
8768
|
-
// bazel-out/
|
|
8726
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8769
8727
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8770
8728
|
["&&", BinaryOperator.And],
|
|
8771
8729
|
[">", BinaryOperator.Bigger],
|
|
@@ -8822,7 +8780,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8822
8780
|
return literal(value);
|
|
8823
8781
|
}
|
|
8824
8782
|
|
|
8825
|
-
// bazel-out/
|
|
8783
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8826
8784
|
function collectElementConsts(job) {
|
|
8827
8785
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8828
8786
|
for (const unit of job.units) {
|
|
@@ -8991,7 +8949,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8991
8949
|
return literalArr(attrArray);
|
|
8992
8950
|
}
|
|
8993
8951
|
|
|
8994
|
-
// bazel-out/
|
|
8952
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8995
8953
|
function convertI18nBindings(job) {
|
|
8996
8954
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8997
8955
|
for (const unit of job.units) {
|
|
@@ -9032,7 +8990,7 @@ function convertI18nBindings(job) {
|
|
|
9032
8990
|
}
|
|
9033
8991
|
}
|
|
9034
8992
|
|
|
9035
|
-
// bazel-out/
|
|
8993
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
9036
8994
|
function resolveDeferDepsFns(job) {
|
|
9037
8995
|
var _a2;
|
|
9038
8996
|
for (const unit of job.units) {
|
|
@@ -9057,7 +9015,7 @@ function resolveDeferDepsFns(job) {
|
|
|
9057
9015
|
}
|
|
9058
9016
|
}
|
|
9059
9017
|
|
|
9060
|
-
// bazel-out/
|
|
9018
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
9061
9019
|
function createI18nContexts(job) {
|
|
9062
9020
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
9063
9021
|
for (const unit of job.units) {
|
|
@@ -9135,7 +9093,7 @@ function createI18nContexts(job) {
|
|
|
9135
9093
|
}
|
|
9136
9094
|
}
|
|
9137
9095
|
|
|
9138
|
-
// bazel-out/
|
|
9096
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
9139
9097
|
function deduplicateTextBindings(job) {
|
|
9140
9098
|
const seen = /* @__PURE__ */ new Map();
|
|
9141
9099
|
for (const unit of job.units) {
|
|
@@ -9157,7 +9115,7 @@ function deduplicateTextBindings(job) {
|
|
|
9157
9115
|
}
|
|
9158
9116
|
}
|
|
9159
9117
|
|
|
9160
|
-
// bazel-out/
|
|
9118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
9161
9119
|
function configureDeferInstructions(job) {
|
|
9162
9120
|
for (const unit of job.units) {
|
|
9163
9121
|
for (const op of unit.create) {
|
|
@@ -9174,7 +9132,7 @@ function configureDeferInstructions(job) {
|
|
|
9174
9132
|
}
|
|
9175
9133
|
}
|
|
9176
9134
|
|
|
9177
|
-
// bazel-out/
|
|
9135
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
9178
9136
|
function resolveDeferTargetNames(job) {
|
|
9179
9137
|
const scopes = /* @__PURE__ */ new Map();
|
|
9180
9138
|
function getScopeForView2(view) {
|
|
@@ -9268,7 +9226,7 @@ var Scope = class {
|
|
|
9268
9226
|
}
|
|
9269
9227
|
};
|
|
9270
9228
|
|
|
9271
|
-
// bazel-out/
|
|
9229
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9272
9230
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9273
9231
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9274
9232
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9295,7 +9253,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9295
9253
|
}
|
|
9296
9254
|
}
|
|
9297
9255
|
|
|
9298
|
-
// bazel-out/
|
|
9256
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9299
9257
|
function expandSafeReads(job) {
|
|
9300
9258
|
for (const unit of job.units) {
|
|
9301
9259
|
for (const op of unit.ops()) {
|
|
@@ -9431,7 +9389,7 @@ function ternaryTransform(e) {
|
|
|
9431
9389
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9432
9390
|
}
|
|
9433
9391
|
|
|
9434
|
-
// bazel-out/
|
|
9392
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9435
9393
|
var ESCAPE = "\uFFFD";
|
|
9436
9394
|
var ELEMENT_MARKER = "#";
|
|
9437
9395
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9567,7 +9525,7 @@ function formatValue(value) {
|
|
|
9567
9525
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9568
9526
|
}
|
|
9569
9527
|
|
|
9570
|
-
// bazel-out/
|
|
9528
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9571
9529
|
function generateAdvance(job) {
|
|
9572
9530
|
for (const unit of job.units) {
|
|
9573
9531
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9610,7 +9568,7 @@ function generateAdvance(job) {
|
|
|
9610
9568
|
}
|
|
9611
9569
|
}
|
|
9612
9570
|
|
|
9613
|
-
// bazel-out/
|
|
9571
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9614
9572
|
function generateProjectionDefs(job) {
|
|
9615
9573
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9616
9574
|
const selectors = [];
|
|
@@ -9634,7 +9592,7 @@ function generateProjectionDefs(job) {
|
|
|
9634
9592
|
}
|
|
9635
9593
|
}
|
|
9636
9594
|
|
|
9637
|
-
// bazel-out/
|
|
9595
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9638
9596
|
function generateVariables(job) {
|
|
9639
9597
|
recursivelyProcessView(job.root, null);
|
|
9640
9598
|
}
|
|
@@ -9752,7 +9710,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
9752
9710
|
return newOps;
|
|
9753
9711
|
}
|
|
9754
9712
|
|
|
9755
|
-
// bazel-out/
|
|
9713
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9756
9714
|
function collectConstExpressions(job) {
|
|
9757
9715
|
for (const unit of job.units) {
|
|
9758
9716
|
for (const op of unit.ops()) {
|
|
@@ -9766,7 +9724,7 @@ function collectConstExpressions(job) {
|
|
|
9766
9724
|
}
|
|
9767
9725
|
}
|
|
9768
9726
|
|
|
9769
|
-
// bazel-out/
|
|
9727
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9770
9728
|
var STYLE_DOT = "style.";
|
|
9771
9729
|
var CLASS_DOT = "class.";
|
|
9772
9730
|
var STYLE_BANG = "style!";
|
|
@@ -9824,7 +9782,7 @@ function parseProperty(name) {
|
|
|
9824
9782
|
return { property: property2, suffix };
|
|
9825
9783
|
}
|
|
9826
9784
|
|
|
9827
|
-
// bazel-out/
|
|
9785
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9828
9786
|
function mapLiteral(obj, quoted = false) {
|
|
9829
9787
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9830
9788
|
key,
|
|
@@ -9833,7 +9791,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9833
9791
|
})));
|
|
9834
9792
|
}
|
|
9835
9793
|
|
|
9836
|
-
// bazel-out/
|
|
9794
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9837
9795
|
var IcuSerializerVisitor = class {
|
|
9838
9796
|
visitText(text2) {
|
|
9839
9797
|
return text2.value;
|
|
@@ -9867,7 +9825,7 @@ function serializeIcuNode(icu) {
|
|
|
9867
9825
|
return icu.visit(serializer);
|
|
9868
9826
|
}
|
|
9869
9827
|
|
|
9870
|
-
// bazel-out/
|
|
9828
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
9871
9829
|
var NodeWithI18n = class {
|
|
9872
9830
|
constructor(sourceSpan, i18n2) {
|
|
9873
9831
|
this.sourceSpan = sourceSpan;
|
|
@@ -9990,7 +9948,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
9990
9948
|
return result;
|
|
9991
9949
|
}
|
|
9992
9950
|
|
|
9993
|
-
// bazel-out/
|
|
9951
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
9994
9952
|
var NAMED_ENTITIES = {
|
|
9995
9953
|
"AElig": "\xC6",
|
|
9996
9954
|
"AMP": "&",
|
|
@@ -12121,7 +12079,7 @@ var NAMED_ENTITIES = {
|
|
|
12121
12079
|
var NGSP_UNICODE = "\uE500";
|
|
12122
12080
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
12123
12081
|
|
|
12124
|
-
// bazel-out/
|
|
12082
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
12125
12083
|
var TokenError = class extends ParseError {
|
|
12126
12084
|
constructor(errorMsg, tokenType, span) {
|
|
12127
12085
|
super(span, errorMsg);
|
|
@@ -13111,7 +13069,7 @@ var CursorError = class {
|
|
|
13111
13069
|
}
|
|
13112
13070
|
};
|
|
13113
13071
|
|
|
13114
|
-
// bazel-out/
|
|
13072
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
13115
13073
|
var TreeError = class extends ParseError {
|
|
13116
13074
|
static create(elementName, span, msg) {
|
|
13117
13075
|
return new TreeError(elementName, span, msg);
|
|
@@ -13539,7 +13497,7 @@ function decodeEntity(match, entity) {
|
|
|
13539
13497
|
return match;
|
|
13540
13498
|
}
|
|
13541
13499
|
|
|
13542
|
-
// bazel-out/
|
|
13500
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
13543
13501
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
13544
13502
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
13545
13503
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -13679,7 +13637,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
13679
13637
|
return result;
|
|
13680
13638
|
}
|
|
13681
13639
|
|
|
13682
|
-
// bazel-out/
|
|
13640
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
13683
13641
|
var TokenType;
|
|
13684
13642
|
(function(TokenType2) {
|
|
13685
13643
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -14040,7 +13998,7 @@ function parseIntAutoRadix(text2) {
|
|
|
14040
13998
|
return result;
|
|
14041
13999
|
}
|
|
14042
14000
|
|
|
14043
|
-
// bazel-out/
|
|
14001
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
14044
14002
|
var SplitInterpolation = class {
|
|
14045
14003
|
constructor(strings, expressions, offsets) {
|
|
14046
14004
|
this.strings = strings;
|
|
@@ -14924,7 +14882,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
14924
14882
|
return offsetMap;
|
|
14925
14883
|
}
|
|
14926
14884
|
|
|
14927
|
-
// bazel-out/
|
|
14885
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
14928
14886
|
var _SECURITY_SCHEMA;
|
|
14929
14887
|
function SECURITY_SCHEMA() {
|
|
14930
14888
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -14985,11 +14943,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
14985
14943
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
14986
14944
|
}
|
|
14987
14945
|
|
|
14988
|
-
// bazel-out/
|
|
14946
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
14989
14947
|
var ElementSchemaRegistry = class {
|
|
14990
14948
|
};
|
|
14991
14949
|
|
|
14992
|
-
// bazel-out/
|
|
14950
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
14993
14951
|
var BOOLEAN = "boolean";
|
|
14994
14952
|
var NUMBER = "number";
|
|
14995
14953
|
var STRING = "string";
|
|
@@ -15372,7 +15330,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
15372
15330
|
}
|
|
15373
15331
|
}
|
|
15374
15332
|
|
|
15375
|
-
// bazel-out/
|
|
15333
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
15376
15334
|
var HtmlTagDefinition = class {
|
|
15377
15335
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
15378
15336
|
this.closedByChildren = {};
|
|
@@ -15508,7 +15466,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
15508
15466
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
15509
15467
|
}
|
|
15510
15468
|
|
|
15511
|
-
// bazel-out/
|
|
15469
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
15512
15470
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
15513
15471
|
"A": "LINK",
|
|
15514
15472
|
"B": "BOLD_TEXT",
|
|
@@ -15630,7 +15588,7 @@ var PlaceholderRegistry = class {
|
|
|
15630
15588
|
}
|
|
15631
15589
|
};
|
|
15632
15590
|
|
|
15633
|
-
// bazel-out/
|
|
15591
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
15634
15592
|
var _expParser = new Parser2(new Lexer());
|
|
15635
15593
|
function createI18nMessageFactory(interpolationConfig, containerBlocks, retainEmptyTokens) {
|
|
15636
15594
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks, retainEmptyTokens);
|
|
@@ -15825,14 +15783,14 @@ function extractPlaceholderName(input) {
|
|
|
15825
15783
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
15826
15784
|
}
|
|
15827
15785
|
|
|
15828
|
-
// bazel-out/
|
|
15786
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
15829
15787
|
var I18nError = class extends ParseError {
|
|
15830
15788
|
constructor(span, msg) {
|
|
15831
15789
|
super(span, msg);
|
|
15832
15790
|
}
|
|
15833
15791
|
};
|
|
15834
15792
|
|
|
15835
|
-
// bazel-out/
|
|
15793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15836
15794
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15837
15795
|
"iframe|srcdoc",
|
|
15838
15796
|
"*|innerhtml",
|
|
@@ -15847,7 +15805,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15847
15805
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15848
15806
|
}
|
|
15849
15807
|
|
|
15850
|
-
// bazel-out/
|
|
15808
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15851
15809
|
var setI18nRefs = (originalNodeMap) => {
|
|
15852
15810
|
return (trimmedNode, i18nNode) => {
|
|
15853
15811
|
var _a2;
|
|
@@ -16021,7 +15979,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
16021
15979
|
return jsDocComment(tags);
|
|
16022
15980
|
}
|
|
16023
15981
|
|
|
16024
|
-
// bazel-out/
|
|
15982
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
16025
15983
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
16026
15984
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
16027
15985
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -16072,7 +16030,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
16072
16030
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
16073
16031
|
}
|
|
16074
16032
|
|
|
16075
|
-
// bazel-out/
|
|
16033
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
16076
16034
|
function createLocalizeStatements(variable2, message, params) {
|
|
16077
16035
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
16078
16036
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -16161,7 +16119,7 @@ function createEmptyMessagePart(location) {
|
|
|
16161
16119
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
16162
16120
|
}
|
|
16163
16121
|
|
|
16164
|
-
// bazel-out/
|
|
16122
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
16165
16123
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
16166
16124
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
16167
16125
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -16332,7 +16290,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16332
16290
|
return variable(name);
|
|
16333
16291
|
}
|
|
16334
16292
|
|
|
16335
|
-
// bazel-out/
|
|
16293
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16336
16294
|
function convertI18nText(job) {
|
|
16337
16295
|
var _a2, _b2, _c2;
|
|
16338
16296
|
for (const unit of job.units) {
|
|
@@ -16402,7 +16360,7 @@ function convertI18nText(job) {
|
|
|
16402
16360
|
}
|
|
16403
16361
|
}
|
|
16404
16362
|
|
|
16405
|
-
// bazel-out/
|
|
16363
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16406
16364
|
function liftLocalRefs(job) {
|
|
16407
16365
|
for (const unit of job.units) {
|
|
16408
16366
|
for (const op of unit.create) {
|
|
@@ -16432,7 +16390,7 @@ function serializeLocalRefs(refs) {
|
|
|
16432
16390
|
return literalArr(constRefs);
|
|
16433
16391
|
}
|
|
16434
16392
|
|
|
16435
|
-
// bazel-out/
|
|
16393
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16436
16394
|
function emitNamespaceChanges(job) {
|
|
16437
16395
|
for (const unit of job.units) {
|
|
16438
16396
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16448,7 +16406,7 @@ function emitNamespaceChanges(job) {
|
|
|
16448
16406
|
}
|
|
16449
16407
|
}
|
|
16450
16408
|
|
|
16451
|
-
// bazel-out/
|
|
16409
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16452
16410
|
function parse(value) {
|
|
16453
16411
|
const styles = [];
|
|
16454
16412
|
let i = 0;
|
|
@@ -16542,7 +16500,7 @@ function parseExtractedStyles(job) {
|
|
|
16542
16500
|
}
|
|
16543
16501
|
}
|
|
16544
16502
|
|
|
16545
|
-
// bazel-out/
|
|
16503
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16546
16504
|
function nameFunctionsAndVariables(job) {
|
|
16547
16505
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16548
16506
|
}
|
|
@@ -16686,7 +16644,7 @@ function stripImportant(name) {
|
|
|
16686
16644
|
return name;
|
|
16687
16645
|
}
|
|
16688
16646
|
|
|
16689
|
-
// bazel-out/
|
|
16647
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16690
16648
|
function mergeNextContextExpressions(job) {
|
|
16691
16649
|
for (const unit of job.units) {
|
|
16692
16650
|
for (const op of unit.create) {
|
|
@@ -16733,7 +16691,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16733
16691
|
}
|
|
16734
16692
|
}
|
|
16735
16693
|
|
|
16736
|
-
// bazel-out/
|
|
16694
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16737
16695
|
var CONTAINER_TAG = "ng-container";
|
|
16738
16696
|
function generateNgContainerOps(job) {
|
|
16739
16697
|
for (const unit of job.units) {
|
|
@@ -16750,7 +16708,7 @@ function generateNgContainerOps(job) {
|
|
|
16750
16708
|
}
|
|
16751
16709
|
}
|
|
16752
16710
|
|
|
16753
|
-
// bazel-out/
|
|
16711
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16754
16712
|
function lookupElement3(elements, xref) {
|
|
16755
16713
|
const el = elements.get(xref);
|
|
16756
16714
|
if (el === void 0) {
|
|
@@ -16780,7 +16738,7 @@ function disableBindings(job) {
|
|
|
16780
16738
|
}
|
|
16781
16739
|
}
|
|
16782
16740
|
|
|
16783
|
-
// bazel-out/
|
|
16741
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16784
16742
|
function generateNullishCoalesceExpressions(job) {
|
|
16785
16743
|
for (const unit of job.units) {
|
|
16786
16744
|
for (const op of unit.ops()) {
|
|
@@ -16796,7 +16754,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16796
16754
|
}
|
|
16797
16755
|
}
|
|
16798
16756
|
|
|
16799
|
-
// bazel-out/
|
|
16757
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16800
16758
|
function kindTest(kind) {
|
|
16801
16759
|
return (op) => op.kind === kind;
|
|
16802
16760
|
}
|
|
@@ -16886,7 +16844,7 @@ function keepLast(ops) {
|
|
|
16886
16844
|
return ops.slice(ops.length - 1);
|
|
16887
16845
|
}
|
|
16888
16846
|
|
|
16889
|
-
// bazel-out/
|
|
16847
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16890
16848
|
function removeContentSelectors(job) {
|
|
16891
16849
|
for (const unit of job.units) {
|
|
16892
16850
|
const elements = createOpXrefMap(unit);
|
|
@@ -16913,7 +16871,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16913
16871
|
return el;
|
|
16914
16872
|
}
|
|
16915
16873
|
|
|
16916
|
-
// bazel-out/
|
|
16874
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16917
16875
|
function createPipes(job) {
|
|
16918
16876
|
for (const unit of job.units) {
|
|
16919
16877
|
processPipeBindingsInView(unit);
|
|
@@ -16961,7 +16919,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16961
16919
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16962
16920
|
}
|
|
16963
16921
|
|
|
16964
|
-
// bazel-out/
|
|
16922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16965
16923
|
function createVariadicPipes(job) {
|
|
16966
16924
|
for (const unit of job.units) {
|
|
16967
16925
|
for (const op of unit.update) {
|
|
@@ -16978,7 +16936,7 @@ function createVariadicPipes(job) {
|
|
|
16978
16936
|
}
|
|
16979
16937
|
}
|
|
16980
16938
|
|
|
16981
|
-
// bazel-out/
|
|
16939
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16982
16940
|
function propagateI18nBlocks(job) {
|
|
16983
16941
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16984
16942
|
}
|
|
@@ -17032,7 +16990,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
17032
16990
|
}
|
|
17033
16991
|
}
|
|
17034
16992
|
|
|
17035
|
-
// bazel-out/
|
|
16993
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
17036
16994
|
function extractPureFunctions(job) {
|
|
17037
16995
|
for (const view of job.units) {
|
|
17038
16996
|
for (const op of view.ops()) {
|
|
@@ -17074,7 +17032,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
17074
17032
|
}
|
|
17075
17033
|
};
|
|
17076
17034
|
|
|
17077
|
-
// bazel-out/
|
|
17035
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
17078
17036
|
function generatePureLiteralStructures(job) {
|
|
17079
17037
|
for (const unit of job.units) {
|
|
17080
17038
|
for (const op of unit.update) {
|
|
@@ -17121,7 +17079,7 @@ function transformLiteralMap(expr) {
|
|
|
17121
17079
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
17122
17080
|
}
|
|
17123
17081
|
|
|
17124
|
-
// bazel-out/
|
|
17082
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
17125
17083
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
17126
17084
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
17127
17085
|
}
|
|
@@ -17653,7 +17611,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17653
17611
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17654
17612
|
}
|
|
17655
17613
|
|
|
17656
|
-
// bazel-out/
|
|
17614
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17657
17615
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17658
17616
|
["window", Identifiers.resolveWindow],
|
|
17659
17617
|
["document", Identifiers.resolveDocument],
|
|
@@ -18018,7 +17976,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
18018
17976
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
18019
17977
|
}
|
|
18020
17978
|
|
|
18021
|
-
// bazel-out/
|
|
17979
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
18022
17980
|
function removeEmptyBindings(job) {
|
|
18023
17981
|
for (const unit of job.units) {
|
|
18024
17982
|
for (const op of unit.update) {
|
|
@@ -18039,7 +17997,7 @@ function removeEmptyBindings(job) {
|
|
|
18039
17997
|
}
|
|
18040
17998
|
}
|
|
18041
17999
|
|
|
18042
|
-
// bazel-out/
|
|
18000
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
18043
18001
|
function removeI18nContexts(job) {
|
|
18044
18002
|
for (const unit of job.units) {
|
|
18045
18003
|
for (const op of unit.create) {
|
|
@@ -18055,7 +18013,7 @@ function removeI18nContexts(job) {
|
|
|
18055
18013
|
}
|
|
18056
18014
|
}
|
|
18057
18015
|
|
|
18058
|
-
// bazel-out/
|
|
18016
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
18059
18017
|
function removeUnusedI18nAttributesOps(job) {
|
|
18060
18018
|
for (const unit of job.units) {
|
|
18061
18019
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -18077,7 +18035,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
18077
18035
|
}
|
|
18078
18036
|
}
|
|
18079
18037
|
|
|
18080
|
-
// bazel-out/
|
|
18038
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
18081
18039
|
function resolveContexts(job) {
|
|
18082
18040
|
for (const unit of job.units) {
|
|
18083
18041
|
processLexicalScope(unit, unit.create);
|
|
@@ -18119,7 +18077,7 @@ function processLexicalScope(view, ops) {
|
|
|
18119
18077
|
}
|
|
18120
18078
|
}
|
|
18121
18079
|
|
|
18122
|
-
// bazel-out/
|
|
18080
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
18123
18081
|
function resolveDollarEvent(job) {
|
|
18124
18082
|
for (const unit of job.units) {
|
|
18125
18083
|
transformDollarEvent(unit.create);
|
|
@@ -18142,7 +18100,7 @@ function transformDollarEvent(ops) {
|
|
|
18142
18100
|
}
|
|
18143
18101
|
}
|
|
18144
18102
|
|
|
18145
|
-
// bazel-out/
|
|
18103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
18146
18104
|
function resolveI18nElementPlaceholders(job) {
|
|
18147
18105
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
18148
18106
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18321,7 +18279,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18321
18279
|
params.set(placeholder, values);
|
|
18322
18280
|
}
|
|
18323
18281
|
|
|
18324
|
-
// bazel-out/
|
|
18282
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18325
18283
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18326
18284
|
var _a2;
|
|
18327
18285
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -18374,7 +18332,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
18374
18332
|
}
|
|
18375
18333
|
}
|
|
18376
18334
|
|
|
18377
|
-
// bazel-out/
|
|
18335
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18378
18336
|
function resolveNames(job) {
|
|
18379
18337
|
for (const unit of job.units) {
|
|
18380
18338
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18452,7 +18410,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18452
18410
|
}
|
|
18453
18411
|
}
|
|
18454
18412
|
|
|
18455
|
-
// bazel-out/
|
|
18413
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18456
18414
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18457
18415
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18458
18416
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18522,7 +18480,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18522
18480
|
return securityContext;
|
|
18523
18481
|
}
|
|
18524
18482
|
|
|
18525
|
-
// bazel-out/
|
|
18483
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18526
18484
|
function transformTwoWayBindingSet(job) {
|
|
18527
18485
|
for (const unit of job.units) {
|
|
18528
18486
|
for (const op of unit.create) {
|
|
@@ -18545,7 +18503,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18545
18503
|
}
|
|
18546
18504
|
}
|
|
18547
18505
|
|
|
18548
|
-
// bazel-out/
|
|
18506
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18549
18507
|
function saveAndRestoreView(job) {
|
|
18550
18508
|
for (const unit of job.units) {
|
|
18551
18509
|
unit.create.prepend([
|
|
@@ -18590,7 +18548,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18590
18548
|
}
|
|
18591
18549
|
}
|
|
18592
18550
|
|
|
18593
|
-
// bazel-out/
|
|
18551
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18594
18552
|
function allocateSlots(job) {
|
|
18595
18553
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18596
18554
|
for (const unit of job.units) {
|
|
@@ -18615,7 +18573,7 @@ function allocateSlots(job) {
|
|
|
18615
18573
|
}
|
|
18616
18574
|
}
|
|
18617
18575
|
|
|
18618
|
-
// bazel-out/
|
|
18576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18619
18577
|
function specializeStyleBindings(job) {
|
|
18620
18578
|
for (const unit of job.units) {
|
|
18621
18579
|
for (const op of unit.update) {
|
|
@@ -18645,7 +18603,7 @@ function specializeStyleBindings(job) {
|
|
|
18645
18603
|
}
|
|
18646
18604
|
}
|
|
18647
18605
|
|
|
18648
|
-
// bazel-out/
|
|
18606
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18649
18607
|
function generateTemporaryVariables(job) {
|
|
18650
18608
|
for (const unit of job.units) {
|
|
18651
18609
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18703,7 +18661,7 @@ function assignName(names, expr) {
|
|
|
18703
18661
|
expr.name = name;
|
|
18704
18662
|
}
|
|
18705
18663
|
|
|
18706
|
-
// bazel-out/
|
|
18664
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18707
18665
|
function generateTrackFns(job) {
|
|
18708
18666
|
for (const unit of job.units) {
|
|
18709
18667
|
for (const op of unit.create) {
|
|
@@ -18736,7 +18694,7 @@ function generateTrackFns(job) {
|
|
|
18736
18694
|
}
|
|
18737
18695
|
}
|
|
18738
18696
|
|
|
18739
|
-
// bazel-out/
|
|
18697
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18740
18698
|
function optimizeTrackFns(job) {
|
|
18741
18699
|
for (const unit of job.units) {
|
|
18742
18700
|
for (const op of unit.create) {
|
|
@@ -18786,7 +18744,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18786
18744
|
return true;
|
|
18787
18745
|
}
|
|
18788
18746
|
|
|
18789
|
-
// bazel-out/
|
|
18747
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18790
18748
|
function generateTrackVariables(job) {
|
|
18791
18749
|
for (const unit of job.units) {
|
|
18792
18750
|
for (const op of unit.create) {
|
|
@@ -18807,7 +18765,7 @@ function generateTrackVariables(job) {
|
|
|
18807
18765
|
}
|
|
18808
18766
|
}
|
|
18809
18767
|
|
|
18810
|
-
// bazel-out/
|
|
18768
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18811
18769
|
function countVariables(job) {
|
|
18812
18770
|
for (const unit of job.units) {
|
|
18813
18771
|
let varCount = 0;
|
|
@@ -18920,7 +18878,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18920
18878
|
return true;
|
|
18921
18879
|
}
|
|
18922
18880
|
|
|
18923
|
-
// bazel-out/
|
|
18881
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18924
18882
|
function optimizeVariables(job) {
|
|
18925
18883
|
for (const unit of job.units) {
|
|
18926
18884
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -19172,7 +19130,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
19172
19130
|
}
|
|
19173
19131
|
}
|
|
19174
19132
|
|
|
19175
|
-
// bazel-out/
|
|
19133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
19176
19134
|
function wrapI18nIcus(job) {
|
|
19177
19135
|
for (const unit of job.units) {
|
|
19178
19136
|
let currentI18nOp = null;
|
|
@@ -19202,7 +19160,7 @@ function wrapI18nIcus(job) {
|
|
|
19202
19160
|
}
|
|
19203
19161
|
}
|
|
19204
19162
|
|
|
19205
|
-
// bazel-out/
|
|
19163
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
19206
19164
|
function optimizeStoreLet(job) {
|
|
19207
19165
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
19208
19166
|
for (const unit of job.units) {
|
|
@@ -19221,7 +19179,7 @@ function optimizeStoreLet(job) {
|
|
|
19221
19179
|
}
|
|
19222
19180
|
}
|
|
19223
19181
|
|
|
19224
|
-
// bazel-out/
|
|
19182
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
19225
19183
|
function removeIllegalLetReferences(job) {
|
|
19226
19184
|
for (const unit of job.units) {
|
|
19227
19185
|
for (const op of unit.update) {
|
|
@@ -19238,7 +19196,7 @@ function removeIllegalLetReferences(job) {
|
|
|
19238
19196
|
}
|
|
19239
19197
|
}
|
|
19240
19198
|
|
|
19241
|
-
// bazel-out/
|
|
19199
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
19242
19200
|
function generateLocalLetReferences(job) {
|
|
19243
19201
|
for (const unit of job.units) {
|
|
19244
19202
|
for (const op of unit.update) {
|
|
@@ -19256,7 +19214,7 @@ function generateLocalLetReferences(job) {
|
|
|
19256
19214
|
}
|
|
19257
19215
|
}
|
|
19258
19216
|
|
|
19259
|
-
// bazel-out/
|
|
19217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
19260
19218
|
var phases = [
|
|
19261
19219
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
19262
19220
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19413,7 +19371,7 @@ function emitHostBindingFunction(job) {
|
|
|
19413
19371
|
);
|
|
19414
19372
|
}
|
|
19415
19373
|
|
|
19416
|
-
// bazel-out/
|
|
19374
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19417
19375
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19418
19376
|
var domSchema = new DomElementSchemaRegistry();
|
|
19419
19377
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -20171,7 +20129,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
20171
20129
|
return null;
|
|
20172
20130
|
}
|
|
20173
20131
|
|
|
20174
|
-
// bazel-out/
|
|
20132
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
20175
20133
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
20176
20134
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
20177
20135
|
}
|
|
@@ -20291,7 +20249,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
20291
20249
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
20292
20250
|
}
|
|
20293
20251
|
|
|
20294
|
-
// bazel-out/
|
|
20252
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
20295
20253
|
var HtmlParser = class extends Parser {
|
|
20296
20254
|
constructor() {
|
|
20297
20255
|
super(getHtmlTagDefinition);
|
|
@@ -20301,7 +20259,7 @@ var HtmlParser = class extends Parser {
|
|
|
20301
20259
|
}
|
|
20302
20260
|
};
|
|
20303
20261
|
|
|
20304
|
-
// bazel-out/
|
|
20262
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20305
20263
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20306
20264
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20307
20265
|
var CLASS_PREFIX = "class";
|
|
@@ -20655,7 +20613,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20655
20613
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20656
20614
|
}
|
|
20657
20615
|
|
|
20658
|
-
// bazel-out/
|
|
20616
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20659
20617
|
function isStyleUrlResolvable(url) {
|
|
20660
20618
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20661
20619
|
return false;
|
|
@@ -20664,7 +20622,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20664
20622
|
}
|
|
20665
20623
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20666
20624
|
|
|
20667
|
-
// bazel-out/
|
|
20625
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20668
20626
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20669
20627
|
var LINK_ELEMENT = "link";
|
|
20670
20628
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20734,7 +20692,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20734
20692
|
return selectAttr;
|
|
20735
20693
|
}
|
|
20736
20694
|
|
|
20737
|
-
// bazel-out/
|
|
20695
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20738
20696
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20739
20697
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20740
20698
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -21057,7 +21015,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
21057
21015
|
return expression.slice(start, end);
|
|
21058
21016
|
}
|
|
21059
21017
|
|
|
21060
|
-
// bazel-out/
|
|
21018
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
21061
21019
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
21062
21020
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
21063
21021
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21321,7 +21279,7 @@ function parseDeferredTime(value) {
|
|
|
21321
21279
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21322
21280
|
}
|
|
21323
21281
|
|
|
21324
|
-
// bazel-out/
|
|
21282
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21325
21283
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21326
21284
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21327
21285
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21456,7 +21414,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21456
21414
|
return { triggers, prefetchTriggers };
|
|
21457
21415
|
}
|
|
21458
21416
|
|
|
21459
|
-
// bazel-out/
|
|
21417
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21460
21418
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21461
21419
|
var KW_BIND_IDX = 1;
|
|
21462
21420
|
var KW_LET_IDX = 2;
|
|
@@ -21923,7 +21881,7 @@ function textContents(node) {
|
|
|
21923
21881
|
}
|
|
21924
21882
|
}
|
|
21925
21883
|
|
|
21926
|
-
// bazel-out/
|
|
21884
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21927
21885
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21928
21886
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21929
21887
|
var _a2, _b2, _c2;
|
|
@@ -22017,7 +21975,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
22017
21975
|
return new BindingParser(new Parser2(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
22018
21976
|
}
|
|
22019
21977
|
|
|
22020
|
-
// bazel-out/
|
|
21978
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
22021
21979
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
22022
21980
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
22023
21981
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22384,7 +22342,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22384
22342
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22385
22343
|
}
|
|
22386
22344
|
|
|
22387
|
-
// bazel-out/
|
|
22345
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22388
22346
|
var R3TargetBinder = class {
|
|
22389
22347
|
constructor(directiveMatcher) {
|
|
22390
22348
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -23031,11 +22989,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
23031
22989
|
return templateEntities;
|
|
23032
22990
|
}
|
|
23033
22991
|
|
|
23034
|
-
// bazel-out/
|
|
22992
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
23035
22993
|
var ResourceLoader = class {
|
|
23036
22994
|
};
|
|
23037
22995
|
|
|
23038
|
-
// bazel-out/
|
|
22996
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
23039
22997
|
var CompilerFacadeImpl = class {
|
|
23040
22998
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
23041
22999
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23613,17 +23571,17 @@ function publishFacade(global) {
|
|
|
23613
23571
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23614
23572
|
}
|
|
23615
23573
|
|
|
23616
|
-
// bazel-out/
|
|
23617
|
-
var VERSION2 = new Version("18.2.
|
|
23574
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23575
|
+
var VERSION2 = new Version("18.2.10");
|
|
23618
23576
|
|
|
23619
|
-
// bazel-out/
|
|
23577
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23620
23578
|
var _VisitorMode;
|
|
23621
23579
|
(function(_VisitorMode2) {
|
|
23622
23580
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23623
23581
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23624
23582
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23625
23583
|
|
|
23626
|
-
// bazel-out/
|
|
23584
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23627
23585
|
var XmlTagDefinition = class {
|
|
23628
23586
|
constructor() {
|
|
23629
23587
|
this.closedByParent = false;
|
|
@@ -23645,7 +23603,7 @@ var XmlTagDefinition = class {
|
|
|
23645
23603
|
};
|
|
23646
23604
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23647
23605
|
|
|
23648
|
-
// bazel-out/
|
|
23606
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23649
23607
|
var FactoryTarget2;
|
|
23650
23608
|
(function(FactoryTarget3) {
|
|
23651
23609
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23655,10 +23613,10 @@ var FactoryTarget2;
|
|
|
23655
23613
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23656
23614
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23657
23615
|
|
|
23658
|
-
// bazel-out/
|
|
23616
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23659
23617
|
publishFacade(_global);
|
|
23660
23618
|
|
|
23661
|
-
// bazel-out/
|
|
23619
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/migration.mjs
|
|
23662
23620
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
23663
23621
|
function migrateTemplate(template2) {
|
|
23664
23622
|
if (!template2.includes(")]=")) {
|
|
@@ -23783,7 +23741,7 @@ var InvalidTwoWayBindingCollector = class extends RecursiveVisitor {
|
|
|
23783
23741
|
}
|
|
23784
23742
|
};
|
|
23785
23743
|
|
|
23786
|
-
// bazel-out/
|
|
23744
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
|
|
23787
23745
|
function invalid_two_way_bindings_default() {
|
|
23788
23746
|
return (tree) => __async(this, null, function* () {
|
|
23789
23747
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|