main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

20
node_modules/next/dist/build/output/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import type { webpack } from 'next/dist/compiled/webpack/webpack';
export declare function startedDevelopmentServer(appUrl: string, bindAddr: string): void;
type AmpStatus = {
message: string;
line: number;
col: number;
specUrl: string | null;
code: string;
};
export type AmpPageStatus = {
[page: string]: {
errors: AmpStatus[];
warnings: AmpStatus[];
};
};
export declare function formatAmpMessages(amp: AmpPageStatus): string;
export declare function ampValidation(page: string, errors: AmpStatus[], warnings: AmpStatus[]): void;
export declare function watchCompilers(client: webpack.Compiler, server: webpack.Compiler, edgeServer: webpack.Compiler): void;
export declare function reportTrigger(trigger: string): void;
export {};

289
node_modules/next/dist/build/output/index.js generated vendored Normal file
View File

@@ -0,0 +1,289 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
startedDevelopmentServer: null,
formatAmpMessages: null,
ampValidation: null,
watchCompilers: null,
reportTrigger: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
startedDevelopmentServer: function() {
return startedDevelopmentServer;
},
formatAmpMessages: function() {
return formatAmpMessages;
},
ampValidation: function() {
return ampValidation;
},
watchCompilers: function() {
return watchCompilers;
},
reportTrigger: function() {
return reportTrigger;
}
});
const _chalk = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/chalk"));
const _stripansi = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/strip-ansi"));
const _texttable = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/text-table"));
const _unistore = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/unistore"));
const _formatwebpackmessages = /*#__PURE__*/ _interop_require_default(require("../../client/dev/error-overlay/format-webpack-messages"));
const _store = require("./store");
const _constants = require("../../shared/lib/constants");
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
function startedDevelopmentServer(appUrl, bindAddr) {
_store.store.setState({
appUrl,
bindAddr
});
}
function formatAmpMessages(amp) {
let output = _chalk.default.bold("Amp Validation") + "\n\n";
let messages = [];
const chalkError = _chalk.default.red("error");
function ampError(page, error) {
messages.push([
page,
chalkError,
error.message,
error.specUrl || ""
]);
}
const chalkWarn = _chalk.default.yellow("warn");
function ampWarn(page, warn) {
messages.push([
page,
chalkWarn,
warn.message,
warn.specUrl || ""
]);
}
for(const page in amp){
let { errors, warnings } = amp[page];
const devOnlyFilter = (err)=>err.code !== "DEV_MODE_ONLY";
errors = errors.filter(devOnlyFilter);
warnings = warnings.filter(devOnlyFilter);
if (!(errors.length || warnings.length)) {
continue;
}
if (errors.length) {
ampError(page, errors[0]);
for(let index = 1; index < errors.length; ++index){
ampError("", errors[index]);
}
}
if (warnings.length) {
ampWarn(errors.length ? "" : page, warnings[0]);
for(let index = 1; index < warnings.length; ++index){
ampWarn("", warnings[index]);
}
}
messages.push([
"",
"",
"",
""
]);
}
if (!messages.length) {
return "";
}
output += (0, _texttable.default)(messages, {
align: [
"l",
"l",
"l",
"l"
],
stringLength (str) {
return (0, _stripansi.default)(str).length;
}
});
return output;
}
const buildStore = (0, _unistore.default)({
// @ts-expect-error initial value
client: {},
// @ts-expect-error initial value
server: {},
// @ts-expect-error initial value
edgeServer: {}
});
let buildWasDone = false;
let clientWasLoading = true;
let serverWasLoading = true;
let edgeServerWasLoading = false;
buildStore.subscribe((state)=>{
const { amp, client, server, edgeServer, trigger } = state;
const { appUrl } = _store.store.getState();
if (client.loading || server.loading || (edgeServer == null ? void 0 : edgeServer.loading)) {
_store.store.setState({
bootstrap: false,
appUrl: appUrl,
// If it takes more than 3 seconds to compile, mark it as loading status
loading: true,
trigger
}, true);
clientWasLoading = !buildWasDone && clientWasLoading || client.loading;
serverWasLoading = !buildWasDone && serverWasLoading || server.loading;
edgeServerWasLoading = !buildWasDone && edgeServerWasLoading || edgeServer.loading;
buildWasDone = false;
return;
}
buildWasDone = true;
let partialState = {
bootstrap: false,
appUrl: appUrl,
loading: false,
typeChecking: false,
totalModulesCount: (clientWasLoading ? client.totalModulesCount : 0) + (serverWasLoading ? server.totalModulesCount : 0) + (edgeServerWasLoading ? (edgeServer == null ? void 0 : edgeServer.totalModulesCount) || 0 : 0),
hasEdgeServer: !!edgeServer
};
if (client.errors && clientWasLoading) {
// Show only client errors
_store.store.setState({
...partialState,
errors: client.errors,
warnings: null
}, true);
} else if (server.errors && serverWasLoading) {
_store.store.setState({
...partialState,
errors: server.errors,
warnings: null
}, true);
} else if (edgeServer.errors && edgeServerWasLoading) {
_store.store.setState({
...partialState,
errors: edgeServer.errors,
warnings: null
}, true);
} else {
// Show warnings from all of them
const warnings = [
...client.warnings || [],
...server.warnings || [],
...edgeServer.warnings || []
].concat(formatAmpMessages(amp) || []);
_store.store.setState({
...partialState,
errors: null,
warnings: warnings.length === 0 ? null : warnings
}, true);
}
});
function ampValidation(page, errors, warnings) {
const { amp } = buildStore.getState();
if (!(errors.length || warnings.length)) {
buildStore.setState({
amp: Object.keys(amp).filter((k)=>k !== page).sort()// eslint-disable-next-line no-sequences
.reduce((a, c)=>(a[c] = amp[c], a), {})
});
return;
}
const newAmp = {
...amp,
[page]: {
errors,
warnings
}
};
buildStore.setState({
amp: Object.keys(newAmp).sort()// eslint-disable-next-line no-sequences
.reduce((a, c)=>(a[c] = newAmp[c], a), {})
});
}
function watchCompilers(client, server, edgeServer) {
buildStore.setState({
client: {
loading: true
},
server: {
loading: true
},
edgeServer: {
loading: true
},
trigger: "initial"
});
function tapCompiler(key, compiler, onEvent) {
compiler.hooks.invalid.tap(`NextJsInvalid-${key}`, ()=>{
onEvent({
loading: true
});
});
compiler.hooks.done.tap(`NextJsDone-${key}`, (stats)=>{
buildStore.setState({
amp: {}
});
const { errors, warnings } = (0, _formatwebpackmessages.default)(stats.toJson({
preset: "errors-warnings",
moduleTrace: true
}));
const hasErrors = !!(errors == null ? void 0 : errors.length);
const hasWarnings = !!(warnings == null ? void 0 : warnings.length);
onEvent({
loading: false,
totalModulesCount: stats.compilation.modules.size,
errors: hasErrors ? errors : null,
warnings: hasWarnings ? warnings : null
});
});
}
tapCompiler(_constants.COMPILER_NAMES.client, client, (status)=>{
if (!status.loading && !buildStore.getState().server.loading && !buildStore.getState().edgeServer.loading && status.totalModulesCount > 0) {
buildStore.setState({
client: status,
trigger: undefined
});
} else {
buildStore.setState({
client: status
});
}
});
tapCompiler(_constants.COMPILER_NAMES.server, server, (status)=>{
if (!status.loading && !buildStore.getState().client.loading && !buildStore.getState().edgeServer.loading && status.totalModulesCount > 0) {
buildStore.setState({
server: status,
trigger: undefined
});
} else {
buildStore.setState({
server: status
});
}
});
tapCompiler(_constants.COMPILER_NAMES.edgeServer, edgeServer, (status)=>{
if (!status.loading && !buildStore.getState().client.loading && !buildStore.getState().server.loading && status.totalModulesCount > 0) {
buildStore.setState({
edgeServer: status,
trigger: undefined
});
} else {
buildStore.setState({
edgeServer: status
});
}
});
}
function reportTrigger(trigger) {
buildStore.setState({
trigger
});
}
//# sourceMappingURL=index.js.map

1
node_modules/next/dist/build/output/index.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

18
node_modules/next/dist/build/output/log.d.ts generated vendored Normal file
View File

@@ -0,0 +1,18 @@
export declare const prefixes: {
readonly wait: string;
readonly error: string;
readonly warn: string;
readonly ready: string;
readonly info: string;
readonly event: string;
readonly trace: string;
};
export declare function bootstrap(...message: any[]): void;
export declare function wait(...message: any[]): void;
export declare function error(...message: any[]): void;
export declare function warn(...message: any[]): void;
export declare function ready(...message: any[]): void;
export declare function info(...message: any[]): void;
export declare function event(...message: any[]): void;
export declare function trace(...message: any[]): void;
export declare function warnOnce(...message: any[]): void;

120
node_modules/next/dist/build/output/log.js generated vendored Normal file
View File

@@ -0,0 +1,120 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
prefixes: null,
bootstrap: null,
wait: null,
error: null,
warn: null,
ready: null,
info: null,
event: null,
trace: null,
warnOnce: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
prefixes: function() {
return prefixes;
},
bootstrap: function() {
return bootstrap;
},
wait: function() {
return wait;
},
error: function() {
return error;
},
warn: function() {
return warn;
},
ready: function() {
return ready;
},
info: function() {
return info;
},
event: function() {
return event;
},
trace: function() {
return trace;
},
warnOnce: function() {
return warnOnce;
}
});
const _chalk = /*#__PURE__*/ _interop_require_default(require("../../lib/chalk"));
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
const prefixes = {
wait: _chalk.default.white(_chalk.default.bold("○")),
error: _chalk.default.red(_chalk.default.bold("X")),
warn: _chalk.default.yellow(_chalk.default.bold("⚠")),
ready: _chalk.default.bold("▲"),
info: _chalk.default.white(_chalk.default.bold(" ")),
event: _chalk.default.green(_chalk.default.bold("✓")),
trace: _chalk.default.magenta(_chalk.default.bold("\xbb"))
};
const LOGGING_METHOD = {
log: "log",
warn: "warn",
error: "error"
};
function prefixedLog(prefixType, ...message) {
if ((message[0] === "" || message[0] === undefined) && message.length === 1) {
message.shift();
}
const consoleMethod = prefixType in LOGGING_METHOD ? LOGGING_METHOD[prefixType] : "log";
const prefix = prefixes[prefixType];
// If there's no message, don't print the prefix but a new line
if (message.length === 0) {
console[consoleMethod]("");
} else {
console[consoleMethod](" " + prefix, ...message);
}
}
function bootstrap(...message) {
console.log(" ", ...message);
}
function wait(...message) {
prefixedLog("wait", ...message);
}
function error(...message) {
prefixedLog("error", ...message);
}
function warn(...message) {
prefixedLog("warn", ...message);
}
function ready(...message) {
prefixedLog("ready", ...message);
}
function info(...message) {
prefixedLog("info", ...message);
}
function event(...message) {
prefixedLog("event", ...message);
}
function trace(...message) {
prefixedLog("trace", ...message);
}
const warnOnceMessages = new Set();
function warnOnce(...message) {
if (!warnOnceMessages.has(message[0])) {
warnOnceMessages.add(message.join(" "));
warn(...message);
}
}
//# sourceMappingURL=log.js.map

1
node_modules/next/dist/build/output/log.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/build/output/log.ts"],"names":["prefixes","bootstrap","wait","error","warn","ready","info","event","trace","warnOnce","chalk","white","bold","red","yellow","green","magenta","LOGGING_METHOD","log","prefixedLog","prefixType","message","undefined","length","shift","consoleMethod","prefix","console","warnOnceMessages","Set","has","add","join"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;IAEaA,QAAQ;eAARA;;IAmCGC,SAAS;eAATA;;IAIAC,IAAI;eAAJA;;IAIAC,KAAK;eAALA;;IAIAC,IAAI;eAAJA;;IAIAC,KAAK;eAALA;;IAIAC,IAAI;eAAJA;;IAIAC,KAAK;eAALA;;IAIAC,KAAK;eAALA;;IAKAC,QAAQ;eAARA;;;8DAtEE;;;;;;AAEX,MAAMT,WAAW;IACtBE,MAAMQ,cAAK,CAACC,KAAK,CAACD,cAAK,CAACE,IAAI,CAAC;IAC7BT,OAAOO,cAAK,CAACG,GAAG,CAACH,cAAK,CAACE,IAAI,CAAC;IAC5BR,MAAMM,cAAK,CAACI,MAAM,CAACJ,cAAK,CAACE,IAAI,CAAC;IAC9BP,OAAOK,cAAK,CAACE,IAAI,CAAC;IAClBN,MAAMI,cAAK,CAACC,KAAK,CAACD,cAAK,CAACE,IAAI,CAAC;IAC7BL,OAAOG,cAAK,CAACK,KAAK,CAACL,cAAK,CAACE,IAAI,CAAC;IAC9BJ,OAAOE,cAAK,CAACM,OAAO,CAACN,cAAK,CAACE,IAAI,CAAC;AAClC;AAEA,MAAMK,iBAAiB;IACrBC,KAAK;IACLd,MAAM;IACND,OAAO;AACT;AAEA,SAASgB,YAAYC,UAAiC,EAAE,GAAGC,OAAc;IACvE,IAAI,AAACA,CAAAA,OAAO,CAAC,EAAE,KAAK,MAAMA,OAAO,CAAC,EAAE,KAAKC,SAAQ,KAAMD,QAAQE,MAAM,KAAK,GAAG;QAC3EF,QAAQG,KAAK;IACf;IAEA,MAAMC,gBACJL,cAAcH,iBACVA,cAAc,CAACG,WAA0C,GACzD;IAEN,MAAMM,SAAS1B,QAAQ,CAACoB,WAAW;IACnC,+DAA+D;IAC/D,IAAIC,QAAQE,MAAM,KAAK,GAAG;QACxBI,OAAO,CAACF,cAAc,CAAC;IACzB,OAAO;QACLE,OAAO,CAACF,cAAc,CAAC,MAAMC,WAAWL;IAC1C;AACF;AAEO,SAASpB,UAAU,GAAGoB,OAAc;IACzCM,QAAQT,GAAG,CAAC,QAAQG;AACtB;AAEO,SAASnB,KAAK,GAAGmB,OAAc;IACpCF,YAAY,WAAWE;AACzB;AAEO,SAASlB,MAAM,GAAGkB,OAAc;IACrCF,YAAY,YAAYE;AAC1B;AAEO,SAASjB,KAAK,GAAGiB,OAAc;IACpCF,YAAY,WAAWE;AACzB;AAEO,SAAShB,MAAM,GAAGgB,OAAc;IACrCF,YAAY,YAAYE;AAC1B;AAEO,SAASf,KAAK,GAAGe,OAAc;IACpCF,YAAY,WAAWE;AACzB;AAEO,SAASd,MAAM,GAAGc,OAAc;IACrCF,YAAY,YAAYE;AAC1B;AAEO,SAASb,MAAM,GAAGa,OAAc;IACrCF,YAAY,YAAYE;AAC1B;AAEA,MAAMO,mBAAmB,IAAIC;AACtB,SAASpB,SAAS,GAAGY,OAAc;IACxC,IAAI,CAACO,iBAAiBE,GAAG,CAACT,OAAO,CAAC,EAAE,GAAG;QACrCO,iBAAiBG,GAAG,CAACV,QAAQW,IAAI,CAAC;QAElC5B,QAAQiB;IACV;AACF"}

20
node_modules/next/dist/build/output/store.d.ts generated vendored Normal file
View File

@@ -0,0 +1,20 @@
export type OutputState = {
bootstrap: true;
appUrl: string | null;
bindAddr: string | null;
} | ({
bootstrap: false;
appUrl: string | null;
bindAddr: string | null;
} & ({
loading: true;
trigger: string | undefined;
} | {
loading: false;
typeChecking: boolean;
totalModulesCount: number;
errors: string[] | null;
warnings: string[] | null;
hasEdgeServer: boolean;
}));
export declare const store: import("unistore").Store<OutputState>;

172
node_modules/next/dist/build/output/store.js generated vendored Normal file
View File

@@ -0,0 +1,172 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "store", {
enumerable: true,
get: function() {
return store;
}
});
const _unistore = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/unistore"));
const _stripansi = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/strip-ansi"));
const _trace = require("../../trace");
const _swc = require("../swc");
const _log = /*#__PURE__*/ _interop_require_wildcard(require("./log"));
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
function _getRequireWildcardCache(nodeInterop) {
if (typeof WeakMap !== "function") return null;
var cacheBabelInterop = new WeakMap();
var cacheNodeInterop = new WeakMap();
return (_getRequireWildcardCache = function(nodeInterop) {
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
})(nodeInterop);
}
function _interop_require_wildcard(obj, nodeInterop) {
if (!nodeInterop && obj && obj.__esModule) {
return obj;
}
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
return {
default: obj
};
}
var cache = _getRequireWildcardCache(nodeInterop);
if (cache && cache.has(obj)) {
return cache.get(obj);
}
var newObj = {};
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
for(var key in obj){
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
if (desc && (desc.get || desc.set)) {
Object.defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
}
}
newObj.default = obj;
if (cache) {
cache.set(obj, newObj);
}
return newObj;
}
const MAX_DURATION = 3 * 1000;
const store = (0, _unistore.default)({
appUrl: null,
bindAddr: null,
bootstrap: true
});
let lastStore = {
appUrl: null,
bindAddr: null,
bootstrap: true
};
function hasStoreChanged(nextStore) {
if ([
...new Set([
...Object.keys(lastStore),
...Object.keys(nextStore)
])
].every((key)=>Object.is(lastStore[key], nextStore[key]))) {
return false;
}
lastStore = nextStore;
return true;
}
let startTime = 0;
let trigger = "" // default, use empty string for trigger
;
let loadingLogTimer = null;
store.subscribe((state)=>{
if (!hasStoreChanged(state)) {
return;
}
if (state.bootstrap) {
return;
}
if (state.loading) {
if (state.trigger) {
trigger = state.trigger;
if (trigger !== "initial") {
if (!loadingLogTimer) {
// Only log compiling if compiled is not finished in 3 seconds
loadingLogTimer = setTimeout(()=>{
_log.wait(`compiling ${trigger} ...`);
}, MAX_DURATION);
}
}
}
if (startTime === 0) {
startTime = Date.now();
}
return;
}
if (state.errors) {
_log.error(state.errors[0]);
const cleanError = (0, _stripansi.default)(state.errors[0]);
if (cleanError.indexOf("SyntaxError") > -1) {
const matches = cleanError.match(/\[.*\]=/);
if (matches) {
for (const match of matches){
const prop = (match.split("]").shift() || "").slice(1);
console.log(`AMP bind syntax [${prop}]='' is not supported in JSX, use 'data-amp-bind-${prop}' instead. https://nextjs.org/docs/messages/amp-bind-jsx-alt`);
}
return;
}
}
startTime = 0;
// Ensure traces are flushed after each compile in development mode
(0, _trace.flushAllTraces)();
(0, _swc.teardownTraceSubscriber)();
(0, _swc.teardownHeapProfiler)();
(0, _swc.teardownCrashReporter)();
return;
}
let timeMessage = "";
if (startTime) {
const time = Date.now() - startTime;
startTime = 0;
timeMessage = " " + (time > 2000 ? `in ${Math.round(time / 100) / 10}s` : `in ${time}ms`);
}
let modulesMessage = "";
if (state.totalModulesCount) {
modulesMessage = ` (${state.totalModulesCount} modules)`;
}
if (state.warnings) {
_log.warn(state.warnings.join("\n\n"));
// Ensure traces are flushed after each compile in development mode
(0, _trace.flushAllTraces)();
(0, _swc.teardownTraceSubscriber)();
(0, _swc.teardownHeapProfiler)();
(0, _swc.teardownCrashReporter)();
return;
}
if (state.typeChecking) {
_log.info(`bundled ${trigger}${timeMessage}${modulesMessage}, type checking...`);
return;
}
if (trigger === "initial") {
trigger = "";
} else {
if (loadingLogTimer) {
clearTimeout(loadingLogTimer);
loadingLogTimer = null;
}
_log.event(`Compiled${trigger ? " " + trigger : ""}${timeMessage}${modulesMessage}`);
trigger = "";
}
// Ensure traces are flushed after each compile in development mode
(0, _trace.flushAllTraces)();
(0, _swc.teardownTraceSubscriber)();
(0, _swc.teardownHeapProfiler)();
(0, _swc.teardownCrashReporter)();
});
//# sourceMappingURL=store.js.map

1
node_modules/next/dist/build/output/store.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/build/output/store.ts"],"names":["store","MAX_DURATION","createStore","appUrl","bindAddr","bootstrap","lastStore","hasStoreChanged","nextStore","Set","Object","keys","every","key","is","startTime","trigger","loadingLogTimer","subscribe","state","loading","setTimeout","Log","wait","Date","now","errors","error","cleanError","stripAnsi","indexOf","matches","match","prop","split","shift","slice","console","log","flushAllTraces","teardownTraceSubscriber","teardownHeapProfiler","teardownCrashReporter","timeMessage","time","Math","round","modulesMessage","totalModulesCount","warnings","warn","join","typeChecking","info","clearTimeout","event"],"mappings":";;;;+BA6BaA;;;eAAAA;;;iEA7BW;kEACF;uBACS;qBAKxB;6DACc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAErB,MAAMC,eAAe,IAAI;AAmBlB,MAAMD,QAAQE,IAAAA,iBAAW,EAAc;IAC5CC,QAAQ;IACRC,UAAU;IACVC,WAAW;AACb;AAEA,IAAIC,YAAyB;IAAEH,QAAQ;IAAMC,UAAU;IAAMC,WAAW;AAAK;AAC7E,SAASE,gBAAgBC,SAAsB;IAC7C,IACE,AACE;WACK,IAAIC,IAAI;eAAIC,OAAOC,IAAI,CAACL;eAAeI,OAAOC,IAAI,CAACH;SAAW;KAClE,CACDI,KAAK,CAAC,CAACC,MAAQH,OAAOI,EAAE,CAACR,SAAS,CAACO,IAAI,EAAEL,SAAS,CAACK,IAAI,IACzD;QACA,OAAO;IACT;IAEAP,YAAYE;IACZ,OAAO;AACT;AAEA,IAAIO,YAAY;AAChB,IAAIC,UAAU,GAAG,wCAAwC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