enqueueScripts([function(){ (window.webpackJsonpsizebay_sizebay_3_5_5=window.webpackJsonpsizebay_sizebay_3_5_5||[]).push([[0],[,,,,,function(e,t,r){"use strict";var n=r(17),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r=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(!(b