/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@envelop/fragment-arguments@9.1.1/cjs/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useFragmentArguments=void 0,exports.parseWithFragmentArguments=parseWithFragmentArguments;const extended_parser_js_1=require("./extended-parser.js"),utils_js_1=require("./utils.js");function parseWithFragmentArguments(e,r){return new extended_parser_js_1.FragmentArgumentCompatibleParser(e,r).parseDocument()}const useFragmentArguments=()=>({onParse:({setParseFn:e})=>(e(parseWithFragmentArguments),({result:e,replaceParseResult:r})=>{e&&"kind"in e&&r((0,utils_js_1.applySelectionSetFragmentArguments)(e))})});exports.useFragmentArguments=useFragmentArguments;
//# sourceMappingURL=/sm/74fb5167c53b49a742602bd410989979da59123fb62ecf1f344846557d47d8df.map