enqueueScripts([function(){
(window.webpackJsonpvtex_product_summary_context_0_12_0=window.webpackJsonpvtex_product_summary_context_0_12_0||[]).push([["ProductSummaryContext"],[function(e,t){e.exports=React},,,function(e,t,r){"use strict";var n=r(8),o=r(9),c=r(10);function i(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function u(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function a(e,t){var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t=o({arrayFormat:"none"},t)),n=Object.create(null);return"string"!=typeof e?n:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),o=t.shift(),i=t.length>0?t.join("="):void 0;i=void 0===i?null:c(i),r(c(o),i,n)})),Object.keys(n).sort().reduce((function(e,t){var r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(r):e[t]=r,e}),Object.create(null))):n}t.extract=u,t.parse=a,t.stringify=function(e,t){!1===(t=o({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var r=function(e){switch(e.arrayFormat){case"index":return function(t,r,n){return null===r?[i(t,e),"[",n,"]"].join(""):[i(t,e),"[",i(n,e),"]=",i(r,e)].join("")};case"bracket":return function(t,r){return null===r?i(t,e):[i(t,e),"[]=",i(r,e)].join("")};default:return function(t,r){return null===r?i(t,e):[i(t,e),"=",i(r,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(n){var o=e[n];if(void 0===o)return"";if(null===o)return i(n,t);if(Array.isArray(o)){var c=[];return o.slice().forEach((function(e){void 0!==e&&c.push(r(n,e,c.length))})),c.join("&")}return i(n,t)+"="+i(o,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:a(u(e),t)}}},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.product-group-context@0.x/ProductGroupContext"]},,function(e,t,r){"use strict";r.r(t),function(e){var t=r(1);r.p=Object(t.getPublicPath)("vtex.product-summary-context@0.12.0");var n=Object(t.register)((function(){return r(7)}),e,"vtex.product-summary-context@0.12.0","vtex.product-summary-context@0.x","ProductSummaryContext");n.renderHotReload,n.setupHMR}.call(this,r(2)(e))},function(e,t,r){"use strict";r.r(t),r.d(t,"reducer",(function(){return l}));var n=r(5),o=r(0),c=r.n(o),i=r(3),u=r.n(i),a=r(4),s=r.n(a).a.useProductGroup,d=Object(o.createContext)(void 0),f=Object(o.createContext)(void 0);function l(e,t){var r;switch(t.type){case"SET_PRODUCT":var n=t.args.product;return Object.assign(Object.assign({},e),{product:n,selectedItem:null!==(r=t.args.selectedItem)&&void 0!==r?r:n.sku});case"SET_HOVER":return Object.assign(Object.assign({},e),{isHovering:t.args.isHovering});case"SET_LOADING":return Object.assign(Object.assign({},e),{isLoading:t.args.isLoading});case"SET_PRICE_LOADING":return Object.assign(Object.assign({},e),{isPriceLoading:t.args.isPriceLoading});case"SET_QUANTITY":return Object.assign(Object.assign({},e),{selectedQuantity:t.args.quantity});case"SET_PRODUCT_QUERY":return Object.assign(Object.assign({},e),{query:t.args.query});case"SET_IN_VIEW":return Object.assign(Object.assign({},e),{inView:t.args.inView});case"SET_POSITION":return Object.assign(Object.assign({},e),{position:t.args.position});default:return e}}var p=function(e){var t=e.product,r=null==t?void 0:t.selectedProperties;if(r){var n={};return r.forEach((function(e){var t=e.key,r=e.value;n["property__".concat(t)]=r})),u.a.stringify(n)}};t.default={ProductSummaryProvider:function(e){var t=e.product,r=e.selectedItem,i=e.isLoading,u=void 0!==i&&i,a=e.isPriceLoading,g=void 0!==a&&a,v=e.listName,y=void 0===v?null:v,b=e.sponsoredBadge,m=void 0===b?{}:b,j=e.children,O={product:t,isHovering:!1,isLoading:u,isPriceLoading:g,selectedItem:null!=r?r:null,selectedQuantity:1,listName:y,sponsoredBadge:m,query:p({product:t}),inView:!1,position:null},x=Object(o.useReducer)(l,O),h=Object(n.a)(x,2),_=h[0],E=h[1],P=s();return Object(o.useEffect)((function(){var e;if(P){var t=(0,P.addItemToGroup)(_.product,null!==(e=_.selectedItem)&&void 0!==e?e:_.product.items[0]);return function(){return t()}}}),[_.selectedItem,_.product]),c.a.createElement(d.Provider,{value:_},c.a.createElement(f.Provider,{value:E},j))},useProductSummary:function(){return Object(o.useContext)(d)},useProductSummaryDispatch:function(){return Object(o.useContext)(f)}}},function(e,t,r){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,u,a=i(e),s=1;st.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0?r=o[i=d]:0!==n?(i=0,r=0):e&&(r=o[i=d]),l&&l({type:"SLIDE",payload:{currentSlide:i,transform:r}}),s({type:"SLIDE",payload:{transform:r,currentSlide:i}})}}},j=function(e){var t=Object(r.useState)(!1),n=Object(g.a)(t,2),i=n[0],a=n[1],o=Object(S.useSliderGroupState)(),s=Object(S.useSliderGroupDispatch)();return Object(r.useEffect)((function(){var t=function(){null==s||s({type:"HOVER",payload:{isHovering:!0}}),a(!0)},n=function(){null==s||s({type:"HOVER",payload:{isHovering:!1}}),a(!1)};return(null==e?void 0:e.current)&&(e.current.addEventListener("mouseenter",t),e.current.addEventListener("mouseleave",n)),function(){var i=e.current;i&&(i.removeEventListener("mouseenter",t),i.removeEventListener("mouseleave",n))}}),[e,s]),(null==o?void 0:o.isHovering)?{isHovering:!0}:{isHovering:i}},T=n(14),_=n.n(T)()(X),I=_.CssHandlesProvider,M=_.useContextCssHandles,N=function(e,t){return t%e==0?"firstVisible":(t+1)%e==0?"lastVisible":""},C=function(e){return a.a.Children.toArray(a.a.Children.map(e,(function(e){return"string"==typeof e||"number"==typeof e?e:Object(r.cloneElement)(e,Object.assign(Object.assign({},e.props),{__isDuplicated:!0}))})))},D=function(e){var t=e.infinite,n=e.usePagination,o=e.centerMode,s=e.centerModeSlidesGap,l=e.totalItems,d=e.children,c=P(),u=c.slideWidth,f=c.slidesPerPage,v=c.currentSlide,p=c.isOnTouchMove,m=c.useSlidingTransitionEffect,g=c.slideTransition,y=g.speed,h=g.timing,b=g.delay,O=c.transformMap,w=c.transform,j=E(),T=Object(S.useSliderGroupDispatch)(),_=M(),I=_.handles,D=_.withModifiers,x=function(e){var t=e.currentSlide,n=e.slidesPerPage,i=e.totalItems,a=e.centerMode,o=Object(r.useRef)(new Set);Object(r.useEffect)((function(){for(var e=0;e=n&&t=n&&t+1=n&&t-1=r)}({index:e,currentSlide:t,slidesToShow:n,totalItems:i,centerMode:a})};return{shouldRenderItem:function(e){return o.current.has(e)||s(e)},isItemVisible:s}}({currentSlide:v,slidesPerPage:f,totalItems:l,centerMode:o}),R=x.shouldRenderItem,A=x.isItemVisible,L=t&&d?C(d).slice(0,f):[],k=(t&&d?C(d).slice(d.length-f):[]).concat(null!=d?d:[],L),H=f<=l?"".concat(100*k.length/f,"%"):"100%";return a.a.createElement("div",{"data-testid":"slider-track",className:"".concat(I.sliderTrack," flex ").concat("disabled"!==o?"":"justify-around"," relative pa0 ma0"),style:{transition:p||!m?void 0:"transform ".concat(y,"ms ").concat(h," ").concat(b,"ms"),transform:"translate3d(".concat(p?w:O[v],"%, 0, 0)"),width:H},onTransitionEnd:function(){j({type:"DISABLE_TRANSITION"}),v>=l&&(j({type:"ADJUST_CURRENT_SLIDE",payload:{currentSlide:0,transform:O[0]}}),null==T||T({type:"SLIDE",payload:{currentSlide:0,transform:O[0]}})),v<0&&(j({type:"ADJUST_CURRENT_SLIDE",payload:{currentSlide:v+l,transform:O[v+l]}}),null==T||T({type:"SLIDE",payload:{currentSlide:v+l,transform:O[v+l]}}))},"aria-atomic":"false","aria-live":"polite"},k.map((function(e,r){var d=r-(t?f:0),c={width:"".concat(u,"%"),marginLeft:"disabled"===o||s?void 0:"".concat(u/(8*f),"%"),marginRight:"disabled"===o||s?void 0:"".concat(u/(8*f),"%"),paddingLeft:"disabled"!==o&&s?s/2:void 0,paddingRight:"disabled"!==o&&s?s/2:void 0};return a.a.createElement("div",Object(i.a)({key:d},function(e,t,n){return t<0||t>=n?{"aria-hidden":!e,role:"none presentation"}:{"aria-hidden":!e,role:"group","aria-roledescription":"slide","aria-label":"".concat(t+1," of ").concat(n)}}(A(d),d,l),{className:"".concat(D("slide",[N(f,d),A(d)?"visible":"hidden"])," flex relative"),"data-index":d>=0&&d0?u(i):c(i)};return a.a.createElement("div",{className:"".concat(p.paginationDotsContainer," flex absolute justify-center pa0 ma0 bottom-0 left-0 right-0"),role:"group","aria-label":"Slider pagination dots"},S.map((function(e){var n=e===H(g,s,o);return a.a.createElement("div",{className:"".concat(m("paginationDot",n?"isActive":"")," ").concat(n?"bg-emphasis":"bg-muted-3"," grow dib br-100 pa2 mr2 ml2 bw0 pointer outline-0"),style:{height:"".concat(.625,"rem"),width:"".concat(.625,"rem")},key:e,tabIndex:n?0:-1,onKeyDown:function(t){return y(t,e)},onClick:function(t){return y(t,e)},role:"button","aria-controls":t,"aria-label":"Dot ".concat(e+1," of ").concat(S.length),"data-testid":"paginationDot"})})))},G=Object(r.memo)(U),W=["sliderLayoutContainer","sliderTrackContainer"].concat(Object(v.a)(["sliderTrack","slide","slideChildrenContainer"]),Object(v.a)(["sliderLeftArrow","sliderRightArrow","sliderArrows"]),Object(v.a)(["paginationDotsContainer","paginationDot"])),z=function(e){var t=e.children,n=e.totalItems,i=e.infinite,o=void 0!==i&&i,s=e.showNavigationArrows,l=e.showPaginationDots,d=e.usePagination,c=void 0===d||d,u=e.arrowSize,f=e.fullWidth,v=e.itemsPerPage,p=e.centerMode,S=e.centerModeSlidesGap,y=M().handles,h=m()().isMobile,b=P(),O=b.label,T=void 0===O?"slider":O,_=b.slidesPerPage,I=Object(r.useRef)(null),N=function(e){var t=e.infinite,n=e.centerMode,i=E(),a=P().transform,o=w(t),s=o.goForward,l=o.goBack,d=Object(r.useState)({touchStartX:0,touchInitialTransform:a}),c=Object(g.a)(d,2),u=c[0],f=c[1];return{onTouchEnd:function(e){var t=e.changedTouches[0].clientX-u.touchStartX;Math.abs(t)>75?(t>0&&l(),t<0&&s()):i({type:"TOUCH",payload:{transform:u.touchInitialTransform,isOnTouchMove:!1}}),f({touchStartX:0,touchInitialTransform:a}),i({type:"TOUCH",payload:{isOnTouchMove:!1}})},onTouchStart:function(e){var t=e.touches[0].clientX;f({touchStartX:t,touchInitialTransform:a})},onTouchMove:function(e){var t=e.touches[0].clientX-u.touchStartX,r=u.touchInitialTransform+t/(25*("disabled"!==n?2:1));i({type:"TOUCH",payload:{transform:r,isOnTouchMove:!0}})}}}({infinite:o,centerMode:p}),C=N.onTouchEnd,x=N.onTouchStart,R=N.onTouchMove;!function(e,t){var n=P().autoplay,i=j(t).isHovering,a=(null==n?void 0:n.stopOnHover)&&i,o=w(e).goForward;Object(r.useEffect)((function(){if(n){var e=setTimeout((function(){o()}),n.timeout);return a&&clearTimeout(e),function(){return clearTimeout(e)}}}),[o,a,n])}(o,I),function(e,t){var n=P(),i=n.navigationStep,a=n.isPageNavigationStep,o=n.totalItems,s=E();Object(r.useEffect)((function(){var n=o<=t?o:t,r=a?n:i,l=function(e){s({type:"ADJUST_ON_RESIZE",payload:{shouldCorrectItemPosition:e,slidesPerPage:n,navigationStep:r}})},d=function(t){l(!t||e)};return l(!1),window.addEventListener("resize",d),function(){return window.removeEventListener("resize",d)}}),[e,s,o,t,a,i])}(o,v);var A=_>=n,L="".concat(T.toLowerCase().trim().replace(/ /g,"-"),"-items-").concat(Math.random().toString(36).substring(2,9)),H=Boolean(("always"===s||"mobileOnly"===s&&h||"desktopOnly"===s&&!h)&&!A),U=Boolean(("always"===l||"mobileOnly"===l&&h||"desktopOnly"===l&&!h)&&!A);return a.a.createElement("section",{onTouchStart:function(e){return c&&!A?x(e):null},onTouchEnd:function(e){return c&&!A?C(e):null},onTouchMove:function(e){return c&&!A?R(e):null},"aria-label":T,id:L,style:{WebkitOverflowScrolling:c?void 0:"touch",paddingLeft:f?void 0:2*u,paddingRight:f?void 0:2*u,touchAction:"pan-y"},className:"w-100 flex items-center relative ".concat(y.sliderLayoutContainer)},a.a.createElement("div",{className:"w-100 ".concat(y.sliderTrackContainer," ").concat(c?"overflow-hidden":"overflow-x-scroll"),ref:I},a.a.createElement(D,{centerMode:p,centerModeSlidesGap:S,infinite:o,totalItems:n,usePagination:c},t)),H&&c&&a.a.createElement(r.Fragment,null,a.a.createElement(k,{totalItems:n,orientation:"left",controls:L,infinite:o,arrowSize:u}),a.a.createElement(k,{totalItems:n,orientation:"right",controls:L,infinite:o,arrowSize:u})),U&&c&&a.a.createElement(G,{totalItems:n,controls:L,infinite:o}))},F=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);rt.length)&&(e=t.length);for(var n=0,r=new Array(e);n");return e},c=function(e){var t=e.value,n=e.children;return o.a.createElement(a.Provider,{value:t},n)};t.default={DrawerContextProvider:c,useDrawer:i}},,function(e,t){e.exports=ReactDOM},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/applyModifiers"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconClose"]},function(e,t,n){"use strict";n.r(t);var r=n(7),o=n.n(r),a=n(4);t.default=function(e){var t,n=e.children,r=null===(t=null===window||void 0===window?void 0:window.document)||void 0===t?void 0:t.body,i=Object(a.useSSR)();return!r||i?null:o.a.createPortal(n,r)}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(2),i=n.n(a),c=n(8),s=n.n(c),l=["overlay"],u=function(e,t){var n=e.visible,r=e.onClick,a=i()(l),c=n?"false":"true";return o.a.createElement("div",{ref:t,"aria-hidden":c,role:"presentation",onClick:r,style:{opacity:n?.5:0,pointerEvents:n?"auto":"none"},className:"".concat(s()(a.overlay,n?"visible":"")," bg-base--inverted z-999 fixed top-0 bottom-0 left-0 right-0")})};t.default=o.a.forwardRef(u)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(2),i=n.n(a),c=n(9),s=n.n(c),l=n(5),u=["closeIconButton"];t.default=function(e){var t=e.size,n=void 0===t?30:t,r=e.type,a=void 0===r?"line":r,c=e.text,d=Object(l.useDrawer)().close,f=i()(u);return o.a.createElement("button",{className:"".concat(f.closeIconButton," pa4 pointer bg-transparent transparent bn pointer"),onClick:d},null!=c?c:o.a.createElement(s.a,{size:n,type:a}))}},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/usePixelEventCallback"]},,,,function(e,t){e.exports=ReactIntl},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconMenu"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.responsive-values@0.x/useResponsiveValue"]},,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.store-drawer@0.17.2");var r=Object(t.register)((function(){return n(36)}),e,"vtex.store-drawer@0.17.2","vtex.store-drawer@0.x","Drawer");r.renderHotReload,r.setupHMR}.call(this,n(6)(e))},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(16),a=n(3),i=n(0),c=n.n(i),s=n(17),l=n(18),u=n.n(l),d=n(2),f=n.n(d),v=n(4),p=n(13),b=n.n(p),m=n(19),w=n.n(m),_=n(10),O=n(11),x=function(){var e=Object(i.useState)(!1),t=Object(a.a)(e,2),n=t[0],r=t[1],o=Object(i.useRef)("");return Object(i.useEffect)((function(){return n&&(o.current=document.body.style.overflow),document.body.style.overflow=n?"hidden":o.current,function(){n&&(document.body.style.overflow=o.current)}}),[n]),r},E=n(12),h=n(5);function g(e){return"tagName"in e}function N(e,t){if(!e||!g(e))return!1;if("A"===String(e.tagName).toUpperCase())return!0;var n=e.parentNode;return!(!n||!g(n)||"BODY"===n.tagName.toUpperCase()||t&&n===t)&&N(n,t)}var C=c.a.lazy((function(){return n.e(0).then(n.bind(null,35))})),R={isOpen:!1,hasBeenOpened:!1};function j(e,t){switch(t.type){case"open":return Object.assign(Object.assign({},e),{isOpen:!0,hasBeenOpened:!0});case"close":return Object.assign(Object.assign({},e),{isOpen:!1});default:return e}}var y=["openIconContainer","drawer","opened","closed","moving","drawerContent","childrenContainer","closeIconContainer"];function D(e){var t,n,s,l,d,p,m=e.width,g=e.header,D=e.children,M=e.customIcon,P=e.isFullWidth,S=e.maxWidth,k=void 0===S?450:S,I=e.slideDirection,B=void 0===I?"horizontal":I,z=e.backdropMode,T=void 0===z?"visible":z,W=e.renderingStrategy,U=void 0===W?"lazy":W,H=e.customPixelEventId,F=e.customPixelEventName,J=e.onVisibilityChanged,V=f()(y),A=w()(T),L=Boolean(Object(v.useChildBlock)({id:"drawer-trigger"})),Y=Boolean(Object(v.useChildBlock)({id:"drawer-header"})),q=(t=Object(i.useReducer)(j,R),n=Object(a.a)(t,2),s=n[0],l=n[1],d=x(),p=function(e){l({type:e?"open":"close"}),d(e)},{state:s,openMenu:function(){return p(!0)},closeMenu:function(){return p(!1)}}),G=q.state,K=q.openMenu,Q=q.closeMenu,X=G.isOpen,Z=G.hasBeenOpened,$=Object(i.useState)(!1),ee=Object(a.a)($,2),te=ee[0],ne=ee[1];b()({eventId:H,handler:K,eventName:"openDrawer"}),b()({eventId:H,handler:K,eventName:F}),Object(i.useEffect)((function(){void 0!==J&&J(X)}),[J,X]);var re="horizontal"===B||"leftToRight"===B?"left":"right",oe="left"===re?"onSwipeLeft":"onSwipeRight",ae=Object(i.useMemo)((function(){return{isOpen:X,open:K,close:Q}}),[X,K,Q]),ie="visible"===A&&X,ce="eager"===U||Z;return c.a.createElement(h.DrawerContextProvider,{value:ae},c.a.createElement("div",{onClick:K,role:"presentation","aria-hidden":X?"false":"true",className:"pa4 pointer ".concat(V.openIconContainer)},L?c.a.createElement(v.ExtensionPoint,{id:"drawer-trigger"}):null!=M?M:c.a.createElement(u.a,{size:20})),c.a.createElement(_.default,null,c.a.createElement(O.default,{visible:ie,onClick:Q}),c.a.createElement(i.Suspense,{fallback:c.a.createElement(c.a.Fragment,null)},c.a.createElement(C,Object(r.a)({},Object(o.a)({},oe,Q),{enabled:X,position:X?"center":re,allowOutsideDrag:!0,onUpdateOffset:function(e){ne(!("0%"===e||"-100%"===e))},className:"".concat(V.drawer," ").concat(X?V.opened:V.closed," ").concat(te?V.moving:""," ").concat("right"===re?"right-0":"left-0"," fixed top-0 bottom-0 bg-base z-999 flex flex-column"),style:{width:null!=m?m:P?"100%":"85%",maxWidth:k,minWidth:280,pointerEvents:X?"auto":"none"}}),c.a.createElement("div",{className:"".concat(V.drawerContent," overflow-y-auto"),style:{WebkitOverflowScrolling:"touch"}},Y?c.a.createElement(v.ExtensionPoint,{id:"drawer-header"}):null!=g?g:c.a.createElement("div",{className:"flex ".concat(V.closeIconContainer)},c.a.createElement(E.default,null)),c.a.createElement("div",{className:"".concat(V.childrenContainer," flex flex-grow-1"),onClick:function(e){N(e.target,e.currentTarget)&&Q()}},ce&&D))))))}var M=Object(s.defineMessages)({title:{id:"admin/editor.drawer.title"}});D.schema={title:M.title.id};t.default=D}],[[25,"common"]]]);
},function(){
!function(t){function n(n){for(var r,u,c=n[0],a=n[1],f=n[2],s=0,d=[];st.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(t){function e(e){for(var r,u,c=e[0],a=e[1],f=e[2],s=0,p=[];st.length)&&(e=t.length);for(var n=0,r=new Array(e);n=c){h[e]="[MaxProperties ~]";break}const n=g[e];h[e]=t(e,n,p-1,c,a),_++}return f(n),h}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function c(t,e=3,n=102400){const r=i(t,e);return o=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(o))>n?c(t,e-1,n):r;var o}},11:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return h})),n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return i})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return b})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return p})),n.d(e,"j",(function(){return d})),n.d(e,"k",(function(){return _})),n.d(e,"l",(function(){return u})),n.d(e,"m",(function(){return m})),n.d(e,"n",(function(){return g})),n.d(e,"o",(function(){return y}));const r=Object.prototype.toString;function o(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return b(t,Error)}}function s(t,e){return r.call(t)===`[object ${e}]`}function i(t){return s(t,"ErrorEvent")}function c(t){return s(t,"DOMError")}function a(t){return s(t,"DOMException")}function u(t){return s(t,"String")}function f(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function d(t){return null===t||f(t)||"object"!=typeof t&&"function"!=typeof t}function p(t){return s(t,"Object")}function l(t){return"undefined"!=typeof Event&&b(t,Event)}function h(t){return"undefined"!=typeof Element&&b(t,Element)}function _(t){return s(t,"RegExp")}function g(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function m(t){return p(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function b(t,e){try{return t instanceof e}catch(t){return!1}}function y(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}},13:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return i}));var r=n(24),o=n(6);const s=["debug","info","warn","error","log","assert","trace"],i={};function c(t){if(!("console"in o.a))return t();const e=o.a.console,n={},r=Object.keys(i);r.forEach(t=>{const r=i[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}const a=function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return r.a?s.forEach(n=>{e[n]=(...e)=>{t&&c(()=>{o.a.console[n](`Sentry Logger [${n}]:`,...e)})}}):s.forEach(t=>{e[t]=()=>{}}),e}()},16:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return p}));var r=n(97),o=n(24),s=n(11),i=n(13),c=n(35);function a(t,e,n){if(!(e in t))return;const r=t[e],o=n(r);"function"==typeof o&&f(o,r),t[e]=o}function u(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){o.a&&i.c.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function f(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,u(t,"__sentry_original__",e)}catch(t){}}function d(t){return t.__sentry_original__}function p(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function l(t){if(Object(s.d)(t))return{message:t.message,name:t.name,stack:t.stack,..._(t)};if(Object(s.f)(t)){const e={type:t.type,target:h(t.target),currentTarget:h(t.currentTarget),..._(t)};return"undefined"!=typeof CustomEvent&&Object(s.g)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function h(t){try{return Object(s.c)(t)?Object(r.c)(t):Object.prototype.toString.call(t)}catch(t){return""}}function _(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function g(t,e=40){const n=Object.keys(l(t));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return Object(c.d)(r,e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:Object(c.d)(r,e)}return""}function m(t){return function t(e,n){if(function(t){if(!Object(s.i)(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(t){return!0}}(e)){const r=n.get(e);if(void 0!==r)return r;const o={};n.set(e,o);for(const r of Object.keys(e))void 0!==e[r]&&(o[r]=t(e[r],n));return o}if(Array.isArray(e)){const r=n.get(e);if(void 0!==r)return r;const o=[];return n.set(e,o),e.forEach(e=>{o.push(t(e,n))}),o}return e}(t,new Map)}},195:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return g})),n.d(e,"d",(function(){return p})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return l}));n(13),n(21),n(29),n(11);var r=n(6),o=n(43),s=n(5),i=(n(8),n(36)),c=n(65);function a(t,e){return Object(s.b)().captureException(t,Object(c.a)(e))}function u(t,e){return Object(s.b)().captureEvent(t,e)}function f(t,e){Object(s.d)().setContext(t,e)}function d(){return Object(s.d)().lastEventId()}function p(){return!!Object(s.a)()}function l(t){const e=Object(s.a)(),n=Object(s.d)(),c=Object(s.b)(),{release:a,environment:u=o.a}=e&&e.getOptions()||{},{userAgent:f}=r.a.navigator||{},d=Object(i.b)({release:a,environment:u,user:c.getUser()||n.getUser(),...f&&{userAgent:f},...t}),p=n.getSession();return p&&"ok"===p.status&&Object(i.c)(p,{status:"exited"}),h(),n.setSession(d),c.setSession(d),d}function h(){const t=Object(s.d)(),e=Object(s.b)(),n=e.getSession()||t.getSession();n&&Object(i.a)(n),_(),t.setSession(),e.setSession()}function _(){const t=Object(s.d)(),e=Object(s.b)(),n=Object(s.a)(),r=e.getSession()||t.getSession();r&&n&&n.captureSession(r)}function g(t=!1){t?h():_()}},196:function(t,e,n){"use strict";n.d(e,"a",(function(){return Ce}));var r=n(195),o=n(13),s=n(21),i=n(35),c=n(8),a=n(5);const u=[];function f(t){const e=t.defaultIntegrations||[],n=t.integrations;let r;e.forEach(t=>{t.isDefaultInstance=!0}),r=Array.isArray(n)?[...e,...n]:"function"==typeof n?Object(s.c)(n(e)):e;const o=function(t){const e={};return t.forEach(t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)}),Object.values(e)}(r),i=o.findIndex(t=>"Debug"===t.name);if(i>-1){const[t]=o.splice(i,1);o.push(t)}return o}function d(t,e){for(const n of e)n&&n.afterAllSetup&&n.afterAllSetup(t)}function p(t,e,n){if(n[e.name])c.a&&o.c.log("Integration skipped because it was already installed: "+e.name);else{if(n[e.name]=e,-1===u.indexOf(e.name)&&"function"==typeof e.setupOnce&&(e.setupOnce(),u.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(t),"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",(e,r)=>n(e,r,t))}if("function"==typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign((e,r)=>n(e,r,t),{id:e.name});t.addEventProcessor(r)}c.a&&o.c.log("Integration installed: "+e.name)}}const l=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],h=(t={})=>({name:"InboundFilters",processEvent(e,n,r){const a=r.getOptions();return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return c.a&&o.c.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(s.e)(t)),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(t){}n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`));return e}(t).some(t=>Object(i.c)(t,e))}(t,e.ignoreErrors))return c.a&&o.c.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(s.e)(t)),!0;if(function(t){if(t.type)return!1;if(!t.exception||!t.exception.values||0===t.exception.values.length)return!1;return!t.message&&!t.exception.values.some(t=>t.stacktrace||t.type&&"Error"!==t.type||t.value)}(t))return c.a&&o.c.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: "+Object(s.e)(t)),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&Object(i.c)(n,e)}(t,e.ignoreTransactions))return c.a&&o.c.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: "+Object(s.e)(t)),!0;if(function(t,e){if(!e||!e.length)return!1;const n=_(t);return!!n&&Object(i.c)(n,e)}(t,e.denyUrls))return c.a&&o.c.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${Object(s.e)(t)}.\nUrl: ${_(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=_(t);return!n||Object(i.c)(n,e)}(t,e.allowUrls))return c.a&&o.c.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${Object(s.e)(t)}.\nUrl: ${_(t)}`),!0;return!1}(e,function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:l],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(t,a))?null:e}});function _(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return c.a&&o.c.error("Cannot extract url for event "+Object(s.e)(t)),null}}var g=n(16);let m;const b=new WeakMap,y=()=>({name:"FunctionToString",setupOnce(){m=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=Object(g.f)(this),n=b.has(Object(a.a)())&&void 0!==e?e:this;return m.apply(n,t)}}catch(t){}},setup(t){b.set(t,!0)}});var v=n(61);const O=()=>{let t;return{name:"Dedupe",processEvent(e){if(e.type)return e;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!E(t,e))return!1;if(!j(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=S(e),r=S(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!E(t,e))return!1;if(!j(t,e))return!1;return!0}(t,e))return!0;return!1}(e,t))return c.a&&o.c.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return t=e}}};function j(t,e){let n=Object(v.c)(t),r=Object(v.c)(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,r=r,r.length!==n.length)return!1;for(let t=0;t{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}));Object(a.b)().update(e.initialScope);const n=new t(e);return function(t){Object(a.b)().setClient(t)}(n),n.init(),n}var w=n(24);const k=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function T(t,e=!1){const{host:n,path:r,pass:o,port:s,projectId:i,protocol:c,publicKey:a}=t;return`${c}://${a}${e&&o?":"+o:""}@${n}${s?":"+s:""}/${r?r+"/":r}${i}`}function D(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function N(t){const e="string"==typeof t?function(t){const e=k.exec(t);if(!e)return void Object(o.b)(()=>{console.error("Invalid Sentry Dsn: "+t)});const[n,r,s="",i="",c="",a=""]=e.slice(1);let u="",f=a;const d=f.split("/");if(d.length>1&&(u=d.slice(0,-1).join("/"),f=d.pop()),f){const t=f.match(/^\d+/);t&&(f=t[0])}return D({host:i,pass:s,path:u,projectId:f,port:c,protocol:n,publicKey:r})}(t):D(t);if(e&&function(t){if(!w.a)return!0;const{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(o.c.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(r)?!e||!isNaN(parseInt(e,10))||(o.c.error("Invalid Sentry Dsn: Invalid port "+e),!1):(o.c.error("Invalid Sentry Dsn: Invalid protocol "+r),!1):(o.c.error("Invalid Sentry Dsn: Invalid projectId "+n),!1))}(e))return e}function I(t){const e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return`${e}//${t.host}${n}${t.path?"/"+t.path:""}/api/`}function C(t,e,n){return e||`${function(t){return`${I(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return Object(g.h)({sentry_key:t.publicKey,sentry_version:"7",...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,n)}`}var P=n(6);const R=P.a;function $(){if(!("fetch"in R))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function A(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}const L={},M={};function U(t,e){L[t]=L[t]||[],L[t].push(e)}function q(t,e){M[t]||(e(),M[t]=!0)}function B(t,e){const n=t&&L[t];if(n)for(const r of n)try{r(e)}catch(e){w.a&&o.c.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${Object(v.d)(r)}\nError:`,e)}}const F=P.a;const Y=P.a;let H;function J(t){U("history",t),q("history",G)}function G(){if(!function(){const t=F.chrome,e=t&&t.app&&t.app.runtime,n="history"in F&&!!F.history.pushState&&!!F.history.replaceState;return!e&&n}())return;const t=Y.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=H,e=String(n);H=e;B("history",{from:t,to:e})}return t.apply(this,e)}}Y.onpopstate=function(...e){const n=Y.location.href,r=H;H=n;if(B("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},Object(g.e)(Y.history,"pushState",e),Object(g.e)(Y.history,"replaceState",e)}var z=n(11),W=n(70),V=n(106);function K(t,e=[]){return[t,e]}function X(t,e){const[n,r]=t;return[n,[...r,e]]}function Z(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function Q(t){return P.a.__SENTRY__&&P.a.__SENTRY__.encodePolyfill?P.a.__SENTRY__.encodePolyfill(t):(new TextEncoder).encode(t)}function tt(t){const[e,n]=t;let r=JSON.stringify(e);function o(t){"string"==typeof r?r="string"==typeof t?r+t:[Q(r),t]:r.push("string"==typeof t?Q(t):t)}for(const t of n){const[e,n]=t;if(o(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify(Object(V.a)(n))}o(t)}}return"string"==typeof r?r:function(t){const e=t.reduce((t,e)=>t+e.length,0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(r)}function et(t){const e="string"==typeof t.data?Q(t.data):t.data;return[Object(g.c)({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}const nt={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function rt(t){return nt[t]}function ot(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}class st extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}var it=n(29);var ct=n(42);n(26);function at(t,e,n,r){const o=ot(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const i=function(t,e,n,r){const o=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:T(r)},...o&&{trace:Object(g.c)({...o})}}}(t,o,r,e);delete t.sdkProcessingMetadata;return K(i,[[{type:s},t]])}var ut=n(36);var ft=n(65);const dt="Not capturing exception because it's already been captured.";function pt(t){return void 0===t.type}function lt(t){return"transaction"===t.type}var ht=n(50);function _t(t,e,n=[e],r="npm"){const o=t._metadata||{};o.sdk||(o.sdk={name:"sentry.javascript."+e,packages:n.map(t=>({name:`${r}:@sentry/${t}`,version:ht.a})),version:ht.a}),t._metadata=o}const gt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function mt(t,e){const n=vt(t,e),r={type:e&&e.name,value:jt(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function bt(t,e,n,r){const o=Object(a.a)(),s=o&&o.getOptions().normalizeDepth,i=function(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}return}(e),c={__serialized__:Object(V.b)(e,s)};if(i)return{exception:{values:[mt(t,i)]},extra:c};const u={exception:{values:[{type:Object(z.f)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:xt(e,{isUnhandledRejection:r})}]},extra:c};if(n){const e=vt(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}function yt(t,e){return{exception:{values:[mt(t,e)]}}}function vt(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t&&Ot.test(t.message))return 1;return 0}(e),o=function(t){if("number"==typeof t.framesToPop)return t.framesToPop;return 0}(e);try{return t(n,r,o)}catch(t){}return[]}const Ot=/Minified React error #\d+;/i;function jt(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Et(t,e,n,r,o){let i;if(Object(z.e)(e)&&e.error){return yt(t,e.error)}if(Object(z.a)(e)||Object(z.b)(e)){const o=e;if("stack"in e)i=yt(t,e);else{const e=o.name||(Object(z.a)(o)?"DOMError":"DOMException"),c=o.message?`${e}: ${o.message}`:e;i=St(t,c,n,r),Object(s.b)(i,c)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":""+o.code}),i}if(Object(z.d)(e))return yt(t,e);if(Object(z.i)(e)||Object(z.f)(e)){return i=bt(t,e,n,o),Object(s.a)(i,{synthetic:!0}),i}return i=St(t,e,n,r),Object(s.b)(i,""+e,void 0),Object(s.a)(i,{synthetic:!0}),i}function St(t,e,n,r){const o={};if(r&&n){const r=vt(t,n);r.length&&(o.exception={values:[{value:e,stacktrace:{frames:r}}]})}if(Object(z.h)(e)){const{__sentry_template_string__:t,__sentry_template_values__:n}=e;return o.logentry={message:t,params:n},o}return o.message=e,o}function xt(t,{isUnhandledRejection:e}){const n=Object(g.d)(t),r=e?"promise rejection":"exception";if(Object(z.e)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if(Object(z.f)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}const wt=P.a;let kt=0;function Tt(){return kt>0}function Dt(){kt++,setTimeout(()=>{kt--})}function Nt(t,e={},n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if(Object(g.f)(t))return t}catch(e){return t}const o=function(){const o=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=o.map(t=>Nt(t,e));return t.apply(this,r)}catch(t){throw Dt(),Object(a.f)(n=>{n.addEventProcessor(t=>(e.mechanism&&(Object(s.b)(t,void 0,void 0),Object(s.a)(t,e.mechanism)),t.extra={...t.extra,arguments:o},t)),Object(r.b)(t)}),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(o[e]=t[e])}catch(t){}Object(g.g)(o,t),Object(g.a)(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:()=>t.name})}catch(t){}return o}class It extends class{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=N(t.dsn):c.a&&o.c.warn("No DSN provided, client will not send events."),this._dsn){const e=C(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){const r=Object(s.f)();if(Object(s.d)(t))return c.a&&o.c.log(dt),r;const i={event_id:r,...e};return this._process(this.eventFromException(t,i).then(t=>this._captureEvent(t,i,n))),i.event_id}captureMessage(t,e,n,r){const o={event_id:Object(s.f)(),...n},i=Object(z.h)(t)?t:String(t),c=Object(z.j)(t)?this.eventFromMessage(i,e,o):this.eventFromException(t,o);return this._process(c.then(t=>this._captureEvent(t,o,r))),o.event_id}captureEvent(t,e,n){const r=Object(s.f)();if(e&&e.originalException&&Object(s.d)(e.originalException))return c.a&&o.c.log(dt),r;const i={event_id:r,...e},a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,i,a||n)),i.event_id}captureSession(t){"string"!=typeof t.release?c.a&&o.c.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Object(ut.c)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?(this.emit("flush"),this._isClientDoneProcessing(t).then(n=>e.flush(t).then(t=>n&&t))):Object(W.c)(!0)}close(t){return this.flush(t).then(t=>(this.getOptions().enabled=!1,this.emit("close"),t))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const e=this._integrations[t.name];p(this,t,this._integrations),e||d(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=at(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=X(n,et(t));const r=this.sendEnvelope(n);r&&r.then(e=>this.emit("afterSendEvent",t,e),null)}sendSession(t){const e=function(t,e,n,r){const o=ot(n);return K({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&e&&{dsn:T(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const r="number"==typeof n?n:1,s=`${t}:${e}`;c.a&&o.c.log(`Recording outcome: "${s}"${r>1?` (${r} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+r}}on(t,e){const n=this._hooks[t]=this._hooks[t]||[];return n.push(e),()=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach(t=>t(...e))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,t=>(c.a&&o.c.error("Error while sending event:",t),t)):(c.a&&o.c.error("Transport disabled"),Object(W.c)({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=function(t,e){const n={};return e.forEach(e=>{e&&p(t,e,n)}),n}(this,t),d(this,t)}_updateSessionFromEvent(t,e){let n=!1,r=!1;const o=e.exception&&e.exception.values;if(o){r=!0;for(const t of o){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const s="ok"===t.status;(s&&0===t.errors||s&&n)&&(Object(ut.c)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new W.a(e=>{let n=0;const r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n,r=Object(a.d)()){const o=this.getOptions(),s=Object.keys(this._integrations);return!e.integrations&&s.length>0&&(e.integrations=s),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),Object(ft.b)(o,t,e,n,this,r).then(t=>{if(null===t)return t;const e={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(t.contexts&&t.contexts.trace)&&e){const{traceId:n,spanId:r,parentSpanId:o,dsc:s}=e;t.contexts={trace:Object(g.c)({trace_id:n,span_id:r,parent_span_id:o}),...t.contexts};const i=s||Object(ct.a)(n,this);t.sdkProcessingMetadata={dynamicSamplingContext:i,...t.sdkProcessingMetadata}}return t})}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then(t=>t.event_id,t=>{if(c.a){const e=t;"log"===e.logLevel?o.c.log(e.message):o.c.warn(e)}})}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:s}=r,i=lt(t),a=pt(t),u=t.type||"error",f=`before send for type \`${u}\``,d=void 0===s?void 0:function(t){if("boolean"==typeof t)return Number(t);const e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e)||e<0||e>1))return e;c.a&&o.c.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`)}(s);if(a&&"number"==typeof d&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error",t),Object(W.b)(new st(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const p="replay_event"===u?"replay":u,l=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,e,n,l).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",p,t),new st("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;return function(t,e){const n=e+" must return `null` or a valid event.";if(Object(z.n)(t))return t.then(t=>{if(!Object(z.i)(t)&&null!==t)throw new st(n);return t},t=>{throw new st(`${e} rejected with ${t}`)});if(!Object(z.i)(t)&&null!==t)throw new st(n);return t}(function(t,e,n,r){const{beforeSend:o,beforeSendTransaction:s,beforeSendSpan:i}=e;if(pt(n)&&o)return o(n,r);if(lt(n)){if(n.spans&&i){const e=[];for(const r of n.spans){const n=i(r);n?e.push(n):t.recordDroppedEvent("before_send","span")}n.spans=e}if(s){if(n.spans){const t=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return s(n,r)}}return n}(this,r,n,e),f)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",p,t),i){const e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw new st(f+" returned `null`, will not send event.","log")}const o=n&&n.getSession();if(!i&&o&&this._updateSessionFromEvent(o,r),i){const t=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}const s=r.transaction_info;if(i&&s&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...s,source:t}}return this.sendEvent(r,e),r}).then(null,t=>{if(t instanceof st)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new st("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})}_process(t){this._numProcessing++,t.then(t=>(this._numProcessing--,t),t=>(this._numProcessing--,t))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([t,e])=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e}})}_flushOutcomes(){c.a&&o.c.log("Flushing outcomes...");const t=this._clearOutcomes();if(0===t.length)return void(c.a&&o.c.log("No outcomes to send"));if(!this._dsn)return void(c.a&&o.c.log("No dsn provided, will not send outcomes"));c.a&&o.c.log("Sending outcomes:",t);const e=(n=t,K((r=this._options.tunnel&&T(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:s||Object(it.a)(),discarded_events:n}]]));var n,r,s;this.sendEnvelope(e)}}{constructor(t){const e={parentSpanIsAlwaysRootSpan:!0,...t};_t(e,"browser",["browser"],wt.SENTRY_SDK_SOURCE||"npm"),super(e),e.sendClientReports&&wt.document&&wt.document.addEventListener("visibilitychange",()=>{"hidden"===wt.document.visibilityState&&this._flushOutcomes()})}eventFromException(t,e){return function(t,e,n,r){const o=Et(t,e,n&&n.syntheticException||void 0,r);return Object(s.a)(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Object(W.c)(o)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,o){const s=St(t,e,r&&r.syntheticException||void 0,o);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),Object(W.c)(s)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(gt&&o.c.warn("SDK not enabled, will not capture user feedback."));const e=function(t,{metadata:e,tunnel:n,dsn:r}){return K({event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!r&&{dsn:T(r)}},[function(t){return[{type:"user_report"},t]}(t)])}(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}}let Ct,Pt,Rt;function $t(){if(!Y.document)return;const t=B.bind(null,"dom"),e=At(t,!0);Y.document.addEventListener("click",e,!1),Y.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(e=>{const n=Y[e]&&Y[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(g.e)(n,"addEventListener",(function(e){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this,s=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},i=s[n]=s[n]||{refCount:0};if(!i.handler){const r=At(t);i.handler=r,e.call(this,n,r,o)}i.refCount++}catch(t){}return e.call(this,n,r,o)}})),Object(g.e)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,o=n.__sentry_instrumentation_handlers__||{},s=o[e];s&&(s.refCount--,s.refCount<=0&&(t.call(this,e,s.handler,r),s.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))})}function At(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch(t){return null}}(n);if(function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,r))return;Object(g.a)(n,"_sentryCaptured",!0),r&&!r._sentryId&&Object(g.a)(r,"_sentryId",Object(s.f)());const o="keypress"===n.type?"input":n.type;if(!function(t){if(t.type!==Pt)return!1;try{if(!t.target||t.target._sentryId!==Rt)return!1}catch(t){}return!0}(n)){t({event:n,name:o,global:e}),Pt=n.type,Rt=r?r._sentryId:void 0}clearTimeout(Ct),Ct=Y.setTimeout(()=>{Rt=void 0,Pt=void 0},1e3)}}function Lt(){if(!Y.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;Object(g.e)(t,"open",(function(t){return function(...e){const n=1e3*Object(it.b)(),r=Object(z.l)(e[0])?e[0].toUpperCase():void 0,o=function(t){if(Object(z.l)(t))return t;try{return t.toString()}catch(t){}return}(e[1]);if(!r||!o)return t.apply(this,e);this.__sentry_xhr_v3__={method:r,url:o,request_headers:{}},"POST"===r&&o.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const s=()=>{const t=this.__sentry_xhr_v3__;if(t&&4===this.readyState){try{t.status_code=this.status}catch(t){}B("xhr",{endTimestamp:1e3*Object(it.b)(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?Object(g.e)(this,"onreadystatechange",(function(t){return function(...e){return s(),t.apply(this,e)}})):this.addEventListener("readystatechange",s),Object(g.e)(this,"setRequestHeader",(function(t){return function(...e){const[n,r]=e,o=this.__sentry_xhr_v3__;return o&&Object(z.l)(n)&&Object(z.l)(r)&&(o.request_headers[n.toLowerCase()]=r),t.apply(this,e)}})),t.apply(this,e)}})),Object(g.e)(t,"send",(function(t){return function(...e){const n=this.__sentry_xhr_v3__;if(!n)return t.apply(this,e);void 0!==e[0]&&(n.body=e[0]);return B("xhr",{startTimestamp:1e3*Object(it.b)(),xhr:this}),t.apply(this,e)}}))}const Mt=100;function Ut(t,e){const n=Object(a.a)(),r=Object(a.d)();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:i=Mt}=n.getOptions();if(i<=0)return;const c={timestamp:Object(it.a)(),...t},u=s?Object(o.b)(()=>s(c,e)):c;null!==u&&(n.emit&&n.emit("beforeAddBreadcrumb",u,e),r.addBreadcrumb(u,i))}function qt(){"console"in P.a&&o.a.forEach((function(t){t in P.a.console&&Object(g.e)(P.a.console,t,(function(e){return o.d[t]=e,function(...e){B("console",{args:e,level:t});const n=o.d[t];n&&n.apply(P.a.console,e)}}))}))}function Bt(t,e=!1){e&&!function(){if("string"==typeof EdgeRuntime)return!0;if(!$())return!1;if(A(R.fetch))return!0;let t=!1;const e=R.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=A(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){w.a&&o.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}()||Object(g.e)(P.a,"fetch",(function(e){return function(...n){const{method:r,url:o}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:Yt(e),method:Ft(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:Yt(e),method:Ft(e,"method")?String(e.method).toUpperCase():"GET"}}(n),s={args:n,fetchData:{method:r,url:o},startTimestamp:1e3*Object(it.b)()};t||B("fetch",{...s});const i=(new Error).stack;return e.apply(P.a,n).then(async e=>{if(t)t(e);else{B("fetch",{...s,endTimestamp:1e3*Object(it.b)(),response:e})}return e},e=>{if(!t){throw B("fetch",{...s,endTimestamp:1e3*Object(it.b)(),error:e}),Object(z.d)(e)&&void 0===e.stack&&(e.stack=i,Object(g.a)(e,"framesToPop",1)),e}})}}))}function Ft(t,e){return!!t&&"object"==typeof t&&!!t[e]}function Yt(t){return"string"==typeof t?t:t?Ft(t,"url")?t.url:t.toString?t.toString():"":""}var Ht=n(97);const Jt=["fatal","error","warning","log","info","debug"];function Gt(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}const zt=(t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:"Breadcrumbs",setup(t){e.console&&(U("console",function(t){return function(e){if(Object(a.a)()!==t)return;const n={category:"console",data:{arguments:e.args,logger:"console"},level:(r=e.level,"warn"===r?"warning":Jt.includes(r)?r:"log"),message:Object(i.a)(e.args," ")};var r;if("assert"===e.level){if(!1!==e.args[0])return;n.message="Assertion failed: "+(Object(i.a)(e.args.slice(1)," ")||"console.assert"),n.data.arguments=e.args.slice(1)}Ut(n,{input:e.args,level:e.level})}}(t)),q("console",qt)),e.dom&&function(t){U("dom",t),q("dom",$t)}(function(t,e){return function(n){if(Object(a.a)()!==t)return;let r,s,i="object"==typeof e?e.serializeAttribute:void 0,c="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;c&&c>1024&&(gt&&o.c.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${c} was configured. Sentry will use 1024 instead.`),c=1024),"string"==typeof i&&(i=[i]);try{const t=n.event,e=function(t){return!!t&&!!t.target}(t)?t.target:t;r=Object(Ht.c)(e,{keyAttrs:i,maxStringLength:c}),s=Object(Ht.a)(e)}catch(t){r=""}if(0===r.length)return;const u={category:"ui."+n.name,message:r};s&&(u.data={"ui.component_name":s}),Ut(u,{event:n.event,name:n.name,global:n.global})}}(t,e.dom)),e.xhr&&function(t){U("xhr",t),q("xhr",Lt)}(function(t){return function(e){if(Object(a.a)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e,o=e.xhr.__sentry_xhr_v3__;if(!n||!r||!o)return;const{method:s,url:i,status_code:c,body:u}=o;Ut({category:"xhr",data:{method:s,url:i,status_code:c},type:"http"},{xhr:e.xhr,input:u,startTimestamp:n,endTimestamp:r})}}(t)),e.fetch&&function(t,e){U("fetch",t),q("fetch",()=>Bt(void 0,e))}(function(t){return function(e){if(Object(a.a)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e;if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){Ut({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args,startTimestamp:n,endTimestamp:r})}else{const t=e.response;Ut({category:"fetch",data:{...e.fetchData,status_code:t&&t.status},type:"http"},{input:e.args,response:t,startTimestamp:n,endTimestamp:r})}}}(t)),e.history&&J(function(t){return function(e){if(Object(a.a)()!==t)return;let n=e.from,r=e.to;const o=Gt(wt.location.href);let s=n?Gt(n):void 0;const i=Gt(r);s&&s.path||(s=o),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),Ut({category:"navigation",data:{from:n,to:r}})}}(t)),e.sentry&&t.on("beforeSendEvent",function(t){return function(e){Object(a.a)()===t&&Ut({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:Object(s.e)(e)},{event:e})}}(t))}}};const Wt=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Vt=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:"BrowserApiErrors",setupOnce(){e.setTimeout&&Object(g.e)(wt,"setTimeout",Kt),e.setInterval&&Object(g.e)(wt,"setInterval",Kt),e.requestAnimationFrame&&Object(g.e)(wt,"requestAnimationFrame",Xt),e.XMLHttpRequest&&"XMLHttpRequest"in wt&&Object(g.e)(XMLHttpRequest.prototype,"send",Zt);const t=e.eventTarget;if(t){(Array.isArray(t)?t:Wt).forEach(Qt)}}}};function Kt(t){return function(...e){const n=e[0];return e[0]=Nt(n,{mechanism:{data:{function:Object(v.d)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function Xt(t){return function(e){return t.apply(this,[Nt(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(v.d)(t)},handled:!1,type:"instrument"}})])}}function Zt(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(t=>{t in n&&"function"==typeof n[t]&&Object(g.e)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:Object(v.d)(e)},handled:!1,type:"instrument"}},r=Object(g.f)(e);return r&&(n.mechanism.data.handler=Object(v.d)(r)),Nt(e,n)}))}),t.apply(this,e)}}function Qt(t){const e=wt,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(g.e)(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=Nt(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Object(v.d)(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,Nt(r,{mechanism:{data:{function:"addEventListener",handler:Object(v.d)(r),target:t},handled:!1,type:"instrument"}}),o])}})),Object(g.e)(n,"removeEventListener",(function(t){return function(e,n,r){const o=n;try{const n=o&&o.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,o,r)}})))}let te=null;function ee(){te=P.a.onerror,P.a.onerror=function(t,e,n,r,o){const s={column:r,error:o,line:n,msg:t,url:e};return B("error",s),!(!te||te.__SENTRY_LOADER__)&&te.apply(this,arguments)},P.a.onerror.__SENTRY_INSTRUMENTED__=!0}let ne=null;function re(){ne=P.a.onunhandledrejection,P.a.onunhandledrejection=function(t){const e=t;return B("unhandledrejection",e),!(ne&&!ne.__SENTRY_LOADER__)||ne.apply(this,arguments)},P.a.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const oe=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(!function(t){e=e=>{const{stackParser:n,attachStacktrace:o}=ie();if(Object(a.a)()!==t||Tt())return;const{msg:s,url:i,line:c,column:u,error:f}=e,d=function(t,e,n,r){const o=t.exception=t.exception||{},s=o.values=o.values||[],i=s[0]=s[0]||{},c=i.stacktrace=i.stacktrace||{},a=c.frames=c.frames||[],u=isNaN(parseInt(r,10))?void 0:r,f=isNaN(parseInt(n,10))?void 0:n,d=Object(z.l)(e)&&e.length>0?e:Object(Ht.b)();return 0===a.length&&a.push({colno:u,filename:d,function:v.a,in_app:!0,lineno:f}),t}(Et(n,f||s,void 0,o,!1),i,c,u);d.level="error",Object(r.a)(d,{originalException:f,mechanism:{handled:!1,type:"onerror"}})},U("error",e),q("error",ee);var e}(t),se("onerror")),e.onunhandledrejection&&(!function(t){!function(t){const e="unhandledrejection";U(e,t),q(e,re)}(e=>{const{stackParser:n,attachStacktrace:o}=ie();if(Object(a.a)()!==t||Tt())return;const s=function(t){if(Object(z.j)(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(t){}return t}(e),i=Object(z.j)(s)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(s)}]}}:Et(n,s,void 0,o,!0);i.level="error",Object(r.a)(i,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}(t),se("onunhandledrejection"))}}};function se(t){gt&&o.c.log("Global Handler attached: "+t)}function ie(){const t=Object(a.a)();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const ce=()=>({name:"HttpContext",preprocessEvent(t){if(!wt.navigator&&!wt.location&&!wt.document)return;const e=t.request&&t.request.url||wt.location&&wt.location.href,{referrer:n}=wt.document||{},{userAgent:r}=wt.navigator||{},o={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...t.request,...e&&{url:e},headers:o};t.request=s}});function ae(t,e,n=250,r,o,s,c){if(!(s.exception&&s.exception.values&&c&&Object(z.g)(c.originalException,Error)))return;const a=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;var u,f;a&&(s.exception.values=(u=function t(e,n,r,o,s,i,c,a){if(i.length>=r+1)return i;let u=[...i];if(Object(z.g)(o[s],Error)){ue(c,a);const i=e(n,o[s]),f=u.length;fe(i,s,f,a),u=t(e,n,r,o[s],s,[i,...u],i,f)}return Array.isArray(o.errors)&&o.errors.forEach((o,i)=>{if(Object(z.g)(o,Error)){ue(c,a);const f=e(n,o),d=u.length;fe(f,`errors[${i}]`,d,a),u=t(e,n,r,o,s,[f,...u],f,d)}}),u}(t,e,o,c.originalException,r,s.exception.values,a,0),f=n,u.map(t=>(t.value&&(t.value=Object(i.d)(t.value,f)),t))))}function ue(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,..."AggregateError"===t.type&&{is_exception_group:!0},exception_id:e}}function fe(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}const de=(t={})=>{const e=t.limit||5,n=t.key||"cause";return{name:"LinkedErrors",preprocessEvent(t,r,o){const s=o.getOptions();ae(mt,s.stackParser,s.maxValueLength,n,e,t,r)}}};function pe(t,e,n,r){const o={filename:t,function:""===e?v.a:e,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const le=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,he=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,_e=/\((\S*)(?::(\d+))(?::(\d+))\)/,ge=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,me=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,be=[[30,t=>{const e=le.exec(t);if(e){const[,t,n,r]=e;return pe(t,v.a,+n,+r)}const n=he.exec(t);if(n){if(n[2]&&0===n[2].indexOf("eval")){const t=_e.exec(n[2]);t&&(n[2]=t[1],n[3]=t[2],n[4]=t[3])}const[t,e]=ve(n[1]||v.a,n[2]);return pe(e,t,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,t=>{const e=ge.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=me.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||v.a;return[n,t]=ve(n,t),pe(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}]],ye=Object(v.b)(...be),ve=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:v.a,n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]},Oe="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,je={};function Ee(t){const e=je[t];if(e)return e;let n=Y[t];if(A(n))return je[t]=n.bind(Y);const r=Y.document;if(r&&"function"==typeof r.createElement)try{const e=r.createElement("iframe");e.hidden=!0,r.head.appendChild(e);const o=e.contentWindow;o&&o[t]&&(n=o[t]),r.head.removeChild(e)}catch(e){Oe&&o.c.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,e)}return n?je[t]=n.bind(Y):n}function Se(t){je[t]=void 0}function xe(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]||Promise.resolve(void 0)}return{$:e,add:function(r){if(!(void 0===t||e.lengthn(o)).then(null,()=>n(o).then(null,()=>{})),o},drain:function(t){return new W.a((n,r)=>{let o=e.length;if(!o)return n(!0);const s=setTimeout(()=>{t&&t>0&&n(!1)},t);e.forEach(t=>{Object(W.c)(t).then(()=>{--o||(clearTimeout(s),n(!0))},r)})})}}}function we(t,{statusCode:e,headers:n},r=Date.now()){const o={...t},s=n&&n["x-sentry-rate-limits"],i=n&&n["retry-after"];if(s)for(const t of s.trim().split(",")){const[e,n,,,s]=t.split(":",5),i=parseInt(e,10),c=1e3*(isNaN(i)?60:i);if(n)for(const t of n.split(";"))"metric_bucket"===t&&s&&!s.split(";").includes("custom")||(o[t]=r+c);else o.all=r+c}else i?o.all=r+function(t,e=Date.now()){const n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(""+t);return isNaN(r)?6e4:r-e}(i,r):429===e&&(o.all=r+6e4);return o}function ke(t,e,n=xe(t.bufferSize||64)){let r={};return{send:function(s){const i=[];if(Z(s,(e,n)=>{const o=rt(n);if(function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,o)){const r=Te(e,n);t.recordDroppedEvent("ratelimit_backoff",o,r)}else i.push(e)}),0===i.length)return Object(W.c)({});const a=K(s[0],i),u=e=>{Z(a,(n,r)=>{const o=Te(n,r);t.recordDroppedEvent(e,rt(r),o)})};return n.add(()=>e({body:tt(a)}).then(t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&c.a&&o.c.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=we(r,t),t),t=>{throw u("network_error"),t})).then(t=>t,t=>{if(t instanceof st)return c.a&&o.c.error("Skipped sending event because buffer is full."),u("queue_overflow"),Object(W.c)({});throw t})},flush:t=>n.drain(t)}}function Te(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}function De(t,e=Ee("fetch")){let n=0,r=0;return ke(t,(function(o){const s=o.body.length;n+=s,r++;const i={body:o.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};if(!e)return Se("fetch"),Object(W.b)("No fetch implementation available");try{return e(t.url,i).then(t=>(n-=s,r--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}))}catch(t){return Se("fetch"),n-=s,r--,Object(W.b)(t)}}))}function Ne(t={}){const e=function(t={}){return{...{defaultIntegrations:[h(),y(),Vt(),zt(),oe(),de(),O(),ce()],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:wt.SENTRY_RELEASE&&wt.SENTRY_RELEASE.id?wt.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0},...t}}(t);if(function(){const t=wt,e=t[t.chrome?"chrome":"browser"],n=e&&e.runtime&&e.runtime.id,r=wt.location&&wt.location.href||"",o=!!n&&wt===wt.top&&["chrome-extension:","moz-extension:","ms-browser-extension:"].some(t=>r.startsWith(t+"//")),s=void 0!==t.nw;return!!n&&!o&&!s}())return void Object(o.b)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});gt&&($()||o.c.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...e,stackParser:Object(v.e)(e.stackParser||ye),integrations:f(e),transport:e.transport||De},s=x(It,n);return e.autoSessionTracking&&function(){if(void 0===wt.document)return void(gt&&o.c.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));Object(r.g)({ignoreDuration:!0}),Object(r.c)(),J(({from:t,to:e})=>{void 0!==t&&t!==e&&(Object(r.g)({ignoreDuration:!0}),Object(r.c)())})}(),s}var Ie=n(0);function Ce(t){const e={...t};return _t(e,"react"),Object(r.f)("react",{version:Ie.version}),Ne(e)}},20:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return i}));var r=n(6),o=n(50);function s(){return i(r.a),r.a}function i(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||o.a,e[o.a]=e[o.a]||{}}},21:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return s}));var r=n(16),o=(n(35),n(6));function s(){const t=o.a,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,t=>(t^(15&n())>>t/4).toString(16))}function i(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function c(t){const{message:e,event_id:n}=t;if(e)return e;const r=i(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function a(t,e,n){const r=t.exception=t.exception||{},o=r.values=r.values||[],s=o[0]=o[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")}function u(t,e){const n=i(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function f(t){if(t&&t.__sentry_captured__)return!0;try{Object(r.a)(t,"__sentry_captured__",!0)}catch(t){}return!1}function d(t){return Array.isArray(t)?t:[t]}},24:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},26:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return c}));var r=n(16);n(69),n(21);new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");var o=n(29);n(40),n(20),n(5);function s(t){const e=t._sentryMetrics;if(!e)return;const n={};for(const[,[t,o]]of e){(n[t]||(n[t]=[])).push(Object(r.c)(o))}return n}var i=n(47);n(39);function c(t){const{spanId:e,traceId:n}=t.spanContext(),{parent_span_id:o}=f(t);return Object(r.c)({parent_span_id:o,span_id:e,trace_id:n})}function a(t){return"number"==typeof t?u(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?u(t.getTime()):Object(o.b)()}function u(t){return t>9999999999?t/1e3:t}function f(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();try{const{spanId:e,traceId:n}=t.spanContext();if(function(t){const e=t;return!!(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status)}(t)){const{attributes:o,startTime:c,name:u,endTime:f,parentSpanId:d,status:l}=t;return Object(r.c)({span_id:e,trace_id:n,data:o,description:u,parent_span_id:d,start_timestamp:a(c),timestamp:a(f)||void 0,status:p(l),op:o[i.a],origin:o[i.b],_metrics_summary:s(t)})}return{span_id:e,trace_id:n}}catch(t){return{}}}function d(t){const{traceFlags:e}=t.spanContext();return 1===e}function p(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"unknown_error"}function l(t){return t._sentryRootSpan||t}},28:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(21);function o(){return{traceId:Object(r.f)(),spanId:Object(r.f)().substring(16)}}var s=n(11),i=n(29),c=n(13),a=n(36),u=n(39);class f{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=o()}clone(){const t=new f;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,Object(u.b)(t,Object(u.a)(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Object(a.c)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,[n,r]=e instanceof d?[e.getScopeData(),e.getRequestSession()]:Object(s.i)(e)?[t,t.requestSession]:[],{tags:o,extra:i,user:c,contexts:a,level:u,fingerprint:f=[],propagationContext:p}=n||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},c&&Object.keys(c).length&&(this._user=c),u&&(this._level=u),f.length&&(this._fingerprint=f),p&&(this._propagationContext=p),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,Object(u.b)(this,void 0),this._attachments=[],this._propagationContext=o(),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:Object(i.a)(),...t},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Object(u.a)(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){const n=e&&e.event_id?e.event_id:Object(r.f)();if(!this._client)return c.c.warn("No client configured on scope - will not capture exception!"),n;const o=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:o,...e,event_id:n},this),n}captureMessage(t,e,n){const o=n&&n.event_id?n.event_id:Object(r.f)();if(!this._client)return c.c.warn("No client configured on scope - will not capture message!"),o;const s=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:o},this),o}captureEvent(t,e){const n=e&&e.event_id?e.event_id:Object(r.f)();return this._client?(this._client.captureEvent(t,{...e,event_id:n},this),n):(c.c.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}const d=f},29:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s}));var r=n(6);function o(){return Date.now()/1e3}const s=function(){const{performance:t}=r.a;if(!t||!t.now)return o;const e=Date.now()-t.now(),n=null==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/1e3}();let i;(()=>{const{performance:t}=r.a;if(!t||!t.now)return void(i="none");const e=t.now(),n=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,s=o<36e5,c=t.timing&&t.timing.navigationStart,a="number"==typeof c?Math.abs(c+e-n):36e5;s||a<36e5?o<=a?(i="timeOrigin",t.timeOrigin):i="navigationStart":i="dateNow"})()},35:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return o}));var r=n(11);function o(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:t.slice(0,e)+"..."}function s(t,e){let n=t;const r=n.length;if(r<=150)return n;e>r&&(e=r);let o=Math.max(e-60,0);o<5&&(o=0);let s=Math.min(o+140,r);return s>r-5&&(s=r),s===r&&(o=Math.max(s-140,0)),n=n.slice(o,s),o>0&&(n="'{snip} "+n),sfunction(t,e,n=!1){return!!Object(r.l)(t)&&(Object(r.k)(e)?e.test(t):!!Object(r.l)(e)&&(n?t===e:t.includes(e)))}(t,e,n))}},36:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return c}));var r=n(29),o=n(21),s=n(16);function i(t){const e=Object(r.b)(),n={sid:Object(o.f)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return Object(s.c)({sid:""+t.sid,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?""+t.did:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&c(n,t),n}function c(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Object(r.b)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:Object(o.f)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=""+e.did),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function a(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),c(t,n)}},39:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return o}));var r=n(16);function o(t,e){e?Object(r.a)(t,"_sentrySpan",e):delete t._sentrySpan}function s(t){return t._sentrySpan}},40:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(20),o=n(11),s=n(6),i=n(28);class c{constructor(t,e){let n,r;n=t||new i.a,r=e||new i.a,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(t){throw this._popScope(),t}return Object(o.n)(n)?n.then(t=>(this._popScope(),t),t=>{throw this._popScope(),t}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function a(){const t=Object(r.a)(),e=Object(r.b)(t);return e.stack=e.stack||new c(Object(s.b)("defaultCurrentScope",()=>new i.a),Object(s.b)("defaultIsolationScope",()=>new i.a))}function u(t){return a().withScope(t)}function f(t,e){const n=a();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function d(t){return a().withScope(()=>t(a().getIsolationScope()))}function p(t){const e=Object(r.b)(t);return e.acs?e.acs:{withIsolationScope:d,withScope:u,withSetScope:f,withSetIsolationScope:(t,e)=>d(e),getCurrentScope:()=>a().getScope(),getIsolationScope:()=>a().getIsolationScope()}}},42:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return f}));var r=n(16),o=n(69),s=n(43),i=n(5),c=n(47),a=n(26);function u(t,e){const n=e.getOptions(),{publicKey:o}=e.getDsn()||{},i=Object(r.c)({environment:n.environment||s.a,release:n.release,public_key:o,trace_id:t});return e.emit("createDsc",i),i}function f(t){const e=Object(i.a)();if(!e)return{};const n=u(Object(a.c)(t).trace_id||"",e),r=Object(a.a)(t),s=r._frozenDsc;if(s)return s;const f=r.spanContext().traceState,d=f&&f.get("sentry.dsc"),p=d&&Object(o.a)(d);if(p)return p;const l=Object(a.c)(r),h=l.data||{},_=h[c.c];null!=_&&(n.sample_rate=""+_);const g=h[c.d],m=l.description;return"url"!==g&&m&&(n.transaction=m),n.sampled=String(Object(a.b)(r)),e.emit("createDsc",n,r),n}},43:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="production"},47:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return r}));const r="sentry.source",o="sentry.sample_rate",s="sentry.op",i="sentry.origin"},5:function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return f}));var r=n(6),o=n(40),s=n(20),i=n(28);function c(){const t=Object(s.a)();return Object(o.a)(t).getCurrentScope()}function a(){const t=Object(s.a)();return Object(o.a)(t).getIsolationScope()}function u(){return Object(r.b)("globalScope",()=>new i.a)}function f(...t){const e=Object(s.a)(),n=Object(o.a)(e);if(2===t.length){const[e,r]=t;return e?n.withSetScope(e,r):n.withScope(r)}return n.withScope(t[0])}function d(...t){const e=Object(s.a)(),n=Object(o.a)(e);if(2===t.length){const[e,r]=t;return e?n.withSetIsolationScope(e,r):n.withIsolationScope(r)}return n.withIsolationScope(t[0])}function p(){return c().getClient()}},50:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="8.22.0"},6:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s}));var r=n(50);const o=globalThis;function s(t,e,n){const s=n||o,i=s.__SENTRY__=s.__SENTRY__||{},c=i[r.a]=i[r.a]||{};return c[t]||(c[t]=e())}},61:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return c}));const r="?",o=/\(error: (.*)\)/,s=/captureMessage|captureException/;function i(...t){const e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,i=0)=>{const c=[],u=t.split("\n");for(let t=n;t1024)continue;const r=o.test(n)?n.replace(o,"$1"):n;if(!r.match(/\S*Error: /)){for(const t of e){const e=t(r);if(e){c.push(e);break}}if(c.length>=50+i)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(a(e).function||"")&&e.pop();e.reverse(),s.test(a(e).function||"")&&(e.pop(),s.test(a(e).function||"")&&e.pop());return e.slice(0,50).map(t=>({...t,filename:t.filename||a(e).filename,function:t.function||r}))}(c.slice(i))}}function c(t){return Array.isArray(t)?i(...t):t}function a(t){return t[t.length-1]||{}}function u(t){try{return t&&"function"==typeof t&&t.name||""}catch(t){return""}}function f(t){const e=t.exception;if(e){const t=[];try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch(t){return}}}},65:function(t,e,n){"use strict";n.d(e,"a",(function(){return E})),n.d(e,"b",(function(){return O}));var r=n(21),o=n(29),s=n(35),i=n(6),c=n(106),a=n(43),u=n(5),f=n(70),d=n(13),p=n(11),l=n(8);var h=n(28),_=n(16),g=n(42),m=n(26);function b(t,e){const{fingerprint:n,span:o,breadcrumbs:s,sdkProcessingMetadata:i}=e;!function(t,e){const{extra:n,tags:r,user:o,contexts:s,level:i,transactionName:c}=e,a=Object(_.c)(n);a&&Object.keys(a).length&&(t.extra={...a,...t.extra});const u=Object(_.c)(r);u&&Object.keys(u).length&&(t.tags={...u,...t.tags});const f=Object(_.c)(o);f&&Object.keys(f).length&&(t.user={...f,...t.user});const d=Object(_.c)(s);d&&Object.keys(d).length&&(t.contexts={...d,...t.contexts});i&&(t.level=i);c&&"transaction"!==t.type&&(t.transaction=c)}(t,e),o&&function(t,e){t.contexts={trace:Object(m.d)(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:Object(g.b)(e),...t.sdkProcessingMetadata};const n=Object(m.a)(e),r=Object(m.c)(n).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,o),function(t,e){t.fingerprint=t.fingerprint?Object(r.c)(t.fingerprint):[],e&&(t.fingerprint=t.fingerprint.concat(e));t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}(t,n),function(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,s),function(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}(t,i)}function y(t,e){const{extra:n,tags:r,user:o,contexts:s,level:i,sdkProcessingMetadata:c,breadcrumbs:a,fingerprint:u,eventProcessors:f,attachments:d,propagationContext:p,transactionName:l,span:h}=e;v(t,"extra",n),v(t,"tags",r),v(t,"user",o),v(t,"contexts",s),v(t,"sdkProcessingMetadata",c),i&&(t.level=i),l&&(t.transactionName=l),h&&(t.span=h),a.length&&(t.breadcrumbs=[...t.breadcrumbs,...a]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...p}}function v(t,e,n){if(n&&Object.keys(n).length){t[e]={...t[e]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[e][r]=n[r])}}function O(t,e,n,_,g,m){const{normalizeDepth:v=3,normalizeMaxBreadth:O=1e3}=t,E={...e,event_id:e.event_id||n.event_id||Object(r.f)(),timestamp:e.timestamp||Object(o.a)()},S=n.integrations||t.integrations.map(t=>t.name);!function(t,e){const{environment:n,release:r,dist:o,maxValueLength:i=250}=e;"environment"in t||(t.environment="environment"in e?n:a.a);void 0===t.release&&void 0!==r&&(t.release=r);void 0===t.dist&&void 0!==o&&(t.dist=o);t.message&&(t.message=Object(s.d)(t.message,i));const c=t.exception&&t.exception.values&&t.exception.values[0];c&&c.value&&(c.value=Object(s.d)(c.value,i));const u=t.request;u&&u.url&&(u.url=Object(s.d)(u.url,i))}(E,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(E,S),g&&g.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const n=i.a._sentryDebugIds;if(!n)return;let r;const o=j.get(e);o?r=o:(r=new Map,j.set(e,r));const s=Object.entries(n).reduce((t,[n,o])=>{let s;const i=r.get(n);i?s=i:(s=e(n),r.set(n,s));for(let e=s.length-1;e>=0;e--){const n=s[e];if(n.filename){t[n.filename]=o;break}}return t},{});try{t.exception.values.forEach(t=>{t.stacktrace.frames.forEach(t=>{t.filename&&(t.debug_id=s[t.filename])})})}catch(t){}}(E,t.stackParser);const x=function(t,e){if(!e)return t;const n=t?t.clone():new h.a;return n.update(e),n}(_,n.captureContext);n.mechanism&&Object(r.a)(E,n.mechanism);const w=g?g.getEventProcessors():[],k=Object(u.c)().getScopeData();if(m){y(k,m.getScopeData())}if(x){y(k,x.getScopeData())}const T=[...n.attachments||[],...k.attachments];T.length&&(n.attachments=T),b(E,k);return function t(e,n,r,o=0){return new f.a((s,i)=>{const c=e[o];if(null===n||"function"!=typeof c)s(n);else{const a=c({...n},r);l.a&&c.id&&null===a&&d.c.log(`Event processor "${c.id}" dropped event`),Object(p.n)(a)?a.then(n=>t(e,n,r,o+1).then(s)).then(null,i):t(e,a,r,o+1).then(s).then(null,i)}})}([...w,...k.eventProcessors],E,n).then(t=>(t&&function(t){const e={};try{t.exception.values.forEach(t=>{t.stacktrace.frames.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})})}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof v&&v>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:Object(c.a)(t.data,e,n)}}))},...t.user&&{user:Object(c.a)(t.user,e,n)},...t.contexts&&{contexts:Object(c.a)(t.contexts,e,n)},...t.extra&&{extra:Object(c.a)(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=Object(c.a)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:Object(c.a)(t.data,e,n)}})));return r}(t,v,O):t))}const j=new WeakMap;function E(t){if(t)return function(t){return t instanceof h.a||"function"==typeof t}(t)||function(t){return Object.keys(t).some(t=>S.includes(t))}(t)?{captureContext:t}:t}const S=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},69:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return a}));var r=n(24),o=n(11),s=n(13);const i=/^sentry-/;function c(t){const e=function(t){if(!t||!Object(o.l)(t)&&!Array.isArray(t))return;if(Array.isArray(t))return t.reduce((t,e)=>{const n=u(e);return Object.entries(n).forEach(([e,n])=>{t[e]=n}),t},{});return u(t)}(t);if(!e)return;const n=Object.entries(e).reduce((t,[e,n])=>{if(e.match(i)){t[e.slice("sentry-".length)]=n}return t},{});return Object.keys(n).length>0?n:void 0}function a(t){if(!t)return;return function(t){if(0===Object.keys(t).length)return;return Object.entries(t).reduce((t,[e,n],o)=>{const i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,c=0===o?i:`${t},${i}`;return c.length>8192?(r.a&&s.c.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):c},"")}(Object.entries(t).reduce((t,[e,n])=>(n&&(t["sentry-"+e]=n),t),{}))}function u(t){return t.split(",").map(t=>t.split("=").map(t=>decodeURIComponent(t.trim()))).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}},70:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s}));var r,o=n(11);function s(t){return new c(e=>{e(t)})}function i(t){return new c((e,n)=>{n(t)})}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class c{constructor(t){c.prototype.__init.call(this),c.prototype.__init2.call(this),c.prototype.__init3.call(this),c.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new c((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new c((e,n)=>{let r,o;return this.then(e=>{o=!1,r=e,t&&t()},e=>{o=!0,r=e,t&&t()}).then(()=>{o?n(r):e(r)})})}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===r.PENDING&&(Object(o.n)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)})}}}},8:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},97:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return s}));var r=n(11);const o=n(6).a;function s(t,e={}){if(!t)return"";try{let n=t;const r=5,o=[];let s=0,c=0;const a=" > ",u=a.length;let f;const d=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||80;for(;n&&s++1&&c+o.length*u+f.length>=p));)o.push(f),c+=f.length,n=n.parentNode;return o.reverse().join(a)}catch(t){return""}}function i(t,e){const n=t,s=[];if(!n||!n.tagName)return"";if(o.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}s.push(n.tagName.toLowerCase());const i=e&&e.length?e.filter(t=>n.getAttribute(t)).map(t=>[t,n.getAttribute(t)]):null;if(i&&i.length)i.forEach(t=>{s.push(`[${t[0]}="${t[1]}"]`)});else{n.id&&s.push("#"+n.id);const t=n.className;if(t&&Object(r.l)(t)){const e=t.split(/\s+/);for(const t of e)s.push("."+t)}}const c=["aria-label","type","name","title","alt"];for(const t of c){const e=n.getAttribute(t);e&&s.push(`[${t}="${e}"]`)}return s.join("")}function c(){try{return o.document.location.href}catch(t){return""}}function a(t){if(!o.HTMLElement)return null;let e=t;for(let t=0;t<5;t++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}},98:function(t,e,n){!function(e){if("function"==typeof define&&define.amd&&(define(e),!0),t.exports=e(),!!0){var n=window.Cookies,r=window.Cookies=e();r.noConflict=function(){return window.Cookies=n,r}}}((function(){function t(){for(var t=0,e={};t2&&void 0!==arguments[2]?arguments[2]:{},r=n.onSuccess,a=void 0===r?d:r,s=n.onFailure,v=void 0===s?d:s,x=n.onFinish,p=void 0===x?d:x,g=n.getAutoRunArgs,f=void 0===g?function(){return null}:g,m=Object(i.useState)(null),b=Object(o.a)(m,2),w=b[0],O=b[1],h=Object(i.useState)(null),C=Object(o.a)(h,2),P=C[0],y=C[1],E=Object(i.useMemo)(f,[]),j=Object(i.useState)(!!E),L=Object(o.a)(j,2),A=L[0],I=L[1],S=Object(i.useCallback)(t,e),_=Object(i.useCallback)(function(){var t=Object(c.a)(u.a.mark((function t(){var e,n=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return y(null),I(!0),t.prev=2,t.next=5,S.apply(void 0,n);case 5:return e=t.sent,O(e),y(null),a(e),t.abrupt("return",e);case 12:return t.prev=12,t.t0=t.catch(2),y(t.t0),O(null),v(t.t0),t.abrupt("return",t.t0);case 18:return t.prev=18,I(!1),p(),t.finish(18);case 22:case"end":return t.stop()}}),t,null,[[2,12,18,22]])})));return function(){return t.apply(this,arguments)}}(),[S,v,p,a]);return Object(i.useEffect)((function(){E&&_.apply(void 0,Object(l.a)(E))}),[E,_]),[_,{value:w,error:P,loading:A}]},x=n(22),p=Object(i.createContext)(null),g=function(){var t=Object(i.useContext)(p);if(!t)throw new Error('"useProfile" must be inside a Provider');return t.profile},f=function(t){var e,n,l=t.children,s=t.useLoadingState,u=Object(i.useContext)(p),c=v((function(){return Object(a.a)()}),[],{getAutoRunArgs:function(){return u?null:[]}}),d=Object(o.a)(c,2)[1],g=d.value,f=d.loading,m=null!==(e=null==u?void 0:u.profile)&&void 0!==e?e:g,b=null!==(n=null==u?void 0:u.loading)&&void 0!==n?n:f;return s&&b?r.a.createElement("div",{"data-testid":"loading-session"},r.a.createElement(x.a,null)):r.a.createElement(p.Provider,{value:{profile:m,loading:b}},l)}},3:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(t,e){return e.formatMessage({id:"".concat(t)})}},34:function(t,e,n){"use strict";n.r(e),n.d(e,"LoginSchema",(function(){return o}));var o={type:"object",properties:{optionsTitle:{title:"admin/editor.login.optionsTitle",type:"string",widget:{"ui:widget":"textarea"}},emailAndPasswordTitle:{title:"admin/editor.login.emailAndPasswordTitle",type:"string",widget:{"ui:widget":"textarea"}},accessCodeTitle:{title:"admin/editor.login.accessCodeTitle",type:"string",widget:{"ui:widget":"textarea"}},emailPlaceholder:{title:"admin/editor.login.emailPlaceholder",type:"string"},passwordPlaceholder:{title:"admin/editor.login.passwordPlaceholder",type:"string"},showPasswordVerificationIntoTooltip:{title:"admin/editor.login.showPasswordVerificationIntoTooltip.title",type:"boolean",isLayout:!0},accessCodePlaceholder:{title:"admin/editor.login.accessCodePlaceholder",type:"string"},showIconProfile:{title:"admin/editor.login.showIconProfile",type:"boolean"},iconLabel:{title:"admin/editor.login.iconLabel",type:"string"},providerPasswordButtonLabel:{title:"admin/editor.login.providerPasswordButtonLabel",type:"string"},hasIdentifierExtension:{title:"admin/editor.login.hasIdentifierExtension",type:"boolean"},termsAndConditions:{title:"admin/editor.login.termsAndConditions",type:"string",widget:{"ui:widget":"textarea"}}},dependencies:{hasIdentifierExtension:{oneOf:[{properties:{hasIdentifierExtension:{enum:[!0]},identifierPlaceholder:{title:"admin/editor.login.identifierPlaceholder",type:"string"},invalidIdentifierError:{title:"admin/editor.login.invalidIdentifierError",type:"string"}}}]}}}},60:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var o=n(195),i=n(196),r=n(0),a=n.n(r),l=function(t){var e=t.children;return Object(r.useEffect)((function(){o.d()||i.a({dsn:"https://802285094e39ad3e1f5afbda4323b46f@o191317.ingest.us.sentry.io/4507721481256960",integrations:[],environment:"production",enabled:!0,release:"vtex.login@2.65.0",sampleRate:.01,tracesSampleRate:.01,beforeSend:function(t){return function(t){return!!(t&&t.exception&&t.exception.values)&&t.exception.values.some((function(t){var e,n;return null===(n=null===(e=t.stacktrace)||void 0===e?void 0:e.frames)||void 0===n?void 0:n.some((function(t){var e,n,o;return null!==(n=null===(e=t.abs_path)||void 0===e?void 0:e.includes("vtex.login"))&&void 0!==n?n:null===(o=t.filename)||void 0===o?void 0:o.includes("vtex.login")}))}))}(t)?t:null}})}),[]),a.a.createElement(a.a.Fragment,null,e)}},62:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var o=n(37),i=n(98),r=n.n(i),a=function(t){var e=Object(o.compose)(o.fromPairs,Object(o.map)(Object(o.split)("=")),Object(o.split)("&"),o.tail)(t),n=e.accountAuthCookieName,i=e.accountAuthCookieValue;if(n&&i){r.a.set(n,i,{expires:1,path:"/",secure:!0});var a=t.substring(0,t.indexOf("?"));window.history.replaceState({},document.title,a),window.location.assign(window.location.origin)}}},66:function(t,e,n){"use strict";var o=n(18),i=n.n(o),r=n(31),a=function(t){var e=(null!=t?t:{}).namespaces,n=(null!=e?e:{}).profile;if(!n)return null;var o=n.email,i=(o=void 0===o?{value:null}:o).value,r=n.firstName,a=(r=void 0===r?{value:null}:r).value,l=n.isAuthenticated,s="true"===(l=void 0===l?{value:"false"}:l).value;return s&&!i?null:{email:i,firstName:a,isAuthenticated:s}},l=function(){var t=Object(r.a)(i.a.mark((function t(){var e,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o=void 0,(null===(o=null===window||void 0===window?void 0:window.__RENDER_8_SESSION__)||void 0===o?void 0:o.sessionPromise)?window.__RENDER_8_SESSION__.sessionPromise:Promise.resolve(null);case 2:return e=t.sent,n=(null!=e?e:{}).response,t.abrupt("return",a(n));case 5:case"end":return t.stop()}var o}),t)})));return function(){return t.apply(this,arguments)}}();e.a=l},9:function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return u}));var o="user-identifier",i="vtex.login@2.65.0",r={POPOVER:"popover",LINK:"link"},a={RIGHT:"Right",LEFT:"Left"},l=function(){var t;return(null===(t=null===window||void 0===window?void 0:window.__RUNTIME__)||void 0===t?void 0:t.rootPath)||""},s=["fastshopbrqa1","fastshopbrqa2","fastshopbr","rubimstore"],u=function(t){return s.includes(t)}}}]);
},function(){
(window.webpackJsonpvtex_login_2_65_0=window.webpackJsonpvtex_login_2_65_0||[]).push([["Login"],{0:function(e,t){e.exports=React},10:function(e,t){e.exports=__RENDER_8_RUNTIME__},100:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconProfile"]},101:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-portal@0.x/Overlay"]},102:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useLogOut"]},103:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/useCssHandles"]},107:function(e,t,n){"use strict";n.r(t),function(e){var t=n(25);n.p=Object(t.getPublicPath)("vtex.login@2.65.0");var o=Object(t.register)((function(){return n(193)}),e,"vtex.login@2.65.0","vtex.login@2.x","Login");o.renderHotReload,o.setupHMR}.call(this,n(56)(e))},14:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/Button"]},17:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/Input"]},19:function(e,t){e.exports=Classnames},193:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return _e}));var o=n(2),a=n(0),i=n.n(a),r=n(51),c=n.n(r),l=n(9),s=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 a=0;for(o=Object.getOwnPropertySymbols(e);a=0||e.indexOf("Firefox")>=0}()&&window.location?i.a.createElement(a.Suspense,{fallback:null},i.a.createElement(C.a,{skip:!0,scope:"STORE",parentAppId:l.c},i.a.createElement(j,Object(_.a)({},e,{page:t})))):null},k=function(){window&&(window.localStorage&&localStorage.setItem("gsi_auto","false"),S()&&window.google.accounts.id.disableAutoSelect())},M=n(4),B=n(46),A=n.n(B),D=n(3),U=function(){var e,t=null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.search;return t&&URLSearchParams?new URLSearchParams(t).get("__bindingAddress"):null},z=n(19),G=n.n(z),F=n(100),H=n.n(F),K=function(e){var t=e.iconSize,n=e.labelClasses,o=e.classes;return Boolean(Object(N.useChildBlock)({id:"icon-profile"}))?i.a.createElement("div",{className:G()(n,o)},i.a.createElement(N.ExtensionPoint,{id:"icon-profile",size:t})):i.a.createElement("div",{className:G()(n,o)},i.a.createElement(H.a,{size:t}))},V=function(e){var t,n,o=e.iconSize,a=e.iconLabel,r=e.hideIconLabel,c=e.labelClasses,l=e.loginButtonAsLink,s=e.onProfileIconClick,u=e.sessionProfile,d=e.showIconProfile,p=Object(M.useIntl)(),m=Object(N.useRuntime)(),v=m.history,g=m.navigate,f=null!=u?u:{},O=f.isAuthenticated,b=f.firstName,_=f.email,h=null===(t=null==v?void 0:v.location)||void 0===t?void 0:t.pathname,x=null===(n=null==v?void 0:v.location)||void 0===n?void 0:n.search,w="flex items-center ".concat(r?"nr4":""),R=a||Object(D.a)("store/login.signIn",p),C=r?i.a.createElement(i.a.Fragment,null):O?i.a.createElement("span",{className:"".concat(E.a.profile," truncate t-action--small order-1 pl4 ").concat(c," dn db-l")},Object(D.a)("store/login.hello",p)," ",null!=b?b:_):i.a.createElement("span",{className:"".concat(E.a.label," t-action--small pl4 ").concat(c," dn db-l")},R);if(l){var T=O?"store.account":"store.login";return i.a.createElement("div",{className:E.a.buttonLink},i.a.createElement(A.a,{variation:"tertiary",icon:d&&i.a.createElement(K,{iconSize:o,labelClasses:c,classes:w}),iconPosition:d?"left":"right",onClick:function(){if(window&&URLSearchParams){var e=!O&&encodeURIComponent("".concat(h).concat(x)),t=U();return g({page:T,query:new URLSearchParams(Object.assign(Object.assign({},e&&{returnUrl:e}),t&&{bindingAddress:t})).toString()})}}},C))}return i.a.createElement(A.a,{variation:"tertiary",icon:d&&i.a.createElement(K,{iconSize:o,labelClasses:c,classes:w}),iconPosition:d?"left":"right",onClick:s},i.a.createElement("div",{className:"flex pv2 items-center"},C))},W=n(101),J=n.n(W),q=n(22),X=function(e){var t=e.children,n=e.mirrorTooltipToRight;return i.a.createElement("div",{className:"".concat(E.a.box," z-max absolute"),style:n?{left:50}:{right:-50}},i.a.createElement("div",{className:"".concat(E.a.arrowUp," absolute top-0 ").concat(n?"left-0 ml3":"right-0 mr3"," shadow-3 bg-base rotate-45 h2 w2")}),i.a.createElement("div",{className:"".concat(E.a.contentContainer," shadow-3 mt3")},t))},Q=n(63),Y=n(64),Z=n(48),$=n(67),ee=n(68),te=n(49);function ne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(te.a)(e);if(t){var a=Object(te.a)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return Object(ee.a)(this,n)}}var oe={BLOCK:"block",FLEX:"flex",INLINE:"inline",INLINE_BLOCK:"inline-block",CONTENTS:"contents"},ae={disabled:!1,useCapture:!0,display:oe.BLOCK},ie=function(e){Object($.a)(n,e);var t=ne(n);function n(){var e;Object(Q.a)(this,n);for(var o=arguments.length,a=new Array(o),i=0;i0}),[t]),c=Object(a.useMemo)((function(){return(null!=t?t:[]).map((function(e){return e.cssClass})).filter((function(e){return e}))}),[t]),s=de()(c),u=se()({onSuccess:Object(a.useCallback)((function(){var e;return null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.reload()}),[]),parentAppId:l.c,scope:"STORE"}),d=Object(o.a)(u,2),p=d[0],m=d[1].loading;return i.a.createElement("div",{className:"".concat(E.a.content," ").concat(E.a.content,"--accountOptions flex relative bg-base justify-around overflow-visible pa4 center items-baseline-ns items-baseline")},i.a.createElement("div",{className:"".concat(E.a.contentForm," dn ph4 ").concat(E.a.contentFormVisible," db")},i.a.createElement("div",null,i.a.createElement("div",{className:"".concat(E.a.accountOptions," items-center w-100")},i.a.createElement("div",{className:"mv4 min-h-2 b--muted-4"},r?i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"".concat(E.a.accountOptionsSectionTitle," t-small b mb3")},Object(D.a)("store/login.myAccount",n)),null==t?void 0:t.map((function(e,t){var n=e.label,o=e.path,a=e.cssClass,r=new URL(o||"/",window.location.href);return i.a.createElement(N.Link,{className:"".concat(s[a]||""," db no-underline t-small c-muted-1 hover-c-action-primary pv3"),key:t,to:"".concat(r.pathname).concat(r.search).concat(r.hash)},n)}))):i.a.createElement(N.Link,{page:"store.account"},i.a.createElement("button",{className:"".concat(E.a.button," bw1 ba ttu br2 t-action--small v-mid relative pv3 ph5 t-heading-5 bg-base b--transparent c-action-primary hover-c-action-primary pointer")},i.a.createElement("span",{className:"t-action--small"},Object(D.a)("store/login.myAccount",n))))),i.a.createElement("hr",{className:"mv2 o-30"}),i.a.createElement("div",{className:"mv4 min-h-2 b--muted-4"},r?i.a.createElement(ve,{className:E.a.logoutButton,onClick:function(){k(),p()},loading:m},Object(D.a)("store/login.logoutLabel",n)):i.a.createElement(ce.a,{variation:"tertiary",size:"small",onClick:function(){k(),p()},isLoading:m},i.a.createElement("span",{className:"t-action--small"},Object(D.a)("store/login.logoutLabel",n))))))))},fe=i.a.lazy((function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,96))})),Oe=function(e){var t=e.isBoxOpen,n=e.onOutSideBoxClick,o=d(),r=o.mirrorTooltipToRight,c=o.accountOptionLinks,l=Object(m.b)(),s=Object(v.b)(),u=(null!=s?s:{}).isAuthenticated;return t?i.a.createElement(J.a,null,i.a.createElement(ie,{onOutsideClick:n},i.a.createElement(X,{mirrorTooltipToRight:r},i.a.createElement(a.Suspense,{fallback:i.a.createElement(q.a,null)},u?i.a.createElement(ge,{optionLinks:c}):i.a.createElement(fe,Object(_.a)({},l,{isInitialScreenOptionOnly:!0,isHeaderLogin:!0})))))):i.a.createElement(i.a.Fragment,null)},Ee=function(){var e=d(),t=e.hideIconLabel,n=e.iconLabel,r=e.iconSize,c=e.showIconProfile,s=e.hasGoogleOneTap,u=e.googleOneTapAlignment,p=e.googleOneTapMarginTop,m=e.accountOptionsButtonBehavior,g=e.labelClasses,f=e.logInButtonBehavior,O=Object(a.useState)(!1),_=Object(o.a)(O,2),h=_[0],x=_[1],w=Object(a.useState)(!1),N=Object(o.a)(w,2),R=N[0],C=N[1],T=Object(v.b)(),P=Object(a.useCallback)((function(){window.innerWidth<640?C(!0):C(!1)}),[]);Object(a.useEffect)((function(){return window.addEventListener("resize",P),P(),function(){window.removeEventListener("resize",P)}}),[P]),Object(a.useEffect)((function(){window.location.href.indexOf("accountAuthCookieName")>0&&Object(b.a)(window.location.href)}),[]);var L=Object(a.useCallback)((function(){return x((function(e){return!e}))}),[]),y=Object(a.useCallback)((function(){return x(!1)}),[]),S=l.a.LINK,j=(null!=T?T:{}).isAuthenticated,k=R||(j?m===S:f===S);return i.a.createElement("div",{className:"".concat(E.a.container," flex items-center fr")},i.a.createElement("div",{className:"relative"},i.a.createElement(V,{onProfileIconClick:L,sessionProfile:T,hideIconLabel:t,iconLabel:n,iconSize:r,labelClasses:g,loginButtonAsLink:k,showIconProfile:c}),s&&i.a.createElement(I,{alignment:u,marginTop:p,shouldOpen:!j}),i.a.createElement(Oe,{isBoxOpen:h,onOutSideBoxClick:y})))},be=function(e){var t=e.accountOptionsButtonBehavior,n=e.googleOneTapAlignment,o=e.googleOneTapMarginTop,a=e.hasGoogleOneTap,r=e.hideIconLabel,l=e.iconLabel,s=e.iconSize,u=e.labelClasses,d=e.logInButtonBehavior,g=e.mirrorTooltipToRight,O=e.showIconProfile,E=e.defaultOption,b=e.accessCodePlaceholder,_=e.accessCodeTitle,h=e.disabledEmailInputs,x=e.accountOptionLinks,w=e.emailAndPasswordTitle,N=e.emailPlaceholder,R=e.identifierPlaceholder,C=e.invalidIdentifierError,T=e.isInitialScreenOptionOnly,P=e.optionsTitle,L=e.passwordPlaceholder,y=e.providerPasswordButtonLabel,S=e.showPasswordVerificationIntoTooltip,j=e.termsAndConditions,I=e.blockOAuthAutoRedirect;return i.a.createElement(f.a,null,i.a.createElement(c.a,null,i.a.createElement(v.a,null,i.a.createElement(p,{value:{accountOptionsButtonBehavior:t,googleOneTapAlignment:n,googleOneTapMarginTop:o,hasGoogleOneTap:a,hideIconLabel:r,iconLabel:l,iconSize:s,labelClasses:u,logInButtonBehavior:d,mirrorTooltipToRight:g,showIconProfile:O,accountOptionLinks:x}},i.a.createElement(m.a,{value:{defaultOption:E,accessCodePlaceholder:b,accessCodeTitle:_,disabledEmailInputs:h,emailAndPasswordTitle:w,emailPlaceholder:N,identifierPlaceholder:R,invalidIdentifierError:C,isInitialScreenOptionOnly:T,optionsTitle:P,passwordPlaceholder:L,providerPasswordButtonLabel:y,showPasswordVerificationIntoTooltip:S,termsAndConditions:j,blockOAuthAutoRedirect:I}},i.a.createElement(Ee,null))))))};be.getSchema=function(){return Object.assign(Object.assign({title:"admin/editor.login.title"},g.LoginSchema),{properties:Object.assign(Object.assign({},g.LoginSchema.properties),{mirrorTooltipToRight:{title:"admin/editor.login.mirrorTooltipToRightTitle",type:"boolean",default:!1},logInButtonBehavior:{title:"admin/editor.login.logInButtonBehavior",type:"string",enum:[l.a.POPOVER,l.a.LINK],default:l.a.POPOVER},accountOptionsButtonBehavior:{title:"admin/editor.login.accountOptionsButtonBehavior",type:"string",enum:[l.a.POPOVER,l.a.LINK],default:l.a.POPOVER},accountOptionLinks:{title:"admin/editor.login.accountOptionLinks",type:"array",items:{type:"object",properties:{label:{title:"admin/editor.login.accountOptionLabelTitle",type:"string"},path:{title:"admin/editor.login.accountOptionPathTitle",type:"string"},cssClass:{title:"admin/editor.login.accountOptionCssClassTitle",type:"string"}}}},hasGoogleOneTap:{title:"admin/editor.login.googleOneTap.title",type:"boolean"},hideIconLabel:{title:"admin/editor.login.hideIconLabel",type:"boolean",default:!1}}),dependencies:Object.assign(Object.assign({},g.LoginSchema.dependencies),{hasGoogleOneTap:{oneOf:[{properties:{hasGoogleOneTap:{enum:[!0]},googleOneTapAlignment:{title:"admin/editor.login.googleOneTap.alignment",type:"string",enum:[l.b.RIGHT,l.b.LEFT],default:l.b.RIGHT},googleOneTapMarginTop:{title:"admin/editor.login.googleOneTap.marginTop",type:"string",default:"3rem"}}}]}})})},be.uiSchema={"ui:order":["*","hasIdentifierExtension","identifierPlaceholder","invalidIdentifierError","accountOptionLinks","hasGoogleOneTap","googleOneTapAlignment","googleOneTapMarginTop"]};var _e=be},33:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/validations"]},37:function(e,t){e.exports=R},38:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/Spinner"]},4:function(e,t){e.exports=ReactIntl},45:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/AuthStateLazy"]},46:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/ButtonWithIcon"]},51:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/RecaptchaProvider"]},52:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useRedirectAfterLogin"]},53:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useSendAccessCode"]},54:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/AuthServiceLazy"]},76:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useGetPhoneNumberByEmail"]},77:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconArrowBack"]},78:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useLogInWithAccessKey"]},79:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useSetPassword"]},80:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-icons@0.x/IconEyeSight"]},81:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useLogInWithPassword"]},82:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/RadioGroup"]},83:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useSendAccessKey"]},84:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/getAbsReturnUrl"]},86:function(e,t){e.exports=regeneratorRuntime},95:function(e,t){e.exports=PropTypes},99:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.react-vtexid@4.x/useStartLoginAttempt"]}},[[107,"common",1,2]]]);
},function(){
(window.webpackJsonpvtex_login_2_65_0=window.webpackJsonpvtex_login_2_65_0||[]).push([["Wrapper"],{0:function(n,t){n.exports=React},191:function(n,t,e){"use strict";e.r(t),function(n){var t=e(25);e.p=Object(t.getPublicPath)("vtex.login@2.65.0");var r=Object(t.register)((function(){return e(194)}),n,"vtex.login@2.65.0","vtex.login@2.x","Wrapper");r.renderHotReload,r.setupHMR}.call(this,e(56)(n))},194:function(n,t,e){"use strict";e.r(t),e.d(t,"default",(function(){return i}));var r=e(0),o=e.n(r),i=function(n){var t=n.children;return o.a.createElement(o.a.Fragment,null,t)}}},[[191,"common"]]]);
},function(){
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=15)}([function(e,t){e.exports=React},function(e,t,n){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:b,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:b,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:b,lheading:/^([^\n]+)\n {0,3}(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||k.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=p(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=p(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=p(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=//,n.html=p(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=p(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag",n._tag).getRegex(),n.blockquote=p(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=m({},n),n.gfm=m({},n.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=p(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=m({},n.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=m({},n.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,s,a,o,l,c,u,h,p,g,d,f,b,m,v;for(e=e.replace(/^ +$/gm,"");e;)if((s=this.rules.newline.exec(e))&&(e=e.substring(s[0].length),s[0].length>1&&this.tokens.push({type:"space"})),s=this.rules.code.exec(e)){var k=this.tokens[this.tokens.length-1];e=e.substring(s[0].length),k&&"paragraph"===k.type?k.text+="\n"+s[0].trimRight():(s=s[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?s:_(s,"\n")}))}else if(s=this.rules.fences.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"code",lang:s[2]?s[2].trim():s[2],text:s[3]||""});else if(s=this.rules.heading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:s[1].length,text:s[2]});else if((s=this.rules.nptable.exec(e))&&(l={type:"table",header:x(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(s[0].length),g=0;g ?/gm,""),this.token(s,t),this.tokens.push({type:"blockquote_end"});else if(s=this.rules.list.exec(e)){for(e=e.substring(s[0].length),c={type:"list_start",ordered:b=(a=s[2]).length>1,start:b?+a:"",loose:!1},this.tokens.push(c),u=[],r=!1,f=(s=s[0].match(this.rules.item)).length,g=0;g1?1===o.length:o.length>1||this.options.smartLists&&o!==a)&&(e=s.slice(g+1).join("\n")+e,g=f-1)),i=r||/\n\n(?!\s*$)/.test(l),g!==f-1&&(r="\n"===l.charAt(l.length-1),i||(i=r)),i&&(c.loose=!0),v=void 0,(m=/^\[[ xX]\] /.test(l))&&(v=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),h={type:"list_item_start",task:m,checked:v,loose:i},u.push(h),this.tokens.push(h),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(f=u.length,g=0;g?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:b,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:b,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~",i.em=p(i.em).replace(/punctuation/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=p(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=p(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,i._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=p(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=p(i.reflink).replace("label",i._label).getRegex(),i.normal=m({},i),i.pedantic=m({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=m({},i.normal,{escape:p(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):u(a[0]):a[0];else if(a=this.rules.link.exec(e)){var c=v(a[2],"()");if(c>-1){var h=a[0].length-(a[2].length-c)-(a[3]||"").length;a[2]=a[2].substring(0,c),a[0]=a[0].substring(0,h).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,r=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=a[3]?a[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(a,{href:s.escapes(r),title:s.escapes(i)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),l+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),l+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),l+=this.renderer.codespan(u(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),l+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),l+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),r="@"===a[2]?"mailto:"+(n=u(this.mangle(a[1]))):n=u(a[1]),l+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?l+=this.renderer.text(a[0]):l+=this.renderer.text(u(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])r="mailto:"+(n=u(a[0]));else{do{o=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(o!==a[0]);n=u(a[0]),r="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),l+=this.renderer.link(r,null,n)}return l},s.escapes=function(e){return e?e.replace(s.rules._escapes,"$1"):e},s.prototype.outputLink=function(e,t){var n=t.href,r=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,u(e[1]))},s.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},s.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+=""+t+";";return n},a.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?''+(n?e:u(e,!0))+"
\n":""+(n?e:u(e,!0))+"
"},a.prototype.blockquote=function(e){return"\n"+e+"
\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n,r){return this.options.headerIds?"\n":""+e+"\n"},a.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+""+r+">\n"},a.prototype.listitem=function(e){return""+e+"\n"},a.prototype.checkbox=function(e){return" "},a.prototype.paragraph=function(e){return""+e+"
\n"},a.prototype.table=function(e,t){return t&&(t=""+t+""),"\n"},a.prototype.tablerow=function(e){return"\n"+e+"
\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+""+n+">\n"},a.prototype.strong=function(e){return""+e+""},a.prototype.em=function(e){return""+e+""},a.prototype.codespan=function(e){return""+e+"
"},a.prototype.br=function(){return this.options.xhtml?"
":"
"},a.prototype.del=function(e){return""+e+""},a.prototype.link=function(e,t,n){if(null===(e=g(this.options.sanitize,this.options.baseUrl,e)))return n;var r='"+n+""},a.prototype.image=function(e,t,n){if(null===(e=g(this.options.sanitize,this.options.baseUrl,e)))return n;var r='
":">"},a.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new s(e.links,this.options),this.inlineText=new s(e.links,m({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop(),this.token},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,h(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",s="";for(n="",e=0;e?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},u.escapeTest=/[&<>"']/,u.escapeReplace=/[&<>"']/g,u.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},u.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,u.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var d={},f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(){}function m(e){for(var t,n,r=1;r=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:
"+u(e.message+"",!0)+"
";throw e}}b.exec=b,k.options=k.setOptions=function(e){return m(k.defaults,e),k},k.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},k.defaults=k.getDefaults(),k.Parser=l,k.parser=l.parse,k.Renderer=a,k.TextRenderer=o,k.Lexer=r,k.lexer=r.lex,k.InlineLexer=s,k.inlineLexer=s.output,k.Slugger=c,k.parse=k,e.exports=k}(this||("undefined"!=typeof window?window:global))},function(e,t,n){"use strict";var r={"&":"&","<":"<",">":">",'"':""","'":"'"},i={"&":"&","<":"<",">":">",""":'"',"'":"'"},s=/(&|<|>|"|')/g,a=/[&<>"']/g;function o(e){return r[e]}function l(e){return i[e]}function c(e){return null==e?"":String(e).replace(a,o)}function u(e){return null==e?"":String(e).replace(s,l)}c.options=u.options={},e.exports={encode:c,escape:c,decode:u,unescape:u,version:"1.0.0-browser"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicPath=t.register=void 0;var r="__RENDER_8_RUNTIME__",i="__RENDER_8_COMPONENTS__",s=!("undefined"==typeof window||!window.document);s&&!window.global&&(window.global=window),window[i]=window[i]||{},t.register=function(e,t,n,s,a){var o="".concat(n,"/").concat(a),l="".concat(s,"/").concat(a),c=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,o)};if(window[r]&&window[r].registerComponent){var u=!!window.__RENDER_LAZY__;window[r].registerComponent(t,u?c:c(),n,a,u)}else{var h=c();window[r]&&window[r].withHMR?window[i][o]=window[i][l]=window[r].withHMR(t,h):window[i][o]=window[i][l]=h}return{}},t.getPublicPath=function(e){var t=window.__hostname__,n="/_v/public/assets/v1/published/";return s&&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,n){"use strict";e.exports=function(e){return"string"==typeof e?e.toLowerCase():e}},function(e,t,n){"use strict";var r=n(6);e.exports={uris:r(["background","base","cite","href","longdesc","src","usemap"])}},function(e,t,n){"use strict";function r(e,t){return e[t]=!0,e}e.exports=function(e){return e.reduce(r,{})}},function(e,t,n){"use strict";var r=n(6);e.exports={voids:r(["area","br","col","hr","img","wbr","input","base","basefont","link","meta"])}},function(e,t){e.exports=ReactIntl},function(e,t,n){"use strict";var r=/["'&<>]/;e.exports=function(e){var t,n=""+e,i=r.exec(n);if(!i)return n;var s="",a=0,o=0;for(a=i.index;a\s]+))?)*)\s*(\/?)\s*>/,o=/^<\s*\/\s*([\w:-]+)[^>]*>/,l=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,c=/^,u=/^/i,h=/^<\s*\//;e.exports=function(e,t){for(var n,p=function(){var e=[];return e.lastItem=function(){return e[e.length-1]},e}(),g=e;e;)d();function d(){n=!0,function(){"\x3c!--"===e.substr(0,4)?(i=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,i)),e=e.substring(i+3),n=!1):u.test(e)?(r=e.match(u),n=!1,e=e.substring(r[0].length)):h.test(e)?f(o,m):c.test(e)&&f(a,b);var r;var i;!function(){if(!n)return;var r,i=e.indexOf("<");i>=0?(r=e.substring(0,i),e=e.substring(i)):(r=e,e="");t.chars&&t.chars(r)}()}();var r=e===g;g=e,r&&(e="")}function f(t,r){var i=e.match(t);i&&(e=e.substring(i[0].length),i[0].replace(t,r),n=!1)}function b(e,n,a,o){var c={},u=i(n),h=s.voids[u]||!!o;a.replace(l,(function(e,t,n,i,s){c[t]=void 0===n&&void 0===i&&void 0===s?void 0:r.decode(n||i||s||"")})),h||p.push(u),t.start&&t.start(u,c,h)}function m(e,n){var r,s=0,a=i(n);if(a)for(s=p.length-1;s>=0&&p[s]!==a;s--);if(s>=0){for(r=p.length-1;r>=s;r--)t.end&&t.end(p[r]);p.length=s}}m()}},function(e,t,n){"use strict";var r=n(2),i=n(4),s=n(5),a=n(7);e.exports=function(e,t){var n,o=t||{};return h(),{start:function(e,t,a){var u=i(e);if(n.ignoring)return void c(u);if(-1===(o.allowedTags||[]).indexOf(u))return void c(u);if(o.filter&&!o.filter({tag:u,attrs:t}))return void c(u);l("<"),l(u),Object.keys(t).forEach((function(e){var n=t[e],a=(o.allowedClasses||{})[u]||[],c=(o.allowedAttributes||{})[u]||[];c=c.concat((o.allowedAttributes||{})["*"]||[]);var h=i(e);("class"===h&&-1===c.indexOf(h)?(n=n.split(" ").filter((function(e){return a&&-1!==a.indexOf(e)})).join(" ").trim()).length:-1!==c.indexOf(h)&&(!0!==s.uris[h]||function(e){var t=e[0];if("#"===t||"/"===t)return!0;var n=e.indexOf(":");if(-1===n)return!0;var r=e.indexOf("?");if(-1!==r&&n>r)return!0;var i=e.indexOf("#");if(-1!==i&&n>i)return!0;return o.allowedSchemes.some((function(t){return 0===e.indexOf(t+":")}))}(n)))&&(l(" "),l(e),"string"==typeof n&&(l('="'),l(r.encode(n)),l('"')))})),l(a?"/>":">")},end:function(e){var t=i(e);-1!==(o.allowedTags||[]).indexOf(t)&&!1===n.ignoring?(l(""),l(t),l(">")):u(t)},chars:function(e){!1===n.ignoring&&l(o.transformText?o.transformText(e):e)}};function l(t){e.push(t)}function c(e){a.voids[e]||(!1===n.ignoring?n={ignoring:e,depth:1}:n.ignoring===e&&n.depth++)}function u(e){n.ignoring===e&&--n.depth<=0&&h()}function h(){n={ignoring:!1,depth:0}}}},function(e,t,n){"use strict";e.exports={allowedAttributes:{"*":["title","accesskey"],a:["href","name","target","aria-label"],iframe:["allowfullscreen","frameborder","src"],img:["src","alt","title","aria-label"]},allowedClasses:{},allowedSchemes:["http","https","mailto"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","main","mark","ol","p","pre","section","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","u","ul"],filter:null}},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n').concat(e,"")},I.current.strong=function(e){return'').concat(e,"")},I.current.em=function(e){return'').concat(e,"")},I.current.heading=function(e){return function(t,n){var r=function(e){return e>0&&e<=6?e:6}(n),i="".concat(e.heading," t-heading-").concat(r," ").concat(function(e,t){return 1===t?e.headingLevel1:2===t?e.headingLevel2:3===t?e.headingLevel3:4===t?e.headingLevel4:5===t?e.headingLevel5:6===t?e.headingLevel6:""}(e,r)," ").concat(A.a["heading-level-".concat(r)]);return"').concat(t,"")}}(E),I.current.link=function(e,t,n){var r,s=(r=e.split("?")).length<2?"":i(r,2)[1].includes("target=_blank")?"target=_blank":"",a=(s?e.replace(/target=_blank/,"").replace(/\?&/,"?"):e).replace(/(\?|&)$/,""),o=t?'title="'.concat(t,'"'):"",l='".concat(n,"")},I.current.html=function(e){return d()(e)},I.current.table=function(e,t){return'\n \n \n ').concat(e,'\n \n \n ').concat(t,"\n \n
")},I.current.tablerow=function(e){return"\n").concat(e,"
\n")},I.current.tablecell=function(e,t){var n=t.header?"th":"td",r="<".concat(n,' class="').concat("th"===n?E.tableTh:E.tableTd,'"\n ').concat(t.align?' align="'.concat(t.align,'"'):"",">");return"".concat(r+e,"").concat(n,">\n")},I.current.image=function(e,t,n){return'
")},I.current.list=function(e,t){var n=t?"ol":"ul";return"<".concat(n,' class="').concat(E.list," ").concat(t?E.listOrdered:"",'">').concat(e,"").concat(n,">")},I.current.listitem=function(e){return'').concat(e,"")});var H=C(N,f,"textAlignment"),F=C(P,o,"textPosition"),G=C(L,o,"textPosition"),D=Object(l.useMemo)((function(){return p.a.setOptions({gfm:!0,breaks:!0,sanitize:!1,smartLists:!0,renderer:I.current}),b()(p()(y()({id:s,intl:T})),z)}),[s,T]);return c.a.createElement("div",{id:k,className:"".concat(E.container," flex ").concat(H," ").concat(F," ").concat(G," ").concat(M(q)," ").concat(Z(_))},c.a.createElement("div",{className:E.wrapper,dangerouslySetInnerHTML:{__html:D}}))}var H=Object(l.memo)(q);H.schema={title:"admin/editor.rich-text.title"};t.default=H}]);
},function(){
!function(e){function t(t){for(var n,u,a=t[0],c=t[1],l=t[2],s=0,d=[];se.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:{},t=e.bailOut,n=void 0!==t&&t,l=Object(a.useState)(!1),r=Object(o.a)(l,2),d=r[0],m=r[1];return Object(a.useEffect)((function(){if(!n){var e=i.current;if(e){if(!e.complete){var t=function(){m(!0)};return e.addEventListener("load",t),function(){e.removeEventListener("load",t)}}m(!0)}}}),[i,n]),d}(B,{bailOut:!L}),K=Object(c.useIntl)(),Q=s()(f,{migrationFrom:"vtex.store-components@3.x",classes:C}).handles,X={minWidth:w,minHeight:x,maxWidth:y,maxHeight:b,width:O,height:P},Y=null!==(t=null!==(e=null!=P?P:x)&&void 0!==e?e:b)&&void 0!==t?t:"auto",Z=O?O.toString().replace(/\D/g,""):null,$=P?P.toString().replace(/\D/g,""):null,ii=!(null==O?void 0:O.toString().includes("%"))&&!(null==P?void 0:P.toString().includes("%"))&&(Z||$),ei=u()({id:m,intl:K}),ti=u()({id:v,intl:K}),ni=l.a.createElement("img",Object(n.a)({title:j,sizes:S,srcSet:k,src:"string"==typeof ei?ei:"",alt:"string"==typeof ti?ti:"",style:X,ref:B,className:Q.imageElement,loading:A,fetchpriority:U},T&&ii?{width:null!=Z?Z:void 0,height:null!=$?$:void 0}:{},J?{"data-vtex-preload":"true"}:{})),oi=null!==(r=null==N?void 0:N.newTab)&&void 0!==r?r:null==N?void 0:N.openNewTab,ai=h()().push,li="provide"===D?{id:H,name:F,creative:ei,position:W,products:[{productId:M,productName:z}]}:void 0,ri=u()({id:null==N?void 0:N.url,intl:K}),di=u()({id:null==N?void 0:N.attributeTitle,intl:K}),mi=(null==N?void 0:N.url)?l.a.createElement(p.Link,{to:"string"==typeof ri?ri:"",title:"string"==typeof di?di:"",rel:N.attributeNofollow?"nofollow":"",target:oi?"_blank":void 0,className:Q.imageElementLink,onClick:function(){"none"!==D&&ai({event:"promotionClick",promotions:[li]})}},ni):l.a.createElement(a.Fragment,null,ni);return d()({ref:B,onView:function(){"none"===D||q||ai({event:"promoView",promotions:[li]})},once:!0}),L?l.a.createElement("span",{className:"dib",style:{height:G?"auto":Y}},mi):mi}var b=Object(c.defineMessages)({title:{id:"admin/editor.store-image.title"}});y.schema={title:b.title.id},y.cssHandles=f,e.default=y},13:function(i,e,t){"use strict";t.d(e,"a",(function(){return a}));var n=t(2),o=Object(n.defineMessages)({title:{id:"admin/editor.image-list.title"},description:{id:"admin/editor.image-list.description"},imagesImageTitle:{id:"admin/editor.image-list.images.image.title"},imagesMobileImageTitle:{id:"admin/editor.image-list.images.mobileImage.title"},imagesImageDescription:{id:"admin/editor.image-list.images.description.title"},imagesImageAttributeTitle:{id:"admin/editor.image-list.images.title.title"},imagesImageLinkUrl:{id:"admin/editor.image-list.images.link.url.title"},imagesImageLinkOpenNewTab:{id:"admin/editor.image-list.images.link.openNewTab.title"},imagesImageLinkNoFollow:{id:"admin/editor.image-list.images.link.noFollow.title"},imagesImageLinkTitle:{id:"admin/editor.image-list.images.link.title.title"},imagesTitle:{id:"admin/editor.image-list.images.title"},heightTitle:{id:"admin/editor.image-list.height.title"},widthTitle:{id:"admin/editor.image-list.images.width.title"},widthDescription:{id:"admin/editor.image-list.images.width.description"},analyticsTitle:{id:"admin/editor.image.analytics.title"},analyticsNone:{id:"admin/editor.image.analytics.none"},analyticsProvide:{id:"admin/editor.image.analytics.provide"},analyticsPromotionId:{id:"admin/editor.image.analytics.promotionId"},analyticsPromotionName:{id:"admin/editor.image.analytics.promotionName"},analyticsPromotionPosition:{id:"admin/editor.image.analytics.promotionPosition"},analyticspromotionProductId:{id:"admin/editor.image.analytics.promotionProductId"},analyticspromotionProductName:{id:"admin/editor.image.analytics.promotionProductName"}}),a={title:o.title.id,description:o.description.id,type:"object",properties:{height:{default:420,isLayout:!1,title:o.heightTitle.id,type:"number"}}}},14:function(i,e,t){"use strict";t.d(e,"a",(function(){return d}));var n=t(4),o=t(0),a=t.n(o),l=t(10),r=function(i,e){var t={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(null!=i&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(i);o1&&void 0!==arguments[1]?arguments[1]:{},i=t.bailOut,n=void 0!==i&&i,r=Object(l.useState)(!1),a=Object(o.a)(r,2),s=a[0],c=a[1];return Object(l.useEffect)((function(){if(!n){var t=e.current;if(t){if(!t.complete){var i=function(){c(!0)};return t.addEventListener("load",i),function(){t.removeEventListener("load",i)}}c(!0)}}}),[e,n]),s}(B,{bailOut:!k}),K=Object(d.useIntl)(),Q=u()(f,{migrationFrom:"vtex.store-components@3.x",classes:V}).handles,X={minWidth:E,minHeight:N,maxWidth:x,maxHeight:h,width:O,height:b},Y=null!==(i=null!==(t=null!=b?b:N)&&void 0!==t?t:h)&&void 0!==i?i:"auto",Z=O?O.toString().replace(/\D/g,""):null,$=b?b.toString().replace(/\D/g,""):null,ee=!(null==O?void 0:O.toString().includes("%"))&&!(null==b?void 0:b.toString().includes("%"))&&(Z||$),te=v()({id:c,intl:K}),ie=v()({id:g,intl:K}),ne=r.a.createElement("img",Object(n.a)({title:j,sizes:P,srcSet:R,src:"string"==typeof te?te:"",alt:"string"==typeof ie?ie:"",style:X,ref:B,className:Q.imageElement,loading:J,fetchpriority:q},D&&ee?{width:null!=Z?Z:void 0,height:null!=$?$:void 0}:{},z?{"data-vtex-preload":"true"}:{})),oe=null!==(a=null==y?void 0:y.newTab)&&void 0!==a?a:null==y?void 0:y.openNewTab,le=_()().push,re="provide"===H?{id:M,name:T,creative:te,position:C,products:[{productId:L,productName:W}]}:void 0,ae=v()({id:null==y?void 0:y.url,intl:K}),se=v()({id:null==y?void 0:y.attributeTitle,intl:K}),ce=(null==y?void 0:y.url)?r.a.createElement(p.Link,{to:"string"==typeof ae?ae:"",title:"string"==typeof se?se:"",rel:y.attributeNofollow?"nofollow":"",target:oe?"_blank":void 0,className:Q.imageElementLink,onClick:function(){"none"!==H&&le({event:"promotionClick",promotions:[re]})}},ne):r.a.createElement(l.Fragment,null,ne);return s()({ref:B,onView:function(){"none"===H||A||le({event:"promoView",promotions:[re]})},once:!0}),k?r.a.createElement("span",{className:"dib",style:{height:G?"auto":Y}},ce):ce}var h=Object(d.defineMessages)({title:{id:"admin/editor.store-image.title"}});x.schema={title:h.title.id},x.cssHandles=f,t.default=x},,,,,,,,function(e,t,i){"use strict";i.r(t),function(e){var t=i(3);i.p=Object(t.getPublicPath)("vtex.store-image@0.22.3");var n=Object(t.register)((function(){return i(10)}),e,"vtex.store-image@0.22.3","vtex.store-image@0.x","Image");n.renderHotReload,n.setupHMR}.call(this,i(12)(e))}],[[18,"common"]]]);
},function(){
!function(e){function t(t){for(var n,a,u=t[0],c=t[1],l=t[2],d=0,s=[];de.length)&&(t=e.length);for(var r=0,n=new Array(t);r{let n=e.slice(0);for(let e=0;e<=_^]/g,"-")).toLowerCase()}!function(){for(var e=arguments.length,n=new Array(e),t=0;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,i=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return c=e.done,e},e:function(e){i=!0,o=e},f:function(){try{c||null==t.return||t.return()}finally{if(i)throw o}}}}function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t0}},function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var r=t(0),a=t(1),o=t.n(a);function c(e){return Object(r.useMemo)((function(){var n=e.variant,t=void 0===n?"primary":n,r=e.disabled,a=void 0!==r&&r,c=e.size,i=void 0===c?"regular":c,u=function(e,n){var t;switch(e){case"primary":t=n?"bg-disabled b--muted-5 c-on-disabled":"bg-action-primary b--action-primary c-on-action-primary hover-bg-action-primary hover-b--action-primary hover-c-on-action-primary";break;case"secondary":t="bg-action-secondary b--action-secondary c-on-action-secondary hover-bg-action-secondary hover-b--action-secondary hover-c-on-action-secondary"}return{container:t}}(t,a),l=function(e){var n,t;switch(e){case"small":n="min-h-small t-action--small",t="ph5";break;case"large":n="min-h-large t-action--large",t="ph7";break;default:n="min-h-regular t-action",t="ph6"}return{container:n,label:t}}(i);return{container:o()("bw1 fw5 ba v-mid pa0 lh-solid br2","inline-flex items-center no-underline",u.container,l.container),label:o()("w-100 tc",l.label)}}),[e])}},,,function(e,n,t){"use strict";t.d(n,"a",(function(){return u}));var r=t(17),a=t(13),o=t(2),c=t(0),i=t(4);var u=function(e,n,t){var u=Object(c.useState)("#"),l=Object(a.a)(u,2),s=l[0],d=l[1],f=Object(o.useRuntime)().route.queryString;return Object(c.useEffect)((function(){if(e){var a=[{type:i.a.queryString,namespace:"queryString",context:f}].concat(Object(r.a)(null!=t?t:[])).reduce((function(e,t){return function(e){for(var n=e.link,t=e.namespace,r=e.context,a=e.contextType,o=e.escapeLinkRegex,c=Object(i.b)(a)(r),u=n,l=0,s=Object.keys(c);l