1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2b1d1a91-e3a5-4d1d-bcf4-b48759386544",e._sentryDebugIdIdentifier="sentry-dbid-2b1d1a91-e3a5-4d1d-bcf4-b48759386544")}catch(e){}}();import{a as e}from"./rolldown-runtime-CynJssAt.js";import{Ft as n,It as t,Lt as a,Mt as i,Nt as r,Pt as s,an as o,in as u,n as l,on as d,t as f,u as c}from"./ApolloContext-B5pZHcDm.js";u();var g,h,b=e(l());function p(e){var n=b.useContext(f()),t=e||n.client;return d(!!t,49),t}function y(e){var n;switch(e){case g.Query:n="Query";break;case g.Mutation:n="Mutation";break;case g.Subscription:n="Subscription"}return n}function v(e){h||(h=new t(s.parser||1e3));var n,a,i=h.get(e);if(i)return i;d(!!e&&!!e.kind,59,e);for(var r=[],o=[],u=[],l=[],f=0,c=e.definitions;f<c.length;f++){var b=c[f];if("FragmentDefinition"!==b.kind){if("OperationDefinition"===b.kind)switch(b.operation){case"query":o.push(b);break;case"mutation":u.push(b);break;case"subscription":l.push(b)}}else r.push(b)}d(!r.length||o.length||u.length||l.length,60),d(o.length+u.length+l.length<=1,61,e,o.length,l.length,u.length),a=o.length?g.Query:g.Mutation,o.length||u.length||(a=g.Subscription);var p=o.length?o:u.length?u:l;d(1===p.length,62,e,p.length);var y=p[0];n=y.variableDefinitions||[];var v={name:y.name&&"Name"===y.name.kind?y.name.value:"data",type:a,variables:n};return h.set(e,v),v}function m(e,n){var t=v(e),a=y(n),i=y(t.type);d(t.type===n,63,a,a,i)}u(),c(),i(),function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(g||(g={})),v.resetCache=function(){h=void 0},!1!==globalThis.__DEV__&&r("parser",(function(){return h?h.size:0}));export{m as n,p as r,g as t}; 2//# sourceMappingURL=parser-BD5r9UQw.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.