avancement planning

This commit is contained in:
2026-05-26 11:58:39 +02:00
parent 619a2b240a
commit 150b97cd2e
4892 changed files with 99214 additions and 429382 deletions
Generated Vendored
-16
View File
@@ -1,16 +0,0 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../glob/dist/esm/bin.mjs" "$@"
else
exec node "$basedir/../glob/dist/esm/bin.mjs" "$@"
fi
Generated Vendored
-16
View File
@@ -1,16 +0,0 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@"
else
exec node "$basedir/../mkdirp/bin/cmd.js" "$@"
fi
+142 -1779
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "@angular-devkit/architect", "name": "@angular-devkit/architect",
"version": "0.2003.10", "version": "0.2003.26",
"description": "Angular Build Facade", "description": "Angular Build Facade",
"experimental": true, "experimental": true,
"main": "src/index.js", "main": "src/index.js",
"typings": "src/index.d.ts", "typings": "src/index.d.ts",
"dependencies": { "dependencies": {
"@angular-devkit/core": "20.3.10", "@angular-devkit/core": "20.3.26",
"rxjs": "7.8.2" "rxjs": "7.8.2"
}, },
"builders": "./builders/builders.json", "builders": "./builders/builders.json",
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "@angular-devkit/core", "name": "@angular-devkit/core",
"version": "20.3.10", "version": "20.3.26",
"description": "Angular DevKit - Core Utility Library", "description": "Angular DevKit - Core Utility Library",
"main": "src/index.js", "main": "src/index.js",
"typings": "src/index.d.ts", "typings": "src/index.d.ts",
@@ -30,10 +30,10 @@
"./*.js": "./*.js" "./*.js": "./*.js"
}, },
"dependencies": { "dependencies": {
"ajv": "8.17.1", "ajv": "8.18.0",
"ajv-formats": "3.0.1", "ajv-formats": "3.0.1",
"jsonc-parser": "3.3.1", "jsonc-parser": "3.3.1",
"picomatch": "4.0.3", "picomatch": "4.0.4",
"rxjs": "7.8.2", "rxjs": "7.8.2",
"source-map": "0.7.6" "source-map": "0.7.6"
}, },
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@angular-devkit/schematics", "name": "@angular-devkit/schematics",
"version": "20.3.10", "version": "20.3.26",
"description": "Angular Schematics - Library", "description": "Angular Schematics - Library",
"main": "src/index.js", "main": "src/index.js",
"typings": "src/index.d.ts", "typings": "src/index.d.ts",
@@ -18,7 +18,7 @@
"tooling" "tooling"
], ],
"dependencies": { "dependencies": {
"@angular-devkit/core": "20.3.10", "@angular-devkit/core": "20.3.26",
"jsonc-parser": "3.3.1", "jsonc-parser": "3.3.1",
"magic-string": "0.30.17", "magic-string": "0.30.17",
"ora": "8.2.0", "ora": "8.2.0",
+1 -1
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
+1 -1
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
+1 -1
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
+1 -1
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
+7 -7
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
@@ -58,10 +58,10 @@ export { AUTO_STYLE, AnimationMetadataType, NoopAnimationPlayer, animate, animat
* @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23 * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23
*/ */
class AnimationBuilder { class AnimationBuilder {
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: AnimationBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: AnimationBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: AnimationBuilder, providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) }); static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: AnimationBuilder, providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) });
} }
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: AnimationBuilder, decorators: [{ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: AnimationBuilder, decorators: [{
type: Injectable, type: Injectable,
args: [{ providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) }] args: [{ providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) }]
}] }); }] });
@@ -103,10 +103,10 @@ class BrowserAnimationBuilder extends AnimationBuilder {
issueAnimationCommand(this._renderer, null, id, 'register', [entry]); issueAnimationCommand(this._renderer, null, id, 'register', [entry]);
return new BrowserAnimationFactory(id, this._renderer); return new BrowserAnimationFactory(id, this._renderer);
} }
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: BrowserAnimationBuilder, providedIn: 'root' }); static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: BrowserAnimationBuilder, providedIn: 'root' });
} }
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
type: Injectable, type: Injectable,
args: [{ providedIn: 'root' }] args: [{ providedIn: 'root' }]
}], ctorParameters: () => [{ type: i0.RendererFactory2 }, { type: Document, decorators: [{ }], ctorParameters: () => [{ type: i0.RendererFactory2 }, { type: Document, decorators: [{
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
@@ -55,10 +55,10 @@ class NoopAnimationDriver {
animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) { animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {
return new NoopAnimationPlayer(duration, delay); return new NoopAnimationPlayer(duration, delay);
} }
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NoopAnimationDriver }); static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NoopAnimationDriver });
} }
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NoopAnimationDriver, decorators: [{ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NoopAnimationDriver, decorators: [{
type: Injectable type: Injectable
}] }); }] });
/** /**
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
/** /**
* @license Angular v20.3.11 * @license Angular v20.3.21
* (c) 2010-2025 Google LLC. https://angular.dev/ * (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT * License: MIT
*/ */
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@angular/animations", "name": "@angular/animations",
"version": "20.3.11", "version": "20.3.21",
"description": "Angular - animations integration with web-animations", "description": "Angular - animations integration with web-animations",
"author": "angular", "author": "angular",
"license": "MIT", "license": "MIT",
@@ -11,7 +11,7 @@
"tslib": "^2.3.0" "tslib": "^2.3.0"
}, },
"peerDependencies": { "peerDependencies": {
"@angular/core": "20.3.11" "@angular/core": "20.3.21"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
+110 -134
View File
@@ -31,7 +31,7 @@ BSD-2-Clause, CC0-1.0, ISC, MIT
## @jridgewell/gen-mapping, @jridgewell/remapping, @jridgewell/sourcemap-codec, @jridgewell/trace-mapping ## @jridgewell/gen-mapping, @jridgewell/remapping, @jridgewell/sourcemap-codec, @jridgewell/trace-mapping
License: MIT License: MIT
By: Justin Ridgewell By: Justin Ridgewell
Repositories: git+https://github.com/jridgewell/sourcemaps.git, git+https://github.com/jridgewell/sourcemaps.git, git+https://github.com/jridgewell/sourcemaps.git, git+https://github.com/jridgewell/sourcemaps.git Repositories: https://github.com/jridgewell/sourcemaps, https://github.com/jridgewell/sourcemaps, https://github.com/jridgewell/sourcemaps, https://github.com/jridgewell/sourcemaps
> Copyright 2024 Justin Ridgewell <justin@ridgewell.name> > Copyright 2024 Justin Ridgewell <justin@ridgewell.name>
> >
@@ -84,20 +84,20 @@ Repository: https://github.com/jridgewell/resolve-uri
## @polka/compression ## @polka/compression
License: MIT License: MIT
Repository: lukeed/polka Repository: https://github.com/lukeed/polka
--------------------------------------- ---------------------------------------
## @polka/url ## @polka/url
License: MIT License: MIT
By: Luke Edwards By: Luke Edwards
Repository: lukeed/polka Repository: https://github.com/lukeed/polka
--------------------------------------- ---------------------------------------
## @rolldown/pluginutils ## @rolldown/pluginutils
License: MIT License: MIT
Repository: git+https://github.com/rolldown/rolldown.git Repository: https://github.com/rolldown/rolldown
> MIT License > MIT License
> >
@@ -130,19 +130,19 @@ Repository: git+https://github.com/rolldown/rolldown.git
## @rollup/plugin-alias, @rollup/plugin-commonjs, @rollup/plugin-dynamic-import-vars, @rollup/pluginutils ## @rollup/plugin-alias, @rollup/plugin-commonjs, @rollup/plugin-dynamic-import-vars, @rollup/pluginutils
License: MIT License: MIT
By: Johannes Stein By: Johannes Stein
Repository: rollup/plugins Repository: https://github.com/rollup/plugins
License: MIT License: MIT
By: Rich Harris By: Rich Harris
Repository: rollup/plugins Repository: https://github.com/rollup/plugins
License: MIT License: MIT
By: LarsDenBakker By: LarsDenBakker
Repository: rollup/plugins Repository: https://github.com/rollup/plugins
License: MIT License: MIT
By: Rich Harris By: Rich Harris
Repository: rollup/plugins Repository: https://github.com/rollup/plugins
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -194,7 +194,7 @@ Repository: https://github.com/micromatch/anymatch
## artichokie ## artichokie
License: MIT License: MIT
By: sapphi-red, Evan You By: sapphi-red, Evan You
Repository: git+https://github.com/sapphi-red/artichokie.git Repository: https://github.com/sapphi-red/artichokie
> MIT License > MIT License
> >
@@ -224,7 +224,7 @@ Repository: git+https://github.com/sapphi-red/artichokie.git
## binary-extensions ## binary-extensions
License: MIT License: MIT
By: Sindre Sorhus By: Sindre Sorhus
Repository: sindresorhus/binary-extensions Repository: https://github.com/sindresorhus/binary-extensions
> MIT License > MIT License
> >
@@ -242,15 +242,15 @@ Repository: sindresorhus/binary-extensions
## braces, fill-range, is-number ## braces, fill-range, is-number
License: MIT License: MIT
By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm
Repository: micromatch/braces Repository: https://github.com/micromatch/braces
License: MIT License: MIT
By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling
Repository: jonschlinkert/fill-range Repository: https://github.com/jonschlinkert/fill-range
License: MIT License: MIT
By: Jon Schlinkert, Olsten Larck, Rouven Weßling By: Jon Schlinkert, Olsten Larck, Rouven Weßling
Repository: jonschlinkert/is-number Repository: https://github.com/jonschlinkert/is-number
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -279,7 +279,7 @@ Repository: jonschlinkert/is-number
## bundle-name, default-browser, default-browser-id, define-lazy-prop, is-docker, is-inside-container, is-wsl, open, run-applescript, wsl-utils ## bundle-name, default-browser, default-browser-id, define-lazy-prop, is-docker, is-inside-container, is-wsl, open, run-applescript, wsl-utils
License: MIT License: MIT
By: Sindre Sorhus By: Sindre Sorhus
Repositories: sindresorhus/bundle-name, sindresorhus/default-browser, sindresorhus/default-browser-id, sindresorhus/define-lazy-prop, sindresorhus/is-docker, sindresorhus/is-inside-container, sindresorhus/is-wsl, sindresorhus/open, sindresorhus/run-applescript, sindresorhus/wsl-utils Repositories: https://github.com/sindresorhus/bundle-name, https://github.com/sindresorhus/default-browser, https://github.com/sindresorhus/default-browser-id, https://github.com/sindresorhus/define-lazy-prop, https://github.com/sindresorhus/is-docker, https://github.com/sindresorhus/is-inside-container, https://github.com/sindresorhus/is-wsl, https://github.com/sindresorhus/open, https://github.com/sindresorhus/run-applescript, https://github.com/sindresorhus/wsl-utils
> MIT License > MIT License
> >
@@ -296,7 +296,7 @@ Repositories: sindresorhus/bundle-name, sindresorhus/default-browser, sindresorh
## cac ## cac
License: MIT License: MIT
By: egoist By: egoist
Repository: egoist/cac Repository: https://github.com/egoist/cac
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -325,7 +325,7 @@ Repository: egoist/cac
## chokidar ## chokidar
License: MIT License: MIT
By: Paul Miller, Elan Shanker By: Paul Miller, Elan Shanker
Repository: git+https://github.com/paulmillr/chokidar.git Repository: https://github.com/paulmillr/chokidar
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -354,7 +354,7 @@ Repository: git+https://github.com/paulmillr/chokidar.git
## commondir, shell-quote ## commondir, shell-quote
License: MIT License: MIT
By: James Halliday By: James Halliday
Repositories: http://github.com/substack/node-commondir.git, http://github.com/ljharb/shell-quote.git Repositories: http://github.com/substack/node-commondir, http://github.com/ljharb/shell-quote
> The MIT License > The MIT License
> >
@@ -386,7 +386,7 @@ Repositories: http://github.com/substack/node-commondir.git, http://github.com/l
## connect ## connect
License: MIT License: MIT
By: TJ Holowaychuk, Douglas Christopher Wilson, Jonathan Ong, Tim Caswell By: TJ Holowaychuk, Douglas Christopher Wilson, Jonathan Ong, Tim Caswell
Repository: senchalabs/connect Repository: https://github.com/senchalabs/connect
> (The MIT License) > (The MIT License)
> >
@@ -419,7 +419,7 @@ Repository: senchalabs/connect
## convert-source-map ## convert-source-map
License: MIT License: MIT
By: Thorsten Lorenz By: Thorsten Lorenz
Repository: git://github.com/thlorenz/convert-source-map.git Repository: https://github.com/thlorenz/convert-source-map
> Copyright 2013 Thorsten Lorenz. > Copyright 2013 Thorsten Lorenz.
> All rights reserved. > All rights reserved.
@@ -450,7 +450,7 @@ Repository: git://github.com/thlorenz/convert-source-map.git
## cors ## cors
License: MIT License: MIT
By: Troy Goode By: Troy Goode
Repository: expressjs/cors Repository: https://github.com/expressjs/cors
> (The MIT License) > (The MIT License)
> >
@@ -480,7 +480,7 @@ Repository: expressjs/cors
## cross-spawn ## cross-spawn
License: MIT License: MIT
By: André Cruz By: André Cruz
Repository: git@github.com:moxystudio/node-cross-spawn.git Repository: https://github.com/moxystudio/node-cross-spawn
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -509,7 +509,7 @@ Repository: git@github.com:moxystudio/node-cross-spawn.git
## cssesc ## cssesc
License: MIT License: MIT
By: Mathias Bynens By: Mathias Bynens
Repository: https://github.com/mathiasbynens/cssesc.git Repository: https://github.com/mathiasbynens/cssesc
> Copyright Mathias Bynens <https://mathiasbynens.be/> > Copyright Mathias Bynens <https://mathiasbynens.be/>
> >
@@ -534,36 +534,9 @@ Repository: https://github.com/mathiasbynens/cssesc.git
--------------------------------------- ---------------------------------------
## debug
License: MIT
By: Josh Junon, TJ Holowaychuk, Nathan Rajlich, Andrew Rhyne
Repository: git://github.com/debug-js/debug.git
> (The MIT License)
>
> Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
> Copyright (c) 2018-2021 Josh Junon
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software
> and associated documentation files (the 'Software'), to deal in the Software without restriction,
> including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
> and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
> subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial
> portions of the Software.
>
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
> LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------------------------------------
## dotenv ## dotenv
License: BSD-2-Clause License: BSD-2-Clause
Repository: git://github.com/motdotla/dotenv.git Repository: https://github.com/motdotla/dotenv
> Copyright (c) 2015, Scott Motte > Copyright (c) 2015, Scott Motte
> All rights reserved. > All rights reserved.
@@ -625,7 +598,7 @@ Repository: https://github.com/motdotla/dotenv-expand
## ee-first ## ee-first
License: MIT License: MIT
By: Jonathan Ong, Douglas Christopher Wilson By: Jonathan Ong, Douglas Christopher Wilson
Repository: jonathanong/ee-first Repository: https://github.com/jonathanong/ee-first
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -654,7 +627,7 @@ Repository: jonathanong/ee-first
## encodeurl ## encodeurl
License: MIT License: MIT
By: Douglas Christopher Wilson By: Douglas Christopher Wilson
Repository: pillarjs/encodeurl Repository: https://github.com/pillarjs/encodeurl
> (The MIT License) > (The MIT License)
> >
@@ -684,7 +657,7 @@ Repository: pillarjs/encodeurl
## entities ## entities
License: BSD-2-Clause License: BSD-2-Clause
By: Felix Boehm By: Felix Boehm
Repository: git://github.com/fb55/entities.git Repository: https://github.com/fb55/entities
> Copyright (c) Felix Böhm > Copyright (c) Felix Böhm
> All rights reserved. > All rights reserved.
@@ -703,7 +676,7 @@ Repository: git://github.com/fb55/entities.git
## es-module-lexer ## es-module-lexer
License: MIT License: MIT
By: Guy Bedford By: Guy Bedford
Repository: git+https://github.com/guybedford/es-module-lexer.git Repository: https://github.com/guybedford/es-module-lexer
> MIT License > MIT License
> ----------- > -----------
@@ -720,7 +693,7 @@ Repository: git+https://github.com/guybedford/es-module-lexer.git
## escape-html ## escape-html
License: MIT License: MIT
Repository: component/escape-html Repository: https://github.com/component/escape-html
> (The MIT License) > (The MIT License)
> >
@@ -767,7 +740,7 @@ Repository: https://github.com/Rich-Harris/estree-walker
## etag ## etag
License: MIT License: MIT
By: Douglas Christopher Wilson, David Björklund By: Douglas Christopher Wilson, David Björklund
Repository: jshttp/etag Repository: https://github.com/jshttp/etag
> (The MIT License) > (The MIT License)
> >
@@ -797,7 +770,7 @@ Repository: jshttp/etag
## finalhandler ## finalhandler
License: MIT License: MIT
By: Douglas Christopher Wilson By: Douglas Christopher Wilson
Repository: pillarjs/finalhandler Repository: https://github.com/pillarjs/finalhandler
> (The MIT License) > (The MIT License)
> >
@@ -827,7 +800,7 @@ Repository: pillarjs/finalhandler
## follow-redirects ## follow-redirects
License: MIT License: MIT
By: Ruben Verborgh, Olivier Lalonde, James Talmage By: Ruben Verborgh, Olivier Lalonde, James Talmage
Repository: git+ssh://git@github.com/follow-redirects/follow-redirects.git Repository: https://github.com/follow-redirects/follow-redirects
> Copyright 2014present Olivier Lalonde <olalonde@gmail.com>, James Talmage <james@talmage.io>, Ruben Verborgh > Copyright 2014present Olivier Lalonde <olalonde@gmail.com>, James Talmage <james@talmage.io>, Ruben Verborgh
> >
@@ -853,7 +826,7 @@ Repository: git+ssh://git@github.com/follow-redirects/follow-redirects.git
## generic-names ## generic-names
License: MIT License: MIT
By: Alexey Litvinov By: Alexey Litvinov
Repository: git+https://github.com/css-modules/generic-names.git Repository: https://github.com/css-modules/generic-names
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -882,7 +855,7 @@ Repository: git+https://github.com/css-modules/generic-names.git
## glob-parent ## glob-parent
License: ISC License: ISC
By: Gulp Team, Elan Shanker, Blaine Bublitz By: Gulp Team, Elan Shanker, Blaine Bublitz
Repository: gulpjs/glob-parent Repository: https://github.com/gulpjs/glob-parent
> The ISC License > The ISC License
> >
@@ -905,7 +878,7 @@ Repository: gulpjs/glob-parent
## host-validation-middleware ## host-validation-middleware
License: MIT License: MIT
By: sapphi-red By: sapphi-red
Repository: git+https://github.com/sapphi-red/host-validation-middleware.git Repository: https://github.com/sapphi-red/host-validation-middleware
> MIT License > MIT License
> >
@@ -934,7 +907,7 @@ Repository: git+https://github.com/sapphi-red/host-validation-middleware.git
## http-proxy-3 ## http-proxy-3
License: MIT License: MIT
By: William Stein, Charlie Robbins, Jimb Esser, jcrugzz By: William Stein, Charlie Robbins, Jimb Esser, jcrugzz
Repository: https://github.com/sagemathinc/http-proxy-3.git Repository: https://github.com/sagemathinc/http-proxy-3
> node-http-3 > node-http-3
> >
@@ -964,7 +937,7 @@ Repository: https://github.com/sagemathinc/http-proxy-3.git
## icss-utils ## icss-utils
License: ISC License: ISC
By: Glen Maddern By: Glen Maddern
Repository: git+https://github.com/css-modules/icss-utils.git Repository: https://github.com/css-modules/icss-utils
> ISC License (ISC) > ISC License (ISC)
> Copyright 2018 Glen Maddern > Copyright 2018 Glen Maddern
@@ -978,7 +951,7 @@ Repository: git+https://github.com/css-modules/icss-utils.git
## is-binary-path ## is-binary-path
License: MIT License: MIT
By: Sindre Sorhus By: Sindre Sorhus
Repository: sindresorhus/is-binary-path Repository: https://github.com/sindresorhus/is-binary-path
> MIT License > MIT License
> >
@@ -995,7 +968,7 @@ Repository: sindresorhus/is-binary-path
## is-extglob ## is-extglob
License: MIT License: MIT
By: Jon Schlinkert By: Jon Schlinkert
Repository: jonschlinkert/is-extglob Repository: https://github.com/jonschlinkert/is-extglob
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1024,7 +997,7 @@ Repository: jonschlinkert/is-extglob
## is-glob ## is-glob
License: MIT License: MIT
By: Jon Schlinkert, Brian Woodward, Daniel Perez By: Jon Schlinkert, Brian Woodward, Daniel Perez
Repository: micromatch/is-glob Repository: https://github.com/micromatch/is-glob
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1053,14 +1026,14 @@ Repository: micromatch/is-glob
## is-reference ## is-reference
License: MIT License: MIT
By: Rich Harris By: Rich Harris
Repository: git+https://github.com/Rich-Harris/is-reference.git Repository: https://github.com/Rich-Harris/is-reference
--------------------------------------- ---------------------------------------
## isexe, which ## isexe, which
License: ISC License: ISC
By: Isaac Z. Schlueter By: Isaac Z. Schlueter
Repositories: git+https://github.com/isaacs/isexe.git, git://github.com/isaacs/node-which.git Repositories: https://github.com/isaacs/isexe, https://github.com/isaacs/node-which
> The ISC License > The ISC License
> >
@@ -1083,7 +1056,7 @@ Repositories: git+https://github.com/isaacs/isexe.git, git://github.com/isaacs/n
## js-tokens ## js-tokens
License: MIT License: MIT
By: Simon Lydell By: Simon Lydell
Repository: lydell/js-tokens Repository: https://github.com/lydell/js-tokens
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1112,7 +1085,7 @@ Repository: lydell/js-tokens
## launch-editor, launch-editor-middleware ## launch-editor, launch-editor-middleware
License: MIT License: MIT
By: Evan You By: Evan You
Repositories: git+https://github.com/yyx990803/launch-editor.git, git+https://github.com/yyx990803/launch-editor.git Repositories: https://github.com/yyx990803/launch-editor, https://github.com/yyx990803/launch-editor
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1170,7 +1143,7 @@ Repository: https://github.com/antonk52/lilconfig
## loader-utils ## loader-utils
License: MIT License: MIT
By: Tobias Koppers @sokra By: Tobias Koppers @sokra
Repository: https://github.com/webpack/loader-utils.git Repository: https://github.com/webpack/loader-utils
> Copyright JS Foundation and other contributors > Copyright JS Foundation and other contributors
> >
@@ -1198,7 +1171,7 @@ Repository: https://github.com/webpack/loader-utils.git
## lodash.camelcase ## lodash.camelcase
License: MIT License: MIT
By: John-David Dalton, Blaine Bublitz, Mathias Bynens By: John-David Dalton, Blaine Bublitz, Mathias Bynens
Repository: lodash/lodash Repository: https://github.com/lodash/lodash
> Copyright jQuery Foundation and other contributors <https://jquery.org/> > Copyright jQuery Foundation and other contributors <https://jquery.org/>
> >
@@ -1253,7 +1226,7 @@ Repository: lodash/lodash
## magic-string ## magic-string
License: MIT License: MIT
By: Rich Harris By: Rich Harris
Repository: https://github.com/rich-harris/magic-string.git Repository: https://github.com/Rich-Harris/magic-string
> Copyright 2018 Rich Harris > Copyright 2018 Rich Harris
> >
@@ -1267,7 +1240,7 @@ Repository: https://github.com/rich-harris/magic-string.git
## mlly, ufo ## mlly, ufo
License: MIT License: MIT
Repositories: unjs/mlly, unjs/ufo Repositories: https://github.com/unjs/mlly, https://github.com/unjs/ufo
> MIT License > MIT License
> >
@@ -1296,7 +1269,7 @@ Repositories: unjs/mlly, unjs/ufo
## mrmime ## mrmime
License: MIT License: MIT
By: Luke Edwards By: Luke Edwards
Repository: lukeed/mrmime Repository: https://github.com/lukeed/mrmime
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1322,38 +1295,10 @@ Repository: lukeed/mrmime
--------------------------------------- ---------------------------------------
## ms
License: MIT
Repository: vercel/ms
> The MIT License (MIT)
>
> Copyright (c) 2020 Vercel, Inc.
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
---------------------------------------
## normalize-path ## normalize-path
License: MIT License: MIT
By: Jon Schlinkert, Blaine Bublitz By: Jon Schlinkert, Blaine Bublitz
Repository: jonschlinkert/normalize-path Repository: https://github.com/jonschlinkert/normalize-path
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1382,7 +1327,7 @@ Repository: jonschlinkert/normalize-path
## object-assign ## object-assign
License: MIT License: MIT
By: Sindre Sorhus By: Sindre Sorhus
Repository: sindresorhus/object-assign Repository: https://github.com/sindresorhus/object-assign
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1408,10 +1353,41 @@ Repository: sindresorhus/object-assign
--------------------------------------- ---------------------------------------
## obug
License: MIT
By: Kevin Deng
Repository: https://github.com/sxzz/obug
> The MIT License (MIT)
>
> Copyright © 2025-PRESENT Kevin Deng (https://github.com/sxzz)
> Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
> Copyright (c) 2018-2021 Josh Junon
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
---------------------------------------
## on-finished ## on-finished
License: MIT License: MIT
By: Douglas Christopher Wilson, Jonathan Ong By: Douglas Christopher Wilson, Jonathan Ong
Repository: jshttp/on-finished Repository: https://github.com/jshttp/on-finished
> (The MIT License) > (The MIT License)
> >
@@ -1442,7 +1418,7 @@ Repository: jshttp/on-finished
## parse5 ## parse5
License: MIT License: MIT
By: Ivan Nikulin, https://github.com/inikulin/parse5/graphs/contributors By: Ivan Nikulin, https://github.com/inikulin/parse5/graphs/contributors
Repository: git://github.com/inikulin/parse5.git Repository: https://github.com/inikulin/parse5
> Copyright (c) 2013-2019 Ivan Nikulin (ifaaan@gmail.com, https://github.com/inikulin) > Copyright (c) 2013-2019 Ivan Nikulin (ifaaan@gmail.com, https://github.com/inikulin)
> >
@@ -1469,7 +1445,7 @@ Repository: git://github.com/inikulin/parse5.git
## parseurl ## parseurl
License: MIT License: MIT
By: Douglas Christopher Wilson, Jonathan Ong By: Douglas Christopher Wilson, Jonathan Ong
Repository: pillarjs/parseurl Repository: https://github.com/pillarjs/parseurl
> (The MIT License) > (The MIT License)
> >
@@ -1500,7 +1476,7 @@ Repository: pillarjs/parseurl
## path-key, shebang-regex ## path-key, shebang-regex
License: MIT License: MIT
By: Sindre Sorhus By: Sindre Sorhus
Repositories: sindresorhus/path-key, sindresorhus/shebang-regex Repositories: https://github.com/sindresorhus/path-key, https://github.com/sindresorhus/shebang-regex
> MIT License > MIT License
> >
@@ -1516,7 +1492,7 @@ Repositories: sindresorhus/path-key, sindresorhus/shebang-regex
## periscopic ## periscopic
License: MIT License: MIT
Repository: Rich-Harris/periscopic Repository: https://github.com/Rich-Harris/periscopic
> Copyright (c) 2019 Rich Harris > Copyright (c) 2019 Rich Harris
> >
@@ -1531,7 +1507,7 @@ Repository: Rich-Harris/periscopic
## picocolors ## picocolors
License: ISC License: ISC
By: Alexey Raspopov By: Alexey Raspopov
Repository: alexeyraspopov/picocolors Repository: https://github.com/alexeyraspopov/picocolors
> ISC License > ISC License
> >
@@ -1554,7 +1530,7 @@ Repository: alexeyraspopov/picocolors
## postcss-import ## postcss-import
License: MIT License: MIT
By: Maxime Thirouin By: Maxime Thirouin
Repository: https://github.com/postcss/postcss-import.git Repository: https://github.com/postcss/postcss-import
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1582,7 +1558,7 @@ Repository: https://github.com/postcss/postcss-import.git
## postcss-load-config ## postcss-load-config
License: MIT License: MIT
By: Michael Ciniawky, Ryan Dunckel, Mateusz Derks, Dalton Santos, Patrick Gilday, François Wouts By: Michael Ciniawky, Ryan Dunckel, Mateusz Derks, Dalton Santos, Patrick Gilday, François Wouts
Repository: postcss/postcss-load-config Repository: https://github.com/postcss/postcss-load-config
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1610,7 +1586,7 @@ Repository: postcss/postcss-load-config
## postcss-modules ## postcss-modules
License: MIT License: MIT
By: Alexander Madyankin By: Alexander Madyankin
Repository: https://github.com/css-modules/postcss-modules.git Repository: https://github.com/css-modules/postcss-modules
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1638,7 +1614,7 @@ Repository: https://github.com/css-modules/postcss-modules.git
## postcss-modules-extract-imports ## postcss-modules-extract-imports
License: ISC License: ISC
By: Glen Maddern By: Glen Maddern
Repository: https://github.com/css-modules/postcss-modules-extract-imports.git Repository: https://github.com/css-modules/postcss-modules-extract-imports
> Copyright 2015 Glen Maddern > Copyright 2015 Glen Maddern
> >
@@ -1651,7 +1627,7 @@ Repository: https://github.com/css-modules/postcss-modules-extract-imports.git
## postcss-modules-local-by-default ## postcss-modules-local-by-default
License: MIT License: MIT
By: Mark Dalgleish By: Mark Dalgleish
Repository: https://github.com/css-modules/postcss-modules-local-by-default.git Repository: https://github.com/css-modules/postcss-modules-local-by-default
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1679,7 +1655,7 @@ Repository: https://github.com/css-modules/postcss-modules-local-by-default.git
## postcss-modules-scope ## postcss-modules-scope
License: ISC License: ISC
By: Glen Maddern By: Glen Maddern
Repository: https://github.com/css-modules/postcss-modules-scope.git Repository: https://github.com/css-modules/postcss-modules-scope
> ISC License (ISC) > ISC License (ISC)
> >
@@ -1694,7 +1670,7 @@ Repository: https://github.com/css-modules/postcss-modules-scope.git
## postcss-modules-values ## postcss-modules-values
License: ISC License: ISC
By: Glen Maddern By: Glen Maddern
Repository: git+https://github.com/css-modules/postcss-modules-values.git Repository: https://github.com/css-modules/postcss-modules-values
> ISC License (ISC) > ISC License (ISC)
> >
@@ -1709,7 +1685,7 @@ Repository: git+https://github.com/css-modules/postcss-modules-values.git
## postcss-selector-parser ## postcss-selector-parser
License: MIT License: MIT
By: Ben Briggs, Chris Eppstein By: Ben Briggs, Chris Eppstein
Repository: postcss/postcss-selector-parser Repository: https://github.com/postcss/postcss-selector-parser
> Copyright (c) Ben Briggs <beneb.info@gmail.com> (http://beneb.info) > Copyright (c) Ben Briggs <beneb.info@gmail.com> (http://beneb.info)
> >
@@ -1739,7 +1715,7 @@ Repository: postcss/postcss-selector-parser
## postcss-value-parser ## postcss-value-parser
License: MIT License: MIT
By: Bogdan Chadkin By: Bogdan Chadkin
Repository: https://github.com/TrySound/postcss-value-parser.git Repository: https://github.com/TrySound/postcss-value-parser
> Copyright (c) Bogdan Chadkin <trysound@yandex.ru> > Copyright (c) Bogdan Chadkin <trysound@yandex.ru>
> >
@@ -1769,7 +1745,7 @@ Repository: https://github.com/TrySound/postcss-value-parser.git
## readdirp ## readdirp
License: MIT License: MIT
By: Thorsten Lorenz, Paul Miller By: Thorsten Lorenz, Paul Miller
Repository: git://github.com/paulmillr/readdirp.git Repository: https://github.com/paulmillr/readdirp
> MIT License > MIT License
> >
@@ -1798,7 +1774,7 @@ Repository: git://github.com/paulmillr/readdirp.git
## resolve.exports, totalist ## resolve.exports, totalist
License: MIT License: MIT
By: Luke Edwards By: Luke Edwards
Repositories: lukeed/resolve.exports, lukeed/totalist Repositories: https://github.com/lukeed/resolve.exports, https://github.com/lukeed/totalist
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1827,7 +1803,7 @@ Repositories: lukeed/resolve.exports, lukeed/totalist
## shebang-command ## shebang-command
License: MIT License: MIT
By: Kevin Mårtensson By: Kevin Mårtensson
Repository: kevva/shebang-command Repository: https://github.com/kevva/shebang-command
> MIT License > MIT License
> >
@@ -1844,14 +1820,14 @@ Repository: kevva/shebang-command
## sirv ## sirv
License: MIT License: MIT
By: Luke Edwards By: Luke Edwards
Repository: lukeed/sirv Repository: https://github.com/lukeed/sirv
--------------------------------------- ---------------------------------------
## statuses ## statuses
License: MIT License: MIT
By: Douglas Christopher Wilson, Jonathan Ong By: Douglas Christopher Wilson, Jonathan Ong
Repository: jshttp/statuses Repository: https://github.com/jshttp/statuses
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1881,14 +1857,14 @@ Repository: jshttp/statuses
## string-hash ## string-hash
License: CC0-1.0 License: CC0-1.0
By: The Dark Sky Company By: The Dark Sky Company
Repository: git://github.com/darkskyapp/string-hash.git Repository: https://github.com/darkskyapp/string-hash
--------------------------------------- ---------------------------------------
## strip-literal ## strip-literal
License: MIT License: MIT
By: Anthony Fu By: Anthony Fu
Repository: git+https://github.com/antfu/strip-literal.git Repository: https://github.com/antfu/strip-literal
> MIT License > MIT License
> >
@@ -1917,7 +1893,7 @@ Repository: git+https://github.com/antfu/strip-literal.git
## to-regex-range ## to-regex-range
License: MIT License: MIT
By: Jon Schlinkert, Rouven Weßling By: Jon Schlinkert, Rouven Weßling
Repository: micromatch/to-regex-range Repository: https://github.com/micromatch/to-regex-range
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -1946,7 +1922,7 @@ Repository: micromatch/to-regex-range
## tsconfck ## tsconfck
License: MIT License: MIT
By: dominikg By: dominikg
Repository: git+https://github.com/dominikg/tsconfck.git Repository: https://github.com/dominikg/tsconfck
> MIT License > MIT License
> >
@@ -2000,7 +1976,7 @@ Repository: git+https://github.com/dominikg/tsconfck.git
## unpipe ## unpipe
License: MIT License: MIT
By: Douglas Christopher Wilson By: Douglas Christopher Wilson
Repository: stream-utils/unpipe Repository: https://github.com/stream-utils/unpipe
> (The MIT License) > (The MIT License)
> >
@@ -2030,7 +2006,7 @@ Repository: stream-utils/unpipe
## util-deprecate ## util-deprecate
License: MIT License: MIT
By: Nathan Rajlich By: Nathan Rajlich
Repository: git://github.com/TooTallNate/util-deprecate.git Repository: https://github.com/TooTallNate/util-deprecate
> (The MIT License) > (The MIT License)
> >
@@ -2062,7 +2038,7 @@ Repository: git://github.com/TooTallNate/util-deprecate.git
## utils-merge ## utils-merge
License: MIT License: MIT
By: Jared Hanson By: Jared Hanson
Repository: git://github.com/jaredhanson/utils-merge.git Repository: https://github.com/jaredhanson/utils-merge
> The MIT License (MIT) > The MIT License (MIT)
> >
@@ -2090,7 +2066,7 @@ Repository: git://github.com/jaredhanson/utils-merge.git
## vary ## vary
License: MIT License: MIT
By: Douglas Christopher Wilson By: Douglas Christopher Wilson
Repository: jshttp/vary Repository: https://github.com/jshttp/vary
> (The MIT License) > (The MIT License)
> >
@@ -2120,7 +2096,7 @@ Repository: jshttp/vary
## ws ## ws
License: MIT License: MIT
By: Einar Otto Stangvik By: Einar Otto Stangvik
Repository: git+https://github.com/websockets/ws.git Repository: https://github.com/websockets/ws
> Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com> > Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
> Copyright (c) 2013 Arnout Kazemier and contributors > Copyright (c) 2013 Arnout Kazemier and contributors
+4 -4
View File
@@ -1,6 +1,6 @@
import "@vite/env"; import "@vite/env";
//#region \0@oxc-project+runtime@0.94.0/helpers/typeof.js //#region \0@oxc-project+runtime@0.99.0/helpers/typeof.js
function _typeof(o) { function _typeof(o) {
"@babel/helpers - typeof"; "@babel/helpers - typeof";
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) { return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
@@ -11,7 +11,7 @@ function _typeof(o) {
} }
//#endregion //#endregion
//#region \0@oxc-project+runtime@0.94.0/helpers/toPrimitive.js //#region \0@oxc-project+runtime@0.99.0/helpers/toPrimitive.js
function toPrimitive(t, r) { function toPrimitive(t, r) {
if ("object" != _typeof(t) || !t) return t; if ("object" != _typeof(t) || !t) return t;
var e = t[Symbol.toPrimitive]; var e = t[Symbol.toPrimitive];
@@ -24,14 +24,14 @@ function toPrimitive(t, r) {
} }
//#endregion //#endregion
//#region \0@oxc-project+runtime@0.94.0/helpers/toPropertyKey.js //#region \0@oxc-project+runtime@0.99.0/helpers/toPropertyKey.js
function toPropertyKey(t) { function toPropertyKey(t) {
var i = toPrimitive(t, "string"); var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : i + ""; return "symbol" == _typeof(i) ? i : i + "";
} }
//#endregion //#endregion
//#region \0@oxc-project+runtime@0.94.0/helpers/defineProperty.js //#region \0@oxc-project+runtime@0.99.0/helpers/defineProperty.js
function _defineProperty(e, r, t) { function _defineProperty(e, r, t) {
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
value: t, value: t,
+1 -1
View File
@@ -1,4 +1,4 @@
import "./logger.js"; import "./logger.js";
import { BuildEnvironment, build, buildEnvironmentOptionsDefaults, builderOptionsDefaults, createBuilder, createToImportMetaURLBasedRelativeRuntime, injectEnvironmentToHooks, onRollupLog, resolveBuildEnvironmentOptions, resolveBuildOutputs, resolveBuildPlugins, resolveBuilderOptions, resolveLibFilename, resolveUserExternal, toOutputFilePathInCss, toOutputFilePathInHtml, toOutputFilePathInJS, toOutputFilePathWithoutRuntime } from "./config.js"; import { A as toOutputFilePathInCss, C as onRollupLog, D as resolveBuilderOptions, E as resolveBuildPlugins, M as toOutputFilePathInJS, N as toOutputFilePathWithoutRuntime, O as resolveLibFilename, S as injectEnvironmentToHooks, T as resolveBuildOutputs, _ as build, b as createBuilder, g as BuildEnvironment, j as toOutputFilePathInHtml, k as resolveUserExternal, v as buildEnvironmentOptionsDefaults, w as resolveBuildEnvironmentOptions, x as createToImportMetaURLBasedRelativeRuntime, y as builderOptionsDefaults } from "./config.js";
export { createBuilder, resolveBuildPlugins }; export { createBuilder, resolveBuildPlugins };
+139 -124
View File
@@ -1,8 +1,8 @@
import { __commonJS, __require } from "./chunk.js"; import { i as __require, t as __commonJSMin } from "./chunk.js";
import { require_lib } from "./lib.js"; import { t as require_lib } from "./lib.js";
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/fs.js //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/fs.js
var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/fs.js": ((exports) => { var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.getFileSystem = getFileSystem; exports.getFileSystem = getFileSystem;
exports.setFileSystem = setFileSystem; exports.setFileSystem = setFileSystem;
@@ -21,11 +21,11 @@ var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-
function getFileSystem() { function getFileSystem() {
return fileSystem; return fileSystem;
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/unquote.js //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/unquote.js
var require_unquote = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/unquote.js": ((exports) => { var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.default = unquote; exports.default = unquote;
const reg = /['"]/; const reg = /['"]/;
@@ -35,11 +35,11 @@ var require_unquote = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
if (reg.test(str$1.charAt(str$1.length - 1))) str$1 = str$1.substr(0, str$1.length - 1); if (reg.test(str$1.charAt(str$1.length - 1))) str$1 = str$1.substr(0, str$1.length - 1);
return str$1; return str$1;
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/replaceValueSymbols.js //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/replaceValueSymbols.js
var require_replaceValueSymbols = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/replaceValueSymbols.js": ((exports, module) => { var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const matchValueName = /[$]?[\w-]+/g; const matchValueName = /[$]?[\w-]+/g;
const replaceValueSymbols$2 = (value, replacements) => { const replaceValueSymbols$2 = (value, replacements) => {
let matches; let matches;
@@ -53,11 +53,11 @@ var require_replaceValueSymbols = /* @__PURE__ */ __commonJS({ "../../node_modul
return value; return value;
}; };
module.exports = replaceValueSymbols$2; module.exports = replaceValueSymbols$2;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/replaceSymbols.js //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/replaceSymbols.js
var require_replaceSymbols = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/replaceSymbols.js": ((exports, module) => { var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const replaceValueSymbols$1 = require_replaceValueSymbols(); const replaceValueSymbols$1 = require_replaceValueSymbols();
const replaceSymbols$1 = (css, replacements) => { const replaceSymbols$1 = (css, replacements) => {
css.walk((node) => { css.walk((node) => {
@@ -67,11 +67,11 @@ var require_replaceSymbols = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
}); });
}; };
module.exports = replaceSymbols$1; module.exports = replaceSymbols$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/extractICSS.js //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/extractICSS.js
var require_extractICSS = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/extractICSS.js": ((exports, module) => { var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const importPattern = /^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/; const importPattern = /^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;
const balancedQuotes = /^("[^"]*"|'[^']*'|[^"']+)$/; const balancedQuotes = /^("[^"]*"|'[^']*'|[^"']+)$/;
const getDeclsObject = (rule) => { const getDeclsObject = (rule) => {
@@ -122,11 +122,11 @@ var require_extractICSS = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
}; };
}; };
module.exports = extractICSS$2; module.exports = extractICSS$2;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/createICSSRules.js //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/createICSSRules.js
var require_createICSSRules = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/createICSSRules.js": ((exports, module) => { var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const createImports = (imports, postcss, mode = "rule") => { const createImports = (imports, postcss, mode = "rule") => {
return Object.keys(imports).map((path$2) => { return Object.keys(imports).map((path$2) => {
const aliases = imports[path$2]; const aliases = imports[path$2];
@@ -167,11 +167,11 @@ var require_createICSSRules = /* @__PURE__ */ __commonJS({ "../../node_modules/.
}; };
const createICSSRules$1 = (imports, exports$1, postcss, mode) => [...createImports(imports, postcss, mode), ...createExports(exports$1, postcss, mode)]; const createICSSRules$1 = (imports, exports$1, postcss, mode) => [...createImports(imports, postcss, mode), ...createExports(exports$1, postcss, mode)];
module.exports = createICSSRules$1; module.exports = createICSSRules$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/index.js //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/index.js
var require_src$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.6/node_modules/icss-utils/src/index.js": ((exports, module) => { var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const replaceValueSymbols = require_replaceValueSymbols(); const replaceValueSymbols = require_replaceValueSymbols();
const replaceSymbols = require_replaceSymbols(); const replaceSymbols = require_replaceSymbols();
const extractICSS$1 = require_extractICSS(); const extractICSS$1 = require_extractICSS();
@@ -182,12 +182,13 @@ var require_src$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/icss-
extractICSS: extractICSS$1, extractICSS: extractICSS$1,
createICSSRules createICSSRules
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/Parser.js //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/Parser.js
var require_Parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/Parser.js": ((exports) => { var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.default = void 0;
var _icssUtils = require_src$4(); var _icssUtils = require_src$4();
const importRegexp = /^:import\((.+)\)$/; const importRegexp = /^:import\((.+)\)$/;
var Parser$1 = class { var Parser$1 = class {
@@ -250,11 +251,11 @@ var require_Parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
} }
}; };
exports.default = Parser$1; exports.default = Parser$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/saveJSON.js //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/saveJSON.js
var require_saveJSON = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/saveJSON.js": ((exports) => { var require_saveJSON = /* @__PURE__ */ __commonJSMin(((exports) => {
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.default = saveJSON; exports.default = saveJSON;
var _fs$2 = require_fs(); var _fs$2 = require_fs();
@@ -264,11 +265,11 @@ var require_saveJSON = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
writeFile(`${cssFile}.json`, JSON.stringify(json), (e) => e ? reject(e) : resolve(json)); writeFile(`${cssFile}.json`, JSON.stringify(json), (e) => e ? reject(e) : resolve(json));
}); });
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/lodash.camelcase@4.3.0/node_modules/lodash.camelcase/index.js //#region ../../node_modules/.pnpm/lodash.camelcase@4.3.0/node_modules/lodash.camelcase/index.js
var require_lodash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lodash.camelcase@4.3.0/node_modules/lodash.camelcase/index.js": ((exports, module) => { var require_lodash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
/** /**
* lodash (Custom Build) <https://lodash.com/> * lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./` * Build: `lodash modularize exports="npm" -o ./`
@@ -908,11 +909,11 @@ var require_lodash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loda
return string$1.match(pattern) || []; return string$1.match(pattern) || [];
} }
module.exports = camelCase; module.exports = camelCase;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/localsConvention.js //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/localsConvention.js
var require_localsConvention = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/localsConvention.js": ((exports) => { var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.makeLocalsConventionReducer = makeLocalsConventionReducer; exports.makeLocalsConventionReducer = makeLocalsConventionReducer;
var _lodash = _interopRequireDefault$22(require_lodash()); var _lodash = _interopRequireDefault$22(require_lodash());
@@ -949,12 +950,13 @@ var require_localsConvention = /* @__PURE__ */ __commonJS({ "../../node_modules/
return tokens$1; return tokens$1;
}; };
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/FileSystemLoader.js //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/FileSystemLoader.js
var require_FileSystemLoader = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/FileSystemLoader.js": ((exports) => { var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.default = void 0;
var _postcss$1 = _interopRequireDefault$21(__require("postcss")); var _postcss$1 = _interopRequireDefault$21(__require("postcss"));
var _path = _interopRequireDefault$21(__require("path")); var _path = _interopRequireDefault$21(__require("path"));
var _Parser$1 = _interopRequireDefault$21(require_Parser()); var _Parser$1 = _interopRequireDefault$21(require_Parser());
@@ -1034,11 +1036,11 @@ var require_FileSystemLoader = /* @__PURE__ */ __commonJS({ "../../node_modules/
} }
}; };
exports.default = FileSystemLoader; exports.default = FileSystemLoader;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.6/node_modules/postcss-modules-extract-imports/src/topologicalSort.js //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.6/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
var require_topologicalSort = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.6/node_modules/postcss-modules-extract-imports/src/topologicalSort.js": ((exports, module) => { var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const PERMANENT_MARKER = 2; const PERMANENT_MARKER = 2;
const TEMPORARY_MARKER = 1; const TEMPORARY_MARKER = 1;
function createError(node, graph) { function createError(node, graph) {
@@ -1074,11 +1076,11 @@ var require_topologicalSort = /* @__PURE__ */ __commonJS({ "../../node_modules/.
return result; return result;
} }
module.exports = topologicalSort$1; module.exports = topologicalSort$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.6/node_modules/postcss-modules-extract-imports/src/index.js //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.6/node_modules/postcss-modules-extract-imports/src/index.js
var require_src$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.6/node_modules/postcss-modules-extract-imports/src/index.js": ((exports, module) => { var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const topologicalSort = require_topologicalSort(); const topologicalSort = require_topologicalSort();
const matchImports$1 = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/; const matchImports$1 = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;
const icssImport = /^:import\((?:"([^"]+)"|'([^']+)')\)/; const icssImport = /^:import\((?:"([^"]+)"|'([^']+)')\)/;
@@ -1203,11 +1205,11 @@ var require_src$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
}; };
}; };
module.exports.postcss = true; module.exports.postcss = true;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/wasm-hash.js //#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/wasm-hash.js
var require_wasm_hash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/wasm-hash.js": ((exports, module) => { var require_wasm_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const MAX_SHORT_STRING$1 = Math.floor(65472 / 4) & -4; const MAX_SHORT_STRING$1 = Math.floor(65472 / 4) & -4;
var WasmHash = class { var WasmHash = class {
/** /**
@@ -1338,19 +1340,19 @@ var require_wasm_hash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/l
}; };
module.exports = create$2; module.exports = create$2;
module.exports.MAX_SHORT_STRING = MAX_SHORT_STRING$1; module.exports.MAX_SHORT_STRING = MAX_SHORT_STRING$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/xxhash64.js //#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/xxhash64.js
var require_xxhash64 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/xxhash64.js": ((exports, module) => { var require_xxhash64 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const create$1 = require_wasm_hash(); const create$1 = require_wasm_hash();
const xxhash64 = new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL", "base64")); const xxhash64 = new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL", "base64"));
module.exports = create$1.bind(null, xxhash64, [], 32, 16); module.exports = create$1.bind(null, xxhash64, [], 32, 16);
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/BatchedHash.js //#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/BatchedHash.js
var require_BatchedHash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/BatchedHash.js": ((exports, module) => { var require_BatchedHash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const MAX_SHORT_STRING = require_wasm_hash().MAX_SHORT_STRING; const MAX_SHORT_STRING = require_wasm_hash().MAX_SHORT_STRING;
var BatchedHash$1 = class { var BatchedHash$1 = class {
constructor(hash$1) { constructor(hash$1) {
@@ -1391,19 +1393,19 @@ var require_BatchedHash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
} }
}; };
module.exports = BatchedHash$1; module.exports = BatchedHash$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/md4.js //#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/md4.js
var require_md4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/md4.js": ((exports, module) => { var require_md4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const create = require_wasm_hash(); const create = require_wasm_hash();
const md4 = new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=", "base64")); const md4 = new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=", "base64"));
module.exports = create.bind(null, md4, [], 64, 32); module.exports = create.bind(null, md4, [], 64, 32);
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/BulkUpdateDecorator.js //#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/BulkUpdateDecorator.js
var require_BulkUpdateDecorator = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/BulkUpdateDecorator.js": ((exports, module) => { var require_BulkUpdateDecorator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const BULK_SIZE = 2e3; const BULK_SIZE = 2e3;
const digestCaches = {}; const digestCaches = {};
var BulkUpdateDecorator$1 = class { var BulkUpdateDecorator$1 = class {
@@ -1469,11 +1471,11 @@ var require_BulkUpdateDecorator = /* @__PURE__ */ __commonJS({ "../../node_modul
} }
}; };
module.exports = BulkUpdateDecorator$1; module.exports = BulkUpdateDecorator$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/getHashDigest.js //#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/getHashDigest.js
var require_getHashDigest = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/getHashDigest.js": ((exports, module) => { var require_getHashDigest = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const baseEncodeTables = { const baseEncodeTables = {
26: "abcdefghijklmnopqrstuvwxyz", 26: "abcdefghijklmnopqrstuvwxyz",
32: "123456789abcdefghjkmnpqrstuvwxyz", 32: "123456789abcdefghjkmnpqrstuvwxyz",
@@ -1548,11 +1550,11 @@ var require_getHashDigest = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
return hash$1.digest(digestType || "hex").substr(0, maxLength); return hash$1.digest(digestType || "hex").substr(0, maxLength);
} }
module.exports = getHashDigest$1; module.exports = getHashDigest$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/interpolateName.js //#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/interpolateName.js
var require_interpolateName = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/interpolateName.js": ((exports, module) => { var require_interpolateName = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const path$1 = __require("path"); const path$1 = __require("path");
const getHashDigest = require_getHashDigest(); const getHashDigest = require_getHashDigest();
function interpolateName$1(loaderContext, name, options = {}) { function interpolateName$1(loaderContext, name, options = {}) {
@@ -1601,11 +1603,11 @@ var require_interpolateName = /* @__PURE__ */ __commonJS({ "../../node_modules/.
return url; return url;
} }
module.exports = interpolateName$1; module.exports = interpolateName$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/generic-names@4.0.0/node_modules/generic-names/index.js //#region ../../node_modules/.pnpm/generic-names@4.0.0/node_modules/generic-names/index.js
var require_generic_names = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/generic-names@4.0.0/node_modules/generic-names/index.js": ((exports, module) => { var require_generic_names = /* @__PURE__ */ __commonJSMin(((exports, module) => {
var interpolateName = require_interpolateName(); var interpolateName = require_interpolateName();
var path = __require("path"); var path = __require("path");
/** /**
@@ -1632,11 +1634,11 @@ var require_generic_names = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
}).replace(new RegExp("[^a-zA-Z0-9\\-_\xA0-￿]", "g"), "-").replace(/^((-?[0-9])|--)/, "_$1"); }).replace(new RegExp("[^a-zA-Z0-9\\-_\xA0-￿]", "g"), "-").replace(/^((-?[0-9])|--)/, "_$1");
}; };
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/unesc.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/unesc.js
var require_unesc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/unesc.js": ((exports, module) => { var require_unesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = unesc; exports["default"] = unesc;
/** /**
@@ -1685,11 +1687,11 @@ var require_unesc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
return ret; return ret;
} }
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/getProp.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/getProp.js
var require_getProp = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/getProp.js": ((exports, module) => { var require_getProp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = getProp; exports["default"] = getProp;
function getProp(obj) { function getProp(obj) {
@@ -1702,11 +1704,11 @@ var require_getProp = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
return obj; return obj;
} }
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/ensureObject.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/ensureObject.js
var require_ensureObject = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/ensureObject.js": ((exports, module) => { var require_ensureObject = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = ensureObject; exports["default"] = ensureObject;
function ensureObject(obj) { function ensureObject(obj) {
@@ -1718,11 +1720,11 @@ var require_ensureObject = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
} }
} }
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/stripComments.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/stripComments.js
var require_stripComments = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/stripComments.js": ((exports, module) => { var require_stripComments = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = stripComments; exports["default"] = stripComments;
function stripComments(str$1) { function stripComments(str$1) {
@@ -1740,12 +1742,13 @@ var require_stripComments = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
return s; return s;
} }
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/index.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/index.js
var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/util/index.js": ((exports) => { var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
exports.__esModule = true; exports.__esModule = true;
exports.unesc = exports.stripComments = exports.getProp = exports.ensureObject = void 0;
var _unesc$1 = _interopRequireDefault$20(require_unesc()); var _unesc$1 = _interopRequireDefault$20(require_unesc());
exports.unesc = _unesc$1["default"]; exports.unesc = _unesc$1["default"];
var _getProp = _interopRequireDefault$20(require_getProp()); var _getProp = _interopRequireDefault$20(require_getProp());
@@ -1757,11 +1760,11 @@ var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
function _interopRequireDefault$20(obj) { function _interopRequireDefault$20(obj) {
return obj && obj.__esModule ? obj : { "default": obj }; return obj && obj.__esModule ? obj : { "default": obj };
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/node.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/node.js
var require_node$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/node.js": ((exports, module) => { var require_node$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _util$3 = require_util(); var _util$3 = require_util();
@@ -1894,12 +1897,13 @@ var require_node$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
}(); }();
exports["default"] = Node; exports["default"] = Node;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/types.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/types.js
var require_types = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/types.js": ((exports) => { var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
exports.__esModule = true; exports.__esModule = true;
exports.UNIVERSAL = exports.TAG = exports.STRING = exports.SELECTOR = exports.ROOT = exports.PSEUDO = exports.NESTING = exports.ID = exports.COMMENT = exports.COMBINATOR = exports.CLASS = exports.ATTRIBUTE = void 0;
var TAG = "tag"; var TAG = "tag";
exports.TAG = TAG; exports.TAG = TAG;
var STRING = "string"; var STRING = "string";
@@ -1924,11 +1928,11 @@ var require_types = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
exports.ATTRIBUTE = ATTRIBUTE; exports.ATTRIBUTE = ATTRIBUTE;
var UNIVERSAL = "universal"; var UNIVERSAL = "universal";
exports.UNIVERSAL = UNIVERSAL; exports.UNIVERSAL = UNIVERSAL;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/container.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/container.js
var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/container.js": ((exports, module) => { var require_container = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _node$7 = _interopRequireDefault$19(require_node$1()); var _node$7 = _interopRequireDefault$19(require_node$1());
@@ -2265,11 +2269,11 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
}(_node$7["default"]); }(_node$7["default"]);
exports["default"] = Container; exports["default"] = Container;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/root.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/root.js
var require_root = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/root.js": ((exports, module) => { var require_root = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _container$2 = _interopRequireDefault$18(require_container()); var _container$2 = _interopRequireDefault$18(require_container());
@@ -2333,11 +2337,11 @@ var require_root = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
}(_container$2["default"]); }(_container$2["default"]);
exports["default"] = Root; exports["default"] = Root;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/selector.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/selector.js
var require_selector = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/selector.js": ((exports, module) => { var require_selector = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _container$1 = _interopRequireDefault$17(require_container()); var _container$1 = _interopRequireDefault$17(require_container());
@@ -2368,11 +2372,12 @@ var require_selector = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
}(_container$1["default"]); }(_container$1["default"]);
exports["default"] = Selector; exports["default"] = Selector;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js //#region ../../node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js
var require_cssesc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js": ((exports, module) => { /*! https://mths.be/cssesc v3.0.0 by @mathias */
var require_cssesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
var hasOwnProperty$1 = {}.hasOwnProperty; var hasOwnProperty$1 = {}.hasOwnProperty;
var merge = function merge$1(options, defaults) { var merge = function merge$1(options, defaults) {
if (!options) return defaults; if (!options) return defaults;
@@ -2429,11 +2434,11 @@ var require_cssesc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/csse
}; };
cssesc.version = "3.0.0"; cssesc.version = "3.0.0";
module.exports = cssesc; module.exports = cssesc;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/className.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/className.js
var require_className = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/className.js": ((exports, module) => { var require_className = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _cssesc$2 = _interopRequireDefault$16(require_cssesc()); var _cssesc$2 = _interopRequireDefault$16(require_cssesc());
@@ -2502,11 +2507,11 @@ var require_className = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
}(_node$6["default"]); }(_node$6["default"]);
exports["default"] = ClassName; exports["default"] = ClassName;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/comment.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/comment.js
var require_comment = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/comment.js": ((exports, module) => { var require_comment = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _node$5 = _interopRequireDefault$15(require_node$1()); var _node$5 = _interopRequireDefault$15(require_node$1());
@@ -2537,11 +2542,11 @@ var require_comment = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
}(_node$5["default"]); }(_node$5["default"]);
exports["default"] = Comment; exports["default"] = Comment;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/id.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/id.js
var require_id = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/id.js": ((exports, module) => { var require_id = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _node$4 = _interopRequireDefault$14(require_node$1()); var _node$4 = _interopRequireDefault$14(require_node$1());
@@ -2576,11 +2581,11 @@ var require_id = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-
}(_node$4["default"]); }(_node$4["default"]);
exports["default"] = ID; exports["default"] = ID;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/namespace.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/namespace.js
var require_namespace = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/namespace.js": ((exports, module) => { var require_namespace = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _cssesc$1 = _interopRequireDefault$13(require_cssesc()); var _cssesc$1 = _interopRequireDefault$13(require_cssesc());
@@ -2673,11 +2678,11 @@ var require_namespace = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
}(_node$3["default"]); }(_node$3["default"]);
exports["default"] = Namespace; exports["default"] = Namespace;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/tag.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/tag.js
var require_tag = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/tag.js": ((exports, module) => { var require_tag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _namespace$2 = _interopRequireDefault$12(require_namespace()); var _namespace$2 = _interopRequireDefault$12(require_namespace());
@@ -2708,11 +2713,11 @@ var require_tag = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
}(_namespace$2["default"]); }(_namespace$2["default"]);
exports["default"] = Tag; exports["default"] = Tag;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/string.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/string.js
var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/string.js": ((exports, module) => { var require_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _node$2 = _interopRequireDefault$11(require_node$1()); var _node$2 = _interopRequireDefault$11(require_node$1());
@@ -2743,11 +2748,11 @@ var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
}(_node$2["default"]); }(_node$2["default"]);
exports["default"] = String$1; exports["default"] = String$1;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/pseudo.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/pseudo.js
var require_pseudo = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/pseudo.js": ((exports, module) => { var require_pseudo = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _container = _interopRequireDefault$10(require_container()); var _container = _interopRequireDefault$10(require_container());
@@ -2788,21 +2793,22 @@ var require_pseudo = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
}(_container["default"]); }(_container["default"]);
exports["default"] = Pseudo; exports["default"] = Pseudo;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/node.js //#region ../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/node.js
var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/node.js": ((exports, module) => { var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
/** /**
* For Node.js, simply re-export the core `util.deprecate` function. * For Node.js, simply re-export the core `util.deprecate` function.
*/ */
module.exports = __require("util").deprecate; module.exports = __require("util").deprecate;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/attribute.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/attribute.js
var require_attribute = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/attribute.js": ((exports) => { var require_attribute = /* @__PURE__ */ __commonJSMin(((exports) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0;
exports.unescapeValue = unescapeValue; exports.unescapeValue = unescapeValue;
var _cssesc = _interopRequireDefault$9(require_cssesc()); var _cssesc = _interopRequireDefault$9(require_cssesc());
var _unesc = _interopRequireDefault$9(require_unesc()); var _unesc = _interopRequireDefault$9(require_unesc());
@@ -3123,11 +3129,11 @@ var require_attribute = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
function defaultAttrConcat(attrValue, attrSpaces) { function defaultAttrConcat(attrValue, attrSpaces) {
return "" + attrSpaces.before + attrValue + attrSpaces.after; return "" + attrSpaces.before + attrValue + attrSpaces.after;
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/universal.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/universal.js
var require_universal = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/universal.js": ((exports, module) => { var require_universal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _namespace = _interopRequireDefault$8(require_namespace()); var _namespace = _interopRequireDefault$8(require_namespace());
@@ -3159,11 +3165,11 @@ var require_universal = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
}(_namespace["default"]); }(_namespace["default"]);
exports["default"] = Universal; exports["default"] = Universal;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/combinator.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/combinator.js
var require_combinator = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/combinator.js": ((exports, module) => { var require_combinator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _node$1 = _interopRequireDefault$7(require_node$1()); var _node$1 = _interopRequireDefault$7(require_node$1());
@@ -3194,11 +3200,11 @@ var require_combinator = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
}(_node$1["default"]); }(_node$1["default"]);
exports["default"] = Combinator; exports["default"] = Combinator;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/nesting.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/nesting.js
var require_nesting = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/nesting.js": ((exports, module) => { var require_nesting = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _node = _interopRequireDefault$6(require_node$1()); var _node = _interopRequireDefault$6(require_node$1());
@@ -3230,11 +3236,11 @@ var require_nesting = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
}(_node["default"]); }(_node["default"]);
exports["default"] = Nesting; exports["default"] = Nesting;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/sortAscending.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/sortAscending.js
var require_sortAscending = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/sortAscending.js": ((exports, module) => { var require_sortAscending = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = sortAscending; exports["default"] = sortAscending;
function sortAscending(list) { function sortAscending(list) {
@@ -3243,12 +3249,13 @@ var require_sortAscending = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
}); });
} }
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenTypes.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenTypes.js
var require_tokenTypes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenTypes.js": ((exports) => { var require_tokenTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
exports.__esModule = true; exports.__esModule = true;
exports.word = exports.tilde = exports.tab = exports.str = exports.space = exports.slash = exports.singleQuote = exports.semicolon = exports.plus = exports.pipe = exports.openSquare = exports.openParenthesis = exports.newline = exports.greaterThan = exports.feed = exports.equals = exports.doubleQuote = exports.dollar = exports.cr = exports.comment = exports.comma = exports.combinator = exports.colon = exports.closeSquare = exports.closeParenthesis = exports.caret = exports.bang = exports.backslash = exports.at = exports.asterisk = exports.ampersand = void 0;
var ampersand = 38; var ampersand = 38;
exports.ampersand = ampersand; exports.ampersand = ampersand;
var asterisk = 42; var asterisk = 42;
@@ -3311,12 +3318,13 @@ var require_tokenTypes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
exports.word = word; exports.word = word;
var combinator$1 = -3; var combinator$1 = -3;
exports.combinator = combinator$1; exports.combinator = combinator$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenize.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenize.js
var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/tokenize.js": ((exports) => { var require_tokenize = /* @__PURE__ */ __commonJSMin(((exports) => {
exports.__esModule = true; exports.__esModule = true;
exports.FIELDS = void 0;
exports["default"] = tokenize; exports["default"] = tokenize;
var t = _interopRequireWildcard$2(require_tokenTypes()); var t = _interopRequireWildcard$2(require_tokenTypes());
var _unescapable, _wordDelimiters; var _unescapable, _wordDelimiters;
@@ -3537,11 +3545,11 @@ var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
} }
return tokens$1; return tokens$1;
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/parser.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/parser.js
var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/parser.js": ((exports, module) => { var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _root$1 = _interopRequireDefault$5(require_root()); var _root$1 = _interopRequireDefault$5(require_root());
@@ -4399,11 +4407,11 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
}(); }();
exports["default"] = Parser; exports["default"] = Parser;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/processor.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/processor.js
var require_processor = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/processor.js": ((exports, module) => { var require_processor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _parser = _interopRequireDefault$4(require_parser()); var _parser = _interopRequireDefault$4(require_parser());
@@ -4503,12 +4511,13 @@ var require_processor = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
}(); }();
exports["default"] = Processor; exports["default"] = Processor;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/constructors.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/constructors.js
var require_constructors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/constructors.js": ((exports) => { var require_constructors = /* @__PURE__ */ __commonJSMin(((exports) => {
exports.__esModule = true; exports.__esModule = true;
exports.universal = exports.tag = exports.string = exports.selector = exports.root = exports.pseudo = exports.nesting = exports.id = exports.comment = exports.combinator = exports.className = exports.attribute = void 0;
var _attribute = _interopRequireDefault$3(require_attribute()); var _attribute = _interopRequireDefault$3(require_attribute());
var _className = _interopRequireDefault$3(require_className()); var _className = _interopRequireDefault$3(require_className());
var _combinator = _interopRequireDefault$3(require_combinator()); var _combinator = _interopRequireDefault$3(require_combinator());
@@ -4572,17 +4581,22 @@ var require_constructors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
return new _universal["default"](opts); return new _universal["default"](opts);
}; };
exports.universal = universal; exports.universal = universal;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/guards.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/guards.js
var require_guards = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/guards.js": ((exports) => { var require_guards = /* @__PURE__ */ __commonJSMin(((exports) => {
exports.__esModule = true; exports.__esModule = true;
exports.isComment = exports.isCombinator = exports.isClassName = exports.isAttribute = void 0;
exports.isContainer = isContainer; exports.isContainer = isContainer;
exports.isIdentifier = void 0;
exports.isNamespace = isNamespace; exports.isNamespace = isNamespace;
exports.isNesting = void 0;
exports.isNode = isNode; exports.isNode = isNode;
exports.isPseudo = void 0;
exports.isPseudoClass = isPseudoClass; exports.isPseudoClass = isPseudoClass;
exports.isPseudoElement = isPseudoElement; exports.isPseudoElement = isPseudoElement;
exports.isUniversal = exports.isTag = exports.isString = exports.isSelector = exports.isRoot = void 0;
var _types$1 = require_types(); var _types$1 = require_types();
var _IS_TYPE; var _IS_TYPE;
var IS_TYPE = (_IS_TYPE = {}, _IS_TYPE[_types$1.ATTRIBUTE] = true, _IS_TYPE[_types$1.CLASS] = true, _IS_TYPE[_types$1.COMBINATOR] = true, _IS_TYPE[_types$1.COMMENT] = true, _IS_TYPE[_types$1.ID] = true, _IS_TYPE[_types$1.NESTING] = true, _IS_TYPE[_types$1.PSEUDO] = true, _IS_TYPE[_types$1.ROOT] = true, _IS_TYPE[_types$1.SELECTOR] = true, _IS_TYPE[_types$1.STRING] = true, _IS_TYPE[_types$1.TAG] = true, _IS_TYPE[_types$1.UNIVERSAL] = true, _IS_TYPE); var IS_TYPE = (_IS_TYPE = {}, _IS_TYPE[_types$1.ATTRIBUTE] = true, _IS_TYPE[_types$1.CLASS] = true, _IS_TYPE[_types$1.COMBINATOR] = true, _IS_TYPE[_types$1.COMMENT] = true, _IS_TYPE[_types$1.ID] = true, _IS_TYPE[_types$1.NESTING] = true, _IS_TYPE[_types$1.PSEUDO] = true, _IS_TYPE[_types$1.ROOT] = true, _IS_TYPE[_types$1.SELECTOR] = true, _IS_TYPE[_types$1.STRING] = true, _IS_TYPE[_types$1.TAG] = true, _IS_TYPE[_types$1.UNIVERSAL] = true, _IS_TYPE);
@@ -4628,11 +4642,11 @@ var require_guards = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
function isNamespace(node) { function isNamespace(node) {
return isAttribute(node) || isTag(node); return isAttribute(node) || isTag(node);
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/index.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/index.js
var require_selectors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/selectors/index.js": ((exports) => { var require_selectors = /* @__PURE__ */ __commonJSMin(((exports) => {
exports.__esModule = true; exports.__esModule = true;
var _types = require_types(); var _types = require_types();
Object.keys(_types).forEach(function(key) { Object.keys(_types).forEach(function(key) {
@@ -4652,11 +4666,11 @@ var require_selectors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
if (key in exports && exports[key] === _guards[key]) return; if (key in exports && exports[key] === _guards[key]) return;
exports[key] = _guards[key]; exports[key] = _guards[key];
}); });
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/index.js //#region ../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/index.js
var require_dist = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-selector-parser@7.1.0/node_modules/postcss-selector-parser/dist/index.js": ((exports, module) => { var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
exports.__esModule = true; exports.__esModule = true;
exports["default"] = void 0; exports["default"] = void 0;
var _processor = _interopRequireDefault$2(require_processor()); var _processor = _interopRequireDefault$2(require_processor());
@@ -4695,11 +4709,11 @@ var require_dist = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
var _default = parser; var _default = parser;
exports["default"] = _default; exports["default"] = _default;
module.exports = exports.default; module.exports = exports.default;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.6/node_modules/postcss-modules-local-by-default/src/index.js //#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.6/node_modules/postcss-modules-local-by-default/src/index.js
var require_src$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.6/node_modules/postcss-modules-local-by-default/src/index.js": ((exports, module) => { var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const selectorParser$1 = require_dist(); const selectorParser$1 = require_dist();
const valueParser = require_lib(); const valueParser = require_lib();
const { extractICSS } = require_src$4(); const { extractICSS } = require_src$4();
@@ -5094,11 +5108,11 @@ var require_src$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
}; };
}; };
module.exports.postcss = true; module.exports.postcss = true;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.6/node_modules/postcss-modules-scope/src/index.js //#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.6/node_modules/postcss-modules-scope/src/index.js
var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.6/node_modules/postcss-modules-scope/src/index.js": ((exports, module) => { var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const selectorParser = require_dist(); const selectorParser = require_dist();
const hasOwnProperty = Object.prototype.hasOwnProperty; const hasOwnProperty = Object.prototype.hasOwnProperty;
function isNestedRule(rule) { function isNestedRule(rule) {
@@ -5265,22 +5279,22 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
}; };
}; };
module.exports = plugin; module.exports = plugin;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/string-hash@1.1.3/node_modules/string-hash/index.js //#region ../../node_modules/.pnpm/string-hash@1.1.3/node_modules/string-hash/index.js
var require_string_hash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/string-hash@1.1.3/node_modules/string-hash/index.js": ((exports, module) => { var require_string_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
function hash(str$1) { function hash(str$1) {
var hash$1 = 5381, i$1 = str$1.length; var hash$1 = 5381, i$1 = str$1.length;
while (i$1) hash$1 = hash$1 * 33 ^ str$1.charCodeAt(--i$1); while (i$1) hash$1 = hash$1 * 33 ^ str$1.charCodeAt(--i$1);
return hash$1 >>> 0; return hash$1 >>> 0;
} }
module.exports = hash; module.exports = hash;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.6/node_modules/postcss-modules-values/src/index.js //#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.6/node_modules/postcss-modules-values/src/index.js
var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.6/node_modules/postcss-modules-values/src/index.js": ((exports, module) => { var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const ICSSUtils = require_src$4(); const ICSSUtils = require_src$4();
const matchImports = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/; const matchImports = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;
const matchValueDefinition = /(?:\s+|^)([\w-]+):?(.*?)$/; const matchValueDefinition = /(?:\s+|^)([\w-]+):?(.*?)$/;
@@ -5364,12 +5378,13 @@ var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
}; };
}; };
module.exports.postcss = true; module.exports.postcss = true;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/scoping.js //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/scoping.js
var require_scoping = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/scoping.js": ((exports) => { var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.behaviours = void 0;
exports.getDefaultPlugins = getDefaultPlugins; exports.getDefaultPlugins = getDefaultPlugins;
exports.getDefaultScopeBehaviour = getDefaultScopeBehaviour; exports.getDefaultScopeBehaviour = getDefaultScopeBehaviour;
exports.getScopedNameGenerator = getScopedNameGenerator; exports.getScopedNameGenerator = getScopedNameGenerator;
@@ -5426,11 +5441,11 @@ var require_scoping = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
hashPrefix hashPrefix
}); });
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/pluginFactory.js //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/pluginFactory.js
var require_pluginFactory = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/pluginFactory.js": ((exports) => { var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.makePlugin = makePlugin; exports.makePlugin = makePlugin;
var _postcss = _interopRequireDefault(__require("postcss")); var _postcss = _interopRequireDefault(__require("postcss"));
@@ -5501,11 +5516,11 @@ var require_pluginFactory = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
} }
}; };
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/index.js //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/index.js
var require_build = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.6/node_modules/postcss-modules/build/index.js": ((exports, module) => { var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
var _fs = __require("fs"); var _fs = __require("fs");
var _fs2 = require_fs(); var _fs2 = require_fs();
var _pluginFactory = require_pluginFactory(); var _pluginFactory = require_pluginFactory();
@@ -5515,7 +5530,7 @@ var require_build = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
}); });
module.exports = (opts = {}) => (0, _pluginFactory.makePlugin)(opts); module.exports = (opts = {}) => (0, _pluginFactory.makePlugin)(opts);
module.exports.postcss = true; module.exports.postcss = true;
}) }); }));
//#endregion //#endregion
export default require_build(); export default require_build();
+22 -5
View File
@@ -7,25 +7,42 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames; var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf; var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty; var __hasOwnProp = Object.prototype.hasOwnProperty;
var __commonJS = (cb, mod) => function() { var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
var __export = (all, symbols) => {
let target = {};
for (var name in all) {
__defProp(target, name, {
get: all[name],
enumerable: true
});
}
if (symbols) {
__defProp(target, Symbol.toStringTag, { value: "Module" });
}
return target;
}; };
var __copyProps = (to, from, except, desc) => { var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) { if (from && typeof from === "object" || typeof from === "function") {
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
key = keys[i]; key = keys[i];
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { if (!__hasOwnProp.call(to, key) && key !== except) {
__defProp(to, key, {
get: ((k) => from[k]).bind(null, key), get: ((k) => from[k]).bind(null, key),
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
}); });
} }
}
}
return to; return to;
}; };
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
value: mod, value: mod,
enumerable: true enumerable: true
}) : target, mod)); }) : target, mod));
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode); var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);
var __require = /* @__PURE__ */ createRequire(import.meta.url); var __require = /* @__PURE__ */ createRequire(import.meta.url);
//#endregion //#endregion
export { __commonJS, __require, __toDynamicImportESM, __toESM }; export { __toCommonJS as a, __require as i, __esmMin as n, __toDynamicImportESM as o, __export as r, __toESM as s, __commonJSMin as t };
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,4 +1,4 @@
import "./logger.js"; import "./logger.js";
import { configDefaults, defineConfig, getDefaultEnvironmentOptions, isResolvedConfig, loadConfigFromFile, resolveBaseUrl, resolveConfig, resolveDevEnvironmentOptions, sortUserPlugins } from "./config.js"; import { a as resolveBaseUrl, c as sortUserPlugins, i as loadConfigFromFile, n as getDefaultEnvironmentOptions, o as resolveConfig, r as isResolvedConfig, s as resolveDevEnvironmentOptions, t as defineConfig } from "./config.js";
export { resolveConfig }; export { resolveConfig };
+12 -12
View File
@@ -1,7 +1,7 @@
import { __commonJS } from "./chunk.js"; import { t as __commonJSMin } from "./chunk.js";
//#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/parse.js //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/parse.js
var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/parse.js": ((exports, module) => { var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
var openParentheses = "(".charCodeAt(0); var openParentheses = "(".charCodeAt(0);
var closeParentheses = ")".charCodeAt(0); var closeParentheses = ")".charCodeAt(0);
var singleQuote = "'".charCodeAt(0); var singleQuote = "'".charCodeAt(0);
@@ -229,11 +229,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
} }
return stack[0].nodes; return stack[0].nodes;
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/walk.js //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/walk.js
var require_walk = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/walk.js": ((exports, module) => { var require_walk = /* @__PURE__ */ __commonJSMin(((exports, module) => {
module.exports = function walk$1(nodes, cb, bubble) { module.exports = function walk$1(nodes, cb, bubble) {
var i, max, node, result; var i, max, node, result;
for (i = 0, max = nodes.length; i < max; i += 1) { for (i = 0, max = nodes.length; i < max; i += 1) {
@@ -243,11 +243,11 @@ var require_walk = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
if (bubble) cb(node, i, nodes); if (bubble) cb(node, i, nodes);
} }
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/stringify.js //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/stringify.js
var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/stringify.js": ((exports, module) => { var require_stringify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
function stringifyNode(node, custom) { function stringifyNode(node, custom) {
var type = node.type; var type = node.type;
var value = node.value; var value = node.value;
@@ -277,11 +277,11 @@ var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
return stringifyNode(nodes, custom); return stringifyNode(nodes, custom);
} }
module.exports = stringify$1; module.exports = stringify$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/unit.js //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/unit.js
var require_unit = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/unit.js": ((exports, module) => { var require_unit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
var minus = "-".charCodeAt(0); var minus = "-".charCodeAt(0);
var plus = "+".charCodeAt(0); var plus = "+".charCodeAt(0);
var dot = ".".charCodeAt(0); var dot = ".".charCodeAt(0);
@@ -345,11 +345,11 @@ var require_unit = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
unit: value.slice(pos) unit: value.slice(pos)
}; };
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/index.js //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/index.js
var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/index.js": ((exports, module) => { var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
var parse = require_parse(); var parse = require_parse();
var walk = require_walk(); var walk = require_walk();
var stringify = require_stringify(); var stringify = require_stringify();
@@ -371,7 +371,7 @@ var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
ValueParser.walk = walk; ValueParser.walk = walk;
ValueParser.stringify = stringify; ValueParser.stringify = stringify;
module.exports = ValueParser; module.exports = ValueParser;
}) }); }));
//#endregion //#endregion
export { require_lib }; export { require_lib as t };
+13 -4
View File
@@ -1,11 +1,11 @@
import { __commonJS, __toESM } from "./chunk.js"; import { s as __toESM, t as __commonJSMin } from "./chunk.js";
import { readFileSync } from "node:fs"; import { readFileSync } from "node:fs";
import path, { resolve } from "node:path"; import path, { resolve } from "node:path";
import { fileURLToPath } from "node:url"; import { fileURLToPath } from "node:url";
import readline from "node:readline"; import readline from "node:readline";
//#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js //#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": ((exports, module) => { var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
let p = process || {}, argv = p.argv || [], env = p.env || {}; let p = process || {}, argv = p.argv || [], env = p.env || {};
let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI); let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
let formatter = (open, close, replace = open) => (input) => { let formatter = (open, close, replace = open) => (input) => {
@@ -70,7 +70,7 @@ var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
}; };
module.exports = createColors(); module.exports = createColors();
module.exports.createColors = createColors; module.exports.createColors = createColors;
}) }); }));
//#endregion //#endregion
//#region src/node/constants.ts //#region src/node/constants.ts
@@ -127,6 +127,15 @@ const DEFAULT_CONDITIONS = [
const DEFAULT_CLIENT_CONDITIONS = Object.freeze(DEFAULT_CONDITIONS.filter((c) => c !== "node")); const DEFAULT_CLIENT_CONDITIONS = Object.freeze(DEFAULT_CONDITIONS.filter((c) => c !== "node"));
const DEFAULT_SERVER_CONDITIONS = Object.freeze(DEFAULT_CONDITIONS.filter((c) => c !== "browser")); const DEFAULT_SERVER_CONDITIONS = Object.freeze(DEFAULT_CONDITIONS.filter((c) => c !== "browser"));
const DEFAULT_EXTERNAL_CONDITIONS = Object.freeze(["node", "module-sync"]); const DEFAULT_EXTERNAL_CONDITIONS = Object.freeze(["node", "module-sync"]);
const DEFAULT_EXTENSIONS = [
".mjs",
".js",
".mts",
".ts",
".jsx",
".tsx",
".json"
];
/** /**
* The browser versions that are included in the Baseline Widely Available on 2025-05-01. * The browser versions that are included in the Baseline Widely Available on 2025-05-01.
* *
@@ -317,4 +326,4 @@ function printServerUrls(urls, optionsHost, info) {
} }
//#endregion //#endregion
export { CLIENT_DIR, CLIENT_ENTRY, CLIENT_PUBLIC_PATH, CSS_LANGS_RE, DEFAULT_ASSETS_INLINE_LIMIT, DEFAULT_ASSETS_RE, DEFAULT_CLIENT_CONDITIONS, DEFAULT_CLIENT_MAIN_FIELDS, DEFAULT_CONFIG_FILES, DEFAULT_DEV_PORT, DEFAULT_EXTERNAL_CONDITIONS, DEFAULT_PREVIEW_PORT, DEFAULT_SERVER_CONDITIONS, DEFAULT_SERVER_MAIN_FIELDS, DEP_VERSION_RE, DEV_PROD_CONDITION, ENV_ENTRY, ENV_PUBLIC_PATH, ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR, ERR_OPTIMIZE_DEPS_PROCESSING_ERROR, ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET, FS_PREFIX, JS_TYPES_RE, KNOWN_ASSET_TYPES, LogLevels, METADATA_FILENAME, OPTIMIZABLE_ENTRY_RE, ROLLUP_HOOKS, SPECIAL_QUERY_RE, VERSION, VITE_PACKAGE_DIR, createLogger, defaultAllowedOrigins, loopbackHosts, printServerUrls, require_picocolors, wildcardHosts }; export { OPTIMIZABLE_ENTRY_RE as A, ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR as C, JS_TYPES_RE as D, FS_PREFIX as E, defaultAllowedOrigins as F, loopbackHosts as I, wildcardHosts as L, SPECIAL_QUERY_RE as M, VERSION as N, KNOWN_ASSET_TYPES as O, VITE_PACKAGE_DIR as P, require_picocolors as R, ENV_PUBLIC_PATH as S, ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET as T, DEFAULT_SERVER_CONDITIONS as _, CLIENT_ENTRY as a, DEV_PROD_CONDITION as b, DEFAULT_ASSETS_INLINE_LIMIT as c, DEFAULT_CLIENT_MAIN_FIELDS as d, DEFAULT_CONFIG_FILES as f, DEFAULT_PREVIEW_PORT as g, DEFAULT_EXTERNAL_CONDITIONS as h, CLIENT_DIR as i, ROLLUP_HOOKS as j, METADATA_FILENAME as k, DEFAULT_ASSETS_RE as l, DEFAULT_EXTENSIONS as m, createLogger as n, CLIENT_PUBLIC_PATH as o, DEFAULT_DEV_PORT as p, printServerUrls as r, CSS_LANGS_RE as s, LogLevels as t, DEFAULT_CLIENT_CONDITIONS as u, DEFAULT_SERVER_MAIN_FIELDS as v, ERR_OPTIMIZE_DEPS_PROCESSING_ERROR as w, ENV_ENTRY as x, DEP_VERSION_RE as y };
@@ -24,7 +24,7 @@ interface ExternalFetchResult {
* Type of the module. Will be used to determine if import statement is correct. * Type of the module. Will be used to determine if import statement is correct.
* For example, if Vite needs to throw an error if variable is not actually exported * For example, if Vite needs to throw an error if variable is not actually exported
*/ */
type: 'module' | 'commonjs' | 'builtin' | 'network'; type: "module" | "commonjs" | "builtin" | "network";
} }
interface ViteFetchResult { interface ViteFetchResult {
/** /**
@@ -53,6 +53,14 @@ interface ViteFetchResult {
} }
type InvokeMethods = { type InvokeMethods = {
fetchModule: (id: string, importer?: string, options?: FetchFunctionOptions) => Promise<FetchResult>; fetchModule: (id: string, importer?: string, options?: FetchFunctionOptions) => Promise<FetchResult>;
getBuiltins: () => Promise<Array<{
type: "string";
value: string;
} | {
type: "RegExp";
source: string;
flags: string;
}>>;
}; };
//#endregion //#endregion
//#region src/shared/moduleRunnerTransport.d.ts //#region src/shared/moduleRunnerTransport.d.ts
@@ -61,8 +69,8 @@ type ModuleRunnerTransportHandlers = {
onDisconnection: () => void; onDisconnection: () => void;
}; };
/** /**
* "send and connect" or "invoke" must be implemented * "send and connect" or "invoke" must be implemented
*/ */
interface ModuleRunnerTransport { interface ModuleRunnerTransport {
connect?(handlers: ModuleRunnerTransportHandlers): Promise<void> | void; connect?(handlers: ModuleRunnerTransportHandlers): Promise<void> | void;
disconnect?(): Promise<void> | void; disconnect?(): Promise<void> | void;
@@ -85,4 +93,4 @@ declare const createWebSocketModuleRunnerTransport: (options: {
pingInterval?: number; pingInterval?: number;
}) => Required<Pick<ModuleRunnerTransport, "connect" | "disconnect" | "send">>; }) => Required<Pick<ModuleRunnerTransport, "connect" | "disconnect" | "send">>;
//#endregion //#endregion
export { ExternalFetchResult, FetchFunctionOptions, FetchResult, ModuleRunnerTransport, ModuleRunnerTransportHandlers, NormalizedModuleRunnerTransport, ViteFetchResult, createWebSocketModuleRunnerTransport }; export { ExternalFetchResult as a, ViteFetchResult as c, createWebSocketModuleRunnerTransport as i, ModuleRunnerTransportHandlers as n, FetchFunctionOptions as o, NormalizedModuleRunnerTransport as r, FetchResult as s, ModuleRunnerTransport as t };
@@ -1,4 +1,4 @@
import "./logger.js"; import "./logger.js";
import { addManuallyIncludedOptimizeDeps, addOptimizedDepInfo, cleanupDepsCacheStaleDirs, createIsOptimizedDepFile, createIsOptimizedDepUrl, depsFromOptimizedDepInfo, depsLogString, discoverProjectDependencies, extractExportsData, getDepsCacheDir, getOptimizedDepPath, initDepsOptimizerMetadata, isDepOptimizationDisabled, loadCachedDepOptimizationMetadata, optimizeDeps, optimizeExplicitEnvironmentDeps, optimizedDepInfoFromFile, optimizedDepInfoFromId, optimizedDepNeedsInterop, runOptimizeDeps, toDiscoveredDependencies } from "./config.js"; import { $ as runOptimizeDeps, B as depsLogString, F as addOptimizedDepInfo, G as initDepsOptimizerMetadata, H as extractExportsData, I as cleanupDepsCacheStaleDirs, J as optimizeDeps, K as isDepOptimizationDisabled, L as createIsOptimizedDepFile, P as addManuallyIncludedOptimizeDeps, Q as optimizedDepNeedsInterop, R as createIsOptimizedDepUrl, U as getDepsCacheDir, V as discoverProjectDependencies, W as getOptimizedDepPath, X as optimizedDepInfoFromFile, Y as optimizeExplicitEnvironmentDeps, Z as optimizedDepInfoFromId, et as toDiscoveredDependencies, q as loadCachedDepOptimizationMetadata, z as depsFromOptimizedDepInfo } from "./config.js";
export { optimizeDeps }; export { optimizeDeps };
@@ -1,8 +1,8 @@
import { __commonJS, __require } from "./chunk.js"; import { i as __require, t as __commonJSMin } from "./chunk.js";
import { require_lib } from "./lib.js"; import { t as require_lib } from "./lib.js";
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/format-import-prelude.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/format-import-prelude.js
var require_format_import_prelude = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/format-import-prelude.js": ((exports, module) => { var require_format_import_prelude = /* @__PURE__ */ __commonJSMin(((exports, module) => {
module.exports = function formatImportPrelude$2(layer, media, supports) { module.exports = function formatImportPrelude$2(layer, media, supports) {
const parts = []; const parts = [];
if (typeof layer !== "undefined") { if (typeof layer !== "undefined") {
@@ -14,11 +14,11 @@ var require_format_import_prelude = /* @__PURE__ */ __commonJS({ "../../node_mod
if (typeof media !== "undefined") parts.push(media); if (typeof media !== "undefined") parts.push(media);
return parts.join(" "); return parts.join(" ");
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/base64-encoded-import.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/base64-encoded-import.js
var require_base64_encoded_import = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/base64-encoded-import.js": ((exports, module) => { var require_base64_encoded_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const formatImportPrelude$1 = require_format_import_prelude(); const formatImportPrelude$1 = require_format_import_prelude();
module.exports = function base64EncodedConditionalImport$1(prelude, conditions) { module.exports = function base64EncodedConditionalImport$1(prelude, conditions) {
if (!conditions?.length) return prelude; if (!conditions?.length) return prelude;
@@ -28,11 +28,11 @@ var require_base64_encoded_import = /* @__PURE__ */ __commonJS({ "../../node_mod
for (const condition of conditions) params = `'data:text/css;base64,${Buffer.from(`@import ${params}`).toString("base64")}' ${formatImportPrelude$1(condition.layer, condition.media, condition.supports)}`; for (const condition of conditions) params = `'data:text/css;base64,${Buffer.from(`@import ${params}`).toString("base64")}' ${formatImportPrelude$1(condition.layer, condition.media, condition.supports)}`;
return params; return params;
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-conditions.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-conditions.js
var require_apply_conditions = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-conditions.js": ((exports, module) => { var require_apply_conditions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const base64EncodedConditionalImport = require_base64_encoded_import(); const base64EncodedConditionalImport = require_base64_encoded_import();
module.exports = function applyConditions$1(bundle, atRule) { module.exports = function applyConditions$1(bundle, atRule) {
const firstImportStatementIndex = bundle.findIndex((stmt) => stmt.type === "import"); const firstImportStatementIndex = bundle.findIndex((stmt) => stmt.type === "import");
@@ -104,11 +104,11 @@ var require_apply_conditions = /* @__PURE__ */ __commonJS({ "../../node_modules/
delete stmt.node; delete stmt.node;
}); });
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-raws.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-raws.js
var require_apply_raws = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-raws.js": ((exports, module) => { var require_apply_raws = /* @__PURE__ */ __commonJSMin(((exports, module) => {
module.exports = function applyRaws$1(bundle) { module.exports = function applyRaws$1(bundle) {
bundle.forEach((stmt, index) => { bundle.forEach((stmt, index) => {
if (index === 0) return; if (index === 0) return;
@@ -119,11 +119,11 @@ var require_apply_raws = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
} else if (stmt.type === "nodes") stmt.nodes[0].raws.before = stmt.nodes[0].raws.before || "\n"; } else if (stmt.type === "nodes") stmt.nodes[0].raws.before = stmt.nodes[0].raws.before || "\n";
}); });
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-styles.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-styles.js
var require_apply_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-styles.js": ((exports, module) => { var require_apply_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
module.exports = function applyStyles$1(bundle, styles) { module.exports = function applyStyles$1(bundle, styles) {
styles.nodes = []; styles.nodes = [];
bundle.forEach((stmt) => { bundle.forEach((stmt) => {
@@ -140,11 +140,11 @@ var require_apply_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
}); });
}); });
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/data-url.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/data-url.js
var require_data_url = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/data-url.js": ((exports, module) => { var require_data_url = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const anyDataURLRegexp = /^data:text\/css(?:;(base64|plain))?,/i; const anyDataURLRegexp = /^data:text\/css(?:;(base64|plain))?,/i;
const base64DataURLRegexp = /^data:text\/css;base64,/i; const base64DataURLRegexp = /^data:text\/css;base64,/i;
const plainDataURLRegexp = /^data:text\/css;plain,/i; const plainDataURLRegexp = /^data:text\/css;plain,/i;
@@ -160,11 +160,11 @@ var require_data_url = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
isValid, isValid,
contents contents
}; };
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-statements.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-statements.js
var require_parse_statements = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-statements.js": ((exports, module) => { var require_parse_statements = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const valueParser = require_lib(); const valueParser = require_lib();
const { stringify } = valueParser; const { stringify } = valueParser;
module.exports = function parseStatements$1(result, styles, conditions, from) { module.exports = function parseStatements$1(result, styles, conditions, from) {
@@ -286,11 +286,11 @@ var require_parse_statements = /* @__PURE__ */ __commonJS({ "../../node_modules/
from from
}; };
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/process-content.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/process-content.js
var require_process_content = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/process-content.js": ((exports, module) => { var require_process_content = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const path$2 = __require("path"); const path$2 = __require("path");
let sugarss; let sugarss;
module.exports = function processContent$1(result, content, filename, options, postcss) { module.exports = function processContent$1(result, content, filename, options, postcss) {
@@ -321,11 +321,11 @@ var require_process_content = /* @__PURE__ */ __commonJS({ "../../node_modules/.
return runPostcss(postcss, content, filename, plugins, parsers, index); return runPostcss(postcss, content, filename, plugins, parsers, index);
}); });
} }
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-styles.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-styles.js
var require_parse_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-styles.js": ((exports, module) => { var require_parse_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const path$1 = __require("path"); const path$1 = __require("path");
const dataURL = require_data_url(); const dataURL = require_data_url();
const parseStatements = require_parse_statements(); const parseStatements = require_parse_statements();
@@ -425,11 +425,11 @@ var require_parse_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
return true; return true;
} }
module.exports = parseStyles$1; module.exports = parseStyles$1;
}) }); }));
//#endregion //#endregion
//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/index.js //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/index.js
var require_postcss_import = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/index.js": ((exports, module) => { var require_postcss_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {
const path = __require("path"); const path = __require("path");
const applyConditions = require_apply_conditions(); const applyConditions = require_apply_conditions();
const applyRaws = require_apply_raws(); const applyRaws = require_apply_raws();
@@ -471,7 +471,7 @@ var require_postcss_import = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
} }
AtImport.postcss = true; AtImport.postcss = true;
module.exports = AtImport; module.exports = AtImport;
}) }); }));
//#endregion //#endregion
export default require_postcss_import(); export default require_postcss_import();
+1 -1
View File
@@ -1,4 +1,4 @@
import "./logger.js"; import "./logger.js";
import { preview, resolvePreviewOptions } from "./config.js"; import { d as resolvePreviewOptions, u as preview } from "./config.js";
export { preview }; export { preview };
+1 -1
View File
@@ -1,4 +1,4 @@
import "./logger.js"; import "./logger.js";
import { _createServer, createServer, createServerCloseFn, resolveServerOptions, restartServerWithUrls, serverConfigDefaults } from "./config.js"; import { at as _createServer, ct as resolveServerOptions, lt as restartServerWithUrls, ot as createServer, st as createServerCloseFn, ut as serverConfigDefaults } from "./config.js";
export { createServer }; export { createServer };
+2 -2
View File
@@ -1,5 +1,5 @@
import { __toESM } from "./chunks/chunk.js"; import { s as __toESM } from "./chunks/chunk.js";
import { VERSION, createLogger, require_picocolors } from "./chunks/logger.js"; import { N as VERSION, R as require_picocolors, n as createLogger } from "./chunks/logger.js";
import fs from "node:fs"; import fs from "node:fs";
import path from "node:path"; import path from "node:path";
import { performance } from "node:perf_hooks"; import { performance } from "node:perf_hooks";
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,5 +1,5 @@
import { DEFAULT_CLIENT_CONDITIONS, DEFAULT_CLIENT_MAIN_FIELDS, DEFAULT_EXTERNAL_CONDITIONS, DEFAULT_SERVER_CONDITIONS, DEFAULT_SERVER_MAIN_FIELDS, VERSION, createLogger, defaultAllowedOrigins } from "./chunks/logger.js"; import { F as defaultAllowedOrigins, N as VERSION, _ as DEFAULT_SERVER_CONDITIONS, d as DEFAULT_CLIENT_MAIN_FIELDS, h as DEFAULT_EXTERNAL_CONDITIONS, n as createLogger, u as DEFAULT_CLIENT_CONDITIONS, v as DEFAULT_SERVER_MAIN_FIELDS } from "./chunks/logger.js";
import { BuildEnvironment, DevEnvironment, build, buildErrorMessage, createBuilder, createFilter, createIdResolver, createRunnableDevEnvironment, createServer, createServerHotChannel, createServerModuleRunner, createServerModuleRunnerTransport, defineConfig, fetchModule, formatPostcssSourceMap, isCSSRequest, isFileLoadingAllowed, isFileServingAllowed, isRunnableDevEnvironment, loadConfigFromFile, loadEnv, mergeAlias, mergeConfig, normalizePath, optimizeDeps, perEnvironmentPlugin, perEnvironmentState, preprocessCSS, preview, resolveConfig, resolveEnvPrefix, rollupVersion, runnerImport, searchForWorkspaceRoot, send, sortUserPlugins, ssrTransform, transformWithEsbuild } from "./chunks/config.js"; import { Ct as perEnvironmentPlugin, Dt as mergeConfig, Et as mergeAlias, J as optimizeDeps, Ot as normalizePath, St as perEnvironmentState, Tt as isCSSRequest, _ as build, _t as createServerModuleRunnerTransport, b as createBuilder, bt as resolveEnvPrefix, c as sortUserPlugins, dt as searchForWorkspaceRoot, f as createRunnableDevEnvironment, ft as isFileLoadingAllowed, g as BuildEnvironment, gt as createServerModuleRunner, h as fetchModule, ht as ssrTransform, i as loadConfigFromFile, it as createServerHotChannel, kt as rollupVersion, l as runnerImport, m as DevEnvironment, mt as send, nt as preprocessCSS, o as resolveConfig, ot as createServer, p as isRunnableDevEnvironment, pt as isFileServingAllowed, rt as createIdResolver, t as defineConfig, tt as formatPostcssSourceMap, u as preview, vt as buildErrorMessage, wt as createFilter, xt as transformWithEsbuild, yt as loadEnv } from "./chunks/config.js";
import { parseAst, parseAstAsync } from "rollup/parseAst"; import { parseAst, parseAstAsync } from "rollup/parseAst";
import { version as esbuildVersion } from "esbuild"; import { version as esbuildVersion } from "esbuild";
@@ -1,4 +1,4 @@
import { ExternalFetchResult, FetchFunctionOptions, FetchResult, ModuleRunnerTransport, ModuleRunnerTransportHandlers, NormalizedModuleRunnerTransport, ViteFetchResult, createWebSocketModuleRunnerTransport } from "./chunks/moduleRunnerTransport.js"; import { a as ExternalFetchResult, c as ViteFetchResult, i as createWebSocketModuleRunnerTransport, n as ModuleRunnerTransportHandlers, o as FetchFunctionOptions, r as NormalizedModuleRunnerTransport, s as FetchResult, t as ModuleRunnerTransport } from "./chunks/moduleRunnerTransport.js";
import { ModuleNamespace, ViteHotContext } from "#types/hot"; import { ModuleNamespace, ViteHotContext } from "#types/hot";
import { HotPayload, Update } from "#types/hmrPayload"; import { HotPayload, Update } from "#types/hmrPayload";
import { InferCustomEventPayload } from "#types/customEvent"; import { InferCustomEventPayload } from "#types/customEvent";
@@ -17,6 +17,7 @@ declare class DecodedMap {
_decoded: undefined | number[][][]; _decoded: undefined | number[][][];
_decodedMemo: Stats; _decodedMemo: Stats;
url: string; url: string;
file: string;
version: number; version: number;
names: string[]; names: string[];
resolvedSources: string[]; resolvedSources: string[];
@@ -108,6 +109,8 @@ declare class ModuleRunner {
private readonly transport; private readonly transport;
private readonly resetSourceMapSupport?; private readonly resetSourceMapSupport?;
private readonly concurrentModuleNodePromises; private readonly concurrentModuleNodePromises;
private isBuiltin?;
private builtinsPromise?;
private closed; private closed;
constructor(options: ModuleRunnerOptions, evaluator?: ModuleEvaluator, debug?: ModuleRunnerDebugger | undefined); constructor(options: ModuleRunnerOptions, evaluator?: ModuleEvaluator, debug?: ModuleRunnerDebugger | undefined);
/** /**
@@ -132,6 +135,7 @@ declare class ModuleRunner {
private isCircularImport; private isCircularImport;
private cachedRequest; private cachedRequest;
private cachedModule; private cachedModule;
private ensureBuiltins;
private getModuleInformation; private getModuleInformation;
protected directRequest(url: string, mod: EvaluatedModuleNode, _callstack: string[]): Promise<any>; protected directRequest(url: string, mod: EvaluatedModuleNode, _callstack: string[]): Promise<any>;
} }
@@ -205,7 +209,7 @@ interface ModuleRunnerOptions {
* Otherwise it will use `prepareStackTrace` by default which overrides `Error.prepareStackTrace` method. * Otherwise it will use `prepareStackTrace` by default which overrides `Error.prepareStackTrace` method.
* You can provide an object to configure how file contents and source maps are resolved for files that were not processed by Vite. * You can provide an object to configure how file contents and source maps are resolved for files that were not processed by Vite.
*/ */
sourcemapInterceptor?: false | 'node' | 'prepareStackTrace' | InterceptorOptions; sourcemapInterceptor?: false | "node" | "prepareStackTrace" | InterceptorOptions;
/** /**
* Disable HMR or configure HMR options. * Disable HMR or configure HMR options.
* *
@@ -300,8 +304,8 @@ declare class ESModulesEvaluator implements ModuleEvaluator {
//#region src/module-runner/createImportMeta.d.ts //#region src/module-runner/createImportMeta.d.ts
declare function createDefaultImportMeta(modulePath: string): ModuleRunnerImportMeta; declare function createDefaultImportMeta(modulePath: string): ModuleRunnerImportMeta;
/** /**
* Create import.meta object for Node.js. * Create import.meta object for Node.js.
*/ */
declare function createNodeImportMeta(modulePath: string): Promise<ModuleRunnerImportMeta>; declare function createNodeImportMeta(modulePath: string): Promise<ModuleRunnerImportMeta>;
//#endregion //#endregion
export { ESModulesEvaluator, type EvaluatedModuleNode, EvaluatedModules, type FetchFunction, type FetchFunctionOptions, type FetchResult, type HMRLogger, type InterceptorOptions, type ModuleEvaluator, ModuleRunner, type ModuleRunnerContext, type ModuleRunnerHmr, type ModuleRunnerImportMeta, type ModuleRunnerOptions, type ModuleRunnerTransport, type ModuleRunnerTransportHandlers, type ResolvedResult, type SSRImportMetadata, createDefaultImportMeta, createNodeImportMeta, createWebSocketModuleRunnerTransport, normalizeModuleId, ssrDynamicImportKey, ssrExportAllKey, ssrExportNameKey, ssrImportKey, ssrImportMetaKey, ssrModuleExportsKey }; export { ESModulesEvaluator, type EvaluatedModuleNode, EvaluatedModules, type FetchFunction, type FetchFunctionOptions, type FetchResult, type HMRLogger, type InterceptorOptions, type ModuleEvaluator, ModuleRunner, type ModuleRunnerContext, type ModuleRunnerHmr, type ModuleRunnerImportMeta, type ModuleRunnerOptions, type ModuleRunnerTransport, type ModuleRunnerTransportHandlers, type ResolvedResult, type SSRImportMetadata, createDefaultImportMeta, createNodeImportMeta, createWebSocketModuleRunnerTransport, normalizeModuleId, ssrDynamicImportKey, ssrExportAllKey, ssrExportNameKey, ssrImportKey, ssrImportMetaKey, ssrModuleExportsKey };
+41 -7
View File
@@ -216,13 +216,16 @@ var DecodedMap = class {
_decoded; _decoded;
_decodedMemo; _decodedMemo;
url; url;
file;
version; version;
names = []; names = [];
resolvedSources; resolvedSources;
constructor(map, from) { constructor(map, from) {
this.map = map; this.map = map;
let { mappings, names, sources } = map; let { mappings, names, sources } = map;
this.version = map.version, this.names = names || [], this._encoded = mappings || "", this._decodedMemo = memoizedState(), this.url = from, this.resolvedSources = (sources || []).map((s) => posixResolve(s || "", from)); this.version = map.version, this.names = names || [], this._encoded = mappings || "", this._decodedMemo = memoizedState(), this.url = from, this.file = from;
let originDir = posixDirname(from);
this.resolvedSources = (sources || []).map((s) => posixResolve(originDir, s || ""));
} }
}; };
function memoizedState() { function memoizedState() {
@@ -619,7 +622,12 @@ const createInvokeableTransport = (transport) => {
ws.send(JSON.stringify(data)); ws.send(JSON.stringify(data));
} }
}; };
}, ssrModuleExportsKey = "__vite_ssr_exports__", ssrImportKey = "__vite_ssr_import__", ssrDynamicImportKey = "__vite_ssr_dynamic_import__", ssrExportAllKey = "__vite_ssr_exportAll__", ssrExportNameKey = "__vite_ssr_exportName__", ssrImportMetaKey = "__vite_ssr_import_meta__", noop = () => {}, silentConsole = { };
function createIsBuiltin(builtins) {
let plainBuiltinsSet = new Set(builtins.filter((builtin) => typeof builtin == "string")), regexBuiltins = builtins.filter((builtin) => typeof builtin != "string");
return (id) => plainBuiltinsSet.has(id) || regexBuiltins.some((regexp) => regexp.test(id));
}
const ssrModuleExportsKey = "__vite_ssr_exports__", ssrImportKey = "__vite_ssr_import__", ssrDynamicImportKey = "__vite_ssr_dynamic_import__", ssrExportAllKey = "__vite_ssr_exportAll__", ssrExportNameKey = "__vite_ssr_exportName__", ssrImportMetaKey = "__vite_ssr_import_meta__", noop = () => {}, silentConsole = {
debug: noop, debug: noop,
error: noop error: noop
}, hmrLogger = { }, hmrLogger = {
@@ -917,11 +925,17 @@ export async function resolve(specifier, context, nextResolve) {
specifier = parsedSpecifier specifier = parsedSpecifier
context.parentURL = parsedImporter context.parentURL = parsedImporter
} }
return nextResolve(specifier, context) return nextResolve(specifier, context)
} }
`; `;
function customizationHookResolve(specifier, context, nextResolve) {
if (specifier.startsWith(customizationHookNamespace)) {
let data = specifier.slice(42), [parsedSpecifier, parsedImporter] = JSON.parse(data);
specifier = parsedSpecifier, context.parentURL = parsedImporter;
}
return nextResolve(specifier, context);
}
async function createImportMetaResolver() { async function createImportMetaResolver() {
let module; let module;
try { try {
@@ -929,7 +943,9 @@ async function createImportMetaResolver() {
} catch { } catch {
return; return;
} }
if (module?.register) { if (module) {
if (module.registerHooks) return module.registerHooks({ resolve: customizationHookResolve }), importMetaResolveWithCustomHook;
if (module.register) {
try { try {
let hookModuleContent = `data:text/javascript,${encodeURI(customizationHooksModule)}`; let hookModuleContent = `data:text/javascript,${encodeURI(customizationHooksModule)}`;
module.register(hookModuleContent); module.register(hookModuleContent);
@@ -937,9 +953,14 @@ async function createImportMetaResolver() {
if ("code" in e && e.code === "ERR_NETWORK_IMPORT_DISALLOWED") return; if ("code" in e && e.code === "ERR_NETWORK_IMPORT_DISALLOWED") return;
throw e; throw e;
} }
return (specifier, importer) => import.meta.resolve(`${customizationHookNamespace}${JSON.stringify([specifier, importer])}`); return importMetaResolveWithCustomHook;
}
} }
} }
function importMetaResolveWithCustomHook(specifier, importer) {
return import.meta.resolve(`${customizationHookNamespace}${JSON.stringify([specifier, importer])}`);
}
`${customizationHookNamespace}`;
const envProxy = new Proxy({}, { get(_, p) { const envProxy = new Proxy({}, { get(_, p) {
throw Error(`[module runner] Dynamic access of "import.meta.env" is not supported. Please, use "import.meta.env.${String(p)}" instead.`); throw Error(`[module runner] Dynamic access of "import.meta.env" is not supported. Please, use "import.meta.env.${String(p)}" instead.`);
} }); } });
@@ -977,6 +998,8 @@ var ModuleRunner = class {
transport; transport;
resetSourceMapSupport; resetSourceMapSupport;
concurrentModuleNodePromises = /* @__PURE__ */ new Map(); concurrentModuleNodePromises = /* @__PURE__ */ new Map();
isBuiltin;
builtinsPromise;
closed = !1; closed = !1;
constructor(options, evaluator = new ESModulesEvaluator(), debug) { constructor(options, evaluator = new ESModulesEvaluator(), debug) {
if (this.options = options, this.evaluator = evaluator, this.debug = debug, this.evaluatedModules = options.evaluatedModules ?? new EvaluatedModules(), this.transport = normalizeModuleRunnerTransport(options.transport), options.hmr !== !1) { if (this.options = options, this.evaluator = evaluator, this.debug = debug, this.evaluatedModules = options.evaluatedModules ?? new EvaluatedModules(), this.transport = normalizeModuleRunnerTransport(options.transport), options.hmr !== !1) {
@@ -1043,10 +1066,21 @@ var ModuleRunner = class {
} }
return cached; return cached;
} }
ensureBuiltins() {
if (!this.isBuiltin) return this.builtinsPromise ??= (async () => {
try {
this.debug?.("[module runner] fetching builtins from server");
let builtins = (await this.transport.invoke("getBuiltins", [])).map((builtin) => typeof builtin == "object" && builtin && "type" in builtin ? builtin.type === "string" ? builtin.value : new RegExp(builtin.source, builtin.flags) : builtin);
this.isBuiltin = createIsBuiltin(builtins), this.debug?.("[module runner] builtins loaded:", builtins);
} finally {
this.builtinsPromise = void 0;
}
})(), this.builtinsPromise;
}
async getModuleInformation(url, importer, cachedModule) { async getModuleInformation(url, importer, cachedModule) {
if (this.closed) throw Error("Vite module runner has been closed."); if (this.closed) throw Error("Vite module runner has been closed.");
this.debug?.("[module runner] fetching", url); await this.ensureBuiltins(), this.debug?.("[module runner] fetching", url);
let isCached = !!(typeof cachedModule == "object" && cachedModule.meta), fetchedModule = url.startsWith("data:") ? { let isCached = !!(typeof cachedModule == "object" && cachedModule.meta), fetchedModule = url.startsWith("data:") || this.isBuiltin?.(url) ? {
externalize: url, externalize: url,
type: "builtin" type: "builtin"
} : await this.transport.invoke("fetchModule", [ } : await this.transport.invoke("fetchModule", [
@@ -8,7 +8,7 @@ A fast and minimal alternative to globby and fast-glob, meant to behave the same
Both globby and fast-glob present some behavior no other globbing lib has, Both globby and fast-glob present some behavior no other globbing lib has,
which makes it hard to manually replace with something smaller and better. which makes it hard to manually replace with something smaller and better.
This library uses only two subdependencies, compared to `globby`'s [23](https://npmgraph.js.org/?q=globby@14.1.0) This library uses only two subdependencies, compared to `globby`'s [23](https://npmgraph.js.org/?q=globby@16.2.0)
and `fast-glob`'s [17](https://npmgraph.js.org/?q=fast-glob@3.3.3). and `fast-glob`'s [17](https://npmgraph.js.org/?q=fast-glob@3.3.3).
## Usage ## Usage
@@ -1,4 +1,5 @@
//#region rolldown:runtime Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
//#region \0rolldown/runtime.js
var __create = Object.create; var __create = Object.create;
var __defProp = Object.defineProperty; var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -19,51 +20,45 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
value: mod, value: mod,
enumerable: true enumerable: true
}) : target, mod)); }) : target, mod));
//#endregion //#endregion
let fs = require("fs"); let fs = require("fs");
fs = __toESM(fs);
let path = require("path"); let path = require("path");
path = __toESM(path);
let url = require("url"); let url = require("url");
url = __toESM(url);
let fdir = require("fdir"); let fdir = require("fdir");
fdir = __toESM(fdir);
let picomatch = require("picomatch"); let picomatch = require("picomatch");
picomatch = __toESM(picomatch); picomatch = __toESM(picomatch);
//#region src/utils.ts //#region src/utils.ts
const isReadonlyArray = Array.isArray; const isReadonlyArray = Array.isArray;
const BACKSLASHES = /\\/g;
const isWin = process.platform === "win32"; const isWin = process.platform === "win32";
const ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/; const ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
function getPartialMatcher(patterns, options = {}) { function getPartialMatcher(patterns, options = {}) {
const patternsCount = patterns.length; const patternsCount = patterns.length;
const patternsParts = Array(patternsCount); const patternsParts = Array(patternsCount);
const matchers = Array(patternsCount); const matchers = Array(patternsCount);
const globstarEnabled = !options.noglobstar; let i, j;
for (let i = 0; i < patternsCount; i++) { for (i = 0; i < patternsCount; i++) {
const parts = splitPattern(patterns[i]); const parts = splitPattern(patterns[i]);
patternsParts[i] = parts; patternsParts[i] = parts;
const partsCount = parts.length; const partsCount = parts.length;
const partMatchers = Array(partsCount); const partMatchers = Array(partsCount);
for (let j = 0; j < partsCount; j++) partMatchers[j] = (0, picomatch.default)(parts[j], options); for (j = 0; j < partsCount; j++) partMatchers[j] = (0, picomatch.default)(parts[j], options);
matchers[i] = partMatchers; matchers[i] = partMatchers;
} }
return (input) => { return (input) => {
const inputParts = input.split("/"); const inputParts = input.split("/");
if (inputParts[0] === ".." && ONLY_PARENT_DIRECTORIES.test(input)) return true; if (inputParts[0] === ".." && ONLY_PARENT_DIRECTORIES.test(input)) return true;
for (let i = 0; i < patterns.length; i++) { for (i = 0; i < patternsCount; i++) {
const patternParts = patternsParts[i]; const patternParts = patternsParts[i];
const matcher = matchers[i]; const matcher = matchers[i];
const inputPatternCount = inputParts.length; const inputPatternCount = inputParts.length;
const minParts = Math.min(inputPatternCount, patternParts.length); const minParts = Math.min(inputPatternCount, patternParts.length);
let j = 0; j = 0;
while (j < minParts) { while (j < minParts) {
const part = patternParts[j]; const part = patternParts[j];
if (part.includes("/")) return true; if (part.includes("/")) return true;
const match = matcher[j](inputParts[j]); if (!matcher[j](inputParts[j])) break;
if (!match) break; if (!options.noglobstar && part === "**") return true;
if (globstarEnabled && part === "**") return true;
j++; j++;
} }
if (j === inputPatternCount) return true; if (j === inputPatternCount) return true;
@@ -77,7 +72,7 @@ const isRoot = isWin ? (p) => WIN32_ROOT_DIR.test(p) : (p) => p === "/";
function buildFormat(cwd, root, absolute) { function buildFormat(cwd, root, absolute) {
if (cwd === root || root.startsWith(`${cwd}/`)) { if (cwd === root || root.startsWith(`${cwd}/`)) {
if (absolute) { if (absolute) {
const start = isRoot(cwd) ? cwd.length : cwd.length + 1; const start = cwd.length + +!isRoot(cwd);
return (p, isDir) => p.slice(start, isDir ? -1 : void 0) || "."; return (p, isDir) => p.slice(start, isDir ? -1 : void 0) || ".";
} }
const prefix = root.slice(cwd.length + 1); const prefix = root.slice(cwd.length + 1);
@@ -98,22 +93,21 @@ function buildRelative(cwd, root) {
} }
return (p) => { return (p) => {
const result = path.posix.relative(cwd, `${root}/${p}`); const result = path.posix.relative(cwd, `${root}/${p}`);
if (p.endsWith("/") && result !== "") return `${result}/`; return p[p.length - 1] === "/" && result !== "" ? `${result}/` : result || ".";
return result || ".";
}; };
} }
const splitPatternOptions = { parts: true }; const splitPatternOptions = { parts: true };
function splitPattern(path$2) { function splitPattern(path$1) {
var _result$parts; var _result$parts;
const result = picomatch.default.scan(path$2, splitPatternOptions); const result = picomatch.default.scan(path$1, splitPatternOptions);
return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path$2]; return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path$1];
} }
const ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g; const ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
function convertPosixPathToPattern(path$2) { function convertPosixPathToPattern(path$2) {
return escapePosixPath(path$2); return escapePosixPath(path$2);
} }
function convertWin32PathToPattern(path$2) { function convertWin32PathToPattern(path$3) {
return escapeWin32Path(path$2).replace(ESCAPED_WIN32_BACKSLASHES, "/"); return escapeWin32Path(path$3).replace(ESCAPED_WIN32_BACKSLASHES, "/");
} }
/** /**
* Converts a path to a pattern depending on the platform. * Converts a path to a pattern depending on the platform.
@@ -124,8 +118,8 @@ function convertWin32PathToPattern(path$2) {
const convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern; const convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern;
const POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g; const POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g;
const WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g; const WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g;
const escapePosixPath = (path$2) => path$2.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&"); const escapePosixPath = (path$4) => path$4.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
const escapeWin32Path = (path$2) => path$2.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&"); const escapeWin32Path = (path$5) => path$5.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
/** /**
* Escapes a path's special characters depending on the platform. * Escapes a path's special characters depending on the platform.
* @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath} * @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath}
@@ -152,31 +146,33 @@ function isDynamicPattern(pattern, options) {
function log(...tasks) { function log(...tasks) {
console.log(`[tinyglobby ${(/* @__PURE__ */ new Date()).toLocaleTimeString("es")}]`, ...tasks); console.log(`[tinyglobby ${(/* @__PURE__ */ new Date()).toLocaleTimeString("es")}]`, ...tasks);
} }
function ensureStringArray(value) {
return typeof value === "string" ? [value] : value !== null && value !== void 0 ? value : [];
}
//#endregion //#endregion
//#region src/index.ts //#region src/patterns.ts
const PARENT_DIRECTORY = /^(\/?\.\.)+/; const PARENT_DIRECTORY = /^(\/?\.\.)+/;
const ESCAPING_BACKSLASHES = /\\(?=[()[\]{}!*+?@|])/g; const ESCAPING_BACKSLASHES = /\\(?=[()[\]{}!*+?@|])/g;
const BACKSLASHES = /\\/g; function normalizePattern(pattern, opts, props, isIgnore) {
function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) { var _PARENT_DIRECTORY$exe;
const cwd = opts.cwd;
let result = pattern; let result = pattern;
if (pattern.endsWith("/")) result = pattern.slice(0, -1); if (pattern[pattern.length - 1] === "/") result = pattern.slice(0, -1);
if (!result.endsWith("*") && expandDirectories) result += "/**"; if (result[result.length - 1] !== "*" && opts.expandDirectories) result += "/**";
const escapedCwd = escapePath(cwd); const escapedCwd = escapePath(cwd);
if (path.default.isAbsolute(result.replace(ESCAPING_BACKSLASHES, ""))) result = path.posix.relative(escapedCwd, result); result = (0, path.isAbsolute)(result.replace(ESCAPING_BACKSLASHES, "")) ? path.posix.relative(escapedCwd, result) : path.posix.normalize(result);
else result = path.posix.normalize(result); const parentDir = (_PARENT_DIRECTORY$exe = PARENT_DIRECTORY.exec(result)) === null || _PARENT_DIRECTORY$exe === void 0 ? void 0 : _PARENT_DIRECTORY$exe[0];
const parentDirectoryMatch = PARENT_DIRECTORY.exec(result);
const parts = splitPattern(result); const parts = splitPattern(result);
if (parentDirectoryMatch === null || parentDirectoryMatch === void 0 ? void 0 : parentDirectoryMatch[0]) { if (parentDir) {
const n = (parentDirectoryMatch[0].length + 1) / 3; const n = (parentDir.length + 1) / 3;
let i = 0; let i = 0;
const cwdParts = escapedCwd.split("/"); const cwdParts = escapedCwd.split("/");
while (i < n && parts[i + n] === cwdParts[cwdParts.length + i - n]) { while (i < n && parts[i + n] === cwdParts[cwdParts.length + i - n]) {
result = result.slice(0, (n - i - 1) * 3) + result.slice((n - i) * 3 + parts[i + n].length + 1) || "."; result = result.slice(0, (n - i - 1) * 3) + result.slice((n - i) * 3 + parts[i + n].length + 1) || ".";
i++; i++;
} }
const potentialRoot = path.posix.join(cwd, parentDirectoryMatch[0].slice(i * 3)); const potentialRoot = path.posix.join(cwd, parentDir.slice(i * 3));
if (!potentialRoot.startsWith(".") && props.root.length > potentialRoot.length) { if (potentialRoot[0] !== "." && props.root.length > potentialRoot.length) {
props.root = potentialRoot; props.root = potentialRoot;
props.depthOffset = -n + i; props.depthOffset = -n + i;
} }
@@ -192,7 +188,7 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
newCommonPath.pop(); newCommonPath.pop();
break; break;
} }
if (part !== props.commonPath[i] || isDynamicPattern(part) || i === parts.length - 1) break; if (i === parts.length - 1 || part !== props.commonPath[i] || isDynamicPattern(part)) break;
newCommonPath.push(part); newCommonPath.push(part);
} }
props.depthOffset = newCommonPath.length; props.depthOffset = newCommonPath.length;
@@ -201,147 +197,135 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
} }
return result; return result;
} }
function processPatterns({ patterns = ["**/*"], ignore = [], expandDirectories = true }, cwd, props) { function processPatterns(options, patterns, props) {
if (typeof patterns === "string") patterns = [patterns];
if (typeof ignore === "string") ignore = [ignore];
const matchPatterns = []; const matchPatterns = [];
const ignorePatterns = []; const ignorePatterns = [];
for (const pattern of ignore) { for (const pattern of options.ignore) {
if (!pattern) continue; if (!pattern) continue;
if (pattern[0] !== "!" || pattern[1] === "(") ignorePatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, true)); if (pattern[0] !== "!" || pattern[1] === "(") ignorePatterns.push(normalizePattern(pattern, options, props, true));
} }
for (const pattern of patterns) { for (const pattern of patterns) {
if (!pattern) continue; if (!pattern) continue;
if (pattern[0] !== "!" || pattern[1] === "(") matchPatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, false)); if (pattern[0] !== "!" || pattern[1] === "(") matchPatterns.push(normalizePattern(pattern, options, props, false));
else if (pattern[1] !== "!" || pattern[2] === "(") ignorePatterns.push(normalizePattern(pattern.slice(1), expandDirectories, cwd, props, true)); else if (pattern[1] !== "!" || pattern[2] === "(") ignorePatterns.push(normalizePattern(pattern.slice(1), options, props, true));
} }
return { return {
match: matchPatterns, match: matchPatterns,
ignore: ignorePatterns ignore: ignorePatterns
}; };
} }
function formatPaths(paths, relative) { //#endregion
for (let i = paths.length - 1; i >= 0; i--) { //#region src/crawler.ts
const path$2 = paths[i]; function buildCrawler(options, patterns) {
paths[i] = relative(path$2); const cwd = options.cwd;
}
return paths;
}
function normalizeCwd(cwd) {
if (!cwd) return process.cwd().replace(BACKSLASHES, "/");
if (cwd instanceof URL) return (0, url.fileURLToPath)(cwd).replace(BACKSLASHES, "/");
return path.default.resolve(cwd).replace(BACKSLASHES, "/");
}
function getCrawler(patterns, inputOptions = {}) {
const options = process.env.TINYGLOBBY_DEBUG ? {
...inputOptions,
debug: true
} : inputOptions;
const cwd = normalizeCwd(options.cwd);
if (options.debug) log("globbing with:", {
patterns,
options,
cwd
});
if (Array.isArray(patterns) && patterns.length === 0) return [{
sync: () => [],
withPromise: async () => []
}, false];
const props = { const props = {
root: cwd, root: cwd,
commonPath: null,
depthOffset: 0 depthOffset: 0
}; };
const processed = processPatterns({ const processed = processPatterns(options, patterns, props);
...options,
patterns
}, cwd, props);
if (options.debug) log("internal processing patterns:", processed); if (options.debug) log("internal processing patterns:", processed);
const { absolute, caseSensitiveMatch, debug, dot, followSymbolicLinks, onlyDirectories } = options;
const root = props.root.replace(BACKSLASHES, "");
const matchOptions = { const matchOptions = {
dot: options.dot, dot,
nobrace: options.braceExpansion === false, nobrace: options.braceExpansion === false,
nocase: options.caseSensitiveMatch === false, nocase: !caseSensitiveMatch,
noextglob: options.extglob === false, noextglob: options.extglob === false,
noglobstar: options.globstar === false, noglobstar: options.globstar === false,
posix: true posix: true
}; };
const matcher = (0, picomatch.default)(processed.match, { const matcher = (0, picomatch.default)(processed.match, matchOptions);
...matchOptions,
ignore: processed.ignore
});
const ignore = (0, picomatch.default)(processed.ignore, matchOptions); const ignore = (0, picomatch.default)(processed.ignore, matchOptions);
const partialMatcher = getPartialMatcher(processed.match, matchOptions); const partialMatcher = getPartialMatcher(processed.match, matchOptions);
const format = buildFormat(cwd, props.root, options.absolute); const format = buildFormat(cwd, root, absolute);
const formatExclude = options.absolute ? format : buildFormat(cwd, props.root, true); const excludeFormatter = absolute ? format : buildFormat(cwd, root, true);
const fdirOptions = { const excludePredicate = (_, p) => {
filters: [options.debug ? (p, isDirectory) => { const relativePath = excludeFormatter(p, true);
const path$2 = format(p, isDirectory);
const matches = matcher(path$2);
if (matches) log(`matched ${path$2}`);
return matches;
} : (p, isDirectory) => matcher(format(p, isDirectory))],
exclude: options.debug ? (_, p) => {
const relativePath = formatExclude(p, true);
const skipped = relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
if (skipped) log(`skipped ${p}`);
else log(`crawling ${p}`);
return skipped;
} : (_, p) => {
const relativePath = formatExclude(p, true);
return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath); return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
},
fs: options.fs ? {
readdir: options.fs.readdir || fs.default.readdir,
readdirSync: options.fs.readdirSync || fs.default.readdirSync,
realpath: options.fs.realpath || fs.default.realpath,
realpathSync: options.fs.realpathSync || fs.default.realpathSync,
stat: options.fs.stat || fs.default.stat,
statSync: options.fs.statSync || fs.default.statSync
} : void 0,
pathSeparator: "/",
relativePaths: true,
resolveSymlinks: true,
signal: options.signal
}; };
if (options.deep !== void 0) fdirOptions.maxDepth = Math.round(options.deep - props.depthOffset); let maxDepth;
if (options.absolute) { if (options.deep !== void 0) maxDepth = Math.round(options.deep - props.depthOffset);
fdirOptions.relativePaths = false; const crawler = new fdir.fdir({
fdirOptions.resolvePaths = true; filters: [debug ? (p, isDirectory) => {
fdirOptions.includeBasePath = true; const path = format(p, isDirectory);
} const matches = matcher(path) && !ignore(path);
if (options.followSymbolicLinks === false) { if (matches) log(`matched ${path}`);
fdirOptions.resolveSymlinks = false; return matches;
fdirOptions.excludeSymlinks = true; } : (p, isDirectory) => {
} const path = format(p, isDirectory);
if (options.onlyDirectories) { return matcher(path) && !ignore(path);
fdirOptions.excludeFiles = true; }],
fdirOptions.includeDirs = true; exclude: debug ? (_, p) => {
} else if (options.onlyFiles === false) fdirOptions.includeDirs = true; const skipped = excludePredicate(_, p);
props.root = props.root.replace(BACKSLASHES, ""); log(`${skipped ? "skipped" : "crawling"} ${p}`);
const root = props.root; return skipped;
if (options.debug) log("internal properties:", props); } : excludePredicate,
const relative = cwd !== root && !options.absolute && buildRelative(cwd, props.root); fs: options.fs,
return [new fdir.fdir(fdirOptions).crawl(root), relative]; pathSeparator: "/",
relativePaths: !absolute,
resolvePaths: absolute,
includeBasePath: absolute,
resolveSymlinks: followSymbolicLinks,
excludeSymlinks: !followSymbolicLinks,
excludeFiles: onlyDirectories,
includeDirs: onlyDirectories || !options.onlyFiles,
maxDepth,
signal: options.signal
}).crawl(root);
if (options.debug) log("internal properties:", {
...props,
root
});
return [crawler, cwd !== root && !absolute && buildRelative(cwd, root)];
} }
async function glob(patternsOrOptions, options) { //#endregion
if (patternsOrOptions && (options === null || options === void 0 ? void 0 : options.patterns)) throw new Error("Cannot pass patterns as both an argument and an option"); //#region src/index.ts
const isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions === "string"; function formatPaths(paths, mapper) {
const opts = isModern ? options : patternsOrOptions; if (mapper) for (let i = paths.length - 1; i >= 0; i--) paths[i] = mapper(paths[i]);
const patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns; return paths;
const [crawler, relative] = getCrawler(patterns, opts);
if (!relative) return crawler.withPromise();
return formatPaths(await crawler.withPromise(), relative);
} }
function globSync(patternsOrOptions, options) { const defaultOptions = {
if (patternsOrOptions && (options === null || options === void 0 ? void 0 : options.patterns)) throw new Error("Cannot pass patterns as both an argument and an option"); caseSensitiveMatch: true,
const isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions === "string"; cwd: process.cwd(),
const opts = isModern ? options : patternsOrOptions; debug: !!process.env.TINYGLOBBY_DEBUG,
const patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns; expandDirectories: true,
const [crawler, relative] = getCrawler(patterns, opts); followSymbolicLinks: true,
if (!relative) return crawler.sync(); onlyFiles: true
return formatPaths(crawler.sync(), relative); };
function getOptions(options) {
const opts = {
...defaultOptions,
...options
};
opts.cwd = (opts.cwd instanceof URL ? (0, url.fileURLToPath)(opts.cwd) : (0, path.resolve)(opts.cwd)).replace(BACKSLASHES, "/");
opts.ignore = ensureStringArray(opts.ignore);
opts.fs && (opts.fs = {
readdir: opts.fs.readdir || fs.readdir,
readdirSync: opts.fs.readdirSync || fs.readdirSync,
realpath: opts.fs.realpath || fs.realpath,
realpathSync: opts.fs.realpathSync || fs.realpathSync,
stat: opts.fs.stat || fs.stat,
statSync: opts.fs.statSync || fs.statSync
});
if (opts.debug) log("globbing with options:", opts);
return opts;
}
function getCrawler(globInput, inputOptions = {}) {
var _ref;
if (globInput && (inputOptions === null || inputOptions === void 0 ? void 0 : inputOptions.patterns)) throw new Error("Cannot pass patterns as both an argument and an option");
const isModern = isReadonlyArray(globInput) || typeof globInput === "string";
const patterns = ensureStringArray((_ref = isModern ? globInput : globInput.patterns) !== null && _ref !== void 0 ? _ref : "**/*");
const options = getOptions(isModern ? inputOptions : globInput);
return patterns.length > 0 ? buildCrawler(options, patterns) : [];
}
async function glob(globInput, options) {
const [crawler, relative] = getCrawler(globInput, options);
return crawler ? formatPaths(await crawler.withPromise(), relative) : [];
}
function globSync(globInput, options) {
const [crawler, relative] = getCrawler(globInput, options);
return crawler ? formatPaths(crawler.sync(), relative) : [];
} }
//#endregion //#endregion
exports.convertPathToPattern = convertPathToPattern; exports.convertPathToPattern = convertPathToPattern;
exports.escapePath = escapePath; exports.escapePath = escapePath;
@@ -1,35 +1,7 @@
import { FSLike } from "fdir"; import { FSLike } from "fdir";
//#region src/utils.d.ts //#region src/types.d.ts
type FileSystemAdapter = Partial<FSLike>;
/**
* Converts a path to a pattern depending on the platform.
* Identical to {@link escapePath} on POSIX systems.
* @see {@link https://superchupu.dev/tinyglobby/documentation#convertPathToPattern}
*/
declare const convertPathToPattern: (path: string) => string;
/**
* Escapes a path's special characters depending on the platform.
* @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath}
*/
declare const escapePath: (path: string) => string;
/**
* Checks if a pattern has dynamic parts.
*
* Has a few minor differences with [`fast-glob`](https://github.com/mrmlnc/fast-glob) for better accuracy:
*
* - Doesn't necessarily return `false` on patterns that include `\`.
* - Returns `true` if the pattern includes parentheses, regardless of them representing one single pattern or not.
* - Returns `true` for unfinished glob extensions i.e. `(h`, `+(h`.
* - Returns `true` for unfinished brace expansions as long as they include `,` or `..`.
*
* @see {@link https://superchupu.dev/tinyglobby/documentation#isDynamicPattern}
*/
declare function isDynamicPattern(pattern: string, options?: {
caseSensitiveMatch: boolean;
}): boolean;
//#endregion
//#region src/index.d.ts
interface GlobOptions { interface GlobOptions {
/** /**
* Whether to return absolute paths. Disable to have relative paths. * Whether to return absolute paths. Disable to have relative paths.
@@ -124,7 +96,36 @@ interface GlobOptions {
*/ */
signal?: AbortSignal; signal?: AbortSignal;
} }
type FileSystemAdapter = Partial<FSLike>; //#endregion
//#region src/utils.d.ts
/**
* Converts a path to a pattern depending on the platform.
* Identical to {@link escapePath} on POSIX systems.
* @see {@link https://superchupu.dev/tinyglobby/documentation#convertPathToPattern}
*/
declare const convertPathToPattern: (path: string) => string;
/**
* Escapes a path's special characters depending on the platform.
* @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath}
*/
declare const escapePath: (path: string) => string;
/**
* Checks if a pattern has dynamic parts.
*
* Has a few minor differences with [`fast-glob`](https://github.com/mrmlnc/fast-glob) for better accuracy:
*
* - Doesn't necessarily return `false` on patterns that include `\`.
* - Returns `true` if the pattern includes parentheses, regardless of them representing one single pattern or not.
* - Returns `true` for unfinished glob extensions i.e. `(h`, `+(h`.
* - Returns `true` for unfinished brace expansions as long as they include `,` or `..`.
*
* @see {@link https://superchupu.dev/tinyglobby/documentation#isDynamicPattern}
*/
declare function isDynamicPattern(pattern: string, options?: {
caseSensitiveMatch: boolean;
}): boolean;
//#endregion
//#region src/index.d.ts
/** /**
* Asynchronously match files following a glob pattern. * Asynchronously match files following a glob pattern.
* @see {@link https://superchupu.dev/tinyglobby/documentation#glob} * @see {@link https://superchupu.dev/tinyglobby/documentation#glob}
@@ -144,4 +145,4 @@ declare function globSync(patterns: string | readonly string[], options?: Omit<G
*/ */
declare function globSync(options: GlobOptions): string[]; declare function globSync(options: GlobOptions): string[];
//#endregion //#endregion
export { FileSystemAdapter, GlobOptions, convertPathToPattern, escapePath, glob, globSync, isDynamicPattern }; export { type GlobOptions, convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
@@ -1,35 +1,7 @@
import { FSLike } from "fdir"; import { FSLike } from "fdir";
//#region src/utils.d.ts //#region src/types.d.ts
type FileSystemAdapter = Partial<FSLike>;
/**
* Converts a path to a pattern depending on the platform.
* Identical to {@link escapePath} on POSIX systems.
* @see {@link https://superchupu.dev/tinyglobby/documentation#convertPathToPattern}
*/
declare const convertPathToPattern: (path: string) => string;
/**
* Escapes a path's special characters depending on the platform.
* @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath}
*/
declare const escapePath: (path: string) => string;
/**
* Checks if a pattern has dynamic parts.
*
* Has a few minor differences with [`fast-glob`](https://github.com/mrmlnc/fast-glob) for better accuracy:
*
* - Doesn't necessarily return `false` on patterns that include `\`.
* - Returns `true` if the pattern includes parentheses, regardless of them representing one single pattern or not.
* - Returns `true` for unfinished glob extensions i.e. `(h`, `+(h`.
* - Returns `true` for unfinished brace expansions as long as they include `,` or `..`.
*
* @see {@link https://superchupu.dev/tinyglobby/documentation#isDynamicPattern}
*/
declare function isDynamicPattern(pattern: string, options?: {
caseSensitiveMatch: boolean;
}): boolean;
//#endregion
//#region src/index.d.ts
interface GlobOptions { interface GlobOptions {
/** /**
* Whether to return absolute paths. Disable to have relative paths. * Whether to return absolute paths. Disable to have relative paths.
@@ -124,7 +96,36 @@ interface GlobOptions {
*/ */
signal?: AbortSignal; signal?: AbortSignal;
} }
type FileSystemAdapter = Partial<FSLike>; //#endregion
//#region src/utils.d.ts
/**
* Converts a path to a pattern depending on the platform.
* Identical to {@link escapePath} on POSIX systems.
* @see {@link https://superchupu.dev/tinyglobby/documentation#convertPathToPattern}
*/
declare const convertPathToPattern: (path: string) => string;
/**
* Escapes a path's special characters depending on the platform.
* @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath}
*/
declare const escapePath: (path: string) => string;
/**
* Checks if a pattern has dynamic parts.
*
* Has a few minor differences with [`fast-glob`](https://github.com/mrmlnc/fast-glob) for better accuracy:
*
* - Doesn't necessarily return `false` on patterns that include `\`.
* - Returns `true` if the pattern includes parentheses, regardless of them representing one single pattern or not.
* - Returns `true` for unfinished glob extensions i.e. `(h`, `+(h`.
* - Returns `true` for unfinished brace expansions as long as they include `,` or `..`.
*
* @see {@link https://superchupu.dev/tinyglobby/documentation#isDynamicPattern}
*/
declare function isDynamicPattern(pattern: string, options?: {
caseSensitiveMatch: boolean;
}): boolean;
//#endregion
//#region src/index.d.ts
/** /**
* Asynchronously match files following a glob pattern. * Asynchronously match files following a glob pattern.
* @see {@link https://superchupu.dev/tinyglobby/documentation#glob} * @see {@link https://superchupu.dev/tinyglobby/documentation#glob}
@@ -144,4 +145,4 @@ declare function globSync(patterns: string | readonly string[], options?: Omit<G
*/ */
declare function globSync(options: GlobOptions): string[]; declare function globSync(options: GlobOptions): string[];
//#endregion //#endregion
export { FileSystemAdapter, GlobOptions, convertPathToPattern, escapePath, glob, globSync, isDynamicPattern }; export { type GlobOptions, convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
@@ -1,41 +1,40 @@
import nativeFs from "fs"; import { readdir, readdirSync, realpath, realpathSync, stat, statSync } from "fs";
import path, { posix } from "path"; import { isAbsolute, posix, resolve } from "path";
import { fileURLToPath } from "url"; import { fileURLToPath } from "url";
import { fdir } from "fdir"; import { fdir } from "fdir";
import picomatch from "picomatch"; import picomatch from "picomatch";
//#region src/utils.ts //#region src/utils.ts
const isReadonlyArray = Array.isArray; const isReadonlyArray = Array.isArray;
const BACKSLASHES = /\\/g;
const isWin = process.platform === "win32"; const isWin = process.platform === "win32";
const ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/; const ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
function getPartialMatcher(patterns, options = {}) { function getPartialMatcher(patterns, options = {}) {
const patternsCount = patterns.length; const patternsCount = patterns.length;
const patternsParts = Array(patternsCount); const patternsParts = Array(patternsCount);
const matchers = Array(patternsCount); const matchers = Array(patternsCount);
const globstarEnabled = !options.noglobstar; let i, j;
for (let i = 0; i < patternsCount; i++) { for (i = 0; i < patternsCount; i++) {
const parts = splitPattern(patterns[i]); const parts = splitPattern(patterns[i]);
patternsParts[i] = parts; patternsParts[i] = parts;
const partsCount = parts.length; const partsCount = parts.length;
const partMatchers = Array(partsCount); const partMatchers = Array(partsCount);
for (let j = 0; j < partsCount; j++) partMatchers[j] = picomatch(parts[j], options); for (j = 0; j < partsCount; j++) partMatchers[j] = picomatch(parts[j], options);
matchers[i] = partMatchers; matchers[i] = partMatchers;
} }
return (input) => { return (input) => {
const inputParts = input.split("/"); const inputParts = input.split("/");
if (inputParts[0] === ".." && ONLY_PARENT_DIRECTORIES.test(input)) return true; if (inputParts[0] === ".." && ONLY_PARENT_DIRECTORIES.test(input)) return true;
for (let i = 0; i < patterns.length; i++) { for (i = 0; i < patternsCount; i++) {
const patternParts = patternsParts[i]; const patternParts = patternsParts[i];
const matcher = matchers[i]; const matcher = matchers[i];
const inputPatternCount = inputParts.length; const inputPatternCount = inputParts.length;
const minParts = Math.min(inputPatternCount, patternParts.length); const minParts = Math.min(inputPatternCount, patternParts.length);
let j = 0; j = 0;
while (j < minParts) { while (j < minParts) {
const part = patternParts[j]; const part = patternParts[j];
if (part.includes("/")) return true; if (part.includes("/")) return true;
const match = matcher[j](inputParts[j]); if (!matcher[j](inputParts[j])) break;
if (!match) break; if (!options.noglobstar && part === "**") return true;
if (globstarEnabled && part === "**") return true;
j++; j++;
} }
if (j === inputPatternCount) return true; if (j === inputPatternCount) return true;
@@ -49,7 +48,7 @@ const isRoot = isWin ? (p) => WIN32_ROOT_DIR.test(p) : (p) => p === "/";
function buildFormat(cwd, root, absolute) { function buildFormat(cwd, root, absolute) {
if (cwd === root || root.startsWith(`${cwd}/`)) { if (cwd === root || root.startsWith(`${cwd}/`)) {
if (absolute) { if (absolute) {
const start = isRoot(cwd) ? cwd.length : cwd.length + 1; const start = cwd.length + +!isRoot(cwd);
return (p, isDir) => p.slice(start, isDir ? -1 : void 0) || "."; return (p, isDir) => p.slice(start, isDir ? -1 : void 0) || ".";
} }
const prefix = root.slice(cwd.length + 1); const prefix = root.slice(cwd.length + 1);
@@ -70,22 +69,21 @@ function buildRelative(cwd, root) {
} }
return (p) => { return (p) => {
const result = posix.relative(cwd, `${root}/${p}`); const result = posix.relative(cwd, `${root}/${p}`);
if (p.endsWith("/") && result !== "") return `${result}/`; return p[p.length - 1] === "/" && result !== "" ? `${result}/` : result || ".";
return result || ".";
}; };
} }
const splitPatternOptions = { parts: true }; const splitPatternOptions = { parts: true };
function splitPattern(path$1) { function splitPattern(path) {
var _result$parts; var _result$parts;
const result = picomatch.scan(path$1, splitPatternOptions); const result = picomatch.scan(path, splitPatternOptions);
return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path$1]; return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path];
} }
const ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g; const ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
function convertPosixPathToPattern(path$1) { function convertPosixPathToPattern(path) {
return escapePosixPath(path$1); return escapePosixPath(path);
} }
function convertWin32PathToPattern(path$1) { function convertWin32PathToPattern(path) {
return escapeWin32Path(path$1).replace(ESCAPED_WIN32_BACKSLASHES, "/"); return escapeWin32Path(path).replace(ESCAPED_WIN32_BACKSLASHES, "/");
} }
/** /**
* Converts a path to a pattern depending on the platform. * Converts a path to a pattern depending on the platform.
@@ -96,8 +94,8 @@ function convertWin32PathToPattern(path$1) {
const convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern; const convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern;
const POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g; const POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g;
const WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g; const WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g;
const escapePosixPath = (path$1) => path$1.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&"); const escapePosixPath = (path) => path.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
const escapeWin32Path = (path$1) => path$1.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&"); const escapeWin32Path = (path) => path.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
/** /**
* Escapes a path's special characters depending on the platform. * Escapes a path's special characters depending on the platform.
* @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath} * @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath}
@@ -124,31 +122,33 @@ function isDynamicPattern(pattern, options) {
function log(...tasks) { function log(...tasks) {
console.log(`[tinyglobby ${(/* @__PURE__ */ new Date()).toLocaleTimeString("es")}]`, ...tasks); console.log(`[tinyglobby ${(/* @__PURE__ */ new Date()).toLocaleTimeString("es")}]`, ...tasks);
} }
function ensureStringArray(value) {
return typeof value === "string" ? [value] : value !== null && value !== void 0 ? value : [];
}
//#endregion //#endregion
//#region src/index.ts //#region src/patterns.ts
const PARENT_DIRECTORY = /^(\/?\.\.)+/; const PARENT_DIRECTORY = /^(\/?\.\.)+/;
const ESCAPING_BACKSLASHES = /\\(?=[()[\]{}!*+?@|])/g; const ESCAPING_BACKSLASHES = /\\(?=[()[\]{}!*+?@|])/g;
const BACKSLASHES = /\\/g; function normalizePattern(pattern, opts, props, isIgnore) {
function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) { var _PARENT_DIRECTORY$exe;
const cwd = opts.cwd;
let result = pattern; let result = pattern;
if (pattern.endsWith("/")) result = pattern.slice(0, -1); if (pattern[pattern.length - 1] === "/") result = pattern.slice(0, -1);
if (!result.endsWith("*") && expandDirectories) result += "/**"; if (result[result.length - 1] !== "*" && opts.expandDirectories) result += "/**";
const escapedCwd = escapePath(cwd); const escapedCwd = escapePath(cwd);
if (path.isAbsolute(result.replace(ESCAPING_BACKSLASHES, ""))) result = posix.relative(escapedCwd, result); result = isAbsolute(result.replace(ESCAPING_BACKSLASHES, "")) ? posix.relative(escapedCwd, result) : posix.normalize(result);
else result = posix.normalize(result); const parentDir = (_PARENT_DIRECTORY$exe = PARENT_DIRECTORY.exec(result)) === null || _PARENT_DIRECTORY$exe === void 0 ? void 0 : _PARENT_DIRECTORY$exe[0];
const parentDirectoryMatch = PARENT_DIRECTORY.exec(result);
const parts = splitPattern(result); const parts = splitPattern(result);
if (parentDirectoryMatch === null || parentDirectoryMatch === void 0 ? void 0 : parentDirectoryMatch[0]) { if (parentDir) {
const n = (parentDirectoryMatch[0].length + 1) / 3; const n = (parentDir.length + 1) / 3;
let i = 0; let i = 0;
const cwdParts = escapedCwd.split("/"); const cwdParts = escapedCwd.split("/");
while (i < n && parts[i + n] === cwdParts[cwdParts.length + i - n]) { while (i < n && parts[i + n] === cwdParts[cwdParts.length + i - n]) {
result = result.slice(0, (n - i - 1) * 3) + result.slice((n - i) * 3 + parts[i + n].length + 1) || "."; result = result.slice(0, (n - i - 1) * 3) + result.slice((n - i) * 3 + parts[i + n].length + 1) || ".";
i++; i++;
} }
const potentialRoot = posix.join(cwd, parentDirectoryMatch[0].slice(i * 3)); const potentialRoot = posix.join(cwd, parentDir.slice(i * 3));
if (!potentialRoot.startsWith(".") && props.root.length > potentialRoot.length) { if (potentialRoot[0] !== "." && props.root.length > potentialRoot.length) {
props.root = potentialRoot; props.root = potentialRoot;
props.depthOffset = -n + i; props.depthOffset = -n + i;
} }
@@ -164,7 +164,7 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
newCommonPath.pop(); newCommonPath.pop();
break; break;
} }
if (part !== props.commonPath[i] || isDynamicPattern(part) || i === parts.length - 1) break; if (i === parts.length - 1 || part !== props.commonPath[i] || isDynamicPattern(part)) break;
newCommonPath.push(part); newCommonPath.push(part);
} }
props.depthOffset = newCommonPath.length; props.depthOffset = newCommonPath.length;
@@ -173,146 +173,134 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
} }
return result; return result;
} }
function processPatterns({ patterns = ["**/*"], ignore = [], expandDirectories = true }, cwd, props) { function processPatterns(options, patterns, props) {
if (typeof patterns === "string") patterns = [patterns];
if (typeof ignore === "string") ignore = [ignore];
const matchPatterns = []; const matchPatterns = [];
const ignorePatterns = []; const ignorePatterns = [];
for (const pattern of ignore) { for (const pattern of options.ignore) {
if (!pattern) continue; if (!pattern) continue;
if (pattern[0] !== "!" || pattern[1] === "(") ignorePatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, true)); if (pattern[0] !== "!" || pattern[1] === "(") ignorePatterns.push(normalizePattern(pattern, options, props, true));
} }
for (const pattern of patterns) { for (const pattern of patterns) {
if (!pattern) continue; if (!pattern) continue;
if (pattern[0] !== "!" || pattern[1] === "(") matchPatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, false)); if (pattern[0] !== "!" || pattern[1] === "(") matchPatterns.push(normalizePattern(pattern, options, props, false));
else if (pattern[1] !== "!" || pattern[2] === "(") ignorePatterns.push(normalizePattern(pattern.slice(1), expandDirectories, cwd, props, true)); else if (pattern[1] !== "!" || pattern[2] === "(") ignorePatterns.push(normalizePattern(pattern.slice(1), options, props, true));
} }
return { return {
match: matchPatterns, match: matchPatterns,
ignore: ignorePatterns ignore: ignorePatterns
}; };
} }
function formatPaths(paths, relative) { //#endregion
for (let i = paths.length - 1; i >= 0; i--) { //#region src/crawler.ts
const path$1 = paths[i]; function buildCrawler(options, patterns) {
paths[i] = relative(path$1); const cwd = options.cwd;
}
return paths;
}
function normalizeCwd(cwd) {
if (!cwd) return process.cwd().replace(BACKSLASHES, "/");
if (cwd instanceof URL) return fileURLToPath(cwd).replace(BACKSLASHES, "/");
return path.resolve(cwd).replace(BACKSLASHES, "/");
}
function getCrawler(patterns, inputOptions = {}) {
const options = process.env.TINYGLOBBY_DEBUG ? {
...inputOptions,
debug: true
} : inputOptions;
const cwd = normalizeCwd(options.cwd);
if (options.debug) log("globbing with:", {
patterns,
options,
cwd
});
if (Array.isArray(patterns) && patterns.length === 0) return [{
sync: () => [],
withPromise: async () => []
}, false];
const props = { const props = {
root: cwd, root: cwd,
commonPath: null,
depthOffset: 0 depthOffset: 0
}; };
const processed = processPatterns({ const processed = processPatterns(options, patterns, props);
...options,
patterns
}, cwd, props);
if (options.debug) log("internal processing patterns:", processed); if (options.debug) log("internal processing patterns:", processed);
const { absolute, caseSensitiveMatch, debug, dot, followSymbolicLinks, onlyDirectories } = options;
const root = props.root.replace(BACKSLASHES, "");
const matchOptions = { const matchOptions = {
dot: options.dot, dot,
nobrace: options.braceExpansion === false, nobrace: options.braceExpansion === false,
nocase: options.caseSensitiveMatch === false, nocase: !caseSensitiveMatch,
noextglob: options.extglob === false, noextglob: options.extglob === false,
noglobstar: options.globstar === false, noglobstar: options.globstar === false,
posix: true posix: true
}; };
const matcher = picomatch(processed.match, { const matcher = picomatch(processed.match, matchOptions);
...matchOptions,
ignore: processed.ignore
});
const ignore = picomatch(processed.ignore, matchOptions); const ignore = picomatch(processed.ignore, matchOptions);
const partialMatcher = getPartialMatcher(processed.match, matchOptions); const partialMatcher = getPartialMatcher(processed.match, matchOptions);
const format = buildFormat(cwd, props.root, options.absolute); const format = buildFormat(cwd, root, absolute);
const formatExclude = options.absolute ? format : buildFormat(cwd, props.root, true); const excludeFormatter = absolute ? format : buildFormat(cwd, root, true);
const fdirOptions = { const excludePredicate = (_, p) => {
filters: [options.debug ? (p, isDirectory) => { const relativePath = excludeFormatter(p, true);
const path$1 = format(p, isDirectory);
const matches = matcher(path$1);
if (matches) log(`matched ${path$1}`);
return matches;
} : (p, isDirectory) => matcher(format(p, isDirectory))],
exclude: options.debug ? (_, p) => {
const relativePath = formatExclude(p, true);
const skipped = relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
if (skipped) log(`skipped ${p}`);
else log(`crawling ${p}`);
return skipped;
} : (_, p) => {
const relativePath = formatExclude(p, true);
return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath); return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
},
fs: options.fs ? {
readdir: options.fs.readdir || nativeFs.readdir,
readdirSync: options.fs.readdirSync || nativeFs.readdirSync,
realpath: options.fs.realpath || nativeFs.realpath,
realpathSync: options.fs.realpathSync || nativeFs.realpathSync,
stat: options.fs.stat || nativeFs.stat,
statSync: options.fs.statSync || nativeFs.statSync
} : void 0,
pathSeparator: "/",
relativePaths: true,
resolveSymlinks: true,
signal: options.signal
}; };
if (options.deep !== void 0) fdirOptions.maxDepth = Math.round(options.deep - props.depthOffset); let maxDepth;
if (options.absolute) { if (options.deep !== void 0) maxDepth = Math.round(options.deep - props.depthOffset);
fdirOptions.relativePaths = false; const crawler = new fdir({
fdirOptions.resolvePaths = true; filters: [debug ? (p, isDirectory) => {
fdirOptions.includeBasePath = true; const path = format(p, isDirectory);
} const matches = matcher(path) && !ignore(path);
if (options.followSymbolicLinks === false) { if (matches) log(`matched ${path}`);
fdirOptions.resolveSymlinks = false; return matches;
fdirOptions.excludeSymlinks = true; } : (p, isDirectory) => {
} const path = format(p, isDirectory);
if (options.onlyDirectories) { return matcher(path) && !ignore(path);
fdirOptions.excludeFiles = true; }],
fdirOptions.includeDirs = true; exclude: debug ? (_, p) => {
} else if (options.onlyFiles === false) fdirOptions.includeDirs = true; const skipped = excludePredicate(_, p);
props.root = props.root.replace(BACKSLASHES, ""); log(`${skipped ? "skipped" : "crawling"} ${p}`);
const root = props.root; return skipped;
if (options.debug) log("internal properties:", props); } : excludePredicate,
const relative = cwd !== root && !options.absolute && buildRelative(cwd, props.root); fs: options.fs,
return [new fdir(fdirOptions).crawl(root), relative]; pathSeparator: "/",
relativePaths: !absolute,
resolvePaths: absolute,
includeBasePath: absolute,
resolveSymlinks: followSymbolicLinks,
excludeSymlinks: !followSymbolicLinks,
excludeFiles: onlyDirectories,
includeDirs: onlyDirectories || !options.onlyFiles,
maxDepth,
signal: options.signal
}).crawl(root);
if (options.debug) log("internal properties:", {
...props,
root
});
return [crawler, cwd !== root && !absolute && buildRelative(cwd, root)];
} }
async function glob(patternsOrOptions, options) { //#endregion
if (patternsOrOptions && (options === null || options === void 0 ? void 0 : options.patterns)) throw new Error("Cannot pass patterns as both an argument and an option"); //#region src/index.ts
const isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions === "string"; function formatPaths(paths, mapper) {
const opts = isModern ? options : patternsOrOptions; if (mapper) for (let i = paths.length - 1; i >= 0; i--) paths[i] = mapper(paths[i]);
const patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns; return paths;
const [crawler, relative] = getCrawler(patterns, opts);
if (!relative) return crawler.withPromise();
return formatPaths(await crawler.withPromise(), relative);
} }
function globSync(patternsOrOptions, options) { const defaultOptions = {
if (patternsOrOptions && (options === null || options === void 0 ? void 0 : options.patterns)) throw new Error("Cannot pass patterns as both an argument and an option"); caseSensitiveMatch: true,
const isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions === "string"; cwd: process.cwd(),
const opts = isModern ? options : patternsOrOptions; debug: !!process.env.TINYGLOBBY_DEBUG,
const patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns; expandDirectories: true,
const [crawler, relative] = getCrawler(patterns, opts); followSymbolicLinks: true,
if (!relative) return crawler.sync(); onlyFiles: true
return formatPaths(crawler.sync(), relative); };
function getOptions(options) {
const opts = {
...defaultOptions,
...options
};
opts.cwd = (opts.cwd instanceof URL ? fileURLToPath(opts.cwd) : resolve(opts.cwd)).replace(BACKSLASHES, "/");
opts.ignore = ensureStringArray(opts.ignore);
opts.fs && (opts.fs = {
readdir: opts.fs.readdir || readdir,
readdirSync: opts.fs.readdirSync || readdirSync,
realpath: opts.fs.realpath || realpath,
realpathSync: opts.fs.realpathSync || realpathSync,
stat: opts.fs.stat || stat,
statSync: opts.fs.statSync || statSync
});
if (opts.debug) log("globbing with options:", opts);
return opts;
}
function getCrawler(globInput, inputOptions = {}) {
var _ref;
if (globInput && (inputOptions === null || inputOptions === void 0 ? void 0 : inputOptions.patterns)) throw new Error("Cannot pass patterns as both an argument and an option");
const isModern = isReadonlyArray(globInput) || typeof globInput === "string";
const patterns = ensureStringArray((_ref = isModern ? globInput : globInput.patterns) !== null && _ref !== void 0 ? _ref : "**/*");
const options = getOptions(isModern ? inputOptions : globInput);
return patterns.length > 0 ? buildCrawler(options, patterns) : [];
}
async function glob(globInput, options) {
const [crawler, relative] = getCrawler(globInput, options);
return crawler ? formatPaths(await crawler.withPromise(), relative) : [];
}
function globSync(globInput, options) {
const [crawler, relative] = getCrawler(globInput, options);
return crawler ? formatPaths(crawler.sync(), relative) : [];
} }
//#endregion //#endregion
export { convertPathToPattern, escapePath, glob, globSync, isDynamicPattern }; export { convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
@@ -1,6 +1,6 @@
{ {
"name": "tinyglobby", "name": "tinyglobby",
"version": "0.2.15", "version": "0.2.16",
"description": "A fast and minimal alternative to globby and fast-glob", "description": "A fast and minimal alternative to globby and fast-glob",
"type": "module", "type": "module",
"main": "./dist/index.cjs", "main": "./dist/index.cjs",
@@ -38,18 +38,18 @@
}, },
"dependencies": { "dependencies": {
"fdir": "^6.5.0", "fdir": "^6.5.0",
"picomatch": "^4.0.3" "picomatch": "^4.0.4"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "^2.2.3", "@biomejs/biome": "^2.4.10",
"@types/node": "^24.3.1", "@types/node": "^25.5.2",
"@types/picomatch": "^4.0.2", "@types/picomatch": "^4.0.3",
"fast-glob": "^3.3.3", "fast-glob": "^3.3.3",
"fs-fixture": "^2.8.1", "fs-fixture": "^2.13.0",
"glob": "^11.0.3", "glob": "^13.0.6",
"tinybench": "^5.0.1", "tinybench": "^6.0.0",
"tsdown": "^0.14.2", "tsdown": "^0.21.7",
"typescript": "^5.9.2" "typescript": "^6.0.2"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=12.0.0"
+16 -16
View File
@@ -1,6 +1,6 @@
{ {
"name": "vite", "name": "vite",
"version": "7.1.11", "version": "7.3.2",
"type": "module", "type": "module",
"license": "MIT", "license": "MIT",
"author": "Evan You", "author": "Evan You",
@@ -68,7 +68,7 @@
"funding": "https://github.com/vitejs/vite?sponsor=1", "funding": "https://github.com/vitejs/vite?sponsor=1",
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!", "//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
"dependencies": { "dependencies": {
"esbuild": "^0.25.0", "esbuild": "^0.27.0",
"fdir": "^6.5.0", "fdir": "^6.5.0",
"picomatch": "^4.0.3", "picomatch": "^4.0.3",
"postcss": "^8.5.6", "postcss": "^8.5.6",
@@ -79,27 +79,27 @@
"fsevents": "~2.3.3" "fsevents": "~2.3.3"
}, },
"devDependencies": { "devDependencies": {
"@babel/parser": "^7.28.4", "@babel/parser": "^7.28.5",
"@jridgewell/remapping": "^2.3.5", "@jridgewell/remapping": "^2.3.5",
"@jridgewell/trace-mapping": "^0.3.31", "@jridgewell/trace-mapping": "^0.3.31",
"@oxc-project/types": "0.90.0", "@oxc-project/types": "0.95.0",
"@polka/compression": "^1.0.0-next.25", "@polka/compression": "^1.0.0-next.25",
"@rolldown/pluginutils": "^1.0.0-beta.43", "@rolldown/pluginutils": "^1.0.0-beta.52",
"@rollup/plugin-alias": "^5.1.1", "@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.8", "@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-dynamic-import-vars": "2.1.4", "@rollup/plugin-dynamic-import-vars": "2.1.4",
"@rollup/pluginutils": "^5.3.0", "@rollup/pluginutils": "^5.3.0",
"@types/escape-html": "^1.0.4", "@types/escape-html": "^1.0.4",
"@types/pnpapi": "^0.0.5", "@types/pnpapi": "^0.0.5",
"artichokie": "^0.4.2", "artichokie": "^0.4.2",
"baseline-browser-mapping": "^2.8.18", "baseline-browser-mapping": "^2.8.32",
"cac": "^6.7.14", "cac": "^6.7.14",
"chokidar": "^3.6.0", "chokidar": "^3.6.0",
"connect": "^3.7.0", "connect": "^3.7.0",
"convert-source-map": "^2.0.0", "convert-source-map": "^2.0.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"cross-spawn": "^7.0.6", "cross-spawn": "^7.0.6",
"debug": "^4.4.3", "obug": "^1.0.2",
"dotenv": "^17.2.3", "dotenv": "^17.2.3",
"dotenv-expand": "^12.0.3", "dotenv-expand": "^12.0.3",
"es-module-lexer": "^1.7.0", "es-module-lexer": "^1.7.0",
@@ -108,9 +108,9 @@
"etag": "^1.8.1", "etag": "^1.8.1",
"host-validation-middleware": "^0.1.2", "host-validation-middleware": "^0.1.2",
"http-proxy-3": "^1.22.0", "http-proxy-3": "^1.22.0",
"launch-editor-middleware": "^2.11.1", "launch-editor-middleware": "^2.12.0",
"lightningcss": "^1.30.2", "lightningcss": "^1.30.2",
"magic-string": "^0.30.19", "magic-string": "^0.30.21",
"mlly": "^1.8.0", "mlly": "^1.8.0",
"mrmime": "^2.0.1", "mrmime": "^2.0.1",
"nanoid": "^5.1.6", "nanoid": "^5.1.6",
@@ -124,14 +124,14 @@
"postcss-modules": "^6.0.1", "postcss-modules": "^6.0.1",
"premove": "^4.0.0", "premove": "^4.0.0",
"resolve.exports": "^2.0.3", "resolve.exports": "^2.0.3",
"rolldown": "^1.0.0-beta.43", "rolldown": "^1.0.0-beta.52",
"rolldown-plugin-dts": "^0.16.11", "rolldown-plugin-dts": "^0.18.1",
"rollup-plugin-license": "^3.6.0", "rollup-plugin-license": "^3.6.0",
"sass": "^1.93.2", "sass": "^1.94.2",
"sass-embedded": "^1.93.2", "sass-embedded": "^1.93.3",
"sirv": "^3.0.2", "sirv": "^3.0.2",
"strip-literal": "^3.1.0", "strip-literal": "^3.1.0",
"terser": "^5.44.0", "terser": "^5.44.1",
"tsconfck": "^3.1.6", "tsconfck": "^3.1.6",
"ufo": "^1.6.1", "ufo": "^1.6.1",
"ws": "^8.18.3" "ws": "^8.18.3"
@@ -191,7 +191,7 @@
"build-types": "pnpm build-types-roll && pnpm build-types-check", "build-types": "pnpm build-types-roll && pnpm build-types-check",
"build-types-roll": "rolldown --config rolldown.dts.config.ts", "build-types-roll": "rolldown --config rolldown.dts.config.ts",
"build-types-check": "tsc --project tsconfig.check.json", "build-types-check": "tsc --project tsconfig.check.json",
"typecheck": "tsc && tsc -p src/node", "typecheck": "tsc && tsc -p src/node && tsc -p src/module-runner && tsc -p src/shared && tsc -p src/node/__tests_dts__",
"lint": "eslint --cache --ext .ts src/**", "lint": "eslint --cache --ext .ts src/**",
"format": "prettier --write --cache --parser typescript \"src/**/*.ts\"", "format": "prettier --write --cache --parser typescript \"src/**/*.ts\"",
"generate-target": "tsx scripts/generateTarget.ts" "generate-target": "tsx scripts/generateTarget.ts"
+5
View File
@@ -6,6 +6,7 @@ import type {
} from './hmrPayload' } from './hmrPayload'
export interface CustomEventMap { export interface CustomEventMap {
// client events
'vite:beforeUpdate': UpdatePayload 'vite:beforeUpdate': UpdatePayload
'vite:afterUpdate': UpdatePayload 'vite:afterUpdate': UpdatePayload
'vite:beforePrune': PrunePayload 'vite:beforePrune': PrunePayload
@@ -14,6 +15,10 @@ export interface CustomEventMap {
'vite:invalidate': InvalidatePayload 'vite:invalidate': InvalidatePayload
'vite:ws:connect': WebSocketConnectionPayload 'vite:ws:connect': WebSocketConnectionPayload
'vite:ws:disconnect': WebSocketConnectionPayload 'vite:ws:disconnect': WebSocketConnectionPayload
// server events
'vite:client:connect': undefined
'vite:client:disconnect': undefined
} }
export interface WebSocketConnectionPayload { export interface WebSocketConnectionPayload {
+7 -7
View File
@@ -1,6 +1,6 @@
{ {
"name": "@angular/build", "name": "@angular/build",
"version": "20.3.10", "version": "20.3.26",
"description": "Official build system for Angular", "description": "Official build system for Angular",
"keywords": [ "keywords": [
"Angular CLI", "Angular CLI",
@@ -23,7 +23,7 @@
"builders": "builders.json", "builders": "builders.json",
"dependencies": { "dependencies": {
"@ampproject/remapping": "2.3.0", "@ampproject/remapping": "2.3.0",
"@angular-devkit/architect": "0.2003.10", "@angular-devkit/architect": "0.2003.26",
"@babel/core": "7.28.3", "@babel/core": "7.28.3",
"@babel/helper-annotate-as-pure": "7.27.3", "@babel/helper-annotate-as-pure": "7.27.3",
"@babel/helper-split-export-declaration": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7",
@@ -31,7 +31,7 @@
"@vitejs/plugin-basic-ssl": "2.1.0", "@vitejs/plugin-basic-ssl": "2.1.0",
"beasties": "0.3.5", "beasties": "0.3.5",
"browserslist": "^4.23.0", "browserslist": "^4.23.0",
"esbuild": "0.25.9", "esbuild": "0.28.0",
"https-proxy-agent": "7.0.6", "https-proxy-agent": "7.0.6",
"istanbul-lib-instrument": "6.0.3", "istanbul-lib-instrument": "6.0.3",
"jsonc-parser": "3.3.1", "jsonc-parser": "3.3.1",
@@ -39,14 +39,14 @@
"magic-string": "0.30.17", "magic-string": "0.30.17",
"mrmime": "2.0.1", "mrmime": "2.0.1",
"parse5-html-rewriting-stream": "8.0.0", "parse5-html-rewriting-stream": "8.0.0",
"picomatch": "4.0.3", "picomatch": "4.0.4",
"piscina": "5.1.3", "piscina": "5.1.3",
"rollup": "4.52.3", "rollup": "4.59.0",
"sass": "1.90.0", "sass": "1.90.0",
"semver": "7.7.2", "semver": "7.7.2",
"source-map-support": "0.5.21", "source-map-support": "0.5.21",
"tinyglobby": "0.2.14", "tinyglobby": "0.2.14",
"vite": "7.1.11", "vite": "7.3.2",
"watchpack": "2.4.4" "watchpack": "2.4.4"
}, },
"optionalDependencies": { "optionalDependencies": {
@@ -60,7 +60,7 @@
"@angular/platform-browser": "^20.0.0", "@angular/platform-browser": "^20.0.0",
"@angular/platform-server": "^20.0.0", "@angular/platform-server": "^20.0.0",
"@angular/service-worker": "^20.0.0", "@angular/service-worker": "^20.0.0",
"@angular/ssr": "^20.3.10", "@angular/ssr": "^20.3.26",
"karma": "^6.4.0", "karma": "^6.4.0",
"less": "^4.2.0", "less": "^4.2.0",
"ng-packagr": "^20.0.0", "ng-packagr": "^20.0.0",
+2 -2
View File
@@ -60,7 +60,7 @@ const i18n_1 = require("./i18n");
const setup_bundling_1 = require("./setup-bundling"); const setup_bundling_1 = require("./setup-bundling");
// eslint-disable-next-line max-lines-per-function // eslint-disable-next-line max-lines-per-function
async function executeBuild(options, context, rebuildState) { async function executeBuild(options, context, rebuildState) {
const { projectRoot, workspaceRoot, i18nOptions, optimizationOptions, assets, cacheOptions, serverEntryPoint, baseHref, ssrOptions, verbose, colors, jsonLogs, } = options; const { projectRoot, workspaceRoot, i18nOptions, optimizationOptions, assets, cacheOptions, serverEntryPoint, baseHref, ssrOptions, verbose, colors, jsonLogs, security, } = options;
// TODO: Consider integrating into watch mode. Would require full rebuild on target changes. // TODO: Consider integrating into watch mode. Would require full rebuild on target changes.
const browsers = (0, supported_browsers_1.getSupportedBrowsers)(projectRoot, context.logger); const browsers = (0, supported_browsers_1.getSupportedBrowsers)(projectRoot, context.logger);
// Load active translations if inlining // Load active translations if inlining
@@ -216,7 +216,7 @@ async function executeBuild(options, context, rebuildState) {
} }
// Create server app engine manifest // Create server app engine manifest
if (serverEntryPoint) { if (serverEntryPoint) {
executionResult.addOutputFile(manifest_1.SERVER_APP_ENGINE_MANIFEST_FILENAME, (0, manifest_1.generateAngularServerAppEngineManifest)(i18nOptions, baseHref), bundler_context_1.BuildOutputFileType.ServerRoot); executionResult.addOutputFile(manifest_1.SERVER_APP_ENGINE_MANIFEST_FILENAME, (0, manifest_1.generateAngularServerAppEngineManifest)(i18nOptions, security.allowedHosts, baseHref), bundler_context_1.BuildOutputFileType.ServerRoot);
} }
// Perform i18n translation inlining if enabled // Perform i18n translation inlining if enabled
if (i18nOptions.shouldInline) { if (i18nOptions.shouldInline) {
+1
View File
@@ -197,6 +197,7 @@ export declare function normalizeOptions(context: BuilderContext, projectName: s
externalRuntimeStyles: boolean | undefined; externalRuntimeStyles: boolean | undefined;
instrumentForCoverage: ((filename: string) => boolean) | undefined; instrumentForCoverage: ((filename: string) => boolean) | undefined;
security: { security: {
allowedHosts: string[];
autoCsp: { autoCsp: {
unsafeEval: boolean; unsafeEval: boolean;
} | undefined; } | undefined;
+5 -2
View File
@@ -247,8 +247,9 @@ async function normalizeOptions(context, projectName, options, extensions) {
throw new Error('The "index" option cannot be set to false when enabling "ssr", "prerender" or "app-shell".'); throw new Error('The "index" option cannot be set to false when enabling "ssr", "prerender" or "app-shell".');
} }
} }
const autoCsp = options.security?.autoCsp; const { autoCsp, allowedHosts = [] } = options.security ?? {};
const security = { const security = {
allowedHosts,
autoCsp: autoCsp autoCsp: autoCsp
? { ? {
unsafeEval: autoCsp === true ? false : !!autoCsp.unsafeEval, unsafeEval: autoCsp === true ? false : !!autoCsp.unsafeEval,
@@ -449,7 +450,9 @@ function getLocaleBaseHref(baseHref = '', i18n, locale) {
return undefined; return undefined;
} }
const baseHrefSuffix = localeData.baseHref ?? localeData.subPath + '/'; const baseHrefSuffix = localeData.baseHref ?? localeData.subPath + '/';
return baseHrefSuffix !== '' ? (0, url_1.urlJoin)(baseHref, baseHrefSuffix) : undefined; return baseHrefSuffix !== ''
? (0, url_1.addTrailingSlash)((0, url_1.joinUrlParts)(baseHref, baseHrefSuffix))
: undefined;
} }
/** /**
* Normalizes an array of external dependency paths by ensuring that * Normalizes an array of external dependency paths by ensuring that
+6
View File
@@ -496,6 +496,12 @@ export type ScriptClass = {
* Security features to protect against XSS and other common attacks * Security features to protect against XSS and other common attacks
*/ */
export type Security = { export type Security = {
/**
* A list of hostnames that are allowed to access the server-side application. For more
* information, see
* https://angular.dev/best-practices/security#preventing-server-side-request-forgery-ssrf.
*/
allowedHosts?: string[];
/** /**
* Enables automatic generation of a hash-based Strict Content Security Policy * Enables automatic generation of a hash-based Strict Content Security Policy
* (https://web.dev/articles/strict-csp#choose-hash) based on scripts in index.html. Will * (https://web.dev/articles/strict-csp#choose-hash) based on scripts in index.html. Will
+8
View File
@@ -52,6 +52,14 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"allowedHosts": {
"description": "A list of hostnames that are allowed to access the server-side application. For more information, see https://angular.dev/best-practices/security#preventing-server-side-request-forgery-ssrf.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"autoCsp": { "autoCsp": {
"description": "Enables automatic generation of a hash-based Strict Content Security Policy (https://web.dev/articles/strict-csp#choose-hash) based on scripts in index.html. Will default to true once we are out of experimental/preview phases.", "description": "Enables automatic generation of a hash-based Strict Content Security Policy (https://web.dev/articles/strict-csp#choose-hash) based on scripts in index.html. Will default to true once we are out of experimental/preview phases.",
"default": false, "default": false,
+11 -3
View File
@@ -84,7 +84,14 @@ async function* serveWithVite(serverOptions, builderName, builderAction, context
browserOptions.ssr ||= true; browserOptions.ssr ||= true;
} }
// Disable auto CSP. // Disable auto CSP.
const allowedHosts = Array.isArray(serverOptions.allowedHosts)
? [...serverOptions.allowedHosts]
: [];
// Always allow the dev server host
allowedHosts.push(serverOptions.host);
browserOptions.security = { browserOptions.security = {
allowedHosts,
// Disable auto CSP.
autoCsp: false, autoCsp: false,
}; };
// Disable JSON build stats. // Disable JSON build stats.
@@ -423,9 +430,10 @@ async function invalidateUpdatedFiles(normalizePath, generatedFiles, assetFiles,
updatedModules?.forEach((m) => server.moduleGraph.invalidateModule(m)); updatedModules?.forEach((m) => server.moduleGraph.invalidateModule(m));
} }
if (serverApplicationChanged) { if (serverApplicationChanged) {
// Clear the server app cache and // Clear the server app cache and trigger module evaluation before reload to initiate dependency optimization.
// trigger module evaluation before reload to initiate dependency optimization. // The querystring is needed as a workaround for:
const { ɵdestroyAngularServerApp } = (await server.ssrLoadModule('/main.server.mjs')); // `ɵgetOrCreateAngularServerApp` can be undefined right after an error.
const { ɵdestroyAngularServerApp } = (await server.ssrLoadModule(`/main.server.mjs?timestamp=${Date.now()}`));
ɵdestroyAngularServerApp(); ɵdestroyAngularServerApp();
} }
return updatedFiles; return updatedFiles;
@@ -23,11 +23,6 @@ function createAngularSsrInternalMiddleware(server, indexHtmlTransformer) {
await (0, load_esm_1.loadEsmModule)('@angular/compiler'); await (0, load_esm_1.loadEsmModule)('@angular/compiler');
const { writeResponseToNodeResponse, createWebRequestFromNodeRequest } = await (0, load_esm_1.loadEsmModule)('@angular/ssr/node'); const { writeResponseToNodeResponse, createWebRequestFromNodeRequest } = await (0, load_esm_1.loadEsmModule)('@angular/ssr/node');
const { ɵgetOrCreateAngularServerApp } = (await server.ssrLoadModule('/main.server.mjs')); const { ɵgetOrCreateAngularServerApp } = (await server.ssrLoadModule('/main.server.mjs'));
// `ɵgetOrCreateAngularServerApp` can be undefined right after an error.
// See: https://github.com/angular/angular-cli/issues/29907
if (!ɵgetOrCreateAngularServerApp) {
return next();
}
const angularServerApp = ɵgetOrCreateAngularServerApp({ const angularServerApp = ɵgetOrCreateAngularServerApp({
allowStaticRouteRender: true, allowStaticRouteRender: true,
}); });
+1 -1
View File
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeCacheOptions = normalizeCacheOptions; exports.normalizeCacheOptions = normalizeCacheOptions;
const node_path_1 = require("node:path"); const node_path_1 = require("node:path");
/** Version placeholder is replaced during the build process with actual package version */ /** Version placeholder is replaced during the build process with actual package version */
const VERSION = '20.3.10'; const VERSION = '20.3.26';
function hasCacheMetadata(value) { function hasCacheMetadata(value) {
return (!!value && return (!!value &&
typeof value === 'object' && typeof value === 'object' &&
+2 -1
View File
@@ -19,10 +19,11 @@ export declare const SERVER_APP_ENGINE_MANIFEST_FILENAME = "angular-app-engine-m
* *
* @param i18nOptions - The internationalization options for the application build. This * @param i18nOptions - The internationalization options for the application build. This
* includes settings for inlining locales and determining the output structure. * includes settings for inlining locales and determining the output structure.
* @param allowedHosts - A list of hosts that are allowed to access the server-side application.
* @param baseHref - The base HREF for the application. This is used to set the base URL * @param baseHref - The base HREF for the application. This is used to set the base URL
* for all relative URLs in the application. * for all relative URLs in the application.
*/ */
export declare function generateAngularServerAppEngineManifest(i18nOptions: NormalizedApplicationBuildOptions['i18nOptions'], baseHref: string | undefined): string; export declare function generateAngularServerAppEngineManifest(i18nOptions: NormalizedApplicationBuildOptions['i18nOptions'], allowedHosts: string[], baseHref: string | undefined): string;
/** /**
* Generates the server manifest for the standard Node.js environment. * Generates the server manifest for the standard Node.js environment.
* *
+3 -1
View File
@@ -45,10 +45,11 @@ function escapeUnsafeChars(str) {
* *
* @param i18nOptions - The internationalization options for the application build. This * @param i18nOptions - The internationalization options for the application build. This
* includes settings for inlining locales and determining the output structure. * includes settings for inlining locales and determining the output structure.
* @param allowedHosts - A list of hosts that are allowed to access the server-side application.
* @param baseHref - The base HREF for the application. This is used to set the base URL * @param baseHref - The base HREF for the application. This is used to set the base URL
* for all relative URLs in the application. * for all relative URLs in the application.
*/ */
function generateAngularServerAppEngineManifest(i18nOptions, baseHref) { function generateAngularServerAppEngineManifest(i18nOptions, allowedHosts, baseHref) {
const entryPoints = {}; const entryPoints = {};
const supportedLocales = {}; const supportedLocales = {};
if (i18nOptions.shouldInline && !i18nOptions.flatOutput) { if (i18nOptions.shouldInline && !i18nOptions.flatOutput) {
@@ -71,6 +72,7 @@ function generateAngularServerAppEngineManifest(i18nOptions, baseHref) {
const manifestContent = ` const manifestContent = `
export default { export default {
basePath: '${basePath}', basePath: '${basePath}',
allowedHosts: ${JSON.stringify(allowedHosts, undefined, 2)},
supportedLocales: ${JSON.stringify(supportedLocales, undefined, 2)}, supportedLocales: ${JSON.stringify(supportedLocales, undefined, 2)},
entryPoints: { entryPoints: {
${Object.entries(entryPoints) ${Object.entries(entryPoints)
+15 -16
View File
@@ -51,7 +51,7 @@ async function prerenderPages(workspaceRoot, baseHref, appShellOptions, prerende
serverBundlesSourceMaps.clear(); serverBundlesSourceMaps.clear();
const assetsReversed = {}; const assetsReversed = {};
for (const { source, destination } of assets) { for (const { source, destination } of assets) {
assetsReversed[addLeadingSlash((0, path_1.toPosixPath)(destination))] = source; assetsReversed[(0, url_1.addLeadingSlash)((0, path_1.toPosixPath)(destination))] = source;
} }
// Get routes to prerender // Get routes to prerender
const { errors: extractionErrors, serializedRouteTree: serializableRouteTreeNode, appShellRoute, } = await getAllRoutes(workspaceRoot, baseHref, outputFilesForWorker, assetsReversed, appShellOptions, prerenderOptions, sourcemap, outputMode).catch((err) => { const { errors: extractionErrors, serializedRouteTree: serializableRouteTreeNode, appShellRoute, } = await getAllRoutes(workspaceRoot, baseHref, outputFilesForWorker, assetsReversed, appShellOptions, prerenderOptions, sourcemap, outputMode).catch((err) => {
@@ -126,17 +126,21 @@ async function renderPages(baseHref, sourcemap, serializableRouteTreeNode, maxTh
hasSsrEntry: !!outputFilesForWorker['server.mjs'], hasSsrEntry: !!outputFilesForWorker['server.mjs'],
}, },
execArgv: workerExecArgv, execArgv: workerExecArgv,
env: {
...process.env,
'NG_ALLOWED_HOSTS': 'localhost',
},
}); });
try { try {
const renderingPromises = []; const renderingPromises = [];
const appShellRouteWithLeadingSlash = appShellRoute && addLeadingSlash(appShellRoute); const appShellRouteWithLeadingSlash = appShellRoute && (0, url_1.addLeadingSlash)(appShellRoute);
const baseHrefPathnameWithLeadingSlash = new URL(baseHref, 'http://localhost').pathname; const baseHrefPathnameWithLeadingSlash = new URL(baseHref, 'http://localhost').pathname;
for (const { route, redirectTo } of serializableRouteTreeNode) { for (const { route, redirectTo } of serializableRouteTreeNode) {
// Remove the base href from the file output path. // Remove the base href from the file output path.
const routeWithoutBaseHref = addTrailingSlash(route).startsWith(baseHrefPathnameWithLeadingSlash) const routeWithoutBaseHref = (0, url_1.addTrailingSlash)(route).startsWith(baseHrefPathnameWithLeadingSlash)
? addLeadingSlash(route.slice(baseHrefPathnameWithLeadingSlash.length)) ? (0, url_1.addLeadingSlash)(route.slice(baseHrefPathnameWithLeadingSlash.length))
: route; : route;
const outPath = node_path_1.posix.join(removeLeadingSlash(routeWithoutBaseHref), 'index.html'); const outPath = (0, url_1.stripLeadingSlash)(node_path_1.posix.join(routeWithoutBaseHref, 'index.html'));
if (typeof redirectTo === 'string') { if (typeof redirectTo === 'string') {
output[outPath] = { content: (0, utils_2.generateRedirectStaticPage)(redirectTo), appShellRoute: false }; output[outPath] = { content: (0, utils_2.generateRedirectStaticPage)(redirectTo), appShellRoute: false };
continue; continue;
@@ -172,7 +176,7 @@ async function getAllRoutes(workspaceRoot, baseHref, outputFilesForWorker, asset
const routes = []; const routes = [];
let appShellRoute; let appShellRoute;
if (appShellOptions) { if (appShellOptions) {
appShellRoute = (0, url_1.urlJoin)(baseHref, appShellOptions.route); appShellRoute = (0, url_1.joinUrlParts)(baseHref, appShellOptions.route);
routes.push({ routes.push({
renderMode: models_1.RouteRenderMode.Prerender, renderMode: models_1.RouteRenderMode.Prerender,
route: appShellRoute, route: appShellRoute,
@@ -183,7 +187,7 @@ async function getAllRoutes(workspaceRoot, baseHref, outputFilesForWorker, asset
for (const route of routesFromFile) { for (const route of routesFromFile) {
routes.push({ routes.push({
renderMode: models_1.RouteRenderMode.Prerender, renderMode: models_1.RouteRenderMode.Prerender,
route: (0, url_1.urlJoin)(baseHref, route.trim()), route: (0, url_1.joinUrlParts)(baseHref, route.trim()),
}); });
} }
} }
@@ -205,6 +209,10 @@ async function getAllRoutes(workspaceRoot, baseHref, outputFilesForWorker, asset
hasSsrEntry: !!outputFilesForWorker['server.mjs'], hasSsrEntry: !!outputFilesForWorker['server.mjs'],
}, },
execArgv: workerExecArgv, execArgv: workerExecArgv,
env: {
...process.env,
'NG_ALLOWED_HOSTS': 'localhost',
},
}); });
try { try {
const { serializedRouteTree, appShellRoute, errors } = await renderWorker.run({}); const { serializedRouteTree, appShellRoute, errors } = await renderWorker.run({});
@@ -233,12 +241,3 @@ async function getAllRoutes(workspaceRoot, baseHref, outputFilesForWorker, asset
void renderWorker.destroy(); void renderWorker.destroy();
} }
} }
function addLeadingSlash(value) {
return value[0] === '/' ? value : '/' + value;
}
function addTrailingSlash(url) {
return url[url.length - 1] === '/' ? url : `${url}/`;
}
function removeLeadingSlash(value) {
return value[0] === '/' ? value.slice(1) : value;
}
+74 -1
View File
@@ -5,4 +5,77 @@
* Use of this source code is governed by an MIT-style license that can be * Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license * found in the LICENSE file at https://angular.dev/license
*/ */
export declare function urlJoin(...parts: string[]): string; /**
* Removes the trailing slash from a URL if it exists.
*
* @param url - The URL string from which to remove the trailing slash.
* @returns The URL string without a trailing slash.
*
* @example
* ```js
* stripTrailingSlash('path/'); // 'path'
* stripTrailingSlash('/path'); // '/path'
* stripTrailingSlash('/'); // '/'
* stripTrailingSlash(''); // ''
* ```
*/
export declare function stripTrailingSlash(url: string): string;
/**
* Removes the leading slash from a URL if it exists.
*
* @param url - The URL string from which to remove the leading slash.
* @returns The URL string without a leading slash.
*
* @example
* ```js
* stripLeadingSlash('/path'); // 'path'
* stripLeadingSlash('/path/'); // 'path/'
* stripLeadingSlash('/'); // '/'
* stripLeadingSlash(''); // ''
* ```
*/
export declare function stripLeadingSlash(url: string): string;
/**
* Adds a leading slash to a URL if it does not already have one.
*
* @param url - The URL string to which the leading slash will be added.
* @returns The URL string with a leading slash.
*
* @example
* ```js
* addLeadingSlash('path'); // '/path'
* addLeadingSlash('/path'); // '/path'
* ```
*/
export declare function addLeadingSlash(url: string): string;
/**
* Adds a trailing slash to a URL if it does not already have one.
*
* @param url - The URL string to which the trailing slash will be added.
* @returns The URL string with a trailing slash.
*
* @example
* ```js
* addTrailingSlash('path'); // 'path/'
* addTrailingSlash('path/'); // 'path/'
* ```
*/
export declare function addTrailingSlash(url: string): string;
/**
* Joins URL parts into a single URL string.
*
* This function takes multiple URL segments, normalizes them by removing leading
* and trailing slashes where appropriate, and then joins them into a single URL.
*
* @param parts - The parts of the URL to join. Each part can be a string with or without slashes.
* @returns The joined URL string, with normalized slashes.
*
* @example
* ```js
* joinUrlParts('path/', '/to/resource'); // '/path/to/resource'
* joinUrlParts('/path/', 'to/resource'); // '/path/to/resource'
* joinUrlParts('http://localhost/path/', 'to/resource'); // 'http://localhost/path/to/resource'
* joinUrlParts('', ''); // '/'
* ```
*/
export declare function joinUrlParts(...parts: string[]): string;
+111 -7
View File
@@ -7,11 +7,115 @@
* found in the LICENSE file at https://angular.dev/license * found in the LICENSE file at https://angular.dev/license
*/ */
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.urlJoin = urlJoin; exports.stripTrailingSlash = stripTrailingSlash;
function urlJoin(...parts) { exports.stripLeadingSlash = stripLeadingSlash;
const [p, ...rest] = parts; exports.addLeadingSlash = addLeadingSlash;
// Remove trailing slash from first part exports.addTrailingSlash = addTrailingSlash;
// Join all parts with `/` exports.joinUrlParts = joinUrlParts;
// Dedupe double slashes from path names /**
return p.replace(/\/$/, '') + ('/' + rest.join('/')).replace(/\/\/+/g, '/'); * Removes the trailing slash from a URL if it exists.
*
* @param url - The URL string from which to remove the trailing slash.
* @returns The URL string without a trailing slash.
*
* @example
* ```js
* stripTrailingSlash('path/'); // 'path'
* stripTrailingSlash('/path'); // '/path'
* stripTrailingSlash('/'); // '/'
* stripTrailingSlash(''); // ''
* ```
*/
function stripTrailingSlash(url) {
// Check if the last character of the URL is a slash
return url.length > 1 && url[url.length - 1] === '/' ? url.slice(0, -1) : url;
}
/**
* Removes the leading slash from a URL if it exists.
*
* @param url - The URL string from which to remove the leading slash.
* @returns The URL string without a leading slash.
*
* @example
* ```js
* stripLeadingSlash('/path'); // 'path'
* stripLeadingSlash('/path/'); // 'path/'
* stripLeadingSlash('/'); // '/'
* stripLeadingSlash(''); // ''
* ```
*/
function stripLeadingSlash(url) {
// Check if the first character of the URL is a slash
return url.length > 1 && url[0] === '/' ? url.slice(1) : url;
}
/**
* Adds a leading slash to a URL if it does not already have one.
*
* @param url - The URL string to which the leading slash will be added.
* @returns The URL string with a leading slash.
*
* @example
* ```js
* addLeadingSlash('path'); // '/path'
* addLeadingSlash('/path'); // '/path'
* ```
*/
function addLeadingSlash(url) {
// Check if the URL already starts with a slash
return url[0] === '/' ? url : `/${url}`;
}
/**
* Adds a trailing slash to a URL if it does not already have one.
*
* @param url - The URL string to which the trailing slash will be added.
* @returns The URL string with a trailing slash.
*
* @example
* ```js
* addTrailingSlash('path'); // 'path/'
* addTrailingSlash('path/'); // 'path/'
* ```
*/
function addTrailingSlash(url) {
// Check if the URL already end with a slash
return url[url.length - 1] === '/' ? url : `${url}/`;
}
/**
* Joins URL parts into a single URL string.
*
* This function takes multiple URL segments, normalizes them by removing leading
* and trailing slashes where appropriate, and then joins them into a single URL.
*
* @param parts - The parts of the URL to join. Each part can be a string with or without slashes.
* @returns The joined URL string, with normalized slashes.
*
* @example
* ```js
* joinUrlParts('path/', '/to/resource'); // '/path/to/resource'
* joinUrlParts('/path/', 'to/resource'); // '/path/to/resource'
* joinUrlParts('http://localhost/path/', 'to/resource'); // 'http://localhost/path/to/resource'
* joinUrlParts('', ''); // '/'
* ```
*/
function joinUrlParts(...parts) {
const normalizeParts = [];
for (const part of parts) {
if (part === '') {
// Skip any empty parts
continue;
}
let normalizedPart = part;
if (part[0] === '/') {
normalizedPart = normalizedPart.slice(1);
}
if (part[part.length - 1] === '/') {
normalizedPart = normalizedPart.slice(0, -1);
}
if (normalizedPart !== '') {
normalizeParts.push(normalizedPart);
}
}
const protocolMatch = normalizeParts.length && /^https?:\/\//.test(normalizeParts[0]);
const joinedParts = normalizeParts.join('/');
return protocolMatch ? joinedParts : addLeadingSlash(joinedParts);
} }
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"activedescendant-key-manager.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/a11y/key-manager/activedescendant-key-manager.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\nimport {ListKeyManager, ListKeyManagerOption} from './list-key-manager';\n\n/**\n * This is the interface for highlightable items (used by the ActiveDescendantKeyManager).\n * Each item must know how to style itself as active or inactive and whether or not it is\n * currently disabled.\n */\nexport interface Highlightable extends ListKeyManagerOption {\n /** Applies the styles for an active item to this item. */\n setActiveStyles(): void;\n\n /** Applies the styles for an inactive item to this item. */\n setInactiveStyles(): void;\n}\n\nexport class ActiveDescendantKeyManager<T> extends ListKeyManager<Highlightable & T> {\n /**\n * Sets the active item to the item at the specified index and adds the\n * active styles to the newly active item. Also removes active styles\n * from the previously active item.\n * @param index Index of the item to be set as active.\n */\n override setActiveItem(index: number): void;\n\n /**\n * Sets the active item to the item to the specified one and adds the\n * active styles to the it. Also removes active styles from the\n * previously active item.\n * @param item Item to be set as active.\n */\n override setActiveItem(item: T): void;\n /**\n * Sets the active item to the item to the specified one and adds the\n * active styles to the it. Also removes active styles from the\n * previously active item.\n * @param item Item to be set as active.\n */\n override setActiveItem(item: T | number): void;\n\n override setActiveItem(index: any): void {\n if (this.activeItem) {\n this.activeItem.setInactiveStyles();\n }\n super.setActiveItem(index);\n if (this.activeItem) {\n this.activeItem.setActiveStyles();\n }\n }\n}\n"],"names":[],"mappings":";;AAuBM,MAAO,0BAA8B,SAAQ,cAAiC,CAAA;AAwBzE,IAAA,aAAa,CAAC,KAAU,EAAA;AAC/B,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;AACnB,YAAA,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE;;AAErC,QAAA,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;AAC1B,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;AACnB,YAAA,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE;;;AAGtC;;;;"} {"version":3,"file":"activedescendant-key-manager.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/a11y/key-manager/activedescendant-key-manager.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\nimport {ListKeyManager, ListKeyManagerOption} from './list-key-manager';\n\n/**\n * This is the interface for highlightable items (used by the ActiveDescendantKeyManager).\n * Each item must know how to style itself as active or inactive and whether or not it is\n * currently disabled.\n */\nexport interface Highlightable extends ListKeyManagerOption {\n /** Applies the styles for an active item to this item. */\n setActiveStyles(): void;\n\n /** Applies the styles for an inactive item to this item. */\n setInactiveStyles(): void;\n}\n\nexport class ActiveDescendantKeyManager<T> extends ListKeyManager<Highlightable & T> {\n /**\n * Sets the active item to the item at the specified index and adds the\n * active styles to the newly active item. Also removes active styles\n * from the previously active item.\n * @param index Index of the item to be set as active.\n */\n override setActiveItem(index: number): void;\n\n /**\n * Sets the active item to the item to the specified one and adds the\n * active styles to the it. Also removes active styles from the\n * previously active item.\n * @param item Item to be set as active.\n */\n override setActiveItem(item: T): void;\n /**\n * Sets the active item to the item to the specified one and adds the\n * active styles to the it. Also removes active styles from the\n * previously active item.\n * @param item Item to be set as active.\n */\n override setActiveItem(item: T | number): void;\n\n override setActiveItem(index: any): void {\n if (this.activeItem) {\n this.activeItem.setInactiveStyles();\n }\n super.setActiveItem(index);\n if (this.activeItem) {\n this.activeItem.setActiveStyles();\n }\n }\n}\n"],"names":[],"mappings":";;AAuBM,MAAO,0BAA8B,SAAQ,cAAiC,CAAA;AAwBzE,IAAA,aAAa,CAAC,KAAU,EAAA;AAC/B,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;AACnB,YAAA,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE;;AAErC,QAAA,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;AAC1B,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;AACnB,YAAA,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE;;;AAGtC;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"array.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/array.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/** Wraps the provided value in an array, unless the provided value is an array. */\nexport function coerceArray<T>(value: T | T[]): T[];\nexport function coerceArray<T>(value: T | readonly T[]): readonly T[];\nexport function coerceArray<T>(value: T | T[]): T[] {\n return Array.isArray(value) ? value : [value];\n}\n"],"names":[],"mappings":"AAWM,SAAU,WAAW,CAAI,KAAc,EAAA;AAC3C,IAAA,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAC,KAAK,CAAC;AAC/C;;;;"} {"version":3,"file":"array.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/array.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/** Wraps the provided value in an array, unless the provided value is an array. */\nexport function coerceArray<T>(value: T | T[]): T[];\nexport function coerceArray<T>(value: T | readonly T[]): readonly T[];\nexport function coerceArray<T>(value: T | T[]): T[] {\n return Array.isArray(value) ? value : [value];\n}\n"],"names":[],"mappings":"AAWM,SAAU,WAAW,CAAI,KAAc,EAAA;AAC3C,IAAA,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAC,KAAK,CAAC;AAC/C;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"bidi.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/bidi/dir.ts","../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/bidi/bidi-module.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\nimport {\n AfterContentInit,\n Directive,\n EventEmitter,\n Input,\n OnDestroy,\n Output,\n signal,\n} from '@angular/core';\n\nimport {Direction, Directionality, _resolveDirectionality} from './directionality';\n\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Provides itself as Directionality such that descendant directives only need to ever inject\n * Directionality to get the closest direction.\n */\n@Directive({\n selector: '[dir]',\n providers: [{provide: Directionality, useExisting: Dir}],\n host: {'[attr.dir]': '_rawDir'},\n exportAs: 'dir',\n})\nexport class Dir implements Directionality, AfterContentInit, OnDestroy {\n /** Whether the `value` has been set to its initial value. */\n private _isInitialized: boolean = false;\n\n /** Direction as passed in by the consumer. */\n _rawDir: string;\n\n /** Event emitted when the direction changes. */\n @Output('dirChange') readonly change = new EventEmitter<Direction>();\n\n /** @docs-private */\n @Input()\n get dir(): Direction {\n return this.valueSignal();\n }\n set dir(value: Direction | 'auto') {\n const previousValue = this.valueSignal();\n\n // Note: `_resolveDirectionality` resolves the language based on the browser's language,\n // whereas the browser does it based on the content of the element. Since doing so based\n // on the content can be expensive, for now we're doing the simpler matching.\n this.valueSignal.set(_resolveDirectionality(value));\n this._rawDir = value;\n\n if (previousValue !== this.valueSignal() && this._isInitialized) {\n this.change.emit(this.valueSignal());\n }\n }\n\n /** Current layout direction of the element. */\n get value(): Direction {\n return this.dir;\n }\n\n readonly valueSignal = signal<Direction>('ltr');\n\n /** Initialize once default value has been set. */\n ngAfterContentInit() {\n this._isInitialized = true;\n }\n\n ngOnDestroy() {\n this.change.complete();\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 {NgModule} from '@angular/core';\nimport {Dir} from './dir';\n\n@NgModule({\n imports: [Dir],\n exports: [Dir],\n})\nexport class BidiModule {}\n"],"names":[],"mappings":";;;;;AAoBA;;;;;AAKG;MAOU,GAAG,CAAA;;IAEN,cAAc,GAAY,KAAK;;AAGvC,IAAA,OAAO;;AAGuB,IAAA,MAAM,GAAG,IAAI,YAAY,EAAa;;AAGpE,IAAA,IACI,GAAG,GAAA;AACL,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE;;IAE3B,IAAI,GAAG,CAAC,KAAyB,EAAA;AAC/B,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,WAAW,EAAE;;;;QAKxC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;AACnD,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK;QAEpB,IAAI,aAAa,KAAK,IAAI,CAAC,WAAW,EAAE,IAAI,IAAI,CAAC,cAAc,EAAE;YAC/D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;;;;AAKxC,IAAA,IAAI,KAAK,GAAA;QACP,OAAO,IAAI,CAAC,GAAG;;AAGR,IAAA,WAAW,GAAG,MAAM,CAAY,KAAK,uDAAC;;IAG/C,kBAAkB,GAAA;AAChB,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI;;IAG5B,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;;8GA1Cb,GAAG,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;kGAAH,GAAG,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,OAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,KAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,WAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,UAAA,EAAA,SAAA,EAAA,EAAA,EAAA,SAAA,EAJH,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,EAAC,CAAC,EAAA,QAAA,EAAA,CAAA,KAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;kGAI7C,GAAG,EAAA,UAAA,EAAA,CAAA;kBANf,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,OAAO;oBACjB,SAAS,EAAE,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAK,GAAA,EAAC,CAAC;AACxD,oBAAA,IAAI,EAAE,EAAC,YAAY,EAAE,SAAS,EAAC;AAC/B,oBAAA,QAAQ,EAAE,KAAK;AAChB,iBAAA;8BAS+B,MAAM,EAAA,CAAA;sBAAnC,MAAM;uBAAC,WAAW;gBAIf,GAAG,EAAA,CAAA;sBADN;;;MC5BU,UAAU,CAAA;8GAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;+GAAV,UAAU,EAAA,OAAA,EAAA,CAHX,GAAG,CAAA,EAAA,OAAA,EAAA,CACH,GAAG,CAAA,EAAA,CAAA;+GAEF,UAAU,EAAA,CAAA;;kGAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,GAAG,CAAC;oBACd,OAAO,EAAE,CAAC,GAAG,CAAC;AACf,iBAAA;;;;;"} {"version":3,"file":"bidi.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/bidi/dir.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/bidi/bidi-module.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\nimport {\n AfterContentInit,\n Directive,\n EventEmitter,\n Input,\n OnDestroy,\n Output,\n signal,\n} from '@angular/core';\n\nimport {Direction, Directionality, _resolveDirectionality} from './directionality';\n\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Provides itself as Directionality such that descendant directives only need to ever inject\n * Directionality to get the closest direction.\n */\n@Directive({\n selector: '[dir]',\n providers: [{provide: Directionality, useExisting: Dir}],\n host: {'[attr.dir]': '_rawDir'},\n exportAs: 'dir',\n})\nexport class Dir implements Directionality, AfterContentInit, OnDestroy {\n /** Whether the `value` has been set to its initial value. */\n private _isInitialized: boolean = false;\n\n /** Direction as passed in by the consumer. */\n _rawDir: string;\n\n /** Event emitted when the direction changes. */\n @Output('dirChange') readonly change = new EventEmitter<Direction>();\n\n /** @docs-private */\n @Input()\n get dir(): Direction {\n return this.valueSignal();\n }\n set dir(value: Direction | 'auto') {\n const previousValue = this.valueSignal();\n\n // Note: `_resolveDirectionality` resolves the language based on the browser's language,\n // whereas the browser does it based on the content of the element. Since doing so based\n // on the content can be expensive, for now we're doing the simpler matching.\n this.valueSignal.set(_resolveDirectionality(value));\n this._rawDir = value;\n\n if (previousValue !== this.valueSignal() && this._isInitialized) {\n this.change.emit(this.valueSignal());\n }\n }\n\n /** Current layout direction of the element. */\n get value(): Direction {\n return this.dir;\n }\n\n readonly valueSignal = signal<Direction>('ltr');\n\n /** Initialize once default value has been set. */\n ngAfterContentInit() {\n this._isInitialized = true;\n }\n\n ngOnDestroy() {\n this.change.complete();\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 {NgModule} from '@angular/core';\nimport {Dir} from './dir';\n\n@NgModule({\n imports: [Dir],\n exports: [Dir],\n})\nexport class BidiModule {}\n"],"names":[],"mappings":";;;;;AAoBA;;;;;AAKG;MAOU,GAAG,CAAA;;IAEN,cAAc,GAAY,KAAK;;AAGvC,IAAA,OAAO;;AAGuB,IAAA,MAAM,GAAG,IAAI,YAAY,EAAa;;AAGpE,IAAA,IACI,GAAG,GAAA;AACL,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE;;IAE3B,IAAI,GAAG,CAAC,KAAyB,EAAA;AAC/B,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,WAAW,EAAE;;;;QAKxC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;AACnD,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK;QAEpB,IAAI,aAAa,KAAK,IAAI,CAAC,WAAW,EAAE,IAAI,IAAI,CAAC,cAAc,EAAE;YAC/D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;;;;AAKxC,IAAA,IAAI,KAAK,GAAA;QACP,OAAO,IAAI,CAAC,GAAG;;AAGR,IAAA,WAAW,GAAG,MAAM,CAAY,KAAK,uDAAC;;IAG/C,kBAAkB,GAAA;AAChB,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI;;IAG5B,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;;8GA1Cb,GAAG,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;kGAAH,GAAG,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,OAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,KAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,WAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,UAAA,EAAA,SAAA,EAAA,EAAA,EAAA,SAAA,EAJH,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,EAAC,CAAC,EAAA,QAAA,EAAA,CAAA,KAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;kGAI7C,GAAG,EAAA,UAAA,EAAA,CAAA;kBANf,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,OAAO;oBACjB,SAAS,EAAE,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAK,GAAA,EAAC,CAAC;AACxD,oBAAA,IAAI,EAAE,EAAC,YAAY,EAAE,SAAS,EAAC;AAC/B,oBAAA,QAAQ,EAAE,KAAK;AAChB,iBAAA;8BAS+B,MAAM,EAAA,CAAA;sBAAnC,MAAM;uBAAC,WAAW;gBAIf,GAAG,EAAA,CAAA;sBADN;;;MC5BU,UAAU,CAAA;8GAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;+GAAV,UAAU,EAAA,OAAA,EAAA,CAHX,GAAG,CAAA,EAAA,OAAA,EAAA,CACH,GAAG,CAAA,EAAA,CAAA;+GAEF,UAAU,EAAA,CAAA;;kGAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,GAAG,CAAC;oBACd,OAAO,EAAE,CAAC,GAAG,CAAC;AACf,iBAAA;;;;;"}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,7 +1,7 @@
import { Version } from '@angular/core'; import { Version } from '@angular/core';
/** Current version of the Angular Component Development Kit. */ /** Current version of the Angular Component Development Kit. */
const VERSION = new Version('20.2.12'); const VERSION = new Version('20.2.14');
export { VERSION }; export { VERSION };
//# sourceMappingURL=cdk.mjs.map //# sourceMappingURL=cdk.mjs.map
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"cdk.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/version.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\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('20.2.12');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"} {"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/version.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\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('20.2.14');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"coercion.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/boolean-property.ts","../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/string-array.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 * Type describing the allowed values for a boolean input.\n * @docs-private\n */\nexport type BooleanInput = string | boolean | null | undefined;\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nexport function coerceBooleanProperty(value: any): boolean {\n return value != null && `${value}` !== 'false';\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\n/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -&gt; `[]`\n * - `[null]` -&gt; `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -&gt; `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -&gt; `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -&gt; `[\"[object Object]\"]`\n * - `{ a: 0 }` -&gt; `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nexport function coerceStringArray(value: any, separator: string | RegExp = /\\s+/): string[] {\n const result = [];\n\n if (value != null) {\n const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n for (const sourceValue of sourceValues) {\n const trimmedString = `${sourceValue}`.trim();\n if (trimmedString) {\n result.push(trimmedString);\n }\n }\n }\n\n return result;\n}\n"],"names":[],"mappings":";;;;;AAcA;AACM,SAAU,qBAAqB,CAAC,KAAU,EAAA;IAC9C,OAAO,KAAK,IAAI,IAAI,IAAI,GAAG,KAAK,CAAA,CAAE,KAAK,OAAO;AAChD;;ACTA;;;;;;;;;;;;;;;;AAgBG;SACa,iBAAiB,CAAC,KAAU,EAAE,YAA6B,KAAK,EAAA;IAC9E,MAAM,MAAM,GAAG,EAAE;AAEjB,IAAA,IAAI,KAAK,IAAI,IAAI,EAAE;QACjB,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAA,EAAG,KAAK,CAAA,CAAE,CAAC,KAAK,CAAC,SAAS,CAAC;AAC/E,QAAA,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE;YACtC,MAAM,aAAa,GAAG,CAAG,EAAA,WAAW,EAAE,CAAC,IAAI,EAAE;YAC7C,IAAI,aAAa,EAAE;AACjB,gBAAA,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC;;;;AAKhC,IAAA,OAAO,MAAM;AACf;;;;"} {"version":3,"file":"coercion.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/boolean-property.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/string-array.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 * Type describing the allowed values for a boolean input.\n * @docs-private\n */\nexport type BooleanInput = string | boolean | null | undefined;\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nexport function coerceBooleanProperty(value: any): boolean {\n return value != null && `${value}` !== 'false';\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\n/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -&gt; `[]`\n * - `[null]` -&gt; `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -&gt; `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -&gt; `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -&gt; `[\"[object Object]\"]`\n * - `{ a: 0 }` -&gt; `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nexport function coerceStringArray(value: any, separator: string | RegExp = /\\s+/): string[] {\n const result = [];\n\n if (value != null) {\n const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n for (const sourceValue of sourceValues) {\n const trimmedString = `${sourceValue}`.trim();\n if (trimmedString) {\n result.push(trimmedString);\n }\n }\n }\n\n return result;\n}\n"],"names":[],"mappings":";;;;;AAcA;AACM,SAAU,qBAAqB,CAAC,KAAU,EAAA;IAC9C,OAAO,KAAK,IAAI,IAAI,IAAI,GAAG,KAAK,CAAA,CAAE,KAAK,OAAO;AAChD;;ACTA;;;;;;;;;;;;;;;;AAgBG;SACa,iBAAiB,CAAC,KAAU,EAAE,YAA6B,KAAK,EAAA;IAC9E,MAAM,MAAM,GAAG,EAAE;AAEjB,IAAA,IAAI,KAAK,IAAI,IAAI,EAAE;QACjB,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAA,EAAG,KAAK,CAAA,CAAE,CAAC,KAAK,CAAC,SAAS,CAAC;AAC/E,QAAA,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE;YACtC,MAAM,aAAa,GAAG,CAAG,EAAA,WAAW,EAAE,CAAC,IAAI,EAAE;YAC7C,IAAI,aAAa,EAAE;AACjB,gBAAA,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC;;;;AAKhC,IAAA,OAAO,MAAM;AACf;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"private.mjs","sources":["../../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/private/observable.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 */\nimport {Observable, isObservable, of as observableOf} from 'rxjs';\n\n/**\n * Given either an Observable or non-Observable value, returns either the original\n * Observable, or wraps it in an Observable that emits the non-Observable value.\n */\nexport function coerceObservable<T>(data: T | Observable<T>): Observable<T> {\n if (!isObservable(data)) {\n return observableOf(data);\n }\n return data;\n}\n"],"names":["observableOf"],"mappings":";;AASA;;;AAGG;AACG,SAAU,gBAAgB,CAAI,IAAuB,EAAA;AACzD,IAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE;AACvB,QAAA,OAAOA,EAAY,CAAC,IAAI,CAAC;;AAE3B,IAAA,OAAO,IAAI;AACb;;;;"} {"version":3,"file":"private.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/private/observable.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 */\nimport {Observable, isObservable, of as observableOf} from 'rxjs';\n\n/**\n * Given either an Observable or non-Observable value, returns either the original\n * Observable, or wraps it in an Observable that emits the non-Observable value.\n */\nexport function coerceObservable<T>(data: T | Observable<T>): Observable<T> {\n if (!isObservable(data)) {\n return observableOf(data);\n }\n return data;\n}\n"],"names":["observableOf"],"mappings":";;AASA;;;AAGG;AACG,SAAU,gBAAgB,CAAI,IAAuB,EAAA;AACzD,IAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE;AACvB,QAAA,OAAOA,EAAY,CAAC,IAAI,CAAC;;AAE3B,IAAA,OAAO,IAAI;AACb;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"css-pixel-value.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/css-pixel-value.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/** Coerces a value to a CSS pixel value. */\nexport function coerceCssPixelValue(value: any): string {\n if (value == null) {\n return '';\n }\n\n return typeof value === 'string' ? value : `${value}px`;\n}\n"],"names":[],"mappings":"AAQA;AACM,SAAU,mBAAmB,CAAC,KAAU,EAAA;AAC5C,IAAA,IAAI,KAAK,IAAI,IAAI,EAAE;AACjB,QAAA,OAAO,EAAE;;AAGX,IAAA,OAAO,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAG,CAAG,EAAA,KAAK,IAAI;AACzD;;;;"} {"version":3,"file":"css-pixel-value.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/css-pixel-value.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/** Coerces a value to a CSS pixel value. */\nexport function coerceCssPixelValue(value: any): string {\n if (value == null) {\n return '';\n }\n\n return typeof value === 'string' ? value : `${value}px`;\n}\n"],"names":[],"mappings":"AAQA;AACM,SAAU,mBAAmB,CAAC,KAAU,EAAA;AAC5C,IAAA,IAAI,KAAK,IAAI,IAAI,EAAE;AACjB,QAAA,OAAO,EAAE;;AAGX,IAAA,OAAO,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAG,CAAG,EAAA,KAAK,IAAI;AACzD;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"data-source.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/collections/data-source.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\nimport {ConnectableObservable, Observable} from 'rxjs';\nimport {CollectionViewer} from './collection-viewer';\n\nexport abstract class DataSource<T> {\n /**\n * Connects a collection viewer (such as a data-table) to this data source. Note that\n * the stream provided will be accessed during change detection and should not directly change\n * values that are bound in template views.\n * @param collectionViewer The component that exposes a view over the data provided by this\n * data source.\n * @returns Observable that emits a new value when the data changes.\n */\n abstract connect(collectionViewer: CollectionViewer): Observable<readonly T[]>;\n\n /**\n * Disconnects a collection viewer (such as a data-table) from this data source. Can be used\n * to perform any clean-up or tear-down operations when a view is being destroyed.\n *\n * @param collectionViewer The component that exposes a view over the data provided by this\n * data source.\n */\n abstract disconnect(collectionViewer: CollectionViewer): void;\n}\n\n/** Checks whether an object is a data source. */\nexport function isDataSource(value: any): value is DataSource<any> {\n // Check if the value is a DataSource by observing if it has a connect function. Cannot\n // be checked as an `instanceof DataSource` since people could create their own sources\n // that match the interface, but don't extend DataSource. We also can't use `isObservable`\n // here, because of some internal apps.\n return value && typeof value.connect === 'function' && !(value instanceof ConnectableObservable);\n}\n"],"names":[],"mappings":";;MAWsB,UAAU,CAAA;AAmB/B;AAED;AACM,SAAU,YAAY,CAAC,KAAU,EAAA;;;;;AAKrC,IAAA,OAAO,KAAK,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,UAAU,IAAI,EAAE,KAAK,YAAY,qBAAqB,CAAC;AAClG;;;;"} {"version":3,"file":"data-source.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/collections/data-source.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\nimport {ConnectableObservable, Observable} from 'rxjs';\nimport {CollectionViewer} from './collection-viewer';\n\nexport abstract class DataSource<T> {\n /**\n * Connects a collection viewer (such as a data-table) to this data source. Note that\n * the stream provided will be accessed during change detection and should not directly change\n * values that are bound in template views.\n * @param collectionViewer The component that exposes a view over the data provided by this\n * data source.\n * @returns Observable that emits a new value when the data changes.\n */\n abstract connect(collectionViewer: CollectionViewer): Observable<readonly T[]>;\n\n /**\n * Disconnects a collection viewer (such as a data-table) from this data source. Can be used\n * to perform any clean-up or tear-down operations when a view is being destroyed.\n *\n * @param collectionViewer The component that exposes a view over the data provided by this\n * data source.\n */\n abstract disconnect(collectionViewer: CollectionViewer): void;\n}\n\n/** Checks whether an object is a data source. */\nexport function isDataSource(value: any): value is DataSource<any> {\n // Check if the value is a DataSource by observing if it has a connect function. Cannot\n // be checked as an `instanceof DataSource` since people could create their own sources\n // that match the interface, but don't extend DataSource. We also can't use `isObservable`\n // here, because of some internal apps.\n return value && typeof value.connect === 'function' && !(value instanceof ConnectableObservable);\n}\n"],"names":[],"mappings":";;MAWsB,UAAU,CAAA;AAmB/B;AAED;AACM,SAAU,YAAY,CAAC,KAAU,EAAA;;;;;AAKrC,IAAA,OAAO,KAAK,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,UAAU,IAAI,EAAE,KAAK,YAAY,qBAAqB,CAAC;AAClG;;;;"}
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"dispose-view-repeater-strategy.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/collections/dispose-view-repeater-strategy.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\nimport {\n EmbeddedViewRef,\n IterableChangeRecord,\n IterableChanges,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n _ViewRepeater,\n _ViewRepeaterItemChanged,\n _ViewRepeaterItemContext,\n _ViewRepeaterItemContextFactory,\n _ViewRepeaterItemValueResolver,\n _ViewRepeaterOperation,\n} from './view-repeater';\n\n/**\n * A repeater that destroys views when they are removed from a\n * `ViewContainerRef`. When new items are inserted into the container,\n * the repeater will always construct a new embedded view for each item.\n *\n * @template T The type for the embedded view's $implicit property.\n * @template R The type for the item in each IterableDiffer change record.\n * @template C The type for the context passed to each embedded view.\n */\nexport class _DisposeViewRepeaterStrategy<T, R, C extends _ViewRepeaterItemContext<T>>\n implements _ViewRepeater<T, R, C>\n{\n applyChanges(\n changes: IterableChanges<R>,\n viewContainerRef: ViewContainerRef,\n itemContextFactory: _ViewRepeaterItemContextFactory<T, R, C>,\n itemValueResolver: _ViewRepeaterItemValueResolver<T, R>,\n itemViewChanged?: _ViewRepeaterItemChanged<R, C>,\n ) {\n changes.forEachOperation(\n (\n record: IterableChangeRecord<R>,\n adjustedPreviousIndex: number | null,\n currentIndex: number | null,\n ) => {\n let view: EmbeddedViewRef<C> | undefined;\n let operation: _ViewRepeaterOperation;\n if (record.previousIndex == null) {\n const insertContext = itemContextFactory(record, adjustedPreviousIndex, currentIndex);\n view = viewContainerRef.createEmbeddedView(\n insertContext.templateRef,\n insertContext.context,\n insertContext.index,\n );\n operation = _ViewRepeaterOperation.INSERTED;\n } else if (currentIndex == null) {\n viewContainerRef.remove(adjustedPreviousIndex!);\n operation = _ViewRepeaterOperation.REMOVED;\n } else {\n view = viewContainerRef.get(adjustedPreviousIndex!) as EmbeddedViewRef<C>;\n viewContainerRef.move(view!, currentIndex);\n operation = _ViewRepeaterOperation.MOVED;\n }\n\n if (itemViewChanged) {\n itemViewChanged({\n context: view?.context,\n operation,\n record,\n });\n }\n },\n );\n }\n\n detach() {}\n}\n"],"names":[],"mappings":";;AAuBA;;;;;;;;AAQG;MACU,4BAA4B,CAAA;IAGvC,YAAY,CACV,OAA2B,EAC3B,gBAAkC,EAClC,kBAA4D,EAC5D,iBAAuD,EACvD,eAAgD,EAAA;QAEhD,OAAO,CAAC,gBAAgB,CACtB,CACE,MAA+B,EAC/B,qBAAoC,EACpC,YAA2B,KACzB;AACF,YAAA,IAAI,IAAoC;AACxC,YAAA,IAAI,SAAiC;AACrC,YAAA,IAAI,MAAM,CAAC,aAAa,IAAI,IAAI,EAAE;gBAChC,MAAM,aAAa,GAAG,kBAAkB,CAAC,MAAM,EAAE,qBAAqB,EAAE,YAAY,CAAC;AACrF,gBAAA,IAAI,GAAG,gBAAgB,CAAC,kBAAkB,CACxC,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,OAAO,EACrB,aAAa,CAAC,KAAK,CACpB;AACD,gBAAA,SAAS,GAAG,sBAAsB,CAAC,QAAQ;;AACtC,iBAAA,IAAI,YAAY,IAAI,IAAI,EAAE;AAC/B,gBAAA,gBAAgB,CAAC,MAAM,CAAC,qBAAsB,CAAC;AAC/C,gBAAA,SAAS,GAAG,sBAAsB,CAAC,OAAO;;iBACrC;AACL,gBAAA,IAAI,GAAG,gBAAgB,CAAC,GAAG,CAAC,qBAAsB,CAAuB;AACzE,gBAAA,gBAAgB,CAAC,IAAI,CAAC,IAAK,EAAE,YAAY,CAAC;AAC1C,gBAAA,SAAS,GAAG,sBAAsB,CAAC,KAAK;;YAG1C,IAAI,eAAe,EAAE;AACnB,gBAAA,eAAe,CAAC;oBACd,OAAO,EAAE,IAAI,EAAE,OAAO;oBACtB,SAAS;oBACT,MAAM;AACP,iBAAA,CAAC;;AAEN,SAAC,CACF;;AAGH,IAAA,MAAM;AACP;;;;"} {"version":3,"file":"dispose-view-repeater-strategy.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/collections/dispose-view-repeater-strategy.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\nimport {\n EmbeddedViewRef,\n IterableChangeRecord,\n IterableChanges,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n _ViewRepeater,\n _ViewRepeaterItemChanged,\n _ViewRepeaterItemContext,\n _ViewRepeaterItemContextFactory,\n _ViewRepeaterItemValueResolver,\n _ViewRepeaterOperation,\n} from './view-repeater';\n\n/**\n * A repeater that destroys views when they are removed from a\n * `ViewContainerRef`. When new items are inserted into the container,\n * the repeater will always construct a new embedded view for each item.\n *\n * @template T The type for the embedded view's $implicit property.\n * @template R The type for the item in each IterableDiffer change record.\n * @template C The type for the context passed to each embedded view.\n */\nexport class _DisposeViewRepeaterStrategy<T, R, C extends _ViewRepeaterItemContext<T>>\n implements _ViewRepeater<T, R, C>\n{\n applyChanges(\n changes: IterableChanges<R>,\n viewContainerRef: ViewContainerRef,\n itemContextFactory: _ViewRepeaterItemContextFactory<T, R, C>,\n itemValueResolver: _ViewRepeaterItemValueResolver<T, R>,\n itemViewChanged?: _ViewRepeaterItemChanged<R, C>,\n ) {\n changes.forEachOperation(\n (\n record: IterableChangeRecord<R>,\n adjustedPreviousIndex: number | null,\n currentIndex: number | null,\n ) => {\n let view: EmbeddedViewRef<C> | undefined;\n let operation: _ViewRepeaterOperation;\n if (record.previousIndex == null) {\n const insertContext = itemContextFactory(record, adjustedPreviousIndex, currentIndex);\n view = viewContainerRef.createEmbeddedView(\n insertContext.templateRef,\n insertContext.context,\n insertContext.index,\n );\n operation = _ViewRepeaterOperation.INSERTED;\n } else if (currentIndex == null) {\n viewContainerRef.remove(adjustedPreviousIndex!);\n operation = _ViewRepeaterOperation.REMOVED;\n } else {\n view = viewContainerRef.get(adjustedPreviousIndex!) as EmbeddedViewRef<C>;\n viewContainerRef.move(view!, currentIndex);\n operation = _ViewRepeaterOperation.MOVED;\n }\n\n if (itemViewChanged) {\n itemViewChanged({\n context: view?.context,\n operation,\n record,\n });\n }\n },\n );\n }\n\n detach() {}\n}\n"],"names":[],"mappings":";;AAuBA;;;;;;;;AAQG;MACU,4BAA4B,CAAA;IAGvC,YAAY,CACV,OAA2B,EAC3B,gBAAkC,EAClC,kBAA4D,EAC5D,iBAAuD,EACvD,eAAgD,EAAA;QAEhD,OAAO,CAAC,gBAAgB,CACtB,CACE,MAA+B,EAC/B,qBAAoC,EACpC,YAA2B,KACzB;AACF,YAAA,IAAI,IAAoC;AACxC,YAAA,IAAI,SAAiC;AACrC,YAAA,IAAI,MAAM,CAAC,aAAa,IAAI,IAAI,EAAE;gBAChC,MAAM,aAAa,GAAG,kBAAkB,CAAC,MAAM,EAAE,qBAAqB,EAAE,YAAY,CAAC;AACrF,gBAAA,IAAI,GAAG,gBAAgB,CAAC,kBAAkB,CACxC,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,OAAO,EACrB,aAAa,CAAC,KAAK,CACpB;AACD,gBAAA,SAAS,GAAG,sBAAsB,CAAC,QAAQ;;AACtC,iBAAA,IAAI,YAAY,IAAI,IAAI,EAAE;AAC/B,gBAAA,gBAAgB,CAAC,MAAM,CAAC,qBAAsB,CAAC;AAC/C,gBAAA,SAAS,GAAG,sBAAsB,CAAC,OAAO;;iBACrC;AACL,gBAAA,IAAI,GAAG,gBAAgB,CAAC,GAAG,CAAC,qBAAsB,CAAuB;AACzE,gBAAA,gBAAgB,CAAC,IAAI,CAAC,IAAK,EAAE,YAAY,CAAC;AAC1C,gBAAA,SAAS,GAAG,sBAAsB,CAAC,KAAK;;YAG1C,IAAI,eAAe,EAAE;AACnB,gBAAA,eAAe,CAAC;oBACd,OAAO,EAAE,IAAI,EAAE,OAAO;oBACtB,SAAS;oBACT,MAAM;AACP,iBAAA,CAAC;;AAEN,SAAC,CACF;;AAGH,IAAA,MAAM;AACP;;;;"}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"element.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/number-property.ts","../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/element.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 * Type describing the allowed values for a number input\n * @docs-private\n */\nexport type NumberInput = string | number | null | undefined;\n\n/** Coerces a data-bound value (typically a string) to a number. */\nexport function coerceNumberProperty(value: any): number;\nexport function coerceNumberProperty<D>(value: any, fallback: D): number | D;\nexport function coerceNumberProperty(value: any, fallbackValue = 0) {\n if (_isNumberValue(value)) {\n return Number(value);\n }\n return arguments.length === 2 ? fallbackValue : 0;\n}\n\n/**\n * Whether the provided value is considered a number.\n * @docs-private\n */\nexport function _isNumberValue(value: any): boolean {\n // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n // and other non-number values as NaN, where Number just uses 0) but it considers the string\n // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n return !isNaN(parseFloat(value as any)) && !isNaN(Number(value));\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 {ElementRef} from '@angular/core';\n\n/**\n * Coerces an ElementRef or an Element into an element.\n * Useful for APIs that can accept either a ref or the native element itself.\n */\nexport function coerceElement<T>(elementOrRef: ElementRef<T> | T): T {\n return elementOrRef instanceof ElementRef ? elementOrRef.nativeElement : elementOrRef;\n}\n"],"names":[],"mappings":";;SAiBgB,oBAAoB,CAAC,KAAU,EAAE,aAAa,GAAG,CAAC,EAAA;AAChE,IAAA,IAAI,cAAc,CAAC,KAAK,CAAC,EAAE;AACzB,QAAA,OAAO,MAAM,CAAC,KAAK,CAAC;;AAEtB,IAAA,OAAO,SAAS,CAAC,MAAM,KAAK,CAAC,GAAG,aAAa,GAAG,CAAC;AACnD;AAEA;;;AAGG;AACG,SAAU,cAAc,CAAC,KAAU,EAAA;;;;AAIvC,IAAA,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,KAAY,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAClE;;ACvBA;;;AAGG;AACG,SAAU,aAAa,CAAI,YAA+B,EAAA;AAC9D,IAAA,OAAO,YAAY,YAAY,UAAU,GAAG,YAAY,CAAC,aAAa,GAAG,YAAY;AACvF;;;;"} {"version":3,"file":"element.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/number-property.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/element.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 * Type describing the allowed values for a number input\n * @docs-private\n */\nexport type NumberInput = string | number | null | undefined;\n\n/** Coerces a data-bound value (typically a string) to a number. */\nexport function coerceNumberProperty(value: any): number;\nexport function coerceNumberProperty<D>(value: any, fallback: D): number | D;\nexport function coerceNumberProperty(value: any, fallbackValue = 0) {\n if (_isNumberValue(value)) {\n return Number(value);\n }\n return arguments.length === 2 ? fallbackValue : 0;\n}\n\n/**\n * Whether the provided value is considered a number.\n * @docs-private\n */\nexport function _isNumberValue(value: any): boolean {\n // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n // and other non-number values as NaN, where Number just uses 0) but it considers the string\n // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n return !isNaN(parseFloat(value as any)) && !isNaN(Number(value));\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 {ElementRef} from '@angular/core';\n\n/**\n * Coerces an ElementRef or an Element into an element.\n * Useful for APIs that can accept either a ref or the native element itself.\n */\nexport function coerceElement<T>(elementOrRef: ElementRef<T> | T): T {\n return elementOrRef instanceof ElementRef ? elementOrRef.nativeElement : elementOrRef;\n}\n"],"names":[],"mappings":";;SAiBgB,oBAAoB,CAAC,KAAU,EAAE,aAAa,GAAG,CAAC,EAAA;AAChE,IAAA,IAAI,cAAc,CAAC,KAAK,CAAC,EAAE;AACzB,QAAA,OAAO,MAAM,CAAC,KAAK,CAAC;;AAEtB,IAAA,OAAO,SAAS,CAAC,MAAM,KAAK,CAAC,GAAG,aAAa,GAAG,CAAC;AACnD;AAEA;;;AAGG;AACG,SAAU,cAAc,CAAC,KAAU,EAAA;;;;AAIvC,IAAA,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,KAAY,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAClE;;ACvBA;;;AAGG;AACG,SAAU,aAAa,CAAI,YAA+B,EAAA;AAC9D,IAAA,OAAO,YAAY,YAAY,UAAU,GAAG,YAAY,CAAC,aAAa,GAAG,YAAY;AACvF;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"fake-event-detection.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/a11y/fake-event-detection.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/** Gets whether an event could be a faked `mousedown` event dispatched by a screen reader. */\nexport function isFakeMousedownFromScreenReader(event: MouseEvent): boolean {\n // Some screen readers will dispatch a fake `mousedown` event when pressing enter or space on\n // a clickable element. We can distinguish these events when `event.buttons` is zero, or\n // `event.detail` is zero depending on the browser:\n // - `event.buttons` works on Firefox, but fails on Chrome.\n // - `detail` works on Chrome, but fails on Firefox.\n return event.buttons === 0 || event.detail === 0;\n}\n\n/** Gets whether an event could be a faked `touchstart` event dispatched by a screen reader. */\nexport function isFakeTouchstartFromScreenReader(event: TouchEvent): boolean {\n const touch: Touch | undefined =\n (event.touches && event.touches[0]) || (event.changedTouches && event.changedTouches[0]);\n\n // A fake `touchstart` can be distinguished from a real one by looking at the `identifier`\n // which is typically >= 0 on a real device versus -1 from a screen reader. Just to be safe,\n // we can also look at `radiusX` and `radiusY`. This behavior was observed against a Windows 10\n // device with a touch screen running NVDA v2020.4 and Firefox 85 or Chrome 88.\n return (\n !!touch &&\n touch.identifier === -1 &&\n (touch.radiusX == null || touch.radiusX === 1) &&\n (touch.radiusY == null || touch.radiusY === 1)\n );\n}\n"],"names":[],"mappings":"AAQA;AACM,SAAU,+BAA+B,CAAC,KAAiB,EAAA;;;;;;IAM/D,OAAO,KAAK,CAAC,OAAO,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;AAClD;AAEA;AACM,SAAU,gCAAgC,CAAC,KAAiB,EAAA;IAChE,MAAM,KAAK,GACT,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;;;;;IAM1F,QACE,CAAC,CAAC,KAAK;AACP,QAAA,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC;SACtB,KAAK,CAAC,OAAO,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAC9C,SAAC,KAAK,CAAC,OAAO,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAElD;;;;"} {"version":3,"file":"fake-event-detection.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/a11y/fake-event-detection.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/** Gets whether an event could be a faked `mousedown` event dispatched by a screen reader. */\nexport function isFakeMousedownFromScreenReader(event: MouseEvent): boolean {\n // Some screen readers will dispatch a fake `mousedown` event when pressing enter or space on\n // a clickable element. We can distinguish these events when `event.buttons` is zero, or\n // `event.detail` is zero depending on the browser:\n // - `event.buttons` works on Firefox, but fails on Chrome.\n // - `detail` works on Chrome, but fails on Firefox.\n return event.buttons === 0 || event.detail === 0;\n}\n\n/** Gets whether an event could be a faked `touchstart` event dispatched by a screen reader. */\nexport function isFakeTouchstartFromScreenReader(event: TouchEvent): boolean {\n const touch: Touch | undefined =\n (event.touches && event.touches[0]) || (event.changedTouches && event.changedTouches[0]);\n\n // A fake `touchstart` can be distinguished from a real one by looking at the `identifier`\n // which is typically >= 0 on a real device versus -1 from a screen reader. Just to be safe,\n // we can also look at `radiusX` and `radiusY`. This behavior was observed against a Windows 10\n // device with a touch screen running NVDA v2020.4 and Firefox 85 or Chrome 88.\n return (\n !!touch &&\n touch.identifier === -1 &&\n (touch.radiusX == null || touch.radiusX === 1) &&\n (touch.radiusY == null || touch.radiusY === 1)\n );\n}\n"],"names":[],"mappings":"AAQA;AACM,SAAU,+BAA+B,CAAC,KAAiB,EAAA;;;;;;IAM/D,OAAO,KAAK,CAAC,OAAO,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;AAClD;AAEA;AACM,SAAU,gCAAgC,CAAC,KAAiB,EAAA;IAChE,MAAM,KAAK,GACT,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;;;;;IAM1F,QACE,CAAC,CAAC,KAAK;AACP,QAAA,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC;SACtB,KAAK,CAAC,OAAO,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAC9C,SAAC,KAAK,CAAC,OAAO,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAElD;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"focus-key-manager.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/a11y/key-manager/focus-key-manager.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\nimport {ListKeyManager, ListKeyManagerOption} from './list-key-manager';\nimport {FocusOrigin} from '../focus-monitor/focus-monitor';\n\n/**\n * This is the interface for focusable items (used by the FocusKeyManager).\n * Each item must know how to focus itself, whether or not it is currently disabled\n * and be able to supply its label.\n */\nexport interface FocusableOption extends ListKeyManagerOption {\n /** Focuses the `FocusableOption`. */\n focus(origin?: FocusOrigin): void;\n}\n\nexport class FocusKeyManager<T> extends ListKeyManager<FocusableOption & T> {\n private _origin: FocusOrigin = 'program';\n\n /**\n * Sets the focus origin that will be passed in to the items for any subsequent `focus` calls.\n * @param origin Focus origin to be used when focusing items.\n */\n setFocusOrigin(origin: FocusOrigin): this {\n this._origin = origin;\n return this;\n }\n\n /**\n * Sets the active item to the item at the specified\n * index and focuses the newly active item.\n * @param index Index of the item to be set as active.\n */\n override setActiveItem(index: number): void;\n\n /**\n * Sets the active item to the item that is specified and focuses it.\n * @param item Item to be set as active.\n */\n override setActiveItem(item: T): void;\n\n /**\n * Sets the active item to the item that is specified and focuses it.\n * @param item Item to be set as active.\n */\n override setActiveItem(item: T | number): void;\n\n override setActiveItem(item: any): void {\n super.setActiveItem(item);\n\n if (this.activeItem) {\n this.activeItem.focus(this._origin);\n }\n }\n}\n"],"names":[],"mappings":";;AAqBM,MAAO,eAAmB,SAAQ,cAAmC,CAAA;IACjE,OAAO,GAAgB,SAAS;AAExC;;;AAGG;AACH,IAAA,cAAc,CAAC,MAAmB,EAAA;AAChC,QAAA,IAAI,CAAC,OAAO,GAAG,MAAM;AACrB,QAAA,OAAO,IAAI;;AAsBJ,IAAA,aAAa,CAAC,IAAS,EAAA;AAC9B,QAAA,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC;AAEzB,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;;;AAGxC;;;;"} {"version":3,"file":"focus-key-manager.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/a11y/key-manager/focus-key-manager.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\nimport {ListKeyManager, ListKeyManagerOption} from './list-key-manager';\nimport {FocusOrigin} from '../focus-monitor/focus-monitor';\n\n/**\n * This is the interface for focusable items (used by the FocusKeyManager).\n * Each item must know how to focus itself, whether or not it is currently disabled\n * and be able to supply its label.\n */\nexport interface FocusableOption extends ListKeyManagerOption {\n /** Focuses the `FocusableOption`. */\n focus(origin?: FocusOrigin): void;\n}\n\nexport class FocusKeyManager<T> extends ListKeyManager<FocusableOption & T> {\n private _origin: FocusOrigin = 'program';\n\n /**\n * Sets the focus origin that will be passed in to the items for any subsequent `focus` calls.\n * @param origin Focus origin to be used when focusing items.\n */\n setFocusOrigin(origin: FocusOrigin): this {\n this._origin = origin;\n return this;\n }\n\n /**\n * Sets the active item to the item at the specified\n * index and focuses the newly active item.\n * @param index Index of the item to be set as active.\n */\n override setActiveItem(index: number): void;\n\n /**\n * Sets the active item to the item that is specified and focuses it.\n * @param item Item to be set as active.\n */\n override setActiveItem(item: T): void;\n\n /**\n * Sets the active item to the item that is specified and focuses it.\n * @param item Item to be set as active.\n */\n override setActiveItem(item: T | number): void;\n\n override setActiveItem(item: any): void {\n super.setActiveItem(item);\n\n if (this.activeItem) {\n this.activeItem.focus(this._origin);\n }\n }\n}\n"],"names":[],"mappings":";;AAqBM,MAAO,eAAmB,SAAQ,cAAmC,CAAA;IACjE,OAAO,GAAgB,SAAS;AAExC;;;AAGG;AACH,IAAA,cAAc,CAAC,MAAmB,EAAA;AAChC,QAAA,IAAI,CAAC,OAAO,GAAG,MAAM;AACrB,QAAA,OAAO,IAAI;;AAsBJ,IAAA,aAAa,CAAC,IAAS,EAAA;AAC9B,QAAA,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC;AAEzB,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;;;AAGxC;;;;"}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"id-generator.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/a11y/id-generator.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\nimport {APP_ID, inject, Injectable} from '@angular/core';\n\n/**\n * Keeps track of the ID count per prefix. This helps us make the IDs a bit more deterministic\n * like they were before the service was introduced. Note that ideally we wouldn't have to do\n * this, but there are some internal tests that rely on the IDs.\n */\nconst counters: Record<string, number> = {};\n\n/** Service that generates unique IDs for DOM nodes. */\n@Injectable({providedIn: 'root'})\nexport class _IdGenerator {\n private _appId = inject(APP_ID);\n\n /**\n * Generates a unique ID with a specific prefix.\n * @param prefix Prefix to add to the ID.\n */\n getId(prefix: string): string {\n // Omit the app ID if it's the default `ng`. Since the vast majority of pages have one\n // Angular app on them, we can reduce the amount of breakages by not adding it.\n if (this._appId !== 'ng') {\n prefix += this._appId;\n }\n\n if (!counters.hasOwnProperty(prefix)) {\n counters[prefix] = 0;\n }\n\n return `${prefix}${counters[prefix]++}`;\n }\n}\n"],"names":[],"mappings":";;;AAUA;;;;AAIG;AACH,MAAM,QAAQ,GAA2B,EAAE;AAE3C;MAEa,YAAY,CAAA;AACf,IAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAE/B;;;AAGG;AACH,IAAA,KAAK,CAAC,MAAc,EAAA;;;AAGlB,QAAA,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE;AACxB,YAAA,MAAM,IAAI,IAAI,CAAC,MAAM;;QAGvB,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE;AACpC,YAAA,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC;;QAGtB,OAAO,CAAA,EAAG,MAAM,CAAG,EAAA,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAA,CAAE;;8GAlB9B,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAZ,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,cADA,MAAM,EAAA,CAAA;;kGAClB,YAAY,EAAA,UAAA,EAAA,CAAA;kBADxB,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"} {"version":3,"file":"id-generator.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/a11y/id-generator.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\nimport {APP_ID, inject, Injectable} from '@angular/core';\n\n/**\n * Keeps track of the ID count per prefix. This helps us make the IDs a bit more deterministic\n * like they were before the service was introduced. Note that ideally we wouldn't have to do\n * this, but there are some internal tests that rely on the IDs.\n */\nconst counters: Record<string, number> = {};\n\n/** Service that generates unique IDs for DOM nodes. */\n@Injectable({providedIn: 'root'})\nexport class _IdGenerator {\n private _appId = inject(APP_ID);\n\n /**\n * Generates a unique ID with a specific prefix.\n * @param prefix Prefix to add to the ID.\n */\n getId(prefix: string): string {\n // Omit the app ID if it's the default `ng`. Since the vast majority of pages have one\n // Angular app on them, we can reduce the amount of breakages by not adding it.\n if (this._appId !== 'ng') {\n prefix += this._appId;\n }\n\n if (!counters.hasOwnProperty(prefix)) {\n counters[prefix] = 0;\n }\n\n return `${prefix}${counters[prefix]++}`;\n }\n}\n"],"names":[],"mappings":";;;AAUA;;;;AAIG;AACH,MAAM,QAAQ,GAA2B,EAAE;AAE3C;MAEa,YAAY,CAAA;AACf,IAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAE/B;;;AAGG;AACH,IAAA,KAAK,CAAC,MAAc,EAAA;;;AAGlB,QAAA,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE;AACxB,YAAA,MAAM,IAAI,IAAI,CAAC,MAAM;;QAGvB,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE;AACpC,YAAA,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC;;QAGtB,OAAO,CAAA,EAAG,MAAM,CAAG,EAAA,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAA,CAAE;;8GAlB9B,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAZ,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,cADA,MAAM,EAAA,CAAA;;kGAClB,YAAY,EAAA,UAAA,EAAA,CAAA;kBADxB,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"keycodes.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/keycodes/modifiers.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\nexport type ModifierKey = 'altKey' | 'shiftKey' | 'ctrlKey' | 'metaKey';\n\n/**\n * Checks whether a modifier key is pressed.\n * @param event Event to be checked.\n */\nexport function hasModifierKey(event: KeyboardEvent, ...modifiers: ModifierKey[]): boolean {\n if (modifiers.length) {\n return modifiers.some(modifier => event[modifier]);\n }\n\n return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;\n}\n"],"names":[],"mappings":";;AAUA;;;AAGG;SACa,cAAc,CAAC,KAAoB,EAAE,GAAG,SAAwB,EAAA;AAC9E,IAAA,IAAI,SAAS,CAAC,MAAM,EAAE;AACpB,QAAA,OAAO,SAAS,CAAC,IAAI,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC;;AAGpD,IAAA,OAAO,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO;AACzE;;;;"} {"version":3,"file":"keycodes.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/keycodes/modifiers.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\nexport type ModifierKey = 'altKey' | 'shiftKey' | 'ctrlKey' | 'metaKey';\n\n/**\n * Checks whether a modifier key is pressed.\n * @param event Event to be checked.\n */\nexport function hasModifierKey(event: KeyboardEvent, ...modifiers: ModifierKey[]): boolean {\n if (modifiers.length) {\n return modifiers.some(modifier => event[modifier]);\n }\n\n return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;\n}\n"],"names":[],"mappings":";;AAUA;;;AAGG;SACa,cAAc,CAAC,KAAoB,EAAE,GAAG,SAAwB,EAAA;AAC9E,IAAA,IAAI,SAAS,CAAC,MAAM,EAAE;AACpB,QAAA,OAAO,SAAS,CAAC,IAAI,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC;;AAGpD,IAAA,OAAO,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO;AACzE;;;;"}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"layout.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/layout/layout-module.ts","../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/layout/breakpoints.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 */\nimport {NgModule} from '@angular/core';\n\n@NgModule({})\nexport class LayoutModule {}\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// PascalCase is being used as Breakpoints is used like an enum.\n// tslint:disable-next-line:variable-name\nexport const Breakpoints = {\n XSmall: '(max-width: 599.98px)',\n Small: '(min-width: 600px) and (max-width: 959.98px)',\n Medium: '(min-width: 960px) and (max-width: 1279.98px)',\n Large: '(min-width: 1280px) and (max-width: 1919.98px)',\n XLarge: '(min-width: 1920px)',\n\n Handset:\n '(max-width: 599.98px) and (orientation: portrait), ' +\n '(max-width: 959.98px) and (orientation: landscape)',\n Tablet:\n '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), ' +\n '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n Web:\n '(min-width: 840px) and (orientation: portrait), ' +\n '(min-width: 1280px) and (orientation: landscape)',\n\n HandsetPortrait: '(max-width: 599.98px) and (orientation: portrait)',\n TabletPortrait: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)',\n WebPortrait: '(min-width: 840px) and (orientation: portrait)',\n\n HandsetLandscape: '(max-width: 959.98px) and (orientation: landscape)',\n TabletLandscape: '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n WebLandscape: '(min-width: 1280px) and (orientation: landscape)',\n};\n"],"names":[],"mappings":";;;;;;;;;MAUa,YAAY,CAAA;8GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;+GAAZ,YAAY,EAAA,CAAA;+GAAZ,YAAY,EAAA,CAAA;;kGAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBADxB,QAAQ;mBAAC,EAAE;;;ACFZ;AACA;AACa,MAAA,WAAW,GAAG;AACzB,IAAA,MAAM,EAAE,uBAAuB;AAC/B,IAAA,KAAK,EAAE,8CAA8C;AACrD,IAAA,MAAM,EAAE,+CAA+C;AACvD,IAAA,KAAK,EAAE,gDAAgD;AACvD,IAAA,MAAM,EAAE,qBAAqB;AAE7B,IAAA,OAAO,EACL,qDAAqD;QACrD,oDAAoD;AACtD,IAAA,MAAM,EACJ,4EAA4E;QAC5E,4EAA4E;AAC9E,IAAA,GAAG,EACD,kDAAkD;QAClD,kDAAkD;AAEpD,IAAA,eAAe,EAAE,mDAAmD;AACpE,IAAA,cAAc,EAAE,0EAA0E;AAC1F,IAAA,WAAW,EAAE,gDAAgD;AAE7D,IAAA,gBAAgB,EAAE,oDAAoD;AACtE,IAAA,eAAe,EAAE,4EAA4E;AAC7F,IAAA,YAAY,EAAE,kDAAkD;;;;;"} {"version":3,"file":"layout.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/layout/layout-module.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/layout/breakpoints.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 */\nimport {NgModule} from '@angular/core';\n\n@NgModule({})\nexport class LayoutModule {}\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// PascalCase is being used as Breakpoints is used like an enum.\n// tslint:disable-next-line:variable-name\nexport const Breakpoints = {\n XSmall: '(max-width: 599.98px)',\n Small: '(min-width: 600px) and (max-width: 959.98px)',\n Medium: '(min-width: 960px) and (max-width: 1279.98px)',\n Large: '(min-width: 1280px) and (max-width: 1919.98px)',\n XLarge: '(min-width: 1920px)',\n\n Handset:\n '(max-width: 599.98px) and (orientation: portrait), ' +\n '(max-width: 959.98px) and (orientation: landscape)',\n Tablet:\n '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), ' +\n '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n Web:\n '(min-width: 840px) and (orientation: portrait), ' +\n '(min-width: 1280px) and (orientation: landscape)',\n\n HandsetPortrait: '(max-width: 599.98px) and (orientation: portrait)',\n TabletPortrait: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)',\n WebPortrait: '(min-width: 840px) and (orientation: portrait)',\n\n HandsetLandscape: '(max-width: 959.98px) and (orientation: landscape)',\n TabletLandscape: '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n WebLandscape: '(min-width: 1280px) and (orientation: landscape)',\n};\n"],"names":[],"mappings":";;;;;;;;;MAUa,YAAY,CAAA;8GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;+GAAZ,YAAY,EAAA,CAAA;+GAAZ,YAAY,EAAA,CAAA;;kGAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBADxB,QAAQ;mBAAC,EAAE;;;ACFZ;AACA;AACa,MAAA,WAAW,GAAG;AACzB,IAAA,MAAM,EAAE,uBAAuB;AAC/B,IAAA,KAAK,EAAE,8CAA8C;AACrD,IAAA,MAAM,EAAE,+CAA+C;AACvD,IAAA,KAAK,EAAE,gDAAgD;AACvD,IAAA,MAAM,EAAE,qBAAqB;AAE7B,IAAA,OAAO,EACL,qDAAqD;QACrD,oDAAoD;AACtD,IAAA,MAAM,EACJ,4EAA4E;QAC5E,4EAA4E;AAC9E,IAAA,GAAG,EACD,kDAAkD;QAClD,kDAAkD;AAEpD,IAAA,eAAe,EAAE,mDAAmD;AACpE,IAAA,cAAc,EAAE,0EAA0E;AAC1F,IAAA,WAAW,EAAE,gDAAgD;AAE7D,IAAA,gBAAgB,EAAE,oDAAoD;AACtE,IAAA,eAAe,EAAE,4EAA4E;AAC7F,IAAA,YAAY,EAAE,kDAAkD;;;;;"}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"overlay.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/overlay/fullscreen-overlay-container.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\nimport {inject, Injectable, OnDestroy, RendererFactory2} from '@angular/core';\nimport {OverlayContainer} from './overlay-container';\n\n/**\n * Alternative to OverlayContainer that supports correct displaying of overlay elements in\n * Fullscreen mode\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n *\n * Should be provided in the root component.\n */\n@Injectable({providedIn: 'root'})\nexport class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {\n private _renderer = inject(RendererFactory2).createRenderer(null, null);\n private _fullScreenEventName: string | undefined;\n private _cleanupFullScreenListener: (() => void) | undefined;\n\n constructor(...args: unknown[]);\n\n constructor() {\n super();\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n this._cleanupFullScreenListener?.();\n }\n\n protected override _createContainer(): void {\n const eventName = this._getEventName();\n super._createContainer();\n this._adjustParentForFullscreenChange();\n\n if (eventName) {\n this._cleanupFullScreenListener?.();\n this._cleanupFullScreenListener = this._renderer.listen('document', eventName, () => {\n this._adjustParentForFullscreenChange();\n });\n }\n }\n\n private _adjustParentForFullscreenChange(): void {\n if (this._containerElement) {\n const fullscreenElement = this.getFullscreenElement();\n const parent = fullscreenElement || this._document.body;\n parent.appendChild(this._containerElement);\n }\n }\n\n private _getEventName(): string | undefined {\n if (!this._fullScreenEventName) {\n const _document = this._document as any;\n\n if (_document.fullscreenEnabled) {\n this._fullScreenEventName = 'fullscreenchange';\n } else if (_document.webkitFullscreenEnabled) {\n this._fullScreenEventName = 'webkitfullscreenchange';\n } else if (_document.mozFullScreenEnabled) {\n this._fullScreenEventName = 'mozfullscreenchange';\n } else if (_document.msFullscreenEnabled) {\n this._fullScreenEventName = 'MSFullscreenChange';\n }\n }\n\n return this._fullScreenEventName;\n }\n\n /**\n * When the page is put into fullscreen mode, a specific element is specified.\n * Only that element and its children are visible when in fullscreen mode.\n */\n getFullscreenElement(): Element {\n const _document = this._document as any;\n\n return (\n _document.fullscreenElement ||\n _document.webkitFullscreenElement ||\n _document.mozFullScreenElement ||\n _document.msFullscreenElement ||\n null\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAWA;;;;;;AAMG;AAEG,MAAO,0BAA2B,SAAQ,gBAAgB,CAAA;AACtD,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC;AAC/D,IAAA,oBAAoB;AACpB,IAAA,0BAA0B;AAIlC,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;;IAGA,WAAW,GAAA;QAClB,KAAK,CAAC,WAAW,EAAE;AACnB,QAAA,IAAI,CAAC,0BAA0B,IAAI;;IAGlB,gBAAgB,GAAA;AACjC,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,aAAa,EAAE;QACtC,KAAK,CAAC,gBAAgB,EAAE;QACxB,IAAI,CAAC,gCAAgC,EAAE;QAEvC,IAAI,SAAS,EAAE;AACb,YAAA,IAAI,CAAC,0BAA0B,IAAI;AACnC,YAAA,IAAI,CAAC,0BAA0B,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,EAAE,MAAK;gBAClF,IAAI,CAAC,gCAAgC,EAAE;AACzC,aAAC,CAAC;;;IAIE,gCAAgC,GAAA;AACtC,QAAA,IAAI,IAAI,CAAC,iBAAiB,EAAE;AAC1B,YAAA,MAAM,iBAAiB,GAAG,IAAI,CAAC,oBAAoB,EAAE;YACrD,MAAM,MAAM,GAAG,iBAAiB,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI;AACvD,YAAA,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,iBAAiB,CAAC;;;IAItC,aAAa,GAAA;AACnB,QAAA,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;AAC9B,YAAA,MAAM,SAAS,GAAG,IAAI,CAAC,SAAgB;AAEvC,YAAA,IAAI,SAAS,CAAC,iBAAiB,EAAE;AAC/B,gBAAA,IAAI,CAAC,oBAAoB,GAAG,kBAAkB;;AACzC,iBAAA,IAAI,SAAS,CAAC,uBAAuB,EAAE;AAC5C,gBAAA,IAAI,CAAC,oBAAoB,GAAG,wBAAwB;;AAC/C,iBAAA,IAAI,SAAS,CAAC,oBAAoB,EAAE;AACzC,gBAAA,IAAI,CAAC,oBAAoB,GAAG,qBAAqB;;AAC5C,iBAAA,IAAI,SAAS,CAAC,mBAAmB,EAAE;AACxC,gBAAA,IAAI,CAAC,oBAAoB,GAAG,oBAAoB;;;QAIpD,OAAO,IAAI,CAAC,oBAAoB;;AAGlC;;;AAGG;IACH,oBAAoB,GAAA;AAClB,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,SAAgB;QAEvC,QACE,SAAS,CAAC,iBAAiB;AAC3B,YAAA,SAAS,CAAC,uBAAuB;AACjC,YAAA,SAAS,CAAC,oBAAoB;AAC9B,YAAA,SAAS,CAAC,mBAAmB;AAC7B,YAAA,IAAI;;8GAnEG,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,cADd,MAAM,EAAA,CAAA;;kGAClB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"} {"version":3,"file":"overlay.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/overlay/fullscreen-overlay-container.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\nimport {inject, Injectable, OnDestroy, RendererFactory2} from '@angular/core';\nimport {OverlayContainer} from './overlay-container';\n\n/**\n * Alternative to OverlayContainer that supports correct displaying of overlay elements in\n * Fullscreen mode\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n *\n * Should be provided in the root component.\n */\n@Injectable({providedIn: 'root'})\nexport class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {\n private _renderer = inject(RendererFactory2).createRenderer(null, null);\n private _fullScreenEventName: string | undefined;\n private _cleanupFullScreenListener: (() => void) | undefined;\n\n constructor(...args: unknown[]);\n\n constructor() {\n super();\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n this._cleanupFullScreenListener?.();\n }\n\n protected override _createContainer(): void {\n const eventName = this._getEventName();\n super._createContainer();\n this._adjustParentForFullscreenChange();\n\n if (eventName) {\n this._cleanupFullScreenListener?.();\n this._cleanupFullScreenListener = this._renderer.listen('document', eventName, () => {\n this._adjustParentForFullscreenChange();\n });\n }\n }\n\n private _adjustParentForFullscreenChange(): void {\n if (this._containerElement) {\n const fullscreenElement = this.getFullscreenElement();\n const parent = fullscreenElement || this._document.body;\n parent.appendChild(this._containerElement);\n }\n }\n\n private _getEventName(): string | undefined {\n if (!this._fullScreenEventName) {\n const _document = this._document as any;\n\n if (_document.fullscreenEnabled) {\n this._fullScreenEventName = 'fullscreenchange';\n } else if (_document.webkitFullscreenEnabled) {\n this._fullScreenEventName = 'webkitfullscreenchange';\n } else if (_document.mozFullScreenEnabled) {\n this._fullScreenEventName = 'mozfullscreenchange';\n } else if (_document.msFullscreenEnabled) {\n this._fullScreenEventName = 'MSFullscreenChange';\n }\n }\n\n return this._fullScreenEventName;\n }\n\n /**\n * When the page is put into fullscreen mode, a specific element is specified.\n * Only that element and its children are visible when in fullscreen mode.\n */\n getFullscreenElement(): Element {\n const _document = this._document as any;\n\n return (\n _document.fullscreenElement ||\n _document.webkitFullscreenElement ||\n _document.mozFullScreenElement ||\n _document.msFullscreenElement ||\n null\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAWA;;;;;;AAMG;AAEG,MAAO,0BAA2B,SAAQ,gBAAgB,CAAA;AACtD,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC;AAC/D,IAAA,oBAAoB;AACpB,IAAA,0BAA0B;AAIlC,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;;IAGA,WAAW,GAAA;QAClB,KAAK,CAAC,WAAW,EAAE;AACnB,QAAA,IAAI,CAAC,0BAA0B,IAAI;;IAGlB,gBAAgB,GAAA;AACjC,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,aAAa,EAAE;QACtC,KAAK,CAAC,gBAAgB,EAAE;QACxB,IAAI,CAAC,gCAAgC,EAAE;QAEvC,IAAI,SAAS,EAAE;AACb,YAAA,IAAI,CAAC,0BAA0B,IAAI;AACnC,YAAA,IAAI,CAAC,0BAA0B,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,EAAE,MAAK;gBAClF,IAAI,CAAC,gCAAgC,EAAE;AACzC,aAAC,CAAC;;;IAIE,gCAAgC,GAAA;AACtC,QAAA,IAAI,IAAI,CAAC,iBAAiB,EAAE;AAC1B,YAAA,MAAM,iBAAiB,GAAG,IAAI,CAAC,oBAAoB,EAAE;YACrD,MAAM,MAAM,GAAG,iBAAiB,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI;AACvD,YAAA,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,iBAAiB,CAAC;;;IAItC,aAAa,GAAA;AACnB,QAAA,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;AAC9B,YAAA,MAAM,SAAS,GAAG,IAAI,CAAC,SAAgB;AAEvC,YAAA,IAAI,SAAS,CAAC,iBAAiB,EAAE;AAC/B,gBAAA,IAAI,CAAC,oBAAoB,GAAG,kBAAkB;;AACzC,iBAAA,IAAI,SAAS,CAAC,uBAAuB,EAAE;AAC5C,gBAAA,IAAI,CAAC,oBAAoB,GAAG,wBAAwB;;AAC/C,iBAAA,IAAI,SAAS,CAAC,oBAAoB,EAAE;AACzC,gBAAA,IAAI,CAAC,oBAAoB,GAAG,qBAAqB;;AAC5C,iBAAA,IAAI,SAAS,CAAC,mBAAmB,EAAE;AACxC,gBAAA,IAAI,CAAC,oBAAoB,GAAG,oBAAoB;;;QAIpD,OAAO,IAAI,CAAC,oBAAoB;;AAGlC;;;AAGG;IACH,oBAAoB,GAAA;AAClB,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,SAAgB;QAEvC,QACE,SAAS,CAAC,iBAAiB;AAC3B,YAAA,SAAS,CAAC,uBAAuB;AACjC,YAAA,SAAS,CAAC,oBAAoB;AAC9B,YAAA,SAAS,CAAC,mBAAmB;AAC7B,YAAA,IAAI;;8GAnEG,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,cADd,MAAM,EAAA,CAAA;;kGAClB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"passive-listeners.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/features/passive-listeners.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/** Cached result of whether the user's browser supports passive event listeners. */\nlet supportsPassiveEvents: boolean;\n\n/**\n * Checks whether the user's browser supports passive event listeners.\n * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n */\nexport function supportsPassiveEventListeners(): boolean {\n if (supportsPassiveEvents == null && typeof window !== 'undefined') {\n try {\n window.addEventListener(\n 'test',\n null!,\n Object.defineProperty({}, 'passive', {\n get: () => (supportsPassiveEvents = true),\n }),\n );\n } finally {\n supportsPassiveEvents = supportsPassiveEvents || false;\n }\n }\n\n return supportsPassiveEvents;\n}\n\n/**\n * Normalizes an `AddEventListener` object to something that can be passed\n * to `addEventListener` on any browser, no matter whether it supports the\n * `options` parameter.\n * @param options Object to be normalized.\n */\nexport function normalizePassiveListenerOptions(\n options: AddEventListenerOptions,\n): AddEventListenerOptions | boolean {\n return supportsPassiveEventListeners() ? options : !!options.capture;\n}\n"],"names":[],"mappings":"AAQA;AACA,IAAI,qBAA8B;AAElC;;;AAGG;SACa,6BAA6B,GAAA;IAC3C,IAAI,qBAAqB,IAAI,IAAI,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AAClE,QAAA,IAAI;AACF,YAAA,MAAM,CAAC,gBAAgB,CACrB,MAAM,EACN,IAAK,EACL,MAAM,CAAC,cAAc,CAAC,EAAE,EAAE,SAAS,EAAE;gBACnC,GAAG,EAAE,OAAO,qBAAqB,GAAG,IAAI,CAAC;AAC1C,aAAA,CAAC,CACH;;gBACO;AACR,YAAA,qBAAqB,GAAG,qBAAqB,IAAI,KAAK;;;AAI1D,IAAA,OAAO,qBAAqB;AAC9B;AAEA;;;;;AAKG;AACG,SAAU,+BAA+B,CAC7C,OAAgC,EAAA;AAEhC,IAAA,OAAO,6BAA6B,EAAE,GAAG,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO;AACtE;;;;"} {"version":3,"file":"passive-listeners.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/features/passive-listeners.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/** Cached result of whether the user's browser supports passive event listeners. */\nlet supportsPassiveEvents: boolean;\n\n/**\n * Checks whether the user's browser supports passive event listeners.\n * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n */\nexport function supportsPassiveEventListeners(): boolean {\n if (supportsPassiveEvents == null && typeof window !== 'undefined') {\n try {\n window.addEventListener(\n 'test',\n null!,\n Object.defineProperty({}, 'passive', {\n get: () => (supportsPassiveEvents = true),\n }),\n );\n } finally {\n supportsPassiveEvents = supportsPassiveEvents || false;\n }\n }\n\n return supportsPassiveEvents;\n}\n\n/**\n * Normalizes an `AddEventListener` object to something that can be passed\n * to `addEventListener` on any browser, no matter whether it supports the\n * `options` parameter.\n * @param options Object to be normalized.\n */\nexport function normalizePassiveListenerOptions(\n options: AddEventListenerOptions,\n): AddEventListenerOptions | boolean {\n return supportsPassiveEventListeners() ? options : !!options.capture;\n}\n"],"names":[],"mappings":"AAQA;AACA,IAAI,qBAA8B;AAElC;;;AAGG;SACa,6BAA6B,GAAA;IAC3C,IAAI,qBAAqB,IAAI,IAAI,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AAClE,QAAA,IAAI;AACF,YAAA,MAAM,CAAC,gBAAgB,CACrB,MAAM,EACN,IAAK,EACL,MAAM,CAAC,cAAc,CAAC,EAAE,EAAE,SAAS,EAAE;gBACnC,GAAG,EAAE,OAAO,qBAAqB,GAAG,IAAI,CAAC;AAC1C,aAAA,CAAC,CACH;;gBACO;AACR,YAAA,qBAAqB,GAAG,qBAAqB,IAAI,KAAK;;;AAI1D,IAAA,OAAO,qBAAqB;AAC9B;AAEA;;;;;AAKG;AACG,SAAU,+BAA+B,CAC7C,OAAgC,EAAA;AAEhC,IAAA,OAAO,6BAA6B,EAAE,GAAG,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO;AACtE;;;;"}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"platform.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/platform-module.ts","../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/features/input-types.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\nimport {NgModule} from '@angular/core';\n\n@NgModule({})\nexport class PlatformModule {}\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\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes: Set<string>;\n\n/** Types of `<input>` that *might* be supported. */\nconst candidateInputTypes = [\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n];\n\n/** @returns The input types supported by this browser. */\nexport function getSupportedInputTypes(): Set<string> {\n // Result is cached.\n if (supportedInputTypes) {\n return supportedInputTypes;\n }\n\n // We can't check if an input type is not supported until we're on the browser, so say that\n // everything is supported when not on the browser. We don't use `Platform` here since it's\n // just a helper function and can't inject it.\n if (typeof document !== 'object' || !document) {\n supportedInputTypes = new Set(candidateInputTypes);\n return supportedInputTypes;\n }\n\n let featureTestInput = document.createElement('input');\n supportedInputTypes = new Set(\n candidateInputTypes.filter(value => {\n featureTestInput.setAttribute('type', value);\n return featureTestInput.type === value;\n }),\n );\n\n return supportedInputTypes;\n}\n"],"names":[],"mappings":";;;;;;;;;MAWa,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;+GAAd,cAAc,EAAA,CAAA;+GAAd,cAAc,EAAA,CAAA;;kGAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,QAAQ;mBAAC,EAAE;;;ACFZ;AACA,IAAI,mBAAgC;AAEpC;AACA,MAAM,mBAAmB,GAAG;;;;;IAK1B,OAAO;IACP,QAAQ;IACR,UAAU;IACV,MAAM;IACN,gBAAgB;IAChB,OAAO;IACP,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,QAAQ;IACR,UAAU;IACV,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;CACP;AAED;SACgB,sBAAsB,GAAA;;IAEpC,IAAI,mBAAmB,EAAE;AACvB,QAAA,OAAO,mBAAmB;;;;;IAM5B,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,CAAC,QAAQ,EAAE;AAC7C,QAAA,mBAAmB,GAAG,IAAI,GAAG,CAAC,mBAAmB,CAAC;AAClD,QAAA,OAAO,mBAAmB;;IAG5B,IAAI,gBAAgB,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;IACtD,mBAAmB,GAAG,IAAI,GAAG,CAC3B,mBAAmB,CAAC,MAAM,CAAC,KAAK,IAAG;AACjC,QAAA,gBAAgB,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC;AAC5C,QAAA,OAAO,gBAAgB,CAAC,IAAI,KAAK,KAAK;KACvC,CAAC,CACH;AAED,IAAA,OAAO,mBAAmB;AAC5B;;;;"} {"version":3,"file":"platform.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/platform-module.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/features/input-types.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\nimport {NgModule} from '@angular/core';\n\n@NgModule({})\nexport class PlatformModule {}\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\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes: Set<string>;\n\n/** Types of `<input>` that *might* be supported. */\nconst candidateInputTypes = [\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n];\n\n/** @returns The input types supported by this browser. */\nexport function getSupportedInputTypes(): Set<string> {\n // Result is cached.\n if (supportedInputTypes) {\n return supportedInputTypes;\n }\n\n // We can't check if an input type is not supported until we're on the browser, so say that\n // everything is supported when not on the browser. We don't use `Platform` here since it's\n // just a helper function and can't inject it.\n if (typeof document !== 'object' || !document) {\n supportedInputTypes = new Set(candidateInputTypes);\n return supportedInputTypes;\n }\n\n let featureTestInput = document.createElement('input');\n supportedInputTypes = new Set(\n candidateInputTypes.filter(value => {\n featureTestInput.setAttribute('type', value);\n return featureTestInput.type === value;\n }),\n );\n\n return supportedInputTypes;\n}\n"],"names":[],"mappings":";;;;;;;;;MAWa,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;+GAAd,cAAc,EAAA,CAAA;+GAAd,cAAc,EAAA,CAAA;;kGAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,QAAQ;mBAAC,EAAE;;;ACFZ;AACA,IAAI,mBAAgC;AAEpC;AACA,MAAM,mBAAmB,GAAG;;;;;IAK1B,OAAO;IACP,QAAQ;IACR,UAAU;IACV,MAAM;IACN,gBAAgB;IAChB,OAAO;IACP,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,QAAQ;IACR,UAAU;IACV,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;CACP;AAED;SACgB,sBAAsB,GAAA;;IAEpC,IAAI,mBAAmB,EAAE;AACvB,QAAA,OAAO,mBAAmB;;;;;IAM5B,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,CAAC,QAAQ,EAAE;AAC7C,QAAA,mBAAmB,GAAG,IAAI,GAAG,CAAC,mBAAmB,CAAC;AAClD,QAAA,OAAO,mBAAmB;;IAG5B,IAAI,gBAAgB,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;IACtD,mBAAmB,GAAG,IAAI,GAAG,CAC3B,mBAAmB,CAAC,MAAM,CAAC,KAAK,IAAG;AACjC,QAAA,gBAAgB,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC;AAC5C,QAAA,OAAO,gBAAgB,CAAC,IAAI,KAAK,KAAK;KACvC,CAAC,CACH;AAED,IAAA,OAAO,mBAAmB;AAC5B;;;;"}
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More