@funstack/static 0.0.1-alpha.0 → 0.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/build/buildApp.mjs +34 -0
- package/dist/build/buildApp.mjs.map +1 -0
- package/dist/build/contentHash.mjs +14 -0
- package/dist/build/contentHash.mjs.map +1 -0
- package/dist/build/dependencyGraph.mjs +46 -0
- package/dist/build/dependencyGraph.mjs.map +1 -0
- package/dist/build/rscPath.mjs +17 -0
- package/dist/build/rscPath.mjs.map +1 -0
- package/dist/build/rscProcessor.mjs +66 -0
- package/dist/build/rscProcessor.mjs.map +1 -0
- package/dist/client/entry.mjs +53 -0
- package/dist/client/entry.mjs.map +1 -0
- package/dist/client/error-boundary.mjs +48 -0
- package/dist/client/error-boundary.mjs.map +1 -0
- package/dist/client/globals.mjs +10 -0
- package/dist/client/globals.mjs.map +1 -0
- package/dist/entries/client.d.mts +1 -0
- package/dist/entries/client.mjs +3 -0
- package/dist/entries/rsc-client.d.mts +3 -0
- package/dist/entries/rsc-client.mjs +6 -0
- package/dist/entries/rsc.d.mts +3 -0
- package/dist/entries/rsc.mjs +4 -0
- package/dist/entries/server.d.mts +2 -0
- package/dist/entries/server.mjs +3 -0
- package/dist/entries/ssr.d.mts +2 -0
- package/dist/entries/ssr.mjs +3 -0
- package/dist/index.d.mts +2 -30
- package/dist/index.mjs +2 -6082
- package/dist/plugin/getRSCEntryPoint.mjs +16 -0
- package/dist/plugin/getRSCEntryPoint.mjs.map +1 -0
- package/dist/plugin/index.d.mts +30 -0
- package/dist/plugin/index.d.mts.map +1 -0
- package/dist/plugin/index.mjs +61 -0
- package/dist/plugin/index.mjs.map +1 -0
- package/dist/plugin/server.mjs +64 -0
- package/dist/plugin/server.mjs.map +1 -0
- package/dist/rsc/defer.d.mts +50 -0
- package/dist/rsc/defer.d.mts.map +1 -0
- package/dist/rsc/defer.mjs +124 -0
- package/dist/rsc/defer.mjs.map +1 -0
- package/dist/rsc/entry.d.mts +30 -0
- package/dist/rsc/entry.d.mts.map +1 -0
- package/dist/rsc/entry.mjs +94 -0
- package/dist/rsc/entry.mjs.map +1 -0
- package/dist/rsc/marker.mjs +15 -0
- package/dist/rsc/marker.mjs.map +1 -0
- package/dist/rsc/request.mjs +9 -0
- package/dist/rsc/request.mjs.map +1 -0
- package/dist/rsc/rscModule.mjs +25 -0
- package/dist/rsc/rscModule.mjs.map +1 -0
- package/dist/rsc-client/clientWrapper.d.mts +12 -0
- package/dist/rsc-client/clientWrapper.d.mts.map +1 -0
- package/dist/rsc-client/clientWrapper.mjs +44 -0
- package/dist/rsc-client/clientWrapper.mjs.map +1 -0
- package/dist/rsc-client/entry.d.mts +1 -0
- package/dist/rsc-client/entry.mjs +5 -0
- package/dist/ssr/entry.d.mts +15 -0
- package/dist/ssr/entry.d.mts.map +1 -0
- package/dist/ssr/entry.mjs +53 -0
- package/dist/ssr/entry.mjs.map +1 -0
- package/dist/util/basePath.mjs +28 -0
- package/dist/util/basePath.mjs.map +1 -0
- package/dist/util/drainStream.mjs +12 -0
- package/dist/util/drainStream.mjs.map +1 -0
- package/package.json +22 -7
- package/dist/build-BhjMQ5b5.mjs +0 -5
- package/dist/build2-BFobw-wK.mjs +0 -5269
- package/dist/build2-BFobw-wK.mjs.map +0 -1
- package/dist/chunk-CVYhg9ik.mjs +0 -45
- package/dist/chunk-ezxmLbPQ-BTJgBwYB.mjs +0 -29
- package/dist/chunk-ezxmLbPQ-BTJgBwYB.mjs.map +0 -1
- package/dist/chunk-yG6w5hYl.mjs +0 -41
- package/dist/chunk-yG6w5hYl.mjs.map +0 -1
- package/dist/config-ChWWLT6T.mjs +0 -41331
- package/dist/config-ChWWLT6T.mjs.map +0 -1
- package/dist/dist-CijqjcI1.mjs +0 -6699
- package/dist/dist-CijqjcI1.mjs.map +0 -1
- package/dist/false-CW0Ab7Sy.mjs +0 -6
- package/dist/false-CW0Ab7Sy.mjs.map +0 -1
- package/dist/false-CoaQMKhH.mjs +0 -3
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/lib-BY2rcZzh.mjs +0 -366
- package/dist/lib-BY2rcZzh.mjs.map +0 -1
- package/dist/node-entry-Elsz8XBx.mjs +0 -18443
- package/dist/node-entry-Elsz8XBx.mjs.map +0 -1
- package/dist/parseAst-C9pD5vU6.mjs +0 -2109
- package/dist/parseAst-C9pD5vU6.mjs.map +0 -1
- package/dist/picocolors-BxaHL81J-CyL9Yrra.mjs +0 -74
- package/dist/picocolors-BxaHL81J-CyL9Yrra.mjs.map +0 -1
- package/dist/postcss-CQ0jlpM-.mjs +0 -5439
- package/dist/postcss-CQ0jlpM-.mjs.map +0 -1
- package/dist/postcss-import-D8PxJXZF.mjs +0 -452
- package/dist/postcss-import-D8PxJXZF.mjs.map +0 -1
- package/dist/rollup-Cs2z7Zqk.mjs +0 -9
- package/dist/rollup-Cs2z7Zqk.mjs.map +0 -1
- package/dist/watch-70G_ECVN.mjs +0 -7044
- package/dist/watch-70G_ECVN.mjs.map +0 -1
|
@@ -1,452 +0,0 @@
|
|
|
1
|
-
import { i as __require, t as __commonJSMin } from "./chunk-yG6w5hYl.mjs";
|
|
2
|
-
import { t as require_lib } from "./lib-BY2rcZzh.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/vite@7.3.1_@types+node@25.0.6_terser@5.44.1/node_modules/vite/dist/node/chunks/postcss-import.js
|
|
5
|
-
var require_format_import_prelude = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
|
-
module.exports = function formatImportPrelude$2(layer, media, supports) {
|
|
7
|
-
const parts = [];
|
|
8
|
-
if (typeof layer !== "undefined") {
|
|
9
|
-
let layerParams = "layer";
|
|
10
|
-
if (layer) layerParams = `layer(${layer})`;
|
|
11
|
-
parts.push(layerParams);
|
|
12
|
-
}
|
|
13
|
-
if (typeof supports !== "undefined") parts.push(`supports(${supports})`);
|
|
14
|
-
if (typeof media !== "undefined") parts.push(media);
|
|
15
|
-
return parts.join(" ");
|
|
16
|
-
};
|
|
17
|
-
}));
|
|
18
|
-
var require_base64_encoded_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
19
|
-
const formatImportPrelude$1 = require_format_import_prelude();
|
|
20
|
-
module.exports = function base64EncodedConditionalImport$1(prelude, conditions) {
|
|
21
|
-
if (!conditions?.length) return prelude;
|
|
22
|
-
conditions.reverse();
|
|
23
|
-
const first = conditions.pop();
|
|
24
|
-
let params = `${prelude} ${formatImportPrelude$1(first.layer, first.media, first.supports)}`;
|
|
25
|
-
for (const condition of conditions) params = `'data:text/css;base64,${Buffer.from(`@import ${params}`).toString("base64")}' ${formatImportPrelude$1(condition.layer, condition.media, condition.supports)}`;
|
|
26
|
-
return params;
|
|
27
|
-
};
|
|
28
|
-
}));
|
|
29
|
-
var require_apply_conditions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
30
|
-
const base64EncodedConditionalImport = require_base64_encoded_import();
|
|
31
|
-
module.exports = function applyConditions$1(bundle, atRule) {
|
|
32
|
-
const firstImportStatementIndex = bundle.findIndex((stmt) => stmt.type === "import");
|
|
33
|
-
const lastImportStatementIndex = bundle.findLastIndex((stmt) => stmt.type === "import");
|
|
34
|
-
bundle.forEach((stmt, index) => {
|
|
35
|
-
if (stmt.type === "charset" || stmt.type === "warning") return;
|
|
36
|
-
if (stmt.type === "layer" && (index < lastImportStatementIndex && stmt.conditions?.length || index > firstImportStatementIndex && index < lastImportStatementIndex)) {
|
|
37
|
-
stmt.type = "import";
|
|
38
|
-
stmt.node = stmt.node.clone({
|
|
39
|
-
name: "import",
|
|
40
|
-
params: base64EncodedConditionalImport(`'data:text/css;base64,${Buffer.from(stmt.node.toString()).toString("base64")}'`, stmt.conditions)
|
|
41
|
-
});
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
if (!stmt.conditions?.length) return;
|
|
45
|
-
if (stmt.type === "import") {
|
|
46
|
-
stmt.node.params = base64EncodedConditionalImport(stmt.fullUri, stmt.conditions);
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
let nodes;
|
|
50
|
-
let parent;
|
|
51
|
-
if (stmt.type === "layer") {
|
|
52
|
-
nodes = [stmt.node];
|
|
53
|
-
parent = stmt.node.parent;
|
|
54
|
-
} else {
|
|
55
|
-
nodes = stmt.nodes;
|
|
56
|
-
parent = nodes[0].parent;
|
|
57
|
-
}
|
|
58
|
-
const atRules = [];
|
|
59
|
-
for (const condition of stmt.conditions) {
|
|
60
|
-
if (typeof condition.media !== "undefined") {
|
|
61
|
-
const mediaNode = atRule({
|
|
62
|
-
name: "media",
|
|
63
|
-
params: condition.media,
|
|
64
|
-
source: parent.source
|
|
65
|
-
});
|
|
66
|
-
atRules.push(mediaNode);
|
|
67
|
-
}
|
|
68
|
-
if (typeof condition.supports !== "undefined") {
|
|
69
|
-
const supportsNode = atRule({
|
|
70
|
-
name: "supports",
|
|
71
|
-
params: `(${condition.supports})`,
|
|
72
|
-
source: parent.source
|
|
73
|
-
});
|
|
74
|
-
atRules.push(supportsNode);
|
|
75
|
-
}
|
|
76
|
-
if (typeof condition.layer !== "undefined") {
|
|
77
|
-
const layerNode = atRule({
|
|
78
|
-
name: "layer",
|
|
79
|
-
params: condition.layer,
|
|
80
|
-
source: parent.source
|
|
81
|
-
});
|
|
82
|
-
atRules.push(layerNode);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
const outerAtRule = atRules.shift();
|
|
86
|
-
const innerAtRule = atRules.reduce((previous, next) => {
|
|
87
|
-
previous.append(next);
|
|
88
|
-
return next;
|
|
89
|
-
}, outerAtRule);
|
|
90
|
-
parent.insertBefore(nodes[0], outerAtRule);
|
|
91
|
-
nodes.forEach((node) => {
|
|
92
|
-
node.parent = void 0;
|
|
93
|
-
});
|
|
94
|
-
nodes[0].raws.before = nodes[0].raws.before || "\n";
|
|
95
|
-
innerAtRule.append(nodes);
|
|
96
|
-
stmt.type = "nodes";
|
|
97
|
-
stmt.nodes = [outerAtRule];
|
|
98
|
-
delete stmt.node;
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
}));
|
|
102
|
-
var require_apply_raws = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
103
|
-
module.exports = function applyRaws$1(bundle) {
|
|
104
|
-
bundle.forEach((stmt, index) => {
|
|
105
|
-
if (index === 0) return;
|
|
106
|
-
if (stmt.parent) {
|
|
107
|
-
const { before } = stmt.parent.node.raws;
|
|
108
|
-
if (stmt.type === "nodes") stmt.nodes[0].raws.before = before;
|
|
109
|
-
else stmt.node.raws.before = before;
|
|
110
|
-
} else if (stmt.type === "nodes") stmt.nodes[0].raws.before = stmt.nodes[0].raws.before || "\n";
|
|
111
|
-
});
|
|
112
|
-
};
|
|
113
|
-
}));
|
|
114
|
-
var require_apply_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
115
|
-
module.exports = function applyStyles$1(bundle, styles) {
|
|
116
|
-
styles.nodes = [];
|
|
117
|
-
bundle.forEach((stmt) => {
|
|
118
|
-
if ([
|
|
119
|
-
"charset",
|
|
120
|
-
"import",
|
|
121
|
-
"layer"
|
|
122
|
-
].includes(stmt.type)) {
|
|
123
|
-
stmt.node.parent = void 0;
|
|
124
|
-
styles.append(stmt.node);
|
|
125
|
-
} else if (stmt.type === "nodes") stmt.nodes.forEach((node) => {
|
|
126
|
-
node.parent = void 0;
|
|
127
|
-
styles.append(node);
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
};
|
|
131
|
-
}));
|
|
132
|
-
var require_data_url = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
133
|
-
const anyDataURLRegexp = /^data:text\/css(?:;(base64|plain))?,/i;
|
|
134
|
-
const base64DataURLRegexp = /^data:text\/css;base64,/i;
|
|
135
|
-
const plainDataURLRegexp = /^data:text\/css;plain,/i;
|
|
136
|
-
function isValid(url) {
|
|
137
|
-
return anyDataURLRegexp.test(url);
|
|
138
|
-
}
|
|
139
|
-
function contents(url) {
|
|
140
|
-
if (base64DataURLRegexp.test(url)) return Buffer.from(url.slice(21), "base64").toString();
|
|
141
|
-
if (plainDataURLRegexp.test(url)) return decodeURIComponent(url.slice(20));
|
|
142
|
-
return decodeURIComponent(url.slice(14));
|
|
143
|
-
}
|
|
144
|
-
module.exports = {
|
|
145
|
-
isValid,
|
|
146
|
-
contents
|
|
147
|
-
};
|
|
148
|
-
}));
|
|
149
|
-
var require_parse_statements = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
150
|
-
const valueParser = require_lib();
|
|
151
|
-
const { stringify } = valueParser;
|
|
152
|
-
module.exports = function parseStatements$1(result, styles, conditions, from) {
|
|
153
|
-
const statements = [];
|
|
154
|
-
let nodes = [];
|
|
155
|
-
let encounteredNonImportNodes = false;
|
|
156
|
-
styles.each((node) => {
|
|
157
|
-
let stmt;
|
|
158
|
-
if (node.type === "atrule") {
|
|
159
|
-
if (node.name === "import") stmt = parseImport(result, node, conditions, from);
|
|
160
|
-
else if (node.name === "charset") stmt = parseCharset(result, node, conditions, from);
|
|
161
|
-
else if (node.name === "layer" && !encounteredNonImportNodes && !node.nodes) stmt = parseLayer(result, node, conditions, from);
|
|
162
|
-
} else if (node.type !== "comment") encounteredNonImportNodes = true;
|
|
163
|
-
if (stmt) {
|
|
164
|
-
if (nodes.length) {
|
|
165
|
-
statements.push({
|
|
166
|
-
type: "nodes",
|
|
167
|
-
nodes,
|
|
168
|
-
conditions: [...conditions],
|
|
169
|
-
from
|
|
170
|
-
});
|
|
171
|
-
nodes = [];
|
|
172
|
-
}
|
|
173
|
-
statements.push(stmt);
|
|
174
|
-
} else nodes.push(node);
|
|
175
|
-
});
|
|
176
|
-
if (nodes.length) statements.push({
|
|
177
|
-
type: "nodes",
|
|
178
|
-
nodes,
|
|
179
|
-
conditions: [...conditions],
|
|
180
|
-
from
|
|
181
|
-
});
|
|
182
|
-
return statements;
|
|
183
|
-
};
|
|
184
|
-
function parseCharset(result, atRule, conditions, from) {
|
|
185
|
-
if (atRule.prev()) return result.warn("@charset must precede all other statements", { node: atRule });
|
|
186
|
-
return {
|
|
187
|
-
type: "charset",
|
|
188
|
-
node: atRule,
|
|
189
|
-
conditions: [...conditions],
|
|
190
|
-
from
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
function parseImport(result, atRule, conditions, from) {
|
|
194
|
-
let prev = atRule.prev();
|
|
195
|
-
if (prev) do {
|
|
196
|
-
if (prev.type === "comment" || prev.type === "atrule" && prev.name === "import") {
|
|
197
|
-
prev = prev.prev();
|
|
198
|
-
continue;
|
|
199
|
-
}
|
|
200
|
-
break;
|
|
201
|
-
} while (prev);
|
|
202
|
-
if (prev) do {
|
|
203
|
-
if (prev.type === "comment" || prev.type === "atrule" && (prev.name === "charset" || prev.name === "layer" && !prev.nodes)) {
|
|
204
|
-
prev = prev.prev();
|
|
205
|
-
continue;
|
|
206
|
-
}
|
|
207
|
-
return result.warn("@import must precede all other statements (besides @charset or empty @layer)", { node: atRule });
|
|
208
|
-
} while (prev);
|
|
209
|
-
if (atRule.nodes) return result.warn("It looks like you didn't end your @import statement correctly. Child nodes are attached to it.", { node: atRule });
|
|
210
|
-
const params = valueParser(atRule.params).nodes;
|
|
211
|
-
const stmt = {
|
|
212
|
-
type: "import",
|
|
213
|
-
uri: "",
|
|
214
|
-
fullUri: "",
|
|
215
|
-
node: atRule,
|
|
216
|
-
conditions: [...conditions],
|
|
217
|
-
from
|
|
218
|
-
};
|
|
219
|
-
let layer;
|
|
220
|
-
let media;
|
|
221
|
-
let supports;
|
|
222
|
-
for (let i = 0; i < params.length; i++) {
|
|
223
|
-
const node = params[i];
|
|
224
|
-
if (node.type === "space" || node.type === "comment") continue;
|
|
225
|
-
if (node.type === "string") {
|
|
226
|
-
if (stmt.uri) return result.warn(`Multiple url's in '${atRule.toString()}'`, { node: atRule });
|
|
227
|
-
if (!node.value) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });
|
|
228
|
-
stmt.uri = node.value;
|
|
229
|
-
stmt.fullUri = stringify(node);
|
|
230
|
-
continue;
|
|
231
|
-
}
|
|
232
|
-
if (node.type === "function" && /^url$/i.test(node.value)) {
|
|
233
|
-
if (stmt.uri) return result.warn(`Multiple url's in '${atRule.toString()}'`, { node: atRule });
|
|
234
|
-
if (!node.nodes?.[0]?.value) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });
|
|
235
|
-
stmt.uri = node.nodes[0].value;
|
|
236
|
-
stmt.fullUri = stringify(node);
|
|
237
|
-
continue;
|
|
238
|
-
}
|
|
239
|
-
if (!stmt.uri) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });
|
|
240
|
-
if ((node.type === "word" || node.type === "function") && /^layer$/i.test(node.value)) {
|
|
241
|
-
if (typeof layer !== "undefined") return result.warn(`Multiple layers in '${atRule.toString()}'`, { node: atRule });
|
|
242
|
-
if (typeof supports !== "undefined") return result.warn(`layers must be defined before support conditions in '${atRule.toString()}'`, { node: atRule });
|
|
243
|
-
if (node.nodes) layer = stringify(node.nodes);
|
|
244
|
-
else layer = "";
|
|
245
|
-
continue;
|
|
246
|
-
}
|
|
247
|
-
if (node.type === "function" && /^supports$/i.test(node.value)) {
|
|
248
|
-
if (typeof supports !== "undefined") return result.warn(`Multiple support conditions in '${atRule.toString()}'`, { node: atRule });
|
|
249
|
-
supports = stringify(node.nodes);
|
|
250
|
-
continue;
|
|
251
|
-
}
|
|
252
|
-
media = stringify(params.slice(i));
|
|
253
|
-
break;
|
|
254
|
-
}
|
|
255
|
-
if (!stmt.uri) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });
|
|
256
|
-
if (typeof media !== "undefined" || typeof layer !== "undefined" || typeof supports !== "undefined") stmt.conditions.push({
|
|
257
|
-
layer,
|
|
258
|
-
media,
|
|
259
|
-
supports
|
|
260
|
-
});
|
|
261
|
-
return stmt;
|
|
262
|
-
}
|
|
263
|
-
function parseLayer(result, atRule, conditions, from) {
|
|
264
|
-
return {
|
|
265
|
-
type: "layer",
|
|
266
|
-
node: atRule,
|
|
267
|
-
conditions: [...conditions],
|
|
268
|
-
from
|
|
269
|
-
};
|
|
270
|
-
}
|
|
271
|
-
}));
|
|
272
|
-
var require_process_content = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
273
|
-
const path$2 = __require("path");
|
|
274
|
-
let sugarss;
|
|
275
|
-
module.exports = function processContent$1(result, content, filename, options, postcss) {
|
|
276
|
-
const { plugins } = options;
|
|
277
|
-
const ext = path$2.extname(filename);
|
|
278
|
-
const parserList = [];
|
|
279
|
-
if (ext === ".sss") {
|
|
280
|
-
if (!sugarss)
|
|
281
|
-
/* c8 ignore next 3 */
|
|
282
|
-
try {
|
|
283
|
-
sugarss = __require("sugarss");
|
|
284
|
-
} catch {}
|
|
285
|
-
if (sugarss) return runPostcss(postcss, content, filename, plugins, [sugarss]);
|
|
286
|
-
}
|
|
287
|
-
if (result.opts.syntax?.parse) parserList.push(result.opts.syntax.parse);
|
|
288
|
-
if (result.opts.parser) parserList.push(result.opts.parser);
|
|
289
|
-
parserList.push(null);
|
|
290
|
-
return runPostcss(postcss, content, filename, plugins, parserList);
|
|
291
|
-
};
|
|
292
|
-
function runPostcss(postcss, content, filename, plugins, parsers, index) {
|
|
293
|
-
if (!index) index = 0;
|
|
294
|
-
return postcss(plugins).process(content, {
|
|
295
|
-
from: filename,
|
|
296
|
-
parser: parsers[index]
|
|
297
|
-
}).catch((err) => {
|
|
298
|
-
index++;
|
|
299
|
-
if (index === parsers.length) throw err;
|
|
300
|
-
return runPostcss(postcss, content, filename, plugins, parsers, index);
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
}));
|
|
304
|
-
var require_parse_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
305
|
-
const path$1 = __require("path");
|
|
306
|
-
const dataURL = require_data_url();
|
|
307
|
-
const parseStatements = require_parse_statements();
|
|
308
|
-
const processContent = require_process_content();
|
|
309
|
-
const resolveId$1 = (id) => id;
|
|
310
|
-
const formatImportPrelude = require_format_import_prelude();
|
|
311
|
-
async function parseStyles$1(result, styles, options, state, conditions, from, postcss) {
|
|
312
|
-
const statements = parseStatements(result, styles, conditions, from);
|
|
313
|
-
for (const stmt of statements) {
|
|
314
|
-
if (stmt.type !== "import" || !isProcessableURL(stmt.uri)) continue;
|
|
315
|
-
if (options.filter && !options.filter(stmt.uri)) continue;
|
|
316
|
-
await resolveImportId(result, stmt, options, state, postcss);
|
|
317
|
-
}
|
|
318
|
-
let charset;
|
|
319
|
-
const beforeBundle = [];
|
|
320
|
-
const bundle = [];
|
|
321
|
-
function handleCharset(stmt) {
|
|
322
|
-
if (!charset) charset = stmt;
|
|
323
|
-
else if (stmt.node.params.toLowerCase() !== charset.node.params.toLowerCase()) throw stmt.node.error(`Incompatible @charset statements:
|
|
324
|
-
${stmt.node.params} specified in ${stmt.node.source.input.file}
|
|
325
|
-
${charset.node.params} specified in ${charset.node.source.input.file}`);
|
|
326
|
-
}
|
|
327
|
-
statements.forEach((stmt) => {
|
|
328
|
-
if (stmt.type === "charset") handleCharset(stmt);
|
|
329
|
-
else if (stmt.type === "import") if (stmt.children) stmt.children.forEach((child, index) => {
|
|
330
|
-
if (child.type === "import") beforeBundle.push(child);
|
|
331
|
-
else if (child.type === "layer") beforeBundle.push(child);
|
|
332
|
-
else if (child.type === "charset") handleCharset(child);
|
|
333
|
-
else bundle.push(child);
|
|
334
|
-
if (index === 0) child.parent = stmt;
|
|
335
|
-
});
|
|
336
|
-
else beforeBundle.push(stmt);
|
|
337
|
-
else if (stmt.type === "layer") beforeBundle.push(stmt);
|
|
338
|
-
else if (stmt.type === "nodes") bundle.push(stmt);
|
|
339
|
-
});
|
|
340
|
-
return charset ? [charset, ...beforeBundle.concat(bundle)] : beforeBundle.concat(bundle);
|
|
341
|
-
}
|
|
342
|
-
async function resolveImportId(result, stmt, options, state, postcss) {
|
|
343
|
-
if (dataURL.isValid(stmt.uri)) {
|
|
344
|
-
stmt.children = await loadImportContent(result, stmt, stmt.uri, options, state, postcss);
|
|
345
|
-
return;
|
|
346
|
-
} else if (dataURL.isValid(stmt.from.slice(-1))) throw stmt.node.error(`Unable to import '${stmt.uri}' from a stylesheet that is embedded in a data url`);
|
|
347
|
-
const atRule = stmt.node;
|
|
348
|
-
let sourceFile;
|
|
349
|
-
if (atRule.source?.input?.file) sourceFile = atRule.source.input.file;
|
|
350
|
-
const base = sourceFile ? path$1.dirname(atRule.source.input.file) : options.root;
|
|
351
|
-
const paths = [await options.resolve(stmt.uri, base, options, atRule)].flat();
|
|
352
|
-
const resolved = await Promise.all(paths.map((file) => {
|
|
353
|
-
return !path$1.isAbsolute(file) ? resolveId$1(file, base, options, atRule) : file;
|
|
354
|
-
}));
|
|
355
|
-
resolved.forEach((file) => {
|
|
356
|
-
result.messages.push({
|
|
357
|
-
type: "dependency",
|
|
358
|
-
plugin: "postcss-import",
|
|
359
|
-
file,
|
|
360
|
-
parent: sourceFile
|
|
361
|
-
});
|
|
362
|
-
});
|
|
363
|
-
stmt.children = (await Promise.all(resolved.map((file) => {
|
|
364
|
-
return loadImportContent(result, stmt, file, options, state, postcss);
|
|
365
|
-
}))).flat().filter((x) => !!x);
|
|
366
|
-
}
|
|
367
|
-
async function loadImportContent(result, stmt, filename, options, state, postcss) {
|
|
368
|
-
const atRule = stmt.node;
|
|
369
|
-
const { conditions, from } = stmt;
|
|
370
|
-
const stmtDuplicateCheckKey = conditions.map((condition) => formatImportPrelude(condition.layer, condition.media, condition.supports)).join(":");
|
|
371
|
-
if (options.skipDuplicates) {
|
|
372
|
-
if (state.importedFiles[filename]?.[stmtDuplicateCheckKey]) return;
|
|
373
|
-
if (!state.importedFiles[filename]) state.importedFiles[filename] = {};
|
|
374
|
-
state.importedFiles[filename][stmtDuplicateCheckKey] = true;
|
|
375
|
-
}
|
|
376
|
-
if (from.includes(filename)) return;
|
|
377
|
-
const content = await options.load(filename, options);
|
|
378
|
-
if (content.trim() === "" && options.warnOnEmpty) {
|
|
379
|
-
result.warn(`${filename} is empty`, { node: atRule });
|
|
380
|
-
return;
|
|
381
|
-
}
|
|
382
|
-
if (options.skipDuplicates && state.hashFiles[content]?.[stmtDuplicateCheckKey]) return;
|
|
383
|
-
const importedResult = await processContent(result, content, filename, options, postcss);
|
|
384
|
-
const styles = importedResult.root;
|
|
385
|
-
result.messages = result.messages.concat(importedResult.messages);
|
|
386
|
-
if (options.skipDuplicates) {
|
|
387
|
-
if (!styles.some((child) => {
|
|
388
|
-
return child.type === "atrule" && child.name === "import";
|
|
389
|
-
})) {
|
|
390
|
-
if (!state.hashFiles[content]) state.hashFiles[content] = {};
|
|
391
|
-
state.hashFiles[content][stmtDuplicateCheckKey] = true;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
return parseStyles$1(result, styles, options, state, conditions, [...from, filename], postcss);
|
|
395
|
-
}
|
|
396
|
-
function isProcessableURL(uri) {
|
|
397
|
-
if (/^(?:[a-z]+:)?\/\//i.test(uri)) return false;
|
|
398
|
-
try {
|
|
399
|
-
if (new URL(uri, "https://example.com").search) return false;
|
|
400
|
-
} catch {}
|
|
401
|
-
return true;
|
|
402
|
-
}
|
|
403
|
-
module.exports = parseStyles$1;
|
|
404
|
-
}));
|
|
405
|
-
var require_postcss_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
406
|
-
const path = __require("path");
|
|
407
|
-
const applyConditions = require_apply_conditions();
|
|
408
|
-
const applyRaws = require_apply_raws();
|
|
409
|
-
const applyStyles = require_apply_styles();
|
|
410
|
-
const loadContent = () => "";
|
|
411
|
-
const parseStyles = require_parse_styles();
|
|
412
|
-
const resolveId = (id) => id;
|
|
413
|
-
function AtImport(options) {
|
|
414
|
-
options = {
|
|
415
|
-
root: process.cwd(),
|
|
416
|
-
path: [],
|
|
417
|
-
skipDuplicates: true,
|
|
418
|
-
resolve: resolveId,
|
|
419
|
-
load: loadContent,
|
|
420
|
-
plugins: [],
|
|
421
|
-
addModulesDirectories: [],
|
|
422
|
-
warnOnEmpty: true,
|
|
423
|
-
...options
|
|
424
|
-
};
|
|
425
|
-
options.root = path.resolve(options.root);
|
|
426
|
-
if (typeof options.path === "string") options.path = [options.path];
|
|
427
|
-
if (!Array.isArray(options.path)) options.path = [];
|
|
428
|
-
options.path = options.path.map((p) => path.resolve(options.root, p));
|
|
429
|
-
return {
|
|
430
|
-
postcssPlugin: "postcss-import",
|
|
431
|
-
async Once(styles, { result, atRule, postcss }) {
|
|
432
|
-
const state = {
|
|
433
|
-
importedFiles: {},
|
|
434
|
-
hashFiles: {}
|
|
435
|
-
};
|
|
436
|
-
if (styles.source?.input?.file) state.importedFiles[styles.source.input.file] = {};
|
|
437
|
-
if (options.plugins && !Array.isArray(options.plugins)) throw new Error("plugins option must be an array");
|
|
438
|
-
const bundle = await parseStyles(result, styles, options, state, [], [], postcss);
|
|
439
|
-
applyRaws(bundle);
|
|
440
|
-
applyConditions(bundle, atRule);
|
|
441
|
-
applyStyles(bundle, styles);
|
|
442
|
-
}
|
|
443
|
-
};
|
|
444
|
-
}
|
|
445
|
-
AtImport.postcss = true;
|
|
446
|
-
module.exports = AtImport;
|
|
447
|
-
}));
|
|
448
|
-
var postcss_import_default = require_postcss_import();
|
|
449
|
-
|
|
450
|
-
//#endregion
|
|
451
|
-
export { postcss_import_default as default };
|
|
452
|
-
//# sourceMappingURL=postcss-import-D8PxJXZF.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"postcss-import-D8PxJXZF.mjs","names":[],"sources":["../../../node_modules/.pnpm/vite@7.3.1_@types+node@25.0.6_terser@5.44.1/node_modules/vite/dist/node/chunks/postcss-import.js"],"sourcesContent":["import { i as __require, t as __commonJSMin } from \"./chunk.js\";\nimport { t as require_lib } from \"./lib.js\";\n\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/format-import-prelude.js\nvar require_format_import_prelude = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = function formatImportPrelude$2(layer, media, supports) {\n\t\tconst parts = [];\n\t\tif (typeof layer !== \"undefined\") {\n\t\t\tlet layerParams = \"layer\";\n\t\t\tif (layer) layerParams = `layer(${layer})`;\n\t\t\tparts.push(layerParams);\n\t\t}\n\t\tif (typeof supports !== \"undefined\") parts.push(`supports(${supports})`);\n\t\tif (typeof media !== \"undefined\") parts.push(media);\n\t\treturn parts.join(\" \");\n\t};\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/base64-encoded-import.js\nvar require_base64_encoded_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst formatImportPrelude$1 = require_format_import_prelude();\n\tmodule.exports = function base64EncodedConditionalImport$1(prelude, conditions) {\n\t\tif (!conditions?.length) return prelude;\n\t\tconditions.reverse();\n\t\tconst first = conditions.pop();\n\t\tlet params = `${prelude} ${formatImportPrelude$1(first.layer, first.media, first.supports)}`;\n\t\tfor (const condition of conditions) params = `'data:text/css;base64,${Buffer.from(`@import ${params}`).toString(\"base64\")}' ${formatImportPrelude$1(condition.layer, condition.media, condition.supports)}`;\n\t\treturn params;\n\t};\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-conditions.js\nvar require_apply_conditions = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst base64EncodedConditionalImport = require_base64_encoded_import();\n\tmodule.exports = function applyConditions$1(bundle, atRule) {\n\t\tconst firstImportStatementIndex = bundle.findIndex((stmt) => stmt.type === \"import\");\n\t\tconst lastImportStatementIndex = bundle.findLastIndex((stmt) => stmt.type === \"import\");\n\t\tbundle.forEach((stmt, index) => {\n\t\t\tif (stmt.type === \"charset\" || stmt.type === \"warning\") return;\n\t\t\tif (stmt.type === \"layer\" && (index < lastImportStatementIndex && stmt.conditions?.length || index > firstImportStatementIndex && index < lastImportStatementIndex)) {\n\t\t\t\tstmt.type = \"import\";\n\t\t\t\tstmt.node = stmt.node.clone({\n\t\t\t\t\tname: \"import\",\n\t\t\t\t\tparams: base64EncodedConditionalImport(`'data:text/css;base64,${Buffer.from(stmt.node.toString()).toString(\"base64\")}'`, stmt.conditions)\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!stmt.conditions?.length) return;\n\t\t\tif (stmt.type === \"import\") {\n\t\t\t\tstmt.node.params = base64EncodedConditionalImport(stmt.fullUri, stmt.conditions);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tlet nodes;\n\t\t\tlet parent;\n\t\t\tif (stmt.type === \"layer\") {\n\t\t\t\tnodes = [stmt.node];\n\t\t\t\tparent = stmt.node.parent;\n\t\t\t} else {\n\t\t\t\tnodes = stmt.nodes;\n\t\t\t\tparent = nodes[0].parent;\n\t\t\t}\n\t\t\tconst atRules = [];\n\t\t\tfor (const condition of stmt.conditions) {\n\t\t\t\tif (typeof condition.media !== \"undefined\") {\n\t\t\t\t\tconst mediaNode = atRule({\n\t\t\t\t\t\tname: \"media\",\n\t\t\t\t\t\tparams: condition.media,\n\t\t\t\t\t\tsource: parent.source\n\t\t\t\t\t});\n\t\t\t\t\tatRules.push(mediaNode);\n\t\t\t\t}\n\t\t\t\tif (typeof condition.supports !== \"undefined\") {\n\t\t\t\t\tconst supportsNode = atRule({\n\t\t\t\t\t\tname: \"supports\",\n\t\t\t\t\t\tparams: `(${condition.supports})`,\n\t\t\t\t\t\tsource: parent.source\n\t\t\t\t\t});\n\t\t\t\t\tatRules.push(supportsNode);\n\t\t\t\t}\n\t\t\t\tif (typeof condition.layer !== \"undefined\") {\n\t\t\t\t\tconst layerNode = atRule({\n\t\t\t\t\t\tname: \"layer\",\n\t\t\t\t\t\tparams: condition.layer,\n\t\t\t\t\t\tsource: parent.source\n\t\t\t\t\t});\n\t\t\t\t\tatRules.push(layerNode);\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst outerAtRule = atRules.shift();\n\t\t\tconst innerAtRule = atRules.reduce((previous, next) => {\n\t\t\t\tprevious.append(next);\n\t\t\t\treturn next;\n\t\t\t}, outerAtRule);\n\t\t\tparent.insertBefore(nodes[0], outerAtRule);\n\t\t\tnodes.forEach((node) => {\n\t\t\t\tnode.parent = void 0;\n\t\t\t});\n\t\t\tnodes[0].raws.before = nodes[0].raws.before || \"\\n\";\n\t\t\tinnerAtRule.append(nodes);\n\t\t\tstmt.type = \"nodes\";\n\t\t\tstmt.nodes = [outerAtRule];\n\t\t\tdelete stmt.node;\n\t\t});\n\t};\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-raws.js\nvar require_apply_raws = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = function applyRaws$1(bundle) {\n\t\tbundle.forEach((stmt, index) => {\n\t\t\tif (index === 0) return;\n\t\t\tif (stmt.parent) {\n\t\t\t\tconst { before } = stmt.parent.node.raws;\n\t\t\t\tif (stmt.type === \"nodes\") stmt.nodes[0].raws.before = before;\n\t\t\t\telse stmt.node.raws.before = before;\n\t\t\t} else if (stmt.type === \"nodes\") stmt.nodes[0].raws.before = stmt.nodes[0].raws.before || \"\\n\";\n\t\t});\n\t};\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-styles.js\nvar require_apply_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = function applyStyles$1(bundle, styles) {\n\t\tstyles.nodes = [];\n\t\tbundle.forEach((stmt) => {\n\t\t\tif ([\n\t\t\t\t\"charset\",\n\t\t\t\t\"import\",\n\t\t\t\t\"layer\"\n\t\t\t].includes(stmt.type)) {\n\t\t\t\tstmt.node.parent = void 0;\n\t\t\t\tstyles.append(stmt.node);\n\t\t\t} else if (stmt.type === \"nodes\") stmt.nodes.forEach((node) => {\n\t\t\t\tnode.parent = void 0;\n\t\t\t\tstyles.append(node);\n\t\t\t});\n\t\t});\n\t};\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/data-url.js\nvar require_data_url = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst anyDataURLRegexp = /^data:text\\/css(?:;(base64|plain))?,/i;\n\tconst base64DataURLRegexp = /^data:text\\/css;base64,/i;\n\tconst plainDataURLRegexp = /^data:text\\/css;plain,/i;\n\tfunction isValid(url) {\n\t\treturn anyDataURLRegexp.test(url);\n\t}\n\tfunction contents(url) {\n\t\tif (base64DataURLRegexp.test(url)) return Buffer.from(url.slice(21), \"base64\").toString();\n\t\tif (plainDataURLRegexp.test(url)) return decodeURIComponent(url.slice(20));\n\t\treturn decodeURIComponent(url.slice(14));\n\t}\n\tmodule.exports = {\n\t\tisValid,\n\t\tcontents\n\t};\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-statements.js\nvar require_parse_statements = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst valueParser = require_lib();\n\tconst { stringify } = valueParser;\n\tmodule.exports = function parseStatements$1(result, styles, conditions, from) {\n\t\tconst statements = [];\n\t\tlet nodes = [];\n\t\tlet encounteredNonImportNodes = false;\n\t\tstyles.each((node) => {\n\t\t\tlet stmt;\n\t\t\tif (node.type === \"atrule\") {\n\t\t\t\tif (node.name === \"import\") stmt = parseImport(result, node, conditions, from);\n\t\t\t\telse if (node.name === \"charset\") stmt = parseCharset(result, node, conditions, from);\n\t\t\t\telse if (node.name === \"layer\" && !encounteredNonImportNodes && !node.nodes) stmt = parseLayer(result, node, conditions, from);\n\t\t\t} else if (node.type !== \"comment\") encounteredNonImportNodes = true;\n\t\t\tif (stmt) {\n\t\t\t\tif (nodes.length) {\n\t\t\t\t\tstatements.push({\n\t\t\t\t\t\ttype: \"nodes\",\n\t\t\t\t\t\tnodes,\n\t\t\t\t\t\tconditions: [...conditions],\n\t\t\t\t\t\tfrom\n\t\t\t\t\t});\n\t\t\t\t\tnodes = [];\n\t\t\t\t}\n\t\t\t\tstatements.push(stmt);\n\t\t\t} else nodes.push(node);\n\t\t});\n\t\tif (nodes.length) statements.push({\n\t\t\ttype: \"nodes\",\n\t\t\tnodes,\n\t\t\tconditions: [...conditions],\n\t\t\tfrom\n\t\t});\n\t\treturn statements;\n\t};\n\tfunction parseCharset(result, atRule, conditions, from) {\n\t\tif (atRule.prev()) return result.warn(\"@charset must precede all other statements\", { node: atRule });\n\t\treturn {\n\t\t\ttype: \"charset\",\n\t\t\tnode: atRule,\n\t\t\tconditions: [...conditions],\n\t\t\tfrom\n\t\t};\n\t}\n\tfunction parseImport(result, atRule, conditions, from) {\n\t\tlet prev = atRule.prev();\n\t\tif (prev) do {\n\t\t\tif (prev.type === \"comment\" || prev.type === \"atrule\" && prev.name === \"import\") {\n\t\t\t\tprev = prev.prev();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t} while (prev);\n\t\tif (prev) do {\n\t\t\tif (prev.type === \"comment\" || prev.type === \"atrule\" && (prev.name === \"charset\" || prev.name === \"layer\" && !prev.nodes)) {\n\t\t\t\tprev = prev.prev();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\treturn result.warn(\"@import must precede all other statements (besides @charset or empty @layer)\", { node: atRule });\n\t\t} while (prev);\n\t\tif (atRule.nodes) return result.warn(\"It looks like you didn't end your @import statement correctly. Child nodes are attached to it.\", { node: atRule });\n\t\tconst params = valueParser(atRule.params).nodes;\n\t\tconst stmt = {\n\t\t\ttype: \"import\",\n\t\t\turi: \"\",\n\t\t\tfullUri: \"\",\n\t\t\tnode: atRule,\n\t\t\tconditions: [...conditions],\n\t\t\tfrom\n\t\t};\n\t\tlet layer;\n\t\tlet media;\n\t\tlet supports;\n\t\tfor (let i = 0; i < params.length; i++) {\n\t\t\tconst node = params[i];\n\t\t\tif (node.type === \"space\" || node.type === \"comment\") continue;\n\t\t\tif (node.type === \"string\") {\n\t\t\t\tif (stmt.uri) return result.warn(`Multiple url's in '${atRule.toString()}'`, { node: atRule });\n\t\t\t\tif (!node.value) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });\n\t\t\t\tstmt.uri = node.value;\n\t\t\t\tstmt.fullUri = stringify(node);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (node.type === \"function\" && /^url$/i.test(node.value)) {\n\t\t\t\tif (stmt.uri) return result.warn(`Multiple url's in '${atRule.toString()}'`, { node: atRule });\n\t\t\t\tif (!node.nodes?.[0]?.value) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });\n\t\t\t\tstmt.uri = node.nodes[0].value;\n\t\t\t\tstmt.fullUri = stringify(node);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (!stmt.uri) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });\n\t\t\tif ((node.type === \"word\" || node.type === \"function\") && /^layer$/i.test(node.value)) {\n\t\t\t\tif (typeof layer !== \"undefined\") return result.warn(`Multiple layers in '${atRule.toString()}'`, { node: atRule });\n\t\t\t\tif (typeof supports !== \"undefined\") return result.warn(`layers must be defined before support conditions in '${atRule.toString()}'`, { node: atRule });\n\t\t\t\tif (node.nodes) layer = stringify(node.nodes);\n\t\t\t\telse layer = \"\";\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (node.type === \"function\" && /^supports$/i.test(node.value)) {\n\t\t\t\tif (typeof supports !== \"undefined\") return result.warn(`Multiple support conditions in '${atRule.toString()}'`, { node: atRule });\n\t\t\t\tsupports = stringify(node.nodes);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tmedia = stringify(params.slice(i));\n\t\t\tbreak;\n\t\t}\n\t\tif (!stmt.uri) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });\n\t\tif (typeof media !== \"undefined\" || typeof layer !== \"undefined\" || typeof supports !== \"undefined\") stmt.conditions.push({\n\t\t\tlayer,\n\t\t\tmedia,\n\t\t\tsupports\n\t\t});\n\t\treturn stmt;\n\t}\n\tfunction parseLayer(result, atRule, conditions, from) {\n\t\treturn {\n\t\t\ttype: \"layer\",\n\t\t\tnode: atRule,\n\t\t\tconditions: [...conditions],\n\t\t\tfrom\n\t\t};\n\t}\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/process-content.js\nvar require_process_content = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst path$2 = __require(\"path\");\n\tlet sugarss;\n\tmodule.exports = function processContent$1(result, content, filename, options, postcss) {\n\t\tconst { plugins } = options;\n\t\tconst ext = path$2.extname(filename);\n\t\tconst parserList = [];\n\t\tif (ext === \".sss\") {\n\t\t\tif (!sugarss)\n /* c8 ignore next 3 */\n\t\t\ttry {\n\t\t\t\tsugarss = __require(\"sugarss\");\n\t\t\t} catch {}\n\t\t\tif (sugarss) return runPostcss(postcss, content, filename, plugins, [sugarss]);\n\t\t}\n\t\tif (result.opts.syntax?.parse) parserList.push(result.opts.syntax.parse);\n\t\tif (result.opts.parser) parserList.push(result.opts.parser);\n\t\tparserList.push(null);\n\t\treturn runPostcss(postcss, content, filename, plugins, parserList);\n\t};\n\tfunction runPostcss(postcss, content, filename, plugins, parsers, index) {\n\t\tif (!index) index = 0;\n\t\treturn postcss(plugins).process(content, {\n\t\t\tfrom: filename,\n\t\t\tparser: parsers[index]\n\t\t}).catch((err) => {\n\t\t\tindex++;\n\t\t\tif (index === parsers.length) throw err;\n\t\t\treturn runPostcss(postcss, content, filename, plugins, parsers, index);\n\t\t});\n\t}\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-styles.js\nvar require_parse_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst path$1 = __require(\"path\");\n\tconst dataURL = require_data_url();\n\tconst parseStatements = require_parse_statements();\n\tconst processContent = require_process_content();\n\tconst resolveId$1 = (id) => id;\n\tconst formatImportPrelude = require_format_import_prelude();\n\tasync function parseStyles$1(result, styles, options, state, conditions, from, postcss) {\n\t\tconst statements = parseStatements(result, styles, conditions, from);\n\t\tfor (const stmt of statements) {\n\t\t\tif (stmt.type !== \"import\" || !isProcessableURL(stmt.uri)) continue;\n\t\t\tif (options.filter && !options.filter(stmt.uri)) continue;\n\t\t\tawait resolveImportId(result, stmt, options, state, postcss);\n\t\t}\n\t\tlet charset;\n\t\tconst beforeBundle = [];\n\t\tconst bundle = [];\n\t\tfunction handleCharset(stmt) {\n\t\t\tif (!charset) charset = stmt;\n\t\t\telse if (stmt.node.params.toLowerCase() !== charset.node.params.toLowerCase()) throw stmt.node.error(`Incompatible @charset statements:\n ${stmt.node.params} specified in ${stmt.node.source.input.file}\n ${charset.node.params} specified in ${charset.node.source.input.file}`);\n\t\t}\n\t\tstatements.forEach((stmt) => {\n\t\t\tif (stmt.type === \"charset\") handleCharset(stmt);\n\t\t\telse if (stmt.type === \"import\") if (stmt.children) stmt.children.forEach((child, index) => {\n\t\t\t\tif (child.type === \"import\") beforeBundle.push(child);\n\t\t\t\telse if (child.type === \"layer\") beforeBundle.push(child);\n\t\t\t\telse if (child.type === \"charset\") handleCharset(child);\n\t\t\t\telse bundle.push(child);\n\t\t\t\tif (index === 0) child.parent = stmt;\n\t\t\t});\n\t\t\telse beforeBundle.push(stmt);\n\t\t\telse if (stmt.type === \"layer\") beforeBundle.push(stmt);\n\t\t\telse if (stmt.type === \"nodes\") bundle.push(stmt);\n\t\t});\n\t\treturn charset ? [charset, ...beforeBundle.concat(bundle)] : beforeBundle.concat(bundle);\n\t}\n\tasync function resolveImportId(result, stmt, options, state, postcss) {\n\t\tif (dataURL.isValid(stmt.uri)) {\n\t\t\tstmt.children = await loadImportContent(result, stmt, stmt.uri, options, state, postcss);\n\t\t\treturn;\n\t\t} else if (dataURL.isValid(stmt.from.slice(-1))) throw stmt.node.error(`Unable to import '${stmt.uri}' from a stylesheet that is embedded in a data url`);\n\t\tconst atRule = stmt.node;\n\t\tlet sourceFile;\n\t\tif (atRule.source?.input?.file) sourceFile = atRule.source.input.file;\n\t\tconst base = sourceFile ? path$1.dirname(atRule.source.input.file) : options.root;\n\t\tconst paths = [await options.resolve(stmt.uri, base, options, atRule)].flat();\n\t\tconst resolved = await Promise.all(paths.map((file) => {\n\t\t\treturn !path$1.isAbsolute(file) ? resolveId$1(file, base, options, atRule) : file;\n\t\t}));\n\t\tresolved.forEach((file) => {\n\t\t\tresult.messages.push({\n\t\t\t\ttype: \"dependency\",\n\t\t\t\tplugin: \"postcss-import\",\n\t\t\t\tfile,\n\t\t\t\tparent: sourceFile\n\t\t\t});\n\t\t});\n\t\tstmt.children = (await Promise.all(resolved.map((file) => {\n\t\t\treturn loadImportContent(result, stmt, file, options, state, postcss);\n\t\t}))).flat().filter((x) => !!x);\n\t}\n\tasync function loadImportContent(result, stmt, filename, options, state, postcss) {\n\t\tconst atRule = stmt.node;\n\t\tconst { conditions, from } = stmt;\n\t\tconst stmtDuplicateCheckKey = conditions.map((condition) => formatImportPrelude(condition.layer, condition.media, condition.supports)).join(\":\");\n\t\tif (options.skipDuplicates) {\n\t\t\tif (state.importedFiles[filename]?.[stmtDuplicateCheckKey]) return;\n\t\t\tif (!state.importedFiles[filename]) state.importedFiles[filename] = {};\n\t\t\tstate.importedFiles[filename][stmtDuplicateCheckKey] = true;\n\t\t}\n\t\tif (from.includes(filename)) return;\n\t\tconst content = await options.load(filename, options);\n\t\tif (content.trim() === \"\" && options.warnOnEmpty) {\n\t\t\tresult.warn(`${filename} is empty`, { node: atRule });\n\t\t\treturn;\n\t\t}\n\t\tif (options.skipDuplicates && state.hashFiles[content]?.[stmtDuplicateCheckKey]) return;\n\t\tconst importedResult = await processContent(result, content, filename, options, postcss);\n\t\tconst styles = importedResult.root;\n\t\tresult.messages = result.messages.concat(importedResult.messages);\n\t\tif (options.skipDuplicates) {\n\t\t\tif (!styles.some((child) => {\n\t\t\t\treturn child.type === \"atrule\" && child.name === \"import\";\n\t\t\t})) {\n\t\t\t\tif (!state.hashFiles[content]) state.hashFiles[content] = {};\n\t\t\t\tstate.hashFiles[content][stmtDuplicateCheckKey] = true;\n\t\t\t}\n\t\t}\n\t\treturn parseStyles$1(result, styles, options, state, conditions, [...from, filename], postcss);\n\t}\n\tfunction isProcessableURL(uri) {\n\t\tif (/^(?:[a-z]+:)?\\/\\//i.test(uri)) return false;\n\t\ttry {\n\t\t\tif (new URL(uri, \"https://example.com\").search) return false;\n\t\t} catch {}\n\t\treturn true;\n\t}\n\tmodule.exports = parseStyles$1;\n}));\n\n//#endregion\n//#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/index.js\nvar require_postcss_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst path = __require(\"path\");\n\tconst applyConditions = require_apply_conditions();\n\tconst applyRaws = require_apply_raws();\n\tconst applyStyles = require_apply_styles();\n\tconst loadContent = () => \"\";\n\tconst parseStyles = require_parse_styles();\n\tconst resolveId = (id) => id;\n\tfunction AtImport(options) {\n\t\toptions = {\n\t\t\troot: process.cwd(),\n\t\t\tpath: [],\n\t\t\tskipDuplicates: true,\n\t\t\tresolve: resolveId,\n\t\t\tload: loadContent,\n\t\t\tplugins: [],\n\t\t\taddModulesDirectories: [],\n\t\t\twarnOnEmpty: true,\n\t\t\t...options\n\t\t};\n\t\toptions.root = path.resolve(options.root);\n\t\tif (typeof options.path === \"string\") options.path = [options.path];\n\t\tif (!Array.isArray(options.path)) options.path = [];\n\t\toptions.path = options.path.map((p) => path.resolve(options.root, p));\n\t\treturn {\n\t\t\tpostcssPlugin: \"postcss-import\",\n\t\t\tasync Once(styles, { result, atRule, postcss }) {\n\t\t\t\tconst state = {\n\t\t\t\t\timportedFiles: {},\n\t\t\t\t\thashFiles: {}\n\t\t\t\t};\n\t\t\t\tif (styles.source?.input?.file) state.importedFiles[styles.source.input.file] = {};\n\t\t\t\tif (options.plugins && !Array.isArray(options.plugins)) throw new Error(\"plugins option must be an array\");\n\t\t\t\tconst bundle = await parseStyles(result, styles, options, state, [], [], postcss);\n\t\t\t\tapplyRaws(bundle);\n\t\t\t\tapplyConditions(bundle, atRule);\n\t\t\t\tapplyStyles(bundle, styles);\n\t\t\t}\n\t\t};\n\t}\n\tAtImport.postcss = true;\n\tmodule.exports = AtImport;\n}));\n\n//#endregion\nexport default require_postcss_import();\n\nexport { };"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAI,gCAAgD,gCAAgB,SAAS,WAAW;AACvF,QAAO,UAAU,SAAS,sBAAsB,OAAO,OAAO,UAAU;EACvE,MAAM,QAAQ,EAAE;AAChB,MAAI,OAAO,UAAU,aAAa;GACjC,IAAI,cAAc;AAClB,OAAI,MAAO,eAAc,SAAS,MAAM;AACxC,SAAM,KAAK,YAAY;;AAExB,MAAI,OAAO,aAAa,YAAa,OAAM,KAAK,YAAY,SAAS,GAAG;AACxE,MAAI,OAAO,UAAU,YAAa,OAAM,KAAK,MAAM;AACnD,SAAO,MAAM,KAAK,IAAI;;GAErB;AAIH,IAAI,gCAAgD,gCAAgB,SAAS,WAAW;CACvF,MAAM,wBAAwB,+BAA+B;AAC7D,QAAO,UAAU,SAAS,iCAAiC,SAAS,YAAY;AAC/E,MAAI,CAAC,YAAY,OAAQ,QAAO;AAChC,aAAW,SAAS;EACpB,MAAM,QAAQ,WAAW,KAAK;EAC9B,IAAI,SAAS,GAAG,QAAQ,GAAG,sBAAsB,MAAM,OAAO,MAAM,OAAO,MAAM,SAAS;AAC1F,OAAK,MAAM,aAAa,WAAY,UAAS,yBAAyB,OAAO,KAAK,WAAW,SAAS,CAAC,SAAS,SAAS,CAAC,IAAI,sBAAsB,UAAU,OAAO,UAAU,OAAO,UAAU,SAAS;AACzM,SAAO;;GAEN;AAIH,IAAI,2BAA2C,gCAAgB,SAAS,WAAW;CAClF,MAAM,iCAAiC,+BAA+B;AACtE,QAAO,UAAU,SAA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0 @@
|
|
|
1
|
-
import { qn as require_native } from "./parseAst-C9pD5vU6.mjs";
|
|
2
|
-
import { a as rollup, c as watch, s as version } from "./node-entry-Elsz8XBx.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/rollup@4.55.1/node_modules/rollup/dist/es/rollup.js
|
|
5
|
-
var import_native = require_native();
|
|
6
|
-
|
|
7
|
-
//#endregion
|
|
8
|
-
export { rollup, watch };
|
|
9
|
-
//# sourceMappingURL=rollup-Cs2z7Zqk.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rollup-Cs2z7Zqk.mjs","names":[],"sources":["../../../node_modules/.pnpm/rollup@4.55.1/node_modules/rollup/dist/es/rollup.js"],"sourcesContent":["/*\n @license\n\tRollup.js v4.55.1\n\tMon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd\n\n\thttps://github.com/rollup/rollup\n\n\tReleased under the MIT License.\n*/\nexport { version as VERSION, defineConfig, rollup, watch } from './shared/node-entry.js';\nimport './shared/parseAst.js';\nimport '../native.js';\nimport 'node:path';\nimport 'path';\nimport 'node:process';\nimport 'node:perf_hooks';\nimport 'node:fs/promises';\n"],"x_google_ignoreList":[0],"mappings":""}
|