avancement planning
This commit is contained in:
-16
@@ -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
|
||||
-16
@@ -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
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@angular-devkit/architect",
|
||||
"version": "0.2003.10",
|
||||
"version": "0.2003.26",
|
||||
"description": "Angular Build Facade",
|
||||
"experimental": true,
|
||||
"main": "src/index.js",
|
||||
"typings": "src/index.d.ts",
|
||||
"dependencies": {
|
||||
"@angular-devkit/core": "20.3.10",
|
||||
"@angular-devkit/core": "20.3.26",
|
||||
"rxjs": "7.8.2"
|
||||
},
|
||||
"builders": "./builders/builders.json",
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@angular-devkit/core",
|
||||
"version": "20.3.10",
|
||||
"version": "20.3.26",
|
||||
"description": "Angular DevKit - Core Utility Library",
|
||||
"main": "src/index.js",
|
||||
"typings": "src/index.d.ts",
|
||||
@@ -30,10 +30,10 @@
|
||||
"./*.js": "./*.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"ajv": "8.17.1",
|
||||
"ajv": "8.18.0",
|
||||
"ajv-formats": "3.0.1",
|
||||
"jsonc-parser": "3.3.1",
|
||||
"picomatch": "4.0.3",
|
||||
"picomatch": "4.0.4",
|
||||
"rxjs": "7.8.2",
|
||||
"source-map": "0.7.6"
|
||||
},
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@angular-devkit/schematics",
|
||||
"version": "20.3.10",
|
||||
"version": "20.3.26",
|
||||
"description": "Angular Schematics - Library",
|
||||
"main": "src/index.js",
|
||||
"typings": "src/index.d.ts",
|
||||
@@ -18,7 +18,7 @@
|
||||
"tooling"
|
||||
],
|
||||
"dependencies": {
|
||||
"@angular-devkit/core": "20.3.10",
|
||||
"@angular-devkit/core": "20.3.26",
|
||||
"jsonc-parser": "3.3.1",
|
||||
"magic-string": "0.30.17",
|
||||
"ora": "8.2.0",
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
+7
-7
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* 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
|
||||
*/
|
||||
class AnimationBuilder {
|
||||
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", 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 ɵ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.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,
|
||||
args: [{ providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) }]
|
||||
}] });
|
||||
@@ -103,10 +103,10 @@ class BrowserAnimationBuilder extends AnimationBuilder {
|
||||
issueAnimationCommand(this._renderer, null, id, 'register', [entry]);
|
||||
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 ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: BrowserAnimationBuilder, providedIn: 'root' });
|
||||
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.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,
|
||||
args: [{ providedIn: 'root' }]
|
||||
}], ctorParameters: () => [{ type: i0.RendererFactory2 }, { type: Document, decorators: [{
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+4
-4
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* License: MIT
|
||||
*/
|
||||
@@ -55,10 +55,10 @@ class NoopAnimationDriver {
|
||||
animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {
|
||||
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 ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NoopAnimationDriver });
|
||||
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.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
|
||||
}] });
|
||||
/**
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @license Angular v20.3.11
|
||||
* @license Angular v20.3.21
|
||||
* (c) 2010-2025 Google LLC. https://angular.dev/
|
||||
* License: MIT
|
||||
*/
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@angular/animations",
|
||||
"version": "20.3.11",
|
||||
"version": "20.3.21",
|
||||
"description": "Angular - animations integration with web-animations",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
@@ -11,7 +11,7 @@
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/core": "20.3.11"
|
||||
"@angular/core": "20.3.21"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
+110
-134
@@ -31,7 +31,7 @@ BSD-2-Clause, CC0-1.0, ISC, MIT
|
||||
## @jridgewell/gen-mapping, @jridgewell/remapping, @jridgewell/sourcemap-codec, @jridgewell/trace-mapping
|
||||
License: MIT
|
||||
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>
|
||||
>
|
||||
@@ -84,20 +84,20 @@ Repository: https://github.com/jridgewell/resolve-uri
|
||||
|
||||
## @polka/compression
|
||||
License: MIT
|
||||
Repository: lukeed/polka
|
||||
Repository: https://github.com/lukeed/polka
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## @polka/url
|
||||
License: MIT
|
||||
By: Luke Edwards
|
||||
Repository: lukeed/polka
|
||||
Repository: https://github.com/lukeed/polka
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## @rolldown/pluginutils
|
||||
License: MIT
|
||||
Repository: git+https://github.com/rolldown/rolldown.git
|
||||
Repository: https://github.com/rolldown/rolldown
|
||||
|
||||
> 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
|
||||
License: MIT
|
||||
By: Johannes Stein
|
||||
Repository: rollup/plugins
|
||||
Repository: https://github.com/rollup/plugins
|
||||
|
||||
License: MIT
|
||||
By: Rich Harris
|
||||
Repository: rollup/plugins
|
||||
Repository: https://github.com/rollup/plugins
|
||||
|
||||
License: MIT
|
||||
By: LarsDenBakker
|
||||
Repository: rollup/plugins
|
||||
Repository: https://github.com/rollup/plugins
|
||||
|
||||
License: MIT
|
||||
By: Rich Harris
|
||||
Repository: rollup/plugins
|
||||
Repository: https://github.com/rollup/plugins
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -194,7 +194,7 @@ Repository: https://github.com/micromatch/anymatch
|
||||
## artichokie
|
||||
License: MIT
|
||||
By: sapphi-red, Evan You
|
||||
Repository: git+https://github.com/sapphi-red/artichokie.git
|
||||
Repository: https://github.com/sapphi-red/artichokie
|
||||
|
||||
> MIT License
|
||||
>
|
||||
@@ -224,7 +224,7 @@ Repository: git+https://github.com/sapphi-red/artichokie.git
|
||||
## binary-extensions
|
||||
License: MIT
|
||||
By: Sindre Sorhus
|
||||
Repository: sindresorhus/binary-extensions
|
||||
Repository: https://github.com/sindresorhus/binary-extensions
|
||||
|
||||
> MIT License
|
||||
>
|
||||
@@ -242,15 +242,15 @@ Repository: sindresorhus/binary-extensions
|
||||
## braces, fill-range, is-number
|
||||
License: MIT
|
||||
By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm
|
||||
Repository: micromatch/braces
|
||||
Repository: https://github.com/micromatch/braces
|
||||
|
||||
License: MIT
|
||||
By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling
|
||||
Repository: jonschlinkert/fill-range
|
||||
Repository: https://github.com/jonschlinkert/fill-range
|
||||
|
||||
License: MIT
|
||||
By: Jon Schlinkert, Olsten Larck, Rouven Weßling
|
||||
Repository: jonschlinkert/is-number
|
||||
Repository: https://github.com/jonschlinkert/is-number
|
||||
|
||||
> 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
|
||||
License: MIT
|
||||
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
|
||||
>
|
||||
@@ -296,7 +296,7 @@ Repositories: sindresorhus/bundle-name, sindresorhus/default-browser, sindresorh
|
||||
## cac
|
||||
License: MIT
|
||||
By: egoist
|
||||
Repository: egoist/cac
|
||||
Repository: https://github.com/egoist/cac
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -325,7 +325,7 @@ Repository: egoist/cac
|
||||
## chokidar
|
||||
License: MIT
|
||||
By: Paul Miller, Elan Shanker
|
||||
Repository: git+https://github.com/paulmillr/chokidar.git
|
||||
Repository: https://github.com/paulmillr/chokidar
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -354,7 +354,7 @@ Repository: git+https://github.com/paulmillr/chokidar.git
|
||||
## commondir, shell-quote
|
||||
License: MIT
|
||||
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
|
||||
>
|
||||
@@ -386,7 +386,7 @@ Repositories: http://github.com/substack/node-commondir.git, http://github.com/l
|
||||
## connect
|
||||
License: MIT
|
||||
By: TJ Holowaychuk, Douglas Christopher Wilson, Jonathan Ong, Tim Caswell
|
||||
Repository: senchalabs/connect
|
||||
Repository: https://github.com/senchalabs/connect
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -419,7 +419,7 @@ Repository: senchalabs/connect
|
||||
## convert-source-map
|
||||
License: MIT
|
||||
By: Thorsten Lorenz
|
||||
Repository: git://github.com/thlorenz/convert-source-map.git
|
||||
Repository: https://github.com/thlorenz/convert-source-map
|
||||
|
||||
> Copyright 2013 Thorsten Lorenz.
|
||||
> All rights reserved.
|
||||
@@ -450,7 +450,7 @@ Repository: git://github.com/thlorenz/convert-source-map.git
|
||||
## cors
|
||||
License: MIT
|
||||
By: Troy Goode
|
||||
Repository: expressjs/cors
|
||||
Repository: https://github.com/expressjs/cors
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -480,7 +480,7 @@ Repository: expressjs/cors
|
||||
## cross-spawn
|
||||
License: MIT
|
||||
By: André Cruz
|
||||
Repository: git@github.com:moxystudio/node-cross-spawn.git
|
||||
Repository: https://github.com/moxystudio/node-cross-spawn
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -509,7 +509,7 @@ Repository: git@github.com:moxystudio/node-cross-spawn.git
|
||||
## cssesc
|
||||
License: MIT
|
||||
By: Mathias Bynens
|
||||
Repository: https://github.com/mathiasbynens/cssesc.git
|
||||
Repository: https://github.com/mathiasbynens/cssesc
|
||||
|
||||
> 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
|
||||
License: BSD-2-Clause
|
||||
Repository: git://github.com/motdotla/dotenv.git
|
||||
Repository: https://github.com/motdotla/dotenv
|
||||
|
||||
> Copyright (c) 2015, Scott Motte
|
||||
> All rights reserved.
|
||||
@@ -625,7 +598,7 @@ Repository: https://github.com/motdotla/dotenv-expand
|
||||
## ee-first
|
||||
License: MIT
|
||||
By: Jonathan Ong, Douglas Christopher Wilson
|
||||
Repository: jonathanong/ee-first
|
||||
Repository: https://github.com/jonathanong/ee-first
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -654,7 +627,7 @@ Repository: jonathanong/ee-first
|
||||
## encodeurl
|
||||
License: MIT
|
||||
By: Douglas Christopher Wilson
|
||||
Repository: pillarjs/encodeurl
|
||||
Repository: https://github.com/pillarjs/encodeurl
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -684,7 +657,7 @@ Repository: pillarjs/encodeurl
|
||||
## entities
|
||||
License: BSD-2-Clause
|
||||
By: Felix Boehm
|
||||
Repository: git://github.com/fb55/entities.git
|
||||
Repository: https://github.com/fb55/entities
|
||||
|
||||
> Copyright (c) Felix Böhm
|
||||
> All rights reserved.
|
||||
@@ -703,7 +676,7 @@ Repository: git://github.com/fb55/entities.git
|
||||
## es-module-lexer
|
||||
License: MIT
|
||||
By: Guy Bedford
|
||||
Repository: git+https://github.com/guybedford/es-module-lexer.git
|
||||
Repository: https://github.com/guybedford/es-module-lexer
|
||||
|
||||
> MIT License
|
||||
> -----------
|
||||
@@ -720,7 +693,7 @@ Repository: git+https://github.com/guybedford/es-module-lexer.git
|
||||
|
||||
## escape-html
|
||||
License: MIT
|
||||
Repository: component/escape-html
|
||||
Repository: https://github.com/component/escape-html
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -767,7 +740,7 @@ Repository: https://github.com/Rich-Harris/estree-walker
|
||||
## etag
|
||||
License: MIT
|
||||
By: Douglas Christopher Wilson, David Björklund
|
||||
Repository: jshttp/etag
|
||||
Repository: https://github.com/jshttp/etag
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -797,7 +770,7 @@ Repository: jshttp/etag
|
||||
## finalhandler
|
||||
License: MIT
|
||||
By: Douglas Christopher Wilson
|
||||
Repository: pillarjs/finalhandler
|
||||
Repository: https://github.com/pillarjs/finalhandler
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -827,7 +800,7 @@ Repository: pillarjs/finalhandler
|
||||
## follow-redirects
|
||||
License: MIT
|
||||
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 2014–present 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
|
||||
License: MIT
|
||||
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)
|
||||
>
|
||||
@@ -882,7 +855,7 @@ Repository: git+https://github.com/css-modules/generic-names.git
|
||||
## glob-parent
|
||||
License: ISC
|
||||
By: Gulp Team, Elan Shanker, Blaine Bublitz
|
||||
Repository: gulpjs/glob-parent
|
||||
Repository: https://github.com/gulpjs/glob-parent
|
||||
|
||||
> The ISC License
|
||||
>
|
||||
@@ -905,7 +878,7 @@ Repository: gulpjs/glob-parent
|
||||
## host-validation-middleware
|
||||
License: MIT
|
||||
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
|
||||
>
|
||||
@@ -934,7 +907,7 @@ Repository: git+https://github.com/sapphi-red/host-validation-middleware.git
|
||||
## http-proxy-3
|
||||
License: MIT
|
||||
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
|
||||
>
|
||||
@@ -964,7 +937,7 @@ Repository: https://github.com/sagemathinc/http-proxy-3.git
|
||||
## icss-utils
|
||||
License: ISC
|
||||
By: Glen Maddern
|
||||
Repository: git+https://github.com/css-modules/icss-utils.git
|
||||
Repository: https://github.com/css-modules/icss-utils
|
||||
|
||||
> ISC License (ISC)
|
||||
> Copyright 2018 Glen Maddern
|
||||
@@ -978,7 +951,7 @@ Repository: git+https://github.com/css-modules/icss-utils.git
|
||||
## is-binary-path
|
||||
License: MIT
|
||||
By: Sindre Sorhus
|
||||
Repository: sindresorhus/is-binary-path
|
||||
Repository: https://github.com/sindresorhus/is-binary-path
|
||||
|
||||
> MIT License
|
||||
>
|
||||
@@ -995,7 +968,7 @@ Repository: sindresorhus/is-binary-path
|
||||
## is-extglob
|
||||
License: MIT
|
||||
By: Jon Schlinkert
|
||||
Repository: jonschlinkert/is-extglob
|
||||
Repository: https://github.com/jonschlinkert/is-extglob
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -1024,7 +997,7 @@ Repository: jonschlinkert/is-extglob
|
||||
## is-glob
|
||||
License: MIT
|
||||
By: Jon Schlinkert, Brian Woodward, Daniel Perez
|
||||
Repository: micromatch/is-glob
|
||||
Repository: https://github.com/micromatch/is-glob
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -1053,14 +1026,14 @@ Repository: micromatch/is-glob
|
||||
## is-reference
|
||||
License: MIT
|
||||
By: Rich Harris
|
||||
Repository: git+https://github.com/Rich-Harris/is-reference.git
|
||||
Repository: https://github.com/Rich-Harris/is-reference
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## isexe, which
|
||||
License: ISC
|
||||
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
|
||||
>
|
||||
@@ -1083,7 +1056,7 @@ Repositories: git+https://github.com/isaacs/isexe.git, git://github.com/isaacs/n
|
||||
## js-tokens
|
||||
License: MIT
|
||||
By: Simon Lydell
|
||||
Repository: lydell/js-tokens
|
||||
Repository: https://github.com/lydell/js-tokens
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -1112,7 +1085,7 @@ Repository: lydell/js-tokens
|
||||
## launch-editor, launch-editor-middleware
|
||||
License: MIT
|
||||
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)
|
||||
>
|
||||
@@ -1170,7 +1143,7 @@ Repository: https://github.com/antonk52/lilconfig
|
||||
## loader-utils
|
||||
License: MIT
|
||||
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
|
||||
>
|
||||
@@ -1198,7 +1171,7 @@ Repository: https://github.com/webpack/loader-utils.git
|
||||
## lodash.camelcase
|
||||
License: MIT
|
||||
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/>
|
||||
>
|
||||
@@ -1253,7 +1226,7 @@ Repository: lodash/lodash
|
||||
## magic-string
|
||||
License: MIT
|
||||
By: Rich Harris
|
||||
Repository: https://github.com/rich-harris/magic-string.git
|
||||
Repository: https://github.com/Rich-Harris/magic-string
|
||||
|
||||
> Copyright 2018 Rich Harris
|
||||
>
|
||||
@@ -1267,7 +1240,7 @@ Repository: https://github.com/rich-harris/magic-string.git
|
||||
|
||||
## mlly, ufo
|
||||
License: MIT
|
||||
Repositories: unjs/mlly, unjs/ufo
|
||||
Repositories: https://github.com/unjs/mlly, https://github.com/unjs/ufo
|
||||
|
||||
> MIT License
|
||||
>
|
||||
@@ -1296,7 +1269,7 @@ Repositories: unjs/mlly, unjs/ufo
|
||||
## mrmime
|
||||
License: MIT
|
||||
By: Luke Edwards
|
||||
Repository: lukeed/mrmime
|
||||
Repository: https://github.com/lukeed/mrmime
|
||||
|
||||
> 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
|
||||
License: MIT
|
||||
By: Jon Schlinkert, Blaine Bublitz
|
||||
Repository: jonschlinkert/normalize-path
|
||||
Repository: https://github.com/jonschlinkert/normalize-path
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -1382,7 +1327,7 @@ Repository: jonschlinkert/normalize-path
|
||||
## object-assign
|
||||
License: MIT
|
||||
By: Sindre Sorhus
|
||||
Repository: sindresorhus/object-assign
|
||||
Repository: https://github.com/sindresorhus/object-assign
|
||||
|
||||
> 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
|
||||
License: MIT
|
||||
By: Douglas Christopher Wilson, Jonathan Ong
|
||||
Repository: jshttp/on-finished
|
||||
Repository: https://github.com/jshttp/on-finished
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -1442,7 +1418,7 @@ Repository: jshttp/on-finished
|
||||
## parse5
|
||||
License: MIT
|
||||
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)
|
||||
>
|
||||
@@ -1469,7 +1445,7 @@ Repository: git://github.com/inikulin/parse5.git
|
||||
## parseurl
|
||||
License: MIT
|
||||
By: Douglas Christopher Wilson, Jonathan Ong
|
||||
Repository: pillarjs/parseurl
|
||||
Repository: https://github.com/pillarjs/parseurl
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -1500,7 +1476,7 @@ Repository: pillarjs/parseurl
|
||||
## path-key, shebang-regex
|
||||
License: MIT
|
||||
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
|
||||
>
|
||||
@@ -1516,7 +1492,7 @@ Repositories: sindresorhus/path-key, sindresorhus/shebang-regex
|
||||
|
||||
## periscopic
|
||||
License: MIT
|
||||
Repository: Rich-Harris/periscopic
|
||||
Repository: https://github.com/Rich-Harris/periscopic
|
||||
|
||||
> Copyright (c) 2019 Rich Harris
|
||||
>
|
||||
@@ -1531,7 +1507,7 @@ Repository: Rich-Harris/periscopic
|
||||
## picocolors
|
||||
License: ISC
|
||||
By: Alexey Raspopov
|
||||
Repository: alexeyraspopov/picocolors
|
||||
Repository: https://github.com/alexeyraspopov/picocolors
|
||||
|
||||
> ISC License
|
||||
>
|
||||
@@ -1554,7 +1530,7 @@ Repository: alexeyraspopov/picocolors
|
||||
## postcss-import
|
||||
License: MIT
|
||||
By: Maxime Thirouin
|
||||
Repository: https://github.com/postcss/postcss-import.git
|
||||
Repository: https://github.com/postcss/postcss-import
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -1582,7 +1558,7 @@ Repository: https://github.com/postcss/postcss-import.git
|
||||
## postcss-load-config
|
||||
License: MIT
|
||||
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)
|
||||
>
|
||||
@@ -1610,7 +1586,7 @@ Repository: postcss/postcss-load-config
|
||||
## postcss-modules
|
||||
License: MIT
|
||||
By: Alexander Madyankin
|
||||
Repository: https://github.com/css-modules/postcss-modules.git
|
||||
Repository: https://github.com/css-modules/postcss-modules
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -1638,7 +1614,7 @@ Repository: https://github.com/css-modules/postcss-modules.git
|
||||
## postcss-modules-extract-imports
|
||||
License: ISC
|
||||
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
|
||||
>
|
||||
@@ -1651,7 +1627,7 @@ Repository: https://github.com/css-modules/postcss-modules-extract-imports.git
|
||||
## postcss-modules-local-by-default
|
||||
License: MIT
|
||||
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)
|
||||
>
|
||||
@@ -1679,7 +1655,7 @@ Repository: https://github.com/css-modules/postcss-modules-local-by-default.git
|
||||
## postcss-modules-scope
|
||||
License: ISC
|
||||
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)
|
||||
>
|
||||
@@ -1694,7 +1670,7 @@ Repository: https://github.com/css-modules/postcss-modules-scope.git
|
||||
## postcss-modules-values
|
||||
License: ISC
|
||||
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)
|
||||
>
|
||||
@@ -1709,7 +1685,7 @@ Repository: git+https://github.com/css-modules/postcss-modules-values.git
|
||||
## postcss-selector-parser
|
||||
License: MIT
|
||||
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)
|
||||
>
|
||||
@@ -1739,7 +1715,7 @@ Repository: postcss/postcss-selector-parser
|
||||
## postcss-value-parser
|
||||
License: MIT
|
||||
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>
|
||||
>
|
||||
@@ -1769,7 +1745,7 @@ Repository: https://github.com/TrySound/postcss-value-parser.git
|
||||
## readdirp
|
||||
License: MIT
|
||||
By: Thorsten Lorenz, Paul Miller
|
||||
Repository: git://github.com/paulmillr/readdirp.git
|
||||
Repository: https://github.com/paulmillr/readdirp
|
||||
|
||||
> MIT License
|
||||
>
|
||||
@@ -1798,7 +1774,7 @@ Repository: git://github.com/paulmillr/readdirp.git
|
||||
## resolve.exports, totalist
|
||||
License: MIT
|
||||
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)
|
||||
>
|
||||
@@ -1827,7 +1803,7 @@ Repositories: lukeed/resolve.exports, lukeed/totalist
|
||||
## shebang-command
|
||||
License: MIT
|
||||
By: Kevin Mårtensson
|
||||
Repository: kevva/shebang-command
|
||||
Repository: https://github.com/kevva/shebang-command
|
||||
|
||||
> MIT License
|
||||
>
|
||||
@@ -1844,14 +1820,14 @@ Repository: kevva/shebang-command
|
||||
## sirv
|
||||
License: MIT
|
||||
By: Luke Edwards
|
||||
Repository: lukeed/sirv
|
||||
Repository: https://github.com/lukeed/sirv
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## statuses
|
||||
License: MIT
|
||||
By: Douglas Christopher Wilson, Jonathan Ong
|
||||
Repository: jshttp/statuses
|
||||
Repository: https://github.com/jshttp/statuses
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -1881,14 +1857,14 @@ Repository: jshttp/statuses
|
||||
## string-hash
|
||||
License: CC0-1.0
|
||||
By: The Dark Sky Company
|
||||
Repository: git://github.com/darkskyapp/string-hash.git
|
||||
Repository: https://github.com/darkskyapp/string-hash
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## strip-literal
|
||||
License: MIT
|
||||
By: Anthony Fu
|
||||
Repository: git+https://github.com/antfu/strip-literal.git
|
||||
Repository: https://github.com/antfu/strip-literal
|
||||
|
||||
> MIT License
|
||||
>
|
||||
@@ -1917,7 +1893,7 @@ Repository: git+https://github.com/antfu/strip-literal.git
|
||||
## to-regex-range
|
||||
License: MIT
|
||||
By: Jon Schlinkert, Rouven Weßling
|
||||
Repository: micromatch/to-regex-range
|
||||
Repository: https://github.com/micromatch/to-regex-range
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -1946,7 +1922,7 @@ Repository: micromatch/to-regex-range
|
||||
## tsconfck
|
||||
License: MIT
|
||||
By: dominikg
|
||||
Repository: git+https://github.com/dominikg/tsconfck.git
|
||||
Repository: https://github.com/dominikg/tsconfck
|
||||
|
||||
> MIT License
|
||||
>
|
||||
@@ -2000,7 +1976,7 @@ Repository: git+https://github.com/dominikg/tsconfck.git
|
||||
## unpipe
|
||||
License: MIT
|
||||
By: Douglas Christopher Wilson
|
||||
Repository: stream-utils/unpipe
|
||||
Repository: https://github.com/stream-utils/unpipe
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -2030,7 +2006,7 @@ Repository: stream-utils/unpipe
|
||||
## util-deprecate
|
||||
License: MIT
|
||||
By: Nathan Rajlich
|
||||
Repository: git://github.com/TooTallNate/util-deprecate.git
|
||||
Repository: https://github.com/TooTallNate/util-deprecate
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -2062,7 +2038,7 @@ Repository: git://github.com/TooTallNate/util-deprecate.git
|
||||
## utils-merge
|
||||
License: MIT
|
||||
By: Jared Hanson
|
||||
Repository: git://github.com/jaredhanson/utils-merge.git
|
||||
Repository: https://github.com/jaredhanson/utils-merge
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
@@ -2090,7 +2066,7 @@ Repository: git://github.com/jaredhanson/utils-merge.git
|
||||
## vary
|
||||
License: MIT
|
||||
By: Douglas Christopher Wilson
|
||||
Repository: jshttp/vary
|
||||
Repository: https://github.com/jshttp/vary
|
||||
|
||||
> (The MIT License)
|
||||
>
|
||||
@@ -2120,7 +2096,7 @@ Repository: jshttp/vary
|
||||
## ws
|
||||
License: MIT
|
||||
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) 2013 Arnout Kazemier and contributors
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
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) {
|
||||
"@babel/helpers - typeof";
|
||||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
|
||||
@@ -11,7 +11,7 @@ function _typeof(o) {
|
||||
}
|
||||
|
||||
//#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) {
|
||||
if ("object" != _typeof(t) || !t) return t;
|
||||
var e = t[Symbol.toPrimitive];
|
||||
@@ -24,14 +24,14 @@ function toPrimitive(t, r) {
|
||||
}
|
||||
|
||||
//#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) {
|
||||
var i = toPrimitive(t, "string");
|
||||
return "symbol" == _typeof(i) ? i : i + "";
|
||||
}
|
||||
|
||||
//#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) {
|
||||
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
||||
value: t,
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
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 };
|
||||
+139
-124
@@ -1,8 +1,8 @@
|
||||
import { __commonJS, __require } from "./chunk.js";
|
||||
import { require_lib } from "./lib.js";
|
||||
import { i as __require, t as __commonJSMin } from "./chunk.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
|
||||
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 });
|
||||
exports.getFileSystem = getFileSystem;
|
||||
exports.setFileSystem = setFileSystem;
|
||||
@@ -21,11 +21,11 @@ var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-
|
||||
function getFileSystem() {
|
||||
return fileSystem;
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 });
|
||||
exports.default = unquote;
|
||||
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);
|
||||
return str$1;
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 replaceValueSymbols$2 = (value, replacements) => {
|
||||
let matches;
|
||||
@@ -53,11 +53,11 @@ var require_replaceValueSymbols = /* @__PURE__ */ __commonJS({ "../../node_modul
|
||||
return value;
|
||||
};
|
||||
module.exports = replaceValueSymbols$2;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 replaceSymbols$1 = (css, replacements) => {
|
||||
css.walk((node) => {
|
||||
@@ -67,11 +67,11 @@ var require_replaceSymbols = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
||||
});
|
||||
};
|
||||
module.exports = replaceSymbols$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 balancedQuotes = /^("[^"]*"|'[^']*'|[^"']+)$/;
|
||||
const getDeclsObject = (rule) => {
|
||||
@@ -122,11 +122,11 @@ var require_extractICSS = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
||||
};
|
||||
};
|
||||
module.exports = extractICSS$2;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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") => {
|
||||
return Object.keys(imports).map((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)];
|
||||
module.exports = createICSSRules$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 replaceSymbols = require_replaceSymbols();
|
||||
const extractICSS$1 = require_extractICSS();
|
||||
@@ -182,12 +182,13 @@ var require_src$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/icss-
|
||||
extractICSS: extractICSS$1,
|
||||
createICSSRules
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 });
|
||||
exports.default = void 0;
|
||||
var _icssUtils = require_src$4();
|
||||
const importRegexp = /^:import\((.+)\)$/;
|
||||
var Parser$1 = class {
|
||||
@@ -250,11 +251,11 @@ var require_Parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
|
||||
}
|
||||
};
|
||||
exports.default = Parser$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 });
|
||||
exports.default = saveJSON;
|
||||
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));
|
||||
});
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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/>
|
||||
* Build: `lodash modularize exports="npm" -o ./`
|
||||
@@ -908,11 +909,11 @@ var require_lodash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/loda
|
||||
return string$1.match(pattern) || [];
|
||||
}
|
||||
module.exports = camelCase;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 });
|
||||
exports.makeLocalsConventionReducer = makeLocalsConventionReducer;
|
||||
var _lodash = _interopRequireDefault$22(require_lodash());
|
||||
@@ -949,12 +950,13 @@ var require_localsConvention = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
||||
return tokens$1;
|
||||
};
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 });
|
||||
exports.default = void 0;
|
||||
var _postcss$1 = _interopRequireDefault$21(__require("postcss"));
|
||||
var _path = _interopRequireDefault$21(__require("path"));
|
||||
var _Parser$1 = _interopRequireDefault$21(require_Parser());
|
||||
@@ -1034,11 +1036,11 @@ var require_FileSystemLoader = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
||||
}
|
||||
};
|
||||
exports.default = FileSystemLoader;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#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
|
||||
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 TEMPORARY_MARKER = 1;
|
||||
function createError(node, graph) {
|
||||
@@ -1074,11 +1076,11 @@ var require_topologicalSort = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
||||
return result;
|
||||
}
|
||||
module.exports = topologicalSort$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#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
|
||||
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 matchImports$1 = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;
|
||||
const icssImport = /^:import\((?:"([^"]+)"|'([^']+)')\)/;
|
||||
@@ -1203,11 +1205,11 @@ var require_src$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
|
||||
};
|
||||
};
|
||||
module.exports.postcss = true;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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;
|
||||
var WasmHash = class {
|
||||
/**
|
||||
@@ -1338,19 +1340,19 @@ var require_wasm_hash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/l
|
||||
};
|
||||
module.exports = create$2;
|
||||
module.exports.MAX_SHORT_STRING = MAX_SHORT_STRING$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 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);
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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;
|
||||
var BatchedHash$1 = class {
|
||||
constructor(hash$1) {
|
||||
@@ -1391,19 +1393,19 @@ var require_BatchedHash = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
||||
}
|
||||
};
|
||||
module.exports = BatchedHash$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 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);
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 digestCaches = {};
|
||||
var BulkUpdateDecorator$1 = class {
|
||||
@@ -1469,11 +1471,11 @@ var require_BulkUpdateDecorator = /* @__PURE__ */ __commonJS({ "../../node_modul
|
||||
}
|
||||
};
|
||||
module.exports = BulkUpdateDecorator$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 = {
|
||||
26: "abcdefghijklmnopqrstuvwxyz",
|
||||
32: "123456789abcdefghjkmnpqrstuvwxyz",
|
||||
@@ -1548,11 +1550,11 @@ var require_getHashDigest = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
||||
return hash$1.digest(digestType || "hex").substr(0, maxLength);
|
||||
}
|
||||
module.exports = getHashDigest$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 getHashDigest = require_getHashDigest();
|
||||
function interpolateName$1(loaderContext, name, options = {}) {
|
||||
@@ -1601,11 +1603,11 @@ var require_interpolateName = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
||||
return url;
|
||||
}
|
||||
module.exports = interpolateName$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 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");
|
||||
};
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = unesc;
|
||||
/**
|
||||
@@ -1685,11 +1687,11 @@ var require_unesc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
|
||||
return ret;
|
||||
}
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = getProp;
|
||||
function getProp(obj) {
|
||||
@@ -1702,11 +1704,11 @@ var require_getProp = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
|
||||
return obj;
|
||||
}
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = ensureObject;
|
||||
function ensureObject(obj) {
|
||||
@@ -1718,11 +1720,11 @@ var require_ensureObject = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
||||
}
|
||||
}
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = stripComments;
|
||||
function stripComments(str$1) {
|
||||
@@ -1740,12 +1742,13 @@ var require_stripComments = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
||||
return s;
|
||||
}
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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.unesc = exports.stripComments = exports.getProp = exports.ensureObject = void 0;
|
||||
var _unesc$1 = _interopRequireDefault$20(require_unesc());
|
||||
exports.unesc = _unesc$1["default"];
|
||||
var _getProp = _interopRequireDefault$20(require_getProp());
|
||||
@@ -1757,11 +1760,11 @@ var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
|
||||
function _interopRequireDefault$20(obj) {
|
||||
return obj && obj.__esModule ? obj : { "default": obj };
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _util$3 = require_util();
|
||||
@@ -1894,12 +1897,13 @@ var require_node$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
|
||||
}();
|
||||
exports["default"] = Node;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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.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";
|
||||
exports.TAG = TAG;
|
||||
var STRING = "string";
|
||||
@@ -1924,11 +1928,11 @@ var require_types = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
|
||||
exports.ATTRIBUTE = ATTRIBUTE;
|
||||
var UNIVERSAL = "universal";
|
||||
exports.UNIVERSAL = UNIVERSAL;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _node$7 = _interopRequireDefault$19(require_node$1());
|
||||
@@ -2265,11 +2269,11 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
|
||||
}(_node$7["default"]);
|
||||
exports["default"] = Container;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _container$2 = _interopRequireDefault$18(require_container());
|
||||
@@ -2333,11 +2337,11 @@ var require_root = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
|
||||
}(_container$2["default"]);
|
||||
exports["default"] = Root;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _container$1 = _interopRequireDefault$17(require_container());
|
||||
@@ -2368,11 +2372,12 @@ var require_selector = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
|
||||
}(_container$1["default"]);
|
||||
exports["default"] = Selector;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 merge = function merge$1(options, defaults) {
|
||||
if (!options) return defaults;
|
||||
@@ -2429,11 +2434,11 @@ var require_cssesc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/csse
|
||||
};
|
||||
cssesc.version = "3.0.0";
|
||||
module.exports = cssesc;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _cssesc$2 = _interopRequireDefault$16(require_cssesc());
|
||||
@@ -2502,11 +2507,11 @@ var require_className = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
|
||||
}(_node$6["default"]);
|
||||
exports["default"] = ClassName;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _node$5 = _interopRequireDefault$15(require_node$1());
|
||||
@@ -2537,11 +2542,11 @@ var require_comment = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
|
||||
}(_node$5["default"]);
|
||||
exports["default"] = Comment;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _node$4 = _interopRequireDefault$14(require_node$1());
|
||||
@@ -2576,11 +2581,11 @@ var require_id = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-
|
||||
}(_node$4["default"]);
|
||||
exports["default"] = ID;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _cssesc$1 = _interopRequireDefault$13(require_cssesc());
|
||||
@@ -2673,11 +2678,11 @@ var require_namespace = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
|
||||
}(_node$3["default"]);
|
||||
exports["default"] = Namespace;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _namespace$2 = _interopRequireDefault$12(require_namespace());
|
||||
@@ -2708,11 +2713,11 @@ var require_tag = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
|
||||
}(_namespace$2["default"]);
|
||||
exports["default"] = Tag;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _node$2 = _interopRequireDefault$11(require_node$1());
|
||||
@@ -2743,11 +2748,11 @@ var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
|
||||
}(_node$2["default"]);
|
||||
exports["default"] = String$1;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _container = _interopRequireDefault$10(require_container());
|
||||
@@ -2788,21 +2793,22 @@ var require_pseudo = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
|
||||
}(_container["default"]);
|
||||
exports["default"] = Pseudo;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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.
|
||||
*/
|
||||
module.exports = __require("util").deprecate;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
exports.unescapeValue = unescapeValue;
|
||||
var _cssesc = _interopRequireDefault$9(require_cssesc());
|
||||
var _unesc = _interopRequireDefault$9(require_unesc());
|
||||
@@ -3123,11 +3129,11 @@ var require_attribute = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
|
||||
function defaultAttrConcat(attrValue, attrSpaces) {
|
||||
return "" + attrSpaces.before + attrValue + attrSpaces.after;
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _namespace = _interopRequireDefault$8(require_namespace());
|
||||
@@ -3159,11 +3165,11 @@ var require_universal = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
|
||||
}(_namespace["default"]);
|
||||
exports["default"] = Universal;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _node$1 = _interopRequireDefault$7(require_node$1());
|
||||
@@ -3194,11 +3200,11 @@ var require_combinator = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
||||
}(_node$1["default"]);
|
||||
exports["default"] = Combinator;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _node = _interopRequireDefault$6(require_node$1());
|
||||
@@ -3230,11 +3236,11 @@ var require_nesting = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
|
||||
}(_node["default"]);
|
||||
exports["default"] = Nesting;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = sortAscending;
|
||||
function sortAscending(list) {
|
||||
@@ -3243,12 +3249,13 @@ var require_sortAscending = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
||||
});
|
||||
}
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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.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;
|
||||
exports.ampersand = ampersand;
|
||||
var asterisk = 42;
|
||||
@@ -3311,12 +3318,13 @@ var require_tokenTypes = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
||||
exports.word = word;
|
||||
var combinator$1 = -3;
|
||||
exports.combinator = combinator$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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.FIELDS = void 0;
|
||||
exports["default"] = tokenize;
|
||||
var t = _interopRequireWildcard$2(require_tokenTypes());
|
||||
var _unescapable, _wordDelimiters;
|
||||
@@ -3537,11 +3545,11 @@ var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
|
||||
}
|
||||
return tokens$1;
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _root$1 = _interopRequireDefault$5(require_root());
|
||||
@@ -4399,11 +4407,11 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
|
||||
}();
|
||||
exports["default"] = Parser;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _parser = _interopRequireDefault$4(require_parser());
|
||||
@@ -4503,12 +4511,13 @@ var require_processor = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
|
||||
}();
|
||||
exports["default"] = Processor;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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.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 _className = _interopRequireDefault$3(require_className());
|
||||
var _combinator = _interopRequireDefault$3(require_combinator());
|
||||
@@ -4572,17 +4581,22 @@ var require_constructors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
||||
return new _universal["default"](opts);
|
||||
};
|
||||
exports.universal = universal;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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.isComment = exports.isCombinator = exports.isClassName = exports.isAttribute = void 0;
|
||||
exports.isContainer = isContainer;
|
||||
exports.isIdentifier = void 0;
|
||||
exports.isNamespace = isNamespace;
|
||||
exports.isNesting = void 0;
|
||||
exports.isNode = isNode;
|
||||
exports.isPseudo = void 0;
|
||||
exports.isPseudoClass = isPseudoClass;
|
||||
exports.isPseudoElement = isPseudoElement;
|
||||
exports.isUniversal = exports.isTag = exports.isString = exports.isSelector = exports.isRoot = void 0;
|
||||
var _types$1 = require_types();
|
||||
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);
|
||||
@@ -4628,11 +4642,11 @@ var require_guards = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/post
|
||||
function isNamespace(node) {
|
||||
return isAttribute(node) || isTag(node);
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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;
|
||||
var _types = require_types();
|
||||
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;
|
||||
exports[key] = _guards[key];
|
||||
});
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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["default"] = void 0;
|
||||
var _processor = _interopRequireDefault$2(require_processor());
|
||||
@@ -4695,11 +4709,11 @@ var require_dist = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
|
||||
var _default = parser;
|
||||
exports["default"] = _default;
|
||||
module.exports = exports.default;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#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
|
||||
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 valueParser = require_lib();
|
||||
const { extractICSS } = require_src$4();
|
||||
@@ -5094,11 +5108,11 @@ var require_src$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
|
||||
};
|
||||
};
|
||||
module.exports.postcss = true;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
function isNestedRule(rule) {
|
||||
@@ -5265,22 +5279,22 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
|
||||
};
|
||||
};
|
||||
module.exports = plugin;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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) {
|
||||
var hash$1 = 5381, i$1 = str$1.length;
|
||||
while (i$1) hash$1 = hash$1 * 33 ^ str$1.charCodeAt(--i$1);
|
||||
return hash$1 >>> 0;
|
||||
}
|
||||
module.exports = hash;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 matchImports = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;
|
||||
const matchValueDefinition = /(?:\s+|^)([\w-]+):?(.*?)$/;
|
||||
@@ -5364,12 +5378,13 @@ var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
|
||||
};
|
||||
};
|
||||
module.exports.postcss = true;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 });
|
||||
exports.behaviours = void 0;
|
||||
exports.getDefaultPlugins = getDefaultPlugins;
|
||||
exports.getDefaultScopeBehaviour = getDefaultScopeBehaviour;
|
||||
exports.getScopedNameGenerator = getScopedNameGenerator;
|
||||
@@ -5426,11 +5441,11 @@ var require_scoping = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
|
||||
hashPrefix
|
||||
});
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 });
|
||||
exports.makePlugin = makePlugin;
|
||||
var _postcss = _interopRequireDefault(__require("postcss"));
|
||||
@@ -5501,11 +5516,11 @@ var require_pluginFactory = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
||||
}
|
||||
};
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 _fs2 = require_fs();
|
||||
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.postcss = true;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
export default require_build();
|
||||
|
||||
+26
-9
@@ -7,16 +7,32 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __commonJS = (cb, mod) => function() {
|
||||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
||||
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
||||
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) => {
|
||||
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];
|
||||
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
||||
get: ((k) => from[k]).bind(null, key),
|
||||
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
||||
});
|
||||
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];
|
||||
if (!__hasOwnProp.call(to, key) && key !== except) {
|
||||
__defProp(to, key, {
|
||||
get: ((k) => from[k]).bind(null, key),
|
||||
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
return to;
|
||||
};
|
||||
@@ -24,8 +40,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
||||
value: mod,
|
||||
enumerable: true
|
||||
}) : 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 __require = /* @__PURE__ */ createRequire(import.meta.url);
|
||||
|
||||
//#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 };
|
||||
+6480
-6702
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
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 };
|
||||
+12
-12
@@ -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
|
||||
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 closeParentheses = ")".charCodeAt(0);
|
||||
var singleQuote = "'".charCodeAt(0);
|
||||
@@ -229,11 +229,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
|
||||
}
|
||||
return stack[0].nodes;
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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) {
|
||||
var i, max, node, result;
|
||||
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);
|
||||
}
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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) {
|
||||
var type = node.type;
|
||||
var value = node.value;
|
||||
@@ -277,11 +277,11 @@ var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
|
||||
return stringifyNode(nodes, custom);
|
||||
}
|
||||
module.exports = stringify$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 plus = "+".charCodeAt(0);
|
||||
var dot = ".".charCodeAt(0);
|
||||
@@ -345,11 +345,11 @@ var require_unit = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
|
||||
unit: value.slice(pos)
|
||||
};
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 walk = require_walk();
|
||||
var stringify = require_stringify();
|
||||
@@ -371,7 +371,7 @@ var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
|
||||
ValueParser.walk = walk;
|
||||
ValueParser.stringify = stringify;
|
||||
module.exports = ValueParser;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
export { require_lib };
|
||||
export { require_lib as t };
|
||||
+13
-4
@@ -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 path, { resolve } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import readline from "node:readline";
|
||||
|
||||
//#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 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) => {
|
||||
@@ -70,7 +70,7 @@ var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
||||
};
|
||||
module.exports = createColors();
|
||||
module.exports.createColors = createColors;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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_SERVER_CONDITIONS = Object.freeze(DEFAULT_CONDITIONS.filter((c) => c !== "browser"));
|
||||
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.
|
||||
*
|
||||
@@ -317,4 +326,4 @@ function printServerUrls(urls, optionsHost, info) {
|
||||
}
|
||||
|
||||
//#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 };
|
||||
Generated
Vendored
+35
-27
@@ -8,51 +8,59 @@ interface FetchFunctionOptions {
|
||||
type FetchResult = CachedFetchResult | ExternalFetchResult | ViteFetchResult;
|
||||
interface CachedFetchResult {
|
||||
/**
|
||||
* If module cached in the runner, we can just confirm
|
||||
* it wasn't invalidated on the server side.
|
||||
*/
|
||||
* If module cached in the runner, we can just confirm
|
||||
* it wasn't invalidated on the server side.
|
||||
*/
|
||||
cache: true;
|
||||
}
|
||||
interface ExternalFetchResult {
|
||||
/**
|
||||
* The path to the externalized module starting with file://,
|
||||
* by default this will be imported via a dynamic "import"
|
||||
* instead of being transformed by vite and loaded with vite runner
|
||||
*/
|
||||
* The path to the externalized module starting with file://,
|
||||
* by default this will be imported via a dynamic "import"
|
||||
* instead of being transformed by vite and loaded with vite runner
|
||||
*/
|
||||
externalize: string;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
type: 'module' | 'commonjs' | 'builtin' | 'network';
|
||||
* 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
|
||||
*/
|
||||
type: "module" | "commonjs" | "builtin" | "network";
|
||||
}
|
||||
interface ViteFetchResult {
|
||||
/**
|
||||
* Code that will be evaluated by vite runner
|
||||
* by default this will be wrapped in an async function
|
||||
*/
|
||||
* Code that will be evaluated by vite runner
|
||||
* by default this will be wrapped in an async function
|
||||
*/
|
||||
code: string;
|
||||
/**
|
||||
* File path of the module on disk.
|
||||
* This will be resolved as import.meta.url/filename
|
||||
* Will be equal to `null` for virtual modules
|
||||
*/
|
||||
* File path of the module on disk.
|
||||
* This will be resolved as import.meta.url/filename
|
||||
* Will be equal to `null` for virtual modules
|
||||
*/
|
||||
file: string | null;
|
||||
/**
|
||||
* Module ID in the server module graph.
|
||||
*/
|
||||
* Module ID in the server module graph.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Module URL used in the import.
|
||||
*/
|
||||
* Module URL used in the import.
|
||||
*/
|
||||
url: string;
|
||||
/**
|
||||
* Invalidate module on the client side.
|
||||
*/
|
||||
* Invalidate module on the client side.
|
||||
*/
|
||||
invalidate: boolean;
|
||||
}
|
||||
type InvokeMethods = {
|
||||
fetchModule: (id: string, importer?: string, options?: FetchFunctionOptions) => Promise<FetchResult>;
|
||||
getBuiltins: () => Promise<Array<{
|
||||
type: "string";
|
||||
value: string;
|
||||
} | {
|
||||
type: "RegExp";
|
||||
source: string;
|
||||
flags: string;
|
||||
}>>;
|
||||
};
|
||||
//#endregion
|
||||
//#region src/shared/moduleRunnerTransport.d.ts
|
||||
@@ -61,8 +69,8 @@ type ModuleRunnerTransportHandlers = {
|
||||
onDisconnection: () => void;
|
||||
};
|
||||
/**
|
||||
* "send and connect" or "invoke" must be implemented
|
||||
*/
|
||||
* "send and connect" or "invoke" must be implemented
|
||||
*/
|
||||
interface ModuleRunnerTransport {
|
||||
connect?(handlers: ModuleRunnerTransportHandlers): Promise<void> | void;
|
||||
disconnect?(): Promise<void> | void;
|
||||
@@ -85,4 +93,4 @@ declare const createWebSocketModuleRunnerTransport: (options: {
|
||||
pingInterval?: number;
|
||||
}) => Required<Pick<ModuleRunnerTransport, "connect" | "disconnect" | "send">>;
|
||||
//#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
-1
@@ -1,4 +1,4 @@
|
||||
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 };
|
||||
+22
-22
@@ -1,8 +1,8 @@
|
||||
import { __commonJS, __require } from "./chunk.js";
|
||||
import { require_lib } from "./lib.js";
|
||||
import { i as __require, t as __commonJSMin } from "./chunk.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
|
||||
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) {
|
||||
const parts = [];
|
||||
if (typeof layer !== "undefined") {
|
||||
@@ -14,11 +14,11 @@ var require_format_import_prelude = /* @__PURE__ */ __commonJS({ "../../node_mod
|
||||
if (typeof media !== "undefined") parts.push(media);
|
||||
return parts.join(" ");
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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();
|
||||
module.exports = function base64EncodedConditionalImport$1(prelude, conditions) {
|
||||
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)}`;
|
||||
return params;
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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();
|
||||
module.exports = function applyConditions$1(bundle, atRule) {
|
||||
const firstImportStatementIndex = bundle.findIndex((stmt) => stmt.type === "import");
|
||||
@@ -104,11 +104,11 @@ var require_apply_conditions = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
||||
delete stmt.node;
|
||||
});
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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) {
|
||||
bundle.forEach((stmt, index) => {
|
||||
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";
|
||||
});
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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) {
|
||||
styles.nodes = [];
|
||||
bundle.forEach((stmt) => {
|
||||
@@ -140,11 +140,11 @@ var require_apply_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
||||
});
|
||||
});
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 base64DataURLRegexp = /^data:text\/css;base64,/i;
|
||||
const plainDataURLRegexp = /^data:text\/css;plain,/i;
|
||||
@@ -160,11 +160,11 @@ var require_data_url = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
|
||||
isValid,
|
||||
contents
|
||||
};
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 { stringify } = valueParser;
|
||||
module.exports = function parseStatements$1(result, styles, conditions, from) {
|
||||
@@ -286,11 +286,11 @@ var require_parse_statements = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
||||
from
|
||||
};
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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");
|
||||
let sugarss;
|
||||
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);
|
||||
});
|
||||
}
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 dataURL = require_data_url();
|
||||
const parseStatements = require_parse_statements();
|
||||
@@ -425,11 +425,11 @@ var require_parse_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
||||
return true;
|
||||
}
|
||||
module.exports = parseStyles$1;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
//#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 applyConditions = require_apply_conditions();
|
||||
const applyRaws = require_apply_raws();
|
||||
@@ -471,7 +471,7 @@ var require_postcss_import = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
||||
}
|
||||
AtImport.postcss = true;
|
||||
module.exports = AtImport;
|
||||
}) });
|
||||
}));
|
||||
|
||||
//#endregion
|
||||
export default require_postcss_import();
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import "./logger.js";
|
||||
import { preview, resolvePreviewOptions } from "./config.js";
|
||||
import { d as resolvePreviewOptions, u as preview } from "./config.js";
|
||||
|
||||
export { preview };
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
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 };
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { __toESM } from "./chunks/chunk.js";
|
||||
import { VERSION, createLogger, require_picocolors } from "./chunks/logger.js";
|
||||
import { s as __toESM } from "./chunks/chunk.js";
|
||||
import { N as VERSION, R as require_picocolors, n as createLogger } from "./chunks/logger.js";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { performance } from "node:perf_hooks";
|
||||
|
||||
+1338
-1253
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -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 { 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 { 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 { 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 { version as esbuildVersion } from "esbuild";
|
||||
|
||||
|
||||
+82
-78
@@ -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 { HotPayload, Update } from "#types/hmrPayload";
|
||||
import { InferCustomEventPayload } from "#types/customEvent";
|
||||
@@ -17,6 +17,7 @@ declare class DecodedMap {
|
||||
_decoded: undefined | number[][][];
|
||||
_decodedMemo: Stats;
|
||||
url: string;
|
||||
file: string;
|
||||
version: number;
|
||||
names: string[];
|
||||
resolvedSources: string[];
|
||||
@@ -62,10 +63,10 @@ declare class HMRClient {
|
||||
private updateQueue;
|
||||
private pendingUpdateQueue;
|
||||
/**
|
||||
* buffer multiple hot updates triggered by the same src change
|
||||
* so that they are invoked in the same order they were sent.
|
||||
* (otherwise the order may be inconsistent because of the http request round trip)
|
||||
*/
|
||||
* buffer multiple hot updates triggered by the same src change
|
||||
* so that they are invoked in the same order they were sent.
|
||||
* (otherwise the order may be inconsistent because of the http request round trip)
|
||||
*/
|
||||
queueUpdate(payload: Update): Promise<void>;
|
||||
private fetchUpdate;
|
||||
}
|
||||
@@ -73,14 +74,14 @@ declare class HMRClient {
|
||||
//#region src/shared/ssrTransform.d.ts
|
||||
interface DefineImportMetadata {
|
||||
/**
|
||||
* Imported names before being transformed to `ssrImportKey`
|
||||
*
|
||||
* import foo, { bar as baz, qux } from 'hello'
|
||||
* => ['default', 'bar', 'qux']
|
||||
*
|
||||
* import * as namespace from 'world
|
||||
* => undefined
|
||||
*/
|
||||
* Imported names before being transformed to `ssrImportKey`
|
||||
*
|
||||
* import foo, { bar as baz, qux } from 'hello'
|
||||
* => ['default', 'bar', 'qux']
|
||||
*
|
||||
* import * as namespace from 'world
|
||||
* => undefined
|
||||
*/
|
||||
importedNames?: string[];
|
||||
}
|
||||
interface SSRImportMetadata extends DefineImportMetadata {
|
||||
@@ -108,30 +109,33 @@ declare class ModuleRunner {
|
||||
private readonly transport;
|
||||
private readonly resetSourceMapSupport?;
|
||||
private readonly concurrentModuleNodePromises;
|
||||
private isBuiltin?;
|
||||
private builtinsPromise?;
|
||||
private closed;
|
||||
constructor(options: ModuleRunnerOptions, evaluator?: ModuleEvaluator, debug?: ModuleRunnerDebugger | undefined);
|
||||
/**
|
||||
* URL to execute. Accepts file path, server path or id relative to the root.
|
||||
*/
|
||||
* URL to execute. Accepts file path, server path or id relative to the root.
|
||||
*/
|
||||
import<T = any>(url: string): Promise<T>;
|
||||
/**
|
||||
* Clear all caches including HMR listeners.
|
||||
*/
|
||||
* Clear all caches including HMR listeners.
|
||||
*/
|
||||
clearCache(): void;
|
||||
/**
|
||||
* Clears all caches, removes all HMR listeners, and resets source map support.
|
||||
* This method doesn't stop the HMR connection.
|
||||
*/
|
||||
* Clears all caches, removes all HMR listeners, and resets source map support.
|
||||
* This method doesn't stop the HMR connection.
|
||||
*/
|
||||
close(): Promise<void>;
|
||||
/**
|
||||
* Returns `true` if the runtime has been closed by calling `close()` method.
|
||||
*/
|
||||
* Returns `true` if the runtime has been closed by calling `close()` method.
|
||||
*/
|
||||
isClosed(): boolean;
|
||||
private processImport;
|
||||
private isCircularModule;
|
||||
private isCircularImport;
|
||||
private cachedRequest;
|
||||
private cachedModule;
|
||||
private ensureBuiltins;
|
||||
private getModuleInformation;
|
||||
protected directRequest(url: string, mod: EvaluatedModuleNode, _callstack: string[]): Promise<any>;
|
||||
}
|
||||
@@ -168,20 +172,20 @@ interface ModuleRunnerContext {
|
||||
}
|
||||
interface ModuleEvaluator {
|
||||
/**
|
||||
* Number of prefixed lines in the transformed code.
|
||||
*/
|
||||
* Number of prefixed lines in the transformed code.
|
||||
*/
|
||||
startOffset?: number;
|
||||
/**
|
||||
* Run code that was transformed by Vite.
|
||||
* @param context Function context
|
||||
* @param code Transformed code
|
||||
* @param module The module node
|
||||
*/
|
||||
* Run code that was transformed by Vite.
|
||||
* @param context Function context
|
||||
* @param code Transformed code
|
||||
* @param module The module node
|
||||
*/
|
||||
runInlinedModule(context: ModuleRunnerContext, code: string, module: Readonly<EvaluatedModuleNode>): Promise<any>;
|
||||
/**
|
||||
* Run externalized module.
|
||||
* @param file File URL to the external module
|
||||
*/
|
||||
* Run externalized module.
|
||||
* @param file File URL to the external module
|
||||
*/
|
||||
runExternalModule(file: string): Promise<any>;
|
||||
}
|
||||
type ResolvedResult = (ExternalFetchResult | ViteFetchResult) & {
|
||||
@@ -191,36 +195,36 @@ type ResolvedResult = (ExternalFetchResult | ViteFetchResult) & {
|
||||
type FetchFunction = (id: string, importer?: string, options?: FetchFunctionOptions) => Promise<FetchResult>;
|
||||
interface ModuleRunnerHmr {
|
||||
/**
|
||||
* Configure HMR logger.
|
||||
*/
|
||||
* Configure HMR logger.
|
||||
*/
|
||||
logger?: false | HMRLogger;
|
||||
}
|
||||
interface ModuleRunnerOptions {
|
||||
/**
|
||||
* A set of methods to communicate with the server.
|
||||
*/
|
||||
* A set of methods to communicate with the server.
|
||||
*/
|
||||
transport: ModuleRunnerTransport;
|
||||
/**
|
||||
* Configure how source maps are resolved. Prefers `node` if `process.setSourceMapsEnabled` is available.
|
||||
* 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.
|
||||
*/
|
||||
sourcemapInterceptor?: false | 'node' | 'prepareStackTrace' | InterceptorOptions;
|
||||
* Configure how source maps are resolved. Prefers `node` if `process.setSourceMapsEnabled` is available.
|
||||
* 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.
|
||||
*/
|
||||
sourcemapInterceptor?: false | "node" | "prepareStackTrace" | InterceptorOptions;
|
||||
/**
|
||||
* Disable HMR or configure HMR options.
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
* Disable HMR or configure HMR options.
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
hmr?: boolean | ModuleRunnerHmr;
|
||||
/**
|
||||
* Create import.meta object for the module.
|
||||
*
|
||||
* @default createDefaultImportMeta
|
||||
*/
|
||||
* Create import.meta object for the module.
|
||||
*
|
||||
* @default createDefaultImportMeta
|
||||
*/
|
||||
createImportMeta?: (modulePath: string) => ModuleRunnerImportMeta | Promise<ModuleRunnerImportMeta>;
|
||||
/**
|
||||
* Custom module cache. If not provided, creates a separate module cache for each ModuleRunner instance.
|
||||
*/
|
||||
* Custom module cache. If not provided, creates a separate module cache for each ModuleRunner instance.
|
||||
*/
|
||||
evaluatedModules?: EvaluatedModules;
|
||||
}
|
||||
interface ImportMetaEnv {
|
||||
@@ -251,40 +255,40 @@ declare class EvaluatedModules {
|
||||
readonly fileToModulesMap: Map<string, Set<EvaluatedModuleNode>>;
|
||||
readonly urlToIdModuleMap: Map<string, EvaluatedModuleNode>;
|
||||
/**
|
||||
* Returns the module node by the resolved module ID. Usually, module ID is
|
||||
* the file system path with query and/or hash. It can also be a virtual module.
|
||||
*
|
||||
* Module runner graph will have 1 to 1 mapping with the server module graph.
|
||||
* @param id Resolved module ID
|
||||
*/
|
||||
* Returns the module node by the resolved module ID. Usually, module ID is
|
||||
* the file system path with query and/or hash. It can also be a virtual module.
|
||||
*
|
||||
* Module runner graph will have 1 to 1 mapping with the server module graph.
|
||||
* @param id Resolved module ID
|
||||
*/
|
||||
getModuleById(id: string): EvaluatedModuleNode | undefined;
|
||||
/**
|
||||
* Returns all modules related to the file system path. Different modules
|
||||
* might have different query parameters or hash, so it's possible to have
|
||||
* multiple modules for the same file.
|
||||
* @param file The file system path of the module
|
||||
*/
|
||||
* Returns all modules related to the file system path. Different modules
|
||||
* might have different query parameters or hash, so it's possible to have
|
||||
* multiple modules for the same file.
|
||||
* @param file The file system path of the module
|
||||
*/
|
||||
getModulesByFile(file: string): Set<EvaluatedModuleNode> | undefined;
|
||||
/**
|
||||
* Returns the module node by the URL that was used in the import statement.
|
||||
* Unlike module graph on the server, the URL is not resolved and is used as is.
|
||||
* @param url Server URL that was used in the import statement
|
||||
*/
|
||||
* Returns the module node by the URL that was used in the import statement.
|
||||
* Unlike module graph on the server, the URL is not resolved and is used as is.
|
||||
* @param url Server URL that was used in the import statement
|
||||
*/
|
||||
getModuleByUrl(url: string): EvaluatedModuleNode | undefined;
|
||||
/**
|
||||
* Ensure that module is in the graph. If the module is already in the graph,
|
||||
* it will return the existing module node. Otherwise, it will create a new
|
||||
* module node and add it to the graph.
|
||||
* @param id Resolved module ID
|
||||
* @param url URL that was used in the import statement
|
||||
*/
|
||||
* Ensure that module is in the graph. If the module is already in the graph,
|
||||
* it will return the existing module node. Otherwise, it will create a new
|
||||
* module node and add it to the graph.
|
||||
* @param id Resolved module ID
|
||||
* @param url URL that was used in the import statement
|
||||
*/
|
||||
ensureModule(id: string, url: string): EvaluatedModuleNode;
|
||||
invalidateModule(node: EvaluatedModuleNode): void;
|
||||
/**
|
||||
* Extracts the inlined source map from the module code and returns the decoded
|
||||
* source map. If the source map is not inlined, it will return null.
|
||||
* @param id Resolved module ID
|
||||
*/
|
||||
* Extracts the inlined source map from the module code and returns the decoded
|
||||
* source map. If the source map is not inlined, it will return null.
|
||||
* @param id Resolved module ID
|
||||
*/
|
||||
getModuleSourceMapById(id: string): DecodedMap | null;
|
||||
clear(): void;
|
||||
}
|
||||
@@ -300,8 +304,8 @@ declare class ESModulesEvaluator implements ModuleEvaluator {
|
||||
//#region src/module-runner/createImportMeta.d.ts
|
||||
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>;
|
||||
//#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 };
|
||||
+47
-13
@@ -216,13 +216,16 @@ var DecodedMap = class {
|
||||
_decoded;
|
||||
_decodedMemo;
|
||||
url;
|
||||
file;
|
||||
version;
|
||||
names = [];
|
||||
resolvedSources;
|
||||
constructor(map, from) {
|
||||
this.map = 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() {
|
||||
@@ -619,7 +622,12 @@ const createInvokeableTransport = (transport) => {
|
||||
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,
|
||||
error: noop
|
||||
}, hmrLogger = {
|
||||
@@ -917,11 +925,17 @@ export async function resolve(specifier, context, nextResolve) {
|
||||
specifier = parsedSpecifier
|
||||
context.parentURL = parsedImporter
|
||||
}
|
||||
|
||||
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() {
|
||||
let module;
|
||||
try {
|
||||
@@ -929,17 +943,24 @@ async function createImportMetaResolver() {
|
||||
} catch {
|
||||
return;
|
||||
}
|
||||
if (module?.register) {
|
||||
try {
|
||||
let hookModuleContent = `data:text/javascript,${encodeURI(customizationHooksModule)}`;
|
||||
module.register(hookModuleContent);
|
||||
} catch (e) {
|
||||
if ("code" in e && e.code === "ERR_NETWORK_IMPORT_DISALLOWED") return;
|
||||
throw e;
|
||||
if (module) {
|
||||
if (module.registerHooks) return module.registerHooks({ resolve: customizationHookResolve }), importMetaResolveWithCustomHook;
|
||||
if (module.register) {
|
||||
try {
|
||||
let hookModuleContent = `data:text/javascript,${encodeURI(customizationHooksModule)}`;
|
||||
module.register(hookModuleContent);
|
||||
} catch (e) {
|
||||
if ("code" in e && e.code === "ERR_NETWORK_IMPORT_DISALLOWED") return;
|
||||
throw e;
|
||||
}
|
||||
return importMetaResolveWithCustomHook;
|
||||
}
|
||||
return (specifier, importer) => import.meta.resolve(`${customizationHookNamespace}${JSON.stringify([specifier, importer])}`);
|
||||
}
|
||||
}
|
||||
function importMetaResolveWithCustomHook(specifier, importer) {
|
||||
return import.meta.resolve(`${customizationHookNamespace}${JSON.stringify([specifier, importer])}`);
|
||||
}
|
||||
`${customizationHookNamespace}`;
|
||||
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.`);
|
||||
} });
|
||||
@@ -977,6 +998,8 @@ var ModuleRunner = class {
|
||||
transport;
|
||||
resetSourceMapSupport;
|
||||
concurrentModuleNodePromises = /* @__PURE__ */ new Map();
|
||||
isBuiltin;
|
||||
builtinsPromise;
|
||||
closed = !1;
|
||||
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) {
|
||||
@@ -1043,10 +1066,21 @@ var ModuleRunner = class {
|
||||
}
|
||||
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) {
|
||||
if (this.closed) throw Error("Vite module runner has been closed.");
|
||||
this.debug?.("[module runner] fetching", url);
|
||||
let isCached = !!(typeof cachedModule == "object" && cachedModule.meta), fetchedModule = url.startsWith("data:") ? {
|
||||
await this.ensureBuiltins(), this.debug?.("[module runner] fetching", url);
|
||||
let isCached = !!(typeof cachedModule == "object" && cachedModule.meta), fetchedModule = url.startsWith("data:") || this.isBuiltin?.(url) ? {
|
||||
externalize: url,
|
||||
type: "builtin"
|
||||
} : await this.transport.invoke("fetchModule", [
|
||||
|
||||
+1
-1
@@ -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,
|
||||
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).
|
||||
|
||||
## Usage
|
||||
|
||||
Generated
Vendored
+136
-152
@@ -1,4 +1,5 @@
|
||||
//#region rolldown:runtime
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
//#region \0rolldown/runtime.js
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
@@ -19,51 +20,45 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
||||
value: mod,
|
||||
enumerable: true
|
||||
}) : target, mod));
|
||||
|
||||
//#endregion
|
||||
let fs = require("fs");
|
||||
fs = __toESM(fs);
|
||||
let path = require("path");
|
||||
path = __toESM(path);
|
||||
let url = require("url");
|
||||
url = __toESM(url);
|
||||
let fdir = require("fdir");
|
||||
fdir = __toESM(fdir);
|
||||
let picomatch = require("picomatch");
|
||||
picomatch = __toESM(picomatch);
|
||||
|
||||
//#region src/utils.ts
|
||||
const isReadonlyArray = Array.isArray;
|
||||
const BACKSLASHES = /\\/g;
|
||||
const isWin = process.platform === "win32";
|
||||
const ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
|
||||
function getPartialMatcher(patterns, options = {}) {
|
||||
const patternsCount = patterns.length;
|
||||
const patternsParts = Array(patternsCount);
|
||||
const matchers = Array(patternsCount);
|
||||
const globstarEnabled = !options.noglobstar;
|
||||
for (let i = 0; i < patternsCount; i++) {
|
||||
let i, j;
|
||||
for (i = 0; i < patternsCount; i++) {
|
||||
const parts = splitPattern(patterns[i]);
|
||||
patternsParts[i] = parts;
|
||||
const partsCount = parts.length;
|
||||
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;
|
||||
}
|
||||
return (input) => {
|
||||
const inputParts = input.split("/");
|
||||
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 matcher = matchers[i];
|
||||
const inputPatternCount = inputParts.length;
|
||||
const minParts = Math.min(inputPatternCount, patternParts.length);
|
||||
let j = 0;
|
||||
j = 0;
|
||||
while (j < minParts) {
|
||||
const part = patternParts[j];
|
||||
if (part.includes("/")) return true;
|
||||
const match = matcher[j](inputParts[j]);
|
||||
if (!match) break;
|
||||
if (globstarEnabled && part === "**") return true;
|
||||
if (!matcher[j](inputParts[j])) break;
|
||||
if (!options.noglobstar && part === "**") return true;
|
||||
j++;
|
||||
}
|
||||
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) {
|
||||
if (cwd === root || root.startsWith(`${cwd}/`)) {
|
||||
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) || ".";
|
||||
}
|
||||
const prefix = root.slice(cwd.length + 1);
|
||||
@@ -98,22 +93,21 @@ function buildRelative(cwd, root) {
|
||||
}
|
||||
return (p) => {
|
||||
const result = path.posix.relative(cwd, `${root}/${p}`);
|
||||
if (p.endsWith("/") && result !== "") return `${result}/`;
|
||||
return result || ".";
|
||||
return p[p.length - 1] === "/" && result !== "" ? `${result}/` : result || ".";
|
||||
};
|
||||
}
|
||||
const splitPatternOptions = { parts: true };
|
||||
function splitPattern(path$2) {
|
||||
function splitPattern(path$1) {
|
||||
var _result$parts;
|
||||
const result = picomatch.default.scan(path$2, splitPatternOptions);
|
||||
return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path$2];
|
||||
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$1];
|
||||
}
|
||||
const ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
|
||||
function convertPosixPathToPattern(path$2) {
|
||||
return escapePosixPath(path$2);
|
||||
}
|
||||
function convertWin32PathToPattern(path$2) {
|
||||
return escapeWin32Path(path$2).replace(ESCAPED_WIN32_BACKSLASHES, "/");
|
||||
function convertWin32PathToPattern(path$3) {
|
||||
return escapeWin32Path(path$3).replace(ESCAPED_WIN32_BACKSLASHES, "/");
|
||||
}
|
||||
/**
|
||||
* Converts a path to a pattern depending on the platform.
|
||||
@@ -124,8 +118,8 @@ function convertWin32PathToPattern(path$2) {
|
||||
const convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern;
|
||||
const POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g;
|
||||
const WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g;
|
||||
const escapePosixPath = (path$2) => path$2.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
||||
const escapeWin32Path = (path$2) => path$2.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
||||
const escapePosixPath = (path$4) => path$4.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
||||
const escapeWin32Path = (path$5) => path$5.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
||||
/**
|
||||
* Escapes a path's special characters depending on the platform.
|
||||
* @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath}
|
||||
@@ -152,31 +146,33 @@ function isDynamicPattern(pattern, options) {
|
||||
function log(...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
|
||||
//#region src/index.ts
|
||||
//#region src/patterns.ts
|
||||
const PARENT_DIRECTORY = /^(\/?\.\.)+/;
|
||||
const ESCAPING_BACKSLASHES = /\\(?=[()[\]{}!*+?@|])/g;
|
||||
const BACKSLASHES = /\\/g;
|
||||
function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
|
||||
function normalizePattern(pattern, opts, props, isIgnore) {
|
||||
var _PARENT_DIRECTORY$exe;
|
||||
const cwd = opts.cwd;
|
||||
let result = pattern;
|
||||
if (pattern.endsWith("/")) result = pattern.slice(0, -1);
|
||||
if (!result.endsWith("*") && expandDirectories) result += "/**";
|
||||
if (pattern[pattern.length - 1] === "/") result = pattern.slice(0, -1);
|
||||
if (result[result.length - 1] !== "*" && opts.expandDirectories) result += "/**";
|
||||
const escapedCwd = escapePath(cwd);
|
||||
if (path.default.isAbsolute(result.replace(ESCAPING_BACKSLASHES, ""))) result = path.posix.relative(escapedCwd, result);
|
||||
else result = path.posix.normalize(result);
|
||||
const parentDirectoryMatch = PARENT_DIRECTORY.exec(result);
|
||||
result = (0, path.isAbsolute)(result.replace(ESCAPING_BACKSLASHES, "")) ? path.posix.relative(escapedCwd, 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 parts = splitPattern(result);
|
||||
if (parentDirectoryMatch === null || parentDirectoryMatch === void 0 ? void 0 : parentDirectoryMatch[0]) {
|
||||
const n = (parentDirectoryMatch[0].length + 1) / 3;
|
||||
if (parentDir) {
|
||||
const n = (parentDir.length + 1) / 3;
|
||||
let i = 0;
|
||||
const cwdParts = escapedCwd.split("/");
|
||||
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) || ".";
|
||||
i++;
|
||||
}
|
||||
const potentialRoot = path.posix.join(cwd, parentDirectoryMatch[0].slice(i * 3));
|
||||
if (!potentialRoot.startsWith(".") && props.root.length > potentialRoot.length) {
|
||||
const potentialRoot = path.posix.join(cwd, parentDir.slice(i * 3));
|
||||
if (potentialRoot[0] !== "." && props.root.length > potentialRoot.length) {
|
||||
props.root = potentialRoot;
|
||||
props.depthOffset = -n + i;
|
||||
}
|
||||
@@ -192,7 +188,7 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
|
||||
newCommonPath.pop();
|
||||
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);
|
||||
}
|
||||
props.depthOffset = newCommonPath.length;
|
||||
@@ -201,150 +197,138 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function processPatterns({ patterns = ["**/*"], ignore = [], expandDirectories = true }, cwd, props) {
|
||||
if (typeof patterns === "string") patterns = [patterns];
|
||||
if (typeof ignore === "string") ignore = [ignore];
|
||||
function processPatterns(options, patterns, props) {
|
||||
const matchPatterns = [];
|
||||
const ignorePatterns = [];
|
||||
for (const pattern of ignore) {
|
||||
for (const pattern of options.ignore) {
|
||||
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) {
|
||||
if (!pattern) continue;
|
||||
if (pattern[0] !== "!" || pattern[1] === "(") matchPatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, false));
|
||||
else if (pattern[1] !== "!" || pattern[2] === "(") ignorePatterns.push(normalizePattern(pattern.slice(1), expandDirectories, cwd, props, true));
|
||||
if (pattern[0] !== "!" || pattern[1] === "(") matchPatterns.push(normalizePattern(pattern, options, props, false));
|
||||
else if (pattern[1] !== "!" || pattern[2] === "(") ignorePatterns.push(normalizePattern(pattern.slice(1), options, props, true));
|
||||
}
|
||||
return {
|
||||
match: matchPatterns,
|
||||
ignore: ignorePatterns
|
||||
};
|
||||
}
|
||||
function formatPaths(paths, relative) {
|
||||
for (let i = paths.length - 1; i >= 0; i--) {
|
||||
const path$2 = paths[i];
|
||||
paths[i] = relative(path$2);
|
||||
}
|
||||
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];
|
||||
//#endregion
|
||||
//#region src/crawler.ts
|
||||
function buildCrawler(options, patterns) {
|
||||
const cwd = options.cwd;
|
||||
const props = {
|
||||
root: cwd,
|
||||
commonPath: null,
|
||||
depthOffset: 0
|
||||
};
|
||||
const processed = processPatterns({
|
||||
...options,
|
||||
patterns
|
||||
}, cwd, props);
|
||||
const processed = processPatterns(options, patterns, props);
|
||||
if (options.debug) log("internal processing patterns:", processed);
|
||||
const { absolute, caseSensitiveMatch, debug, dot, followSymbolicLinks, onlyDirectories } = options;
|
||||
const root = props.root.replace(BACKSLASHES, "");
|
||||
const matchOptions = {
|
||||
dot: options.dot,
|
||||
dot,
|
||||
nobrace: options.braceExpansion === false,
|
||||
nocase: options.caseSensitiveMatch === false,
|
||||
nocase: !caseSensitiveMatch,
|
||||
noextglob: options.extglob === false,
|
||||
noglobstar: options.globstar === false,
|
||||
posix: true
|
||||
};
|
||||
const matcher = (0, picomatch.default)(processed.match, {
|
||||
...matchOptions,
|
||||
ignore: processed.ignore
|
||||
});
|
||||
const matcher = (0, picomatch.default)(processed.match, matchOptions);
|
||||
const ignore = (0, picomatch.default)(processed.ignore, matchOptions);
|
||||
const partialMatcher = getPartialMatcher(processed.match, matchOptions);
|
||||
const format = buildFormat(cwd, props.root, options.absolute);
|
||||
const formatExclude = options.absolute ? format : buildFormat(cwd, props.root, true);
|
||||
const fdirOptions = {
|
||||
filters: [options.debug ? (p, isDirectory) => {
|
||||
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);
|
||||
},
|
||||
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
|
||||
const format = buildFormat(cwd, root, absolute);
|
||||
const excludeFormatter = absolute ? format : buildFormat(cwd, root, true);
|
||||
const excludePredicate = (_, p) => {
|
||||
const relativePath = excludeFormatter(p, true);
|
||||
return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
|
||||
};
|
||||
if (options.deep !== void 0) fdirOptions.maxDepth = Math.round(options.deep - props.depthOffset);
|
||||
if (options.absolute) {
|
||||
fdirOptions.relativePaths = false;
|
||||
fdirOptions.resolvePaths = true;
|
||||
fdirOptions.includeBasePath = true;
|
||||
}
|
||||
if (options.followSymbolicLinks === false) {
|
||||
fdirOptions.resolveSymlinks = false;
|
||||
fdirOptions.excludeSymlinks = true;
|
||||
}
|
||||
if (options.onlyDirectories) {
|
||||
fdirOptions.excludeFiles = true;
|
||||
fdirOptions.includeDirs = true;
|
||||
} else if (options.onlyFiles === false) fdirOptions.includeDirs = true;
|
||||
props.root = props.root.replace(BACKSLASHES, "");
|
||||
const root = props.root;
|
||||
if (options.debug) log("internal properties:", props);
|
||||
const relative = cwd !== root && !options.absolute && buildRelative(cwd, props.root);
|
||||
return [new fdir.fdir(fdirOptions).crawl(root), relative];
|
||||
let maxDepth;
|
||||
if (options.deep !== void 0) maxDepth = Math.round(options.deep - props.depthOffset);
|
||||
const crawler = new fdir.fdir({
|
||||
filters: [debug ? (p, isDirectory) => {
|
||||
const path = format(p, isDirectory);
|
||||
const matches = matcher(path) && !ignore(path);
|
||||
if (matches) log(`matched ${path}`);
|
||||
return matches;
|
||||
} : (p, isDirectory) => {
|
||||
const path = format(p, isDirectory);
|
||||
return matcher(path) && !ignore(path);
|
||||
}],
|
||||
exclude: debug ? (_, p) => {
|
||||
const skipped = excludePredicate(_, p);
|
||||
log(`${skipped ? "skipped" : "crawling"} ${p}`);
|
||||
return skipped;
|
||||
} : excludePredicate,
|
||||
fs: options.fs,
|
||||
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) {
|
||||
if (patternsOrOptions && (options === null || options === void 0 ? void 0 : options.patterns)) throw new Error("Cannot pass patterns as both an argument and an option");
|
||||
const isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions === "string";
|
||||
const opts = isModern ? options : patternsOrOptions;
|
||||
const patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns;
|
||||
const [crawler, relative] = getCrawler(patterns, opts);
|
||||
if (!relative) return crawler.withPromise();
|
||||
return formatPaths(await crawler.withPromise(), relative);
|
||||
//#endregion
|
||||
//#region src/index.ts
|
||||
function formatPaths(paths, mapper) {
|
||||
if (mapper) for (let i = paths.length - 1; i >= 0; i--) paths[i] = mapper(paths[i]);
|
||||
return paths;
|
||||
}
|
||||
function globSync(patternsOrOptions, options) {
|
||||
if (patternsOrOptions && (options === null || options === void 0 ? void 0 : options.patterns)) throw new Error("Cannot pass patterns as both an argument and an option");
|
||||
const isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions === "string";
|
||||
const opts = isModern ? options : patternsOrOptions;
|
||||
const patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns;
|
||||
const [crawler, relative] = getCrawler(patterns, opts);
|
||||
if (!relative) return crawler.sync();
|
||||
return formatPaths(crawler.sync(), relative);
|
||||
const defaultOptions = {
|
||||
caseSensitiveMatch: true,
|
||||
cwd: process.cwd(),
|
||||
debug: !!process.env.TINYGLOBBY_DEBUG,
|
||||
expandDirectories: true,
|
||||
followSymbolicLinks: true,
|
||||
onlyFiles: true
|
||||
};
|
||||
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
|
||||
exports.convertPathToPattern = convertPathToPattern;
|
||||
exports.escapePath = escapePath;
|
||||
exports.glob = glob;
|
||||
exports.globSync = globSync;
|
||||
exports.isDynamicPattern = isDynamicPattern;
|
||||
exports.isDynamicPattern = isDynamicPattern;
|
||||
|
||||
Generated
Vendored
+33
-32
@@ -1,35 +1,7 @@
|
||||
import { FSLike } from "fdir";
|
||||
|
||||
//#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
|
||||
//#region src/types.d.ts
|
||||
type FileSystemAdapter = Partial<FSLike>;
|
||||
interface GlobOptions {
|
||||
/**
|
||||
* Whether to return absolute paths. Disable to have relative paths.
|
||||
@@ -124,7 +96,36 @@ interface GlobOptions {
|
||||
*/
|
||||
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.
|
||||
* @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[];
|
||||
//#endregion
|
||||
export { FileSystemAdapter, GlobOptions, convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
|
||||
export { type GlobOptions, convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
|
||||
Generated
Vendored
+33
-32
@@ -1,35 +1,7 @@
|
||||
import { FSLike } from "fdir";
|
||||
|
||||
//#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
|
||||
//#region src/types.d.ts
|
||||
type FileSystemAdapter = Partial<FSLike>;
|
||||
interface GlobOptions {
|
||||
/**
|
||||
* Whether to return absolute paths. Disable to have relative paths.
|
||||
@@ -124,7 +96,36 @@ interface GlobOptions {
|
||||
*/
|
||||
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.
|
||||
* @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[];
|
||||
//#endregion
|
||||
export { FileSystemAdapter, GlobOptions, convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
|
||||
export { type GlobOptions, convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
|
||||
Generated
Vendored
+140
-152
@@ -1,41 +1,40 @@
|
||||
import nativeFs from "fs";
|
||||
import path, { posix } from "path";
|
||||
import { readdir, readdirSync, realpath, realpathSync, stat, statSync } from "fs";
|
||||
import { isAbsolute, posix, resolve } from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { fdir } from "fdir";
|
||||
import picomatch from "picomatch";
|
||||
|
||||
//#region src/utils.ts
|
||||
const isReadonlyArray = Array.isArray;
|
||||
const BACKSLASHES = /\\/g;
|
||||
const isWin = process.platform === "win32";
|
||||
const ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
|
||||
function getPartialMatcher(patterns, options = {}) {
|
||||
const patternsCount = patterns.length;
|
||||
const patternsParts = Array(patternsCount);
|
||||
const matchers = Array(patternsCount);
|
||||
const globstarEnabled = !options.noglobstar;
|
||||
for (let i = 0; i < patternsCount; i++) {
|
||||
let i, j;
|
||||
for (i = 0; i < patternsCount; i++) {
|
||||
const parts = splitPattern(patterns[i]);
|
||||
patternsParts[i] = parts;
|
||||
const partsCount = parts.length;
|
||||
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;
|
||||
}
|
||||
return (input) => {
|
||||
const inputParts = input.split("/");
|
||||
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 matcher = matchers[i];
|
||||
const inputPatternCount = inputParts.length;
|
||||
const minParts = Math.min(inputPatternCount, patternParts.length);
|
||||
let j = 0;
|
||||
j = 0;
|
||||
while (j < minParts) {
|
||||
const part = patternParts[j];
|
||||
if (part.includes("/")) return true;
|
||||
const match = matcher[j](inputParts[j]);
|
||||
if (!match) break;
|
||||
if (globstarEnabled && part === "**") return true;
|
||||
if (!matcher[j](inputParts[j])) break;
|
||||
if (!options.noglobstar && part === "**") return true;
|
||||
j++;
|
||||
}
|
||||
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) {
|
||||
if (cwd === root || root.startsWith(`${cwd}/`)) {
|
||||
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) || ".";
|
||||
}
|
||||
const prefix = root.slice(cwd.length + 1);
|
||||
@@ -70,22 +69,21 @@ function buildRelative(cwd, root) {
|
||||
}
|
||||
return (p) => {
|
||||
const result = posix.relative(cwd, `${root}/${p}`);
|
||||
if (p.endsWith("/") && result !== "") return `${result}/`;
|
||||
return result || ".";
|
||||
return p[p.length - 1] === "/" && result !== "" ? `${result}/` : result || ".";
|
||||
};
|
||||
}
|
||||
const splitPatternOptions = { parts: true };
|
||||
function splitPattern(path$1) {
|
||||
function splitPattern(path) {
|
||||
var _result$parts;
|
||||
const result = picomatch.scan(path$1, splitPatternOptions);
|
||||
return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path$1];
|
||||
const result = picomatch.scan(path, splitPatternOptions);
|
||||
return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path];
|
||||
}
|
||||
const ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
|
||||
function convertPosixPathToPattern(path$1) {
|
||||
return escapePosixPath(path$1);
|
||||
function convertPosixPathToPattern(path) {
|
||||
return escapePosixPath(path);
|
||||
}
|
||||
function convertWin32PathToPattern(path$1) {
|
||||
return escapeWin32Path(path$1).replace(ESCAPED_WIN32_BACKSLASHES, "/");
|
||||
function convertWin32PathToPattern(path) {
|
||||
return escapeWin32Path(path).replace(ESCAPED_WIN32_BACKSLASHES, "/");
|
||||
}
|
||||
/**
|
||||
* Converts a path to a pattern depending on the platform.
|
||||
@@ -96,8 +94,8 @@ function convertWin32PathToPattern(path$1) {
|
||||
const convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern;
|
||||
const POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g;
|
||||
const WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g;
|
||||
const escapePosixPath = (path$1) => path$1.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
||||
const escapeWin32Path = (path$1) => path$1.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
||||
const escapePosixPath = (path) => path.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
||||
const escapeWin32Path = (path) => path.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
||||
/**
|
||||
* Escapes a path's special characters depending on the platform.
|
||||
* @see {@link https://superchupu.dev/tinyglobby/documentation#escapePath}
|
||||
@@ -124,31 +122,33 @@ function isDynamicPattern(pattern, options) {
|
||||
function log(...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
|
||||
//#region src/index.ts
|
||||
//#region src/patterns.ts
|
||||
const PARENT_DIRECTORY = /^(\/?\.\.)+/;
|
||||
const ESCAPING_BACKSLASHES = /\\(?=[()[\]{}!*+?@|])/g;
|
||||
const BACKSLASHES = /\\/g;
|
||||
function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
|
||||
function normalizePattern(pattern, opts, props, isIgnore) {
|
||||
var _PARENT_DIRECTORY$exe;
|
||||
const cwd = opts.cwd;
|
||||
let result = pattern;
|
||||
if (pattern.endsWith("/")) result = pattern.slice(0, -1);
|
||||
if (!result.endsWith("*") && expandDirectories) result += "/**";
|
||||
if (pattern[pattern.length - 1] === "/") result = pattern.slice(0, -1);
|
||||
if (result[result.length - 1] !== "*" && opts.expandDirectories) result += "/**";
|
||||
const escapedCwd = escapePath(cwd);
|
||||
if (path.isAbsolute(result.replace(ESCAPING_BACKSLASHES, ""))) result = posix.relative(escapedCwd, result);
|
||||
else result = posix.normalize(result);
|
||||
const parentDirectoryMatch = PARENT_DIRECTORY.exec(result);
|
||||
result = isAbsolute(result.replace(ESCAPING_BACKSLASHES, "")) ? posix.relative(escapedCwd, 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 parts = splitPattern(result);
|
||||
if (parentDirectoryMatch === null || parentDirectoryMatch === void 0 ? void 0 : parentDirectoryMatch[0]) {
|
||||
const n = (parentDirectoryMatch[0].length + 1) / 3;
|
||||
if (parentDir) {
|
||||
const n = (parentDir.length + 1) / 3;
|
||||
let i = 0;
|
||||
const cwdParts = escapedCwd.split("/");
|
||||
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) || ".";
|
||||
i++;
|
||||
}
|
||||
const potentialRoot = posix.join(cwd, parentDirectoryMatch[0].slice(i * 3));
|
||||
if (!potentialRoot.startsWith(".") && props.root.length > potentialRoot.length) {
|
||||
const potentialRoot = posix.join(cwd, parentDir.slice(i * 3));
|
||||
if (potentialRoot[0] !== "." && props.root.length > potentialRoot.length) {
|
||||
props.root = potentialRoot;
|
||||
props.depthOffset = -n + i;
|
||||
}
|
||||
@@ -164,7 +164,7 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
|
||||
newCommonPath.pop();
|
||||
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);
|
||||
}
|
||||
props.depthOffset = newCommonPath.length;
|
||||
@@ -173,146 +173,134 @@ function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function processPatterns({ patterns = ["**/*"], ignore = [], expandDirectories = true }, cwd, props) {
|
||||
if (typeof patterns === "string") patterns = [patterns];
|
||||
if (typeof ignore === "string") ignore = [ignore];
|
||||
function processPatterns(options, patterns, props) {
|
||||
const matchPatterns = [];
|
||||
const ignorePatterns = [];
|
||||
for (const pattern of ignore) {
|
||||
for (const pattern of options.ignore) {
|
||||
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) {
|
||||
if (!pattern) continue;
|
||||
if (pattern[0] !== "!" || pattern[1] === "(") matchPatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, false));
|
||||
else if (pattern[1] !== "!" || pattern[2] === "(") ignorePatterns.push(normalizePattern(pattern.slice(1), expandDirectories, cwd, props, true));
|
||||
if (pattern[0] !== "!" || pattern[1] === "(") matchPatterns.push(normalizePattern(pattern, options, props, false));
|
||||
else if (pattern[1] !== "!" || pattern[2] === "(") ignorePatterns.push(normalizePattern(pattern.slice(1), options, props, true));
|
||||
}
|
||||
return {
|
||||
match: matchPatterns,
|
||||
ignore: ignorePatterns
|
||||
};
|
||||
}
|
||||
function formatPaths(paths, relative) {
|
||||
for (let i = paths.length - 1; i >= 0; i--) {
|
||||
const path$1 = paths[i];
|
||||
paths[i] = relative(path$1);
|
||||
}
|
||||
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];
|
||||
//#endregion
|
||||
//#region src/crawler.ts
|
||||
function buildCrawler(options, patterns) {
|
||||
const cwd = options.cwd;
|
||||
const props = {
|
||||
root: cwd,
|
||||
commonPath: null,
|
||||
depthOffset: 0
|
||||
};
|
||||
const processed = processPatterns({
|
||||
...options,
|
||||
patterns
|
||||
}, cwd, props);
|
||||
const processed = processPatterns(options, patterns, props);
|
||||
if (options.debug) log("internal processing patterns:", processed);
|
||||
const { absolute, caseSensitiveMatch, debug, dot, followSymbolicLinks, onlyDirectories } = options;
|
||||
const root = props.root.replace(BACKSLASHES, "");
|
||||
const matchOptions = {
|
||||
dot: options.dot,
|
||||
dot,
|
||||
nobrace: options.braceExpansion === false,
|
||||
nocase: options.caseSensitiveMatch === false,
|
||||
nocase: !caseSensitiveMatch,
|
||||
noextglob: options.extglob === false,
|
||||
noglobstar: options.globstar === false,
|
||||
posix: true
|
||||
};
|
||||
const matcher = picomatch(processed.match, {
|
||||
...matchOptions,
|
||||
ignore: processed.ignore
|
||||
});
|
||||
const matcher = picomatch(processed.match, matchOptions);
|
||||
const ignore = picomatch(processed.ignore, matchOptions);
|
||||
const partialMatcher = getPartialMatcher(processed.match, matchOptions);
|
||||
const format = buildFormat(cwd, props.root, options.absolute);
|
||||
const formatExclude = options.absolute ? format : buildFormat(cwd, props.root, true);
|
||||
const fdirOptions = {
|
||||
filters: [options.debug ? (p, isDirectory) => {
|
||||
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);
|
||||
},
|
||||
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
|
||||
const format = buildFormat(cwd, root, absolute);
|
||||
const excludeFormatter = absolute ? format : buildFormat(cwd, root, true);
|
||||
const excludePredicate = (_, p) => {
|
||||
const relativePath = excludeFormatter(p, true);
|
||||
return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
|
||||
};
|
||||
if (options.deep !== void 0) fdirOptions.maxDepth = Math.round(options.deep - props.depthOffset);
|
||||
if (options.absolute) {
|
||||
fdirOptions.relativePaths = false;
|
||||
fdirOptions.resolvePaths = true;
|
||||
fdirOptions.includeBasePath = true;
|
||||
}
|
||||
if (options.followSymbolicLinks === false) {
|
||||
fdirOptions.resolveSymlinks = false;
|
||||
fdirOptions.excludeSymlinks = true;
|
||||
}
|
||||
if (options.onlyDirectories) {
|
||||
fdirOptions.excludeFiles = true;
|
||||
fdirOptions.includeDirs = true;
|
||||
} else if (options.onlyFiles === false) fdirOptions.includeDirs = true;
|
||||
props.root = props.root.replace(BACKSLASHES, "");
|
||||
const root = props.root;
|
||||
if (options.debug) log("internal properties:", props);
|
||||
const relative = cwd !== root && !options.absolute && buildRelative(cwd, props.root);
|
||||
return [new fdir(fdirOptions).crawl(root), relative];
|
||||
let maxDepth;
|
||||
if (options.deep !== void 0) maxDepth = Math.round(options.deep - props.depthOffset);
|
||||
const crawler = new fdir({
|
||||
filters: [debug ? (p, isDirectory) => {
|
||||
const path = format(p, isDirectory);
|
||||
const matches = matcher(path) && !ignore(path);
|
||||
if (matches) log(`matched ${path}`);
|
||||
return matches;
|
||||
} : (p, isDirectory) => {
|
||||
const path = format(p, isDirectory);
|
||||
return matcher(path) && !ignore(path);
|
||||
}],
|
||||
exclude: debug ? (_, p) => {
|
||||
const skipped = excludePredicate(_, p);
|
||||
log(`${skipped ? "skipped" : "crawling"} ${p}`);
|
||||
return skipped;
|
||||
} : excludePredicate,
|
||||
fs: options.fs,
|
||||
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) {
|
||||
if (patternsOrOptions && (options === null || options === void 0 ? void 0 : options.patterns)) throw new Error("Cannot pass patterns as both an argument and an option");
|
||||
const isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions === "string";
|
||||
const opts = isModern ? options : patternsOrOptions;
|
||||
const patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns;
|
||||
const [crawler, relative] = getCrawler(patterns, opts);
|
||||
if (!relative) return crawler.withPromise();
|
||||
return formatPaths(await crawler.withPromise(), relative);
|
||||
}
|
||||
function globSync(patternsOrOptions, options) {
|
||||
if (patternsOrOptions && (options === null || options === void 0 ? void 0 : options.patterns)) throw new Error("Cannot pass patterns as both an argument and an option");
|
||||
const isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions === "string";
|
||||
const opts = isModern ? options : patternsOrOptions;
|
||||
const patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns;
|
||||
const [crawler, relative] = getCrawler(patterns, opts);
|
||||
if (!relative) return crawler.sync();
|
||||
return formatPaths(crawler.sync(), relative);
|
||||
}
|
||||
|
||||
//#endregion
|
||||
export { convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
|
||||
//#region src/index.ts
|
||||
function formatPaths(paths, mapper) {
|
||||
if (mapper) for (let i = paths.length - 1; i >= 0; i--) paths[i] = mapper(paths[i]);
|
||||
return paths;
|
||||
}
|
||||
const defaultOptions = {
|
||||
caseSensitiveMatch: true,
|
||||
cwd: process.cwd(),
|
||||
debug: !!process.env.TINYGLOBBY_DEBUG,
|
||||
expandDirectories: true,
|
||||
followSymbolicLinks: true,
|
||||
onlyFiles: true
|
||||
};
|
||||
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
|
||||
export { convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
|
||||
|
||||
Generated
Vendored
+10
-10
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tinyglobby",
|
||||
"version": "0.2.15",
|
||||
"version": "0.2.16",
|
||||
"description": "A fast and minimal alternative to globby and fast-glob",
|
||||
"type": "module",
|
||||
"main": "./dist/index.cjs",
|
||||
@@ -38,18 +38,18 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"fdir": "^6.5.0",
|
||||
"picomatch": "^4.0.3"
|
||||
"picomatch": "^4.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.2.3",
|
||||
"@types/node": "^24.3.1",
|
||||
"@types/picomatch": "^4.0.2",
|
||||
"@biomejs/biome": "^2.4.10",
|
||||
"@types/node": "^25.5.2",
|
||||
"@types/picomatch": "^4.0.3",
|
||||
"fast-glob": "^3.3.3",
|
||||
"fs-fixture": "^2.8.1",
|
||||
"glob": "^11.0.3",
|
||||
"tinybench": "^5.0.1",
|
||||
"tsdown": "^0.14.2",
|
||||
"typescript": "^5.9.2"
|
||||
"fs-fixture": "^2.13.0",
|
||||
"glob": "^13.0.6",
|
||||
"tinybench": "^6.0.0",
|
||||
"tsdown": "^0.21.7",
|
||||
"typescript": "^6.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
|
||||
+16
-16
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vite",
|
||||
"version": "7.1.11",
|
||||
"version": "7.3.2",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"author": "Evan You",
|
||||
@@ -68,7 +68,7 @@
|
||||
"funding": "https://github.com/vitejs/vite?sponsor=1",
|
||||
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
|
||||
"dependencies": {
|
||||
"esbuild": "^0.25.0",
|
||||
"esbuild": "^0.27.0",
|
||||
"fdir": "^6.5.0",
|
||||
"picomatch": "^4.0.3",
|
||||
"postcss": "^8.5.6",
|
||||
@@ -79,27 +79,27 @@
|
||||
"fsevents": "~2.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/parser": "^7.28.4",
|
||||
"@babel/parser": "^7.28.5",
|
||||
"@jridgewell/remapping": "^2.3.5",
|
||||
"@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",
|
||||
"@rolldown/pluginutils": "^1.0.0-beta.43",
|
||||
"@rolldown/pluginutils": "^1.0.0-beta.52",
|
||||
"@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/pluginutils": "^5.3.0",
|
||||
"@types/escape-html": "^1.0.4",
|
||||
"@types/pnpapi": "^0.0.5",
|
||||
"artichokie": "^0.4.2",
|
||||
"baseline-browser-mapping": "^2.8.18",
|
||||
"baseline-browser-mapping": "^2.8.32",
|
||||
"cac": "^6.7.14",
|
||||
"chokidar": "^3.6.0",
|
||||
"connect": "^3.7.0",
|
||||
"convert-source-map": "^2.0.0",
|
||||
"cors": "^2.8.5",
|
||||
"cross-spawn": "^7.0.6",
|
||||
"debug": "^4.4.3",
|
||||
"obug": "^1.0.2",
|
||||
"dotenv": "^17.2.3",
|
||||
"dotenv-expand": "^12.0.3",
|
||||
"es-module-lexer": "^1.7.0",
|
||||
@@ -108,9 +108,9 @@
|
||||
"etag": "^1.8.1",
|
||||
"host-validation-middleware": "^0.1.2",
|
||||
"http-proxy-3": "^1.22.0",
|
||||
"launch-editor-middleware": "^2.11.1",
|
||||
"launch-editor-middleware": "^2.12.0",
|
||||
"lightningcss": "^1.30.2",
|
||||
"magic-string": "^0.30.19",
|
||||
"magic-string": "^0.30.21",
|
||||
"mlly": "^1.8.0",
|
||||
"mrmime": "^2.0.1",
|
||||
"nanoid": "^5.1.6",
|
||||
@@ -124,14 +124,14 @@
|
||||
"postcss-modules": "^6.0.1",
|
||||
"premove": "^4.0.0",
|
||||
"resolve.exports": "^2.0.3",
|
||||
"rolldown": "^1.0.0-beta.43",
|
||||
"rolldown-plugin-dts": "^0.16.11",
|
||||
"rolldown": "^1.0.0-beta.52",
|
||||
"rolldown-plugin-dts": "^0.18.1",
|
||||
"rollup-plugin-license": "^3.6.0",
|
||||
"sass": "^1.93.2",
|
||||
"sass-embedded": "^1.93.2",
|
||||
"sass": "^1.94.2",
|
||||
"sass-embedded": "^1.93.3",
|
||||
"sirv": "^3.0.2",
|
||||
"strip-literal": "^3.1.0",
|
||||
"terser": "^5.44.0",
|
||||
"terser": "^5.44.1",
|
||||
"tsconfck": "^3.1.6",
|
||||
"ufo": "^1.6.1",
|
||||
"ws": "^8.18.3"
|
||||
@@ -191,7 +191,7 @@
|
||||
"build-types": "pnpm build-types-roll && pnpm build-types-check",
|
||||
"build-types-roll": "rolldown --config rolldown.dts.config.ts",
|
||||
"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/**",
|
||||
"format": "prettier --write --cache --parser typescript \"src/**/*.ts\"",
|
||||
"generate-target": "tsx scripts/generateTarget.ts"
|
||||
|
||||
+5
@@ -6,6 +6,7 @@ import type {
|
||||
} from './hmrPayload'
|
||||
|
||||
export interface CustomEventMap {
|
||||
// client events
|
||||
'vite:beforeUpdate': UpdatePayload
|
||||
'vite:afterUpdate': UpdatePayload
|
||||
'vite:beforePrune': PrunePayload
|
||||
@@ -14,6 +15,10 @@ export interface CustomEventMap {
|
||||
'vite:invalidate': InvalidatePayload
|
||||
'vite:ws:connect': WebSocketConnectionPayload
|
||||
'vite:ws:disconnect': WebSocketConnectionPayload
|
||||
|
||||
// server events
|
||||
'vite:client:connect': undefined
|
||||
'vite:client:disconnect': undefined
|
||||
}
|
||||
|
||||
export interface WebSocketConnectionPayload {
|
||||
|
||||
+7
-7
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@angular/build",
|
||||
"version": "20.3.10",
|
||||
"version": "20.3.26",
|
||||
"description": "Official build system for Angular",
|
||||
"keywords": [
|
||||
"Angular CLI",
|
||||
@@ -23,7 +23,7 @@
|
||||
"builders": "builders.json",
|
||||
"dependencies": {
|
||||
"@ampproject/remapping": "2.3.0",
|
||||
"@angular-devkit/architect": "0.2003.10",
|
||||
"@angular-devkit/architect": "0.2003.26",
|
||||
"@babel/core": "7.28.3",
|
||||
"@babel/helper-annotate-as-pure": "7.27.3",
|
||||
"@babel/helper-split-export-declaration": "7.24.7",
|
||||
@@ -31,7 +31,7 @@
|
||||
"@vitejs/plugin-basic-ssl": "2.1.0",
|
||||
"beasties": "0.3.5",
|
||||
"browserslist": "^4.23.0",
|
||||
"esbuild": "0.25.9",
|
||||
"esbuild": "0.28.0",
|
||||
"https-proxy-agent": "7.0.6",
|
||||
"istanbul-lib-instrument": "6.0.3",
|
||||
"jsonc-parser": "3.3.1",
|
||||
@@ -39,14 +39,14 @@
|
||||
"magic-string": "0.30.17",
|
||||
"mrmime": "2.0.1",
|
||||
"parse5-html-rewriting-stream": "8.0.0",
|
||||
"picomatch": "4.0.3",
|
||||
"picomatch": "4.0.4",
|
||||
"piscina": "5.1.3",
|
||||
"rollup": "4.52.3",
|
||||
"rollup": "4.59.0",
|
||||
"sass": "1.90.0",
|
||||
"semver": "7.7.2",
|
||||
"source-map-support": "0.5.21",
|
||||
"tinyglobby": "0.2.14",
|
||||
"vite": "7.1.11",
|
||||
"vite": "7.3.2",
|
||||
"watchpack": "2.4.4"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
@@ -60,7 +60,7 @@
|
||||
"@angular/platform-browser": "^20.0.0",
|
||||
"@angular/platform-server": "^20.0.0",
|
||||
"@angular/service-worker": "^20.0.0",
|
||||
"@angular/ssr": "^20.3.10",
|
||||
"@angular/ssr": "^20.3.26",
|
||||
"karma": "^6.4.0",
|
||||
"less": "^4.2.0",
|
||||
"ng-packagr": "^20.0.0",
|
||||
|
||||
+2
-2
@@ -60,7 +60,7 @@ const i18n_1 = require("./i18n");
|
||||
const setup_bundling_1 = require("./setup-bundling");
|
||||
// eslint-disable-next-line max-lines-per-function
|
||||
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.
|
||||
const browsers = (0, supported_browsers_1.getSupportedBrowsers)(projectRoot, context.logger);
|
||||
// Load active translations if inlining
|
||||
@@ -216,7 +216,7 @@ async function executeBuild(options, context, rebuildState) {
|
||||
}
|
||||
// Create server app engine manifest
|
||||
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
|
||||
if (i18nOptions.shouldInline) {
|
||||
|
||||
+1
@@ -197,6 +197,7 @@ export declare function normalizeOptions(context: BuilderContext, projectName: s
|
||||
externalRuntimeStyles: boolean | undefined;
|
||||
instrumentForCoverage: ((filename: string) => boolean) | undefined;
|
||||
security: {
|
||||
allowedHosts: string[];
|
||||
autoCsp: {
|
||||
unsafeEval: boolean;
|
||||
} | undefined;
|
||||
|
||||
+5
-2
@@ -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".');
|
||||
}
|
||||
}
|
||||
const autoCsp = options.security?.autoCsp;
|
||||
const { autoCsp, allowedHosts = [] } = options.security ?? {};
|
||||
const security = {
|
||||
allowedHosts,
|
||||
autoCsp: autoCsp
|
||||
? {
|
||||
unsafeEval: autoCsp === true ? false : !!autoCsp.unsafeEval,
|
||||
@@ -449,7 +450,9 @@ function getLocaleBaseHref(baseHref = '', i18n, locale) {
|
||||
return undefined;
|
||||
}
|
||||
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
|
||||
|
||||
+6
@@ -496,6 +496,12 @@ export type ScriptClass = {
|
||||
* Security features to protect against XSS and other common attacks
|
||||
*/
|
||||
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
|
||||
* (https://web.dev/articles/strict-csp#choose-hash) based on scripts in index.html. Will
|
||||
|
||||
+8
@@ -52,6 +52,14 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"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": {
|
||||
"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,
|
||||
|
||||
+11
-3
@@ -84,7 +84,14 @@ async function* serveWithVite(serverOptions, builderName, builderAction, context
|
||||
browserOptions.ssr ||= true;
|
||||
}
|
||||
// Disable auto CSP.
|
||||
const allowedHosts = Array.isArray(serverOptions.allowedHosts)
|
||||
? [...serverOptions.allowedHosts]
|
||||
: [];
|
||||
// Always allow the dev server host
|
||||
allowedHosts.push(serverOptions.host);
|
||||
browserOptions.security = {
|
||||
allowedHosts,
|
||||
// Disable auto CSP.
|
||||
autoCsp: false,
|
||||
};
|
||||
// Disable JSON build stats.
|
||||
@@ -423,9 +430,10 @@ async function invalidateUpdatedFiles(normalizePath, generatedFiles, assetFiles,
|
||||
updatedModules?.forEach((m) => server.moduleGraph.invalidateModule(m));
|
||||
}
|
||||
if (serverApplicationChanged) {
|
||||
// Clear the server app cache and
|
||||
// trigger module evaluation before reload to initiate dependency optimization.
|
||||
const { ɵdestroyAngularServerApp } = (await server.ssrLoadModule('/main.server.mjs'));
|
||||
// Clear the server app cache and trigger module evaluation before reload to initiate dependency optimization.
|
||||
// The querystring is needed as a workaround for:
|
||||
// `ɵgetOrCreateAngularServerApp` can be undefined right after an error.
|
||||
const { ɵdestroyAngularServerApp } = (await server.ssrLoadModule(`/main.server.mjs?timestamp=${Date.now()}`));
|
||||
ɵdestroyAngularServerApp();
|
||||
}
|
||||
return updatedFiles;
|
||||
|
||||
-5
@@ -23,11 +23,6 @@ function createAngularSsrInternalMiddleware(server, indexHtmlTransformer) {
|
||||
await (0, load_esm_1.loadEsmModule)('@angular/compiler');
|
||||
const { writeResponseToNodeResponse, createWebRequestFromNodeRequest } = await (0, load_esm_1.loadEsmModule)('@angular/ssr/node');
|
||||
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({
|
||||
allowStaticRouteRender: true,
|
||||
});
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.normalizeCacheOptions = normalizeCacheOptions;
|
||||
const node_path_1 = require("node:path");
|
||||
/** 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) {
|
||||
return (!!value &&
|
||||
typeof value === 'object' &&
|
||||
|
||||
+2
-1
@@ -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
|
||||
* 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
|
||||
* 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.
|
||||
*
|
||||
|
||||
+3
-1
@@ -45,10 +45,11 @@ function escapeUnsafeChars(str) {
|
||||
*
|
||||
* @param i18nOptions - The internationalization options for the application build. This
|
||||
* 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
|
||||
* for all relative URLs in the application.
|
||||
*/
|
||||
function generateAngularServerAppEngineManifest(i18nOptions, baseHref) {
|
||||
function generateAngularServerAppEngineManifest(i18nOptions, allowedHosts, baseHref) {
|
||||
const entryPoints = {};
|
||||
const supportedLocales = {};
|
||||
if (i18nOptions.shouldInline && !i18nOptions.flatOutput) {
|
||||
@@ -71,6 +72,7 @@ function generateAngularServerAppEngineManifest(i18nOptions, baseHref) {
|
||||
const manifestContent = `
|
||||
export default {
|
||||
basePath: '${basePath}',
|
||||
allowedHosts: ${JSON.stringify(allowedHosts, undefined, 2)},
|
||||
supportedLocales: ${JSON.stringify(supportedLocales, undefined, 2)},
|
||||
entryPoints: {
|
||||
${Object.entries(entryPoints)
|
||||
|
||||
+15
-16
@@ -51,7 +51,7 @@ async function prerenderPages(workspaceRoot, baseHref, appShellOptions, prerende
|
||||
serverBundlesSourceMaps.clear();
|
||||
const assetsReversed = {};
|
||||
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
|
||||
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'],
|
||||
},
|
||||
execArgv: workerExecArgv,
|
||||
env: {
|
||||
...process.env,
|
||||
'NG_ALLOWED_HOSTS': 'localhost',
|
||||
},
|
||||
});
|
||||
try {
|
||||
const renderingPromises = [];
|
||||
const appShellRouteWithLeadingSlash = appShellRoute && addLeadingSlash(appShellRoute);
|
||||
const appShellRouteWithLeadingSlash = appShellRoute && (0, url_1.addLeadingSlash)(appShellRoute);
|
||||
const baseHrefPathnameWithLeadingSlash = new URL(baseHref, 'http://localhost').pathname;
|
||||
for (const { route, redirectTo } of serializableRouteTreeNode) {
|
||||
// Remove the base href from the file output path.
|
||||
const routeWithoutBaseHref = addTrailingSlash(route).startsWith(baseHrefPathnameWithLeadingSlash)
|
||||
? addLeadingSlash(route.slice(baseHrefPathnameWithLeadingSlash.length))
|
||||
const routeWithoutBaseHref = (0, url_1.addTrailingSlash)(route).startsWith(baseHrefPathnameWithLeadingSlash)
|
||||
? (0, url_1.addLeadingSlash)(route.slice(baseHrefPathnameWithLeadingSlash.length))
|
||||
: 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') {
|
||||
output[outPath] = { content: (0, utils_2.generateRedirectStaticPage)(redirectTo), appShellRoute: false };
|
||||
continue;
|
||||
@@ -172,7 +176,7 @@ async function getAllRoutes(workspaceRoot, baseHref, outputFilesForWorker, asset
|
||||
const routes = [];
|
||||
let appShellRoute;
|
||||
if (appShellOptions) {
|
||||
appShellRoute = (0, url_1.urlJoin)(baseHref, appShellOptions.route);
|
||||
appShellRoute = (0, url_1.joinUrlParts)(baseHref, appShellOptions.route);
|
||||
routes.push({
|
||||
renderMode: models_1.RouteRenderMode.Prerender,
|
||||
route: appShellRoute,
|
||||
@@ -183,7 +187,7 @@ async function getAllRoutes(workspaceRoot, baseHref, outputFilesForWorker, asset
|
||||
for (const route of routesFromFile) {
|
||||
routes.push({
|
||||
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'],
|
||||
},
|
||||
execArgv: workerExecArgv,
|
||||
env: {
|
||||
...process.env,
|
||||
'NG_ALLOWED_HOSTS': 'localhost',
|
||||
},
|
||||
});
|
||||
try {
|
||||
const { serializedRouteTree, appShellRoute, errors } = await renderWorker.run({});
|
||||
@@ -233,12 +241,3 @@ async function getAllRoutes(workspaceRoot, baseHref, outputFilesForWorker, asset
|
||||
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
@@ -5,4 +5,77 @@
|
||||
* 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
|
||||
*/
|
||||
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
@@ -7,11 +7,115 @@
|
||||
* found in the LICENSE file at https://angular.dev/license
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.urlJoin = urlJoin;
|
||||
function urlJoin(...parts) {
|
||||
const [p, ...rest] = parts;
|
||||
// Remove trailing slash from first part
|
||||
// Join all parts with `/`
|
||||
// Dedupe double slashes from path names
|
||||
return p.replace(/\/$/, '') + ('/' + rest.join('/')).replace(/\/\/+/g, '/');
|
||||
exports.stripTrailingSlash = stripTrailingSlash;
|
||||
exports.stripLeadingSlash = stripLeadingSlash;
|
||||
exports.addLeadingSlash = addLeadingSlash;
|
||||
exports.addTrailingSlash = addTrailingSlash;
|
||||
exports.joinUrlParts = joinUrlParts;
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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
@@ -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
@@ -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;;;;;"}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
import { Version } from '@angular/core';
|
||||
|
||||
/** Current version of the Angular Component Development Kit. */
|
||||
const VERSION = new Version('20.2.12');
|
||||
const VERSION = new Version('20.2.14');
|
||||
|
||||
export { VERSION };
|
||||
//# sourceMappingURL=cdk.mjs.map
|
||||
|
||||
+1
-1
@@ -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;;;;"}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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` -> `[]`\n * - `[null]` -> `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -> `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -> `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -> `[\"[object Object]\"]`\n * - `{ a: 0 }` -> `[\"[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` -> `[]`\n * - `[null]` -> `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -> `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -> `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -> `[\"[object Object]\"]`\n * - `{ a: 0 }` -> `[\"[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
@@ -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
@@ -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
@@ -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
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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;;;;"}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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
@@ -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
@@ -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;;;;"}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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
@@ -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;;;;"}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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;;;;;"}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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
@@ -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
@@ -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;;;;"}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
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
Reference in New Issue
Block a user