enqueueScripts([function(){ (window.webpackJsonpvtex_store_resources_0_101_2=window.webpackJsonpvtex_store_resources_0_101_2||[]).push([["QuerySuggestionProducts"],{115:function(e,n,i){"use strict";i.r(n),function(e){var n=i(0);i.p=Object(n.getPublicPath)("vtex.store-resources@0.101.2");var a=Object(n.register)((function(){return i(116)}),e,"vtex.store-resources@0.101.2","vtex.store-resources@0.x","QuerySuggestionProducts");a.renderHotReload,a.setupHMR}.call(this,i(2)(e))},116:function(e,n,i){"use strict";i.r(n);var a=i(44),t=i.n(a);n.default=t.a},44:function(e,n){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ProductFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Product"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.101.2",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"advertisement"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"adResponseId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"adRequestId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"cacheId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productReference"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"linkText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brand"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brandId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categories"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categoryId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"releaseDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceRange"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sellingPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"highPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lowPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"listPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"highPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lowPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"specificationGroups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specifications"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"skuSpecifications"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"productClusters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"clusterHighlights"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ItemFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SKU"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.101.2",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"itemId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nameComplete"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"complementName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ean"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"variations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"referenceId"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"measurementUnit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unitMultiplier"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cacheId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageLabel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageTag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SellerFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Seller"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.101.2",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sellerId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellerName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellerDefault"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CommertialOfferFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Offer"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.101.2",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"discountHighlights"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"teasers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"conditions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"minimumQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parameters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"effects"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"parameters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"Price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ListPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Tax"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxPercentage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"spotPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PriceWithoutDiscount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"RewardValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PriceValidUntil"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"AvailableQuantity"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"InstallmentFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Installment"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.101.2",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"InterestRate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"TotalValuePlusInterestRate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"NumberOfInstallments"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PaymentSystemName"},arguments:[],directives:[]}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"productSuggestions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fullText"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"facetKey"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"facetValue"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productOriginVtex"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"simulationBehavior"}},type:{kind:"NamedType",name:{kind:"Name",value:"SimulationBehavior"}},defaultValue:{kind:"EnumValue",value:"default"},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hideUnavailableItems"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"count"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shippingOptions"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"variant"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"advertisementOptions"}},type:{kind:"NamedType",name:{kind:"Name",value:"AdvertisementOptions"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.101.2",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productSuggestions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fullText"},value:{kind:"Variable",name:{kind:"Name",value:"fullText"}}},{kind:"Argument",name:{kind:"Name",value:"facetKey"},value:{kind:"Variable",name:{kind:"Name",value:"facetKey"}}},{kind:"Argument",name:{kind:"Name",value:"facetValue"},value:{kind:"Variable",name:{kind:"Name",value:"facetValue"}}},{kind:"Argument",name:{kind:"Name",value:"productOriginVtex"},value:{kind:"Variable",name:{kind:"Name",value:"productOriginVtex"}}},{kind:"Argument",name:{kind:"Name",value:"simulationBehavior"},value:{kind:"Variable",name:{kind:"Name",value:"simulationBehavior"}}},{kind:"Argument",name:{kind:"Name",value:"hideUnavailableItems"},value:{kind:"Variable",name:{kind:"Name",value:"hideUnavailableItems"}}},{kind:"Argument",name:{kind:"Name",value:"orderBy"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}},{kind:"Argument",name:{kind:"Name",value:"count"},value:{kind:"Variable",name:{kind:"Name",value:"count"}}},{kind:"Argument",name:{kind:"Name",value:"shippingOptions"},value:{kind:"Variable",name:{kind:"Name",value:"shippingOptions"}}},{kind:"Argument",name:{kind:"Name",value:"variant"},value:{kind:"Variable",name:{kind:"Name",value:"variant"}}},{kind:"Argument",name:{kind:"Name",value:"advertisementOptions"},value:{kind:"Variable",name:{kind:"Name",value:"advertisementOptions"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"StringValue",value:"vtex.search-graphql",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"0ef2c56d9518b51f912c2305ac4b07851c265b645dcbece6843c568bb91d39ff",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"misspelled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"operator"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"products"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ProductFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ItemFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"sellers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SellerFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"commertialOffer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CommertialOfferFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"Installments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InstallmentFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"selectedProperties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"rule"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:3725}};i.loc.source={body:'fragment ProductFragment on Product @context(sender: "vtex.store-resources@0.101.2") {\n advertisement {\n adId\n adResponseId\n adRequestId\n __typename\n }\n cacheId\n productId\n description\n productName\n productReference\n linkText\n brand\n brandId\n link\n categories\n categoryId\n releaseDate\n priceRange {\n sellingPrice {\n highPrice\n lowPrice\n __typename\n }\n listPrice {\n highPrice\n lowPrice\n __typename\n }\n __typename\n }\n specificationGroups {\n name\n originalName\n specifications {\n name\n originalName\n values\n __typename\n }\n __typename\n }\n skuSpecifications {\n field {\n name\n originalName\n __typename\n }\n values {\n name\n originalName\n __typename\n }\n __typename\n }\n productClusters {\n id\n name\n __typename\n }\n clusterHighlights {\n id\n name\n __typename\n }\n properties {\n name\n values\n __typename\n }\n}\n\nfragment ItemFragment on SKU @context(sender: "vtex.store-resources@0.101.2") {\n itemId\n name\n nameComplete\n complementName\n ean\n variations {\n name\n values\n __typename\n }\n referenceId {\n Key\n Value\n __typename\n }\n measurementUnit\n unitMultiplier\n images {\n cacheId\n imageId\n imageLabel\n imageTag\n imageUrl\n imageText\n __typename\n }\n}\n\nfragment SellerFragment on Seller @context(sender: "vtex.store-resources@0.101.2") {\n sellerId\n sellerName\n sellerDefault\n}\n\nfragment CommertialOfferFragment on Offer @context(sender: "vtex.store-resources@0.101.2") {\n discountHighlights {\n name\n __typename\n }\n teasers {\n name\n conditions {\n minimumQuantity\n parameters {\n name\n value\n __typename\n }\n __typename\n }\n effects {\n parameters {\n name\n value\n __typename\n }\n __typename\n }\n __typename\n }\n Price\n ListPrice\n Tax\n taxPercentage\n spotPrice\n PriceWithoutDiscount\n RewardValue\n PriceValidUntil\n AvailableQuantity\n}\n\nfragment InstallmentFragment on Installment @context(sender: "vtex.store-resources@0.101.2") {\n Value\n InterestRate\n TotalValuePlusInterestRate\n NumberOfInstallments\n Name\n PaymentSystemName\n}\n\nquery productSuggestions($fullText: String!, $facetKey: String, $facetValue: String, $productOriginVtex: Boolean = false, $simulationBehavior: SimulationBehavior = default, $hideUnavailableItems: Boolean = false, $orderBy: String, $count: Int, $shippingOptions: [String], $variant: String, $advertisementOptions: AdvertisementOptions) @context(sender: "vtex.store-resources@0.101.2") {\n productSuggestions(fullText: $fullText, facetKey: $facetKey, facetValue: $facetValue, productOriginVtex: $productOriginVtex, simulationBehavior: $simulationBehavior, hideUnavailableItems: $hideUnavailableItems, orderBy: $orderBy, count: $count, shippingOptions: $shippingOptions, variant: $variant, advertisementOptions: $advertisementOptions) @context(provider: "vtex.search-graphql") @runtimeMeta(hash: "0ef2c56d9518b51f912c2305ac4b07851c265b645dcbece6843c568bb91d39ff") {\n count\n misspelled\n operator\n products {\n ...ProductFragment\n items {\n ...ItemFragment\n sellers {\n ...SellerFragment\n commertialOffer {\n ...CommertialOfferFragment\n Installments {\n ...InstallmentFragment\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n selectedProperties {\n key\n value\n __typename\n }\n rule {\n id\n __typename\n }\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}i.definitions.forEach((function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach((function(n){e(n,i)})),n.variableDefinitions&&n.variableDefinitions.forEach((function(n){e(n,i)})),n.definitions&&n.definitions.forEach((function(n){e(n,i)}))}(e,n),a[e.name.value]=n}})),e.exports=i,e.exports.productSuggestions=function(e,n){var i={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var d=a[n]||new Set,m=new Set,l=new Set;for(d.forEach((function(e){l.add(e)}));l.size>0;){var r=l;l=new Set,r.forEach((function(e){m.has(e)||(m.add(e),(a[e]||new Set).forEach((function(e){l.add(e)})))}))}return m.forEach((function(n){var a=t(e,n);a&&i.definitions.push(a)})),i}(i,"productSuggestions")}},[[115,"common"]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_101_2=window.webpackJsonpvtex_store_resources_0_101_2||[]).push([["QueryTopSearches"],{117:function(e,n,a){"use strict";a.r(n),function(e){var n=a(0);a.p=Object(n.getPublicPath)("vtex.store-resources@0.101.2");var i=Object(n.register)((function(){return a(118)}),e,"vtex.store-resources@0.101.2","vtex.store-resources@0.x","QueryTopSearches");i.renderHotReload,i.setupHMR}.call(this,a(2)(e))},118:function(e,n,a){"use strict";a.r(n);var i=a(45),t=a.n(i);n.default=t.a},45:function(e,n){var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"topSearches"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchState"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.101.2",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"topSearches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"searchState"},value:{kind:"Variable",name:{kind:"Name",value:"searchState"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"StringValue",value:"vtex.search-graphql",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"6559a13bfe6ab36f5942860853643378e3d476cf2e78ceacf0d3955435efb4b4",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"searches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"term"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:333}};a.loc.source={body:'query topSearches($searchState: String) @context(sender: "vtex.store-resources@0.101.2") {\n topSearches(searchState: $searchState) @context(provider: "vtex.search-graphql") @runtimeMeta(hash: "6559a13bfe6ab36f5942860853643378e3d476cf2e78ceacf0d3955435efb4b4") {\n searches {\n term\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var a=0;a<e.definitions.length;a++){var i=e.definitions[a];if(i.name&&i.name.value==n)return i}}a.definitions.forEach((function(e){if(e.name){var n=new Set;!function e(n,a){if("FragmentSpread"===n.kind)a.add(n.name.value);else if("VariableDefinition"===n.kind){var i=n.type;"NamedType"===i.kind&&a.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach((function(n){e(n,a)})),n.variableDefinitions&&n.variableDefinitions.forEach((function(n){e(n,a)})),n.definitions&&n.definitions.forEach((function(n){e(n,a)}))}(e,n),i[e.name.value]=n}})),e.exports=a,e.exports.topSearches=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=i[n]||new Set,o=new Set,s=new Set;for(r.forEach((function(e){s.add(e)}));s.size>0;){var c=s;s=new Set,c.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){s.add(e)})))}))}return o.forEach((function(n){var i=t(e,n);i&&a.definitions.push(i)})),a}(a,"topSearches")}},[[117,"common"]]]); },function(){ !function(e){function t(t){for(var n,u,c=t[0],a=t[1],l=t[2],f=0,s=[];f<c.length;f++)u=c[f],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(d&&d(t);s.length;)s.shift()();return i.push.apply(i,l||[]),r()}function r(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,c=1;c<r.length;c++){var a=r[c];0!==o[a]&&(n=!1)}n&&(i.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={common:0},i=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="";var c=window.webpackJsonpvtex_product_list_context_0_4_1=window.webpackJsonpvtex_product_list_context_0_4_1||[],a=c.push.bind(c);c.push=t,c=c.slice();for(var l=0;l<c.length;l++)t(c[l]);var d=a;r()}([,function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(n=(u=c.next()).done)&&(r.push(u.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(t,"a",(function(){return o}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicPath=t.register=void 0;var n="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},t.register=function(e,t,r,i,u){var c="".concat(r,"/").concat(u),a="".concat(i,"/").concat(u),l=function(){return function(e,t){try{var r=e();return r.__esModule?r.default:r.default||r}catch(e){throw new Error("An error happened while requiring the app ".concat(t,", please check your app's code.\\n").concat(e.stack))}}(e,c)};if(window[n]&&window[n].registerComponent){var d=!!window.__RENDER_LAZY__;window[n].registerComponent(t,d?l:l(),r,u,d)}else{var f=l();window[n]&&window[n].withHMR?window[o][c]=window[o][a]=window[n].withHMR(t,f):window[o][c]=window[o][a]=f}return{}},t.getPublicPath=function(e){var t=window.__hostname__,r="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(t=__RUNTIME__.assetServerPublishedHost||window.location.hostname,r=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+t+r+"".concat(e,"/public/react/")}},,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}}]); },function(){ (window.webpackJsonpvtex_product_list_context_0_4_1=window.webpackJsonpvtex_product_list_context_0_4_1||[]).push([["ProductListContext"],[function(t,e){t.exports=React},,,function(t,e,n){"use strict";n.r(e);var s=n(1),r=n(0),i=n.n(r),o={nextImpressions:[],sentIds:new Map},c=Object(r.createContext)(o),a=Object(r.createContext)((function(t){console.error("error in dispatch ",t)}));function u(t,e){var n,s;switch(e.type){case"SEND_IMPRESSION":var r=e.args,i=r.product,o=r.position,c=void 0===o?0:o,a=t.nextImpressions;if(t.sentIds.has(i.productId))return t;var u=t.sentIds.size+1;t.sentIds.set(i.productId,{position:u});var d=null!==(s=null===(n=t.nextImpressions[0])||void 0===n?void 0:n.impressionIndex)&&void 0!==s?s:u;return a=t.nextImpressions.concat({product:i,impressionIndex:u,originalIndex:c}).sort((function(t,e){return t.originalIndex-e.originalIndex})).map((function(t,e){return Object.assign(Object.assign({},t),{impressionIndex:d+e})})),Object.assign(Object.assign({},t),{nextImpressions:a});case"RESET_NEXT_IMPRESSIONS":return Object.assign(Object.assign({},t),{nextImpressions:[]});case"SET_LIST_NAME":return e.args.listName!==t.listName?Object.assign(Object.assign({},t),{listName:e.args.listName,sentIds:new Map}):t;default:throw new Error("Unhandled action type on product-list-context")}}var d={nextImpressions:[],sentIds:new Map};e.default={ProductListProvider:function(t){var e=t.children,n=t.listName,o=Object(r.useReducer)(u,d),p=Object(s.a)(o,2),l=p[0],x=p[1];return Object(r.useEffect)((function(){x({type:"SET_LIST_NAME",args:{listName:n}})}),[n]),i.a.createElement(c.Provider,{value:l},i.a.createElement(a.Provider,{value:x},e))},useProductListState:function(){return Object(r.useContext)(c)},useProductListDispatch:function(){return Object(r.useContext)(a)}}},,,,function(t,e,n){"use strict";n.r(e),function(t){var e=n(2);n.p=Object(e.getPublicPath)("vtex.product-list-context@0.4.1");var s=Object(e.register)((function(){return n(3)}),t,"vtex.product-list-context@0.4.1","vtex.product-list-context@0.x","ProductListContext");s.renderHotReload,s.setupHMR}.call(this,n(4)(t))}],[[7,"common"]]]); },function(){ (window.webpackJsonpvtex_product_list_context_0_4_1=window.webpackJsonpvtex_product_list_context_0_4_1||[]).push([["useProductImpression"],[function(e,t){e.exports=React},,,function(e,t,n){"use strict";n.r(t);var s=n(1),i=n(0),r=n.n(i),o={nextImpressions:[],sentIds:new Map},c=Object(i.createContext)(o),a=Object(i.createContext)((function(e){console.error("error in dispatch ",e)}));function u(e,t){var n,s;switch(t.type){case"SEND_IMPRESSION":var i=t.args,r=i.product,o=i.position,c=void 0===o?0:o,a=e.nextImpressions;if(e.sentIds.has(r.productId))return e;var u=e.sentIds.size+1;e.sentIds.set(r.productId,{position:u});var l=null!==(s=null===(n=e.nextImpressions[0])||void 0===n?void 0:n.impressionIndex)&&void 0!==s?s:u;return a=e.nextImpressions.concat({product:r,impressionIndex:u,originalIndex:c}).sort((function(e,t){return e.originalIndex-t.originalIndex})).map((function(e,t){return Object.assign(Object.assign({},e),{impressionIndex:l+t})})),Object.assign(Object.assign({},e),{nextImpressions:a});case"RESET_NEXT_IMPRESSIONS":return Object.assign(Object.assign({},e),{nextImpressions:[]});case"SET_LIST_NAME":return t.args.listName!==e.listName?Object.assign(Object.assign({},e),{listName:t.args.listName,sentIds:new Map}):e;default:throw new Error("Unhandled action type on product-list-context")}}var l={nextImpressions:[],sentIds:new Map};t.default={ProductListProvider:function(e){var t=e.children,n=e.listName,o=Object(i.useReducer)(u,l),d=Object(s.a)(o,2),p=d[0],f=d[1];return Object(i.useEffect)((function(){f({type:"SET_LIST_NAME",args:{listName:n}})}),[n]),r.a.createElement(c.Provider,{value:p},r.a.createElement(a.Provider,{value:f},t))},useProductListState:function(){return Object(i.useContext)(c)},useProductListDispatch:function(){return Object(i.useContext)(a)}}},,function(e,t){function n(e,t,n){var s,i,r,o,c;function a(){var u=Date.now()-o;u<t&&u>=0?s=setTimeout(a,t-u):(s=null,n||(c=e.apply(r,i),r=i=null))}null==t&&(t=100);var u=function(){r=this,i=arguments,o=Date.now();var u=n&&!s;return s||(s=setTimeout(a,t)),u&&(c=e.apply(r,i),r=i=null),c};return u.clear=function(){s&&(clearTimeout(s),s=null)},u.flush=function(){s&&(c=e.apply(r,i),r=i=null,clearTimeout(s),s=null)},u}n.debounce=n,e.exports=n},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/PixelContext"]},,function(e,t,n){"use strict";n.r(t),function(e){var t=n(2);n.p=Object(t.getPublicPath)("vtex.product-list-context@0.4.1");var s=Object(t.register)((function(){return n(9)}),e,"vtex.product-list-context@0.4.1","vtex.product-list-context@0.x","useProductImpression");s.renderHotReload,s.setupHMR}.call(this,n(4)(e))},function(e,t,n){"use strict";n.r(t);var s=n(0),i=n(5),r=n.n(i),o=n(6),c=n.n(o),a=n(3),u=n(1),l=/.+ids\/(\d+)/,d=/http:\/\//;function p(e,t,n){return e.includes("/arquivos/ids/")?"".concat(function(e){var t=l.exec(e);if(t&&t.length>0)return t[0]}(e),"-").concat(t,"-").concat(n):e}var f={imageUrl:"",imageLabel:""},m={Value:""},v={commertialOffer:{Price:0,ListPrice:0}};function x(e){return e.sellers.find((function(e){var t=e.commertialOffer;return(void 0===t?{}:t).AvailableQuantity>0}))}function I(e){var t,n,s,i=Object.assign({},e),r=i.items||[],o=r.find(x)||r[0];if(o){var c=null!==(t=null==o?void 0:o.sellers)&&void 0!==t?t:[],a=Object(u.a)(c,1)[0],l=void 0===a?v:a,I=null!==(n=o.referenceId)&&void 0!==n?n:[],b=Object(u.a)(I,1)[0],g=void 0===b?m:b,O=null!==(s=o.images)&&void 0!==s?s:[],h=Object(u.a)(O,1)[0],j=void 0===h?f:h,_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";if(e){"number"==typeof t&&(t=Math.min(t,3e3)),"number"==typeof n&&(n=Math.min(n,4e3));var s=p(e,t,n),i=s.includes("?")?"&":"?";return"".concat(s).concat(i,"width=").concat(t,"&height=").concat(n,"&aspect=true")}}(j.imageUrl.replace(d,"https://"),500),E=Object.assign(Object.assign({},j),{imageUrl:_});i.sku=Object.assign(Object.assign({},o),{seller:l,referenceId:g,image:E})}return i}var b=a.default.useProductListDispatch,g=a.default.useProductListState,O=function(e){var t=e.push,n=e.nextImpressions,s=e.dispatch,i=e.listName;!n||n.length<=0||(t({event:"productImpression",list:i||"List of products",impressions:n.filter(Boolean).map((function(e,t){var n=e.product,s=e.impressionIndex;return{product:I(n),position:null!=s?s:t}}))}),s({type:"RESET_NEXT_IMPRESSIONS"}))};t.default=function(){var e=g(),t=e.nextImpressions,n=e.listName,i=c.a.usePixel().push,o=b(),a=Object(s.useCallback)(r()(O,1e3,!1),[]);Object(s.useEffect)((function(){a({push:i,dispatch:o,listName:n,nextImpressions:t})}),[t,a,o,i,n])}}],[[8,"common"]]]); },function(){ !function(e){function t(t){for(var r,u,a=t[0],c=t[1],l=t[2],d=0,s=[];d<a.length;d++)u=a[d],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);for(f&&f(t);s.length;)s.shift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,a=1;a<n.length;a++){var c=n[a];0!==o[c]&&(r=!1)}r&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var r={},o={common:0},i=[];function u(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=e,u.c=r,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)u.d(n,r,function(t){return e[t]}.bind(null,r));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="";var a=window.webpackJsonpvtex_order_manager_0_12_0=window.webpackJsonpvtex_order_manager_0_12_0||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var f=c;n()}([,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicPath=t.register=void 0;var r="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},t.register=function(e,t,n,i,u){var a="".concat(n,"/").concat(u),c="".concat(i,"/").concat(u),l=function(){return function(e,t){try{var n=e();return n.__esModule?n.default:n.default||n}catch(e){throw new Error("An error happened while requiring the app ".concat(t,", please check your app's code.\\n").concat(e.stack))}}(e,a)};if(window[r]&&window[r].registerComponent){var f=!!window.__RENDER_LAZY__;window[r].registerComponent(t,f?l:l(),n,u,f)}else{var d=l();window[r]&&window[r].withHMR?window[o][a]=window[o][c]=window[r].withHMR(t,d):window[o][a]=window[o][c]=d}return{}},t.getPublicPath=function(e){var t=window.__hostname__,n="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(t=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+t+n+"".concat(e,"/public/react/")}},,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){e.exports=n(17)},,function(e,t,n){"use strict";function r(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var u=e.apply(t,n);function a(e){r(u,o,i,a,c,"next",e)}function c(e){r(u,o,i,a,c,"throw",e)}a(void 0)}))}}n.d(t,"a",(function(){return o}))},,,,,,function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,"a",(function(){return o}))}]); },function(){ (window.webpackJsonpvtex_order_manager_0_12_0=window.webpackJsonpvtex_order_manager_0_12_0||[]).push([[0],{1:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return M})),n.d(t,"d",(function(){return E})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return m}));var i=n(0),r=n.n(i);const s={cancel:Object.create(null),timeout:Object.create(null)},o="drained",a="error",l="timeout";function u(){}class c{constructor(e){var t,n;this.queue=[],this._isClosed=!1,this.waiters=[],e||(e={}),this.defaultTimeout=e.timeout,this.name=null!==(t=e.name)&&void 0!==t?t:"SequentialTaskQueue",this.scheduler=null!==(n=e.scheduler)&&void 0!==n?n:c.defaultScheduler}get isClosed(){return this._isClosed}push(e,t){if(this._isClosed)throw new Error(this.name+" has been previously closed");const n={callback:e,args:(null==t?void 0:t.args)?Array.isArray(t.args)?t.args.slice():[t.args]:[],timeout:void 0!==(null==t?void 0:t.timeout)?t.timeout:this.defaultTimeout,cancellationToken:{cancel:e=>this.cancelTask(n,e)},resolve:void 0,reject:void 0};n.args.push(n.cancellationToken),this.queue.push(n),this.scheduler.schedule(()=>this.next());const i=new Promise((e,t)=>{n.resolve=e,n.reject=t});return i.cancel=e=>n.cancellationToken.cancel(e),i}cancel(){this.currentTask&&this.cancelTask(this.currentTask,s.cancel);const e=this.queue.splice(0);return e.length&&(e.forEach(e=>this.cancelTask(e,s.cancel)),this.emit(o)),this.wait()}indexOf(e){var t;if((null===(t=this.currentTask)||void 0===t?void 0:t.callback)===e)return 0;const n=this.queue.filter(e=>{var t;return!(null===(t=e.cancellationToken)||void 0===t?void 0:t.cancelled)}).findIndex(t=>t.callback===e);return n<0?n:n+(void 0!==this.currentTask?1:0)}close(e){return!this._isClosed&&(this._isClosed=!0,e)?this.cancel():this.wait()}async wait(){return this.currentTask||0!==this.queue.length?new Promise(e=>{this.waiters.push(e)}):Promise.resolve()}on(e,t){var n;this.events=null!==(n=this.events)&&void 0!==n?n:{},(this.events[e]||(this.events[e]=[])).push(t)}once(e,t){const n=(...i)=>{this.removeListener(e,n),t.apply(this,i)};this.on(e,n)}removeListener(e,t){if(this.events){const n=this.events[e];if(n){let e=0;for(;e<n.length;)n[e]===t?n.splice(e,1):e++}}}off(e,t){return this.removeListener(e,t)}emit(e,...t){var n;if(null===(n=this.events)||void 0===n?void 0:n[e])try{this.events[e].forEach(e=>e.apply(this,t))}catch(t){console.error(`${this.name}: Exception in '${e}' event handler`,t)}}next(){if(!this.currentTask){let t=this.queue.shift();for(;null==t?void 0:t.cancellationToken.cancelled;)t=this.queue.shift();if(t)try{this.currentTask=t,t.timeout&&(t.timeoutHandle=setTimeout(()=>{this.emit(l),this.cancelTask(t,s.timeout)},t.timeout));const n=t.callback.apply(void 0,t.args);n&&((e=n)&&"function"==typeof e.then)?n.then(e=>{t.result=e,this.doneTask(t)},e=>{this.doneTask(t,e)}):(t.result=n,this.doneTask(t))}catch(e){this.doneTask(t,e)}else this.callWaiters()}var e}cancelTask(e,t){e.cancellationToken.cancelled=!0,e.cancellationToken.reason=t,this.doneTask(e)}doneTask(e,t){e.timeoutHandle&&clearTimeout(e.timeoutHandle),e.cancellationToken.cancel=u,t?(this.emit(a,t),e.reject.call(void 0,t)):e.cancellationToken.cancelled?e.reject.call(void 0,e.cancellationToken.reason):e.resolve.call(void 0,e.result),this.currentTask===e&&(this.currentTask=void 0,this.queue.length?this.scheduler.schedule(()=>this.next()):(this.emit(o),this.callWaiters()))}callWaiters(){this.waiters.splice(0).forEach(e=>e())}}c.defaultScheduler={schedule:e=>setTimeout(()=>e(),0)},c.defaultScheduler={schedule:"function"==typeof e?t=>e(()=>t()):e=>setTimeout(()=>e(),0)};const d={id:"default-order-form",items:[],value:-1,totalizers:[],marketingData:{},canEditData:!1,loggedIn:!1,paymentData:{isValid:!1,installmentOptions:[],paymentSystems:[],payments:[],availableAccounts:[]},messages:{couponMessages:[],generalMessages:[]},shipping:{isValid:!1,deliveryOptions:[],pickupOptions:[]}};class f{constructor(){this.queue=new c,this.taskIdMap={},this.listeners={},this.isEmpty=!0,this.queue.on("drained",()=>{this.isEmpty=!0,this.emit("Fulfilled")})}isWaiting(e){return!!this.taskIdMap[e]}enqueue(e,t){this.isEmpty&&(this.isEmpty=!1,this.emit("Pending")),t&&this.taskIdMap[t]&&this.taskIdMap[t].promise.cancel();const n=()=>(t&&this.taskIdMap[t]&&delete this.taskIdMap[t],new Promise((t,n)=>{const i=async()=>{try{const n=await e();t(n)}catch(e){if(!navigator.onLine)return;n(e)}window.removeEventListener("online",i)};window.addEventListener("online",i),navigator.onLine&&i()})),i=this.queue.push(n),r=i.cancel;return i.cancel=()=>r({code:"TASK_CANCELLED",index:this.queue.indexOf(n)}),t&&(this.taskIdMap[t]={task:e,promise:i}),i}listen(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t);return()=>{const n=this.listeners[e].indexOf(t);-1!==n&&this.listeners[e].splice(n,1)}}emit(e){this.listeners[e]&&this.listeners[e].forEach(e=>e())}}const h=Object(i.createContext)(void 0),m=()=>{const{status:e}=g();return e},v=({children:e})=>{const[t]=Object(i.useState)(()=>new f),n=Object(i.useRef)("Fulfilled");Object(i.useLayoutEffect)(()=>t.listen("Pending",()=>n.current="Pending"),[t]),Object(i.useLayoutEffect)(()=>t.listen("Fulfilled",()=>n.current="Fulfilled"),[t]);const s=Object(i.useMemo)(()=>({enqueue:t.enqueue.bind(t),listen:t.listen.bind(t),isWaiting:t.isWaiting.bind(t),status:n}),[t,n]);return r.a.createElement(h.Provider,{value:s},e)};function g(){const e=Object(i.useContext)(h);if(void 0===e)throw new Error("useOrderQueue must be used within a OrderQueueProvider");return e}var p,T,y,w,b;const k=null!==(b=!("undefined"==typeof window||!window.document||!window.document.createElement)&&(null===(w=null===(y=null===(T=null===(p=window)||void 0===p?void 0:p.__RUNTIME__)||void 0===T?void 0:T.settings)||void 0===y?void 0:y["vtex.store"])||void 0===w?void 0:w.enableOrderFormOptimization))&&void 0!==b&&b,O=Object(i.createContext)({orderForm:d,setOrderForm:()=>{},error:void 0,loading:!1});function E(){const e=Object(i.useContext)(O);if(void 0===e)throw new Error("useOrderForm must be used within a OrderFormProvider");return e}function F(){var e;return"undefined"==typeof document?null:JSON.parse(null!==(e=localStorage.getItem("orderform"))&&void 0!==e?e:"null")}function I(e,t){return"function"==typeof t?{...e,...t({...e,value:-1===e.value?0:e.value})}:{...e,...t}}function _({useOrderFormMessages:e,useGetOrderForm:t,useLogger:n,defaultOrderForm:s}){return{OrderFormProvider:({children:o})=>{var a,l;const{log:u}=null!==(a=null==n?void 0:n())&&void 0!==a?a:{},c="undefined"!=typeof document&&!navigator.onLine,[d,f]=Object(i.useReducer)(I,null!==(l=c?F():s)&&void 0!==l?l:s),{loading:h,data:v,error:g}=t({orderForm:d,setOrderForm:f}),[p,T]=Object(i.useState)(!c),y=m();Object(i.useEffect)(()=>{if(h||g||!v)return;const e=F();if(null!=e&&(!((e,t)=>-1===e.value||k&&e.id!==t.id&&"default-order-form"!==e.id)(e,v.orderForm)||"Fulfilled"!==y.current))return T(!1),void f(t=>t.id!==s.id?t:e);f(v.orderForm),T(!1)},[v,g,h,y]),Object(i.useEffect)(()=>{((e,t)=>{try{localStorage.setItem("orderform",JSON.stringify(e))}catch(e){null==t||t({type:"Error",level:"Critical",event:e,workflowType:"OrderManager",workflowInstance:"save-local-orderform"})}})(d,u)},[u,d]),e(d,f);const w=Object(i.useMemo)(()=>"default-order-form"!==d.id?{error:g,orderForm:{...d,value:-1===d.value?0:d.value,messages:{...d.messages,generalMessages:[]}},initialFetchComplete:!0,setOrderForm:f,loading:p}:{error:g,orderForm:{...d,value:-1===d.value?0:d.value,messages:{...d.messages,generalMessages:[]}},initialFetchComplete:!1,setOrderForm:f,loading:p},[g,d,p]);return r.a.createElement(O.Provider,{value:w},o)}}}function M({useToast:e,useClearOrderFormMessages:t,useGetOrderForm:n,useLogger:r,defaultOrderForm:s}){return _({useOrderFormMessages:(({useClearOrderFormMessages:e,useToast:t})=>(n,r)=>{const[s,o]=Object(i.useState)([]),{showToast:a,toastState:l}=t(),{enqueue:u}=g(),c=m(),d=e();Object(i.useEffect)(()=>{!l.isToastVisible&&s.length&&(a(s[0].text),o(e=>e.slice(1)))},[a,l.isToastVisible,s]),Object(i.useEffect)(()=>{var e,t;if(!(null===(t=null===(e=n.messages)||void 0===e?void 0:e.generalMessages)||void 0===t?void 0:t.length))return;o(e=>{var t,i;return e.concat(null!==(i=null===(t=n.messages)||void 0===t?void 0:t.generalMessages)&&void 0!==i?i:[])}),r(e=>({...e,messages:{...e.messages,generalMessages:[]}}));u(async()=>{const{data:e}=await d({orderFormId:n.id});return e.clearOrderFormMessages}).then(e=>{"Fulfilled"===c.current&&r(e)},e=>{if("TASK_CANCELLED"!==e.code)throw e})},[d,u,n.id,n.messages,c,r])})({useToast:e,useClearOrderFormMessages:t}),useGetOrderForm:n,useLogger:r,defaultOrderForm:s})}}).call(this,n(18).setImmediate)},18:function(e,t,n){var i="undefined"!=typeof global&&global||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function s(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new s(r.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new s(r.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(19),t.setImmediate="undefined"!=typeof self&&self.setImmediate||"undefined"!=typeof global&&global.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||"undefined"!=typeof global&&global.clearImmediate||this&&this.clearImmediate},19:function(e,t,n){(function(e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,s,o,a,l=1,u={},c=!1,d=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){m(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((s=new MessageChannel).port1.onmessage=function(e){m(e.data)},i=function(e){s.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,i=function(e){var t=d.createElement("script");t.onreadystatechange=function(){m(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):i=function(e){setTimeout(m,0,e)}:(o="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&m(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),i=function(e){t.postMessage(o+e,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return u[l]=r,i(l),l++},f.clearImmediate=h}function h(e){delete u[e]}function m(e){if(c)setTimeout(m,0,e);else{var t=u[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{h(e),c=!1}}}}}("undefined"==typeof self?"undefined"==typeof global?this:global:self)}).call(this,n(20))},20:function(e,t){var n,i,r=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:s}catch(e){n=s}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||c||a(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}}]); },function(){ (window.webpackJsonpvtex_order_manager_0_12_0=window.webpackJsonpvtex_order_manager_0_12_0||[]).push([["OrderForm"],[function(e,r){e.exports=React},,function(e,r,t){"use strict";var u;t.r(r),t.d(r,"QueueStatus",(function(){return u})),t.d(r,"TASK_CANCELLED_CODE",(function(){return n})),t.d(r,"UNSYNC_ORDER_FORM_VALUE",(function(){return o})),t.d(r,"DEFAULT_ORDER_FORM",(function(){return a})),function(e){e.PENDING="Pending",e.FULFILLED="Fulfilled"}(u||(u={}));var n="TASK_CANCELLED",o=-1,a={id:"default-order-form",items:[],value:o,totalizers:[],marketingData:{},canEditData:!1,loggedIn:!1,paymentData:{isValid:!1,installmentOptions:[],paymentSystems:[],payments:[],availableAccounts:[]},messages:{couponMessages:[],generalMessages:[]},shipping:{isValid:!1,deliveryOptions:[],pickupOptions:[]}};r.default={QueueStatus:u,TASK_CANCELLED_CODE:n}},,function(e,r,t){"use strict";t.r(r);var u=t(1);t.d(r,"OrderQueueProvider",(function(){return u.b})),t.d(r,"useOrderQueue",(function(){return u.e})),t.d(r,"useQueueStatus",(function(){return u.f}));var n=t(2);t.d(r,"QueueStatus",(function(){return n.QueueStatus})),r.default={OrderQueueProvider:u.b,useOrderQueue:u.e,useQueueStatus:u.f,QueueStatus:n.QueueStatus}},,,function(e,r){e.exports=ReactApollo},,function(e,r){e.exports=__RENDER_8_COMPONENTS__["vtex.checkout-resources@0.x/QueryOrderForm"]},function(e,r){e.exports=__RENDER_8_COMPONENTS__["vtex.checkout-resources@0.x/MutationClearOrderFormMessages"]},function(e,r){e.exports=__RENDER_8_RUNTIME__},function(e,r){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/ToastContext"]},function(e,r){e.exports=__RENDER_8_COMPONENTS__["vtex.checkout-splunk@0.x/useSplunk"]},,function(e,r,t){"use strict";t.r(r),function(e){var r=t(3);t.p=Object(r.getPublicPath)("vtex.order-manager@0.12.0");var u=Object(r.register)((function(){return t(16)}),e,"vtex.order-manager@0.12.0","vtex.order-manager@0.x","OrderForm");u.renderHotReload,u.setupHMR}.call(this,t(5)(e))},function(e,r,t){"use strict";t.r(r),t.d(r,"OrderFormProvider",(function(){return b}));var u=t(6),n=t.n(u),o=t(8),a=t(14),s=t(0),c=t(7),i=t(9),d=t.n(i),f=t(10),l=t.n(f),O=t(11),_=t(12),p=t.n(_),v=t(1);t.d(r,"useOrderForm",(function(){return v.d}));var m=t(13),E=t.n(m),g=t(4);var b=Object(v.c)({defaultOrderForm:v.a,useGetOrderForm:function(e){var r=e.setOrderForm,t=Object(O.useRuntime)(),u=t.page,n=t.query,o=u.includes("checkout"),a=Object(s.useRef)({refreshOutdatedData:o,orderFormId:null==n?void 0:n.orderFormId}),i=Object(c.useQuery)(d.a,{ssr:!1,fetchPolicy:"no-cache",variables:a.current}),f=i.data,l=i.loading,_=i.error,p=i.refetch,v=Object(g.useOrderQueue)().enqueue,m=Object(g.useQueueStatus)();return Object(s.useEffect)((function(){o&&v((function(){return p({refreshOutdatedData:!0}).then((function(e){return e.data.orderForm}))})).then((function(e){m.current===g.QueueStatus.FULFILLED&&r(e)}))}),[v,p,o,r,m]),Object(s.useMemo)((function(){return{data:f,loading:l,error:_}}),[f,l,_])},useClearOrderFormMessages:function(){var e=Object(c.useMutation)(l.a),r=Object(a.a)(e,1)[0];return Object(s.useCallback)(function(){var e=Object(o.a)(n.a.mark((function e(t){var u,o;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r({variables:t});case 2:return u=e.sent,o=u.data,e.abrupt("return",{data:null==o?void 0:o.clearOrderFormMessages});case 5:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}(),[r])},useToast:function(){return Object(s.useContext)(p.a)},useLogger:function(){var e=E()().logSplunk;return{log:Object(s.useCallback)((function(r){var t=r.type,u=r.level,n=r.event,o=r.workflowType,a=r.workflowInstance;e({type:t,level:u,event:n,workflowType:o,workflowInstance:a})}),[e])}}}).OrderFormProvider;r.default={OrderFormProvider:b,useOrderForm:v.d}},function(e,r){e.exports=regeneratorRuntime}],[[15,"common",0]]]); },function(){ (window.webpackJsonpvtex_order_manager_0_12_0=window.webpackJsonpvtex_order_manager_0_12_0||[]).push([["OrderQueue"],{0:function(e,t){e.exports=React},2:function(e,t,u){"use strict";var r;u.r(t),u.d(t,"QueueStatus",(function(){return r})),u.d(t,"TASK_CANCELLED_CODE",(function(){return n})),u.d(t,"UNSYNC_ORDER_FORM_VALUE",(function(){return a})),u.d(t,"DEFAULT_ORDER_FORM",(function(){return s})),function(e){e.PENDING="Pending",e.FULFILLED="Fulfilled"}(r||(r={}));var n="TASK_CANCELLED",a=-1,s={id:"default-order-form",items:[],value:a,totalizers:[],marketingData:{},canEditData:!1,loggedIn:!1,paymentData:{isValid:!1,installmentOptions:[],paymentSystems:[],payments:[],availableAccounts:[]},messages:{couponMessages:[],generalMessages:[]},shipping:{isValid:!1,deliveryOptions:[],pickupOptions:[]}};t.default={QueueStatus:r,TASK_CANCELLED_CODE:n}},21:function(e,t,u){"use strict";u.r(t),function(e){var t=u(3);u.p=Object(t.getPublicPath)("vtex.order-manager@0.12.0");var r=Object(t.register)((function(){return u(4)}),e,"vtex.order-manager@0.12.0","vtex.order-manager@0.x","OrderQueue");r.renderHotReload,r.setupHMR}.call(this,u(5)(e))},4:function(e,t,u){"use strict";u.r(t);var r=u(1);u.d(t,"OrderQueueProvider",(function(){return r.b})),u.d(t,"useOrderQueue",(function(){return r.e})),u.d(t,"useQueueStatus",(function(){return r.f}));var n=u(2);u.d(t,"QueueStatus",(function(){return n.QueueStatus})),t.default={OrderQueueProvider:r.b,useOrderQueue:r.e,useQueueStatus:r.f,QueueStatus:n.QueueStatus}}},[[21,"common",0]]]); },function(){ !function(e){function n(n){for(var r,c,u=n[0],a=n[1],l=n[2],w=0,f=[];w<u.length;w++)c=u[w],Object.prototype.hasOwnProperty.call(o,c)&&o[c]&&f.push(o[c][0]),o[c]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);for(d&&d(n);f.length;)f.shift()();return i.push.apply(i,l||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],r=!0,u=1;u<t.length;u++){var a=t[u];0!==o[a]&&(r=!1)}r&&(i.splice(n--,1),e=c(c.s=t[0]))}return e}var r={},o={common:0},i=[];function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.m=e,c.c=r,c.d=function(e,n,t){c.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,n){if(1&n&&(e=c(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)c.d(t,r,function(n){return e[n]}.bind(null,r));return t},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="";var u=window.webpackJsonpvtex_format_currency_0_4_1=window.webpackJsonpvtex_format_currency_0_4_1||[],a=u.push.bind(u);u.push=n,u=u.slice();for(var l=0;l<u.length;l++)n(u[l]);var d=a;t()}([function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getPublicPath=n.register=void 0;var r="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},n.register=function(e,n,t,i,c){var u="".concat(t,"/").concat(c),a="".concat(i,"/").concat(c),l=function(){return function(e,n){try{var t=e();return t.__esModule?t.default:t.default||t}catch(e){throw new Error("An error happened while requiring the app ".concat(n,", please check your app's code.\\n").concat(e.stack))}}(e,u)};if(window[r]&&window[r].registerComponent){var d=!!window.__RENDER_LAZY__;window[r].registerComponent(n,d?l:l(),t,c,d)}else{var w=l();window[r]&&window[r].withHMR?window[o][u]=window[o][a]=window[r].withHMR(n,w):window[o][u]=window[o][a]=w}return{}},n.getPublicPath=function(e){var n=window.__hostname__,t="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(n=__RUNTIME__.assetServerPublishedHost||window.location.hostname,t=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+n+t+"".concat(e,"/public/react/")}},,,function(e,n){e.exports=function(e){if(!e.webpackPolyfill){var n=Object.create(e);n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),Object.defineProperty(n,"exports",{enumerable:!0}),n.webpackPolyfill=1}return n}}]); },function(){ (window.webpackJsonpvtex_format_currency_0_4_1=window.webpackJsonpvtex_format_currency_0_4_1||[]).push([["FormattedCurrency"],[,function(r,e){r.exports=React},function(r,e,c){"use strict";function n(r){var e=r.intl,c=r.culture,n=r.value,t={style:"currency",currency:c.currency};return null!=c.customCurrencyDecimalDigits&&(t.minimumFractionDigits=c.customCurrencyDecimalDigits),"RON"===c.currency&&0===e.locale.indexOf("ro")?(t.currencyDisplay="name",e.formatNumber(n,t).replace(" românești","")):e.formatNumber(n,t)}c.r(e),c.d(e,"default",(function(){return n}))},,function(r,e){r.exports=__RENDER_8_RUNTIME__},function(r,e){r.exports=ReactIntl},function(r,e){r.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]},function(r,e,c){"use strict";c.r(e),function(r){var e=c(0);c.p=Object(e.getPublicPath)("vtex.format-currency@0.4.1");var n=Object(e.register)((function(){return c(8)}),r,"vtex.format-currency@0.4.1","vtex.format-currency@0.x","FormattedCurrency");n.renderHotReload,n.setupHMR}.call(this,c(3)(r))},function(r,e,c){"use strict";c.r(e);var n=c(1),t=c.n(n),u=c(4),a=c(5),i=c(6),s=c.n(i),l=c(2),y=!!new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).formatToParts,o=["currencyContainer","currencyCode","currencyLiteral","currencyInteger","currencyGroup","currencyDecimal","currencyFraction","currencyInfinity","currencyMinusSign","currencyNan","currencyPlusSign","currencyPercentSign"],m={currency:"currencyCode",literal:"currencyLiteral",integer:"currencyInteger",group:"currencyGroup",decimal:"currencyDecimal",fraction:"currencyFraction",infinity:"currencyInfinity",minusSign:"currencyMinusSign",nan:"currencyNan",plusSign:"currencyPlusSign",percentSign:"currencyPercentSign"};e.default=function(r){var e=r.value,c=r.classes,n=Object(u.useRuntime)(),i=n.culture,f=(0,n.getSettings)("vtex.store"),p=Object(a.useIntl)(),g=s()(o,{classes:c}).handles;if(!y){var v=Object(l.default)({intl:p,culture:i,value:e});return t.a.createElement("span",{className:g.currencyContainer},v)}var _={style:"currency",currency:i.currency};null!=i.customCurrencyDecimalDigits&&(_.minimumFractionDigits=i.customCurrencyDecimalDigits);var d="RON"===i.currency&&0===p.locale.indexOf("ro");d&&(_.currencyDisplay="name");var N=p.formatNumberToParts(e,_).map((function(r,e){var c=m[r.type],n=g[c];return d&&"currency"===r.type?t.a.createElement("span",{key:e,className:n},"lei"):"currency"===r.type&&(null==i?void 0:i.customCurrencySymbol)&&(null==f?void 0:f.enableCustomCurrencySymbol)?t.a.createElement("span",{key:e,className:n},i.customCurrencySymbol):t.a.createElement("span",{key:e,className:n},r.value)}));return t.a.createElement("span",{className:g.currencyContainer},N)}}],[[7,"common"]]]); },function(){ (window.webpackJsonpvtex_format_currency_0_4_1=window.webpackJsonpvtex_format_currency_0_4_1||[]).push([["formatCurrency"],{2:function(r,e,c){"use strict";function t(r){var e=r.intl,c=r.culture,t=r.value,n={style:"currency",currency:c.currency};return null!=c.customCurrencyDecimalDigits&&(n.minimumFractionDigits=c.customCurrencyDecimalDigits),"RON"===c.currency&&0===e.locale.indexOf("ro")?(n.currencyDisplay="name",e.formatNumber(t,n).replace(" românești","")):e.formatNumber(t,n)}c.r(e),c.d(e,"default",(function(){return t}))},9:function(r,e,c){"use strict";c.r(e),function(r){var e=c(0);c.p=Object(e.getPublicPath)("vtex.format-currency@0.4.1");var t=Object(e.register)((function(){return c(2)}),r,"vtex.format-currency@0.4.1","vtex.format-currency@0.x","formatCurrency");t.renderHotReload,t.setupHMR}.call(this,c(3)(r))}},[[9,"common"]]]); },function(){ !function(t){function e(e){for(var r,u,a=e[0],c=e[1],l=e[2],s=0,d=[];s<a.length;s++)u=a[s],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&d.push(o[u][0]),o[u]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(t[r]=c[r]);for(f&&f(e);d.length;)d.shift()();return i.push.apply(i,l||[]),n()}function n(){for(var t,e=0;e<i.length;e++){for(var n=i[e],r=!0,a=1;a<n.length;a++){var c=n[a];0!==o[c]&&(r=!1)}r&&(i.splice(e--,1),t=u(u.s=n[0]))}return t}var r={},o={common:0},i=[];function u(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=t,u.c=r,u.d=function(t,e,n){u.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},u.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)u.d(n,r,function(e){return t[e]}.bind(null,r));return n},u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="";var a=window.webpackJsonpvtex_wish_list_1_18_2=window.webpackJsonpvtex_wish_list_1_18_2||[],c=a.push.bind(a);a.push=e,a=a.slice();for(var l=0;l<a.length;l++)e(a[l]);var f=c;n()}({1:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(15);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},13:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},14:function(t,e,n){t.exports=n(56)},15:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(13);function o(t,e){if(t){if("string"==typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},19:function(t,e,n){"use strict";function r(t,e,n,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var u=t.apply(e,n);function a(t){r(u,o,i,a,c,"next",t)}function c(t){r(u,o,i,a,c,"throw",t)}a(void 0)}))}}n.d(e,"a",(function(){return o}))},2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPublicPath=e.register=void 0;var r="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},e.register=function(t,e,n,i,u){var a="".concat(n,"/").concat(u),c="".concat(i,"/").concat(u),l=function(){return function(t,e){try{var n=t();return n.__esModule?n.default:n.default||n}catch(t){throw new Error("An error happened while requiring the app ".concat(e,", please check your app's code.\\n").concat(t.stack))}}(t,a)};if(window[r]&&window[r].registerComponent){var f=!!window.__RENDER_LAZY__;window[r].registerComponent(e,f?l:l(),n,u,f)}else{var s=l();window[r]&&window[r].withHMR?window[o][a]=window[o][c]=window[r].withHMR(e,s):window[o][a]=window[o][c]=s}return{}},e.getPublicPath=function(t){var e=window.__hostname__,n="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(e=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+e+n+"".concat(t,"/public/react/")}},46:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(13);var o=n(15);function i(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},6:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}}}); },function(){ (window.webpackJsonpvtex_wish_list_1_18_2=window.webpackJsonpvtex_wish_list_1_18_2||[]).push([["AddProductBtn"],[function(e,i){e.exports=React},,,function(e,i){e.exports=ReactApollo},function(e,i){e.exports=ReactIntl},function(e,i){e.exports=__RENDER_8_RUNTIME__},,,function(e,i){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/useCssHandles"]},function(e,i){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/usePixel"]},function(e,i,n){"use strict";function t(){return window&&window.__RENDER_8_SESSION__&&window.__RENDER_8_SESSION__.sessionPromise?window.__RENDER_8_SESSION__.sessionPromise:null}n.d(i,"a",(function(){return t}))},function(e,i,n){"use strict";function t(e){var i={};function n(){try{var i="__some_random_key_you_are_not_going_to_use__";return e().setItem(i,i),e().removeItem(i),!0}catch(e){return!1}}return{getItem:function(t){return n()?e().getItem(t):i.hasOwnProperty(t)?i[t]:null},setItem:function(t,a){n()?e().setItem(t,a):i[t]=String(a)},removeItem:function(t){n()?e().removeItem(t):delete i[t]},clear:function(){n()?e().clear():i={}},key:function(t){return n()?e().key(t):Object.keys(i)[t]||null},get length(){return n()?e().length:Object.keys(i).length}}}n.d(i,"a",(function(){return t}))},function(e,i){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Profile"},variableDefinitions:[],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.wish-list@1.18.2",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"StringValue",value:"vtex.store-graphql",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"d0c625ebd17eb79492276659d219a45c0db4c74d6ac4deac3a923164cb9d9d1c",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pii"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:227}};n.loc.source={body:'query Profile @context(sender: "vtex.wish-list@1.18.2") {\n profile @context(provider: "vtex.store-graphql") @runtimeMeta(hash: "d0c625ebd17eb79492276659d219a45c0db4c74d6ac4deac3a923164cb9d9d1c") {\n pii\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}n.definitions.forEach((function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach((function(i){e(i,n)})),i.variableDefinitions&&i.variableDefinitions.forEach((function(i){e(i,n)})),i.definitions&&i.definitions.forEach((function(i){e(i,n)}))}(e,i),t[e.name.value]=i}})),e.exports=n,e.exports.Profile=function(e,i){var n={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var d=t[i]||new Set,o=new Set,s=new Set;for(d.forEach((function(e){s.add(e)}));s.size>0;){var r=s;s=new Set,r.forEach((function(e){o.has(e)||(o.add(e),(t[e]||new Set).forEach((function(e){s.add(e)})))}))}return o.forEach((function(i){var t=a(e,i);t&&n.definitions.push(t)})),n}(n,"Profile")},,,,function(e,i,n){e.exports={iconSize:"vtex-wish-list-1-x-iconSize",fill:"vtex-wish-list-1-x-fill",outline:"vtex-wish-list-1-x-outline",clearLink:"vtex-wish-list-1-x-clearLink"}},,,,,,,,function(e,i){e.exports=__RENDER_8_COMPONENTS__["vtex.product-context@0.x/ProductContext"]},function(e,i){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/Button"]},function(e,i){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/ToastContext"]},function(e,i){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CheckItem"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shopperId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sku"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.wish-list@1.18.2",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"checkList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"shopperId"},value:{kind:"Variable",name:{kind:"Name",value:"shopperId"}}},{kind:"Argument",name:{kind:"Name",value:"productId"},value:{kind:"Variable",name:{kind:"Name",value:"productId"}}},{kind:"Argument",name:{kind:"Name",value:"sku"},value:{kind:"Variable",name:{kind:"Name",value:"sku"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"b83f1b8b01e40466f97a33cbb1c32b980a4c715f4e567fb79efe5c3d2ed34baf",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"inList"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"listNames"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"listIds"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:344}};n.loc.source={body:'query CheckItem($shopperId: String!, $productId: String!, $sku: String) @context(sender: "vtex.wish-list@1.18.2") {\n checkList(shopperId: $shopperId, productId: $productId, sku: $sku) @runtimeMeta(hash: "b83f1b8b01e40466f97a33cbb1c32b980a4c715f4e567fb79efe5c3d2ed34baf") {\n inList\n listNames\n listIds\n message\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}n.definitions.forEach((function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach((function(i){e(i,n)})),i.variableDefinitions&&i.variableDefinitions.forEach((function(i){e(i,n)})),i.definitions&&i.definitions.forEach((function(i){e(i,n)}))}(e,i),t[e.name.value]=i}})),e.exports=n,e.exports.CheckItem=function(e,i){var n={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var d=t[i]||new Set,o=new Set,s=new Set;for(d.forEach((function(e){s.add(e)}));s.size>0;){var r=s;s=new Set,r.forEach((function(e){o.has(e)||(o.add(e),(t[e]||new Set).forEach((function(e){s.add(e)})))}))}return o.forEach((function(i){var t=a(e,i);t&&n.definitions.push(t)})),n}(n,"CheckItem")},function(e,i){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddToList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"listItem"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ListItemInputType"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shopperId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.wish-list@1.18.2",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"996e55ed3e6fe9d4195c58f9491c5687226a5094396638fa88944a113ebc67ed",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addToList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"listItem"},value:{kind:"Variable",name:{kind:"Name",value:"listItem"}}},{kind:"Argument",name:{kind:"Name",value:"shopperId"},value:{kind:"Variable",name:{kind:"Name",value:"shopperId"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],directives:[]}]}}],loc:{start:0,end:289}};n.loc.source={body:'mutation AddToList($listItem: ListItemInputType!, $shopperId: String!, $name: String!) @context(sender: "vtex.wish-list@1.18.2") @runtimeMeta(hash: "996e55ed3e6fe9d4195c58f9491c5687226a5094396638fa88944a113ebc67ed") {\n addToList(listItem: $listItem, shopperId: $shopperId, name: $name)\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}n.definitions.forEach((function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach((function(i){e(i,n)})),i.variableDefinitions&&i.variableDefinitions.forEach((function(i){e(i,n)})),i.definitions&&i.definitions.forEach((function(i){e(i,n)}))}(e,i),t[e.name.value]=i}})),e.exports=n,e.exports.AddToList=function(e,i){var n={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var d=t[i]||new Set,o=new Set,s=new Set;for(d.forEach((function(e){s.add(e)}));s.size>0;){var r=s;s=new Set,r.forEach((function(e){o.has(e)||(o.add(e),(t[e]||new Set).forEach((function(e){s.add(e)})))}))}return o.forEach((function(i){var t=a(e,i);t&&n.definitions.push(t)})),n}(n,"AddToList")},function(e,i){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RemoveFromList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shopperId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.wish-list@1.18.2",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"9aed358e26ce21ab217ccc495a954aca608506e22f2d2d06af6051874cda8f6e",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"removeFromList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"shopperId"},value:{kind:"Variable",name:{kind:"Name",value:"shopperId"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}}],directives:[]}]}}],loc:{start:0,end:265}};n.loc.source={body:'mutation RemoveFromList($shopperId: String!, $id: ID!, $name: String) @context(sender: "vtex.wish-list@1.18.2") @runtimeMeta(hash: "9aed358e26ce21ab217ccc495a954aca608506e22f2d2d06af6051874cda8f6e") {\n removeFromList(id: $id, shopperId: $shopperId, name: $name)\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var t=e.definitions[n];if(t.name&&t.name.value==i)return t}}n.definitions.forEach((function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var t=i.type;"NamedType"===t.kind&&n.add(t.name.value)}i.selectionSet&&i.selectionSet.selections.forEach((function(i){e(i,n)})),i.variableDefinitions&&i.variableDefinitions.forEach((function(i){e(i,n)})),i.definitions&&i.definitions.forEach((function(i){e(i,n)}))}(e,i),t[e.name.value]=i}})),e.exports=n,e.exports.RemoveFromList=function(e,i){var n={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var d=t[i]||new Set,o=new Set,s=new Set;for(d.forEach((function(e){s.add(e)}));s.size>0;){var r=s;s=new Set,r.forEach((function(e){o.has(e)||(o.add(e),(t[e]||new Set).forEach((function(e){s.add(e)})))}))}return o.forEach((function(i){var t=a(e,i);t&&n.definitions.push(t)})),n}(n,"RemoveFromList")},,,,,,,,,,,,,,,,,,function(e,i,n){"use strict";n.r(i),function(e){var i=n(2);n.p=Object(i.getPublicPath)("vtex.wish-list@1.18.2");var t=Object(i.register)((function(){return n(48)}),e,"vtex.wish-list@1.18.2","vtex.wish-list@1.x","AddProductBtn");t.renderHotReload,t.setupHMR}.call(this,n(6)(e))},function(e,i,n){"use strict";n.r(i);var t,a,d,o,s=n(1),r=n(0),l=n.n(r),u=n(3),c=n(4),m=n(24),v=n.n(m),f=n(25),k=n.n(f),p=n(26),h=n.n(p),g=n(5),b=n(8),N=n.n(b),S=n(9),I=n.n(S),w=n(10),_=n(11),y=n(27),x=n.n(y),E=n(28),O=n.n(E),D=n(12),L=n.n(D),T=n(29),V=n.n(T),A=n(16),P=n.n(A),R=Object(_.a)((function(){return sessionStorage})),j=["wishlistIconContainer","wishlistIcon"],F=null!==(t=JSON.parse(String(R.getItem("wishlist_isAuthenticated"))))&&void 0!==t&&t,C=null!==(a=R.getItem("wishlist_shopperId"))&&void 0!==a?a:null,M=null!==(d=R.getItem("wishlist_addAfterLogin"))&&void 0!==d?d:null,$=null!==(o=JSON.parse(R.getItem("wishlist_wishlisted")))&&void 0!==o?o:[],q={},W="Wishlist",z=Object(c.defineMessages)({addButton:{id:"store/wishlist.addButton"},seeLists:{id:"store/wishlist-see-lists"},productAddedToList:{id:"store/wishlist-product-added-to-list"},addProductFail:{id:"store/wishlist-add-product-fail"},listNameDefault:{id:"store/wishlist-default-list-name"},login:{id:"store/wishlist-login"},notLogged:{id:"store/wishlist-not-logged"}}),J=function(e,i){void 0===$.find((function(n){return n.productId&&n.sku&&n.productId===e&&n.sku===i}))&&$.push({productId:e,sku:i}),Q($)},Q=function(e){return R.setItem("wishlist_wishlisted",JSON.stringify(e)),e};i.default=function(e){var i,n,t,a,d,o,m,f,p,b,S,_,y,E,D,T,A,B,G,U=e.toastURL,H=void 0===U?"/account/#wishlist":U,K=Object(c.useIntl)(),X=Object(r.useState)({isLoading:!0,isWishlistPage:null}),Y=Object(s.a)(X,2),Z=Y[0],ee=Y[1],ie=Object(u.useMutation)(V.a,{onCompleted:function(){var e=String(ke.productId).split("-"),i=Object(s.a)(e,1)[0];q[i]&&(q[i]={isWishlisted:!1,wishListId:"",sku:""}),$=$.filter((function(e){return e.productId!==i&&e.sku!==Ee})),Q($),ee(Object.assign(Object.assign({},Z),{isWishlistPage:!1}))}}),ne=Object(s.a)(ie,2),te=ne[0],ae=ne[1].loading,de=Object(g.useRuntime)(),oe=de.navigate,se=de.history,re=de.route,le=de.account,ue=I()().push,ce=N()(j),me=Object(r.useContext)(h.a).showToast,ve=Object(r.useContext)(v.a),fe=ve.selectedItem,ke=ve.product,pe=(D=Object(r.useState)(),T=Object(s.a)(D,2),A=T[0],B=T[1],G=Object(w.a)(),Object(r.useEffect)((function(){G&&G.then((function(e){var i=e.response;B(i)}))}),[G]),A),he=Object(u.useLazyQuery)(x.a),ge=Object(s.a)(he,2),be=ge[0],Ne=ge[1],Se=Ne.data,Ie=Ne.loading,we=Ne.called,_e=Object(u.useQuery)(L.a,{ssr:!1}).data,ye=String(null==ke?void 0:ke.productId).split("-"),xe=Object(s.a)(ye,1)[0],Ee=null===(i=null==ke?void 0:ke.sku)||void 0===i?void 0:i.itemId;$=null!==(n=JSON.parse(R.getItem("wishlist_wishlisted")))&&void 0!==n?n:[];var Oe=function(e,i){var n;"notLogged"===e&&(n={label:K.formatMessage(z.login),onClick:function(){var e,i;return oe({page:"store.login",query:"returnUrl=".concat(encodeURIComponent(String(null===(e=null==se?void 0:se.location)||void 0===e?void 0:e.pathname)+String(null===(i=null==se?void 0:se.location)||void 0===i?void 0:i.search)))})}}),"productAddedToList"===e&&(n={label:K.formatMessage(z.seeLists),onClick:function(){return oe({to:i,fetchPage:!0})}}),me({message:K.formatMessage(z[e]),action:n})},De=Object(u.useMutation)(O.a,{onCompleted:function(e){q[xe]={wishListId:e.addToList,isWishlisted:!0,sku:Ee},J(xe,Ee),Oe("productAddedToList",H)}}),Le=Object(s.a)(De,2),Te=Le[0],Ve=Le[1],Ae=Ve.loading;Ve.error&&Oe("addProductFail",H),pe&&(F="true"===(null===(d=null===(a=null===(t=null==pe?void 0:pe.namespaces)||void 0===t?void 0:t.profile)||void 0===a?void 0:a.isAuthenticated)||void 0===d?void 0:d.value),C=(null===(o=null==_e?void 0:_e.profile)||void 0===o?void 0:o.pii)?null!==(y=null===(_=null===(S=null===(b=null==pe?void 0:pe.namespaces)||void 0===b?void 0:b.profile)||void 0===S?void 0:S.id)||void 0===_?void 0:_.value)&&void 0!==y?y:null:null===(p=null===(f=null===(m=null==pe?void 0:pe.namespaces)||void 0===m?void 0:m.profile)||void 0===f?void 0:f.email)||void 0===p?void 0:p.value,R.setItem("wishlist_isAuthenticated",JSON.stringify(F)),R.setItem("wishlist_shopperId",String(C)),F||C||R.getItem("wishlist_wishlisted")&&R.removeItem("wishlist_wishlisted"));var Pe=Z.isWishlistPage;if(!ke)return null;null===Pe&&(null==ke?void 0:ke.wishlistPage)&&ee(Object.assign(Object.assign({},Z),{isWishlistPage:!0}));F&&ke&&!we&&C&&(F&&M&&M===xe?(Te({variables:{listItem:{productId:xe,title:ke.productName,sku:fe.itemId},shopperId:C,name:W}}),M=null,R.removeItem("wishlist_addAfterLogin")):be({variables:{shopperId:String(C),productId:xe,sku:Ee}}));var Re,je,Fe,Ce=function(){var e,i,n;return"false"!==(null===(n=null===(i=null===(e=null==pe?void 0:pe.namespaces)||void 0===e?void 0:e.profile)||void 0===i?void 0:i.isAuthenticated)||void 0===n?void 0:n.value)&&void 0!==$.find((function(e){return e.productId===xe}))};if((null===(E=null==Se?void 0:Se.checkList)||void 0===E?void 0:E.inList)&&(!q[xe]||null===q[xe].wishListId)){var Me=(Re=W,je=Se.checkList,Fe=je.listNames.findIndex((function(e){return Re===e})),je.listIds[Fe]);q[xe]={isWishlisted:Se.checkList.inList,wishListId:Me,sku:Ee},Se.checkList.inList&&void 0===$.find((function(e){return e.productId===xe&&e.sku===Ee}))&&xe&&Ee&&J(xe,Ee)}return(null==Se?void 0:Se.checkList)&&!0!==Se.checkList.inList&&void 0===q[xe]&&void 0!==$.find((function(e){return e.productId===xe&&e.sku===Ee}))&&($=$.filter((function(e){return e.productId!==xe&&e.sku!==Ee})),Q($),ee(Object.assign(Object.assign({},Z),{isWishlistPage:!1}))),l.a.createElement(g.NoSSR,null,l.a.createElement("div",{className:ce.wishlistIconContainer},l.a.createElement(k.a,{variation:"tertiary",onClick:function(e){var i;if(e.preventDefault(),e.stopPropagation(),F){var n={list:null===(i=null==re?void 0:re.canonicalPath)||void 0===i?void 0:i.replace("/",""),items:{product:ke,selectedItem:fe,account:le}};Ce()&&C?(te({variables:{id:q[xe].wishListId,shopperId:C,name:W}}),n.event="removeToWishlist"):(Te({variables:{listItem:{productId:xe,title:ke.productName,sku:fe.itemId},shopperId:C,name:W}}),n.event="addToWishlist"),ue(n)}else R.setItem("wishlist_addAfterLogin",String(xe)),Oe("notLogged",H)},isLoading:Ie||Ae||ae},l.a.createElement("span",{className:"".concat(ce.wishlistIcon," ").concat(Ce()?P.a.fill:P.a.outline," ").concat(P.a.iconSize)}))))}}],[[47,"common"]]]); },function(){ !function(e){function t(t){for(var n,u,a=t[0],c=t[1],l=t[2],f=0,s=[];f<a.length;f++)u=a[f],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(d&&d(t);s.length;)s.shift()();return i.push.apply(i,l||[]),r()}function r(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(i.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={common:0},i=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="";var a=window.webpackJsonpvtex_product_summary_context_0_12_0=window.webpackJsonpvtex_product_summary_context_0_12_0||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var d=c;r()}([,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicPath=t.register=void 0;var n="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},t.register=function(e,t,r,i,u){var a="".concat(r,"/").concat(u),c="".concat(i,"/").concat(u),l=function(){return function(e,t){try{var r=e();return r.__esModule?r.default:r.default||r}catch(e){throw new Error("An error happened while requiring the app ".concat(t,", please check your app's code.\\n").concat(e.stack))}}(e,a)};if(window[n]&&window[n].registerComponent){var d=!!window.__RENDER_LAZY__;window[n].registerComponent(t,d?l:l(),r,u,d)}else{var f=l();window[n]&&window[n].withHMR?window[o][a]=window[o][c]=window[n].withHMR(t,f):window[o][a]=window[o][c]=f}return{}},t.getPublicPath=function(e){var t=window.__hostname__,r="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(t=__RUNTIME__.assetServerPublishedHost||window.location.hostname,r=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+t+r+"".concat(e,"/public/react/")}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},,,function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(n=(u=a.next()).done)&&(r.push(u.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(t,"a",(function(){return o}))}]); },function(){ (window.webpackJsonpvtex_product_summary_context_0_12_0=window.webpackJsonpvtex_product_summary_context_0_12_0||[]).push([["ProductSummaryContext"],[function(e,t){e.exports=React},,,function(e,t,r){"use strict";var n=r(8),o=r(9),c=r(10);function i(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function u(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function a(e,t){var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t=o({arrayFormat:"none"},t)),n=Object.create(null);return"string"!=typeof e?n:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),o=t.shift(),i=t.length>0?t.join("="):void 0;i=void 0===i?null:c(i),r(c(o),i,n)})),Object.keys(n).sort().reduce((function(e,t){var r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(r):e[t]=r,e}),Object.create(null))):n}t.extract=u,t.parse=a,t.stringify=function(e,t){!1===(t=o({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var r=function(e){switch(e.arrayFormat){case"index":return function(t,r,n){return null===r?[i(t,e),"[",n,"]"].join(""):[i(t,e),"[",i(n,e),"]=",i(r,e)].join("")};case"bracket":return function(t,r){return null===r?i(t,e):[i(t,e),"[]=",i(r,e)].join("")};default:return function(t,r){return null===r?i(t,e):[i(t,e),"=",i(r,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(n){var o=e[n];if(void 0===o)return"";if(null===o)return i(n,t);if(Array.isArray(o)){var c=[];return o.slice().forEach((function(e){void 0!==e&&c.push(r(n,e,c.length))})),c.join("&")}return i(n,t)+"="+i(o,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:a(u(e),t)}}},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.product-group-context@0.x/ProductGroupContext"]},,function(e,t,r){"use strict";r.r(t),function(e){var t=r(1);r.p=Object(t.getPublicPath)("vtex.product-summary-context@0.12.0");var n=Object(t.register)((function(){return r(7)}),e,"vtex.product-summary-context@0.12.0","vtex.product-summary-context@0.x","ProductSummaryContext");n.renderHotReload,n.setupHMR}.call(this,r(2)(e))},function(e,t,r){"use strict";r.r(t),r.d(t,"reducer",(function(){return l}));var n=r(5),o=r(0),c=r.n(o),i=r(3),u=r.n(i),a=r(4),s=r.n(a).a.useProductGroup,d=Object(o.createContext)(void 0),f=Object(o.createContext)(void 0);function l(e,t){var r;switch(t.type){case"SET_PRODUCT":var n=t.args.product;return Object.assign(Object.assign({},e),{product:n,selectedItem:null!==(r=t.args.selectedItem)&&void 0!==r?r:n.sku});case"SET_HOVER":return Object.assign(Object.assign({},e),{isHovering:t.args.isHovering});case"SET_LOADING":return Object.assign(Object.assign({},e),{isLoading:t.args.isLoading});case"SET_PRICE_LOADING":return Object.assign(Object.assign({},e),{isPriceLoading:t.args.isPriceLoading});case"SET_QUANTITY":return Object.assign(Object.assign({},e),{selectedQuantity:t.args.quantity});case"SET_PRODUCT_QUERY":return Object.assign(Object.assign({},e),{query:t.args.query});case"SET_IN_VIEW":return Object.assign(Object.assign({},e),{inView:t.args.inView});case"SET_POSITION":return Object.assign(Object.assign({},e),{position:t.args.position});default:return e}}var p=function(e){var t=e.product,r=null==t?void 0:t.selectedProperties;if(r){var n={};return r.forEach((function(e){var t=e.key,r=e.value;n["property__".concat(t)]=r})),u.a.stringify(n)}};t.default={ProductSummaryProvider:function(e){var t=e.product,r=e.selectedItem,i=e.isLoading,u=void 0!==i&&i,a=e.isPriceLoading,g=void 0!==a&&a,v=e.listName,y=void 0===v?null:v,b=e.sponsoredBadge,m=void 0===b?{}:b,j=e.children,O={product:t,isHovering:!1,isLoading:u,isPriceLoading:g,selectedItem:null!=r?r:null,selectedQuantity:1,listName:y,sponsoredBadge:m,query:p({product:t}),inView:!1,position:null},x=Object(o.useReducer)(l,O),h=Object(n.a)(x,2),_=h[0],E=h[1],P=s();return Object(o.useEffect)((function(){var e;if(P){var t=(0,P.addItemToGroup)(_.product,null!==(e=_.selectedItem)&&void 0!==e?e:_.product.items[0]);return function(){return t()}}}),[_.selectedItem,_.product]),c.a.createElement(d.Provider,{value:_},c.a.createElement(f.Provider,{value:E},j))},useProductSummary:function(){return Object(o.useContext)(d)},useProductSummaryDispatch:function(){return Object(o.useContext)(f)}}},function(e,t,r){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,u,a=i(e),s=1;s<arguments.length;s++){for(var d in r=Object(arguments[s]))o.call(r,d)&&(a[d]=r[d]);if(n){u=n(r);for(var f=0;f<u.length;f++)c.call(r,u[f])&&(a[u[f]]=r[u[f]])}}return a}},function(e,t,r){"use strict";var n=new RegExp("%[a-f0-9]{2}","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function c(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],c(r),c(n))}function i(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=c(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=o.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var n=i(r[0]);n!==r[0]&&(t[r[0]]=n)}r=o.exec(e)}t["%C2"]="�";for(var c=Object.keys(t),u=0;u<c.length;u++){var a=c[u];e=e.replace(new RegExp(a,"g"),t[a])}return e}(e)}}}],[[6,"common"]]]); },function(){ !function(t){function e(e){for(var n,a,u=e[0],c=e[1],l=e[2],s=0,d=[];s<u.length;s++)a=u[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&d.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(t[n]=c[n]);for(f&&f(e);d.length;)d.shift()();return i.push.apply(i,l||[]),r()}function r(){for(var t,e=0;e<i.length;e++){for(var r=i[e],n=!0,u=1;u<r.length;u++){var c=r[u];0!==o[c]&&(n=!1)}n&&(i.splice(e--,1),t=a(a.s=r[0]))}return t}var n={},o={common:0},i=[];function a(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=t,a.c=n,a.d=function(t,e,r){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(r,n,function(e){return t[e]}.bind(null,n));return r},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="";var u=window.webpackJsonpvtex_slider_layout_0_24_6=window.webpackJsonpvtex_slider_layout_0_24_6||[],c=u.push.bind(u);u.push=e,u=u.slice();for(var l=0;l<u.length;l++)e(u[l]);var f=c;r()}([,,function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(7);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}}(t,e)||Object(n.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPublicPath=e.register=void 0;var n="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},e.register=function(t,e,r,i,a){var u="".concat(r,"/").concat(a),c="".concat(i,"/").concat(a),l=function(){return function(t,e){try{var r=t();return r.__esModule?r.default:r.default||r}catch(t){throw new Error("An error happened while requiring the app ".concat(e,", please check your app's code.\\n").concat(t.stack))}}(t,u)};if(window[n]&&window[n].registerComponent){var f=!!window.__RENDER_LAZY__;window[n].registerComponent(e,f?l:l(),r,a,f)}else{var s=l();window[n]&&window[n].withHMR?window[o][u]=window[o][c]=window[n].withHMR(e,s):window[o][u]=window[o][c]=s}return{}},e.getPublicPath=function(t){var e=window.__hostname__,r="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(e=__RUNTIME__.assetServerPublishedHost||window.location.hostname,r=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+e+r+"".concat(t,"/public/react/")}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(5);var o=r(7);function i(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(5);function o(t,e){if(t){if("string"==typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},,function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}}]); },function(){ (window.webpackJsonpvtex_slider_layout_0_24_6=window.webpackJsonpvtex_slider_layout_0_24_6||[]).push([["SliderLayout"],[function(e,t){e.exports=React},function(e,t,n){"use strict";n.r(t),n.d(t,"useSliderGroupState",(function(){return d})),n.d(t,"useSliderGroupDispatch",(function(){return c}));var i=n(2),r=n(0),a=n.n(r),o=Object(r.createContext)(void 0),s=Object(r.createContext)(void 0),l=function(e,t){switch(t.type){case"SLIDE":return Object.assign(Object.assign({},e),{currentSlide:t.payload.currentSlide,transform:t.payload.transform});default:return e}};function d(){return Object(r.useContext)(o)}function c(){return Object(r.useContext)(s)}t.default=function(e){var t=e.children,n=Object(r.useReducer)(l,{currentSlide:0,transform:null,isHovering:!1}),d=Object(i.a)(n,2),c=d[0],u=d[1];return a.a.createElement(o.Provider,{value:c},a.a.createElement(s.Provider,{value:u},t))}},,,,,,,function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.responsive-values@0.x/useResponsiveValue"]},,function(e,t){e.exports=ReactIntl},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.list-context@0.x/useListContext"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.device-detector@0.x/useDevice"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/createCssHandlesContext"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconCaret"]},function(e,t,n){"use strict";n.r(t),function(e){var t=n(3);n.p=Object(t.getPublicPath)("vtex.slider-layout@0.24.6");var i=Object(t.register)((function(){return n(18)}),e,"vtex.slider-layout@0.24.6","vtex.slider-layout@0.x","SliderLayout");i.renderHotReload,i.setupHMR}.call(this,n(9)(e))},,function(e,t,n){"use strict";n.r(t),n.d(t,"CSS_HANDLES",(function(){return X}));var i=n(6),r=n(0),a=n.n(r),o=n(10),s=n(11),l=n.n(s),d=n(12),c=n.n(d),u=n(8),f=n.n(u),v=n(4),p=n(13),m=n.n(p),g=n(2),S=n(1),y=Object(r.createContext)(void 0),h=Object(r.createContext)(void 0);function b(e,t){var n,i,r,a;switch(t.type){case"ADJUST_ON_RESIZE":return Object.assign(Object.assign({},e),{slidesPerPage:t.payload.slidesPerPage,navigationStep:t.payload.navigationStep,transform:t.payload.shouldCorrectItemPosition?e.transformMap[e.currentSlide]:e.transform});case"SLIDE":return Object.assign(Object.assign({},e),{transform:null!==(n=t.payload.transform)&&void 0!==n?n:e.transform,currentSlide:t.payload.currentSlide,useSlidingTransitionEffect:!0});case"TOUCH":return Object.assign(Object.assign({},e),{transform:null!==(i=t.payload.transform)&&void 0!==i?i:e.transform,isOnTouchMove:t.payload.isOnTouchMove});case"DISABLE_TRANSITION":return Object.assign(Object.assign({},e),{useSlidingTransitionEffect:!1});case"ADJUST_CURRENT_SLIDE":return Object.assign(Object.assign({},e),{currentSlide:t.payload.currentSlide,transform:null!==(r=t.payload.transform)&&void 0!==r?r:e.transform});case"SYNC_SLIDER_GROUP":return Object.assign(Object.assign({},e),{currentSlide:t.payload.currentSlide,transform:null!==(a=t.payload.transform)&&void 0!==a?a:e.transform,useSlidingTransitionEffect:!0});case"ADJUST_CONTEXT_VALUES":return Object.assign(Object.assign({},e),{transformMap:t.payload.transformMap,slideWidth:t.payload.slideWidth,slidesPerPage:t.payload.slidesPerPage,transform:t.payload.transform,navigationStep:t.payload.navigationStep,totalItems:t.payload.totalItems});default:return e}}var O=function(e){var t,n,i=e.autoplay,o=e.children,s=e.totalItems,l=e.label,d=void 0===l?"slider":l,c=e.navigationStep,u=void 0===c?"page":c,f=e.infinite,v=void 0!==f&&f,p=e.itemsPerPage,m=e.centerMode,O=e.slideTransition,P=void 0===O?{speed:400,delay:0,timing:""}:O,E=e.centerModeSlidesGap,w=Object(S.useSliderGroupState)(),j=Object(r.useState)({itemsPerPage:null,totalItems:null}),T=Object(g.a)(j,2),_=T[0],I=T[1],M="page"===u?p:u,N=s<=p?s:p,C=(v?2*N:0)+s,D=Object(r.useMemo)((function(){var e=100/C,t=e;return"disabled"!==m&&(t=N/(N+1)*e,"to-the-left"===m&&E&&(t=e*N/(N+.5))),t}),[C,m,E,N]),x=Object(r.useMemo)((function(){for(var e={},t=0;t<C;++t){var n=-D*t;if("disabled"!==m){if(n=-(1+1/(4*N))*D*t,"center"===m)n+="center"===m?3*D/8:0;E&&(n="center"===m?-D*(t-.5):-D*t)}e[v?t-N:t]=n}return e}),[D,C,N,v,m,E]),R=Object(r.useMemo)((function(){var e;return null!==(e=null==w?void 0:w.currentSlide)&&void 0!==e?e:0}),[w]),A=Object(r.useMemo)((function(){var e;return null!==(e=null==w?void 0:w.transform)&&void 0!==e?e:x[R]}),[x,R,w]),L=Object(r.useReducer)(b,{slideWidth:D,slidesPerPage:N,currentSlide:R,transform:A,transformMap:x,navigationStep:M,slideTransition:P,itemsPerPage:p,label:d,autoplay:i,totalItems:s,isPageNavigationStep:"page"===u,isOnTouchMove:!1,useSlidingTransitionEffect:!1}),k=Object(g.a)(L,2),H=k[0],U=k[1];if(p===_.itemsPerPage&&s===_.totalItems||(U({type:"ADJUST_CONTEXT_VALUES",payload:{transformMap:x,slideWidth:D,slidesPerPage:N,transform:x[H.currentSlide],navigationStep:M,totalItems:s}}),I({itemsPerPage:p,totalItems:s})),w&&w.currentSlide!==H.currentSlide){var G=null!==(t=null==w?void 0:w.currentSlide)&&void 0!==t?t:H.currentSlide;U({type:"SYNC_SLIDER_GROUP",payload:{currentSlide:G,transform:null!==(n=null==w?void 0:w.transform)&&void 0!==n?n:x[G]}})}return a.a.createElement(y.Provider,{value:H},a.a.createElement(h.Provider,{value:U},o))};function P(){var e=Object(r.useContext)(y);if(void 0===e)throw new Error("useSliderState must be used within a SliderContextProvider");return e}function E(){var e=Object(r.useContext)(h);if(void 0===e)throw new Error("useSliderDispatch must be used within a SliderContextProvider");return e}var w=function(e){var t=P(),n=t.currentSlide,i=t.slidesPerPage,r=t.totalItems,a=t.navigationStep,o=t.transformMap,s=E(),l=Object(S.useSliderGroupDispatch)();return{goForward:function(t){var d=0,c=0,u=null!=t?t:a;n+1+i+u<=r?c=o[d=n+u]:!e||n<r-i?c=o[d=r-i]:e&&(c=o[d=n+u]),l&&l({type:"SLIDE",payload:{currentSlide:d,transform:c}}),s({type:"SLIDE",payload:{transform:c,currentSlide:d}})},goBack:function(t){var i=0,r=0,d=n-(null!=t?t:a);d>=0?r=o[i=d]:0!==n?(i=0,r=0):e&&(r=o[i=d]),l&&l({type:"SLIDE",payload:{currentSlide:i,transform:r}}),s({type:"SLIDE",payload:{transform:r,currentSlide:i}})}}},j=function(e){var t=Object(r.useState)(!1),n=Object(g.a)(t,2),i=n[0],a=n[1],o=Object(S.useSliderGroupState)(),s=Object(S.useSliderGroupDispatch)();return Object(r.useEffect)((function(){var t=function(){null==s||s({type:"HOVER",payload:{isHovering:!0}}),a(!0)},n=function(){null==s||s({type:"HOVER",payload:{isHovering:!1}}),a(!1)};return(null==e?void 0:e.current)&&(e.current.addEventListener("mouseenter",t),e.current.addEventListener("mouseleave",n)),function(){var i=e.current;i&&(i.removeEventListener("mouseenter",t),i.removeEventListener("mouseleave",n))}}),[e,s]),(null==o?void 0:o.isHovering)?{isHovering:!0}:{isHovering:i}},T=n(14),_=n.n(T)()(X),I=_.CssHandlesProvider,M=_.useContextCssHandles,N=function(e,t){return t%e==0?"firstVisible":(t+1)%e==0?"lastVisible":""},C=function(e){return a.a.Children.toArray(a.a.Children.map(e,(function(e){return"string"==typeof e||"number"==typeof e?e:Object(r.cloneElement)(e,Object.assign(Object.assign({},e.props),{__isDuplicated:!0}))})))},D=function(e){var t=e.infinite,n=e.usePagination,o=e.centerMode,s=e.centerModeSlidesGap,l=e.totalItems,d=e.children,c=P(),u=c.slideWidth,f=c.slidesPerPage,v=c.currentSlide,p=c.isOnTouchMove,m=c.useSlidingTransitionEffect,g=c.slideTransition,y=g.speed,h=g.timing,b=g.delay,O=c.transformMap,w=c.transform,j=E(),T=Object(S.useSliderGroupDispatch)(),_=M(),I=_.handles,D=_.withModifiers,x=function(e){var t=e.currentSlide,n=e.slidesPerPage,i=e.totalItems,a=e.centerMode,o=Object(r.useRef)(new Set);Object(r.useEffect)((function(){for(var e=0;e<n;e++)o.current.add(t+e)}),[t,n]);var s=function(e){return function(e){var t=e.index,n=e.currentSlide,i=e.slidesToShow,r=e.totalItems,a=t>=n&&t<n+i;return"disabled"!==e.centerMode&&(a=a||t+1>=n&&t+1<n+i||t-1>=n&&t-1<n+i),a||(n<0||n>=r)}({index:e,currentSlide:t,slidesToShow:n,totalItems:i,centerMode:a})};return{shouldRenderItem:function(e){return o.current.has(e)||s(e)},isItemVisible:s}}({currentSlide:v,slidesPerPage:f,totalItems:l,centerMode:o}),R=x.shouldRenderItem,A=x.isItemVisible,L=t&&d?C(d).slice(0,f):[],k=(t&&d?C(d).slice(d.length-f):[]).concat(null!=d?d:[],L),H=f<=l?"".concat(100*k.length/f,"%"):"100%";return a.a.createElement("div",{"data-testid":"slider-track",className:"".concat(I.sliderTrack," flex ").concat("disabled"!==o?"":"justify-around"," relative pa0 ma0"),style:{transition:p||!m?void 0:"transform ".concat(y,"ms ").concat(h," ").concat(b,"ms"),transform:"translate3d(".concat(p?w:O[v],"%, 0, 0)"),width:H},onTransitionEnd:function(){j({type:"DISABLE_TRANSITION"}),v>=l&&(j({type:"ADJUST_CURRENT_SLIDE",payload:{currentSlide:0,transform:O[0]}}),null==T||T({type:"SLIDE",payload:{currentSlide:0,transform:O[0]}})),v<0&&(j({type:"ADJUST_CURRENT_SLIDE",payload:{currentSlide:v+l,transform:O[v+l]}}),null==T||T({type:"SLIDE",payload:{currentSlide:v+l,transform:O[v+l]}}))},"aria-atomic":"false","aria-live":"polite"},k.map((function(e,r){var d=r-(t?f:0),c={width:"".concat(u,"%"),marginLeft:"disabled"===o||s?void 0:"".concat(u/(8*f),"%"),marginRight:"disabled"===o||s?void 0:"".concat(u/(8*f),"%"),paddingLeft:"disabled"!==o&&s?s/2:void 0,paddingRight:"disabled"!==o&&s?s/2:void 0};return a.a.createElement("div",Object(i.a)({key:d},function(e,t,n){return t<0||t>=n?{"aria-hidden":!e,role:"none presentation"}:{"aria-hidden":!e,role:"group","aria-roledescription":"slide","aria-label":"".concat(t+1," of ").concat(n)}}(A(d),d,l),{className:"".concat(D("slide",[N(f,d),A(d)?"visible":"hidden"])," flex relative"),"data-index":d>=0&&d<l?d+1:void 0,style:c}),a.a.createElement("div",{className:"".concat(I.slideChildrenContainer," flex justify-center items-center w-100")},!n||R(d)?e:null))})))},x=n(15),R=n.n(x),A=function(e,t){Object(r.useEffect)((function(){var n=function(n){"ArrowLeft"===n.code&&e(),"ArrowRight"===n.code&&t()};return window.addEventListener("keydown",n),function(){window.removeEventListener("keydown",n)}}),[e,t])},L=function(e){var t=e.custom,n=e.orientation,i=e.controls,r=e.totalItems,o=e.infinite,s=e.arrowSize,l=P(),d=l.currentSlide,c=l.slidesPerPage,u=w(o),f=u.goBack,v=u.goForward,p=M().handles,m=!o&&("left"===n&&0===d||"right"===n&&!(d+1+c<=r));return A(f,v),a.a.createElement("button",{className:"".concat("left"===n?"".concat(p.sliderLeftArrow," left-0"):"".concat(p.sliderRightArrow," right-0")," ").concat(p.sliderArrows," absolute transparent ma2 flex items-center justify-center bn outline-0 pointer"),style:{background:"transparent"},onClick:function(e){e&&(e.stopPropagation(),e.preventDefault()),"left"===n&&f(),"right"===n&&v()},"aria-controls":i,"aria-label":"".concat("left"===n?"Previous":"Next"," Slide"),disabled:m},null!=t?t:a.a.createElement(R.a,{size:s,orientation:n,thin:!0}))},k=Object(r.memo)(L),H=function(e,t,n){var i=e?t+(n-1):t;return e?Math.floor(i/n):i},U=function(e){var t=e.controls,n=e.totalItems,i=e.infinite,r=P(),o=r.slidesPerPage,s=r.currentSlide,l=r.navigationStep,d=w(i),c=d.goBack,u=d.goForward,f=M(),p=f.handles,m=f.withModifiers,g=l===o,S=function(e,t,n){return e?Object(v.a)(Array(t?Math.ceil(n/e):n).keys()):[]}(o,g,n),y=function(e,t){e&&(e.stopPropagation(),e.preventDefault());var n=t-H(g,s,o),i=Math.abs(n)*l;n>0?u(i):c(i)};return a.a.createElement("div",{className:"".concat(p.paginationDotsContainer," flex absolute justify-center pa0 ma0 bottom-0 left-0 right-0"),role:"group","aria-label":"Slider pagination dots"},S.map((function(e){var n=e===H(g,s,o);return a.a.createElement("div",{className:"".concat(m("paginationDot",n?"isActive":"")," ").concat(n?"bg-emphasis":"bg-muted-3"," grow dib br-100 pa2 mr2 ml2 bw0 pointer outline-0"),style:{height:"".concat(.625,"rem"),width:"".concat(.625,"rem")},key:e,tabIndex:n?0:-1,onKeyDown:function(t){return y(t,e)},onClick:function(t){return y(t,e)},role:"button","aria-controls":t,"aria-label":"Dot ".concat(e+1," of ").concat(S.length),"data-testid":"paginationDot"})})))},G=Object(r.memo)(U),W=["sliderLayoutContainer","sliderTrackContainer"].concat(Object(v.a)(["sliderTrack","slide","slideChildrenContainer"]),Object(v.a)(["sliderLeftArrow","sliderRightArrow","sliderArrows"]),Object(v.a)(["paginationDotsContainer","paginationDot"])),z=function(e){var t=e.children,n=e.totalItems,i=e.infinite,o=void 0!==i&&i,s=e.showNavigationArrows,l=e.showPaginationDots,d=e.usePagination,c=void 0===d||d,u=e.arrowSize,f=e.fullWidth,v=e.itemsPerPage,p=e.centerMode,S=e.centerModeSlidesGap,y=M().handles,h=m()().isMobile,b=P(),O=b.label,T=void 0===O?"slider":O,_=b.slidesPerPage,I=Object(r.useRef)(null),N=function(e){var t=e.infinite,n=e.centerMode,i=E(),a=P().transform,o=w(t),s=o.goForward,l=o.goBack,d=Object(r.useState)({touchStartX:0,touchInitialTransform:a}),c=Object(g.a)(d,2),u=c[0],f=c[1];return{onTouchEnd:function(e){var t=e.changedTouches[0].clientX-u.touchStartX;Math.abs(t)>75?(t>0&&l(),t<0&&s()):i({type:"TOUCH",payload:{transform:u.touchInitialTransform,isOnTouchMove:!1}}),f({touchStartX:0,touchInitialTransform:a}),i({type:"TOUCH",payload:{isOnTouchMove:!1}})},onTouchStart:function(e){var t=e.touches[0].clientX;f({touchStartX:t,touchInitialTransform:a})},onTouchMove:function(e){var t=e.touches[0].clientX-u.touchStartX,r=u.touchInitialTransform+t/(25*("disabled"!==n?2:1));i({type:"TOUCH",payload:{transform:r,isOnTouchMove:!0}})}}}({infinite:o,centerMode:p}),C=N.onTouchEnd,x=N.onTouchStart,R=N.onTouchMove;!function(e,t){var n=P().autoplay,i=j(t).isHovering,a=(null==n?void 0:n.stopOnHover)&&i,o=w(e).goForward;Object(r.useEffect)((function(){if(n){var e=setTimeout((function(){o()}),n.timeout);return a&&clearTimeout(e),function(){return clearTimeout(e)}}}),[o,a,n])}(o,I),function(e,t){var n=P(),i=n.navigationStep,a=n.isPageNavigationStep,o=n.totalItems,s=E();Object(r.useEffect)((function(){var n=o<=t?o:t,r=a?n:i,l=function(e){s({type:"ADJUST_ON_RESIZE",payload:{shouldCorrectItemPosition:e,slidesPerPage:n,navigationStep:r}})},d=function(t){l(!t||e)};return l(!1),window.addEventListener("resize",d),function(){return window.removeEventListener("resize",d)}}),[e,s,o,t,a,i])}(o,v);var A=_>=n,L="".concat(T.toLowerCase().trim().replace(/ /g,"-"),"-items-").concat(Math.random().toString(36).substring(2,9)),H=Boolean(("always"===s||"mobileOnly"===s&&h||"desktopOnly"===s&&!h)&&!A),U=Boolean(("always"===l||"mobileOnly"===l&&h||"desktopOnly"===l&&!h)&&!A);return a.a.createElement("section",{onTouchStart:function(e){return c&&!A?x(e):null},onTouchEnd:function(e){return c&&!A?C(e):null},onTouchMove:function(e){return c&&!A?R(e):null},"aria-label":T,id:L,style:{WebkitOverflowScrolling:c?void 0:"touch",paddingLeft:f?void 0:2*u,paddingRight:f?void 0:2*u,touchAction:"pan-y"},className:"w-100 flex items-center relative ".concat(y.sliderLayoutContainer)},a.a.createElement("div",{className:"w-100 ".concat(y.sliderTrackContainer," ").concat(c?"overflow-hidden":"overflow-x-scroll"),ref:I},a.a.createElement(D,{centerMode:p,centerModeSlidesGap:S,infinite:o,totalItems:n,usePagination:c},t)),H&&c&&a.a.createElement(r.Fragment,null,a.a.createElement(k,{totalItems:n,orientation:"left",controls:L,infinite:o,arrowSize:u}),a.a.createElement(k,{totalItems:n,orientation:"right",controls:L,infinite:o,arrowSize:u})),U&&c&&a.a.createElement(G,{totalItems:n,controls:L,infinite:o}))},F=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n},X=W;function J(e){var t,n,r=e.totalItems,o=e.infinite,s=void 0!==o&&o,d=e.showNavigationArrows,u=void 0===d?"always":d,v=e.showPaginationDots,p=void 0===v?"always":v,m=e.usePagination,g=void 0===m||m,S=e.fullWidth,y=void 0===S||S,h=e.arrowSize,b=void 0===h?25:h,P=e.children,E=e.centerMode,w=void 0===E?"disabled":E,j=e.centerModeSlidesGap,T=e.itemsPerPage,_=void 0===T?{desktop:5,tablet:3,phone:1}:T,M=e.classes,N=F(e,["totalItems","infinite","showNavigationArrows","showPaginationDots","usePagination","fullWidth","arrowSize","children","centerMode","centerModeSlidesGap","itemsPerPage","classes"]),C=l()(X,{classes:M}),D=C.handles,x=C.withModifiers,R=null!==(n=null===(t=c()())||void 0===t?void 0:t.list)&&void 0!==n?n:[],A=null!=r?r:a.a.Children.count(P)+R.length,L=f()(b),k=f()(_),H=f()(w),U=a.a.Children.toArray(P).concat(R),G=y||"disabled"!==H;return a.a.createElement(I,{handles:D,withModifiers:x},a.a.createElement(O,Object(i.a)({infinite:s,totalItems:A,itemsPerPage:k,centerMode:H,centerModeSlidesGap:j},N),a.a.createElement(z,{centerMode:H,centerModeSlidesGap:j,infinite:s,showNavigationArrows:u,showPaginationDots:p,totalItems:A,usePagination:g,fullWidth:G,arrowSize:L,itemsPerPage:k},U)))}var V=Object(o.defineMessages)({sliderTitle:{id:"admin/editor.slider-layout.title"},sliderInfinite:{id:"admin/editor.slider-layout.infinite"},sliderShowNavigation:{id:"admin/editor.slider-layout.showNavigation"},sliderShowPaginationDots:{id:"admin/editor.slider-layout.showPaginationDots"},sliderUsePagination:{id:"admin/editor.slider-layout.usePagination"},sliderFullWidth:{id:"admin/editor.slider-layout.sliderFullWidth"},sliderFullWidthDescription:{id:"admin/editor.slider-layout.sliderFullWidthDescription"},sliderNavigationAndPaginationPropertyMobileOnly:{id:"admin/editor.slider-layout.sliderNavigationAndPaginationPropertyMobileOnly"},sliderNavigationAndPaginationPropertyDesktopOnly:{id:"admin/editor.slider-layout.sliderNavigationAndPaginationPropertyDesktopOnly"},sliderNavigationAndPaginationPropertyAlways:{id:"admin/editor.slider-layout.sliderNavigationAndPaginationPropertyAlways"},sliderNavigationAndPaginationPropertyNever:{id:"admin/editor.slider-layout.sliderNavigationAndPaginationPropertyNever"}});J.schema={title:V.sliderTitle.id,type:"object",properties:{autoplay:{type:"object",isLayout:!0,properties:{timeout:{type:"number"},stopOnHover:{type:"boolean"}}},itemsPerPage:{type:"object",isLayout:!0,properties:{desktop:{default:5,type:"number"},tablet:{default:3,type:"number"},phone:{default:1,type:"number"}}}}};t.default=J}],[[16,"common"]]]); },function(){ !function(t){function e(e){for(var r,u,c=e[0],a=e[1],f=e[2],s=0,p=[];s<c.length;s++)u=c[s],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&p.push(o[u][0]),o[u]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r]);for(l&&l(e);p.length;)p.shift()();return i.push.apply(i,f||[]),n()}function n(){for(var t,e=0;e<i.length;e++){for(var n=i[e],r=!0,c=1;c<n.length;c++){var a=n[c];0!==o[a]&&(r=!1)}r&&(i.splice(e--,1),t=u(u.s=n[0]))}return t}var r={},o={common:0},i=[];function u(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(t){var e=[],n=o[t];if(0!==n)if(n)e.push(n[2]);else{var r=new Promise((function(e,r){n=o[t]=[e,r]}));e.push(n[2]=r);var i,c=document.createElement("script");c.charset="utf-8",c.timeout=120,u.nc&&c.setAttribute("nonce",u.nc),c.src=function(t){return u.p+""+({}[t]||t)+".min.js"}(t);var a=new Error;i=function(e){c.onerror=c.onload=null,clearTimeout(f);var n=o[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",a.name="ChunkLoadError",a.type=r,a.request=i,n[1](a)}o[t]=void 0}};var f=setTimeout((function(){i({type:"timeout",target:c})}),12e4);c.onerror=c.onload=i,document.head.appendChild(c)}return Promise.all(e)},u.m=t,u.c=r,u.d=function(t,e,n){u.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},u.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)u.d(n,r,function(e){return t[e]}.bind(null,r));return n},u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="",u.oe=function(t){throw console.error(t),t};var c=window.webpackJsonpvtex_store_drawer_0_18_1=window.webpackJsonpvtex_store_drawer_0_18_1||[],a=c.push.bind(c);c.push=e,c=c.slice();for(var f=0;f<c.length;f++)e(c[f]);var l=a;n()}([,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPublicPath=e.register=void 0;var r="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},e.register=function(t,e,n,i,u){var c="".concat(n,"/").concat(u),a="".concat(i,"/").concat(u),f=function(){return function(t,e){try{var n=t();return n.__esModule?n.default:n.default||n}catch(t){throw new Error("An error happened while requiring the app ".concat(e,", please check your app's code.\\n").concat(t.stack))}}(t,c)};if(window[r]&&window[r].registerComponent){var l=!!window.__RENDER_LAZY__;window[r].registerComponent(e,l?f:f(),n,u,l)}else{var s=f();window[r]&&window[r].withHMR?window[o][c]=window[o][a]=window[r].withHMR(e,s):window[o][c]=window[o][a]=s}return{}},e.getPublicPath=function(t){var e=window.__hostname__,n="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(e=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+e+n+"".concat(t,"/public/react/")}},,function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,c=t[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(t,e)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(e,"a",(function(){return o}))},,,function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},,,,,,,,function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},,,,,function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}n.d(e,"a",(function(){return o}))}]); },function(){ (window.webpackJsonpvtex_store_drawer_0_18_1=window.webpackJsonpvtex_store_drawer_0_18_1||[]).push([["Drawer"],[function(e,t){e.exports=React},,function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/useCssHandles"]},,function(e,t){e.exports=__RENDER_8_RUNTIME__},function(e,t,n){"use strict";n.r(t),n.d(t,"useDrawer",(function(){return i})),n.d(t,"DrawerContextProvider",(function(){return c}));var r=n(0),o=n.n(r),a=Object(r.createContext)(void 0),i=function(){var e=Object(r.useContext)(a);if(void 0===e)throw new Error("useDrawer must be used inside <Drawer />");return e},c=function(e){var t=e.value,n=e.children;return o.a.createElement(a.Provider,{value:t},n)};t.default={DrawerContextProvider:c,useDrawer:i}},,function(e,t){e.exports=ReactDOM},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/applyModifiers"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconClose"]},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n.n(r),a=n(4);t.default=function(e){var t,n=e.children,r=null===(t=null===window||void 0===window?void 0:window.document)||void 0===t?void 0:t.body,i=Object(a.useSSR)();return!r||i?null:o.a.createPortal(n,r)}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(2),i=n.n(a),c=n(8),s=n.n(c),l=["overlay"],u=function(e,t){var n=e.visible,r=e.onClick,a=e.zIndex,c=void 0===a?999:a,u=i()(l),d=n?"false":"true";return o.a.createElement("div",{ref:t,"aria-hidden":d,role:"presentation",onClick:r,style:{opacity:n?.5:0,pointerEvents:n?"auto":"none",zIndex:c},className:"".concat(s()(u.overlay,n?"visible":"")," bg-base--inverted z-999 fixed top-0 bottom-0 left-0 right-0")})};t.default=o.a.forwardRef(u)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(2),i=n.n(a),c=n(9),s=n.n(c),l=n(5),u=["closeIconButton"];t.default=function(e){var t=e.size,n=void 0===t?30:t,r=e.type,a=void 0===r?"line":r,c=e.text,d=Object(l.useDrawer)().close,f=i()(u);return o.a.createElement("button",{className:"".concat(f.closeIconButton," pa4 pointer bg-transparent transparent bn pointer"),onClick:d},null!=c?c:o.a.createElement(s.a,{size:n,type:a}))}},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/usePixelEventCallback"]},,,,function(e,t){e.exports=ReactIntl},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconMenu"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.responsive-values@0.x/useResponsiveValue"]},,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.store-drawer@0.18.1");var r=Object(t.register)((function(){return n(36)}),e,"vtex.store-drawer@0.18.1","vtex.store-drawer@0.x","Drawer");r.renderHotReload,r.setupHMR}.call(this,n(6)(e))},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(16),a=n(3),i=n(0),c=n.n(i),s=n(17),l=n(18),u=n.n(l),d=n(2),f=n.n(d),v=n(4),p=n(13),b=n.n(p),m=n(19),x=n.n(m),O=n(10),w=n(11),_=function(){var e=Object(i.useState)(!1),t=Object(a.a)(e,2),n=t[0],r=t[1],o=Object(i.useRef)("");return Object(i.useEffect)((function(){return n&&(o.current=document.body.style.overflow),document.body.style.overflow=n?"hidden":o.current,function(){n&&(document.body.style.overflow=o.current)}}),[n]),r},E=n(12),h=n(5);function g(e){return"tagName"in e}function N(e,t){if(!e||!g(e))return!1;if("A"===String(e.tagName).toUpperCase())return!0;var n=e.parentNode;return!(!n||!g(n)||"BODY"===n.tagName.toUpperCase()||t&&n===t)&&N(n,t)}var C=c.a.lazy((function(){return n.e(0).then(n.bind(null,35))})),j={isOpen:!1,hasBeenOpened:!1};function R(e,t){switch(t.type){case"open":return Object.assign(Object.assign({},e),{isOpen:!0,hasBeenOpened:!0});case"close":return Object.assign(Object.assign({},e),{isOpen:!1});default:return e}}var y=["openIconContainer","drawer","opened","closed","moving","drawerContent","childrenContainer","closeIconContainer"];function D(e){var t,n,s,l,d,p,m=e.width,g=e.header,D=e.children,I=e.customIcon,M=e.isFullWidth,P=e.maxWidth,S=void 0===P?450:P,k=e.slideDirection,z=void 0===k?"horizontal":k,B=e.backdropMode,T=void 0===B?"visible":B,W=e.renderingStrategy,U=void 0===W?"lazy":W,F=e.customPixelEventId,H=e.customPixelEventName,J=e.onVisibilityChanged,V=e.zIndex,A=void 0===V?999:V,L=f()(y),Y=x()(T),q=Boolean(Object(v.useChildBlock)({id:"drawer-trigger"})),G=Boolean(Object(v.useChildBlock)({id:"drawer-header"})),K=(t=Object(i.useReducer)(R,j),n=Object(a.a)(t,2),s=n[0],l=n[1],d=_(),p=function(e){l({type:e?"open":"close"}),d(e)},{state:s,openMenu:function(){return p(!0)},closeMenu:function(){return p(!1)}}),Q=K.state,X=K.openMenu,Z=K.closeMenu,$=Q.isOpen,ee=Q.hasBeenOpened,te=Object(i.useState)("eager"===U),ne=Object(a.a)(te,2),re=ne[0],oe=ne[1],ae=Object(i.useState)(!1),ie=Object(a.a)(ae,2),ce=ie[0],se=ie[1];b()({eventId:F,handler:X,eventName:"openDrawer"}),b()({eventId:F,handler:X,eventName:H}),Object(i.useEffect)((function(){void 0!==J&&J($)}),[J,$]);var le="horizontal"===z||"leftToRight"===z?"left":"right",ue="left"===le?"onSwipeLeft":"onSwipeRight",de=Object(i.useMemo)((function(){return{isOpen:$,open:X,close:Z}}),[$,X,Z]),fe="visible"===Y&&$;return Object(i.useEffect)((function(){($||ee||"eager"===U)&&oe(!0)}),[ee,U,oe,$]),c.a.createElement(h.DrawerContextProvider,{value:de},c.a.createElement("div",{onClick:X,role:"presentation","aria-hidden":$?"false":"true",className:"pa4 pointer ".concat(L.openIconContainer)},q?c.a.createElement(v.ExtensionPoint,{id:"drawer-trigger"}):null!=I?I:c.a.createElement(u.a,{size:20})),c.a.createElement(O.default,null,c.a.createElement(w.default,{visible:fe,onClick:Z,zIndex:A}),c.a.createElement(i.Suspense,{fallback:c.a.createElement(c.a.Fragment,null)},c.a.createElement(C,Object(r.a)({},Object(o.a)({},ue,Z),{enabled:$,position:$?"center":le,allowOutsideDrag:!0,onUpdateOffset:function(e){se(!("0%"===e||"-100%"===e))},className:"".concat(L.drawer," ").concat($?L.opened:L.closed," ").concat(ce?L.moving:""," ").concat("right"===le?"right-0":"left-0"," fixed top-0 bottom-0 bg-base z-999 flex flex-column"),style:{width:null!=m?m:M?"100%":"85%",maxWidth:S,minWidth:280,pointerEvents:$?"auto":"none",zIndex:A}}),c.a.createElement("div",{className:"".concat(L.drawerContent," overflow-y-auto"),style:{WebkitOverflowScrolling:"touch"}},G?c.a.createElement(v.ExtensionPoint,{id:"drawer-header"}):null!=g?g:c.a.createElement("div",{className:"flex ".concat(L.closeIconContainer)},c.a.createElement(E.default,null)),c.a.createElement("div",{className:"".concat(L.childrenContainer," flex flex-grow-1"),onClick:function(e){N(e.target,e.currentTarget)&&Z()}},re?D:c.a.createElement(c.a.Fragment,null)))))))}var I=Object(s.defineMessages)({title:{id:"admin/editor.drawer.title"}});D.schema={title:I.title.id};t.default=D}],[[25,"common"]]]); },function(){ !function(t){function e(e){for(var r,u,c=e[0],a=e[1],f=e[2],s=0,p=[];s<c.length;s++)u=c[s],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&p.push(o[u][0]),o[u]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r]);for(l&&l(e);p.length;)p.shift()();return i.push.apply(i,f||[]),n()}function n(){for(var t,e=0;e<i.length;e++){for(var n=i[e],r=!0,c=1;c<n.length;c++){var a=n[c];0!==o[a]&&(r=!1)}r&&(i.splice(e--,1),t=u(u.s=n[0]))}return t}var r={},o={common:0},i=[];function u(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(t){var e=[],n=o[t];if(0!==n)if(n)e.push(n[2]);else{var r=new Promise((function(e,r){n=o[t]=[e,r]}));e.push(n[2]=r);var i,c=document.createElement("script");c.charset="utf-8",c.timeout=120,u.nc&&c.setAttribute("nonce",u.nc),c.src=function(t){return u.p+""+({}[t]||t)+".min.js"}(t);var a=new Error;i=function(e){c.onerror=c.onload=null,clearTimeout(f);var n=o[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",a.name="ChunkLoadError",a.type=r,a.request=i,n[1](a)}o[t]=void 0}};var f=setTimeout((function(){i({type:"timeout",target:c})}),12e4);c.onerror=c.onload=i,document.head.appendChild(c)}return Promise.all(e)},u.m=t,u.c=r,u.d=function(t,e,n){u.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},u.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)u.d(n,r,function(e){return t[e]}.bind(null,r));return n},u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="",u.oe=function(t){throw console.error(t),t};var c=window.webpackJsonpvtex_login_2_66_0=window.webpackJsonpvtex_login_2_66_0||[],a=c.push.bind(c);c.push=e,c=c.slice();for(var f=0;f<c.length;f++)e(c[f]);var l=a;n()}({11:function(t,e,n){t.exports=n(58)},15:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPublicPath=e.register=void 0;var r="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},e.register=function(t,e,n,i,u){var c="".concat(n,"/").concat(u),a="".concat(i,"/").concat(u),f=function(){return function(t,e){try{var n=t();return n.__esModule?n.default:n.default||n}catch(t){throw new Error("An error happened while requiring the app ".concat(e,", please check your app's code.\\n").concat(t.stack))}}(t,c)};if(window[r]&&window[r].registerComponent){var l=!!window.__RENDER_LAZY__;window[r].registerComponent(e,l?f:f(),n,u,l)}else{var s=f();window[r]&&window[r].withHMR?window[o][c]=window[o][a]=window[r].withHMR(e,s):window[o][c]=window[o][a]=s}return{}},e.getPublicPath=function(t){var e=window.__hostname__,n="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(e=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+e+n+"".concat(t,"/public/react/")}},17:function(t,e,n){"use strict";function r(t,e,n,r,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void n(t)}c.done?e(a):Promise.resolve(a).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var u=t.apply(e,n);function c(t){r(u,o,i,c,a,"next",t)}function a(t){r(u,o,i,c,a,"throw",t)}c(void 0)}))}}n.d(e,"a",(function(){return o}))},2:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(37);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,c=t[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},24:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))},27:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},28:function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r}))},33:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},34:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},37:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(33);function o(t,e){if(t){if("string"==typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},39:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},40:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return o}))},42:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}n.d(e,"a",(function(){return o}))},43:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return i}));var o=n(27);function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?Object(o.a)(t):e}},76:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(33);var o=n(37);function i(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))}}); }], document.currentScript.dataset.index)