@esm-bundle/angular__router
Advanced tools
@@ -1,2 +0,2 @@ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.7 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.8 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| import { Location } from '@angular/common'; | ||
@@ -8,3 +8,3 @@ import { APP_BOOTSTRAP_LISTENER } from '@angular/core'; | ||
| /** | ||
| * @license Angular v15.2.7 | ||
| * @license Angular v15.2.8 | ||
| * (c) 2010-2022 Google LLC. https://angular.io/ | ||
@@ -11,0 +11,0 @@ * License: MIT |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"angular-upgrade.js","sources":["../../node_modules/@angular/router/fesm2015/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.7\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n var _a;\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = (_a = router.getCurrentNavigation()) === null || _a === void 0 ? void 0 : _a.id;\n const newStateNavigationId = newState === null || newState === void 0 ? void 0 : newState.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","getCurrentNavigation","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";;;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;AAsBG;AACU,MAAA,wBAAwB,GAAG;AACtCA,EAAAA,OAAO,EAAEC,sBAAsB;AAC/BC,EAAAA,KAAK,EAAE,IAAI;AACXC,EAAAA,UAAU,EAAEC,6BAAyE;EACrFC,IAAI,EAAE,CAACC,aAAa,CAAA;;AAGtB;;AAEG;AACG,SAAUF,6BAA6B,CAACG,SAAwB,EAAA;AACpE,EAAA,OAAO,MAAK;IACVC,iBAAiB,CAACD,SAAS,CAAC,CAAA;GAC7B,CAAA;AACH,CAAA;AAE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GC,UAAU,CAACV,MAAM,CAACa,SAAS,CAAC,CAAC,EAAEF,OAAO,CAAC,GAAGX,MAAM,CAACa,SAAS,CAACF,OAAO,GAAG,CAAC,CAAC,CAAC,CAAA;KACzE,MAAA;MACL,MAAM,+CAA+C,GAAGtB,OAAO,CAAA;AAChE,KAAA;IACD,MAAMyB,IAAI,GAAGlB,QAAQ,CAACmB,SAAS,CAACN,GAAG,CAACO,QAAQ,CAAC,CAAA;AAC7CxB,IAAAA,MAAM,CAACyB,aAAa,CAACH,IAAI,GAAGL,GAAG,CAACS,MAAM,GAAGT,GAAG,CAACU,IAAI,CAAC,CAAA;AACpD,GAAC,CAAC,CAAA;AACZ,CAAA;AAEA;;;;;;;;;;;;;;;;;AAiBG;AACH,IAAIC,MAAmC,CAAA;AACvC,SAASV,UAAU,CAACD,GAAW,EAAA;EAC7B,IAAI,CAACW,MAAM,EAAE;AACXA,IAAAA,MAAM,GAAGC,QAAQ,CAACC,aAAa,CAAC,GAAG,CAAC,CAAA;AACrC,GAAA;AAEDF,EAAAA,MAAM,CAACG,YAAY,CAAC,MAAM,EAAEd,GAAG,CAAC,CAAA;EAChCW,MAAM,CAACG,YAAY,CAAC,MAAM,EAAEH,MAAM,CAACI,IAAI,CAAC,CAAA;EAExC,OAAO;;IAELR,QAAQ,EAAE,CAAII,CAAAA,EAAAA,MAAM,CAACJ,QAAQ,CAACS,OAAO,CAAC,KAAK,EAAE,EAAE,CAAG,CAAA,CAAA;IAClDP,MAAM,EAAEE,MAAM,CAACF,MAAM;IACrBC,IAAI,EAAEC,MAAM,CAACD,IAAAA;AACd,GAAA,CAAA;AACH;;;;"} | ||
| {"version":3,"file":"angular-upgrade.js","sources":["../../node_modules/@angular/router/fesm2015/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.8\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n var _a;\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = (_a = router.getCurrentNavigation()) === null || _a === void 0 ? void 0 : _a.id;\n const newStateNavigationId = newState === null || newState === void 0 ? void 0 : newState.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","getCurrentNavigation","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";;;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;AAsBG;AACU,MAAA,wBAAwB,GAAG;AACtCA,EAAAA,OAAO,EAAEC,sBAAsB;AAC/BC,EAAAA,KAAK,EAAE,IAAI;AACXC,EAAAA,UAAU,EAAEC,6BAAyE;EACrFC,IAAI,EAAE,CAACC,aAAa,CAAA;;AAGtB;;AAEG;AACG,SAAUF,6BAA6B,CAACG,SAAwB,EAAA;AACpE,EAAA,OAAO,MAAK;IACVC,iBAAiB,CAACD,SAAS,CAAC,CAAA;GAC7B,CAAA;AACH,CAAA;AAEA;;;;;;;;;;;AAWG;AACaC,SAAAA,iBAAiB,CAACD,SAAwB,EAAEE,OAAAA,GAAyB,MAAM,EAAA;AACzF,EAAA,IAAI,CAACF,SAAS,CAACG,SAAS,EAAE;IACxB,MAAM,IAAIC,KAAK,CAAC,CAAA;;;AAGb,MAAC,CAAA,CAAA,CAAA;AACL,GAAA;EAED,MAAMC,MAAM,GAAWL,SAAS,CAACM,QAAQ,CAACC,GAAG,CAACC,MAAM,CAAC,CAAA;EACrD,MAAMC,QAAQ,GAAaT,SAAS,CAACM,QAAQ,CAACC,GAAG,CAACG,QAAQ,CAAC,CAAA;EAE3DV,SAAS,CAACG,SAAS,CAACI,GAAG,CAAC,YAAY,CAAC,CAChCI,GAAG,CACA,sBAAsB,EACtB,CAACC,KAAU,EAAEC,MAAc,EAAEC,MAAc,EAC1CC,QAA+C,EAC/CC,QAA+C,KAAI;;;;;;AAKlD,IAAA,MAAMC,mBAAmB,GAAG,CAAA,EAAA,GAAA,MAAM,CAACC,oBAAoB,EAAE,MAAE,IAAE,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAA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G,CAAC,CAAA;EAChCW,MAAM,CAACG,YAAY,CAAC,MAAM,EAAEH,MAAM,CAACI,IAAI,CAAC,CAAA;EAExC,OAAO;;IAELR,QAAQ,EAAE,CAAII,CAAAA,EAAAA,MAAM,CAACJ,QAAQ,CAACS,OAAO,CAAC,KAAK,EAAE,EAAE,CAAG,CAAA,CAAA;IAClDP,MAAM,EAAEE,MAAM,CAACF,MAAM;IACrBC,IAAI,EAAEC,MAAM,CAACD,IAAAA;AACd,GAAA,CAAA;AACH;;;;"} |
@@ -1,3 +0,3 @@ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.7 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.8 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| import{Location as t}from"@angular/common";import{APP_BOOTSTRAP_LISTENER as e}from"@angular/core";import{Router as r}from"@angular/router";import{UpgradeModule as a}from"@angular/upgrade/static";const o={provide:e,multi:!0,useFactory:n,deps:[a]};function n(t){return()=>{i(t)}}function i(e,a="path"){if(!e.$injector)throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n ");const o=e.injector.get(r),n=e.injector.get(t);e.$injector.get("$rootScope").$on("$locationChangeStart",((t,e,r,i,c)=>{var l;const u=null===(l=o.getCurrentNavigation())||void 0===l?void 0:l.id,p=null==i?void 0:i.navigationId;if(void 0!==p&&p===u)return;let h;if("path"===a)h=s(e);else{if("hash"!==a)throw"Invalid URLType passed to setUpLocationSync: "+a;{const t=e.indexOf("#");h=s(e.substring(0,t)+e.substring(t+1))}}const d=n.normalize(h.pathname);o.navigateByUrl(d+h.search+h.hash)}))}let c;function s(t){return c||(c=document.createElement("a")),c.setAttribute("href",t),c.setAttribute("href",c.href),{pathname:`/${c.pathname.replace(/^\//,"")}`,search:c.search,hash:c.hash}}export{o as RouterUpgradeInitializer,n as locationSyncBootstrapListener,i as setUpLocationSync}; | ||
| //# sourceMappingURL=angular-upgrade.min.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"angular-upgrade.min.js","sources":["../../node_modules/@angular/router/fesm2015/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.7\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n var _a;\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = (_a = router.getCurrentNavigation()) === null || _a === void 0 ? void 0 : _a.id;\n const newStateNavigationId = newState === null || newState === void 0 ? void 0 : newState.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["RouterUpgradeInitializer","provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","_a","getCurrentNavigation","id","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";mMAoCa,MAAAA,EAA2B,CACtCC,QAASC,EACTC,OAAO,EACPC,WAAYC,EACZC,KAAM,CAACC,IAMH,SAAUF,EAA8BG,GAC5C,MAAO,KACLC,EAAkBD,IAgBNC,SAAAA,EAAkBD,EAA0BE,EAAyB,QACnF,IAAKF,EAAUG,UACb,MAAM,IAAIC,MAAM,iNAMlB,MAAMC,EAAiBL,EAAUM,SAASC,IAAIC,GACxCC,EAAqBT,EAAUM,SAASC,IAAIG,GAElDV,EAAUG,UAAUI,IAAI,cACnBI,IACG,wBACA,CAACC,EAAYC,EAAgBC,EAC5BC,EACAC,WAKC,MAAMC,EAAqD,QAA/BC,EAAAb,EAAOc,8BAA0B,IAAAD,OAAA,EAAAA,EAAAE,GACvDC,EAAuBN,MAAAA,OAAA,EAAAA,EAAUO,aACvC,QAA6BC,IAAzBF,GACAA,IAAyBJ,EAC3B,OAGF,IAAIO,EACJ,GAAgB,SAAZtB,EACFsB,EAAMC,EAAWZ,OACZ,CAAA,GAAgB,SAAZX,EAKT,KAAM,gDAAkDA,EAL3B,CAE7B,MAAMwB,EAAUb,EAAOc,QAAQ,KAC/BH,EAAMC,EAAWZ,EAAOe,UAAU,EAAGF,GAAWb,EAAOe,UAAUF,EAAU,KAI7E,MAAMG,EAAOpB,EAASqB,UAAUN,EAAIO,UACpC1B,EAAO2B,cAAcH,EAAOL,EAAIS,OAAST,EAAIU,SAsBzD,IAAIC,EACJ,SAASV,EAAWD,GAQlB,OAPKW,IACHA,EAASC,SAASC,cAAc,MAGlCF,EAAOG,aAAa,OAAQd,GAC5BW,EAAOG,aAAa,OAAQH,EAAOI,MAE5B,CAELR,SAAU,IAAII,EAAOJ,SAASS,QAAQ,MAAO,MAC7CP,OAAQE,EAAOF,OACfC,KAAMC,EAAOD"} | ||
| {"version":3,"file":"angular-upgrade.min.js","sources":["../../node_modules/@angular/router/fesm2015/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.8\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n var _a;\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = (_a = router.getCurrentNavigation()) === null || _a === void 0 ? void 0 : _a.id;\n const newStateNavigationId = newState === null || newState === void 0 ? void 0 : newState.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["RouterUpgradeInitializer","provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","_a","getCurrentNavigation","id","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";mMAoCa,MAAAA,EAA2B,CACtCC,QAASC,EACTC,OAAO,EACPC,WAAYC,EACZC,KAAM,CAACC,IAMH,SAAUF,EAA8BG,GAC5C,MAAO,KACLC,EAAkBD,IAgBNC,SAAAA,EAAkBD,EAA0BE,EAAyB,QACnF,IAAKF,EAAUG,UACb,MAAM,IAAIC,MAAM,iNAMlB,MAAMC,EAAiBL,EAAUM,SAASC,IAAIC,GACxCC,EAAqBT,EAAUM,SAASC,IAAIG,GAElDV,EAAUG,UAAUI,IAAI,cACnBI,IACG,wBACA,CAACC,EAAYC,EAAgBC,EAC5BC,EACAC,WAKC,MAAMC,EAAqD,QAA/BC,EAAAb,EAAOc,8BAA0B,IAAAD,OAAA,EAAAA,EAAAE,GACvDC,EAAuBN,MAAAA,OAAA,EAAAA,EAAUO,aACvC,QAA6BC,IAAzBF,GACAA,IAAyBJ,EAC3B,OAGF,IAAIO,EACJ,GAAgB,SAAZtB,EACFsB,EAAMC,EAAWZ,OACZ,CAAA,GAAgB,SAAZX,EAKT,KAAM,gDAAkDA,EAL3B,CAE7B,MAAMwB,EAAUb,EAAOc,QAAQ,KAC/BH,EAAMC,EAAWZ,EAAOe,UAAU,EAAGF,GAAWb,EAAOe,UAAUF,EAAU,KAI7E,MAAMG,EAAOpB,EAASqB,UAAUN,EAAIO,UACpC1B,EAAO2B,cAAcH,EAAOL,EAAIS,OAAST,EAAIU,SAsBzD,IAAIC,EACJ,SAASV,EAAWD,GAQlB,OAPKW,IACHA,EAASC,SAASC,cAAc,MAGlCF,EAAOG,aAAa,OAAQd,GAC5BW,EAAOG,aAAa,OAAQH,EAAOI,MAE5B,CAELR,SAAU,IAAII,EAAOJ,SAASS,QAAQ,MAAO,MAC7CP,OAAQE,EAAOF,OACfC,KAAMC,EAAOD"} |
+5
-5
| { | ||
| "name": "@esm-bundle/angular__router", | ||
| "version": "15.2.7", | ||
| "version": "15.2.8", | ||
| "description": "ESM and SystemJS bundles for @angular/router", | ||
@@ -46,7 +46,7 @@ "type": "module", | ||
| "@angular/common": "13.3.1", | ||
| "@angular/compiler": "15.2.7", | ||
| "@angular/compiler-cli": "15.2.7", | ||
| "@angular/compiler": "15.2.8", | ||
| "@angular/compiler-cli": "15.2.8", | ||
| "@angular/core": "13.3.1", | ||
| "@angular/router": "15.2.7", | ||
| "@angular/upgrade": "15.2.7", | ||
| "@angular/router": "15.2.8", | ||
| "@angular/upgrade": "15.2.8", | ||
| "@rollup/plugin-babel": "6.0.3", | ||
@@ -53,0 +53,0 @@ "concurrently": "8.0.1", |
@@ -1,2 +0,2 @@ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.7 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.8 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| System.register(['@angular/common', '@angular/core', '@angular/router', '@angular/upgrade/static'], (function (exports) { | ||
@@ -23,3 +23,3 @@ 'use strict'; | ||
| /** | ||
| * @license Angular v15.2.7 | ||
| * @license Angular v15.2.8 | ||
| * (c) 2010-2022 Google LLC. https://angular.io/ | ||
@@ -26,0 +26,0 @@ * License: MIT |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"angular-upgrade.js","sources":["../../../node_modules/@angular/router/fesm2015/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.7\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n var _a;\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = (_a = router.getCurrentNavigation()) === null || _a === void 0 ? void 0 : _a.id;\n const newStateNavigationId = newState === null || newState === void 0 ? void 0 : newState.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","getCurrentNavigation","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;YAaA;;;;;;;;;;;;;;;;;;;;;;YAsBG;AACU,kBAAA,wBAAwB,uCAAG;YACtCA,EAAAA,OAAO,EAAEC,sBAAsB;YAC/BC,EAAAA,KAAK,EAAE,IAAI;YACXC,EAAAA,UAAU,EAAEC,6BAAyE;cACrFC,IAAI,EAAE,CAACC,aAAa,CAAA;;YAGtB;;YAEG;YACG,SAAUF,6BAA6B,CAACG,SAAwB,EAAA;YACpE,EAAA,OAAO,MAAK;gBACVC,iBAAiB,CAACD,SAAS,CAAC,CAAA;eAC7B,CAAA;YACH,CAAA;YAEA;;;;;;;;;;;YAWG;YACaC,SAAAA,iBAAiB,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C,CAAC,EAAEF,OAAO,CAAC,GAAGX,MAAM,CAACa,SAAS,CAACF,OAAO,GAAG,CAAC,CAAC,CAAC,CAAA;iBACzE,MAAA;kBACL,MAAM,+CAA+C,GAAGtB,OAAO,CAAA;YAChE,KAAA;gBACD,MAAMyB,IAAI,GAAGlB,QAAQ,CAACmB,SAAS,CAACN,GAAG,CAACO,QAAQ,CAAC,CAAA;YAC7CxB,IAAAA,MAAM,CAACyB,aAAa,CAACH,IAAI,GAAGL,GAAG,CAACS,MAAM,GAAGT,GAAG,CAACU,IAAI,CAAC,CAAA;YACpD,GAAC,CAAC,CAAA;YACZ,CAAA;YAEA;;;;;;;;;;;;;;;;;YAiBG;YACH,IAAIC,MAAmC,CAAA;YACvC,SAASV,UAAU,CAACD,GAAW,EAAA;cAC7B,IAAI,CAACW,MAAM,EAAE;YACXA,IAAAA,MAAM,GAAGC,QAAQ,CAACC,aAAa,CAAC,GAAG,CAAC,CAAA;YACrC,GAAA;YAEDF,EAAAA,MAAM,CAACG,YAAY,CAAC,MAAM,EAAEd,GAAG,CAAC,CAAA;cAChCW,MAAM,CAACG,YAAY,CAAC,MAAM,EAAEH,MAAM,CAACI,IAAI,CAAC,CAAA;cAExC,OAAO;;gBAELR,QAAQ,EAAE,CAAII,CAAAA,EAAAA,MAAM,CAACJ,QAAQ,CAACS,OAAO,CAAC,KAAK,EAAE,EAAE,CAAG,CAAA,CAAA;gBAClDP,MAAM,EAAEE,MAAM,CAACF,MAAM;gBACrBC,IAAI,EAAEC,MAAM,CAACD,IAAAA;YACd,GAAA,CAAA;YACH;;;;;;;;"} | ||
| {"version":3,"file":"angular-upgrade.js","sources":["../../../node_modules/@angular/router/fesm2015/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.8\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n var _a;\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = (_a = router.getCurrentNavigation()) === null || _a === void 0 ? void 0 : _a.id;\n const newStateNavigationId = newState === null || newState === void 0 ? void 0 : newState.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","getCurrentNavigation","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;YAaA;;;;;;;;;;;;;;;;;;;;;;YAsBG;AACU,kBAAA,wBAAwB,uCAAG;YACtCA,EAAAA,OAAO,EAAEC,sBAAsB;YAC/BC,EAAAA,KAAK,EAAE,IAAI;YACXC,EAAAA,UAAU,EAAEC,6BAAyE;cACrFC,IAAI,EAAE,CAACC,aAAa,CAAA;;YAGtB;;YAEG;YACG,SAAUF,6BAA6B,CAACG,SAAwB,EAAA;YACpE,EAAA,OAAO,MAAK;gBACVC,iBAAiB,CAACD,SAAS,CAAC,CAAA;eAC7B,CAAA;YACH,CAAA;YAEA;;;;;;;;;;;YAWG;YACaC,SAAAA,iBAAiB,CAACD,SAAwB,EAAEE,OAAAA,GAAyB,MAAM,EAAA;YACzF,EAAA,IAAI,CAACF,SAAS,CAACG,SAAS,EAAE;gBACxB,MAAM,IAAIC,KAAK,CAAC,CAAA;;;AAGb,MAAC,CAAA,CAAA,CAAA;YACL,GAAA;cAED,MAAMC,MAAM,GAAWL,SAAS,CAACM,QAAQ,CAACC,GAAG,CAACC,MAAM,CAAC,CAAA;cACrD,MAAMC,QAAQ,GAAaT,SAAS,CAACM,QAAQ,CAACC,GAAG,CAACG,QAAQ,CAAC,CAAA;cAE3DV,SAAS,CAACG,SAAS,CAACI,GAAG,CAAC,YAAY,CAAC,CAChCI,GAAG,CACA,sBAAsB,EACtB,CAACC,KAAU,EAAEC,MAAc,EAAEC,MAAc,EAC1CC,QAA+C,EAC/CC,QAA+C,KAAI;;;;;;YAKlD,IAAA,MAAMC,mBAAmB,GAAG,CAAA,EAAA,GAAA,MAAM,CAACC,oBAAoB,EAAE,MAAE,IAAE,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA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d,GAAG,CAAC,CAAA;cAChCW,MAAM,CAACG,YAAY,CAAC,MAAM,EAAEH,MAAM,CAACI,IAAI,CAAC,CAAA;cAExC,OAAO;;gBAELR,QAAQ,EAAE,CAAII,CAAAA,EAAAA,MAAM,CAACJ,QAAQ,CAACS,OAAO,CAAC,KAAK,EAAE,EAAE,CAAG,CAAA,CAAA;gBAClDP,MAAM,EAAEE,MAAM,CAACF,MAAM;gBACrBC,IAAI,EAAEC,MAAM,CAACD,IAAAA;YACd,GAAA,CAAA;YACH;;;;;;;;"} |
@@ -1,3 +0,3 @@ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.7 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.8 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| System.register(["@angular/common","@angular/core","@angular/router","@angular/upgrade/static"],(function(t){"use strict";var e,n,r,a;return{setters:[function(t){e=t.Location},function(t){n=t.APP_BOOTSTRAP_LISTENER},function(t){r=t.Router},function(t){a=t.UpgradeModule}],execute:function(){t({locationSyncBootstrapListener:o,setUpLocationSync:i});t("RouterUpgradeInitializer",{provide:n,multi:!0,useFactory:o,deps:[a]});function o(t){return()=>{i(t)}}function i(t,n="path"){if(!t.$injector)throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n ");const a=t.injector.get(r),o=t.injector.get(e);t.$injector.get("$rootScope").$on("$locationChangeStart",((t,e,r,i,c)=>{var s;const l=null===(s=a.getCurrentNavigation())||void 0===s?void 0:s.id,d=null==i?void 0:i.navigationId;if(void 0!==d&&d===l)return;let p;if("path"===n)p=u(e);else{if("hash"!==n)throw"Invalid URLType passed to setUpLocationSync: "+n;{const t=e.indexOf("#");p=u(e.substring(0,t)+e.substring(t+1))}}const h=o.normalize(p.pathname);a.navigateByUrl(h+p.search+p.hash)}))}let c;function u(t){return c||(c=document.createElement("a")),c.setAttribute("href",t),c.setAttribute("href",c.href),{pathname:`/${c.pathname.replace(/^\//,"")}`,search:c.search,hash:c.hash}}}}})); | ||
| //# sourceMappingURL=angular-upgrade.min.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"angular-upgrade.min.js","sources":["../../../node_modules/@angular/router/fesm2015/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.7\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n var _a;\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = (_a = router.getCurrentNavigation()) === null || _a === void 0 ? void 0 : _a.id;\n const newStateNavigationId = newState === null || newState === void 0 ? void 0 : newState.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["exports","provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","_a","getCurrentNavigation","id","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";4VAoCwCA,EAAA,2BAAA,CACtCC,QAASC,EACTC,OAAO,EACPC,WAAYC,EACZC,KAAM,CAACC,KAMH,SAAUF,EAA8BG,GAC5C,MAAO,KACLC,EAAkBD,IAgBNC,SAAAA,EAAkBD,EAA0BE,EAAyB,QACnF,IAAKF,EAAUG,UACb,MAAM,IAAIC,MAAM,iNAMlB,MAAMC,EAAiBL,EAAUM,SAASC,IAAIC,GACxCC,EAAqBT,EAAUM,SAASC,IAAIG,GAElDV,EAAUG,UAAUI,IAAI,cACnBI,IACG,wBACA,CAACC,EAAYC,EAAgBC,EAC5BC,EACAC,WAKC,MAAMC,EAAqD,QAA/BC,EAAAb,EAAOc,8BAA0B,IAAAD,OAAA,EAAAA,EAAAE,GACvDC,EAAuBN,MAAAA,OAAA,EAAAA,EAAUO,aACvC,QAA6BC,IAAzBF,GACAA,IAAyBJ,EAC3B,OAGF,IAAIO,EACJ,GAAgB,SAAZtB,EACFsB,EAAMC,EAAWZ,OACZ,CAAA,GAAgB,SAAZX,EAKT,KAAM,gDAAkDA,EAL3B,CAE7B,MAAMwB,EAAUb,EAAOc,QAAQ,KAC/BH,EAAMC,EAAWZ,EAAOe,UAAU,EAAGF,GAAWb,EAAOe,UAAUF,EAAU,KAI7E,MAAMG,EAAOpB,EAASqB,UAAUN,EAAIO,UACpC1B,EAAO2B,cAAcH,EAAOL,EAAIS,OAAST,EAAIU,SAsBzD,IAAIC,EACJ,SAASV,EAAWD,GAQlB,OAPKW,IACHA,EAASC,SAASC,cAAc,MAGlCF,EAAOG,aAAa,OAAQd,GAC5BW,EAAOG,aAAa,OAAQH,EAAOI,MAE5B,CAELR,SAAU,IAAII,EAAOJ,SAASS,QAAQ,MAAO,MAC7CP,OAAQE,EAAOF,OACfC,KAAMC,EAAOD"} | ||
| {"version":3,"file":"angular-upgrade.min.js","sources":["../../../node_modules/@angular/router/fesm2015/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.8\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n var _a;\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = (_a = router.getCurrentNavigation()) === null || _a === void 0 ? void 0 : _a.id;\n const newStateNavigationId = newState === null || newState === void 0 ? void 0 : newState.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["exports","provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","_a","getCurrentNavigation","id","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";4VAoCwCA,EAAA,2BAAA,CACtCC,QAASC,EACTC,OAAO,EACPC,WAAYC,EACZC,KAAM,CAACC,KAMH,SAAUF,EAA8BG,GAC5C,MAAO,KACLC,EAAkBD,IAgBNC,SAAAA,EAAkBD,EAA0BE,EAAyB,QACnF,IAAKF,EAAUG,UACb,MAAM,IAAIC,MAAM,iNAMlB,MAAMC,EAAiBL,EAAUM,SAASC,IAAIC,GACxCC,EAAqBT,EAAUM,SAASC,IAAIG,GAElDV,EAAUG,UAAUI,IAAI,cACnBI,IACG,wBACA,CAACC,EAAYC,EAAgBC,EAC5BC,EACAC,WAKC,MAAMC,EAAqD,QAA/BC,EAAAb,EAAOc,8BAA0B,IAAAD,OAAA,EAAAA,EAAAE,GACvDC,EAAuBN,MAAAA,OAAA,EAAAA,EAAUO,aACvC,QAA6BC,IAAzBF,GACAA,IAAyBJ,EAC3B,OAGF,IAAIO,EACJ,GAAgB,SAAZtB,EACFsB,EAAMC,EAAWZ,OACZ,CAAA,GAAgB,SAAZX,EAKT,KAAM,gDAAkDA,EAL3B,CAE7B,MAAMwB,EAAUb,EAAOc,QAAQ,KAC/BH,EAAMC,EAAWZ,EAAOe,UAAU,EAAGF,GAAWb,EAAOe,UAAUF,EAAU,KAI7E,MAAMG,EAAOpB,EAASqB,UAAUN,EAAIO,UACpC1B,EAAO2B,cAAcH,EAAOL,EAAIS,OAAST,EAAIU,SAsBzD,IAAIC,EACJ,SAASV,EAAWD,GAQlB,OAPKW,IACHA,EAASC,SAASC,cAAc,MAGlCF,EAAOG,aAAa,OAAQd,GAC5BW,EAAOG,aAAa,OAAQH,EAAOI,MAE5B,CAELR,SAAU,IAAII,EAAOJ,SAASS,QAAQ,MAAO,MAC7CP,OAAQE,EAAOF,OACfC,KAAMC,EAAOD"} |
@@ -1,2 +0,2 @@ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.7 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.8 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| System.register(['@angular/common', '@angular/core', '@angular/router', '@angular/upgrade/static'], (function (exports) { | ||
@@ -23,3 +23,3 @@ 'use strict'; | ||
| /** | ||
| * @license Angular v15.2.7 | ||
| * @license Angular v15.2.8 | ||
| * (c) 2010-2022 Google LLC. https://angular.io/ | ||
@@ -26,0 +26,0 @@ * License: MIT |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"angular-upgrade.js","sources":["../../../node_modules/@angular/router/fesm2020/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.7\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = router.getCurrentNavigation()?.id;\n const newStateNavigationId = newState?.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","getCurrentNavigation","id","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;YAaA;;;;;;;;;;;;;;;;;;;;;;YAsBG;AACU,kBAAA,wBAAwB,uCAAG;YACtCA,EAAAA,OAAO,EAAEC,sBAAsB;YAC/BC,EAAAA,KAAK,EAAE,IAAI;YACXC,EAAAA,UAAU,EAAEC,6BAAyE;cACrFC,IAAI,EAAE,CAACC,aAAa,CAAA;;YAGtB;;YAEG;YACG,SAAUF,6BAA6B,CAACG,SAAwB,EAAA;YACpE,EAAA,OAAO,MAAK;gBACVC,iBAAiB,CAACD,SAAS,CAAC,CAAA;eAC7B,CAAA;YACH,CAAA;YAEA;;;;;;;;;;;YAWG;YACaC,SAAAA,iBAAiB,CAACD,SAAwB,EAAEE,OAAAA,GAAyB,MAAM,EAAA;YACzF,EAAA,IAAI,CAACF,SAAS,CAACG,SAAS,EAAE;gBACxB,MAAM,IAAIC,KAAK,CAAC,CAAA;;;AAGb,MAAC,CAAA,CAAA,CAAA;YACL,GAAA;cAED,MAAMC,MAAM,GAAWL,SAAS,CAACM,QAAQ,CAACC,GAAG,CAACC,MAAM,CAAC,CAAA;cACrD,MAAMC,QAAQ,GAAaT,SAAS,CAACM,QAAQ,CAACC,GAAG,CAACG,QAAQ,CAAC,CAAA;cAE3DV,SAAS,CAACG,SAAS,CAACI,GAAG,CAAC,YAAY,CAAC,CAChCI,GAAG,CACA,sBAAsB,EACtB,CAACC,KAAU,EAAEC,MAAc,EAAEC,M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M,CAACG,YAAY,CAAC,MAAM,EAAEd,GAAG,CAAC,CAAA;cAChCW,MAAM,CAACG,YAAY,CAAC,MAAM,EAAEH,MAAM,CAACI,IAAI,CAAC,CAAA;cAExC,OAAO;;gBAELR,QAAQ,EAAE,CAAII,CAAAA,EAAAA,MAAM,CAACJ,QAAQ,CAACS,OAAO,CAAC,KAAK,EAAE,EAAE,CAAG,CAAA,CAAA;gBAClDP,MAAM,EAAEE,MAAM,CAACF,MAAM;gBACrBC,IAAI,EAAEC,MAAM,CAACD,IAAAA;YACd,GAAA,CAAA;YACH;;;;;;;;"} | ||
| {"version":3,"file":"angular-upgrade.js","sources":["../../../node_modules/@angular/router/fesm2020/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.8\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = router.getCurrentNavigation()?.id;\n const newStateNavigationId = newState?.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","getCurrentNavigation","id","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;YAaA;;;;;;;;;;;;;;;;;;;;;;YAsBG;AACU,kBAAA,wBAAwB,uCAAG;YACtCA,EAAAA,OAAO,EAAEC,sBAAsB;YAC/BC,EAAAA,KAAK,EAAE,IAAI;YACXC,EAAAA,UAAU,EAAEC,6BAAyE;cACrFC,IAAI,EAAE,CAACC,aAAa,CAAA;;YAGtB;;YAEG;YACG,SAAUF,6BAA6B,CAACG,SAAwB,EAAA;YACpE,EAAA,OAAO,MAAK;gBACVC,iBAAiB,CAACD,SAAS,CAAC,CAAA;eAC7B,CAAA;YACH,CAAA;YAEA;;;;;;;;;;;YAWG;YACaC,SAAAA,iBAAiB,CAACD,SAAwB,EAAEE,OAAAA,GAAyB,MAAM,EAAA;YACzF,EAAA,IAAI,CAACF,SAAS,CAACG,SAAS,EAA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AC7CzB,IAAAA,MAAM,CAAC0B,aAAa,CAACH,IAAI,GAAGL,GAAG,CAACS,MAAM,GAAGT,GAAG,CAACU,IAAI,CAAC,CAAA;YACpD,GAAC,CAAC,CAAA;YACZ,CAAA;YAEA;;;;;;;;;;;;;;;;;YAiBG;YACH,IAAIC,MAAmC,CAAA;YACvC,SAASV,UAAU,CAACD,GAAW,EAAA;cAC7B,IAAI,CAACW,MAAM,EAAE;YACXA,IAAAA,MAAM,GAAGC,QAAQ,CAACC,aAAa,CAAC,GAAG,CAAC,CAAA;YACrC,GAAA;YAEDF,EAAAA,MAAM,CAACG,YAAY,CAAC,MAAM,EAAEd,GAAG,CAAC,CAAA;cAChCW,MAAM,CAACG,YAAY,CAAC,MAAM,EAAEH,MAAM,CAACI,IAAI,CAAC,CAAA;cAExC,OAAO;;gBAELR,QAAQ,EAAE,CAAII,CAAAA,EAAAA,MAAM,CAACJ,QAAQ,CAACS,OAAO,CAAC,KAAK,EAAE,EAAE,CAAG,CAAA,CAAA;gBAClDP,MAAM,EAAEE,MAAM,CAACF,MAAM;gBACrBC,IAAI,EAAEC,MAAM,CAACD,IAAAA;YACd,GAAA,CAAA;YACH;;;;;;;;"} |
@@ -1,3 +0,3 @@ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.7 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| /* esm-bundle - @angular/router/upgrade@15.2.8 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */ | ||
| System.register(["@angular/common","@angular/core","@angular/router","@angular/upgrade/static"],(function(t){"use strict";var e,n,r,a;return{setters:[function(t){e=t.Location},function(t){n=t.APP_BOOTSTRAP_LISTENER},function(t){r=t.Router},function(t){a=t.UpgradeModule}],execute:function(){t({locationSyncBootstrapListener:o,setUpLocationSync:i});t("RouterUpgradeInitializer",{provide:n,multi:!0,useFactory:o,deps:[a]});function o(t){return()=>{i(t)}}function i(t,n="path"){if(!t.$injector)throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n ");const a=t.injector.get(r),o=t.injector.get(e);t.$injector.get("$rootScope").$on("$locationChangeStart",((t,e,r,i,c)=>{const u=a.getCurrentNavigation()?.id,l=i?.navigationId;if(void 0!==l&&l===u)return;let p;if("path"===n)p=s(e);else{if("hash"!==n)throw"Invalid URLType passed to setUpLocationSync: "+n;{const t=e.indexOf("#");p=s(e.substring(0,t)+e.substring(t+1))}}const h=o.normalize(p.pathname);a.navigateByUrl(h+p.search+p.hash)}))}let c;function s(t){return c||(c=document.createElement("a")),c.setAttribute("href",t),c.setAttribute("href",c.href),{pathname:`/${c.pathname.replace(/^\//,"")}`,search:c.search,hash:c.hash}}}}})); | ||
| //# sourceMappingURL=angular-upgrade.min.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"angular-upgrade.min.js","sources":["../../../node_modules/@angular/router/fesm2020/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.7\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = router.getCurrentNavigation()?.id;\n const newStateNavigationId = newState?.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["exports","provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","getCurrentNavigation","id","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";4VAoCwCA,EAAA,2BAAA,CACtCC,QAASC,EACTC,OAAO,EACPC,WAAYC,EACZC,KAAM,CAACC,KAMH,SAAUF,EAA8BG,GAC5C,MAAO,KACLC,EAAkBD,IAgBNC,SAAAA,EAAkBD,EAA0BE,EAAyB,QACnF,IAAKF,EAAUG,UACb,MAAM,IAAIC,MAAM,iNAMlB,MAAMC,EAAiBL,EAAUM,SAASC,IAAIC,GACxCC,EAAqBT,EAAUM,SAASC,IAAIG,GAElDV,EAAUG,UAAUI,IAAI,cACnBI,IACG,wBACA,CAACC,EAAYC,EAAgBC,EAC5BC,EACAC,KAKC,MAAMC,EAAsBZ,EAAOa,wBAAwBC,GACrDC,EAAuBL,GAAUM,aACvC,QAA6BC,IAAzBF,GACAA,IAAyBH,EAC3B,OAGF,IAAIM,EACJ,GAAgB,SAAZrB,EACFqB,EAAMC,EAAWX,OACZ,CAAA,GAAgB,SAAZX,EAKT,KAAM,gDAAkDA,EAL3B,CAE7B,MAAMuB,EAAUZ,EAAOa,QAAQ,KAC/BH,EAAMC,EAAWX,EAAOc,UAAU,EAAGF,GAAWZ,EAAOc,UAAUF,EAAU,KAI7E,MAAMG,EAAOnB,EAASoB,UAAUN,EAAIO,UACpCzB,EAAO0B,cAAcH,EAAOL,EAAIS,OAAST,EAAIU,SAsBzD,IAAIC,EACJ,SAASV,EAAWD,GAQlB,OAPKW,IACHA,EAASC,SAASC,cAAc,MAGlCF,EAAOG,aAAa,OAAQd,GAC5BW,EAAOG,aAAa,OAAQH,EAAOI,MAE5B,CAELR,SAAU,IAAII,EAAOJ,SAASS,QAAQ,MAAO,MAC7CP,OAAQE,EAAOF,OACfC,KAAMC,EAAOD"} | ||
| {"version":3,"file":"angular-upgrade.min.js","sources":["../../../node_modules/@angular/router/fesm2020/upgrade.mjs"],"sourcesContent":["/**\n * @license Angular v15.2.8\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Location } from '@angular/common';\nimport { APP_BOOTSTRAP_LISTENER } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UpgradeModule } from '@angular/upgrade/static';\n\n/**\n * Creates an initializer that sets up `ngRoute` integration\n * along with setting up the Angular router.\n *\n * @usageNotes\n *\n * <code-example language=\"typescript\">\n * @NgModule({\n * imports: [\n * RouterModule.forRoot(SOME_ROUTES),\n * UpgradeModule\n * ],\n * providers: [\n * RouterUpgradeInitializer\n * ]\n * })\n * export class AppModule {\n * ngDoBootstrap() {}\n * }\n * </code-example>\n *\n * @publicApi\n */\nconst RouterUpgradeInitializer = {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: locationSyncBootstrapListener,\n deps: [UpgradeModule]\n};\n/**\n * @internal\n */\nfunction locationSyncBootstrapListener(ngUpgrade) {\n return () => {\n setUpLocationSync(ngUpgrade);\n };\n}\n/**\n * Sets up a location change listener to trigger `history.pushState`.\n * Works around the problem that `onPopState` does not trigger `history.pushState`.\n * Must be called *after* calling `UpgradeModule.bootstrap`.\n *\n * @param ngUpgrade The upgrade NgModule.\n * @param urlType The location strategy.\n * @see `HashLocationStrategy`\n * @see `PathLocationStrategy`\n *\n * @publicApi\n */\nfunction setUpLocationSync(ngUpgrade, urlType = 'path') {\n if (!ngUpgrade.$injector) {\n throw new Error(`\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n `);\n }\n const router = ngUpgrade.injector.get(Router);\n const location = ngUpgrade.injector.get(Location);\n ngUpgrade.$injector.get('$rootScope')\n .$on('$locationChangeStart', (event, newUrl, oldUrl, newState, oldState) => {\n // Navigations coming from Angular router have a navigationId state\n // property. Don't trigger Angular router navigation again if it is\n // caused by a URL change from the current Angular router\n // navigation.\n const currentNavigationId = router.getCurrentNavigation()?.id;\n const newStateNavigationId = newState?.navigationId;\n if (newStateNavigationId !== undefined &&\n newStateNavigationId === currentNavigationId) {\n return;\n }\n let url;\n if (urlType === 'path') {\n url = resolveUrl(newUrl);\n }\n else if (urlType === 'hash') {\n // Remove the first hash from the URL\n const hashIdx = newUrl.indexOf('#');\n url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1));\n }\n else {\n throw 'Invalid URLType passed to setUpLocationSync: ' + urlType;\n }\n const path = location.normalize(url.pathname);\n router.navigateByUrl(path + url.search + url.hash);\n });\n}\n/**\n * Normalizes and parses a URL.\n *\n * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of\n * the application document.\n * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related\n * properties are all populated to reflect the normalized URL.\n *\n * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing\n * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign\n * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.)\n * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL\n * and assigning it again. This correctly populates all properties.\n *\n * See\n * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33\n * for more info.\n */\nlet anchor;\nfunction resolveUrl(url) {\n if (!anchor) {\n anchor = document.createElement('a');\n }\n anchor.setAttribute('href', url);\n anchor.setAttribute('href', anchor.href);\n return {\n // IE does not start `pathname` with `/` like other browsers.\n pathname: `/${anchor.pathname.replace(/^\\//, '')}`,\n search: anchor.search,\n hash: anchor.hash\n };\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { RouterUpgradeInitializer, locationSyncBootstrapListener, setUpLocationSync };\n//# sourceMappingURL=upgrade.mjs.map\n"],"names":["exports","provide","APP_BOOTSTRAP_LISTENER","multi","useFactory","locationSyncBootstrapListener","deps","UpgradeModule","ngUpgrade","setUpLocationSync","urlType","$injector","Error","router","injector","get","Router","location","Location","$on","event","newUrl","oldUrl","newState","oldState","currentNavigationId","getCurrentNavigation","id","newStateNavigationId","navigationId","undefined","url","resolveUrl","hashIdx","indexOf","substring","path","normalize","pathname","navigateByUrl","search","hash","anchor","document","createElement","setAttribute","href","replace"],"mappings":";4VAoCwCA,EAAA,2BAAA,CACtCC,QAASC,EACTC,OAAO,EACPC,WAAYC,EACZC,KAAM,CAACC,KAMH,SAAUF,EAA8BG,GAC5C,MAAO,KACLC,EAAkBD,IAgBNC,SAAAA,EAAkBD,EAA0BE,EAAyB,QACnF,IAAKF,EAAUG,UACb,MAAM,IAAIC,MAAM,iNAMlB,MAAMC,EAAiBL,EAAUM,SAASC,IAAIC,GACxCC,EAAqBT,EAAUM,SAASC,IAAIG,GAElDV,EAAUG,UAAUI,IAAI,cACnBI,IACG,wBACA,CAACC,EAAYC,EAAgBC,EAC5BC,EACAC,KAKC,MAAMC,EAAsBZ,EAAOa,wBAAwBC,GACrDC,EAAuBL,GAAUM,aACvC,QAA6BC,IAAzBF,GACAA,IAAyBH,EAC3B,OAGF,IAAIM,EACJ,GAAgB,SAAZrB,EACFqB,EAAMC,EAAWX,OACZ,CAAA,GAAgB,SAAZX,EAKT,KAAM,gDAAkDA,EAL3B,CAE7B,MAAMuB,EAAUZ,EAAOa,QAAQ,KAC/BH,EAAMC,EAAWX,EAAOc,UAAU,EAAGF,GAAWZ,EAAOc,UAAUF,EAAU,KAI7E,MAAMG,EAAOnB,EAASoB,UAAUN,EAAIO,UACpCzB,EAAO0B,cAAcH,EAAOL,EAAIS,OAAST,EAAIU,SAsBzD,IAAIC,EACJ,SAASV,EAAWD,GAQlB,OAPKW,IACHA,EAASC,SAASC,cAAc,MAGlCF,EAAOG,aAAa,OAAQd,GAC5BW,EAAOG,aAAa,OAAQH,EAAOI,MAE5B,CAELR,SAAU,IAAII,EAAOJ,SAASS,QAAQ,MAAO,MAC7CP,OAAQE,EAAOF,OACfC,KAAMC,EAAOD"} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
3201422
-0.11%23352
-0.02%