@faststore/core 2.2.35 → 2.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +7 -7
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +1 -1
- package/.next/cache/next-server.js.nft.json +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/350.js +1 -1
- package/.next/server/chunks/398.js +3 -2
- package/.next/server/chunks/979.js +6 -4
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/api/graphql.js +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/404.json +1 -1
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/500.json +1 -1
- package/.next/server/pages/en-US/account.html +2 -2
- package/.next/server/pages/en-US/account.json +1 -1
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/checkout.json +1 -1
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/login.json +1 -1
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US/s.json +1 -1
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages/en-US.json +1 -1
- package/.next/server/pages-manifest.json +2 -2
- package/.next/static/chunks/783-fbcb7a3216c40744.js +1 -0
- package/.next/static/chunks/pages/[...slug]-a81fd568b3032a9e.js +1 -0
- package/.next/static/chunks/pages/index-4767c1028f4df135.js +1 -0
- package/.next/static/{IZNOnn5vp9kP41CzhMUhE → pVGOsmYTXFPMzLlXhIM3h}/_buildManifest.js +1 -1
- package/.next/trace +78 -78
- package/.turbo/turbo-build.log +3 -10
- package/.turbo/turbo-test.log +7 -7
- package/cms/faststore/sections.json +10 -0
- package/package.json +9 -8
- package/src/components/sections/BannerText/BannerText.tsx +3 -0
- package/src/components/sections/Hero/Hero.tsx +2 -0
- package/.next/static/chunks/783-a67df4e98c1ac27b.js +0 -1
- package/.next/static/chunks/pages/[...slug]-111f89162eff5029.js +0 -1
- package/.next/static/chunks/pages/index-3d5c756be5ce8fc7.js +0 -1
- /package/.next/static/{IZNOnn5vp9kP41CzhMUhE → pVGOsmYTXFPMzLlXhIM3h}/_ssgManifest.js +0 -0
|
@@ -177,7 +177,7 @@ module.exports = require("crypto");
|
|
|
177
177
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
178
178
|
|
|
179
179
|
var __webpack_unused_export__;
|
|
180
|
-
function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var n=__webpack_require__(4246),i=e(__webpack_require__(7881)),t=e(__webpack_require__(3057)),a=e(__webpack_require__(5471)),r=e(__webpack_require__(6109)),o=e(__webpack_require__(2404)),l=e(__webpack_require__(6113)),d=__webpack_require__(7343),s=__webpack_require__(6548),u=__webpack_require__(1718),c=__webpack_require__(1283),m=__webpack_require__(4161),p=__webpack_require__(5196),k=__webpack_require__(2793),v=__webpack_require__(6969),g=__webpack_require__(357),y=__webpack_require__(7006),f=__webpack_require__(4691),N=__webpack_require__(8973);const S=async(e,n)=>{const t=await i(e,{...n,headers:{...null==n?void 0:n.headers,"User-Agent":"@faststore/api@2.2.33"}});if(t.ok)return 204!==t.status?t.json():void 0;console.error(e,n,t);const a=await t.text();throw new Error(a)},h={method:"POST",headers:{"content-type":"application/json"}},b=new Set(["trade-policy","region-id"]),T=({account:e,environment:n,hideUnavailableItems:i},t)=>{const a=`https://${e}.${n}.com.br/api/io`,r=({query:e="",page:n,count:r,sort:o="",selectedFacets:l=[],type:d,fuzzy:s="auto"})=>{const u=new URLSearchParams({page:(n+1).toString(),count:r.toString(),query:e,sort:o,fuzzy:s,locale:t.storage.locale});void 0!==i&&u.append("hideUnavailableItems",i.toString());const c=(e=>{var n,i;const a=e.filter(({key:e})=>!b.has(e)),r=null!=(n=e.find(({key:e})=>"trade-policy"===e))?n:(()=>{const{salesChannel:e}=t.storage.channel;return e?{key:"trade-policy",value:e}:null})(),o=null!=(i=e.find(({key:e})=>"region-id"===e))?i:(()=>{const{regionId:e,seller:n}=t.storage.channel,i=n?Buffer.from("SW#"+n).toString("base64"):null,a=null!=i?i:e;return a?{key:"region-id",value:a}:null})();return null!==r&&a.push(r),null!==o&&a.push(o),a})(l).map(({key:e,value:n})=>`${e}/${n}`).join("/");return S(`${a}/_v/api/intelligent-search/${d}/${c}?${u.toString()}`)};return{facets:e=>r({...e,type:"facets"}),products:e=>r({...e,type:"product_search"}),suggestedTerms:e=>{var n,i;const r=new URLSearchParams({query:null!=(n=null==(i=e.query)?void 0:i.toString())?n:"",locale:t.storage.locale});return S(`${a}/_v/api/intelligent-search/search_suggestions?${r.toString()}`)},topSearches:()=>{const e=new URLSearchParams({locale:t.storage.locale});return S(`${a}/_v/api/intelligent-search/top_searches?${e.toString()}`)}}},V=()=>(1e6*Math.random()).toFixed(0),D=e=>{let n=V(),i=Date.now();return()=>{var t;return t=i,(Date.now()-t)/1e3>e&&(n=V(),i=Date.now()),n}},I={anonymous:D(31536e3),session:D(1800)};function w(e){return{...e,description:e.description?(n=e.description,r(n,void 0)):e.description};var n}const F=(e,n)=>({...e,isVariantOf:w(n)});class C extends Error{constructor(e,n){super(n),this.extensions=e,this.name="FastStoreError"}}class O extends C{constructor(e){super({status:400,type:"BadRequestError"},e)}}class P extends C{constructor(e){super({status:404,type:"NotFoundError"},e)}}const A=new Set(["brand","category","department","subcategory","collection","cluster"]),L=e=>"string"==typeof e.pageType&&A.has(e.pageType.toLowerCase()),E=e=>e.AvailableQuantity>0,R=e=>{var n;return null!=(n=e.spotPrice)?n:0},x=e=>e?"https://schema.org/InStock":"https://schema.org/OutOfStock",M=(e,n)=>E(e)&&!E(n)?-1:!E(e)&&E(n)?1:R(e)-R(n),U={highPrice:e=>{const n=e.filter(E),i=n[n.length-1];return null!=i?R(i):0},lowPrice:e=>{const[n]=e.filter(E);return n?R(n):0},offerCount:e=>e.length,priceCurrency:async(e,n,i)=>{var t;const{loaders:{salesChannelLoader:a},storage:{channel:r}}=i;return null!=(t=(await a.load(r.salesChannel)).CurrencyCode)?t:""},offers:e=>e},q="ÁÄÂÀÃÅČÇĆĎÉĚËÈÊẼĔȆÍÌÎÏŇÑÓÖÒÔÕØŘŔŠŤÚŮÜÙÛÝŸŽáäâàãåčçćďéěëèêẽĕȇíìîïňñóöòôõøðřŕšťúůüùûýÿžþÞĐđ߯a";function j(e){return(e=>e.replace(/[·/_,:]/,"-"))((e=>{let n=e.slice(0);for(let e=0;e<q.length;e++)n=n.replace(new RegExp(q.charAt(e),"g"),"AAAAAACCCDEEEEEEEEIIIINNOOOOOORRSTUUUUUYYZaaaaaacccdeeeeeeeeiiiinnooooooorrstuuuuuyyzbBDdBAa".charAt(e));return n})(e.replace(/,/g,"").replace(/[*+~.()'"!:@&\[\]`/ %$#?{}|><=_^]/g,"-"))).toLowerCase()}const _=e=>"brand"===e.type||L(e)&&"brand"===e.pageType.toLowerCase(),B=e=>L(e)&&"collection"===e.pageType.toLowerCase(),$=e=>_(e)||B(e)?j(e.name):L(e)?new URL("https://"+e.url).pathname.slice(1).toLowerCase():new URL(e.url).pathname.slice(1).toLowerCase(),G={id:({id:e})=>e.toString(),slug:e=>$(e),seo:e=>_(e)||L(e)?{title:e.title,description:e.metaTagDescription}:{title:e.Title,description:e.MetaTagDescription},type:e=>_(e)?"Brand":L(e)?e.pageType:0===e.level?"Department":"Category",meta:e=>{const n=$(e);return _(e)?{selectedFacets:[{key:"brand",value:n}]}:B(e)?{selectedFacets:[{key:"productclusterids",value:e.id}]}:{selectedFacets:n.split("/").map((e,n)=>({key:"category-"+(n+1),value:e}))}},breadcrumbList:async(e,n,i)=>{const{loaders:{collectionLoader:t}}=i,a=$(e).split("/").filter(e=>Boolean(e)),r=a.map((e,n)=>a.slice(0,n+1).join("/")),o=await Promise.all(r.map(async e=>({slug:e,...await t.load(e)})));return{itemListElement:o.map((e,n)=>({item:B(e)?"/"+e.slug:new URL("https://"+e.url).pathname.toLowerCase(),name:e.name,position:n+1})),numberOfItems:o.length}}},z={buy:"whoboughtalsobought",view:"whosawalsosaw",similars:"similars",viewAndBought:"whosawalsobought",accessories:"accessories",suggestions:"suggestions"},K=({key:e,value:n})=>{switch(e){case"price":return{key:e,value:n.replace("-to-",":")};case"channel":case"locale":case"buy":case"view":case"similars":case"viewAndBought":case"accessories":case"suggestions":return[];default:return{key:e,value:n}}},W=e=>{const n=e.split(":").map(Number);return 2!==n.length||Number.isNaN(n[0])||Number.isNaN(n[1])?null:n},Q=e=>{var n,i;return null!=(n=null==e||null==(i=e.find(e=>"locale"===e.key))?void 0:i.value)?n:null},X=e=>{var n,i;return null!=(n=null==e||null==(i=e.find(e=>"channel"===e.key))?void 0:i.value)?n:null},Y=(e,n)=>{let i=0;for(let t=1;t<e.length;t++)n(e[i],e[t])>0&&(i=t);return e[i]},J={key:({key:e})=>e,label:({name:e})=>e,min:({values:e,key:n},i,{storage:{searchArgs:t}})=>{var a,r,o,l,d;const s=W(null!=(a=null==t||null==(r=t.selectedFacets)||null==(o=r.find(e=>e.key===n))?void 0:o.value)?a:""),u=Y(e,(e,n)=>e.range.from-n.range.from),c=null!=(l=null==u?void 0:u.range.from)?l:0;return{selected:null!=(d=null==s?void 0:s[0])?d:c,absolute:c}},max:({values:e,key:n},i,{storage:{searchArgs:t}})=>{var a,r,o,l,d;const s=W(null!=(a=null==t||null==(r=t.selectedFacets)||null==(o=r.find(e=>e.key===n))?void 0:o.value)?a:""),u=Y(e,(e,n)=>n.range.to-e.range.to),c=null!=(l=null==u?void 0:u.range.to)?l:0;return{selected:null!=(d=null==s?void 0:s[1])?d:c,absolute:c}}};class H{static parse(e){try{var n,i,t;const a=JSON.parse(e);return{seller:null!=(n=a.seller)?n:"",regionId:null!=(i=a.regionId)?i:"",salesChannel:null!=(t=a.salesChannel)?t:""}}catch(e){throw console.error(e),new Error("Malformed channel string")}}static stringify(e){return JSON.stringify(e)}}const Z=(e,n)=>{e.storage.channel=H.parse(n)},ee=(e,n)=>{e.storage.locale=n},ne=e=>l.createHash("md5").update(e).digest("hex");function ie(e){return{name:e.name,value:e.content,valueReference:"ATTACHMENT"}}function te(e){return ne(`${e.name}:${JSON.stringify(e.value)}:${e.valueReference}`)}const ae=e=>"ATTACHMENT"===e.valueReference,re=e=>{var n;return[e.itemOffered.sku,e.seller.identifier,e.price<.01?"Gift":void 0,null==(n=e.itemOffered.additionalProperty)?void 0:n.filter(ae).map(te).join("-")].filter(Boolean).join("::")},oe=(e,n)=>({listPrice:e.listPrice/100,price:e.sellingPrice/100,quantity:e.quantity,seller:{identifier:e.seller},itemOffered:{sku:e.id,image:[],name:e.name,additionalProperty:e.attachments.map(ie)},index:n}),le=e=>{var n,i;return{quantity:e.quantity,seller:e.seller.identifier,id:e.itemOffered.sku,index:e.index,attachments:(null!=(n=null==(i=e.itemOffered.additionalProperty)?void 0:i.filter(ae))?n:[]).map(e=>({name:e.name,content:e.value}))}},de=e=>e.reduce((e,n)=>{var i;const t=re(n);return e.has(t)||e.set(t,[]),null==(i=e.get(t))||i.push(n),e},new Map),se=e=>{const n=e.items.reduce((e,n)=>{const i=re(oe(n));return e[i]||(e[i]=[]),e[i].push(n),e},{});return{...e,items:Object.values(n).map(e=>{const[n]=e,i=e.reduce((e,n)=>e+n.quantity,0);return{...n,quantity:i,sellingPrice:e.reduce((e,n)=>{var i,t,a,r;return e+(null!=(i=null==n||null==(t=n.priceDefinition)?void 0:t.total)?i:(null!=(a=null==n?void 0:n.quantity)?a:0)*(null!=(r=null==n?void 0:n.sellingPrice)?r:0))},0)/i}})}},ue=async(e,n)=>({order:{orderNumber:e.orderFormId,acceptedOffer:e.items.map(async e=>({...e,product:await n.load(e.id)}))},messages:e.messages.map(({text:e,status:n})=>({text:e,status:n.toUpperCase()}))}),ce=({items:e})=>ne(JSON.stringify(e)),me=async(e,n)=>{try{return await n.checkout.setCustomData({id:e.orderFormId,appId:"faststore",key:"cartEtag",value:ce(e)})}catch(e){throw console.error('Error while setting custom data to orderForm.\n Make sure to add the following custom app to the orderForm: \n{"fields":["cartEtag"],"id":"faststore","major":1}.\n More info at: https://developers.vtex.com/vtex-rest-api/docs/customizable-fields-with-checkout-api'),e}},pe={validateCart:async(e,{cart:{order:n},session:i},t)=>{const{orderNumber:a,acceptedOffer:r,shouldSplitItem:l}=n,{clients:{commerce:d},loaders:{skuLoader:s}}=t,u=null==i?void 0:i.channel,c=null==i?void 0:i.locale;u&&Z(t,u),c&&ee(t,c);const m=await(async(e,{clients:{commerce:n}})=>n.checkout.orderForm({id:e}))(a,t);if(0!==m.messages.length&&await(async(e,{clients:{commerce:n}})=>n.checkout.clearOrderFormMessages({id:e}))(a,t),(e=>{var n,i;const t=null==(n=e.customData)?void 0:n.customApps.find(e=>"faststore"===e.id),a=null==t||null==(i=t.fields)?void 0:i.cartEtag;return null==a||ce(e)!==a})(m)&&a){const e=await me(m,d).then(se);return ue(e,s)}const p=de(r),k=de(m.items.map(oe)),v=Array.from(k.entries()),g=Array.from(p.entries()),{itemsToAdd:y,itemsToUpdate:f}=g.reduce((e,[n,i])=>{const t=k.get(n);if(!t)return i.forEach(n=>e.itemsToAdd.push(n)),e;const[a,...r]=t,o=i.reduce((e,n)=>e+n.quantity,0);return e.itemsToUpdate.push({...a,quantity:o}),r.forEach(n=>e.itemsToUpdate.push({...n,quantity:0})),e},{itemsToAdd:[],itemsToUpdate:[]}),N=[...y,...f,...v.filter(([e])=>!p.has(e)).flatMap(([,e])=>e.map(e=>({...e,quantity:0})))].map(le);if(0===N.length)return null;const S=await d.checkout.updateOrderFormItems({id:m.orderFormId,orderItems:N,shouldSplitItem:l}).then(e=>(async(e,n,{clients:{commerce:i}})=>{if(!n)return e;const{updateShipping:t,addressChanged:a}=((e,n)=>{var i,t;if(!(e=>{var n,i;return!!e.postalCode||(null==(n=e.geoCoordinates)?void 0:n.latitude)&&(null==(i=e.geoCoordinates)?void 0:i.longitude)})(n))return{updateShipping:!1,addressChanged:!1};if(!(e=>0!==e.items.length)(e))return{updateShipping:!1,addressChanged:!1};const[a]=null!=(i=null==e||null==(t=e.shippingData)?void 0:t.selectedAddresses)?i:[];if(r=a,"string"==typeof(o=n.postalCode)&&(null==r?void 0:r.postalCode)!==o||((e,n)=>"number"==typeof(null==n?void 0:n.latitude)&&"number"==typeof(null==n?void 0:n.longitude)&&((null==e?void 0:e.geoCoordinates[0])!==(null==n?void 0:n.longitude)||(null==e?void 0:e.geoCoordinates[1])!==(null==n?void 0:n.latitude)))(a,n.geoCoordinates)||((e,n)=>"string"==typeof n&&(null==e?void 0:e.addressType)!==n)(a,n.addressType))return{updateShipping:!0,addressChanged:!0};var r,o;const{logisticsInfo:l}=e.shippingData;return((e,n)=>{var i,t,a;const r=null==n||null==(i=n.deliveryMode)?void 0:i.deliveryChannel,o=null==n||null==(t=n.deliveryMode)?void 0:t.deliveryMethod,{startDate:l,endDate:d}=(null==n||null==(a=n.deliveryMode)?void 0:a.deliveryWindow)||{};return e.some(({selectedDeliveryChannel:e,selectedSla:n,slas:i})=>{const t=r&&e!==r,a=o&&n!==o;return null==i?void 0:i.some(e=>{var n,i,s;return!!(t&&e.deliveryChannel===r||a&&e.id===o)||l&&d&&e.deliveryChannel===r&&e.id===o&&(!(null!=e&&e.deliveryWindow)||(null==e||null==(n=e.deliveryWindow)?void 0:n.startDateUtc)!==l||(null==e||null==(i=e.deliveryWindow)?void 0:i.endDateUtc)!==d)&&(null==(s=e.availableDeliveryWindows)?void 0:s.some(e=>(null==e?void 0:e.startDateUtc)===l&&(null==e?void 0:e.endDateUtc)===d))})})})(l,n)?{updateShipping:!0,addressChanged:!1}:{updateShipping:!1,addressChanged:!1}})(e,n);if(t){var r;const t=((e,n,i)=>{var t,a,r,o;const l=n.postalCode,d=n.geoCoordinates,s=null!=(t=null==e||null==(a=e.shippingData)?void 0:a.availableAddresses)?t:[],u=null!=(r=null==e||null==(o=e.shippingData)?void 0:o.selectedAddresses)?r:[];if(!i&&u.length>0)return[u[0]];if(i&&s.length>0)for(const e of s){if(l&&d&&(e.postalCode===l||e.geoCoordinates[0]===d.longitude&&e.geoCoordinates[1]===d.latitude))return[e];if(l&&!d&&e.postalCode===l)return[e];if(d&&!l&&e.geoCoordinates[0]===d.longitude&&e.geoCoordinates[1]===d.latitude)return[e]}return null})(e,n,a)||(e=>{const n=e.geoCoordinates,i={addressType:e.addressType||null,postalCode:e.postalCode||null,city:null,state:null,country:e.country||null,street:null,number:null,neighborhood:null,complement:null,reference:null,geoCoordinates:[]};if(n){const e="object"==typeof n&&"latitude"in n?n.latitude:null,t="object"==typeof n&&"longitude"in n?n.longitude:null;i.geoCoordinates=null!==e&&null!==t?[t,e]:[]}return[i]})(n);return!(null==(r=n.deliveryMode)||!r.deliveryWindow)&&await i.checkout.shippingData({id:e.orderFormId,index:e.items.length,deliveryMode:n.deliveryMode,selectedAddresses:t},!1),i.checkout.shippingData({id:e.orderFormId,index:e.items.length,deliveryMode:n.deliveryMode,selectedAddresses:t},!0)}return e})(e,i,t)).then(e=>me(e,d)).then(se),h=o(m.messages,S.messages);return((e,n)=>{const i=(e,n)=>({...e,itemOffered:{sku:e.itemOffered.sku},index:n}),t=n.items.map(oe).map(i),a=e.acceptedOffer.map(i),r=e.orderNumber===n.orderFormId,l=o(t,a);return r&&l})(n,S)&&h?null:ue(S,s)},validateSession:async(e,{session:n,search:i},{clients:t})=>{var a,r,l,d,s,u,c,m,p,k,v,g,y,f,N,S,h,b,T,V,D;const I=H.parse(null!=(a=n.channel)?a:""),w=String(null!=(r=n.postalCode)?r:"").replace(/\D/g,""),F=null!=(l=n.geoCoordinates)?l:null,C=null!=(d=n.country)?d:"",O=new URLSearchParams(i),P=null!=(s=O.get("sc"))?s:I.salesChannel;O.set("sc",P);const[A,L]=await Promise.all([w||F?t.commerce.checkout.region({postalCode:w,geoCoordinates:F,country:C,salesChannel:P}):Promise.resolve(null),t.commerce.session(O.toString()).catch(()=>null)]),E=null!=(u=null==L?void 0:L.namespaces.profile)?u:null,R=null!=(c=null==L?void 0:L.namespaces.store)?c:null,x=null==A?void 0:A[0],M=null==x?void 0:x.sellers.find(e=>I.seller===e.id),U={...n,currency:{code:null!=(m=null==R?void 0:R.currencyCode.value)?m:n.currency.code,symbol:null!=(p=null==R?void 0:R.currencySymbol.value)?p:n.currency.symbol},country:null!=(k=null==R?void 0:R.countryCode.value)?k:n.country,channel:H.stringify({salesChannel:null!=(v=null==R||null==(g=R.channel)?void 0:g.value)?v:I.salesChannel,regionId:null!=(y=null==x?void 0:x.id)?y:I.regionId,seller:null==M?void 0:M.id}),person:null!=E&&E.id?{id:null!=(f=null==(N=E.id)?void 0:N.value)?f:"",email:null!=(S=null==(h=E.email)?void 0:h.value)?S:"",givenName:null!=(b=null==(T=E.firstName)?void 0:T.value)?b:"",familyName:null!=(V=null==(D=E.lastName)?void 0:D.value)?V:""}:null};return o(n,U)?null:U},subscribeToNewsletter:async(e,{data:n},{clients:{commerce:i}})=>{const t=await i.subscribeToNewsletter(n);return{id:null==t?void 0:t.Id}}},ke=new d.GraphQLScalarType({name:"ObjectOrString",description:"A string or the string representation of an object (a stringified object).",parseValue:function(e){return"string"==typeof e?ve(e):null},serialize:function(e){return"object"==typeof e?JSON.stringify(e):"string"==typeof e?e:null},parseLiteral:e=>e.kind===s.Kind.STRING?ve(e.value):null});function ve(e){try{return JSON.parse(e)}catch(n){return e}}const ge=e=>"Price"in e&&"seller"in e&&"product"in e,ye=e=>"skuName"in e,fe={priceCurrency:async(e,n,i)=>{var t;const{loaders:{salesChannelLoader:a},storage:{channel:r}}=i;return null!=(t=(await a.load(r.salesChannel)).CurrencyCode)?t:""},priceValidUntil:e=>{var n,i;return ge(e)?null!=(n=e.PriceValidUntil)?n:"":ye(e)?null!=(i=e.priceValidUntil)?i:"":null},itemCondition:()=>"https://schema.org/NewCondition",availability:async e=>ge(e)?x(E(e)):ye(e)?x("available"===e.availability):null,seller:(e,n,i)=>{var t;return ge(e)?{identifier:(null==(t=i.storage.channel)?void 0:t.seller)||e.seller.sellerId||""}:ye(e)?{identifier:e.seller}:null},price:e=>ge(e)?R(e):ye(e)?e.sellingPrice/100:null,sellingPrice:e=>{return ge(e)?null!=(n=e.Price)?n:0:ye(e)?e.sellingPrice/100:null;var n},listPrice:e=>{var n;return ge(e)?null!=(n=e.ListPrice)?n:0:ye(e)?e.listPrice/100:null},itemOffered:e=>ge(e)?e.product:ye(e)?{...e.product,attachmentsValues:e.attachments}:null,quantity:e=>{var n;return ge(e)?null!=(n=e.AvailableQuantity)?n:0:ye(e)?e.quantity:null}},Ne=({linkText:e})=>`/${e}/p`,Se={imageText:"image",imageUrl:"https://storecomponents.vtexassets.com/assets/faststore/images/image___117a6d3e229a96ad0e0d0876352566e2.svg"},he=(e,n)=>`${e}-${n}`,be={productID:({itemId:e})=>e,name:({isVariantOf:e,name:n})=>null!=n?n:e.productName,slug:({isVariantOf:{linkText:e},itemId:n})=>he(e,n),description:({isVariantOf:{description:e}})=>e,seo:({isVariantOf:e})=>({title:e.productName,description:e.description,canonical:Ne(e)}),brand:({isVariantOf:{brand:e}})=>({name:e}),breadcrumbList:({isVariantOf:{categories:e,productName:n,linkText:i},itemId:t})=>{return{itemListElement:[...e.reverse().map((e,n)=>{const i=e.split("/");return{name:i[i.length-2],item:i.map(j).join("/"),position:n+1}}),{name:n,item:(a=i,r=t,`/${he(a,r)}/p`),position:e.length+1}],numberOfItems:e.length};var a,r},image:({images:e})=>{var n,i;return(null!=(i=e,n=Array.isArray(i)&&i.length>0?i:null)?n:[Se]).map(({imageUrl:e,imageText:n})=>({alternateName:null!=n?n:"",url:e.replace("vteximg.com.br","vtexassets.com")}))},sku:({itemId:e})=>e,gtin:({referenceId:e})=>{var n,i;return null!=(n=null==(i=e[0])?void 0:i.Value)?n:""},review:()=>[],aggregateRating:()=>({}),offers:e=>e.sellers.map(n=>(({offer:e,seller:n,product:i})=>({...e,product:i,seller:n}))({offer:n.commertialOffer,seller:n,product:e})).sort(M),isVariantOf:e=>e,additionalProperty:({variations:e=[],attachmentsValues:n=[]})=>[...e.flatMap(({name:e,values:n})=>n.map(n=>({name:e,value:n,valueReference:"SPECIFICATION"}))),...n.map(ie)],releaseDate:({isVariantOf:{releaseDate:e}})=>null!=e?e:""},Te=new Set(["allSpecifications"]),Ve={price_desc:"price:desc",price_asc:"price:asc",orders_desc:"orders:desc",name_desc:"name:desc",name_asc:"name:asc",release_desc:"release:desc",discount_desc:"discount:desc",score_desc:""},De={product:async(e,{locator:n},i)=>{const t=X(n),a=Q(n),r=null!=(l=null==(o=n)||null==(d=o.find(e=>"id"===e.key))?void 0:d.value)?l:null;var o,l,d;const s=(e=>{var n,i;return null!=(n=null==e||null==(i=e.find(e=>"slug"===e.key))?void 0:i.value)?n:null})(n);t&&Z(i,t),a&&ee(i,a);const{loaders:{skuLoader:u},clients:{commerce:c,search:m}}=i;try{var p;const e=null!=(p=null!=r?r:null==s?void 0:s.split("-").pop())?p:"";if(!(e=>""!==e&&!Number.isNaN(Number(e)))(e))throw new Error("Invalid SkuId");const n=await u.load(e);if(s&&n.isVariantOf.linkText&&!s.startsWith(n.isVariantOf.linkText))throw new Error(`Slug was set but the fetched sku does not satisfy the slug condition. slug: ${s}, linkText: ${n.isVariantOf.linkText}`);return n}catch(e){if(null==s)throw new O("Missing slug or id");const n=await c.catalog.portal.pagetype(s+"/p");if("Product"!==n.pageType||!n.id)throw new P("No product found for slug "+s);const{products:[i]}=await m.products({page:0,count:1,query:"product:"+n.id});if(!i)throw new P("No product found for id "+n.id);const t=(e=>{const n=e.flatMap(e=>e.sellers.map(n=>({offer:n.commertialOffer,sku:e}))),i=Y(n,({offer:e},{offer:n})=>M(e,n));return i?i.sku:e[0]})(i.items);return F(t,i)}},collection:(e,{slug:n},i)=>{const{loaders:{collectionLoader:t}}=i;return t.load(n)},search:async(e,{first:n,after:i,sort:t,term:a,selectedFacets:r},o)=>{var l,d;const s=X(r),u=Q(r),c=(e=>{var n;const i=null==e?void 0:e.filter(e=>(e=>"string"==typeof z[e])(e.key));if(Array.isArray(i)&&i.length>1)throw new O(`You passed ${i.length} cross selling facets but only one is allowed. Please leave one of the following facet: ${i.map(e=>e.key).join(",")}`);return null!=(n=null==i?void 0:i[0])?n:null})(r);s&&Z(o,s),u&&ee(o,u);let m=a;c&&(m="product:"+(await o.clients.commerce.catalog.products.crossselling({type:z[c.key],productId:c.value})).map(e=>e.productId).slice(0,n).join(";"));const p=i?Number(i):0,k={page:Math.ceil(p/n),count:n,query:null!=(l=m)?l:void 0,sort:Ve[null!=t?t:"score_desc"],selectedFacets:null!=(d=null==r?void 0:r.flatMap(K))?d:[]};return{searchArgs:k,productSearchPromise:o.clients.search.products(k)}},allProducts:async(e,{first:n,after:i},t)=>{const{clients:{search:a}}=t,r=i?Number(i):0,o=await a.products({page:Math.ceil(r/n),count:n}),l=o.products.map(e=>e.items.map(n=>F(n,e))).flat().filter(e=>e.sellers.length>0);return{pageInfo:{hasNextPage:o.pagination.after.length>0,hasPreviousPage:o.pagination.before.length>0,startCursor:"0",endCursor:o.recordsFiltered.toString(),totalCount:o.recordsFiltered},edges:l.map((e,n)=>({node:e,cursor:(r+n).toString()}))}},allCollections:async(e,{first:n,after:i},t)=>{const{clients:{commerce:a}}=t,r=i?Number(i):0,[o,l]=await Promise.all([a.catalog.brand.list(),a.catalog.category.tree()]),d=[],s=(e,n)=>{d.push({...e,level:n});for(const i of e.children)s(i,n+1)};for(const e of l)s(e,0);const u=[...o.filter(e=>e.isActive).map(e=>({...e,type:"brand"})),...d].filter(e=>Boolean(G.slug(e,null,t,null)));return{pageInfo:{hasNextPage:u.length-r>n,hasPreviousPage:r>0,startCursor:"0",endCursor:(Math.min(n,u.length-r)-1).toString(),totalCount:u.length},edges:u.slice(r,r+n).map((e,n)=>({node:e,cursor:(r+n).toString()}))}},shipping:async(e,{country:n,items:i,postalCode:t},a)=>{const{loaders:{simulationLoader:r},clients:{commerce:o}}=a,[l,d]=await Promise.all([r.load({country:n,items:i,postalCode:t}),o.checkout.address({postalCode:t,country:n})]);return{...l,address:d}},redirect:async(e,{term:n,selectedFacets:i},t)=>{var a;if(!(n||i&&i.length))return null;const{redirect:r}=await t.clients.search.products({page:1,count:1,query:null!=n?n:void 0,selectedFacets:null!=(a=null==i?void 0:i.flatMap(K))?a:[]});return{url:r}},sellers:async(e,{postalCode:n,geoCoordinates:i,country:t,salesChannel:a},r)=>{const{clients:{commerce:o}}=r,l=await o.checkout.region({postalCode:n,geoCoordinates:i,country:t,salesChannel:a}),d=null==l?void 0:l[0],{id:s,sellers:u}=d;return{id:s,sellers:u}}},Ie=["bd","d","h","m"],we={bd:{0:"Today",1:"In 1 business day",other:"Up to # business days"},d:{0:"Today",1:"In 1 day",other:"Up to # days"},h:{0:"Now",1:"In 1 hour",other:"Up to # hours"},m:{0:"Now",1:"In 1 minute",other:"Up to # minutes"}};function Fe(e){const n={};return e.forEach(e=>{n[e.name]=e.values[0]}),n}function Ce(e,n){return Number.isNaN(Number(e)-Number(n))?e<n?-1:e>n?1:0:Number(e)-Number(n)}const Oe={StoreCollection:G,StoreAggregateOffer:U,StoreProduct:be,StoreSeo:{title:({title:e})=>null!=e?e:"",description:({description:e})=>null!=e?e:"",canonical:({canonical:e})=>null!=e?e:"",titleTemplate:()=>""},StoreFacet:{__resolveType:({type:e})=>"TEXT"===e?"StoreFacetBoolean":"StoreFacetRange"},StoreFacetBoolean:{key:({key:e})=>e,label:({name:e})=>e,values:({values:e})=>e.sort((e,n)=>e.name.localeCompare(n.name))},StoreFacetRange:J,StoreFacetValueBoolean:{value:({value:e})=>e,label:({name:e})=>e||"unknown",selected:({selected:e})=>e,quantity:({quantity:e})=>e},StoreOffer:fe,StoreAggregateRating:{ratingValue:()=>5,reviewCount:()=>0},StoreReview:{reviewRating:()=>({ratingValue:5,bestRating:5}),author:()=>({name:""})},StoreProductGroup:{hasVariant:e=>e.isVariantOf.items.map(n=>F(n,e.isVariantOf)),productGroupID:({isVariantOf:e})=>e.productId,name:e=>e.isVariantOf.productName,skuVariants:e=>e,additionalProperty:({isVariantOf:{specificationGroups:e}})=>e.filter(e=>!Te.has(e.name)).flatMap(({specifications:e})=>e.flatMap(({name:e,values:n})=>n.map(n=>({name:e,value:n,valueReference:"SPECIFICATION"}))))},StoreSearchResult:{suggestions:async(e,n,i)=>{const{clients:{search:t}}=i,{searchArgs:a}=e;if(!a.query)return{terms:(await t.topSearches()).searches.map(e=>({value:e.term,count:e.count})),products:[]};const{productSearchPromise:r}=e,[o,l]=await Promise.all([t.suggestedTerms(a),r]),d=l.products.map(e=>{const[n]=e.items;return n&&F(n,e)}).filter(e=>!!e),{searches:s}=o;return{terms:s.map(e=>({value:e.term,count:e.count})),products:d}},products:async({productSearchPromise:e})=>{const n=await e,i=n.products.map(e=>{const[n]=e.items;return n&&F(n,e)}).filter(e=>!!e);return{pageInfo:{hasNextPage:n.pagination.after.length>0,hasPreviousPage:n.pagination.before.length>0,startCursor:"0",endCursor:n.recordsFiltered.toString(),totalCount:n.recordsFiltered},edges:i.map((e,n)=>({node:e,cursor:n.toString()}))}},facets:async({searchArgs:e},n,i)=>{var t,a;const{clients:{search:r}}=i;i.storage.searchArgs=e;const{facets:o=[]}=await r.facets(e),l=!e.query,d=!(null==(t=e.selectedFacets)||!t.length)&&"category-1"===e.selectedFacets[0].key,s=!(null==(a=e.selectedFacets)||!a.length)&&"brand"===e.selectedFacets[0].key;return o.filter(e=>!l||!((e,n,i)=>n?"category-1"===e.key:!!i&&"brand"===e.key)(e,d,s))},metadata:async({searchArgs:e,productSearchPromise:n})=>{var i,t;if(!e.query)return null;const a=await n;return{isTermMisspelled:null!=(i=null==(t=a.correction)?void 0:t.misspelled)&&i,logicalOperator:a.operator}}},StorePropertyValue:{propertyID:e=>te(e),name:({name:e})=>e,value:({value:e})=>e,valueReference:({valueReference:e})=>e},SkuVariants:{activeVariations:e=>Fe(e.variations),allVariantsByName:e=>function(e){const n={};return null==e||e.forEach(e=>{var i;n[null!=(i=e.field.originalName)?i:e.field.name]=e.values.map(e=>{var n;return null!=(n=e.originalName)?n:e.name})}),n}(e.isVariantOf.skuSpecifications),slugsMap:(e,n)=>{var i,t;return function(e,n,i){const t={};return e.forEach(e=>{var a,r;const o=e.variations;if(0===o.length)return;const l=`${n}-${null!=(a=null==(r=o.find(e=>e.name===n))?void 0:r.values[0])?a:""}`,d=o.reduce((e,i)=>i.name===n?e:e+`-${i.name}-${i.values[0]}`,l);t[d]=`${i}-${e.itemId}`}),t}(e.isVariantOf.items,null!=(i=n.dominantVariantName)?i:null==(t=e.variations[0])?void 0:t.name,e.isVariantOf.linkText)},availableVariations:(e,n)=>{var i,t;const a=null!=(i=n.dominantVariantName)?i:null==(t=e.variations[0])?void 0:t.name,r=Fe(e.variations);return function(e,n,i){const t={},a=new Set;return e.forEach(e=>{if(0===e.variations.length)return;const r=null!=(l=(o=e.images).find(e=>"skuvariation"===e.imageLabel))?l:o[0];var o,l;const d=e.variations.find(e=>e.name===n);if((null==d?void 0:d.values[0])===i)e.variations.forEach(e=>{var n;const i=`${e.name}-${e.values[0]}`;if(a.has(i))return;a.add(i);const o={src:r.imageUrl,alt:null!=(n=r.imageLabel)?n:"",label:`${e.name}: ${e.values[0]}`,value:e.values[0]};t[e.name]?t[e.name].push(o):t[e.name]=[o]});else{var s;const e=`${n}-${null==d?void 0:d.values[0]}`;if(!d||a.has(e))return;a.add(e);const i={src:r.imageUrl,alt:null!=(s=r.imageLabel)?s:"",label:`${n}: ${d.values[0]}`,value:d.values[0]};t[d.name]?t[d.name].push(i):t[d.name]=[i]}}),function(e){const n=e;for(const n in e)e[n].sort((e,n)=>Ce(e.value,n.value));return n}(t)}(e.isVariantOf.items,a,r[a])}},ShippingSLA:{carrier:e=>{var n,i;return null!=(n=null!=(i=null==e?void 0:e.friendlyName)?i:null==e?void 0:e.name)?n:""},price:e=>null!=e&&e.price?e.price/100:null==e?void 0:e.price,localizedEstimates:e=>null!=e&&e.shippingEstimate?(e=>{var n;const[i,t]=[e.split(/\D+/)[0],e.split(/[0-9]+/)[1]],a=""!==i&&!Number.isNaN(Number(i)),r=Ie.includes(t);if(!a||!r)return"";const o=Number(i)<2?Number(i):"other";return null!=(n=we[t][o].replace("#",i))?n:""})(e.shippingEstimate):""},ObjectOrString:ke,Query:De,Mutation:pe};var Pe={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Address information.",block:!0},name:{kind:"Name",value:"Address"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address postal code",block:!0},name:{kind:"Name",value:"postalCode"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address city",block:!0},name:{kind:"Name",value:"city"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address state",block:!0},name:{kind:"Name",value:"state"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address country",block:!0},name:{kind:"Name",value:"country"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address street",block:!0},name:{kind:"Name",value:"street"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address number",block:!0},name:{kind:"Name",value:"number"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address neighborhood",block:!0},name:{kind:"Name",value:"neighborhood"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address complement",block:!0},name:{kind:"Name",value:"complement"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address reference",block:!0},name:{kind:"Name",value:"reference"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address geoCoordinates",block:!0},name:{kind:"Name",value:"geoCoordinates"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]}],loc:{start:0,end:554}};Pe.loc.source={body:'"""\nAddress information.\n"""\ntype Address {\n """\n Address postal code\n """\n postalCode: String\n """\n Address city\n """\n city: String\n """\n Address state\n """\n state: String\n """\n Address country\n """\n country: String\n """\n Address street\n """\n street: String\n """\n Address number\n """\n number: String\n """\n Address neighborhood\n """\n neighborhood: String\n """\n Address complement\n """\n complement: String\n """\n Address reference\n """\n reference: String\n """\n Address geoCoordinates\n """\n geoCoordinates: [Float]\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ae={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Aggregate offer information, for a given SKU that is available to be fulfilled by multiple sellers.",block:!0},name:{kind:"Name",value:"StoreAggregateOffer"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Highest price among all sellers.",block:!0},name:{kind:"Name",value:"highPrice"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Lowest price among all sellers.",block:!0},name:{kind:"Name",value:"lowPrice"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of sellers selling this SKU.",block:!0},name:{kind:"Name",value:"offerCount"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ISO code of the currency used for the offer prices.",block:!0},name:{kind:"Name",value:"priceCurrency"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with information on each available offer.",block:!0},name:{kind:"Name",value:"offers"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreOffer"}}}}},directives:[]}]}],loc:{start:0,end:516}};Ae.loc.source={body:'"""\nAggregate offer information, for a given SKU that is available to be fulfilled by multiple sellers.\n"""\ntype StoreAggregateOffer {\n """\n Highest price among all sellers.\n """\n highPrice: Float!\n """\n Lowest price among all sellers.\n """\n lowPrice: Float!\n """\n Number of sellers selling this SKU.\n """\n offerCount: Int!\n """\n ISO code of the currency used for the offer prices.\n """\n priceCurrency: String!\n """\n Array with information on each available offer.\n """\n offers: [StoreOffer!]!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Le={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Average rating, based on multiple ratings or reviews.",block:!0},name:{kind:"Name",value:"StoreAggregateRating"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Value of the aggregate rating.",block:!0},name:{kind:"Name",value:"ratingValue"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Total number of ratings.",block:!0},name:{kind:"Name",value:"reviewCount"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:218}};Le.loc.source={body:'"""\nAverage rating, based on multiple ratings or reviews.\n"""\ntype StoreAggregateRating {\n """\n Value of the aggregate rating.\n """\n ratingValue: Float!\n """\n Total number of ratings.\n """\n reviewCount: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ee={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"information about the author of a product review or rating.",block:!0},name:{kind:"Name",value:"StoreAuthor"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Author name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:132}};Ee.loc.source={body:'"""\ninformation about the author of a product review or rating.\n"""\ntype StoreAuthor {\n """\n Author name.\n """\n name: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Re={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Brand of a given product.",block:!0},name:{kind:"Name",value:"StoreBrand"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Brand name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:96}};Re.loc.source={body:'"""\nBrand of a given product.\n"""\ntype StoreBrand {\n """\n Brand name.\n """\n name: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var xe={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Item of a list.",block:!0},name:{kind:"Name",value:"StoreListItem"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"List item value.",block:!0},name:{kind:"Name",value:"item"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Name of the list item.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Position of the item in the list.",block:!0},name:{kind:"Name",value:"position"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"List of items consisting of chain linked web pages, ending with the current page.",block:!0},name:{kind:"Name",value:"StoreBreadcrumbList"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with breadcrumb elements.",block:!0},name:{kind:"Name",value:"itemListElement"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreListItem"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of breadcrumbs in the list.",block:!0},name:{kind:"Name",value:"numberOfItems"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:486}};xe.loc.source={body:'"""\nItem of a list.\n"""\ntype StoreListItem {\n """\n List item value.\n """\n item: String!\n """\n Name of the list item.\n """\n name: String!\n """\n Position of the item in the list.\n """\n position: Int!\n}\n\n"""\nList of items consisting of chain linked web pages, ending with the current page.\n"""\ntype StoreBreadcrumbList {\n """\n Array with breadcrumb elements.\n """\n itemListElement: [StoreListItem!]!\n """\n Number of breadcrumbs in the list.\n """\n numberOfItems: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Me={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Shopping cart message.",block:!0},name:{kind:"Name",value:"StoreCartMessage"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Shopping cart message text.",block:!0},name:{kind:"Name",value:"text"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Shopping cart message status, which can be `INFO`, `WARNING` or `ERROR`.",block:!0},name:{kind:"Name",value:"status"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreStatus"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Shopping cart information.",block:!0},name:{kind:"Name",value:"StoreCart"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Order information, including `orderNumber` and `acceptedOffer`.",block:!0},name:{kind:"Name",value:"order"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreOrder"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of shopping cart messages.",block:!0},name:{kind:"Name",value:"messages"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCartMessage"}}}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Shopping cart input.",block:!0},name:{kind:"Name",value:"IStoreCart"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Order information, including `orderNumber`, `acceptedOffer` and `shouldSplitItem`.",block:!0},name:{kind:"Name",value:"order"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreOrder"}}},directives:[]}]}],loc:{start:0,end:628}};Me.loc.source={body:'"""\nShopping cart message.\n"""\ntype StoreCartMessage {\n """\n Shopping cart message text.\n """\n text: String!\n """\n Shopping cart message status, which can be `INFO`, `WARNING` or `ERROR`.\n """\n status: StoreStatus!\n}\n\n"""\nShopping cart information.\n"""\ntype StoreCart {\n """\n Order information, including `orderNumber` and `acceptedOffer`.\n """\n order: StoreOrder!\n """\n List of shopping cart messages.\n """\n messages: [StoreCartMessage!]!\n}\n\n"""\nShopping cart input.\n"""\ninput IStoreCart {\n """\n Order information, including `orderNumber`, `acceptedOffer` and `shouldSplitItem`.\n """\n order: IStoreOrder!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ue={kind:"Document",definitions:[{kind:"EnumTypeDefinition",description:{kind:"StringValue",value:"Product collection type. Possible values are `Department`, `Category`, `Brand`, `Cluster`, `SubCategory` or `Collection`.",block:!0},name:{kind:"Name",value:"StoreCollectionType"},directives:[],values:[{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"First level of product categorization.",block:!0},name:{kind:"Name",value:"Department"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Second level of product categorization.",block:!0},name:{kind:"Name",value:"Category"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Third level of product categorization.",block:!0},name:{kind:"Name",value:"SubCategory"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Product brand.",block:!0},name:{kind:"Name",value:"Brand"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Product cluster.",block:!0},name:{kind:"Name",value:"Cluster"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Product collection.",block:!0},name:{kind:"Name",value:"Collection"},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product collection facet, used for search.",block:!0},name:{kind:"Name",value:"StoreCollectionFacet"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet key.",block:!0},name:{kind:"Name",value:"key"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet value.",block:!0},name:{kind:"Name",value:"value"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Collection meta information. Used for search.",block:!0},name:{kind:"Name",value:"StoreCollectionMeta"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of selected collection facets.",block:!0},name:{kind:"Name",value:"selectedFacets"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionFacet"}}}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product collection information.",block:!0},name:{kind:"Name",value:"StoreCollection"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Meta tag data.",block:!0},name:{kind:"Name",value:"seo"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSeo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of items consisting of chain linked web pages, ending with the current page.",block:!0},name:{kind:"Name",value:"breadcrumbList"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreBreadcrumbList"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection meta information. Used for search.",block:!0},name:{kind:"Name",value:"meta"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionMeta"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection ID.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Corresponding collection URL slug, with which to retrieve this entity.",block:!0},name:{kind:"Name",value:"slug"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection type.",block:!0},name:{kind:"Name",value:"type"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionType"}}},directives:[]}]}],loc:{start:0,end:1361}};Ue.loc.source={body:'"""\nProduct collection type. Possible values are `Department`, `Category`, `Brand`, `Cluster`, `SubCategory` or `Collection`.\n"""\nenum StoreCollectionType {\n """\n First level of product categorization.\n """\n Department\n """\n Second level of product categorization.\n """\n Category\n """\n Third level of product categorization.\n """\n SubCategory\n """\n Product brand.\n """\n Brand\n """\n Product cluster.\n """\n Cluster\n """\n Product collection.\n """\n Collection\n}\n\n"""\nProduct collection facet, used for search.\n"""\ntype StoreCollectionFacet {\n """\n Facet key.\n """\n key: String!\n """\n Facet value.\n """\n value: String!\n}\n\n"""\nCollection meta information. Used for search.\n"""\ntype StoreCollectionMeta {\n """\n List of selected collection facets.\n """\n selectedFacets: [StoreCollectionFacet!]!\n}\n\n"""\nProduct collection information.\n"""\ntype StoreCollection {\n """\n Meta tag data.\n """\n seo: StoreSeo!\n """\n List of items consisting of chain linked web pages, ending with the current page.\n """\n breadcrumbList: StoreBreadcrumbList!\n """\n Collection meta information. Used for search.\n """\n meta: StoreCollectionMeta!\n """\n Collection ID.\n """\n id: ID!\n """\n Corresponding collection URL slug, with which to retrieve this entity.\n """\n slug: String!\n """\n Collection type.\n """\n type: StoreCollectionType!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var qe={kind:"Document",definitions:[{kind:"UnionTypeDefinition",name:{kind:"Name",value:"StoreFacet"},directives:[],types:[{kind:"NamedType",name:{kind:"Name",value:"StoreFacetRange"}},{kind:"NamedType",name:{kind:"Name",value:"StoreFacetBoolean"}}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search facet range information.",block:!0},name:{kind:"Name",value:"StoreFacetRange"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet key.",block:!0},name:{kind:"Name",value:"key"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet label.",block:!0},name:{kind:"Name",value:"label"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Minimum facet range value.",block:!0},name:{kind:"Name",value:"min"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreFacetValueRange"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Maximum facet range value.",block:!0},name:{kind:"Name",value:"max"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreFacetValueRange"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search facet boolean information.",block:!0},name:{kind:"Name",value:"StoreFacetBoolean"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet key.",block:!0},name:{kind:"Name",value:"key"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet label.",block:!0},name:{kind:"Name",value:"label"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with information on each facet value.",block:!0},name:{kind:"Name",value:"values"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreFacetValueBoolean"}}}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search facet range value information. Used for minimum and maximum range values.",block:!0},name:{kind:"Name",value:"StoreFacetValueRange"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search facet range absolute value.",block:!0},name:{kind:"Name",value:"absolute"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search facet range selected value.",block:!0},name:{kind:"Name",value:"selected"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of a specific facet value.",block:!0},name:{kind:"Name",value:"StoreFacetValueBoolean"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet value.",block:!0},name:{kind:"Name",value:"value"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet value label.",block:!0},name:{kind:"Name",value:"label"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates whether facet is selected.",block:!0},name:{kind:"Name",value:"selected"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of items with this facet.",block:!0},name:{kind:"Name",value:"quantity"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:1160}};qe.loc.source={body:'union StoreFacet = StoreFacetRange | StoreFacetBoolean\n\n"""\nSearch facet range information.\n"""\ntype StoreFacetRange {\n """\n Facet key.\n """\n key: String!\n """\n Facet label.\n """\n label: String!\n """\n Minimum facet range value.\n """\n min: StoreFacetValueRange!\n """\n Maximum facet range value.\n """\n max: StoreFacetValueRange!\n}\n\n"""\nSearch facet boolean information.\n"""\ntype StoreFacetBoolean {\n """\n Facet key.\n """\n key: String!\n """\n Facet label.\n """\n label: String!\n """\n Array with information on each facet value.\n """\n values: [StoreFacetValueBoolean!]!\n}\n\n"""\nSearch facet range value information. Used for minimum and maximum range values.\n"""\ntype StoreFacetValueRange {\n """\n Search facet range absolute value.\n """\n absolute: Float!\n """\n Search facet range selected value.\n """\n selected: Float!\n}\n\n"""\nInformation of a specific facet value.\n"""\ntype StoreFacetValueBoolean {\n """\n Facet value.\n """\n value: String!\n """\n Facet value label.\n """\n label: String!\n """\n Indicates whether facet is selected.\n """\n selected: Boolean!\n """\n Number of items with this facet.\n """\n quantity: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var je={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Image.",block:!0},name:{kind:"Name",value:"StoreImage"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Image URL.",block:!0},name:{kind:"Name",value:"url"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Alias for the image.",block:!0},name:{kind:"Name",value:"alternateName"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Image input.",block:!0},name:{kind:"Name",value:"IStoreImage"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Image input URL.",block:!0},name:{kind:"Name",value:"url"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Alias for the input image.",block:!0},name:{kind:"Name",value:"alternateName"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:291}};je.loc.source={body:'"""\nImage.\n"""\ntype StoreImage {\n """\n Image URL.\n """\n url: String!\n """\n Alias for the image.\n """\n alternateName: String!\n}\n\n"""\nImage input.\n"""\ninput IStoreImage {\n """\n Image input URL.\n """\n url: String!\n """\n Alias for the input image.\n """\n alternateName: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var _e={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"Mutation"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns `null`.",block:!0},name:{kind:"Name",value:"validateCart"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"cart"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreCart"}}},directives:[]},{kind:"InputValueDefinition",name:{kind:"Name",value:"session"},type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSession"}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"StoreCart"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Updates a web session with the specified values.",block:!0},name:{kind:"Name",value:"validateSession"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"session"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSession"}}},directives:[]},{kind:"InputValueDefinition",name:{kind:"Name",value:"search"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"StoreSession"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Subscribes a new person to the newsletter list.",block:!0},name:{kind:"Name",value:"subscribeToNewsletter"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"data"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IPersonNewsletter"}}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"PersonNewsletter"}},directives:[]}]}],loc:{start:0,end:570}};_e.loc.source={body:'type Mutation {\n """\n Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns `null`.\n """\n validateCart(cart: IStoreCart!, session: IStoreSession): StoreCart\n """\n Updates a web session with the specified values.\n """\n validateSession(session: IStoreSession!, search: String!): StoreSession\n """\n Subscribes a new person to the newsletter list.\n """\n subscribeToNewsletter(data: IPersonNewsletter!): PersonNewsletter\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Be={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Newsletter information.",block:!0},name:{kind:"Name",value:"PersonNewsletter"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Person's ID in the newsletter list.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Person data input to the newsletter.",block:!0},name:{kind:"Name",value:"IPersonNewsletter"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Person's name.",block:!0},name:{kind:"Name",value:"name"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Person's email.",block:!0},name:{kind:"Name",value:"email"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:289}};Be.loc.source={body:'"""\nNewsletter information.\n"""\n\ntype PersonNewsletter {\n """\n Person\'s ID in the newsletter list.\n """\n id: String!\n}\n\n"""\nPerson data input to the newsletter.\n"""\ninput IPersonNewsletter {\n """\n Person\'s name.\n """\n name: String!\n """\n Person\'s email.\n """\n email: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var $e={kind:"Document",definitions:[{kind:"ScalarTypeDefinition",name:{kind:"Name",value:"ObjectOrString"},directives:[]}],loc:{start:0,end:21}};$e.loc.source={body:"scalar ObjectOrString",name:"GraphQL request",locationOffset:{line:1,column:1}};var Ge={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Offer information.",block:!0},name:{kind:"Name",value:"StoreOffer"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:'This is displayed as the "from" price in the context of promotions\' price comparison. This may change before it reaches the shelf.',block:!0},name:{kind:"Name",value:"listPrice"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Computed price before applying coupons, taxes or benefits. This may change before it reaches the shelf.",block:!0},name:{kind:"Name",value:"sellingPrice"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ISO code of the currency used for the offer prices.",block:!0},name:{kind:"Name",value:"priceCurrency"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Also known as spot price.",block:!0},name:{kind:"Name",value:"price"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.",block:!0},name:{kind:"Name",value:"priceValidUntil"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Offer item condition.",block:!0},name:{kind:"Name",value:"itemCondition"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Offer item availability.",block:!0},name:{kind:"Name",value:"availability"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Seller responsible for the offer.",block:!0},name:{kind:"Name",value:"seller"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreOrganization"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Information on the item being offered.",block:!0},name:{kind:"Name",value:"itemOffered"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of items offered.",block:!0},name:{kind:"Name",value:"quantity"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Offer input.",block:!0},name:{kind:"Name",value:"IStoreOffer"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Also known as spot price.",block:!0},name:{kind:"Name",value:"price"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:'This is displayed as the "from" price in the context of promotions\' price comparison. This may change before it reaches the shelf.',block:!0},name:{kind:"Name",value:"listPrice"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Seller responsible for the offer.",block:!0},name:{kind:"Name",value:"seller"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreOrganization"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Information on the item being offered.",block:!0},name:{kind:"Name",value:"itemOffered"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreProduct"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Number of items offered.",block:!0},name:{kind:"Name",value:"quantity"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:1501}};Ge.loc.source={body:'"""\nOffer information.\n"""\ntype StoreOffer {\n """\n This is displayed as the "from" price in the context of promotions\' price comparison. This may change before it reaches the shelf.\n """\n listPrice: Float!\n """\n Computed price before applying coupons, taxes or benefits. This may change before it reaches the shelf.\n """\n sellingPrice: Float!\n """\n ISO code of the currency used for the offer prices.\n """\n priceCurrency: String!\n """\n Also known as spot price.\n """\n price: Float!\n """\n Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.\n """\n priceValidUntil: String!\n """\n Offer item condition.\n """\n itemCondition: String!\n """\n Offer item availability.\n """\n availability: String!\n """\n Seller responsible for the offer.\n """\n seller: StoreOrganization!\n """\n Information on the item being offered.\n """\n itemOffered: StoreProduct!\n """\n Number of items offered.\n """\n quantity: Int!\n}\n\n"""\nOffer input.\n"""\ninput IStoreOffer {\n """\n Also known as spot price.\n """\n price: Float!\n """\n This is displayed as the "from" price in the context of promotions\' price comparison. This may change before it reaches the shelf.\n """\n listPrice: Float!\n """\n Seller responsible for the offer.\n """\n seller: IStoreOrganization!\n """\n Information on the item being offered.\n """\n itemOffered: IStoreProduct!\n """\n Number of items offered.\n """\n quantity: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var ze={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of a specific order.",block:!0},name:{kind:"Name",value:"StoreOrder"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).",block:!0},name:{kind:"Name",value:"orderNumber"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with information on each accepted offer.",block:!0},name:{kind:"Name",value:"acceptedOffer"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreOffer"}}}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Order input.",block:!0},name:{kind:"Name",value:"IStoreOrder"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).",block:!0},name:{kind:"Name",value:"orderNumber"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Array with information on each accepted offer.",block:!0},name:{kind:"Name",value:"acceptedOffer"},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreOffer"}}}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Indicates whether or not items with attachments should be split.",block:!0},name:{kind:"Name",value:"shouldSplitItem"},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}]}],loc:{start:0,end:740}};ze.loc.source={body:'"""\nInformation of a specific order.\n"""\ntype StoreOrder {\n """\n ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).\n """\n orderNumber: String!\n """\n Array with information on each accepted offer.\n """\n acceptedOffer: [StoreOffer!]!\n}\n\n"""\nOrder input.\n"""\ninput IStoreOrder {\n """\n ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).\n """\n orderNumber: String!\n """\n Array with information on each accepted offer.\n """\n acceptedOffer: [IStoreOffer!]!\n """\n Indicates whether or not items with attachments should be split.\n """\n shouldSplitItem: Boolean\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ke={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Organization.",block:!0},name:{kind:"Name",value:"StoreOrganization"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Organization ID.",block:!0},name:{kind:"Name",value:"identifier"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Organization input.",block:!0},name:{kind:"Name",value:"IStoreOrganization"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Organization ID.",block:!0},name:{kind:"Name",value:"identifier"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:213}};Ke.loc.source={body:'"""\nOrganization.\n"""\ntype StoreOrganization {\n """\n Organization ID.\n """\n identifier: String!\n}\n\n"""\nOrganization input.\n"""\ninput IStoreOrganization {\n """\n Organization ID.\n """\n identifier: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var We={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Whenever you make a query that allows for pagination, such as `allProducts` or `allCollections`, you can check `StorePageInfo` to learn more about the complete set of items and use it to paginate your queries.",block:!0},name:{kind:"Name",value:"StorePageInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates whether there is at least one more page with items after the ones returned in the current query.",block:!0},name:{kind:"Name",value:"hasNextPage"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates whether there is at least one more page with items before the ones returned in the current query.",block:!0},name:{kind:"Name",value:"hasPreviousPage"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Cursor corresponding to the first possible item.",block:!0},name:{kind:"Name",value:"startCursor"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Cursor corresponding to the last possible item.",block:!0},name:{kind:"Name",value:"endCursor"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Total number of items (products or collections), not pages.",block:!0},name:{kind:"Name",value:"totalCount"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:798}};We.loc.source={body:'"""\nWhenever you make a query that allows for pagination, such as `allProducts` or `allCollections`, you can check `StorePageInfo` to learn more about the complete set of items and use it to paginate your queries.\n"""\ntype StorePageInfo {\n """\n Indicates whether there is at least one more page with items after the ones returned in the current query.\n """\n hasNextPage: Boolean!\n """\n Indicates whether there is at least one more page with items before the ones returned in the current query.\n """\n hasPreviousPage: Boolean!\n """\n Cursor corresponding to the first possible item.\n """\n startCursor: String!\n """\n Cursor corresponding to the last possible item.\n """\n endCursor: String!\n """\n Total number of items (products or collections), not pages.\n """\n totalCount: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Qe={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Client profile data.",block:!0},name:{kind:"Name",value:"StorePerson"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Client ID.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Client email.",block:!0},name:{kind:"Name",value:"email"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Client first name.",block:!0},name:{kind:"Name",value:"givenName"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Client last name.",block:!0},name:{kind:"Name",value:"familyName"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Client profile data.",block:!0},name:{kind:"Name",value:"IStorePerson"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Client ID.",block:!0},name:{kind:"Name",value:"id"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Client email.",block:!0},name:{kind:"Name",value:"email"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Client first name.",block:!0},name:{kind:"Name",value:"givenName"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Client last name.",block:!0},name:{kind:"Name",value:"familyName"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:487}};Qe.loc.source={body:'"""\nClient profile data.\n"""\ntype StorePerson {\n """\n Client ID.\n """\n id: String!\n """\n Client email.\n """\n email: String!\n """\n Client first name.\n """\n givenName: String!\n """\n Client last name.\n """\n familyName: String!\n}\n\n"""\nClient profile data.\n"""\ninput IStorePerson {\n """\n Client ID.\n """\n id: String!\n """\n Client email.\n """\n email: String!\n """\n Client first name.\n """\n givenName: String!\n """\n Client last name.\n """\n familyName: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Xe={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product information. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.",block:!0},name:{kind:"Name",value:"StoreProduct"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Meta tag data.",block:!0},name:{kind:"Name",value:"seo"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSeo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of items consisting of chain linked web pages, ending with the current page.",block:!0},name:{kind:"Name",value:"breadcrumbList"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreBreadcrumbList"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Corresponding collection URL slug, with which to retrieve this entity.",block:!0},name:{kind:"Name",value:"slug"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product ID, such as [ISBN](https://www.isbn-international.org/content/what-isbn) or similar global IDs.",block:!0},name:{kind:"Name",value:"productID"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product brand.",block:!0},name:{kind:"Name",value:"brand"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreBrand"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product description.",block:!0},name:{kind:"Name",value:"description"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of images.",block:!0},name:{kind:"Name",value:"image"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreImage"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Aggregate offer information.",block:!0},name:{kind:"Name",value:"offers"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreAggregateOffer"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Stock Keeping Unit. Merchant-specific ID for the product.",block:!0},name:{kind:"Name",value:"sku"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Global Trade Item Number.",block:!0},name:{kind:"Name",value:"gtin"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with review information.",block:!0},name:{kind:"Name",value:"review"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreReview"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Aggregate ratings data.",block:!0},name:{kind:"Name",value:"aggregateRating"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreAggregateRating"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates product group related to this product.",block:!0},name:{kind:"Name",value:"isVariantOf"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProductGroup"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of additional properties.",block:!0},name:{kind:"Name",value:"additionalProperty"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StorePropertyValue"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The product's release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601",block:!0},name:{kind:"Name",value:"releaseDate"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Product input. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.",block:!0},name:{kind:"Name",value:"IStoreProduct"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Stock Keeping Unit. Merchant-specific ID for the product.",block:!0},name:{kind:"Name",value:"sku"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Product name.",block:!0},name:{kind:"Name",value:"name"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Array of product images.",block:!0},name:{kind:"Name",value:"image"},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreImage"}}}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Custom Product Additional Properties.",block:!0},name:{kind:"Name",value:"additionalProperty"},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStorePropertyValue"}}}},directives:[]}]}],loc:{start:0,end:2274}};Xe.loc.source={body:'"""\nProduct information. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.\n"""\ntype StoreProduct {\n """\n Meta tag data.\n """\n seo: StoreSeo!\n """\n List of items consisting of chain linked web pages, ending with the current page.\n """\n breadcrumbList: StoreBreadcrumbList!\n """\n Corresponding collection URL slug, with which to retrieve this entity.\n """\n slug: String!\n """\n Product name.\n """\n name: String!\n """\n Product ID, such as [ISBN](https://www.isbn-international.org/content/what-isbn) or similar global IDs.\n """\n productID: String!\n """\n Product brand.\n """\n brand: StoreBrand!\n """\n Product description.\n """\n description: String!\n """\n Array of images.\n """\n image: [StoreImage!]!\n """\n Aggregate offer information.\n """\n offers: StoreAggregateOffer!\n """\n Stock Keeping Unit. Merchant-specific ID for the product.\n """\n sku: String!\n """\n Global Trade Item Number.\n """\n gtin: String!\n """\n Array with review information.\n """\n review: [StoreReview!]!\n """\n Aggregate ratings data.\n """\n aggregateRating: StoreAggregateRating!\n """\n Indicates product group related to this product.\n """\n isVariantOf: StoreProductGroup!\n """\n Array of additional properties.\n """\n additionalProperty: [StorePropertyValue!]!\n """\n The product\'s release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601\n """\n releaseDate: String!\n}\n\n"""\nProduct input. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.\n"""\ninput IStoreProduct {\n """\n Stock Keeping Unit. Merchant-specific ID for the product.\n """\n sku: String!\n """\n Product name.\n """\n name: String!\n """\n Array of product images.\n """\n image: [IStoreImage!]!\n """\n Custom Product Additional Properties.\n """\n additionalProperty: [IStorePropertyValue!]\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ye={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product group information. Product groups are catalog entities that may contain variants. They are equivalent to VTEX [Products](https://help.vtex.com/en/tutorial/what-is-a-product--2zrB2gFCHyQokCKKE8kuAw#), whereas each variant is equivalent to a VTEX [SKU](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.",block:!0},name:{kind:"Name",value:"StoreProductGroup"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of variants related to product group. Variants are equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#).",block:!0},name:{kind:"Name",value:"hasVariant"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product group ID.",block:!0},name:{kind:"Name",value:"productGroupID"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product group name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of additional properties.",block:!0},name:{kind:"Name",value:"additionalProperty"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StorePropertyValue"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Object containing data structures to facilitate handling different SKU\nvariant properties. Specially useful for implementing SKU selection \ncomponents.",block:!0},name:{kind:"Name",value:"skuVariants"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"SkuVariants"}},directives:[]}]}],loc:{start:0,end:1113}};Ye.loc.source={body:'"""\nProduct group information. Product groups are catalog entities that may contain variants. They are equivalent to VTEX [Products](https://help.vtex.com/en/tutorial/what-is-a-product--2zrB2gFCHyQokCKKE8kuAw#), whereas each variant is equivalent to a VTEX [SKU](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.\n"""\ntype StoreProductGroup {\n """\n Array of variants related to product group. Variants are equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#).\n """\n hasVariant: [StoreProduct!]!\n """\n Product group ID.\n """\n productGroupID: String!\n """\n Product group name.\n """\n name: String!\n """\n Array of additional properties.\n """\n additionalProperty: [StorePropertyValue!]!\n """\n Object containing data structures to facilitate handling different SKU\n variant properties. Specially useful for implementing SKU selection \n components.\n """\n skuVariants: SkuVariants\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Je={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Properties that can be associated with products and products groups.",block:!0},name:{kind:"Name",value:"StorePropertyValue"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Property id. This propert changes according to the content of the object.",block:!0},name:{kind:"Name",value:"propertyID"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Property value. May hold a string or the string representation of an object.",block:!0},name:{kind:"Name",value:"value"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ObjectOrString"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Property name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Specifies the nature of the value",block:!0},name:{kind:"Name",value:"valueReference"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IStorePropertyValue"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Property id. This propert changes according to the content of the object.",block:!0},name:{kind:"Name",value:"propertyID"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Property value. May hold a string or the string representation of an object.",block:!0},name:{kind:"Name",value:"value"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ObjectOrString"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Property name.",block:!0},name:{kind:"Name",value:"name"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Specifies the nature of the value",block:!0},name:{kind:"Name",value:"valueReference"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:825}};Je.loc.source={body:'"""\nProperties that can be associated with products and products groups.\n"""\ntype StorePropertyValue {\n """\n Property id. This propert changes according to the content of the object.\n """\n propertyID: String!\n """\n Property value. May hold a string or the string representation of an object.\n """\n value: ObjectOrString!\n """\n Property name.\n """\n name: String!\n """\n Specifies the nature of the value\n """\n valueReference: String!\n}\n\ninput IStorePropertyValue {\n """\n Property id. This propert changes according to the content of the object.\n """\n propertyID: String\n """\n Property value. May hold a string or the string representation of an object.\n """\n value: ObjectOrString!\n """\n Property name.\n """\n name: String!\n """\n Specifies the nature of the value\n """\n valueReference: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var He={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Each product edge contains a `node`, with product information, and a `cursor`, that can be used as a reference for pagination.",block:!0},name:{kind:"Name",value:"StoreProductEdge"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Each product node contains the information of a product returned by the query.",block:!0},name:{kind:"Name",value:"node"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product cursor. Used as pagination reference.",block:!0},name:{kind:"Name",value:"cursor"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product connections, including pagination information and products returned by the query.",block:!0},name:{kind:"Name",value:"StoreProductConnection"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product pagination information.",block:!0},name:{kind:"Name",value:"pageInfo"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StorePageInfo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with product connection edges, each containing a product and a corresponding cursor.",block:!0},name:{kind:"Name",value:"edges"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProductEdge"}}}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Each collection edge contains a `node`, with product collection information, and a `cursor`, that can be used as a reference for pagination.",block:!0},name:{kind:"Name",value:"StoreCollectionEdge"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Each collection node contains the information of a product collection returned by the query.",block:!0},name:{kind:"Name",value:"node"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollection"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection cursor. Used as pagination reference.",block:!0},name:{kind:"Name",value:"cursor"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Collection connections, including pagination information and collections returned by the query.",block:!0},name:{kind:"Name",value:"StoreCollectionConnection"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection pagination information.",block:!0},name:{kind:"Name",value:"pageInfo"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StorePageInfo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with collection connection page edges, each containing a collection and a corresponding cursor..",block:!0},name:{kind:"Name",value:"edges"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionEdge"}}}}},directives:[]}]},{kind:"EnumTypeDefinition",description:{kind:"StringValue",value:"Product search results sorting options.",block:!0},name:{kind:"Name",value:"StoreSort"},directives:[],values:[{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by price, from highest to lowest.",block:!0},name:{kind:"Name",value:"price_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by price, from lowest to highest.",block:!0},name:{kind:"Name",value:"price_asc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by orders, from highest to lowest.",block:!0},name:{kind:"Name",value:"orders_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by name, in reverse alphabetical order.",block:!0},name:{kind:"Name",value:"name_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by name, in alphabetical order.",block:!0},name:{kind:"Name",value:"name_asc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by release date, from highest to lowest.",block:!0},name:{kind:"Name",value:"release_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by discount value, from highest to lowest.",block:!0},name:{kind:"Name",value:"discount_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by product score, from highest to lowest.",block:!0},name:{kind:"Name",value:"score_desc"},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Selected search facet input.",block:!0},name:{kind:"Name",value:"IStoreSelectedFacet"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Selected search facet key.",block:!0},name:{kind:"Name",value:"key"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Selected search facet value.",block:!0},name:{kind:"Name",value:"value"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"EnumTypeDefinition",description:{kind:"StringValue",value:"Search facet type.",block:!0},name:{kind:"Name",value:"StoreFacetType"},directives:[],values:[{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Indicates boolean search facet.",block:!0},name:{kind:"Name",value:"BOOLEAN"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Indicates range type search facet.",block:!0},name:{kind:"Name",value:"RANGE"},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Suggestion term.",block:!0},name:{kind:"Name",value:"StoreSuggestionTerm"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"The term.",block:!0},name:{kind:"Name",value:"value"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Its occurrences count.",block:!0},name:{kind:"Name",value:"count"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Suggestions information.",block:!0},name:{kind:"Name",value:"StoreSuggestions"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with suggestion terms.",block:!0},name:{kind:"Name",value:"terms"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSuggestionTerm"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with suggestion products' information.",block:!0},name:{kind:"Name",value:"products"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search result.",block:!0},name:{kind:"Name",value:"SearchMetadata"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates if the search term was misspelled.",block:!0},name:{kind:"Name",value:"isTermMisspelled"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Logical operator used to run the search.",block:!0},name:{kind:"Name",value:"logicalOperator"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search result.",block:!0},name:{kind:"Name",value:"StoreSearchResult"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search result products.",block:!0},name:{kind:"Name",value:"products"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProductConnection"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of search result facets.",block:!0},name:{kind:"Name",value:"facets"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreFacet"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search result suggestions.",block:!0},name:{kind:"Name",value:"suggestions"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSuggestions"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search result metadata. Additional data can be used to send analytics events.",block:!0},name:{kind:"Name",value:"metadata"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"SearchMetadata"}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IGeoCoordinates"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The latitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"latitude"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The longitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"longitude"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"Query"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns the details of a product based on the specified locator.",block:!0},name:{kind:"Name",value:"product"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"An array of selected search facets.",block:!0},name:{kind:"Name",value:"locator"},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSelectedFacet"}}}}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns the details of a collection based on the collection slug.",block:!0},name:{kind:"Name",value:"collection"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Collection slug.",block:!0},name:{kind:"Name",value:"slug"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollection"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns the result of a product, facet, or suggestion search.",block:!0},name:{kind:"Name",value:"search"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search pagination argument, indicating how many results should be returned from the complete result list.",block:!0},name:{kind:"Name",value:"first"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search pagination argument, indicating the cursor corresponding with the item after which the results should be fetched.",block:!0},name:{kind:"Name",value:"after"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search results sorting mode.",block:!0},name:{kind:"Name",value:"sort"},type:{kind:"NamedType",name:{kind:"Name",value:"StoreSort"}},defaultValue:{kind:"EnumValue",value:"score_desc"},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search term.",block:!0},name:{kind:"Name",value:"term"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},defaultValue:{kind:"StringValue",value:"",block:!1},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Array of selected search facets.",block:!0},name:{kind:"Name",value:"selectedFacets"},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSelectedFacet"}}}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSearchResult"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns information about all products.",block:!0},name:{kind:"Name",value:"allProducts"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Product pagination argument, indicating how many items should be returned from the complete result list.",block:!0},name:{kind:"Name",value:"first"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Product pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.",block:!0},name:{kind:"Name",value:"after"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProductConnection"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns information about all collections.",block:!0},name:{kind:"Name",value:"allCollections"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Collection pagination argument, indicating how many items should be returned from the complete result list.",block:!0},name:{kind:"Name",value:"first"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Collection pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.",block:!0},name:{kind:"Name",value:"after"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionConnection"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns information about shipping simulation.",block:!0},name:{kind:"Name",value:"shipping"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"List of SKU products",block:!0},name:{kind:"Name",value:"items"},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IShippingItem"}}}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Postal code to freight calculator",block:!0},name:{kind:"Name",value:"postalCode"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Country of postal code",block:!0},name:{kind:"Name",value:"country"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"ShippingData"}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns if there's a redirect for a search.",block:!0},name:{kind:"Name",value:"redirect"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search term.",block:!0},name:{kind:"Name",value:"term"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Array of selected search facets.",block:!0},name:{kind:"Name",value:"selectedFacets"},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSelectedFacet"}}}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"StoreRedirect"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns a list of sellers available for a specific localization.",block:!0},name:{kind:"Name",value:"sellers"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Postal code input to calculate sellers",block:!0},name:{kind:"Name",value:"postalCode"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Geocoordinates input to calculate sellers",block:!0},name:{kind:"Name",value:"geoCoordinates"},type:{kind:"NamedType",name:{kind:"Name",value:"IGeoCoordinates"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Country of localization",block:!0},name:{kind:"Name",value:"country"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Sales channel of the navigation",block:!0},name:{kind:"Name",value:"salesChannel"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"SellersData"}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Redirect informations, including url returned by the query.\nhttps://schema.org/Thing",block:!0},name:{kind:"Name",value:"StoreRedirect"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"URL to redirect",block:!0},name:{kind:"Name",value:"url"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Regionalization with sellers information.",block:!0},name:{kind:"Name",value:"SellersData"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Identification of region.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of sellers.",block:!0},name:{kind:"Name",value:"sellers"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"SellerInfo"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of sellers.",block:!0},name:{kind:"Name",value:"SellerInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Identification of the seller",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Name of the seller",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Logo of the seller",block:!0},name:{kind:"Name",value:"logo"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}]}],loc:{start:0,end:7490}};He.loc.source={body:'"""\nEach product edge contains a `node`, with product information, and a `cursor`, that can be used as a reference for pagination.\n"""\ntype StoreProductEdge {\n """\n Each product node contains the information of a product returned by the query.\n """\n node: StoreProduct!\n """\n Product cursor. Used as pagination reference.\n """\n cursor: String!\n}\n\n"""\nProduct connections, including pagination information and products returned by the query.\n"""\ntype StoreProductConnection {\n """\n Product pagination information.\n """\n pageInfo: StorePageInfo!\n """\n Array with product connection edges, each containing a product and a corresponding cursor.\n """\n edges: [StoreProductEdge!]!\n}\n\n"""\nEach collection edge contains a `node`, with product collection information, and a `cursor`, that can be used as a reference for pagination.\n"""\ntype StoreCollectionEdge {\n """\n Each collection node contains the information of a product collection returned by the query.\n """\n node: StoreCollection!\n """\n Collection cursor. Used as pagination reference.\n """\n cursor: String!\n}\n\n"""\nCollection connections, including pagination information and collections returned by the query.\n"""\ntype StoreCollectionConnection {\n """\n Collection pagination information.\n """\n pageInfo: StorePageInfo!\n """\n Array with collection connection page edges, each containing a collection and a corresponding cursor..\n """\n edges: [StoreCollectionEdge!]!\n}\n\n"""\nProduct search results sorting options.\n"""\nenum StoreSort {\n """\n Sort by price, from highest to lowest.\n """\n price_desc\n """\n Sort by price, from lowest to highest.\n """\n price_asc\n """\n Sort by orders, from highest to lowest.\n """\n orders_desc\n """\n Sort by name, in reverse alphabetical order.\n """\n name_desc\n """\n Sort by name, in alphabetical order.\n """\n name_asc\n """\n Sort by release date, from highest to lowest.\n """\n release_desc\n """\n Sort by discount value, from highest to lowest.\n """\n discount_desc\n """\n Sort by product score, from highest to lowest.\n """\n score_desc\n}\n\n"""\nSelected search facet input.\n"""\ninput IStoreSelectedFacet {\n """\n Selected search facet key.\n """\n key: String!\n """\n Selected search facet value.\n """\n value: String!\n}\n\n"""\nSearch facet type.\n"""\nenum StoreFacetType {\n """\n Indicates boolean search facet.\n """\n BOOLEAN\n """\n Indicates range type search facet.\n """\n RANGE\n}\n\n"""\nSuggestion term.\n"""\ntype StoreSuggestionTerm {\n """\n The term.\n """\n value: String!\n """\n Its occurrences count.\n """\n count: Int!\n}\n\n"""\nSuggestions information.\n"""\ntype StoreSuggestions {\n """\n Array with suggestion terms.\n """\n terms: [StoreSuggestionTerm!]!\n """\n Array with suggestion products\' information.\n """\n products: [StoreProduct!]!\n}\n\n"""\nSearch result.\n"""\ntype SearchMetadata {\n """\n Indicates if the search term was misspelled.\n """\n isTermMisspelled: Boolean!\n """\n Logical operator used to run the search.\n """\n logicalOperator: String!\n}\n\n"""\nSearch result.\n"""\ntype StoreSearchResult {\n """\n Search result products.\n """\n products: StoreProductConnection!\n """\n Array of search result facets.\n """\n facets: [StoreFacet!]!\n """\n Search result suggestions.\n """\n suggestions: StoreSuggestions!\n """\n Search result metadata. Additional data can be used to send analytics events.\n """\n metadata: SearchMetadata\n}\n\ninput IGeoCoordinates {\n """\n The latitude of the geographic coordinates.\n """\n latitude: Float!\n """\n The longitude of the geographic coordinates.\n """\n longitude: Float!\n}\n\ntype Query {\n """\n Returns the details of a product based on the specified locator.\n """\n product(\n """\n An array of selected search facets.\n """\n locator: [IStoreSelectedFacet!]!\n ): StoreProduct!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns the details of a collection based on the collection slug.\n """\n collection(\n """\n Collection slug.\n """\n slug: String!\n ): StoreCollection!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns the result of a product, facet, or suggestion search.\n """\n search(\n """\n Search pagination argument, indicating how many results should be returned from the complete result list.\n """\n first: Int!\n """\n Search pagination argument, indicating the cursor corresponding with the item after which the results should be fetched.\n """\n after: String\n """\n Search results sorting mode.\n """\n sort: StoreSort = score_desc\n """\n Search term.\n """\n term: String = ""\n """\n Array of selected search facets.\n """\n selectedFacets: [IStoreSelectedFacet!]\n ): StoreSearchResult!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns information about all products.\n """\n allProducts(\n """\n Product pagination argument, indicating how many items should be returned from the complete result list.\n """\n first: Int!\n """\n Product pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.\n """\n after: String\n ): StoreProductConnection!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns information about all collections.\n """\n allCollections(\n """\n Collection pagination argument, indicating how many items should be returned from the complete result list.\n """\n first: Int!\n """\n Collection pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.\n """\n after: String\n ): StoreCollectionConnection!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns information about shipping simulation.\n """\n shipping(\n """\n List of SKU products\n """\n items: [IShippingItem!]!\n """\n Postal code to freight calculator\n """\n postalCode: String!\n """\n Country of postal code\n """\n country: String!\n ): ShippingData\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns if there\'s a redirect for a search.\n """\n redirect(\n """\n Search term.\n """\n term: String\n """\n Array of selected search facets.\n """\n selectedFacets: [IStoreSelectedFacet!]\n ): StoreRedirect\n\n\n """\n Returns a list of sellers available for a specific localization.\n """\n sellers(\n """\n Postal code input to calculate sellers\n """\n postalCode: String\n """\n Geocoordinates input to calculate sellers\n """\n geoCoordinates: IGeoCoordinates\n """\n Country of localization\n """\n country: String!\n """\n Sales channel of the navigation\n """\n salesChannel: String\n ): SellersData\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n}\n\n"""\nRedirect informations, including url returned by the query.\nhttps://schema.org/Thing\n"""\ntype StoreRedirect {\n """\n URL to redirect\n """\n url: String\n}\n\n"""\nRegionalization with sellers information.\n"""\ntype SellersData {\n """\n Identification of region.\n """\n id: String\n """\n List of sellers.\n """\n sellers: [SellerInfo]\n}\n\n"""\nInformation of sellers.\n"""\ntype SellerInfo {\n """\n Identification of the seller\n """\n id: String\n """\n Name of the seller\n """\n name: String\n """\n Logo of the seller\n """\n logo: String\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ze={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of a given review rating.",block:!0},name:{kind:"Name",value:"StoreReviewRating"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Rating value.",block:!0},name:{kind:"Name",value:"ratingValue"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Best rating value.",block:!0},name:{kind:"Name",value:"bestRating"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of a given review.",block:!0},name:{kind:"Name",value:"StoreReview"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Review rating information.",block:!0},name:{kind:"Name",value:"reviewRating"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreReviewRating"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Review author.",block:!0},name:{kind:"Name",value:"author"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreAuthor"}}},directives:[]}]}],loc:{start:0,end:366}};Ze.loc.source={body:'"""\nInformation of a given review rating.\n"""\ntype StoreReviewRating {\n """\n Rating value.\n """\n ratingValue: Float!\n """\n Best rating value.\n """\n bestRating: Float!\n}\n\n"""\nInformation of a given review.\n"""\ntype StoreReview {\n """\n Review rating information.\n """\n reviewRating: StoreReviewRating!\n """\n Review author.\n """\n author: StoreAuthor!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var en={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search Engine Optimization (SEO) tags data.",block:!0},name:{kind:"Name",value:"StoreSeo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Title tag.",block:!0},name:{kind:"Name",value:"title"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Title template tag.",block:!0},name:{kind:"Name",value:"titleTemplate"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Description tag.",block:!0},name:{kind:"Name",value:"description"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Canonical tag.",block:!0},name:{kind:"Name",value:"canonical"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:275}};en.loc.source={body:'"""\nSearch Engine Optimization (SEO) tags data.\n"""\ntype StoreSeo {\n """\n Title tag.\n """\n title: String!\n """\n Title template tag.\n """\n titleTemplate: String!\n """\n Description tag.\n """\n description: String!\n """\n Canonical tag.\n """\n canonical: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var nn={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Currency information.",block:!0},name:{kind:"Name",value:"StoreCurrency"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Currency code (e.g: USD).",block:!0},name:{kind:"Name",value:"code"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Currency symbol (e.g: $).",block:!0},name:{kind:"Name",value:"symbol"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IStoreCurrency"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Currency code (e.g: USD).",block:!0},name:{kind:"Name",value:"code"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Currency symbol (e.g: $).",block:!0},name:{kind:"Name",value:"symbol"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Geographic coordinates information.",block:!0},name:{kind:"Name",value:"StoreGeoCoordinates"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"The latitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"latitude"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The longitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"longitude"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IStoreGeoCoordinates"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The latitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"latitude"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The longitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"longitude"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Delivery window information.",block:!0},name:{kind:"Name",value:"StoreDeliveryWindow"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery window start date information.",block:!0},name:{kind:"Name",value:"startDate"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery window end date information.",block:!0},name:{kind:"Name",value:"endDate"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Delivery window information.",block:!0},name:{kind:"Name",value:"IStoreDeliveryWindow"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery window start date information.",block:!0},name:{kind:"Name",value:"startDate"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery window end date information.",block:!0},name:{kind:"Name",value:"endDate"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Delivery mode information.",block:!0},name:{kind:"Name",value:"StoreDeliveryMode"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery channel information of the session.",block:!0},name:{kind:"Name",value:"deliveryChannel"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery method information of the session.",block:!0},name:{kind:"Name",value:"deliveryMethod"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery window information of the session.",block:!0},name:{kind:"Name",value:"deliveryWindow"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"StoreDeliveryWindow"}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IStoreDeliveryMode"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery channel information of the session.",block:!0},name:{kind:"Name",value:"deliveryChannel"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery method information of the session.",block:!0},name:{kind:"Name",value:"deliveryMethod"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery window information of the session.",block:!0},name:{kind:"Name",value:"deliveryWindow"},type:{kind:"NamedType",name:{kind:"Name",value:"IStoreDeliveryWindow"}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Session information.",block:!0},name:{kind:"Name",value:"StoreSession"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session locale.",block:!0},name:{kind:"Name",value:"locale"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session currency.",block:!0},name:{kind:"Name",value:"currency"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCurrency"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session country.",block:!0},name:{kind:"Name",value:"country"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session channel.",block:!0},name:{kind:"Name",value:"channel"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session delivery mode.",block:!0},name:{kind:"Name",value:"deliveryMode"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"StoreDeliveryMode"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session address type.",block:!0},name:{kind:"Name",value:"addressType"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session postal code.",block:!0},name:{kind:"Name",value:"postalCode"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session input geoCoordinates.",block:!0},name:{kind:"Name",value:"geoCoordinates"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"StoreGeoCoordinates"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session input person.",block:!0},name:{kind:"Name",value:"person"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"StorePerson"}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Session input.",block:!0},name:{kind:"Name",value:"IStoreSession"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input locale.",block:!0},name:{kind:"Name",value:"locale"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input currency.",block:!0},name:{kind:"Name",value:"currency"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreCurrency"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input country.",block:!0},name:{kind:"Name",value:"country"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input channel.",block:!0},name:{kind:"Name",value:"channel"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input delivery mode.",block:!0},name:{kind:"Name",value:"deliveryMode"},type:{kind:"NamedType",name:{kind:"Name",value:"IStoreDeliveryMode"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input address type.",block:!0},name:{kind:"Name",value:"addressType"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input postal code.",block:!0},name:{kind:"Name",value:"postalCode"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input geoCoordinates.",block:!0},name:{kind:"Name",value:"geoCoordinates"},type:{kind:"NamedType",name:{kind:"Name",value:"IStoreGeoCoordinates"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input person.",block:!0},name:{kind:"Name",value:"person"},type:{kind:"NamedType",name:{kind:"Name",value:"IStorePerson"}},directives:[]}]}],loc:{start:0,end:3027}};nn.loc.source={body:'"""\nCurrency information.\n"""\ntype StoreCurrency {\n """\n Currency code (e.g: USD).\n """\n code: String!\n """\n Currency symbol (e.g: $).\n """\n symbol: String!\n}\n\ninput IStoreCurrency {\n """\n Currency code (e.g: USD).\n """\n code: String!\n """\n Currency symbol (e.g: $).\n """\n symbol: String!\n}\n\n"""\nGeographic coordinates information.\n"""\ntype StoreGeoCoordinates {\n """\n The latitude of the geographic coordinates.\n """\n latitude: Float!\n """\n The longitude of the geographic coordinates.\n """\n longitude: Float!\n}\n\ninput IStoreGeoCoordinates {\n """\n The latitude of the geographic coordinates.\n """\n latitude: Float!\n """\n The longitude of the geographic coordinates.\n """\n longitude: Float!\n}\n\n"""\nDelivery window information.\n"""\ntype StoreDeliveryWindow {\n """\n The delivery window start date information.\n """\n startDate: String!\n """\n The delivery window end date information.\n """\n endDate: String!\n}\n\n"""\nDelivery window information.\n"""\ninput IStoreDeliveryWindow {\n """\n The delivery window start date information.\n """\n startDate: String!\n """\n The delivery window end date information.\n """\n endDate: String!\n}\n\n"""\nDelivery mode information.\n"""\ntype StoreDeliveryMode {\n """\n The delivery channel information of the session.\n """\n deliveryChannel: String!\n """\n The delivery method information of the session.\n """\n deliveryMethod: String!\n """\n The delivery window information of the session.\n """\n deliveryWindow: StoreDeliveryWindow\n}\n\ninput IStoreDeliveryMode {\n """\n The delivery channel information of the session.\n """\n deliveryChannel: String!\n """\n The delivery method information of the session.\n """\n deliveryMethod: String!\n """\n The delivery window information of the session.\n """\n deliveryWindow: IStoreDeliveryWindow\n}\n\n"""\nSession information.\n"""\ntype StoreSession {\n """\n Session locale.\n """\n locale: String!\n """\n Session currency.\n """\n currency: StoreCurrency!\n """\n Session country.\n """\n country: String!\n """\n Session channel.\n """\n channel: String\n """\n Session delivery mode.\n """\n deliveryMode: StoreDeliveryMode\n """\n Session address type.\n """\n addressType: String\n """\n Session postal code.\n """\n postalCode: String\n """\n Session input geoCoordinates.\n """\n geoCoordinates: StoreGeoCoordinates\n """\n Session input person.\n """\n person: StorePerson\n}\n\n"""\nSession input.\n"""\ninput IStoreSession {\n """\n Session input locale.\n """\n locale: String!\n """\n Session input currency.\n """\n currency: IStoreCurrency!\n """\n Session input country.\n """\n country: String!\n """\n Session input channel.\n """\n channel: String\n """\n Session input delivery mode.\n """\n deliveryMode: IStoreDeliveryMode\n """\n Session input address type.\n """\n addressType: String\n """\n Session input postal code.\n """\n postalCode: String\n """\n Session input geoCoordinates.\n """\n geoCoordinates: IStoreGeoCoordinates\n """\n Session input person.\n """\n person: IStorePerson\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var tn={kind:"Document",definitions:[{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Shipping Simulation item input.",block:!0},name:{kind:"Name",value:"IShippingItem"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"ShippingItem ID / Sku.",block:!0},name:{kind:"Name",value:"id"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Number of items.",block:!0},name:{kind:"Name",value:"quantity"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Seller responsible for the ShippingItem.",block:!0},name:{kind:"Name",value:"seller"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Shipping Simulation information.",block:!0},name:{kind:"Name",value:"ShippingData"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of LogisticsItem.",block:!0},name:{kind:"Name",value:"items"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"LogisticsItem"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of LogisticsInfo.",block:!0},name:{kind:"Name",value:"logisticsInfo"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"LogisticsInfo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of MessageInfo.",block:!0},name:{kind:"Name",value:"messages"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"MessageInfo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address information.",block:!0},name:{kind:"Name",value:"address"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Address"}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Shipping Simulation Logistic Item.",block:!0},name:{kind:"Name",value:"LogisticsItem"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem ID / Sku.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",name:{kind:"Name",value:"requestIndex"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of items.",block:!0},name:{kind:"Name",value:"quantity"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Seller responsible for the ShippingItem.",block:!0},name:{kind:"Name",value:"seller"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of Sellers.",block:!0},name:{kind:"Name",value:"sellerChain"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem tax.",block:!0},name:{kind:"Name",value:"tax"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.",block:!0},name:{kind:"Name",value:"priceValidUntil"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem price.",block:!0},name:{kind:"Name",value:"price"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem listPrice.",block:!0},name:{kind:"Name",value:"listPrice"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem rewardValue.",block:!0},name:{kind:"Name",value:"rewardValue"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem sellingPrice.",block:!0},name:{kind:"Name",value:"sellingPrice"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem measurementUnit.",block:!0},name:{kind:"Name",value:"measurementUnit"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem unitMultiplier.",block:!0},name:{kind:"Name",value:"unitMultiplier"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem availability.",block:!0},name:{kind:"Name",value:"availability"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"LogisticsInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsInfo itemIndex.",block:!0},name:{kind:"Name",value:"itemIndex"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsInfo selectedSla.",block:!0},name:{kind:"Name",value:"selectedSla"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of LogisticsInfo ShippingSLA.",block:!0},name:{kind:"Name",value:"slas"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"ShippingSLA"}}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"ShippingSLA"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA id.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA price.",block:!0},name:{kind:"Name",value:"price"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Float"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA shipping estimate.",block:!0},name:{kind:"Name",value:"shippingEstimate"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA localized shipping estimate.\nNote: this will always return a localized string for locale `en-US`.",block:!0},name:{kind:"Name",value:"localizedEstimates"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA available delivery windows.",block:!0},name:{kind:"Name",value:"availableDeliveryWindows"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"AvailableDeliveryWindows"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA shipping estimate date.",block:!0},name:{kind:"Name",value:"shippingEstimateDate"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of ShippingSLA delivery ids.",block:!0},name:{kind:"Name",value:"deliveryIds"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"DeliveryIds"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA delivery channel.",block:!0},name:{kind:"Name",value:"deliveryChannel"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA friendly name.",block:!0},name:{kind:"Name",value:"friendlyName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA carrier.",block:!0},name:{kind:"Name",value:"carrier"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA pickup point id.",block:!0},name:{kind:"Name",value:"pickupPointId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA pickup store info.",block:!0},name:{kind:"Name",value:"pickupStoreInfo"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"PickupStoreInfo"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA pickup distance.",block:!0},name:{kind:"Name",value:"pickupDistance"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Float"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"AvailableDeliveryWindows"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window start date in UTC",block:!0},name:{kind:"Name",value:"startDateUtc"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window end date in UTC",block:!0},name:{kind:"Name",value:"endDateUtc"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window price",block:!0},name:{kind:"Name",value:"price"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window list price",block:!0},name:{kind:"Name",value:"listPrice"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window tax",block:!0},name:{kind:"Name",value:"tax"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"DeliveryIds"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds courier id",block:!0},name:{kind:"Name",value:"courierId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds warehouse id",block:!0},name:{kind:"Name",value:"warehouseId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds dock id",block:!0},name:{kind:"Name",value:"dockId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds courier name",block:!0},name:{kind:"Name",value:"courierName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds quantity",block:!0},name:{kind:"Name",value:"quantity"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"PickupStoreInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupStoreInfo friendly name.",block:!0},name:{kind:"Name",value:"friendlyName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupStoreInfo address.",block:!0},name:{kind:"Name",value:"address"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"PickupAddress"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupStoreInfo additional information.",block:!0},name:{kind:"Name",value:"additionalInfo"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupStoreInfo dock id.",block:!0},name:{kind:"Name",value:"dockId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Information if the store has pickup enable.",block:!0},name:{kind:"Name",value:"isPickupStore"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"PickupAddress"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress address type.",block:!0},name:{kind:"Name",value:"addressType"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress receiver name.",block:!0},name:{kind:"Name",value:"receiverName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress address id.",block:!0},name:{kind:"Name",value:"addressId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress postal code.",block:!0},name:{kind:"Name",value:"postalCode"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress city.",block:!0},name:{kind:"Name",value:"city"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress state.",block:!0},name:{kind:"Name",value:"state"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress country.",block:!0},name:{kind:"Name",value:"country"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress street.",block:!0},name:{kind:"Name",value:"street"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress number.",block:!0},name:{kind:"Name",value:"number"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress neighborhood.",block:!0},name:{kind:"Name",value:"neighborhood"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress complement.",block:!0},name:{kind:"Name",value:"complement"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress reference.",block:!0},name:{kind:"Name",value:"reference"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress geo coordinates.",block:!0},name:{kind:"Name",value:"geoCoordinates"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"MessageInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageInfo code.",block:!0},name:{kind:"Name",value:"code"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageInfo text.",block:!0},name:{kind:"Name",value:"text"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageInfo status.",block:!0},name:{kind:"Name",value:"status"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageInfo fields.",block:!0},name:{kind:"Name",value:"fields"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"MessageFields"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"MessageFields"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageFields item index.",block:!0},name:{kind:"Name",value:"itemIndex"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageFields ean.",block:!0},name:{kind:"Name",value:"ean"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageFields sku name.",block:!0},name:{kind:"Name",value:"skuName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}]}],loc:{start:0,end:5041}};tn.loc.source={body:'"""\nShipping Simulation item input.\n"""\ninput IShippingItem {\n """\n ShippingItem ID / Sku.\n """\n id: String!\n """\n Number of items.\n """\n quantity: Int!\n """\n Seller responsible for the ShippingItem.\n """\n seller: String!\n}\n\n"""\nShipping Simulation information.\n"""\ntype ShippingData {\n """\n List of LogisticsItem.\n """\n items: [LogisticsItem]\n """\n List of LogisticsInfo.\n """\n logisticsInfo: [LogisticsInfo]\n """\n List of MessageInfo.\n """\n messages: [MessageInfo]\n """\n Address information.\n """\n address: Address\n}\n\n"""\nShipping Simulation Logistic Item.\n"""\ntype LogisticsItem {\n """\n LogisticsItem ID / Sku.\n """\n id: String\n requestIndex: Int\n """\n Number of items.\n """\n quantity: Int\n """\n Seller responsible for the ShippingItem.\n """\n seller: String\n """\n List of Sellers.\n """\n sellerChain: [String]\n """\n LogisticsItem tax.\n """\n tax: Int\n """\n Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.\n """\n priceValidUntil: String\n """\n LogisticsItem price.\n """\n price: Int\n """\n LogisticsItem listPrice.\n """\n listPrice: Int\n """\n LogisticsItem rewardValue.\n """\n rewardValue: Int\n """\n LogisticsItem sellingPrice.\n """\n sellingPrice: Int\n """\n LogisticsItem measurementUnit.\n """\n measurementUnit: String\n """\n LogisticsItem unitMultiplier.\n """\n unitMultiplier: Int\n """\n LogisticsItem availability.\n """\n availability: String\n}\n\ntype LogisticsInfo {\n """\n LogisticsInfo itemIndex.\n """\n itemIndex: String\n """\n LogisticsInfo selectedSla.\n """\n selectedSla: String\n """\n List of LogisticsInfo ShippingSLA.\n """\n slas: [ShippingSLA]\n}\n\ntype ShippingSLA {\n """\n ShippingSLA id.\n """\n id: String\n """\n ShippingSLA name.\n """\n name: String\n """\n ShippingSLA price.\n """\n price: Float\n """\n ShippingSLA shipping estimate.\n """\n shippingEstimate: String\n """\n ShippingSLA localized shipping estimate.\n Note: this will always return a localized string for locale `en-US`.\n """\n localizedEstimates: String\n """\n ShippingSLA available delivery windows.\n """\n availableDeliveryWindows: [AvailableDeliveryWindows]\n """\n ShippingSLA shipping estimate date.\n """\n shippingEstimateDate: String\n """\n List of ShippingSLA delivery ids.\n """\n deliveryIds: [DeliveryIds]\n """\n ShippingSLA delivery channel.\n """\n deliveryChannel: String\n """\n ShippingSLA friendly name.\n """\n friendlyName: String\n """\n ShippingSLA carrier.\n """\n carrier: String\n """\n ShippingSLA pickup point id.\n """\n pickupPointId: String\n """\n ShippingSLA pickup store info.\n """\n pickupStoreInfo: PickupStoreInfo\n """\n ShippingSLA pickup distance.\n """\n pickupDistance: Float\n}\n\ntype AvailableDeliveryWindows {\n """\n Available delivery window start date in UTC\n """\n startDateUtc: String\n """\n Available delivery window end date in UTC\n """\n endDateUtc: String\n """\n Available delivery window price\n """\n price: Int\n """\n Available delivery window list price\n """\n listPrice: Int\n """\n Available delivery window tax\n """\n tax: Int\n}\n\ntype DeliveryIds {\n """\n DeliveryIds courier id\n """\n courierId: String\n """\n DeliveryIds warehouse id\n """\n warehouseId: String\n """\n DeliveryIds dock id\n """\n dockId: String\n """\n DeliveryIds courier name\n """\n courierName: String\n """\n DeliveryIds quantity\n """\n quantity: Int\n}\n\ntype PickupStoreInfo {\n """\n PickupStoreInfo friendly name.\n """\n friendlyName: String\n """\n PickupStoreInfo address.\n """\n address: PickupAddress\n """\n PickupStoreInfo additional information.\n """\n additionalInfo: String\n """\n PickupStoreInfo dock id.\n """\n dockId: String\n """\n Information if the store has pickup enable.\n """\n isPickupStore: Boolean\n}\n\ntype PickupAddress {\n """\n PickupAddress address type.\n """\n addressType: String\n """\n PickupAddress receiver name.\n """\n receiverName: String\n """\n PickupAddress address id.\n """\n addressId: String\n """\n PickupAddress postal code.\n """\n postalCode: String\n """\n PickupAddress city.\n """\n city: String\n """\n PickupAddress state.\n """\n state: String\n """\n PickupAddress country.\n """\n country: String\n """\n PickupAddress street.\n """\n street: String\n """\n PickupAddress number.\n """\n number: String\n """\n PickupAddress neighborhood.\n """\n neighborhood: String\n """\n PickupAddress complement.\n """\n complement: String\n """\n PickupAddress reference.\n """\n reference: String\n """\n PickupAddress geo coordinates.\n """\n geoCoordinates: [Float]\n}\n\ntype MessageInfo {\n """\n MessageInfo code.\n """\n code: String\n """\n MessageInfo text.\n """\n text: String\n """\n MessageInfo status.\n """\n status: String\n """\n MessageInfo fields.\n """\n fields: MessageFields\n}\n\ntype MessageFields {\n """\n MessageFields item index.\n """\n itemIndex: String\n """\n MessageFields ean.\n """\n ean: String\n """\n MessageFields sku name.\n """\n skuName: String\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var an={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"SkuVariants"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"SKU property values for the current SKU.",block:!0},name:{kind:"Name",value:"activeVariations"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"ActiveVariations"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"All available options for each SKU variant property, indexed by their name.",block:!0},name:{kind:"Name",value:"allVariantsByName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"VariantsByName"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Maps property value combinations to their respective SKU's slug. Enables\nus to retrieve the slug for the SKU that matches the currently selected\nvariations in O(1) time.\nIf `dominantVariantName` is not present, the first variant will be \nconsidered the dominant one.",block:!0},name:{kind:"Name",value:"slugsMap"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"dominantVariantName"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"SlugsMap"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available options for each varying SKU property, taking into account the\n`dominantVariantName` property. Returns all available options for the\ndominant property, and only options that can be combined with its current\nvalue for other properties.\nIf `dominantVariantName` is not present, the first variant will be \nconsidered the dominant one.",block:!0},name:{kind:"Name",value:"availableVariations"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"dominantVariantName"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"FormattedVariants"}},directives:[]}]},{kind:"ScalarTypeDefinition",description:{kind:"StringValue",value:"Example:\n\n```json\n{\n 'Color-Red-Size-40': 'classic-shoes-37'\n}\n```",block:!0},name:{kind:"Name",value:"SlugsMap"},directives:[]},{kind:"ScalarTypeDefinition",description:{kind:"StringValue",value:"Example:\n\n```json\n{\n Color: 'Red', Size: '42'\n}\n```",block:!0},name:{kind:"Name",value:"ActiveVariations"},directives:[]},{kind:"ScalarTypeDefinition",description:{kind:"StringValue",value:'Example:\n\n```json\n{\n Color: [ "Red", "Blue", "Green" ],\n Size: [ "40", "41" ]\n}\n```',block:!0},name:{kind:"Name",value:"VariantsByName"},directives:[]},{kind:"ScalarTypeDefinition",description:{kind:"StringValue",value:'Example:\n\n```json\n{\n Color: [\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n },\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n }\n ],\n Size: [\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n }\n ]\n}\n```',block:!0},name:{kind:"Name",value:"FormattedVariants"},directives:[]}],loc:{start:0,end:1776}};an.loc.source={body:'type SkuVariants {\n """\n SKU property values for the current SKU.\n """\n activeVariations: ActiveVariations\n """\n All available options for each SKU variant property, indexed by their name.\n """\n allVariantsByName: VariantsByName\n """\n Maps property value combinations to their respective SKU\'s slug. Enables\n us to retrieve the slug for the SKU that matches the currently selected\n variations in O(1) time.\n If `dominantVariantName` is not present, the first variant will be \n considered the dominant one.\n """\n slugsMap(dominantVariantName: String): SlugsMap\n """\n Available options for each varying SKU property, taking into account the\n `dominantVariantName` property. Returns all available options for the\n dominant property, and only options that can be combined with its current\n value for other properties.\n If `dominantVariantName` is not present, the first variant will be \n considered the dominant one.\n """\n availableVariations(dominantVariantName: String): FormattedVariants\n}\n\n"""\nExample:\n\n```json\n{\n \'Color-Red-Size-40\': \'classic-shoes-37\'\n}\n```\n"""\nscalar SlugsMap\n"""\nExample:\n\n```json\n{\n Color: \'Red\', Size: \'42\'\n}\n```\n"""\nscalar ActiveVariations\n"""\nExample:\n\n```json\n{\n Color: [ "Red", "Blue", "Green" ],\n Size: [ "40", "41" ]\n}\n```\n"""\nscalar VariantsByName\n"""\nExample:\n\n```json\n{\n Color: [\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n },\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n }\n ],\n Size: [\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n }\n ]\n}\n```\n"""\nscalar FormattedVariants\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var rn={kind:"Document",definitions:[{kind:"EnumTypeDefinition",description:{kind:"StringValue",value:"Status used to indicate a message type. For instance, a shopping cart informative or error message.",block:!0},name:{kind:"Name",value:"StoreStatus"},directives:[],values:[{kind:"EnumValueDefinition",name:{kind:"Name",value:"INFO"},directives:[]},{kind:"EnumValueDefinition",name:{kind:"Name",value:"WARNING"},directives:[]},{kind:"EnumValueDefinition",name:{kind:"Name",value:"ERROR"},directives:[]}]}],loc:{start:0,end:154}};rn.loc.source={body:'"""\nStatus used to indicate a message type. For instance, a shopping cart informative or error message.\n"""\nenum StoreStatus {\n INFO\n WARNING\n ERROR\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};const on=[He,_e,Pe,Re,xe,Ue,qe,je,We,Xe,en,Ge,Le,Ze,Ee,Ye,Ke,Ae,ze,Me,rn,Je,Qe,$e,nn,Be,an,tn].map(d.print).join("\n"),ln=(e,n)=>"number"==typeof e&&"number"==typeof n?e>n?n:e:"number"==typeof e?e:n,dn={typeDefs:"directive @cacheControl(sMaxAge: Int, staleWhileRevalidate: Int, scope: String) on FIELD_DEFINITION",transformer:e=>u.mapSchema(e,{[u.MapperKind.OBJECT_FIELD]:n=>{var i;const t=null==(i=u.getDirective(e,n,"cacheControl"))?void 0:i[0];if(t){const{sMaxAge:e,staleWhileRevalidate:i,scope:a}=t,r=n.resolve;n.resolve=(n,t,o,l)=>{var d,s,u,c,m;return o.cacheControl={sMaxAge:ln(null==(d=o.cacheControl)?void 0:d.sMaxAge,e),staleWhileRevalidate:ln(null==(s=o.cacheControl)?void 0:s.staleWhileRevalidate,i),scope:(c=null==(u=o.cacheControl)?void 0:u.scope,m=a,"string"==typeof c&&"string"==typeof m?"public"===c&&"public"===m?"public":"private":c||m)},null==r?void 0:r(n,t,o,l)}}return n}})};var sn;!function(e){e.EXECUTION_ERROR="graphql.error",e.EXECUTION_RESULT="graphql.result",e.RESOLVER_EXECUTION_ERROR="graphql.resolver.error",e.RESOLVER_EXCEPTION="graphql.resolver.exception",e.RESOLVER_FIELD_NAME="graphql.resolver.fieldName",e.RESOLVER_TYPE_NAME="graphql.resolver.typeName",e.RESOLVER_RESULT_TYPE="graphql.resolver.resultType",e.RESOLVER_ARGS="graphql.resolver.args",e.EXECUTION_OPERATION_NAME="graphql.operation.name",e.EXECUTION_OPERATION_TYPE="graphql.operation.type",e.EXECUTION_OPERATION_DOCUMENT="graphql.document",e.EXECUTION_VARIABLES="graphql.variables"}(sn||(sn={}));const un=Symbol("OPEN_TELEMETRY_GRAPHQL");function cn(e){const n=[];let i=0===n.length&&Number.isInteger(e.key)?e.prev:e;for(;i;)n.push(i.key),i=i.prev;return[...n].reverse().join(".")}const mn={vtex:{getResolvers:e=>Oe,getContextFactory:e=>n=>{var i;return n.storage={channel:H.parse(e.channel),flags:null!=(i=e.flags)?i:{},locale:e.locale},n.clients=((e,n)=>({search:T(e,n),commerce:(({account:e,environment:n,incrementAddress:i},t)=>{const a=`https://${e}.${n}.com.br`;return{catalog:{salesChannel:e=>S(`${a}/api/catalog_system/pub/saleschannel/${e}`),brand:{list:()=>S(a+"/api/catalog_system/pub/brand/list")},category:{tree:(e=3)=>S(`${a}/api/catalog_system/pub/category/tree/${e}`)},portal:{pagetype:e=>S(`${a}/api/catalog_system/pub/portal/pagetype/${e}`)},products:{crossselling:({type:e,productId:n,groupByProduct:i=!0})=>{const r=new URLSearchParams({sc:t.storage.channel.salesChannel,groupByProduct:i.toString()});return S(`${a}/api/catalog_system/pub/products/crossselling/${e}/${n}?${r}`)}}},checkout:{simulation:(e,{salesChannel:n}=t.storage.channel)=>{const i=new URLSearchParams({sc:n});return S(`${a}/api/checkout/pub/orderForms/simulation?${i.toString()}`,{...h,body:JSON.stringify(e)})},shippingData:({id:e,index:n,deliveryMode:r,selectedAddresses:o},l)=>{var d,s;const u=l?{startDateUtc:null==r||null==(d=r.deliveryWindow)?void 0:d.startDate,endDateUtc:null==r||null==(s=r.deliveryWindow)?void 0:s.endDate}:null,c={logisticsInfo:Array.from({length:n},(e,n)=>({itemIndex:n,selectedDeliveryChannel:(null==r?void 0:r.deliveryChannel)||null,selectedSla:(null==r?void 0:r.deliveryMethod)||null,deliveryWindow:u})),selectedAddresses:o,clearAddressIfPostalCodeNotFound:i};return S(`${a}/api/checkout/pub/orderForm/${e}/attachments/shippingData`,{...h,body:JSON.stringify(c),headers:{"content-type":"application/json",cookie:t.headers.cookie}})},orderForm:({id:e,refreshOutdatedData:n=!0,channel:i=t.storage.channel})=>{const{salesChannel:r}=i,o=new URLSearchParams({refreshOutdatedData:n.toString(),sc:r}),l=t.headers?{...h,headers:{"content-type":"application/json",cookie:t.headers.cookie}}:h;return S(`${a}/api/checkout/pub/orderForm/${e}?${o.toString()}`,l)},clearOrderFormMessages:({id:e})=>S(`${a}/api/checkout/pub/orderForm/${e}/messages/clear`,{...h,body:"{}"}),updateOrderFormItems:({id:e,orderItems:n,allowOutdatedData:i="paymentData",salesChannel:r=t.storage.channel.salesChannel,shouldSplitItem:o=!0})=>{const l=new URLSearchParams({allowOutdatedData:i,sc:r}),d=JSON.stringify({orderItems:n,noSplitItem:!o});return S(`${a}/api/checkout/pub/orderForm/${e}/items?${l}`,t.headers?{headers:{"content-type":"application/json",cookie:t.headers.cookie},body:d,method:"PATCH"}:{headers:{"content-type":"application/json"},body:d,method:"PATCH"})},setCustomData:({id:e,appId:n,key:i,value:t})=>S(`${a}/api/checkout/pub/orderForm/${e}/customData/${n}/${i}`,{...h,body:JSON.stringify({value:t}),method:"PUT"}),region:async({postalCode:e,geoCoordinates:n,country:i,salesChannel:t})=>{const r=new URLSearchParams({country:i,sc:null!=t?t:""});e?r.append("postalCode",e):r.append("geoCoordinates",`${null==n?void 0:n.longitude};${null==n?void 0:n.latitude}`);const o=`${a}/api/checkout/pub/regions/?${r.toString()}`;return S(o)},address:async({postalCode:e,country:n})=>S(`${a}/api/checkout/pub/postal-code/${n}/${e}`)},session:e=>{const n=new URLSearchParams(e);return n.set("items","profile.id,profile.email,profile.firstName,profile.lastName,store.channel,store.countryCode,store.cultureInfo,store.currencyCode,store.currencySymbol"),S(`${a}/api/sessions?${n.toString()}`,{method:"POST",headers:{"content-type":"application/json",cookie:t.headers.cookie},body:"{}"})},subscribeToNewsletter:e=>S(a+"/api/dataentities/NL/documents/",{...h,body:JSON.stringify({...e,isNewsletterOptIn:!0}),method:"PATCH"})}})(e,n),sp:(({account:e},n)=>{const i=`https://sp.vtex.com/event-api/v1/${e}/event`;return{sendEvent:e=>S(i,{method:"POST",body:JSON.stringify({...e,agent:"@faststore/api",anonymous:I.anonymous(),session:I.session()}),headers:{"content-type":"application/json"}})}})(e)}))(e,n),n.loaders=((e,{clients:n})=>({skuLoader:((e,n)=>new t(async e=>{const{products:i}=await n.search.products({query:"sku:"+e.join(";"),page:0,count:e.length}),t=i.reduce((e,n)=>{for(const i of n.items)e[i.itemId]=F(i,n);return e},{}),a=e.map(e=>t[e]),r=e.filter(e=>!t[e]);if(r.length>0)throw new P("Search API did not found the following skus: "+r.join(","));return a},{maxBatchSize:99}))(0,n),simulationLoader:((e,n)=>{const i=a(1),r=async e=>{const i=e.reduce((e,{items:n})=>[...e,n],[]),t=[...i.flat()],a=await n.commerce.checkout.simulation({country:e[0].country,postalCode:e[0].postalCode,items:t}),r=a.items.reduce((e,n)=>{const i=n.requestIndex;return"number"==typeof i&&i<e.length&&(e[i]=n),e},Array(t.length).fill(null)),o=i.reduce((e,n)=>[...e,n.length+e[e.length-1]],[0]);return i.map((e,n)=>({...a,items:r.slice(o[n],o[n+1]).filter(e=>Boolean(e))}))};return new t(async e=>i(r,e),{maxBatchSize:50})})(0,n),collectionLoader:((e,n)=>{const i=a(20);return new t(async e=>Promise.all(e.map(e=>i(async()=>{const i=await n.commerce.catalog.portal.pagetype(e);if(L(i))return i;throw new P(`Catalog returned ${i.pageType} for slug: ${e}. This usually happens when there is more than one category with the same name in the same category tree level.`)}))),{batch:!1})})(0,n),salesChannelLoader:((e,n)=>new t(async e=>Promise.all(e.map(e=>n.commerce.catalog.salesChannel(e)))))(0,n)}))(0,n),n}}},pn=[dn],kn=()=>[on,...pn.map(e=>e.typeDefs)],vn=e=>mn[e.platform].getResolvers(e);__webpack_unused_export__=O,__webpack_unused_export__=P,exports.getContextFactory=e=>mn[e.platform].getContextFactory(e),exports.getResolvers=vn,__webpack_unused_export__=async e=>{const i=n.makeExecutableSchema({resolvers:vn(e),typeDefs:kn()});return pn.reduce((e,n)=>n.transformer(e),i)},__webpack_unused_export__=function(e,n){var i;const t={url:"dev"===(null==n?void 0:n.mode)?"opentelemetry-collector-beta.vtex.systems":"opentelemetry-collector.vtex.systems"},a=new c.BasicTracerProvider({resource:new m.Resource({"service.name":"faststore-api","service.version":"2.2.33","service.name_and_version":"faststore-api@2.2.33",platform:e.platform,[e.platform+".account"]:e.account,[e.platform+".environment"]:e.environment,locale:e.locale})}),r=new k.LoggerProvider,o=new p.OTLPTraceExporter(t),l=new v.OTLPLogsExporter({url:"opentelemetry-collector.vtex.systems"}),s=new c.SimpleSpanProcessor(o),u=new k.SimpleLogRecordProcessor(l);if(a.addSpanProcessor(s),r.addLogRecordProcessor(u),"verbose"===(null==n?void 0:n.mode)||"dev"===(null==n?void 0:n.mode)){const e=new c.ConsoleSpanExporter,n=new c.SimpleSpanProcessor(e),i=new k.ConsoleLogRecordExporter,t=new k.SimpleLogRecordProcessor(i);a.addSpanProcessor(n),r.addLogRecordProcessor(t)}return{useFaststoreTelemetry:((e,n,i,t)=>function(){const i=e.getTracer("faststore-api"),a=n.getLogger("faststore-api"),r={};return{onPluginInit({addPlugin:e}){e(y.useOnResolve(({info:e,context:n})=>{if(n&&"object"==typeof n&&n[un]){var t,a;i.getActiveSpanProcessor();const l=n[un].spanContext().spanId,{fieldName:d,returnType:s,parentType:u,path:c}=e,m=c.prev&&cn(c.prev);let p=null;var o;m&&r[l][m]?p=r[l][m]:(p=f.trace.setSpan(f.context.active(),n[un]),r[l]=null!=(o=r[l])?o:{});const k=Number.isInteger(null==(t=c.prev)?void 0:t.key)?`[${null==(a=c.prev)?void 0:a.key}]`:"",v=i.startSpan(`${u.toString()}.${d}${k}`,{attributes:{[sn.RESOLVER_FIELD_NAME]:d,[sn.RESOLVER_TYPE_NAME]:u.toString(),[sn.RESOLVER_RESULT_TYPE]:s.toString(),"meta.span.path":cn(c)}},p),g=f.trace.setSpan(p,v);return r[l][cn(c)]=g,({result:e})=>{e instanceof Error&&(v.setAttributes({error:!0,"exception.category":sn.RESOLVER_EXECUTION_ERROR,"exception.message":e.message,"exception.type":e.name}),v.recordException(e)),v.end()}}return()=>{}}))},onExecute({args:e,extendContext:n}){var r,o;const l=null==(r=e.document.definitions.filter(e=>e.kind===d.Kind.OPERATION_DEFINITION).map(e=>e.operation))?void 0:r[0];let s="GraphQL Operation";l&&e.operationName?s=`${l} ${e.operationName}`:l&&!e.operationName&&(s=l);const u=i.startSpan(s,{kind:f.SpanKind.SERVER,attributes:{[sn.EXECUTION_OPERATION_NAME]:null!=(o=e.operationName)?o:void 0,[sn.EXECUTION_OPERATION_TYPE]:null!=l?l:void 0,[sn.EXECUTION_OPERATION_DOCUMENT]:d.print(e.document)}}),c=f.context.active(),m={onExecuteDone({result:n}){var i,r;if(g.isAsyncIterable(n))return u.end(),void console.warn('Plugin "newrelic" encountered a AsyncIterator which is not supported yet, so tracing data is not available for the operation.');const o={context:c,attributes:{"service.name":"faststore-api","service.version":"1.12.38","service.name_and_version":"faststore-api@1.12.38","vtex.search_index":"faststore_beta_api",[sn.EXECUTION_OPERATION_NAME]:null!=(i=e.operationName)?i:void 0,[sn.EXECUTION_OPERATION_DOCUMENT]:d.print(e.document),[sn.EXECUTION_VARIABLES]:JSON.stringify(null!=(r=e.variableValues)?r:{})}};void 0===n.data||n.errors&&n.errors.length>0||(o.severityNumber=N.SeverityNumber.INFO,o.severityText="Info",o.attributes[sn.EXECUTION_RESULT]=JSON.stringify(n)),n.errors&&n.errors.length>0&&(o.severityNumber=N.SeverityNumber.ERROR,o.severityText="Error",o.attributes[sn.EXECUTION_ERROR]=JSON.stringify(n.errors),u.setAttributes({error:!0,"exception.category":sn.EXECUTION_ERROR,"exception.message":JSON.stringify(n.errors)})),t&&a.emit(o),u.end()}};return n({[un]:u}),m}}})(a,r,0,null!=(i=null==n?void 0:n.experimentalSendLogs)&&i)}},__webpack_unused_export__=kn,__webpack_unused_export__=e=>{var n;return"BadRequestError"===(null==e||null==(n=e.extensions)?void 0:n.type)},exports.isFastStoreError=e=>"FastStoreError"===(null==e?void 0:e.name),__webpack_unused_export__=e=>{var n;return"NotFoundError"===(null==e||null==(n=e.extensions)?void 0:n.type)},exports.stringifyCacheControl=({scope:e="private",sMaxAge:n=0,staleWhileRevalidate:i=0})=>`${e}, s-maxage=${n}, stale-while-revalidate=${i}`;
|
|
180
|
+
function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var n=__webpack_require__(4246),i=e(__webpack_require__(7881)),t=e(__webpack_require__(3057)),a=e(__webpack_require__(5471)),r=e(__webpack_require__(6109)),o=e(__webpack_require__(2404)),l=e(__webpack_require__(6113)),d=__webpack_require__(7343),s=__webpack_require__(6548),u=__webpack_require__(1718),c=__webpack_require__(1283),m=__webpack_require__(4161),p=__webpack_require__(5196),k=__webpack_require__(2793),v=__webpack_require__(6969),g=__webpack_require__(357),y=__webpack_require__(7006),f=__webpack_require__(4691),N=__webpack_require__(8973);const S=async(e,n)=>{const t=await i(e,{...n,headers:{...null==n?void 0:n.headers,"User-Agent":"@faststore/api@2.2.36"}});if(t.ok)return 204!==t.status?t.json():void 0;console.error(e,n,t);const a=await t.text();throw new Error(a)},h={method:"POST",headers:{"content-type":"application/json"}},b=new Set(["trade-policy","region-id"]),T=({account:e,environment:n,hideUnavailableItems:i},t)=>{const a=`https://${e}.${n}.com.br/api/io`,r=({query:e="",page:n,count:r,sort:o="",selectedFacets:l=[],type:d,fuzzy:s="auto"})=>{const u=new URLSearchParams({page:(n+1).toString(),count:r.toString(),query:e,sort:o,fuzzy:s,locale:t.storage.locale});void 0!==i&&u.append("hideUnavailableItems",i.toString());const c=(e=>{var n,i;const a=e.filter(({key:e})=>!b.has(e)),r=null!=(n=e.find(({key:e})=>"trade-policy"===e))?n:(()=>{const{salesChannel:e}=t.storage.channel;return e?{key:"trade-policy",value:e}:null})(),o=null!=(i=e.find(({key:e})=>"region-id"===e))?i:(()=>{const{regionId:e,seller:n}=t.storage.channel,i=n?Buffer.from("SW#"+n).toString("base64"):null,a=null!=i?i:e;return a?{key:"region-id",value:a}:null})();return null!==r&&a.push(r),null!==o&&a.push(o),a})(l).map(({key:e,value:n})=>`${e}/${n}`).join("/");return S(`${a}/_v/api/intelligent-search/${d}/${c}?${u.toString()}`)};return{facets:e=>r({...e,type:"facets"}),products:e=>r({...e,type:"product_search"}),suggestedTerms:e=>{var n,i;const r=new URLSearchParams({query:null!=(n=null==(i=e.query)?void 0:i.toString())?n:"",locale:t.storage.locale});return S(`${a}/_v/api/intelligent-search/search_suggestions?${r.toString()}`)},topSearches:()=>{const e=new URLSearchParams({locale:t.storage.locale});return S(`${a}/_v/api/intelligent-search/top_searches?${e.toString()}`)}}},V=()=>(1e6*Math.random()).toFixed(0),D=e=>{let n=V(),i=Date.now();return()=>{var t;return t=i,(Date.now()-t)/1e3>e&&(n=V(),i=Date.now()),n}},I={anonymous:D(31536e3),session:D(1800)};function w(e){return{...e,description:e.description?(n=e.description,r(n,void 0)):e.description};var n}const F=(e,n)=>({...e,isVariantOf:w(n)});class C extends Error{constructor(e,n){super(n),this.extensions=e,this.name="FastStoreError"}}class O extends C{constructor(e){super({status:400,type:"BadRequestError"},e)}}class P extends C{constructor(e){super({status:404,type:"NotFoundError"},e)}}const A=new Set(["brand","category","department","subcategory","collection","cluster"]),L=e=>"string"==typeof e.pageType&&A.has(e.pageType.toLowerCase()),E=e=>e.AvailableQuantity>0,R=e=>{var n;return null!=(n=e.spotPrice)?n:0},x=e=>e?"https://schema.org/InStock":"https://schema.org/OutOfStock",M=(e,n)=>E(e)&&!E(n)?-1:!E(e)&&E(n)?1:R(e)-R(n),U={highPrice:e=>{const n=e.filter(E),i=n[n.length-1];return null!=i?R(i):0},lowPrice:e=>{const[n]=e.filter(E);return n?R(n):0},offerCount:e=>e.length,priceCurrency:async(e,n,i)=>{var t;const{loaders:{salesChannelLoader:a},storage:{channel:r}}=i;return null!=(t=(await a.load(r.salesChannel)).CurrencyCode)?t:""},offers:e=>e},q="ÁÄÂÀÃÅČÇĆĎÉĚËÈÊẼĔȆÍÌÎÏŇÑÓÖÒÔÕØŘŔŠŤÚŮÜÙÛÝŸŽáäâàãåčçćďéěëèêẽĕȇíìîïňñóöòôõøðřŕšťúůüùûýÿžþÞĐđ߯a";function j(e){return(e=>e.replace(/[·/_,:]/,"-"))((e=>{let n=e.slice(0);for(let e=0;e<q.length;e++)n=n.replace(new RegExp(q.charAt(e),"g"),"AAAAAACCCDEEEEEEEEIIIINNOOOOOORRSTUUUUUYYZaaaaaacccdeeeeeeeeiiiinnooooooorrstuuuuuyyzbBDdBAa".charAt(e));return n})(e.replace(/,/g,"").replace(/[*+~.()'"!:@&\[\]`/ %$#?{}|><=_^]/g,"-"))).toLowerCase()}const _=e=>"brand"===e.type||L(e)&&"brand"===e.pageType.toLowerCase(),B=e=>L(e)&&"collection"===e.pageType.toLowerCase(),$=e=>_(e)||B(e)?j(e.name):L(e)?new URL("https://"+e.url).pathname.slice(1).toLowerCase():new URL(e.url).pathname.slice(1).toLowerCase(),G={id:({id:e})=>e.toString(),slug:e=>$(e),seo:e=>_(e)||L(e)?{title:e.title,description:e.metaTagDescription}:{title:e.Title,description:e.MetaTagDescription},type:e=>_(e)?"Brand":L(e)?e.pageType:0===e.level?"Department":"Category",meta:e=>{const n=$(e);return _(e)?{selectedFacets:[{key:"brand",value:n}]}:B(e)?{selectedFacets:[{key:"productclusterids",value:e.id}]}:{selectedFacets:n.split("/").map((e,n)=>({key:"category-"+(n+1),value:e}))}},breadcrumbList:async(e,n,i)=>{const{loaders:{collectionLoader:t}}=i,a=$(e).split("/").filter(e=>Boolean(e)),r=a.map((e,n)=>a.slice(0,n+1).join("/")),o=await Promise.all(r.map(async e=>({slug:e,...await t.load(e)})));return{itemListElement:o.map((e,n)=>({item:B(e)?"/"+e.slug:new URL("https://"+e.url).pathname.toLowerCase(),name:e.name,position:n+1})),numberOfItems:o.length}}},z={buy:"whoboughtalsobought",view:"whosawalsosaw",similars:"similars",viewAndBought:"whosawalsobought",accessories:"accessories",suggestions:"suggestions"},K=({key:e,value:n})=>{switch(e){case"price":return{key:e,value:n.replace("-to-",":")};case"channel":case"locale":case"buy":case"view":case"similars":case"viewAndBought":case"accessories":case"suggestions":return[];default:return{key:e,value:n}}},W=e=>{const n=e.split(":").map(Number);return 2!==n.length||Number.isNaN(n[0])||Number.isNaN(n[1])?null:n},Q=e=>{var n,i;return null!=(n=null==e||null==(i=e.find(e=>"locale"===e.key))?void 0:i.value)?n:null},X=e=>{var n,i;return null!=(n=null==e||null==(i=e.find(e=>"channel"===e.key))?void 0:i.value)?n:null},Y=(e,n)=>{let i=0;for(let t=1;t<e.length;t++)n(e[i],e[t])>0&&(i=t);return e[i]},J={key:({key:e})=>e,label:({name:e})=>e,min:({values:e,key:n},i,{storage:{searchArgs:t}})=>{var a,r,o,l,d;const s=W(null!=(a=null==t||null==(r=t.selectedFacets)||null==(o=r.find(e=>e.key===n))?void 0:o.value)?a:""),u=Y(e,(e,n)=>e.range.from-n.range.from),c=null!=(l=null==u?void 0:u.range.from)?l:0;return{selected:null!=(d=null==s?void 0:s[0])?d:c,absolute:c}},max:({values:e,key:n},i,{storage:{searchArgs:t}})=>{var a,r,o,l,d;const s=W(null!=(a=null==t||null==(r=t.selectedFacets)||null==(o=r.find(e=>e.key===n))?void 0:o.value)?a:""),u=Y(e,(e,n)=>n.range.to-e.range.to),c=null!=(l=null==u?void 0:u.range.to)?l:0;return{selected:null!=(d=null==s?void 0:s[1])?d:c,absolute:c}}};class H{static parse(e){try{var n,i,t;const a=JSON.parse(e);return{seller:null!=(n=a.seller)?n:"",regionId:null!=(i=a.regionId)?i:"",salesChannel:null!=(t=a.salesChannel)?t:""}}catch(e){throw console.error(e),new Error("Malformed channel string")}}static stringify(e){return JSON.stringify(e)}}const Z=(e,n)=>{e.storage.channel=H.parse(n)},ee=(e,n)=>{e.storage.locale=n},ne=e=>l.createHash("md5").update(e).digest("hex");function ie(e){return{name:e.name,value:e.content,valueReference:"ATTACHMENT"}}function te(e){return ne(`${e.name}:${JSON.stringify(e.value)}:${e.valueReference}`)}const ae=e=>"ATTACHMENT"===e.valueReference,re=e=>{var n;return[e.itemOffered.sku,e.seller.identifier,e.price<.01?"Gift":void 0,null==(n=e.itemOffered.additionalProperty)?void 0:n.filter(ae).map(te).join("-")].filter(Boolean).join("::")},oe=(e,n)=>({listPrice:e.listPrice/100,price:e.sellingPrice/100,quantity:e.quantity,seller:{identifier:e.seller},itemOffered:{sku:e.id,image:[],name:e.name,additionalProperty:e.attachments.map(ie)},index:n}),le=e=>{var n,i;return{quantity:e.quantity,seller:e.seller.identifier,id:e.itemOffered.sku,index:e.index,attachments:(null!=(n=null==(i=e.itemOffered.additionalProperty)?void 0:i.filter(ae))?n:[]).map(e=>({name:e.name,content:e.value}))}},de=e=>e.reduce((e,n)=>{var i;const t=re(n);return e.has(t)||e.set(t,[]),null==(i=e.get(t))||i.push(n),e},new Map),se=e=>{const n=e.items.reduce((e,n)=>{const i=re(oe(n));return e[i]||(e[i]=[]),e[i].push(n),e},{});return{...e,items:Object.values(n).map(e=>{const[n]=e,i=e.reduce((e,n)=>e+n.quantity,0);return{...n,quantity:i,sellingPrice:e.reduce((e,n)=>{var i,t,a,r;return e+(null!=(i=null==n||null==(t=n.priceDefinition)?void 0:t.total)?i:(null!=(a=null==n?void 0:n.quantity)?a:0)*(null!=(r=null==n?void 0:n.sellingPrice)?r:0))},0)/i}})}},ue=async(e,n)=>({order:{orderNumber:e.orderFormId,acceptedOffer:e.items.map(async e=>({...e,product:await n.load(e.id)}))},messages:e.messages.map(({text:e,status:n})=>({text:e,status:n.toUpperCase()}))}),ce=({items:e})=>ne(JSON.stringify(e)),me=async(e,n)=>{try{return await n.checkout.setCustomData({id:e.orderFormId,appId:"faststore",key:"cartEtag",value:ce(e)})}catch(e){throw console.error('Error while setting custom data to orderForm.\n Make sure to add the following custom app to the orderForm: \n{"fields":["cartEtag"],"id":"faststore","major":1}.\n More info at: https://developers.vtex.com/vtex-rest-api/docs/customizable-fields-with-checkout-api'),e}},pe={validateCart:async(e,{cart:{order:n},session:i},t)=>{const{orderNumber:a,acceptedOffer:r,shouldSplitItem:l}=n,{clients:{commerce:d},loaders:{skuLoader:s}}=t,u=null==i?void 0:i.channel,c=null==i?void 0:i.locale;u&&Z(t,u),c&&ee(t,c);const m=await(async(e,{clients:{commerce:n}})=>n.checkout.orderForm({id:e}))(a,t);if(0!==m.messages.length&&await(async(e,{clients:{commerce:n}})=>n.checkout.clearOrderFormMessages({id:e}))(a,t),(e=>{var n,i;const t=null==(n=e.customData)?void 0:n.customApps.find(e=>"faststore"===e.id),a=null==t||null==(i=t.fields)?void 0:i.cartEtag;return null==a||ce(e)!==a})(m)&&a){const e=await me(m,d).then(se);return ue(e,s)}const p=de(r),k=de(m.items.map(oe)),v=Array.from(k.entries()),g=Array.from(p.entries()),{itemsToAdd:y,itemsToUpdate:f}=g.reduce((e,[n,i])=>{const t=k.get(n);if(!t)return i.forEach(n=>e.itemsToAdd.push(n)),e;const[a,...r]=t,o=i.reduce((e,n)=>e+n.quantity,0);return e.itemsToUpdate.push({...a,quantity:o}),r.forEach(n=>e.itemsToUpdate.push({...n,quantity:0})),e},{itemsToAdd:[],itemsToUpdate:[]}),N=[...y,...f,...v.filter(([e])=>!p.has(e)).flatMap(([,e])=>e.map(e=>({...e,quantity:0})))].map(le);if(0===N.length)return null;const S=await d.checkout.updateOrderFormItems({id:m.orderFormId,orderItems:N,shouldSplitItem:l}).then(e=>(async(e,n,{clients:{commerce:i}})=>{if(!n)return e;const{updateShipping:t,addressChanged:a}=((e,n)=>{var i,t;if(!(e=>{var n,i;return!!e.postalCode||(null==(n=e.geoCoordinates)?void 0:n.latitude)&&(null==(i=e.geoCoordinates)?void 0:i.longitude)})(n))return{updateShipping:!1,addressChanged:!1};if(!(e=>0!==e.items.length)(e))return{updateShipping:!1,addressChanged:!1};const[a]=null!=(i=null==e||null==(t=e.shippingData)?void 0:t.selectedAddresses)?i:[];if(r=a,"string"==typeof(o=n.postalCode)&&(null==r?void 0:r.postalCode)!==o||((e,n)=>"number"==typeof(null==n?void 0:n.latitude)&&"number"==typeof(null==n?void 0:n.longitude)&&((null==e?void 0:e.geoCoordinates[0])!==(null==n?void 0:n.longitude)||(null==e?void 0:e.geoCoordinates[1])!==(null==n?void 0:n.latitude)))(a,n.geoCoordinates)||((e,n)=>"string"==typeof n&&(null==e?void 0:e.addressType)!==n)(a,n.addressType))return{updateShipping:!0,addressChanged:!0};var r,o;const{logisticsInfo:l}=e.shippingData;return((e,n)=>{var i,t,a;const r=null==n||null==(i=n.deliveryMode)?void 0:i.deliveryChannel,o=null==n||null==(t=n.deliveryMode)?void 0:t.deliveryMethod,{startDate:l,endDate:d}=(null==n||null==(a=n.deliveryMode)?void 0:a.deliveryWindow)||{};return e.some(({selectedDeliveryChannel:e,selectedSla:n,slas:i})=>{const t=r&&e!==r,a=o&&n!==o;return null==i?void 0:i.some(e=>{var n,i,s;return!!(t&&e.deliveryChannel===r||a&&e.id===o)||l&&d&&e.deliveryChannel===r&&e.id===o&&(!(null!=e&&e.deliveryWindow)||(null==e||null==(n=e.deliveryWindow)?void 0:n.startDateUtc)!==l||(null==e||null==(i=e.deliveryWindow)?void 0:i.endDateUtc)!==d)&&(null==(s=e.availableDeliveryWindows)?void 0:s.some(e=>(null==e?void 0:e.startDateUtc)===l&&(null==e?void 0:e.endDateUtc)===d))})})})(l,n)?{updateShipping:!0,addressChanged:!1}:{updateShipping:!1,addressChanged:!1}})(e,n);if(t){var r;const t=((e,n,i)=>{var t,a,r,o;const l=n.postalCode,d=n.geoCoordinates,s=null!=(t=null==e||null==(a=e.shippingData)?void 0:a.availableAddresses)?t:[],u=null!=(r=null==e||null==(o=e.shippingData)?void 0:o.selectedAddresses)?r:[];if(!i&&u.length>0)return[u[0]];if(i&&s.length>0)for(const e of s){if(l&&d&&(e.postalCode===l||e.geoCoordinates[0]===d.longitude&&e.geoCoordinates[1]===d.latitude))return[e];if(l&&!d&&e.postalCode===l)return[e];if(d&&!l&&e.geoCoordinates[0]===d.longitude&&e.geoCoordinates[1]===d.latitude)return[e]}return null})(e,n,a)||(e=>{const n=e.geoCoordinates,i={addressType:e.addressType||null,postalCode:e.postalCode||null,city:null,state:null,country:e.country||null,street:null,number:null,neighborhood:null,complement:null,reference:null,geoCoordinates:[]};if(n){const e="object"==typeof n&&"latitude"in n?n.latitude:null,t="object"==typeof n&&"longitude"in n?n.longitude:null;i.geoCoordinates=null!==e&&null!==t?[t,e]:[]}return[i]})(n);return!(null==(r=n.deliveryMode)||!r.deliveryWindow)&&await i.checkout.shippingData({id:e.orderFormId,index:e.items.length,deliveryMode:n.deliveryMode,selectedAddresses:t},!1),i.checkout.shippingData({id:e.orderFormId,index:e.items.length,deliveryMode:n.deliveryMode,selectedAddresses:t},!0)}return e})(e,i,t)).then(e=>me(e,d)).then(se),h=o(m.messages,S.messages);return((e,n)=>{const i=(e,n)=>({...e,itemOffered:{sku:e.itemOffered.sku},index:n}),t=n.items.map(oe).map(i),a=e.acceptedOffer.map(i),r=e.orderNumber===n.orderFormId,l=o(t,a);return r&&l})(n,S)&&h?null:ue(S,s)},validateSession:async(e,{session:n,search:i},{clients:t})=>{var a,r,l,d,s,u,c,m,p,k,v,g,y,f,N,S,h,b,T,V,D;const I=H.parse(null!=(a=n.channel)?a:""),w=String(null!=(r=n.postalCode)?r:"").replace(/\D/g,""),F=null!=(l=n.geoCoordinates)?l:null,C=null!=(d=n.country)?d:"",O=new URLSearchParams(i),P=null!=(s=O.get("sc"))?s:I.salesChannel;O.set("sc",P);const[A,L]=await Promise.all([w||F?t.commerce.checkout.region({postalCode:w,geoCoordinates:F,country:C,salesChannel:P}):Promise.resolve(null),t.commerce.session(O.toString()).catch(()=>null)]),E=null!=(u=null==L?void 0:L.namespaces.profile)?u:null,R=null!=(c=null==L?void 0:L.namespaces.store)?c:null,x=null==A?void 0:A[0],M=null==x?void 0:x.sellers.find(e=>I.seller===e.id),U={...n,currency:{code:null!=(m=null==R?void 0:R.currencyCode.value)?m:n.currency.code,symbol:null!=(p=null==R?void 0:R.currencySymbol.value)?p:n.currency.symbol},country:null!=(k=null==R?void 0:R.countryCode.value)?k:n.country,channel:H.stringify({salesChannel:null!=(v=null==R||null==(g=R.channel)?void 0:g.value)?v:I.salesChannel,regionId:null!=(y=null==x?void 0:x.id)?y:I.regionId,seller:null==M?void 0:M.id}),person:null!=E&&E.id?{id:null!=(f=null==(N=E.id)?void 0:N.value)?f:"",email:null!=(S=null==(h=E.email)?void 0:h.value)?S:"",givenName:null!=(b=null==(T=E.firstName)?void 0:T.value)?b:"",familyName:null!=(V=null==(D=E.lastName)?void 0:D.value)?V:""}:null};return o(n,U)?null:U},subscribeToNewsletter:async(e,{data:n},{clients:{commerce:i}})=>{const t=await i.subscribeToNewsletter(n);return{id:null==t?void 0:t.Id}}},ke=new d.GraphQLScalarType({name:"ObjectOrString",description:"A string or the string representation of an object (a stringified object).",parseValue:function(e){return"string"==typeof e?ve(e):null},serialize:function(e){return"object"==typeof e?JSON.stringify(e):"string"==typeof e?e:null},parseLiteral:e=>e.kind===s.Kind.STRING?ve(e.value):null});function ve(e){try{return JSON.parse(e)}catch(n){return e}}const ge=e=>"Price"in e&&"seller"in e&&"product"in e,ye=e=>"skuName"in e,fe={priceCurrency:async(e,n,i)=>{var t;const{loaders:{salesChannelLoader:a},storage:{channel:r}}=i;return null!=(t=(await a.load(r.salesChannel)).CurrencyCode)?t:""},priceValidUntil:e=>{var n,i;return ge(e)?null!=(n=e.PriceValidUntil)?n:"":ye(e)?null!=(i=e.priceValidUntil)?i:"":null},itemCondition:()=>"https://schema.org/NewCondition",availability:async e=>ge(e)?x(E(e)):ye(e)?x("available"===e.availability):null,seller:(e,n,i)=>{var t;return ge(e)?{identifier:(null==(t=i.storage.channel)?void 0:t.seller)||e.seller.sellerId||""}:ye(e)?{identifier:e.seller}:null},price:e=>ge(e)?R(e):ye(e)?e.sellingPrice/100:null,sellingPrice:e=>{return ge(e)?null!=(n=e.Price)?n:0:ye(e)?e.sellingPrice/100:null;var n},listPrice:e=>{var n;return ge(e)?null!=(n=e.ListPrice)?n:0:ye(e)?e.listPrice/100:null},itemOffered:e=>ge(e)?e.product:ye(e)?{...e.product,attachmentsValues:e.attachments}:null,quantity:e=>{var n;return ge(e)?null!=(n=e.AvailableQuantity)?n:0:ye(e)?e.quantity:null}},Ne=({linkText:e})=>`/${e}/p`,Se={imageText:"image",imageUrl:"https://storecomponents.vtexassets.com/assets/faststore/images/image___117a6d3e229a96ad0e0d0876352566e2.svg"},he=(e,n)=>`${e}-${n}`,be={productID:({itemId:e})=>e,name:({isVariantOf:e,name:n})=>null!=n?n:e.productName,slug:({isVariantOf:{linkText:e},itemId:n})=>he(e,n),description:({isVariantOf:{description:e}})=>e,seo:({isVariantOf:e})=>({title:e.productName,description:e.description,canonical:Ne(e)}),brand:({isVariantOf:{brand:e}})=>({name:e}),breadcrumbList:({isVariantOf:{categories:e,productName:n,linkText:i},itemId:t})=>{return{itemListElement:[...e.reverse().map((e,n)=>{const i=e.split("/");return{name:i[i.length-2],item:i.map(j).join("/"),position:n+1}}),{name:n,item:(a=i,r=t,`/${he(a,r)}/p`),position:e.length+1}],numberOfItems:e.length};var a,r},image:({images:e})=>{var n,i;return(null!=(i=e,n=Array.isArray(i)&&i.length>0?i:null)?n:[Se]).map(({imageUrl:e,imageText:n})=>({alternateName:null!=n?n:"",url:e.replace("vteximg.com.br","vtexassets.com")}))},sku:({itemId:e})=>e,gtin:({referenceId:e})=>{var n,i;return null!=(n=null==(i=e[0])?void 0:i.Value)?n:""},review:()=>[],aggregateRating:()=>({}),offers:e=>e.sellers.map(n=>(({offer:e,seller:n,product:i})=>({...e,product:i,seller:n}))({offer:n.commertialOffer,seller:n,product:e})).sort(M),isVariantOf:e=>e,additionalProperty:({variations:e=[],attachmentsValues:n=[]})=>[...e.flatMap(({name:e,values:n})=>n.map(n=>({name:e,value:n,valueReference:"SPECIFICATION"}))),...n.map(ie)],releaseDate:({isVariantOf:{releaseDate:e}})=>null!=e?e:""},Te=new Set(["allSpecifications"]),Ve={price_desc:"price:desc",price_asc:"price:asc",orders_desc:"orders:desc",name_desc:"name:desc",name_asc:"name:asc",release_desc:"release:desc",discount_desc:"discount:desc",score_desc:""},De={product:async(e,{locator:n},i)=>{const t=X(n),a=Q(n),r=null!=(l=null==(o=n)||null==(d=o.find(e=>"id"===e.key))?void 0:d.value)?l:null;var o,l,d;const s=(e=>{var n,i;return null!=(n=null==e||null==(i=e.find(e=>"slug"===e.key))?void 0:i.value)?n:null})(n);t&&Z(i,t),a&&ee(i,a);const{loaders:{skuLoader:u},clients:{commerce:c,search:m}}=i;try{var p;const e=null!=(p=null!=r?r:null==s?void 0:s.split("-").pop())?p:"";if(!(e=>""!==e&&!Number.isNaN(Number(e)))(e))throw new Error("Invalid SkuId");const n=await u.load(e);if(s&&n.isVariantOf.linkText&&!s.startsWith(n.isVariantOf.linkText))throw new Error(`Slug was set but the fetched sku does not satisfy the slug condition. slug: ${s}, linkText: ${n.isVariantOf.linkText}`);return n}catch(e){if(null==s)throw new O("Missing slug or id");const n=await c.catalog.portal.pagetype(s+"/p");if("Product"!==n.pageType||!n.id)throw new P("No product found for slug "+s);const{products:[i]}=await m.products({page:0,count:1,query:"product:"+n.id});if(!i)throw new P("No product found for id "+n.id);const t=(e=>{const n=e.flatMap(e=>e.sellers.map(n=>({offer:n.commertialOffer,sku:e}))),i=Y(n,({offer:e},{offer:n})=>M(e,n));return i?i.sku:e[0]})(i.items);return F(t,i)}},collection:(e,{slug:n},i)=>{const{loaders:{collectionLoader:t}}=i;return t.load(n)},search:async(e,{first:n,after:i,sort:t,term:a,selectedFacets:r},o)=>{var l,d;const s=X(r),u=Q(r),c=(e=>{var n;const i=null==e?void 0:e.filter(e=>(e=>"string"==typeof z[e])(e.key));if(Array.isArray(i)&&i.length>1)throw new O(`You passed ${i.length} cross selling facets but only one is allowed. Please leave one of the following facet: ${i.map(e=>e.key).join(",")}`);return null!=(n=null==i?void 0:i[0])?n:null})(r);s&&Z(o,s),u&&ee(o,u);let m=a;c&&(m="product:"+(await o.clients.commerce.catalog.products.crossselling({type:z[c.key],productId:c.value})).map(e=>e.productId).slice(0,n).join(";"));const p=i?Number(i):0,k={page:Math.ceil(p/n),count:n,query:null!=(l=m)?l:void 0,sort:Ve[null!=t?t:"score_desc"],selectedFacets:null!=(d=null==r?void 0:r.flatMap(K))?d:[]};return{searchArgs:k,productSearchPromise:o.clients.search.products(k)}},allProducts:async(e,{first:n,after:i},t)=>{const{clients:{search:a}}=t,r=i?Number(i):0,o=await a.products({page:Math.ceil(r/n),count:n}),l=o.products.map(e=>e.items.map(n=>F(n,e))).flat().filter(e=>e.sellers.length>0);return{pageInfo:{hasNextPage:o.pagination.after.length>0,hasPreviousPage:o.pagination.before.length>0,startCursor:"0",endCursor:o.recordsFiltered.toString(),totalCount:o.recordsFiltered},edges:l.map((e,n)=>({node:e,cursor:(r+n).toString()}))}},allCollections:async(e,{first:n,after:i},t)=>{const{clients:{commerce:a}}=t,r=i?Number(i):0,[o,l]=await Promise.all([a.catalog.brand.list(),a.catalog.category.tree()]),d=[],s=(e,n)=>{d.push({...e,level:n});for(const i of e.children)s(i,n+1)};for(const e of l)s(e,0);const u=[...o.filter(e=>e.isActive).map(e=>({...e,type:"brand"})),...d].filter(e=>Boolean(G.slug(e,null,t,null)));return{pageInfo:{hasNextPage:u.length-r>n,hasPreviousPage:r>0,startCursor:"0",endCursor:(Math.min(n,u.length-r)-1).toString(),totalCount:u.length},edges:u.slice(r,r+n).map((e,n)=>({node:e,cursor:(r+n).toString()}))}},shipping:async(e,{country:n,items:i,postalCode:t},a)=>{const{loaders:{simulationLoader:r},clients:{commerce:o}}=a,[l,d]=await Promise.all([r.load({country:n,items:i,postalCode:t}),o.checkout.address({postalCode:t,country:n})]);return{...l,address:d}},redirect:async(e,{term:n,selectedFacets:i},t)=>{var a;if(!(n||i&&i.length))return null;const{redirect:r}=await t.clients.search.products({page:1,count:1,query:null!=n?n:void 0,selectedFacets:null!=(a=null==i?void 0:i.flatMap(K))?a:[]});return{url:r}},sellers:async(e,{postalCode:n,geoCoordinates:i,country:t,salesChannel:a},r)=>{const{clients:{commerce:o}}=r,l=await o.checkout.region({postalCode:n,geoCoordinates:i,country:t,salesChannel:a}),d=null==l?void 0:l[0],{id:s,sellers:u}=d;return{id:s,sellers:u}}},Ie=["bd","d","h","m"],we={bd:{0:"Today",1:"In 1 business day",other:"Up to # business days"},d:{0:"Today",1:"In 1 day",other:"Up to # days"},h:{0:"Now",1:"In 1 hour",other:"Up to # hours"},m:{0:"Now",1:"In 1 minute",other:"Up to # minutes"}};function Fe(e){const n={};return e.forEach(e=>{n[e.name]=e.values[0]}),n}function Ce(e,n){return Number.isNaN(Number(e)-Number(n))?e<n?-1:e>n?1:0:Number(e)-Number(n)}const Oe={StoreCollection:G,StoreAggregateOffer:U,StoreProduct:be,StoreSeo:{title:({title:e})=>null!=e?e:"",description:({description:e})=>null!=e?e:"",canonical:({canonical:e})=>null!=e?e:"",titleTemplate:()=>""},StoreFacet:{__resolveType:({type:e})=>"TEXT"===e?"StoreFacetBoolean":"StoreFacetRange"},StoreFacetBoolean:{key:({key:e})=>e,label:({name:e})=>e,values:({values:e})=>e.sort((e,n)=>e.name.localeCompare(n.name))},StoreFacetRange:J,StoreFacetValueBoolean:{value:({value:e})=>e,label:({name:e})=>e||"unknown",selected:({selected:e})=>e,quantity:({quantity:e})=>e},StoreOffer:fe,StoreAggregateRating:{ratingValue:()=>5,reviewCount:()=>0},StoreReview:{reviewRating:()=>({ratingValue:5,bestRating:5}),author:()=>({name:""})},StoreProductGroup:{hasVariant:e=>e.isVariantOf.items.map(n=>F(n,e.isVariantOf)),productGroupID:({isVariantOf:e})=>e.productId,name:e=>e.isVariantOf.productName,skuVariants:e=>e,additionalProperty:({isVariantOf:{specificationGroups:e}})=>e.filter(e=>!Te.has(e.name)).flatMap(({specifications:e})=>e.flatMap(({name:e,values:n})=>n.map(n=>({name:e,value:n,valueReference:"SPECIFICATION"}))))},StoreSearchResult:{suggestions:async(e,n,i)=>{const{clients:{search:t}}=i,{searchArgs:a}=e;if(!a.query)return{terms:(await t.topSearches()).searches.map(e=>({value:e.term,count:e.count})),products:[]};const{productSearchPromise:r}=e,[o,l]=await Promise.all([t.suggestedTerms(a),r]),d=l.products.map(e=>{const[n]=e.items;return n&&F(n,e)}).filter(e=>!!e),{searches:s}=o;return{terms:s.map(e=>({value:e.term,count:e.count})),products:d}},products:async({productSearchPromise:e})=>{const n=await e,i=n.products.map(e=>{const[n]=e.items;return n&&F(n,e)}).filter(e=>!!e);return{pageInfo:{hasNextPage:n.pagination.after.length>0,hasPreviousPage:n.pagination.before.length>0,startCursor:"0",endCursor:n.recordsFiltered.toString(),totalCount:n.recordsFiltered},edges:i.map((e,n)=>({node:e,cursor:n.toString()}))}},facets:async({searchArgs:e},n,i)=>{var t,a;const{clients:{search:r}}=i;i.storage.searchArgs=e;const{facets:o=[]}=await r.facets(e),l=!e.query,d=!(null==(t=e.selectedFacets)||!t.length)&&"category-1"===e.selectedFacets[0].key,s=!(null==(a=e.selectedFacets)||!a.length)&&"brand"===e.selectedFacets[0].key;return o.filter(e=>!l||!((e,n,i)=>n?"category-1"===e.key:!!i&&"brand"===e.key)(e,d,s))},metadata:async({searchArgs:e,productSearchPromise:n})=>{var i,t;if(!e.query)return null;const a=await n;return{isTermMisspelled:null!=(i=null==(t=a.correction)?void 0:t.misspelled)&&i,logicalOperator:a.operator}}},StorePropertyValue:{propertyID:e=>te(e),name:({name:e})=>e,value:({value:e})=>e,valueReference:({valueReference:e})=>e},SkuVariants:{activeVariations:e=>Fe(e.variations),allVariantsByName:e=>function(e){const n={};return null==e||e.forEach(e=>{var i;n[null!=(i=e.field.originalName)?i:e.field.name]=e.values.map(e=>{var n;return null!=(n=e.originalName)?n:e.name})}),n}(e.isVariantOf.skuSpecifications),slugsMap:(e,n)=>{var i,t;return function(e,n,i){const t={};return e.forEach(e=>{var a,r;const o=e.variations;if(0===o.length)return;const l=`${n}-${null!=(a=null==(r=o.find(e=>e.name===n))?void 0:r.values[0])?a:""}`,d=o.reduce((e,i)=>i.name===n?e:e+`-${i.name}-${i.values[0]}`,l);t[d]=`${i}-${e.itemId}`}),t}(e.isVariantOf.items,null!=(i=n.dominantVariantName)?i:null==(t=e.variations[0])?void 0:t.name,e.isVariantOf.linkText)},availableVariations:(e,n)=>{var i,t;const a=null!=(i=n.dominantVariantName)?i:null==(t=e.variations[0])?void 0:t.name,r=Fe(e.variations);return function(e,n,i){const t={},a=new Set;return e.forEach(e=>{if(0===e.variations.length)return;const r=null!=(l=(o=e.images).find(e=>"skuvariation"===e.imageLabel))?l:o[0];var o,l;const d=e.variations.find(e=>e.name===n);if((null==d?void 0:d.values[0])===i)e.variations.forEach(e=>{var n;const i=`${e.name}-${e.values[0]}`;if(a.has(i))return;a.add(i);const o={src:r.imageUrl,alt:null!=(n=r.imageLabel)?n:"",label:`${e.name}: ${e.values[0]}`,value:e.values[0]};t[e.name]?t[e.name].push(o):t[e.name]=[o]});else{var s;const e=`${n}-${null==d?void 0:d.values[0]}`;if(!d||a.has(e))return;a.add(e);const i={src:r.imageUrl,alt:null!=(s=r.imageLabel)?s:"",label:`${n}: ${d.values[0]}`,value:d.values[0]};t[d.name]?t[d.name].push(i):t[d.name]=[i]}}),function(e){const n=e;for(const n in e)e[n].sort((e,n)=>Ce(e.value,n.value));return n}(t)}(e.isVariantOf.items,a,r[a])}},ShippingSLA:{carrier:e=>{var n,i;return null!=(n=null!=(i=null==e?void 0:e.friendlyName)?i:null==e?void 0:e.name)?n:""},price:e=>null!=e&&e.price?e.price/100:null==e?void 0:e.price,localizedEstimates:e=>null!=e&&e.shippingEstimate?(e=>{var n;const[i,t]=[e.split(/\D+/)[0],e.split(/[0-9]+/)[1]],a=""!==i&&!Number.isNaN(Number(i)),r=Ie.includes(t);if(!a||!r)return"";const o=Number(i)<2?Number(i):"other";return null!=(n=we[t][o].replace("#",i))?n:""})(e.shippingEstimate):""},ObjectOrString:ke,Query:De,Mutation:pe};var Pe={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Address information.",block:!0},name:{kind:"Name",value:"Address"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address postal code",block:!0},name:{kind:"Name",value:"postalCode"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address city",block:!0},name:{kind:"Name",value:"city"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address state",block:!0},name:{kind:"Name",value:"state"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address country",block:!0},name:{kind:"Name",value:"country"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address street",block:!0},name:{kind:"Name",value:"street"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address number",block:!0},name:{kind:"Name",value:"number"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address neighborhood",block:!0},name:{kind:"Name",value:"neighborhood"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address complement",block:!0},name:{kind:"Name",value:"complement"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address reference",block:!0},name:{kind:"Name",value:"reference"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address geoCoordinates",block:!0},name:{kind:"Name",value:"geoCoordinates"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]}],loc:{start:0,end:554}};Pe.loc.source={body:'"""\nAddress information.\n"""\ntype Address {\n """\n Address postal code\n """\n postalCode: String\n """\n Address city\n """\n city: String\n """\n Address state\n """\n state: String\n """\n Address country\n """\n country: String\n """\n Address street\n """\n street: String\n """\n Address number\n """\n number: String\n """\n Address neighborhood\n """\n neighborhood: String\n """\n Address complement\n """\n complement: String\n """\n Address reference\n """\n reference: String\n """\n Address geoCoordinates\n """\n geoCoordinates: [Float]\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ae={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Aggregate offer information, for a given SKU that is available to be fulfilled by multiple sellers.",block:!0},name:{kind:"Name",value:"StoreAggregateOffer"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Highest price among all sellers.",block:!0},name:{kind:"Name",value:"highPrice"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Lowest price among all sellers.",block:!0},name:{kind:"Name",value:"lowPrice"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of sellers selling this SKU.",block:!0},name:{kind:"Name",value:"offerCount"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ISO code of the currency used for the offer prices.",block:!0},name:{kind:"Name",value:"priceCurrency"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with information on each available offer.",block:!0},name:{kind:"Name",value:"offers"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreOffer"}}}}},directives:[]}]}],loc:{start:0,end:516}};Ae.loc.source={body:'"""\nAggregate offer information, for a given SKU that is available to be fulfilled by multiple sellers.\n"""\ntype StoreAggregateOffer {\n """\n Highest price among all sellers.\n """\n highPrice: Float!\n """\n Lowest price among all sellers.\n """\n lowPrice: Float!\n """\n Number of sellers selling this SKU.\n """\n offerCount: Int!\n """\n ISO code of the currency used for the offer prices.\n """\n priceCurrency: String!\n """\n Array with information on each available offer.\n """\n offers: [StoreOffer!]!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Le={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Average rating, based on multiple ratings or reviews.",block:!0},name:{kind:"Name",value:"StoreAggregateRating"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Value of the aggregate rating.",block:!0},name:{kind:"Name",value:"ratingValue"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Total number of ratings.",block:!0},name:{kind:"Name",value:"reviewCount"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:218}};Le.loc.source={body:'"""\nAverage rating, based on multiple ratings or reviews.\n"""\ntype StoreAggregateRating {\n """\n Value of the aggregate rating.\n """\n ratingValue: Float!\n """\n Total number of ratings.\n """\n reviewCount: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ee={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"information about the author of a product review or rating.",block:!0},name:{kind:"Name",value:"StoreAuthor"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Author name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:132}};Ee.loc.source={body:'"""\ninformation about the author of a product review or rating.\n"""\ntype StoreAuthor {\n """\n Author name.\n """\n name: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Re={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Brand of a given product.",block:!0},name:{kind:"Name",value:"StoreBrand"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Brand name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:96}};Re.loc.source={body:'"""\nBrand of a given product.\n"""\ntype StoreBrand {\n """\n Brand name.\n """\n name: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var xe={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Item of a list.",block:!0},name:{kind:"Name",value:"StoreListItem"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"List item value.",block:!0},name:{kind:"Name",value:"item"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Name of the list item.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Position of the item in the list.",block:!0},name:{kind:"Name",value:"position"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"List of items consisting of chain linked web pages, ending with the current page.",block:!0},name:{kind:"Name",value:"StoreBreadcrumbList"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with breadcrumb elements.",block:!0},name:{kind:"Name",value:"itemListElement"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreListItem"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of breadcrumbs in the list.",block:!0},name:{kind:"Name",value:"numberOfItems"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:486}};xe.loc.source={body:'"""\nItem of a list.\n"""\ntype StoreListItem {\n """\n List item value.\n """\n item: String!\n """\n Name of the list item.\n """\n name: String!\n """\n Position of the item in the list.\n """\n position: Int!\n}\n\n"""\nList of items consisting of chain linked web pages, ending with the current page.\n"""\ntype StoreBreadcrumbList {\n """\n Array with breadcrumb elements.\n """\n itemListElement: [StoreListItem!]!\n """\n Number of breadcrumbs in the list.\n """\n numberOfItems: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Me={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Shopping cart message.",block:!0},name:{kind:"Name",value:"StoreCartMessage"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Shopping cart message text.",block:!0},name:{kind:"Name",value:"text"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Shopping cart message status, which can be `INFO`, `WARNING` or `ERROR`.",block:!0},name:{kind:"Name",value:"status"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreStatus"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Shopping cart information.",block:!0},name:{kind:"Name",value:"StoreCart"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Order information, including `orderNumber` and `acceptedOffer`.",block:!0},name:{kind:"Name",value:"order"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreOrder"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of shopping cart messages.",block:!0},name:{kind:"Name",value:"messages"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCartMessage"}}}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Shopping cart input.",block:!0},name:{kind:"Name",value:"IStoreCart"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Order information, including `orderNumber`, `acceptedOffer` and `shouldSplitItem`.",block:!0},name:{kind:"Name",value:"order"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreOrder"}}},directives:[]}]}],loc:{start:0,end:628}};Me.loc.source={body:'"""\nShopping cart message.\n"""\ntype StoreCartMessage {\n """\n Shopping cart message text.\n """\n text: String!\n """\n Shopping cart message status, which can be `INFO`, `WARNING` or `ERROR`.\n """\n status: StoreStatus!\n}\n\n"""\nShopping cart information.\n"""\ntype StoreCart {\n """\n Order information, including `orderNumber` and `acceptedOffer`.\n """\n order: StoreOrder!\n """\n List of shopping cart messages.\n """\n messages: [StoreCartMessage!]!\n}\n\n"""\nShopping cart input.\n"""\ninput IStoreCart {\n """\n Order information, including `orderNumber`, `acceptedOffer` and `shouldSplitItem`.\n """\n order: IStoreOrder!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ue={kind:"Document",definitions:[{kind:"EnumTypeDefinition",description:{kind:"StringValue",value:"Product collection type. Possible values are `Department`, `Category`, `Brand`, `Cluster`, `SubCategory` or `Collection`.",block:!0},name:{kind:"Name",value:"StoreCollectionType"},directives:[],values:[{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"First level of product categorization.",block:!0},name:{kind:"Name",value:"Department"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Second level of product categorization.",block:!0},name:{kind:"Name",value:"Category"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Third level of product categorization.",block:!0},name:{kind:"Name",value:"SubCategory"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Product brand.",block:!0},name:{kind:"Name",value:"Brand"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Product cluster.",block:!0},name:{kind:"Name",value:"Cluster"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Product collection.",block:!0},name:{kind:"Name",value:"Collection"},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product collection facet, used for search.",block:!0},name:{kind:"Name",value:"StoreCollectionFacet"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet key.",block:!0},name:{kind:"Name",value:"key"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet value.",block:!0},name:{kind:"Name",value:"value"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Collection meta information. Used for search.",block:!0},name:{kind:"Name",value:"StoreCollectionMeta"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of selected collection facets.",block:!0},name:{kind:"Name",value:"selectedFacets"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionFacet"}}}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product collection information.",block:!0},name:{kind:"Name",value:"StoreCollection"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Meta tag data.",block:!0},name:{kind:"Name",value:"seo"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSeo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of items consisting of chain linked web pages, ending with the current page.",block:!0},name:{kind:"Name",value:"breadcrumbList"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreBreadcrumbList"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection meta information. Used for search.",block:!0},name:{kind:"Name",value:"meta"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionMeta"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection ID.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Corresponding collection URL slug, with which to retrieve this entity.",block:!0},name:{kind:"Name",value:"slug"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection type.",block:!0},name:{kind:"Name",value:"type"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionType"}}},directives:[]}]}],loc:{start:0,end:1361}};Ue.loc.source={body:'"""\nProduct collection type. Possible values are `Department`, `Category`, `Brand`, `Cluster`, `SubCategory` or `Collection`.\n"""\nenum StoreCollectionType {\n """\n First level of product categorization.\n """\n Department\n """\n Second level of product categorization.\n """\n Category\n """\n Third level of product categorization.\n """\n SubCategory\n """\n Product brand.\n """\n Brand\n """\n Product cluster.\n """\n Cluster\n """\n Product collection.\n """\n Collection\n}\n\n"""\nProduct collection facet, used for search.\n"""\ntype StoreCollectionFacet {\n """\n Facet key.\n """\n key: String!\n """\n Facet value.\n """\n value: String!\n}\n\n"""\nCollection meta information. Used for search.\n"""\ntype StoreCollectionMeta {\n """\n List of selected collection facets.\n """\n selectedFacets: [StoreCollectionFacet!]!\n}\n\n"""\nProduct collection information.\n"""\ntype StoreCollection {\n """\n Meta tag data.\n """\n seo: StoreSeo!\n """\n List of items consisting of chain linked web pages, ending with the current page.\n """\n breadcrumbList: StoreBreadcrumbList!\n """\n Collection meta information. Used for search.\n """\n meta: StoreCollectionMeta!\n """\n Collection ID.\n """\n id: ID!\n """\n Corresponding collection URL slug, with which to retrieve this entity.\n """\n slug: String!\n """\n Collection type.\n """\n type: StoreCollectionType!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var qe={kind:"Document",definitions:[{kind:"UnionTypeDefinition",name:{kind:"Name",value:"StoreFacet"},directives:[],types:[{kind:"NamedType",name:{kind:"Name",value:"StoreFacetRange"}},{kind:"NamedType",name:{kind:"Name",value:"StoreFacetBoolean"}}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search facet range information.",block:!0},name:{kind:"Name",value:"StoreFacetRange"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet key.",block:!0},name:{kind:"Name",value:"key"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet label.",block:!0},name:{kind:"Name",value:"label"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Minimum facet range value.",block:!0},name:{kind:"Name",value:"min"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreFacetValueRange"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Maximum facet range value.",block:!0},name:{kind:"Name",value:"max"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreFacetValueRange"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search facet boolean information.",block:!0},name:{kind:"Name",value:"StoreFacetBoolean"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet key.",block:!0},name:{kind:"Name",value:"key"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet label.",block:!0},name:{kind:"Name",value:"label"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with information on each facet value.",block:!0},name:{kind:"Name",value:"values"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreFacetValueBoolean"}}}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search facet range value information. Used for minimum and maximum range values.",block:!0},name:{kind:"Name",value:"StoreFacetValueRange"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search facet range absolute value.",block:!0},name:{kind:"Name",value:"absolute"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search facet range selected value.",block:!0},name:{kind:"Name",value:"selected"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of a specific facet value.",block:!0},name:{kind:"Name",value:"StoreFacetValueBoolean"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet value.",block:!0},name:{kind:"Name",value:"value"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Facet value label.",block:!0},name:{kind:"Name",value:"label"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates whether facet is selected.",block:!0},name:{kind:"Name",value:"selected"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of items with this facet.",block:!0},name:{kind:"Name",value:"quantity"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:1160}};qe.loc.source={body:'union StoreFacet = StoreFacetRange | StoreFacetBoolean\n\n"""\nSearch facet range information.\n"""\ntype StoreFacetRange {\n """\n Facet key.\n """\n key: String!\n """\n Facet label.\n """\n label: String!\n """\n Minimum facet range value.\n """\n min: StoreFacetValueRange!\n """\n Maximum facet range value.\n """\n max: StoreFacetValueRange!\n}\n\n"""\nSearch facet boolean information.\n"""\ntype StoreFacetBoolean {\n """\n Facet key.\n """\n key: String!\n """\n Facet label.\n """\n label: String!\n """\n Array with information on each facet value.\n """\n values: [StoreFacetValueBoolean!]!\n}\n\n"""\nSearch facet range value information. Used for minimum and maximum range values.\n"""\ntype StoreFacetValueRange {\n """\n Search facet range absolute value.\n """\n absolute: Float!\n """\n Search facet range selected value.\n """\n selected: Float!\n}\n\n"""\nInformation of a specific facet value.\n"""\ntype StoreFacetValueBoolean {\n """\n Facet value.\n """\n value: String!\n """\n Facet value label.\n """\n label: String!\n """\n Indicates whether facet is selected.\n """\n selected: Boolean!\n """\n Number of items with this facet.\n """\n quantity: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var je={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Image.",block:!0},name:{kind:"Name",value:"StoreImage"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Image URL.",block:!0},name:{kind:"Name",value:"url"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Alias for the image.",block:!0},name:{kind:"Name",value:"alternateName"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Image input.",block:!0},name:{kind:"Name",value:"IStoreImage"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Image input URL.",block:!0},name:{kind:"Name",value:"url"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Alias for the input image.",block:!0},name:{kind:"Name",value:"alternateName"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:291}};je.loc.source={body:'"""\nImage.\n"""\ntype StoreImage {\n """\n Image URL.\n """\n url: String!\n """\n Alias for the image.\n """\n alternateName: String!\n}\n\n"""\nImage input.\n"""\ninput IStoreImage {\n """\n Image input URL.\n """\n url: String!\n """\n Alias for the input image.\n """\n alternateName: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var _e={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"Mutation"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns `null`.",block:!0},name:{kind:"Name",value:"validateCart"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"cart"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreCart"}}},directives:[]},{kind:"InputValueDefinition",name:{kind:"Name",value:"session"},type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSession"}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"StoreCart"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Updates a web session with the specified values.",block:!0},name:{kind:"Name",value:"validateSession"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"session"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSession"}}},directives:[]},{kind:"InputValueDefinition",name:{kind:"Name",value:"search"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"StoreSession"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Subscribes a new person to the newsletter list.",block:!0},name:{kind:"Name",value:"subscribeToNewsletter"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"data"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IPersonNewsletter"}}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"PersonNewsletter"}},directives:[]}]}],loc:{start:0,end:570}};_e.loc.source={body:'type Mutation {\n """\n Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns `null`.\n """\n validateCart(cart: IStoreCart!, session: IStoreSession): StoreCart\n """\n Updates a web session with the specified values.\n """\n validateSession(session: IStoreSession!, search: String!): StoreSession\n """\n Subscribes a new person to the newsletter list.\n """\n subscribeToNewsletter(data: IPersonNewsletter!): PersonNewsletter\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Be={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Newsletter information.",block:!0},name:{kind:"Name",value:"PersonNewsletter"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Person's ID in the newsletter list.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Person data input to the newsletter.",block:!0},name:{kind:"Name",value:"IPersonNewsletter"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Person's name.",block:!0},name:{kind:"Name",value:"name"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Person's email.",block:!0},name:{kind:"Name",value:"email"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:289}};Be.loc.source={body:'"""\nNewsletter information.\n"""\n\ntype PersonNewsletter {\n """\n Person\'s ID in the newsletter list.\n """\n id: String!\n}\n\n"""\nPerson data input to the newsletter.\n"""\ninput IPersonNewsletter {\n """\n Person\'s name.\n """\n name: String!\n """\n Person\'s email.\n """\n email: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var $e={kind:"Document",definitions:[{kind:"ScalarTypeDefinition",name:{kind:"Name",value:"ObjectOrString"},directives:[]}],loc:{start:0,end:21}};$e.loc.source={body:"scalar ObjectOrString",name:"GraphQL request",locationOffset:{line:1,column:1}};var Ge={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Offer information.",block:!0},name:{kind:"Name",value:"StoreOffer"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:'This is displayed as the "from" price in the context of promotions\' price comparison. This may change before it reaches the shelf.',block:!0},name:{kind:"Name",value:"listPrice"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Computed price before applying coupons, taxes or benefits. This may change before it reaches the shelf.",block:!0},name:{kind:"Name",value:"sellingPrice"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ISO code of the currency used for the offer prices.",block:!0},name:{kind:"Name",value:"priceCurrency"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Also known as spot price.",block:!0},name:{kind:"Name",value:"price"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.",block:!0},name:{kind:"Name",value:"priceValidUntil"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Offer item condition.",block:!0},name:{kind:"Name",value:"itemCondition"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Offer item availability.",block:!0},name:{kind:"Name",value:"availability"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Seller responsible for the offer.",block:!0},name:{kind:"Name",value:"seller"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreOrganization"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Information on the item being offered.",block:!0},name:{kind:"Name",value:"itemOffered"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of items offered.",block:!0},name:{kind:"Name",value:"quantity"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Offer input.",block:!0},name:{kind:"Name",value:"IStoreOffer"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Also known as spot price.",block:!0},name:{kind:"Name",value:"price"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:'This is displayed as the "from" price in the context of promotions\' price comparison. This may change before it reaches the shelf.',block:!0},name:{kind:"Name",value:"listPrice"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Seller responsible for the offer.",block:!0},name:{kind:"Name",value:"seller"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreOrganization"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Information on the item being offered.",block:!0},name:{kind:"Name",value:"itemOffered"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreProduct"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Number of items offered.",block:!0},name:{kind:"Name",value:"quantity"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:1501}};Ge.loc.source={body:'"""\nOffer information.\n"""\ntype StoreOffer {\n """\n This is displayed as the "from" price in the context of promotions\' price comparison. This may change before it reaches the shelf.\n """\n listPrice: Float!\n """\n Computed price before applying coupons, taxes or benefits. This may change before it reaches the shelf.\n """\n sellingPrice: Float!\n """\n ISO code of the currency used for the offer prices.\n """\n priceCurrency: String!\n """\n Also known as spot price.\n """\n price: Float!\n """\n Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.\n """\n priceValidUntil: String!\n """\n Offer item condition.\n """\n itemCondition: String!\n """\n Offer item availability.\n """\n availability: String!\n """\n Seller responsible for the offer.\n """\n seller: StoreOrganization!\n """\n Information on the item being offered.\n """\n itemOffered: StoreProduct!\n """\n Number of items offered.\n """\n quantity: Int!\n}\n\n"""\nOffer input.\n"""\ninput IStoreOffer {\n """\n Also known as spot price.\n """\n price: Float!\n """\n This is displayed as the "from" price in the context of promotions\' price comparison. This may change before it reaches the shelf.\n """\n listPrice: Float!\n """\n Seller responsible for the offer.\n """\n seller: IStoreOrganization!\n """\n Information on the item being offered.\n """\n itemOffered: IStoreProduct!\n """\n Number of items offered.\n """\n quantity: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var ze={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of a specific order.",block:!0},name:{kind:"Name",value:"StoreOrder"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).",block:!0},name:{kind:"Name",value:"orderNumber"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with information on each accepted offer.",block:!0},name:{kind:"Name",value:"acceptedOffer"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreOffer"}}}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Order input.",block:!0},name:{kind:"Name",value:"IStoreOrder"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).",block:!0},name:{kind:"Name",value:"orderNumber"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Array with information on each accepted offer.",block:!0},name:{kind:"Name",value:"acceptedOffer"},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreOffer"}}}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Indicates whether or not items with attachments should be split.",block:!0},name:{kind:"Name",value:"shouldSplitItem"},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}]}],loc:{start:0,end:740}};ze.loc.source={body:'"""\nInformation of a specific order.\n"""\ntype StoreOrder {\n """\n ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).\n """\n orderNumber: String!\n """\n Array with information on each accepted offer.\n """\n acceptedOffer: [StoreOffer!]!\n}\n\n"""\nOrder input.\n"""\ninput IStoreOrder {\n """\n ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).\n """\n orderNumber: String!\n """\n Array with information on each accepted offer.\n """\n acceptedOffer: [IStoreOffer!]!\n """\n Indicates whether or not items with attachments should be split.\n """\n shouldSplitItem: Boolean\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ke={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Organization.",block:!0},name:{kind:"Name",value:"StoreOrganization"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Organization ID.",block:!0},name:{kind:"Name",value:"identifier"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Organization input.",block:!0},name:{kind:"Name",value:"IStoreOrganization"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Organization ID.",block:!0},name:{kind:"Name",value:"identifier"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:213}};Ke.loc.source={body:'"""\nOrganization.\n"""\ntype StoreOrganization {\n """\n Organization ID.\n """\n identifier: String!\n}\n\n"""\nOrganization input.\n"""\ninput IStoreOrganization {\n """\n Organization ID.\n """\n identifier: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var We={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Whenever you make a query that allows for pagination, such as `allProducts` or `allCollections`, you can check `StorePageInfo` to learn more about the complete set of items and use it to paginate your queries.",block:!0},name:{kind:"Name",value:"StorePageInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates whether there is at least one more page with items after the ones returned in the current query.",block:!0},name:{kind:"Name",value:"hasNextPage"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates whether there is at least one more page with items before the ones returned in the current query.",block:!0},name:{kind:"Name",value:"hasPreviousPage"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Cursor corresponding to the first possible item.",block:!0},name:{kind:"Name",value:"startCursor"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Cursor corresponding to the last possible item.",block:!0},name:{kind:"Name",value:"endCursor"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Total number of items (products or collections), not pages.",block:!0},name:{kind:"Name",value:"totalCount"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]}],loc:{start:0,end:798}};We.loc.source={body:'"""\nWhenever you make a query that allows for pagination, such as `allProducts` or `allCollections`, you can check `StorePageInfo` to learn more about the complete set of items and use it to paginate your queries.\n"""\ntype StorePageInfo {\n """\n Indicates whether there is at least one more page with items after the ones returned in the current query.\n """\n hasNextPage: Boolean!\n """\n Indicates whether there is at least one more page with items before the ones returned in the current query.\n """\n hasPreviousPage: Boolean!\n """\n Cursor corresponding to the first possible item.\n """\n startCursor: String!\n """\n Cursor corresponding to the last possible item.\n """\n endCursor: String!\n """\n Total number of items (products or collections), not pages.\n """\n totalCount: Int!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Qe={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Client profile data.",block:!0},name:{kind:"Name",value:"StorePerson"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Client ID.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Client email.",block:!0},name:{kind:"Name",value:"email"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Client first name.",block:!0},name:{kind:"Name",value:"givenName"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Client last name.",block:!0},name:{kind:"Name",value:"familyName"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Client profile data.",block:!0},name:{kind:"Name",value:"IStorePerson"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Client ID.",block:!0},name:{kind:"Name",value:"id"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Client email.",block:!0},name:{kind:"Name",value:"email"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Client first name.",block:!0},name:{kind:"Name",value:"givenName"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Client last name.",block:!0},name:{kind:"Name",value:"familyName"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:487}};Qe.loc.source={body:'"""\nClient profile data.\n"""\ntype StorePerson {\n """\n Client ID.\n """\n id: String!\n """\n Client email.\n """\n email: String!\n """\n Client first name.\n """\n givenName: String!\n """\n Client last name.\n """\n familyName: String!\n}\n\n"""\nClient profile data.\n"""\ninput IStorePerson {\n """\n Client ID.\n """\n id: String!\n """\n Client email.\n """\n email: String!\n """\n Client first name.\n """\n givenName: String!\n """\n Client last name.\n """\n familyName: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Xe={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product information. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.",block:!0},name:{kind:"Name",value:"StoreProduct"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Meta tag data.",block:!0},name:{kind:"Name",value:"seo"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSeo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of items consisting of chain linked web pages, ending with the current page.",block:!0},name:{kind:"Name",value:"breadcrumbList"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreBreadcrumbList"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Corresponding collection URL slug, with which to retrieve this entity.",block:!0},name:{kind:"Name",value:"slug"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product ID, such as [ISBN](https://www.isbn-international.org/content/what-isbn) or similar global IDs.",block:!0},name:{kind:"Name",value:"productID"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product brand.",block:!0},name:{kind:"Name",value:"brand"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreBrand"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product description.",block:!0},name:{kind:"Name",value:"description"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of images.",block:!0},name:{kind:"Name",value:"image"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreImage"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Aggregate offer information.",block:!0},name:{kind:"Name",value:"offers"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreAggregateOffer"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Stock Keeping Unit. Merchant-specific ID for the product.",block:!0},name:{kind:"Name",value:"sku"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Global Trade Item Number.",block:!0},name:{kind:"Name",value:"gtin"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with review information.",block:!0},name:{kind:"Name",value:"review"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreReview"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Aggregate ratings data.",block:!0},name:{kind:"Name",value:"aggregateRating"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreAggregateRating"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates product group related to this product.",block:!0},name:{kind:"Name",value:"isVariantOf"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProductGroup"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of additional properties.",block:!0},name:{kind:"Name",value:"additionalProperty"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StorePropertyValue"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The product's release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601",block:!0},name:{kind:"Name",value:"releaseDate"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Product input. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.",block:!0},name:{kind:"Name",value:"IStoreProduct"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Stock Keeping Unit. Merchant-specific ID for the product.",block:!0},name:{kind:"Name",value:"sku"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Product name.",block:!0},name:{kind:"Name",value:"name"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Array of product images.",block:!0},name:{kind:"Name",value:"image"},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreImage"}}}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Custom Product Additional Properties.",block:!0},name:{kind:"Name",value:"additionalProperty"},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStorePropertyValue"}}}},directives:[]}]}],loc:{start:0,end:2274}};Xe.loc.source={body:'"""\nProduct information. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.\n"""\ntype StoreProduct {\n """\n Meta tag data.\n """\n seo: StoreSeo!\n """\n List of items consisting of chain linked web pages, ending with the current page.\n """\n breadcrumbList: StoreBreadcrumbList!\n """\n Corresponding collection URL slug, with which to retrieve this entity.\n """\n slug: String!\n """\n Product name.\n """\n name: String!\n """\n Product ID, such as [ISBN](https://www.isbn-international.org/content/what-isbn) or similar global IDs.\n """\n productID: String!\n """\n Product brand.\n """\n brand: StoreBrand!\n """\n Product description.\n """\n description: String!\n """\n Array of images.\n """\n image: [StoreImage!]!\n """\n Aggregate offer information.\n """\n offers: StoreAggregateOffer!\n """\n Stock Keeping Unit. Merchant-specific ID for the product.\n """\n sku: String!\n """\n Global Trade Item Number.\n """\n gtin: String!\n """\n Array with review information.\n """\n review: [StoreReview!]!\n """\n Aggregate ratings data.\n """\n aggregateRating: StoreAggregateRating!\n """\n Indicates product group related to this product.\n """\n isVariantOf: StoreProductGroup!\n """\n Array of additional properties.\n """\n additionalProperty: [StorePropertyValue!]!\n """\n The product\'s release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601\n """\n releaseDate: String!\n}\n\n"""\nProduct input. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.\n"""\ninput IStoreProduct {\n """\n Stock Keeping Unit. Merchant-specific ID for the product.\n """\n sku: String!\n """\n Product name.\n """\n name: String!\n """\n Array of product images.\n """\n image: [IStoreImage!]!\n """\n Custom Product Additional Properties.\n """\n additionalProperty: [IStorePropertyValue!]\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ye={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product group information. Product groups are catalog entities that may contain variants. They are equivalent to VTEX [Products](https://help.vtex.com/en/tutorial/what-is-a-product--2zrB2gFCHyQokCKKE8kuAw#), whereas each variant is equivalent to a VTEX [SKU](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.",block:!0},name:{kind:"Name",value:"StoreProductGroup"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of variants related to product group. Variants are equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#).",block:!0},name:{kind:"Name",value:"hasVariant"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product group ID.",block:!0},name:{kind:"Name",value:"productGroupID"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product group name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of additional properties.",block:!0},name:{kind:"Name",value:"additionalProperty"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StorePropertyValue"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Object containing data structures to facilitate handling different SKU\nvariant properties. Specially useful for implementing SKU selection \ncomponents.",block:!0},name:{kind:"Name",value:"skuVariants"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"SkuVariants"}},directives:[]}]}],loc:{start:0,end:1113}};Ye.loc.source={body:'"""\nProduct group information. Product groups are catalog entities that may contain variants. They are equivalent to VTEX [Products](https://help.vtex.com/en/tutorial/what-is-a-product--2zrB2gFCHyQokCKKE8kuAw#), whereas each variant is equivalent to a VTEX [SKU](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.\n"""\ntype StoreProductGroup {\n """\n Array of variants related to product group. Variants are equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#).\n """\n hasVariant: [StoreProduct!]!\n """\n Product group ID.\n """\n productGroupID: String!\n """\n Product group name.\n """\n name: String!\n """\n Array of additional properties.\n """\n additionalProperty: [StorePropertyValue!]!\n """\n Object containing data structures to facilitate handling different SKU\n variant properties. Specially useful for implementing SKU selection \n components.\n """\n skuVariants: SkuVariants\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Je={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Properties that can be associated with products and products groups.",block:!0},name:{kind:"Name",value:"StorePropertyValue"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Property id. This propert changes according to the content of the object.",block:!0},name:{kind:"Name",value:"propertyID"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Property value. May hold a string or the string representation of an object.",block:!0},name:{kind:"Name",value:"value"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ObjectOrString"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Property name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Specifies the nature of the value",block:!0},name:{kind:"Name",value:"valueReference"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IStorePropertyValue"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Property id. This propert changes according to the content of the object.",block:!0},name:{kind:"Name",value:"propertyID"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Property value. May hold a string or the string representation of an object.",block:!0},name:{kind:"Name",value:"value"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ObjectOrString"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Property name.",block:!0},name:{kind:"Name",value:"name"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Specifies the nature of the value",block:!0},name:{kind:"Name",value:"valueReference"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:825}};Je.loc.source={body:'"""\nProperties that can be associated with products and products groups.\n"""\ntype StorePropertyValue {\n """\n Property id. This propert changes according to the content of the object.\n """\n propertyID: String!\n """\n Property value. May hold a string or the string representation of an object.\n """\n value: ObjectOrString!\n """\n Property name.\n """\n name: String!\n """\n Specifies the nature of the value\n """\n valueReference: String!\n}\n\ninput IStorePropertyValue {\n """\n Property id. This propert changes according to the content of the object.\n """\n propertyID: String\n """\n Property value. May hold a string or the string representation of an object.\n """\n value: ObjectOrString!\n """\n Property name.\n """\n name: String!\n """\n Specifies the nature of the value\n """\n valueReference: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var He={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Each product edge contains a `node`, with product information, and a `cursor`, that can be used as a reference for pagination.",block:!0},name:{kind:"Name",value:"StoreProductEdge"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Each product node contains the information of a product returned by the query.",block:!0},name:{kind:"Name",value:"node"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product cursor. Used as pagination reference.",block:!0},name:{kind:"Name",value:"cursor"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Product connections, including pagination information and products returned by the query.",block:!0},name:{kind:"Name",value:"StoreProductConnection"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Product pagination information.",block:!0},name:{kind:"Name",value:"pageInfo"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StorePageInfo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with product connection edges, each containing a product and a corresponding cursor.",block:!0},name:{kind:"Name",value:"edges"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProductEdge"}}}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Each collection edge contains a `node`, with product collection information, and a `cursor`, that can be used as a reference for pagination.",block:!0},name:{kind:"Name",value:"StoreCollectionEdge"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Each collection node contains the information of a product collection returned by the query.",block:!0},name:{kind:"Name",value:"node"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollection"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection cursor. Used as pagination reference.",block:!0},name:{kind:"Name",value:"cursor"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Collection connections, including pagination information and collections returned by the query.",block:!0},name:{kind:"Name",value:"StoreCollectionConnection"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Collection pagination information.",block:!0},name:{kind:"Name",value:"pageInfo"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StorePageInfo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with collection connection page edges, each containing a collection and a corresponding cursor..",block:!0},name:{kind:"Name",value:"edges"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionEdge"}}}}},directives:[]}]},{kind:"EnumTypeDefinition",description:{kind:"StringValue",value:"Product search results sorting options.",block:!0},name:{kind:"Name",value:"StoreSort"},directives:[],values:[{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by price, from highest to lowest.",block:!0},name:{kind:"Name",value:"price_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by price, from lowest to highest.",block:!0},name:{kind:"Name",value:"price_asc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by orders, from highest to lowest.",block:!0},name:{kind:"Name",value:"orders_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by name, in reverse alphabetical order.",block:!0},name:{kind:"Name",value:"name_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by name, in alphabetical order.",block:!0},name:{kind:"Name",value:"name_asc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by release date, from highest to lowest.",block:!0},name:{kind:"Name",value:"release_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by discount value, from highest to lowest.",block:!0},name:{kind:"Name",value:"discount_desc"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Sort by product score, from highest to lowest.",block:!0},name:{kind:"Name",value:"score_desc"},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Selected search facet input.",block:!0},name:{kind:"Name",value:"IStoreSelectedFacet"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Selected search facet key.",block:!0},name:{kind:"Name",value:"key"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Selected search facet value.",block:!0},name:{kind:"Name",value:"value"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"EnumTypeDefinition",description:{kind:"StringValue",value:"Search facet type.",block:!0},name:{kind:"Name",value:"StoreFacetType"},directives:[],values:[{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Indicates boolean search facet.",block:!0},name:{kind:"Name",value:"BOOLEAN"},directives:[]},{kind:"EnumValueDefinition",description:{kind:"StringValue",value:"Indicates range type search facet.",block:!0},name:{kind:"Name",value:"RANGE"},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Suggestion term.",block:!0},name:{kind:"Name",value:"StoreSuggestionTerm"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"The term.",block:!0},name:{kind:"Name",value:"value"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Its occurrences count.",block:!0},name:{kind:"Name",value:"count"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Suggestions information.",block:!0},name:{kind:"Name",value:"StoreSuggestions"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with suggestion terms.",block:!0},name:{kind:"Name",value:"terms"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSuggestionTerm"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array with suggestion products' information.",block:!0},name:{kind:"Name",value:"products"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search result.",block:!0},name:{kind:"Name",value:"SearchMetadata"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Indicates if the search term was misspelled.",block:!0},name:{kind:"Name",value:"isTermMisspelled"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Logical operator used to run the search.",block:!0},name:{kind:"Name",value:"logicalOperator"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search result.",block:!0},name:{kind:"Name",value:"StoreSearchResult"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search result products.",block:!0},name:{kind:"Name",value:"products"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProductConnection"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Array of search result facets.",block:!0},name:{kind:"Name",value:"facets"},arguments:[],type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreFacet"}}}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search result suggestions.",block:!0},name:{kind:"Name",value:"suggestions"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSuggestions"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Search result metadata. Additional data can be used to send analytics events.",block:!0},name:{kind:"Name",value:"metadata"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"SearchMetadata"}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IGeoCoordinates"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The latitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"latitude"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The longitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"longitude"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"Query"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns the details of a product based on the specified locator.",block:!0},name:{kind:"Name",value:"product"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"An array of selected search facets.",block:!0},name:{kind:"Name",value:"locator"},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSelectedFacet"}}}}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProduct"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns the details of a collection based on the collection slug.",block:!0},name:{kind:"Name",value:"collection"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Collection slug.",block:!0},name:{kind:"Name",value:"slug"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollection"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns the result of a product, facet, or suggestion search.",block:!0},name:{kind:"Name",value:"search"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search pagination argument, indicating how many results should be returned from the complete result list.",block:!0},name:{kind:"Name",value:"first"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search pagination argument, indicating the cursor corresponding with the item after which the results should be fetched.",block:!0},name:{kind:"Name",value:"after"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search results sorting mode.",block:!0},name:{kind:"Name",value:"sort"},type:{kind:"NamedType",name:{kind:"Name",value:"StoreSort"}},defaultValue:{kind:"EnumValue",value:"score_desc"},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search term.",block:!0},name:{kind:"Name",value:"term"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},defaultValue:{kind:"StringValue",value:"",block:!1},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Array of selected search facets.",block:!0},name:{kind:"Name",value:"selectedFacets"},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSelectedFacet"}}}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreSearchResult"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns information about all products.",block:!0},name:{kind:"Name",value:"allProducts"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Product pagination argument, indicating how many items should be returned from the complete result list.",block:!0},name:{kind:"Name",value:"first"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Product pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.",block:!0},name:{kind:"Name",value:"after"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreProductConnection"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns information about all collections.",block:!0},name:{kind:"Name",value:"allCollections"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Collection pagination argument, indicating how many items should be returned from the complete result list.",block:!0},name:{kind:"Name",value:"first"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Collection pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.",block:!0},name:{kind:"Name",value:"after"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCollectionConnection"}}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns information about shipping simulation.",block:!0},name:{kind:"Name",value:"shipping"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"List of SKU products",block:!0},name:{kind:"Name",value:"items"},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IShippingItem"}}}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Postal code to freight calculator",block:!0},name:{kind:"Name",value:"postalCode"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Country of postal code",block:!0},name:{kind:"Name",value:"country"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"ShippingData"}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns if there's a redirect for a search.",block:!0},name:{kind:"Name",value:"redirect"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Search term.",block:!0},name:{kind:"Name",value:"term"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Array of selected search facets.",block:!0},name:{kind:"Name",value:"selectedFacets"},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreSelectedFacet"}}}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"StoreRedirect"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Returns a list of sellers available for a specific localization.",block:!0},name:{kind:"Name",value:"sellers"},arguments:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Postal code input to calculate sellers",block:!0},name:{kind:"Name",value:"postalCode"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Geocoordinates input to calculate sellers",block:!0},name:{kind:"Name",value:"geoCoordinates"},type:{kind:"NamedType",name:{kind:"Name",value:"IGeoCoordinates"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Country of localization",block:!0},name:{kind:"Name",value:"country"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Sales channel of the navigation",block:!0},name:{kind:"Name",value:"salesChannel"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"SellersData"}},directives:[{kind:"Directive",name:{kind:"Name",value:"cacheControl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"public",block:!1}},{kind:"Argument",name:{kind:"Name",value:"sMaxAge"},value:{kind:"IntValue",value:"120"}},{kind:"Argument",name:{kind:"Name",value:"staleWhileRevalidate"},value:{kind:"IntValue",value:"3600"}}]}]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Redirect informations, including url returned by the query.\nhttps://schema.org/Thing",block:!0},name:{kind:"Name",value:"StoreRedirect"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"URL to redirect",block:!0},name:{kind:"Name",value:"url"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Regionalization with sellers information.",block:!0},name:{kind:"Name",value:"SellersData"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Identification of region.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of sellers.",block:!0},name:{kind:"Name",value:"sellers"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"SellerInfo"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of sellers.",block:!0},name:{kind:"Name",value:"SellerInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Identification of the seller",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Name of the seller",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Logo of the seller",block:!0},name:{kind:"Name",value:"logo"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}]}],loc:{start:0,end:7490}};He.loc.source={body:'"""\nEach product edge contains a `node`, with product information, and a `cursor`, that can be used as a reference for pagination.\n"""\ntype StoreProductEdge {\n """\n Each product node contains the information of a product returned by the query.\n """\n node: StoreProduct!\n """\n Product cursor. Used as pagination reference.\n """\n cursor: String!\n}\n\n"""\nProduct connections, including pagination information and products returned by the query.\n"""\ntype StoreProductConnection {\n """\n Product pagination information.\n """\n pageInfo: StorePageInfo!\n """\n Array with product connection edges, each containing a product and a corresponding cursor.\n """\n edges: [StoreProductEdge!]!\n}\n\n"""\nEach collection edge contains a `node`, with product collection information, and a `cursor`, that can be used as a reference for pagination.\n"""\ntype StoreCollectionEdge {\n """\n Each collection node contains the information of a product collection returned by the query.\n """\n node: StoreCollection!\n """\n Collection cursor. Used as pagination reference.\n """\n cursor: String!\n}\n\n"""\nCollection connections, including pagination information and collections returned by the query.\n"""\ntype StoreCollectionConnection {\n """\n Collection pagination information.\n """\n pageInfo: StorePageInfo!\n """\n Array with collection connection page edges, each containing a collection and a corresponding cursor..\n """\n edges: [StoreCollectionEdge!]!\n}\n\n"""\nProduct search results sorting options.\n"""\nenum StoreSort {\n """\n Sort by price, from highest to lowest.\n """\n price_desc\n """\n Sort by price, from lowest to highest.\n """\n price_asc\n """\n Sort by orders, from highest to lowest.\n """\n orders_desc\n """\n Sort by name, in reverse alphabetical order.\n """\n name_desc\n """\n Sort by name, in alphabetical order.\n """\n name_asc\n """\n Sort by release date, from highest to lowest.\n """\n release_desc\n """\n Sort by discount value, from highest to lowest.\n """\n discount_desc\n """\n Sort by product score, from highest to lowest.\n """\n score_desc\n}\n\n"""\nSelected search facet input.\n"""\ninput IStoreSelectedFacet {\n """\n Selected search facet key.\n """\n key: String!\n """\n Selected search facet value.\n """\n value: String!\n}\n\n"""\nSearch facet type.\n"""\nenum StoreFacetType {\n """\n Indicates boolean search facet.\n """\n BOOLEAN\n """\n Indicates range type search facet.\n """\n RANGE\n}\n\n"""\nSuggestion term.\n"""\ntype StoreSuggestionTerm {\n """\n The term.\n """\n value: String!\n """\n Its occurrences count.\n """\n count: Int!\n}\n\n"""\nSuggestions information.\n"""\ntype StoreSuggestions {\n """\n Array with suggestion terms.\n """\n terms: [StoreSuggestionTerm!]!\n """\n Array with suggestion products\' information.\n """\n products: [StoreProduct!]!\n}\n\n"""\nSearch result.\n"""\ntype SearchMetadata {\n """\n Indicates if the search term was misspelled.\n """\n isTermMisspelled: Boolean!\n """\n Logical operator used to run the search.\n """\n logicalOperator: String!\n}\n\n"""\nSearch result.\n"""\ntype StoreSearchResult {\n """\n Search result products.\n """\n products: StoreProductConnection!\n """\n Array of search result facets.\n """\n facets: [StoreFacet!]!\n """\n Search result suggestions.\n """\n suggestions: StoreSuggestions!\n """\n Search result metadata. Additional data can be used to send analytics events.\n """\n metadata: SearchMetadata\n}\n\ninput IGeoCoordinates {\n """\n The latitude of the geographic coordinates.\n """\n latitude: Float!\n """\n The longitude of the geographic coordinates.\n """\n longitude: Float!\n}\n\ntype Query {\n """\n Returns the details of a product based on the specified locator.\n """\n product(\n """\n An array of selected search facets.\n """\n locator: [IStoreSelectedFacet!]!\n ): StoreProduct!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns the details of a collection based on the collection slug.\n """\n collection(\n """\n Collection slug.\n """\n slug: String!\n ): StoreCollection!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns the result of a product, facet, or suggestion search.\n """\n search(\n """\n Search pagination argument, indicating how many results should be returned from the complete result list.\n """\n first: Int!\n """\n Search pagination argument, indicating the cursor corresponding with the item after which the results should be fetched.\n """\n after: String\n """\n Search results sorting mode.\n """\n sort: StoreSort = score_desc\n """\n Search term.\n """\n term: String = ""\n """\n Array of selected search facets.\n """\n selectedFacets: [IStoreSelectedFacet!]\n ): StoreSearchResult!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns information about all products.\n """\n allProducts(\n """\n Product pagination argument, indicating how many items should be returned from the complete result list.\n """\n first: Int!\n """\n Product pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.\n """\n after: String\n ): StoreProductConnection!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns information about all collections.\n """\n allCollections(\n """\n Collection pagination argument, indicating how many items should be returned from the complete result list.\n """\n first: Int!\n """\n Collection pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.\n """\n after: String\n ): StoreCollectionConnection!\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns information about shipping simulation.\n """\n shipping(\n """\n List of SKU products\n """\n items: [IShippingItem!]!\n """\n Postal code to freight calculator\n """\n postalCode: String!\n """\n Country of postal code\n """\n country: String!\n ): ShippingData\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n\n """\n Returns if there\'s a redirect for a search.\n """\n redirect(\n """\n Search term.\n """\n term: String\n """\n Array of selected search facets.\n """\n selectedFacets: [IStoreSelectedFacet!]\n ): StoreRedirect\n\n\n """\n Returns a list of sellers available for a specific localization.\n """\n sellers(\n """\n Postal code input to calculate sellers\n """\n postalCode: String\n """\n Geocoordinates input to calculate sellers\n """\n geoCoordinates: IGeoCoordinates\n """\n Country of localization\n """\n country: String!\n """\n Sales channel of the navigation\n """\n salesChannel: String\n ): SellersData\n @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)\n}\n\n"""\nRedirect informations, including url returned by the query.\nhttps://schema.org/Thing\n"""\ntype StoreRedirect {\n """\n URL to redirect\n """\n url: String\n}\n\n"""\nRegionalization with sellers information.\n"""\ntype SellersData {\n """\n Identification of region.\n """\n id: String\n """\n List of sellers.\n """\n sellers: [SellerInfo]\n}\n\n"""\nInformation of sellers.\n"""\ntype SellerInfo {\n """\n Identification of the seller\n """\n id: String\n """\n Name of the seller\n """\n name: String\n """\n Logo of the seller\n """\n logo: String\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var Ze={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of a given review rating.",block:!0},name:{kind:"Name",value:"StoreReviewRating"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Rating value.",block:!0},name:{kind:"Name",value:"ratingValue"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Best rating value.",block:!0},name:{kind:"Name",value:"bestRating"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Information of a given review.",block:!0},name:{kind:"Name",value:"StoreReview"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Review rating information.",block:!0},name:{kind:"Name",value:"reviewRating"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreReviewRating"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Review author.",block:!0},name:{kind:"Name",value:"author"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreAuthor"}}},directives:[]}]}],loc:{start:0,end:366}};Ze.loc.source={body:'"""\nInformation of a given review rating.\n"""\ntype StoreReviewRating {\n """\n Rating value.\n """\n ratingValue: Float!\n """\n Best rating value.\n """\n bestRating: Float!\n}\n\n"""\nInformation of a given review.\n"""\ntype StoreReview {\n """\n Review rating information.\n """\n reviewRating: StoreReviewRating!\n """\n Review author.\n """\n author: StoreAuthor!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var en={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Search Engine Optimization (SEO) tags data.",block:!0},name:{kind:"Name",value:"StoreSeo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Title tag.",block:!0},name:{kind:"Name",value:"title"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Title template tag.",block:!0},name:{kind:"Name",value:"titleTemplate"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Description tag.",block:!0},name:{kind:"Name",value:"description"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Canonical tag.",block:!0},name:{kind:"Name",value:"canonical"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]}],loc:{start:0,end:275}};en.loc.source={body:'"""\nSearch Engine Optimization (SEO) tags data.\n"""\ntype StoreSeo {\n """\n Title tag.\n """\n title: String!\n """\n Title template tag.\n """\n titleTemplate: String!\n """\n Description tag.\n """\n description: String!\n """\n Canonical tag.\n """\n canonical: String!\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var nn={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Currency information.",block:!0},name:{kind:"Name",value:"StoreCurrency"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Currency code (e.g: USD).",block:!0},name:{kind:"Name",value:"code"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Currency symbol (e.g: $).",block:!0},name:{kind:"Name",value:"symbol"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IStoreCurrency"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Currency code (e.g: USD).",block:!0},name:{kind:"Name",value:"code"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Currency symbol (e.g: $).",block:!0},name:{kind:"Name",value:"symbol"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Geographic coordinates information.",block:!0},name:{kind:"Name",value:"StoreGeoCoordinates"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"The latitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"latitude"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The longitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"longitude"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IStoreGeoCoordinates"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The latitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"latitude"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The longitude of the geographic coordinates.",block:!0},name:{kind:"Name",value:"longitude"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Delivery window information.",block:!0},name:{kind:"Name",value:"StoreDeliveryWindow"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery window start date information.",block:!0},name:{kind:"Name",value:"startDate"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery window end date information.",block:!0},name:{kind:"Name",value:"endDate"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Delivery window information.",block:!0},name:{kind:"Name",value:"IStoreDeliveryWindow"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery window start date information.",block:!0},name:{kind:"Name",value:"startDate"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery window end date information.",block:!0},name:{kind:"Name",value:"endDate"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Delivery mode information.",block:!0},name:{kind:"Name",value:"StoreDeliveryMode"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery channel information of the session.",block:!0},name:{kind:"Name",value:"deliveryChannel"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery method information of the session.",block:!0},name:{kind:"Name",value:"deliveryMethod"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"The delivery window information of the session.",block:!0},name:{kind:"Name",value:"deliveryWindow"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"StoreDeliveryWindow"}},directives:[]}]},{kind:"InputObjectTypeDefinition",name:{kind:"Name",value:"IStoreDeliveryMode"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery channel information of the session.",block:!0},name:{kind:"Name",value:"deliveryChannel"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery method information of the session.",block:!0},name:{kind:"Name",value:"deliveryMethod"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"The delivery window information of the session.",block:!0},name:{kind:"Name",value:"deliveryWindow"},type:{kind:"NamedType",name:{kind:"Name",value:"IStoreDeliveryWindow"}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Session information.",block:!0},name:{kind:"Name",value:"StoreSession"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session locale.",block:!0},name:{kind:"Name",value:"locale"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session currency.",block:!0},name:{kind:"Name",value:"currency"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"StoreCurrency"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session country.",block:!0},name:{kind:"Name",value:"country"},arguments:[],type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session channel.",block:!0},name:{kind:"Name",value:"channel"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session delivery mode.",block:!0},name:{kind:"Name",value:"deliveryMode"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"StoreDeliveryMode"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session address type.",block:!0},name:{kind:"Name",value:"addressType"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session postal code.",block:!0},name:{kind:"Name",value:"postalCode"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session input geoCoordinates.",block:!0},name:{kind:"Name",value:"geoCoordinates"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"StoreGeoCoordinates"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Session input person.",block:!0},name:{kind:"Name",value:"person"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"StorePerson"}},directives:[]}]},{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Session input.",block:!0},name:{kind:"Name",value:"IStoreSession"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input locale.",block:!0},name:{kind:"Name",value:"locale"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input currency.",block:!0},name:{kind:"Name",value:"currency"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"IStoreCurrency"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input country.",block:!0},name:{kind:"Name",value:"country"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input channel.",block:!0},name:{kind:"Name",value:"channel"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input delivery mode.",block:!0},name:{kind:"Name",value:"deliveryMode"},type:{kind:"NamedType",name:{kind:"Name",value:"IStoreDeliveryMode"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input address type.",block:!0},name:{kind:"Name",value:"addressType"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input postal code.",block:!0},name:{kind:"Name",value:"postalCode"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input geoCoordinates.",block:!0},name:{kind:"Name",value:"geoCoordinates"},type:{kind:"NamedType",name:{kind:"Name",value:"IStoreGeoCoordinates"}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Session input person.",block:!0},name:{kind:"Name",value:"person"},type:{kind:"NamedType",name:{kind:"Name",value:"IStorePerson"}},directives:[]}]}],loc:{start:0,end:3027}};nn.loc.source={body:'"""\nCurrency information.\n"""\ntype StoreCurrency {\n """\n Currency code (e.g: USD).\n """\n code: String!\n """\n Currency symbol (e.g: $).\n """\n symbol: String!\n}\n\ninput IStoreCurrency {\n """\n Currency code (e.g: USD).\n """\n code: String!\n """\n Currency symbol (e.g: $).\n """\n symbol: String!\n}\n\n"""\nGeographic coordinates information.\n"""\ntype StoreGeoCoordinates {\n """\n The latitude of the geographic coordinates.\n """\n latitude: Float!\n """\n The longitude of the geographic coordinates.\n """\n longitude: Float!\n}\n\ninput IStoreGeoCoordinates {\n """\n The latitude of the geographic coordinates.\n """\n latitude: Float!\n """\n The longitude of the geographic coordinates.\n """\n longitude: Float!\n}\n\n"""\nDelivery window information.\n"""\ntype StoreDeliveryWindow {\n """\n The delivery window start date information.\n """\n startDate: String!\n """\n The delivery window end date information.\n """\n endDate: String!\n}\n\n"""\nDelivery window information.\n"""\ninput IStoreDeliveryWindow {\n """\n The delivery window start date information.\n """\n startDate: String!\n """\n The delivery window end date information.\n """\n endDate: String!\n}\n\n"""\nDelivery mode information.\n"""\ntype StoreDeliveryMode {\n """\n The delivery channel information of the session.\n """\n deliveryChannel: String!\n """\n The delivery method information of the session.\n """\n deliveryMethod: String!\n """\n The delivery window information of the session.\n """\n deliveryWindow: StoreDeliveryWindow\n}\n\ninput IStoreDeliveryMode {\n """\n The delivery channel information of the session.\n """\n deliveryChannel: String!\n """\n The delivery method information of the session.\n """\n deliveryMethod: String!\n """\n The delivery window information of the session.\n """\n deliveryWindow: IStoreDeliveryWindow\n}\n\n"""\nSession information.\n"""\ntype StoreSession {\n """\n Session locale.\n """\n locale: String!\n """\n Session currency.\n """\n currency: StoreCurrency!\n """\n Session country.\n """\n country: String!\n """\n Session channel.\n """\n channel: String\n """\n Session delivery mode.\n """\n deliveryMode: StoreDeliveryMode\n """\n Session address type.\n """\n addressType: String\n """\n Session postal code.\n """\n postalCode: String\n """\n Session input geoCoordinates.\n """\n geoCoordinates: StoreGeoCoordinates\n """\n Session input person.\n """\n person: StorePerson\n}\n\n"""\nSession input.\n"""\ninput IStoreSession {\n """\n Session input locale.\n """\n locale: String!\n """\n Session input currency.\n """\n currency: IStoreCurrency!\n """\n Session input country.\n """\n country: String!\n """\n Session input channel.\n """\n channel: String\n """\n Session input delivery mode.\n """\n deliveryMode: IStoreDeliveryMode\n """\n Session input address type.\n """\n addressType: String\n """\n Session input postal code.\n """\n postalCode: String\n """\n Session input geoCoordinates.\n """\n geoCoordinates: IStoreGeoCoordinates\n """\n Session input person.\n """\n person: IStorePerson\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var tn={kind:"Document",definitions:[{kind:"InputObjectTypeDefinition",description:{kind:"StringValue",value:"Shipping Simulation item input.",block:!0},name:{kind:"Name",value:"IShippingItem"},directives:[],fields:[{kind:"InputValueDefinition",description:{kind:"StringValue",value:"ShippingItem ID / Sku.",block:!0},name:{kind:"Name",value:"id"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Number of items.",block:!0},name:{kind:"Name",value:"quantity"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"InputValueDefinition",description:{kind:"StringValue",value:"Seller responsible for the ShippingItem.",block:!0},name:{kind:"Name",value:"seller"},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Shipping Simulation information.",block:!0},name:{kind:"Name",value:"ShippingData"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of LogisticsItem.",block:!0},name:{kind:"Name",value:"items"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"LogisticsItem"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of LogisticsInfo.",block:!0},name:{kind:"Name",value:"logisticsInfo"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"LogisticsInfo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of MessageInfo.",block:!0},name:{kind:"Name",value:"messages"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"MessageInfo"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Address information.",block:!0},name:{kind:"Name",value:"address"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Address"}},directives:[]}]},{kind:"ObjectTypeDefinition",description:{kind:"StringValue",value:"Shipping Simulation Logistic Item.",block:!0},name:{kind:"Name",value:"LogisticsItem"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem ID / Sku.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",name:{kind:"Name",value:"requestIndex"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Number of items.",block:!0},name:{kind:"Name",value:"quantity"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Seller responsible for the ShippingItem.",block:!0},name:{kind:"Name",value:"seller"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of Sellers.",block:!0},name:{kind:"Name",value:"sellerChain"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem tax.",block:!0},name:{kind:"Name",value:"tax"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.",block:!0},name:{kind:"Name",value:"priceValidUntil"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem price.",block:!0},name:{kind:"Name",value:"price"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem listPrice.",block:!0},name:{kind:"Name",value:"listPrice"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem rewardValue.",block:!0},name:{kind:"Name",value:"rewardValue"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem sellingPrice.",block:!0},name:{kind:"Name",value:"sellingPrice"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem measurementUnit.",block:!0},name:{kind:"Name",value:"measurementUnit"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem unitMultiplier.",block:!0},name:{kind:"Name",value:"unitMultiplier"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsItem availability.",block:!0},name:{kind:"Name",value:"availability"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"LogisticsInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsInfo itemIndex.",block:!0},name:{kind:"Name",value:"itemIndex"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"LogisticsInfo selectedSla.",block:!0},name:{kind:"Name",value:"selectedSla"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of LogisticsInfo ShippingSLA.",block:!0},name:{kind:"Name",value:"slas"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"ShippingSLA"}}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"ShippingSLA"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA id.",block:!0},name:{kind:"Name",value:"id"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA name.",block:!0},name:{kind:"Name",value:"name"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA price.",block:!0},name:{kind:"Name",value:"price"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Float"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA shipping estimate.",block:!0},name:{kind:"Name",value:"shippingEstimate"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA localized shipping estimate.\nNote: this will always return a localized string for locale `en-US`.",block:!0},name:{kind:"Name",value:"localizedEstimates"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA available delivery windows.",block:!0},name:{kind:"Name",value:"availableDeliveryWindows"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"AvailableDeliveryWindows"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA shipping estimate date.",block:!0},name:{kind:"Name",value:"shippingEstimateDate"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"List of ShippingSLA delivery ids.",block:!0},name:{kind:"Name",value:"deliveryIds"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"DeliveryIds"}}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA delivery channel.",block:!0},name:{kind:"Name",value:"deliveryChannel"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA friendly name.",block:!0},name:{kind:"Name",value:"friendlyName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA carrier.",block:!0},name:{kind:"Name",value:"carrier"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA pickup point id.",block:!0},name:{kind:"Name",value:"pickupPointId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA pickup store info.",block:!0},name:{kind:"Name",value:"pickupStoreInfo"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"PickupStoreInfo"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"ShippingSLA pickup distance.",block:!0},name:{kind:"Name",value:"pickupDistance"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Float"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"AvailableDeliveryWindows"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window start date in UTC",block:!0},name:{kind:"Name",value:"startDateUtc"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window end date in UTC",block:!0},name:{kind:"Name",value:"endDateUtc"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window price",block:!0},name:{kind:"Name",value:"price"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window list price",block:!0},name:{kind:"Name",value:"listPrice"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available delivery window tax",block:!0},name:{kind:"Name",value:"tax"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"DeliveryIds"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds courier id",block:!0},name:{kind:"Name",value:"courierId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds warehouse id",block:!0},name:{kind:"Name",value:"warehouseId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds dock id",block:!0},name:{kind:"Name",value:"dockId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds courier name",block:!0},name:{kind:"Name",value:"courierName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"DeliveryIds quantity",block:!0},name:{kind:"Name",value:"quantity"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"PickupStoreInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupStoreInfo friendly name.",block:!0},name:{kind:"Name",value:"friendlyName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupStoreInfo address.",block:!0},name:{kind:"Name",value:"address"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"PickupAddress"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupStoreInfo additional information.",block:!0},name:{kind:"Name",value:"additionalInfo"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupStoreInfo dock id.",block:!0},name:{kind:"Name",value:"dockId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Information if the store has pickup enable.",block:!0},name:{kind:"Name",value:"isPickupStore"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"PickupAddress"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress address type.",block:!0},name:{kind:"Name",value:"addressType"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress receiver name.",block:!0},name:{kind:"Name",value:"receiverName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress address id.",block:!0},name:{kind:"Name",value:"addressId"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress postal code.",block:!0},name:{kind:"Name",value:"postalCode"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress city.",block:!0},name:{kind:"Name",value:"city"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress state.",block:!0},name:{kind:"Name",value:"state"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress country.",block:!0},name:{kind:"Name",value:"country"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress street.",block:!0},name:{kind:"Name",value:"street"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress number.",block:!0},name:{kind:"Name",value:"number"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress neighborhood.",block:!0},name:{kind:"Name",value:"neighborhood"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress complement.",block:!0},name:{kind:"Name",value:"complement"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress reference.",block:!0},name:{kind:"Name",value:"reference"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"PickupAddress geo coordinates.",block:!0},name:{kind:"Name",value:"geoCoordinates"},arguments:[],type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"MessageInfo"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageInfo code.",block:!0},name:{kind:"Name",value:"code"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageInfo text.",block:!0},name:{kind:"Name",value:"text"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageInfo status.",block:!0},name:{kind:"Name",value:"status"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageInfo fields.",block:!0},name:{kind:"Name",value:"fields"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"MessageFields"}},directives:[]}]},{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"MessageFields"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageFields item index.",block:!0},name:{kind:"Name",value:"itemIndex"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageFields ean.",block:!0},name:{kind:"Name",value:"ean"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"MessageFields sku name.",block:!0},name:{kind:"Name",value:"skuName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}]}],loc:{start:0,end:5041}};tn.loc.source={body:'"""\nShipping Simulation item input.\n"""\ninput IShippingItem {\n """\n ShippingItem ID / Sku.\n """\n id: String!\n """\n Number of items.\n """\n quantity: Int!\n """\n Seller responsible for the ShippingItem.\n """\n seller: String!\n}\n\n"""\nShipping Simulation information.\n"""\ntype ShippingData {\n """\n List of LogisticsItem.\n """\n items: [LogisticsItem]\n """\n List of LogisticsInfo.\n """\n logisticsInfo: [LogisticsInfo]\n """\n List of MessageInfo.\n """\n messages: [MessageInfo]\n """\n Address information.\n """\n address: Address\n}\n\n"""\nShipping Simulation Logistic Item.\n"""\ntype LogisticsItem {\n """\n LogisticsItem ID / Sku.\n """\n id: String\n requestIndex: Int\n """\n Number of items.\n """\n quantity: Int\n """\n Seller responsible for the ShippingItem.\n """\n seller: String\n """\n List of Sellers.\n """\n sellerChain: [String]\n """\n LogisticsItem tax.\n """\n tax: Int\n """\n Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.\n """\n priceValidUntil: String\n """\n LogisticsItem price.\n """\n price: Int\n """\n LogisticsItem listPrice.\n """\n listPrice: Int\n """\n LogisticsItem rewardValue.\n """\n rewardValue: Int\n """\n LogisticsItem sellingPrice.\n """\n sellingPrice: Int\n """\n LogisticsItem measurementUnit.\n """\n measurementUnit: String\n """\n LogisticsItem unitMultiplier.\n """\n unitMultiplier: Int\n """\n LogisticsItem availability.\n """\n availability: String\n}\n\ntype LogisticsInfo {\n """\n LogisticsInfo itemIndex.\n """\n itemIndex: String\n """\n LogisticsInfo selectedSla.\n """\n selectedSla: String\n """\n List of LogisticsInfo ShippingSLA.\n """\n slas: [ShippingSLA]\n}\n\ntype ShippingSLA {\n """\n ShippingSLA id.\n """\n id: String\n """\n ShippingSLA name.\n """\n name: String\n """\n ShippingSLA price.\n """\n price: Float\n """\n ShippingSLA shipping estimate.\n """\n shippingEstimate: String\n """\n ShippingSLA localized shipping estimate.\n Note: this will always return a localized string for locale `en-US`.\n """\n localizedEstimates: String\n """\n ShippingSLA available delivery windows.\n """\n availableDeliveryWindows: [AvailableDeliveryWindows]\n """\n ShippingSLA shipping estimate date.\n """\n shippingEstimateDate: String\n """\n List of ShippingSLA delivery ids.\n """\n deliveryIds: [DeliveryIds]\n """\n ShippingSLA delivery channel.\n """\n deliveryChannel: String\n """\n ShippingSLA friendly name.\n """\n friendlyName: String\n """\n ShippingSLA carrier.\n """\n carrier: String\n """\n ShippingSLA pickup point id.\n """\n pickupPointId: String\n """\n ShippingSLA pickup store info.\n """\n pickupStoreInfo: PickupStoreInfo\n """\n ShippingSLA pickup distance.\n """\n pickupDistance: Float\n}\n\ntype AvailableDeliveryWindows {\n """\n Available delivery window start date in UTC\n """\n startDateUtc: String\n """\n Available delivery window end date in UTC\n """\n endDateUtc: String\n """\n Available delivery window price\n """\n price: Int\n """\n Available delivery window list price\n """\n listPrice: Int\n """\n Available delivery window tax\n """\n tax: Int\n}\n\ntype DeliveryIds {\n """\n DeliveryIds courier id\n """\n courierId: String\n """\n DeliveryIds warehouse id\n """\n warehouseId: String\n """\n DeliveryIds dock id\n """\n dockId: String\n """\n DeliveryIds courier name\n """\n courierName: String\n """\n DeliveryIds quantity\n """\n quantity: Int\n}\n\ntype PickupStoreInfo {\n """\n PickupStoreInfo friendly name.\n """\n friendlyName: String\n """\n PickupStoreInfo address.\n """\n address: PickupAddress\n """\n PickupStoreInfo additional information.\n """\n additionalInfo: String\n """\n PickupStoreInfo dock id.\n """\n dockId: String\n """\n Information if the store has pickup enable.\n """\n isPickupStore: Boolean\n}\n\ntype PickupAddress {\n """\n PickupAddress address type.\n """\n addressType: String\n """\n PickupAddress receiver name.\n """\n receiverName: String\n """\n PickupAddress address id.\n """\n addressId: String\n """\n PickupAddress postal code.\n """\n postalCode: String\n """\n PickupAddress city.\n """\n city: String\n """\n PickupAddress state.\n """\n state: String\n """\n PickupAddress country.\n """\n country: String\n """\n PickupAddress street.\n """\n street: String\n """\n PickupAddress number.\n """\n number: String\n """\n PickupAddress neighborhood.\n """\n neighborhood: String\n """\n PickupAddress complement.\n """\n complement: String\n """\n PickupAddress reference.\n """\n reference: String\n """\n PickupAddress geo coordinates.\n """\n geoCoordinates: [Float]\n}\n\ntype MessageInfo {\n """\n MessageInfo code.\n """\n code: String\n """\n MessageInfo text.\n """\n text: String\n """\n MessageInfo status.\n """\n status: String\n """\n MessageInfo fields.\n """\n fields: MessageFields\n}\n\ntype MessageFields {\n """\n MessageFields item index.\n """\n itemIndex: String\n """\n MessageFields ean.\n """\n ean: String\n """\n MessageFields sku name.\n """\n skuName: String\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var an={kind:"Document",definitions:[{kind:"ObjectTypeDefinition",name:{kind:"Name",value:"SkuVariants"},interfaces:[],directives:[],fields:[{kind:"FieldDefinition",description:{kind:"StringValue",value:"SKU property values for the current SKU.",block:!0},name:{kind:"Name",value:"activeVariations"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"ActiveVariations"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"All available options for each SKU variant property, indexed by their name.",block:!0},name:{kind:"Name",value:"allVariantsByName"},arguments:[],type:{kind:"NamedType",name:{kind:"Name",value:"VariantsByName"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Maps property value combinations to their respective SKU's slug. Enables\nus to retrieve the slug for the SKU that matches the currently selected\nvariations in O(1) time.\nIf `dominantVariantName` is not present, the first variant will be \nconsidered the dominant one.",block:!0},name:{kind:"Name",value:"slugsMap"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"dominantVariantName"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"SlugsMap"}},directives:[]},{kind:"FieldDefinition",description:{kind:"StringValue",value:"Available options for each varying SKU property, taking into account the\n`dominantVariantName` property. Returns all available options for the\ndominant property, and only options that can be combined with its current\nvalue for other properties.\nIf `dominantVariantName` is not present, the first variant will be \nconsidered the dominant one.",block:!0},name:{kind:"Name",value:"availableVariations"},arguments:[{kind:"InputValueDefinition",name:{kind:"Name",value:"dominantVariantName"},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],type:{kind:"NamedType",name:{kind:"Name",value:"FormattedVariants"}},directives:[]}]},{kind:"ScalarTypeDefinition",description:{kind:"StringValue",value:"Example:\n\n```json\n{\n 'Color-Red-Size-40': 'classic-shoes-37'\n}\n```",block:!0},name:{kind:"Name",value:"SlugsMap"},directives:[]},{kind:"ScalarTypeDefinition",description:{kind:"StringValue",value:"Example:\n\n```json\n{\n Color: 'Red', Size: '42'\n}\n```",block:!0},name:{kind:"Name",value:"ActiveVariations"},directives:[]},{kind:"ScalarTypeDefinition",description:{kind:"StringValue",value:'Example:\n\n```json\n{\n Color: [ "Red", "Blue", "Green" ],\n Size: [ "40", "41" ]\n}\n```',block:!0},name:{kind:"Name",value:"VariantsByName"},directives:[]},{kind:"ScalarTypeDefinition",description:{kind:"StringValue",value:'Example:\n\n```json\n{\n Color: [\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n },\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n }\n ],\n Size: [\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n }\n ]\n}\n```',block:!0},name:{kind:"Name",value:"FormattedVariants"},directives:[]}],loc:{start:0,end:1776}};an.loc.source={body:'type SkuVariants {\n """\n SKU property values for the current SKU.\n """\n activeVariations: ActiveVariations\n """\n All available options for each SKU variant property, indexed by their name.\n """\n allVariantsByName: VariantsByName\n """\n Maps property value combinations to their respective SKU\'s slug. Enables\n us to retrieve the slug for the SKU that matches the currently selected\n variations in O(1) time.\n If `dominantVariantName` is not present, the first variant will be \n considered the dominant one.\n """\n slugsMap(dominantVariantName: String): SlugsMap\n """\n Available options for each varying SKU property, taking into account the\n `dominantVariantName` property. Returns all available options for the\n dominant property, and only options that can be combined with its current\n value for other properties.\n If `dominantVariantName` is not present, the first variant will be \n considered the dominant one.\n """\n availableVariations(dominantVariantName: String): FormattedVariants\n}\n\n"""\nExample:\n\n```json\n{\n \'Color-Red-Size-40\': \'classic-shoes-37\'\n}\n```\n"""\nscalar SlugsMap\n"""\nExample:\n\n```json\n{\n Color: \'Red\', Size: \'42\'\n}\n```\n"""\nscalar ActiveVariations\n"""\nExample:\n\n```json\n{\n Color: [ "Red", "Blue", "Green" ],\n Size: [ "40", "41" ]\n}\n```\n"""\nscalar VariantsByName\n"""\nExample:\n\n```json\n{\n Color: [\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n },\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n }\n ],\n Size: [\n {\n src: "https://storecomponents.vtexassets.com/...",\n alt: "...",\n label: "...",\n value: "..."\n }\n ]\n}\n```\n"""\nscalar FormattedVariants\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var rn={kind:"Document",definitions:[{kind:"EnumTypeDefinition",description:{kind:"StringValue",value:"Status used to indicate a message type. For instance, a shopping cart informative or error message.",block:!0},name:{kind:"Name",value:"StoreStatus"},directives:[],values:[{kind:"EnumValueDefinition",name:{kind:"Name",value:"INFO"},directives:[]},{kind:"EnumValueDefinition",name:{kind:"Name",value:"WARNING"},directives:[]},{kind:"EnumValueDefinition",name:{kind:"Name",value:"ERROR"},directives:[]}]}],loc:{start:0,end:154}};rn.loc.source={body:'"""\nStatus used to indicate a message type. For instance, a shopping cart informative or error message.\n"""\nenum StoreStatus {\n INFO\n WARNING\n ERROR\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};const on=[He,_e,Pe,Re,xe,Ue,qe,je,We,Xe,en,Ge,Le,Ze,Ee,Ye,Ke,Ae,ze,Me,rn,Je,Qe,$e,nn,Be,an,tn].map(d.print).join("\n"),ln=(e,n)=>"number"==typeof e&&"number"==typeof n?e>n?n:e:"number"==typeof e?e:n,dn={typeDefs:"directive @cacheControl(sMaxAge: Int, staleWhileRevalidate: Int, scope: String) on FIELD_DEFINITION",transformer:e=>u.mapSchema(e,{[u.MapperKind.OBJECT_FIELD]:n=>{var i;const t=null==(i=u.getDirective(e,n,"cacheControl"))?void 0:i[0];if(t){const{sMaxAge:e,staleWhileRevalidate:i,scope:a}=t,r=n.resolve;n.resolve=(n,t,o,l)=>{var d,s,u,c,m;return o.cacheControl={sMaxAge:ln(null==(d=o.cacheControl)?void 0:d.sMaxAge,e),staleWhileRevalidate:ln(null==(s=o.cacheControl)?void 0:s.staleWhileRevalidate,i),scope:(c=null==(u=o.cacheControl)?void 0:u.scope,m=a,"string"==typeof c&&"string"==typeof m?"public"===c&&"public"===m?"public":"private":c||m)},null==r?void 0:r(n,t,o,l)}}return n}})};var sn;!function(e){e.EXECUTION_ERROR="graphql.error",e.EXECUTION_RESULT="graphql.result",e.RESOLVER_EXECUTION_ERROR="graphql.resolver.error",e.RESOLVER_EXCEPTION="graphql.resolver.exception",e.RESOLVER_FIELD_NAME="graphql.resolver.fieldName",e.RESOLVER_TYPE_NAME="graphql.resolver.typeName",e.RESOLVER_RESULT_TYPE="graphql.resolver.resultType",e.RESOLVER_ARGS="graphql.resolver.args",e.EXECUTION_OPERATION_NAME="graphql.operation.name",e.EXECUTION_OPERATION_TYPE="graphql.operation.type",e.EXECUTION_OPERATION_DOCUMENT="graphql.document",e.EXECUTION_VARIABLES="graphql.variables"}(sn||(sn={}));const un=Symbol("OPEN_TELEMETRY_GRAPHQL");function cn(e){const n=[];let i=0===n.length&&Number.isInteger(e.key)?e.prev:e;for(;i;)n.push(i.key),i=i.prev;return[...n].reverse().join(".")}const mn={vtex:{getResolvers:e=>Oe,getContextFactory:e=>n=>{var i;return n.storage={channel:H.parse(e.channel),flags:null!=(i=e.flags)?i:{},locale:e.locale},n.clients=((e,n)=>({search:T(e,n),commerce:(({account:e,environment:n,incrementAddress:i},t)=>{const a=`https://${e}.${n}.com.br`;return{catalog:{salesChannel:e=>S(`${a}/api/catalog_system/pub/saleschannel/${e}`),brand:{list:()=>S(a+"/api/catalog_system/pub/brand/list")},category:{tree:(e=3)=>S(`${a}/api/catalog_system/pub/category/tree/${e}`)},portal:{pagetype:e=>S(`${a}/api/catalog_system/pub/portal/pagetype/${e}`)},products:{crossselling:({type:e,productId:n,groupByProduct:i=!0})=>{const r=new URLSearchParams({sc:t.storage.channel.salesChannel,groupByProduct:i.toString()});return S(`${a}/api/catalog_system/pub/products/crossselling/${e}/${n}?${r}`)}}},checkout:{simulation:(e,{salesChannel:n}=t.storage.channel)=>{const i=new URLSearchParams({sc:n});return S(`${a}/api/checkout/pub/orderForms/simulation?${i.toString()}`,{...h,body:JSON.stringify(e)})},shippingData:({id:e,index:n,deliveryMode:r,selectedAddresses:o},l)=>{var d,s;const u=l?{startDateUtc:null==r||null==(d=r.deliveryWindow)?void 0:d.startDate,endDateUtc:null==r||null==(s=r.deliveryWindow)?void 0:s.endDate}:null,c={logisticsInfo:Array.from({length:n},(e,n)=>({itemIndex:n,selectedDeliveryChannel:(null==r?void 0:r.deliveryChannel)||null,selectedSla:(null==r?void 0:r.deliveryMethod)||null,deliveryWindow:u})),selectedAddresses:o,clearAddressIfPostalCodeNotFound:i};return S(`${a}/api/checkout/pub/orderForm/${e}/attachments/shippingData`,{...h,body:JSON.stringify(c),headers:{"content-type":"application/json",cookie:t.headers.cookie}})},orderForm:({id:e,refreshOutdatedData:n=!0,channel:i=t.storage.channel})=>{const{salesChannel:r}=i,o=new URLSearchParams({refreshOutdatedData:n.toString(),sc:r}),l=t.headers?{...h,headers:{"content-type":"application/json",cookie:t.headers.cookie}}:h;return S(`${a}/api/checkout/pub/orderForm/${e}?${o.toString()}`,l)},clearOrderFormMessages:({id:e})=>S(`${a}/api/checkout/pub/orderForm/${e}/messages/clear`,{...h,body:"{}"}),updateOrderFormItems:({id:e,orderItems:n,allowOutdatedData:i="paymentData",salesChannel:r=t.storage.channel.salesChannel,shouldSplitItem:o=!0})=>{const l=new URLSearchParams({allowOutdatedData:i,sc:r}),d=JSON.stringify({orderItems:n,noSplitItem:!o});return S(`${a}/api/checkout/pub/orderForm/${e}/items?${l}`,t.headers?{headers:{"content-type":"application/json",cookie:t.headers.cookie},body:d,method:"PATCH"}:{headers:{"content-type":"application/json"},body:d,method:"PATCH"})},setCustomData:({id:e,appId:n,key:i,value:t})=>S(`${a}/api/checkout/pub/orderForm/${e}/customData/${n}/${i}`,{...h,body:JSON.stringify({value:t}),method:"PUT"}),region:async({postalCode:e,geoCoordinates:n,country:i,salesChannel:t})=>{const r=new URLSearchParams({country:i,sc:null!=t?t:""});e?r.append("postalCode",e):r.append("geoCoordinates",`${null==n?void 0:n.longitude};${null==n?void 0:n.latitude}`);const o=`${a}/api/checkout/pub/regions/?${r.toString()}`;return S(o)},address:async({postalCode:e,country:n})=>S(`${a}/api/checkout/pub/postal-code/${n}/${e}`)},session:e=>{const n=new URLSearchParams(e);return n.set("items","profile.id,profile.email,profile.firstName,profile.lastName,store.channel,store.countryCode,store.cultureInfo,store.currencyCode,store.currencySymbol"),S(`${a}/api/sessions?${n.toString()}`,{method:"POST",headers:{"content-type":"application/json",cookie:t.headers.cookie},body:"{}"})},subscribeToNewsletter:e=>S(a+"/api/dataentities/NL/documents/",{...h,body:JSON.stringify({...e,isNewsletterOptIn:!0}),method:"PATCH"})}})(e,n),sp:(({account:e},n)=>{const i=`https://sp.vtex.com/event-api/v1/${e}/event`;return{sendEvent:e=>S(i,{method:"POST",body:JSON.stringify({...e,agent:"@faststore/api",anonymous:I.anonymous(),session:I.session()}),headers:{"content-type":"application/json"}})}})(e)}))(e,n),n.loaders=((e,{clients:n})=>({skuLoader:((e,n)=>new t(async e=>{const{products:i}=await n.search.products({query:"sku:"+e.join(";"),page:0,count:e.length}),t=i.reduce((e,n)=>{for(const i of n.items)e[i.itemId]=F(i,n);return e},{}),a=e.map(e=>t[e]),r=e.filter(e=>!t[e]);if(r.length>0)throw new P("Search API did not found the following skus: "+r.join(","));return a},{maxBatchSize:99}))(0,n),simulationLoader:((e,n)=>{const i=a(1),r=async e=>{const i=e.reduce((e,{items:n})=>[...e,n],[]),t=[...i.flat()],a=await n.commerce.checkout.simulation({country:e[0].country,postalCode:e[0].postalCode,items:t}),r=a.items.reduce((e,n)=>{const i=n.requestIndex;return"number"==typeof i&&i<e.length&&(e[i]=n),e},Array(t.length).fill(null)),o=i.reduce((e,n)=>[...e,n.length+e[e.length-1]],[0]);return i.map((e,n)=>({...a,items:r.slice(o[n],o[n+1]).filter(e=>Boolean(e))}))};return new t(async e=>i(r,e),{maxBatchSize:50})})(0,n),collectionLoader:((e,n)=>{const i=a(20);return new t(async e=>Promise.all(e.map(e=>i(async()=>{const i=await n.commerce.catalog.portal.pagetype(e);if(L(i))return i;throw new P(`Catalog returned ${i.pageType} for slug: ${e}. This usually happens when there is more than one category with the same name in the same category tree level.`)}))),{batch:!1})})(0,n),salesChannelLoader:((e,n)=>new t(async e=>Promise.all(e.map(e=>n.commerce.catalog.salesChannel(e)))))(0,n)}))(0,n),n}}},pn=[dn],kn=()=>[on,...pn.map(e=>e.typeDefs)],vn=e=>mn[e.platform].getResolvers(e);__webpack_unused_export__=O,__webpack_unused_export__=P,exports.getContextFactory=e=>mn[e.platform].getContextFactory(e),exports.getResolvers=vn,__webpack_unused_export__=async e=>{const i=n.makeExecutableSchema({resolvers:vn(e),typeDefs:kn()});return pn.reduce((e,n)=>n.transformer(e),i)},__webpack_unused_export__=function(e,n){var i;const t={url:"dev"===(null==n?void 0:n.mode)?"opentelemetry-collector-beta.vtex.systems":"opentelemetry-collector.vtex.systems"},a=new c.BasicTracerProvider({resource:new m.Resource({"service.name":"faststore-api","service.version":"2.2.36","service.name_and_version":"faststore-api@2.2.36",platform:e.platform,[e.platform+".account"]:e.account,[e.platform+".environment"]:e.environment,locale:e.locale})}),r=new k.LoggerProvider,o=new p.OTLPTraceExporter(t),l=new v.OTLPLogsExporter({url:"opentelemetry-collector.vtex.systems"}),s=new c.SimpleSpanProcessor(o),u=new k.SimpleLogRecordProcessor(l);if(a.addSpanProcessor(s),r.addLogRecordProcessor(u),"verbose"===(null==n?void 0:n.mode)||"dev"===(null==n?void 0:n.mode)){const e=new c.ConsoleSpanExporter,n=new c.SimpleSpanProcessor(e),i=new k.ConsoleLogRecordExporter,t=new k.SimpleLogRecordProcessor(i);a.addSpanProcessor(n),r.addLogRecordProcessor(t)}return{useFaststoreTelemetry:((e,n,i,t)=>function(){const i=e.getTracer("faststore-api"),a=n.getLogger("faststore-api"),r={};return{onPluginInit({addPlugin:e}){e(y.useOnResolve(({info:e,context:n})=>{if(n&&"object"==typeof n&&n[un]){var t,a;i.getActiveSpanProcessor();const l=n[un].spanContext().spanId,{fieldName:d,returnType:s,parentType:u,path:c}=e,m=c.prev&&cn(c.prev);let p=null;var o;m&&r[l][m]?p=r[l][m]:(p=f.trace.setSpan(f.context.active(),n[un]),r[l]=null!=(o=r[l])?o:{});const k=Number.isInteger(null==(t=c.prev)?void 0:t.key)?`[${null==(a=c.prev)?void 0:a.key}]`:"",v=i.startSpan(`${u.toString()}.${d}${k}`,{attributes:{[sn.RESOLVER_FIELD_NAME]:d,[sn.RESOLVER_TYPE_NAME]:u.toString(),[sn.RESOLVER_RESULT_TYPE]:s.toString(),"meta.span.path":cn(c)}},p),g=f.trace.setSpan(p,v);return r[l][cn(c)]=g,({result:e})=>{e instanceof Error&&(v.setAttributes({error:!0,"exception.category":sn.RESOLVER_EXECUTION_ERROR,"exception.message":e.message,"exception.type":e.name}),v.recordException(e)),v.end()}}return()=>{}}))},onExecute({args:e,extendContext:n}){var r,o;const l=null==(r=e.document.definitions.filter(e=>e.kind===d.Kind.OPERATION_DEFINITION).map(e=>e.operation))?void 0:r[0];let s="GraphQL Operation";l&&e.operationName?s=`${l} ${e.operationName}`:l&&!e.operationName&&(s=l);const u=i.startSpan(s,{kind:f.SpanKind.SERVER,attributes:{[sn.EXECUTION_OPERATION_NAME]:null!=(o=e.operationName)?o:void 0,[sn.EXECUTION_OPERATION_TYPE]:null!=l?l:void 0,[sn.EXECUTION_OPERATION_DOCUMENT]:d.print(e.document)}}),c=f.context.active(),m={onExecuteDone({result:n}){var i,r;if(g.isAsyncIterable(n))return u.end(),void console.warn('Plugin "newrelic" encountered a AsyncIterator which is not supported yet, so tracing data is not available for the operation.');const o={context:c,attributes:{"service.name":"faststore-api","service.version":"1.12.38","service.name_and_version":"faststore-api@1.12.38","vtex.search_index":"faststore_beta_api",[sn.EXECUTION_OPERATION_NAME]:null!=(i=e.operationName)?i:void 0,[sn.EXECUTION_OPERATION_DOCUMENT]:d.print(e.document),[sn.EXECUTION_VARIABLES]:JSON.stringify(null!=(r=e.variableValues)?r:{})}};void 0===n.data||n.errors&&n.errors.length>0||(o.severityNumber=N.SeverityNumber.INFO,o.severityText="Info",o.attributes[sn.EXECUTION_RESULT]=JSON.stringify(n)),n.errors&&n.errors.length>0&&(o.severityNumber=N.SeverityNumber.ERROR,o.severityText="Error",o.attributes[sn.EXECUTION_ERROR]=JSON.stringify(n.errors),u.setAttributes({error:!0,"exception.category":sn.EXECUTION_ERROR,"exception.message":JSON.stringify(n.errors)})),t&&a.emit(o),u.end()}};return n({[un]:u}),m}}})(a,r,0,null!=(i=null==n?void 0:n.experimentalSendLogs)&&i)}},__webpack_unused_export__=kn,__webpack_unused_export__=e=>{var n;return"BadRequestError"===(null==e||null==(n=e.extensions)?void 0:n.type)},exports.isFastStoreError=e=>"FastStoreError"===(null==e?void 0:e.name),__webpack_unused_export__=e=>{var n;return"NotFoundError"===(null==e||null==(n=e.extensions)?void 0:n.type)},exports.stringifyCacheControl=({scope:e="private",sMaxAge:n=0,staleWhileRevalidate:i=0})=>`${e}, s-maxage=${n}, stale-while-revalidate=${i}`;
|
|
181
181
|
//# sourceMappingURL=api.cjs.production.min.js.map
|
|
182
182
|
|
|
183
183
|
|