enqueueScripts([function(){ (window.webpackJsonpvtex_store_icons_0_18_0=window.webpackJsonpvtex_store_icons_0_18_0||[]).push([["Icon"],[function(e,n){e.exports=React},,function(e,n){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/useCssHandles"]},function(e,n,o){"use strict";var t=o(0),c=o.n(t),r=o(2),a=o.n(r),s=function(e,n){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var c=0;for(t=Object.getOwnPropertySymbols(e);ce.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t?c():i=setTimeout(c,t-e)),o};function c(){i=0,a=+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),a=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(){c&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(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(){c&&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;f.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}(),d=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),T="undefined"!=typeof WeakMap?new WeakMap:new a,M=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=h.getInstance(),r=new j(t,n,this);T.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){M.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}}));var S=void 0!==u.ResizeObserver?u.ResizeObserver:M,R=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 b(){var e=P();if(v(e))return y(e);c=setTimeout(b,function(e){var n=t-(e-u);return l?ee(n,i-(e-s)):n}(e))}function y(e){return c=void 0,h&&r?d(e):(r=o=void 0,a)}function m(){var e=P(),n=v(e);if(r=arguments,o=this,u=e,n){if(void 0===c)return p(u);if(l)return clearTimeout(c),c=setTimeout(b,t),d(u)}return void 0===c&&(c=setTimeout(b,t)),a}return t=Y(t)||0,k(n)&&(f=!!n.leading,i=(l="maxWait"in n)?Z(Y(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),m.cancel=function(){void 0!==c&&clearTimeout(c),s=0,r=u=o=c=void 0},m.flush=function(){return void 0===c?a:y(P())},m};var ne=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return k(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),te(e,t,{leading:r,maxWait:t,trailing:o})},re={debounce:te,throttle:ne},oe=function(e){return"function"==typeof e},ie=function(){return"undefined"==typeof window};function ae(e){return(ae="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 ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n=r;d!==c&&v(c)}}),[u,s,e,d,a,i])),{isStuck:d}}({stickOffset:C,position:N,verticalSpacing:p,contentHeight:j,wrapperOffsetTop:R}).isStuck;null!=H&&null!=s&&console.warn('"StackContainer" overrides the "StickyLayout" "position" prop.');var I=[O.container,!l&&"z-999",M?"fixed":"relative","left-0 right-0"].filter(Boolean).join(" "),D=M?d()(O.wrapper,["stuck"]):O.wrapper,A=(e={},Object(o.a)(e,N,M?p+C:0),Object(o.a)(e,"zIndex",l),e),B={position:"relative",height:j};return a.a.createElement("div",{ref:w,className:D,style:B},a.a.createElement("div",{ref:b,className:I,style:A},i,a.a.createElement(u.a,{handleHeight:!0,onResize:function(t,e){!1===M&&_(e),T(e)}})))}}],[[15,"common",0]]]); },function(){ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t){e.exports=React},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,a){var c="".concat(n,"/").concat(a),l="".concat(i,"/").concat(a),s=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,c)};if(window[r]&&window[r].registerComponent){var u=!!window.__RENDER_LAZY__;window[r].registerComponent(t,u?s:s(),n,a,u)}else{var d=s();window[r]&&window[r].withHMR?window[o][c]=window[o][l]=window[r].withHMR(t,d):window[o][c]=window[o][l]=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=ReactIntl},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/applyModifiers"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/useCssHandles"]},function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.stack-layout@0.1.3");var r=Object(t.register)((function(){return n(7)}),e,"vtex.stack-layout@0.1.3","vtex.stack-layout@0.x","index");r.renderHotReload,r.setupHMR}.call(this,n(6)(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,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(2),a=n(4),c=n.n(a),l=n(3),s=n.n(l),u=["stackContainer","stackItem"],d=function(e){var t=e.children,n=e.zIndexOffset,r=void 0===n?0:n,a=e.arialabel,l=c()(u),d=Object(i.useIntl)();return o.a.createElement("div",{className:"".concat(l.stackContainer," relative"),"aria-label":a||d.formatMessage({id:"store/stack-layout.aria-label"})},o.a.Children.toArray(t).map((function(e,t){var n,i,a,c=(null===(a=null===(i=null===(n=e)||void 0===n?void 0:n.props)||void 0===i?void 0:i.blockProps)||void 0===a?void 0:a.blockClass)||"",u="";return c&&(u=s()(l.stackItem,c)),0===t?o.a.createElement("div",{key:t,className:"".concat(s()(l.stackItem,"first")," ").concat(u),style:{zIndex:r+1}},e):o.a.createElement("div",{key:t,className:"".concat(l.stackItem," absolute top-0 left-0 w-auto h-auto ").concat(u),style:{zIndex:r+t+1}},e)})))},f=Object(i.defineMessages)({title:{id:"admin/editor.stack-layout.title"},description:{id:"admin/editor.stack-layout.description"}});d.schema={title:f.title.id,description:f.description.id},t.default=d}]); },function(){ !function(e){function t(t){for(var n,a,u=t[0],c=t[1],l=t[2],d=0,p=[];de.length)&&(t=e.length);for(var r=0,n=new Array(t);r=n||e<0||b&&t-c>=o}function x(){var t=v();if(j(t))return _(t);a=setTimeout(x,function(t){var e=n-(t-f);return b?s(e,o-(t-c)):e}(t))}function _(t){return a=void 0,y&&i?m(t):(i=r=void 0,u)}function h(){var t=v(),e=j(t);if(i=arguments,r=this,f=t,e){if(void 0===a)return w(f);if(b)return a=setTimeout(x,n),m(f)}return void 0===a&&(a=setTimeout(x,n)),u}return n=g(n)||0,d(e)&&(l=!!e.leading,o=(b="maxWait"in e)?p(g(e.maxWait)||0,n):o,y="trailing"in e?!!e.trailing:y),h.cancel=function(){void 0!==a&&clearTimeout(a),c=0,i=f=r=a=void 0},h.flush=function(){return void 0===a?u:_(v())},h}function d(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function g(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==l.call(t)}(t))return NaN;if(d(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=d(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(e,"");var a=r.test(t);return a||o.test(t)?u(t.slice(2),a?2:8):i.test(t)?NaN:+t}t.exports=function(t,n,e){var i=!0,r=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return d(e)&&(i="leading"in e?!!e.leading:i,r="trailing"in e?!!e.trailing:r),b(t,n,{leading:i,maxWait:n,trailing:r})}}}]); },function(){ (window.webpackJsonpvtex_react_portal_0_4_1=window.webpackJsonpvtex_react_portal_0_4_1||[]).push([["Overlay"],[function(e,t){e.exports=React},,function(e,t){e.exports=ReactDOM},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/useCssHandles"]},function(e,t,n){"use strict";n.r(t);var r=n(6),a=n(0),i=n.n(a),o=n(2),c=n.n(o),s=n(3),l=n.n(s),u=["portalContainer","portalWrapper"],d=function(e){var t=e.children,n=e.target,r=e.zIndex,a=void 0===r?2147483647:r,o=e.cover,s=l()(u);return n||(n=window&&window.document&&window.document.body),n?c.a.createPortal(i.a.createElement("div",{className:s.portalContainer,style:Object.assign(Object.assign({position:"fixed",top:0,left:0},o?{bottom:0,right:0,pointerEvents:"none"}:{}),{zIndex:a})},i.a.createElement("div",{className:s.portalWrapper,style:{pointerEvents:"auto"}},t)),n):null},v=n(5),f=n.n(v),w=function(e,t){switch(e){case"left":return t.left;case"right":return t.right;case"center":return(t.right+t.left)/2;default:return t.left}},p=function(e){switch(e){case"left":return"justify-start";case"right":return"justify-end";case"center":return"justify-center";default:return"justify-start"}};t.default=function(e){var t=e.children,n=e.fullWindow,o=e.target,c=e.alignment,s=void 0===c?"left":c,l=Object(a.useRef)(null),u=Object(a.useState)(),v=Object(r.a)(u,2),m=v[0],g=v[1],E=Object(a.useCallback)(f()((function(){if(!n&&l.current){var e=l.current.getBoundingClientRect();g({x:w(s,e),y:e.top})}}),200,{leading:!1}),[s,n]);return Object(a.useEffect)((function(){return E(),window&&(window.addEventListener("scroll",E),window.addEventListener("load",E),window.addEventListener("resize",E),window.addEventListener("visibilitychange",E)),function(){window&&(window.removeEventListener("scroll",E),window.removeEventListener("load",E),window.removeEventListener("resize",E),window.removeEventListener("visibilitychange",E))}}),[s,n,E,t]),n?i.a.createElement(d,{target:o,cover:!0},t):i.a.createElement("div",{ref:l,style:{width:"auto",height:1,marginTop:-1}},m&&i.a.createElement(d,{target:o},i.a.createElement("div",{className:"flex ".concat(p(s)),style:{position:"absolute",left:m.x,top:m.y}},i.a.createElement("div",{className:"absolute"},t))))}},,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.react-portal@0.4.1");var r=Object(t.register)((function(){return n(4)}),e,"vtex.react-portal@0.4.1","vtex.react-portal@0.x","Overlay");r.renderHotReload,r.setupHMR}.call(this,n(7)(e))}],[[8,"common",0]]]); },function(){ !function(e){function n(n){for(var r,u,c=n[0],a=n[1],l=n[2],f=0,p=[];fe.length)&&(t=e.length);for(var r=0,n=new Array(t);r0;){var s=r;r=new Set,s.forEach((function(e){m.has(e)||(m.add(e),(a[e]||new Set).forEach((function(e){r.add(e)})))}))}return m.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(i,"addItem")}}]); },function(){ (window.webpackJsonpvtex_store_resources_0_104_0=window.webpackJsonpvtex_store_resources_0_104_0||[]).push([["MutationAddToCart"],{46:function(e,t,r){"use strict";r.r(t),function(e){var t=r(0);r.p=Object(t.getPublicPath)("vtex.store-resources@0.104.0");var o=Object(t.register)((function(){return r(47)}),e,"vtex.store-resources@0.104.0","vtex.store-resources@0.x","MutationAddToCart");o.renderHotReload,o.setupHMR}.call(this,r(2)(e))},47:function(e,t,r){"use strict";r.r(t);var o=r(14),s=r.n(o);t.default=s.a}},[[46,"common",0]]]); }], document.currentScript.dataset.index)