const require_logger = require("./logger-DuG3amVa.cjs");
const require_invariant = require("./invariant-KxYLhw_b.cjs");
const require_time = require("./time-C8D2VmK1.cjs");
const require_accounts = require("./accounts-CibSkI-0.cjs");
const require_extractor = require("./extractor-D7DlTvgR.cjs");
const require_tokenUsageUtils = require("./tokenUsageUtils-DQwV4JGQ.cjs");
const require_remoteGeneration = require("./remoteGeneration-BeDYd404.cjs");
const require_inputVariables = require("./inputVariables-Hq1IwzHz.cjs");
const require_util = require("./util-DCzL3qY62.cjs");
const require_promptfoo = require("./promptfoo-DNUR0HDo.cjs");
const require_shared = require("./shared-uRkDny0q.cjs");
const require_indirectWebPwn = require("./indirectWebPwn-BUPmox_T.cjs");
const require_evaluatorHelpers = require("./evaluatorHelpers-D2-tB9VN.cjs");
const require_strategies = require("./strategies-CHWth_de.cjs");
const require_tracingOptions = require("./tracingOptions-DgSDNRyU.cjs");
const require_runtimeTransform = require("./runtimeTransform-DtYMy2Ll.cjs");
//#region src/redteam/providers/hydra/index.ts
const DEFAULT_MAX_TURNS = 10;
const DEFAULT_MAX_BACKTRACKS = 10;
function scrubOutputForHistory(output) {
	if (typeof output !== "string") return output;
	const b64Match = output.match(/"b64_json"\s*:\s*"([^"]{200,})"/);
	if (b64Match) return `[binary output redacted; b64_json length=${b64Match[1].length}]`;
	const compact = output.replace(/\s+/g, "");
	if (compact.length > 2e3 && /^[A-Za-z0-9+/=]+$/.test(compact)) return `[binary output redacted; length≈${compact.length}]`;
	return output;
}
var HydraProvider = class {
	config;
	scanId;
	agentProvider;
	injectVar;
	maxTurns;
	maxBacktracks;
	stateful;
	excludeTargetOutputFromAgenticAttackGeneration;
	perTurnLayers;
	conversationHistory = [];
	sessionId;
	constructor(config) {
		this.config = config;
		this.scanId = config.scanId;
		this.injectVar = config.injectVar;
		const configuredMaxTurns = config.maxTurns ?? DEFAULT_MAX_TURNS;
		this.maxTurns = require_accounts.isLoggedIntoCloud() ? configuredMaxTurns : Math.min(configuredMaxTurns, 10);
		this.maxBacktracks = config.maxBacktracks ?? DEFAULT_MAX_BACKTRACKS;
		this.stateful = config.stateful ?? false;
		this.excludeTargetOutputFromAgenticAttackGeneration = config.excludeTargetOutputFromAgenticAttackGeneration ?? false;
		this.perTurnLayers = config._perTurnLayers ?? [];
		if (this.stateful && this.maxBacktracks > 0) require_logger.logger.debug("[Hydra] Backtracking disabled in stateful mode");
		if (!require_remoteGeneration.shouldGenerateRemote()) throw new Error(require_remoteGeneration.neverGenerateRemote() ? require_remoteGeneration.getRemoteGenerationExplicitlyDisabledError("jailbreak:hydra strategy") : require_remoteGeneration.getRemoteGenerationDisabledError("jailbreak:hydra strategy"));
		this.agentProvider = new require_promptfoo.PromptfooChatCompletionProvider({
			task: "hydra-decision",
			jsonOnly: true,
			preferSmallModel: false,
			inputs: this.config.inputs
		});
		require_logger.logger.debug("[Hydra] Provider initialized", {
			maxTurns: this.maxTurns,
			maxBacktracks: this.maxBacktracks,
			stateful: this.stateful,
			injectVar: this.injectVar,
			excludeTargetOutputFromAgenticAttackGeneration: this.excludeTargetOutputFromAgenticAttackGeneration,
			perTurnLayers: this.perTurnLayers.map((l) => typeof l === "string" ? l : l.id)
		});
	}
	id() {
		return "promptfoo:redteam:hydra";
	}
	async callApi(_prompt, context, options) {
		require_logger.logger.debug("[Hydra] callApi invoked");
		require_invariant.invariant(context?.originalProvider, "Expected originalProvider to be set");
		require_invariant.invariant(context?.vars, "Expected vars to be set");
		const goal = context.test?.metadata?.goal || String(context.vars[this.injectVar]);
		return this.runAttack({
			prompt: context.prompt,
			filters: context.filters,
			vars: context.vars,
			goal,
			targetProvider: context.originalProvider,
			context,
			options,
			test: context.test
		});
	}
	async runAttack({ prompt, filters, vars, goal, targetProvider, context, options, test }) {
		if (!this.scanId) this.scanId = context?.evaluationId || crypto.randomUUID();
		const scanId = context?.evaluationId || this.scanId;
		const tracingOptions = require_tracingOptions.resolveTracingOptions({
			strategyId: "hydra",
			test,
			config: this.config
		});
		const shouldFetchTrace = tracingOptions.enabled && (tracingOptions.includeInAttack || tracingOptions.includeInGrading);
		const traceSnapshots = [];
		require_logger.logger.debug("[Hydra] Starting attack", {
			goal,
			scanId,
			maxTurns: this.maxTurns,
			stateful: this.stateful,
			tracingEnabled: tracingOptions.enabled
		});
		this.conversationHistory = [];
		this.sessionId = void 0;
		const sessionIds = [];
		const successfulAttacks = [];
		const totalTokenUsage = require_tokenUsageUtils.createEmptyTokenUsage();
		const testRunId = `${context?.evaluationId || "local"}-tc${context?.testCaseId || crypto.randomUUID().slice(0, 8)}`;
		let vulnerabilityAchieved = false;
		let stopReason = "Max turns reached";
		let storedGraderResult = void 0;
		let lastTargetResponse = void 0;
		let backtrackCount = 0;
		let agentFailureError;
		const redteamHistory = [];
		let lastTransformResult;
		let lastTransformDisplayVars;
		let lastFinalAttackPrompt;
		const { getGraderById } = await Promise.resolve().then(() => require("./graders-D9T0dcBb.cjs")).then((n) => n.graders_exports);
		let assertToUse = test?.assert?.find((a) => a.type && a.type.includes(test.metadata?.pluginId));
		if (!assertToUse) assertToUse = test?.assert?.find((a) => a.type);
		let previousTraceSummary;
		for (let turn = 1; turn <= this.maxTurns; turn++) {
			require_logger.logger.debug(`[Hydra] Turn ${turn}/${this.maxTurns}`);
			const conversationHistoryForCloud = this.excludeTargetOutputFromAgenticAttackGeneration ? this.conversationHistory.map((msg) => msg.role === "assistant" ? {
				...msg,
				content: "[Response hidden for privacy - grader feedback provided]"
			} : msg) : this.conversationHistory;
			const cloudRequest = {
				task: "hydra-decision",
				testRunId,
				scanId,
				turn,
				goal,
				purpose: test?.metadata?.purpose,
				modifiers: test?.metadata?.modifiers,
				conversationHistory: conversationHistoryForCloud,
				...this.config.inputs && { inputs: this.config.inputs },
				lastGraderResult: turn > 1 && storedGraderResult ? {
					pass: storedGraderResult.pass,
					score: storedGraderResult.score
				} : void 0,
				stateful: this.stateful,
				maxTurns: this.maxTurns,
				excludeTargetOutputFromAgenticAttackGeneration: this.excludeTargetOutputFromAgenticAttackGeneration,
				...tracingOptions.includeInAttack && previousTraceSummary ? { traceSummary: previousTraceSummary } : {}
			};
			const agentResp = await this.agentProvider.callApi(JSON.stringify(cloudRequest), {
				prompt: {
					raw: JSON.stringify(cloudRequest),
					label: "hydra-agent"
				},
				vars: {}
			}, options);
			require_tokenUsageUtils.accumulateResponseTokenUsage(totalTokenUsage, agentResp, { countAsRequest: false });
			if (this.agentProvider.delay) await require_time.sleep(this.agentProvider.delay);
			if (agentResp.error) {
				require_logger.logger.debug("[Hydra] Agent provider error", {
					turn,
					testRunId,
					error: agentResp.error
				});
				agentFailureError = agentResp.error;
				continue;
			}
			let nextMessage;
			if (typeof agentResp.output === "string") nextMessage = agentResp.output;
			else {
				const cloudResponse = agentResp.output;
				nextMessage = cloudResponse.result || cloudResponse.message;
			}
			if (!nextMessage) {
				require_logger.logger.info("[Hydra] Missing message from agent", { turn });
				agentFailureError = "Hydra agent did not return an attack message";
				continue;
			}
			let processedMessage = nextMessage;
			const extractedPrompt = require_util.extractPromptFromTags(nextMessage);
			if (extractedPrompt) processedMessage = extractedPrompt;
			if (this.config.inputs && require_remoteGeneration.shouldGenerateRemote()) require_promptfoo.assertRemoteMaterializationHandled(agentResp, "Hydra multi-input generation");
			const currentInputVars = require_util.extractInputVarsFromPrompt(processedMessage, this.config.inputs);
			let materializedInputVars;
			if (this.config.inputs && require_remoteGeneration.shouldGenerateRemote() && !currentInputVars && !agentResp.materializedVars) {
				require_logger.logger.warn("[Hydra] Remote multi-input generation returned an invalid prompt format", {
					turn,
					messagePreview: processedMessage.slice(0, 200)
				});
				agentFailureError = "Hydra remote multi-input generation returned an invalid prompt format";
				continue;
			}
			if ((currentInputVars || agentResp.materializedVars) && this.config.inputs) if (require_remoteGeneration.shouldGenerateRemote()) materializedInputVars = require_promptfoo.buildRemoteMaterializedInputVariables(agentResp, currentInputVars ?? {}, this.config.inputs);
			else materializedInputVars = await require_inputVariables.materializeInputVariablesWithMetadata(currentInputVars, this.config.inputs, {
				materializationIndex: turn,
				pluginId: "hydra",
				provider: this.agentProvider,
				purpose: test?.metadata?.purpose
			});
			const currentRenderInputVars = materializedInputVars?.vars ?? currentInputVars;
			this.conversationHistory.push({
				role: "user",
				content: processedMessage
			});
			let targetPrompt;
			if (this.stateful) {
				const escapedMessage = processedMessage.replace(/\{\{/g, "{ {").replace(/\}\}/g, "} }").replace(/\{%/g, "{ %").replace(/%\}/g, "% }");
				targetPrompt = await require_evaluatorHelpers.renderPrompt(prompt, {
					...vars,
					[this.injectVar]: escapedMessage,
					...this.sessionId ? { sessionId: this.sessionId } : {},
					...currentRenderInputVars || {}
				}, filters, targetProvider, [this.injectVar]);
			} else {
				const samplePrompt = await require_evaluatorHelpers.renderPrompt(prompt, {
					...vars,
					[this.injectVar]: "test"
				}, filters, targetProvider, [this.injectVar]);
				if (require_logger.isValidJson(samplePrompt)) if (require_shared.isValidChatMessageArray(JSON.parse(samplePrompt))) targetPrompt = JSON.stringify(this.conversationHistory);
				else targetPrompt = JSON.stringify(this.conversationHistory);
				else targetPrompt = JSON.stringify(this.conversationHistory);
			}
			require_logger.logger.debug("[Hydra] Sending to target", {
				turn,
				stateful: this.stateful,
				messageLength: nextMessage.length
			});
			let finalTargetPrompt = targetPrompt;
			lastTransformResult = void 0;
			if (this.perTurnLayers.length > 0) {
				require_logger.logger.debug("[Hydra] Applying per-turn transforms", {
					turn,
					layers: this.perTurnLayers.map((l) => typeof l === "string" ? l : l.id)
				});
				lastTransformResult = await require_runtimeTransform.applyRuntimeTransforms(nextMessage, this.injectVar, this.perTurnLayers, require_strategies.Strategies, {
					evaluationId: context?.evaluationId,
					testCaseId: test?.metadata?.testCaseId,
					purpose: test?.metadata?.purpose,
					goal: test?.metadata?.goal
				});
				if (lastTransformResult.error) {
					require_logger.logger.warn("[Hydra] Transform failed, skipping turn", {
						turn,
						error: lastTransformResult.error
					});
					this.conversationHistory.pop();
					continue;
				}
				if (lastTransformResult.audio || lastTransformResult.image) {
					const historyWithoutCurrentTurn = this.conversationHistory.slice(0, -1);
					const hybridPayload = {
						_promptfoo_audio_hybrid: true,
						history: historyWithoutCurrentTurn,
						currentTurn: {
							role: "user",
							transcript: nextMessage,
							...lastTransformResult.audio && { audio: lastTransformResult.audio },
							...lastTransformResult.image && { image: lastTransformResult.image }
						}
					};
					finalTargetPrompt = JSON.stringify(hybridPayload);
					require_logger.logger.debug("[Hydra] Using hybrid format (history + audio/image current turn)", {
						turn,
						historyLength: historyWithoutCurrentTurn.length,
						hasAudio: !!lastTransformResult.audio,
						hasImage: !!lastTransformResult.image
					});
				} else finalTargetPrompt = lastTransformResult.prompt;
				require_logger.logger.debug("[Hydra] Per-turn transforms applied", {
					turn,
					originalLength: nextMessage.length,
					transformedLength: finalTargetPrompt.length,
					hasAudio: !!lastTransformResult.audio,
					hasImage: !!lastTransformResult.image
				});
				if (lastTransformResult.displayVars) lastTransformDisplayVars = lastTransformResult.displayVars;
			}
			lastFinalAttackPrompt = finalTargetPrompt;
			const iterationStart = Date.now();
			const targetContext = context ? {
				...context,
				vars: {
					...vars,
					...this.sessionId ? { sessionId: this.sessionId } : {},
					...currentRenderInputVars || {},
					[this.injectVar]: finalTargetPrompt
				}
			} : context;
			let targetResponse = await require_shared.getTargetResponse(targetProvider, finalTargetPrompt, targetContext, options);
			lastTargetResponse = targetResponse;
			require_tokenUsageUtils.accumulateResponseTokenUsage(totalTokenUsage, targetResponse);
			let traceContext = null;
			let computedTraceSummary;
			if (shouldFetchTrace) {
				const traceparent = context?.traceparent ?? void 0;
				const traceId = traceparent ? require_tracingOptions.extractTraceIdFromTraceparent(traceparent) : null;
				if (traceId) {
					traceContext = await require_tracingOptions.fetchTraceContext(traceId, {
						earliestStartTime: iterationStart,
						includeInternalSpans: tracingOptions.includeInternalSpans,
						maxSpans: tracingOptions.maxSpans,
						maxDepth: tracingOptions.maxDepth,
						maxRetries: tracingOptions.maxRetries,
						retryDelayMs: tracingOptions.retryDelayMs,
						spanFilter: tracingOptions.spanFilter,
						sanitizeAttributes: tracingOptions.sanitizeAttributes
					});
					if (traceContext) {
						traceSnapshots.push(traceContext);
						if (tracingOptions.includeInAttack || tracingOptions.includeInGrading) computedTraceSummary = require_tracingOptions.formatTraceSummary(traceContext);
					}
				}
			}
			require_logger.logger.debug("[Hydra] Received target response", {
				turn,
				responseLength: targetResponse.output?.length,
				hasTrace: !!traceContext
			});
			if (require_shared.isConversationEndedResponse(targetResponse)) {
				require_logger.logger.info("[Hydra] Target ended conversation", {
					turn,
					reason: targetResponse.conversationEndReason
				});
				stopReason = "Target ended conversation";
				break;
			}
			if (targetResponse.error) {
				require_logger.logger.info("[Hydra] Target error", {
					turn,
					error: targetResponse.error
				});
				continue;
			}
			if (!Object.prototype.hasOwnProperty.call(targetResponse, "output")) {
				require_logger.logger.info("[Hydra] Malformed target response - missing output", {
					turn,
					responseKeys: Object.keys(targetResponse)
				});
				continue;
			}
			if (!targetResponse.output || !targetResponse.output.trim()) {
				require_logger.logger.info("[Hydra] Empty target response", {
					turn,
					outputIsNull: targetResponse.output === null,
					outputIsUndefined: targetResponse.output === void 0,
					outputIsEmptyString: targetResponse.output === "",
					outputValue: targetResponse.output,
					outputTrimmed: targetResponse.output?.trim()
				});
				targetResponse.output = "[Target provided empty response - likely refused]";
			}
			if (this.stateful && targetResponse.sessionId) {
				this.sessionId = targetResponse.sessionId;
				sessionIds.push(targetResponse.sessionId);
				vars["sessionId"] = targetResponse.sessionId;
				if (!context) context = {
					vars: {
						...vars,
						sessionId: targetResponse.sessionId
					},
					prompt
				};
				context.vars["sessionId"] = targetResponse.sessionId;
			}
			if (require_extractor.isBlobStorageEnabled() || require_extractor.shouldAttemptRemoteBlobUpload()) {
				const beforeOutput = targetResponse.output;
				targetResponse = await require_shared.externalizeResponseForRedteamHistory(targetResponse, {
					evalId: context?.evaluationId,
					testIdx: context?.testIdx,
					promptIdx: context?.promptIdx
				});
				if (targetResponse.output !== beforeOutput) require_logger.logger.debug("[Hydra] Externalized binary output", {
					turn,
					beforeLength: beforeOutput?.length,
					afterLength: targetResponse.output?.length,
					blobUris: targetResponse.metadata && "blobUris" in targetResponse.metadata ? targetResponse.metadata.blobUris : void 0
				});
				else if (typeof targetResponse.output === "string") require_logger.logger.debug("[Hydra] Binary output not externalized (using in-band)", {
					turn,
					responseLength: targetResponse.output.length
				});
			}
			const historyOutput = require_extractor.isBlobStorageEnabled() || require_extractor.shouldAttemptRemoteBlobUpload() ? scrubOutputForHistory(targetResponse.output) : targetResponse.output;
			this.conversationHistory.push({
				role: "assistant",
				content: historyOutput
			});
			const isRefusal = require_util.isBasicRefusal(targetResponse.output);
			if (!this.stateful && this.maxBacktracks > 0 && isRefusal) {
				require_logger.logger.debug("[Hydra] Response rejected (basic refusal), backtracking...", {
					turn,
					backtrackCount: backtrackCount + 1,
					maxBacktracks: this.maxBacktracks,
					conversationLengthBefore: this.conversationHistory.length
				});
				backtrackCount++;
				if (this.conversationHistory.length >= 2) {
					this.conversationHistory.pop();
					this.conversationHistory.pop();
				}
				require_logger.logger.debug("[Hydra] After backtracking state", {
					turn,
					backtrackCount,
					conversationLength: this.conversationHistory.length,
					willDecrementTurn: turn > 1
				});
				if (backtrackCount >= this.maxBacktracks) {
					require_logger.logger.debug(`[Hydra] Max backtracks (${this.maxBacktracks}) reached. Exiting loop.`, {
						backtrackCount,
						maxBacktracks: this.maxBacktracks
					});
					stopReason = "Max backtracks reached";
					break;
				}
				if (turn > 1) turn--;
				continue;
			}
			let graderResult = void 0;
			const attackTraceSummary = tracingOptions.includeInAttack ? computedTraceSummary : void 0;
			const gradingTraceSummary = tracingOptions.includeInGrading ? computedTraceSummary : void 0;
			previousTraceSummary = attackTraceSummary;
			if (test && assertToUse) {
				const grader = getGraderById(assertToUse.type);
				if (grader) {
					const gradingContext = {
						providerResponse: targetResponse,
						...targetResponse.images?.length ? { imageOutputs: targetResponse.images } : {},
						...tracingOptions.includeInGrading ? {
							traceContext,
							traceSummary: gradingTraceSummary
						} : {}
					};
					const webPageUuid = lastTransformResult?.metadata?.webPageUuid;
					if (webPageUuid) {
						const webPageUrl = lastTransformResult?.metadata?.webPageUrl;
						const evalId = context?.evaluationId ?? webPageUrl?.match(/\/dynamic-pages\/([^/]+)\//)?.[1];
						require_logger.logger.debug("[Hydra] Fetching exfil tracking from server API", {
							webPageUuid,
							evalId,
							source: "lastTransformResult.metadata"
						});
						try {
							const exfilData = await require_indirectWebPwn.checkExfilTracking(webPageUuid, evalId);
							if (exfilData) Object.assign(gradingContext, {
								wasExfiltrated: exfilData.wasExfiltrated,
								exfilCount: exfilData.exfilCount,
								exfilRecords: exfilData.exfilRecords
							});
						} catch (error) {
							require_logger.logger.warn("[Hydra] Failed to fetch exfil tracking from server", {
								error,
								webPageUuid
							});
						}
					}
					if (gradingContext.wasExfiltrated === void 0 && targetResponse.metadata?.wasExfiltrated !== void 0) {
						require_logger.logger.debug("[Hydra] Using exfil data from provider response metadata (fallback)");
						Object.assign(gradingContext, {
							wasExfiltrated: Boolean(targetResponse.metadata.wasExfiltrated),
							exfilCount: Number(targetResponse.metadata.exfilCount) || 0,
							exfilRecords: []
						});
					}
					const { grade, rubric } = await grader.getResult(nextMessage, targetResponse.output, test, targetProvider, require_shared.getGraderAssertionValue(assertToUse), void 0, void 0, gradingContext);
					graderResult = grade;
					storedGraderResult = {
						...grade,
						assertion: require_shared.buildGraderResultAssertion(grade.assertion, assertToUse, rubric)
					};
					require_logger.logger.debug("[Hydra] Grader result", {
						turn,
						passed: grade.pass
					});
				}
			}
			redteamHistory.push({
				prompt: nextMessage,
				promptAudio: lastTransformResult?.audio,
				promptImage: lastTransformResult?.image,
				output: historyOutput,
				outputAudio: targetResponse.audio ? {
					data: targetResponse.audio.data || "",
					format: targetResponse.audio.format || "wav"
				} : void 0,
				graderPassed: graderResult?.pass,
				trace: traceContext ? require_tracingOptions.formatTraceForMetadata(traceContext) : void 0,
				traceSummary: computedTraceSummary,
				inputVars: currentRenderInputVars
			});
			if (graderResult?.pass === false) {
				vulnerabilityAchieved = true;
				successfulAttacks.push({
					turn,
					message: nextMessage,
					response: targetResponse.output,
					traceSummary: computedTraceSummary
				});
				stopReason = "Grader failed";
				require_logger.logger.debug("[Hydra] Vulnerability achieved!", { turn });
				break;
			}
		}
		if (scanId) try {
			const turnsCompleted = this.conversationHistory.filter((m) => m.role === "user").length;
			const learningRequest = {
				task: "hydra-decision",
				testRunId,
				scanId,
				testComplete: true,
				finalResult: {
					success: vulnerabilityAchieved,
					totalTurns: turnsCompleted
				}
			};
			require_tokenUsageUtils.accumulateResponseTokenUsage(totalTokenUsage, await this.agentProvider.callApi(JSON.stringify(learningRequest), {
				prompt: {
					raw: JSON.stringify(learningRequest),
					label: "hydra-learning-update"
				},
				vars: {}
			}, options), { countAsRequest: false });
			require_logger.logger.debug("[Hydra] Scan learnings updated", {
				scanId,
				testRunId
			});
		} catch (error) {
			require_logger.logger.warn("[Hydra] Failed to update scan learnings", { error });
		}
		const messages = this.conversationHistory.map((msg) => ({
			role: msg.role,
			content: msg.content
		}));
		const targetProbeCount = totalTokenUsage.numRequests ?? 0;
		const hydraRoundsCompleted = this.conversationHistory.filter((m) => m.role === "user").length;
		const failClosedError = targetProbeCount === 0 ? agentFailureError || "Hydra did not execute any target probes" : void 0;
		return {
			output: lastTargetResponse?.output || "",
			...failClosedError ? { error: failClosedError } : lastTargetResponse?.error ? { error: lastTargetResponse.error } : {},
			metadata: {
				sessionId: this.sessionId || require_util.getSessionId(lastTargetResponse, context),
				messages,
				hydraRoundsCompleted,
				hydraBacktrackCount: backtrackCount,
				hydraResult: vulnerabilityAchieved,
				stopReason,
				successfulAttacks,
				totalSuccessfulAttacks: successfulAttacks.length,
				storedGraderResult,
				redteamHistory,
				sessionIds,
				traceSnapshots: traceSnapshots.length > 0 ? traceSnapshots.map((t) => require_tracingOptions.formatTraceForMetadata(t)) : void 0,
				...lastTransformDisplayVars && { transformDisplayVars: lastTransformDisplayVars },
				redteamFinalPrompt: lastFinalAttackPrompt || successfulAttacks[0]?.message
			},
			tokenUsage: totalTokenUsage,
			guardrails: lastTargetResponse?.guardrails
		};
	}
};
//#endregion
exports.HydraProvider = HydraProvider;

//# sourceMappingURL=hydra-D4Soy2zN.cjs.map