@prisma/orm-toolchain 8.0.0-rc.14-dev.1 → 8.0.0-rc.14-dev.3

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.
@@ -1 +0,0 @@
1
- {"version":3,"file":"exports-uIufkd50.mjs","names":[],"sources":["../../../../1-framework/3-tooling/config-loader/dist/exports/index.mjs"],"sourcesContent":["import { createRequire } from \"node:module\";\nimport { dirname, join, matchesGlob, resolve } from \"pathe\";\nimport { glob, isDynamicPattern } from \"tinyglobby\";\nimport { realpathSync } from \"node:fs\";\nimport { access } from \"node:fs/promises\";\nimport { pathToFileURL } from \"node:url\";\nimport { getEmittedArtifactPaths } from \"@internal/emitter\";\nimport { CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing } from \"@internal/errors/control\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { notOk, ok } from \"@internal/utils/result\";\nimport { isStructuredError } from \"@internal/utils/structured-error\";\nimport { configSchema, defineConfigSection, reference, validateSectionWithSchema } from \"@prisma/cli-engine\";\n//#region src/expand-contract-inputs.ts\nconst UNC_PREFIX_RE = /^(?:\\\\\\\\|\\/\\/)/;\nfunction isUncLike(entry) {\n\treturn UNC_PREFIX_RE.test(entry);\n}\nfunction resolveLiteral(entry) {\n\treturn isUncLike(entry) ? entry : resolve(entry);\n}\n/**\n* Expands a finalized contract source input list into its member file set:\n* absolute, deduped by canonical path, sorted. `patterns` must already be\n* absolute (the `orm` config schema resolves each entry against the config\n* file that wrote it but does not expand it).\n*\n* A wildcard-free entry (per tinyglobby's own magic-character check) passes\n* through verbatim — no globbing, no existence check, no directory\n* expansion — so a literal file, a nonexistent path (its read error\n* surfaces downstream), and a directory (`contract-prisma7`'s adoption\n* surface) all reach the result unchanged. Only entries containing glob\n* magic run through `tinyglobby`, directories-not-auto-expanded and\n* files-only; a glob matching nothing contributes nothing — no diagnostic\n* here.\n*/\nasync function expandContractInputs(patterns) {\n\tif (patterns === void 0 || patterns.length === 0) return [];\n\tconst literals = [];\n\tconst globPatterns = [];\n\tfor (const pattern of patterns) (isDynamicPattern(pattern) ? globPatterns : literals).push(pattern);\n\tconst globMatches = globPatterns.length === 0 ? [] : await glob(globPatterns, {\n\t\tabsolute: true,\n\t\tonlyFiles: true,\n\t\texpandDirectories: false\n\t});\n\tconst canonical = new Set([...literals, ...globMatches].map(resolveLiteral));\n\treturn Array.from(canonical).sort();\n}\n/**\n* The first glob entry of `patterns` that `path` matches, whether or not a\n* file exists at `path`. Both must be absolute.\n*/\nfunction globContractInputMatching(patterns, path) {\n\treturn patterns.find((pattern) => isDynamicPattern(pattern) && matchesGlob(path, pattern));\n}\n//#endregion\n//#region src/orm-section.ts\n/** The single config section the `orm` command family owns. */\nconst ORM_CONFIG_SECTION_NAME = \"orm\";\nconst CONFIG_SECTIONS = [\n\t\"family\",\n\t\"target\",\n\t\"adapter\",\n\t\"driver\",\n\t\"extensions\",\n\t\"db\",\n\t\"contract\",\n\t\"migrations\",\n\t\"formatter\"\n];\nfunction isConfigSection(value) {\n\treturn CONFIG_SECTIONS.some((section) => section === value);\n}\n/**\n* The fields that identify a control descriptor. Only these are declared: a\n* descriptor is a runtime object the family builds, and its other members\n* (codec tables, the contract serializer, migration hooks) pass through. Each\n* descriptor is declared a reference, so the command receives the object the\n* config file built.\n*/\nconst descriptorFields = {\n\tid: \"string\",\n\tfamilyId: \"string\",\n\tversion: \"string\",\n\tcreate: \"Function\"\n};\nconst targetLikeFields = {\n\t...descriptorFields,\n\ttargetId: \"string\"\n};\n/**\n* The contract source provider: `load` closes over the authored contract,\n* `inputs` are paths the schema resolves against the config file, and\n* `format` names the language the inputs are written in. Other keys a\n* provider carries pass through.\n*/\nconst contractSource = {\n\tload: \"Function\",\n\t\"inputs?\": \"path[]\",\n\tformat: \"'psl' | 'typescript'\"\n};\n/** Each subsection's own shape, without the rules that relate subsections to one another. */\nconst ormSubsectionsSchema = configSchema({\n\tfamily: reference(configSchema({\n\t\tkind: \"'family'\",\n\t\t...descriptorFields,\n\t\temission: \"object\"\n\t})),\n\ttarget: reference(configSchema({\n\t\tkind: \"'target'\",\n\t\t...targetLikeFields\n\t})),\n\tadapter: reference(configSchema({\n\t\tkind: \"'adapter'\",\n\t\t...targetLikeFields\n\t})),\n\t\"driver?\": reference(configSchema({\n\t\tkind: \"'driver'\",\n\t\t...targetLikeFields\n\t})),\n\t\"extensions?\": [reference(configSchema({\n\t\tkind: \"'extension'\",\n\t\t...targetLikeFields\n\t})), \"[]\"],\n\t\"db?\": { \"connection?\": reference(configSchema(\"unknown\")) },\n\t\"contract?\": {\n\t\tsource: contractSource,\n\t\toutput: [\n\t\t\t\"path\",\n\t\t\t\"=\",\n\t\t\t() => \"src/prisma/contract.json\"\n\t\t]\n\t},\n\tmigrations: [\n\t\t{ dir: [\n\t\t\t\"path\",\n\t\t\t\"=\",\n\t\t\t() => \"./migrations\"\n\t\t] },\n\t\t\"=\",\n\t\t() => ({})\n\t],\n\t\"formatter?\": {\n\t\t\"indent?\": \"number.integer >= 1 | 'tab'\",\n\t\t\"newline?\": \"'LF' | 'CRLF'\"\n\t}\n});\n/**\n* Every broken rule relating the descriptor subsections: each descriptor\n* shares the family's `familyId`, and each target-bound descriptor shares\n* the target's `targetId`. A rule is checked only when `checked` accepts\n* both subsections it relates, so a loader can check the subsections that\n* validated while others have diagnostics.\n*/\nfunction descriptorRelationshipProblems(config, checked) {\n\tconst family = checked(\"family\") ? config.family : void 0;\n\tconst target = checked(\"target\") ? config.target : void 0;\n\tconst bound = [\n\t\t[[\"target\"], target],\n\t\t[[\"adapter\"], checked(\"adapter\") ? config.adapter : void 0],\n\t\t[[\"driver\"], checked(\"driver\") ? config.driver : void 0],\n\t\t...(checked(\"extensions\") ? config.extensions ?? [] : []).map((extension, index) => [[\"extensions\", index], extension])\n\t];\n\tconst problems = [];\n\tfor (const [path, descriptor] of bound) {\n\t\tif (descriptor === void 0) continue;\n\t\tif (family !== void 0 && descriptor.familyId !== family.familyId) problems.push({\n\t\t\tpath: [...path, \"familyId\"],\n\t\t\texpected: `Config.family.familyId (${family.familyId})`,\n\t\t\tactual: descriptor.familyId\n\t\t});\n\t\tif (target !== void 0 && path[0] !== \"target\" && descriptor.targetId !== target.targetId) problems.push({\n\t\t\tpath: [...path, \"targetId\"],\n\t\t\texpected: `Config.target.targetId (${target.targetId})`,\n\t\t\tactual: descriptor.targetId\n\t\t});\n\t}\n\treturn problems;\n}\n/**\n* The shape of the `orm` section of `prisma.config.ts`, declared once. The\n* CLI engine derives validation, the diagnostics naming a bad field and the\n* file to fix, and the resolution of every `path` field against the config\n* file that wrote it (prisma-cli ADR 0005). Relative paths are resolved\n* before any command sees the value, and the value carries `baseDir`.\n*/\nconst ormConfigSchema = ormSubsectionsSchema.narrow((config, ctx) => {\n\tif (\"extensionPacks\" in config) return ctx.reject({\n\t\tpath: [\"extensionPacks\"],\n\t\tmessage: \"Config.extensionPacks is no longer supported; rename it to Config.extensions\"\n\t});\n\tconst problems = descriptorRelationshipProblems(config, () => true);\n\tfor (const problem of problems) ctx.error({\n\t\tpath: [...problem.path],\n\t\texpected: problem.expected,\n\t\tactual: problem.actual\n\t});\n\treturn problems.length === 0;\n});\n/**\n* The section token the ORM's commands declare in `needs.config`. The\n* engine validates the merged section with its provenance and hands the\n* handler the value: absolute paths, `migrations.dir` defaulted, `baseDir`\n* recorded.\n*/\nconst ormConfigSection = blindCast(defineConfigSection({\n\tname: \"orm\",\n\tschema: ormConfigSchema\n}));\n/**\n* Validates a raw `orm` section the way the engine does for a command,\n* for the loaders and tools that read the config outside a command run.\n*/\nfunction validateOrmSection(raw, provenance) {\n\treturn blindCast(validateSectionWithSchema(\"orm\", ormConfigSchema, raw, provenance));\n}\n/**\n* Validates the shape of every subsection except `failing`, which comes back\n* as authored. A loader uses it when some subsections have diagnostics, so a\n* caller that reads only the others still gets their paths resolved and\n* defaults applied. The rules relating subsections are not applied here; see\n* {@link descriptorRelationshipProblems}.\n*/\nfunction validateOrmSectionExcept(raw, provenance, failing) {\n\tconst healthy = CONFIG_SECTIONS.filter((section) => !failing.has(section));\n\treturn validateSectionWithSchema(\"orm\", ormSubsectionsSchema.pick(...healthy), raw, provenance);\n}\n//#endregion\n//#region src/load.ts\nconst CONFIG_FILENAME = \"prisma.config.ts\";\nasync function findNearestConfigPathForFile(filePath) {\n\tlet current = dirname(resolve(process.cwd(), filePath));\n\twhile (true) {\n\t\tconst candidate = join(current, CONFIG_FILENAME);\n\t\tif (await fileExists(candidate)) return candidate;\n\t\tconst parent = dirname(current);\n\t\tif (parent === current) return;\n\t\tcurrent = parent;\n\t}\n}\nasync function fileExists(path) {\n\ttry {\n\t\tawait access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\nfunction isRecord(value) {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\nfunction collectArtifactCollisionDiagnostics(contract) {\n\tconst inputs = contract.source.inputs;\n\tconst output = contract.output;\n\tif (inputs === void 0 || output === void 0) return [];\n\tlet emittedArtifactPaths;\n\ttry {\n\t\temittedArtifactPaths = getEmittedArtifactPaths(output);\n\t} catch (error) {\n\t\treturn [errorConfigValidation(\"contract.output\", {\n\t\t\t/* v8 ignore next -- getEmittedArtifactPaths only ever throws an Error */\n\t\t\twhy: error instanceof Error ? error.message : String(error),\n\t\t\tsection: \"contract\"\n\t\t})];\n\t}\n\tconst emittedPaths = /* @__PURE__ */ new Set([emittedArtifactPaths.jsonPath, emittedArtifactPaths.dtsPath]);\n\tif (inputs.some((input) => emittedPaths.has(input))) return [errorConfigValidation(\"contract.source.inputs[]\", {\n\t\twhy: \"Config.contract.source.inputs must not include emitted artifact paths derived from contract.output\",\n\t\tsection: \"contract\"\n\t})];\n\treturn [];\n}\nfunction validateLoadedSection(rawConfig, provenance) {\n\tconst validation = validateOrmSection(rawConfig, provenance);\n\tif (!validation.ok) {\n\t\tconst diagnostics = validation.diagnostics.map((diagnostic) => {\n\t\t\tconst field = typeof diagnostic.meta?.[\"field\"] === \"string\" ? diagnostic.meta[\"field\"] : \"\";\n\t\t\tconst section = field.split(\".\")[0] ?? \"\";\n\t\t\treturn errorConfigValidation(field, {\n\t\t\t\twhy: diagnostic.summary,\n\t\t\t\t...isConfigSection(section) ? { section } : {}\n\t\t\t});\n\t\t});\n\t\tconst failing = new Set(diagnostics.map((diagnostic) => String(diagnostic.meta?.[\"section\"] ?? \"\")));\n\t\tconst partial = validateOrmSectionExcept(rawConfig, provenance, failing);\n\t\tconst config = blindCast(partial.ok ? partial.value : rawConfig);\n\t\tif (!partial.ok) return {\n\t\t\tconfig,\n\t\t\tdiagnostics\n\t\t};\n\t\tconst related = descriptorRelationshipProblems(config, (section) => !failing.has(section)).map((problem) => errorConfigValidation(problem.path.join(\".\"), {\n\t\t\twhy: `${problem.path.join(\".\")} must be ${problem.expected} (was ${problem.actual})`,\n\t\t\tsection: String(problem.path[0])\n\t\t}));\n\t\tconst collisions = failing.has(\"contract\") || config.contract === void 0 ? [] : collectArtifactCollisionDiagnostics(config.contract);\n\t\treturn {\n\t\t\tconfig,\n\t\t\tdiagnostics: [\n\t\t\t\t...diagnostics,\n\t\t\t\t...related,\n\t\t\t\t...collisions\n\t\t\t]\n\t\t};\n\t}\n\tconst config = validation.value;\n\tif (config.contract === void 0) return {\n\t\tconfig,\n\t\tdiagnostics: []\n\t};\n\treturn {\n\t\tconfig,\n\t\tdiagnostics: collectArtifactCollisionDiagnostics(config.contract)\n\t};\n}\n/**\n* Validates a raw `orm` section and resolves its paths against `configDir`, the way a loaded config\n* file is. A caller that builds the section in memory gets the same diagnostics as one that wrote\n* it to `prisma.config.ts`.\n*/\nfunction buildLoadedConfig(rawConfig, configDir) {\n\tconst file = join(configDir, CONFIG_FILENAME);\n\treturn validateLoadedSection(rawConfig, {\n\t\tfiles: [file],\n\t\tkeys: Object.fromEntries(Object.keys(rawConfig).map((key) => [key, file]))\n\t});\n}\nfunction toConfigLoadFailure(error, configPath) {\n\tif (CliStructuredError.is(error)) return error;\n\tconst resolvedPath = configPath ? resolve(process.cwd(), configPath) : void 0;\n\tif (isStructuredError(error)) return new CliStructuredError(error.code, error.message, {\n\t\t...ifDefined(\"why\", error.why),\n\t\t...ifDefined(\"fix\", error.fix),\n\t\t...ifDefined(\"where\", error.where),\n\t\t...ifDefined(\"meta\", error.meta),\n\t\tcause: error\n\t});\n\tif (error instanceof Error) return errorConfigEvaluationFailed(resolvedPath, {\n\t\twhy: error.message,\n\t\tcause: error\n\t});\n\treturn errorConfigEvaluationFailed(resolvedPath, { why: String(error) });\n}\n/**\n* c12 is resolved to its real on-disk entry before importing: jiti (inside\n* c12) resolves its own transitive imports from the importing file's location,\n* and a symlinked install (pnpm) would otherwise anchor them somewhere the\n* packages are not. Importing at the real location keeps every transitive\n* resolution working.\n*/\nasync function importC12() {\n\treturn await import(pathToFileURL(realpathSync(createRequire(import.meta.url).resolve(\"c12\"))).href);\n}\n/**\n* Runs c12 against one config path. Every throw out of evaluation becomes a\n* `CONFIG.EVALUATION_FAILED` and a requested path c12 did not resolve to becomes\n* `CONFIG.FILE_NOT_FOUND`, so both loaders report the same failures for the\n* same file.\n*/\nasync function evaluateWithC12(configPath, cwd) {\n\tconst resolvedConfigPath = configPath ? resolve(cwd, configPath) : void 0;\n\tconst configCwd = resolvedConfigPath ? dirname(resolvedConfigPath) : cwd;\n\tlet result;\n\ttry {\n\t\tresult = await (await importC12()).loadConfig({\n\t\t\tname: \"prisma\",\n\t\t\t...ifDefined(\"configFile\", resolvedConfigPath),\n\t\t\tcwd: configCwd\n\t\t});\n\t} catch (error) {\n\t\treturn notOk(toConfigLoadFailure(error, configPath));\n\t}\n\tif (resolvedConfigPath && result.configFile !== resolvedConfigPath) return notOk(errorConfigFileNotFound(resolvedConfigPath));\n\treturn ok(result);\n}\nconst FILE_FORMAT_KEYS = /* @__PURE__ */ new Set([\"$prismaConfig\", \"extends\"]);\nfunction sectionsOf(exported) {\n\treturn Object.fromEntries(Object.entries(exported).filter(([key]) => !FILE_FORMAT_KEYS.has(key)));\n}\n/**\n* Evaluates `prisma.config.ts` and hands back each file on the chain with its\n* sections as written, plus c12's merge. Failures that prevent evaluation are\n* the Result failure. Nothing is validated or resolved here: the CLI engine\n* validates each section against its schema with the files' provenance, and\n* {@link loadConfig} does the same for the `orm` section outside a command run.\n*/\nasync function loadConfigFiles(configPath, options) {\n\tconst cwd = options?.cwd ?? process.cwd();\n\tconst resolvedConfigPath = configPath ? resolve(cwd, configPath) : void 0;\n\tconst configCwd = resolvedConfigPath ? dirname(resolvedConfigPath) : cwd;\n\tconst evaluated = await evaluateWithC12(configPath, cwd);\n\tif (!evaluated.ok) return evaluated;\n\tconst result = evaluated.value;\n\tif (!result.config || Object.keys(result.config).length === 0) return notOk(errorConfigFileNotFound(result.configFile || resolvedConfigPath || configPath));\n\t/* v8 ignore next -- c12 always returns layers for a config it evaluated */\n\tconst layers = result.layers ?? [];\n\tconst layerConfig = layers[0]?.config;\n\tconst engineMarker = isRecord(layerConfig) ? layerConfig[\"$prismaConfig\"] : void 0;\n\tif (engineMarker === void 0)\n /* v8 ignore next -- a config that evaluated always carries its resolved path */\n\treturn notOk(errorConfigVersionMarkerMissing(result.configFile ?? resolvedConfigPath));\n\tif (engineMarker !== 1)\n /* v8 ignore next -- a config that evaluated always carries its resolved path */\n\treturn notOk(errorConfigVersionMarkerMissing(result.configFile ?? resolvedConfigPath));\n\t/* v8 ignore next -- @preserve */\n\tconst requested = result.configFile ?? join(configCwd, CONFIG_FILENAME);\n\tconst files = layers.flatMap((layer, index) => isRecord(layer.config) && Object.keys(layer.config).length > 0 ? [{\n\t\tpath: index === 0 ? requested : resolve(configCwd, layer.configFile ?? requested),\n\t\tsections: sectionsOf(layer.config)\n\t}] : []);\n\treturn ok({\n\t\tfiles: files.length === 0 ? [{\n\t\t\tpath: requested,\n\t\t\tsections: sectionsOf(result.config)\n\t\t}] : files,\n\t\tmerged: result.config\n\t});\n}\n/**\n* The raw default export of the module at `configPath`, evaluated exactly as\n* {@link loadConfig} evaluates it and returned without validation or the\n* version-marker check. The caller decides what the export means — a\n* default export without the `$prismaConfig` marker is what an earlier Prisma\n* CLI's config looks like.\n*/\nasync function evaluateConfigModule(configPath, options) {\n\tconst cwd = options?.cwd ?? process.cwd();\n\tconst resolvedConfigPath = resolve(cwd, configPath);\n\tif (!await fileExists(resolvedConfigPath)) return notOk(errorConfigFileNotFound(resolvedConfigPath));\n\tconst evaluated = await evaluateWithC12(resolvedConfigPath, cwd);\n\tif (!evaluated.ok) return evaluated;\n\t/* v8 ignore next -- c12 always returns layers for a config it evaluated */\n\tconst [requestedLayer] = evaluated.value.layers ?? [];\n\treturn ok(requestedLayer?.config);\n}\n/** Which file wrote each top-level key of the `orm` section, nearest file first. */\nfunction ormProvenance(files, merged) {\n\tconst contributors = files.filter((file) => isRecord(file.sections[\"orm\"]));\n\tconst paths = contributors.map((file) => file.path);\n\treturn {\n\t\tfiles: paths,\n\t\tkeys: Object.fromEntries(Object.keys(merged).flatMap((key) => {\n\t\t\tconst file = contributors.find((contributor) => {\n\t\t\t\tconst orm = contributor.sections[\"orm\"];\n\t\t\t\treturn isRecord(orm) && Object.hasOwn(orm, key);\n\t\t\t})?.path ?? paths[0];\n\t\t\treturn file === void 0 ? [] : [[key, file]];\n\t\t}))\n\t};\n}\n/**\n* Loads the Prisma 8 config and validates its `orm` section.\n*\n* Failures that prevent evaluation entirely — missing file, module that does\n* not evaluate (`CONFIG.FILE_NOT_FOUND`, `CONFIG.EVALUATION_FAILED`) — are the\n* `Result` failure. Structural problems inside an evaluated config do not\n* fail the load: they are returned as section-tagged diagnostics so commands\n* fail only on the sections they read (via {@link requireConfigSections}).\n*/\nasync function loadConfig(configPath, options) {\n\tconst loaded = await loadConfigFiles(configPath, options);\n\tif (!loaded.ok) return loaded;\n\tconst orm = loaded.value.merged[\"orm\"];\n\tif (orm !== void 0 && !isRecord(orm)) return ok({\n\t\tconfig: validateLoadedSection({}, {\n\t\t\tfiles: [],\n\t\t\tkeys: {}\n\t\t}).config,\n\t\tdiagnostics: [errorConfigValidation(\"orm\", { why: `The orm section of ${CONFIG_FILENAME} must be an object` })]\n\t});\n\tconst section = orm ?? {};\n\tconst provenance = ormProvenance(loaded.value.files, section);\n\tconst requested = loaded.value.files[0]?.path;\n\treturn ok(validateLoadedSection(section, provenance.files.length === 0 && requested !== void 0 ? {\n\t\tfiles: [requested],\n\t\tkeys: Object.fromEntries(Object.keys(section).map((key) => [key, requested]))\n\t} : provenance));\n}\n/**\n* Narrows a {@link LoadedConfig} to the sections a command reads. Fails with\n* the first diagnostic concerning a required section; diagnostics on other\n* sections are ignored so unrelated commands keep working.\n*/\nfunction requireConfigSections(loaded, sections) {\n\tconst blocking = loaded.diagnostics.find((diagnostic) => {\n\t\tconst section = diagnostic.meta?.[\"section\"];\n\t\treturn typeof section !== \"string\" || sections.some((required) => required === section);\n\t});\n\treturn blocking ? notOk(blocking) : ok(loaded.config);\n}\n/**\n* Convenience composition of {@link loadConfig} and\n* {@link requireConfigSections} for commands that read a fixed set of\n* sections and have no use for diagnostics outside them.\n*/\nasync function loadConfigForSections(configPath, sections) {\n\tconst loaded = await loadConfig(configPath);\n\tif (!loaded.ok) return loaded;\n\treturn requireConfigSections(loaded.value, sections);\n}\nasync function loadConfigForFile(filePath) {\n\tconst configPath = await findNearestConfigPathForFile(filePath);\n\tif (configPath === void 0) return notOk(errorConfigFileNotFound(join(dirname(resolve(process.cwd(), filePath)), CONFIG_FILENAME)));\n\treturn loadConfig(configPath);\n}\n//#endregion\nexport { ORM_CONFIG_SECTION_NAME, buildLoadedConfig, evaluateConfigModule, expandContractInputs, findNearestConfigPathForFile, globContractInputMatching, isConfigSection, loadConfig, loadConfigFiles, loadConfigForFile, loadConfigForSections, ormConfigSchema, ormConfigSection, requireConfigSections, validateOrmSection };\n\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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