1import{d as p,a as h}from"./CheckoutResponse.0UoFJJuF.js";import"./CartItemFragment.DW6vaO4P.js";var r={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"checkout"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"siteId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Guid"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Guid"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"checkout"},arguments:[{kind:"Argument",name:{kind:"Name",value:"siteId"},value:{kind:"Variable",name:{kind:"Name",value:"siteId"}}},{kind:"Argument",name:{kind:"Name",value:"orderId"},value:{kind:"Variable",name:{kind:"Name",value:"orderId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"orderId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"CartResponse"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"CheckoutResponse"},directives:[]},{kind:"Field",name:{kind:"Name",value:"operationMessages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:333}};r.loc.source={body:`#import "../content/Fragment/CartResponse.graphql" 2#import "../content/Fragment/CheckoutResponse.graphql" 3query checkout($siteId: Guid!, $orderId: Guid!) { 4 checkout(siteId: $siteId, orderId: $orderId) { 5 orderId 6 status 7 ...CartResponse
8 ...CheckoutResponse 9 operationMessages { 10 code 11 message 12 } 13 } 14} 15`,name:"GraphQL request",locationOffset:{line:1,column:1}};var l={};function f(e){return e.filter(function(n){if(n.kind!=="FragmentDefinition")return!0;var i=n.name.value;return l[i]?!1:(l[i]=!0,!0)})}r.definitions=r.definitions.concat(f(p.definitions));r.definitions=r.definitions.concat(f(h.definitions));function s(e,n){if(e.kind==="FragmentSpread")n.add(e.name.value);else if(e.kind==="VariableDefinition"){var i=e.type;i.kind==="NamedType"&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(a){s(a,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(a){s(a,n)}),e.definitions&&e.definitions.forEach(function(a){s(a,n)})}var c={};(function(){r.definitions.forEach(function(n){if(n.name){var i=new Set;s(n,i),c[n.name.value]=i}})})();function m(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function g(e,n){var i={kind:e.kind,definitions:[m(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=c[n]||new Set,u=new Set,d=new Set;for(a.forEach(function(t){d.add(t)});d.size>0;){var k=d;d=new Set,k.forEach(function(t){if(!u.has(t)){u.add(t);var o=c[t]||new Set;o.forEach(function(v){d.add(v)})}})}return u.forEach(function(t){var o=m(e,t);o&&i.definitions.push(o)}),i}const y=g(r,"checkout");export{y as checkout,r as default}; 16//# sourceMappingURL=Checkout.DL-SiG44.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.