@angular/common 21.0.7 → 21.0.8
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/fesm2022/_common_module-chunk.mjs +86 -86
- package/fesm2022/_common_module-chunk.mjs.map +1 -1
- package/fesm2022/_location-chunk.mjs +10 -10
- package/fesm2022/_location-chunk.mjs.map +1 -1
- package/fesm2022/_module-chunk.mjs +46 -46
- package/fesm2022/_module-chunk.mjs.map +1 -1
- package/fesm2022/_platform_location-chunk.mjs +7 -7
- package/fesm2022/_platform_location-chunk.mjs.map +1 -1
- package/fesm2022/_platform_navigation-chunk.mjs +4 -4
- package/fesm2022/_platform_navigation-chunk.mjs.map +1 -1
- package/fesm2022/_xhr-chunk.mjs +1 -1
- package/fesm2022/_xhr-chunk.mjs.map +1 -1
- package/fesm2022/common.mjs +17 -17
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http-testing.mjs +8 -8
- package/fesm2022/http-testing.mjs.map +1 -1
- package/fesm2022/http.mjs +1 -1
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/testing.mjs +13 -13
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +5 -5
- package/fesm2022/upgrade.mjs.map +1 -1
- package/package.json +2 -2
- package/types/_common_module-chunk.d.ts +1 -1
- package/types/_module-chunk.d.ts +1 -1
- package/types/_platform_location-chunk.d.ts +1 -1
- package/types/_xhr-chunk.d.ts +1 -1
- package/types/common.d.ts +1 -1
- package/types/http-testing.d.ts +1 -1
- package/types/http.d.ts +1 -1
- package/types/testing.d.ts +1 -1
- package/types/upgrade.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.
|
|
2
|
+
* @license Angular v21.0.8
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -31,7 +31,7 @@ class LocationStrategy {
|
|
|
31
31
|
}
|
|
32
32
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
33
33
|
minVersion: "12.0.0",
|
|
34
|
-
version: "21.0.
|
|
34
|
+
version: "21.0.8",
|
|
35
35
|
ngImport: i0,
|
|
36
36
|
type: LocationStrategy,
|
|
37
37
|
deps: [],
|
|
@@ -39,7 +39,7 @@ class LocationStrategy {
|
|
|
39
39
|
});
|
|
40
40
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
41
41
|
minVersion: "12.0.0",
|
|
42
|
-
version: "21.0.
|
|
42
|
+
version: "21.0.8",
|
|
43
43
|
ngImport: i0,
|
|
44
44
|
type: LocationStrategy,
|
|
45
45
|
providedIn: 'root',
|
|
@@ -48,7 +48,7 @@ class LocationStrategy {
|
|
|
48
48
|
}
|
|
49
49
|
i0.ɵɵngDeclareClassMetadata({
|
|
50
50
|
minVersion: "12.0.0",
|
|
51
|
-
version: "21.0.
|
|
51
|
+
version: "21.0.8",
|
|
52
52
|
ngImport: i0,
|
|
53
53
|
type: LocationStrategy,
|
|
54
54
|
decorators: [{
|
|
@@ -110,7 +110,7 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
110
110
|
}
|
|
111
111
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
112
112
|
minVersion: "12.0.0",
|
|
113
|
-
version: "21.0.
|
|
113
|
+
version: "21.0.8",
|
|
114
114
|
ngImport: i0,
|
|
115
115
|
type: PathLocationStrategy,
|
|
116
116
|
deps: [{
|
|
@@ -123,7 +123,7 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
123
123
|
});
|
|
124
124
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
125
125
|
minVersion: "12.0.0",
|
|
126
|
-
version: "21.0.
|
|
126
|
+
version: "21.0.8",
|
|
127
127
|
ngImport: i0,
|
|
128
128
|
type: PathLocationStrategy,
|
|
129
129
|
providedIn: 'root'
|
|
@@ -131,7 +131,7 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
131
131
|
}
|
|
132
132
|
i0.ɵɵngDeclareClassMetadata({
|
|
133
133
|
minVersion: "12.0.0",
|
|
134
|
-
version: "21.0.
|
|
134
|
+
version: "21.0.8",
|
|
135
135
|
ngImport: i0,
|
|
136
136
|
type: PathLocationStrategy,
|
|
137
137
|
decorators: [{
|
|
@@ -240,7 +240,7 @@ class Location {
|
|
|
240
240
|
static stripTrailingSlash = stripTrailingSlash;
|
|
241
241
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
242
242
|
minVersion: "12.0.0",
|
|
243
|
-
version: "21.0.
|
|
243
|
+
version: "21.0.8",
|
|
244
244
|
ngImport: i0,
|
|
245
245
|
type: Location,
|
|
246
246
|
deps: [{
|
|
@@ -250,7 +250,7 @@ class Location {
|
|
|
250
250
|
});
|
|
251
251
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
252
252
|
minVersion: "12.0.0",
|
|
253
|
-
version: "21.0.
|
|
253
|
+
version: "21.0.8",
|
|
254
254
|
ngImport: i0,
|
|
255
255
|
type: Location,
|
|
256
256
|
providedIn: 'root',
|
|
@@ -259,7 +259,7 @@ class Location {
|
|
|
259
259
|
}
|
|
260
260
|
i0.ɵɵngDeclareClassMetadata({
|
|
261
261
|
minVersion: "12.0.0",
|
|
262
|
-
version: "21.0.
|
|
262
|
+
version: "21.0.8",
|
|
263
263
|
ngImport: i0,
|
|
264
264
|
type: Location,
|
|
265
265
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_location-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/location/util.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/location/location_strategy.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/location/location.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\nexport function joinWithSlash(start: string, end: string) {\n // If `start` is an empty string, return `end` as the result.\n if (!start) return end;\n // If `end` is an empty string, return `start` as the result.\n if (!end) return start;\n // If `start` ends with a slash, remove the leading slash from `end`.\n if (start.endsWith('/')) {\n return end.startsWith('/') ? start + end.slice(1) : start + end;\n }\n // If `start` doesn't end with a slash, add one if `end` doesn't start with a slash.\n return end.startsWith('/') ? start + end : `${start}/${end}`;\n}\n\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\nexport function stripTrailingSlash(url: string): string {\n // Find the index of the first occurrence of `#`, `?`, or the end of the string.\n // This marks the start of the query string, fragment, or the end of the URL path.\n const pathEndIdx = url.search(/#|\\?|$/);\n // Check if the character before `pathEndIdx` is a trailing slash.\n // If it is, remove the trailing slash and return the modified URL.\n // Otherwise, return the URL as is.\n return url[pathEndIdx - 1] === '/' ? url.slice(0, pathEndIdx - 1) + url.slice(pathEndIdx) : url;\n}\n\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\nexport function normalizeQueryParams(params: string): string {\n return params && params[0] !== '?' ? `?${params}` : params;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n DOCUMENT,\n Inject,\n inject,\n Injectable,\n InjectionToken,\n OnDestroy,\n Optional,\n} from '@angular/core';\n\nimport {LocationChangeListener, PlatformLocation} from './platform_location';\nimport {joinWithSlash, normalizeQueryParams} from './util';\n\n/**\n * Enables the `Location` service to read route state from the browser's URL.\n * Angular provides two strategies:\n * `HashLocationStrategy` and `PathLocationStrategy`.\n *\n * Applications should use the `Router` or `Location` services to\n * interact with application route state.\n *\n * For instance, `HashLocationStrategy` produces URLs like\n * <code class=\"no-auto-link\">http://example.com/#/foo</code>,\n * and `PathLocationStrategy` produces\n * <code class=\"no-auto-link\">http://example.com/foo</code> as an equivalent URL.\n *\n * See these two classes for more.\n *\n * @publicApi\n */\n@Injectable({providedIn: 'root', useFactory: () => inject(PathLocationStrategy)})\nexport abstract class LocationStrategy {\n abstract path(includeHash?: boolean): string;\n abstract prepareExternalUrl(internal: string): string;\n abstract getState(): unknown;\n abstract pushState(state: any, title: string, url: string, queryParams: string): void;\n abstract replaceState(state: any, title: string, url: string, queryParams: string): void;\n abstract forward(): void;\n abstract back(): void;\n historyGo?(relativePosition: number): void {\n throw new Error(ngDevMode ? 'Not implemented' : '');\n }\n abstract onPopState(fn: LocationChangeListener): void;\n abstract getBaseHref(): string;\n}\n\n/**\n * A predefined DI token for the base href\n * to be used with the `PathLocationStrategy`.\n * The base href is the URL prefix that should be preserved when generating\n * and recognizing URLs.\n *\n * @usageNotes\n *\n * The following example shows how to use this token to configure the root app injector\n * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n *\n * ```ts\n * import {NgModule} from '@angular/core';\n * import {APP_BASE_HREF} from '@angular/common';\n *\n * @NgModule({\n * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * @publicApi\n */\nexport const APP_BASE_HREF = new InjectionToken<string>(\n typeof ngDevMode !== 'undefined' && ngDevMode ? 'appBaseHref' : '',\n);\n\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * If you're using `PathLocationStrategy`, you may provide a {@link APP_BASE_HREF}\n * or add a `<base href>` element to the document to override the default.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app/'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`. To ensure all relative URIs resolve correctly,\n * the `<base href>` and/or `APP_BASE_HREF` should end with a `/`.\n *\n * Similarly, if you add `<base href='/my/app/'/>` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Note that when using `PathLocationStrategy`, neither the query nor\n * the fragment in the `<base href>` will be preserved, as outlined\n * by the [RFC](https://tools.ietf.org/html/rfc3986#section-5.2.2).\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\n@Injectable({providedIn: 'root'})\nexport class PathLocationStrategy extends LocationStrategy implements OnDestroy {\n private _baseHref: string;\n private _removeListenerFns: (() => void)[] = [];\n\n constructor(\n private _platformLocation: PlatformLocation,\n @Optional() @Inject(APP_BASE_HREF) href?: string,\n ) {\n super();\n\n this._baseHref =\n href ??\n this._platformLocation.getBaseHrefFromDOM() ??\n inject(DOCUMENT).location?.origin ??\n '';\n }\n\n /** @docs-private */\n ngOnDestroy(): void {\n while (this._removeListenerFns.length) {\n this._removeListenerFns.pop()!();\n }\n }\n\n override onPopState(fn: LocationChangeListener): void {\n this._removeListenerFns.push(\n this._platformLocation.onPopState(fn),\n this._platformLocation.onHashChange(fn),\n );\n }\n\n override getBaseHref(): string {\n return this._baseHref;\n }\n\n override prepareExternalUrl(internal: string): string {\n return joinWithSlash(this._baseHref, internal);\n }\n\n override path(includeHash: boolean = false): string {\n const pathname =\n this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);\n const hash = this._platformLocation.hash;\n return hash && includeHash ? `${pathname}${hash}` : pathname;\n }\n\n override pushState(state: any, title: string, url: string, queryParams: string) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.pushState(state, title, externalUrl);\n }\n\n override replaceState(state: any, title: string, url: string, queryParams: string) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.replaceState(state, title, externalUrl);\n }\n\n override forward(): void {\n this._platformLocation.forward();\n }\n\n override back(): void {\n this._platformLocation.back();\n }\n\n override getState(): unknown {\n return this._platformLocation.getState();\n }\n\n override historyGo(relativePosition: number = 0): void {\n this._platformLocation.historyGo?.(relativePosition);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Injectable, OnDestroy, ɵɵinject} from '@angular/core';\nimport {Subject, SubscriptionLike} from 'rxjs';\n\nimport {LocationStrategy} from './location_strategy';\nimport {joinWithSlash, normalizeQueryParams, stripTrailingSlash} from './util';\n\n/** @publicApi */\nexport interface PopStateEvent {\n pop?: boolean;\n state?: any;\n type?: string;\n url?: string;\n}\n\n/**\n * @description\n *\n * A service that applications can use to interact with a browser's URL.\n *\n * Depending on the `LocationStrategy` used, `Location` persists\n * to the URL's path or the URL's hash segment.\n *\n * @usageNotes\n *\n * It's better to use the `Router.navigate()` service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * {@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\n@Injectable({\n providedIn: 'root',\n // See #23917\n useFactory: createLocation,\n})\nexport class Location implements OnDestroy {\n /** @internal */\n _subject = new Subject<PopStateEvent>();\n /** @internal */\n _basePath: string;\n /** @internal */\n _locationStrategy: LocationStrategy;\n /** @internal */\n _urlChangeListeners: ((url: string, state: unknown) => void)[] = [];\n /** @internal */\n _urlChangeSubscription: SubscriptionLike | null = null;\n\n constructor(locationStrategy: LocationStrategy) {\n this._locationStrategy = locationStrategy;\n const baseHref = this._locationStrategy.getBaseHref();\n // Note: This class's interaction with base HREF does not fully follow the rules\n // outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm.\n // Instead of trying to fix individual bugs with more and more code, we should\n // investigate using the URL constructor and providing the base as a second\n // argument.\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters\n this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref)));\n this._locationStrategy.onPopState((ev) => {\n this._subject.next({\n 'url': this.path(true),\n 'pop': true,\n 'state': ev.state,\n 'type': ev.type,\n });\n });\n }\n\n /** @docs-private */\n ngOnDestroy(): void {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeListeners = [];\n }\n\n /**\n * Normalizes the URL path for this location.\n *\n * @param includeHash True to include an anchor fragment in the path.\n *\n * @returns The normalized URL path.\n */\n // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n // removed.\n path(includeHash: boolean = false): string {\n return this.normalize(this._locationStrategy.path(includeHash));\n }\n\n /**\n * Reports the current state of the location history.\n * @returns The current value of the `history.state` object.\n */\n getState(): unknown {\n return this._locationStrategy.getState();\n }\n\n /**\n * Normalizes the given path and compares to the current normalized path.\n *\n * @param path The given URL path.\n * @param query Query parameters.\n *\n * @returns True if the given URL path is equal to the current normalized path, false\n * otherwise.\n */\n isCurrentPathEqualTo(path: string, query: string = ''): boolean {\n return this.path() == this.normalize(path + normalizeQueryParams(query));\n }\n\n /**\n * Normalizes a URL path by stripping any trailing slashes.\n *\n * @param url String representing a URL.\n *\n * @returns The normalized URL string.\n */\n normalize(url: string): string {\n return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url)));\n }\n\n /**\n * Normalizes an external URL path.\n * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n * before normalizing. Adds a hash if `HashLocationStrategy` is\n * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n *\n * @param url String representing a URL.\n *\n * @returns A normalized platform-specific URL.\n */\n prepareExternalUrl(url: string): string {\n if (url && url[0] !== '/') {\n url = '/' + url;\n }\n return this._locationStrategy.prepareExternalUrl(url);\n }\n\n // TODO: rename this method to pushState\n /**\n * Changes the browser's URL to a normalized version of a given URL, and pushes a\n * new item onto the platform's history.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n *\n */\n go(path: string, query: string = '', state: any = null): void {\n this._locationStrategy.pushState(state, '', path, query);\n this._notifyUrlChangeListeners(\n this.prepareExternalUrl(path + normalizeQueryParams(query)),\n state,\n );\n }\n\n /**\n * Changes the browser's URL to a normalized version of the given URL, and replaces\n * the top item on the platform's history stack.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n */\n replaceState(path: string, query: string = '', state: any = null): void {\n this._locationStrategy.replaceState(state, '', path, query);\n this._notifyUrlChangeListeners(\n this.prepareExternalUrl(path + normalizeQueryParams(query)),\n state,\n );\n }\n\n /**\n * Navigates forward in the platform's history.\n */\n forward(): void {\n this._locationStrategy.forward();\n }\n\n /**\n * Navigates back in the platform's history.\n */\n back(): void {\n this._locationStrategy.back();\n }\n\n /**\n * Navigate to a specific page from session history, identified by its relative position to the\n * current page.\n *\n * @param relativePosition Position of the target page in the history relative to the current\n * page.\n * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)`\n * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go\n * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs\n * when `relativePosition` equals 0.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history\n */\n historyGo(relativePosition: number = 0): void {\n this._locationStrategy.historyGo?.(relativePosition);\n }\n\n /**\n * Registers a URL change listener. Use to catch updates performed by the Angular\n * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n *\n * @param fn The change handler function, which take a URL and a location history state.\n * @returns A function that, when executed, unregisters a URL change listener.\n */\n onUrlChange(fn: (url: string, state: unknown) => void): VoidFunction {\n this._urlChangeListeners.push(fn);\n\n this._urlChangeSubscription ??= this.subscribe((v) => {\n this._notifyUrlChangeListeners(v.url, v.state);\n });\n\n return () => {\n const fnIndex = this._urlChangeListeners.indexOf(fn);\n this._urlChangeListeners.splice(fnIndex, 1);\n\n if (this._urlChangeListeners.length === 0) {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeSubscription = null;\n }\n };\n }\n\n /** @internal */\n _notifyUrlChangeListeners(url: string = '', state: unknown) {\n this._urlChangeListeners.forEach((fn) => fn(url, state));\n }\n\n /**\n * Subscribes to the platform's `popState` events.\n *\n * Note: `Location.go()` does not trigger the `popState` event in the browser. Use\n * `Location.onUrlChange()` to subscribe to URL changes instead.\n *\n * @param value Event that is triggered when the state history changes.\n * @param exception The exception to throw.\n *\n * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate)\n *\n * @returns Subscribed events.\n */\n subscribe(\n onNext: (value: PopStateEvent) => void,\n onThrow?: ((exception: any) => void) | null,\n onReturn?: (() => void) | null,\n ): SubscriptionLike {\n return this._subject.subscribe({\n next: onNext,\n error: onThrow ?? undefined,\n complete: onReturn ?? undefined,\n });\n }\n\n /**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\n public static normalizeQueryParams: (params: string) => string = normalizeQueryParams;\n\n /**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\n public static joinWithSlash: (start: string, end: string) => string = joinWithSlash;\n\n /**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\n public static stripTrailingSlash: (url: string) => string = stripTrailingSlash;\n}\n\nexport function createLocation() {\n return new Location(ɵɵinject(LocationStrategy as any));\n}\n\nfunction _stripBasePath(basePath: string, url: string): string {\n if (!basePath || !url.startsWith(basePath)) {\n return url;\n }\n const strippedUrl = url.substring(basePath.length);\n if (strippedUrl === '' || ['/', ';', '?', '#'].includes(strippedUrl[0])) {\n return strippedUrl;\n }\n return url;\n}\n\nfunction _stripIndexHtml(url: string): string {\n return url.replace(/\\/index.html$/, '');\n}\n\nfunction _stripOrigin(baseHref: string): string {\n // DO NOT REFACTOR! Previously, this check looked like this:\n // `/^(https?:)?\\/\\//.test(baseHref)`, but that resulted in\n // syntactically incorrect code after Closure Compiler minification.\n // This was likely caused by a bug in Closure Compiler, but\n // for now, the check is rewritten to use `new RegExp` instead.\n const isAbsoluteUrl = new RegExp('^(https?:)?//').test(baseHref);\n if (isAbsoluteUrl) {\n const [, pathname] = baseHref.split(/\\/\\/[^\\/]+/);\n return pathname;\n }\n return baseHref;\n}\n"],"names":["joinWithSlash","start","end","endsWith","startsWith","slice","stripTrailingSlash","url","pathEndIdx","search","normalizeQueryParams","params","LocationStrategy","historyGo","relativePosition","Error","ngDevMode","deps","target","i0","ɵɵFactoryTarget","Injectable","providedIn","useFactory","inject","PathLocationStrategy","decorators","args","APP_BASE_HREF","InjectionToken","_platformLocation","_baseHref","_removeListenerFns","constructor","href","getBaseHrefFromDOM","DOCUMENT","location","origin","ngOnDestroy","length","pop","onPopState","fn","push","onHashChange","getBaseHref","prepareExternalUrl","internal","path","includeHash","pathname","hash","pushState","state","title","queryParams","externalUrl","replaceState","forward","back","getState","ɵfac","ɵɵngDeclareFactory","minVersion","version","ngImport","type","optional","ɵprov","ɵɵngDeclareInjectable","Optional","Inject","Location","_subject","Subject","_basePath","_locationStrategy","_urlChangeListeners","_urlChangeSubscription","locationStrategy","baseHref","_stripOrigin","_stripIndexHtml","ev","next","unsubscribe","normalize","isCurrentPathEqualTo","query","_stripBasePath","go","_notifyUrlChangeListeners","onUrlChange","subscribe","v","fnIndex","indexOf","splice","forEach","onNext","onThrow","onReturn","error","undefined","complete","token","i1","createLocation","ɵɵinject","basePath","strippedUrl","substring","includes","replace","isAbsoluteUrl","R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AM,GAAGhE,QAAQ,CAAC,GAAG8B,QAAQ,CAACqC,KAAK,CAAC,YAAY,CAAC;AACjD,IAAA,OAAOnE,QAAQ;AACjB;AACA,EAAA,OAAO8B,QAAQ;AACjB;;;;"}
|
|
1
|
+
{"version":3,"file":"_location-chunk.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/location/util.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/location/location_strategy.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/location/location.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\nexport function joinWithSlash(start: string, end: string) {\n // If `start` is an empty string, return `end` as the result.\n if (!start) return end;\n // If `end` is an empty string, return `start` as the result.\n if (!end) return start;\n // If `start` ends with a slash, remove the leading slash from `end`.\n if (start.endsWith('/')) {\n return end.startsWith('/') ? start + end.slice(1) : start + end;\n }\n // If `start` doesn't end with a slash, add one if `end` doesn't start with a slash.\n return end.startsWith('/') ? start + end : `${start}/${end}`;\n}\n\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\nexport function stripTrailingSlash(url: string): string {\n // Find the index of the first occurrence of `#`, `?`, or the end of the string.\n // This marks the start of the query string, fragment, or the end of the URL path.\n const pathEndIdx = url.search(/#|\\?|$/);\n // Check if the character before `pathEndIdx` is a trailing slash.\n // If it is, remove the trailing slash and return the modified URL.\n // Otherwise, return the URL as is.\n return url[pathEndIdx - 1] === '/' ? url.slice(0, pathEndIdx - 1) + url.slice(pathEndIdx) : url;\n}\n\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\nexport function normalizeQueryParams(params: string): string {\n return params && params[0] !== '?' ? `?${params}` : params;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n DOCUMENT,\n Inject,\n inject,\n Injectable,\n InjectionToken,\n OnDestroy,\n Optional,\n} from '@angular/core';\n\nimport {LocationChangeListener, PlatformLocation} from './platform_location';\nimport {joinWithSlash, normalizeQueryParams} from './util';\n\n/**\n * Enables the `Location` service to read route state from the browser's URL.\n * Angular provides two strategies:\n * `HashLocationStrategy` and `PathLocationStrategy`.\n *\n * Applications should use the `Router` or `Location` services to\n * interact with application route state.\n *\n * For instance, `HashLocationStrategy` produces URLs like\n * <code class=\"no-auto-link\">http://example.com/#/foo</code>,\n * and `PathLocationStrategy` produces\n * <code class=\"no-auto-link\">http://example.com/foo</code> as an equivalent URL.\n *\n * See these two classes for more.\n *\n * @publicApi\n */\n@Injectable({providedIn: 'root', useFactory: () => inject(PathLocationStrategy)})\nexport abstract class LocationStrategy {\n abstract path(includeHash?: boolean): string;\n abstract prepareExternalUrl(internal: string): string;\n abstract getState(): unknown;\n abstract pushState(state: any, title: string, url: string, queryParams: string): void;\n abstract replaceState(state: any, title: string, url: string, queryParams: string): void;\n abstract forward(): void;\n abstract back(): void;\n historyGo?(relativePosition: number): void {\n throw new Error(ngDevMode ? 'Not implemented' : '');\n }\n abstract onPopState(fn: LocationChangeListener): void;\n abstract getBaseHref(): string;\n}\n\n/**\n * A predefined DI token for the base href\n * to be used with the `PathLocationStrategy`.\n * The base href is the URL prefix that should be preserved when generating\n * and recognizing URLs.\n *\n * @usageNotes\n *\n * The following example shows how to use this token to configure the root app injector\n * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n *\n * ```ts\n * import {NgModule} from '@angular/core';\n * import {APP_BASE_HREF} from '@angular/common';\n *\n * @NgModule({\n * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * @publicApi\n */\nexport const APP_BASE_HREF = new InjectionToken<string>(\n typeof ngDevMode !== 'undefined' && ngDevMode ? 'appBaseHref' : '',\n);\n\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * If you're using `PathLocationStrategy`, you may provide a {@link APP_BASE_HREF}\n * or add a `<base href>` element to the document to override the default.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app/'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`. To ensure all relative URIs resolve correctly,\n * the `<base href>` and/or `APP_BASE_HREF` should end with a `/`.\n *\n * Similarly, if you add `<base href='/my/app/'/>` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Note that when using `PathLocationStrategy`, neither the query nor\n * the fragment in the `<base href>` will be preserved, as outlined\n * by the [RFC](https://tools.ietf.org/html/rfc3986#section-5.2.2).\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\n@Injectable({providedIn: 'root'})\nexport class PathLocationStrategy extends LocationStrategy implements OnDestroy {\n private _baseHref: string;\n private _removeListenerFns: (() => void)[] = [];\n\n constructor(\n private _platformLocation: PlatformLocation,\n @Optional() @Inject(APP_BASE_HREF) href?: string,\n ) {\n super();\n\n this._baseHref =\n href ??\n this._platformLocation.getBaseHrefFromDOM() ??\n inject(DOCUMENT).location?.origin ??\n '';\n }\n\n /** @docs-private */\n ngOnDestroy(): void {\n while (this._removeListenerFns.length) {\n this._removeListenerFns.pop()!();\n }\n }\n\n override onPopState(fn: LocationChangeListener): void {\n this._removeListenerFns.push(\n this._platformLocation.onPopState(fn),\n this._platformLocation.onHashChange(fn),\n );\n }\n\n override getBaseHref(): string {\n return this._baseHref;\n }\n\n override prepareExternalUrl(internal: string): string {\n return joinWithSlash(this._baseHref, internal);\n }\n\n override path(includeHash: boolean = false): string {\n const pathname =\n this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);\n const hash = this._platformLocation.hash;\n return hash && includeHash ? `${pathname}${hash}` : pathname;\n }\n\n override pushState(state: any, title: string, url: string, queryParams: string) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.pushState(state, title, externalUrl);\n }\n\n override replaceState(state: any, title: string, url: string, queryParams: string) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.replaceState(state, title, externalUrl);\n }\n\n override forward(): void {\n this._platformLocation.forward();\n }\n\n override back(): void {\n this._platformLocation.back();\n }\n\n override getState(): unknown {\n return this._platformLocation.getState();\n }\n\n override historyGo(relativePosition: number = 0): void {\n this._platformLocation.historyGo?.(relativePosition);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Injectable, OnDestroy, ɵɵinject} from '@angular/core';\nimport {Subject, SubscriptionLike} from 'rxjs';\n\nimport {LocationStrategy} from './location_strategy';\nimport {joinWithSlash, normalizeQueryParams, stripTrailingSlash} from './util';\n\n/** @publicApi */\nexport interface PopStateEvent {\n pop?: boolean;\n state?: any;\n type?: string;\n url?: string;\n}\n\n/**\n * @description\n *\n * A service that applications can use to interact with a browser's URL.\n *\n * Depending on the `LocationStrategy` used, `Location` persists\n * to the URL's path or the URL's hash segment.\n *\n * @usageNotes\n *\n * It's better to use the `Router.navigate()` service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * {@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\n@Injectable({\n providedIn: 'root',\n // See #23917\n useFactory: createLocation,\n})\nexport class Location implements OnDestroy {\n /** @internal */\n _subject = new Subject<PopStateEvent>();\n /** @internal */\n _basePath: string;\n /** @internal */\n _locationStrategy: LocationStrategy;\n /** @internal */\n _urlChangeListeners: ((url: string, state: unknown) => void)[] = [];\n /** @internal */\n _urlChangeSubscription: SubscriptionLike | null = null;\n\n constructor(locationStrategy: LocationStrategy) {\n this._locationStrategy = locationStrategy;\n const baseHref = this._locationStrategy.getBaseHref();\n // Note: This class's interaction with base HREF does not fully follow the rules\n // outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm.\n // Instead of trying to fix individual bugs with more and more code, we should\n // investigate using the URL constructor and providing the base as a second\n // argument.\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters\n this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref)));\n this._locationStrategy.onPopState((ev) => {\n this._subject.next({\n 'url': this.path(true),\n 'pop': true,\n 'state': ev.state,\n 'type': ev.type,\n });\n });\n }\n\n /** @docs-private */\n ngOnDestroy(): void {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeListeners = [];\n }\n\n /**\n * Normalizes the URL path for this location.\n *\n * @param includeHash True to include an anchor fragment in the path.\n *\n * @returns The normalized URL path.\n */\n // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n // removed.\n path(includeHash: boolean = false): string {\n return this.normalize(this._locationStrategy.path(includeHash));\n }\n\n /**\n * Reports the current state of the location history.\n * @returns The current value of the `history.state` object.\n */\n getState(): unknown {\n return this._locationStrategy.getState();\n }\n\n /**\n * Normalizes the given path and compares to the current normalized path.\n *\n * @param path The given URL path.\n * @param query Query parameters.\n *\n * @returns True if the given URL path is equal to the current normalized path, false\n * otherwise.\n */\n isCurrentPathEqualTo(path: string, query: string = ''): boolean {\n return this.path() == this.normalize(path + normalizeQueryParams(query));\n }\n\n /**\n * Normalizes a URL path by stripping any trailing slashes.\n *\n * @param url String representing a URL.\n *\n * @returns The normalized URL string.\n */\n normalize(url: string): string {\n return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url)));\n }\n\n /**\n * Normalizes an external URL path.\n * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n * before normalizing. Adds a hash if `HashLocationStrategy` is\n * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n *\n * @param url String representing a URL.\n *\n * @returns A normalized platform-specific URL.\n */\n prepareExternalUrl(url: string): string {\n if (url && url[0] !== '/') {\n url = '/' + url;\n }\n return this._locationStrategy.prepareExternalUrl(url);\n }\n\n // TODO: rename this method to pushState\n /**\n * Changes the browser's URL to a normalized version of a given URL, and pushes a\n * new item onto the platform's history.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n *\n */\n go(path: string, query: string = '', state: any = null): void {\n this._locationStrategy.pushState(state, '', path, query);\n this._notifyUrlChangeListeners(\n this.prepareExternalUrl(path + normalizeQueryParams(query)),\n state,\n );\n }\n\n /**\n * Changes the browser's URL to a normalized version of the given URL, and replaces\n * the top item on the platform's history stack.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n */\n replaceState(path: string, query: string = '', state: any = null): void {\n this._locationStrategy.replaceState(state, '', path, query);\n this._notifyUrlChangeListeners(\n this.prepareExternalUrl(path + normalizeQueryParams(query)),\n state,\n );\n }\n\n /**\n * Navigates forward in the platform's history.\n */\n forward(): void {\n this._locationStrategy.forward();\n }\n\n /**\n * Navigates back in the platform's history.\n */\n back(): void {\n this._locationStrategy.back();\n }\n\n /**\n * Navigate to a specific page from session history, identified by its relative position to the\n * current page.\n *\n * @param relativePosition Position of the target page in the history relative to the current\n * page.\n * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)`\n * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go\n * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs\n * when `relativePosition` equals 0.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history\n */\n historyGo(relativePosition: number = 0): void {\n this._locationStrategy.historyGo?.(relativePosition);\n }\n\n /**\n * Registers a URL change listener. Use to catch updates performed by the Angular\n * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n *\n * @param fn The change handler function, which take a URL and a location history state.\n * @returns A function that, when executed, unregisters a URL change listener.\n */\n onUrlChange(fn: (url: string, state: unknown) => void): VoidFunction {\n this._urlChangeListeners.push(fn);\n\n this._urlChangeSubscription ??= this.subscribe((v) => {\n this._notifyUrlChangeListeners(v.url, v.state);\n });\n\n return () => {\n const fnIndex = this._urlChangeListeners.indexOf(fn);\n this._urlChangeListeners.splice(fnIndex, 1);\n\n if (this._urlChangeListeners.length === 0) {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeSubscription = null;\n }\n };\n }\n\n /** @internal */\n _notifyUrlChangeListeners(url: string = '', state: unknown) {\n this._urlChangeListeners.forEach((fn) => fn(url, state));\n }\n\n /**\n * Subscribes to the platform's `popState` events.\n *\n * Note: `Location.go()` does not trigger the `popState` event in the browser. Use\n * `Location.onUrlChange()` to subscribe to URL changes instead.\n *\n * @param value Event that is triggered when the state history changes.\n * @param exception The exception to throw.\n *\n * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate)\n *\n * @returns Subscribed events.\n */\n subscribe(\n onNext: (value: PopStateEvent) => void,\n onThrow?: ((exception: any) => void) | null,\n onReturn?: (() => void) | null,\n ): SubscriptionLike {\n return this._subject.subscribe({\n next: onNext,\n error: onThrow ?? undefined,\n complete: onReturn ?? undefined,\n });\n }\n\n /**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\n public static normalizeQueryParams: (params: string) => string = normalizeQueryParams;\n\n /**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\n public static joinWithSlash: (start: string, end: string) => string = joinWithSlash;\n\n /**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\n public static stripTrailingSlash: (url: string) => string = stripTrailingSlash;\n}\n\nexport function createLocation() {\n return new Location(ɵɵinject(LocationStrategy as any));\n}\n\nfunction _stripBasePath(basePath: string, url: string): string {\n if (!basePath || !url.startsWith(basePath)) {\n return url;\n }\n const strippedUrl = url.substring(basePath.length);\n if (strippedUrl === '' || ['/', ';', '?', '#'].includes(strippedUrl[0])) {\n return strippedUrl;\n }\n return url;\n}\n\nfunction _stripIndexHtml(url: string): string {\n return url.replace(/\\/index.html$/, '');\n}\n\nfunction _stripOrigin(baseHref: string): string {\n // DO NOT REFACTOR! Previously, this check looked like this:\n // `/^(https?:)?\\/\\//.test(baseHref)`, but that resulted in\n // syntactically incorrect code after Closure Compiler minification.\n // This was likely caused by a bug in Closure Compiler, but\n // for now, the check is rewritten to use `new RegExp` instead.\n const isAbsoluteUrl = new RegExp('^(https?:)?//').test(baseHref);\n if (isAbsoluteUrl) {\n const [, pathname] = baseHref.split(/\\/\\/[^\\/]+/);\n return pathname;\n }\n return baseHref;\n}\n"],"names":["joinWithSlash","start","end","endsWith","startsWith","slice","stripTrailingSlash","url","pathEndIdx","search","normalizeQueryParams","params","LocationStrategy","historyGo","relativePosition","Error","ngDevMode","deps","target","i0","ɵɵFactoryTarget","Injectable","providedIn","useFactory","inject","PathLocationStrategy","decorators","args","APP_BASE_HREF","InjectionToken","_platformLocation","_baseHref","_removeListenerFns","constructor","href","getBaseHrefFromDOM","DOCUMENT","location","origin","ngOnDestroy","length","pop","onPopState","fn","push","onHashChange","getBaseHref","prepareExternalUrl","internal","path","includeHash","pathname","hash","pushState","state","title","queryParams","externalUrl","replaceState","forward","back","getState","ɵfac","ɵɵngDeclareFactory","minVersion","version","ngImport","type","optional","ɵprov","ɵɵngDeclareInjectable","Optional","Inject","Location","_subject","Subject","_basePath","_locationStrategy","_urlChangeListeners","_urlChangeSubscription","locationStrategy","baseHref","_stripOrigin","_stripIndexHtml","ev","next","unsubscribe","normalize","isCurrentPathEqualTo","query","_stripBasePath","go","_notifyUrlChangeListeners","onUrlChange","subscribe","v","fnIndex","indexOf","splice","forEach","onNext","onThrow","onReturn","error","undefined","complete","token","i1","createLocation","ɵɵinject","basePath","strippedUrl","substring","includes","replace","isAbsoluteUrl","RegExp","test","split"],"mappings":";;;;;;;;;;;AAiBgB,SAAAA,aAAaA,CAACC,KAAa,EAAEC,GAAW,EAAA;AAEtD,EAAA,IAAI,CAACD,KAAK,EAAE,OAAOC,GAAG;AAEtB,EAAA,IAAI,CAACA,GAAG,EAAE,OAAOD,KAAK;AAEtB,EAAA,IAAIA,KAAK,CAACE,QAAQ,CAAC,GAAG,CAAC,EAAE;AACvB,IAAA,OAAOD,GAAG,CAACE,UAAU,CAAC,GAAG,CAAC,GAAGH,KAAK,GAAGC,GAAG,CAACG,KAAK,CAAC,CAAC,CAAC,GAAGJ,KAAK,GAAGC,GAAG;AACjE;AAEA,EAAA,OAAOA,GAAG,CAACE,UAAU,CAAC,GAAG,CAAC,GAAGH,KAAK,GAAGC,GAAG,GAAG,CAAA,EAAGD,KAAK,CAAA,CAAA,EAAIC,GAAG,CAAE,CAAA;AAC9D;AAWM,SAAUI,kBAAkBA,CAACC,GAAW,EAAA;AAG5C,EAAA,MAAMC,UAAU,GAAGD,GAAG,CAACE,MAAM,CAAC,QAAQ,CAAC;EAIvC,OAAOF,GAAG,CAACC,UAAU,GAAG,CAAC,CAAC,KAAK,GAAG,GAAGD,GAAG,CAACF,KAAK,CAAC,CAAC,EAAEG,UAAU,GAAG,CAAC,CAAC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GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAACE,QAAQ,CAACF,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE;AACvE,IAAA,OAAOA,WAAW;AACpB;AACA,EAAA,OAAOxG,GAAG;AACZ;AAEA,SAAS4E,eAAeA,CAAC5E,GAAW,EAAA;AAClC,EAAA,OAAOA,GAAG,CAAC2G,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC;AACzC;AAEA,SAAShC,YAAYA,CAACD,QAAgB,EAAA;EAMpC,MAAMkC,aAAa,GAAG,IAAIC,MAAM,CAAC,eAAe,CAAC,CAACC,IAAI,CAACpC,QAAQ,CAAC;AAChE,EAAA,IAAIkC,aAAa,EAAE;IACjB,MAAM,GAAGhE,QAAQ,CAAC,GAAG8B,QAAQ,CAACqC,KAAK,CAAC,YAAY,CAAC;AACjD,IAAA,OAAOnE,QAAQ;AACjB;AACA,EAAA,OAAO8B,QAAQ;AACjB;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.
|
|
2
|
+
* @license Angular v21.0.8
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -975,7 +975,7 @@ class FetchBackend {
|
|
|
975
975
|
}
|
|
976
976
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
977
977
|
minVersion: "12.0.0",
|
|
978
|
-
version: "21.0.
|
|
978
|
+
version: "21.0.8",
|
|
979
979
|
ngImport: i0,
|
|
980
980
|
type: FetchBackend,
|
|
981
981
|
deps: [],
|
|
@@ -983,14 +983,14 @@ class FetchBackend {
|
|
|
983
983
|
});
|
|
984
984
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
985
985
|
minVersion: "12.0.0",
|
|
986
|
-
version: "21.0.
|
|
986
|
+
version: "21.0.8",
|
|
987
987
|
ngImport: i0,
|
|
988
988
|
type: FetchBackend
|
|
989
989
|
});
|
|
990
990
|
}
|
|
991
991
|
i0.ɵɵngDeclareClassMetadata({
|
|
992
992
|
minVersion: "12.0.0",
|
|
993
|
-
version: "21.0.
|
|
993
|
+
version: "21.0.8",
|
|
994
994
|
ngImport: i0,
|
|
995
995
|
type: FetchBackend,
|
|
996
996
|
decorators: [{
|
|
@@ -1245,7 +1245,7 @@ class HttpXhrBackend {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1247
1247
|
minVersion: "12.0.0",
|
|
1248
|
-
version: "21.0.
|
|
1248
|
+
version: "21.0.8",
|
|
1249
1249
|
ngImport: i0,
|
|
1250
1250
|
type: HttpXhrBackend,
|
|
1251
1251
|
deps: [{
|
|
@@ -1255,7 +1255,7 @@ class HttpXhrBackend {
|
|
|
1255
1255
|
});
|
|
1256
1256
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1257
1257
|
minVersion: "12.0.0",
|
|
1258
|
-
version: "21.0.
|
|
1258
|
+
version: "21.0.8",
|
|
1259
1259
|
ngImport: i0,
|
|
1260
1260
|
type: HttpXhrBackend,
|
|
1261
1261
|
providedIn: 'root'
|
|
@@ -1263,7 +1263,7 @@ class HttpXhrBackend {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
i0.ɵɵngDeclareClassMetadata({
|
|
1265
1265
|
minVersion: "12.0.0",
|
|
1266
|
-
version: "21.0.
|
|
1266
|
+
version: "21.0.8",
|
|
1267
1267
|
ngImport: i0,
|
|
1268
1268
|
type: HttpXhrBackend,
|
|
1269
1269
|
decorators: [{
|
|
@@ -1319,7 +1319,7 @@ function legacyInterceptorFnFactory() {
|
|
|
1319
1319
|
class HttpBackend {
|
|
1320
1320
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1321
1321
|
minVersion: "12.0.0",
|
|
1322
|
-
version: "21.0.
|
|
1322
|
+
version: "21.0.8",
|
|
1323
1323
|
ngImport: i0,
|
|
1324
1324
|
type: HttpBackend,
|
|
1325
1325
|
deps: [],
|
|
@@ -1327,7 +1327,7 @@ class HttpBackend {
|
|
|
1327
1327
|
});
|
|
1328
1328
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1329
1329
|
minVersion: "12.0.0",
|
|
1330
|
-
version: "21.0.
|
|
1330
|
+
version: "21.0.8",
|
|
1331
1331
|
ngImport: i0,
|
|
1332
1332
|
type: HttpBackend,
|
|
1333
1333
|
providedIn: 'root',
|
|
@@ -1336,7 +1336,7 @@ class HttpBackend {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
i0.ɵɵngDeclareClassMetadata({
|
|
1338
1338
|
minVersion: "12.0.0",
|
|
1339
|
-
version: "21.0.
|
|
1339
|
+
version: "21.0.8",
|
|
1340
1340
|
ngImport: i0,
|
|
1341
1341
|
type: HttpBackend,
|
|
1342
1342
|
decorators: [{
|
|
@@ -1379,7 +1379,7 @@ class HttpInterceptorHandler {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1381
1381
|
minVersion: "12.0.0",
|
|
1382
|
-
version: "21.0.
|
|
1382
|
+
version: "21.0.8",
|
|
1383
1383
|
ngImport: i0,
|
|
1384
1384
|
type: HttpInterceptorHandler,
|
|
1385
1385
|
deps: [{
|
|
@@ -1391,7 +1391,7 @@ class HttpInterceptorHandler {
|
|
|
1391
1391
|
});
|
|
1392
1392
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1393
1393
|
minVersion: "12.0.0",
|
|
1394
|
-
version: "21.0.
|
|
1394
|
+
version: "21.0.8",
|
|
1395
1395
|
ngImport: i0,
|
|
1396
1396
|
type: HttpInterceptorHandler,
|
|
1397
1397
|
providedIn: 'root'
|
|
@@ -1399,7 +1399,7 @@ class HttpInterceptorHandler {
|
|
|
1399
1399
|
}
|
|
1400
1400
|
i0.ɵɵngDeclareClassMetadata({
|
|
1401
1401
|
minVersion: "12.0.0",
|
|
1402
|
-
version: "21.0.
|
|
1402
|
+
version: "21.0.8",
|
|
1403
1403
|
ngImport: i0,
|
|
1404
1404
|
type: HttpInterceptorHandler,
|
|
1405
1405
|
decorators: [{
|
|
@@ -1417,7 +1417,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1417
1417
|
class HttpHandler {
|
|
1418
1418
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1419
1419
|
minVersion: "12.0.0",
|
|
1420
|
-
version: "21.0.
|
|
1420
|
+
version: "21.0.8",
|
|
1421
1421
|
ngImport: i0,
|
|
1422
1422
|
type: HttpHandler,
|
|
1423
1423
|
deps: [],
|
|
@@ -1425,7 +1425,7 @@ class HttpHandler {
|
|
|
1425
1425
|
});
|
|
1426
1426
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1427
1427
|
minVersion: "12.0.0",
|
|
1428
|
-
version: "21.0.
|
|
1428
|
+
version: "21.0.8",
|
|
1429
1429
|
ngImport: i0,
|
|
1430
1430
|
type: HttpHandler,
|
|
1431
1431
|
providedIn: 'root',
|
|
@@ -1434,7 +1434,7 @@ class HttpHandler {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
i0.ɵɵngDeclareClassMetadata({
|
|
1436
1436
|
minVersion: "12.0.0",
|
|
1437
|
-
version: "21.0.
|
|
1437
|
+
version: "21.0.8",
|
|
1438
1438
|
ngImport: i0,
|
|
1439
1439
|
type: HttpHandler,
|
|
1440
1440
|
decorators: [{
|
|
@@ -1584,7 +1584,7 @@ class HttpClient {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1586
1586
|
minVersion: "12.0.0",
|
|
1587
|
-
version: "21.0.
|
|
1587
|
+
version: "21.0.8",
|
|
1588
1588
|
ngImport: i0,
|
|
1589
1589
|
type: HttpClient,
|
|
1590
1590
|
deps: [{
|
|
@@ -1594,7 +1594,7 @@ class HttpClient {
|
|
|
1594
1594
|
});
|
|
1595
1595
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1596
1596
|
minVersion: "12.0.0",
|
|
1597
|
-
version: "21.0.
|
|
1597
|
+
version: "21.0.8",
|
|
1598
1598
|
ngImport: i0,
|
|
1599
1599
|
type: HttpClient,
|
|
1600
1600
|
providedIn: 'root'
|
|
@@ -1602,7 +1602,7 @@ class HttpClient {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
i0.ɵɵngDeclareClassMetadata({
|
|
1604
1604
|
minVersion: "12.0.0",
|
|
1605
|
-
version: "21.0.
|
|
1605
|
+
version: "21.0.8",
|
|
1606
1606
|
ngImport: i0,
|
|
1607
1607
|
type: HttpClient,
|
|
1608
1608
|
decorators: [{
|
|
@@ -1717,7 +1717,7 @@ class JsonpClientBackend {
|
|
|
1717
1717
|
}
|
|
1718
1718
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1719
1719
|
minVersion: "12.0.0",
|
|
1720
|
-
version: "21.0.
|
|
1720
|
+
version: "21.0.8",
|
|
1721
1721
|
ngImport: i0,
|
|
1722
1722
|
type: JsonpClientBackend,
|
|
1723
1723
|
deps: [{
|
|
@@ -1729,14 +1729,14 @@ class JsonpClientBackend {
|
|
|
1729
1729
|
});
|
|
1730
1730
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1731
1731
|
minVersion: "12.0.0",
|
|
1732
|
-
version: "21.0.
|
|
1732
|
+
version: "21.0.8",
|
|
1733
1733
|
ngImport: i0,
|
|
1734
1734
|
type: JsonpClientBackend
|
|
1735
1735
|
});
|
|
1736
1736
|
}
|
|
1737
1737
|
i0.ɵɵngDeclareClassMetadata({
|
|
1738
1738
|
minVersion: "12.0.0",
|
|
1739
|
-
version: "21.0.
|
|
1739
|
+
version: "21.0.8",
|
|
1740
1740
|
ngImport: i0,
|
|
1741
1741
|
type: JsonpClientBackend,
|
|
1742
1742
|
decorators: [{
|
|
@@ -1768,7 +1768,7 @@ class JsonpInterceptor {
|
|
|
1768
1768
|
}
|
|
1769
1769
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1770
1770
|
minVersion: "12.0.0",
|
|
1771
|
-
version: "21.0.
|
|
1771
|
+
version: "21.0.8",
|
|
1772
1772
|
ngImport: i0,
|
|
1773
1773
|
type: JsonpInterceptor,
|
|
1774
1774
|
deps: [{
|
|
@@ -1778,14 +1778,14 @@ class JsonpInterceptor {
|
|
|
1778
1778
|
});
|
|
1779
1779
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1780
1780
|
minVersion: "12.0.0",
|
|
1781
|
-
version: "21.0.
|
|
1781
|
+
version: "21.0.8",
|
|
1782
1782
|
ngImport: i0,
|
|
1783
1783
|
type: JsonpInterceptor
|
|
1784
1784
|
});
|
|
1785
1785
|
}
|
|
1786
1786
|
i0.ɵɵngDeclareClassMetadata({
|
|
1787
1787
|
minVersion: "12.0.0",
|
|
1788
|
-
version: "21.0.
|
|
1788
|
+
version: "21.0.8",
|
|
1789
1789
|
ngImport: i0,
|
|
1790
1790
|
type: JsonpInterceptor,
|
|
1791
1791
|
decorators: [{
|
|
@@ -1828,7 +1828,7 @@ class HttpXsrfCookieExtractor {
|
|
|
1828
1828
|
}
|
|
1829
1829
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1830
1830
|
minVersion: "12.0.0",
|
|
1831
|
-
version: "21.0.
|
|
1831
|
+
version: "21.0.8",
|
|
1832
1832
|
ngImport: i0,
|
|
1833
1833
|
type: HttpXsrfCookieExtractor,
|
|
1834
1834
|
deps: [],
|
|
@@ -1836,7 +1836,7 @@ class HttpXsrfCookieExtractor {
|
|
|
1836
1836
|
});
|
|
1837
1837
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1838
1838
|
minVersion: "12.0.0",
|
|
1839
|
-
version: "21.0.
|
|
1839
|
+
version: "21.0.8",
|
|
1840
1840
|
ngImport: i0,
|
|
1841
1841
|
type: HttpXsrfCookieExtractor,
|
|
1842
1842
|
providedIn: 'root'
|
|
@@ -1844,7 +1844,7 @@ class HttpXsrfCookieExtractor {
|
|
|
1844
1844
|
}
|
|
1845
1845
|
i0.ɵɵngDeclareClassMetadata({
|
|
1846
1846
|
minVersion: "12.0.0",
|
|
1847
|
-
version: "21.0.
|
|
1847
|
+
version: "21.0.8",
|
|
1848
1848
|
ngImport: i0,
|
|
1849
1849
|
type: HttpXsrfCookieExtractor,
|
|
1850
1850
|
decorators: [{
|
|
@@ -1857,7 +1857,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1857
1857
|
class HttpXsrfTokenExtractor {
|
|
1858
1858
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1859
1859
|
minVersion: "12.0.0",
|
|
1860
|
-
version: "21.0.
|
|
1860
|
+
version: "21.0.8",
|
|
1861
1861
|
ngImport: i0,
|
|
1862
1862
|
type: HttpXsrfTokenExtractor,
|
|
1863
1863
|
deps: [],
|
|
@@ -1865,7 +1865,7 @@ class HttpXsrfTokenExtractor {
|
|
|
1865
1865
|
});
|
|
1866
1866
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1867
1867
|
minVersion: "12.0.0",
|
|
1868
|
-
version: "21.0.
|
|
1868
|
+
version: "21.0.8",
|
|
1869
1869
|
ngImport: i0,
|
|
1870
1870
|
type: HttpXsrfTokenExtractor,
|
|
1871
1871
|
providedIn: 'root',
|
|
@@ -1874,7 +1874,7 @@ class HttpXsrfTokenExtractor {
|
|
|
1874
1874
|
}
|
|
1875
1875
|
i0.ɵɵngDeclareClassMetadata({
|
|
1876
1876
|
minVersion: "12.0.0",
|
|
1877
|
-
version: "21.0.
|
|
1877
|
+
version: "21.0.8",
|
|
1878
1878
|
ngImport: i0,
|
|
1879
1879
|
type: HttpXsrfTokenExtractor,
|
|
1880
1880
|
decorators: [{
|
|
@@ -1919,7 +1919,7 @@ class HttpXsrfInterceptor {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1921
1921
|
minVersion: "12.0.0",
|
|
1922
|
-
version: "21.0.
|
|
1922
|
+
version: "21.0.8",
|
|
1923
1923
|
ngImport: i0,
|
|
1924
1924
|
type: HttpXsrfInterceptor,
|
|
1925
1925
|
deps: [],
|
|
@@ -1927,14 +1927,14 @@ class HttpXsrfInterceptor {
|
|
|
1927
1927
|
});
|
|
1928
1928
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1929
1929
|
minVersion: "12.0.0",
|
|
1930
|
-
version: "21.0.
|
|
1930
|
+
version: "21.0.8",
|
|
1931
1931
|
ngImport: i0,
|
|
1932
1932
|
type: HttpXsrfInterceptor
|
|
1933
1933
|
});
|
|
1934
1934
|
}
|
|
1935
1935
|
i0.ɵɵngDeclareClassMetadata({
|
|
1936
1936
|
minVersion: "12.0.0",
|
|
1937
|
-
version: "21.0.
|
|
1937
|
+
version: "21.0.8",
|
|
1938
1938
|
ngImport: i0,
|
|
1939
1939
|
type: HttpXsrfInterceptor,
|
|
1940
1940
|
decorators: [{
|
|
@@ -2080,7 +2080,7 @@ class HttpClientXsrfModule {
|
|
|
2080
2080
|
}
|
|
2081
2081
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2082
2082
|
minVersion: "12.0.0",
|
|
2083
|
-
version: "21.0.
|
|
2083
|
+
version: "21.0.8",
|
|
2084
2084
|
ngImport: i0,
|
|
2085
2085
|
type: HttpClientXsrfModule,
|
|
2086
2086
|
deps: [],
|
|
@@ -2088,13 +2088,13 @@ class HttpClientXsrfModule {
|
|
|
2088
2088
|
});
|
|
2089
2089
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
2090
2090
|
minVersion: "14.0.0",
|
|
2091
|
-
version: "21.0.
|
|
2091
|
+
version: "21.0.8",
|
|
2092
2092
|
ngImport: i0,
|
|
2093
2093
|
type: HttpClientXsrfModule
|
|
2094
2094
|
});
|
|
2095
2095
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
2096
2096
|
minVersion: "12.0.0",
|
|
2097
|
-
version: "21.0.
|
|
2097
|
+
version: "21.0.8",
|
|
2098
2098
|
ngImport: i0,
|
|
2099
2099
|
type: HttpClientXsrfModule,
|
|
2100
2100
|
providers: [HttpXsrfInterceptor, {
|
|
@@ -2115,7 +2115,7 @@ class HttpClientXsrfModule {
|
|
|
2115
2115
|
}
|
|
2116
2116
|
i0.ɵɵngDeclareClassMetadata({
|
|
2117
2117
|
minVersion: "12.0.0",
|
|
2118
|
-
version: "21.0.
|
|
2118
|
+
version: "21.0.8",
|
|
2119
2119
|
ngImport: i0,
|
|
2120
2120
|
type: HttpClientXsrfModule,
|
|
2121
2121
|
decorators: [{
|
|
@@ -2141,7 +2141,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2141
2141
|
class HttpClientModule {
|
|
2142
2142
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2143
2143
|
minVersion: "12.0.0",
|
|
2144
|
-
version: "21.0.
|
|
2144
|
+
version: "21.0.8",
|
|
2145
2145
|
ngImport: i0,
|
|
2146
2146
|
type: HttpClientModule,
|
|
2147
2147
|
deps: [],
|
|
@@ -2149,13 +2149,13 @@ class HttpClientModule {
|
|
|
2149
2149
|
});
|
|
2150
2150
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
2151
2151
|
minVersion: "14.0.0",
|
|
2152
|
-
version: "21.0.
|
|
2152
|
+
version: "21.0.8",
|
|
2153
2153
|
ngImport: i0,
|
|
2154
2154
|
type: HttpClientModule
|
|
2155
2155
|
});
|
|
2156
2156
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
2157
2157
|
minVersion: "12.0.0",
|
|
2158
|
-
version: "21.0.
|
|
2158
|
+
version: "21.0.8",
|
|
2159
2159
|
ngImport: i0,
|
|
2160
2160
|
type: HttpClientModule,
|
|
2161
2161
|
providers: [provideHttpClient(withInterceptorsFromDi())]
|
|
@@ -2163,7 +2163,7 @@ class HttpClientModule {
|
|
|
2163
2163
|
}
|
|
2164
2164
|
i0.ɵɵngDeclareClassMetadata({
|
|
2165
2165
|
minVersion: "12.0.0",
|
|
2166
|
-
version: "21.0.
|
|
2166
|
+
version: "21.0.8",
|
|
2167
2167
|
ngImport: i0,
|
|
2168
2168
|
type: HttpClientModule,
|
|
2169
2169
|
decorators: [{
|
|
@@ -2176,7 +2176,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2176
2176
|
class HttpClientJsonpModule {
|
|
2177
2177
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2178
2178
|
minVersion: "12.0.0",
|
|
2179
|
-
version: "21.0.
|
|
2179
|
+
version: "21.0.8",
|
|
2180
2180
|
ngImport: i0,
|
|
2181
2181
|
type: HttpClientJsonpModule,
|
|
2182
2182
|
deps: [],
|
|
@@ -2184,13 +2184,13 @@ class HttpClientJsonpModule {
|
|
|
2184
2184
|
});
|
|
2185
2185
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
2186
2186
|
minVersion: "14.0.0",
|
|
2187
|
-
version: "21.0.
|
|
2187
|
+
version: "21.0.8",
|
|
2188
2188
|
ngImport: i0,
|
|
2189
2189
|
type: HttpClientJsonpModule
|
|
2190
2190
|
});
|
|
2191
2191
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
2192
2192
|
minVersion: "12.0.0",
|
|
2193
|
-
version: "21.0.
|
|
2193
|
+
version: "21.0.8",
|
|
2194
2194
|
ngImport: i0,
|
|
2195
2195
|
type: HttpClientJsonpModule,
|
|
2196
2196
|
providers: [withJsonpSupport().ɵproviders]
|
|
@@ -2198,7 +2198,7 @@ class HttpClientJsonpModule {
|
|
|
2198
2198
|
}
|
|
2199
2199
|
i0.ɵɵngDeclareClassMetadata({
|
|
2200
2200
|
minVersion: "12.0.0",
|
|
2201
|
-
version: "21.0.
|
|
2201
|
+
version: "21.0.8",
|
|
2202
2202
|
ngImport: i0,
|
|
2203
2203
|
type: HttpClientJsonpModule,
|
|
2204
2204
|
decorators: [{
|