enqueueScripts([function(){ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,r){e.exports=r(5)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicPath=t.register=void 0;var n="__RENDER_8_RUNTIME__",a="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[a]=window[a]||{},t.register=function(e,t,r,i,o){var c="".concat(r,"/").concat(o),u="".concat(i,"/").concat(o),d=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 s=!!window.__RENDER_LAZY__;window[n].registerComponent(t,s?d:d(),r,o,s)}else{var l=d();window[n]&&window[n].withHMR?window[a][c]=window[a][u]=window[n].withHMR(t,l):window[a][c]=window[a][u]=l}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=__RENDER_8_RUNTIME__},function(e,t,r){"use strict";r.r(t),function(e){var t=r(1);r.p=Object(t.getPublicPath)("lojahr.google-tag-manager@3.5.7");var n=Object(t.register)((function(){return r(6)}),e,"lojahr.google-tag-manager@3.5.7","lojahr.google-tag-manager@3.x","index");n.renderHotReload,n.setupHMR}.call(this,r(4)(e))},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){e.exports=regeneratorRuntime},function(e,t,r){"use strict";r.r(t),r.d(t,"handleEvents",(function(){return ce}));var n=r(2),a=r(0),i=r.n(a);function o(e,t,r,n,a,i,o){try{var c=e[i](o),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,a)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function c(e){o(i,n,a,c,u,"next",e)}function u(e){o(i,n,a,c,u,"throw",e)}c(void 0)}))}}var u=["utm_source","utm_medium","utm_campaign","gclid","utm_term","utm_content","utm_id"];function d(){return(d=c(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{window.localStorage.setItem("analytics:session",JSON.stringify(t))}catch(e){console.error("Error while saving original browser location on localStorage storage")}case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function s(){return Math.floor(Date.now()/1e3)}function l(){return s()+1800}function m(){var e=function(){var e=function(){var e=null;try{var t=window.localStorage.getItem("analytics:session");e=t?JSON.parse(t):null}catch(e){console.error("Error while fetching original browser location from localStorage storage")}return e}();if(!e||(i=e.expires,o=s(),o-i>0)||(t=window.location,r=document.referrer,n=e.referrer,a=r?new URL(r):null,a&&r!==n&&a.host!==t.host||t.search.slice(1).split("&").some((function(e){return u.some((function(t){return e.startsWith("".concat(t,"="))}))}))))return null;var t,r,n,a;var i,o;return Object.assign(Object.assign({},e),{expires:l()})}(),t="storage";return e||(e={location:window.location.href,referrer:document.referrer,expires:l()},t="fresh"),function(e){d.apply(this,arguments)}(e),Object.assign(Object.assign({},e),{origin:t})}window.dataLayer=window.dataLayer||[];var p=!0;function f(e){var t=m(),r=t.location,n=t.referrer,a=t.origin,i=e;(p||"fresh"===a)&&(p=!1,i=Object.assign(Object.assign({},e),{originalLocation:r,originalReferrer:n})),window.dataLayer.push(i)}function v(e,t){f({ecommerce:null,ecommerceV2:null}),t.event?f(t):f(Object.assign({event:e},t))}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?1:0}function j(e){if(!e.commertialOffer.PriceWithoutDiscount)return 0;var t,r=e.commertialOffer,n=r.Price,a=r.PriceWithoutDiscount;if(a<=n)return 0;try{t=a-n}catch(e){t=0}return t}function R(e){var t;if(e&&e.length)return null==(t=e[0])?void 0:t.replace(/^\/|\/$/g,"")}function N(e){if(e)return e.split("/")}function P(e){return{affiliation:e.transactionAffiliation,coupon:e.coupon?e.coupon:null,id:e.orderGroup,revenue:e.transactionTotal,shipping:e.transactionShipping,tax:e.transactionTax}}function S(e,t){var r=e.lastIndexOf(t);return-1===r||0===r?e:e.substring(0,r-1)}function V(e){var t=e.name,r=e.skuName,n=e.id,a=e.brand,i=e.sku,o=e.price,c=e.quantity,u=e.categoryTree,d=e.productRefId,s=e.skuRefId,l=S(t,r);return Object.assign(Object.assign({item_id:n,item_name:l,item_brand:a,item_variant:i,price:o,quantity:c},x([u.join("/")])),y({productReference:d,skuReference:s,skuName:r,quantity:c}))}function q(e,t){var r=0;return e.length?{items:e.map((function(e){var n,a,i=S(e.name,e.skuName),o=(null!==(n=e.priceIsInt)&&void 0!==n?n:null==t?void 0:t.dividePrice)?e.price/100:e.price,c=e.brand?e.brand:null===(a=e.additionalInfo)||void 0===a?void 0:a.brandName,u=N(e.productCategoryIds),d=e.category?x([e.category]):function(e,t){if(!t||!t.length||!e)return[];var r=[],n={};return t.forEach((function(t){t&&r.push(e[t])})),r.forEach((function(e,t){I(n,e,t)})),n}(e.productCategories,u);return r+=o*e.quantity,Object.assign(Object.assign({item_id:e.productId,item_brand:c,item_name:i,item_variant:e.skuId,quantity:e.quantity,price:o},d),y({productReference:e.productRefId,skuReference:e.referenceId,skuName:e.variant,quantity:e.quantity}))})),totalValue:r}:{items:[],totalValue:r}}function C(e){return e.map(V)}function E(){var e;return Boolean(null===(e=null===window||void 0===window?void 0:window.__gtm__)||void 0===e?void 0:e.sendGA4Events)}function T(e){if(E()){var t=e.currency,r=e.product,n=e.list,a=r.selectedSku,i=r.productName,o=r.productId,c=r.productReference,u=r.categories,d=r.brand,s=a.itemId,l=w(a.sellers),m=k(l),p=x(u),f=j(l),b=O(l);v("view_item",{ecommerce:{currency:t,value:m,items:[Object.assign(Object.assign({item_id:o,item_name:i,item_list_name:n,item_brand:d,item_variant:s,discount:f,quantity:b,price:m},p),y({productReference:c,skuReference:_(r),skuName:a.name,quantity:b}))]}})}}function M(e){if(E()){v("view_item_list",{ecommerce:{item_list_name:e.list,items:function(e){return e&&e.length?e.map((function(e){var t=e.product,r=e.position,n=t.productName,a=t.productId,i=t.productReference,o=t.sku,c=t.brand,u=t.categories,d=o.itemId,s=o.seller,l=o.referenceId,m=o.name,p=k(s),f=j(s),v=O(s),b=x(u);return Object.assign(Object.assign({item_id:a,item_name:n,item_variant:d,item_brand:c,index:r,discount:f,price:p,quantity:v},b),y({productReference:i,skuReference:null==l?void 0:l.Value,skuName:m,quantity:v}))})):[]}(e.impressions)}})}}function A(e){if(E()){var t=e.product,r=e.list,n=e.position,a=t.sku,i=t.productName,o=t.productId,c=t.productReference,u=t.categories,d=t.brand,s=a.itemId,l=a.referenceId,m=a.name,p=w(a.sellers),f=k(p),b=x(u),g=j(p),h=O(p);v("select_item",{ecommerce:{item_list_name:r,items:[Object.assign(Object.assign({item_id:o,item_name:i,item_list_name:r,item_brand:d,item_variant:s,index:n,price:f,quantity:h,discount:g},b),y({productReference:c,skuReference:null==l?void 0:l.Value,skuName:m,quantity:h}))]}})}}function D(e){if(E()){var t=g(e.promotions,1)[0];v("select_promotion",{ecommerce:{creative_name:t.creative,creative_slot:t.position,promotion_id:t.id,promotion_name:t.name}})}}function U(e){if(E()){var t=g(e.promotions,1)[0],r=t.creative,n=t.position,a=t.id,i=t.name,o=t.products,c=[];(null==o?void 0:o.length)&&(c=o.map((function(e){return{item_id:e.productId,item_name:e.productName}}))),v("view_promotion",{ecommerce:{creative_name:r,creative_slot:n,promotion_id:a,promotion_name:i,items:c}})}}function F(e){if(E()){var t=e.items,r=e.currency,n=q(t);v("add_to_cart",{ecommerce:{items:n.items,currency:r,value:n.totalValue}})}}function L(e){if(E()){var t=e.items,r=e.currency,n=q(t);v("remove_from_cart",{ecommerce:{items:n.items,currency:r,value:n.totalValue}})}}function H(e){if(E()){var t=P(e),r=t.id,n=t.revenue,a=t.tax,i=t.shipping,o=t.coupon,c=e.transactionProducts,u=e.currency;v("purchase",{ecommerce:{transaction_id:r,value:n,tax:a,shipping:i,coupon:o,items:C(c),currency:u}})}}function W(e){var t=e.currency,r=e.payment,n=e.items;v("add_payment_info",{ecommerce:{currency:t,value:r.value/100,payment_type:r.group,items:q(n).items}})}function G(e){var t=e.currency,r=q(e.items),n=r.items;v("begin_checkout",{ecommerce:{currency:t,value:r.totalValue,items:n}})}function J(e){var t=e.currency,r=e.items,n=e.shippingTier;v("add_shipping_info",{ecommerce:{currency:t,value:e.value,items:q(r).items,shipping_tier:n}})}function Q(e){var t=e.currency,r=q(e.items,{dividePrice:!0}),n=r.items;v("view_cart",{ecommerce:{currency:t,value:r.totalValue,items:n}})}function $(e){var t=e.currency,r=e.items,n=e.list,a=r.product,i=a.sku,o=a.productName,c=a.productId,u=a.categories,d=a.brand,s=a.productReference,l=i?i.itemId:r.selectedItem.itemId,m=w(i?i.sellers:r.selectedItem.sellers),p=k(m),f=x(u),b=j(m),g=O(m);v("add_to_wishlist",{ecommerce:{currency:t,value:p,items:[Object.assign(Object.assign({item_id:c,item_name:o,item_list_name:n,item_brand:d,item_variant:l,discount:b,quantity:g,price:p},f),y({productReference:s,skuReference:i?i.referenceId.Value:r.selectedItem.referenceId,skuName:i?i.name:r.selectedItem.name,quantity:g}))]}})}function B(e){var t=e.currency,r=e.order,n=r.tax,a=r.shipping,i=r.value;v("refund",{ecommerce:{transaction_id:r.transactionId,value:i,tax:n,shipping:a,items:C(r.items),currency:t}})}function Y(e){v("login",{ecommerce:{method:e.method}})}function Z(e){v("sign_up",{ecommerce:{method:e.method}})}function z(e){v("search",{ecommerce:{search_term:e.term}})}function K(e){v("share",{ecommerce:{method:e.method,content_type:e.contentType,item_id:e.itemId}})}function X(){return(X=c(i.a.mark((function e(t){var r,n,a,o,c,u,d,s,l,m,p,f,b,g,y,k,I,x,O,j,N,S,V,q,C,E,X,ne,ae,ie,oe,ce,ue,de,se,le,me,pe,fe,ve,be,ge,ye,he,_e,we;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t.data.eventName,e.next="vtex:productView"===e.t0?3:"vtex:productClick"===e.t0?12:"vtex:addToCart"===e.t0?20:"vtex:removeFromCart"===e.t0?25:"vtex:orderPlaced"===e.t0?30:"vtex:productImpression"===e.t0?36:"vtex:cartLoaded"===e.t0?42:"vtex:promoView"===e.t0?46:"vtex:promotionClick"===e.t0?51:"vtex:addPaymentInfo"===e.t0?56:"vtex:beginCheckout"===e.t0?58:"vtex:addShippingInfo"===e.t0?60:"vtex:viewCart"===e.t0?62:"vtex:login"===e.t0?64:"vtex:signUp"===e.t0?66:"vtex:refund"===e.t0?68:"vtex:addToWishlist"===e.t0?70:"vtex:search"===e.t0?72:"vtex:share"===e.t0?74:76;break;case 3:c=t.data.product,u=c.productId,d=c.productReference,s=c.selectedSku,l=c.productName,m=c.brand,p=c.categories,f=w(s.sellers).commertialOffer.AvailableQuantity,b=h(f),g=t.data.list?{actionField:{list:t.data.list}}:{};try{y=w(s.sellers).commertialOffer.Price}catch(e){y=void 0}return k={ecommerce:{detail:Object.assign(Object.assign({},g),{products:[{brand:m,category:R(p),id:u,variant:s.itemId,name:l,dimension1:null!=d?d:"",dimension2:null!==(r=_(t.data.product))&&void 0!==r?r:"",dimension3:s.name,dimension4:b,price:y}]})},event:"productDetail"},T(t.data),v("productDetail",k),e.abrupt("return");case 12:I=t.data,x=I.product,O=I.position,j=x.productName,N=x.brand,S=x.categories,V=x.sku,q=x.productId,C=x.productReference,E=t.data.list?{actionField:{list:t.data.list}}:{};try{X=w(null!==(n=null==V?void 0:V.sellers)&&void 0!==n?n:x.items[0].sellers).commertialOffer.Price}catch(e){X=void 0}return ne={event:"productClick",ecommerce:{click:Object.assign(Object.assign({},E),{products:[{brand:N,category:R(S),id:q,variant:V.itemId,name:j,dimension1:null!=C?C:"",dimension2:null!==(o=null===(a=V.referenceId)||void 0===a?void 0:a.Value)&&void 0!==o?o:"",dimension3:V.name,price:X,position:O}]})}},A(t.data),v("productClick",ne),e.abrupt("return");case 20:return ae=t.data.items,ie={ecommerce:{add:{products:ae.map((function(e){var t,r;return{brand:e.brand,category:e.category,id:e.productId,variant:e.skuId,name:e.name,price:!0===e.priceIsInt?"".concat(e.price/100):"".concat(e.price),quantity:e.quantity,dimension1:null!==(t=e.productRefId)&&void 0!==t?t:"",dimension2:null!==(r=e.referenceId)&&void 0!==r?r:"",dimension3:e.variant}}))},currencyCode:t.data.currency},event:"addToCart"},F(t.data),v("addToCart",ie),e.abrupt("return");case 25:return oe=t.data.items,ce={ecommerce:{currencyCode:t.data.currency,remove:{products:oe.map((function(e){var t,r;return{brand:e.brand,category:e.category,id:e.productId,variant:e.skuId,name:e.name,price:!0===e.priceIsInt?"".concat(e.price/100):"".concat(e.price),quantity:e.quantity,dimension1:null!==(t=e.productRefId)&&void 0!==t?t:"",dimension2:null!==(r=e.referenceId)&&void 0!==r?r:"",dimension3:e.variant}}))}},event:"removeFromCart"},L(t.data),v("removeFromCart",ce),e.abrupt("return");case 30:return ue=t.data,de={purchase:{actionField:P(ue),products:ue.transactionProducts.map((function(e){return ee(e)}))}},se=Object.assign(Object.assign({event:"orderPlaced"},ue),{ecommerce:de,ecommerceV2:{ecommerce:de}}),H(ue),v("orderPlaced",se),e.abrupt("return");case 36:return le=t.data,me=le.currency,pe=le.list,fe=le.impressions,ve=(fe||[]).map(te(pe)),be={event:"productImpression",ecommerce:{currencyCode:me,impressions:ve}},M(t.data),v("productImpression",be),e.abrupt("return");case 42:return ge=t.data.orderForm,v("checkout",{event:"checkout",ecommerce:{checkout:{actionField:{step:1},products:ge.items.map(re)}}}),e.abrupt("break",77);case 46:return ye=t.data.promotions,he={event:"promoView",ecommerce:{promoView:{promotions:ye}}},U(t.data),v("promoView",he),e.abrupt("break",77);case 51:return _e=t.data.promotions,we={event:"promotionClick",ecommerce:{promoClick:{promotions:_e}}},D(t.data),v("promotionClick",we),e.abrupt("break",77);case 56:return W(t.data),e.abrupt("break",77);case 58:return G(t.data),e.abrupt("break",77);case 60:return J(t.data),e.abrupt("break",77);case 62:return Q(t.data),e.abrupt("break",77);case 64:return Y(t.data),e.abrupt("break",77);case 66:return Z(t.data),e.abrupt("break",77);case 68:return B(t.data),e.abrupt("break",77);case 70:return $(t.data),e.abrupt("break",77);case 72:return z(t.data),e.abrupt("break",77);case 74:return K(t.data),e.abrupt("break",77);case 76:return e.abrupt("break",77);case 77:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ee(e){var t,r,n,a=S(e.name,e.skuName);return{brand:e.brand,category:null===(t=e.categoryTree)||void 0===t?void 0:t.join("/"),id:e.id,variant:e.sku,name:a,price:e.price,quantity:e.quantity,dimension1:null!==(r=e.productRefId)&&void 0!==r?r:"",dimension2:null!==(n=e.skuRefId)&&void 0!==n?n:"",dimension3:e.skuName}}function te(e){return function(t){var r,n,a,i=t.product,o=t.position;return{brand:i.brand,category:R(i.categories),id:i.productId,variant:i.sku.itemId,list:e,name:i.productName,position:o,price:"".concat(i.sku.seller.commertialOffer.Price),dimension1:null!==(r=i.productReference)&&void 0!==r?r:"",dimension2:null!==(a=null===(n=i.sku.referenceId)||void 0===n?void 0:n.Value)&&void 0!==a?a:"",dimension3:i.sku.name}}}function re(e){var t,r,n,a,i,o=S(e.name,e.skuName);return{id:e.productId,variant:e.id,name:o,category:Object.keys(null!==(t=e.productCategories)&&void 0!==t?t:{}).reduce((function(e,t){return e?"".concat(e,"/").concat(t):t}),""),brand:null!==(n=null===(r=e.additionalInfo)||void 0===r?void 0:r.brandName)&&void 0!==n?n:"",price:e.sellingPrice/100,quantity:e.quantity,dimension1:null!==(a=e.productRefId)&&void 0!==a?a:"",dimension2:null!==(i=e.referenceId)&&void 0!==i?i:"",dimension3:e.skuName}}function ne(e){return ae.apply(this,arguments)}function ae(){return(ae=c(i.a.mark((function e(t){var r,n,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(new TextEncoder).encode(t),e.next=3,crypto.subtle.digest("SHA-256",r);case 3:return n=e.sent,a=Array.from(new Uint8Array(n)),o=a.map((function(e){return e.toString(16).padStart(2,"0")})).join(""),e.abrupt("return",o);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ie(){return(ie=c(i.a.mark((function e(t){var r,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t.data.eventName,e.next="vtex:pageView"===e.t0?3:"vtex:userData"===e.t0?5:18;break;case 3:return f(Object.assign({event:"pageView",location:t.data.pageUrl,page:t.data.pageUrl.replace(t.origin,""),referrer:t.data.referrer},t.data.pageTitle&&{title:t.data.pageTitle})),e.abrupt("return");case 5:if((r=t.data).isAuthenticated){e.next=8;break}return e.abrupt("return");case 8:if(!r.email){e.next=14;break}return e.next=11,ne(r.email);case 11:e.t1=e.sent,e.next=15;break;case 14:e.t1=void 0;case 15:return n=e.t1,f({event:"userData",userId:r.id,emailHash:n}),e.abrupt("break",19);case 18:return e.abrupt("break",19);case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function oe(){return(oe=c(i.a.mark((function e(t){var r,n,a,o,c,u,d,s,l,m,p,v,b,g;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t.data.eventName,e.next="vtex:pageInfo"===e.t0?3:23;break;case 3:p=t.data.eventType,e.t1=p,e.next="homeView"===e.t1?7:"categoryView"===e.t1?9:"departmentView"===e.t1?12:"emptySearchView"===e.t1||"internalSiteSearchView"===e.t1?15:"productView"===e.t1?18:20;break;case 7:return f({event:"homeView"}),e.abrupt("break",22);case 9:return v=t.data,f({event:"categoryView",departmentId:null===(r=v.department)||void 0===r?void 0:r.id,departmentName:null===(n=v.department)||void 0===n?void 0:n.name,categoryId:null===(a=v.category)||void 0===a?void 0:a.id,categoryName:null===(o=v.category)||void 0===o?void 0:o.name}),e.abrupt("break",22);case 12:return b=t.data,f({event:"departmentView",departmentId:null===(c=b.department)||void 0===c?void 0:c.id,departmentName:null===(u=b.department)||void 0===u?void 0:u.name}),e.abrupt("break",22);case 15:return g=t.data,f({event:"internalSiteSearchView",siteSearchTerm:null===(d=g.search)||void 0===d?void 0:d.term,siteSearchForm:window.location.href,siteSearchCategory:null===(l=null===(s=g.search)||void 0===s?void 0:s.category)||void 0===l?void 0:l.id,siteSearchResults:null===(m=g.search)||void 0===m?void 0:m.results}),e.abrupt("break",22);case 18:return f({event:"productView"}),e.abrupt("break",22);case 20:return f({event:"otherView"}),e.abrupt("break",22);case 22:case 23:return e.abrupt("break",24);case 24:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.default=function(){return null};function ce(e){!function(e){X.apply(this,arguments)}(e),function(e){ie.apply(this,arguments)}(e),function(e){oe.apply(this,arguments)}(e)}n.canUseDOM&&window.addEventListener("message",ce)}]); },function(){ !function(e){function t(t){for(var r,u,a=t[0],c=t[1],l=t[2],s=0,d=[];se.length)&&(t=e.length);for(var n=0,r=new Array(t);n=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){u.headers[e]=n.merge(i)})),e.exports=u}).call(this,r(57))},function(e,t,r){"use strict";var n=r(5),o=r(59),i=r(18),s=r(61),a=r(64),u=r(65),c=r(22);e.exports=function(e){return new Promise((function(t,f){var p=e.data,l=e.headers;n.isFormData(p)&&delete l["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password||"";l.Authorization="Basic "+btoa(h+":"+m)}var v=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),i(v,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d};o(t,f,n),d=null}},d.onabort=function(){d&&(f(c("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){f(c("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),f(c(t,e,"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=r(66),y=(e.withCredentials||u(v))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(l[e.xsrfHeaderName]=y)}if("setRequestHeader"in d&&n.forEach(l,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete l[t]:d.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),f(e),d=null)})),void 0===p&&(p=null),d.send(p)}))}},function(e,t,r){"use strict";var n=r(60);e.exports=function(e,t,r,o,i){var s=new Error(e);return n(s,t,r,o,i)}},function(e,t,r){"use strict";var n=r(5);e.exports=function(e,t){t=t||{};var r={},o=["url","method","params","data"],i=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];n.forEach(o,(function(e){void 0!==t[e]&&(r[e]=t[e])})),n.forEach(i,(function(o){n.isObject(t[o])?r[o]=n.deepMerge(e[o],t[o]):void 0!==t[o]?r[o]=t[o]:n.isObject(e[o])?r[o]=n.deepMerge(e[o]):void 0!==e[o]&&(r[o]=e[o])})),n.forEach(s,(function(n){void 0!==t[n]?r[n]=t[n]:void 0!==e[n]&&(r[n]=e[n])}));var a=o.concat(i).concat(s),u=Object.keys(t).filter((function(e){return-1===a.indexOf(e)}));return n.forEach(u,(function(n){void 0!==t[n]?r[n]=t[n]:void 0!==e[n]&&(r[n]=e[n])})),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},,function(e,t,r){e.exports=r(52)},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(5),o=r(17),i=r(53),s=r(23);function a(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var u=a(r(20));u.Axios=i,u.create=function(e){return a(s(u.defaults,e))},u.Cancel=r(24),u.CancelToken=r(67),u.isCancel=r(19),u.all=function(e){return Promise.all(e)},u.spread=r(68),e.exports=u,e.exports.default=u},function(e,t,r){"use strict";var n=r(5),o=r(18),i=r(54),s=r(55),a=r(23);function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},u.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(n.merge(r||{},{method:e,url:t}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,o){return this.request(n.merge(o||{},{method:e,url:t,data:r}))}})),e.exports=u},function(e,t,r){"use strict";var n=r(5);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(5),o=r(56),i=r(19),s=r(20);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(5);e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var u,c=[],f=!1,p=-1;function l(){f&&u&&(f=!1,u.length?c=u.concat(c):p=-1,c.length&&d())}function d(){if(!f){var e=a(l);f=!0;for(var t=c.length;t;){for(u=c,c=[];++p1)for(var r=1;r=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},function(e,t,r){"use strict";var n=r(5);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(5);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(24);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}}]]); },function(){ (window.webpackJsonpsizebay_sizebay_3_5_5=window.webpackJsonpsizebay_sizebay_3_5_5||[]).push([[1],{4:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r="background: #ededed; color: #565656; padding: 3px 5px;",a="background: #ededed; color: black; padding: 3px 5px; font-weight: bold;",c=function(t){var e="%cSizebay: %c"+t;console.log(e,a,r)}},6:function(t,e,n){"use strict";n.d(e,"e",(function(){return k})),n.d(e,"f",(function(){return L})),n.d(e,"h",(function(){return U})),n.d(e,"d",(function(){return P})),n.d(e,"c",(function(){return B})),n.d(e,"b",(function(){return V})),n.d(e,"a",(function(){return H})),n.d(e,"g",(function(){return Z}));var r=n(1),a=n.n(r),c=n(2),o=n(14),i=n.n(o),s=function(t){return i.a.get(t)||null},u=function(t,e,n){i.a.set(t,e,{path:"/",domain:n.replace("https://","").replace("www.","")})},d=n(4),p=n(9),l="https://vfr-v3-production.sizebay.technology",f={method:"GET",headers:{"content-type":"application/json",accept:"application/json","x-szb-device":Object(p.a)(),device:Object(p.a)()}};function v(){return(v=Object(c.a)(a.a.mark((function t(e,n){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:fetch("".concat(l,"/plugin/opened?sid=").concat(e,"&product=").concat(n),f);case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function b(){return(b=Object(c.a)(a.a.mark((function t(e,n){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:fetch("".concat(l,"/plugin/table-opened?sid=").concat(e,"&product=").concat(n),f);case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var h,w=n(3),g=n(26),O=n.n(g);function y(t){return Object.entries(t).map((function(t){var e=Object(w.a)(t,2),n=e[0],r=e[1];return"".concat(n,"=").concat(r)})).join("&")}function m(t){var e=t.options,n=t.method,r=Object.assign(Object.assign({},e),{headers:Object.assign(Object.assign({},null==e?void 0:e.headers),{tenant_id:null==e?void 0:e.tenantId,device:Object(p.a)(),accept:"application/json","x-szb-device":Object(p.a)()})});return Object.assign(Object.assign({},r),{method:n||"GET",referrerPolicy:"origin-when-cross-origin",headers:Object.assign(Object.assign({},r.headers),{"Content-Type":"application/json"})})}function E(){return(E=Object(c.a)(a.a.mark((function t(e,n,r){var c,o,i,s,u,d,p;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=Object.keys((null==r?void 0:r.params)||{}).length>0,o=c?null==r?void 0:r.params:{},i=e,c&&(s=y(o),i="".concat(e,"?").concat(s)),u=m({options:r,method:n}),t.prev=5,t.next=8,O()(i,u);case 8:return d=t.sent,t.abrupt("return",d);case 12:t.prev=12,t.t0=t.catch(5),p=t.t0.response,t.t1=p.status,t.next=t.t1===h.NOT_FOUND?18:t.t1===h.INTERNAL_SERVER_ERROR?19:t.t1===h.BAD_REQUEST?20:21;break;case 18:throw{status:h.NOT_FOUND,message:p.data};case 19:throw{status:h.INTERNAL_SERVER_ERROR,message:p.data};case 20:throw{status:h.BAD_REQUEST,message:p.data};case 21:throw t.t0;case 22:case"end":return t.stop()}}),t,null,[[5,12]])})))).apply(this,arguments)}!function(t){t[t.SUCCESS=200]="SUCCESS",t[t.CREATED=201]="CREATED",t[t.NO_CONTENT=204]="NO_CONTENT",t[t.BAD_REQUEST=400]="BAD_REQUEST",t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.FORBIDDEN=403]="FORBIDDEN",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",t[t.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",t[t.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR"}(h||(h={}));var j=function(t){return function(e,n){return function(t,e,n){return E.apply(this,arguments)}(e,t,n)}},_={get:j("GET"),post:j("POST"),put:j("PUT"),delete:j("DELETE"),patch:j("PATCH")},T=["tamanho","talla"],x="https://vfr-v3-production.sizebay.technology";function R(){return S.apply(this,arguments)}function S(){return(S=Object(c.a)(a.a.mark((function t(){var e,n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_.get("".concat(x,"/api/me/session-id"));case 3:return n=t.sent,console.log("Sizebay -> session response: ",n),t.abrupt("return",n.data);case 8:t.prev=8,t.t0=t.catch(0),404===(null===(e=t.t0.response)||void 0===e?void 0:e.status)?Object(d.a)(t.t0.response.data):Object(d.a)("An error occurred while creating the SID info.");case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))).apply(this,arguments)}function k(t){return N.apply(this,arguments)}function N(){return(N=Object(c.a)(a.a.mark((function t(e){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(n=s("SIZEBAY_SESSION_ID_V4"))){t.next=9;break}return t.next=4,R();case 4:if(r=t.sent){t.next=7;break}return t.abrupt("return");case 7:return u("SIZEBAY_SESSION_ID_V4",r,e||window.location.origin),t.abrupt("return",r);case 9:return t.abrupt("return",n);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var I=function(t){var e=new URL(t).pathname;return/[^a-zA-Z0-9\s/-]/.test(e)?encodeURIComponent(t):t};function A(t,e,n){return D.apply(this,arguments)}function D(){return(D=Object(c.a)(a.a.mark((function t(e,n,r){var c,o,i,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==e){t.next=21;break}return c=I(n),t.prev=2,t.next=5,_.get("".concat(x,"/plugin/my-product-id?sid=").concat(e,"&permalink=").concat(c),{tenantId:r});case 5:return(o=t.sent).status,Object(d.a)("Virtual Fitting Room"),Object(d.a)("Product -> ".concat(n)),window.dataLayer&&window.dataLayer.push({event:"szb-plugin-imported"}),t.abrupt("return",o.data);case 13:if(t.prev=13,t.t0=t.catch(2),404!==(null===t.t0||void 0===t.t0?void 0:t.t0.status)){t.next=20;break}return Object(d.a)("Product not found"),i=(null===t.t0||void 0===t.t0?void 0:t.t0.message)||"",s=/^\d+$/.test(i),t.abrupt("return",{isPending:!0,id:s?i:null});case 20:Object(d.a)("An error occurred while getting product info.");case 21:case"end":return t.stop()}}),t,null,[[2,13]])})))).apply(this,arguments)}function L(t,e,n){return z.apply(this,arguments)}function z(){return(z=Object(c.a)(a.a.mark((function t(e,n,r){var c,o,i,s,u,d;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A(e,n,r);case 2:return c=t.sent,o=null==c?void 0:c.id,i=null==c?void 0:c.accessory,s=null==c?void 0:c.clothesType,u=null==c?void 0:c.isPending,d=(null==c?void 0:c.shoe)||"SHOE_ACCESSORY"===s,t.abrupt("return",{id:o,accessory:i,shoe:d,isPending:u});case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function U(t,e,n,r,a,c){return C.apply(this,arguments)}function C(){return(C=Object(c.a)(a.a.mark((function t(e,n,r,c,o,i){var s,u,p,l;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==n||null==e){t.next=15;break}return t.prev=1,p="","function"==typeof(null===window||void 0===window?void 0:window.SizebayVtex)&&(((null===(s=[c])||void 0===s?void 0:s.length)>=1||(null==o?void 0:o.length)>=1)&&(p="&sizes=".concat(null==c?void 0:c.join(),"&sizes-in-stock=").concat(null==o?void 0:o.join())),i&&(p+="&size-system=".concat(i))),t.next=6,_.get("".concat(x,"/api/me/analysis/").concat(e,"?sid=").concat(n,"&tenant=").concat(r).concat(p),{tenantId:r});case 6:return 200===(l=t.sent).status&&Object(d.a)("Product recommendation"),window.dataLayer&&window.dataLayer.push({event:"szb-select-size"}),t.abrupt("return",l.data);case 12:t.prev=12,t.t0=t.catch(1),404!==(null===(u=t.t0.response)||void 0===u?void 0:u.status)||Object(d.a)(t.t0.response.data);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})))).apply(this,arguments)}function P(t,e,n,r,a,c,o,i){var s="vfr"===a,u=i,d=u?"https://vfr-redesigned.sizebay.technology":"";s?function(t,e){v.apply(this,arguments)}(e,o):function(t,e){b.apply(this,arguments)}(e,o),window.dataLayer&&window.dataLayer.push({event:"szb-".concat(s?"plugin":"table","-opened")});var p,l,f="".concat(u?d:x,"/V4/?mode=").concat(a,"&id=").concat(t,"&sid=").concat(e,"&tenantId=").concat(n,"&lang=").concat(r);return c?"".concat(f,"&pageProductImg=").concat((l=['[src*="width=22222"]','img[class*="productImageTag"]','img[class*="ImageContainer"]','img[class*="imageElement"]','div.swiper-slide.swiper-slide-active button.product-image-desktop__main-item img[alt="Imagem de produto"]','div.swiper-slide.swiper-slide-active img[alt="Imagem de produto"]'].find((function(t){return document.querySelector(t)}))||"",(null===(p=document.querySelector(l))||void 0===p?void 0:p.getAttribute("src"))||null)):f}function B(t,e,n,r,a,c,o,i,s,u,d,p){return{productId:t,sessionId:e,accessory:n,border:r,icon:a,pdpImage:c,tenantId:o,lang:i,vfrBtnText:s,chartBtnText:u,cookieDomain:d,colorAttribute:p}}function V(t,e){return F.apply(this,arguments)}function F(){return(F=Object(c.a)(a.a.mark((function t(e,n){var r,c,o,i,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_.get("/api/catalog_system/pub/products/search/".concat(e,"/p"));case 3:if(200!==(r=t.sent).status){t.next=10;break}return c=r.data[0].items,o=c.findIndex((function(t){var e=Object.keys(t).find((function(t){return T.some((function(e){return t.toLowerCase().includes(e)}))}));return t.itemId===n&&(e&&t[e]&&t[e].length>0)})),i=o>=0?o:0,s=Object.keys(c[i]).find((function(t){return T.some((function(e){return t.toLowerCase().includes(e)}))}))||"",t.abrupt("return",c[i][s]?c[i][s][0]:"");case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(0),console.error("An error occurred while getting the product info:",t.t0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})))).apply(this,arguments)}function H(t,e){return Y.apply(this,arguments)}function Y(){return(Y=Object(c.a)(a.a.mark((function t(e,n){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_.post("".concat(x,"/plugin/new/cart?sid=").concat(n),{data:Object.assign({},e),headers:{"content-type":"application/json",accept:"application/json"}});case 3:204===t.sent.status&&Object(d.a)("Add to cart event triggered"),window.dataLayer&&window.dataLayer.push({event:"szb-add-to-cart"}),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),Object(d.a)("An error occurred while sending add to cart event.");case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))).apply(this,arguments)}function Z(t,e){return Q.apply(this,arguments)}function Q(){return(Q=Object(c.a)(a.a.mark((function t(e,n){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,_.post("".concat(x,"/plugin/new/ordered?sid=").concat(n),{data:Object.assign({},e),headers:{"content-type":"application/json",accept:"application/json"}});case 3:204===t.sent.status&&Object(d.a)("Ordered event triggered"),window.dataLayer&&window.dataLayer.push({event:"szb-ordered"}),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),Object(d.a)("An error occurred while sending ordered event.");case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))).apply(this,arguments)}},9:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var r=function(){return"undefined"!=typeof window&&void 0!==window.navigator},a=function(t){if(!r())return!1;var e=r()?window.navigator.userAgent:"";return t.some((function(t){return t.test(e)}))},c=[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i],o=[/iPad/i,/Tablet/i],i=function(){return r()?r()&&!0===window.navigator.standalone?"app":a(o)?"tablet":a(c)?"mobile":"desktop":"desktop"}}}]); },function(){ (window.webpackJsonpsizebay_sizebay_3_5_5=window.webpackJsonpsizebay_sizebay_3_5_5||[]).push([["index"],{16:function(e,t){e.exports=regeneratorRuntime},50:function(e,t){e.exports=__RENDER_8_RUNTIME__},69:function(e,t,a){"use strict";a.r(t),function(e){var t=a(11);a.p=Object(t.getPublicPath)("sizebay.sizebay@3.5.5");var n=Object(t.register)((function(){return a(70)}),e,"sizebay.sizebay@3.5.5","sizebay.sizebay@3.x","index");n.renderHotReload,n.setupHMR}.call(this,a(15)(e))},70:function(e,t,a){"use strict";a.r(t);var n=a(1),r=a.n(n),s=a(2),i=a(50),c=a(6);function o(){return(o=Object(s.a)(r.a.mark((function e(t){var a,n,s,i,o,u,d,b,p,w,l,y;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=null===(a=null===window||void 0===window?void 0:window.location)||void 0===a?void 0:a.origin,e.t0=t.data.eventName,e.next="vtex:orderPlaced"===e.t0?4:"vtex:addToCart"===e.t0?29:40;break;case 4:return e.next=6,Object(c.e)();case 6:s=e.sent,i=t.data,o=i.transactionId,u=i.transactionProducts,d={orderId:o,items:[]},b=0;case 10:if(!(be.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c}).call(this,r(79))},,,,function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n1)for(var r=1;r=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},function(e,t,r){"use strict";var n=r(9);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(89),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={},s=n.version.split(".");function a(e,t){for(var r=t?t.split("."):s,n=e.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var i=n[o],s=t[i];if(s){var a=e[i],u=void 0===a||s(a,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},function(e){e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(e,t,r){"use strict";var n=r(37);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},,,,,function(e,t,r){"use strict";var n,o=new Uint8Array(16);function i(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(o)}var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var a=function(e){return"string"==typeof e&&s.test(e)},u=[],c=0;c<256;++c)u.push((c+256).toString(16).substr(1));var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!a(r))throw TypeError("Stringified UUID is invalid");return r};t.a=function(e,t,r){var n=(e=e||{}).random||(e.rng||i)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return f(n)}}]]); },function(){ (window.webpackJsonpvtex_facebook_fbe_1_13_1=window.webpackJsonpvtex_facebook_fbe_1_13_1||[]).push([["FbePixel"],{18:function(e,t){e.exports=__RENDER_8_RUNTIME__},25:function(e,t){e.exports=regeneratorRuntime},4:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return u}));var r={searchParams:{code:"code",redirectUrl:"redirectUrl",configurationName:"configurationName"},nullResult:"null",eventType:"fbe-auth"},a={jsSdkId:"facebook-jssdk",defaultApiVersion:"v10.0",defaultLoginOptions:{ctaButtonText:"Buy Now",belowButtonText:"Powered by VTEX"}},o="message",i="(min-width:992px)",c=function(e){if(e)return"