enqueueScripts([function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useStartLoginAttempt"],{0:function(e,t){e.exports=React},113:function(e,t,r){"use strict";r.r(t),function(e){var t=r(6);r.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var n=Object(t.register)((function(){return r(144)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useStartLoginAttempt");n.renderHotReload,n.setupHMR}.call(this,r(20)(e))},14:function(e,t,r){"use strict";var n=r(3),a=r.n(n),u=r(5),o=r(4),i=r(0),c=r(8),s=r(7);t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.onSuccess,l=void 0===n?c.a:n,d=r.onFailure,p=void 0===d?c.a:d,v=r.onFinish,f=void 0===v?c.a:v,b=r.autorun,O=void 0!==b&&b,g=Object(i.useState)(null),h=Object(o.a)(g,2),j=h[0],m=h[1],S=Object(i.useState)(null),x=Object(o.a)(S,2),_=x[0],w=x[1],A=Object(i.useState)(O),k=Object(o.a)(A,2),R=k[0],U=k[1],E=Object(i.useCallback)(e,t),T=Object(i.useCallback)(function(){var e=Object(u.a)(a.a.mark((function e(){var t,r=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(null),U(!0),e.prev=2,e.next=5,E.apply(void 0,r);case 5:return t=e.sent,m(t),w(null),l(t),e.abrupt("return",t);case 12:return e.prev=12,e.t0=e.catch(2),w(e.t0),m(null),p(Object(s.a)(e.t0)),e.abrupt("return",e.t0);case 18:return e.prev=18,U(!1),f(),e.finish(18);case 22:case"end":return e.stop()}}),e,null,[[2,12,18,22]])})));return function(){return e.apply(this,arguments)}}(),[E,p,f,l]);return Object(i.useEffect)((function(){O&&T()}),[O,T]),[T,{value:j,error:_,loading:R}]}},144:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r.n(n),u=r(5),o=r(4),i=r(1),c=r(14),s=r(11),l=r(22),d=r(27),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onSuccess,r=void 0===t?i.b:t,n=e.onFailure,p=void 0===n?i.b:n,v=e.autorun,f=void 0!==v&&v,b=e.scope,O=void 0===b?s.a.Scopes.STORE:b,g=e.parentAppId,h=void 0===g?null:g,j=e.actionArgs,m=(j=void 0===j?{}:j).email,S=void 0===m?null:m,x=e.loginAttempt,_=(x=void 0===x?{}:x).onTimeout,w=void 0===_?i.b:_,A=x.returnUrl,k=void 0===A?null:A,R=Object(l.a)((function(){return w()}),[w],{scope:O,parentAppId:h}),U=Object(c.a)(function(){var e=Object(u.a)(a.a.mark((function e(){var t,r,n,u,o=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},r=t.email,n=void 0===r?S:r,e.next=3,Object(d.a)(O);case 3:return u=e.sent,e.abrupt("return",R({fingerprint:u,email:n,returnUrl:k}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[S,O,R,k],{onSuccess:r,onFailure:p,autorun:f}),E=Object(o.a)(U,2),T=E[0],I=E[1],C=I.error,y=I.loading;return[T,{error:C,loading:y}]};t.default=p},21:function(e,t){e.exports=regeneratorRuntime},22:function(e,t,r){"use strict";var n=r(0),a=r(9),u=r(11),o=r(1),i=u.a.SessionDuration;t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=r.scope,s=void 0===c?u.a.Scopes.STORE:c,l=r.parentAppId,d=void 0===l?null:l,p=r.useOAuthPopup,v=void 0!==p&&p,f=Object(a.useRuntime)(),b=f.account,O=Object(n.useRef)(),g=Object(n.useCallback)(e,t);return Object(n.useCallback)((function(e){var t=e.fingerprint,r=void 0===t?null:t,n=e.email,a=void 0===n?null:n,u=e.returnUrl,c=void 0===u?null:u;return clearTimeout(O.current),O.current=setTimeout((function(){return g()}),i),o.c.startSession({accountName:b,returnUrl:c,scope:s,user:a,fingerprint:r,parentAppId:d,useOAuthPopup:v})}),[b,s,d,v,g])}},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(2),a={NetworkError:n.c,BlockedUser:n.a,WrongCredentials:n.i,InvalidMFAToken:n.i,InvalidRecaptcha:n.b,OAuthError:n.d,ThrottledError:n.f,PasswordAlreadyUsed:n.e,UnauthorizedUser:n.g},u=r(12);function o(e){if(!e)return new u.a;var t=function(e){if(e)return e.code?e.code:e.response&&"Seu login está bloqueado temporariamente."===e.response.data?"BlockedUser":e.authStatus?e.authStatus:e.response&&e.response.data&&e.response.data.authStatus?e.response.data.authStatus:e.message&&"string"==typeof e.message?e.message.replace(/\s+/g,""):e.response&&403===e.response.statusCode?"UnauthorizedUser":void 0}(e);return t&&a[t]?new(0,a[t])(e.details):new u.a(e.details)}},9:function(e,t){e.exports=__RENDER_8_RUNTIME__}},[[113,"common",1,0]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["validations"],{118:function(e,t,r){"use strict";r.r(t),function(e){var t=r(6);r.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var n=Object(t.register)((function(){return r(119)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","validations");n.renderHotReload,n.setupHMR}.call(this,r(20)(e))},119:function(e,t,r){"use strict";r.r(t);var n=r(25),c=r(1);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}t.default=function(e){for(var t=1;tt.length)&&(n=t.length);for(var e=0,r=new Array(n);e=0||(o[e]=t[e]);return o}e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}e.d(n,"a",(function(){return r}))}]); },function(){ (window.webpackJsonpvtex_modal_layout_0_14_1=window.webpackJsonpvtex_modal_layout_0_14_1||[]).push([["ModalContext"],{0:function(t,e){t.exports=React},2:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return O}));var o=n(4),a=n(0),r=n.n(a),c={open:!1,endOfContent:!1},u=Object(a.createContext)(c),i=Object(a.createContext)((function(){}));function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"OPEN_MODAL":return Object.assign(Object.assign({},t),{open:!0});case"CLOSE_MODAL":return Object.assign(Object.assign({},t),{open:!1});case"SET_END_OF_CONTENT":return Object.assign(Object.assign({},t),{endOfContent:e.payload.endOfContent});default:return t}}function d(t){var e=t.children,n=t.initialState,d=void 0===n?void 0:n,l=Object(a.useReducer)(s,null!=d?d:c),O=Object(o.a)(l,2),v=O[0],b=O[1];return r.a.createElement(u.Provider,{value:v},r.a.createElement(i.Provider,{value:b},e))}function l(){return Object(a.useContext)(i)}function O(){var t=Object(a.useContext)(u);if(void 0===t)throw Error("useModalState must be used within a ModalStateContext");return t}},34:function(t,e,n){"use strict";n.r(e),function(t){var e=n(1);n.p=Object(e.getPublicPath)("vtex.modal-layout@0.14.1");var o=Object(e.register)((function(){return n(35)}),t,"vtex.modal-layout@0.14.1","vtex.modal-layout@0.x","ModalContext");o.renderHotReload,o.setupHMR}.call(this,n(7)(t))},35:function(t,e,n){"use strict";n.r(e);var o=n(2);e.default={useModalDispatch:o.b,ModalContextProvider:o.a}}},[[34,"common"]]]); },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);n1?"values":"value",' in the props of a component. Please use "phone" and "tablet" in this case.'))}}}(e),{devices:{phone:a(e,["phone","mobile","tablet","desktop"]),tablet:a(e,["tablet","mobile","desktop","phone"]),desktop:a(e,["desktop","tablet","phone","mobile"])},queries:n}},l=function(e){var t=[],n=new Set;return Object.keys(e).forEach((function(o){var i=s(e[o]);Object.keys(i.queries).forEach((function(e){return n.add(e)})),t.push([o,i])})),{inputList:t,queryList:Object(o.a)(n)}}},,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.responsive-values@0.4.2");var o=Object(t.register)((function(){return n(17)}),e,"vtex.responsive-values@0.4.2","vtex.responsive-values@0.x","useResponsiveValues");o.renderHotReload,o.setupHMR}.call(this,n(11)(e))},function(e,t,n){"use strict";n.r(t);var o=n(0),i=n(5),r=n.n(i),u=n(6),c=n(2);t.default=function(e){var t=r()().device,n=Object(u.b)(e),i=n.inputList,a=n.queryList,s=Object(c.b)(a).mediaQueries,l={};return i.forEach((function(e){var n=Object(o.a)(e,2),i=n[0],r=n[1];if(Object.keys(r.queries).length>0){var u=Object(c.a)(s);if(u)return void(l[i]=r.queries[u])}l[i]=r.devices[t]})),l}}],[[16,"common"]]]); },function(){ (window.webpackJsonpvtex_responsive_values_0_4_2=window.webpackJsonpvtex_responsive_values_0_4_2||[]).push([["useResponsiveValue"],[,,function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var o=n(4),i=n(0),r=n(3),u={};function a(e){return u[e]||"function"!=typeof(null===window||void 0===window?void 0:window.matchMedia)||(u[e]=window.matchMedia(e)),u[e]}function c(e){var t=Object(r.useState)((function(){var t={};return e.forEach((function(e){var n;t[e]=Boolean(null===(n=a(e))||void 0===n?void 0:n.matches)})),t})),n=Object(i.a)(t,2),u=n[0],c=n[1];return Object(r.useLayoutEffect)((function(){if("function"==typeof(null===window||void 0===window?void 0:window.matchMedia)&&0!==e.length){var t=e.map((function(e){var t=!0,n=a(e);void 0!==u[e]&&null!==u[e]||c((function(t){return Object.assign(Object.assign({},t),Object(o.a)({},e,Boolean(null==n?void 0:n.matches)))}));var i=function(n){t&&c((function(t){return Object.assign(Object.assign({},t),Object(o.a)({},e,n.matches))}))};return null==n||n.addListener(i),function(){t=!1,null==n||n.removeListener(i)}}));return function(){t.forEach((function(e){return e()}))}}}),[JSON.stringify(e),c]),{mediaQueries:Object.entries(u)}}var s=function(e){var t=e.find((function(e){return Object(i.a)(e,2)[1]}));if(t)return Object(i.a)(t,1)[0]}},function(e,t){e.exports=React},,function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.device-detector@0.x/useDevice"]},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var o=n(10),i=n(9),r=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i1?"values":"value",' in the props of a component. Please use "phone" and "tablet" in this case.'))}}}(e),{devices:{phone:c(e,["phone","mobile","tablet","desktop"]),tablet:c(e,["tablet","mobile","desktop","phone"]),desktop:c(e,["desktop","tablet","phone","mobile"])},queries:n}},l=function(e){var t=[],n=new Set;return Object.keys(e).forEach((function(o){var i=s(e[o]);Object.keys(i.queries).forEach((function(e){return n.add(e)})),t.push([o,i])})),{inputList:t,queryList:Object(o.a)(n)}}},,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.responsive-values@0.4.2");var o=Object(t.register)((function(){return n(15)}),e,"vtex.responsive-values@0.4.2","vtex.responsive-values@0.x","useResponsiveValue");o.renderHotReload,o.setupHMR}.call(this,n(11)(e))},function(e,t,n){"use strict";n.r(t);var o=n(5),i=n.n(o),r=n(6),u=n(2);t.default=function(e){var t=i()().device,n=Object(r.a)(e),o=n.devices,a=n.queries,c=Object.keys(a),s=Object(u.b)(c).mediaQueries;if(c.length>0){var l=Object(u.a)(s);if(l)return a[l]}return o[t]}}],[[14,"common"]]]); },function(){ !function(e){function n(n){for(var r,u,c=n[0],a=n[1],l=n[2],p=0,s=[];p=t?a():i=setTimeout(a,t-e)),o};function a(){i=0,c=+new Date,o=e.apply(n,r),n=null,r=null}}},12:function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(11),c=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),d?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;h.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),v=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new c,R=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=p.getInstance(),r=new M(t,n,this);S.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){R.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}});var A=void 0!==u.ResizeObserver?u.ResizeObserver:R,k=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i=t||n<0||l&&e-s>=i}function v(){var e=C();if(p(e))return b(e);a=setTimeout(v,function(e){var n=t-(e-u);return l?ae(n,i-(e-s)):n}(e))}function b(e){return a=void 0,h&&r?d(e):(r=o=void 0,c)}function y(){var e=C(),n=p(e);if(r=arguments,o=this,u=e,n){if(void 0===a)return function(e){return s=e,a=setTimeout(v,t),f?d(e):c}(u);if(l)return clearTimeout(a),a=setTimeout(v,t),d(u)}return void 0===a&&(a=setTimeout(v,t)),c}return t=oe(t)||0,z(n)&&(f=!!n.leading,i=(l="maxWait"in n)?ce(oe(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),y.cancel=function(){void 0!==a&&clearTimeout(a),s=0,r=u=o=a=void 0},y.flush=function(){return void 0===a?c:b(C())},y},se="Expected a function";var fe=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(se);return z(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ue(e,t,{leading:r,maxWait:t,trailing:o})},le={debounce:ue,throttle:fe},he=function(e){return le[e]},de=function(e){return"function"==typeof e},pe=function(){return"undefined"==typeof window},ve=function(e){return e instanceof Element||e instanceof HTMLDocument};function be(e){return(be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ye(e,t){for(var n=0;n