import{d as f}from"./bestPriceFragment-C1AoXVUX.js";var d={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getMultipleBestPrices"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"baseSiteId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"BaseSiteId"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accessToken"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"queries"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"bestPriceQuery"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"includeBestPriceSavings"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"expired"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getMultipleBestPrices"},arguments:[{kind:"Argument",name:{kind:"Name",value:"baseSiteId"},value:{kind:"Variable",name:{kind:"Name",value:"baseSiteId"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}},{kind:"Argument",name:{kind:"Name",value:"accessToken"},value:{kind:"Variable",name:{kind:"Name",value:"accessToken"}}},{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"queries"},value:{kind:"Variable",name:{kind:"Name",value:"queries"}}},{kind:"Argument",name:{kind:"Name",value:"expired"},value:{kind:"Variable",name:{kind:"Name",value:"expired"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productCode"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"bestPriceFragment"},directives:[]}]}}]}}],loc:{start:0,end:479}};d.loc.source={body:`#import "./bestPriceFragment.gql" query getMultipleBestPrices ( $baseSiteId: BaseSiteId! $language: String $accessToken: String! $userId: String! $queries: [bestPriceQuery]! $includeBestPriceSavings: Boolean = false $expired: Boolean ) { getMultipleBestPrices( baseSiteId: $baseSiteId language: $language accessToken: $accessToken userId: $userId queries: $queries expired: $expired ) { productCode ...bestPriceFragment } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};var m={};function p(e){return e.filter(function(i){if(i.kind!=="FragmentDefinition")return!0;var n=i.name.value;return m[n]?!1:(m[n]=!0,!0)})}d.definitions=d.definitions.concat(p(f.definitions));function u(e,i){if(e.kind==="FragmentSpread")i.add(e.name.value);else if(e.kind==="VariableDefinition"){var n=e.type;n.kind==="NamedType"&&i.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(a){u(a,i)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(a){u(a,i)}),e.definitions&&e.definitions.forEach(function(a){u(a,i)})}var o={};(function(){d.definitions.forEach(function(i){if(i.name){var n=new Set;u(i,n),o[i.name.value]=n}})})();function k(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}function b(e,i){var n={kind:e.kind,definitions:[k(e,i)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var a=o[i]||new Set,s=new Set,r=new Set;for(a.forEach(function(t){r.add(t)});r.size>0;){var c=r;r=new Set,c.forEach(function(t){if(!s.has(t)){s.add(t);var l=o[t]||new Set;l.forEach(function(v){r.add(v)})}})}return s.forEach(function(t){var l=k(e,t);l&&n.definitions.push(l)}),n}const N=b(d,"getMultipleBestPrices");export{d as default,N as getMultipleBestPrices};