PageSourceSearch

https://app.plumbs.com/static/js/972.843caa90.chunk.js

js plumbs.com collected 2026-09-28 08:26:37 UTC 730,120 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f815b77f-58b9-4964-a970-0aa0902dbad1",e._sentryDebugIdIdentifier="sentry-dbid-f815b77f-58b9-4964-a970-0aa0902dbad1")}catch(e){}}(),function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},function(){var t,r=(new e.Error).stack,n=e._sentryModuleMetadata[r]||{},i={"_sentryBundlerPluginAppKey:brief-media-7s":!0},o={};for(t in n)n.hasOwnProperty(t)&&(o[t]=n[t]);for(t in i)i.hasOwnProperty(t)&&(o[t]=i[t]);e._sentryModuleMetadata[r]=o}()}(),(self.webpackChunkplumbs=self.webpackChunkplumbs||[]).push([[972],{86700(e,t,r){var n=r(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultFlash=void 0,t.FlashMessageTransition=k,t.default=void 0,t.hideMessage=function(...e){if(g.default._enabled){var t=g.default.getCurrent();t&&t.hideMessage(...e)}},t.positionStyle=C,t.renderFlashMessageIcon=x,t.showMessage=function(...e){if(g.default._enabled){var t=g.default.getCurrent();t&&t.showMessage(...e)}};var i,o=n(r(91847)),s=n(r(17383)),a=n(r(34579)),u=n(r(28452)),c=n(r(63072)),l=n(r(29511)),f=b(r(61448)),p=r(33755),d=r(27624),h=n(r(55032)),g=n(r(65145)),m=b(r(19737)),v=r(98644),y=["MessageComponent","testID","accessible","accessibilityLabel"];function b(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(b=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,s)}for(var a in e)"default"!==a&&{}.hasOwnProperty.call(e,a)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,a))&&(o.get||o.set)?i(s,a,o):s[a]=e[a]);return s})(e,t)}function _(e,t,r){return t=(0,c.default)(t),(0,u.default)(e,w()?Reflect.construct(t,r||[],(0,c.default)(e).constructor):t.apply(e,r))}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w=function(){return!!e})()}var S="ios"!==p.Platform.OS?60:48,E=h.default.shape({message:h.default.string.isRequired,description:h.default.string,type:h.default.string,backgroundColor:h.default.string,color:h.default.string}).isRequired,A=()=>{};function C(e,t){return"string"===typeof t?[e,"top"===t&&T.rootTop,"bottom"===t&&T.rootBottom,"center"===t&&T.rootCenter]:[e,t]}function k(e,t="top"){var r=e.interpolate({inputRange:[0,1],outputRange:[0,1]});return"top"===t?{transform:[{translateY:e.interpolate({inputRange:[0,1],outputRange:[-S,0]})}],opacity:r}:"bottom"===t?{transform:[{translateY:e.interpolate({inputRange:[0,1],outputRange:[S,0]})}],opacity:r}:{opacity:r}}var O={success:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABBCAQAAAAk/gHOAAADSElEQVR42u2ZwUsbQRTGv4IFBbXYtAQFIR5E8A9wrdUmvUgptUVItEd78dyzYMGrCMWznrx5sFfBQ9oaeoiCJGmbapXkoELJRXLQmITslo3R2ezO7szszubkfMe8mffL7Ns3b98A98PN6EEU68iggBJq0OqqoYQCMlhHFD1+Oh/AMnKoNNzaqYIcljEg330MKVQZzo2qIoWYPPezyAs4NyqPWe/uh5CE6hJAl4okhrwALOLKg/tbXWHRnfsu7Epwf6tddIkChHAmEUDXGUIiAMO4kAyg6wLD/DvgB8ANRIgvBs59AtB1zhMTCR8BdCVYAEs+A+hacgIYlJIH2Hli0B7hoAUAug7sAKKeUrFY2o7SEfItArg5wChjuoUAuqatCGkf3PzAZ9vf0maAfqGChE8ZPKqftnZFTX8zwop0gJ94enfk0y1WmhFykgF+3QHo4xPVJmcE6GYWpaIAT0wP+iO10O0mBlNSAX4jYAn2UarlFDFYkwjwx7IDwEtcUm3XiElGGsAhZQcito85Q4wKkgCOKDsQcYizAjErOS78AV+4AP5SAMKOgV4ihjUHszcAHiDOAWB9BBMoO86pEVN7o7cNizZ8lQ6gi4nwzrBgG74JAYxzADAQVERMi7bhOzfAGBeA5hwLKl5bFqZBHFEBrrkAauw34j0TggbwjBOg6Y2wzws0iIQjwCg3QFNeSDmYWTsEDxsQtEyoCABoSJGJq46GMxSILP553AFdq2TqJMPUCvHYXPO4ANAwSSZ3MuuFGeaH4JgwQAWdxgWOmROcIZ4LA2g4Nrd02FPsO2jjLgA0c/snyFVB0yEmXAFUETQvlOSaaIV44QpAQxKU0kJzARHmPAusitA29JBzctSAXXZd4FFHmPvLOuYRQEXYLrLj3Iu8guLh2yNu/3b32hTb9H/iFuASvU4pZq4Fn/VzrES76TPAJrvp146sjwBZtPM0PwPS+8+kDx3gbQH34dQHgFP0iTTCA9IbP2n+HSAxsSERYIMvBmi3UkUJ7ovebqiC2PJ4N7VlPZTFh4J9lwD7UORdFI5gW+hQKmMbI/KvSwOYxx6zQLnGHubFo19kdEDBAnZwgiKq9ThRUUURJ9jBAhR03F/ruxn/ATogMH6gfbG4AAAAAElFTkSuQmCC",info:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABBCAQAAAAk/gHOAAAB/0lEQVR42u2ZsYrCQBCG/9JrFQTf4CqjjyF4jYW1voiCFoKIgvEBhKQUEYS0dtcK6UM68wAWwUaPICEmeprJbtzhuP3rf+cjbGZnZ4D/lWV9oIoOFrBgw4OPM3x4sGFhgQ6q+MgzeBEtGHBweSoHBlooyg+vYQ73RfBbuZhDkxe+BhMnQvhQJ5ioiYcvY4xjhvChjhijLALQwF4gfKg9GtnCFzCQED7UAAUqQAkriQCBVihRACrYSQYItEMl/RfIA+AKUUp3BtY5AQRapzkTwxwBAg1fATRTb7XBV0yb1M7m80SUPg/0E94+IU88SVYzwgedJrxTgnf2G0CdlIpFEI6oP0YwScdKBOEC8/F9SLsNewl/j3iLPrhDdeLPtUUrpi3Rr99XRG7O+eC+qElUVu03AwRqxxEMBQhGvCp2yBss8RnTkryDc1ttaxJyfZa75abA7Wawi+WFq7qRfaEIYRHZLUUIVmS3FSHYkd1ThOBFdl8Rgh/Zz4oQzqy+AoOzwOCPYJAXGGRHBneEpghBE6sXxBGceHfOUIBgiNaO4ght0QpaFMG9703qb0bQxV9TYginxx1J5W9KFi9rBv0FWpdlkvBO5HRZKL2mUcI5ktNroryKDviO6SCr48ai78ig+8qiB82iE89iHsFiKsNkNsViQsdkTslkWstkZv131w9xpmDY0IYKPAAAAABJRU5ErkJggg==",warning:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABBCAQAAAAk/gHOAAACpUlEQVR42u2ZPUsrQRSGnxgVG0OCgtgJFhYR4y+wshFvpVgrdhb+AEEJKCgoGoxpbNRLUliICE
1paW72CQgoLIaSS/IAUIU1yCfeGza75mLOz66Rw3vo958lm5sycGfgZbsYQM6yRIkuOImWqlCmSI0uKNWYY8jN5hCXS5Kl1VJ40S0S8Tx8jSaFL8mYVSBLzLv0sGSqC9A1VyDCrn36EQ0ou0jdU4pARHYAF3jTSN/TGgrv0A+x6kL6hXQakACFuPASo64aQBGCUR48B6npkVP0L+AHwDyKkNgdufQKo61ZlTuz5CFDXXjeAReVQd/yy6U7Zudh5F1CvA3GHNy6oEx12kITgg544vCcCb6IdwLSoFOsglJhujZARTSsdhBqZVgBR4W6oh1Ah+hXhTLi49BBqnDkBhkUHEi8QCgzbAyyLS4wuQo1le4C0AYS0fV/IG0DIN+8XUy5qvT5CjSnLvmoIYdWypwwhpCx71hBC1rLnDCHkLHvREELRspcNIZQte9UQQrWnvkIPzIUeWBE9UBeShhCSln3FEMKKZZ8whDBh2YMuzgs7DoQdF+eFYHOAK3GAd37b9C6OcGX/DfM+N7OtNG9HGBSfoHVVYNB5jD8SV7Y/Nkkr7NHXVmZc2E0dOPwHwm5qvFVLdyEKcuxwH4vcF63b2rFv7KzH2rX38W9CiLe/4ujn9Rv+iFf6O131RJUD7Tuc+8rOaLcLrw3lRflkk+qi3FC5ebz0sSBdqt2+9vHgE8ADfapXwEHufQC4t++M3UaAc48BzgnIXyTWPQRYd/sqM8mzB+mfmdR5Ggqyqfk2tSmbAa1HmFOXL3SnhL17KAyzJTpf5tnyMr1VL2Ik+OiS/IMEMfX172YEiDDHNte88Pn/zfqTF67ZZo6Im6X3M+AvvehZ3bNZqSIAAAAASUVORK5CYII=",danger:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABBCAQAAAAk/gHOAAADgUlEQVR42u2Zz0tbQRDHvxq1UmqaoFU8tAgePESMf4EgeBF7qdaz4s2Df4AgTTGWtrEm5oe1IqiYQD2IFyW34sFCawMKOQbEk+QP8BC8xJLa8PLy5u3ubN67uXN7md35ZHd2ZnYXeGw6rR1DmEUKWeRRRAlllFBEHlmkMIshtLtp3I9JpHGFe6FcIY1J+J03H0QC1xLjtXKNBILOmR9GBncM81W5QwbDjZvvRAS3GuarcosIOhsBGMdlA+arcolxPfOtWHbAfFWW0coF8OLQQYCKHMLLAejCqcMAFTlFl/oMuAHwAOFV84EjlwAqcqTiE2EXASoSlgFMkN0usKNhLIFf5PcJcRag4kABLwBEmQDvATxHnowTggwSIwFeCn61jwMPrZuEiNkBDBKhuIBXEkTZelMQtxikETIW1T/ordNRWY6Vuj4+/LToZCiAAJEN9wk9GcQHos93IosGrGpJcsA1RY+pykdC/xupmaxX67AtSFYZEJ8I3U3boqbDrDgl+GcRRYjPhN5XwbhTZtW0cH0jCj5B6WwIR02b84KsKKWmeE0CkJIWujX5YkBhq1GOtipYgqTCmAOG+oxSwKG2WwL3iNt8l8uM+pTZBZ1Ke0N8W1ccL2V0ybJjv6ip55Ks0SmvkYDsGiej5o1uRXYatmurrJGKRscSsxZYwRPywMutKUpG5zK7IholEF6zRynrz0LYZhbW9GeB5wvvBL4Q0fUFzo4ISXZERG9HZB2ZAT5ElhtOaYC3DWzNhNFlWnsJkuaBmBDTRoc+TYCooLz7ojBmn6HukdYLFEC85veoBsQVPLXqe2yAhMLxRAyxZ1Ye0/CBelln+sSYWbXNtoIOMWrCdcZMXKNNjTfErIrVIYjDQS9xmtpgAthBbBOnqV4qqlnvEM4sd4abClut3jGf4odFZ4cOrD3EyTqPbunRTAzhRY44WffYRfcQmUq6mQC1EBSAMNW14IKEeAZgi1kLRP/tsxx5bdQiynIBcrjf2Ne4a9rGGfk9IEu18y7fuM2r3Dzuugiwq3b72owTlwBO0Kx6BezBsQsAx+bMKGtN7B0gky008V8k5hwEmNN9lenHuQPmz9HfyNOQBwsNvk0t8DyAbj7ENV/o4vA591Dow6K0vjTXhYtOmjfiRRAxFCTGC4ghqL7/dVoT/BjBEg6Qw83/N+sb5HCAJYzAr7P1HhvwF5GXIpRNQBinAAAAAElFTkSuQmCC"};function x(e="success",t={},r={}){return"function"===typeof e?f.default.createElement(e,{style:[T.flashIcon,t],...r}):O[e]?(0,v.jsx)(p.Image,{style:[T.flashIcon,{tintColor:"#fff"},t],source:{uri:O[e]},...r}):null}var P=t.DefaultFlash=f.default.forwardRef(({message:e,style:t,textStyle:r,titleStyle:n,titleProps:i,textProps:o,icon:s,iconProps:a,renderFlashMessageIcon:u,position:c="top",statusBarHeight:l=null,renderBeforeContent:f,renderCustomContent:d,renderAfterContent:h,floating:g=!1,hideStatusBar:y=!1,...b},_)=>{var w=!!e.description&&""!==e.description,S=null,E=!1;return s&&s.icon&&(S=u("string"===typeof s.icon&&"auto"===s.icon?e.type:s.icon,["left"===s.position&&T.flashIconLeft,"right"===s.position&&T.flashIconRight,s.style],a||("props"in s&&s.props?s.props:{})),E=!!S),(0,v.jsx)(m.default,{ref:_,position:"string"===typeof c?c:null,statusBarHeight:l,children:a=>(0,v.jsxs)(p.View,{style:(0,m.styleWithInset)([T.defaultFlash,"center"===c&&T.defaultFlashCenter,"center"!==c&&g&&T.defaultFlashFloating,E&&T.defaultFlashWithIcon,e.backgroundColor?{backgroundColor:e.backgroundColor}:!!e.type&&!!I.ColorTheme[e.type]&&{backgroundColor:I.ColorTheme[e.type]},t],a,!!y,"center"!==c&&g?"margin":"padding"),...b,children:[E&&"left"===s.position&&S,(0,v.jsxs)(p.View,{style:[{flexDirection:"column"},"center"!==c&&{flex:1}],children:[!!f&&f(e),(0,v.jsx)(p.Text,{style:[T.flashText,w&&T.flashTitle,!!e.color&&{color:e.color},n],...o,...i,children:e.message}),!!d&&d(e),w&&(0,v.jsx)(p.Text,{style:[T.flashText,!!e.color&&{color:e.color},r],...o,children:e.description}),!!h&&h(e)]}),E&&"right"===s.position&&S]})})});P.propTypes={message:E,renderFlashMessageIcon:h.default.func};var I=t.default=function(e){function t(e){var r;return(0,s.default)(this,t),(r=_(this,t,[e])).prop=r.prop.bind(r),r.pressMessage=r.pressMessage.bind(r),r.longPressMessage=r.longPressMessage.bind(r),r.toggleVisibility=r.toggleVisibility.bind(r),r._id||(r._id=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return`${e()}-${e()}-${e()}`}()),r.state={visibleValue:new p.Animated.Value(0),isHidding:!1,message:e.message||null},r}
1return(0,l.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){!1!==this.props.canRegisterAsDefault&&g.default.register(this)}},{key:"componentWillUnmount",value:function(){this._hideTimeout&&clearTimeout(this._hideTimeout),!1!==this.props.canRegisterAsDefault&&g.default.unregister(this)}},{key:"prop",value:function(e,t){return e&&t in e?e[t]:t in this.props?this.props[t]:null}},{key:"isAnimated",value:function(e){return this.prop(e,"animated")}},{key:"pressMessage",value:function(e){if(!this.state.isHidding){var t=this.state.message,r=this.prop(t,"hideOnPress"),n=this.prop(t,"onPress");r&&this.hideMessage(),"function"===typeof n&&n(e,t)}}},{key:"longPressMessage",value:function(e){if(!this.state.isHidding){var t=this.state.message,r=this.prop(t,"hideOnPress"),n=this.prop(t,"onLongPress");r&&this.hideMessage(),"function"===typeof n&&n(e,t)}}},{key:"toggleVisibility",value:function(e=!0,t=!0,r){var n=this.state.message,i=(this.prop(n,"position"),this.prop(n,"animationDuration")),o=this.prop(n,"duration"),s=this.prop(n,"autoHide"),a=this.prop(n,"hideStatusBar");if(this._hideTimeout&&clearTimeout(this._hideTimeout),e){var u=this.prop(n,"onShow")||A,c=()=>{s&&o>0&&(this._hideTimeout=setTimeout(()=>this.toggleVisibility(!1,t),o)),r&&"function"===typeof r&&r()};this.setState({isHidding:!1}),this.state.visibleValue.setValue(0),u&&"function"===typeof u&&u(this),a&&p.StatusBar.setHidden(!0,"string"===typeof a?a:"slide"),t?p.Animated.timing(this.state.visibleValue,{toValue:1,duration:i,useNativeDriver:!0}).start(c):c()}else{var l=this.prop(n,"onHide")||A,f=()=>{this.setState({message:null,isHidding:!1}),l&&"function"===typeof l&&l(this),r&&"function"===typeof r&&r()};this.setState({isHidding:!0}),a&&p.StatusBar.setHidden(!1,"string"===typeof a?a:"slide"),t?p.Animated.timing(this.state.visibleValue,{toValue:0,duration:i,useNativeDriver:!0}).start(f):f()}}},{key:"showMessage",value:function(e,t=null,r="default"){if(e){var n={};"string"===typeof e?n={message:e,description:t,type:r}:"message"in e&&(n={description:null,type:"default",...e});var i=this.isAnimated(n);this.setState({message:n},()=>this.toggleVisibility(!0,i))}else this.setState({message:null,isHidding:!1})}},{key:"hideMessage",value:function(){var e=this.isAnimated(this.state.message);this.toggleVisibility(!1,e)}},{key:"render",value:function(){var e=this.state,t=e.message,r=e.visibleValue,n=this.props,i=n.MessageComponent,s=(n.testID,n.accessible),a=n.accessibilityLabel,u=((0,o.default)(n,y),this.prop(t,"renderBeforeContent")),c=this.prop(t,"renderCustomContent"),l=this.prop(t,"renderAfterContent"),f=this.prop(t,"renderFlashMessageIcon"),d=this.prop(t,"style"),h=this.prop(t,"textStyle"),g=this.prop(t,"titleStyle"),m=this.prop(t,"titleProps"),b=this.prop(t,"textProps"),_=this.prop(t,"iconProps"),w=this.prop(t,"floating"),S=this.prop(t,"position"),E=this.prop(t,"statusBarHeight"),A=function(e="none"){return e&&"none"!==e?"string"===typeof e||"function"===typeof e?{icon:e,position:"left",style:{}}:{position:"left",style:{},...e}:null}(this.prop(t,"icon")),k=this.prop(t,"hideStatusBar"),O=this.prop(t,"transitionConfig"),x=this.isAnimated(t)?O(r,S):{};return(0,v.jsx)(p.Animated.View,{pointerEvents:"box-none",style:[C(T.root,S),x],children:!!t&&(0,v.jsx)(p.TouchableWithoutFeedback,{onPress:this.pressMessage,onLongPress:this.longPressMessage,accessible:!1,children:(0,v.jsx)(i,{position:S,floating:w,message:t,hideStatusBar:k,renderFlashMessageIcon:f,renderBeforeContent:u,renderCustomContent:c,renderAfterContent:l,statusBarHeight:E,icon:A,style:d,textStyle:h,titleStyle:g,titleProps:m,textProps:b,iconProps:_,accessible:!!s,accessibilityLabel:a})})})}}])}(f.Component);i=I,I.defaultProps={canRegisterAsDefault:!0,hideOnPress:!0,onPress:A,onLongPress:A,animated:!0,animationDuration:225,autoHide:!0,duration:1850,hideStatusBar:!1,statusBarHeight:null,floating:!1,position:"top",renderBeforeContent:null,renderCustomContent:null,renderAfterContent:null,icon:"none",renderFlashMessageIcon:x,transitionConfig:k,MessageComponent:P},I.propTypes={canRegisterAsDefault:h.default.bool,hideOnPress:h.default.bool,onShow:h.default.func,onHide:h.default.func,onPress:h.default.func,onLongPress:h.default.func,animated:h.default.bool,animationDuration:h.default.number,duration:h.default.number,autoHide:h.default.bool,hideStatusBar:h.default.bool,floating:h.default.bool,position:h.default.oneOfType([h.default.string,h.default.array,h.default.object]),renderBeforeContent:h.default.func,renderCustomContent:h.default.func,renderAfterContent:h.default.func,icon:h.default.oneOfType([h.default.string,h.default.object]),renderFlashMessageIcon:h.default.func,transitionConfig:h.default.func},I.ColorTheme={success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"},I.setColorTheme=e=>{i.ColorTheme=Object.assign(i.ColorTheme,e)};var T=p.StyleSheet.create({root:{position:"absolute",left:0,right:0,zIndex:99},rootTop:{top:0},rootBottom:{bottom:0},rootCenter:{...p.StyleSheet.absoluteFillObject,justifyContent:"center",alignItems:"center"},defaultFlash:{justifyContent:"flex-start",paddingVertical:15,paddingHorizontal:20,backgroundColor:"#696969"},defaultFlashCenter:{margin:44,borderRadius:8,overflow:"hidden"},defaultFlashFloating:{marginTop:10,marginLeft:12,marginRight:12,marginBottom:10,borderRadius:8,minHeight:S-(0,d.getStatusBarHeight)()},defaultFlashWithIcon:{flexDirection:"row"},flashText:{fontSize:14,lineHeight:18,color:"#fff"},flashTitle:{fontSize:16,fontWeight:"600",marginBottom:5},flashIcon:{marginTop:-1,width:21,height:21},flashIconLeft:{marginLeft:-6,marginRight:9},flashIconRight:{marginRight:-6,marginLeft:9}})},65145(e,t,r){var n=r(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(17383)),o=(0,n(r(34579)).default)(function e(){(0,i.default)(this,e),this._preservedFlashMessages=[],this._currentFlashMessage=null,this._enabled=!0},[{key:"isEnabled",get:function(){return!!this._enabled}},{key:"setDisabled",value:function(e=!0){this._enabled=!e}},{key:"hold",value:function(e){if("_id"in e){var t=!1;this._preservedFlashMessages.length>0&&(t=this._preservedFlashMessages[this._preservedFlashMessages.length-1]._id===e._id),t||(this._preservedFlashMessages.push(this._currentFlashMessage),this._currentFlashMessage=null,this.register(e))}}},{key:"unhold",value:function(){this._preservedFlashMessages.length>0&&(this._currentFlashMessage&&(this._currentFlashMessage.hideMessage(),this._currentFlashMessage=null),this.register(this._preservedFlashMessages.pop()))}},{key:"register",value:function(e){!this._currentFlashMessage&&"_id"in e&&(this._currentFlashMessage=e)}},{key:"unregister",value:function(e){this._currentFlashMessage&&this._currentFlashMessage._id===e._id&&(this._currentFlashMessage=null)}},{key:"getCurrent",value:function(){return this._currentFlashMessage}}]);t.default=new o},19737(e,t,r){var n=r(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getFlashMessageStatusBarHeight=C,t.styleWithInset=function(e,t,r=!1,n="padding"){if("margin"===n)return O(e,t,r);var i=f.Dimensions.get("window").width,o=f.StyleSheet.flatten(e||{}),s=o.padding,a=void 0===s?0:s,u=o.paddingVertical,l=void 0===u?a:u,p=o.paddingHorizontal,d=void 0===p?a:p,g=o.paddingTop,m=void 0===g?l:g,v=o.paddingBottom,y=void 0===v?l:v,b=o.paddingLeft,_=void 0===b?d:b,w=o.paddingRight,S=void 0===w?d:w,E=(0,c.default)(o,h);"number"!==typeof m&&(m=k(m)*i);"number"!==typeof y&&(y=k(y)*i);"number"!==typeof _&&(_=k(_)*i);"number"!==typeof S&&(S=k(S)*i);return{...E,paddingTop:t.isIPhoneX||!r?m+t.insetTop:m,paddingBottom:y+t.insetBottom,paddingLeft:_+t.insetLeft,paddingRight:S+t.insetRight}},t.styleWithInsetMargin=O;var i=n(r(17383)),o=n(r(34579)),s=n(r(28452)),a=n(r(63072)),u=n(r(29511)),c=n(r(91847)),l=function(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,s)}for(var a in e)"default"!==a&&{}.hasOwnProperty.call(e,a)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,a))&&(o.get||o.set)?i(s,a,o):s[a]=e[a]);return s}(e,t)}(r(61448)),f=r(33755),p=r(27624),d=n(r(55032)),h=["padding","paddingVertical","paddingHorizontal","paddingTop","paddingBottom","paddingLeft","paddingRight"],g=["margin","marginVertical","marginHorizontal","marginTop","marginBottom","marginLeft","marginRight"];function m(e,t,r){return t=(0,a.default)(t),(0,s.default)(e,v()?Reflect.construct(t,r||[],(0,a.default)(e).constructor):t.apply(e,r))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}var y=f.Dimensions.get("window"),b=y.height,_=y.width,w="android"===f.Platform.OS,S=(0,p.isIphoneX)(),E="ios"===f.Platform.OS&&!S&&!(b>_&&_<768)&&!(_>b&&b<768),A=({width:e,height:t})=>e>t;function C(e=!1,t=null){return null!==t&&!1!==t?"function"===typeof t?t(e):+t:w?r.g&&r.g.Expo?+f.StatusBar.currentHeight+6:6:S?e?0:(0,p.getStatusBarHeight)(!0):E?20:e?0:20}var k=e=>{if(!e||!e.includes("%"))return 0;var t=parseFloat(e)/100;return isNaN(t)?0:t};function O(e,t,r=!1){var n=f.Dimensions.get("window").width,i=f.StyleSheet.flatten(e||{}),o=i.margin,s=void 0===o?0:o,a=i.marginVertical,u=void 0===a?s:a,l=i.marginHorizontal,p=void 0===l?s:l,d=i.marginTop,h=void 0===d?u:d,m=i.marginBottom,v=void 0===m?u:m,y=i.marginLeft,b=void 0===y?p:y,_=i.marginRight,w=void 0===_?p:_,S=(0,c.default)(i,g);return"number"!==typeof h&&(h=k(h)*n),"number"!==typeof v&&(v=k(v)*n),"number"!==typeof b&&(b=k(b)*n),"number"!==typeof w&&(w=k(w)*n),{...S,marginTop:t.isIPhoneX||!r?h+t.insetTop:h,marginBottom:v+t.insetBottom,marginLeft:b+t.insetLeft,marginRight:w+t.insetRight}}var x=t.default=function(e){function t(){var e;return(0,i.default)(this,t),(e=m(this,t)).handleOrientationChange=e.handleOrientationChange.bind(e),e.dimensionsSubscription=null,e.state={isLandscape:A(f.Dimensions.get("window"))},e}
1return(0,u.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.dimensionsSubscription=f.Dimensions.addEventListener("change",this.handleOrientationChange)}},{key:"componentWillUnmount",value:function(){this.dimensionsSubscription&&this.dimensionsSubscription.remove()}},{key:"handleOrientationChange",value:function({window:e}){var t=A(e);this.setState({isLandscape:t})}},{key:"render",value:function(){var e=this.props,t=e.position,r=e.statusBarHeight,n=void 0===r?null:r,i=e.children,o=this.state.isLandscape,s=C(o,n);return i({isLandscape:o,isIPhoneX:S,isIPad:E,statusBarHeight:s,insetTop:"top"===t?s:0,insetLeft:"top"!==t&&"bottom"!==t||!o?0:S?21:0,insetRight:"top"!==t&&"bottom"!==t||!o?0:S?21:0,insetBottom:S&&"bottom"===t?o?24:34:w?2:0})}}])}(l.Component);x.defaultProps={position:"top"},x.propTypes={position:d.default.string,children:d.default.func.isRequired}},49809(e,t,r){var n=r(24994);t.Ay=void 0,Object.defineProperty(t,"oP",{enumerable:!0,get:function(){return s.hideMessage}}),Object.defineProperty(t,"rG",{enumerable:!0,get:function(){return s.showMessage}});var i=n(r(65145)),o=a(r(19737)),s=a(r(86700));function a(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(a=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,s)}for(var a in e)"default"!==a&&{}.hasOwnProperty.call(e,a)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,a))&&(o.get||o.set)?i(s,a,o):s[a]=e[a]);return s})(e,t)}t.Ay=s.default},34799(e,t,r){"use strict";r.d(t,{Z:()=>c,m:()=>u});var n=r(91211),i=r(64034),o=r(33054);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){const t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({version:"7.0.0",onReady(e){e()}},e);return Object.defineProperty(t,"_setDebug",{get:()=>i.pM,enumerable:!1}),t}function c(e,t,r){const i=e[t];i&&!i.q&&i.version&&o.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=r,i&&i.q&&i.q.forEach(e=>(0,n.y)(e,"onReady callback threw an error:")())}},95402(e,t,r){"use strict";r.d(t,{l:()=>s,q:()=>o});var n=r(64034),i=r(72649);function o(e,t,r,n,i){return s(e,t,[r],n,i)}function s(e,t,r,o){let{once:s,capture:a,passive:u}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const c=(0,n.dm)(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(s&&d(),o(t))}),l=u?{capture:a,passive:u}:a,f=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,p=(0,i.W)(f,"addEventListener");function d(){const e=(0,i.W)(f,"removeEventListener");r.forEach(r=>e.call(t,r,c,l))}return r.forEach(e=>p.call(t,e,c,l)),{stop:d}}},57019(e,t,r){"use strict";r.d(t,{h:()=>o});var n=r(72649),i=r(23878);function o(e,t){return(0,n.W)((0,i.VZ)(),"fetch")(e,t)}},36430(e,t,r){"use strict";r.d(t,{Kp:()=>c,_T:()=>u,y5:()=>a});var n=r(9377),i=r(19798),o=r(23878),s=r(95402);const a={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function u(e){return new n.cP(t=>{if(o.Wq)return;const{stop:r}=(0,s.l)(e,window,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:a.HIDDEN}):"freeze"===e.type&&t.notify({reason:a.FROZEN})},{capture:!0}),n=(0,s.q)(e,window,"beforeunload",()=>{t.notify({reason:a.UNLOADING})}).stop;return()=>{r(),n()}})}function c(e){return(0,i.KQ)(a).includes(e)}},33691(e,t,r){"use strict";r.d(t,{H:()=>o,N:()=>s});var n=r(89363),i=r(95402);function o(e,t,r){if(document.readyState===t||"complete"===document.readyState)return r(),{stop:n.l};const o="complete"===t?"load":"DOMContentLoaded";return(0,i.q)(e,window,o,r,{once:!0})}function s(e,t){return new Promise(r=>{o(e,t,r)})}},37198(e,t,r){"use strict";r.d(t,{q:()=>i});var n=r(23878);function i(){var e;const t=n.J2.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:null===(e=t.connection)||void 0===e?void 0:e.effectiveType}}},40338(e,t,r){"use strict";r.d(t,{As:()=>d,bJ:()=>v,e6:()=>f});var n=r(92279),i=r(91373),o=r(10664),s=r(43527),a=r(47947);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f="No stack, consider using an instance of Error";function p(e){let{originalError:t,stackTrace:r,source:n,useFallbackStack:i=!0,nonErrorPrefix:a}=e;const u=v(t);return!r&&u&&(r=(0,o.T)(t)),{source:n,type:r?r.name:void 0,message:h(r,u,a,t),stack:r?(0,s.Yn)(r):i?f:void 0}}function d(e){let{stackTrace:t,originalError:r,handlingStack:n,componentStack:i,startClocks:o,nonErrorPrefix:s,useFallbackStack:a=!0,source:u,handling:l}=e;return c(c({startClocks:o,handling:l,handlingStack:n,componentStack:i,originalError:r},p({originalError:r,stackTrace:t,source:u,useFallbackStack:a,nonErrorPrefix:s})),{},{causes:v(r)?y(r,u):void 0,fingerprint:g(r),context:m(r)})}function h(e,t,r,o){return null!==e&&void 0!==e&&e.message&&null!==e&&void 0!==e&&e.name?e.message:t?"Empty message":r?`${r} ${(0,i.s)((0,n.a)(o))}`:(0,i.s)((0,n.a)(o))}function g(e){return v(e)&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function m(e){if((0,a.O)(e))return e.dd_context}function v(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function y(e,t){const r=[];let n=e.cause;for(;void 0!==n&&null!==n&&r.length<10;){const e=p({originalError:n,source:t,useFallbackStack:!1});r.push(e),n=v(n)?n.cause:void 0}return r.length?r:void 0}},61333(e,t,r){"use strict";r.d(t,{g:()=>n});const n={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},58041(e,t,r){"use strict";r.d(t,{Bb:()=>n,Ih:()=>u,KG:()=>a,NW:()=>i,R8:()=>s,dV:()=>o});const n="datad0g.com",i="datadoghq.com",o="datadoghq.eu",s="ddog-gov.com",a="us2.ddog-gov.com",u=["ddsource","dd-api-key","dd-request-id"]},74501(e,t,r){"use strict";function n(e,t){return e*t/100}r.d(t,{$5:()=>o,it:()=>n});const i=new Map;function o(e,t){if(100===t)return!0;if(0===t)return!1;const r=i.get(t);if(r&&e===r.sessionId)return r.decision;const n=function(e,t){const r=2n**64n;return Number(1111111111111111111n*e%r)<=t/100*Number(r)}(BigInt(`0x${e.split("-")[4]}`),t);return i.set(t,{sessionId:e,decision:n}),n}},17137(e,t,r){"use strict";r.d(t,{AQ:()=>i,HB:()=>o,Q_:()=>a,_P:()=>s});var n=r(60076);const i=4*n.MA,o=15*n.iW,s=n.$H,a={COOKIE:"cookie",MEMORY:"memory",LOCAL_STORAGE:"local-storage"}},85628(e,t,r){"use strict";r.d(t,{m5:()=>i});var n=r(33054);function i(e){const{env:t,service:r,version:n,datacenter:i,sdkVersion:s,variant:a}=e,u=[o("sdk_version",null!==s&&void 0!==s?s:"7.0.0")];return t&&u.push(o("env",t)),r&&u.push(o("service",r)),n&&u.push(o("version",n)),i&&u.push(o("datacenter",i)),a&&u.push(o("variant",a)),u}function o(e,t){const r=t?`${e}:${t}`:e;return(r.length>200||function(e){return/[^\x2D-:_a-z\xAA\xB5\xBA\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9-\u01BB\u01BD-\u01C3\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u02
111\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u063F\u0641-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C8\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10D0-\u10FA\u10FD-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1C80-\u1C88\u1C8A\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134-\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A\uA62B\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA66E\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA6A0-\uA6E5\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA78F\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7CD\uA7CF\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7DB\uA7F6\uA7F7\uA7FA-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9E0-\uA9E4\uA9E7-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
1D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF41-\uFF5A\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10428}-\u{1049D}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10940}-\u{10959}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10D4A}-\u{10D4D}\u{10D4F}\u{10D70}-\u{10D85}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10EC6}\u{10EC7}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}\u{113D1}\u{113D3}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118C0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11BC0}-\u{11BE0}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11DB0}-\u{11DD8}\u{11DDA}\u{11DDB}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D43}-\u{16D6A}\u{16E60}-\u{16E7F}\u{16EBB}-\u{16ED3}\u{16F00}-\u{16F4A}\u{16F50}\u{17000}-\u{18CD5}\u{18CFF}-\u{18D1E}\u{18D80}-\u{18DF2}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D41A}-\u{1D433}\u{1D44E}-\u{1D454}\u{1D456}-\u{1D467}\u{1D482}-\u{1D49B}\u{1D4B6}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D4CF}\u{1D4EA}-\u{1D503}\u{1D51E}-\u{1D537}\u{1D552}-\u{1D56B}\u{1D586}-\u{1D59F}\u{1D5BA}-\u{1D5D3}\u{1D5EE}-\u{1D607}\u{1D622}-\u{1D63B}\u{1D656}-\u{1D66F}\u{1D68A}-\u{1D6A5}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6E1}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D71B}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D755}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D78F}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7C9}\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E100}-\u{1E12C}\u{1E14E}\u{1E290}-\u{1E2AD}
1\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EA}\u{1E5D0}-\u{1E5ED}\u{1E5F0}\u{1E6C0}-\u{1E6DE}\u{1E6E0}-\u{1E6E2}\u{1E6E4}\u{1E6E5}\u{1E6E7}-\u{1E6ED}\u{1E6F0}-\u{1E6F4}\u{1E6FE}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E922}-\u{1E943}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B81D}\u{2B820}-\u{2CEAD}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{33479}]/u.test(e)}(r))&&n.Vy.warn(`Tag ${r} doesn't meet tag requirements and will be sanitized. ${n.xG} ${n.fH}/getting_started/tagging/#defining-tags`),function(e){return e.replace(/,/g,"_")}(r)}},59744(e,t,r){"use strict";r.d(t,{Rr:()=>U,A2:()=>B,VJ:()=>L,Gk:()=>q,Q6:()=>V,a5:()=>N});var n=r(33054),i=r(40338),o=r(43527),s=r(25199),a=r(85628),u=r(58041),c=r(9377),l=r(60076),f=r(64034),p=r(6608),d=r(93500),h=r(91373),g=r(96230),m=r(10664),v=r(37198),y=r(71331),b=r(67750),_=r(91254),w=r(54168),S=r(68396),E=r(36430),A=r(62646),C=r(23878),k=r(89363);const O="log",x="configuration",P="usage";function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach(function(t){R(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function R(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const D=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],M=[u.R8,u.KG];let F;function j(){return F||(F=new c.dX(100)),F}function N(e,t,r){const n=new c.cP,{enabled:i,metricsEnabled:o}=function(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:15;const u={},c=!M.includes(t.site)&&(0,d.ic)(t.telemetrySampleRate),m={[O]:c,[x]:c&&(0,d.ic)(t.telemetryConfigurationSampleRate),[P]:c&&(0,d.ic)(t.telemetryUsageSampleRate),metric:c&&(0,d.ic)(i)},y=function(){var e;return{is_local_file:"file:"===(null===(e=C.J2.location)||void 0===e?void 0:e.protocol),is_worker:C.Wq}}(),b=j();return b.subscribe(t=>{let{rawEvent:i,metricName:s}=t;if(s&&!m.metric||!m[i.type])return;const a=s||i.status||i.type;let c=u[a];if(c||(c=u[a]=new Set),c.size>=o)return;const f=(0,h.s)(i);if(c.has(f))return;const d=r.triggerHook(1,{startTime:(0,l.M8)().relative});if(d===A.ug)return;const g=_(d,e,i,y);n.notify(g),(0,p.b)("telemetry",g),c.add(f)}),b.unbuffer(),(0,f.Bd)(L),{enabled:c,metricsEnabled:m.metric};function _(e,r,n,i){const o={type:"telemetry",date:(0,l.M8)().timeStamp,service:r,version:"7.0.0",source:"browser",_dd:{format_version:2},telemetry:(0,g.kg)(n,{runtime_env:i,connectivity:(0,v.q)(),sdk_setup:"npm"}),ddtags:(0,a.m5)(t).join(","),experimental_features:Array.from((0,s.q7)())};return(0,g.kg)(o,e)}}(e,t,r,n),{stop:m}=function(e,t){const r=[];if((0,y.d0)()){const e=(0,y.Y9)(),n=t.subscribe(t=>e.send("internal_telemetry",t));r.push(n.unsubscribe)}else{const n=[e.rumEndpointBuilder];e.replica&&function(e){return e.site===u.Bb}(e)&&n.push(e.replica.rumEndpointBuilder);const i=(0,b.X)({encoder:(0,S.N)(),request:(0,_.sA)(n,k.l),flushController:(0,w.tO)({pageMayExitObservable:(0,E._T)(e),sessionExpireOb
1servable:new c.cP})});r.push(i.stop);const o=t.subscribe(i.add);r.push(o.unsubscribe)}return{stop:()=>r.forEach(e=>e())}}(t,n);return{stop:m,enabled:i,metricsEnabled:o}}function B(e,t){(0,f.oO)(n.bP.debug,e,t),j().notify({rawEvent:T({type:O,message:e,status:"debug"},t)})}function L(e,t){j().notify({rawEvent:T(T({type:O,status:"error"},z(e)),t)})}function U(e){j().notify({rawEvent:{type:x,configuration:e}})}function q(e,t){j().notify({rawEvent:T({type:O,message:e,status:"debug"},t),metricName:e})}function V(e){j().notify({rawEvent:{type:P,usage:e}})}function z(e){if((0,i.bJ)(e)){const t=(0,m.T)(e);return{error:{kind:t.name,stack:(0,o.Yn)(G(t))},message:t.message}}return{error:{stack:i.e6},message:`Uncaught ${(0,h.s)(e)}`}}function G(e){return e.stack=e.stack.filter(e=>!e.url||D.some(t=>e.url.startsWith(t))),e}},62646(e,t,r){"use strict";r.d(t,{$O:()=>o,XP:()=>s,ug:()=>i});var n=r(96230);const i="DISCARDED",o="SKIPPED";function s(){const e={};return{register:(t,r)=>(e[t]||(e[t]=[]),e[t].push(r),{unregister:()=>{e[t]=e[t].filter(e=>e!==r)}}),triggerHook(t,r){const s=e[t]||[],a=[];for(const e of s){const t=e(r);if(t===i)return i;t!==o&&a.push(t)}return(0,n.kg)(...a)}}}},91211(e,t,r){"use strict";r.d(t,{y:()=>i});var n=r(33054);function i(e,t){return function(){try{return e(...arguments)}catch(r){n.Vy.error(t,r)}}}},33054(e,t,r){"use strict";r.d(t,{JZ:()=>i,Vy:()=>a,Xs:()=>c,bP:()=>n,fH:()=>u,xG:()=>l});const n={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=console,o={};Object.keys(n).forEach(e=>{o[e]=i[e]});const s="Datadog Browser SDK:",a={debug:o.debug.bind(i,s),log:o.log.bind(i,s),info:o.info.bind(i,s),warn:o.warn.bind(i,s),error:o.error.bind(i,s)},u="https://docs.datadoghq.com",c=`${u}/real_user_monitoring/browser/troubleshooting`,l="More details:"},68396(e,t,r){"use strict";r.d(t,{N:()=>i});var n=r(34829);function i(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(r,i){const o=(0,n.WW)(r);t+=o,e+=r,i&&i(o)},finish(e){e(this.finishSync())},finishSync(){const r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:e=>e.length}}},25199(e,t,r){"use strict";r.d(t,{Aq:()=>s,R9:()=>n,q7:()=>u,sr:()=>a});var n,i=r(72622);!function(e){e.TRACK_INTAKE_REQUESTS="track_intake_requests",e.FEATURE_OPERATION_VITAL="feature_operation_vital",e.START_STOP_ACTION="start_stop_action",e.START_STOP_RESOURCE="start_stop_resource",e.TOO_MANY_REQUESTS_INVESTIGATION="too_many_requests_investigation",e.TRACK_RESOURCE_HEADERS="track_resource_headers",e.SESSION_RENEWAL_DEBUG_CONTEXT="session_renewal_debug_context"}(n||(n={}));const o=new Set;function s(e){Array.isArray(e)&&e.filter(e=>(0,i.Rj)(n,e)).forEach(e=>{o.add(e)})}function a(e){return o.has(e)}function u(){return o}},72649(e,t,r){"use strict";r.d(t,{W:()=>i});var n=r(23878);function i(e,t){const r=(0,n.VZ)();let i;return r.Zone&&"function"===typeof r.Zone.__symbol__&&(i=e[r.Zone.__symbol__(t)]),i||(i=e[t]),i}},23878(e,t,r){"use strict";function n(){return globalThis}r.d(t,{J2:()=>i,VZ:()=>n,Wq:()=>o});const i=n(),o="WorkerGlobalScope"in i},71162(e,t,r){"use strict";r.d(t,{H:()=>a,t:()=>u});var n=r(20501),i=r(64034),o=r(89363),s=r(43527);function a(e,t,r){let{computeHandlingStack:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e[t];if("function"!==typeof a){if(!(t in e)||"string"!==typeof t||!t.startsWith("on"))return{stop:o.l};a=o.l}let u=!1;const c=function(){if(u)return a.apply(this,arguments);const e=Array.from(arguments);let t;(0,i.um)(r,null,[{target:this,parameters:e,onPostCall:e=>{t=e},handlingStack:n?(0,s.uC)("instrumented method"):void 0}]);const o=a.apply(this,e);return t&&(0,i.um)(t,null,[o]),o};return e[t]=c,{stop:()=>{u=!0,e[t]===c&&(e[t]=a)}}}function u(e,t,r){const i=Object.getOwnPropertyDescriptor(e,t);if(!i||!i.set||!i.configurable)return{stop:o.l};const s=o.l;let a=(e,t)=>{(0,n.wg)(()=>{a!==s&&r(e,t)},0)};const u=function(e){i.set.call(this,e),a(this,e)};return Object.defineProperty(e,t,{set:u}),{stop:()=>{var r;(null===(r=Object.getOwnPropertyDescriptor(e,t))||void 0===r?void 0:r.set)===u&&Object.defineProperty(e,t,i),a=s}}}},96230(e,t,r){"use strict";r.d(t,{Go:()=>o,kg:()=>s});var n=r(47947);function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){if("undefined"!==typeof WeakSet){const e=new WeakSet;return{hasAlreadyBeenSeen(t){const r=e.has(t);return r||e.add(t),r}}}const e=[];return{hasAlreadyBeenSeen(t){const r=e.indexOf(t)>=0;return r||e.push(t),r}}}();if(void 0===t)return e;if("object"!==typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t.source,t.flags);if(r.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){const n=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)n[e]=i(n[e],t[e],r);return n}const o="object"===(0,n.P)(e)?e:{};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=i(o[n],t[n],r));return o}function o(e){return i(void 0,e)}function s(){let e;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(const o of r)void 0!==o&&null!==o&&(e=i(e,o));return e}},99268(e,t,r){"use strict";r.d(t,{B:()=>n});new Map;function n(e){return e}},64034(e,t,r){"use strict";r.d(t,{Bd:()=>s,Dx:()=>l,dm:()=>u,oO:()=>f,pM:()=>a,um:()=>c});var n=r(33054);let i,o=!1;function s(e){i=e}function a(e){o=e}function u(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return c(e,this,r)}}function c(e,t,r){try{return e.apply(t,r)}catch(n){l(n)}}function l(e){if(f(e),i)try{i(e)}catch(e){f(e)}}function f(){if(o){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n.Vy.error("[MONITOR]",...t)}}},9377(e,t,r){"use strict";r.d(t,{dX:()=>u,cP:()=>s,Fx:()=>a});var n=r(64034),i=r(23878);function o(e){const t=i.J2.queueMicrotask;"function"===typeof t?t((0,n.dm)(e)):Promise.resolve().then((0,n.dm)(e))}class s{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.addObserver(e),{unsubscribe:()=>this.removeObserver(e)}}
1notify(e){this.observers.forEach(t=>t(e))}addObserver(e){this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(e){this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function a(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new s(e=>{const r=t.map(t=>t.subscribe(t=>e.notify(t)));return()=>r.forEach(e=>e.unsubscribe())})}class u extends s{constructor(e,t){super(),this.maxBufferSize=e,this.onDrop=t,this.buffer=[],this.droppedCount=0}notify(e){this.buffer.push(e),this.buffer.length>this.maxBufferSize&&(this.buffer.shift(),this.droppedCount++),super.notify(e)}subscribe(e){let t=!1;const r={unsubscribe:()=>{t=!0,this.removeObserver(e)}};return o(()=>{for(const r of this.buffer){if(t)return;e(r)}t||this.addObserver(e)}),r}unbuffer(){o(()=>{this.droppedCount>0&&this.onDrop&&this.onDrop(this.droppedCount),this.maxBufferSize=this.buffer.length=0})}}},33596(e,t,r){"use strict";r.d(t,{BB:()=>s});var n=r(20501),i=r(64034),o=r(60076);function s(e,t){if(window.requestIdleCallback&&window.cancelIdleCallback){const r=window.requestIdleCallback((0,i.dm)(e),t);return()=>window.cancelIdleCallback(r)}return function(e){const t=(0,o.x3)(),r=(0,n.wg)(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-((0,o.x3)()-t))})},0);return()=>(0,n.DJ)(r)}(e)}},6608(e,t,r){"use strict";r.d(t,{b:()=>i});var n=r(23878);function i(e,t){const r=n.J2.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}},91373(e,t,r){"use strict";r.d(t,{M:()=>o,s:()=>i});var n=r(89363);function i(e,t,r){if("object"!==typeof e||null===e)return JSON.stringify(e);const n=o(Object.prototype),i=o(Array.prototype),s=o(Object.getPrototypeOf(e)),a=o(e);try{return JSON.stringify(e,t,r)}catch(u){return"<error: unable to serialize object>"}finally{n(),i(),s(),a()}}function o(e){const t=e,r=t.toJSON;return r?(delete t.toJSON,()=>{t.toJSON=r}):n.l}},92279(e,t,r){"use strict";r.d(t,{a:()=>a});var n=r(33054),i=r(34829),o=r(91373);const s=220*i._m;function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;const r=(0,o.M)(Object.prototype),n=(0,o.M)(Array.prototype),i=[],a=new WeakMap,c=u(e,"$",void 0,i,a),f=JSON.stringify(c);let p=f?f.length:0;if(!(p>t)){for(;i.length>0&&p<t;){const r=i.shift();let n=0;if(Array.isArray(r.source))for(let o=0;o<r.source.length;o++){const s=u(r.source[o],r.path,o,i,a);if(p+=void 0!==s?JSON.stringify(s).length:4,p+=n,n=1,p>t){l(t,"truncated",e);break}r.target[o]=s}else for(const o in r.source)if(Object.prototype.hasOwnProperty.call(r.source,o)){const s=u(r.source[o],r.path,o,i,a);if(void 0!==s&&(p+=JSON.stringify(s).length+n+o.length+3,n=1),p>t){l(t,"truncated",e);break}r.target[o]=s}}return r(),n(),c}l(t,"discarded",e)}function u(e,t,r,n,i){const o=function(e){const t=e;if(t&&"function"===typeof t.toJSON)try{return t.toJSON()}catch(r){}return e}(e);if(!o||"object"!==typeof o)return function(e){if("bigint"===typeof e)return`[BigInt] ${e.toString()}`;if("function"===typeof e)return`[Function] ${e.name||"unknown"}`;if("symbol"===typeof e)return`[Symbol] ${e.description||e.toString()}`;return e}(o);const s=c(o);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;const a=e;if(i.has(a))return`[Reference seen at ${i.get(a)}]`;const u=void 0!==r?`${t}.${r}`:t,l=Array.isArray(o)?[]:{};return i.set(a,u),n.push({source:o,target:l,path:u}),l}function c(e){try{if(e instanceof Event)return{type:(t=e).type,isTrusted:t.isTrusted,currentTarget:t.currentTarget?c(t.currentTarget):null,target:t.target?c(t.target):null};if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;const r=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(r&&r[1])return`[${r[1]}]`}catch(r){}var t;return"[Unserializable]"}function l(e,t,r){n.Vy.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,r)}},10664(e,t,r){"use strict";r.d(t,{T:()=>o,h:()=>d});var n=r(47947);const i="?";function o(e){const t=[];let r=p(e,"stack");const n=String(e);if(r&&r.startsWith(n)&&(r=r.slice(n.length)),r&&r.split("\n").forEach(e
1=>{const r=function(e){const t=s.exec(e);if(!t)return;const r=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),o=a.exec(t[2]);n&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]);return{args:r?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||i,line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}(e)||function(e){const t=u.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||i,line:t[3]?+t[3]:void 0,url:t[2]}}(e)||function(e){const t=c.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||i,line:+t[3],url:t[2]}}(e)||function(e){const t=l.exec(e);if(!t)return;const r=t[3]&&t[3].indexOf(" > eval")>-1,n=f.exec(t[3]);r&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||i,line:t[4]?+t[4]:void 0,url:t[3]}}(e);r&&(!r.func&&r.line&&(r.func=i),t.push(r))}),t.length>0&&function(){if(void 0!==m)return m;class e extends Error{constructor(){super(),this.name="Error"}}const[t,r]=[e,Error].map(e=>new e);return m=g(Object.getPrototypeOf(t))&&r.stack!==t.stack,m}()&&e instanceof Error){const r=[];let n=e;for(;(n=Object.getPrototypeOf(n))&&g(n);){var o;const e=(null===(o=n.constructor)||void 0===o?void 0:o.name)||i;r.push(e)}for(let e=r.length-1;e>=0&&(null===(d=t[0])||void 0===d?void 0:d.func)===r[e];e--){var d;t.shift()}}return{message:p(e,"message"),name:p(e,"name"),stack:t}}const s=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\w+\.|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/;const u=/^\s*at\s*(?:(.*)?(?: @))?\s*((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\w+\.|\/).*?)(?::(\d+))?(?::(\d+))??\s*$/i;const c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;const l=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,f=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function p(e,t){return(0,n.O)(e)&&"string"===typeof e[t]?e[t]:void 0}function d(e,t,r,n){if(void 0===t)return;const{name:i,message:o}=function(e){let t,r;"[object String]"==={}.toString.call(e)&&([,t,r]=h.exec(e));return{name:t,message:r}}(e);return{name:i,message:o,stack:[{url:t,column:n,line:r}]}}const h=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function g(e){return String(e.constructor).startsWith("class ")}let m},43527(e,t,r){"use strict";r.d(t,{NR:()=>a,Yn:()=>s,uC:()=>o});var n=r(64034),i=r(10664);function o(e){const t=new Error(e);let r;return t.name="HandlingStack",(0,n.um)(()=>{const e=(0,i.T)(t);e.stack=e.stack.slice(2),r=s(e)}),r}function s(e){let t=a(e);return e.stack.forEach(e=>{const r="?"===e.func?"<anonymous>":e.func,n=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",i=e.line?`:${e.line}`:"",o=e.line&&e.column?`:${e.column}`:"";t+=`\n  at ${r}${n} @ ${e.url}${i}${o}`}),t}function a(e){return`${e.name||"Error"}: ${e.message}`}},20501(e,t,r){"use strict";r.d(t,{DJ:()=>a,vG:()=>c,wg:()=>s,yb:()=>u});var n=r(72649),i=r(64034),o=r(23878);function s(e,t){return(0,n.W)((0,o.VZ)(),"setTimeout")((0,i.dm)(e),t)}function a(e){(0,n.W)((0,o.VZ)(),"clearTimeout")(e)}function u(e,t){return(0,n.W)((0,o.VZ)(),"setInterval")((0,i.dm)(e),t)}function c(e){(0,n.W)((0,o.VZ)(),"clearInterval")(e)}},37230(e,t,r){"use strict";function n(e,t){const r=e.indexOf(t);r>=0&&e.splice(r,1)}function i(e){return Array.isArray(e)&&e.length>0}r.d(t,{Ai:()=>n,EI:()=>i})},34829(e,t,r){"use strict";r.d(t,{WW:()=>s,_m:()=>n,iH:()=>i,wh:()=>a});const n=1024,i=1024*n,o=/[^\u0000-\u007F]/;function s(e){return o.test(e)?(new TextEncoder).encode(e).length:e.length}function a(e){if(1===e.length)return e[0];const t=e.reduce((e,t)=>e+t.length,0),r=new Uint8Array(t);let n=0;for(const i of e)r.set(i,n),n+=i.length;return r}},89363(e,t,r){"use strict";r.d(t,{l:()=>o,n:()=>i});var n=r(20501);function i(e,t,r){const i=!r||void 0===r.leading||r.leading,o=!r||void 0===r.trailing||r.trailing;let s,a,u=!1;return{throttled:function(){for(var r=arguments.length,c=new Array(r),l=0;l<r;l++)c[l]=arguments[l];u?s=c:(i?e(...c):s=c,u=!0,a=(0,n.wg)(()=>{o&&s&&e(...s),u=!1,s=void 0},t))},cancel:()=>{(0,n.DJ)(a),u=!1,s=void 0}}}function o(){}},93500(e,t,r){"use strict";function n(e){return 0!==e&&100*Math.random()<=e}function i(e,t){return+e.toFixed(t)}function o(e){return s(e)&&e>=0&&e<=100}function s(e){return"number"===typeof e}r.d(t,{Et:()=>s,LI:()=>i,fp:()=>o,ic:()=>n})},72622(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){try{return JSON.parse(e)}catch(t){}}function s(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e)}function a(e,t){return Object.keys(e).some(r=>e[r]===t)}function u(e){return 0===Object.keys(e).length}function c(e,t){const r={};for(const n of Object.keys(e))r[n]=t(e[n]);return r}r.d(t,{LG:()=>c,RI:()=>u,Rj:()=>a,XU:()=>o,yG:()=>s})},19798(e,t,r){"use strict";function n(e,t){for(let r=e.length-1;r>=0;r-=1){const n=e[r];if(t(n,r,e))return n}}function i(e){return Object.values(e)}function o(e){return Object.entries(e)}r.d(t,{KQ:()=>i,Uk:()=>n,WP:()=>o})},21054(e,t,r){"use strict";function n(e){return e>=500}function i(e){try{return e.clone()}catch(t){return}}r.d(t,{G:()=>n,i:()=>i})},60076(e,t,r){"use strict";r.d(t,{$H:()=>a,$S:()=>g,FR:()=>u,Gw:()=>b,M8:()=>m,MA:()=>s,OY:()=>i,Oc:()=>v,TP:()=>f,T_:()=>E,Zj:()=>p,gs:()=>_,iW:()=>o,jR:()=>c,nx:()=>h,pu:()=>w,vk:()=>y,x3:()=>d});var n=r(93500);const i=1e3,o=60*i,s=60*o,a=365*(24*s);function u(e){return{relative:e,timeStamp:l(e)}}function c(e){return{relative:_(e),timeStamp:e}}function l(e){const t=d()-performance.now();return t>E()?Math.round(b(t,e)):function(e){return Math.round(b(E(),e))}(e)}function f(){return Math.round(d()-b(E(),performance.now()))}function p(e){return(0,n.Et)(e)?(0,n.LI)(1e6*e,0):e}function d(){return(new Date).getTime()}function h(){return d()}function g(){return performance.now()}function m(){return{relative:g(),timeStamp:h()}}function v(){return{relative:0,timeStamp:E()}}function y(e,t){return t-e}function b(e,t){return e+t}function _(e){return e-E()}function w(e){return e<a}let S;function E(){var e,t;void 0===S&&(S=null!==(e=null===(t=performance.timing)||void 0===t?void 0:t.navigationStart)&&void 0!==e?e:performance.timeOrigin);return S}},47947(e,t,r){"use strict";function n(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function i(e){return"object"===n(e)}r.d(t,{O:()=>i,P:()=>n})},71052(e,t,r){"use strict";r.d(t,{AY:()=>o,L2:()=>s,c$:()=>a,l2:()=>i});var n=r(23878);function i(e){return a(e,location.href).href}function o(e){try{return!!a(e)}catch(t){return!1}}function s(e){const t=a(e).pathname;return"/"===t[0]?t:`/${t}`}function a(e,t){const{URL:r}=function(){if(!u){var e;let i,o;try{var t;i=document.createElement("iframe"),i.style.display="none",document.body.appendChild(i),o=null!==(t=i.contentWindow)&&void 0!==t?t:n.J2}catch(r){o=n.J2}u={URL:o.URL},null===(e=i)||void 0===e||e.remove()}return u}();try{return void 0!==t?new r(e,t):new r(e)}catch(i){throw new Error(`Failed to construct URL: ${String(i)}`)}}let u},67933(e,t,r){"use strict";r.d(t,{qj:()=>l});var n=r(20501),i=r(37230),o=r(60076);const s=1/0,a=o.iW;let u;const c=new Set;function l(e){let{expireDelay:t,maxEntries:r}=e,l=[];u||(u=(0,n.yb)(()=>{c.forEach(e=>e())},a));const f=()=>{const e=(0,o.$S)()-t;for(;l.length>0&&l[l.length-1].endTime<e;)l.pop()};return c.add(f),{add:function(e,t){const n={value:e,startTime:t,endTime:s,remove:()=>{(0,i.Ai)(l,n)},close:e=>{n.endTime=e}};return r&&l.length>=r&&l.pop(),l.unshift(n),n},find:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{returnInactive:!1};for(const r of l)if(r.startTime<=e){if(t.returnInactive||e<=r.endTime)return r.value;break}},closeActive:function(e){const t=l[0];t&&t.endTime===s&&t.close(e)},findAll:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=(0,o.Gw)(e,t);return l.filter(t=>t.startTime<=r&&e<=t.endTime).map(e=>e.value)},getEntries:function(e){return l.filter(t=>t.startTime===e)},reset:function(){l=[]},stop:function(){c.delete(f),0===c.size&&u&&((0,n.vG)(u),u=void 0)}}}},67750(e,t,r){"use strict";r.d(t,{X:()=>c});var n=r(33054),i=r(19798),o=r(36430),s=r(91373),a=r(34829);const u=256*a._m;function c(e){let{encoder:t,request:r,flushController:c}=e,f={};const p=c.flushObservable.subscribe(e=>function(e){const n=(0,i.KQ)(f).join("\n");f={};const s=(0,o.Kp)(e.reason),u=s?r.sendOnExit:r.send;if(s&&t.isAsync){const e=t.finishSync();e.outputBytesCount&&u(l(e));
1const r=[e.pendingData,n].filter(Boolean).join("\n");r&&u({data:r,bytesCount:(0,a.WW)(r)})}else n&&t.write(t.isEmpty?n:`\n${n}`),t.finish(e=>{u(l(e))})}(e));function d(e,r){const i=(0,s.s)(e),o=t.estimateEncodedBytesCount(i);o>=u?n.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size ${u/a._m}KiB. ${n.xG} ${n.Xs}/#technical-limitations`):function(e,r,n){if(void 0!==n){let i;void 0!==f[n]?i=r-t.estimateEncodedBytesCount(f[n]):(c.notifyBeforeAddMessage(r),i=0),f[n]=e,c.notifyAfterAddMessage(i)}else c.notifyBeforeAddMessage(r),t.write(t.isEmpty?e:`\n${e}`,e=>{c.notifyAfterAddMessage(e-r)})}(i,o,r)}return{flushController:c,add:d,upsert:d,stop:p.unsubscribe}}function l(e){let t;return t="string"===typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),{data:t,bytesCount:e.outputBytesCount,encoding:e.encoding}}},71331(e,t,r){"use strict";r.d(t,{Ww:()=>o,Y9:()=>i,d0:()=>s});var n=r(23878);function i(){const e=(0,n.VZ)().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null===(t=e.getCapabilities)||void 0===t?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null===(t=e.getPrivacyLevel)||void 0===t?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,r,n){const i=n?{id:n}:void 0;e.send(JSON.stringify({eventType:t,event:r,view:i}))}}}function o(e){const t=i();return!!t&&t.getCapabilities().includes(e)}function s(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=(0,n.VZ)().location)||void 0===e?void 0:e.hostname;const r=i();return!!r&&r.getAllowedWebViewHosts().some(e=>t===e||t.endsWith(`.${e}`))}},54168(e,t,r){"use strict";r.d(t,{tO:()=>l});var n=r(23878),i=r(9377),o=r(20501),s=r(60076),a=r(91254);const u=30*s.OY,c=n.Wq?1:50;function l(e){let t,{pageMayExitObservable:r,sessionExpireObservable:n}=e;const s=new i.cP,l=r.subscribe(e=>{t=e.reason;try{s.notify(e.reason)}finally{t=void 0}m(e.reason)}),f=n.subscribe(()=>m("session_expire")),p=new i.cP(()=>()=>{l.unsubscribe(),f.unsubscribe()});let d,h=0,g=0;function m(e){if(0===g)return;const t=g,r=h;g=0,h=0,(0,o.DJ)(d),d=void 0,p.notify({reason:e,messagesCount:t,bytesCount:r})}return{flushObservable:p,preparePageExitFlushObservable:s,get messagesCount(){return g},notifyBeforeAddMessage(e){h+e>=a.AK&&m(null!==t&&void 0!==t?t:"bytes_limit"),g+=1,h+=e,void 0===d&&(d=(0,o.wg)(()=>{m("duration_limit")},u))},notifyAfterAddMessage(){h+=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,g>=c?m(null!==t&&void 0!==t?t:"messages_limit"):h>=a.AK&&m(null!==t&&void 0!==t?t:"bytes_limit")}}}},91254(e,t,r){"use strict";r.d(t,{AK:()=>_,sA:()=>w});var n=r(57019),i=r(64034),o=r(9377),s=r(34829),a=r(20501),u=r(60076),c=r(21054),l=r(61333);const f=80*s._m,p=20*s.iH,d=u.iW,h=u.OY;function g(e,t,r,n,i,o){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?v(e,t,r,o,{onSuccess:()=>y(0,t,r,n,i,o),onFailure:()=>{t.queuedPayloads.enqueue(e)||o.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e}),m(t,r,n,i,o)}}):t.queuedPayloads.enqueue(e)||o.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e})}function m(e,t,r,n,i){2===e.transportStatus&&(0,a.wg)(()=>{v(e.queuedPayloads.first(),e,t,i,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=h,y(1,e,t,r,n,i)},onFailure:()=>{e.currentBackoffTime=Math.min(d,2*e.currentBackoffTime),m(e,t,r,n,i)}})},e.currentBackoffTime)}function v(e,t,r,n,i){let{onSuccess:o,onFailure:s}=i;t.bandwidthMonitor.add(e),r(e,r=>{t.bandwidthMonitor.remove(e),!function(e){return"opaque"!==e.type&&(0===e.status&&!navigator.onLine||408===e.status||429===e.status||(0,c.G)(e.status))}(r)?(t.transportStatus=0,n.notify({type:"success",bandwidth:t.bandwidthMonitor.stats(),payload:e}),o()):(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:r.status},n.notify({type:"failure",bandwidth:t.bandwidthMonitor.stats(),payload:e}),s())})}function y(e,t,r,n,i,o){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:`Reached max ${n} events size queued for upload: ${p/s.iH}MiB`,source:l.g.AGENT,startClocks:(0,u.M8)()}),t.queueFullReported=!0);const a=t.queuedPayloads;for(t.queuedPayloads=b();a.size()>0;)g(a.dequeue(),t,r,n,i,o)}function b(){const e=[];return{bytesCount:0,enqueue(t){return!this.isFull()&&(e.push(t),this.bytesCount+=t.bytesCount,!0)},first:()=>e[0],dequeue(){const t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=p}}}const _=16*s._m;function w(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;const n=new o.cP,i={transportStatus:0,currentBackoffTime:h,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=f&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:b(),queueFullReported:!1};return{observable:n,send:r=>{for(const o of e)g(r,i,(e,t)=>{A(o,e,t)},o.trackType,t,n)},sendOnExit:t=>{for(const n of e)S(n,r,t)}}}function S(e,t,r){if(r.bytesCount<t)try{const t=e.build("beacon",r);if(navigator.sendBeacon(t,r.data))return}catch(n){!function(e){E||(E=!0,(0,i.Dx)(e))}(n)}A(e,r)}let E=!1;function A(e,t,r){const o=e.build("fetch",t);(0,n.h)(o,{method:"POST",body:t.data,mode:"cors"}).then((0,i.dm)(e=>null===r||void 0===r?void 0:r({status:e.status,type:e.type}))).catch((0,i.dm)(()=>null===r||void 0===r?void 0:r({status:0})))}},10921(e,t,r){"use strict";r.d(t,{eT:()=>gi,o:()=>hi,$m:()=>fi,NT:()=>pi,Wd:()=>di,bb:()=>oe,K:()=>se,do:()=>Bn,K$:()=>xa,wP:()=>za,wI:()=>Fn,W3:()=>Jr,PJ:()=>yi,dT:()=>_i,$4:()=>jn,Gn:()=>_s,zL:()=>ws,dx:()=>qa,rf:()=>Ci,pB:()=>As,g1:()=>Es,nS:()=>Rn,XS:()=>Dn,p_:()=>Mn,AB:()=>Ua,jR:()=>bi,ei:()=>gn,ap:()=>Si,Ie:()=>wi});var n=r(9377);const i={GRANTED:"granted",NOT_GRANTED:"not-granted"};var o=r(99268),s=r(71162),a=r(64034),u=r(60076),c=r(71052),l=r(23878),f=r(34829),p=r(89363);var d=r(21054);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?h(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let v;const y=[];function b(){let{responseBodyAction:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e&&y.push(e),v||(v=new n.cP(e=>{if(!l.J2.fetch)return;const{stop:t}=(0,s.H)(l.J2,"fetch",t=>function(e,t){var r,n;let{parameters:i,onPostCall:o,handlingStack:s}=e;const[l,h]=i;let m=h&&h.method;void 0===m&&l instanceof Request&&(m=l.method);const v=void 0!==m?String(m).toUpperCase():"GET",b=l instanceof Request?l.url:(0,c.l2)(String(l)),_=(0,u.M8)(),w={state:"start",init:h,input:l,method:v,startClocks:_,url:b,handlingStack:s,isAbortedOnStart:l instanceof Request&&(null===(r=l.signal)||void 0===r?void 0:r.aborted)||(null===h||void 0===h||null===(n=h.signal)||void 0===n?void 0:n.aborted)||!1};t.notify(w),i[0]=w.input,i[1]=w.init,o(e=>{(async function(e,t,r){const n=r;let i;try{i=await t}catch(a){var o;return void e.notify(g(g({},n),{},{state:"resolve",status:0,isAborted:(null===(o=n.init)||void 0===o||null===(o=o.signal)||void 0===o?void 0:o.aborted)||a instanceof DOMException&&a.code===DOMException.ABORT_ERR,error:a}))}n.response=i,n.status=i.status,n.responseType=i.type,n.isAborted=!1;const s=y.reduce((e,t)=>Math.max(e,t(n)),0);if(1===s){const e=(0,d.i)(i);if(e&&e.body)try{const t=await async function(e){const t=e.getReader(),r=[];for(;;){const e=await t.read();if(e.done)break;r.push(e.value)}return t.cancel().catch(p.l),(0,f.wh)(r)}(e.body);n.responseBody=(new TextDecoder).decode(t)}catch(u){}}e.notify(g(g({},n),{},{state:"resolve"}))})(t,e,w).catch(a.Dx)})}(t,e),{computeHandlingStack:!0});return t})),v}var _=r(95402);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let A;const C=new WeakMap;function k(e){return A||(A=function(e){if(!("XMLHttpRequest"in l.J2))return new n.cP;return new n.cP(t=>{const{stop:r}=(0,s.H)(XMLHttpRequest.prototype,"open",O),{stop:n}=(0,s.H)(XMLHttpRequest.prototype,"send",r=>{!function(e,t,r){let{target:n,parameters:[i],handlingStack:o}=e;const a=C.get(n);if(!a)return;const c=a;c.state="start",c.startClocks=(0,u.M8)(),c.isAborted=!1,c.xhr=n,c.handlingStack=o,c.requestBody=i;let l=!1;const{stop:f}=(0,s.H)(n,"onreadystatechange",()=>{n.readyState===XMLHttpRequest.DONE&&p()}),p=()=>{if(d(),f(),l)return;l=!0;const e=a;e.duration=(0,u.vk)(c.startClocks.timeStamp,(0,u.nx)()),e.status=n.status,"string"===typeof n.response&&(e.responseBody=n.response),r.notify(S(S({},e),{},{state:"complete"}))},{stop:d}=(0,_.q)(t,n,"loadend",p);r.notify(c)}(r,e,t)},{computeHandlingStack:!0}),{stop:i}=(0,s.H)(XMLHttpRequest.prototype,"abort",x);return()=>{r(),n(),i()}})}(e)),A}function O(e){let{target:t,parameters:[r,n]}=e;C.set(t,{state:"open",method:String(r).toUpperCase(),url:(0,c.l2)(String(n))})}function x(e){let{target:t}=e;const r=C.get(t);r&&(r.isAborted=!0)}var P=r(33054),I=r(59744),T=r(10664),R=r(40338),D=r(61333);function M(){return new n.cP(e=>{const t=(t,r)=>{const n=(0,R.As)({stackTrace:r,originalError:t,startClocks:(0,u.M8)(),nonErrorPrefix:"Uncaught",source:D.g.SOURCE,handling:"unhandled"});e.notify(n)},{stop:r}=(n=t,(0,s.H)((0,l.VZ)(),"onerror",e=>{let t,{parameters:[r,i,o,s,a]}=e;
1(0,R.bJ)(a)||(t=(0,T.h)(r,i,o,s)),n(null!==a&&void 0!==a?a:r,t)}));var n;const{stop:i}=function(e){return(0,s.H)((0,l.VZ)(),"onunhandledrejection",t=>{let{parameters:[r]}=t;e(r.reason||"Empty reason")})}(t);return()=>{r(),i()}})}var F=r(92279),j=r(91373),N=r(43527);let B={};function L(e){const t=e.map(e=>(B[e]||(B[e]=function(e){return new n.cP(t=>{const r=P.JZ[e];return P.JZ[e]=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];r.apply(console,i);const s=(0,N.uC)("console error");(0,a.um)(()=>{t.notify(function(e,t,r){const n=e.map(e=>function(e){if("string"===typeof e)return(0,F.a)(e);if((0,R.bJ)(e))return(0,N.NR)((0,T.T)(e));return(0,j.s)((0,F.a)(e),void 0,2)}(e)).join(" ");if(t===P.bP.error){const i=e.find(R.bJ),o=(0,R.As)({originalError:i,handlingStack:r,startClocks:(0,u.M8)(),source:D.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return o.message=n,{api:t,message:n,handlingStack:r,error:o}}return{api:t,message:n,error:void 0,handlingStack:r}}(i,e,s))})},()=>{P.JZ[e]=r}})}(e)),B[e]));return(0,n.Fx)(...t)}var U=r(68396),q=r(34799),V=r(96230),z=r(25199);function G(e,t,r,n){return(0,a.dm)(function(){return n&&(0,I.Q6)({feature:n}),e()[t][r](...arguments)})}function $(e,t,r){e.changeObservable.subscribe(()=>{const n=e.getContext();r.notify(e=>e[t].setContext(n))})}const W="userContext",H="globalContext",K="accountContext",Z="getContext",Y="setContext",J="setContextProperty",Q="removeContextProperty",X="clearContext";function ee(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,ee)}const te=/(\S+?)\s*=\s*(.*?)(?:;|$)/g;function re(e,t){for(te.lastIndex=0;;){const r=te.exec(e);if(!r)break;if(r[1]===t)return r[2]}}function ne(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const n=e.charCodeAt(t-1),i=n>=55296&&n<=56319?t+1:t;return e.length<=i?e:`${e.slice(0,i)}${r}`}function ie(e,t){t.silentMultipleInit||P.Vy.error(`${e} is already initialized.`)}const oe={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},se={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},ae="initial_load",ue="route_change",ce="session_renewal",le="bf_cache",fe="click",pe="custom",de="rage_click",he="error_click",ge="dead_click",me="duration",ve="operation_step";var ye=r(91211),be=r(93500),_e=r(72622),we=r(17137);function Se(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3?arguments[3]:void 0;const i=new Date;i.setTime(i.getTime()+r);const o=`expires=${i.toUTCString()}`,s=n&&n.crossSite?"none":"strict",a=n&&n.domain?`;domain=${n.domain}`:"",u=n&&n.secure?";secure":"",c=n&&n.partitioned?";partitioned":"";document.cookie=`${e}=${t};${o};path=/;samesite=${s}${a}${u}${c}`}function Ee(e){const t=re(document.cookie,e);if(""!==t)return t}function Ae(e){return function(e){const t=new Map;for(te.lastIndex=0;;){const r=te.exec(e);if(!r)break;{const e=r[1],n=r[2];t.has(e)?t.get(e).push(n):t.set(e,[n])}}return t}(document.cookie).get(e)||[]}let Ce,ke;function Oe(e){return Ce||(Ce=function(e){const t=new Map;for(te.lastIndex=0;;){const r=te.exec(e);if(!r)break;t.set(r[1],r[2])}return t}(document.cookie)),Ce.get(e)}function xe(e,t){Se(e,"",0,t)}function Pe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:location.hostname,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.referrer;if(void 0===ke){const r=function(e,t){try{return e||(0,c.c$)(t).hostname}catch(r){}}(e,t);if(r){const e=`dd_site_test_${ee()}`,t="test",n=r.split(".");let i=n.pop();for(;n.length&&!Ee(e);)i=`${n.pop()}.${i}`,Se(e,t,u.OY,{domain:i});xe(e,{domain:i}),ke=i}}return ke}var Ie=r(19798);const Te=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function Re(e){return e.created?Number(e.created):void 0}function De(e){const t=e.expire&&Number(e.expire),r=Re(e);if(t&&r)return Math.min(t,r+we.AQ)}function Me(e,t){const r={isExpired:"1"};return t.trackAnonymousUser&&null!==e&&void 0!==e&&e.anonymousId&&(r.anonymousId=null===e||void 0===e?void 0:e.anonymousId),r}function Fe(e){return(0,_e.RI)(e)}function je(e){return void 0!==e.isExpired||!function(e){const t=De(e);return!!t&&(0,u.x3)()<t}(e)}function Ne(e){e.expire=String((0,u.x3)()+we.HB)}function Be(e){return(0,Ie.WP)(e).map(e=>{let[t,r]=e;return"anonymousId"===t?`aid=${r}`:`${t}=${r}`}).join("&")}function Le(e){const t={};return function(e){return!!e&&(-1!==e.indexOf("&")||Te.test(e))}
1(e)&&e.split("&").forEach(e=>{const r=Te.exec(e);if(null!==r){const[,e,n]=r;"aid"===e?t.anonymousId=n:t[e]=n}}),t}function Ue(e,t){return Fe(e)?(t.trackAnonymousUser&&(e.anonymousId=ee()),Me(e,t)):e}function qe(e,t){if(Fe(e))return e;let r=e;return je(e)&&(r=Me(e,t)),r.id||(r.id=ee(),r.created=String((0,u.x3)())),t.trackAnonymousUser&&!r.anonymousId&&(r.anonymousId=ee()),delete r.isExpired,Ne(r),r}var Ve=r(20501);function ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(r),!0).forEach(function(t){$e(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function $e(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function We(e,t,r){const i=(0,o.B)(window.cookieStore);return i?function(e,t,r,i){const o=new n.cP(()=>(0,_.q)(t,i,"change",t=>{(t.changed.some(t=>t.name===e)||t.deleted.some(t=>t.name===e))&&o.notify()}).stop);return{getAll:async()=>(await i.getAll(e)).map(e=>e.value),async getAllAndSet(t){const n=await i.getAll(e),o=n.map(e=>e.value),{value:s,expireDelay:a}=t(o);try{await i.set({name:e,value:s,expires:(0,u.x3)()+a,path:"/",sameSite:r.crossSite?"none":"strict",domain:r.domain,secure:r.secure,partitioned:r.partitioned})}catch(c){const t=Ae(e);(0,I.A2)("Failed to set cookie using Cookie Store API",{"error.message":c.message,newValue:s,cookieOptions:Ge({},r),cookies:n.map(e=>Ge({},e)),cookieCount:n.length,documentCookies:t})}},observable:o}}(e,t,r,i):function(e,t){let r=Ae(e);const i=new n.cP(()=>{const t=(0,Ve.yb)(()=>{o(Ae(e))},He);return()=>{(0,Ve.vG)(t)}});function o(e){String(e)!==String(r)&&(r=e,i.notify())}return{getAll:()=>Promise.resolve(Ae(e)),async getAllAndSet(r){const n=Ae(e),{value:i,expireDelay:s}=r(n);Se(e,i,s,t),await Promise.resolve(),o([i])},observable:i}}(e,r)}const He=u.OY;const Ke="_dd_s_v2",Ze="_dd_s";function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(r),!0).forEach(function(t){Qe(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Qe(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xe(e){const t=function(e){const t={};if(t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){const e=Pe();if(!e)return;t.domain=e}return t}(e);return t&&function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{const t=`dd_cookie_test_${ee()}`,r="test";Se(t,r,u.iW,e);const n=Ee(t)===r;return xe(t,e),n}catch(t){return P.Vy.error(t),!1}}(t)?{type:we.Q_.COOKIE,cookieOptions:t}:void 0}let et;function tt(e,t){const r=new n.cP,i=!!t.trackAnonymousUser,s=nt(e),u=(0,o.B)(We)(Ke,t,e);let c=!0;function l(t){return u.getAllAndSet(r=>{let n=rt(r,s);c&&(0,_e.RI)(n)&&(n=rt(Ae(Ze),s)),c=!1;const o=function(e,t){return Be((0,_e.RI)(e)?e:Je(Je({},e),{},{c:nt(t)}))}(t(n),e);return{value:o,expireDelay:i?we._P:we.AQ}})}return u.observable.subscribe(()=>{u.getAll().then(e=>{r.notify({cookieValues:e,sessionState:rt(e,s)})}).catch(a.Dx)}),{async setSessionState(e){"undefined"!==typeof navigator&&navigator.locks?await navigator.locks.request(Ke,()=>l(e)):(et=(null!==et&&void 0!==et?et:Promise.resolve()).then(()=>l(e)),await et)},sessionObservable:r}}function rt(e,t){var r;let n;for(const i of e.slice().reverse())if(n=Le(i),n.c===t)break;return null===(r=n)||void 0===r||delete r.c,null!==n&&void 0!==n?n:{}}function nt(e){let t=0;return t|=0,t|=(e.domain?e.domain.split(".").length-1:0)<<1,t|=e.crossSite?1:0,t.toString(16)}const it="_DD_SESSION";function ot(e){const{sessionPersistence:t}=e,r=function(e){if(Array.isArray(e))return e;if(void 0!==e)return[e];if(l.Wq)return[we.Q_.MEMORY];return[we.Q_.COOKIE]}(t);for(const n of r){const t=st(n,e);if(void 0!==t)return t}}function st(e,t){switch(e){case we.Q_.COOKIE:return Xe(t);case we.Q_.LOCAL_STORAGE:return function(){try{const e=ee(),t=`_dd_test_${e}`;localStorage.setItem(t,e);const r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:we.Q_.LOCAL_STORAGE}:void 0}catch(e){return}}();case we.Q_.MEMORY:return{type:we.Q_.MEMORY};default:return void P.Vy.error(`Invalid session persistence '${String(e)}'`)}}function at(e,t){switch(e.type){case we.Q_.COOKIE:return tt(e.cookieOptions,t);case we.Q_.LOCAL_STORAGE:return function(e){const t=new n.cP(t=>(0,_.q)(e,window,"storage",e=>{e.key===Ke&&e.storageArea===localStorage&&t.notify({sessionState:Le(e.newValue)})}).stop);let r=!0;return{async setSessionState(e){let n=Le(localStorage.getItem(Ke));r&&Fe(n)&&(n=Le(localStorage.getItem(Ze))),r=!1;const i=e(n);localStorage.setItem(Ke,Be(i)),await Promise.resolve(),t.notify({sessionState:i})},sessionObservable:t}}(t);case we.Q_.MEMORY:return function(){const e=(0,l.VZ)();e[it]||(e[it]={});const t=e[it],r=new n.cP,i=t.onChange;return t.onChange=e=>{null===i||void 0===i||i(e),r.notify({sessionState:e})},{async setSessionState(e){var r,n;const i=null!==(r=t.state)&&void 0!==r?r:{},o=(0,_e.yG)(e(i));t.state=o,await Promise.resolve(),null===(n=t.onChange)||void 0===n||n.call(t,o)},sessionObservable:r}}()}}var ut=r(47947);function ct(e){const t=(0,ut.P)(e);return"string"===t||"function"===t||e instanceof RegExp}function lt(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.some(e=>{try{if("function"===typeof e)return e(t);if(e instanceof RegExp)return e.lastIndex=0,e.test(t);if("string"===typeof e)return r?t.startsWith(e):e===t}catch(n){P.Vy.error(n)}return!1})}const ft=["chrome-extension://","moz-extension://"];function pt(e){return ft.some(t=>e.includes(t))}function dt(e,t){const r=(0,o.B)((0,l.VZ)().location),n=r?r.origin:"",i=e.allowedTrackingOrigins;if(!i)return!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";
1return!pt(e)&&pt(t.split("\n").filter(e=>{const t=e.trim();return t.length&&/^at\s+|@/.test(t)})[1]||"")}(n,t)||(P.Vy.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);const s=lt(i,n);return s||P.Vy.error("SDK initialized on a non-allowed domain."),s}var ht=r(58041);function gt(e,t,r){const n=function(e,t){const r=`/api/v2/${t}`,n=e.proxy;if("string"===typeof n){const e=(0,c.l2)(n);return t=>`${e}?ddforward=${encodeURIComponent(`${r}?${t}`)}`}if("function"===typeof n)return e=>n({path:r,parameters:e});const i=mt(e);return e=>`https://${i}${r}?${e}`}(e,t);return{build(i,o){const s=function(e,t,r,n){let{clientToken:i,source:o="browser"}=e,{retry:s,encoding:a}=n,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];const l=[`ddsource=${o}`,`dd-api-key=${i}`,`dd-evp-origin-version=${encodeURIComponent("7.0.0")}`,"dd-evp-origin=browser",`dd-request-id=${ee()}`].concat(c);a&&l.push(`dd-evp-encoding=${a}`);"rum"===t&&(l.push(`batch_time=${(0,u.nx)()}`,`_dd.api=${r}`),s&&l.push(`_dd.retry_count=${s.count}`,`_dd.retry_after=${s.lastFailureStatus}`));return l.join("&")}(e,t,i,o,r);return n(s)},trackType:t}}function mt(e){const{site:t=ht.NW}=e,r=t.split("."),n=r.pop();return`browser-intake-${r.join("-")}.${n}`}function vt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach(function(t){bt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function bt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _t(e){const t=e.site||ht.NW,r=function(e){if("flutter"===e||"unity"===e)return e;return"browser"}(e.source),n=function(e){return{logsEndpointBuilder:gt(e,"logs"),rumEndpointBuilder:gt(e,"rum"),profilingEndpointBuilder:gt(e,"profile"),sessionReplayEndpointBuilder:gt(e,"replay"),exposuresEndpointBuilder:gt(e,"exposures"),flagEvaluationEndpointBuilder:gt(e,"flagevaluation")}}(yt(yt({},e),{},{site:t,source:r})),i=function(e){if(!e.replica)return;const t=yt(yt({},e),{},{site:ht.NW,clientToken:e.replica.clientToken});return{logsEndpointBuilder:gt(t,"logs"),rumEndpointBuilder:gt(t,"rum",[`application.id=${e.replica.applicationId}`])}}(yt(yt({},e),{},{site:t,source:r}));return yt({replica:i,site:t,source:r},n)}function wt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function St(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Et={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},At={ALL:"all",SAMPLED:"sampled"};function Ct(e,t){return void 0===e||null===e||"string"===typeof e||(P.Vy.error(`${t} must be defined as a string`),!1)}function kt(e,t){return!(void 0!==e&&!(0,be.fp)(e))||(P.Vy.error(`${t} Sample Rate should be a number between 0 and 100`),!1)}function Ot(e,t){var r,n,o,s,a,u,c,l,f,p;if(e&&e.clientToken)if(void 0===e.allowedTrackingOrigins||Array.isArray(e.allowedTrackingOrigins)){if((!(d=e.site)||"string"!==typeof d||/(datadog|ddog|datad0g|dd0g)/.test(d)||(P.Vy.error(`Site should be a valid Datadog site. ${P.xG} ${P.fH}
1/getting_started/site/.`),0))&&kt(e.sessionSampleRate,"Session")&&kt(e.telemetrySampleRate,"Telemetry")&&kt(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&kt(e.telemetryUsageSampleRate,"Telemetry Usage")&&Ct(e.version,"Version")&&Ct(e.env,"Env")&&Ct(e.service,"Service")&&dt(e,null!==t&&void 0!==t?t:"")){var d;if(void 0===e.trackingConsent||(0,_e.Rj)(i,e.trackingConsent))return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(r),!0).forEach(function(t){St(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({beforeSend:e.beforeSend&&(0,ye.y)(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:ot(e),sessionSampleRate:null!==(r=e.sessionSampleRate)&&void 0!==r?r:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(o=e.telemetryConfigurationSampleRate)&&void 0!==o?o:5,telemetryUsageSampleRate:null!==(s=e.telemetryUsageSampleRate)&&void 0!==s?s:5,service:null!==(a=e.service)&&void 0!==a?a:void 0,env:null!==(u=e.env)&&void 0!==u?u:void 0,version:null!==(c=e.version)&&void 0!==c?c:void 0,datacenter:null!==(l=e.datacenter)&&void 0!==l?l:void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!==(f=e.trackingConsent)&&void 0!==f?f:i.GRANTED,trackAnonymousUser:null===(p=e.trackAnonymousUser)||void 0===p||p,storeContextsAcrossPages:!!e.storeContextsAcrossPages,variant:e.variant,sdkVersion:e.sdkVersion},_t(e));P.Vy.error('Tracking Consent should be either "granted" or "not-granted"')}}else P.Vy.error("Allowed Tracking Origins must be an array");else P.Vy.error("Client Token is not configured, we will not send any data.")}var xt=r(37230);function Pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function It(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(r),!0).forEach(function(t){Tt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Tt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Rt=["tracecontext","datadog"],Dt=["cache-control","etag","age","expires","content-type","content-encoding","vary","content-length","server-timing","x-cache"];function Mt(e,t){var r,n,i,o,s,a,u;if(void 0===e.trackFeatureFlagsForEvents||Array.isArray(e.trackFeatureFlagsForEvents)||P.Vy.warn("trackFeatureFlagsForEvents should be an array"),!e.applicationId)return void P.Vy.error("Application ID is not configured, no RUM data will be collected.");if(!kt(e.sessionReplaySampleRate,"Session Replay")||!kt(e.traceSampleRate,"Trace"))return;if(void 0!==e.excludedActivityUrls&&!Array.isArray(e.excludedActivityUrls))return void P.Vy.error("Excluded Activity Urls should be an array");const c=function(e){if(void 0===e.allowedTracingUrls)return[];if(!Array.isArray(e.allowedTracingUrls))return void P.Vy.error("Allowed Tracing URLs should be an array");if(0!==e.allowedTracingUrls.length&&void 0===e.service)return void P.Vy.error("Service needs to be configured when tracing is enabled");const t=[];return e.allowedTracingUrls.forEach(e=>{const r=jt(e);r?t.push(r):P.Vy.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",e)}),t}(e);if(!c)return;const l=Ot(e,t),f=function(e){if(!e.allowedGraphQlUrls)return[];if(!Array.isArray(e.allowedGraphQlUrls))return P.Vy.warn("allowedGraphQlUrls should be an array"),[];const t=[];
1return e.allowedGraphQlUrls.forEach(e=>{ct(e)?t.push({match:e,trackPayload:!1,trackResponseErrors:!1}):(0,ut.O)(e)&&ct(e.match)&&t.push({match:e.match,trackPayload:!!e.trackPayload,trackResponseErrors:!!e.trackResponseErrors})}),t}(e);if(!l)return;const p=null!==(r=e.sessionReplaySampleRate)&&void 0!==r?r:0;return It({applicationId:e.applicationId,actionNameAttribute:e.actionNameAttribute,sessionReplaySampleRate:p,startSessionReplayRecordingManually:void 0!==e.startSessionReplayRecordingManually?!!e.startSessionReplayRecordingManually:0===p,traceSampleRate:null!==(n=e.traceSampleRate)&&void 0!==n?n:100,rulePsr:(0,be.Et)(e.traceSampleRate)?e.traceSampleRate/100:void 0,allowedTracingUrls:c,excludedActivityUrls:null!==(i=e.excludedActivityUrls)&&void 0!==i?i:[],workerUrl:e.workerUrl,compressIntakeRequests:!!e.compressIntakeRequests,trackUserInteractions:!(null!==(o=e.trackUserInteractions)&&void 0!==o&&!o),trackViewsManually:!!e.trackViewsManually,trackResources:!(null!==(s=e.trackResources)&&void 0!==s&&!s),trackResourceHeaders:Bt(e),trackLongTasks:!(null!==(a=e.trackLongTasks)&&void 0!==a&&!a),subdomain:e.subdomain,defaultPrivacyLevel:(0,_e.Rj)(Et,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:Et.MASK_USER_INPUT,enablePrivacyForActionName:!1!==e.enablePrivacyForActionName,traceContextInjection:(0,_e.Rj)(At,e.traceContextInjection)?e.traceContextInjection:At.SAMPLED,plugins:e.plugins||[],trackFeatureFlagsForEvents:e.trackFeatureFlagsForEvents||[],profilingSampleRate:null!==(u=e.profilingSampleRate)&&void 0!==u?u:0,propagateTraceBaggage:!1!==e.propagateTraceBaggage,allowedGraphQlUrls:f},l)}function Ft(e){const t=new Set;return(0,xt.EI)(e.allowedTracingUrls)&&e.allowedTracingUrls.forEach(e=>{var r;null===(r=jt(e))||void 0===r||r.propagatorTypes.forEach(e=>t.add(e))}),Array.from(t)}function jt(e){return ct(e)?{match:e,propagatorTypes:Rt}:(0,ut.O)(e)&&ct(e.match)&&(null===e.propagatorTypes||void 0===e.propagatorTypes||Array.isArray(e.propagatorTypes))?{match:e.match,propagatorTypes:e.propagatorTypes||Rt}:void 0}const Nt=["request","response","any"];function Bt(e){const t=e.trackResourceHeaders;if(void 0===t||!1===t)return[];if(!0===t)return Dt.map(e=>({name:e}));if(!Array.isArray(t))return P.Vy.warn("trackResourceHeaders should be true or an array of MatchHeader"),[];if(0===t.length)return P.Vy.warn("trackResourceHeaders is an empty array, no headers will be captured"),[];const r=[];return t.forEach((e,t)=>{(0,ut.O)(e)&&ct(e.name)?void 0===e.url||ct(e.url)?void 0===e.extractor||e.extractor instanceof RegExp?void 0===e.location||Nt.includes(e.location)?r.push(It(It({},e),{},{name:"string"===typeof e.name?e.name.toLowerCase():e.name})):P.Vy.warn(`trackResourceHeaders[${t}].location should be 'request', 'response', or 'any'`):P.Vy.warn(`trackResourceHeaders[${t}].extractor should be a RegExp`):P.Vy.warn(`trackResourceHeaders[${t}].url should be a MatchOption`):P.Vy.warn(`trackResourceHeaders[${t}] should be a MatchHeader object with a 'name' property`)}),r}function Lt(e){return(0,xt.EI)(e)&&e.some(e=>(0,ut.O)(e)&&e.trackResponseErrors)}function Ut(e){var t;const r={session_sample_rate:(n=e).sessionSampleRate,telemetry_sample_rate:n.telemetrySampleRate,telemetry_configuration_sample_rate:n.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:n.telemetryUsageSampleRate,use_before_send:!!n.beforeSend,use_partitioned_cross_site_session_cookie:n.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:n.useSecureSessionCookie,use_proxy:!!n.proxy,silent_multiple_init:n.silentMultipleInit,track_session_across_subdomains:n.trackSessionAcrossSubdomains,track_anonymous_user:n.trackAnonymousUser,session_persistence:Array.isArray(n.sessionPersistence)?n.sessionPersistence[0]:n.sessionPersistence,store_contexts_across_pages:!!n.storeContextsAcrossPages,allow_untrusted_events:!!n.allowUntrustedEvents,tracking_consent:n.trackingConsent,use_allowed_tracking_origins:Array.isArray(n.allowedTrackingOrigins),source:n.source,sdk_version:n.sdkVersion,variant:n.variant};var n,i,o;return It({session_replay_sample_rate:e.sessionReplaySampleRate,start_session_replay_recording_manually:e.startSessionReplayRecordingManually,trace_sample_rate:e.traceSampleRate,trace_context_injection:e.traceContextInjection,prop
1agate_trace_baggage:e.propagateTraceBaggage,action_name_attribute:e.actionNameAttribute,use_allowed_tracing_urls:(0,xt.EI)(e.allowedTracingUrls),use_allowed_graph_ql_urls:(0,xt.EI)(e.allowedGraphQlUrls),use_track_graph_ql_payload:(o=e.allowedGraphQlUrls,(0,xt.EI)(o)&&o.some(e=>(0,ut.O)(e)&&e.trackPayload)),use_track_graph_ql_response_errors:Lt(e.allowedGraphQlUrls),selected_tracing_propagators:Ft(e),default_privacy_level:e.defaultPrivacyLevel,enable_privacy_for_action_name:e.enablePrivacyForActionName,use_excluded_activity_urls:(0,xt.EI)(e.excludedActivityUrls),use_worker_url:!!e.workerUrl,compress_intake_requests:e.compressIntakeRequests,track_views_manually:e.trackViewsManually,track_user_interactions:e.trackUserInteractions,track_resources:e.trackResources,track_long_task:e.trackLongTasks,plugins:null===(t=e.plugins)||void 0===t?void 0:t.map(e=>{var t;return It({name:e.name},null===(t=e.getConfigurationTelemetry)||void 0===t?void 0:t.call(e))}),track_feature_flags_for_events:e.trackFeatureFlagsForEvents,remote_configuration_id:e.remoteConfigurationId,profiling_sample_rate:e.profilingSampleRate,use_remote_configuration_proxy:!!e.remoteConfigurationProxy,track_resource_headers:(i=e.trackResourceHeaders,!0===i?"default_headers":Array.isArray(i)?"custom":void 0)},r)}var qt=r(57019);function Vt(e,t){t.lastIndex=0;const r=t.exec(e);if(!r)return;const[n,i]=r;return i||n}const zt=/[a-zA-Z_$]/,Gt=/[a-zA-Z0-9_$]/,$t=/[0-9]/,Wt=/[a-fA-F0-9]/,Ht={0:()=>!1,1:()=>!1,2:e=>zt.test(e),3:e=>Gt.test(e),4:e=>"."===e,5:e=>"["===e,6:e=>"]"===e,7:e=>$t.test(e),8:e=>"'\"".includes(e),9:(e,t)=>e===t.quote,10:()=>!0,11:e=>"\\"===e,12:(e,t)=>void 0===t.escapeSequence?`${t.quote}/\\bfnrtu`.includes(e):!!(t.escapeSequence.startsWith("u")&&t.escapeSequence.length<5)&&Wt.test(e)},Kt={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},Zt=[2,3,7,10],Yt=[4,5,6];function Jt(e){return"\"'/\\bfnrt".includes(e)||e.startsWith("u")&&5===e.length}const Qt={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function Xt(e){return e.startsWith("u")?String.fromCharCode(parseInt(e.slice(1),16)):Qt[e]}function er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const rr=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyForActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function nr(e,t){let r;const n=function(){const e={fetch:{}};return{get:()=>e,increment:(t,r)=>{e[t]||(e[t]={}),e[t][r]||(e[t][r]=0),e[t][r]=e[t][r]+1}}}(),i=await async function(e){let t;try{t=await(0,qt.h)(function(e){if(e.remoteConfigurationProxy)return e.remoteConfigurationProxy;return`https://sdk-configuration.${mt(e)}/v1/${encodeURIComponent(e.remoteConfigurationId)}.json`}(e))}catch(n){t=void 0}if(!t||!t.ok)return{ok:!1,error:new Error("Error fetching the remote configuration.")};const r=await t.json();if(r.rum)return{ok:!0,value:r.rum};return{ok:!1,error:new Error("No remote configuration for RUM.")}}(e);return i.ok?(n.increment("fetch","success"),r=function(e,t,r,n){const i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?er(Object(r),!0).forEach(function(t){tr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):er(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e);
1return rr.forEach(e=>{e in t&&(i[e]=o(t[e]))}),Object.keys(r).forEach(e=>{void 0!==t[e]&&s(r[e],t[e])}),i;function o(e){if(Array.isArray(e))return e.map(o);if((0,ut.O)(e)){if("rcSerializedType"in e){const t=e.rcSerializedType;switch(t){case"string":return e.value;case"regex":return ir(e.value);case"dynamic":return a(e);default:return void P.Vy.error(`Unsupported remote configuration: "rcSerializedType": "${t}"`)}}return(0,_e.LG)(e,o)}return e}function s(e,t){t.forEach(t=>{let{key:r,value:n}=t;e.setContextProperty(r,o(n))})}function a(e){const t=e.strategy;let r;switch(t){case"cookie":r=u(e);break;case"dom":r=l(e);break;case"js":r=p(e);break;case"localStorage":r=c(e);break;default:return void P.Vy.error(`Unsupported remote configuration: "strategy": "${t}"`)}const n=e.extractor;return void 0!==n&&"string"===typeof r?function(e,t){const r=ir(e.value);if(void 0===r)return;return Vt(t,r)}(n,r):r}function u(e){let{name:t}=e;const r=Ee(t);return n.increment("cookie",void 0!==r?"success":"missing"),r}function c(e){let t,{key:r}=e;try{t=localStorage.getItem(r)}catch(i){return void n.increment("localStorage","failure")}return n.increment("localStorage",null!==t?"success":"missing"),null!==t&&void 0!==t?t:void 0}function l(e){let t,{selector:r,attribute:i}=e;try{t=document.querySelector(r)}catch(s){return P.Vy.error(`Invalid selector in the remote configuration: '${r}'`),void n.increment("dom","failure")}if(!t)return void n.increment("dom","missing");if(f(t,i))return P.Vy.error(`Forbidden element selected by the remote configuration: '${r}'`),void n.increment("dom","failure");const o=void 0!==i?t.getAttribute(i):t.textContent;if(null!==o)return n.increment("dom","success"),o;n.increment("dom","missing")}function f(e,t){return"password"===e.getAttribute("type")&&"value"===t}function p(e){let{path:t}=e,r=window;const i=function(e){const t=[];let r,n=0;const i={quote:void 0,escapeSequence:void 0};let o="";for(const s of e){if(r=Kt[n].find(e=>Ht[e](s,i)),!r)return[];if(void 0!==i.escapeSequence&&12!==r){if(!Jt(i.escapeSequence))return[];o+=Xt(i.escapeSequence),i.escapeSequence=void 0}Zt.includes(r)?o+=s:Yt.includes(r)&&""!==o?(t.push(o),o=""):12===r?i.escapeSequence=i.escapeSequence?`${i.escapeSequence}${s}`:s:8===r?i.quote=s:9===r&&(i.quote=void 0),n=r}return Kt[n].includes(1)?(""!==o&&t.push(o),t):[]}(t);if(0===i.length)return P.Vy.error(`Invalid JSON path in the remote configuration: '${t}'`),void n.increment("js","failure");for(const s of i){if(!(s in r))return void n.increment("js","missing");try{r=r[s]}catch(o){return P.Vy.error(`Error accessing: '${t}'`,o),void n.increment("js","failure")}}return n.increment("js","success"),r}}(e,i.value,t,n)):(n.increment("fetch","failure"),P.Vy.error(i.error)),(0,I.Gk)("remote configuration metrics",{metrics:n.get()}),r}function ir(e){try{return new RegExp(e)}catch(t){P.Vy.error(`Invalid regex in the remote configuration: '${e}'`)}}function or(e,t,r){if(e)for(const n of e){const e=n[t];e&&e(r)}}const sr="_dd_c",ar=[];function ur(e,t,r,n){const i=function(e,t){return`${sr}_${e}_${t}`}(r,n);ar.push((0,_.q)(e,window,"storage",e=>{let{key:r}=e;i===r&&t.setContext(s())})),t.changeObservable.subscribe(function(){localStorage.setItem(i,JSON.stringify(t.getContext()))});const o=(0,V.kg)(s(),t.getContext());function s(){const e=localStorage.getItem(i);return e?JSON.parse(e):{}}(0,_e.RI)(o)||t.setContext(o)}function cr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function lr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cr(Object(r),!0).forEach(function(t){fr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function fr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pr(e,t,r){const n=lr({},e);for(const[i,{required:o,type:s}]of Object.entries(t))"string"!==s||dr(n[i])||(n[i]=String(n[i])),o&&dr(n[i])&&P.Vy.warn(`The property ${i} of ${r} is required; context will not be sent to the intake.`);return n}function dr(e){return void 0===e||null===e||""===e}function hr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",{propertiesConfig:t={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={};const i=new n.cP,o={getContext:()=>(0,V.Go)(r),setContext:n=>{!function(e){const t="object"===(0,ut.P)(e);return t||P.Vy.error("Unsupported context:",e),t}
1(n)?o.clearContext():r=(0,F.a)(pr(n,t,e)),i.notify()},setContextProperty:(n,o)=>{r=(0,F.a)(pr(lr(lr({},r),{},{[n]:o}),t,e)),i.notify()},removeContextProperty:n=>{delete r[n],pr(r,t,e),i.notify()},clearContext:()=>{r={},i.notify()},changeObservable:i};return o}function gr(){return hr("global context")}var mr=r(62646);function vr(){return hr("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function yr(){return hr("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}var br=r(71331),_r=r(67933),wr=r(74501);function Sr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Er(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sr(Object(r),!0).forEach(function(t){Ar(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ar(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Cr=u.iW,kr=we.AQ,Or=12*u.MA;let xr=[];async function Pr(e,t){const r=(0,u.$S)(),i=new n.cP,s=new n.cP;let c;if(!e.sessionStoreStrategyType)return void P.Vy.warn("No storage available for session. We will not send any data.");const f=(0,o.B)(at)(e.sessionStoreStrategyType,e),d=(0,_r.qj)({expireDelay:kr});xr.push(()=>d.stop());let h=!1;const{throttled:g,cancel:m}=(0,p.n)(()=>{h=!1,f.setSessionState(t=>qe(t,e)).catch(a.Dx)},u.OY);let v;xr.push(m),xr.push(()=>(0,Ve.DJ)(v));let y=!1;xr.push(()=>{y=!0});const b=await async function(){let t={};return await f.setSessionState(r=>{const n=Ue(r,e);return t=qe(n,e),t}),t}().catch(a.Dx);if(b&&!y){if(t.isGranted())return d.add(A(b),(0,u.Oc)().relative),w(b),function(){const e=f.sessionObservable.subscribe(e=>{let{cookieValues:t,sessionState:r}=e;w(r),S(r,{from:"sessionObservable",cookieValues:t})});xr.push(()=>e.unsubscribe())}(),t.observable.subscribe(()=>{t.isGranted()?(h=!1,f.setSessionState(t=>qe(t,e)).catch(a.Dx)):E()}),l.Wq||(function(e,t){const{stop:r}=(0,_.l)(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});xr.push(r)}(e,()=>{t.isGranted()&&g()}),function(e,t){const r=()=>{"visible"===document.visibilityState&&t()},{stop:n}=(0,_.q)(e,document,"visibilitychange",r);xr.push(n);const i=(0,Ve.yb)(r,Cr);xr.push(()=>{(0,Ve.vG)(i)})}(e,()=>{h||f.setSessionState(e=>function(e){return je(e)||Fe(e)||!e.id||Ne(e),e}(e)).catch(a.Dx)}),function(e,t){const{stop:r}=(0,_.q)(e,window,"resume",t,{capture:!0});xr.push(r)}(e,()=>{f.setSessionState(t=>Ue(t,e)).catch(a.Dx)})),(0,I.Gk)("Session manager init metrics",{metrics:{duration:(0,u.vk)(r,(0,u.$S)())}}),{findSession:(e,t)=>d.find(e,t),findTrackedSession:(t,r)=>{const n=d.find(t,r);if(n&&"invalid"!==n.id&&(0,wr.$5)(n.id,e.sessionSampleRate)&&!((0,u.x3)()-n.createdAt>Or))return n},renewObservable:i,expireObservable:s,expire:E,updateSessionState:e=>{f.setSessionState(t=>Er(Er({},t),e)).catch(a.Dx)}};E()}function w(r){(0,Ve.DJ)(v);const n=De(r);if(n){const r=n-(0,u.x3)();v=(0,Ve.wg)(()=>{f.setSessionState(r=>je(r)?(t.isGranted()||delete r.anonymousId,Me(r,e)):r).catch(a.Dx)},r)}}function S(e,t){let{from:r,cookieValues:n}=t;const o=d.find(),a=void 0!==(null===o||void 0===o?void 0:o.id),l=void 0!==e.id,f=a&&l&&o.id!==e.id;if(a&&(!l||f)){var p;if((0,z.sr)(z.R9.SESSION_RENEWAL_DEBUG_CONTEXT))c={previousSession:o&&Er({},o),newState:Er({},e),from:r,cookieValues:n,cookies:Ae(Ke),locksAvailable:Boolean(null===(p=globalThis.navigator)||void 0===p?void 0:p.locks),cookieStoreAvailable:Boolean(globalThis.cookieStore)};h=!0,s.notify(),d.closeActive((0,u.$S)())}if(!l||a&&!f)a&&l&&!f&&(o.isReplayForced=!!e.forcedReplay);else{var g;if(h)return;d.add(A(e),(0,u.$S)()),i.notify((0,z.sr)(z.R9.SESSION_RENEWAL_DEBUG_CONTEXT)?{expire:c,renew:{previousSession:o&&Er({},o),newState:Er({},e),from:r,cookieValues:n,cookies:Ae(Ke),locksAvailable:Boolean(null===(g=globalThis.navigator)||void 0===g?void 0:g.locks),cookieStoreAvailable:Boolean(globalThis.cookieStore)}}:void 0)}}function E(){m();const r=Me(d.find(),e);t.isGranted()||delete r.anonymousId,S(r,{from:"expire"}),f.setSessionState(r=>(t.isGranted()||delete r.anonymousId,Me(r,e))).catch(a.Dx)}function A(e){var t;
1const r=null!==(t=Re(e))&&void 0!==t?t:(0,u.nx)();return e.id?{id:e.id,isReplayForced:!!e.forcedReplay,anonymousId:e.anonymousId,createdAt:r}:{id:"invalid",isReplayForced:!1,anonymousId:void 0,createdAt:r}}}function Ir(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Tr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rr(e,t,r){e.register(1,e=>{let{startTime:n}=e;const i=t.findTrackedSession(n);return i?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(r),!0).forEach(function(t){Tr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ir(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({session:{id:i.id},anonymous_id:i.anonymousId},r):mr.$O})}const Dr="datadog-synthetics-",Mr=`${Dr}public-id`,Fr=`${Dr}result-id`,jr=`${Dr}injects-rum`,Nr=`${Dr}rum-context`;function Br(){return!l.Wq&&Boolean(l.J2._DATADOG_SYNTHETICS_INJECTS_RUM||Oe(jr))}function Lr(){const e=function(){const e=l.J2._DATADOG_SYNTHETICS_RUM_CONTEXT;if(e)return e;const t=Oe(Nr);if(t)return(0,_e.XU)(decodeURIComponent(t));return{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||Oe(Mr),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||Oe(Fr)}}();return"object"===typeof(t=e)&&null!==t&&"string"===typeof t.test_id&&"string"===typeof t.result_id?e:void 0;var t}const Ur=mr.XP;function qr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Vr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qr(Object(r),!0).forEach(function(t){zr(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function zr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gr(e,t,r){let{ignoreInitIfSyntheticsWillInjectRum:i=!0,startDeflateWorker:s}=e;const c=new n.dX(500,e=>{(0,I.A2)("preStartRum buffer data lost",{count:e})}),f=gr();$(f,H,c);const d=vr();$(d,W,c);const h=yr();let g,m,v,y,b,_;$(h,K,c);const w=Ur(),S=t.observable.subscribe(C),E={};let A=!1;function C(){var e;if(A||!v||!y||!b||!_)return;let t;if(S.unsubscribe(),y.trackViewsManually){if(!g)return;t=g.options}const n=y.trackViewsManually?null===(e=g)||void 0===e?void 0:e.callback:void 0,i=r(y,b,m,t,_,w);A=!0,c.subscribe(e=>{e!==n&&e(i)}),c.unbuffer()}function k(e,r){const i=(0,br.d0)();if(i&&(e=function(e){var t,r;return Vr(Vr({},e),{},{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!==(t=e.defaultPrivacyLevel)&&void 0!==t?t:null===(r=(0,br.Y9)())||void 0===r?void 0:r.getPrivacyLevel()})}(e)),v=e,y)return void ie("DD_RUM",e);const c=Mt(e,r);c&&(c.compressIntakeRequests&&!i&&s&&(m=s(c,"Datadog RUM",p.l),!m)||(y=c,t.tryToInit(c.trackingConsent),t.onGrantedOnce(()=>{if(function(e,t){e.register(1,()=>t.isGranted()?mr.$O:mr.ug)}(w,t),_=(0,o.B)(I.a5)("browser-rum-sdk",c,w),l.Wq)return void P.Vy.warn("The RUM SDK is not supported in a web or service worker environment.");
1((0,br.d0)()?function(){let e={id:ee(),isReplayForced:!1,anonymousId:void 0,createdAt:(0,u.nx)()};return Promise.resolve({findSession:()=>e,findTrackedSession:()=>e,renewObservable:new n.cP,expireObservable:new n.cP,expire:p.l,updateSessionState:t=>{e=Er(Er({},e),t)}})}():(0,o.B)(Pr)(c,t)).then(t=>{t&&(b=t,Rr(w,b,{application:{id:c.applicationId}}),(0,I.Rr)(Ut(e)),C())}).catch(a.Dx)})))}const O={init(e,t,r){e?((0,z.Aq)(e.enableExperimentalFeatures),v=e,i&&Br()||(or(e.plugins,"onInit",{initConfiguration:e,publicApi:t}),e.remoteConfigurationId?nr(e,{user:d,context:f}).then(e=>{e&&k(e,r)}).catch(a.Dx):k(e,r))):P.Vy.error("Missing configuration")},get initConfiguration(){return v},getInternalContext:p.l,stopSession:p.l,addTiming(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,u.nx)();c.notify(r=>r.addTiming(e,t))},setLoadingTime:e=>{c.notify(t=>t.setLoadingTime(e))},startView(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,u.M8)();const r=r=>{r.startView(e,t)};c.notify(r),g||(g={options:e,callback:r},C())}
1,setViewName(e){c.notify(t=>t.setViewName(e))},setViewContext(e){c.notify(t=>t.setViewContext(e))},setViewContextProperty(e,t){c.notify(r=>r.setViewContextProperty(e,t))},getViewContext:()=>E,globalContext:f,userContext:d,accountContext:h,addAction(e){c.notify(t=>t.addAction(e))},startAction(e,t){const r=(0,u.M8)();c.notify(n=>n.startAction(e,t,r))},stopAction(e,t){const r=(0,u.M8)();c.notify(n=>n.stopAction(e,t,r))},startResource(e,t){const r=(0,u.M8)();c.notify(n=>n.startResource(e,t,r))},stopResource(e,t){const r=(0,u.M8)();c.notify(n=>n.stopResource(e,t,r))},addError(e){c.notify(t=>t.addError(e))},addFeatureFlagEvaluation(e,t){c.notify(r=>r.addFeatureFlagEvaluation(e,t))},startDurationVital(e,t){const r=(0,u.M8)();c.notify(n=>n.startDurationVital(e,t,r))},stopDurationVital(e,t){const r=(0,u.M8)();c.notify(n=>n.stopDurationVital(e,t,r))},addDurationVital(e){c.notify(t=>t.addDurationVital(e))},addOperationStepVital:(e,t,r,n)=>{c.notify(i=>i.addOperationStepVital((0,F.a)(e),t,(0,F.a)(r),(0,F.a)(n)))}};return O}var $r=r(6608),Wr=r(36430);const Hr="_dd_tab_id";let Kr;function Zr(e){const t=function(){var e;Kr||(Kr=null!==(e=function(){try{const e=sessionStorage.getItem(Hr);if(e)return e;const t=ee();return sessionStorage.setItem(Hr,t),t}catch(e){return}}())&&void 0!==e?e:ee());return Kr}();e.register(0,()=>({tab:{id:t}}))}var Yr=r(72649);function Jr(){let e;const t=window;if(t.Zone&&(e=(0,Yr.W)(t,"MutationObserver"),t.MutationObserver&&e===t.MutationObserver)){const r=new t.MutationObserver(p.l),n=(0,Yr.W)(r,"originalInstance");e=n&&n.constructor}return e||(e=t.MutationObserver),e}const Qr=class{constructor(){this.callbacks={}}notify(e,t){const r=this.callbacks[e];r&&r.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}},Xr=we.AQ;const en="xhr",tn="fetch",rn="other",nn={FETCH:tn,XHR:en},on=[["document",e=>"navigation"===e],[en,e=>"xmlhttprequest"===e],[tn,e=>"fetch"===e],["beacon",e=>"beacon"===e],["css",(e,t)=>/\.css$/i.test(t)],["js",(e,t)=>/\.js$/i.test(t)],["image",(e,t)=>["image","img","icon"].includes(e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)],["font",(e,t)=>null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)],["media",(e,t)=>["audio","video"].includes(e)||null!==/\.(mp3|mp4)$/i.exec(t)]];function sn(e){const t=e.name;if(!(0,c.AY)(t))return rn;const r=(0,c.L2)(t);for(const[n,i]of on)if(i(e.initiatorType,r))return n;return rn}function an(){for(let e=1;e<arguments.length;e+=1)if((e-1<0||arguments.length<=e-1?void 0:arguments[e-1])>(e<0||arguments.length<=e?void 0:arguments[e]))return!1;return!0}function un(e){if(!function(e){const t=an(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd),r=!function(e){return e.redirectEnd>e.startTime}(e)||an(e.startTime,e.redirectStart,e.redirectEnd,e.fetchStart);return t&&r}(e))return;const{startTime:t,fetchStart:r,workerStart:n,redirectStart:i,redirectEnd:o,domainLookupStart:s,domainLookupEnd:a,connectStart:u,secureConnectionStart:c,connectEnd:l,requestStart:f,responseStart:p,responseEnd:d}=e,h={download:cn(t,p,d),first_byte:cn(t,f,p)};return 0<n&&n<r&&(h.worker=cn(t,n,r)),r<l&&(h.connect=cn(t,u,l),u<=c&&c<=l&&(h.ssl=cn(t,c,l))),r<a&&(h.dns=cn(t,s,a)),t<o&&(h.redirect=cn(t,i,o)),h}function cn(e,t,r){if(e<=t&&t<=r)return{duration:(0,u.Zj)((0,u.vk)(t,r)),start:(0,u.Zj)((0,u.vk)(e,t))}}function ln(e){return""===e.nextHopProtocol?void 0:e.nextHopProtocol}function fn(e){return""===e.deliveryType?"other":e.deliveryType}function pn(e){if(e.startTime<e.responseStart){const{encodedBodySize:t,decodedBodySize:r,transferSize:n}=e;return{size:r,encoded_body_size:t,decoded_body_size:r,transfer_size:n}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function dn(e){return e&&(!function(e){return ht.Ih.every(t=>e.includes(t))}(e)||(0,z.sr)(z.R9.TRACK_INTAKE_REQUESTS))}const hn=/data:(.+)?(;base64)?,/g;function gn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24e3;if(e.length<=t||!e.startsWith("data:"))return e;const r=e.substring(0,100).match(hn);return r?`${r[0]}[...]`:e}function mn(){return vn(63)}function vn(e){const t=crypto.getRandomValues(new Uint32Array(2));let r=BigInt(t[0])+(BigInt(t[1])<<32n);return 63===e&&(r&=0x7fffffffffffffffn),r}function yn(e){return e.toString(16).padStart(16,"0")}function bn(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function _n(e,t,r,n,i,o){const s=r.findTrackedSession();if(!s)return;const a=e.allowedTracingUrls.find(e=>lt([e.match],t.url,!0));if(!a)return;const u=(0,wr.$5)(s.id,(0,wr.it)(e.sessionSampleRate,e.traceSampleRate));(u||e.traceContextInjection===At.ALL)&&(t.traceSampled=u,t.traceId=vn(64),t.spanId=mn(),o(function(e,t,r,n,i,o,s,a){const u={};if(i.forEach(n=>{switch(n){case"datadog":Object.assign(u,{"x-datadog-origin":"rum","x-datadog-parent-id":t.toString(),"x-datadog-sampling-priority":r?"1":"0","x-datadog-trace-id":e.toString()});break;case"tracecontext":Object.assign(u,{traceparent:`00-0000000000000000${yn(e)}-${yn(t)}-0${r?"1":"0"}`,tracestate:`dd=s:${r?"1":"0"};o:rum`});break;case"b3":Object.assign(u,{b3:`${yn(e)}-${yn(t)}-${r?"1":"0"}`});break;case"b3multi":Object.assign(u,{"X-B3-TraceId":yn(e),"X-B3-SpanId":yn(t),"X-B3-Sampled":r?"1":"0"})}}),a.propagateTraceBaggage){const e={"session.id":n},t=o.getContext().id;"string"===typeof t&&(e["user.id"]=t);const r=s.getContext().id;"string"===typeof r&&(e["account.id"]=r);const i=Object.entries(e).map(e=>{let[t,r]=e;return`${t}=${encodeURIComponent(r)}`}).join(",");i&&(u.baggage=i)}return u}(t.traceId,t.spanId,t.traceSampled,s.id,a.propagatorTypes,n,i,e)))}const wn=32*f._m;function Sn(e,t){const r=function(e){let t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];"POST"===e.method?t=function(e){if(!e||"string"!==typeof e)return;const t=(0,_e.XU)(e);if(!t)return;return{query:t.query,operationName:t.operationName,variables:t.variables?JSON.stringify(t.variables):void 0}}(e.requestBody):"GET"===e.method&&(t=function(e){const t=(0,c.c$)(e).searchParams,r=t.get("variables"),n=r&&void 0!==(0,_e.XU)(r)?r:void 0;return{query:t.get("query")||void 0,operationName:t.get("operationName")||void 0,variables:n}}(e.url));if(!t)return;return function(e,t){let r,n,i;if(e.query){const i=e.query.trim();r=function(e){var t;return null===(t=e.match(/^\s*(query|mutation|subscription)\b/i))||void 0===t?void 0:t[1]}(i),t&&(n=ne(i,wn,"..."))}e.variables&&(i=e.variables);return{operationType:r,operationName:e.operationName,variables:i,payload:n}}(t,r)}(e,t.trackPayload);if(r){if(t.trackResponseErrors&&e.responseBody){const t=function(e){const t=(0,_e.XU)(e);if(!t||"object"!==typeof t)return;const r=t;if(!(0,xt.EI)(r.errors))return;return r.errors.map(e=>{var t;return{message:e.message,path:e.path,locations:e.locations,code:null===(t=e.extensions)||void 0===t?void 0:t.code}})}(e.responseBody);t&&(r.error_count=t.length,r.errors=t)}return r}}function En(e,t){return t.allowedGraphQlUrls.find(t=>lt([t.match],e))}function An(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Cn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?An(Object(r),!0).forEach(function(t){kn(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):An(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function kn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let On=1;function xn(e,t,r,n,i,o){const s=function(e,t,r,n){return{clearTracingIfNeeded:bn,traceFetch:i=>_n(e,i,t,r,n,e=>{var t;if(i.input instanceof Request&&(null===(t=i.init)||void 0===t||!t.headers))i.input=new Request(i.input),Object.keys(e).forEach(t=>{i.input.headers.append(t,e[t])});else{i.init=(0,_e.yG)(i.init);const t=[];i.init.headers instanceof Headers?i.init.headers.forEach((e,r)=>{t.push([r,e])}):Array.isArray(i.init.headers)?i.init.headers.forEach(e=>{t.push(e)}):i.init.headers&&Object.keys(i.init.headers).forEach(e=>{t.push([e,i.init.headers[e]])}),i.init.headers=t.concat((0,Ie.WP)(e))}}),traceXhr:(i,o)=>_n(e,i,t,r,n,e=>{try{Object.keys(e).forEach(t=>{o.setRequestHeader(t,e[t])})}catch(t){}})}}(t,r,n,i);!function(e,t,r,n){const i=[];i.push(k(t).subscribe(e=>{"start"===e.state&&dn(e.url)&&(r.traceXhr(e,e.xhr),Pn(e))})),i.push(n.subscribe(t=>{let{data:n,type:i}=t;if(2!==i)return;const o=n;if(dn(o.url))switch(o.state){case"start":Pn(o),e.notify(7,{requestIndex:o.requestIndex,url:o.url});break;case"complete":r.clearTracingIfNeeded(o),e.notify(8,Cn(Cn({},o),{},{type:nn.XHR,isAbortedOnStart:!1}))}}))}(e,t,s,o),function(e,t,r,n){const i=[];i.push(b({responseBodyAction:e=>{var r;return null!==(r=En(e.url,t))&&void 0!==r&&r.trackResponseErrors?1:0}}).subscribe(e=>{"start"===e.state&&dn(e.url)&&(r.traceFetch(e),Pn(e))})),i.push(n.subscribe(t=>{var n;let{data:i,type:o}=t;if(1!==o)return;const s=i;if(dn(s.url))switch(s.state){case"start":Pn(s),e.notify(7,{requestIndex:s.requestIndex,url:s.url});break;case"resolve":r.clearTracingIfNeeded(s),e.notify(8,Cn(Cn({},s),{},{duration:(0,u.vk)(s.startClocks.timeStamp,(0,u.nx)()),type:nn.FETCH,requestBody:null===(n=s.init)||void 0===n?void 0:n.body}))}}))}(e,t,s,o)}function Pn(e){e.requestIndex||(e.requestIndex=On++)}function In(e){return(0,be.Et)(e)&&e<0?void 0:e}function Tn(e){return e.nodeType===Node.TEXT_NODE}function Rn(e){return e.nodeType===Node.ELEMENT_NODE}function Dn(e){return Rn(e)&&Boolean(e.shadowRoot)}function Mn(e){const t=e;return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&Rn(t.host)}function Fn(e,t){let r=e.firstChild;for(;r;)t(r),r=r.nextSibling;Dn(e)&&t(e.shadowRoot)}function jn(e){return Mn(e)?e.host:e.parentNode}function Nn(e){if(e.parentElement)return e.parentElement;const t=e.parentNode;return t&&Mn(t)?t.host:null}var Bn;function Ln(e,t){return new n.cP(r=>{const n=e=>{const t=function(e){return e.filter(e=>!function(e){return e.entryType===Bn.RESOURCE&&(!dn(e.name)||!function(e){return e.duration>=0}(e))}(e))}(e);t.length>0&&r.notify(t)};let i,o=!0;const s=new PerformanceObserver((0,a.dm)(e=>{o?i=(0,Ve.wg)(()=>n(e.getEntries())):n(e.getEntries())}));return s.observe(t),o=!1,function(e){!Un&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(Un=(0,_.q)(e,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()}))}(e),()=>{s.disconnect(),(0,Ve.DJ)(i)}})}let Un;function qn(e){return PerformanceObserver.supportedEntryTypes.includes(e)}!function(e){e.EVENT="event",e.FIRST_INPUT="first-input",e.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",e.LAYOUT_SHIFT="layout-shift",e.LONG_TASK="longtask",e.LONG_ANIMATION_FRAME="long-animation-frame",e.NAVIGATION="navigation",e.PAINT="paint",e.RESOURCE="resource",e.VISIBILITY_STATE="visibility-state"}(Bn||(Bn={}));const Vn="data-dd-excluded-activity-mutations";function zn(e,t,r,n,i,s){const c=(0,o.B)(Gn)(e,t,r,n);let l,f=!1;const p=(0,Ve.wg)((0,a.dm)(()=>m({hadActivity:!1})),100),d=void 0!==s?(0,Ve.wg)((0,a.dm)(()=>m({hadActivity:!0,end:(0,u.nx)()})),s):void 0,h=c.subscribe(e=>{let{isBusy:t}=e;(0,Ve.DJ)(p),(0,Ve.DJ)(l);
1const r=(0,u.nx)();t||(l=(0,Ve.wg)((0,a.dm)(()=>m({hadActivity:!0,end:r})),100))}),g=()=>{f=!0,(0,Ve.DJ)(p),(0,Ve.DJ)(l),(0,Ve.DJ)(d),h.unsubscribe()};function m(e){f||(g(),i(e))}return{stop:g}}function Gn(e,t,r,i){return new n.cP(n=>{const o=[];let s,a=0;return o.push(t.subscribe(e=>{e.every(Wn)||u()}),r.subscribe(u),Ln(i,{type:Bn.RESOURCE}).subscribe(e=>{e.some(e=>!$n(i,e.name))&&u()}),e.subscribe(7,e=>{$n(i,e.url)||(void 0===s&&(s=e.requestIndex),a+=1,u())}),e.subscribe(8,e=>{$n(i,e.url)||void 0===s||e.requestIndex<s||(a-=1,u())})),()=>{o.forEach(e=>e.unsubscribe())};function u(){n.notify({isBusy:a>0})}})}function $n(e,t){return lt(e.excludedActivityUrls,t)}function Wn(e){const t="characterData"===e.type?e.target.parentElement:e.target;return Boolean(t&&Rn(t)&&t.matches(`[${Vn}], [${Vn}] *`))}const Hn="data-dd-action-name",Kn="Masked Element",Zn=[Hn,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],Yn=[ni,ti],Jn=[ni,function(e){if("BODY"===e.tagName)return;const t=e.classList;for(let r=0;r<t.length;r+=1){const n=t[r];if(!ei(n))return`${CSS.escape(e.tagName)}.${CSS.escape(n)}`}},ri];function Qn(e,t){if(!e.isConnected)return;const r=function(e){const t=[];let r=e;for(;r;){const e=r.getRootNode();if(t.push({rootNode:e,target:r}),!Mn(e))break;r=e.host}return t.reverse()}(e),n=[];for(const{rootNode:i,target:o}of r){const e=Xn(o,i,t);if(!e)return;n.push(e)}return n.join("::shadow ")}function Xn(e,t,r){let n,i=e;for(;i&&"HTML"!==i.nodeName;){const e=ai(i,t,Yn,ui,r,n);if(e)return li(e,n);n=li(ai(i,t,Jn,ci,r,n)||oi(i),n),i=i.parentElement}return n}function ei(e){return/[0-9]/.test(e)}function ti(e){if(e.id&&!ei(e.id))return`#${CSS.escape(e.id)}`}function ri(e){return CSS.escape(e.tagName)}function ni(e,t){if(t){const e=r(t);if(e)return e}for(const n of Zn){const e=r(n);if(e)return e}function r(t){if(e.hasAttribute(t))return`${CSS.escape(e.tagName)}${ii(t,e.getAttribute(t))}`}}function ii(e,t){return`[${e}="${CSS.escape(t)}"]`}function oi(e){const t=si(e);return`${CSS.escape(e.tagName)}:nth-of-type(${t})`}function si(e){let t=e.parentNode.firstElementChild,r=1;for(;t&&t!==e;)t.tagName===e.tagName&&(r+=1),t=t.nextElementSibling;return r}function ai(e,t,r,n,i,o){for(const s of r){const r=s(e,i);if(r&&n(e,t,r,o))return r}}function ui(e,t,r,n){return 1===t.querySelectorAll(li(r,n)).length}function ci(e,t,r,n){let i;if(void 0===n)i=e=>e.matches(r);else{const e=li(`${r}:scope`,n);i=t=>null!==t.querySelector(e)}let o=e.previousElementSibling;for(;o;){if(i(o))return!1;o=o.previousElementSibling}for(o=e.nextElementSibling;o;){if(i(o))return!1;o=o.nextElementSibling}return!0}function li(e,t){return t?`${e}>${t}`:e}const fi={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:Et.ALLOW,MASK:Et.MASK,MASK_USER_INPUT:Et.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:Et.MASK_UNLESS_ALLOWLISTED},pi="data-dd-privacy",di="hidden",hi="***",gi="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",mi={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function vi(e){return`[${pi}="${e}"], .dd-privacy-${e}`}function yi(e,t,r){if(r&&r.has(e))return r.get(e);const n=jn(e),i=n?yi(n,t,r):t,o=bi(_i(e),i);return r&&r.set(e,o),o}function bi(e,t){switch(t){case fi.HIDDEN:case fi.IGNORE:return t}switch(e){case fi.ALLOW:case fi.MASK:case fi.MASK_USER_INPUT:case fi.MASK_UNLESS_ALLOWLISTED:case fi.HIDDEN:case fi.IGNORE:return e;default:return t}}function _i(e){if(Rn(e)){if("BASE"===e.tagName)return fi.ALLOW;if("INPUT"===e.tagName){const t=e;if("password"===t.type||"email"===t.type||"tel"===t.type)return fi.MASK;if("hidden"===t.type)return fi.MASK;const r=t.getAttribute("autocomplete");if(r&&(r.startsWith("cc-")||r.endsWith("-password")))return fi.MASK}return e.matches(vi(fi.HIDDEN))?fi.HIDDEN:e.matches(vi(fi.MASK))?fi.MASK:e.matches(vi(fi.MASK_UNLESS_ALLOWLISTED))?fi.MASK_UNLESS_ALLOWLISTED:e.matches(vi(fi.MASK_USER_INPUT))?fi.MASK_USER_INPUT:e.matches(vi(fi.ALLOW))?fi.ALLOW:function(e){if("SCRIPT"===e.nodeName)return!0;if("LINK"===e.nodeName){const e=t("rel");return/preload|prefetch/i.test(e)&&"script"===t("as")||"shortcut icon"===e||"icon"===e}if("META"===e.nodeName){const r=t("name"),n=t("rel"),i=t("property");return/^msapplication-tile(image|color)$/.test(r)||"application-name"===r||"icon"===n||"apple-touch-icon"===n||"shortcut icon"===n||"keywords"===r||"description"===r||/^(og|twitter|fb):/.test(i)||/^(og|twitter):/.test(r)||"pinterest"===r||"robots"===r||"googlebot"===r||"b
1ingbot"===r||e.hasAttribute("http-equiv")||"author"===r||"generator"===r||"framework"===r||"publisher"===r||"progid"===r||/^article:/.test(i)||/^product:/.test(i)||"google-site-verification"===r||"yandex-verification"===r||"csrf-token"===r||"p:domain_verify"===r||"verify-v1"===r||"verification"===r||"shopify-checkout-api-token"===r}function t(t){return(e.getAttribute(t)||"").toLowerCase()}return!1}(e)?fi.IGNORE:void 0}}function wi(e,t){switch(t){case fi.MASK:case fi.HIDDEN:case fi.IGNORE:return!0;case fi.MASK_UNLESS_ALLOWLISTED:return Tn(e)?!!Ei(e.parentNode)||!ki(e.textContent||""):Ei(e);case fi.MASK_USER_INPUT:return Tn(e)?Ei(e.parentNode):Ei(e);default:return!1}}function Si(e,t,r,n,i){if(n!==fi.MASK&&n!==fi.MASK_UNLESS_ALLOWLISTED)return!1;if(t===pi||Zn.includes(t)||t===i.actionNameAttribute)return!1;switch(t){case"title":case"alt":case"placeholder":case"aria-label":case"name":return!0}return"A"===e&&"href"===t||("IFRAME"===e&&"srcdoc"===t||(!(!r||!t.startsWith("data-"))||!("IMG"!==e&&"SOURCE"!==e||"src"!==t&&"srcset"!==t)))}function Ei(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;const t=e;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!mi[t.tagName]}function Ai(e){return e.replace(/\S/g,"x")}function Ci(e,t){var r;const n=null===(r=e.parentElement)||void 0===r?void 0:r.tagName;let i=e.textContent||"";if("HEAD"===n&&!i.trim())return;const o=t;if("SCRIPT"===n)i=hi;else if(o===fi.HIDDEN)i=hi;else if(wi(e,o))if("DATALIST"===n||"SELECT"===n||"OPTGROUP"===n){if(!i.trim())return}else i="OPTION"===n?hi:Ai(i);return i}function ki(e){var t;return!e||!e.trim()||((null===(t=window.$DD_ALLOW)||void 0===t?void 0:t.has(e.toLocaleLowerCase()))||!1)}function Oi(e){let{lifeCycle:t,isChildEvent:r,onChange:n=p.l}=e;const i={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},o=t.subscribe(13,e=>{var t;if("view"!==e.type&&"vital"!==e.type&&r(e))switch(e.type){case oe.ERROR:i.errorCount+=1,n();break;case oe.ACTION:i.actionCount+=1,e.action.frustration&&(i.frustrationCount+=e.action.frustration.type.length),n();break;case oe.LONG_TASK:i.longTaskCount+=1,n();break;case oe.RESOURCE:null!==(t=e._dd)&&void 0!==t&&t.discarded||(i.resourceCount+=1,n())}});return{stop:()=>{o.unsubscribe()},eventCounts:i}}function xi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Pi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xi(Object(r),!0).forEach(function(t){Ii(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xi(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ii(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ti=5*u.iW;function Ri(e){const t=(0,_r.qj)({expireDelay:Ti}),r=new Map;function n(e){var t;r.delete(e.key),null===(t=e.eventCounts)||void 0===t||t.stop()}function i(){r.forEach(e=>{n(e)}),t.reset()}const o=e.subscribe(10,i);return{start:function(i,o,s,a){const u=ee(),c=t.add(u,o.relative),l=r.get(i);l&&n(l);const f={id:u,key:i,startClocks:o,data:s,historyEntry:c,eventCounts:null!==a&&void 0!==a&&a.isChildEvent?Oi({lifeCycle:e,isChildEvent:a.isChildEvent(u)}):void 0};return r.set(i,f),f},stop:function(e,t,i){var o;const s=r.get(e);if(!s)return;const a=i?(0,V.kg)(s.data,i):s.data;s.historyEntry.close(t.relative);const c=(0,u.vk)(s.startClocks.timeStamp,t.timeStamp),l=null===(o=s.eventCounts)||void 0===o?void 0:o.eventCounts;return n(s),Pi(Pi({},a),{},{id:s.id,startClocks:s.startClocks,duration:c,counts:l})},discard:function(e){var t;const i=r.get(e);if(!i)return;const o=null===(t=i.eventCounts)||void 0===t?void 0:t.eventCounts;return n(i),i.historyEntry.remove(),Pi(Pi({},i.data),{},{id:i.id,startClocks:i.startClocks,counts:o})},getCounts:function(e){var t;return null===(t=r.get(e))||void 0===t||null===(t=t.eventCounts)||void 0===t?void 0:t.eventCounts},findId:function(e){return t.findAll(e)},stopAll:function(){o.unsubscribe(),i(),t.stop()}}}const Di=["HTML","BODY"],Mi=2*f._m,Fi=Zn.concat(["role","type","disabled","readonly","tabindex","draggable","target","rel","download","method","action","enctype","autocomplete"]);function ji(e,t){const r=ri(e),n=ti(e),i=function(e){return Array.from(e.classList).filter(e=>!ei(e)).sort().map(e=>`.${CSS.escape(e)}`).join("")}(e),o=function(e,t){const r=[],n=Array.from(e.attributes);for(const i of n)t.includes(i.name)&&r.push(ii(i.name,i.value));return r.sort().join("")}(e,t),s=function(e){const t=Array.from(e.parentNode.children);if(t.length<=1)return"";const r=t.filter(t=>t.tagName===e.tagName),n=t.indexOf(e),i=si(e);return`:nth-child(${n+1})${r.length>1?`:nth-of-type(${i})`:""}`}(e);return`${r}${n||""}${o}${i}${s};`}const Ni=u.OY;function Bi(e,t){const r=[];let n,i=0;function o(e){e.stopObservable.subscribe(s),r.push(e),(0,Ve.DJ)(n),n=(0,Ve.wg)(a,Ni)}function s(){1===i&&r.every(e=>e.isStopped())&&(i=2,t(r))}function a(){(0,Ve.DJ)(n),0===i&&(i=1,s())}return o(e),{tryAppend:e=>0===i&&(r.length>0&&!function(e,t){return e.target===t.target&&(r=e,n=t,Math.sqrt(Math.pow(r.clientX-n.clientX,2)+Math.pow(r.clientY-n.clientY,2))<=100)&&e.timeStamp-t.timeStamp<=Ni;var r,n}(r[r.length-1].event,e.event)?(a(),!1):(o(e),!0)),stop:()=>{a()}}}function Li(e,t){const r=function(e,t){let r=e;for(;r;){if(r.matches(t))return r;r=Nn(r)}return null}(e,`[${t}]`);
1if(!r)return;return Gi(zi(r.getAttribute(t).trim()))}const Ui=[(e,t,r)=>{if("labels"in e&&e.labels&&e.labels.length>0)return Wi(e.labels[0],t,r)},e=>{if("INPUT"===e.nodeName){const t=e,r=t.getAttribute("type");if("button"===r||"submit"===r||"reset"===r)return{name:t.value,nameSource:"text_content"}}},(e,t,r)=>{if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return Wi(e,t,r)},(e,t,r)=>$i(e,"aria-label",t,r),(e,t,r)=>{const n=e.getAttribute("aria-labelledby");if(n)return{name:n.split(/\s+/).map(t=>function(e,t){const r=e.getRootNode();if(r instanceof ShadowRoot){const e=r.getElementById(t);if(e)return e}return e.ownerDocument?e.ownerDocument.getElementById(t):null}(e,t)).filter(e=>Boolean(e)).map(e=>Hi(e,t,r)).join(" "),nameSource:"text_content"}},(e,t,r)=>$i(e,"alt",t,r),(e,t,r)=>$i(e,"name",t,r),(e,t,r)=>$i(e,"title",t,r),(e,t,r)=>$i(e,"placeholder",t,r),(e,t,r)=>{if("options"in e&&e.options.length>0)return Wi(e.options[0],t,r)}],qi=[(e,t,r)=>Wi(e,t,r)];function Vi(e,t,r,n){let i=e,o=0;for(;o<=10&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(const e of t){const t=e(i,r,n);if(t){const{name:e,nameSource:r}=t,n=e&&e.trim();if(n)return{name:Gi(zi(n)),nameSource:r}}}if("FORM"===i.nodeName)break;i=Nn(i),o+=1}}function zi(e){return e.replace(/\s+/g," ")}function Gi(e){return e.length>100?`${ne(e,100)} [...]`:e}function $i(e,t,r,n){const{enablePrivacyForActionName:i,defaultPrivacyLevel:o}=r;let s=e.getAttribute(t);if(s&&i){const i=yi(e,o,n);Si(e.tagName,t,s,i,r)&&(u=Kn,s=ki(a=s)?a:u||Ai(a))}else s||(s="");var a,u;return{name:s,nameSource:"standard_attribute"}}function Wi(e,t,r){return{name:Hi(e,t,r)||"",nameSource:"text_content"}}function Hi(e,t,r){if(e.isContentEditable)return;const{enablePrivacyForActionName:n,actionNameAttribute:i,defaultPrivacyLevel:o}=t,s=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(e){const t=yi(e,o,r);if(n&&t&&wi(e,t))return NodeFilter.FILTER_REJECT;if(Rn(e)){if(e.hasAttribute(Hn)||i&&e.hasAttribute(i))return NodeFilter.FILTER_REJECT;const t=getComputedStyle(e);if("visible"!==t.visibility||"none"===t.display||t.contentVisibility&&"visible"!==t.contentVisibility)return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT});let a="";for(;s.nextNode();){const e=s.currentNode;Rn(e)?("BR"===e.nodeName||"P"===e.nodeName||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(e).display))&&(a+=" "):a+=e.textContent||""}return a.replace(/\s+/g," ").trim()}function Ki(){const e=window.getSelection();return!e||e.isCollapsed}function Zi(e){return e.target instanceof Element&&!1!==e.isPrimary}function Yi(e,t){if(function(e){if(e.some(e=>e.getUserActivity().selection||e.getUserActivity().scroll))return!1;for(let t=0;t<e.length-2;t+=1)if(e[t+3-1].event.timeStamp-e[t].event.timeStamp<=u.OY)return!0;return!1}(e))return t.addFrustration(de),e.some(Ji)&&t.addFrustration(ge),t.hasError&&t.addFrustration(he),{isRage:!0};const r=e.some(e=>e.getUserActivity().selection);return e.forEach(e=>{e.hasError&&e.addFrustration(he),Ji(e)&&!r&&e.addFrustration(ge)}),{isRage:!1}}function Ji(e){if(e.hasPageActivity||e.getUserActivity().input||e.getUserActivity().scroll)return!1;let t=e.event.target;return"LABEL"===t.tagName&&t.hasAttribute("for")&&(t=document.getElementById(t.getAttribute("for"))),!t||!t.matches('input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *')}const Qi=10*u.OY,Xi=new Map;function eo(e,t){Xi.set(e,t),Xi.forEach((e,t)=>{(0,u.vk)(t,(0,u.$S)())>Qi&&Xi.delete(t)})}function to(e){return t=>void 0!==t.action&&void 0!==t.action.id&&t.action.id.includes(e)}function ro(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function no(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?ro(Object(r),!0).forEach(function(t){io(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ro(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function io(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oo(e,t,r,i){const o=Ri(e),s=new n.cP;let a;e.subscribe(5,f),e.subscribe(11,f);const{stop:c}=function(e,t){let r,n,{onPointerDown:i,onPointerUp:o}=t,s={selection:!1,input:!1,scroll:!1};const a=[(0,_.q)(e,window,"pointerdown",e=>{Zi(e)&&(r=Ki(),s={selection:!1,input:!1,scroll:!1},n=i(e))},{capture:!0}),(0,_.q)(e,window,"selectionchange",()=>{r&&Ki()||(s.selection=!0)},{capture:!0}),(0,_.q)(e,window,"scroll",()=>{s.scroll=!0},{capture:!0,passive:!0}),(0,_.q)(e,window,"pointerup",e=>{if(Zi(e)&&n){const t=s;o(n,e,()=>t),n=void 0}},{capture:!0}),(0,_.q)(e,window,"input",()=>{s.input=!0},{capture:!0})];return{stop:()=>{a.forEach(e=>e.stop())}}}(i,{onPointerDown:n=>function(e,t,r,n,i){let o;o=e.enablePrivacyForActionName?yi(so(n),e.defaultPrivacyLevel):fi.ALLOW;if(o===fi.HIDDEN)return;const s=function(e,t,r){const n=so(e),i=n.getBoundingClientRect(),o=Qn(n,r.actionNameAttribute),s=function(e,t){const r=e.filter(e=>e instanceof Element&&!Di.includes(e.tagName));if(0===r.length)return"";const n=t?[t].concat(Fi):Fi;let i="";for(const o of r)if(i+=ji(o,n),i.length>=Mi)return ne(i,Mi);return i}(e.composedPath(),r.actionNameAttribute);o&&eo(e.timeStamp,o);const{name:a,nameSource:u}=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fi.ALLOW;const n=new Map,{actionNameAttribute:i}=t,o=Li(e,Hn)||i&&Li(e,i);return o?{name:o,nameSource:"custom_attribute"}:r===fi.MASK?{name:Kn,nameSource:"mask_placeholder"}:Vi(e,Ui,t,n)||Vi(e,qi,t,n)||{name:"",nameSource:"blank"}}(n,r,t);return{type:fe,target:{width:Math.round(i.width),height:Math.round(i.height),selector:o,composedPathSelector:s||void 0},position:{x:Math.round(e.clientX-i.left),y:Math.round(e.clientY-i.top)},name:a,nameSource:u}}(n,o,e);let a=!1;return zn(t,r,i,e,e=>{a=e.hadActivity},100),{clickActionBase:s,hadActivityOnPointerDown:()=>a}}(i,e,t,n,r),onPointerUp:(n,a,c)=>{let{clickActionBase:f,hadActivityOnPointerDown:p}=n;!function(e,t,r,n,i,o,s,a,c,l,f){var p;const d=ao(t,i,l,a,c);s(d);const h=null===a||void 0===a||null===(p=a.target)||void 0===p?void 0:p.selector;h&&eo(c.timeStamp,h);const{stop:g}=zn(t,r,n,e,e=>{e.hadActivity&&e.end<d.startClocks.timeStamp?d.discard():e.hadActivity?d.stop(e.end):f()?d.stop(d.startClocks.timeStamp):d.stop()},Qi),m=t.subscribe(5,e=>{let{endClocks:t}=e;d.stop(t.timeStamp)}),v=t.subscribe(11,()=>{d.stop((0,u.nx)())}),y=o.subscribe(()=>{d.stop()});d.stopObservable.subscribe(()=>{v.unsubscribe(),m.unsubscribe(),g(),y.unsubscribe()})}(i,e,t,r,o,s,l,f,a,c,p)}});return{stop:()=>{f(),s.notify(),c(),o.stopAll()},findActionId:o.findId};function l(e){if(!a||!a.tryAppend(e)){const t=e.clone();a=Bi(e,e=>{!function(e,t){const{isRage:r}=Yi(e,t);r?(e.forEach(e=>e.discard()),t.stop((0,u.nx)()),t.validate(e.map(e=>e.event))):(t.discard(),e.forEach(e=>e.validate()))}(e,t),a=void 0})}}function f(){a&&a.stop()}}function so(e){if(e.composed&&Dn(e.target)&&"function"===typeof e.composedPath){const t=e.composedPath();if(t.length>0&&t[0]instanceof Element)return t[0]}return e.target}function ao(e,t,r,i,o){const s=ee(),a=(0,u.FR)(o.timeStamp),c=t.start(s,a,i,{isChildEvent:to});e.notify(15,c);let l,f=0;const p=[],d=new n.cP;function h(e){0===f&&(f=1,l=e?t.stop(s,(0,u.jR)(e)):t.discard(s),d.notify())}return{event:o,stop:h,stopObservable:d,get hasError(){var e,r;const n=null!==(e=null===(r=l)||void 0===r?void 0:r.counts)&&void 0!==e?e:t.getCounts(s);return!!n&&n.errorCount>0},get hasPageActivity(){return l&&"duration"in l},getUserActivity:r,addFrustration:e=>{p.push(e)},get startClocks(){return a},isStopped:()=>1===f||2===f,clone:()=>ao(e,t,r,i,o),validate:t=>{if(h(),1!==f)return;if(!l)return;const r=no(no({frustrationTypes:p,events:null!==t&&void 0!==t?t:[o],event:o},l),{},{counts:l.counts});e.notify(0,r),f=2},discard:()=>{h(),f=2}}}function uo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function co(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?uo(Object(r),!0).forEach(function(t){lo(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function lo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function po(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fo(Object(r),!0).forEach(function(t){ho(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ho(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function go(e,t,r,n,i){const{unsubscribe:o}=e.subscribe(0,t=>{e.notify(12,mo(t))}),s=p.l;let a;i.trackUserInteractions&&(a=oo(e,r,n,i));const c=function(e,t){const r=Ri(e);return{addAction:function(e){t(co({id:ee(),frustrationTypes:[]},e))},startAction:function(t){var n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,u.M8)();const s=null!==(n=i.actionKey)&&void 0!==n?n:t,a=r.start(s,o,co({name:t},i),{isChildEvent:to});e.notify(15,a)},stopAction:function(e){var n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,u.M8)();const s=null!==(n=i.actionKey)&&void 0!==n?n:e,a=r.stop(s,o,i);if(!a)return;const c=[];a.counts&&a.counts.errorCount>0&&c.push(he);const l=co(co({},a),{},{type:a.type||pe,frustrationTypes:c});t(l)},findActionId:r.findId,stop:r.stopAll}}(e,t=>{e.notify(12,mo(t))}),l={findActionId:e=>{var t,r;const n=c.findActionId(e),i=null!==(t=null===(r=a)||void 0===r?void 0:r.findActionId(e))&&void 0!==t?t:[];return n.concat(i)}};return t.register(0,e=>{let{startTime:t,eventType:r}=e;if(r!==oe.ERROR&&r!==oe.RESOURCE&&r!==oe.LONG_TASK)return mr.$O;const n=r===oe.LONG_TASK?(0,u.Gw)(t,1):t,i=l.findActionId(n);return i.length?{type:r,action:{id:i}}:mr.$O}),t.register(1,e=>{let{startTime:t}=e;return{action:{id:l.findActionId(t)}}}),{addAction:c.addAction,startAction:c.startAction,stopAction:c.stopAction,actionContexts:l,stop:()=>{var e;o(),s(),c.stop(),null===(e=a)||void 0===e||e.stop()}}}function mo(e){var t,r,n,i;const o=function(e){return"events"in e}(e),s=In((0,u.Zj)(e.duration));return{rawRumEvent:po({type:oe.ACTION,date:e.startClocks.timeStamp,action:po(po(po({id:e.id,target:{name:e.name},type:e.type},void 0!==s&&{loading_time:s}),e.counts&&{error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}}),{},{frustration:{type:e.frustrationTypes}})},o?{_dd:{action:{target:{selector:(null===(t=e.target)||void 0===t?void 0:t.selector)||void 0,width:(null===(r=e.target)||void 0===r?void 0:r.width)||void 0,height:(null===(n=e.target)||void 0===n?void 0:n.height)||void 0,composed_path_selector:null===(i=e.target)||void 0===i?void 0:i.composedPathSelector},position:e.position,name_source:e.nameSource}}}:{context:e.context}),duration:e.duration,startClocks:e.startClocks,domainContext:o?{events:e.events}:{handlingStack:e.handlingStack}}}function vo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function yo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const bo="intervention",_o="csp_violation";function wo(e,t){const r=[];t.includes(_o)&&r.push(function(e){return new n.cP(t=>{const{stop:r}=(0,_.q)(e,document,"securitypolicyviolation",e=>{t.notify(function(e){const t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return So({type:e.effectiveDirective,message:`${_o}: ${t}
1`,originalError:e,csp:{disposition:e.disposition},stack:Eo(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${ne(e.originalPolicy,100,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(e))});return r})}(e));const i=t.filter(e=>e!==_o);return i.length&&r.push(function(e){return new n.cP(t=>{if(!window.ReportingObserver)return;const r=(0,a.dm)((e,r)=>e.forEach(e=>t.notify(function(e){const{type:t,body:r}=e;return So({type:r.id,message:`${t}: ${r.message}`,originalError:e,stack:Eo(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)})}(e)))),n=new window.ReportingObserver(r,{types:e,buffered:!0});return n.observe(),()=>{n.disconnect()}})}(i)),(0,n.Fx)(...r)}function So(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vo(Object(r),!0).forEach(function(t){yo(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({startClocks:(0,u.M8)(),source:D.g.REPORT,handling:"unhandled"},e)}function Eo(e,t,r,n,i){return r?(0,N.Yn)({name:e,message:t,stack:[{func:"?",url:r,line:null!==n&&void 0!==n?n:void 0,column:null!==i&&void 0!==i?i:void 0}]}):void 0}function Ao(e,t,r){const i=new n.cP;return r.subscribe(e=>{let{data:t,type:r}=e;0===r?i.notify(t):3===r&&t.api===P.bP.error&&i.notify(t.error)}),function(e,t){const r=wo(e,[_o,bo]).subscribe(e=>t.notify(e))}(t,i),i.subscribe(t=>e.notify(14,{error:t})),function(e){return e.subscribe(14,t=>{let{error:r}=t;e.notify(12,function(e){const t={date:e.startClocks.timeStamp,error:{id:ee(),message:e.message,source:e.source,stack:e.stack,handling_stack:e.handlingStack,component_stack:e.componentStack,type:e.type,handling:e.handling,causes:e.causes,source_type:"browser",fingerprint:e.fingerprint,csp:e.csp},type:oe.ERROR,context:e.context},r={error:e.originalError,handlingStack:e.handlingStack};return{rawRumEvent:t,startClocks:e.startClocks,domainContext:r}}(r))}),{addError:t=>{let{error:r,handlingStack:n,componentStack:i,startClocks:o,context:s}=t;const a=(0,R.As)({originalError:r,handlingStack:n,componentStack:i,startClocks:o,nonErrorPrefix:"Provided",source:D.g.CUSTOM,handling:"handled"});a.context=(0,V.kg)(a.context,s),e.notify(14,{error:a})}}}(e)}var Co=r(33596);const ko=u.OY;function Oo(){const e=[];function t(t){let n;if(!t||t.didTimeout){const e=performance.now();n=()=>30-(performance.now()-e)}else n=t.timeRemaining.bind(t);for(;n()>0&&e.length;)e.shift()();e.length&&r()}function r(){(0,Co.BB)(t,{timeout:ko})}return{push(t){1===e.push(t)&&r()},stop(){e.length=0}}}var xo=r(33691);const Po=2*u.iW;function Io(e){const t=function(e){const t=e.querySelector("meta[name=dd-trace-id]"),r=e.querySelector("meta[name=dd-trace-time]");return To(t&&t.content,r&&r.content)}(e)||function(e){const t=function(e){for(let t=0;t<e.childNodes.length;t+=1){const r=Ro(e.childNodes[t]);if(r)return r}if(e.body)for(let t=e.body.childNodes.length-1;t>=0;t-=1){const r=e.body.childNodes[t],n=Ro(r);if(n)return n;if(!Tn(r))break}}(e);if(!t)return;return To(re(t,"trace-id"),re(t,"trace-time"))}(e);if(t&&!(t.traceTime<=(0,u.T_)()-Po))return t.traceId}function To(e,t){const r=t&&Number(t);if(e&&r)return{traceId:e,traceTime:r}}function Ro(e){if(e&&function(e){return e.nodeType===Node.COMMENT_NODE}(e)){const t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function Do(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Mo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Do(Object(r),!0).forEach(function(t){Fo(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Do(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Fo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jo(){if(qn(Bn.NAVIGATION)){const e=performance.getEntriesByType(Bn.NAVIGATION)[0];if(e)return e}const e=function(){const e={},t=performance.timing;for(const r in t)if((0,be.Et)(t[r])){const n=r,i=t[n];e[n]=0===i?0:(0,u.gs)(i)}return e}(),t=Mo({entryType:Bn.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:e.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>Mo(Mo({},t),{},{toJSON:void 0})},e);return t}function No(e){return e.responseStart>=0&&e.responseStart<=(0,u.$S)()?e.responseStart:void 0}function Bo(e,t){const r=function(){if(qn(Bn.RESOURCE))return performance.getEntriesByType(Bn.RESOURCE)}();if(r)return(0,Ie.Uk)(r,r=>r.name===e&&r.startTime<=t)}function Lo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Uo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qo(e,t){return{startResource:function(e){var r;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,u.M8)();const o=null!==(r=n.resourceKey)&&void 0!==r?r:e;t.start(o,i,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Lo(Object(r),!0).forEach(function(t){Uo(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({url:e},n))},stopResource:function(r){var n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,u.M8)();const s=null!==(n=i.resourceKey)&&void 0!==n?n:r,a=t.stop(s,o,{context:i.context,type:i.type});if(!a)return;const c=(0,u.vk)(a.startClocks.relative,o.relative),l={date:a.startClocks.timeStamp,type:oe.RESOURCE,resource:{id:a.id,type:a.type||rn,url:gn(a.url),duration:(0,u.Zj)(c),method:a.method,status_code:i.statusCode,size:i.size},_dd:{},context:a.context};e.notify(12,{rawRumEvent:l,startClocks:a.startClocks,duration:c,domainContext:{isManual:!0}})}}}function Vo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function zo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(r),!0).forEach(function(t){Go(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Go(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $o(e,t){const r=(0,o.B)(Oo)(),n=function(e){const t=new Set;let r=!1;const n=e.subscribe(8,e=>{if(t.add(e),t.size>1e3){const e=t.values().next().value;if(!r){let n;if(r=!0,(0,z.sr)(z.R9.TOO_MANY_REQUESTS_INVESTIGATION)){let r=0,i=0,o=0,s=0;for(const e of t)e.isAborted&&r++,e.isAbortedOnStart&&i++,e.type===nn.XHR&&o++,performance.getEntriesByName(e.url,"resource").some(t=>t.startTime>=e.startClocks.relative)||s++;const a=(0,u.nx)()-e.startClocks.timeStamp;n={abortedCount:r,abortedOnStartCount:i,xhrCount:o,fetchCount:t.size-o,oldestRequestAge:a,oldestRequestEndAge:a-e.duration,withoutMatchingEntryCount:s}}(0,I.A2)("Too many requests",n)}t.delete(e)}});return{getMatchingRequest(e){let r,n=1/0;for(const i of t){const t=e.startTime-i.startClocks.relative;0<=t&&t<n&&i.url===e.name&&(n=Math.abs(t),r=i)}return r&&t.delete(r),r},stop(){n.unsubscribe()}}}(e),i=Ln(t,{type:Bn.RESOURCE,buffered:!0}).subscribe(e=>{for(const r of e)a(()=>Wo(r,n,t))}),{stop:s}=(0,xo.H)(t,"interactive",()=>{a(()=>Wo(jo(),n,t))});function a(t){r.push(()=>{const r=t();r&&e.notify(12,r)})}const c=Ri(e),l=qo(e,c);return{startResource:l.startResource,stopResource:l.stopResource,stop:()=>{s(),r.stop(),i.unsubscribe(),c.stopAll()}}}function Wo(e,t,r){const n=function(e){return"xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType}(e)?t.getMatchingRequest(e):void 0,i=n?function(e,t){const r=e.traceSampled&&e.traceId&&e.spanId;if(!r)return;return{_dd:{span_id:e.spanId.toString(),trace_id:e.traceId.toString(),rule_psr:t.rulePsr}}}(n,r):function(e,t){if("navigation"!==e.initiatorType)return;const r=(0,o.B)(Io)(document);if(!r)return;return{_dd:{trace_id:r,span_id:mn().toString(),rule_psr:t.rulePsr}}}(e,r);if(!r.trackResources&&!i)return;const s=(0,u.FR)(e.startTime),a=function(e){const{duration:t,startTime:r,responseEnd:n}=e;return"navigation"===e.initiatorType||0===t&&r<n?(0,u.vk)(r,n):t}(e),c=(0,z.sr)(z.R9.TRACK_RESOURCE_HEADERS)?function(e,t){const r=t.trackResourceHeaders;if(0===r.length||!e)return;const n=r.filter(t=>void 0===t.url||lt([t.url],e.url,!0));if(0===n.length)return;const i=n.filter(e=>void 0===e.location||"any"===e.location||"response"===e.location),o=n.filter(e=>void 0===e.location||"any"===e.location||"request"===e.location),s=i.length>0?function(e,t){if(e.type===nn.FETCH&&e.response)return Jo(e.response.headers,t);if(e.type===nn.XHR&&e.xhr){const n=e.xhr.getAllResponseHeaders();if(n)try{return Jo(new Headers(function(e){const t=[],r=e.trim().split(/\r\n/);for(const n of r){const e=n.indexOf(":");e>0&&t.push([n.substring(0,e).trim(),n.substring(e+1).trim()])}return t}(n)),t)}catch(r){}}return}(e,i):void 0,a=o.length>0?function(e,t){var r;if(e.type!==nn.FETCH)return;let n;null!==(r=e.init)&&void 0!==r&&r.headers?n=new Headers(e.init.headers):e.input instanceof Request&&(n=e.input.headers);return n?Jo(n,t):void 0}(e,o):void 0;if(!s&&!a)return;return{resource:{request:a?{headers:a}:void 0,response:s?{headers:s}:void 0}}}(n,r):void 0,l=(0,V.kg)({date:s.timeStamp,resource:zo(zo({id:ee(),duration:(0,u.Zj)(a),type:sn(e),method:null===n||void 0===n?void 0:n.method,status_code:n?n.status:(f=e.responseStatus,0===f?void 0:f),url:n?gn(n.url):e.name,protocol:ln(e),delivery_type:fn(e),graphql:n&&Ho(n,r),render_blocking_status:e.renderBlockingStatus},pn(e)),un(e)),type:oe.RESOURCE,_dd:{discarded:!r.trackResources}},i,function(e){const t=e.contentType;if(t)return{resource:{response:{headers:{"content-type":t}}}};return}(e),c);var f;return{startClocks:s,duration:a,rawRumEvent:l,domainContext:Ko(e,n)}}function Ho(e,t){const r=En(e.url,t);if(r)return Sn(e,r)}function Ko(e,t){return{performanceEntry:e,isManual:!1,isAborted:!!t&&t.isAborted,handlingStack:null===t||void 0===t?void 0:t.handlingStack,requestInit:null===t||void 0===t?void 0:t.init,requestInput:null===t||void 0===t?void 0:t.input,response:null===t||void 0===t?void 0:t.response,error:null===t||void 0===t?void 0:t.error,xhr:null===t||void 0===t?void 0:t.xhr}}const Zo=/(token|cookie|secret|authorization|(api|secret|access|app).?key|(client|connecting|real).?ip|forwarded)/,Yo=128;function Jo(e,t){const r={};let n=0,i=0,o=!1;return e.forEach((e,s)=>{if(i++,n>=100)return void(o||(P.Vy.warn("Maximum number of headers (100) has been reached. Further headers are dropped."),o=!0));const a=s.toLowerCase();if(Zo.test(a))return;const u=t.find(e=>lt([e.name],a));if(!u)return;const{extractor:c}
1=u,l=c?Vt(e,c):e;void 0!==l&&(l.length>Yo&&(P.Vy.warn(`Header "${a}" value was truncated from ${l.length} to 128 characters.`),(0,I.A2)("Resource header value was truncated",{header_name:a,original_length:l.length,limit:Yo})),r[a]=ne(l,Yo),n++)}),o&&(0,I.A2)("Maximum number of resource headers reached",{collectedHeaderCount:n,totalHeaderCount:i}),n>0?r:void 0}function Qo(){try{return(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(e){return}}const Xo=10*u.iW;function es(e,t){return function(e,t){let r;const{stop:n}=(0,xo.H)(e,"complete",()=>{r=(0,Ve.wg)(()=>t())});return{stop:()=>{n(),(0,Ve.DJ)(r)}}}(e,()=>{const e=(0,o.B)(jo)();(function(e){return e.loadEventEnd<=0})(e)||t(function(e){return{domComplete:e.domComplete,domContentLoaded:e.domContentLoadedEventEnd,domInteractive:e.domInteractive,loadEvent:e.loadEventEnd,firstByte:No(e)}}(e))})}const ts=10*u.iW;function rs(e,t,r,n){let i=1/0;const{stop:o}=(0,_.l)(e,r,["pointerdown","keydown"],e=>{i=e.timeStamp},{capture:!0,once:!0});let s=0;const a=Ln(e,{type:Bn.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(r=>{const o=(0,Ie.Uk)(r,e=>e.entryType===Bn.LARGEST_CONTENTFUL_PAINT&&e.startTime<i&&e.startTime<t.timeStamp&&e.startTime<ts&&e.size>s);if(o){let t;o.element&&(t=Qn(o.element,e.actionNameAttribute));const r=""===(a=o).url?void 0:a.url,i=o.startTime,u=function(e,t){const r=No(jo());if(void 0===r)return;const n=e?Bo(e,t):void 0,i=n?Math.max(r,n.requestStart||n.startTime):r,o=Math.min(t,Math.max(i,(null===n||void 0===n?void 0:n.responseEnd)||0));return{loadDelay:i-r,loadTime:o-i,renderDelay:t-o}}(r,i);n({value:i,targetSelector:t,resourceUrl:r,subParts:u}),s=o.size}var a});return{stop:()=>{o(),a.unsubscribe()}}}function ns(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;if("hidden"===document.visibilityState)return{timeStamp:0,stop:p.l};if(qn(Bn.VISIBILITY_STATE)){const e=performance.getEntriesByType(Bn.VISIBILITY_STATE).filter(e=>"hidden"===e.name).find(e=>e.startTime>=t.relative);if(e)return{timeStamp:e.startTime,stop:p.l}}let n=1/0;const{stop:i}=(0,_.l)(e,r,["pagehide","visibilitychange"],e=>{"pagehide"!==e.type&&"hidden"!==document.visibilityState||(n=e.timeStamp,i())},{capture:!0});return{get timeStamp(){return n},stop:i}}function is(e,t,r,n){const i={},{stop:o}=es(e,e=>{r(e.loadEvent),i.navigationTimings=e,n()}),s=ns(e,t),{stop:a}=function(e,t,r){return{stop:Ln(e,{type:Bn.PAINT,buffered:!0}).subscribe(e=>{const n=e.find(e=>"first-contentful-paint"===e.name&&e.startTime<t.timeStamp&&e.startTime<Xo);n&&r(n.startTime)}).unsubscribe}}(e,s,e=>{i.firstContentfulPaint=e,n()}),{stop:u}=rs(e,s,window,e=>{i.largestContentfulPaint=e,n()});return{stop:function(){o(),a(),u(),s.stop()},initialViewMetrics:i}}const os=(e,t)=>e*t,ss=e=>os(e.previousRect.width,e.previousRect.height)+os(e.currentRect.width,e.currentRect.height)-((e,t)=>{const r=Math.max(e.left,t.left),n=Math.max(e.top,t.top),i=Math.min(e.right,t.right),o=Math.min(e.bottom,t.bottom);return r>=i||n>=o?0:os(i-r,o-n)})(e.previousRect,e.currentRect);function as(e,t,r){if(!qn(Bn.LAYOUT_SHIFT)||!("WeakRef"in window))return{stop:p.l};let n,i=0;r({value:0});const o=function(){let e,t,r=0,n=0;return{update:i=>{let o;return void 0===e||i.startTime-t>=fs||i.startTime-e>=ls?(e=t=i.startTime,n=r=i.value,o=!0):(r+=i.value,t=i.startTime,o=i.value>n,o&&(n=i.value)),{cumulatedValue:r,isMaxValue:o}}}}(),s=Ln(e,{type:Bn.LAYOUT_SHIFT,buffered:!0}).subscribe(s=>{for(const d of s){if(d.hadRecentInput||d.startTime<t)continue;const{cumulatedValue:s,isMaxValue:h}=o.update(d);if(h){const e=us(d.sources);n={target:null!==e&&void 0!==e&&e.node?new WeakRef(e.node):void 0,time:(0,u.vk)(t,d.startTime),previousRect:null===e||void 0===e?void 0:e.previousRect,currentRect:null===e||void 0===e?void 0:e.currentRect,devicePixelRatio:window.devicePixelRatio}}if(s>i){var a,c,l,f,p;i=s;const t=null===(a=n)||void 0===a||null===(a=a.target)||void 0===a?void 0:a.deref();r({value:(0,be.LI)(i,4),targetSelector:t&&Qn(t,e.actionNameAttribute),time:null===(c=n)||void 0===c?void 0:c.time,previousRect:null!==(l=n)&&void 0!==l&&l.previousRect?cs(n.previousRect):void 0,currentRect:null!==(f=n)&&void 0!==f&&f.currentRect?cs(n.
1currentRect):void 0,devicePixelRatio:null===(p=n)||void 0===p?void 0:p.devicePixelRatio})}}});return{stop:()=>{s.unsubscribe()}}}function us(e){let t;for(const r of e)if(r.node&&Rn(r.node)){const e=ss(r);(!t||ss(t)<e)&&(t=r)}return t}function cs(e){let{x:t,y:r,width:n,height:i}=e;return{x:t,y:r,width:n,height:i}}const ls=5*u.OY,fs=u.OY;let ps,ds=0,hs=1/0,gs=0;const ms=()=>ps?ds:window.performance.interactionCount||0;const vs=1*u.iW;function ys(e,t,r){if(!(qn(Bn.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:()=>{},setViewEnd:p.l,stop:p.l};let n,i=1/0;const{getViewInteractionCount:o,stopViewInteractionCount:s}=function(e){"interactionCount"in performance||ps||(ps=new window.PerformanceObserver((0,a.dm)(e=>{e.getEntries().forEach(e=>{const t=e;t.interactionId&&(hs=Math.min(hs,t.interactionId),gs=Math.max(gs,t.interactionId),ds=(gs-hs)/7+1)})})),ps.observe({type:"event",buffered:!0,durationThreshold:0}));const t=e===ae?0:ms();let r={stopped:!1};function n(){return ms()-t}return{getViewInteractionCount:()=>r.stopped?r.interactionCount:n(),stopViewInteractionCount:()=>{r={stopped:!0,interactionCount:n()}}}}(r),c=function(e){const t=[];function r(){t.sort((e,t)=>t.duration-e.duration).splice(10)}return{process(e){const n=t.findIndex(t=>e.interactionId===t.interactionId),i=t[t.length-1];-1!==n?e.duration>t[n].duration&&(t[n]=e,r()):(t.length<10||e.duration>i.duration)&&(t.push(e),r())},estimateP98Interaction(){const r=Math.min(t.length-1,Math.floor(e()/50));return t[r]},isTracked:e=>t.some(t=>t.interactionId===e)}}(o),l=function(e){const t=new Map;function r(e,t){e.startTime=Math.min(t.startTime,e.startTime),e.processingStart=Math.min(t.processingStart,e.processingStart),e.processingEnd=Math.max(t.processingEnd,e.processingEnd)}return{process(e){if(void 0===e.interactionId||!e.processingStart||!e.processingEnd)return;const n=e.startTime+e.duration,i=t.get(e.interactionId);if(i)r(i,e);else{for(const[,i]of t.entries())if(Math.abs(n-i.referenceRenderTime)<=8)return r(i,e),void t.set(e.interactionId,i);t.set(e.interactionId,{startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,referenceRenderTime:n})}},pruneUntracked(){for(const[r]of t)e.isTracked(r)||t.delete(r)},computeSubParts(e,r){if(!e.processingStart||!e.processingEnd||void 0===e.interactionId)return;const n=t.get(e.interactionId);if(!n)return;const i=Math.max(n.startTime+r,n.processingStart),o=Math.min(n.processingEnd,i);return{inputDelay:(0,u.vk)(n.startTime,n.processingStart),processingDuration:(0,u.vk)(n.processingStart,o),presentationDelay:(0,u.vk)(o,i)}},stop(){t.clear()}}}(c),f=Ln(e,{type:Bn.FIRST_INPUT,buffered:!0}).subscribe(h),d=Ln(e,{type:Bn.EVENT,durationThreshold:40,buffered:!0}).subscribe(h);function h(r){for(const e of r)e.interactionId&&e.startTime>=t&&e.startTime<=i&&(c.process(e),l.process(e));l.pruneUntracked();const o=c.estimateP98Interaction();o&&function(r){const i=(0,u.vk)(t,r.startTime);if(!n||r.duration!==n.duration||i!==n.startTime){let t=function(e){const t=Xi.get(e);return Xi.delete(e),t}(r.startTime);!t&&r.target&&Rn(r.target)&&(t=Qn(r.target,e.actionNameAttribute)),n={duration:r.duration,startTime:i,targetSelector:t}}n.subParts=l.computeSubParts(r,bs(n.duration))}(o)}return{getInteractionToNextPaint:()=>n?{value:bs(n.duration),targetSelector:n.targetSelector,time:n.startTime,subParts:n.subParts}:o()?{value:0}:void 0,setViewEnd:e=>{i=e,s()},stop:()=>{d.unsubscribe(),f.unsubscribe(),l.stop()}}}function bs(e){return Math.min(e,vs)}function _s(){let e;const t=window.visualViewport;return e=t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0,Math.round(e)}function ws(){let e;const t=window.visualViewport;return e=t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0,Math.round(e)}let Ss;function Es(e){return Ss||(Ss=function(e){return new n.cP(t=>{const{throttled:r}=(0,p.n)(()=>{t.notify(As())},200);return(0,_.q)(e,window,"resize",r,{capture:!0,passive:!0}).stop})}(e)),Ss}
1function As(){const e=window.visualViewport;return e?{width:Number(e.width*e.scale),height:Number(e.height*e.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}const Cs=u.OY;function ks(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cs;return new n.cP(r=>{function n(){r.notify(function(){const e=ws(),{height:t}=As(),r=Math.round((document.scrollingElement||document.documentElement).scrollHeight),n=Math.round(t+e);return{scrollHeight:r,scrollDepth:n,scrollTop:e}}())}const i=(0,p.n)(n,t,{leading:!1,trailing:!0}),o=document.scrollingElement||document.documentElement,s=new ResizeObserver((0,a.dm)(i.throttled));o&&s.observe(o);const u=(0,_.q)(e,window,"scroll",i.throttled,{passive:!0});return()=>{i.cancel(),s.disconnect(),u.stop()}})}(e),o=0,s=0,c=0;const l=i.subscribe(e=>{let{scrollDepth:n,scrollTop:i,scrollHeight:a}=e,l=!1;if(n>o&&(o=n,l=!0),a>s){s=a;const e=(0,u.$S)();c=(0,u.vk)(t.relative,e),l=!0}l&&r({maxDepth:Math.min(o,s),maxDepthScrollTop:i,maxScrollHeight:s,maxScrollHeightTime:c})});return{stop:()=>l.unsubscribe()}}function Os(e,t,r,n,i,o,s){const a={};let c=!1,l=!1;const{stop:f,setLoadEvent:p}=function(e,t,r,n,i,o,s){let a=i===ae,c=!0;const l=[],f=ns(n,o);function p(){if(!c&&!a&&l.length>0){const e=Math.max(...l);e<f.timeStamp-o.relative&&s(e)}}const{stop:d}=zn(e,t,r,n,e=>{c&&(c=!1,e.hadActivity&&l.push((0,u.vk)(o.timeStamp,e.end)),p())});return{stop:()=>{d(),f.stop()},setLoadEvent:e=>{a&&(a=!1,l.push(e),p())}}}(e,t,r,n,o,s,e=>{c||(a.loadingTime=e,i())}),{stop:d}=ks(n,s,e=>{a.scroll=e}),{stop:h}=as(n,s.relative,e=>{a.cumulativeLayoutShift=e,i()}),{stop:g,getInteractionToNextPaint:m,setViewEnd:v}=ys(n,s.relative,o);return{stop:()=>{f(),h(),d()}
1,stopINPTracking:g,setLoadEvent:p,setViewEnd:e=>{l=!0,v(e)},getCommonViewMetrics:()=>(a.interactionToNextPaint=m(),a),setLoadingTime:e=>{if(l)return;const t=(0,u.vk)(s.timeStamp,null!==e&&void 0!==e?e:(0,u.nx)());c||f(),c=!0,a.loadingTime=t,i()}}}function xs(e,t,r){var n,i;n=e.relative,i=e=>{t.firstContentfulPaint=e,t.largestContentfulPaint={value:e},r()},requestAnimationFrame(()=>{requestAnimationFrame(()=>{i((0,u.vk)(n,(0,u.$S)()))})})}const Ps=5*u.iW,Is=5*u.iW;function Ts(e,t,r,i,s,a,c){const l=new Set;let f,d,h=g(ae,(0,u.Oc)(),c);function g(s,a,c){const f=function(e,t,r,i,s){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:(0,u.M8)(),c=arguments.length>6?arguments[6]:void 0;const l=ee(),f=new n.cP,d={};let h,g=0;const m=(0,_e.yG)((0,o.B)(window.location)),v=hr();let y=!0,b=null===c||void 0===c?void 0:c.name;const _=(null===c||void 0===c?void 0:c.service)||i.service,w=(null===c||void 0===c?void 0:c.version)||i.version,S=null===c||void 0===c?void 0:c.context,E=null===c||void 0===c?void 0:c.handlingStack;S&&v.setContext(S);const A={id:l,name:b,startClocks:a,service:_,version:w,context:S,url:null===c||void 0===c?void 0:c.url};e.notify(1,A),e.notify(2,A);const{throttled:C,cancel:k}=(0,p.n)(V,3e3,{leading:!1}),{setLoadEvent:O,setViewEnd:x,stop:I,stopINPTracking:T,getCommonViewMetrics:R,setLoadingTime:D}=Os(e,t,r,i,q,s,a),{stop:M,initialViewMetrics:F}=s===ae?is(i,a,O,q):{stop:p.l,initialViewMetrics:{}};s===le&&xs(a,F,q);const{stop:j,eventCounts:N}=function(e,t,r){const{stop:n,eventCounts:i}=Oi({lifeCycle:e,isChildEvent:e=>e.view.id===t,onChange:r});return{stop:n,eventCounts:i}}(e,l,q),B=(0,Ve.yb)(V,Ps),L=e.subscribe(11,e=>{e.reason===Wr.y5.UNLOADING&&V()});function U(){e.notify(3,{id:l,name:b,context:v.getContext(),startClocks:a,sessionIsActive:y})}function q(){U(),C()}function V(){k(),U(),g+=1;const t=void 0===h?(0,u.nx)():h.timeStamp;e.notify(4,{customTimings:d,documentVersion:g,id:l,name:b,service:_,version:w,context:v.getContext(),loadingType:s,location:m,handlingStack:E,startClocks:a,commonViewMetrics:R(),initialViewMetrics:F,duration:(0,u.vk)(a.timeStamp,t),isActive:void 0===h,sessionIsActive:y,eventCounts:N})}return V(),v.changeObservable.subscribe(q),{get name(){return b},service:_,version:w,contextManager:v,stopObservable:f,end(){var t,r;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h||(h=null!==(t=n.endClocks)&&void 0!==t?t:(0,u.M8)(),y=null===(r=n.sessionIsActive)||void 0===r||r,e.notify(5,{endClocks:h}),e.notify(6,{endClocks:h}),(0,Ve.vG)(B),x(h.relative),I(),L.unsubscribe(),V(),(0,Ve.wg)(()=>{this.stop()},Is))},stop(){M(),j(),T(),f.notify()},addTiming(e,t){if(h)return;const r=(0,u.pu)(t)?t:(0,u.vk)(a.timeStamp,t);d[function(e){const t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");t!==e&&P.Vy.warn(`Invalid timing name: ${e}, sanitized to: ${t}`);return t}(e)]=r,q()},setLoadingTime:D,setViewName(e){b=e,V()}}}(e,t,r,i,s,a,c);return l.add(f),f.stopObservable.subscribe(()=>{l.delete(f)}),f}return e.subscribe(10,e=>{const t=h.contextManager.getContext();e&&(t.is_session_renewal=!0,t.renew_event=e),h=g(ce,void 0,{name:h.name,service:h.service,version:h.version,context:t})}),e.subscribe(9,()=>{h.end({sessionIsActive:!1})}),a&&(d=function(e){return e.subscribe(e=>{let{oldLocation:t,newLocation:r}=e;var n,i;i=r,((n=t).pathname!==i.pathname||!function(e){const t=e.substring(1);return""!==t&&!!document.getElementById(t)}(i.hash)&&Rs(i.hash)!==Rs(n.hash))&&(h.end(),h=g(ue))})}(s),f=function(e,t){const{stop:r}=(0,_.q)(e,window,"pageshow",e=>{e.persisted&&t(e)},{capture:!0});return r}(i,e=>{h.end();const t=(0,u.FR)(e.timeStamp);h=g(le,t,void 0)})),{addTiming:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,u.nx)();h.addTiming(e,t)},setLoadingTime:e=>h.setLoadingTime(e),startView:(e,t)=>{h.end({endClocks:t}),h=g(ue,t,e)},setViewContext:e=>{h.contextManager.setContext(e)},setViewContextProperty:(e,t)=>{h.contextManager.setContextProperty(e,t)},setViewName:e=>{h.setViewName(e)},getViewContext:()=>h.contextManager.getContext(),stop:()=>{d&&d.unsubscribe(),f&&f(),h.end(),l.forEach(e=>e.stop())}}}function Rs(e){const t=e.indexOf("?");return t<0?e:e.slice(0,t)}function Ds(e,t,r,n,i,o,s,a,c){return e.subscribe(4,t=>e.notify(12,function(e,t,r){var n,i,o,s,a,c,l,f,p,d,h,g,m,v;const y=r.getReplayStats(e.id),b=null===(n=e.commonViewMetrics)||void 0===n||null===(n=n.cumulativeLayoutShift)||void 0===n?void 0:n.devicePixelRatio,_={_dd:{document_version:e.documentVersion,replay_stats:y,cls:b?{device_pixel_ratio:b}:void 0,configuration:{start_session_replay_recording_manually:t.startSessionReplayRecordingManually}},date:e.startClocks.timeStamp,type:oe.VIEW,view:{action:{count:e.eventCounts.actionCount},frustration:{count:e.eventCounts.frustrationCount},cumulative_layout_shift:null===(i=e.commonViewMetrics.cumulativeLayoutShift)||void 0===i?void 0:i.value,cumulative_layout_shift_time:(0,u.Zj)(null===(o=e.commonViewMetrics.cumulativeLayoutShift)||void 0===o?void 0:o.time),cumulative_layout_shift_target_selector:null===(s=e.commonViewMetrics.cumulativeLayoutShift)||void 0===s?void 0:s.targetSelector,first_byte:(0,u.Zj)(null===(a=e.initialViewMetrics.navigationTimings)||void 0===a?void 0:a.firstByte),dom_complete:(0,u.Zj)(null===(c=e.initialViewMetrics.navigationTimings)||void 0===c?void 0:c.domComplete),dom_content_loaded:(0,u.Zj)(null===(l=e.initialViewMetrics.navigationTimings)||void 0===l?void 0:l.domContentLoaded),dom_interactive:(0,u.Zj)(null===(f=e.initialViewMetrics.navigationTimings)||void 0===f?void 0:f.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:(0,u.Zj)(e.initialViewMetrics.firstContentfulPaint),interaction_to_next_paint:(0,u.Zj)(null===(p=e.commonViewMetrics.interactionToNextPaint)||void 0===p?void 0:p.value),interaction_to_next_paint_time:(0,u.Zj)(null===(d=e.commonViewMetrics.interactionToNextPaint)||void 0===d?void 0:d.time),interaction_to_next_paint_target_selector:null===(h=e.commonViewMetrics.interactionToNextPaint)||void 0===h?void 0:h.targetSelector,is_active:e.isActive,name:e.name,largest_contentful_paint:(0,u.Zj)(null===(g=e.initialViewMetrics.largestContentfulPaint)||void 0===g?void 0:g.value),largest_contentful_paint_target_selector:null===(m=e.initialViewMetrics.largestContentfulPaint)||void 0===m?void 0:m.targetSelector,load_event:(0,u.Zj)(null===(v=e.initialViewMetrics.navigationTimings)||void 0===v?void 0:v.loadEvent),loading_time:In((0,u.Zj)(e.commonViewMetrics.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},performance:Ms(e.commonViewMetrics,e.initialViewMetrics),resource:{count:e.eventCounts.resourceCount},time_spent:(0,u.Zj)(e.duration)},display:e.commonViewMetrics.scroll?{scroll:{max_depth:e.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:e.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:e.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,u.Zj)(e.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:t.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:Qo()}};(0,_e.RI)(e.customTimings)||(_.view.custom_timings=(0,_e.LG)(e.customTimings,u.Zj));return{rawRumEvent:_,startClocks:e.startClocks,duration:e.duration,domainContext:{location:e.location,handlingStack:e.handlingStack}}}(t,r,s))),t.register(0,e=>{let{startTime:t,eventType:r}=e;const n=a.findView(t);return n?{type:r,service:n.service,version:n.version,context:n.context,view:{id:n.id,name:n.name}}:mr.ug}),t.register(1,e=>{var t;let{startTime:r}=e;return{view:{id:null===(t=a.findView(r))||void 0===t?void 0:t.id}}}),Ts(e,n,i,r,o,!r.trackViewsManually,c)}function Ms(e,t){let{cumulativeLayoutShift:r,interactionToNextPaint:n}=e,{firstContentfulPaint:i,largestContentfulPaint:o}=t;return{cls:r&&{score:r.value,timestamp:(0,u.Zj)(r.time),target_selector:r.targetSelector,previous_rect:r.previousRect,current_rect:r.currentRect},fcp:i&&{timestamp:(0,u.Zj)(i)},inp:n&&{duration:(0,u.Zj)(n.value),timestamp:(0,u.Zj)(n.time),target_selector:n.targetSelector,sub_parts:n.subParts?{input_delay:(0,u.Zj)(n.subParts.inputDelay),processing_duration:(0,u.Zj)(n.subParts.processingDuration),presentation_delay:(0,u.Zj)(n.subParts.presentationDelay)}:void 0},lcp:o&&{timestamp:(0,u.Zj)(o.value),target_selector:o.targetSelector,resource_url:o.resourceUrl,sub_parts:o.subParts?{load_delay:(0,u.Zj)(o.subParts.loadDelay),load_time:(0,u.Zj)(o.subParts.loadTime),render_delay:(0,u.Zj)(o.subParts.renderDelay)}:void 0}}}var Fs=r(67750),js=r(91254),Ns=r(54168);const Bs=we.AQ;function Ls(e){let t=(0,_e.yG)(location);return new n.cP(r=>{const{stop:n}=function(e,t){const{stop:r}=(0,s.H)(Us("pushState"),"pushState",e=>{let{onPostCall:r}=e;r(t)}),{stop:n}=(0,s.H)(Us("replaceState"),"replaceState",e=>{let{onPostCall:r}=e;r(t)}),{stop:i}=(0,_.q)(e,window,"popstate",t);return{stop:()=>{r(),n(),i()}}}(e,o),{stop:i}=function(e,t){return(0,_.q)(e,window,"hashchange",t)}(e,o);function o(){if(t.href===location.href)return;const e=(0,_e.yG)(location);r.notify({newLocation:e,oldLocation:t}),t=e}return()=>{n(),i()}})}function Us(e){return Object.prototype.hasOwnProperty.call(history,e)?history:History.prototype}const qs=we.AQ;const Vs=10*u.OY;let zs,Gs;function $s(){0!==zs.batchCount&&((0,I.Gk)("Customer data measures",zs),Hs())}function Ws(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function Hs(){zs={batchCount:0,batchBytesCount:{min:1/0,max:0,sum:0},batchMessagesCount:{min:1/0,max:0,sum:0}}}const Ks=we.AQ;function Zs(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500;const n=(0,_r.qj)({expireDelay:Ks,maxEntries:4e3});let i;if(qn(Bn.VISIBILITY_STATE)){performance.getEntriesByType(Bn.VISIBILITY_STATE).forEac
1h(e=>{s("hidden"===e.name?"hidden":"active",e.startTime)})}s(Js(),(0,u.$S)());const{stop:o}=(0,_.l)(t,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],e=>{s(function(e){if("freeze"===e.type)return"frozen";if("pagehide"===e.type)return e.persisted?"frozen":"terminated";return Js()}(e),e.timeStamp)},{capture:!0});function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,u.$S)();e!==i&&(i=e,n.closeActive(t),n.add({state:i,startTime:t},t))}function a(e,t,r){return n.findAll(t,r).some(t=>t.state===e)}return e.register(0,e=>{let{startTime:t,duration:i=0,eventType:o}=e;if(o===oe.VIEW){return{type:o,_dd:{page_states:Ys(n.findAll(t,i),t,r)}}}return o===oe.ACTION||o===oe.ERROR?{type:o,view:{in_foreground:a("active",t,0)}}:mr.$O}),{wasInPageStateDuringPeriod:a,addPageState:s,stop:()=>{o(),n.stop()}}}function Ys(e,t,r){if(0!==e.length)return e.slice(-r).reverse().map(e=>{let{state:r,startTime:n}=e;return{state:r,start:(0,u.Zj)((0,u.vk)(t,n))}})}function Js(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function Qs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Xs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qs(Object(r),!0).forEach(function(t){ea(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qs(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ea(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e,t){const r=Ri(e);function n(r){(function(e){return!t.wasInPageStateDuringPeriod("frozen",e.startClocks.relative,e.duration)})(r)&&e.notify(12,ra(r))}return{addOperationStepVital:function(t,r,n,i){if(!(0,z.sr)(z.R9.FEATURE_OPERATION_VITAL))return;const{operationKey:o,context:s,description:a,handlingStack:c}=n||{},l={name:t,type:ve,operationKey:o,failureReason:i,stepType:r,startClocks:(0,u.M8)(),context:(0,F.a)(s),description:a,handlingStack:c};e.notify(12,ra(l))},addDurationVital:n,startDurationVital:function(t){var n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,u.M8)();const{id:s}=r.start(null!==(n=i.vitalKey)&&void 0!==n?n:t,o,Xs({name:t},i));e.notify(16,Xs({id:s,name:t,startClocks:o},i))},stopDurationVital:function(e){var t;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,u.M8)();const s=r.stop(null!==(t=i.vitalKey)&&void 0!==t?t:e,o,i);s&&n(Xs({type:me},s))}}}function ra(e){const{startClocks:t,type:r,name:n,description:i,context:o,handlingStack:s}=e,a=e.type===me?e.id:void 0,c=Xs({id:null!==a&&void 0!==a?a:ee(),type:r,name:n,description:i},r===me?{duration:(0,u.Zj)(e.duration)}:{step_type:e.stepType,operation_key:e.operationKey,failure_reason:e.failureReason});return{rawRumEvent:{date:t.timeStamp,vital:c,type:oe.VITAL,context:o},startClocks:t,duration:r===me?e.duration:void 0,domainContext:s?{handlingStack:s}:{}}}function na(e,t){const r=window.cookieStore?function(e){return(t,r)=>(0,_.q)(e,window.cookieStore,"change",e=>{const n=e.changed.find(e=>e.name===t)||e.deleted.find(e=>e.name===t);n&&r(n.value)}).stop}(e):oa;return new n.cP(e=>r(t,t=>e.notify(t)))}const ia=u.OY;function oa(e,t){let r=Ee(e);const n=(0,Ve.yb)(()=>{const n=Ee(e);n!==r&&(r=n,t(n))},ia);return()=>{(0,Ve.vG)(n)}}const sa="datadog-ci-visibility-test-execution-id";function aa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ua(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?aa(Object(r),!0).forEach(function(t){ca(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aa(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ca(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e,t){const r=ee(),n=(0,u.Zj)(e.duration),i={date:t.timeStamp,type:oe.LONG_TASK,_dd:{discarded:!1}};return e.entryType===Bn.LONG_TASK?ua(ua({},i),{},{long_task:{id:r,entry_type:se.LONG_TASK,duration:n}}):ua(ua({},i),{},{long_task:{id:r,entry_type:se.LONG_ANIMATION_FRAME,duration:n,blocking_duration:(0,u.Zj)(e.blockingDuration),first_ui_event_timestamp:(0,u.Zj)(e.firstUIEventTimestamp),render_start:(0,u.Zj)(e.renderStart),style_and_layout_start:(0,u.Zj)(e.styleAndLayoutStart),start_time:(0,u.Zj)(e.startTime),scripts:e.scripts.map(e=>({duration:(0,u.Zj)(e.duration),pause_duration:(0,u.Zj)(e.pauseDuration),forced_style_and_layout_duration:(0,u.Zj)(e.forcedStyleAndLayoutDuration),start_time:(0,u.Zj)(e.startTime),execution_start:(0,u.Zj)(e.executionStart),source_url:e.sourceURL,source_function_name:e.sourceFunctionName,source_char_position:e.sourceCharPosition,invoker:e.invoker,invoker_type:e.invokerType,window_attribution:e.windowAttribution}))}})}function fa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function pa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(r),!0).forEach(function(t){da(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fa(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function da(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){e.register(0,e=>{let{eventType:t}=e;return Boolean(Lr())?{type:t,session:{type:"synthetics"},synthetics:pa(pa({},Lr()),{},{injected:Br()})}:mr.$O})}function ga(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3,n=0,i=!1;return{isLimitReached(){if(0===n&&(0,Ve.wg)(()=>{n=0},u.iW),n+=1,n<=r||i)return i=!1,!1;if(n===r+1){i=!0;try{t({message:`Reached max number of ${e}s by minute: ${r}`,source:D.g.AGENT,startClocks:(0,u.M8)()})}finally{i=!1}}return!0}}}var ma=r(85628);function va(e,t,r){const n=(0,V.Go)(e),i=r(n);return(0,Ie.WP)(t).forEach(t=>{let[r,i]=t;return ya(e,n,r.split(/\.|(?=\[\])/),i)}),i}function ya(e,t,r,n){const[i,...o]=r;if("[]"!==i){if(ba(e)&&ba(t))return o.length>
10?ya(e[i],t[i],o,n):void function(e,t,r,n){if(e[t]===r)return;const i=(0,ut.P)(r);i===n?e[t]=(0,F.a)(r):"object"!==n||"undefined"!==i&&"null"!==i||(e[t]={})}(e,i,t[i],n)}else Array.isArray(e)&&Array.isArray(t)&&e.forEach((e,r)=>ya(e,t[r],o,n))}function ba(e){return"object"===(0,ut.P)(e)}function _a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function wa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_a(Object(r),!0).forEach(function(t){Sa(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Sa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ea={"view.name":"string","view.url":"string","view.referrer":"string"},Aa={context:"object"},Ca={service:"string",version:"string"};let ka;function Oa(e,t,r,n,i){ka={[oe.VIEW]:wa(wa(wa({"view.performance.lcp.resource_url":"string"},Aa),Ea),Ca),[oe.ERROR]:wa(wa(wa({"error.message":"string","error.stack":"string","error.handling_stack":"string","error.resource.url":"string","error.fingerprint":"string"},Aa),Ea),Ca),[oe.RESOURCE]:wa(wa(wa({"resource.url":"string","resource.graphql.variables":"string","resource.request.headers":"object","resource.response.headers":"object"},Aa),Ea),Ca),[oe.ACTION]:wa(wa(wa({"action.target.name":"string"},Aa),Ea),Ca),[oe.LONG_TASK]:wa(wa(wa({"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string"},Aa),Ea),Ca),[oe.VITAL]:wa(wa(wa({},Aa),Ea),Ca)};const o={[oe.ERROR]:ga(oe.ERROR,n,i),[oe.ACTION]:ga(oe.ACTION,n,i),[oe.VITAL]:ga(oe.VITAL,n,i)};t.subscribe(12,n=>{let{startClocks:i,duration:s,rawRumEvent:a,domainContext:u}=n;const c=r.triggerHook(0,{eventType:a.type,rawRumEvent:a,domainContext:u,startTime:i.relative,duration:s});if(c===mr.ug)return;const l=(0,V.kg)(c,a,{ddtags:(0,ma.m5)(e).join(",")});(function(e,t,r,n){var i;if(t){const n=va(e,ka[e.type],e=>t(e,r));if(!1===n&&e.type!==oe.VIEW)return!1;!1===n&&P.Vy.warn("Can't dismiss view events using beforeSend!")}const o=null===(i=n[e.type])||void 0===i?void 0:i.isLimitReached();return!o})(l,e.beforeSend,u,o)&&((0,_e.RI)(l.context)&&delete l.context,t.notify(13,l))})}function xa(e,t){return(0,br.d0)()?(0,br.Ww)("records")?1:0:(0,wr.$5)(e.id,(0,wr.it)(t.sessionSampleRate,t.sessionReplaySampleRate))?1:e.isReplayForced?2:0}var Pa=r(37198);const Ia=[oe.ACTION,oe.ERROR,oe.LONG_TASK,oe.RESOURCE,oe.VITAL];function Ta(e){const t=window,r=new Map;function n(){t.DD_SOURCE_CODE_CONTEXT&&((0,Ie.WP)(t.DD_SOURCE_CODE_CONTEXT).forEach(e=>{let[t,n]=e;const i=(0,T.T)({stack:t}).stack[0];i.url?r.has(i.url)||r.set(i.url,n):(0,I.VJ)("Source code context: missing frame url",{stack:t})}),t.DD_SOURCE_CODE_CONTEXT={})}n(),e.register(0,e=>{let{domainContext:t,rawRumEvent:i}=e;if(n(),0===r.size)return mr.$O;const o=function(e,t){var r,n;if("long_task"===t.type&&"long-animation-frame"===t.long_task.entry_type)return null===(n=t.long_task.scripts[0])||void 0===n?void 0:n.source_url;let i;"handlingStack"in e&&(i=e.handlingStack);"error"===t.type&&t.error.stack&&(i=t.error.stack);const o=(0,T.T)({stack:i});return null===(r=o.stack[0])||void 0===r?void 0:r.url}(t,i),s=o&&r.get(o);return s?{type:i.type,service:s.service,version:s.version}:mr.$O})}const Ra=["stop"];function Da(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ma(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Da(Object(r),!0).forEach(function(t){Fa(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Da(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Fa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e,t,r,i,l,f,d,h,g,m){const v=[],y=new Qr;y.subscribe(13,e=>(0,$r.b)("rum",e)),t.expireObservable.subscribe(()=>y.notify(9)),t.renewObservable.subscribe(e=>y.notify(10,e));const b=e=>{y.notify(14,{error:e}),(0,I.A2)("Error reported to customer",{"error.message":e.message})},_=(0,Wr._T)(e);if((0,br.d0)()){!function(e){const t=(0,br.Y9)();e.subscribe(13,e=>{t.send("rum",e)})}(y);const e=_.subscribe(e=>{y.notify(11,e)});v.push(()=>e.unsubscribe())}else{const r=function(e,t,r,n,i,o){const s=[e.rumEndpointBuilder];e.replica&&s.push(e.replica.rumEndpointBuilder);const a=(0,Fs.X)({encoder:o(2),request:(0,js.sA)(s,r),flushController:(0,Ns.tO)({pageMayExitObservable:n,sessionExpireObservable:i})});return t.subscribe(13,e=>{e.type===oe.VIEW?a.upsert(e,e.view.id):a.add(e)}),a}(e,y,b,_,t.expireObservable,f),n=r.flushController.preparePageExitFlushObservable.subscribe(e=>{y.notify(11,{reason:e})});v.push(()=>n.unsubscribe()),v.push(()=>r.stop()),function(e,t,r){e.metricsEnabled&&(Hs(),Gs=!1,t.subscribe(13,()=>{Gs=!0}),r.subscribe(e=>{let{bytesCount:t,messagesCount:r}=e;Gs&&(Gs=!1,zs.batchCount+=1,Ws(zs.batchBytesCount,t),Ws(zs.batchMessagesCount,r))}),(0,Ve.yb)($s,Vs))}(h,y,r.flushController.flushObservable)}const{stop:w}=function(e,t){if(!t.metricsEnabled)return{stop:p.l};const{unsubscribe:r}=e.subscribe(4,e=>{let{initialViewMetrics:t}=e;var n,i;t.largestContentfulPaint&&t.navigationTimings&&((0,I.Gk)("Initial view metrics",{metrics:(n=t.largestContentfulPaint,i=t.navigationTimings,{lcp:{value:n.value},navigation:{domComplete:i.domComplete,domContentLoaded:i.domContentLoaded,domInteractive:i.domInteractive,firstByte:i.firstByte,loadEvent:i.loadEvent}})}),r())});return{stop:r}}(y,h);v.push(w);const S=function(e,t,r,i,l,f,p,d,h){const g=[],m=function(){const e=Jr();return new n.cP(t=>{const r=new e((0,a.dm)(e=>t.notify(e)));return r.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>r.disconnect()})}(),v=Ls(r),{observable:y,stop:b}=function(){const e=new n.cP,{stop:t}=(0,s.H)(window,"open",()=>e.notify());return{observable:e,stop:t}}();g.push(b),function(e,t,r){e.register(0,e=>{let{eventType:n}=e;const i=t.source;return{type:n,_dd:{format_version:2,drift:(0,u.TP)(),configuration:{session_sample_rate:(0,be.LI)(t.sessionSampleRate,3),session_replay_sample_rate:(0,be.LI)(t.sessionReplaySampleRate,3),profiling_sample_rate:(0,be.LI)(t.profilingSampleRate,3),trace_sample_rate:(0,be.LI)(t.traceSampleRate,3)},browser_sdk_version:(0,br.d0)()?"7.0.0":void 0,sdk_name:r},application:{id:t.applicationId}
1,date:(0,u.nx)(),source:i}})}(t,r,d);const _=Zs(t,r);g.push(()=>_.stop());const w=function(e){const t=(0,_r.qj)({expireDelay:Xr});return e.subscribe(1,e=>{t.add(function(e){return{service:e.service,version:e.version,context:e.context,id:e.id,name:e.name,startClocks:e.startClocks}}(e),e.startClocks.relative)}),e.subscribe(6,e=>{let{endClocks:r}=e;t.closeActive(r.relative)}),e.subscribe(3,e=>{const r=t.find(e.startClocks.relative);r&&(e.name&&(r.name=e.name),e.context&&(r.context=e.context),r.sessionIsActive=e.sessionIsActive)}),e.subscribe(10,()=>{t.reset()}),{findView:e=>t.find(e),stop:()=>{t.stop()}}}(e);g.push(()=>w.stop());const S=function(e,t,r){const n=(0,_r.qj)({expireDelay:Bs});let i;e.subscribe(1,e=>{let{startClocks:t,url:r}=e;const s=(0,o.B)(location).href,u=void 0!==r?(0,c.c$)(r,s).href:s;n.add(a({url:u,referrer:i||document.referrer}),t.relative),i=u}),e.subscribe(6,e=>{let{endClocks:t}=e;n.closeActive(t.relative)});const s=r.subscribe(e=>{let{newLocation:t}=e;const r=n.find();if(r){const e=(0,u.$S)();n.closeActive(e),n.add(a({url:t.href,referrer:r.referrer}),e)}});function a(e){let{url:t,referrer:r}=e;return{url:t,referrer:r}}return t.register(0,e=>{let{startTime:t,eventType:r}=e;const i=n.find(t);return i?{type:r,view:{url:i.url,referrer:i.referrer}}:mr.ug}),{findUrl:e=>n.find(e),stop:()=>{s.unsubscribe(),n.stop()}}}(e,t,v);g.push(()=>S.stop());const E=function(e,t,r){const n=(0,_r.qj)({expireDelay:qs});return e.subscribe(1,e=>{let{startClocks:t}=e;n.add({},t.relative)}),e.subscribe(6,e=>{let{endClocks:t}=e;n.closeActive(t.relative)}),t.register(0,e=>{let{startTime:t,eventType:i}=e;if(!r.trackFeatureFlagsForEvents.concat([oe.VIEW,oe.ERROR]).includes(i))return mr.$O;const o=n.find(t);return!o||(0,_e.RI)(o)?mr.$O:{type:i,feature_flags:o}}),{addFeatureFlagEvaluation:(e,t)=>{const r=n.find();r&&(r[e]=t)}}}(e,t,r);(function(e,t,r,n,i){e.register(0,e=>{let{eventType:o,startTime:s}=e;const a=r.findTrackedSession(s),u=i.findView(s);if(!a||!u)return mr.ug;let c,l,f;return o===oe.VIEW?(c=!!n.getReplayStats(u.id)||void 0,l=1===xa(a,t),f=!!u.sessionIsActive&&void 0):c=!!n.isRecording()||void 0,{type:o,session:{id:a.id,type:"user",has_replay:c,sampled_for_replay:l,is_active:f}}})})(t,r,i,l,w),function(e){e.register(0,e=>{let{eventType:t}=e;return{type:t,connectivity:(0,Pa.q)()}})}(t),Zr(t);const A=function(e,t,r,n){const i=gr();return t.storeContextsAcrossPages&&ur(t,i,r,2),e.register(0,()=>{const e=i.getContext();return n?{context:e}:e}),i}(t,r,"rum",!0),C=function(e,t,r,n){const i=vr();return t.storeContextsAcrossPages&&ur(t,i,n,1),e.register(0,e=>{let{eventType:n,startTime:o}=e;const s=i.getContext(),a=r.findTrackedSession(o);return a&&a.anonymousId&&!s.anonymous_id&&t.trackAnonymousUser&&(s.anonymous_id=a.anonymousId),(0,_e.RI)(s)?mr.$O:{type:n,usr:s}}),i}(t,r,i,"rum"),k=function(e,t,r){const n=yr();return t.storeContextsAcrossPages&&ur(t,n,r,4),e.register(0,()=>{const e=n.getContext();return(0,_e.RI)(e)||!e.id?mr.$O:{account:e}}),n}(t,r,"rum"),O=go(e,t,m,y,r);g.push(O.stop);const x=function(e){return{addEvent:(t,r,n,i)=>{Ia.includes(r.type)&&e.notify(12,{startClocks:(0,u.FR)(t),rawRumEvent:r,domainContext:n,duration:i})}}}(e),P=function(e,t){let r;const n=requestAnimationFrame((0,a.dm)(()=>{r=As()})),i=Es(t).subscribe(e=>{r=e}).unsubscribe;return e.register(0,e=>{let{eventType:t}=e;return{type:t,display:r?{viewport:r}:void 0}}),{stop:()=>{i(),n&&cancelAnimationFrame(n)}}}(t,r);g.push(P.stop);const I=function(e,t){var r;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:na(e,sa),i=Oe(sa)||(null===(r=window.Cypress)||void 0===r?void 0:r.env("traceId"));const o=n.subscribe(e=>{i=e});return t.register(0,e=>{let{eventType:t}=e;return"string"!==typeof i?mr.$O:{type:t,session:{type:"ci_test"},ci_test:{test_execution_id:i}}}),{stop:()=>{o.unsubscribe()}}}(r,t);g.push(I.stop),ha(t),Oa(r,e,t,h);const{addTiming:T,setLoadingTime:R,startView:D,setViewName:M,setViewContext:F,setViewContextProperty:j,getViewContext:N,stop:B}=Ds(e,t,r,m,y,v,l,w,f);Ta(t),g.push(B);const L=$o(e,r);g.push(L.stop);const{stop:U}=function(e,t){const r=qn(Bn.LONG_ANIMATION_FRAME)?Bn.LONG_ANIMATION_FRAME:Bn.LONG_TASK,n=Ln(t,{type:r,buffered:!0}).subscribe(r=>{for(const n of r){if(!t.trackLongTasks)break;const r=(0,u.FR)(n.startTime),i=la(n,r);e.notify(12,{rawRumEvent:i,startClocks:r,duration:n.duration,domainContext:{performanceEntry:n}})}});return{stop:()=>n.unsubscribe()}}(e,r);g.push(U);const{addError:q}=Ao(e,r,p);xn(e,r,i,C,k,p);const V=ta(e,_),z=function(e,t,r,n,i){return{get:o=>{const s=r.findView(o),a=i.findUrl(o),u=t.findTrackedSession(o);if(u&&s&&a){const t=n.findActionId(o);return{application_id:e,session_id:u.id,user_action:t?{id:t}:void 0,view:{id:s.id,name:s.name,referrer:a.referrer,url:a.url}}}}}}(r.applicationId,i,w,O.actionContexts,S);return{addAction:O.addAction,startAction:O.startAction,stopAction:O.stopAction,startResource:L.startResource,stopResource:L.stopResource,addEvent:x.addEvent,addError:q,addTiming:T,setLoadingTime:R,addFeatureFlagEvaluation:E.addFeatureFlagEvaluation,startView:D,setVie
1wContext:F,setViewContextProperty:j,getViewContext:N,setViewName:M,viewHistory:w,sessionManager:i,stopSession:()=>i.expire(),getInternalContext:z.get,startDurationVital:V.startDurationVital,stopDurationVital:V.stopDurationVital,addDurationVital:V.addDurationVital,addOperationStepVital:V.addOperationStepVital,globalContext:A,userContext:C,accountContext:k,stop:()=>g.forEach(e=>e())}}(y,g,e,t,r,l,d,m,b),{stop:E}=S,A=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(S,Ra);return v.push(E),d.unbuffer(),v.push(()=>i.stop()),Ma(Ma({},A),{},{lifeCycle:y,sessionManager:t,stopSession:()=>t.expire(),telemetry:h,stop:()=>{v.forEach(e=>e())},hooks:g})}function Na(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ba(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Na(Object(r),!0).forEach(function(t){La(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Na(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function La(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=function(e){const t=new n.cP;function r(){return e===i.GRANTED}return{tryToInit(t){e||(e=t)},onGrantedOnce(e){if(r())e();else{const n=t.subscribe(()=>{r()&&(e(),n.unsubscribe())})}},update(r){e=r,t.notify()},isGranted:r,observable:t}}(),c=function(){const e=new n.dX(500,e=>{(0,I.A2)("Early data collection dropped data on unbuffer",{count:e})}),t=[];function r(r,n){t.push(n.subscribe(t=>{e.notify({type:r,data:t})}))}return r(0,(0,o.B)(M)()),r(1,b()),r(2,k({allowUntrustedEvents:!0})),r(3,L(Object.values(P.bP))),{observable:e,stop:()=>t.forEach(e=>e.unsubscribe())}}();let l=Gr(r,s,(n,i,s,a,u,f)=>{const p=s&&r.createDeflateEncoder?e=>r.createDeflateEncoder(n,s,e):U.N,d=(0,o.B)(ja)(n,i,e,t,a,p,c.observable,u,f,r.sdkName);return e.onRumStart(d.lifeCycle,n,i,d.viewHistory,s,d.telemetry),t.onRumStart(d.lifeCycle,d.hooks,n,i,d.viewHistory,p),l=function(e,t){return Ba(Ba({},e),{},{init:e=>{ie("DD_RUM",e)},getInternalContext:t.getInternalContext,stopSession:t.stopSession,getViewContext:t.getViewContext,globalContext:t.globalContext,userContext:t.userContext,accountContext:t.accountContext})}(l,d),or(n.plugins,"onRumStart",{addEvent:d.addEvent,addError:d.addError}),d});const f=()=>l,p=(0,q.m)({init:e=>{const t=(new Error).stack;(0,a.um)(()=>l.init(e,p,t))},setTrackingConsent:(0,a.dm)(e=>{s.update(e),(0,I.Q6)({feature:"set-tracking-consent",tracking_consent:e})}),setViewName:(0,a.dm)(e=>{l.setViewName(e),(0,I.Q6)({feature:"set-view-name"})}),setViewContext:(0,a.dm)(e=>{l.setViewContext(e),(0,I.Q6)({feature:"set-view-context"})}),setViewContextProperty:(0,a.dm)((e,t)=>{l.setViewContextProperty(e,t),(0,I.Q6)({feature:"set-view-context-property"})}),getViewContext:(0,a.dm)(()=>((0,I.Q6)({feature:"set-view-context-property"}),l.getViewContext())),getInternalContext:(0,a.dm)(e=>l.getInternalContext(e)),getInitConfiguration:(0,a.dm)(()=>(0,V.Go)(l.initConfiguration)),addAction:(e,t)=>{const r=(0,N.uC)("action");(0,a.um)(()=>{l.addAction({name:(0,F.a)(e),context:(0,F.a)(t),startClocks:(0,u.M8)(),type:pe,handlingStack:r}),(0,I.Q6)({feature:"add-action"})})},startAction:(0,a.dm)((e,t)=>{l.initConfiguration&&!(0,z.sr)(z.R9.START_STOP_ACTION)||l.startAction((0,F.a)(e),{type:(0,F.a)(t&&t.type),context:(0,F.a)(t&&t.context),actionKey:t&&t.actionKey})}),stopAction:(0,a.dm)((e,t)=>{l.initConfiguration&&!(0,z.sr)(z.R9.START_STOP_ACTION)||l.stopAction((0,F.a)(e),{type:(0,F.a)(t&&t.type),context:(0,F.a)(t&&t.context),actionKey:t&&t.actionKey})}),startResource:(0,a.dm)((e,t)=>{l.initConfiguration&&!(0,z.sr)(z.R9.START_STOP_RESOURCE)||l.startResource((0,F.a)(e),{type:(0,F.a)(t&&t.type),method:(0,F.a)(t&&t.method),context:(0,F.a)(t&&t.context),resourceKey:t&&t.resourceKey})}),stopResource:(0,a.dm)((e,t)=>{l.initConfiguration&&!(0,z.sr)(z.R9.START_STOP_RESOURCE)||l.stopResource((0,F.a)(e),{type:(0,F.a)(t&&t.type),statusCode:t&&t.statusCode,size:t&&t.size,context:(0,F.a)(t&&t.context),resourceKey:t&&t.resourceKey})}),addError:(e,t)=>
1{const r=(0,N.uC)("error");(0,a.um)(()=>{l.addError({error:e,handlingStack:r,context:(0,F.a)(t),startClocks:(0,u.M8)()}),(0,I.Q6)({feature:"add-error"})})},addTiming:(0,a.dm)((e,t)=>{l.addTiming((0,F.a)(e),t)}),setViewLoadingTime:(0,a.dm)(()=>{const e=(0,u.nx)();l.setLoadingTime(e),(0,I.Q6)({feature:"addViewLoadingTime"})}),setGlobalContext:G(f,H,Y,"set-global-context"),getGlobalContext:G(f,H,Z,"get-global-context"),setGlobalContextProperty:G(f,H,J,"set-global-context-property"),removeGlobalContextProperty:G(f,H,Q,"remove-global-context-property"),clearGlobalContext:G(f,H,X,"clear-global-context"),setUser:G(f,W,Y,"set-user"),getUser:G(f,W,Z,"get-user"),setUserProperty:G(f,W,J,"set-user-property"),removeUserProperty:G(f,W,Q,"remove-user-property"),clearUser:G(f,W,X,"clear-user"),setAccount:G(f,K,Y,"set-account"),getAccount:G(f,K,Z,"get-account"),setAccountProperty:G(f,K,J,"set-account-property"),removeAccountProperty:G(f,K,Q,"remove-account-property"),clearAccount:G(f,K,X,"clear-account"),startView:e=>{const t=(0,N.uC)("view");(0,a.um)(()=>{const r="object"===typeof e?e:{name:e};l.startView(Ba(Ba({},r),{},{handlingStack:t})),(0,I.Q6)({feature:"start-view"})})},stopSession:(0,a.dm)(()=>{l.stopSession(),(0,I.Q6)({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,a.dm)((e,t)=>{l.addFeatureFlagEvaluation((0,F.a)(e),(0,F.a)(t)),(0,I.Q6)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,a.dm)(()=>e.getSessionReplayLink()),startSessionReplayRecording:(0,a.dm)(t=>{e.start(t),(0,I.Q6)({feature:"start-session-replay-recording",force:t&&t.force})}),stopSessionReplayRecording:(0,a.dm)(()=>e.stop()),addDurationVital:(e,t)=>{const r=(0,N.uC)("vital");(0,a.um)(()=>{(0,I.Q6)({feature:"add-duration-vital"}),l.addDurationVital({id:ee(),name:(0,F.a)(e),type:me,startClocks:(0,u.jR)(t.startTime),duration:t.duration,context:(0,F.a)(t&&t.context),description:(0,F.a)(t&&t.description),handlingStack:r})})},startDurationVital:(e,t)=>{const r=(0,N.uC)("vital");(0,a.um)(()=>{(0,I.Q6)({feature:"start-duration-vital"}),l.startDurationVital((0,F.a)(e),{vitalKey:t&&t.vitalKey,context:(0,F.a)(t&&t.context),description:(0,F.a)(t&&t.description),handlingStack:r})})},stopDurationVital:(0,a.dm)((e,t)=>{(0,I.Q6)({feature:"stop-duration-vital"}),l.stopDurationVital((0,F.a)(e),{vitalKey:t&&t.vitalKey,context:(0,F.a)(t&&t.context),description:(0,F.a)(t&&t.description)})}),startFeatureOperation:(e,t)=>{const r=(0,N.uC)("vital");(0,a.um)(()=>{(0,I.Q6)({feature:"add-operation-step-vital",action_type:"start"}),l.addOperationStepVital(e,"start",Ba(Ba({},t),{},{handlingStack:r}))})},succeedFeatureOperation:(0,a.dm)((e,t)=>{(0,I.Q6)({feature:"add-operation-step-vital",action_type:"succeed"}),l.addOperationStepVital(e,"end",t)}),failFeatureOperation:(0,a.dm)((e,t,r)=>{(0,I.Q6)({feature:"add-operation-step-vital",action_type:"fail"}),l.addOperationStepVital(e,"end",r,t)}),DEFAULT_TRACKED_RESOURCE_HEADERS:Dt});return p}function qa(e,t){let{session:r,viewContext:n,errorType:i}=t;const o=r?r.id:"no-session-id",s=[];void 0!==i&&s.push(`error-type=${i}`),n&&(s.push(`seed=${n.id}`),s.push(`from=${n.startClocks.timeStamp}`));const a=function(e){const t=e.site,r=e.subdomain||function(e){switch(e.site){case ht.NW:case ht.dV:return"app";case ht.Bb:return"dd";default:return}}(e);return`https://${r?`${r}.`:""}${t}`}(e);return`${a}${`/rum/replay/sessions/${o}`}?${s.join("&")}`}const Va=["event"];function za(e,t,r,n){const i=(0,js.sA)([e.profilingEndpointBuilder],e=>{t.notify(14,{error:e}),(0,I.A2)("Error reported to customer",{"error.message":e.message})}),o=r(n);return{async send(e){let{event:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Va);const n=new FormData,s=(0,j.s)(t);if(!s)throw new Error("Failed to serialize event");n.append("event",new Blob([s],{type:"application/json"}),"event.json");let a=s.length;for(const[i,u]of(0,Ie.WP)(r)){const e=(0,j.s)(u);if(!e)throw new Error("Failed to serialize attachment");const t=await Ga(o,e);a+=t.outputBytesCount,n.append(i,new Blob([t.output]),i)}i.send({data:n,bytesCount:a})}}}function Ga(e,t){return new Promise(r=>{e.write(t),e.finish(e=>{r(e)})})}},28020(e,t,r){"use strict";r.d(t,{$1:()=>s,H5:()=>o,K_:()=>i,L7:()=>a,lv:()=>u});let n;function i(e){return c(e).segments_count}function o(e){c(e).segments_count+=1}function s(e){c(e).records_count+=1}function a(e,t){c(e).segments_total_raw_size+=t}function u(e){var t;return null===(t=n)||void 0===t?void 0:t.get(e)}function c(e){let t;return n||(n=new Map),n.has(e)?t=n.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},n.set(e,t),n.size>1e3&&function(){if(!n)return;const e=n.keys().next().value;e&&n.delete(e)}()),t}},10873(e,t,r){"use strict";r.d(t,{L2:()=>q});var n=r(34799),i=r(23878),o=r(10921),s=r(71331),a=r(89363),u=r(28020),c=r(95402),l=r(34829);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?f(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r){let n,i=0,o=[],s=!0,a=0;const u=[],{stop:f}=(0,c.q)(e,t,"message",e=>{let{data:t}=e;if("wrote"!==t.type||t.streamId!==r)return;const s=u[0];s&&(s.id===t.id?(u.shift(),i+=t.additionalBytesCount,o.push(t.result),n=t.trailer,s.writeCallback?s.writeCallback(t.result.byteLength):s.finishCallback&&s.finishCallback()):s.id<t.id&&f())});function d(){const e=0===o.length?new Uint8Array(0):(0,l.wh)(o.concat(n)),t={rawBytesCount:i,output:e,outputBytesCount:e.byteLength,encoding:"deflate"};return i=0,o=[],t}function h(){s||(t.postMessage({action:"reset",streamId:r}),s=!0)}return{isAsync:!0,get isEmpty(){return s},write(e,n){t.postMessage({action:"write",id:a,data:e,streamId:r}),u.push({id:a,writeCallback:n,data:e}),s=!1,a+=1},finish(e){h(),u.length?(u.forEach(e=>{delete e.writeCallback}),u[u.length-1].finishCallback=()=>e(d())):e(d())},finishSync(){h();const e=u.map(e=>e.data).join("");return u.length=0,p(p({},d()),{},{pendingData:e})},estimateEncodedBytesCount:e=>e.length/8,stop(){f()}}}var g=r(60076),m=r(99268),v=r(20501),y=r(33054),b=r(59744);function _(e){let{configuredUrl:t,error:r,source:n,scriptType:i}=e;if(y.Vy.error(`${n} failed to start: an error occurred while initializing the ${i}:`,r),r instanceof Event||r instanceof Error&&((o=r.message).includes("Content Security Policy")||o.includes("requires 'TrustedScriptURL'"))){let e;e=t?`Please make sure the ${i} URL ${t} is correct and CSP is correctly configured.`:"Please make sure CSP is correctly configured.",y.Vy.error(`${e} See documentation at ${y.fH}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else"worker"===i&&(0,b.VJ)(r);var o}const w=30*g.OY;function S(e){return new Worker(e.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function g(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function p(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]}
vendor: 4,411 bytes, line 1
1,U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,g=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,g++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==g){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,g-=2}while(g>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},D=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},M=!1,j=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},C=j,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),O=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},T={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=C,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=T[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;
vendor: 7,127 bytes, line 1
1for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?j(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);D(t,t.dyn_ltree,e-1),D(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=O(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){M||(function(){var t,e,i,p,v,w=Array(16);for(i=0,p=0;p<28;
vendor: 5,140 bytes, line 1
1p++)for(o[p]=i,t=0;t<1<<a[p];t++)_[i++]=p;for(_[i-1]=p,v=0,p=0;p<16;p++)for(c[p]=v,t=0;t<1<<n[p];t++)l[v++]=p;for(v>>=7;p<30;p++)for(c[p]=v<<7,t=0;t<1<<n[p]-7;t++)l[256+v++]=p;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new g(s,a,257,286,15),u=new g(h,n,0,30,15),f=new g([],r,0,19,7)}(),M=!0),t.l_desc=new p(t.dyn_ltree,d),t.d_desc=new p(t.dyn_dtree,u),t.bl_desc=new p(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=O(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>
1=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function gt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(T[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(T[n]);this._dict_set=!0}}function pt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch{t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}gt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},gt.prototype.onData=function(t){this.chunks.push(t)},gt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;
1for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"7.0.0"};case"write":{let n=e.get(a.streamId);n||(n=new gt,e.set(a.streamId,n));const r=n.chunks.length,i=(new TextEncoder).encode(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){pt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){pt(e,t)}}()})();'])))}let E={status:0};function A(e,t,r){switch(0===E.status&&function(e,t){try{const r=(0,m.B)(S)(e),{stop:n}=(0,c.q)(e,r,"error",r=>{k(e,t,r)}),{stop:i}=(0,c.q)(e,r,"message",r=>{let{data:n}=r;var i;"errored"===n.type?k(e,t,n.error,n.streamId):"initialized"===n.type&&(i=n.version,1===E.status&&(E={status:3,worker:E.worker,stop:E.stop,version:i}))});r.postMessage({action:"init"}),(0,v.wg)(()=>function(e){1===E.status&&(y.Vy.error(`${e} failed to start: a timeout occurred while initializing the Worker`),E.initializationFailureCallbacks.forEach(e=>e()),E={status:2})}(t),w);E={status:1,worker:r,stop:()=>{n(),i()},initializationFailureCallbacks:[]}}catch(r){k(e,t,r)}}(e,t),E.status){case 1:return E.initializationFailureCallbacks.push(r),E.worker;case 3:return E.worker}}function C(){return E.status}function k(e,t,r,n){1===E.status||0===E.status?(_({configuredUrl:e.workerUrl,error:r,source:t,scriptType:"worker"}),1===E.status&&E.initializationFailureCallbacks.forEach(e=>e()),E={status:2}):(0,b.VJ)(r,{worker_version:3===E.status&&E.version,stream_id:n})}var O=r(9377),x=r(33691),P=r(64034);function I(e,t,r,n){const i=t.findTrackedSession(),s=function(e,t,r){if(!t)return"rum-not-tracked";if(0===(0,o.K$)(t,e))return"incorrect-session-plan";if(!r)return"replay-not-started"}(e,i,n),a=r.findView();return(0,o.dx)(e,{viewContext:a,errorType:s,session:i})}async function T(){try{return await(0,m.B)(R)()}catch(e){_({error:e,source:"Recorder",scriptType:"module"})}}async function R(){return(await r.e(581).then(r.bind(r,25414))).startRecording}function D(e,t,r,n,i,s){let u,c=0;t.subscribe(9,()=>{2!==c&&3!==c||(d(),c=1)}),t.subscribe(10,()=>{1===c&&p()});const l=new O.cP;!function(e,t){if(!e.metricsEnabled)return{stop:a.l};let r,n,i;const{unsubscribe:o}=t.subscribe(e=>{switch(e.type){case"start":r={forced:e.forced,timestamp:(0,g.nx)()},n=void 0,i=void 0;break;case"document-ready":r&&(n=(0,g.vk)(r.timestamp,(0,g.nx)()));break;case"recorder-settled":r&&(i=(0,g.vk)(r.timestamp,(0,g.nx)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":o(),r&&(0,b.Gk)("Recorder init metrics",{metrics:(t=r.forced,s=i,a=(0,g.vk)(r.timestamp,(0,g.nx)()),u=e.type,c=n,{forced:t,loadRecorderModuleDuration:s,recorderInitDuration:a,result:u,waitForDocReadyDuration:c})})}var t,s,a,u,c})}(s,l);const f=async o=>{l.notify({type:"start",forced:o});const[a]=await Promise.all([M(l,{type:"recorder-settled"},T()),M(l,{type:"document-ready"},(0,x.N)(e,"interactive"))]);if(2!==c)return void l.notify({type:"aborted"});if(!a)return c=0,void l.notify({type:"recorder-load-failed"});const f=i();if(!f)return c=0,void l.notify({type:"deflate-encoder-load-failed"});({stop:u}=a(t,e,r,n,f,s)),c=3,l.notify({type:"succeeded"})};function p(t){const n=r.findTrackedSession(),i=n?(0,o.K$)(n,e):void 0;if(!function(e,t){return void 0!==e&&(0!==e||(null===t||void 0===t?void 0:t.force))}(i,t))return void(c=1);if(function(e){return 2===e||3===e}(c))return;c=2;const s=function(e,t){return t&&t.force&&0===e}(i,t)||!1;f(s).catch(P.Dx),s&&r.updateSessionState({forcedReplay:"1"})}function d(){var e;3===c&&(null===(e=u)||void 0===e||e());c=0}return{start:p,stop:d,getSessionReplayLink:()=>I(e,r,n,0!==c),isRecording:()=>3===c}}async function M(e,t,r){try{return await r}finally{e.notify(t)}}var F=r(74501);function j(){return void 0!==(0,i.VZ)().Profiler}var N=r(62646);async function B(){return(await r.e(440).then(r.bind(r,85199))).createRumProfiler}const L=function(){if((0,s.d0)()&&!(0,s.Ww)("records"))return{start:a.l,stop:a.l,getReplayStats:()=>{},onRumStart:a.l,isRecording:()=>!1,getSessionReplayLink:()=>{}};let{strategy:e,shouldStartImmediately:t}=function(){let e=0;return{strategy:{start(){e=1},stop(){e=2},isRecording:()=>!1,getSessionReplayLink:a.l},shouldStartImmediately:t=>1===e||0===e&&!t.startSessionReplayRecordingManually}}();return{start:t=>e.start(t),stop:()=>e.stop(),getSessionReplayLink:()=>e.getSessionReplayLink(),onRumStart:function(r,n,i,o,s,a){let u;e=D(n,r,i,o,function(){u||(null!==s&&void 0!==s||(s=A(n,"Datadog Session Replay",()=>e.stop())),s&&(u=h(n,s,1)));return u},a),t(n)&&e.start()},isRecording:()=>3===C()&&e.isRecording(),getReplayStats:e=>3===C()?(0,u.lv)(e):void 0}}(),U=function(){let e;return{onRumStart:function(t,r,n,i,s,a){const u=i.findTrackedSession();if(!u)return;if(!(0,F.$5)(u.id,(0,F.it)(n.sessionSampleRate,n.profilingSampleRate)))return;const c=function(e){let t={status:"starting"};return e.register(0,e=>{let{eventType:r}=e;return r!==o.bb.VIEW&&r!==o.bb.LONG_TASK&&r!==o.bb.ACTION&&r!==o.bb.VITAL?N.$O:{type:r,_dd:{profiling:t}}}),{get:()=>t,set:e=>{t=e}}}(r);(0,m.B)(j)()?async function(){try{return await(0,m.B)(B)()}catch(e){_({error:e,source:"Profiler",scriptType:"module"})}}().then(r=>{r?(e=r(n,t,i,c,a,s,void 0),e.start()):c.set({status:"error",error_reason:"failed-to-lazy-load"})}).catch(P.Dx):c.set({status:"error",error_reason:"not-supported-by-browser"})},stop:()=>{var t;null===(t=e)||void 0===t||t.stop()}}}(),q=(0,o.AB)(L,U,{startDeflateWorker:A,createDeflateEncoder:h,sdkName:"rum"});(0,n.Z)((0,i.VZ)(),"DD_RUM",q)},25595(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.regionAPIs=void 0,t.regionAPIs=new Map([["us","https://api-iam.intercom.io"],["eu","https://api-iam.eu.intercom.io"],["ap","https://api-iam.au.intercom.io"]])},25962(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.hideNotifications=t.onUserEmailSupplied=t.showConversation=t.showTicket=t.startChecklist=t.startSurvey=t.showNews=t.showArticle=t.startTour=t.whoami=t.getVisitorId=t.trackEvent=t.onUnreadCountChange=t.onShow=t.onHide=t.showNewMessage=t.showMessages=t.showSpace=t.show=t.hide=t.update=t.shutdown=t.boot=t.Intercom=void 0;const i=r(25595),o=r(48313),s=function(e){if(void 0!==typeof window&&window.Intercom){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return window.Intercom(e,...r)}console.warn("Please ensure Intercom is setup and running on client-side!")};t.Intercom=e=>{if("object"!==typeof e)return void console.warn("Intercom initialiser called with invalid parameters.");const{region:t="us",widgetUrl:r}=e,s=n(e,["region","widgetUrl"]);"undefined"===typeof window||o.ref||(window.intercomSettings=Object.assign(Object.assign({},s),{api_base:i.regionAPIs.get(t)}),(0,o.init)({widgetUrl:r}))},t.default=t.Intercom;t.boot=e=>s("boot",e);t.shutdown=()=>s("shutdown");t.update=e=>s("update",e);t.hide=()=>s("hide");t.show=()=>s("show");t.showSpace=e=>s("showSpace",e);t.showMessages=()=>s("showMessages");t.showNewMessage=e=>s("showNewMessage",e);t.onHide=e=>s("onHide",e);t.onShow=e=>s("onShow",e);t.onUnreadCountChange=e=>s("onUnreadCountChange",e);t.trackEvent=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s("trackEvent",...t)};t.getVisitorId=()=>s("getVisitorId");t.whoami=()=>s("whoami");t.startTour=e=>s("startTour",e);t.showArticle=e=>s("showArticle",e);t.showNews=e=>s("showNews",e);t.startSurvey=e=>s("startSurvey",e);t.startChecklist=e=>s("startChecklist",e);t.showTicket=e=>s("showTicket",e);t.showConversation=e=>s("showConversation",e);t.onUserEmailSupplied=e=>s("onUserEmailSupplied",e);t.hideNotifications=e=>s("hideNotifications",e)},48313(e,t){"use strict";var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{u(n.next(e))}catch(t){o(t)}}function a(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.ref=t.init=void 0;const n="_intercom_npm_loader",i=function(){i.loaderQueue(arguments)};i.q=[],i.loaderQueue=function(e){i.q.push(e)};const o=function(e){var t,r,i=document;if(!i.getElementById(n)){var o=i.createElement("script");o.type="text/javascript",o.async=!0,o.id=n,o.src=e||"https://widget.intercom.io/widget/"+(null===(t=window.intercomSettings)||void 0===t?void 0:t.app_id);var s=i.getElementsByTagName("script")[0];null===(r=s.parentNode)||void 0===r||r.insertBefore(o,s)}},s=()=>"complete"===document.readyState||"interactive"===document.readyState;t.init=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r(void 0,[...t],void 0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function*(){var t=window,r=t.Intercom;t.intercomSettings&&(t.intercomSettings.installation_type="npm-package"),"function"===typeof r?(r("reattach_activator"),r("update",t.intercomSettings)):(t.Intercom=i,s()?o(e.widgetUrl):(document.addEventListener("readystatechange",function(){s()&&o(e.widgetUrl)}),t.attachEvent?t.attachEvent("onload",()=>o(e.widgetUrl)):t.addEventListener("load",()=>o(e.widgetUrl),!1)))}()})},t.ref=void 0},17868(e){"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},54452(e,t,r){"use strict";const n=r(17868),{hasOwnProperty:i}=Object.prototype,{propertyIsEnumerable:o}=Object,s=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}),a=this,u={concatArrays:!1,ignoreUndefined:!1},c=e=>{const t=[];for(const r in e)i.call(e,r)&&t.push(r);if(Object.getOwnPropertySymbols){const r=Object.getOwnPropertySymbols(e);
1for(const n of r)o.call(e,n)&&t.push(n)}return t};function l(e){return Array.isArray(e)?function(e){const t=e.slice(0,0);return c(e).forEach(r=>{s(t,r,l(e[r]))}),t}(e):n(e)?function(e){const t=null===Object.getPrototypeOf(e)?Object.create(null):{};return c(e).forEach(r=>{s(t,r,l(e[r]))}),t}(e):e}const f=(e,t,r,n)=>(r.forEach(r=>{"undefined"===typeof t[r]&&n.ignoreUndefined||(r in e&&e[r]!==Object.getPrototypeOf(e)?s(e,r,p(e[r],t[r],n)):s(e,r,l(t[r])))}),e);function p(e,t,r){return r.concatArrays&&Array.isArray(e)&&Array.isArray(t)?((e,t,r)=>{let n=e.slice(0,0),o=0;return[e,t].forEach(t=>{const a=[];for(let r=0;r<t.length;r++)i.call(t,r)&&(a.push(String(r)),s(n,o++,t===e?t[r]:l(t[r])));n=f(n,t,c(t).filter(e=>!a.includes(e)),r)}),n})(e,t,r):n(t)&&n(e)?f(e,t,c(t),r):l(t)}e.exports=function(){const e=p(l(u),this!==a&&this||{},u);let t={_:{}};for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];for(const s of i)if(void 0!==s){if(!n(s))throw new TypeError("`"+s+"` is not an Option Object");t=p(t,{_:s},e)}return t._}},78483(e,t,r){"use strict";var n;if(r.d(t,{A:()=>py}),"undefined"===typeof window){var i={hostname:""};n={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:i,referrer:""},screen:{width:0,height:0},location:i,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else n=window;var o={DEBUG:!1,LIB_VERSION:"2.78.0"},s="__mp_targeting",a="__mp_recorder",u="__MP_TARGETING_FILENAME__";function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t,r,n,i,o,s){try{var a=e[o](s),u=a.value}catch(c){return void r(c)}a.done?t(u):Promise.resolve(u).then(n,i)}function f(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function s(e){l(o,n,i,s,a,"next",e)}function a(e){l(o,n,i,s,a,"throw",e)}s(void 0)})}}function p(e,t,r){return p=S()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&b(i,r.prototype),i},p.apply(null,arguments)}function d(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function v(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function y(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function _(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function w(e){var t="function"===typeof Map?new Map:void 0;return w=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return p(e,arguments,g(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),b(n,e)},w(e)}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(mh){}return(S=function(){return!!e})()}function E(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
1function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function C(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var k,O=Object.defineProperty,x=function(e,t,r){return function(e,t,r){return t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==("undefined"===typeof t?"undefined":_(t))?t+"":t,r)},P=Object.defineProperty,I=function(e,t,r){return function(e,t,r){return t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==("undefined"===typeof t?"undefined":_(t))?t+"":t,r)},T=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(T||{}),R={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},D={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},M={};function F(e){if(M[e])return M[e];var t=globalThis[e],r=t.prototype,n=e in R?R[e]:void 0,i=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),o=e in D?D[e]:void 0,s=Boolean(o&&o.every(function(e){var t;return"function"===typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&s&&!globalThis.Zone)return M[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return t.prototype;var c=u[e].prototype;return document.body.removeChild(a),c?M[e]=c:r}catch(l){return r}}var j={};function N(e,t,r){var n,i=e+"."+String(r);if(j[i])return j[i].call(t);var o=F(e),s=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return s?(j[i]=s,s.call(t)):t[r]}var B={};function L(e,t,r){var n=e+"."+String(r);if(B[n])return B[n].bind(t);var i=F(e)[r];return"function"!==typeof i?t[r]:(B[n]=i,i.bind(t))}var U={childNodes:function(e){return N("Node",e,"childNodes")},parentNode:function(e){return N("Node",e,"parentNode")},parentElement:function(e){return N("Node",e,"parentElement")},textContent:function(e){return N("Node",e,"textContent")},contains:function(e,t){return L("Node",e,"contains")(t)},getRootNode:function(e){return L("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?N("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?N("Element",e,"shadowRoot"):null},querySelector:function(e,t){return N("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return N("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return F("MutationObserver").constructor},patch:function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(o){return function(){}}}};
1function q(e){return e.nodeType===e.ELEMENT_NODE}function V(e){var t=e&&"host"in e&&"mode"in e&&U.host(e)||null;return Boolean(t&&"shadowRoot"in t&&U.shadowRoot(t)===e)}function z(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function G(e){try{var t=e.rules||e.cssRules;if(!t)return null;var r=e.href;!r&&e.ownerNode&&e.ownerNode.ownerDocument&&(r=e.ownerNode.ownerDocument.location.href);var n=Array.from(t,function(e){return $(e,r)}).join("");return(i=n).includes(" background-clip: text;")&&!i.includes(" -webkit-background-clip: text;")&&(i=i.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),i}catch(o){return null}var i}function $(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=G(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?r.push("layer"):e.layerName&&r.push("layer("+e.layerName+")"),e.supportsText&&r.push("supports("+e.supportsText+")"),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(i){r=e.cssText}return e.styleSheet.href?re(r,e.styleSheet.href):r}var n=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(n=function(e){var t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(n)),t?re(n,t):n}var W=function(){function e(){I(this,"idNodeMap",new Map),I(this,"nodeMetaMap",new WeakMap)}var t=e.prototype;return t.getId=function(e){var t;if(!e)return-1;var r=null==(t=this.getMeta(e))?void 0:t.id;return null!=r?r:-1},t.getNode=function(e){return this.idNodeMap.get(e)||null},t.getIds=function(){return Array.from(this.idNodeMap.keys())},t.getMeta=function(e){return this.nodeMetaMap.get(e)||null},t.removeNodeFromMap=function(e,t){var r=this;void 0===t&&(t=!1);var n=this.getId(e);this.idNodeMap.delete(n),t&&this.nodeMetaMap.delete(e),e.childNodes&&e.childNodes.forEach(function(e){return r.removeNodeFromMap(e,t)})},t.has=function(e){return this.idNodeMap.has(e)},t.hasNode=function(e){return this.nodeMetaMap.has(e)},t.add=function(e,t){var r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)},t.replace=function(e,t){var r=this.getNode(e);if(r){var n=this.nodeMetaMap.get(r);n&&this.nodeMetaMap.set(t,n)}this.idNodeMap.set(e,t)},t.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function H(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,i=e.type,o=e.value,s=e.maskInputFn,a=o||"",u=i&&K(i);return(r[n.toLowerCase()]||u&&r[u])&&(a=s?s(a,t):"*".repeat(a.length)),a}function K(e){return e.toLowerCase()}var Z="__rrweb_original__";function Y(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?K(t):null}function J(e,t){var r;try{r=new URL(e,null!=t?t:window.location.href)}catch(o){return null}var n,i=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(n=null==i?void 0:i[1])?n:null}var Q=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,X=/^(?:[a-z+]+:)?\/\//i,ee=/^www\..*/i,te=/^(data:)([^,]*),(.*)/i;function re(e,t){return(e||"").replace(Q,function(e,r,n,i,o,s){var a,u=n||o||s,c=r||i||"";if(!u)return e;if(X.test(u)||ee.test(u))return"url("+c+u+c+")";if(te.test(u))return"url("+c+u+c+")";if("/"===u[0])return"url("+c+(((a=t).indexOf("//")>-1?a.split("/").slice(0,3).join("/"):a.split("/")[0]).split("?")[0]+u)+c+")";var l=t.split("/"),f=u.split("/");l.pop();for(var p,d=E(f);!(p=d()).done;){var h=p.value;"."!==h&&(".."===h?l.pop():l.push(h))}return"url("+c+l.join("/")+c+")"})}function ne(e,t){return void 0===t&&(t=!1),t?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function ie(e,t){return function(e,t,r){void 0===r&&(r=!1);var n=Array.from(t.childNodes),i=[],o=0;if(n.length>1&&e&&"string"===typeof e)for(var s=ne(e,r),a=s.length/e.length,u=1;u<n.length;u++)if(n[u].textContent&&"string"===typeof n[u].textContent){for(var c=ne(n[u].textContent,r),l=3;l<c.length&&(c[l].match(/[a-zA-Z0-9]/)||-1!==c.indexOf(c.substring(0,l),1));l++);for(;l<c.length;l++){var f=c.substring(0,l),p=s.split(f),d=-1;if(2===p.length)d=p[0].length;else if(p.length>2&&""===p[0]&&""!==n[u-1].textContent)d=s.indexOf(f,1);else if(1===p.length){if(f=f.substring(0,f.length-1),(p=s.split(f)).length<=1)return i.push(e),i;l=101}
1else l===c.length-1&&(d=s.indexOf(f));if(p.length>=2&&l>100){var h=n[u-1].textContent;if(h&&"string"===typeof h){var g=ne(h).length;d=s.indexOf(f,g)}-1===d&&(d=p[0].length)}if(-1!==d){for(var m=Math.floor(d/a);m>0&&m<e.length;){if((o+=1)>50*n.length)return i.push(e),i;var v=ne(e.substring(0,m),r);if(v.length===d){i.push(e.substring(0,m)),e=e.substring(m),s=s.substring(d);break}v.length<d?m+=Math.max(1,Math.floor((d-v.length)/a)):m-=Math.max(1,Math.floor((v.length-d)*a))}break}}}return i.push(e),i}(e,t).join("/* rr_split */")}var oe,se,ae=1,ue=/[^a-z0-9-_:]/;function ce(){return ae++}var le=/^[^ \t\n\r\u000c]+/,fe=/^[, \t\n\r\u000c]+/;var pe=new WeakMap;function de(e,t){return t&&""!==t.trim()?ge(e,t):t}function he(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function ge(e,t){var r=pe.get(e);if(r||(r=e.createElement("a"),pe.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function me(e,t,r,n){return n?"src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0]?de(e,n):"background"!==r||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r?function(e,t){if(""===t.trim())return t;var r=0;function n(e){var n,i=e.exec(t.substring(r));return i?(n=i[0],r+=n.length,n):""}for(var i=[];n(fe),!(r>=t.length);){var o=n(le);if(","===o.slice(-1))o=de(e,o.substring(0,o.length-1)),i.push(o);else{var s="";o=de(e,o);for(var a=!1;;){var u=t.charAt(r);if(""===u){i.push((o+s).trim());break}if(a)")"===u&&(a=!1);else{if(","===u){r+=1,i.push((o+s).trim());break}"("===u&&(a=!0)}s+=u,r+=1}}}return i.join(", ")}(e,n):"style"===r?re(n,ge(e)):"object"===t&&"data"===r?de(e,n):n:de(e,n):n}function ve(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function ye(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&ye(U.parentNode(e),t,r);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return!!r&&ye(U.parentNode(e),t,r)}function be(e,t,r,n){var i;if(q(e)){if(i=e,!U.childNodes(i).length)return!1}else{if(null===U.parentElement(e))return!1;i=U.parentElement(e)}try{if("string"===typeof t){if(n){if(i.closest("."+t))return!0}else if(i.classList.contains(t))return!0}else if(ye(i,t,n))return!0;if(r)if(n){if(i.closest(r))return!0}else if(i.matches(r))return!0}catch(o){}return!1}function _e(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,o=t.blockSelector,s=t.needsMask,a=t.inlineStylesheet,u=t.maskInputOptions,c=void 0===u?{}:u,l=t.maskTextFn,f=t.maskInputFn,p=t.dataURLOptions,d=void 0===p?{}:p,h=t.inlineImages,g=t.recordCanvas,m=t.keepIframeSrcFn,y=t.newlyAddedElement,b=void 0!==y&&y,_=t.cssCaptured,w=void 0!==_&&_,S=function(e,t){if(!t.hasNode(e))return;var r=t.getId(e);return 1===r?void 0:r}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:T.Document,childNodes:[],compatMode:e.compatMode}:{type:T.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:T.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){for(var r,n=t.doc,i=t.blockClass,o=t.blockSelector,s=t.inlineStylesheet,a=t.maskInputOptions,u=void 0===a?{}:a,c=t.maskInputFn,l=t.dataURLOptions,f=void 0===l?{}:l,p=t.inlineImages,d=t.recordCanvas,h=t.keepIframeSrcFn,g=t.newlyAddedElement,m=void 0!==g&&g,y=t.rootId,b=function(e,t,r){try{if("string"===typeof t){if(e.classList.contains(t))return!0}else for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}if(r)return e.matches(r)}catch(o){}return!1}(e,i,o),_=function(e){if(v(e,HTMLFormElement))return"form";var t=K(e.tagName);return ue.test(t)?"div":t}(e),w={},S=e.attributes.length,E=0;E<S;E++){var A=e.attributes[E];ve(_,A.name,A.value)||(w[A.name]=me(n,_,K(A.name),A.value))}if("link"===_&&s){var C=Array.from(n.styleSheets).find(function(t){return t.href===e.href}),k=null;C&&(k=G(C)),k&&(delete w.rel,delete w.href,w._cssText=k)}if("style"===_&&e.sheet){var O=G(e.sheet);O&&(e.childNodes.length>1&&(O=ie(O,e)),w._cssText=O)}if("input"===_||"textarea"===_||"select"===_){var x=e.value,P=e.checked;
vendor: 8,692 bytes, line 1
1"radio"!==w.type&&"checkbox"!==w.type&&"submit"!==w.type&&"button"!==w.type&&x?w.value=H({element:e,type:Y(e),tagName:_,value:x,maskInputOptions:u,maskInputFn:c}):P&&(w.checked=P)}"option"===_&&(e.selected&&!u.select?w.selected=!0:delete w.selected);"dialog"===_&&e.open&&(w.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal");if("canvas"===_&&d)if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var r=0;r<e.width;r+=50)for(var n=0;n<e.height;n+=50){var i=t.getImageData,o=Z in i?i[Z]:i;if(new Uint32Array(o.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(function(e){return 0!==e}))return!1}return!0})(e)||(w.rr_dataURL=e.toDataURL(f.type,f.quality));else if(!("__context"in e)){var I=e.toDataURL(f.type,f.quality),R=n.createElement("canvas");R.width=e.width,R.height=e.height,I!==R.toDataURL(f.type,f.quality)&&(w.rr_dataURL=I)}if("img"===_&&p){oe||(oe=n.createElement("canvas"),se=oe.getContext("2d"));var D=e,M=D.currentSrc||D.getAttribute("src")||"<unknown-src>",F=D.crossOrigin,j=function(){D.removeEventListener("load",j);try{oe.width=D.naturalWidth,oe.height=D.naturalHeight,se.drawImage(D,0,0),w.rr_dataURL=oe.toDataURL(f.type,f.quality)}catch(e){if("anonymous"!==D.crossOrigin)return D.crossOrigin="anonymous",void(D.complete&&0!==D.naturalWidth?j():D.addEventListener("load",j));console.warn("Cannot inline img src="+M+"! Error: "+e)}"anonymous"===D.crossOrigin&&(F?w.crossOrigin=F:D.removeAttribute("crossorigin"))};D.complete&&0!==D.naturalWidth?j():D.addEventListener("load",j)}if("audio"===_||"video"===_){var N=w;N.rr_mediaState=e.paused?"paused":"played",N.rr_mediaCurrentTime=e.currentTime,N.rr_mediaPlaybackRate=e.playbackRate,N.rr_mediaMuted=e.muted,N.rr_mediaLoop=e.loop,N.rr_mediaVolume=e.volume}m||(e.scrollLeft&&(w.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(w.rr_scrollTop=e.scrollTop));if(b){var B=e.getBoundingClientRect(),L=B.width,U=B.height;w={class:w.class,rr_width:L+"px",rr_height:U+"px"}}"iframe"!==_||h(w.src)||(e.contentDocument||(w.rr_src=w.src),delete w.src);try{customElements.get(_)&&(r=!0)}catch(q){}return{type:T.Element,tagName:_,attributes:w,childNodes:[],isSVG:he(e)||void 0,needBlock:b,rootId:y,isCustom:r}}(e,{doc:r,blockClass:i,blockSelector:o,inlineStylesheet:a,maskInputOptions:c,maskInputFn:f,dataURLOptions:d,inlineImages:h,recordCanvas:g,keepIframeSrcFn:m,newlyAddedElement:b,rootId:S});case e.TEXT_NODE:return function(e,t){var r=t.needsMask,n=t.maskTextFn,i=t.rootId,o=t.cssCaptured,s=U.parentNode(e),a=s&&s.tagName,u="",c="STYLE"===a||void 0,l="SCRIPT"===a||void 0;l?u="SCRIPT_PLACEHOLDER":o||(u=U.textContent(e),c&&u&&(u=re(u,ge(t.doc))));!c&&!l&&u&&r&&(u=n?n(u,U.parentElement(e)):u.replace(/[\S]/g,"*"));return{type:T.Text,textContent:u||"",rootId:i}}(e,{doc:r,needsMask:s,maskTextFn:l,rootId:S,cssCaptured:w});case e.CDATA_SECTION_NODE:return{type:T.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:T.Comment,textContent:U.textContent(e)||"",rootId:S};default:return!1}}function we(e){return void 0===e||null===e?"":e.toLowerCase()}function Se(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,o=t.blockSelector,s=t.maskTextClass,a=t.maskTextSelector,u=t.skipChild,c=void 0!==u&&u,l=t.inlineStylesheet,f=void 0===l||l,p=t.maskInputOptions,d=void 0===p?{}:p,h=t.maskTextFn,g=t.maskInputFn,m=t.slimDOMOptions,v=t.dataURLOptions,y=void 0===v?{}:v,b=t.inlineImages,_=void 0!==b&&b,w=t.recordCanvas,S=void 0!==w&&w,A=t.onSerialize,C=t.onIframeLoad,k=t.iframeLoadTimeout,O=void 0===k?5e3:k,x=t.onStylesheetLoad,P=t.stylesheetLoadTimeout,I=void 0===P?5e3:P,R=t.keepIframeSrcFn,D=void 0===R?function(){return!1}:R,M=t.newlyAddedElement,F=void 0!==M&&M,j=t.cssCaptured,N=void 0!==j&&j,B=t.needsMask,L=t.preserveWhiteSpace,G=void 0===L||L;B||(B=be(e,s,a,void 0===B));var $,W=_e(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:B,inlineStylesheet:f,maskInputOptions:d,maskTextFn:h,maskInputFn:g,dataURLOptions:y,inlineImages:_,recordCanvas:S,keepIframeSrcFn:D,newlyAddedElement:F,cssCaptured:N});if(!W)return console.warn(e,"not serialized"),null;$=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===T.Comment)return!0;if(e.type===T.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel&&"script"===e.attributes.as||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"===typeof e.attributes.href&&"js"===J(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(we(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===we(e.attributes.name)||"icon"===we(e.attributes.rel)||"apple-touch-icon"===we(e.attributes.rel)||"shortcut icon"===we(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&we(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(we(e.attributes.property).match(/^(og|twitter|fb):/)||we(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===we(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===we(e.attributes.name)||"googlebot"===we(e.attributes.name)||"bingbot"===we(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===we(e.attributes.name)||"generator"===we(e.attributes.name)||"framework"===we(e.attributes.name)||"publisher"===we(e.attributes.name)||"progid"===we(e.attributes.name)||we(e.attributes.property).match(/^article:/)||we(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===we(e.attributes.name)||"yandex-verification"===we(e.attributes.name)||"csrf-token"===we(e.attributes.name)||"p:domain_verify"===we(e.attributes.name)||"verify-v1"===we(e.attributes.name)||"verification"===we(e.attributes.name)||"shopify-checkout-api-token"===we(e.attributes.name)))return!0}}return!1}(W,m)||!G&&W.type===T.Text&&!W.textContent.replace(/^\s+|\s+$/gm,"").length?-2:ce();var H=Object.assign(W,{id:$});if(n.add(e,H),-2===$)return null;A&&A(e);var K=!c;if(H.type===T.Element){K=K&&!H.needBlock,delete H.needBlock;var Z=U.shadowRoot(e);Z&&z(Z)&&(H.isShadowHost=!0)}if((H.type===T.Document||H.type===T.Element)&&K){m.headWhitespace&&H.type===T.Element&&"head"===H.tagName&&(G=!1);var Y={doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:B,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:f,maskInputOptions:d,maskTextFn:h,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:_,recordCanvas:S,preserveWhiteSpace:G,onSerialize:A,onIframeLoad:C,iframeLoadTimeout:O,onStylesheetLoad:x,stylesheetLoadTimeout:I,keepIframeSrcFn:D,cssCaptured:!1};if(H.type===T.Element&&"textarea"===H.tagName&&void 0!==H.attributes.value);else{H.type===T.Element&&void 0!==H.attributes._cssText&&"string"===typeof H.attributes._cssText&&(Y.cssCaptured=!0);for(var Q,X=E(Array.from(U.childNodes(e)));!(Q=X()).done;){var ee=Se(Q.value,Y);ee&&H.childNodes.push(ee)}}var te=null;if(q(e)&&(te=U.shadowRoot(e)))for(var re,ne=E(Array.from(U.childNodes(te)));!(re=ne()).done;){var ie=Se(re.value,Y);ie&&(z(te)&&(ie.isShadow=!0),H.childNodes.push(ie))}}var oe=U.parentNode(e);return oe&&V(oe)&&z(oe)&&(H.isShadow=!0),H.type===T.Element&&"iframe"===H.tagName&&function(e,t,r){var n=e.contentWindow;if(n){var i,o=!1;try{i=n.document.readyState}catch(u){return}if("complete"===i){var s="about:blank";if(n.location.href!==s||e.src===s||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}else{var a=setTimeout(function(){o||(t(),o=!0)},r);e.addEventListener("load",function(){clearTimeout(a),o=!0,t()})}}}(e,function(){var t=e.contentDocument;if(t&&C){var r=Se(t,{doc:t,mirror:n,blockClass:i,blockSelector:o,needsMask:B,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:f,maskInputOptions:d,maskTextFn:h,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:_,recordCanvas:S,preserveWhiteSpace:G,onSerialize:A,onIframeLoad:C,iframeLoadTimeout:O,onStylesheetLoad:x,stylesheetLoadTimeout:I,keepIframeSrcFn:D});r&&C(e,r)}},O),H.type===T.Element&&"link"===H.tagName&&"string"===typeof H.attributes.rel&&("stylesheet"===H.attributes.rel||"preload"===H.attributes.rel&&"string"===typeof H.attributes.href&&"css"===J(H.attributes.href))&&function(e,t,r){var n,i=!1;try{n=e.sheet}catch(s){return}if(!n){var o=setTimeout(function(){i||(t(),i=!0)},r);e.addEventListener("load",function(){clearTimeout(o),i=!0,t()})}}(e,function(){if(x){var t=Se(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:B,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:f,maskInputOptions:d,maskTextFn:
1h,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:_,recordCanvas:S,preserveWhiteSpace:G,onSerialize:A,onIframeLoad:C,iframeLoadTimeout:O,onStylesheetLoad:x,stylesheetLoadTimeout:I,keepIframeSrcFn:D});t&&x(e,t)}},I),H}function Ee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ae(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return v(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var Ce={exports:{}},ke=String,Oe=function(){return{isColorSupported:!1,reset:ke,bold:ke,dim:ke,italic:ke,underline:ke,inverse:ke,hidden:ke,strikethrough:ke,black:ke,red:ke,green:ke,yellow:ke,blue:ke,magenta:ke,cyan:ke,white:ke,gray:ke,bgBlack:ke,bgRed:ke,bgGreen:ke,bgYellow:ke,bgBlue:ke,bgMagenta:ke,bgCyan:ke,bgWhite:ke}};Ce.exports=Oe(),Ce.exports.createColors=Oe;var xe=Ce.exports,Pe=Ae(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Ie=xe,Te=Pe,Re=function(e){function t(r,n,i,o,s,a){var u;return(u=e.call(this,r)||this).name="CssSyntaxError",u.reason=r,s&&(u.file=s),o&&(u.source=o),a&&(u.plugin=a),"undefined"!==typeof n&&"undefined"!==typeof i&&("number"===typeof n?(u.line=n,u.column=i):(u.line=n.line,u.column=n.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,t),u}m(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=Ie.isColorSupported),Te&&e&&(r=Te(r));var n,i,o=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),u=String(a).length;if(e){var c=Ie.createColors(!0),l=c.bold,f=c.gray,p=c.red;n=function(e){return l(p(e))},i=function(e){return f(e)}}else n=i=function(e){return e};return o.slice(s,a).map(function(e,r){var o=s+1+r,a=" "+(" "+o).slice(-u)+" | ";if(o===t.line){var c=i(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(a)+e+"\n "+c+n("^")}return" "+i(a)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(w(Error)),De=Re;Re.default=Re;var Me={};Me.isClean=Symbol("isClean"),Me.my=Symbol("my");var Fe={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};var je=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if("undefined"!==typeof e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var s=0;s<i;s++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&"undefined"!==typeof(n=e.raws[t]))return n;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return Fe[r];var o=e.root();if(o.rawCache||(o.rawCache={}),"undefined"!==typeof o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,a="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[a]?n=this[a](o,e):o.walk(function(e){if("undefined"!==typeof(n=e.raws[t]))return!1}),"undefined"===typeof n&&(n=Fe[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!==typeof e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&"undefined"!==typeof(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&"undefined"!==typeof r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&"undefined"!==typeof(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&"undefined"!==typeof r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&"undefined"!==typeof(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),Ne=je;je.default=je;var Be=Ne;function Le(e,t){new Be(t).stringify(e)}var Ue=Le;Le.default=Le;var qe=Me.isClean,Ve=Me.my,ze=De,Ge=Ne,$e=Ue;function We(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],o="undefined"===typeof i?"undefined":_(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map(function(e){return We(e,r)}):("object"===o&&null!==i&&(i=We(i)),r[n]=i)}return r}var He=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[qe]=!1,this[Ve]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=E(e[t]);!(r=n()).done;){var i=r.value;"function"===typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=We(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new ze(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[qe]){this[qe]=!1;for(var e=this;e=e.parent;)e[qe]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
1else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"===typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new Ge).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,s=E(t);!(n=s()).done;){var a=n.value;a===this?o=!0:o?(this.parent.insertAfter(i,a),i=a):this.parent.insertBefore(i,a)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var s=this[o];if(Array.isArray(s))r[o]=s.map(function(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===("undefined"===typeof s?"undefined":_(s))&&s.toJSON)r[o]=s.toJSON(null,t);else if("source"===o){var a=t.get(s.input);null==a&&(a=i,t.set(s.input,i),i++),r[o]={end:s.end,inputId:a,start:s.start}}else r[o]=s}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=$e),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},d(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Ke=He;He.default=He;var Ze=function(e){function t(t){var r;return t&&"undefined"!==typeof t.value&&"string"!==typeof t.value&&(t=h({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return m(t,e),d(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Ke),Ye=Ze;Ze.default=Ze;var Je=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Qe=Pe.SourceMapConsumer,Xe=Pe.SourceMapGenerator,et=Pe.existsSync,tt=Pe.readFileSync,rt=Pe.dirname,nt=Pe.join;var it=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=rt(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Qe(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&("string"===typeof e.mappings||"string"===typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
1if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=rt(e),et(e))return this.mapFile=e,tt(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"===typeof t)return t;if("function"!==typeof t){if(v(t,Qe))return Xe.fromSourceMap(t).toString();if(v(t,Xe))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=nt(rt(e),i)),this.loadFile(i)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),ot=it;it.default=it;var st=Pe.SourceMapConsumer,at=Pe.SourceMapGenerator,ut=Pe.fileURLToPath,ct=Pe.pathToFileURL,lt=Pe.isAbsolute,ft=Pe.resolve,pt=Je,dt=Pe,ht=De,gt=ot,mt=Symbol("fromOffsetCac
1he"),vt=Boolean(st&&at),yt=Boolean(ft&&lt),bt=function(){function e(e,t){if(void 0===t&&(t={}),null===e||"undefined"===typeof e||"object"===("undefined"===typeof e?"undefined":_(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!yt||/^\w+:\/\//.test(t.from)||lt(t.from)?this.file=t.from:this.file=ft(t.from)),yt&&vt){var r=new gt(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+pt(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var i,o,s;if(void 0===n&&(n={}),t&&"object"===("undefined"===typeof t?"undefined":_(t))){var a=t,u=r;if("number"===typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"===typeof u.offset){var l=this.fromOffset(u.offset);o=l.line,s=l.col}else o=u.line,s=u.column}else if(!r){var f=this.fromOffset(t);t=f.line,r=f.col}var p=this.origin(t,r,o,s);return(i=p?new ht(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new ht(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:s,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(ct&&(i.input.url=ct(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[mt])t=this[mt];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,i=0,o=r.length;i<o;i++)t[i]=n,n+=r[i].length+1;this[mt]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,u=t.length-2;s<u;)if(e<t[a=s+(u-s>>1)])u=a-1;else{if(!(e>=t[a+1])){s=a;break}s=a+1}return{col:e-t[s]+1,line:s+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:ft(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"===typeof r&&(i=s.originalPositionFor({column:n,line:r})),o=lt(a.source)?ct(a.source):new URL(a.source,this.map.consumer().sourceRoot||ct(this.map.mapFile));var u={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!ut)throw new Error("file: protocol is not available in this PostCSS build");u.file=ut(o)}var c=s.sourceContentFor(a.source);return c&&(u.source=c),u},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=h({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},d(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),_t=bt;bt.default=bt,dt&&dt.registerInput&&dt.registerInput(bt);var wt=Pe.SourceMapConsumer,St=Pe.SourceMapGenerator,Et=Pe.dirname,At=Pe.relative,Ct=Pe.resolve,kt=Pe.sep,Ot=Pe.pathToFileURL,xt=_t,Pt=Boolean(wt&&St),It=Boolean(Et&&Ct&&At&&kt),Tt=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"===typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"===typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=E(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||Et(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new wt(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),It&&Pt&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=St.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new St({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new St({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(a,u,c){if(e.css+=a,u&&"end"!==c&&(s.generated.line=n,s.generated.column=i-1,u.source&&u.source.start?(s.source=e.sourcePath(u),s.original.line=u.source.start.line,s.original.column=u.source.start.column-1,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,e.map.addMapping(s))),(t=a.match(/\n/g))?(n+=t.length,r=a.lastIndexOf("\n"),i=a.length-r):i+=a.length,u&&"start"!==c){var l=u.parent||{raws:{}};("decl"===u.type||"atrule"===u.type&&!u.nodes)&&u===l.last&&!l.raws.semicolon||(u.source&&u.source.end?(s.source=e.sourcePath(u),s.original.line=u.source.end.line,s.original.column=u.source.end.column-1,s.generated.line=n,s.generated.column=i-2,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1,e.map.addMapping(s)))}})},t.isAnnotation=function(){return!!this.isInline()||("undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return("undefined"===typeof e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?Et(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&(r=Et(Ct(r,this.mapOpts.annotation)));var n=At(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new xt(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(Ot){var r=Ot(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===kt&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),Rt=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return m(t,e),t}(Ke),Dt=Rt;Rt.default=Rt;var Mt,Ft,jt,Nt,Bt=Me.isClean,Lt=Me.my,Ut=Ye,qt=Dt;
1function Vt(e){return e.map(function(e){return e.nodes&&(e.nodes=Vt(e.nodes)),delete e.source,e})}function zt(e){if(e[Bt]=!1,e.proxyOf.nodes)for(var t,r=E(e.proxyOf.nodes);!(t=r()).done;){zt(t.value)}}var Gt=function(e){function t(){return e.apply(this,arguments)||this}m(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=E(t);!(n=i()).done;)for(var o,s=n.value,a=E(this.normalize(s,this.last));!(o=a()).done;){var u=o.value;this.proxyOf.nodes.push(u)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=E(this.nodes);!(r=n()).done;){r.value.cleanRaws(t)}},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"===typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o;return(o=e)[t].apply(o,[].concat(n.map(function(e){return"function"===typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"===typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,s=E(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var u in this.indexes)n<(r=this.indexes[u])&&(this.indexes[u]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var s,a=E(o);!(s=a()).done;){var u=s.value;this.proxyOf.nodes.splice(n,0,u)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"===typeof e)e=Vt(Mt(e).nodes);else if("undefined"===typeof e)e=[];else if(Array.isArray(e))for(var i,o=E(e=e.slice(0));!(i=o()).done;){var s=i.value;s.parent&&s.parent.removeChild(s,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var a,u=E(e=e.nodes.slice(0));!(a=u()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if("undefined"===typeof e.value)throw new Error("Value field is missed in node creation");"string"!==typeof e.value&&(e.value=String(e.value)),e=[new Ut(e)]}else if(e.selector)e=[new Ft(e)];else if(e.name)e=[new jt(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new qt(e)]}var l=e.map(function(e){return e[Lt]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Bt]&&zt(e),"undefined"===typeof e.raws.before&&r&&"undefined"!==typeof r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return l},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=E(t=t.reverse());!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=E(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=E(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}
1,r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(i){throw t.addToError(i)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?v(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?v(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?v(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},d(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(Ke);Gt.registerParse=function(e){Mt=e},Gt.registerRule=function(e){Ft=e},Gt.registerAtRule=function(e){jt=e},Gt.registerRoot=function(e){Nt=e};var $t=Gt;Gt.default=Gt,Gt.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,jt.prototype):"rule"===e.type?Object.setPrototypeOf(e,Ft.prototype):"decl"===e.type?Object.setPrototypeOf(e,Ut.prototype):"comment"===e.type?Object.setPrototypeOf(e,qt.prototype):"root"===e.type&&Object.setPrototypeOf(e,Nt.prototype),e[Lt]=!0,e.nodes&&e.nodes.forEach(function(e){Gt.rebuild(e)})};var Wt,Ht,Kt=function(e){function t(t){var r;return(r=e.call(this,h({type:"document"},t))||this).nodes||(r.nodes=[]),r}return m(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Wt(new Ht,this,e).stringify()},t}($t);Kt.registerLazyResult=function(e){Wt=e},Kt.registerProcessor=function(e){Ht=e};var Zt=Kt;Kt.default=Kt;var Yt=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),Jt=Yt;Yt.default=Yt;var Qt=Jt,Xt=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new Qt(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},d(e,[{key:"content",get:function(){return this.css}}]),e}(),er=Xt;Xt.default=Xt;var tr="'".charCodeAt(0),rr='"'.charCodeAt(0),nr="\\".charCodeAt(0),ir="/".charCodeAt(0),or="\n".charCodeAt(0),sr=" ".charCodeAt(0),ar="\f".charCodeAt(0),ur="\t".charCodeAt(0),cr="\r".charCodeAt(0),lr="[".charCodeAt(0),fr="]".charCodeAt(0),pr="(".charCodeAt(0),dr=")".charCodeAt(0),hr="{".charCodeAt(0),gr="}".charCodeAt(0),mr=";".charCodeAt(0),vr="*".charCodeAt(0),yr=":".charCodeAt(0),br="@".charCodeAt(0),_r=/[\t\n\f\r "#'()/;[\\\]{}]/g,wr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Sr=/.[\r\n"'(/\\]/,Er=/[\da-f]/i,Ar=$t,Cr=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}m(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],r))},t}(Ar),kr=Cr;Cr.default=Cr,Ar.registerAtRule(Cr);var Or,xr,Pr=$t,Ir=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}m(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,s=E(i);!(o=s()).done;){o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new Or(new xr,this,e).stringify()},t}(Pr);Ir.registerLazyResult=function(e){Or=e},Ir.registerProcessor=function(e){xr=e};var Tr=Ir;Ir.default=Ir,Pr.registerRoot(Ir);var Rr={comma:function(e){return Rr.split(e,[","],!0)},space:function(e){return Rr.split(e,[" ","\n","\t"])}
vendor: 9,229 bytes, line 1
1,split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,f=E(e);!(n=f()).done;){var p=n.value;l?l=!1:"\\"===p?l=!0:u?p===c&&(u=!1):'"'===p||"'"===p?(u=!0,c=p):"("===p?a+=1:")"===p?a>0&&(a-=1):0===a&&t.includes(p)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=p}return(r||""!==o)&&i.push(o.trim()),i}},Dr=Rr;Rr.default=Rr;var Mr=$t,Fr=Dr,jr=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return m(t,e),d(t,[{key:"selectors",get:function(){return Fr.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(Mr),Nr=jr;jr.default=jr,Mr.registerRule(jr);var Br=Ye,Lr=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,f,p=e.css.valueOf(),d=t.ignoreErrors,h=p.length,g=0,m=[],v=[];function y(t){throw e.error("Unclosed "+t,g)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&g>=h},nextToken:function(e){if(v.length)return v.pop();if(!(g>=h)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(g)){case or:case sr:case ur:case cr:case ar:n=g;do{n+=1,r=p.charCodeAt(n)}while(r===sr||r===or||r===ur||r===cr||r===ar);f=["space",p.slice(g,n)],g=n-1;break;case lr:case fr:case hr:case gr:case yr:case mr:case dr:var b=String.fromCharCode(r);f=[b,b,g];break;case pr:if(c=m.length?m.pop()[1]:"",l=p.charCodeAt(g+1),"url"===c&&l!==tr&&l!==rr&&l!==sr&&l!==or&&l!==ur&&l!==ar&&l!==cr){n=g;do{if(a=!1,-1===(n=p.indexOf(")",n+1))){if(d||t){n=g;break}y("bracket")}for(u=n;p.charCodeAt(u-1)===nr;)u-=1,a=!a}while(a);f=["brackets",p.slice(g,n+1),g,n],g=n}else n=p.indexOf(")",g+1),o=p.slice(g,n+1),-1===n||Sr.test(o)?f=["(","(",g]:(f=["brackets",o,g,n],g=n);break;case tr:case rr:i=r===tr?"'":'"',n=g;do{if(a=!1,-1===(n=p.indexOf(i,n+1))){if(d||t){n=g+1;break}y("string")}for(u=n;p.charCodeAt(u-1)===nr;)u-=1,a=!a}while(a);f=["string",p.slice(g,n+1),g,n],g=n;break;case br:_r.lastIndex=g+1,_r.test(p),n=0===_r.lastIndex?p.length-1:_r.lastIndex-2,f=["at-word",p.slice(g,n+1),g,n],g=n;break;case nr:for(n=g,s=!0;p.charCodeAt(n+1)===nr;)n+=1,s=!s;if(r=p.charCodeAt(n+1),s&&r!==ir&&r!==sr&&r!==or&&r!==ur&&r!==cr&&r!==ar&&(n+=1,Er.test(p.charAt(n)))){for(;Er.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===sr&&(n+=1)}f=["word",p.slice(g,n+1),g,n],g=n;break;default:r===ir&&p.charCodeAt(g+1)===vr?(0===(n=p.indexOf("*/",g+2)+1)&&(d||t?n=p.length:y("comment")),f=["comment",p.slice(g,n+1),g,n],g=n):(wr.lastIndex=g+1,wr.test(p),n=0===wr.lastIndex?p.length-1:wr.lastIndex-2,f=["word",p.slice(g,n+1),g,n],m.push(f),g=n)}return g++,f}},position:function(){return g}}},Ur=Dt,qr=kr,Vr=Tr,zr=Nr,Gr={empty:!0,space:!0};var $r=$t,Wr=function(){function e(e){this.input=e,this.root=new Vr,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new qr;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],u=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(r=a[n=a.length-1];r&&"space"===r[0];)r=a[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(i.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(i,"params",a),o&&(e=a[a.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,i,o=0,s=E(e.entries());!(i=s()).done;){var a=i.value,u=a[0];if("("===(r=(t=a[1])[0])&&(o+=1),")"===r&&(o-=1),0===o&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return u}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new Ur;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=Lr(this.input)},t.decl=function(e,t){var r=new Br;this.init(r,e[0][2]);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var s,a=[];e.length&&("space"===(s=e[0][0])||"comment"===s);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var u=e.length-1;u>=0;u--){if("!important"===(n=e[u])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,u);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var l=e.slice(0),f="",p=u;p>0;p--){var d=l[p][0];if(0===f.trim().indexOf("!")&&"space"!==d)break;f=l.pop()[1]+f}0===f.trim().indexOf("!")&&(r.important=!0,r.raws.important=f,e=l)}if("space"!==n[0]&&"comment"!==n[0])break}var h=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});h&&(r.raws.between+=a.map(function(e){return e[1]}).join(""),a=[]),this.raw(r,"value",a.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new zr;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],u=e;u;){if(r=u[0],a.push(u),"("===r||"["===r)i||(i=u),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=u),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(u=a[a.length-1][0])||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,s,a,u=r.length,c="",l=!0,f=0;f<u;f+=1)"space"!==(o=(i=r[f])[0])||f!==u-1||n?"comment"===o?(a=r[f-1]?r[f-1][0]:"empty",s=r[f+1]?r[f+1][0]:"empty",Gr[a]||Gr[s]||","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new zr;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";
1e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),Hr=_t;function Kr(e,t){var r=new Hr(e,t),n=new Wr(r);try{n.parse()}catch(i){throw i}return n.root}var Zr=Kr;Kr.default=Kr,$r.registerParse(Kr);var Yr=Me.isClean,Jr=Me.my,Qr=Tt,Xr=Ue,en=$t,tn=Zt,rn=er,nn=Zr,on=Tr,sn={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},an={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},un={Once:!0,postcssPlugin:!0,prepare:!0};function cn(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&"function"===typeof e.then}function ln(e){var t=!1,r=sn[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function fn(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:ln(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function pn(e){return e[Yr]=!1,e.nodes&&e.nodes.forEach(function(e){return pn(e)}),e}var dn={},hn=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==("undefined"===typeof r?"undefined":_(r))||null===r||"root"!==r.type&&"document"!==r.type)if(v(r,e)||v(r,rn))i=pn(r.root),r.map&&("undefined"===typeof n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=nn;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(a){this.processed=!0,this.error=a}i&&!i[Jr]&&en.rebuild(i)}else i=pn(r);this.result=new rn(t,i,n),this.helpers=h({},dn,{postcss:dn,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&e.prepare?h({},e,e.prepare(o.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion);}else e.plugin=r.postcssPlugin,e.setMessage()}catch(n){console&&console.error&&console.error(n)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=E(this.plugins);!(t=n()).done;){var i=t.value;if("object"===("undefined"===typeof i?"undefined":_(i)))for(var o in i){if(!an[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!un[o])if("object"===_(i[o]))for(var s in i[o])r(i,"*"===s?o:o+"-"+s.toLowerCase(),i[o][s]);else"function"===typeof i[o]&&r(i,o,i[o])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return f(function(){var t,r,n,i,o,s,a,u,c,l,f,p;return A(this,function(d){switch(d.label){case 0:e.plugin=0,t=0,d.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!cn(n=e.runOnRoot(r)))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,n];case 3:return d.sent(),[3,5];case 4:throw i=d.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,d.label=7;case 7:if(o[Yr])return[3,14];o[Yr]=!0,s=[fn(o)],d.label=8;case 8:if(!(s.length>0))return[3,13];if(!cn(a=e.visitTick(s)))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,a];case 10:return d.sent(),[3,12];case 11:throw u=d.sent(),c=s[s.length-1].node,e.handleError(u,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];l=function(){var t,r,n,i,s;return A(this,function(a){switch(a.label){case 0:t=p.value,r=t[0],n=t[1],e.result.lastPlugin=r,a.label=1;case 1:return a.trys.push([1,6,,7]),"document"!==o.type?[3,3]:(i=o.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(i)]);case 2:return a.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:a.sent(),a.label=5;case 5:return[3,7];case 6:throw s=a.sent(),e.handleError(s);case 7:return[2]}})},f=E(e.listeners.OnceExit),d.label=15;case 15:return(p=f()).done?[3,18]:[5,C(l())];case 16:d.sent(),d.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===("undefined"===typeof e?"undefined":_(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return cn(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"===typeof e)return e(this.result.root,this.result)}catch(n){throw this.handleError(n)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=Xr;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new Qr(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=E(this.plugins);!(e=t()).done;){var r=e.value;if(cn(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Yr];)n[Yr]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=E(n.nodes);!(i=o()).done;){var s=i.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=E(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(u){throw this.handleError(u,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;
1if(cn(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return s(r.toProxy(),this.helpers)}catch(f){throw this.handleError(f,r)}}if(0!==t.iterator){for(var a,u=t.iterator;a=r.nodes[r.indexes[u]];)if(r.indexes[u]+=1,!a[Yr])return a[Yr]=!0,void e.push(fn(a));t.iterator=0,delete r.indexes[u]}for(var c=t.events;t.eventIndex<c.length;){var l=c[t.eventIndex];if(t.eventIndex+=1,0===l)return void(r.nodes&&r.nodes.length&&(r[Yr]=!0,t.iterator=r.getIterator()));if(this.listeners[l])return void(t.visitors=this.listeners[l])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[Yr]=!0;for(var r,n=E(ln(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each(function(e){e[Yr]||t.walkSync(e)});else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},d(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();hn.registerPostcss=function(e){dn=e};var gn=hn;hn.default=hn,on.registerLazyResult(hn),tn.registerLazyResult(hn);var mn=Tt,vn=Ue,yn=Zr,bn=er,_n=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var i=vn;this.result=new bn(this._processor,n,this._opts),this.result.css=t;var o=this;Object.defineProperty(this.result,"root",{get:function(){return o.root}});var s=new mn(i,n,this._opts,t);if(s.isMap()){var a=s.generate(),u=a[0],c=a[1];u&&(this.result.css=u),c&&(this.result.map=c)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},d(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=yn;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),wn=_n;_n.default=_n;var Sn=wn,En=gn,An=Zt,Cn=Tr,kn=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=E(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===("undefined"===typeof i?"undefined":_(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===("undefined"===typeof i?"undefined":_(i))&&i.postcssPlugin)r.push(i);else if("function"===typeof i)r.push(i);else{if("object"!==("undefined"===typeof i?"undefined":_(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new En(this,e,t):new Sn(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),On=kn;kn.default=kn,Cn.registerProcessor(kn),An.registerProcessor(kn);var xn=Ye,Pn=ot,In=Dt,Tn=kr,Rn=_t,Dn=Tr,Mn=Nr;function Fn(e,t){if(Array.isArray(e))return e.map(function(e){return Fn(e)});
1var r=e.inputs,n=y(e,["inputs"]);if(r){t=[];for(var i,o=E(r);!(i=o()).done;){var s=h({},i.value,{__proto__:Rn.prototype});s.map&&(s.map=h({},s.map,{__proto__:Pn.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return Fn(e,t)})),n.source){var a=n.source,u=a.inputId,c=y(a,["inputId"]);n.source=c,null!=u&&(n.source.input=t[u])}if("root"===n.type)return new Dn(n);if("decl"===n.type)return new xn(n);if("rule"===n.type)return new Mn(n);if("comment"===n.type)return new In(n);if("atrule"===n.type)return new Tn(n);throw new Error("Unknown node type: "+e.type)}var jn=Fn;Fn.default=Fn;var Nn=De,Bn=Ye,Ln=gn,Un=$t,qn=On,Vn=Ue,zn=jn,Gn=Zt,$n=Jt,Wn=Dt,Hn=kr,Kn=er,Zn=_t,Yn=Zr,Jn=Dr,Qn=Nr,Xn=Tr,ei=Ke;function ti(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new qn(t)}ti.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_OMEDA_CONNECTION_KEY:"de0456c273b04c5abad613d49f4c5762",REACT_APP_WEBSOCKET:"wss://websocket.app.plumbs.com",REACT_APP_RECURLY_PUBLIC_KEY:"ewr1-8cSPH7a2wS6QkvBUUy7I7L",REACT_APP_SENTRY:"https://[email protected]/5505912",REACT_APP_SHEERID_PROGRAM_ID:"611127dbdc587428f1124a37",REACT_APP_RECAPTCHA_SITE_KEY:"6LdlrOIqAAAAAOfEZgqZ8kQTSzqenIF1iMZI23gf",REACT_APP_APPCUES_ACCOUNT_ID:"120093",REACT_APP_OMEDA_ENV:"production",REACT_APP_DATADOG_RUM_CLIENT_TOKEN:"pub2e570a940827bcac3040f8cc1f27a370",REACT_APP_STANDARDS_GOOGLE_TAG_MANAGER_ID:"GTM-W7BK94LS",REACT_APP_SENTRY_ORG:"brief-media-7s",REACT_APP_MIXPANEL_TOKEN:"8be441a2b3cc723a205ce3804eba837e",REACT_APP_ENVIRONMENT:"prod",REACT_APP_INTERCOM_APP_ID:"axzkj8e2",REACT_APP_VERSION_NAME:"4dbfd9d41aa3b6bf6dddf9de1ab693f71849c956",REACT_APP_GOOGLE_TAG_MANAGER_ID:"GTM-KZVVP5T",REACT_APP_DATADOG_RUM_APPLICATION_ID:"3aa0ac21-48dc-4e1b-8169-d458c7782c66",REACT_APP_SHEERID_PROGRAM_ID_PRO:"6111846acd04f5716eaec2ce",REACT_APP_SCHEME:"https",REACT_APP_DOMAIN:"app.plumbs.com"}.LANG&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_OMEDA_CONNECTION_KEY:"de0456c273b04c5abad613d49f4c5762",REACT_APP_WEBSOCKET:"wss://websocket.app.plumbs.com",REACT_APP_RECURLY_PUBLIC_KEY:"ewr1-8cSPH7a2wS6QkvBUUy7I7L",REACT_APP_SENTRY:"https://[email protected]/5505912",REACT_APP_SHEERID_PROGRAM_ID:"611127dbdc587428f1124a37",REACT_APP_RECAPTCHA_SITE_KEY:"6LdlrOIqAAAAAOfEZgqZ8kQTSzqenIF1iMZI23gf",REACT_APP_APPCUES_ACCOUNT_ID:"120093",REACT_APP_OMEDA_ENV:"production",REACT_APP_DATADOG_RUM_CLIENT_TOKEN:"pub2e570a940827bcac3040f8cc1f27a370",REACT_APP_STANDARDS_GOOGLE_TAG_MANAGER_ID:"GTM-W7BK94LS",REACT_APP_SENTRY_ORG:"brief-media-7s",REACT_APP_MIXPANEL_TOKEN:"8be441a2b3cc723a205ce3804eba837e",REACT_APP_ENVIRONMENT:"prod",REACT_APP_INTERCOM_APP_ID:"axzkj8e2",REACT_APP_VERSION_NAME:"4dbfd9d41aa3b6bf6dddf9de1ab693f71849c956",REACT_APP_GOOGLE_TAG_MANAGER_ID:"GTM-KZVVP5T",REACT_APP_DATADOG_RUM_APPLICATION_ID:"3aa0ac21-48dc-4e1b-8169-d458c7782c66",REACT_APP_SHEERID_PROGRAM_ID_PRO:"6111846acd04f5716eaec2ce",REACT_APP_SCHEME:"https",REACT_APP_DOMAIN:"app.plumbs.com"}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new qn).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return ti([i(r)]).process(e,t)},i},ti.stringify=Vn,ti.parse=Yn,ti.fromJSON=zn,ti.list=Jn,ti.comment=function(e){return new Wn(e)},ti.atRule=function(e){return new Hn(e)},ti.decl=function(e){return new Bn(e)},ti.rule=function(e){return new Qn(e)},ti.root=function(e){return new Xn(e)},ti.document=function(e){return new Gn(e)},ti.CssSyntaxError=Nn,ti.Declaration=Bn,ti.Container=Un,ti.Processor=qn,ti.Document=Gn,ti.Comment=Wn,ti.Warning=$n,ti.AtRule=Hn,ti.Result=Kn,ti.Input=Zn,ti.Rule=Qn,ti.Root=Xn,ti.Node=ei,Ln.registerPostcss(ti);var ri=ti;ti.default=ti;var ni=Ee(ri);ni.stringify,ni.fromJSON,ni.plugin,ni.parse,ni.list,ni.document,ni.comment,ni.atRule,ni.rule,ni.decl,ni.root,ni.CssSyntaxError,ni.Declaration,ni.Container,ni.Processor,ni.Document,ni.Comment,ni.Warning,ni.AtRule,ni.Result,ni.Input,ni.Rule,ni.Root,ni.Node;var ii=Object.defineProperty,oi=function(e,t,r){return function(e,t,r){return t in e?ii(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==("undefined"===typeof t?"undefined":_(t))?t+"":t,r)};
1function si(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ai(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return v(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var ui={exports:{}},ci=String,li=function(){return{isColorSupported:!1,reset:ci,bold:ci,dim:ci,italic:ci,underline:ci,inverse:ci,hidden:ci,strikethrough:ci,black:ci,red:ci,green:ci,yellow:ci,blue:ci,magenta:ci,cyan:ci,white:ci,gray:ci,bgBlack:ci,bgRed:ci,bgGreen:ci,bgYellow:ci,bgBlue:ci,bgMagenta:ci,bgCyan:ci,bgWhite:ci}};ui.exports=li(),ui.exports.createColors=li;var fi=ui.exports,pi=ai(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),di=fi,hi=pi,gi=function(e){function t(r,n,i,o,s,a){var u;return(u=e.call(this,r)||this).name="CssSyntaxError",u.reason=r,s&&(u.file=s),o&&(u.source=o),a&&(u.plugin=a),"undefined"!==typeof n&&"undefined"!==typeof i&&("number"===typeof n?(u.line=n,u.column=i):(u.line=n.line,u.column=n.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,t),u}m(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=di.isColorSupported),hi&&e&&(r=hi(r));var n,i,o=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),u=String(a).length;if(e){var c=di.createColors(!0),l=c.bold,f=c.gray,p=c.red;n=function(e){return l(p(e))},i=function(e){return f(e)}}else n=i=function(e){return e};return o.slice(s,a).map(function(e,r){var o=s+1+r,a=" "+(" "+o).slice(-u)+" | ";if(o===t.line){var c=i(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(a)+e+"\n "+c+n("^")}return" "+i(a)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(w(Error)),mi=gi;gi.default=gi;var vi={};vi.isClean=Symbol("isClean"),vi.my=Symbol("my");var yi={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};var bi=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if("undefined"!==typeof e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var s=0;s<i;s++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&"undefined"!==typeof(n=e.raws[t]))return n;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return yi[r];var o=e.root();if(o.rawCache||(o.rawCache={}),"undefined"!==typeof o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,a="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[a]?n=this[a](o,e):o.walk(function(e){if("undefined"!==typeof(n=e.raws[t]))return!1}),"undefined"===typeof n&&(n=yi[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!==typeof e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&"undefined"!==typeof(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&"undefined"!==typeof r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&"undefined"!==typeof(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&"undefined"!==typeof r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&"undefined"!==typeof(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),_i=bi;bi.default=bi;var wi=_i;function Si(e,t){new wi(t).stringify(e)}var Ei=Si;Si.default=Si;var Ai=vi.isClean,Ci=vi.my,ki=mi,Oi=_i,xi=Ei;function Pi(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],o="undefined"===typeof i?"undefined":_(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map(function(e){return Pi(e,r)}):("object"===o&&null!==i&&(i=Pi(i)),r[n]=i)}return r}var Ii=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[Ai]=!1,this[Ci]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=E(e[t]);!(r=n()).done;){var i=r.value;"function"===typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=Pi(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new ki(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[Ai]){this[Ai]=!1;for(var e=this;e=e.parent;)e[Ai]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
1else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"===typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new Oi).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,s=E(t);!(n=s()).done;){var a=n.value;a===this?o=!0:o?(this.parent.insertAfter(i,a),i=a):this.parent.insertBefore(i,a)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var s=this[o];if(Array.isArray(s))r[o]=s.map(function(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===("undefined"===typeof s?"undefined":_(s))&&s.toJSON)r[o]=s.toJSON(null,t);else if("source"===o){var a=t.get(s.input);null==a&&(a=i,t.set(s.input,i),i++),r[o]={end:s.end,inputId:a,start:s.start}}else r[o]=s}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=xi),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},d(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Ti=Ii;Ii.default=Ii;var Ri=function(e){function t(t){var r;return t&&"undefined"!==typeof t.value&&"string"!==typeof t.value&&(t=h({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return m(t,e),d(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Ti),Di=Ri;Ri.default=Ri;var Mi=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Fi=pi.SourceMapConsumer,ji=pi.SourceMapGenerator,Ni=pi.existsSync,Bi=pi.readFileSync,Li=pi.dirname,Ui=pi.join;var qi=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Li(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Fi(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&("string"===typeof e.mappings||"string"===typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
1if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=Li(e),Ni(e))return this.mapFile=e,Bi(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"===typeof t)return t;if("function"!==typeof t){if(v(t,Fi))return ji.fromSourceMap(t).toString();if(v(t,ji))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=Ui(Li(e),i)),this.loadFile(i)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),Vi=qi;qi.default=qi;var zi=pi.SourceMapConsumer,Gi=pi.SourceMapGenerator,$i=pi.fileURLToPath,Wi=pi.pathToFileURL,Hi=pi.isAbsolute,Ki=pi.resolve,Zi=Mi,Yi=pi,Ji=mi,Qi=Vi,Xi=Symbol("fromOffsetCac
1he"),eo=Boolean(zi&&Gi),to=Boolean(Ki&&Hi),ro=function(){function e(e,t){if(void 0===t&&(t={}),null===e||"undefined"===typeof e||"object"===("undefined"===typeof e?"undefined":_(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!to||/^\w+:\/\//.test(t.from)||Hi(t.from)?this.file=t.from:this.file=Ki(t.from)),to&&eo){var r=new Qi(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+Zi(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var i,o,s;if(void 0===n&&(n={}),t&&"object"===("undefined"===typeof t?"undefined":_(t))){var a=t,u=r;if("number"===typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"===typeof u.offset){var l=this.fromOffset(u.offset);o=l.line,s=l.col}else o=u.line,s=u.column}else if(!r){var f=this.fromOffset(t);t=f.line,r=f.col}var p=this.origin(t,r,o,s);return(i=p?new Ji(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new Ji(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:s,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(Wi&&(i.input.url=Wi(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[Xi])t=this[Xi];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,i=0,o=r.length;i<o;i++)t[i]=n,n+=r[i].length+1;this[Xi]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,u=t.length-2;s<u;)if(e<t[a=s+(u-s>>1)])u=a-1;else{if(!(e>=t[a+1])){s=a;break}s=a+1}return{col:e-t[s]+1,line:s+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Ki(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"===typeof r&&(i=s.originalPositionFor({column:n,line:r})),o=Hi(a.source)?Wi(a.source):new URL(a.source,this.map.consumer().sourceRoot||Wi(this.map.mapFile));var u={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!$i)throw new Error("file: protocol is not available in this PostCSS build");u.file=$i(o)}var c=s.sourceContentFor(a.source);return c&&(u.source=c),u},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=h({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},d(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),no=ro;ro.default=ro,Yi&&Yi.registerInput&&Yi.registerInput(ro);var io=pi.SourceMapConsumer,oo=pi.SourceMapGenerator,so=pi.dirname,ao=pi.relative,uo=pi.resolve,co=pi.sep,lo=pi.pathToFileURL,fo=no,po=Boolean(io&&oo),ho=Boolean(so&&uo&&ao&&co),go=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"===typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"===typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=E(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||so(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new io(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),ho&&po&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=oo.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new oo({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new oo({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(a,u,c){if(e.css+=a,u&&"end"!==c&&(s.generated.line=n,s.generated.column=i-1,u.source&&u.source.start?(s.source=e.sourcePath(u),s.original.line=u.source.start.line,s.original.column=u.source.start.column-1,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,e.map.addMapping(s))),(t=a.match(/\n/g))?(n+=t.length,r=a.lastIndexOf("\n"),i=a.length-r):i+=a.length,u&&"start"!==c){var l=u.parent||{raws:{}};("decl"===u.type||"atrule"===u.type&&!u.nodes)&&u===l.last&&!l.raws.semicolon||(u.source&&u.source.end?(s.source=e.sourcePath(u),s.original.line=u.source.end.line,s.original.column=u.source.end.column-1,s.generated.line=n,s.generated.column=i-2,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1,e.map.addMapping(s)))}})},t.isAnnotation=function(){return!!this.isInline()||("undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return("undefined"===typeof e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?so(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&(r=so(uo(r,this.mapOpts.annotation)));var n=ao(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new fo(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(lo){var r=lo(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===co&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),mo=go,vo=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return m(t,e),t}(Ti),yo=vo;vo.default=vo;var bo,_o,wo,So,Eo=vi.isClean,Ao=vi.my,Co=Di,ko=yo;
1function Oo(e){return e.map(function(e){return e.nodes&&(e.nodes=Oo(e.nodes)),delete e.source,e})}function xo(e){if(e[Eo]=!1,e.proxyOf.nodes)for(var t,r=E(e.proxyOf.nodes);!(t=r()).done;){xo(t.value)}}var Po=function(e){function t(){return e.apply(this,arguments)||this}m(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=E(t);!(n=i()).done;)for(var o,s=n.value,a=E(this.normalize(s,this.last));!(o=a()).done;){var u=o.value;this.proxyOf.nodes.push(u)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=E(this.nodes);!(r=n()).done;){r.value.cleanRaws(t)}},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"===typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o;return(o=e)[t].apply(o,[].concat(n.map(function(e){return"function"===typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"===typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,s=E(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var u in this.indexes)n<(r=this.indexes[u])&&(this.indexes[u]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var s,a=E(o);!(s=a()).done;){var u=s.value;this.proxyOf.nodes.splice(n,0,u)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"===typeof e)e=Oo(bo(e).nodes);else if("undefined"===typeof e)e=[];else if(Array.isArray(e))for(var i,o=E(e=e.slice(0));!(i=o()).done;){var s=i.value;s.parent&&s.parent.removeChild(s,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var a,u=E(e=e.nodes.slice(0));!(a=u()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if("undefined"===typeof e.value)throw new Error("Value field is missed in node creation");"string"!==typeof e.value&&(e.value=String(e.value)),e=[new Co(e)]}else if(e.selector)e=[new _o(e)];else if(e.name)e=[new wo(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new ko(e)]}var l=e.map(function(e){return e[Ao]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Eo]&&xo(e),"undefined"===typeof e.raws.before&&r&&"undefined"!==typeof r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return l},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=E(t=t.reverse());!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=E(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=E(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}
1,r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(i){throw t.addToError(i)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?v(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?v(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?v(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},d(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(Ti);Po.registerParse=function(e){bo=e},Po.registerRule=function(e){_o=e},Po.registerAtRule=function(e){wo=e},Po.registerRoot=function(e){So=e};var Io=Po;Po.default=Po,Po.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,wo.prototype):"rule"===e.type?Object.setPrototypeOf(e,_o.prototype):"decl"===e.type?Object.setPrototypeOf(e,Co.prototype):"comment"===e.type?Object.setPrototypeOf(e,ko.prototype):"root"===e.type&&Object.setPrototypeOf(e,So.prototype),e[Ao]=!0,e.nodes&&e.nodes.forEach(function(e){Po.rebuild(e)})};var To,Ro,Do=function(e){function t(t){var r;return(r=e.call(this,h({type:"document"},t))||this).nodes||(r.nodes=[]),r}return m(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new To(new Ro,this,e).stringify()},t}
1(Io);Do.registerLazyResult=function(e){To=e},Do.registerProcessor=function(e){Ro=e};var Mo=Do;Do.default=Do;var Fo=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),jo=Fo;Fo.default=Fo;var No=jo,Bo=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new No(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},d(e,[{key:"content",get:function(){return this.css}}]),e}(),Lo=Bo;Bo.default=Bo;var Uo="'".charCodeAt(0),qo='"'.charCodeAt(0),Vo="\\".charCodeAt(0),zo="/".charCodeAt(0),Go="\n".charCodeAt(0),$o=" ".charCodeAt(0),Wo="\f".charCodeAt(0),Ho="\t".charCodeAt(0),Ko="\r".charCodeAt(0),Zo="[".charCodeAt(0),Yo="]".charCodeAt(0),Jo="(".charCodeAt(0),Qo=")".charCodeAt(0),Xo="{".charCodeAt(0),es="}".charCodeAt(0),ts=";".charCodeAt(0),rs="*".charCodeAt(0),ns=":".charCodeAt(0),is="@".charCodeAt(0),os=/[\t\n\f\r "#'()/;[\\\]{}]/g,ss=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,as=/.[\r\n"'(/\\]/,us=/[\da-f]/i,cs=Io,ls=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}m(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],r))},t}(cs),fs=ls;ls.default=ls,cs.registerAtRule(ls);var ps,ds,hs=Io,gs=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}m(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,s=E(i);!(o=s()).done;){o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new ps(new ds,this,e).stringify()},t}(hs);gs.registerLazyResult=function(e){ps=e},gs.registerProcessor=function(e){ds=e};var ms=gs;gs.default=gs,hs.registerRoot(gs);var vs={comma:function(e){return vs.split(e,[","],!0)},space:function(e){return vs.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,f=E(e);!(n=f()).done;){var p=n.value;l?l=!1:"\\"===p?l=!0:u?p===c&&(u=!1):'"'===p||"'"===p?(u=!0,c=p):"("===p?a+=1:")"===p?a>0&&(a-=1):0===a&&t.includes(p)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=p}return(r||""!==o)&&i.push(o.trim()),i}},ys=vs;vs.default=vs;var bs=Io,_s=ys,ws=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return m(t,e),d(t,[{key:"selectors",get:function(){return _s.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(bs),Ss=ws;ws.default=ws,bs.registerRule(ws);var Es=Di,As=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,f,p=e.css.valueOf(),d=t.ignoreErrors,h=p.length,g=0,m=[],v=[];function y(t){throw e.error("Unclosed "+t,g)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&g>=h},nextToken:function(e){if(v.length)return v.pop();if(!(g>=h)){var t=!!e&&e.ignoreUnclosed;
vendor: 9,662 bytes, line 1
1switch(r=p.charCodeAt(g)){case Go:case $o:case Ho:case Ko:case Wo:n=g;do{n+=1,r=p.charCodeAt(n)}while(r===$o||r===Go||r===Ho||r===Ko||r===Wo);f=["space",p.slice(g,n)],g=n-1;break;case Zo:case Yo:case Xo:case es:case ns:case ts:case Qo:var b=String.fromCharCode(r);f=[b,b,g];break;case Jo:if(c=m.length?m.pop()[1]:"",l=p.charCodeAt(g+1),"url"===c&&l!==Uo&&l!==qo&&l!==$o&&l!==Go&&l!==Ho&&l!==Wo&&l!==Ko){n=g;do{if(a=!1,-1===(n=p.indexOf(")",n+1))){if(d||t){n=g;break}y("bracket")}for(u=n;p.charCodeAt(u-1)===Vo;)u-=1,a=!a}while(a);f=["brackets",p.slice(g,n+1),g,n],g=n}else n=p.indexOf(")",g+1),o=p.slice(g,n+1),-1===n||as.test(o)?f=["(","(",g]:(f=["brackets",o,g,n],g=n);break;case Uo:case qo:i=r===Uo?"'":'"',n=g;do{if(a=!1,-1===(n=p.indexOf(i,n+1))){if(d||t){n=g+1;break}y("string")}for(u=n;p.charCodeAt(u-1)===Vo;)u-=1,a=!a}while(a);f=["string",p.slice(g,n+1),g,n],g=n;break;case is:os.lastIndex=g+1,os.test(p),n=0===os.lastIndex?p.length-1:os.lastIndex-2,f=["at-word",p.slice(g,n+1),g,n],g=n;break;case Vo:for(n=g,s=!0;p.charCodeAt(n+1)===Vo;)n+=1,s=!s;if(r=p.charCodeAt(n+1),s&&r!==zo&&r!==$o&&r!==Go&&r!==Ho&&r!==Ko&&r!==Wo&&(n+=1,us.test(p.charAt(n)))){for(;us.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===$o&&(n+=1)}f=["word",p.slice(g,n+1),g,n],g=n;break;default:r===zo&&p.charCodeAt(g+1)===rs?(0===(n=p.indexOf("*/",g+2)+1)&&(d||t?n=p.length:y("comment")),f=["comment",p.slice(g,n+1),g,n],g=n):(ss.lastIndex=g+1,ss.test(p),n=0===ss.lastIndex?p.length-1:ss.lastIndex-2,f=["word",p.slice(g,n+1),g,n],m.push(f),g=n)}return g++,f}},position:function(){return g}}},Cs=yo,ks=fs,Os=ms,xs=Ss,Ps={empty:!0,space:!0};var Is=function(){function e(e){this.input=e,this.root=new Os,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new ks;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],u=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(r=a[n=a.length-1];r&&"space"===r[0];)r=a[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(i.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(i,"params",a),o&&(e=a[a.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,i,o=0,s=E(e.entries());!(i=s()).done;){var a=i.value,u=a[0];if("("===(r=(t=a[1])[0])&&(o+=1),")"===r&&(o-=1),0===o&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return u}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new Cs;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=As(this.input)},t.decl=function(e,t){var r=new Es;this.init(r,e[0][2]);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var s,a=[];e.length&&("space"===(s=e[0][0])||"comment"===s);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var u=e.length-1;u>=0;u--){if("!important"===(n=e[u])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,u);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var l=e.slice(0),f="",p=u;p>0;p--){var d=l[p][0];if(0===f.trim().indexOf("!")&&"space"!==d)break;f=l.pop()[1]+f}0===f.trim().indexOf("!")&&(r.important=!0,r.raws.important=f,e=l)}if("space"!==n[0]&&"comment"!==n[0])break}var h=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});h&&(r.raws.between+=a.map(function(e){return e[1]}).join(""),a=[]),this.raw(r,"value",a.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new xs;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],u=e;u;){if(r=u[0],a.push(u),"("===r||"["===r)i||(i=u),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=u),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(u=a[a.length-1][0])||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,s,a,u=r.length,c="",l=!0,f=0;f<u;f+=1)"space"!==(o=(i=r[f])[0])||f!==u-1||n?"comment"===o?(a=r[f-1]?r[f-1][0]:"empty",s=r[f+1]?r[f+1][0]:"empty",Ps[a]||Ps[s]||","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new xs;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),Ts=Io,Rs=Is,Ds=no;function Ms(e,t){var r=new Ds(e,t),n=new Rs(r);try{n.parse()}catch(i){throw i}return n.root}var Fs=Ms;Ms.default=Ms,Ts.registerParse(Ms);var js=vi.isClean,Ns=vi.my,Bs=mo,Ls=Ei,Us=Io,qs=Mo,Vs=Lo,zs=Fs,Gs=ms,$s={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Ws={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0}
1,Hs={Once:!0,postcssPlugin:!0,prepare:!0};function Ks(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&"function"===typeof e.then}function Zs(e){var t=!1,r=$s[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function Ys(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Zs(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Js(e){return e[js]=!1,e.nodes&&e.nodes.forEach(function(e){return Js(e)}),e}var Qs={},Xs=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==("undefined"===typeof r?"undefined":_(r))||null===r||"root"!==r.type&&"document"!==r.type)if(v(r,e)||v(r,Vs))i=Js(r.root),r.map&&("undefined"===typeof n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=zs;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(a){this.processed=!0,this.error=a}i&&!i[Ns]&&Us.rebuild(i)}else i=Js(r);this.result=new Vs(t,i,n),this.helpers=h({},Qs,{postcss:Qs,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&e.prepare?h({},e,e.prepare(o.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion);}else e.plugin=r.postcssPlugin,e.setMessage()}catch(n){console&&console.error&&console.error(n)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=E(this.plugins);!(t=n()).done;){var i=t.value;if("object"===("undefined"===typeof i?"undefined":_(i)))for(var o in i){if(!Ws[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!Hs[o])if("object"===_(i[o]))for(var s in i[o])r(i,"*"===s?o:o+"-"+s.toLowerCase(),i[o][s]);else"function"===typeof i[o]&&r(i,o,i[o])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return f(function(){var t,r,n,i,o,s,a,u,c,l,f,p;return A(this,function(d){switch(d.label){case 0:e.plugin=0,t=0,d.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!Ks(n=e.runOnRoot(r)))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,n];case 3:return d.sent(),[3,5];case 4:throw i=d.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,d.label=7;case 7:if(o[js])return[3,14];o[js]=!0,s=[Ys(o)],d.label=8;case 8:if(!(s.length>0))return[3,13];if(!Ks(a=e.visitTick(s)))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,a];case 10:return d.sent(),[3,12];case 11:throw u=d.sent(),c=s[s.length-1].node,e.handleError(u,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];l=function(){var t,r,n,i,s;return A(this,function(a){switch(a.label){case 0:t=p.value,r=t[0],n=t[1],e.result.lastPlugin=r,a.label=1;case 1:return a.trys.push([1,6,,7]),"document"!==o.type?[3,3]:(i=o.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(i)]);case 2:return a.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:a.sent(),a.label=5;case 5:return[3,7];case 6:throw s=a.sent(),e.handleError(s);case 7:return[2]}})},f=E(e.listeners.OnceExit),d.label=15;case 15:return(p=f()).done?[3,18]:[5,C(l())];case 16:d.sent(),d.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===("undefined"===typeof e?"undefined":_(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return Ks(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"===typeof e)return e(this.result.root,this.result)}catch(n){throw this.handleError(n)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=Ls;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new Bs(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=E(this.plugins);!(e=t()).done;){var r=e.value;if(Ks(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[js];)n[js]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=E(n.nodes);!(i=o()).done;){var s=i.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=E(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(u){throw this.handleError(u,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;
1if(Ks(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return s(r.toProxy(),this.helpers)}catch(f){throw this.handleError(f,r)}}if(0!==t.iterator){for(var a,u=t.iterator;a=r.nodes[r.indexes[u]];)if(r.indexes[u]+=1,!a[js])return a[js]=!0,void e.push(Ys(a));t.iterator=0,delete r.indexes[u]}for(var c=t.events;t.eventIndex<c.length;){var l=c[t.eventIndex];if(t.eventIndex+=1,0===l)return void(r.nodes&&r.nodes.length&&(r[js]=!0,t.iterator=r.getIterator()));if(this.listeners[l])return void(t.visitors=this.listeners[l])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[js]=!0;for(var r,n=E(Zs(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each(function(e){e[js]||t.walkSync(e)});else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},d(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();Xs.registerPostcss=function(e){Qs=e};var ea=Xs;Xs.default=Xs,Gs.registerLazyResult(Xs),qs.registerLazyResult(Xs);var ta=mo,ra=Ei,na=Fs,ia=Lo,oa=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var i=ra;this.result=new ia(this._processor,n,this._opts),this.result.css=t;var o=this;Object.defineProperty(this.result,"root",{get:function(){return o.root}});var s=new ta(i,n,this._opts,t);if(s.isMap()){var a=s.generate(),u=a[0],c=a[1];u&&(this.result.css=u),c&&(this.result.map=c)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},d(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=na;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),sa=oa;oa.default=oa;var aa=sa,ua=ea,ca=Mo,la=ms,fa=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=E(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===("undefined"===typeof i?"undefined":_(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===("undefined"===typeof i?"undefined":_(i))&&i.postcssPlugin)r.push(i);else if("function"===typeof i)r.push(i);else{if("object"!==("undefined"===typeof i?"undefined":_(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new ua(this,e,t):new aa(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),pa=fa;fa.default=fa,la.registerProcessor(fa),ca.registerProcessor(fa);var da=Di,ha=Vi,ga=yo,ma=fs,va=no,ya=ms,ba=Ss;function _a(e,t){if(Array.isArray(e))return e.map(function(e){return _a(e)});
1var r=e.inputs,n=y(e,["inputs"]);if(r){t=[];for(var i,o=E(r);!(i=o()).done;){var s=h({},i.value,{__proto__:va.prototype});s.map&&(s.map=h({},s.map,{__proto__:ha.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return _a(e,t)})),n.source){var a=n.source,u=a.inputId,c=y(a,["inputId"]);n.source=c,null!=u&&(n.source.input=t[u])}if("root"===n.type)return new ya(n);if("decl"===n.type)return new da(n);if("rule"===n.type)return new ba(n);if("comment"===n.type)return new ga(n);if("atrule"===n.type)return new ma(n);throw new Error("Unknown node type: "+e.type)}var wa=_a;_a.default=_a;var Sa=mi,Ea=Di,Aa=ea,Ca=Io,ka=pa,Oa=Ei,xa=wa,Pa=Mo,Ia=jo,Ta=yo,Ra=fs,Da=Lo,Ma=no,Fa=Fs,ja=ys,Na=Ss,Ba=ms,La=Ti;function Ua(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new ka(t)}Ua.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_OMEDA_CONNECTION_KEY:"de0456c273b04c5abad613d49f4c5762",REACT_APP_WEBSOCKET:"wss://websocket.app.plumbs.com",REACT_APP_RECURLY_PUBLIC_KEY:"ewr1-8cSPH7a2wS6QkvBUUy7I7L",REACT_APP_SENTRY:"https://[email protected]/5505912",REACT_APP_SHEERID_PROGRAM_ID:"611127dbdc587428f1124a37",REACT_APP_RECAPTCHA_SITE_KEY:"6LdlrOIqAAAAAOfEZgqZ8kQTSzqenIF1iMZI23gf",REACT_APP_APPCUES_ACCOUNT_ID:"120093",REACT_APP_OMEDA_ENV:"production",REACT_APP_DATADOG_RUM_CLIENT_TOKEN:"pub2e570a940827bcac3040f8cc1f27a370",REACT_APP_STANDARDS_GOOGLE_TAG_MANAGER_ID:"GTM-W7BK94LS",REACT_APP_SENTRY_ORG:"brief-media-7s",REACT_APP_MIXPANEL_TOKEN:"8be441a2b3cc723a205ce3804eba837e",REACT_APP_ENVIRONMENT:"prod",REACT_APP_INTERCOM_APP_ID:"axzkj8e2",REACT_APP_VERSION_NAME:"4dbfd9d41aa3b6bf6dddf9de1ab693f71849c956",REACT_APP_GOOGLE_TAG_MANAGER_ID:"GTM-KZVVP5T",REACT_APP_DATADOG_RUM_APPLICATION_ID:"3aa0ac21-48dc-4e1b-8169-d458c7782c66",REACT_APP_SHEERID_PROGRAM_ID_PRO:"6111846acd04f5716eaec2ce",REACT_APP_SCHEME:"https",REACT_APP_DOMAIN:"app.plumbs.com"}.LANG&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_OMEDA_CONNECTION_KEY:"de0456c273b04c5abad613d49f4c5762",REACT_APP_WEBSOCKET:"wss://websocket.app.plumbs.com",REACT_APP_RECURLY_PUBLIC_KEY:"ewr1-8cSPH7a2wS6QkvBUUy7I7L",REACT_APP_SENTRY:"https://[email protected]/5505912",REACT_APP_SHEERID_PROGRAM_ID:"611127dbdc587428f1124a37",REACT_APP_RECAPTCHA_SITE_KEY:"6LdlrOIqAAAAAOfEZgqZ8kQTSzqenIF1iMZI23gf",REACT_APP_APPCUES_ACCOUNT_ID:"120093",REACT_APP_OMEDA_ENV:"production",REACT_APP_DATADOG_RUM_CLIENT_TOKEN:"pub2e570a940827bcac3040f8cc1f27a370",REACT_APP_STANDARDS_GOOGLE_TAG_MANAGER_ID:"GTM-W7BK94LS",REACT_APP_SENTRY_ORG:"brief-media-7s",REACT_APP_MIXPANEL_TOKEN:"8be441a2b3cc723a205ce3804eba837e",REACT_APP_ENVIRONMENT:"prod",REACT_APP_INTERCOM_APP_ID:"axzkj8e2",REACT_APP_VERSION_NAME:"4dbfd9d41aa3b6bf6dddf9de1ab693f71849c956",REACT_APP_GOOGLE_TAG_MANAGER_ID:"GTM-KZVVP5T",REACT_APP_DATADOG_RUM_APPLICATION_ID:"3aa0ac21-48dc-4e1b-8169-d458c7782c66",REACT_APP_SHEERID_PROGRAM_ID_PRO:"6111846acd04f5716eaec2ce",REACT_APP_SCHEME:"https",REACT_APP_DOMAIN:"app.plumbs.com"}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new ka).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return Ua([i(r)]).process(e,t)},i},Ua.stringify=Oa,Ua.parse=Fa,Ua.fromJSON=xa,Ua.list=ja,Ua.comment=function(e){return new Ta(e)},Ua.atRule=function(e){return new Ra(e)},Ua.decl=function(e){return new Ea(e)},Ua.rule=function(e){return new Na(e)},Ua.root=function(e){return new Ba(e)},Ua.document=function(e){return new Pa(e)},Ua.CssSyntaxError=Sa,Ua.Declaration=Ea,Ua.Container=Ca,Ua.Processor=ka,Ua.Document=Pa,Ua.Comment=Ta,Ua.Warning=Ia,Ua.AtRule=Ra,Ua.Result=Da,Ua.Input=Ma,Ua.Rule=Na,Ua.Root=Ba,Ua.Node=La,Aa.registerPostcss(Ua);var qa=Ua;Ua.default=Ua;var Va=si(qa);Va.stringify,Va.fromJSON,Va.plugin,Va.parse,Va.list,Va.document,Va.comment,Va.atRule,Va.rule,Va.decl,Va.root,Va.CssSyntaxError,Va.Declaration,Va.Container,Va.Processor,Va.Document,Va.Comment,Va.Warning,Va.AtRule,Va.Result,Va.Input,Va.Rule,Va.Root,Va.Node;var za=function(){function e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];oi(this,"parentElement",null),oi(this,"parentNode",null),oi(this,"ownerDocument"),oi(this,"firstChild",null),oi(this,"lastChild",null),oi(this,"previousSibling",null),oi(this,"nextSibling",null),oi(this,"ELEMENT_NODE",1),oi(this,"TEXT_NODE",3),oi(this,"nodeType"),oi(this,"nodeName"),oi(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!v(t,e))return!1;if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1},t.appendChild=function(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},t.insertBefore=function(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},t.removeChild=function(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},t.toString=function(){return"RRNode"},d(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),Ga={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},$a={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Wa={};function Ha(e){if(Wa[e])return Wa[e];var t=globalThis[e],r=t.prototype,n=e in Ga?Ga[e]:void 0,i=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),o=e in $a?$a[e]:void 0,s=Boolean(o&&o.every(function(e){var t;return"function"===typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&s&&!globalThis.Zone)return Wa[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return t.prototype;var c=u[e].prototype;return document.body.removeChild(a),c?Wa[e]=c:r}catch(l){return r}}var Ka={};function Za(e,t,r){var n,i=e+"."+String(r);if(Ka[i])return Ka[i].call(t);var o=Ha(e),s=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return s?(Ka[i]=s,s.call(t)):t[r]}var Ya={};function Ja(e,t,r){var n=e+"."+String(r);if(Ya[n])return Ya[n].bind(t);
vendor: 4,068 bytes, line 1
1var i=Ha(e)[r];return"function"!==typeof i?t[r]:(Ya[n]=i,i.bind(t))}function Qa(){return Ha("MutationObserver").constructor}function Xa(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(o){return function(){}}}var eu={childNodes:function(e){return Za("Node",e,"childNodes")},parentNode:function(e){return Za("Node",e,"parentNode")},parentElement:function(e){return Za("Node",e,"parentElement")},textContent:function(e){return Za("Node",e,"textContent")},contains:function(e,t){return Ja("Node",e,"contains")(t)},getRootNode:function(e){return Ja("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Za("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Za("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Za("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Za("Element",e,"querySelectorAll")(t)},mutationObserver:Qa,patch:Xa};function tu(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),function(){return r.removeEventListener(e,t,n)}}var ru="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",nu={map:{},getId:function(){return console.error(ru),-1},getNode:function(){return console.error(ru),null},removeNodeFromMap:function(){console.error(ru)},has:function(){return console.error(ru),!1},reset:function(){console.error(ru)}};function iu(e,t,r){void 0===r&&(r={});var n=null,i=0;return function(){for(var o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];var u=Date.now();i||!1!==r.leading||(i=u);var c=t-(u-i),l=this;c<=0||c>t?(n&&(clearTimeout(n),n=null),i=u,e.apply(l,s)):n||!1===r.trailing||(n=setTimeout(function(){i=!1===r.leading?0:Date.now(),n=null,e.apply(l,s)},c))}}function ou(e,t,r,n,i){void 0===i&&(i=window);var o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,n?r:{set:function(e){var t=this;setTimeout(function(){r.set.call(t,e)},0),o&&o.set&&o.set.call(this,e)}}),function(){return ou(e,t,o||{},!0)}}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(nu=new Proxy(nu,{get:function(e,t,r){return"map"===t&&console.error(ru),Reflect.get(e,t,r)}}));var su=Date.now;function au(e){var t,r,n,i,o=e.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:o.documentElement.scrollLeft||(null==o?void 0:o.body)&&(null==(t=eu.parentElement(o.body))?void 0:t.scrollLeft)||(null==(r=null==o?void 0:o.body)?void 0:r.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==o?void 0:o.documentElement.scrollTop)||(null==o?void 0:o.body)&&(null==(n=eu.parentElement(o.body))?void 0:n.scrollTop)||(null==(i=null==o?void 0:o.body)?void 0:i.scrollTop)||0}}function uu(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function cu(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function lu(e){return e?e.nodeType===e.ELEMENT_NODE?e:eu.parentElement(e):null}function fu(e,t,r,n){if(!e)return!1;var i=lu(e);if(!i)return!1;try{if("string"===typeof t){if(i.classList.contains(t))return!0;if(n&&null!==i.closest("."+t))return!0}else if(ye(i,t,n))return!0}catch(o){}if(r){if(i.matches(r))return!0;if(n&&null!==i.closest(r))return!0}return!1}function pu(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||-2===t.getId(e)}function du(e,t){if(V(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=eu.parentNode(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||du(n,t))}function hu(e){return Boolean(e.changedTouches)}
1function gu(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function mu(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function vu(e){return!!e&&(v(e,za)&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(eu.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(su=function(){return(new Date).getTime()});var yu=function(){function e(){x(this,"id",1),x(this,"styleIDMap",new WeakMap),x(this,"idStyleMap",new Map)}var t=e.prototype;return t.getId=function(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1},t.has=function(e){return this.styleIDMap.has(e)},t.add=function(e,t){return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r);var r},t.getStyle=function(e){return this.idStyleMap.get(e)||null},t.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},t.generateId=function(){return this.id++},t.remove=function(e){var t=this.styleIDMap.get(e);return void 0!==t&&(this.styleIDMap.delete(e),this.idStyleMap.delete(t),!0)},e}();function bu(e){var t,r=null;return"getRootNode"in e&&(null==(t=eu.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&eu.host(eu.getRootNode(e))&&(r=eu.host(eu.getRootNode(e))),r}function _u(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=bu(r);)r=t;return r}(e);return eu.contains(t,r)}function wu(e){var t=e.ownerDocument;return!!t&&(eu.contains(t,e)||_u(e))}var Su=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(Su||{}),Eu=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}(Eu||{}),Au=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}(Au||{}),Cu=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(Cu||{}),ku=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(ku||{}),Ou=function(e){return e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e}(Ou||{}),xu=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(xu||{});function Pu(e){return"__ln"in e}var Iu,Tu=function(){function e(){x(this,"length",0),x(this,"head",null),x(this,"tail",null)}var t=e.prototype;return t.get=function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,r=0;r<e;r++)t=(null==t?void 0:t.next)||null;return t},t.addNode=function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Pu(e.previousSibling)){var r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&Pu(e.nextSibling)&&e.nextSibling.__ln.previous){var n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++},t.removeNode=function(e){var t=e.__ln;
vendor: 5,459 bytes, line 1
1this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)},e}(),Ru=function(e,t){return e+"@"+t},Du=function(){function e(){var e=this;x(this,"frozen",!1),x(this,"locked",!1),x(this,"texts",[]),x(this,"attributes",[]),x(this,"attributeMap",new WeakMap),x(this,"removes",[]),x(this,"mapRemoves",[]),x(this,"movedMap",{}),x(this,"addedSet",new Set),x(this,"movedSet",new Set),x(this,"droppedSet",new Set),x(this,"removesSubTreeCache",new Set),x(this,"mutationCb"),x(this,"blockClass"),x(this,"blockSelector"),x(this,"maskTextClass"),x(this,"maskTextSelector"),x(this,"inlineStylesheet"),x(this,"maskInputOptions"),x(this,"maskTextFn"),x(this,"maskInputFn"),x(this,"keepIframeSrcFn"),x(this,"recordCanvas"),x(this,"inlineImages"),x(this,"slimDOMOptions"),x(this,"dataURLOptions"),x(this,"doc"),x(this,"mirror"),x(this,"iframeManager"),x(this,"stylesheetManager"),x(this,"shadowDomManager"),x(this,"canvasManager"),x(this,"processedNodeManager"),x(this,"unattachedDoc"),x(this,"processMutations",function(t){t.forEach(e.processMutation),e.emit()}),x(this,"emit",function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Set,n=new Tu,i=function(t){for(var r=t,n=-2;-2===n;)n=(r=r&&r.nextSibling)&&e.mirror.getId(r);return n},o=function(o){var s=eu.parentNode(o);if(s&&wu(o)){var a=!1;if(o.nodeType===Node.TEXT_NODE){var u=s.tagName;if("TEXTAREA"===u)return;"STYLE"===u&&e.addedSet.has(s)&&(a=!0)}var c=V(s)?e.mirror.getId(bu(o)):e.mirror.getId(s),l=i(o);if(-1===c||-1===l)return n.addNode(o);var f=Se(o,{doc:e.doc,mirror:e.mirror,blockClass:e.blockClass,blockSelector:e.blockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:e.inlineStylesheet,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,dataURLOptions:e.dataURLOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(t){gu(t,e.mirror)&&e.iframeManager.addIframe(t),mu(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),vu(o)&&e.shadowDomManager.addShadowRoot(eu.shadowRoot(o),e.doc)},onIframeLoad:function(t,r){e.iframeManager.attachIframe(t,r),e.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:function(t,r){e.stylesheetManager.attachLinkElement(t,r)},cssCaptured:a});f&&(t.push({parentId:c,nextId:l,node:f}),r.add(f.id))}};e.mapRemoves.length;){var s=e.mapRemoves.shift();e.cleanupRemovedNode(s),e.mirror.removeNodeFromMap(s)}for(var a,u=E(e.movedSet);!(a=u()).done;){var c=a.value;Fu(e.removesSubTreeCache,c,e.mirror)&&!e.movedSet.has(eu.parentNode(c))||o(c)}for(var l,f=E(e.addedSet);!(l=f()).done;){var p=l.value;ju(e.droppedSet,p)||Fu(e.removesSubTreeCache,p,e.mirror)?ju(e.movedSet,p)?o(p):e.droppedSet.add(p):o(p)}for(var d=null;n.length;){var h=null;if(d){var g=e.mirror.getId(eu.parentNode(d.value)),m=i(d.value);-1!==g&&-1!==m&&(h=d)}if(!h)for(var v=n.tail;v;){var y=v;if(v=v.previous,y){var b=e.mirror.getId(eu.parentNode(y.value));if(-1===i(y.value))continue;if(-1!==b){h=y;break}var _=y.value,w=eu.parentNode(_);if(w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var S=eu.host(w);if(-1!==e.mirror.getId(S)){h=y;break}}}}if(!h){for(;n.head;)n.removeNode(n.head.value);break}d=h.previous,n.removeNode(h.value),o(h.value)}var A={texts:e.texts.map(function(t){var r=t.node,n=eu.parentNode(r);return n&&"TEXTAREA"===n.tagName&&e.genTextAreaValueMutation(n),{id:e.mirror.getId(r),value:t.value}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),attributes:e.attributes.map(function(t){var r=t.attributes;if("string"===typeof r.style){var n=JSON.stringify(t.styleDiff),i=JSON.stringify(t._unchangedStyles);n.length<r.style.length&&(n+i).split("var(").length===r.style.split("var(").length&&(r.style=t.styleDiff)}return{id:e.mirror.getId(t.node),attributes:r}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),removes:e.removes,adds:t};(A.texts.length||A.attributes.length||A.removes.length||A.adds.length)&&(e.texts=[],e.attributes=[],e.attributeMap=new WeakMap,e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.removesSubTreeCache=new Set,e.movedMap={},e.mutationCb(A))}}),x(this,"genTextAreaValueMutation",function(t){var r=e.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(r),e.attributeMap.set(t,r));var n=Array.from(eu.childNodes(t),function(e){return eu.textContent(e)||""}).join("");r.attributes.value=H({element:t,maskInputOptions:e.maskInputOptions,tagName:t.tagName,type:Y(t),value:n,maskInputFn:e.maskInputFn})}),x(this,"processMutation",function(t){if(!pu(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var r=eu.textContent(t.target);fu(t.target,e.blockClass,e.blockSelector,!1)||r===t.oldValue||e.texts.push({value:be(t.target,e.maskTextClass,e.maskTextSelector,!0)&&r?e.maskTextFn?e.maskTextFn(r,lu(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break;case"attributes":var n=t.target,i=t.attributeName,o=t.target.getAttribute(i);if("value"===i){var s=Y(n);o=H({element:n,maskInputOptions:e.maskInputOptions,tagName:n.tagName,type:s,value:o,maskInputFn:e.maskInputFn})}if(fu(t.target,e.blockClass,e.blockSelector,!1)||o===t.oldValue)return;var a=e.attributeMap.get(t.target);
1if("IFRAME"===n.tagName&&"src"===i&&!e.keepIframeSrcFn(o)){if(n.contentDocument)return;i="rr_src"}if(a||(a={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(a),e.attributeMap.set(t.target,a)),"type"===i&&"INPUT"===n.tagName&&"password"===(t.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!ve(n.tagName,i))if(a.attributes[i]=me(e.doc,K(n.tagName),K(i),o),"style"===i){if(!e.unattachedDoc)try{e.unattachedDoc=document.implementation.createHTMLDocument()}catch(v){e.unattachedDoc=e.doc}var u=e.unattachedDoc.createElement("span");t.oldValue&&u.setAttribute("style",t.oldValue);for(var c,l=E(Array.from(n.style));!(c=l()).done;){var f=c.value,p=n.style.getPropertyValue(f),d=n.style.getPropertyPriority(f);p!==u.style.getPropertyValue(f)||d!==u.style.getPropertyPriority(f)?a.styleDiff[f]=""===d?p:[p,d]:a._unchangedStyles[f]=[p,d]}for(var h,g=E(Array.from(u.style));!(h=g()).done;){var m=h.value;""===n.style.getPropertyValue(m)&&(a.styleDiff[m]=!1)}}else"open"===i&&"DIALOG"===n.tagName&&(n.matches("dialog:modal")?a.attributes.rr_open_mode="modal":a.attributes.rr_open_mode="non-modal");break;case"childList":if(fu(t.target,e.blockClass,e.blockSelector,!0))return;if("TEXTAREA"===t.target.tagName)return void e.genTextAreaValueMutation(t.target);t.addedNodes.forEach(function(r){return e.genAdds(r,t.target)}),t.removedNodes.forEach(function(r){var n=e.mirror.getId(r),i=V(t.target)?e.mirror.getId(eu.host(t.target)):e.mirror.getId(t.target);fu(t.target,e.blockClass,e.blockSelector,!1)||pu(r,e.mirror,e.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(r,e.mirror)||(e.addedSet.has(r)?(Mu(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||du(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[Ru(n,i)]?Mu(e.movedSet,r):(e.removes.push({parentId:i,id:n,isShadow:!(!V(t.target)||!z(t.target))||void 0}),function(e,t){var r=[e];for(;r.length;){var n=r.pop();t.has(n)||(t.add(n),eu.childNodes(n).forEach(function(e){return r.push(e)}))}}(r,e.removesSubTreeCache))),e.mapRemoves.push(r))})}}),x(this,"genAdds",function(t,r){if(!e.processedNodeManager.inOtherBuffer(t,e)&&!e.addedSet.has(t)&&!e.movedSet.has(t)){if(e.mirror.hasNode(t)){if(pu(t,e.mirror,e.slimDOMOptions))return;e.movedSet.add(t);var n=null;r&&e.mirror.hasNode(r)&&(n=e.mirror.getId(r)),n&&-1!==n&&(e.movedMap[Ru(e.mirror.getId(t),n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);fu(t,e.blockClass,e.blockSelector,!1)||(eu.childNodes(t).forEach(function(t){return e.genAdds(t)}),vu(t)&&eu.childNodes(eu.shadowRoot(t)).forEach(function(r){e.processedNodeManager.add(r,e),e.genAdds(r,t)}))}}),x(this,"cleanupRemovedNode",function(t){if("IFRAME"===t.nodeName)try{e.iframeManager.removeIframe(t)}catch(r){}else try{e.stylesheetManager.cleanupStylesheetsForRemovedNode(t)}catch(r){}t.childNodes.forEach(function(t){e.cleanupRemovedNode(t)})})}var t=e.prototype;return t.init=function(e){var t=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(r){t[r]=e[r]})},t.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.isFrozen=function(){return this.frozen},t.lock=function(){this.locked=!0,this.canvasManager.lock()},t.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},t.getDoc=function(){return this.doc},e}();function Mu(e,t){e.delete(t),eu.childNodes(t).forEach(function(t){return Mu(e,t)})}function Fu(e,t,r){return 0!==e.size&&function(e,t){var r=eu.parentNode(t);return!!r&&e.has(r)}(e,t)}function ju(e,t){return 0!==e.size&&Nu(e,t)}function Nu(e,t){var r=eu.parentNode(t);return!!r&&(!!e.has(r)||Nu(e,r))}var Bu=function(e){if(!Iu)return e;return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];try{return e.apply(void 0,[].concat(r))}catch(i){if(Iu&&!0===Iu(i))return;throw i}}},Lu=[];function Uu(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(r){}return e&&e.target}function qu(e,t){var r=new Du;Lu.push(r),r.init(e);var n=new(Qa())(Bu(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function Vu(e){var t=e.mouseInteractionCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.sampling;if(!1===s.mouseInteraction)return function(){};var a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,u=[],c=null;return Object.keys(Au).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e]}
1).forEach(function(e){var s=K(e),a=function(e){return function(r){var s=Uu(r);if(!fu(s,i,o,!0)){var a=null,u=e;if("pointerType"in r){switch(r.pointerType){case"mouse":a=Cu.Mouse;break;case"touch":a=Cu.Touch;break;case"pen":a=Cu.Pen}a===Cu.Touch?Au[e]===Au.MouseDown?u="TouchStart":Au[e]===Au.MouseUp&&(u="TouchEnd"):Cu.Pen}else hu(r)&&(a=Cu.Touch);null!==a?(c=a,(u.startsWith("Touch")&&a===Cu.Touch||u.startsWith("Mouse")&&a===Cu.Mouse)&&(a=null)):Au[e]===Au.Click&&(a=c,c=null);var l=hu(r)?r.changedTouches[0]:r;if(l){var f=n.getId(s),p=l.clientX,d=l.clientY;Bu(t)(h({type:Au[u],id:f,x:p,y:d},null!==a&&{pointerType:a}))}}}}(e);if(window.PointerEvent)switch(Au[e]){case Au.MouseDown:case Au.MouseUp:s=s.replace("mouse","pointer");break;case Au.TouchStart:case Au.TouchEnd:return}u.push(tu(s,a,r))}),Bu(function(){u.forEach(function(e){return e()})})}function zu(e){var t=e.scrollCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.sampling;return tu("scroll",Bu(iu(Bu(function(e){var s=Uu(e);if(s&&!fu(s,i,o,!0)){var a=n.getId(s);if(s===r&&r.defaultView){var u=au(r.defaultView);t({id:a,x:u.left,y:u.top})}else t({id:a,x:s.scrollLeft,y:s.scrollTop})}}),s.scroll||100)),r)}var Gu=["INPUT","TEXTAREA","SELECT"],$u=new WeakMap;function Wu(e){return function(e,t){if(Yu("CSSGroupingRule")&&v(e.parentRule,CSSGroupingRule)||Yu("CSSMediaRule")&&v(e.parentRule,CSSMediaRule)||Yu("CSSSupportsRule")&&v(e.parentRule,CSSSupportsRule)||Yu("CSSConditionRule")&&v(e.parentRule,CSSConditionRule)){var r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){var n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function Hu(e,t,r){var n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function Ku(e,t){var r,n,i,o=e.mirror,s=e.stylesheetManager,a=null;a="#document"===t.nodeName?o.getId(t):o.getId(eu.host(t));var u="#document"===t.nodeName?null==(r=t.defaultView)?void 0:r.Document:null==(i=null==(n=t.ownerDocument)?void 0:n.defaultView)?void 0:i.ShadowRoot,c=(null==u?void 0:u.prototype)?Object.getOwnPropertyDescriptor(null==u?void 0:u.prototype,"adoptedStyleSheets"):void 0;return null!==a&&-1!==a&&u&&c?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var e;return null==(e=c.get)?void 0:e.call(this)},set:function(e){var t,r=null==(t=c.set)?void 0:t.call(this,e);if(null!==a&&-1!==a)try{s.adoptStyleSheets(e,a)}catch(n){}return r}}),Bu(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})})):function(){}}function Zu(e,t){void 0===t&&(t={});var r,n=e.doc.defaultView;if(!n)return function(){};!function(e,t){var r=e.mutationCb,n=e.mousemoveCb,i=e.mouseInteractionCb,o=e.scrollCb,s=e.viewportResizeCb,a=e.inputCb,u=e.mediaInteractionCb,c=e.styleSheetRuleCb,l=e.styleDeclarationCb,f=e.canvasMutationCb,p=e.fontCb,d=e.selectionCb,h=e.customElementCb;e.mutationCb=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var o;t.mutation&&(o=t).mutation.apply(o,[].concat(n)),r.apply(void 0,[].concat(n))},e.mousemoveCb=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o;t.mousemove&&(o=t).mousemove.apply(o,[].concat(r)),n.apply(void 0,[].concat(r))},e.mouseInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.mouseInteraction&&(o=t).mouseInteraction.apply(o,[].concat(r)),i.apply(void 0,[].concat(r))},e.scrollCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.scroll&&(i=t).scroll.apply(i,[].concat(r)),o.apply(void 0,[].concat(r))},e.viewportResizeCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.viewportResize&&(i=t).viewportResize.apply(i,[].concat(r)),s.apply(void 0,[].concat(r))},e.inputCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.input&&(i=t).input.apply(i,[].concat(r)),a.apply(void 0,[].concat(r))},e.mediaInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.mediaInteaction&&(i=t).mediaInteaction.apply(i,[].concat(r)),u.apply(void 0,[].concat(r))},e.styleSheetRuleCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.styleSheetRule&&(i=t).styleSheetRule.apply(i,[].concat(r)),c.apply(void 0,[].concat(r))},e.styleDeclarationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.styleDeclaration&&(i=t).styleDeclaration.apply(i,[].concat(r)),l.apply(void 0,[].concat(r))},e.canvasMutationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.canvasMutation&&(i=t).canvasMutation.apply(i,[].concat(r)),f.apply(void 0,[].concat(r))},e.fontCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.font&&(i=t).font.apply(i,[].concat(r)),p.apply(void 0,[].concat(r))},e.selectionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.selection&&(i=t).selection.apply(i,[].concat(r)),d.apply(void 0,[].concat(r))},e.customElementCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.customElement&&(i=t).customElement.apply(i,[].concat(r)),h.apply(void 0,[].concat(r))}}(e,t),e.recordDOM&&(r=qu(e,e.doc));var i=function(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,i=e.mirror;if(!1===r.mousemove)return function(){};var o,s="number"===typeof r.mousemove?r.mousemove:50,a="number"===typeof r.mousemoveCallback?r.mousemoveCallback:500,u=[],c=iu(Bu(function(e){var r=Date.now()-o;t(u.map(function(e){return e.timeOffset-=r,e}),e),u=[],o=null}),a),l=Bu(iu(Bu(function(e){var t=Uu(e),r=hu(e)?e.changedTouches[0]:e,n=r.clientX,s=r.clientY;o||(o=su()),u.push({x:n,y:s,id:i.getId(t),timeOffset:su()-o}),c("undefined"!==typeof DragEvent&&v(e,DragEvent)?Eu.Drag:v(e,MouseEvent)?Eu.MouseMove:Eu.TouchMove)}),s,{trailing:!1})),f=[tu("mousemove",l,n),tu("touchmove",l,n),tu("drag",l,n)];return Bu(function(){f.forEach(function(e){return e()})})}(e),o=Vu(e),s=zu(e),a=function(e,t){var r=e.viewportResizeCb,n=t.win,i=-1,o=-1;return tu("resize",Bu(iu(Bu(function(){var e=uu(),t=cu();i===e&&o===t||(r({width:Number(t),height:Number(e)}),i=e,o=t)}),200)),n)}(e,{win:n}),u=function(e){var t=e.inputCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.ignoreClass,a=e.ignoreSelector,u=e.maskInputOptions,c=e.maskInputFn,l=e.sampling,f=e.userTriggeredOnInput;function p(e){var t=Uu(e),n=e.isTrusted,l=t&&t.tagName;if(t&&"OPTION"===l&&(t=eu.parentElement(t)),t&&l&&!(Gu.indexOf(l)<0)&&!fu(t,i,o,!0)&&!(t.classList.contains(s)||a&&t.matches(a))){var p=t.value,h=!1,g=Y(t)||"";"radio"===g||"checkbox"===g?h=t.checked:(u[l.toLowerCase()]||u[g])&&(p=H({element:t,maskInputOptions:u,tagName:l,type:g,value:p,maskInputFn:c}
1)),d(t,f?{text:p,isChecked:h,userTriggered:n}:{text:p,isChecked:h});var m=t.name;"radio"===g&&m&&h&&r.querySelectorAll('input[type="radio"][name="'+m+'"]').forEach(function(e){if(e!==t){var r=e.value;d(e,f?{text:r,isChecked:!h,userTriggered:!1}:{text:r,isChecked:!h})}})}}function d(e,r){var i=$u.get(e);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){$u.set(e,r);var o=n.getId(e);Bu(t)(h({},r,{id:o}))}}var g=("last"===l.input?["change"]:["input","change"]).map(function(e){return tu(e,Bu(p),r)}),m=r.defaultView;if(!m)return function(){g.forEach(function(e){return e()})};var v,y=m.Object.getOwnPropertyDescriptor(m.HTMLInputElement.prototype,"value"),b=[[m.HTMLInputElement.prototype,"value"],[m.HTMLInputElement.prototype,"checked"],[m.HTMLSelectElement.prototype,"value"],[m.HTMLTextAreaElement.prototype,"value"],[m.HTMLSelectElement.prototype,"selectedIndex"],[m.HTMLOptionElement.prototype,"selected"]];return y&&y.set&&(v=g).push.apply(v,[].concat(b.map(function(e){return ou(e[0],e[1],{set:function(){Bu(p)({target:this,isTrusted:!1})}},!1,m)}))),Bu(function(){g.forEach(function(e){return e()})})}(e),c=function(e){var t=e.mediaInteractionCb,r=e.blockClass,n=e.blockSelector,i=e.mirror,o=e.sampling,s=e.doc,a=Bu(function(e){return iu(Bu(function(o){var s=Uu(o);if(s&&!fu(s,r,n,!0)){var a=s.currentTime,u=s.volume,c=s.muted,l=s.playbackRate,f=s.loop;t({type:e,id:i.getId(s),currentTime:a,volume:u,muted:c,playbackRate:l,loop:f})}}),o.media||500)}),u=[tu("play",a(Ou.Play),s),tu("pause",a(Ou.Pause),s),tu("seeked",a(Ou.Seeked),s),tu("volumechange",a(Ou.VolumeChange),s),tu("ratechange",a(Ou.RateChange),s)];return Bu(function(){u.forEach(function(e){return e()})})}(e),l=function(){},f=function(){},p=function(){},d=function(){};e.recordDOM&&(l=function(e,t){var r=e.styleSheetRuleCb,n=e.mirror,i=e.stylesheetManager,o=t.win;if(!o.CSSStyleSheet||!o.CSSStyleSheet.prototype)return function(){};var s=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:Bu(function(e,t,o){var s=o[0],a=o[1],u=Hu(t,n,i.styleMirror),c=u.id,l=u.styleId;return(c&&-1!==c||l&&-1!==l)&&r({id:c,styleId:l,adds:[{rule:s,index:a}]}),e.apply(t,o)})}),o.CSSStyleSheet.prototype.addRule=function(e,t,r){void 0===r&&(r=this.cssRules.length);var n=e+" { "+t+" }";return o.CSSStyleSheet.prototype.insertRule.apply(this,[n,r])};var a,u,c=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(c,{apply:Bu(function(e,t,o){var s=o[0],a=Hu(t,n,i.styleMirror),u=a.id,c=a.styleId;
vendor: 1,570 bytes, line 1
1return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,removes:[{index:s}]}),e.apply(t,o)})}),o.CSSStyleSheet.prototype.removeRule=function(e){return o.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},o.CSSStyleSheet.prototype.replace&&(a=o.CSSStyleSheet.prototype.replace,o.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:Bu(function(e,t,o){var s=o[0],a=Hu(t,n,i.styleMirror),u=a.id,c=a.styleId;return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,replace:s}),e.apply(t,o)})})),o.CSSStyleSheet.prototype.replaceSync&&(u=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(u,{apply:Bu(function(e,t,o){var s=o[0],a=Hu(t,n,i.styleMirror),u=a.id,c=a.styleId;return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,replaceSync:s}),e.apply(t,o)})}));var l={};Ju("CSSGroupingRule")?l.CSSGroupingRule=o.CSSGroupingRule:(Ju("CSSMediaRule")&&(l.CSSMediaRule=o.CSSMediaRule),Ju("CSSConditionRule")&&(l.CSSConditionRule=o.CSSConditionRule),Ju("CSSSupportsRule")&&(l.CSSSupportsRule=o.CSSSupportsRule));var f={};return Object.entries(l).forEach(function(e){var t=e[0],o=e[1];f[t]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(f[t].insertRule,{apply:Bu(function(e,t,o){var s=o[0],a=o[1],u=Hu(t.parentStyleSheet,n,i.styleMirror),c=u.id,l=u.styleId;return(c&&-1!==c||l&&-1!==l)&&r({id:c,styleId:l,adds:[{rule:s,index:[].concat(Wu(t),[a||0])}]}),e.apply(t,o)})}),o.prototype.deleteRule=new Proxy(f[t].deleteRule,{apply:Bu(function(e,t,o){var s=o[0],a=Hu(t.parentStyleSheet,n,i.styleMirror),u=a.id,c=a.styleId;
1return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,removes:[{index:[].concat(Wu(t),[s])}]}),e.apply(t,o)})})}),Bu(function(){o.CSSStyleSheet.prototype.insertRule=s,o.CSSStyleSheet.prototype.deleteRule=c,a&&(o.CSSStyleSheet.prototype.replace=a),u&&(o.CSSStyleSheet.prototype.replaceSync=u),Object.entries(l).forEach(function(e){var t=e[0],r=e[1];r.prototype.insertRule=f[t].insertRule,r.prototype.deleteRule=f[t].deleteRule})})}(e,{win:n}),f=Ku(e,e.doc),p=function(e,t){var r=e.styleDeclarationCb,n=e.mirror,i=e.ignoreCSSAttributes,o=e.stylesheetManager,s=t.win,a=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:Bu(function(e,t,s){var u,c=s[0],l=s[1],f=s[2];if(i.has(c))return a.apply(t,[c,l,f]);var p=Hu(null==(u=t.parentRule)?void 0:u.parentStyleSheet,n,o.styleMirror),d=p.id,h=p.styleId;return(d&&-1!==d||h&&-1!==h)&&r({id:d,styleId:h,set:{property:c,value:l,priority:f},index:Wu(t.parentRule)}),e.apply(t,s)})});var u=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(u,{apply:Bu(function(e,t,s){var a,c=s[0];if(i.has(c))return u.apply(t,[c]);var l=Hu(null==(a=t.parentRule)?void 0:a.parentStyleSheet,n,o.styleMirror),f=l.id,p=l.styleId;return(f&&-1!==f||p&&-1!==p)&&r({id:f,styleId:p,remove:{property:c},index:Wu(t.parentRule)}),e.apply(t,s)})}),Bu(function(){s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=u})}(e,{win:n}),e.collectFonts&&(d=function(e){var t=e.fontCb,r=e.doc,n=r.defaultView;if(!n)return function(){};var i=[],o=new WeakMap,s=n.FontFace;n.FontFace=function(e,t,r){var n=new s(e,t,r);return o.set(n,{family:e,buffer:"string"!==typeof t,descriptors:r,fontSource:"string"===typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};var a=Xa(r.fonts,"add",function(e){return function(r){return setTimeout(Bu(function(){var e=o.get(r);e&&(t(e),o.delete(r))}),0),e.apply(this,[r])}});return i.push(function(){n.FontFace=s}),i.push(a),Bu(function(){i.forEach(function(e){return e()})})}(e)));for(var g,m=function(e){var t=e.doc,r=e.mirror,n=e.blockClass,i=e.blockSelector,o=e.selectionCb,s=!0,a=Bu(function(){var e=t.getSelection();if(!(!e||s&&(null==e?void 0:e.isCollapsed))){s=e.isCollapsed||!1;for(var a=[],u=e.rangeCount||0,c=0;c<u;c++){var l=e.getRangeAt(c),f=l.startContainer,p=l.startOffset,d=l.endContainer,h=l.endOffset;fu(f,n,i,!0)||fu(d,n,i,!0)||a.push({start:r.getId(f),startOffset:p,end:r.getId(d),endOffset:h})}o({ranges:a})}});return a(),tu("selectionchange",a)}(e),y=function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?Xa(n.customElements,"define",function(e){return function(t,n,i){try{r({define:{name:t}})}catch(o){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,n,i])}}):function(){}}(e),b=[],_=E(e.plugins);!(g=_()).done;){var w=g.value;b.push(w.observer(w.callback,n,w.options))}return Bu(function(){Lu.forEach(function(e){return e.reset()}),null==r||r.disconnect(),i(),o(),s(),a(),u(),c(),l(),f(),p(),d(),m(),y(),b.forEach(function(e){return e()})})}function Yu(e){return"undefined"!==typeof window[e]}function Ju(e){return Boolean("undefined"!==typeof window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var Qu=function(){function e(e){x(this,"iframeIdToRemoteIdMap",new WeakMap),x(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}var t=e.prototype;return t.getId=function(e,t,r,n){var i=r||this.getIdToRemoteIdMap(e),o=n||this.getRemoteIdToIdMap(e),s=i.get(t);return s||(s=this.generateIdFn(),i.set(t,s),o.set(s,t)),s},t.getIds=function(e,t){var r=this,n=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return t.map(function(t){return r.getId(e,t,n,i)})},t.getRemoteId=function(e,t,r){var n=r||this.getRemoteIdToIdMap(e);if("number"!==typeof t)return t;var i=n.get(t);return i||-1},t.getRemoteIds=function(e,t){var r=this,n=this.getRemoteIdToIdMap(e);
1return t.map(function(t){return r.getRemoteId(e,t,n)})},t.reset=function(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},t.getIdToRemoteIdMap=function(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t},t.getRemoteIdToIdMap=function(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t},e}(),Xu=function(){function e(e){x(this,"iframes",new WeakMap),x(this,"crossOriginIframeMap",new WeakMap),x(this,"crossOriginIframeMirror",new Qu(ce)),x(this,"crossOriginIframeStyleMirror"),x(this,"crossOriginIframeRootIdMap",new WeakMap),x(this,"iframeContentDocumentMap",new WeakMap),x(this,"iframeObserverCleanupMap",new WeakMap),x(this,"mirror"),x(this,"mutationCb"),x(this,"wrappedEmit"),x(this,"loadListener"),x(this,"stylesheetManager"),x(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Qu(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var t=e.prototype;return t.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}
1,t.getIframeContentDocument=function(e){return this.iframeContentDocumentMap.get(e)},t.setObserverCleanup=function(e,t){this.iframeObserverCleanupMap.set(e,t)},t.getObserverCleanup=function(e){return this.iframeObserverCleanupMap.get(e)},t.removeIframe=function(e){var t=this.iframeContentDocumentMap.get(e);t&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(t),this.mirror.removeNodeFromMap(t,!0)),this.iframes.delete(e),this.iframeContentDocumentMap.delete(e);var r=this.iframeObserverCleanupMap.get(e);if(r){try{r()}catch(n){}this.iframeObserverCleanupMap.delete(e)}},t.addLoadListener=function(e){this.loadListener=e},t.attachIframe=function(e,t){var r,n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),e.contentDocument&&this.iframeContentDocumentMap.set(e,e.contentDocument),this.recordCrossOriginIframes&&(null==(r=e.contentWindow)||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},t.handleMessage=function(e){var t=e;if("rrweb"===t.data.type&&t.origin===t.data.origin&&e.source){var r=this.crossOriginIframeMap.get(e.source);if(r){var n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}}},t.transformCrossOriginEvent=function(e,t){var r,n=this;switch(t.type){case Su.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var i=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,i),this.patchRootIdOnNode(t.data.node,i),{timestamp:t.timestamp,type:Su.IncrementalSnapshot,data:{source:Eu.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case Su.Meta:case Su.Load:case Su.DomContentLoaded:return!1;case Su.Plugin:return t;case Su.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Su.IncrementalSnapshot:switch(t.data.source){case Eu.Mutation:return t.data.adds.forEach(function(t){n.replaceIds(t,e,["parentId","nextId","previousId"]),n.replaceIdOnNode(t.node,e);var r=n.crossOriginIframeRootIdMap.get(e);r&&n.patchRootIdOnNode(t.node,r)}),t.data.removes.forEach(function(t){n.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(function(t){n.replaceIds(t,e,["id"])}),t.data.texts.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case Eu.Drag:case Eu.TouchMove:case Eu.MouseMove:return t.data.positions.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case Eu.ViewportResize:return!1;case Eu.MediaInteraction:case Eu.MouseInteraction:case Eu.Scroll:case Eu.CanvasMutation:case Eu.Input:return this.replaceIds(t.data,e,["id"]),t;case Eu.StyleSheetRule:case Eu.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case Eu.Font:return t;case Eu.Selection:return t.data.ranges.forEach(function(t){n.replaceIds(t,e,["start","end"])}),t;case Eu.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(r=t.data.styles)||r.forEach(function(t){n.replaceStyleIds(t,e,["styleId"])}),t}}return!1},t.replace=function(e,t,r,n){for(var i,o=E(n);!(i=o()).done;){var s=i.value;(Array.isArray(t[s])||"number"===typeof t[s])&&(Array.isArray(t[s])?t[s]=e.getIds(r,t[s]):t[s]=e.getId(r,t[s]))}return t},t.replaceIds=function(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)},t.replaceStyleIds=function(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)},t.replaceIdOnNode=function(e,t){var r=this;this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(function(e){r.replaceIdOnNode(e,t)})},t.patchRootIdOnNode=function(e,t){var r=this;e.type===xu.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(function(e){r.patchRootIdOnNode(e,t)})},e}(),ec=function(){function e(e){x(this,"shadowDoms",new WeakSet),x(this,"mutationCb"),x(this,"scrollCb"),x(this,"bypassOptions"),x(this,"mirror"),x(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}var t=e.prototype;return t.init=function(){this.reset(),this.patchAttachShadow(Element,document)},t.addShadowRoot=function(e,t){var r=this;if(z(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var n=qu(h({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return n.disconnect()}),this.restoreHandlers.push(zu(h({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&r.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,r.mirror.getId(eu.host(e))),r.restoreHandlers.push(Ku({mirror:r.mirror,stylesheetManager:r.bypassOptions.stylesheetManager},e))},0)}},t.observeAttachShadow=function(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)},t.patchAttachShadow=function(e,t){var r=this;this.restoreHandlers.push(Xa(e.prototype,"attachShadow",function(e){return function(n){var i=e.call(this,n),o=eu.shadowRoot(this);return o&&wu(this)&&r.addShadowRoot(o,t),i}}))}
1,t.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch(t){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),tc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rc="undefined"===typeof Uint8Array?[]:new Uint8Array(256),nc=0;nc<64;nc++)rc[tc.charCodeAt(nc)]=nc;var ic=new Map;var oc=function(e,t,r){if(e&&(uc(e,t)||"object"===("undefined"===typeof e?"undefined":_(e)))){var n=function(e,t){var r=ic.get(e);return r||(r=new Map,ic.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name),i=n.indexOf(e);return-1===i&&(i=n.length,n.push(e)),i}};function sc(e,t,r){if(v(e,Array))return e.map(function(e){return sc(e,t,r)});if(null===e)return e;if(v(e,Float32Array)||v(e,Float64Array)||v(e,Int32Array)||v(e,Uint32Array)||v(e,Uint8Array)||v(e,Uint16Array)||v(e,Int16Array)||v(e,Int8Array)||v(e,Uint8ClampedArray))return{rr_type:e.constructor.name,args:[Object.values(e)]};if(v(e,ArrayBuffer))return{rr_type:e.constructor.name,base64:function(e){var t,r=new Uint8Array(e),n=r.length,i="";for(t=0;t<n;t+=3)i+=tc[r[t]>>2],i+=tc[(3&r[t])<<4|r[t+1]>>4],i+=tc[(15&r[t+1])<<2|r[t+2]>>6],i+=tc[63&r[t+2]];return n%3===2?i=i.substring(0,i.length-1)+"=":n%3===1&&(i=i.substring(0,i.length-2)+"=="),i}(e)};if(v(e,DataView))return{rr_type:e.constructor.name,args:[sc(e.buffer,t,r),e.byteOffset,e.byteLength]};if(v(e,HTMLImageElement))return{rr_type:e.constructor.name,src:e.src};if(v(e,HTMLCanvasElement)){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}return v(e,ImageData)?{rr_type:e.constructor.name,args:[sc(e.data,t,r),e.width,e.height]}:uc(e,t)||"object"===("undefined"===typeof e?"undefined":_(e))?{rr_type:e.constructor.name,index:oc(e,t,r)}:e}var ac=function(e,t,r){return e.map(function(e){return sc(e,t,r)})},uc=function(e,t){var r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(e){return"function"===typeof t[e]});return Boolean(r.find(function(r){return v(e,t[r])}))};function cc(e,t,r,n){var i=[];try{var o=Xa(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(i){for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];if(!fu(this,t,r,!0)){var u=function(e){return"experimental-webgl"===e?"webgl":e}(i);if("__context"in this||(this.__context=u),n&&["webgl","webgl2"].includes(u))if(s[0]&&"object"===_(s[0])){var c=s[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0)}else s.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[].concat([i],s))}});i.push(o)}catch(s){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){i.forEach(function(e){return e()})}}function lc(e,t,r,n,i,o){for(var s,a=function(){var a=s.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))return"continue";try{if("function"!==typeof e[a])return"continue";var c=Xa(e,a,function(e){return function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var l=e.apply(this,u);if(oc(l,o,this),"tagName"in this.canvas&&!fu(this.canvas,n,i,!0)){var f=ac(u,o,this),p={type:t,property:a,args:f};r(this.canvas,p)}return l}});u.push(c)}catch(f){var l=ou(e,a,{set:function(e){r(this.canvas,{type:t,property:a,args:[e],setter:!0})}});u.push(l)}},u=[],c=E(Object.getOwnPropertyNames(e));!(s=c()).done;)a();return u}var fc,pc="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
1yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",dc="undefined"!==typeof window&&window.Blob&&new Blob([(fc=pc,Uint8Array.from(atob(fc),function(e){return e.charCodeAt(0)}))],{type:"text/javascript;charset=utf-8"});function hc(e){var t;try{if(!(t=dc&&(window.URL||window.webkitURL).createObjectURL(dc)))throw"";var r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(t)}),r}catch(n){return new Worker("data:text/javascript;base64,"+pc,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var gc,mc,vc,yc=function(){function e(e){var t=this;x(this,"pendingCanvasMutations",new Map),x(this,"rafStamps",{latestId:0,invokeId:null}),x(this,"mirror"),x(this,"mutationCb"),x(this,"resetObservers"),x(this,"frozen",!1),x(this,"locked",!1),x(this,"processMutation",function(e,r){!(t.rafStamps.invokeId&&t.rafStamps.latestId!==t.rafStamps.invokeId)&&t.rafStamps.invokeId||(t.rafStamps.invokeId=t.rafStamps.latestId),t.pendingCanvasMutations.has(e)||t.pendingCanvasMutations.set(e,[]),t.pendingCanvasMutations.get(e).push(r)});var r=e.sampling,n=void 0===r?"all":r,i=e.win,o=e.blockClass,s=e.blockSelector,a=e.recordCanvas,u=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,a&&"all"===n&&this.initCanvasMutationObserver(i,o,s),a&&"number"===typeof n&&this.initCanvasFPSObserver(n,i,o,s,{dataURLOptions:u})}var t=e.prototype;return t.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.freeze=function(){this.frozen=!0},t.unfreeze=function(){this.frozen=!1},t.lock=function(){this.locked=!0},t.unlock=function(){this.locked=!1},t.initCanvasFPSObserver=function(e,t,r,n,i){var o=this,s=cc(t,r,n,!0),a=new Map,u=new hc;u.onmessage=function(e){var t=e.data.id;if(a.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,i=r.type,s=r.width,u=r.height;o.mutationCb({id:t,type:ku["2D"],commands:[{property:"clearRect",args:[0,0,s,u]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:i}]},0,0]}]})}};var c,l=1e3/e,p=0,d=function(e){if(p&&e-p<l)c=requestAnimationFrame(d);else{p=e;var s=o;(function(){var e=[];return t.document.querySelectorAll("canvas").forEach(function(t){fu(t,r,n,!0)||e.push(t)}),e}
1)().forEach(f(function(e){var t,r,n,o;return A(this,function(c){switch(c.label){case 0:return r=s.mirror.getId(e),a.get(r)?[2]:0===e.width||0===e.height?[2]:(a.set(r,!0),["webgl","webgl2"].includes(e.__context)&&(n=e.getContext(e.__context),!1===(null==(t=null==n?void 0:n.getContextAttributes())?void 0:t.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)),[4,createImageBitmap(e)]);case 1:return o=c.sent(),u.postMessage({id:r,bitmap:o,width:e.width,height:e.height,dataURLOptions:i.dataURLOptions},[o]),[2]}})})),c=requestAnimationFrame(d)}};c=requestAnimationFrame(d),this.resetObservers=function(){s(),cancelAnimationFrame(c)}},t.initCanvasMutationObserver=function(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n=cc(e,t,r,!1),i=function(e,t,r,n){for(var i,o=function(){var o=i.value;try{if("function"!==typeof t.CanvasRenderingContext2D.prototype[o])return"continue";var a=Xa(t.CanvasRenderingContext2D.prototype,o,function(i){return function(){for(var s=this,a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];return fu(this.canvas,r,n,!0)||setTimeout(function(){var r=ac(u,t,s);e(s.canvas,{type:ku["2D"],property:o,args:r})},0),i.apply(this,u)}});s.push(a)}catch(c){var u=ou(t.CanvasRenderingContext2D.prototype,o,{set:function(t){e(this.canvas,{type:ku["2D"],property:o,args:[t],setter:!0})}});s.push(u)}},s=[],a=E(Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype));!(i=a()).done;)o();return function(){s.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r),o=function(e,t,r,n){var i,o,s=[];return(i=s).push.apply(i,[].concat(lc(t.WebGLRenderingContext.prototype,ku.WebGL,e,r,n,t))),"undefined"!==typeof t.WebGL2RenderingContext&&(o=s).push.apply(o,[].concat(lc(t.WebGL2RenderingContext.prototype,ku.WebGL2,e,r,n,t))),function(){s.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r);this.resetObservers=function(){n(),i(),o()}},t.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.startRAFTimestamping=function(){var e=this,t=function(r){e.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)},t.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(t,r){var n=e.mirror.getId(r);e.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.flushPendingCanvasMutationFor=function(e,t){if(!this.frozen&&!this.locked){var r=this.pendingCanvasMutations.get(e);if(r&&-1!==t){var n=r.map(function(e){return e.type,y(e,["type"])}),i=r[0].type;this.mutationCb({id:t,type:i,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}(),bc=function(){function e(e){x(this,"trackedLinkElements",new WeakSet),x(this,"mutationCb"),x(this,"adoptedStyleSheetCb"),x(this,"styleMirror",new yu),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}var t=e.prototype;return t.attachLinkElement=function(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)},t.trackLinkElement=function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))},t.adoptStyleSheets=function(e,t){var r,n=function(){var e=i.value,t=void 0;r.styleMirror.has(e)?t=r.styleMirror.getId(e):(t=r.styleMirror.add(e),s.push({styleId:t,rules:Array.from(e.rules||CSSRule,function(t,r){return{rule:$(t,e.href),index:r}})})),o.styleIds.push(t)};if(0!==e.length){for(var i,o={id:t,styleIds:[]},s=[],a=E(e);!(i=a()).done;)r=this,n();s.length>0&&(o.styles=s),this.adoptedStyleSheetCb(o)}},t.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},t.cleanupStylesheetsForRemovedNode=function(e){var t=this;try{if(e.nodeType===Node.DOCUMENT_NODE){var r=e;if(r.adoptedStyleSheets)for(var n,i=E(r.adoptedStyleSheets);!(n=i()).done;){var o=n.value;this.styleMirror.remove(o)}}if("STYLE"===e.nodeName){var s=e;s.sheet&&this.styleMirror.remove(s.sheet)}
1if("LINK"===e.nodeName&&"stylesheet"===e.rel){var a=e;a.sheet&&this.styleMirror.remove(a.sheet)}e.childNodes&&e.childNodes.forEach(function(e){t.cleanupStylesheetsForRemovedNode(e)})}catch(u){}},t.trackStylesheetInLinkElement=function(e){},e}(),_c=function(){function e(){x(this,"nodeMap",new WeakMap),x(this,"active",!1)}var t=e.prototype;return t.inOtherBuffer=function(e,t){var r=this.nodeMap.get(e);return r&&Array.from(r).some(function(e){return e!==t})},t.add=function(e,t){var r=this;this.active||(this.active=!0,requestAnimationFrame(function(){r.nodeMap=new WeakMap,r.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))},t.destroy=function(){},e}();function wc(e){try{var t=new URL(e).origin;return"null"!==t?t:null}catch(r){return null}}var Sc=!1;try{if(2!==Array.from([1],function(e){return 2*e})[0]){var Ec=document.createElement("iframe");document.body.appendChild(Ec),Array.from=(null==(k=Ec.contentWindow)?void 0:k.Array.from)||Array.from,document.body.removeChild(Ec)}}catch(dy){console.debug("Unable to override Array.from",dy)}var Ac,Cc,kc=new W;function Oc(e){void 0===e&&(e={});var t,r=e.emit,n=e.checkoutEveryNms,i=e.checkoutEveryNth,o=e.blockClass,s=void 0===o?"rr-block":o,a=e.blockSelector,u=void 0===a?null:a,c=e.ignoreClass,l=void 0===c?"rr-ignore":c,f=e.ignoreSelector,p=void 0===f?null:f,d=e.maskTextClass,g=void 0===d?"rr-mask":d,m=e.maskTextSelector,v=void 0===m?null:m,y=e.inlineStylesheet,b=void 0===y||y,w=e.maskAllInputs,S=e.maskInputOptions,A=e.slimDOMOptions,C=e.maskInputFn,k=e.maskTextFn,O=e.hooks,x=e.packFn,P=e.sampling,I=void 0===P?{}:P,T=e.dataURLOptions,R=void 0===T?{}:T,D=e.mousemoveWait,M=e.recordDOM,F=void 0===M||M,j=e.recordCanvas,N=void 0!==j&&j,B=e.recordCrossOriginIframes,L=void 0!==B&&B,U=e.allowedIframeOrigins,q=e.recordAfter,V=void 0===q?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":q,z=e.userTriggeredOnInput,G=void 0!==z&&z,$=e.collectFonts,H=void 0!==$&&$,K=e.inlineImages,Z=void 0!==K&&K,Y=e.plugins,J=e.keepIframeSrcFn,Q=void 0===J?function(){return!1}:J,X=e.ignoreCSSAttributes,ee=void 0===X?new Set([]):X,te=e.errorHandler;Iu=te,L&&U&&U.length>0&&0===(t=function(e){if(!Array.isArray(e)||0===e.length)throw new Error("[rrweb] allowedIframeOrigins must be a non-empty array of origin strings.");for(var t=new Set,r=0;r<e.length;r++){var n=e[r];if("string"!==typeof n)throw new Error("[rrweb] allowedIframeOrigins["+r+"] must be a string, got "+("undefined"===typeof n?"undefined":_(n))+".");var i=wc(n);i&&t.add(i)}return Object.freeze(t)}(U)).size&&(t=void 0);var re=!L||window.parent===window,ne=!1;if(!re)try{window.parent.document&&(ne=!1)}catch(Ee){ne=!0}if(re&&!r)throw new Error("emit function is required");if(!re&&!ne)return function(){};void 0!==D&&void 0===I.mousemove&&(I.mousemove=D),kc.reset();var ie,oe=!0===w?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:void 0!==S?S:{password:!0},se=!0===A||"all"===A?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===A,headMetaDescKeywords:"all"===A,headTitleMutations:"all"===A}:A||{};!function(e){void 0===e&&(e=window),"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}();var ae=0,ue=function(e){for(var t,r=E(Y||[]);!(t=r()).done;){var n=t.value;n.eventProcessor&&(e=n.eventProcessor(e))}return x&&!ne&&(e=x(e)),e};gc=function(e,o){var s,a=e;if(a.timestamp=su(),!(null==(s=Lu[0])?void 0:s.isFrozen())||a.type===Su.FullSnapshot||a.type===Su.IncrementalSnapshot&&a.data.source===Eu.Mutation||Lu.forEach(function(e){return e.unfreeze()}),re)null==r||r(ue(a),o);else if(ne){var u={type:"rrweb",event:ue(a),origin:window.location.origin,isCheckout:o};if(t)for(var c,l=E(t);!(c=l()).done;){var f=c.value;window.parent.postMessage(u,f)}else window.parent.postMessage(u,"*")}if(a.type===Su.FullSnapshot)ie=a,ae=0;else if(a.type===Su.IncrementalSnapshot){if(a.data.source===Eu.Mutation&&a.data.isAttachIframe)return;ae++;var p=i&&ae>=i,d=n&&a.timestamp-ie.timestamp>n;(p||d)&&mc(!0)}};for(var ce,le=function(e){gc({type:Su.IncrementalSnapshot,data:h({s
1ource:Eu.Mutation},e)})},fe=function(e){return gc({type:Su.IncrementalSnapshot,data:h({source:Eu.Scroll},e)})},pe=function(e){return gc({type:Su.IncrementalSnapshot,data:h({source:Eu.CanvasMutation},e)})},de=new bc({mutationCb:le,adoptedStyleSheetCb:function(e){return gc({type:Su.IncrementalSnapshot,data:h({source:Eu.AdoptedStyleSheet},e)})}}),he=new Xu({mirror:kc,mutationCb:le,stylesheetManager:de,recordCrossOriginIframes:L,wrappedEmit:gc}),ge=E(Y||[]);!(ce=ge()).done;){var me=ce.value;me.getMirror&&me.getMirror({nodeMirror:kc,crossOriginIframeMirror:he.crossOriginIframeMirror,crossOriginIframeStyleMirror:he.crossOriginIframeStyleMirror})}var ve=new _c;vc=new yc({recordCanvas:N,mutationCb:pe,win:window,blockClass:s,blockSelector:u,mirror:kc,sampling:I.canvas,dataURLOptions:R});var ye=new ec({mutationCb:le,scrollCb:fe,bypassOptions:{blockClass:s,blockSelector:u,maskTextClass:g,maskTextSelector:v,inlineStylesheet:b,maskInputOptions:oe,dataURLOptions:R,maskTextFn:k,maskInputFn:C,recordCanvas:N,inlineImages:Z,sampling:I,slimDOMOptions:se,iframeManager:he,stylesheetManager:de,canvasManager:vc,keepIframeSrcFn:Q,processedNodeManager:ve},mirror:kc});mc=function(e){if(void 0===e&&(e=!1),F){gc({type:Su.Meta,data:{href:window.location.href,width:cu(),height:uu()}},e),de.reset(),ye.init(),Lu.forEach(function(e){return e.lock()});var t=function(e,t){var r=t||{},n=r.mirror,i=void 0===n?new W:n,o=r.blockClass,s=void 0===o?"rr-block":o,a=r.blockSelector,u=void 0===a?null:a,c=r.maskTextClass,l=void 0===c?"rr-mask":c,f=r.maskTextSelector,p=void 0===f?null:f,d=r.inlineStylesheet,h=void 0===d||d,g=r.inlineImages,m=void 0!==g&&g,v=r.recordCanvas,y=void 0!==v&&v,b=r.maskAllInputs,_=void 0!==b&&b,w=r.maskTextFn,S=r.maskInputFn,E=r.slimDOM,A=void 0!==E&&E,C=r.dataURLOptions,k=r.preserveWhiteSpace,O=r.onSerialize,x=r.onIframeLoad,P=r.iframeLoadTimeout,I=r.onStylesheetLoad,T=r.stylesheetLoadTimeout,R=r.keepIframeSrcFn;return Se(e,{doc:e,mirror:i,blockClass:s,blockSelector:u,maskTextClass:l,maskTextSelector:p,skipChild:!1,inlineStylesheet:h,maskInputOptions:!0===_?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:!1===_?{password:!0}:_,maskTextFn:w,maskInputFn:S,slimDOMOptions:!0===A||"all"===A?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===A,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===A?{}:A,dataURLOptions:C,inlineImages:m,recordCanvas:y,preserveWhiteSpace:k,onSerialize:O,onIframeLoad:x,iframeLoadTimeout:P,onStylesheetLoad:I,stylesheetLoadTimeout:T,keepIframeSrcFn:void 0===R?function(){return!1}:R,newlyAddedElement:!1})}(document,{mirror:kc,blockClass:s,blockSelector:u,maskTextClass:g,maskTextSelector:v,inlineStylesheet:b,maskAllInputs:oe,maskTextFn:k,maskInputFn:C,slimDOM:se,dataURLOptions:R,recordCanvas:N,inlineImages:Z,onSerialize:function(e){gu(e,kc)&&he.addIframe(e),mu(e,kc)&&de.trackLinkElement(e),vu(e)&&ye.addShadowRoot(eu.shadowRoot(e),document)},onIframeLoad:function(e,t){he.attachIframe(e,t),ye.observeAttachShadow(e)},onStylesheetLoad:function(e,t){de.attachLinkElement(e,t)},keepIframeSrcFn:Q});if(!t)return console.warn("Failed to snapshot the document");gc({type:Su.FullSnapshot,data:{node:t,initialOffset:au(window)}},e),Lu.forEach(function(e){return e.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&de.adoptStyleSheets(document.adoptedStyleSheets,kc.getId(document))}};try{var be=[],_e=function(e){var t;return Bu(Zu)({mutationCb:le,mousemoveCb:function(e,t){return gc({type:Su.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return gc({type:Su.IncrementalSnapshot,data:h({source:Eu.MouseInteraction},e)})},scrollCb:fe,viewportResizeCb:function(e){return gc({type:Su.IncrementalSnapshot,data:h({source:Eu.ViewportResize},e)})},inputCb:function(e){return gc({type:Su.IncrementalSnapshot,data:h({source:Eu.Input},e)})},mediaInteractionCb:function(e){return gc({type:Su.IncrementalSnapshot,data:h({s
1ource:Eu.MediaInteraction},e)})},styleSheetRuleCb:function(e){return gc({type:Su.IncrementalSnapshot,data:h({source:Eu.StyleSheetRule},e)})},styleDeclarationCb:function(e){return gc({type:Su.IncrementalSnapshot,data:h({source:Eu.StyleDeclaration},e)})},canvasMutationCb:pe,fontCb:function(e){return gc({type:Su.IncrementalSnapshot,data:h({source:Eu.Font},e)})},selectionCb:function(e){gc({type:Su.IncrementalSnapshot,data:h({source:Eu.Selection},e)})},customElementCb:function(e){gc({type:Su.IncrementalSnapshot,data:h({source:Eu.CustomElement},e)})},blockClass:s,ignoreClass:l,ignoreSelector:p,maskTextClass:g,maskTextSelector:v,maskInputOptions:oe,inlineStylesheet:b,sampling:I,recordDOM:F,recordCanvas:N,inlineImages:Z,userTriggeredOnInput:G,collectFonts:H,doc:e,maskInputFn:C,maskTextFn:k,keepIframeSrcFn:Q,blockSelector:u,slimDOMOptions:se,dataURLOptions:R,mirror:kc,iframeManager:he,stylesheetManager:de,shadowDomManager:ye,processedNodeManager:ve,canvasManager:vc,ignoreCSSAttributes:ee,plugins:(null==(t=null==Y?void 0:Y.filter(function(e){return e.observer}))?void 0:t.map(function(e){return{observer:e.observer,options:e.options,callback:function(t){return gc({type:Su.Plugin,data:{plugin:e.name,payload:t}})}}}))||[]},O)};he.addLoadListener(function(e){try{var t=e.contentDocument,r=_e(t);be.push(r);var n=he.getObserverCleanup(e);he.setObserverCleanup(e,function(){if(n)try{n()}catch(Ee){}try{r();var e=be.indexOf(r);-1!==e&&be.splice(e,1),function(e){for(var t=Lu.length-1;t>=0;t--)Lu[t].getDoc()===e&&Lu.splice(t,1)}(t)}catch(Ee){}})}catch(i){console.warn(i)}});var we=function(){mc(),be.push(_e(document)),Sc=!0};return"interactive"===document.readyState||"complete"===document.readyState?we():(be.push(tu("DOMContentLoaded",function(){gc({type:Su.DomContentLoaded,data:{}}),"DOMContentLoaded"===V&&we()})),be.push(tu("load",function(){gc({type:Su.Load,data:{}}),"load"===V&&we()},window))),function(){be.forEach(function(e){try{e()}catch(t){String(t).toLowerCase().includes("cross-origin")||console.warn(t)}}),ve.destroy(),Sc=!1,Iu=void 0}}catch(Ae){console.warn(Ae)}}Oc.addCustomEvent=function(e,t){if(!Sc)throw new Error("please add custom event after start recording");gc({type:Su.Custom,data:{tag:e,payload:t}})},Oc.freezePage=function(){Lu.forEach(function(e){return e.freeze()})},Oc.takeFullSnapshot=function(e){if(!Sc)throw new Error("please take full snapshot after start recording");mc(e)},Oc.mirror=kc,(Cc=Ac||(Ac={}))[Cc.NotStarted=0]="NotStarted",Cc[Cc.Running=1]="Running",Cc[Cc.Stopped=2]="Stopped",Oc.addCustomEvent,Oc.freezePage,Oc.takeFullSnapshot;var xc={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Pc={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Ic={};function Tc(e){if(Ic[e])return Ic[e];var t=globalThis[e],r=t.prototype,n=e in xc?xc[e]:void 0,i=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),o=e in Pc?Pc[e]:void 0,s=Boolean(o&&o.every(function(e){var t;return"function"===typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&s&&!globalThis.Zone)return Ic[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return t.prototype;var c=u[e].prototype;return document.body.removeChild(a),c?Ic[e]=c:r}catch(l){return r}}var Rc={};function Dc(e,t,r){var n,i=e+"."+String(r);if(Rc[i])return Rc[i].call(t);var o=Tc(e),s=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return s?(Rc[i]=s,s.call(t)):t[r]}var Mc={};function Fc(e,t,r){var n=e+"."+String(r);if(Mc[n])return Mc[n].bind(t);var i=Tc(e)[r];return"function"!==typeof i?t[r]:(Mc[n]=i,i.bind(t))}var jc={childNodes:function(e){return Dc("Node",e,"childNodes")},parentNode:function(e){return Dc("Node",e,"parentNode")},parentElement:function(e){return Dc("Node",e,"parentElement")},textContent:function(e){return Dc("Node",e,"textContent")},contains:function(e,t){return Fc("Node",e,"contains")(t)},getRootNode:function(e){return Fc("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Dc("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Dc("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Dc("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Dc("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return Tc("MutationObserver").constructor},patch:function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(o){return function(){}}}};function Nc(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return Nc(jc.parentNode(e),t);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return Nc(jc.parentNode(e),t)}
1function Bc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Lc(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return v(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var Uc={exports:{}},qc=String,Vc=function(){return{isColorSupported:!1,reset:qc,bold:qc,dim:qc,italic:qc,underline:qc,inverse:qc,hidden:qc,strikethrough:qc,black:qc,red:qc,green:qc,yellow:qc,blue:qc,magenta:qc,cyan:qc,white:qc,gray:qc,bgBlack:qc,bgRed:qc,bgGreen:qc,bgYellow:qc,bgBlue:qc,bgMagenta:qc,bgCyan:qc,bgWhite:qc}};Uc.exports=Vc(),Uc.exports.createColors=Vc;var zc=Uc.exports,Gc=Lc(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),$c=zc,Wc=Gc,Hc=function(e){function t(r,n,i,o,s,a){var u;return(u=e.call(this,r)||this).name="CssSyntaxError",u.reason=r,s&&(u.file=s),o&&(u.source=o),a&&(u.plugin=a),"undefined"!==typeof n&&"undefined"!==typeof i&&("number"===typeof n?(u.line=n,u.column=i):(u.line=n.line,u.column=n.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,t),u}m(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=$c.isColorSupported),Wc&&e&&(r=Wc(r));var n,i,o=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),u=String(a).length;if(e){var c=$c.createColors(!0),l=c.bold,f=c.gray,p=c.red;n=function(e){return l(p(e))},i=function(e){return f(e)}}else n=i=function(e){return e};return o.slice(s,a).map(function(e,r){var o=s+1+r,a=" "+(" "+o).slice(-u)+" | ";if(o===t.line){var c=i(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(a)+e+"\n "+c+n("^")}return" "+i(a)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(w(Error)),Kc=Hc;Hc.default=Hc;var Zc={};Zc.isClean=Symbol("isClean"),Zc.my=Symbol("my");var Yc={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};var Jc=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if("undefined"!==typeof e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var s=0;s<i;s++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&"undefined"!==typeof(n=e.raws[t]))return n;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return Yc[r];var o=e.root();if(o.rawCache||(o.rawCache={}),"undefined"!==typeof o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,a="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[a]?n=this[a](o,e):o.walk(function(e){if("undefined"!==typeof(n=e.raws[t]))return!1}),"undefined"===typeof n&&(n=Yc[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!==typeof e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&"undefined"!==typeof(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&"undefined"!==typeof r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&"undefined"!==typeof(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&"undefined"!==typeof r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&"undefined"!==typeof(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),Qc=Jc;Jc.default=Jc;var Xc=Qc;function el(e,t){new Xc(t).stringify(e)}var tl=el;el.default=el;var rl=Zc.isClean,nl=Zc.my,il=Kc,ol=Qc,sl=tl;function al(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],o="undefined"===typeof i?"undefined":_(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map(function(e){return al(e,r)}):("object"===o&&null!==i&&(i=al(i)),r[n]=i)}return r}var ul=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[rl]=!1,this[nl]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=E(e[t]);!(r=n()).done;){var i=r.value;"function"===typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=al(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new il(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[rl]){this[rl]=!1;for(var e=this;e=e.parent;)e[rl]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
1else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"===typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new ol).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,s=E(t);!(n=s()).done;){var a=n.value;a===this?o=!0:o?(this.parent.insertAfter(i,a),i=a):this.parent.insertBefore(i,a)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var s=this[o];if(Array.isArray(s))r[o]=s.map(function(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===("undefined"===typeof s?"undefined":_(s))&&s.toJSON)r[o]=s.toJSON(null,t);else if("source"===o){var a=t.get(s.input);null==a&&(a=i,t.set(s.input,i),i++),r[o]={end:s.end,inputId:a,start:s.start}}else r[o]=s}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=sl),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},d(e,[{key:"proxyOf",get:function(){return this}}]),e}(),cl=ul;ul.default=ul;var ll=function(e){function t(t){var r;return t&&"undefined"!==typeof t.value&&"string"!==typeof t.value&&(t=h({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return m(t,e),d(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(cl),fl=ll;ll.default=ll;var pl=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},dl=Gc.SourceMapConsumer,hl=Gc.SourceMapGenerator,gl=Gc.existsSync,ml=Gc.readFileSync,vl=Gc.dirname,yl=Gc.join;var bl=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=vl(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new dl(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&("string"===typeof e.mappings||"string"===typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
1if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=vl(e),gl(e))return this.mapFile=e,ml(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"===typeof t)return t;if("function"!==typeof t){if(v(t,dl))return hl.fromSourceMap(t).toString();if(v(t,hl))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=yl(vl(e),i)),this.loadFile(i)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),_l=bl;bl.default=bl;var wl=Gc.SourceMapConsumer,Sl=Gc.SourceMapGenerator,El=Gc.fileURLToPath,Al=Gc.pathToFileURL,Cl=Gc.isAbsolute,kl=Gc.resolve,Ol=pl,xl=Gc,Pl=Kc,Il=_l,Tl=Symbol("fromOffsetCac
1he"),Rl=Boolean(wl&&Sl),Dl=Boolean(kl&&Cl),Ml=function(){function e(e,t){if(void 0===t&&(t={}),null===e||"undefined"===typeof e||"object"===("undefined"===typeof e?"undefined":_(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Dl||/^\w+:\/\//.test(t.from)||Cl(t.from)?this.file=t.from:this.file=kl(t.from)),Dl&&Rl){var r=new Il(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+Ol(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var i,o,s;if(void 0===n&&(n={}),t&&"object"===("undefined"===typeof t?"undefined":_(t))){var a=t,u=r;if("number"===typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"===typeof u.offset){var l=this.fromOffset(u.offset);o=l.line,s=l.col}else o=u.line,s=u.column}else if(!r){var f=this.fromOffset(t);t=f.line,r=f.col}var p=this.origin(t,r,o,s);return(i=p?new Pl(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new Pl(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:s,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(Al&&(i.input.url=Al(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[Tl])t=this[Tl];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,i=0,o=r.length;i<o;i++)t[i]=n,n+=r[i].length+1;this[Tl]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,u=t.length-2;s<u;)if(e<t[a=s+(u-s>>1)])u=a-1;else{if(!(e>=t[a+1])){s=a;break}s=a+1}return{col:e-t[s]+1,line:s+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:kl(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"===typeof r&&(i=s.originalPositionFor({column:n,line:r})),o=Cl(a.source)?Al(a.source):new URL(a.source,this.map.consumer().sourceRoot||Al(this.map.mapFile));var u={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!El)throw new Error("file: protocol is not available in this PostCSS build");u.file=El(o)}var c=s.sourceContentFor(a.source);return c&&(u.source=c),u},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=h({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},d(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Fl=Ml;Ml.default=Ml,xl&&xl.registerInput&&xl.registerInput(Ml);var jl=Gc.SourceMapConsumer,Nl=Gc.SourceMapGenerator,Bl=Gc.dirname,Ll=Gc.relative,Ul=Gc.resolve,ql=Gc.sep,Vl=Gc.pathToFileURL,zl=Fl,Gl=Boolean(jl&&Nl),$l=Boolean(Bl&&Ul&&Ll&&ql),Wl=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"===typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"===typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=E(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||Bl(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new jl(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),$l&&Gl&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Nl.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Nl({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new Nl({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(a,u,c){if(e.css+=a,u&&"end"!==c&&(s.generated.line=n,s.generated.column=i-1,u.source&&u.source.start?(s.source=e.sourcePath(u),s.original.line=u.source.start.line,s.original.column=u.source.start.column-1,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,e.map.addMapping(s))),(t=a.match(/\n/g))?(n+=t.length,r=a.lastIndexOf("\n"),i=a.length-r):i+=a.length,u&&"start"!==c){var l=u.parent||{raws:{}};("decl"===u.type||"atrule"===u.type&&!u.nodes)&&u===l.last&&!l.raws.semicolon||(u.source&&u.source.end?(s.source=e.sourcePath(u),s.original.line=u.source.end.line,s.original.column=u.source.end.column-1,s.generated.line=n,s.generated.column=i-2,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1,e.map.addMapping(s)))}})},t.isAnnotation=function(){return!!this.isInline()||("undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return("undefined"===typeof e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?Bl(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&(r=Bl(Ul(r,this.mapOpts.annotation)));var n=Ll(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new zl(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(Vl){var r=Vl(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===ql&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),Hl=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return m(t,e),t}(cl),Kl=Hl;Hl.default=Hl;var Zl,Yl,Jl,Ql,Xl=Zc.isClean,ef=Zc.my,tf=fl,rf=Kl;
1function nf(e){return e.map(function(e){return e.nodes&&(e.nodes=nf(e.nodes)),delete e.source,e})}function of(e){if(e[Xl]=!1,e.proxyOf.nodes)for(var t,r=E(e.proxyOf.nodes);!(t=r()).done;){of(t.value)}}var sf=function(e){function t(){return e.apply(this,arguments)||this}m(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=E(t);!(n=i()).done;)for(var o,s=n.value,a=E(this.normalize(s,this.last));!(o=a()).done;){var u=o.value;this.proxyOf.nodes.push(u)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=E(this.nodes);!(r=n()).done;){r.value.cleanRaws(t)}},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"===typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o;return(o=e)[t].apply(o,[].concat(n.map(function(e){return"function"===typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"===typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,s=E(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var u in this.indexes)n<(r=this.indexes[u])&&(this.indexes[u]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var s,a=E(o);!(s=a()).done;){var u=s.value;this.proxyOf.nodes.splice(n,0,u)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"===typeof e)e=nf(Zl(e).nodes);else if("undefined"===typeof e)e=[];else if(Array.isArray(e))for(var i,o=E(e=e.slice(0));!(i=o()).done;){var s=i.value;s.parent&&s.parent.removeChild(s,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var a,u=E(e=e.nodes.slice(0));!(a=u()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if("undefined"===typeof e.value)throw new Error("Value field is missed in node creation");"string"!==typeof e.value&&(e.value=String(e.value)),e=[new tf(e)]}else if(e.selector)e=[new Yl(e)];else if(e.name)e=[new Jl(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new rf(e)]}var l=e.map(function(e){return e[ef]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Xl]&&of(e),"undefined"===typeof e.raws.before&&r&&"undefined"!==typeof r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return l},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=E(t=t.reverse());!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=E(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=E(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}
1,r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(i){throw t.addToError(i)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?v(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?v(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?v(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},d(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(cl);sf.registerParse=function(e){Zl=e},sf.registerRule=function(e){Yl=e},sf.registerAtRule=function(e){Jl=e},sf.registerRoot=function(e){Ql=e};var af=sf;sf.default=sf,sf.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Jl.prototype):"rule"===e.type?Object.setPrototypeOf(e,Yl.prototype):"decl"===e.type?Object.setPrototypeOf(e,tf.prototype):"comment"===e.type?Object.setPrototypeOf(e,rf.prototype):"root"===e.type&&Object.setPrototypeOf(e,Ql.prototype),e[ef]=!0,e.nodes&&e.nodes.forEach(function(e){sf.rebuild(e)})};var uf,cf,lf=function(e){function t(t){var r;return(r=e.call(this,h({type:"document"},t))||this).nodes||(r.nodes=[]),r}return m(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new uf(new cf,this,e).stringify()},t}(af);lf.registerLazyResult=function(e){uf=e},lf.registerProcessor=function(e){cf=e};var ff=lf;lf.default=lf;var pf=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),df=pf;pf.default=pf;var hf=df,gf=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new hf(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},d(e,[{key:"content",get:function(){return this.css}}]),e}(),mf=gf;gf.default=gf;var vf="'".charCodeAt(0),yf='"'.charCodeAt(0),bf="\\".charCodeAt(0),_f="/".charCodeAt(0),wf="\n".charCodeAt(0),Sf=" ".charCodeAt(0),Ef="\f".charCodeAt(0),Af="\t".charCodeAt(0),Cf="\r".charCodeAt(0),kf="[".charCodeAt(0),Of="]".charCodeAt(0),xf="(".charCodeAt(0),Pf=")".charCodeAt(0),If="{".charCodeAt(0),Tf="}".charCodeAt(0),Rf=";".charCodeAt(0),Df="*".charCodeAt(0),Mf=":".charCodeAt(0),Ff="@".charCodeAt(0),jf=/[\t\n\f\r "#'()/;[\\\]{}]/g,Nf=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Bf=/.[\r\n"'(/\\]/,Lf=/[\da-f]/i,Uf=af,qf=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}m(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],r))},t}(Uf),Vf=qf;qf.default=qf,Uf.registerAtRule(qf);
vendor: 9,020 bytes, line 1
1var zf,Gf,$f=af,Wf=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}m(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,s=E(i);!(o=s()).done;){o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new zf(new Gf,this,e).stringify()},t}($f);Wf.registerLazyResult=function(e){zf=e},Wf.registerProcessor=function(e){Gf=e};var Hf=Wf;Wf.default=Wf,$f.registerRoot(Wf);var Kf={comma:function(e){return Kf.split(e,[","],!0)},space:function(e){return Kf.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,f=E(e);!(n=f()).done;){var p=n.value;l?l=!1:"\\"===p?l=!0:u?p===c&&(u=!1):'"'===p||"'"===p?(u=!0,c=p):"("===p?a+=1:")"===p?a>0&&(a-=1):0===a&&t.includes(p)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=p}return(r||""!==o)&&i.push(o.trim()),i}},Zf=Kf;Kf.default=Kf;var Yf=af,Jf=Zf,Qf=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return m(t,e),d(t,[{key:"selectors",get:function(){return Jf.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(Yf),Xf=Qf;Qf.default=Qf,Yf.registerRule(Qf);var ep=fl,tp=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,f,p=e.css.valueOf(),d=t.ignoreErrors,h=p.length,g=0,m=[],v=[];function y(t){throw e.error("Unclosed "+t,g)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&g>=h},nextToken:function(e){if(v.length)return v.pop();if(!(g>=h)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(g)){case wf:case Sf:case Af:case Cf:case Ef:n=g;do{n+=1,r=p.charCodeAt(n)}while(r===Sf||r===wf||r===Af||r===Cf||r===Ef);f=["space",p.slice(g,n)],g=n-1;break;case kf:case Of:case If:case Tf:case Mf:case Rf:case Pf:var b=String.fromCharCode(r);f=[b,b,g];break;case xf:if(c=m.length?m.pop()[1]:"",l=p.charCodeAt(g+1),"url"===c&&l!==vf&&l!==yf&&l!==Sf&&l!==wf&&l!==Af&&l!==Ef&&l!==Cf){n=g;do{if(a=!1,-1===(n=p.indexOf(")",n+1))){if(d||t){n=g;break}y("bracket")}for(u=n;p.charCodeAt(u-1)===bf;)u-=1,a=!a}while(a);f=["brackets",p.slice(g,n+1),g,n],g=n}else n=p.indexOf(")",g+1),o=p.slice(g,n+1),-1===n||Bf.test(o)?f=["(","(",g]:(f=["brackets",o,g,n],g=n);break;case vf:case yf:i=r===vf?"'":'"',n=g;do{if(a=!1,-1===(n=p.indexOf(i,n+1))){if(d||t){n=g+1;break}y("string")}for(u=n;p.charCodeAt(u-1)===bf;)u-=1,a=!a}while(a);f=["string",p.slice(g,n+1),g,n],g=n;break;case Ff:jf.lastIndex=g+1,jf.test(p),n=0===jf.lastIndex?p.length-1:jf.lastIndex-2,f=["at-word",p.slice(g,n+1),g,n],g=n;break;case bf:for(n=g,s=!0;p.charCodeAt(n+1)===bf;)n+=1,s=!s;if(r=p.charCodeAt(n+1),s&&r!==_f&&r!==Sf&&r!==wf&&r!==Af&&r!==Cf&&r!==Ef&&(n+=1,Lf.test(p.charAt(n)))){for(;Lf.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===Sf&&(n+=1)}f=["word",p.slice(g,n+1),g,n],g=n;break;default:r===_f&&p.charCodeAt(g+1)===Df?(0===(n=p.indexOf("*/",g+2)+1)&&(d||t?n=p.length:y("comment")),f=["comment",p.slice(g,n+1),g,n],g=n):(Nf.lastIndex=g+1,Nf.test(p),n=0===Nf.lastIndex?p.length-1:Nf.lastIndex-2,f=["word",p.slice(g,n+1),g,n],m.push(f),g=n)}return g++,f}},position:function(){return g}}},rp=Kl,np=Vf,ip=Hf,op=Xf,sp={empty:!0,space:!0};var ap=af,up=function(){function e(e){this.input=e,this.root=new ip,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new np;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],u=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(r=a[n=a.length-1];r&&"space"===r[0];)r=a[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(i.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(i,"params",a),o&&(e=a[a.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,i,o=0,s=E(e.entries());!(i=s()).done;){var a=i.value,u=a[0];if("("===(r=(t=a[1])[0])&&(o+=1),")"===r&&(o-=1),0===o&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return u}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new rp;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=tp(this.input)},t.decl=function(e,t){var r=new ep;this.init(r,e[0][2]);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var s,a=[];e.length&&("space"===(s=e[0][0])||"comment"===s);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var u=e.length-1;u>=0;u--){if("!important"===(n=e[u])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,u);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var l=e.slice(0),f="",p=u;p>0;p--){var d=l[p][0];if(0===f.trim().indexOf("!")&&"space"!==d)break;f=l.pop()[1]+f}0===f.trim().indexOf("!")&&(r.important=!0,r.raws.important=f,e=l)}if("space"!==n[0]&&"comment"!==n[0])break}var h=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});h&&(r.raws.between+=a.map(function(e){return e[1]}).join(""),a=[]),this.raw(r,"value",a.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new op;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],u=e;u;){if(r=u[0],a.push(u),"("===r||"["===r)i||(i=u),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=u),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));u=this.tokenizer.nextToken()}
1if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(u=a[a.length-1][0])||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,s,a,u=r.length,c="",l=!0,f=0;f<u;f+=1)"space"!==(o=(i=r[f])[0])||f!==u-1||n?"comment"===o?(a=r[f-1]?r[f-1][0]:"empty",s=r[f+1]?r[f+1][0]:"empty",sp[a]||sp[s]||","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new op;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),cp=Fl;function lp(e,t){var r=new cp(e,t),n=new up(r);try{n.parse()}catch(i){throw i}return n.root}var fp=lp;lp.default=lp,ap.registerParse(lp);var pp=Zc.isClean,dp=Zc.my,hp=Wl,gp=tl,mp=af,vp=ff,yp=mf,bp=fp,_p=Hf,wp={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Sp={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Ep={Once:!0,postcssPlugin:!0,prepare:!0};function Ap(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&"function"===typeof e.then}function Cp(e){var t=!1,r=wp[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function kp(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Cp(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Op(e){return e[pp]=!1,e.nodes&&e.nodes.forEach(function(e){return Op(e)}),e}var xp={},Pp=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==("undefined"===typeof r?"undefined":_(r))||null===r||"root"!==r.type&&"document"!==r.type)if(v(r,e)||v(r,yp))i=Op(r.root),r.map&&("undefined"===typeof n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=bp;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(a){this.processed=!0,this.error=a}i&&!i[dp]&&mp.rebuild(i)}else i=Op(r);this.result=new yp(t,i,n),this.helpers=h({},xp,{postcss:xp,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===("undefined"===typeof e?"undefined":_(e))&&e.prepare?h({},e,e.prepare(o.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion);}else e.plugin=r.postcssPlugin,e.setMessage()}catch(dy){console&&console.error&&console.error(dy)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=E(this.plugins);!(t=n()).done;){var i=t.value;if("object"===("undefined"===typeof i?"undefined":_(i)))for(var o in i){if(!Sp[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.ver
1sion+" now).");if(!Ep[o])if("object"===_(i[o]))for(var s in i[o])r(i,"*"===s?o:o+"-"+s.toLowerCase(),i[o][s]);else"function"===typeof i[o]&&r(i,o,i[o])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return f(function(){var t,r,n,i,o,s,a,u,c,l,f,p;return A(this,function(d){switch(d.label){case 0:e.plugin=0,t=0,d.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!Ap(n=e.runOnRoot(r)))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,n];case 3:return d.sent(),[3,5];case 4:throw i=d.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,d.label=7;case 7:if(o[pp])return[3,14];o[pp]=!0,s=[kp(o)],d.label=8;case 8:if(!(s.length>0))return[3,13];if(!Ap(a=e.visitTick(s)))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,a];case 10:return d.sent(),[3,12];case 11:throw u=d.sent(),c=s[s.length-1].node,e.handleError(u,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];l=function(){var t,r,n,i,s;return A(this,function(a){switch(a.label){case 0:t=p.value,r=t[0],n=t[1],e.result.lastPlugin=r,a.label=1;case 1:return a.trys.push([1,6,,7]),"document"!==o.type?[3,3]:(i=o.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(i)]);case 2:return a.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:a.sent(),a.label=5;case 5:return[3,7];case 6:throw s=a.sent(),e.handleError(s);case 7:return[2]}})},f=E(e.listeners.OnceExit),d.label=15;case 15:return(p=f()).done?[3,18]:[5,C(l())];case 16:d.sent(),d.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===("undefined"===typeof e?"undefined":_(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return Ap(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"===typeof e)return e(this.result.root,this.result)}catch(n){throw this.handleError(n)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=gp;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new hp(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=E(this.plugins);!(e=t()).done;){var r=e.value;if(Ap(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[pp];)n[pp]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=E(n.nodes);!(i=o()).done;){var s=i.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=E(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(u){throw this.handleError(u,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Ap(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return s(r.toProxy(),this.helpers)}catch(f){throw this.handleError(f,r)}}if(0!==t.iterator){for(var a,u=t.iterator;a=r.nodes[r.indexes[u]];)if(r.indexes[u]+=1,!a[pp])return a[pp]=!0,void e.push(kp(a));t.iterator=0,delete r.indexes[u]}for(var c=t.events;t.eventIndex<c.length;){var l=c[t.eventIndex];if(t.eventIndex+=1,0===l)return void(r.nodes&&r.nodes.length&&(r[pp]=!0,t.iterator=r.getIterator()));if(this.listeners[l])return void(t.visitors=this.listeners[l])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[pp]=!0;for(var r,n=E(Cp(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each(function(e){e[pp]||t.walkSync(e)});else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()}
1,d(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();Pp.registerPostcss=function(e){xp=e};var Ip=Pp;Pp.default=Pp,_p.registerLazyResult(Pp),vp.registerLazyResult(Pp);var Tp=Wl,Rp=tl,Dp=fp,Mp=mf,Fp=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var i=Rp;this.result=new Mp(this._processor,n,this._opts),this.result.css=t;var o=this;Object.defineProperty(this.result,"root",{get:function(){return o.root}});var s=new Tp(i,n,this._opts,t);if(s.isMap()){var a=s.generate(),u=a[0],c=a[1];u&&(this.result.css=u),c&&(this.result.map=c)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},d(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=Dp;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),jp=Fp;Fp.default=Fp;var Np=jp,Bp=Ip,Lp=ff,Up=Hf,qp=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=E(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===("undefined"===typeof i?"undefined":_(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===("undefined"===typeof i?"undefined":_(i))&&i.postcssPlugin)r.push(i);else if("function"===typeof i)r.push(i);else{if("object"!==("undefined"===typeof i?"undefined":_(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new Bp(this,e,t):new Np(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),Vp=qp;qp.default=qp,Up.registerProcessor(qp),Lp.registerProcessor(qp);var zp=fl,Gp=_l,$p=Kl,Wp=Vf,Hp=Fl,Kp=Hf,Zp=Xf;function Yp(e,t){if(Array.isArray(e))return e.map(function(e){return Yp(e)});var r=e.inputs,n=y(e,["inputs"]);if(r){t=[];for(var i,o=E(r);!(i=o()).done;){var s=h({},i.value,{__proto__:Hp.prototype});s.map&&(s.map=h({},s.map,{__proto__:Gp.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return Yp(e,t)})),n.source){var a=n.source,u=a.inputId,c=y(a,["inputId"]);n.source=c,null!=u&&(n.source.input=t[u])}if("root"===n.type)return new Kp(n);if("decl"===n.type)return new zp(n);if("rule"===n.type)return new Zp(n);if("comment"===n.type)return new $p(n);if("atrule"===n.type)return new Wp(n);throw new Error("Unknown node type: "+e.type)}var Jp=Yp;Yp.default=Yp;var Qp=Kc,Xp=fl,ed=Ip,td=af,rd=Vp,nd=tl,id=Jp,od=ff,sd=df,ad=Kl,ud=Vf,cd=mf,ld=Fl,fd=fp,pd=Zf,dd=Xf,hd=Hf,gd=cl;function md(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new rd(t)}md.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_OMEDA_CONNECTION_KEY:"de0456c273b04c5abad613d49f4c5762",REACT_APP_WEBSOCKET:"wss://websocket.app.plumbs.com",REACT_APP_RECURLY_PUBLIC_KEY:"ewr1-8cSPH7a2wS6QkvBUUy7I7L",REACT_APP_SENTRY:"https://[email protected]/5505912",REACT_APP_SHEERID_PROGRAM_ID:"611127dbdc587428f1124a37",REACT_APP_RECAPTCHA_SITE_KEY:"6LdlrOIqAAAAAOfEZgqZ8kQTSzqenIF1iMZI23gf",REACT_APP_APPCUES_ACCOUNT_ID:"120093",REACT_APP_OMEDA_ENV:"production",REACT_APP_DATADOG_RUM_CLIENT_TOKEN:"pub2e570a940827bcac3040f8cc1f27a370",REACT_APP_STANDARDS_GOOGLE_TAG_MANAGER_ID:"GTM-W7BK94LS",REACT_APP_SENTRY_ORG:"brief-media-7s",REACT_APP_MIXPANEL_TOKEN:"8be441a2b3cc723a205ce3804eba837e",REACT_APP_ENVIRONMENT:"prod",REACT_APP_INT
1ERCOM_APP_ID:"axzkj8e2",REACT_APP_VERSION_NAME:"4dbfd9d41aa3b6bf6dddf9de1ab693f71849c956",REACT_APP_GOOGLE_TAG_MANAGER_ID:"GTM-KZVVP5T",REACT_APP_DATADOG_RUM_APPLICATION_ID:"3aa0ac21-48dc-4e1b-8169-d458c7782c66",REACT_APP_SHEERID_PROGRAM_ID_PRO:"6111846acd04f5716eaec2ce",REACT_APP_SCHEME:"https",REACT_APP_DOMAIN:"app.plumbs.com"}.LANG&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_OMEDA_CONNECTION_KEY:"de0456c273b04c5abad613d49f4c5762",REACT_APP_WEBSOCKET:"wss://websocket.app.plumbs.com",REACT_APP_RECURLY_PUBLIC_KEY:"ewr1-8cSPH7a2wS6QkvBUUy7I7L",REACT_APP_SENTRY:"https://[email protected]/5505912",REACT_APP_SHEERID_PROGRAM_ID:"611127dbdc587428f1124a37",REACT_APP_RECAPTCHA_SITE_KEY:"6LdlrOIqAAAAAOfEZgqZ8kQTSzqenIF1iMZI23gf",REACT_APP_APPCUES_ACCOUNT_ID:"120093",REACT_APP_OMEDA_ENV:"production",REACT_APP_DATADOG_RUM_CLIENT_TOKEN:"pub2e570a940827bcac3040f8cc1f27a370",REACT_APP_STANDARDS_GOOGLE_TAG_MANAGER_ID:"GTM-W7BK94LS",REACT_APP_SENTRY_ORG:"brief-media-7s",REACT_APP_MIXPANEL_TOKEN:"8be441a2b3cc723a205ce3804eba837e",REACT_APP_ENVIRONMENT:"prod",REACT_APP_INTERCOM_APP_ID:"axzkj8e2",REACT_APP_VERSION_NAME:"4dbfd9d41aa3b6bf6dddf9de1ab693f71849c956",REACT_APP_GOOGLE_TAG_MANAGER_ID:"GTM-KZVVP5T",REACT_APP_DATADOG_RUM_APPLICATION_ID:"3aa0ac21-48dc-4e1b-8169-d458c7782c66",REACT_APP_SHEERID_PROGRAM_ID_PRO:"6111846acd04f5716eaec2ce",REACT_APP_SCHEME:"https",REACT_APP_DOMAIN:"app.plumbs.com"}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new rd).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return md([i(r)]).process(e,t)},i},md.stringify=nd,md.parse=fd,md.fromJSON=id,md.list=pd,md.comment=function(e){return new ad(e)},md.atRule=function(e){return new ud(e)},md.decl=function(e){return new Xp(e)},md.rule=function(e){return new dd(e)},md.root=function(e){return new hd(e)},md.document=function(e){return new od(e)},md.CssSyntaxError=Qp,md.Declaration=Xp,md.Container=td,md.Processor=rd,md.Document=od,md.Comment=ad,md.Warning=sd,md.AtRule=ud,md.Result=cd,md.Input=ld,md.Rule=dd,md.Root=hd,md.Node=gd,ed.registerPostcss(md);var vd=md;md.default=md;var yd=Bc(vd);yd.stringify,yd.fromJSON,yd.plugin,yd.parse,yd.list,yd.document,yd.comment,yd.atRule,yd.rule,yd.decl,yd.root,yd.CssSyntaxError,yd.Declaration,yd.Container,yd.Processor,yd.Document,yd.Comment,yd.Warning,yd.AtRule,yd.Result,yd.Input,yd.Rule,yd.Root,yd.Node;var bd=Object.defineProperty,_d=function(e,t,r){return function(e,t,r){return t in e?bd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==("undefined"===typeof t?"undefined":_(t))?t+"":t,r)};var wd=function(){function e(e){_d(this,"fileName"),_d(this,"functionName"),_d(this,"lineNumber"),_d(this,"columnNumber"),this.fileName=e.fileName||"",this.functionName=e.functionName||"",this.lineNumber=e.lineNumber,this.columnNumber=e.columnNumber}return e.prototype.toString=function(){var e=this.lineNumber||"",t=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+e+":"+t+")":this.fileName+":"+e+":"+t},e}(),Sd=/(^|@)\S+:\d+/,Ed=/^\s*at .*(\S+:\d+|\(native\))/m,Ad=/^(eval@)?(\[native code])?$/,Cd={parse:function(e){return e?"undefined"!==typeof e.stacktrace||"undefined"!==typeof e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(Ed)?this.parseV8OrIE(e):e.stack?this.parseFFOrSafari(e):(console.warn("[console-record-plugin]: Failed to parse error object:",e),[]):[]},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));if(!t)throw new Error("Cannot parse given url: "+e);return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter(function(e){return!!e.match(Ed)},this).map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=t.match(/ (\((.+):(\d+):(\d+)\)$)/),n=(t=r?t.replace(r[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:n.pop()),o=n.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new wd({functionName:o,fileName:s,lineNumber:i[1],columnNumber:i[2]})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(e){return!e.match(Ad)},this).map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new wd({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(t),n=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(t,""));return new wd({functionName:n,fileName:i[0],lineNumber:i[1],columnNumber:i[2]})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),n=[],i=2,o=r.length;i<o;i+=2){var s=t.exec(r[i]);s&&n.push(new wd({fileName:s[2],lineNumber:parseFloat(s[1])}))}return n},parseOpera10:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),n=[],i=0,o=r.length;i<o;i+=2){var s=t.exec(r[i]);s&&n.push(new wd({functionName:s[3]||void 0,fileName:s[2],lineNumber:parseFloat(s[1])}))}return n},parseOpera11:function(e){return e.stack.split("\n").filter(function(e){return!!e.match(Sd)&&!e.match(/^Error created at/)},this).map(function(e){var t=e.split("@"),r=this.extractLocation(t.pop()),n=(t.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new wd({functionName:n,fileName:r[0],lineNumber:r[1],columnNumber:r[2]})},this)}};function kd(e){if(!e||!e.outerHTML)return"";for(var t="";e.parentElement;){var r=e.localName;if(!r)break;r=r.toLowerCase();var n=e.parentElement,i=[];if(n.children&&n.children.length>0)for(var o=0;o<n.children.length;o++){var s=n.children[o];s.localName&&s.localName.toLowerCase&&s.localName.toLowerCase()===r&&i.push(s)}i.length>1&&(r+=":eq("+i.indexOf(e)+")"),t=r+(t?">"+t:""),e=n}return t}function Od(e){return"[object Object]"===Object.prototype.toString.call(e)}function xd(e,t){if(0===t)return!0;for(var r,n=E(Object.keys(e));!(r=n()).done;){var i=r.value;if(Od(e[i])&&xd(e[i],t-1))return!0}return!1}
1function Pd(e,t){var r={numOfKeysLimit:50,depthOfLimit:4};Object.assign(r,t);var n=[],i=[];return JSON.stringify(e,function(e,t){if(n.length>0){var o=n.indexOf(this);~o?n.splice(o+1):n.push(this),~o?i.splice(o,1/0,e):i.push(e),~n.indexOf(t)&&(t=n[0]===t?"[Circular ~]":"[Circular ~."+i.slice(0,n.indexOf(t)).join(".")+"]")}else n.push(t);if(null===t)return t;if(void 0===t)return"undefined";if(function(e){if(Od(e)&&Object.keys(e).length>r.numOfKeysLimit)return!0;if("function"===typeof e)return!0;if(Od(e)&&xd(e,r.depthOfLimit))return!0;return!1}(t))return function(e){var t=e.toString();r.stringLengthLimit&&t.length>r.stringLengthLimit&&(t=t.slice(0,r.stringLengthLimit)+"...");return t}(t);if("bigint"===("undefined"===typeof t?"undefined":_(t)))return t.toString()+"n";if(v(t,Event)){var s={};for(var a in t){var u=t[a];Array.isArray(u)?s[a]=kd(u.length?u[0]:null):s[a]=u}return s}return v(t,Node)?v(t,HTMLElement)?t?t.outerHTML:"":t.nodeName:v(t,Error)?t.stack?t.stack+"\nEnd of stack for Error object":t.name+": "+t.message:t})}var Id={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function Td(e,t,r){var n,i=r?Object.assign({},Id,r):Id,o=i.logger;if(!o)return function(){};n="string"===typeof o?t[o]:o;var s=0,a=!1,u=[];if(i.level.includes("error")){var c=function(t){var r=t.message,n=t.error,o=Cd.parse(n).map(function(e){return e.toString()}),s=[Pd(r,i.stringifyOptions)];e({level:"error",trace:o,payload:s})};t.addEventListener("error",c),u.push(function(){t.removeEventListener("error",c)});var l=function(t){var r,n;v(t.reason,Error)?n=[Pd("Uncaught (in promise) "+(r=t.reason).name+": "+r.message,i.stringifyOptions)]:(r=new Error,n=[Pd("Uncaught (in promise)",i.stringifyOptions),Pd(t.reason,i.stringifyOptions)]);var o=Cd.parse(r).map(function(e){return e.toString()});e({level:"error",trace:o,payload:n})};t.addEventListener("unhandledrejection",l),u.push(function(){t.removeEventListener("unhandledrejection",l)})}for(var f,p=E(i.level);!(f=p()).done;){var d=f.value;u.push(h(n,d))}return function(){u.forEach(function(e){return e()})};function h(t,r){var n=this;return t[r]?function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(o){return function(){}}}(t,r,function(t){var o=n;return function(){for(var n=arguments.length,u=new Array(n),c=0;c<n;c++)u[c]=arguments[c];if(t.apply(o,u),("assert"!==r||!u[0])&&!a){a=!0;try{var l=Cd.parse(new Error).map(function(e){return e.toString()}).splice(1),f=("assert"===r?u.slice(1):u).map(function(e){return Pd(e,i.stringifyOptions)});++s<i.lengthThreshold?e({level:r,trace:l,payload:f}):s===i.lengthThreshold&&e({level:"warn",trace:[],payload:[Pd("The number of log records reached the threshold.")]})}catch(p){t.apply(void 0,[].concat(["rrweb logger error:",p],u))}finally{a=!1}
1}}}):function(){}}}var Rd,Dd,Md,Fd=n.setImmediate,jd=Object.prototype.toString,Nd="undefined"!==typeof Fd?function(e){return Fd(e)}:setTimeout;try{Object.defineProperty({},"x",{}),Rd=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(dy){Rd=function(e,t,r){return e[t]=r,e}}function Bd(e,t){Md.add(e,t),Dd||(Dd=Nd(Md.drain))}function Ld(e){var t,r=typeof e;return null===e||"object"!==r&&"function"!==r||(t=e.then),"function"===typeof t&&t}function Ud(){for(var e=0;e<this.chain.length;e++)qd(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function qd(e,t,r){var n,i;try{!1===t?r.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(i=Ld(n))?i.call(n,r.resolve,r.reject):r.resolve(n)}catch(dy){r.reject(dy)}}function Vd(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=Ld(e))?Bd(function(){var n=new $d(r);try{t.call(e,function(){Vd.apply(n,arguments)},function(){zd.apply(n,arguments)})}catch(dy){zd.call(n,dy)}}):(r.msg=e,r.state=1,r.chain.length>0&&Bd(Ud,r))}catch(dy){zd.call(new $d(r),dy)}}}function zd(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&Bd(Ud,t))}function Gd(e,t,r,n){for(var i=0;i<t.length;i++)(function(i){e.resolve(t[i]).then(function(e){r(i,e)},n)})(i)}function $d(e){this.def=e,this.triggered=!1}function Wd(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function Hd(e){if("function"!==typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new Wd(this);this.then=function(e,r){var n={success:"function"!==typeof e||e,failure:"function"===typeof r&&r};return n.promise=new this.constructor(function(e,t){if("function"!==typeof e||"function"!==typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),t.chain.push(n),0!==t.state&&Bd(Ud,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){Vd.call(t,e)},function(e){zd.call(t,e)})}catch(dy){zd.call(t,dy)}}Md=function(){var e,t,r;function n(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(i,o){r=new n(i,o),t?t.next=r:e=r,t=r,r=void 0},drain:function(){var r=e;for(e=t=Dd=void 0;r;)r.fn.call(r.self),r=r.next}}}();var Kd,Zd=Rd({},"constructor",Hd,!1);Hd.prototype=Zd,Rd(Zd,"__NPO__",0,!1),Rd(Hd,"resolve",function(e){return e&&"object"===typeof e&&1===e.__NPO__?e:new this(function(t,r){if("function"!==typeof t||"function"!==typeof r)throw TypeError("Not a function");t(e)})}),Rd(Hd,"reject",function(e){return new this(function(t,r){if("function"!==typeof t||"function"!==typeof r)throw TypeError("Not a function");r(e)})}),Rd(Hd,"all",function(e){var t=this;return"[object Array]"!==jd.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(r,n){if("function"!==typeof r||"function"!==typeof n)throw TypeError("Not a function");var i=e.length,o=Array(i),s=0;Gd(t,e,function(e,t){o[e]=t,++s===i&&r(o)},n)})}),Rd(Hd,"race",function(e){var t=this;return"[object Array]"!==jd.call(e)?t.reject(TypeError("Not an array")):new t(function(r,n){if("function"!==typeof r||"function"!==typeof n)throw TypeError("Not a function");Gd(t,e,function(e,t){r(t)},n)})}),Kd="undefined"!==typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:Hd;var Yd=864e5,Jd=8e3,Qd=Array.prototype,Xd=Function.prototype,eh=Object.prototype,th=Qd.slice,rh=eh.toString,nh=eh.hasOwnProperty,ih=n.console,oh=n.navigator,sh=n.document,ah=n.opera,uh=n.screen,ch=oh.userAgent,lh=Xd.bind,fh=Qd.forEach,ph=Qd.indexOf,dh=Qd.map,hh=Array.isArray,gh={},mh={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},vh={log:function(){if(o.DEBUG&&!mh.isUndefined(ih)&&ih)try{ih.log.apply(ih,arguments)}catch(dy){mh.each(arguments,function(e){ih.log(e)})}},warn:function(){if(o.DEBUG&&!mh.isUndefined(ih)&&ih){var e=["Mixpanel warning:"].concat(mh.toArray(arguments));try{ih.warn.apply(ih,e)}catch(dy){mh.each(e,function(e){ih.warn(e)})}}},error:function(){if(o.DEBUG&&!mh.isUndefined(ih)&&ih){var e=["Mixpanel error:"].concat(mh.toArray(arguments));try{ih.error.apply(ih,e)}catch(dy){mh.each(e,function(e){ih.error(e)})}}},critical:function(){if(!mh.isUndefined(ih)&&ih){var e=["Mixpanel error:"].concat(mh.toArray(arguments));try{ih.error.apply(ih,e)}catch(dy){mh.each(e,function(e){ih.error(e)})}}}},yh=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(vh,arguments)}},bh=function(e){return{log:yh(vh.log,e),error:yh(vh.error,e),critical:yh(vh.critical,e)}},_h=function(e){return function(){try{return e.apply(this,arguments)}catch(t){vh.critical("Implementation error. Please turn on debug and contact [email protected]."),o.DEBUG&&vh.critical(t)}}},wh=function(e){var t=e.prototype;for(var r in t)"function"===typeof t[r]&&(t[r]=_h(t[r]))};mh.bind=function(e,t){var r,n;
1if(lh&&e.bind===lh)return lh.apply(e,th.call(arguments,1));if(!mh.isFunction(e))throw new TypeError;return r=th.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(th.call(arguments)));var i={};i.prototype=e.prototype;var o=new i;i.prototype=null;var s=e.apply(o,r.concat(th.call(arguments)));return Object(s)===s?s:o},n},mh.each=function(e,t,r){if(null!==e&&void 0!==e)if(fh&&e.forEach===fh)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,i=e.length;n<i;n++)if(n in e&&t.call(r,e[n],n,e)===gh)return}else for(var o in e)if(nh.call(e,o)&&t.call(r,e[o],o,e)===gh)return},mh.extend=function(e){return mh.each(th.call(arguments,1),function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])}),e},mh.isArray=hh||function(e){return"[object Array]"===rh.call(e)},mh.isFunction=function(e){return"function"===typeof e},mh.isArguments=function(e){return!(!e||!nh.call(e,"callee"))},mh.toArray=function(e){return e?e.toArray?e.toArray():mh.isArray(e)||mh.isArguments(e)?th.call(e):mh.values(e):[]},mh.map=function(e,t,r){if(dh&&e.map===dh)return e.map(t,r);var n=[];return mh.each(e,function(e){n.push(t.call(r,e))}),n},mh.keys=function(e){var t=[];return null===e||mh.each(e,function(e,r){t[t.length]=r}),t},mh.values=function(e){var t=[];return null===e||mh.each(e,function(e){t[t.length]=e}),t},mh.include=function(e,t){var r=!1;return null===e?r:ph&&e.indexOf===ph?-1!=e.indexOf(t):(mh.each(e,function(e){if(r||(r=e===t))return gh}),r)},mh.includes=function(e,t){return-1!==e.indexOf(t)},mh.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},mh.isObject=function(e){return e===Object(e)&&!mh.isArray(e)},mh.isEmptyObject=function(e){if(mh.isObject(e)){for(var t in e)if(nh.call(e,t))return!1;return!0}return!1},mh.isUndefined=function(e){return void 0===e},mh.isString=function(e){return"[object String]"==rh.call(e)},mh.isDate=function(e){return"[object Date]"==rh.call(e)},mh.isNumber=function(e){return"[object Number]"==rh.call(e)},mh.isElement=function(e){return!(!e||1!==e.nodeType)},mh.encodeDates=function(e){return mh.each(e,function(t,r){mh.isDate(t)?e[r]=mh.formatDate(t):mh.isObject(t)&&(e[r]=mh.encodeDates(t))}),e},mh.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},mh.formatDate=function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())},mh.strip_empty_properties=function(e){var t={};return mh.each(e,function(e,r){mh.isString(e)&&e.length>0&&(t[r]=e)}),t},mh.truncate=function(e,t){var r;return"string"===typeof e?r=e.slice(0,t):mh.isArray(e)?(r=[],mh.each(e,function(e){r.push(mh.truncate(e,t))})):mh.isObject(e)?(r={},mh.each(e,function(e,n){r[n]=mh.truncate(e,t)})):r=e,r},mh.JSONEncode=function(e){var t=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,function(e){var t=r[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'},r=function(e,n){var i="",o=0,s="",a="",u=0,c=i,l=[],f=n[e];switch(f&&"object"===typeof f&&"function"===typeof f.toJSON&&(f=f.toJSON(e)),typeof f){case"string":return t(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(i+="    ",l=[],"[object Array]"===rh.apply(f)){for(u=f.length,o=0;o<u;o+=1)l[o]=r(o,f)||"null";return a=0===l.length?"[]":i?"[\n"+i+l.join(",\n"+i)+"\n"+c+"]":"["+l.join(",")+"]",i=c,a}for(s in f)nh.call(f,s)&&(a=r(s,f))&&l.push(t(s)+(i?": ":":")+a);return a=0===l.length?"{}":i?"{"+l.join(",")+c+"}":"{"+l.join(",")+"}",i=c,a}};return r("",{"":e})},mh.JSONDecode=function(){var e,t,r,n,i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o=function(t){var n=new SyntaxError(t);throw n.at=e,n.text=r,n},s=function(n){return n&&n!==t&&o("Expected '"+n+"' instead of '"+t+"'"),t=r.charAt(e),e+=1,t},a=function(){var e,r="";for("-"===t&&(r="-",s("-"));t>="0"&&t<="9";)r+=t,s();if("."===t)for(r+=".";s()&&t>="0"&&t<="9";)r+=t;if("e"===t||"E"===t)for(r+=t,s(),"-"!==t&&"+"!==t||(r+=t,s());t>="0"&&t<="9";)r+=t,s();if(e=+r,isFinite(e))return e;o("Bad number")},u=function(){var e,r,n,a="";if('"'===t)for(;s();){if('"'===t)return s(),a;
1if("\\"===t)if(s(),"u"===t){for(n=0,r=0;r<4&&(e=parseInt(s(),16),isFinite(e));r+=1)n=16*n+e;a+=String.fromCharCode(n)}else{if("string"!==typeof i[t])break;a+=i[t]}else a+=t}o("Bad string")},c=function(){for(;t&&t<=" ";)s()};return n=function(){switch(c(),t){case"{":return function(){var e,r={};if("{"===t){if(s("{"),c(),"}"===t)return s("}"),r;for(;t;){if(e=u(),c(),s(":"),Object.hasOwnProperty.call(r,e)&&o('Duplicate key "'+e+'"'),r[e]=n(),c(),"}"===t)return s("}"),r;s(","),c()}}o("Bad object")}();case"[":return function(){var e=[];if("["===t){if(s("["),c(),"]"===t)return s("]"),e;for(;t;){if(e.push(n()),c(),"]"===t)return s("]"),e;s(","),c()}}o("Bad array")}();case'"':return u();case"-":return a();default:return t>="0"&&t<="9"?a():function(){switch(t){case"t":return s("t"),s("r"),s("u"),s("e"),!0;case"f":return s("f"),s("a"),s("l"),s("s"),s("e"),!1;case"n":return s("n"),s("u"),s("l"),s("l"),null}o('Unexpected "'+t+'"')}()}},function(i){var s;return r=i,e=0,t=" ",s=n(),c(),t&&o("Syntax error"),s}}(),mh.base64Encode=function(e){var t,r,n,i,o,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a=0,u=0,c="",l=[];if(!e)return e;e=mh.utf8Encode(e);do{t=(o=e.charCodeAt(a++)<<16|e.charCodeAt(a++)<<8|e.charCodeAt(a++))>>18&63,r=o>>12&63,n=o>>6&63,i=63&o,l[u++]=s.charAt(t)+s.charAt(r)+s.charAt(n)+s.charAt(i)}while(a<e.length);switch(c=l.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c},mh.utf8Encode=function(e){var t,r,n,i,o="";for(t=r=0,n=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,i=0;i<n;i++){var s=e.charCodeAt(i),a=null;s<128?r++:a=s>127&&s<2048?String.fromCharCode(s>>6|192,63&s|128):String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128),null!==a&&(r>t&&(o+=e.substring(t,r)),o+=a,t=r=i+1)}return r>t&&(o+=e.substring(t,e.length)),o},mh.UUID=function(){try{return n.crypto.randomUUID()}catch(dy){for(var e=new Array(36),t=0;t<36;t++)e[t]=Math.floor(16*Math.random());return e[14]=4,e[19]=e[19]&=-5,e[19]=e[19]|=8,e[8]=e[13]=e[18]=e[23]="-",mh.map(e,function(e){return e.toString(16)}).join("")}};var Sh=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];mh.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<Sh.length;t++)if(-1!==e.indexOf(Sh[t]))return!0;return!1},mh.HTTPBuildQuery=function(e,t){var r,n,i=[];return mh.isUndefined(t)&&(t="&"),mh.each(e,function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),i[i.length]=n+"="+r}),i.join(t)},mh.getQueryParam=function(e,t){t=t.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var r=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);if(null===r||r&&"string"!==typeof r[1]&&r[1].length)return"";var n=r[1];try{n=decodeURIComponent(n)}catch(dy){vh.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")},mh.cookie={get:function(e){for(var t=e+"=",r=sh.cookie.split(";"),n=0;n<r.length;n++){for(var i=r[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length,i.length))}return null},parse:function(e){var t;try{t=mh.JSONDecode(mh.cookie.get(e))||{}}catch(dy){}return t},set_seconds:function(e,t,r,n,i,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(n){var l=Nh(sh.location.hostname);a=l?"; domain=."+l:""}if(r){var f=new Date;f.setTime(f.getTime()+1e3*r),u="; expires="+f.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure"),sh.cookie=e+"="+encodeURIComponent(t)+u+"; path=/"+a+c},set:function(e,t,r,n,i,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(n){var l=Nh(sh.location.hostname);a=l?"; domain=."+l:""}if(r){var f=new Date;f.setTime(f.getTime()+24*r*60*60*1e3),u="; expires="+f.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure");var p=e+"="+encodeURIComponent(t)+u+"; path=/"+a+c;
1return sh.cookie=p,p},remove:function(e,t,r){mh.cookie.set(e,"",-1,t,!1,!1,r)}};var Eh=function(e){var t=!0;try{var r="__mplss_"+Dh(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(t=!1),e.removeItem(r)}catch(dy){t=!1}return t},Ah=null,Ch=function(e,t){return null===Ah||t?Ah=Eh(e||n.localStorage):Ah},kh=null;function Oh(e,t,r){var n=function(e){vh.error(t+" error: "+e)};return{is_supported:function(n){var i=r(e,n);return i||vh.error(t+" unsupported"),i},error:n,get:function(t){try{return e.getItem(t)}catch(dy){n(dy)}return null},parse:function(t){try{return mh.JSONDecode(e.getItem(t))||{}}catch(dy){}return null},set:function(t,r){try{e.setItem(t,r)}catch(dy){n(dy)}},remove:function(t){try{e.removeItem(t)}catch(dy){n(dy)}}}}var xh=null,Ph=null;try{xh=n.localStorage,Ph=n.sessionStorage}catch(hy){}mh.localStorage=Oh(xh,"localStorage",Ch),mh.sessionStorage=Oh(Ph,"sessionStorage",function(e,t){return null===kh||t?kh=Eh(e||n.sessionStorage):kh}),mh.register_event=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,r,i,o,s){if(t)if(t.addEventListener&&!o)t.addEventListener(r,i,!!s);else{var a="on"+r,u=t[a];t[a]=function(t,r,i){var o=function(o){if(o=o||e(n.event)){var s,a,u=!0;return mh.isFunction(i)&&(s=i(o)),a=r.call(t,o),!1!==s&&!1!==a||(u=!1),u}};return o}(t,i,u)}else vh.error("No valid element provided to register_event")}}();var Ih=/^(\w*)\[(\w+)([=~\|\^\$\*]?)=?"?([^\]"]*)"?\]$/;mh.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function r(e,r){var n=" "+r+" ";return(" "+e.className+" ").replace(t," ").indexOf(n)>=0}function n(t){if(!sh.getElementsByTagName)return[];var n,i,o,s,a,u,c,l,f,p,d=t.split(" "),h=[sh];for(u=0;u<d.length;u++)if((n=d[u].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){o=(i=n.split("#"))[0];var g=i[1],m=sh.getElementById(g);if(!m||o&&m.nodeName.toLowerCase()!=o)return[];h=[m]}else if(n.indexOf(".")>-1){o=(i=n.split("."))[0];var v=i[1];for(o||(o="*"),s=[],a=0,c=0;c<h.length;c++)for(f="*"==o?e(h[c]):h[c].getElementsByTagName(o),l=0;l<f.length;l++)s[a++]=f[l];for(h=[],p=0,c=0;c<s.length;c++)s[c].className&&mh.isString(s[c].className)&&r(s[c],v)&&(h[p++]=s[c])}else{var y=n.match(Ih);if(y){o=y[1];var b,_=y[2],w=y[3],S=y[4];for(o||(o="*"),s=[],a=0,c=0;c<h.length;c++)for(f="*"==o?e(h[c]):h[c].getElementsByTagName(o),l=0;l<f.length;l++)s[a++]=f[l];switch(h=[],p=0,w){case"=":b=function(e){return e.getAttribute(_)==S};break;case"~":b=function(e){return e.getAttribute(_).match(new RegExp("\\b"+S+"\\b"))};break;case"|":b=function(e){return e.getAttribute(_).match(new RegExp("^"+S+"-?"))};break;case"^":b=function(e){return 0===e.getAttribute(_).indexOf(S)};break;case"$":b=function(e){return e.getAttribute(_).lastIndexOf(S)==e.getAttribute(_).length-S.length};break;case"*":b=function(e){return e.getAttribute(_).indexOf(S)>-1};break;default:b=function(e){return e.getAttribute(_)}}for(h=[],p=0,c=0;c<s.length;c++)b(s[c])&&(h[p++]=s[c])}else{for(o=n,s=[],a=0,c=0;c<h.length;c++)for(f=h[c].getElementsByTagName(o),l=0;l<f.length;l++)s[a++]=f[l];h=s}}return h}return function(e){return mh.isElement(e)?[e]:mh.isObject(e)&&!mh.isUndefined(e.length)?e:n.call(this,e)}}();var Th=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],Rh=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];mh.info={campaignParams:function(e){var t="",r={};return mh.each(Th,function(n){(t=mh.getQueryParam(sh.URL,n)).length?r[n]=t:void 0!==e&&(r[n]=e)}),r},clickParams:function(){var e="",t={};return mh.each(Rh,function(r){(e=mh.getQueryParam(sh.URL,r)).length&&(t[r]=e)}),t},marketingParams:function(){return mh.extend(mh.info.campaignParams(),mh.info.clickParams())},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null}
1,searchInfo:function(e){var t=mh.info.searchEngine(e),r="yahoo"!=t?"q":"p",n={};if(null!==t){n.$search_engine=t;var i=mh.getQueryParam(e,r);i.length&&(n.mp_keyword=i)}return n},browser:function(e,t,r){return t=t||"",r||mh.includes(e," OPR/")?mh.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":mh.includes(e,"IEMobile")||mh.includes(e,"WPDesktop")?"Internet Explorer Mobile":mh.includes(e,"SamsungBrowser/")?"Samsung Internet":mh.includes(e,"Edge")||mh.includes(e,"Edg/")?"Microsoft Edge":mh.includes(e,"FBIOS")?"Facebook Mobile":mh.includes(e,"Whale/")?"Whale Browser":mh.includes(e,"Chrome")?"Chrome":mh.includes(e,"CriOS")?"Chrome iOS":mh.includes(e,"UCWEB")||mh.includes(e,"UCBrowser")?"UC Browser":mh.includes(e,"FxiOS")?"Firefox iOS":mh.includes(t,"Apple")?mh.includes(e,"Mobile")?"Mobile Safari":"Safari":mh.includes(e,"Android")?"Android Mobile":mh.includes(e,"Konqueror")?"Konqueror":mh.includes(e,"Firefox")?"Firefox":mh.includes(e,"MSIE")||mh.includes(e,"Trident/")?"Internet Explorer":mh.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,r){var n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/}[mh.info.browser(e,t,r)];if(void 0===n)return null;var i=e.match(n);return i?parseFloat(i[i.length-2]):null},os:function(){var e=ch;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var t=e.split("/");return t.length>=3?t[2]:""},currentUrl:function(){return n.location.href},properties:function(e){return"object"!==typeof e&&(e={}),mh.extend(mh.strip_empty_properties({$os:mh.info.os(),$browser:mh.info.browser(ch,oh.vendor,ah),$referrer:sh.referrer,$referring_domain:mh.info.referringDomain(sh.referrer),$device:mh.info.device(ch)}),{$current_url:mh.info.currentUrl(),$browser_version:mh.info.browserVersion(ch,oh.vendor,ah),$screen_height:uh.height,$screen_width:uh.width,mp_lib:"web",$lib_version:o.LIB_VERSION,$insert_id:Dh(),time:mh.timestamp()/1e3},mh.strip_empty_properties(e))},people_properties:function(){return mh.extend(mh.strip_empty_properties({$os:mh.info.os(),$browser:mh.info.browser(ch,oh.vendor,ah)}),{$browser_version:mh.info.browserVersion(ch,oh.vendor,ah)})},mpPageViewProperties:function(){return mh.strip_empty_properties({current_page_title:sh.title,current_domain:n.location.hostname,current_url_path:n.location.pathname,current_url_protocol:n.location.protocol,current_url_search:n.location.search})}};var Dh=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},Mh=function(){return"00-"+mh.UUID().replace(/-/g,"")+"-"+mh.UUID().replace(/-/g,"").substring(0,16)+"-01"},Fh=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,jh=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Nh=function(e){var t=jh,r=e.split("."),n=r[r.length-1];(n.length>4||"com"===n||"org"===n)&&(t=Fh);var i=e.match(t);return i?i[0]:""},Bh=function(){},Lh=function(e,t){for(var r=!1,n=0;n<t.length;n++)if(e.match(t[n])){r=!0;break}return r},Uh=null,qh=null;"undefined"!==typeof JSON&&(Uh=JSON.stringify,qh=JSON.parse),Uh=Uh||mh.JSONEncode,qh=qh||mh.JSONDecode;mh.info=mh.info,mh.info.browser=mh.info.browser,mh.info.browserVersion=mh.info.browserVersion,mh.info.device=mh.info.device,mh.info.properties=mh.info.properties,mh.isBlockedUA=mh.isBlockedUA,mh.isEmptyObject=mh.isEmptyObject,mh.isObject=mh.isObject,mh.JSONDecode=mh.JSONDecode,mh.JSONEncode=mh.JSONEncode,mh.toArray=mh.toArray,mh.NPO=Hd;var Vh="mixpanelRecordingEvents",zh="mixpanelRecordingRegistry",Gh=[Vh,zh],$h=function(e){this.dbPromise=null,this.storeName=e};$h.prototype._openDb=function(){return new Kd(function(e,t){var r=n.indexedDB.open("mixpanelBrowserDb",1);r.onerror=function(){t(r.error)},r.onsuccess=function(){e(r.result)},r.onupgradeneeded=function(e){var t=e.target.result;Gh.forEach(function(e){t.createObjectStore(e)})}})},$h.prototype.init=function(){return n.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof n.IDBDatabase?Kd.resolve():Kd.reject(e)})):Kd.reject("indexedDB is not supported in this browser")},$h.prototype.isInitialized=function(){return!!this.dbPromise},$h.prototype.makeTransaction=function(e,t){var r=this.storeName,n=function(n){return new Kd(function(i,o){var s=n.transaction(r,e);s.oncomplete=function(){i(s)},s.onabort=s.onerror=function(){o(s.error)},t(s.objectStore(r))})};return this.dbPromise.then(n).catch(function(e){return e&&"InvalidStateError"===e.name?(this.dbPromise=this._openDb(),this.dbPromise.then(n)):Kd.reject(e)}.bind(this))},$h.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",function(r){r.put(t,e)})},$h.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",function(r){t=r.get(e)}).then(function(){return t.result})},$h.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(t){t.delete(e)})},$h.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(t){e=t.getAll()}).then(function(){return e.result})};function Wh(e,t){ng(!0,e,t)}function Hh(e,t){ng(!1,e,t)}function Kh(e,t){return"1"===rg(e,t)}function Zh(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||n,r=t.navigator||{},i=!1;return mh.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],function(e){mh.includes([!0,1,"1","yes"],e)&&(i=!0)}),i}(t))return vh.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var r="0"===rg(e,t);return r&&vh.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function Yh(e){return ig(e,function(e){return this.get_config(e)})}function Jh(e){return ig(e,function(e){return this._get_config(e)})}function Qh(e){return ig(e,function(e){return this._get_config(e)})}function Xh(e,t){eg(t=t||{}
1).remove(tg(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function eg(e){return"localStorage"===(e=e||{}).persistenceType?mh.localStorage:mh.cookie}function tg(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function rg(e,t){return eg(t).get(tg(e,t))}function ng(e,t,r){mh.isString(t)&&t.length?(eg(r=r||{}).set(tg(t,r),e?1:0,mh.isNumber(r.cookieExpiration)?r.cookieExpiration:null,!!r.crossSubdomainCookie,!!r.secureCookie,!!r.crossSiteCookie,r.cookieDomain),r.track&&e&&r.track(r.trackEventName||"$opt_in",r.trackProperties,{send_immediately:!0})):vh.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}function ig(e,t){return function(){var r=!1;try{var n=t.call(this,"token"),i=t.call(this,"ignore_dnt"),o=t.call(this,"opt_out_tracking_persistence_type"),s=t.call(this,"opt_out_tracking_cookie_prefix"),a=t.call(this,"window");n&&(r=Zh(n,{ignoreDnt:i,persistenceType:o,persistencePrefix:s,window:a}))}catch(dy){vh.error("Unexpected error when checking tracking opt-out status: "+dy)}if(!r)return e.apply(this,arguments);var u=arguments[arguments.length-1];"function"===typeof u&&u(0)}}var og=bh("lock"),sg=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||n.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||Kd};sg.prototype.withLock=function(e,t){return new(0,this.promiseImpl)(mh.bind(function(r,n){var i=t||(new Date).getTime()+"|"+Math.random(),o=(new Date).getTime(),s=this.storageKey,a=this.pollIntervalMS,u=this.timeoutMS,c=this.storage,l=s+":X",f=s+":Y",p=s+":Z",d=function(e){if((new Date).getTime()-o>u)return og.error("Timeout waiting for mutex on "+s+"; clearing lock. ["+i+"]"),c.removeItem(p),c.removeItem(f),void m();setTimeout(function(){try{e()}catch(dy){n(dy)}},a*(Math.random()+.1))},h=function(e,t){e()?t():d(function(){h(e,t)})},g=function(){var e=c.getItem(f);return(!e||e===i)&&(c.setItem(f,i),c.getItem(f)===i||(Ch(c,!0)||n(new Error("localStorage support dropped while acquiring lock")),!1))},m=function(){c.setItem(l,i),h(g,function(){c.getItem(l)!==i?d(function(){c.getItem(f)===i?h(function(){return!c.getItem(p)},v):m()}):v()})},v=function(){c.setItem(p,"1");var t=function(){c.removeItem(p),c.getItem(f)===i&&c.removeItem(f),c.getItem(l)===i&&c.removeItem(l)};e().then(function(e){t(),r(e)}).catch(function(e){t(),n(e)})};try{if(!Ch(c,!0))throw new Error("localStorage support check failed");m()}catch(dy){n(dy)}},this))};var ag=function(e){this.storage=e||n.localStorage};ag.prototype.init=function(){return Kd.resolve()},ag.prototype.isInitialized=function(){return!0},ag.prototype.setItem=function(e,t){return new Kd(mh.bind(function(r,n){try{this.storage.setItem(e,Uh(t))}catch(i){n(i)}r()},this))},ag.prototype.getItem=function(e){return new Kd(mh.bind(function(t,r){var n;try{n=qh(this.storage.getItem(e))}catch(i){r(i)}t(n)},this))},ag.prototype.removeItem=function(e){return new Kd(mh.bind(function(t,r){try{this.storage.removeItem(e)}catch(n){r(n)}t()},this))};var ug=bh("batch"),cg=function(e,t){t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new ag,this.lock=new sg(e,{storage:t.sharedLockStorage||n.localStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||mh.bind(ug.error,ug),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=function(e,t){var r=null,n=[];return function(i){var o=this;return n.push(i),r||(r=new Kd(function(i){setTimeout(function(){var t=e.apply(o,[n]);r=null,n=[],i(t)},t)})),r}}(mh.bind(this._enqueuePersisted,this),t.enqueueThrottleMs):this.enqueuePersisted=mh.bind(function(e){return this._enqueuePersisted([e])},this)};cg.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?Kd.resolve():this.queueStorage.init().then(mh.bind(function(){this.initialized=!0},this)).catch(mh.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))},cg.prototype.enqueue=function(e,t){var r={id:Dh(),flushAfter:(new Date).getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(r):(this.memQueue.push(r),Kd.resolve(!0))},cg.prototype._enqueuePersisted=function(e){var t=mh.bind(function(){return this.ensureInit().then(mh.bind(function(){return this.readFromStorage()},this)).then(mh.bind(function(t){return this.saveToStorage(t.concat(e))},this)).then(mh.bind(function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t},this)).catch(mh.bind(function(t){return this.reportError("Error enqueueing items",t,e),!1},this))},this);return this.lock.withLock(t,this.pid).catch(mh.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this))},cg.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(mh.bind(function(){return this.readFromStorage()},this)).then(mh.bind(function(r){if(r.length){var n={};mh.each(t,function(e){n[e.id]=!0});for(var i=0;i<r.length;i++){var o=r[i];if((new Date).getTime()>o.flushAfter&&!n[o.id]&&(o.orphaned=!0,t.push(o),t.length>=e))break}}return t},this)):Kd.resolve(t)};var lg=function(e,t){var r=[];return mh.each(e,function(e){e.id&&!t[e.id]&&r.push(e)}),r};cg.prototype.removeItemsByID=function(e){var t={};if(mh.each(e,function(e){t[e]=!0}),this.memQueue=lg(this.memQueue,t),this.usePersistence){var r=mh.bind(function(){return this.ensureInit().then(mh.bind(function(){return this.readFromStorage()},this)).then(mh.bind(function(e){return e=lg(e,t),this.saveToStorage(e)},this)).then(mh.bind(function(){return this.readFromStorage()},this)).then(mh.bind(function(e){for(var r=0;r<e.length;r++){var n=e[r];if(n.id&&t[n.id])throw new Error("Item not removed from storage")}return!0},this)).catch(mh.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(r,this.pid).catch(mh.bind(function(e){return this.reportError("Error acquiring storage lock",e),!Ch(this.lock.storage,!0)&&r().then(mh.bind(function(e){return e||this.queueStorage.removeItem(this.storageKey).then(function(){return e})},this)).catch(mh.bind(function(e){return this.reportError("Error clearing queue",e),!1},this))},this))}return Kd.resolve(!0)};var fg=function(e,t){var r=[];return mh.each(e,function(e){var n=e.id;if(n in t){var i=t[n];null!==i&&(e.payload=i,r.push(e))}else r.push(e)}),r};cg.prototype.updatePayloads=function(e){return this.memQueue=fg(this.memQueue,e),this.usePersistence?this.lock.withLock(mh.bind(function(){return this.ensureInit().then(mh.bind(function(){return this.readFromStorage()},this)).then(mh.bind(function(t){return t=fg(t,e),this.saveToStorage(t)}
1,this)).catch(mh.bind(function(t){return this.reportError("Error updating items",e,t),!1},this))},this),this.pid).catch(mh.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this)):Kd.resolve(!0)},cg.prototype.readFromStorage=function(){return this.ensureInit().then(mh.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(mh.bind(function(e){return e&&(mh.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]},this)).catch(mh.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))},cg.prototype.saveToStorage=function(e){return this.ensureInit().then(mh.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(mh.bind(function(e){return this.reportError("Error saving queue",e),!1},this))},cg.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(mh.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):Kd.resolve()};var pg=bh("batch"),dg=function(e,t){this.errorReporter=t.errorReporter,this.queue=new cg(e,{errorReporter:mh.bind(this.reportError,this),queueStorage:t.queueStorage,sharedLockStorage:t.sharedLockStorage,sharedLockTimeoutMS:t.sharedLockTimeoutMS,usePersistence:t.usePersistence,enqueueThrottleMs:t.enqueueThrottleMs}),this.libConfig=t.libConfig,this.sendRequest=t.sendRequestFunc,this.beforeSendHook=t.beforeSendHook,this.stopAllBatching=t.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=t.flushOnlyOnInterval||!1,this._flushPromise=null};dg.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},dg.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},dg.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},dg.prototype.clear=function(){return this.queue.clear()},dg.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},dg.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},dg.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(mh.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},dg.prototype.sendRequestPromise=function(e,t){return new Kd(mh.bind(function(r){this.sendRequest(e,t,r)},this))},dg.prototype.flush=function(e){if(this.requestInProgress)return pg.log("Flush: Request already in progress"),Kd.resolve();this.requestInProgress=!0,e=e||{};var t=this.libConfig.batch_request_timeout_ms,r=(new Date).getTime(),i=this.batchSize;return this.queue.fillBatch(i).then(mh.bind(function(s){var a=s.length===i,u=[],c={};if(mh.each(s,function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=mh.extend({},t.properties,{mp_sent_by_lib_version:o.LIB_VERSION}));var r=!0,n=e.id;n?(this.itemIdsSentSuccessfully[n]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:e,batchSize:s.length,timesSent:this.itemIdsSentSuccessfully[n]}),r=!1):this.reportError("[dupe] found item with no ID",{item:e}),r&&u.push(t)}c[e.id]=t},this),u.length<1)return this.requestInProgress=!1,this.resetFlush(),Kd.resolve();var l=mh.bind(function(){return this.queue.removeItemsByID(mh.map(s,function(e){return e.id})).then(mh.bind(function(e){return mh.each(s,mh.bind(function(e){var t=e.id;t?(this.itemIdsSentSuccessfully[t]=this.itemIdsSentSuccessfully[t]||0,this.itemIdsSentSuccessfully[t]++,this.itemIdsSentSuccessfully[t]>5&&this.reportError("[dupe] item ID sent too many times",{item:e,batchSize:s.length,timesSent:this.itemIdsSentSuccessfully[t]})):this.reportError("[dupe] found item with no ID while removing",{item:e})},this)),e?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!a?(this.resetFlush(),Kd.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),Kd.resolve())},this))},this),f=mh.bind(function(o){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(c);if(mh.isObject(o)&&"timeout"===o.error&&(new Date).getTime()-r>=t)return this.reportError("Network timeout; retrying"),this.flush();if(mh.isObject(o)&&(o.httpStatusCode>=500||429===o.httpStatusCode||o.httpStatusCode<=0&&!function(){var e=n.navigator.onLine;return mh.isUndefined(e)||e}()||"timeout"===o.error)){var a=2*this.flushInterval;return o.retryAfter&&(a=1e3*parseInt(o.retryAfter,10)||a),a=Math.min(6e5,a),this.reportError("Error; retry in "+a+" ms"),this.scheduleFlush(a),Kd.resolve()}if(mh.isObject(o)&&413===o.httpStatusCode){if(s.length>1){var u=Math.max(1,Math.floor(i/2));return this.batchSize=Math.min(this.batchSize,u,s.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),Kd.resolve()}return this.reportError("Single-event request too large; dropping",s),this.resetBatchSize(),l()}return l()}catch(dy){this.reportError("Error handling API response",dy),this.resetFlush()}},this),p={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(p.transport="sendBeacon"),pg.log("MIXPANEL REQUEST:",u),this.sendRequestPromise(u,p).then(f)},this)).catch(mh.bind(function(e){this.reportError("Error flushing request queue",e),this.resetFlush()},this))},dg.prototype.reportError=function(e,t){if(pg.error.apply(pg.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){pg.error(t)}};var hg=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},gg=function(e,t){if(!mh.isArray(e))return e&&t.critical("record_allowed_iframe_origins must be an array of origin strings, cross-origin recording will be disabled."),[];for(var r=[],n=0;n<e.length;n++)try{var i=new URL(e[n]).origin;if("null"===i){t.critical(e[n]+" has an opaque origin. Skipping this entry.");continue}r.push(i)}catch(o){t.critical(e[n]+" is not a valid origin URL. Skipping this entry.")}return r},mg="change",vg="click",yg="hashchange",bg="load",_g="mp_locationchange",wg="popstate",Sg="scrollend",Eg="scroll",Ag="submit",Cg="visibilitychange",kg=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],Og=["mp-include"],xg=["mp-no-track"],Pg=xg.concat(["mp-sensitive"]),Ig=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],Tg={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},Rg={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},Dg={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},Mg=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],Fg=bh("autocapture");function jg(e){for(var t={},r=Ng(e).split(" "),n=0;n<r.length;n++){var i=r[n];i&&(t[i]=!0)}return t}function Ng(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function Bg(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&!Gg(e));return e}function Lg(e,t,r,n,i,o){var s={$classes:Ng(e).split(" "),$tag_name:e.tagName.toLowerCase()},a=e.id;a&&(s.$id=a),Kg(e,t,i,o)&&mh.each(Ig.concat(n),function(t){if(e.hasAttribute(t)&&!r[t]){var n=e.getAttribute(t);Zg(n)&&(s["$attr-"+t]=n)}});for(var u=1,c=1,l=e;l=Bg(l);)u++,l.tagName===e.tagName&&c++;return s.$nth_child=u,s.$nth_of_type=c,s}function Ug(e,t){var r=t.allowElementCallback,i=t.allowSelectors||[],o=t.blockAttrs||[],s=t.blockElementCallback,a=t.blockSelectors||[],u=t.captureTextContent||!1,c=t.captureExtraAttrs||[],l=t.captured
1ForHeatMap||!1,f={};mh.each(o,function(e){f[e]=!0});var p=null,d="undefined"===typeof e.target?e.srcElement:e.target;if(Wg(d)&&(d=d.parentNode),function(e,t){if(!e||$g(e,"html")||!Gg(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===Ag;case"input":return-1===["button","submit"].indexOf(e.getAttribute("type"))?t.type===mg:t.type===vg;case"select":case"textarea":return t.type===mg;default:return t.type===vg}}(d,e)&&Vg(d,e,r,i)&&!zg(d,e,s,a)){for(var h=[d],g=d;g.parentNode&&!$g(g,"body");)h.push(g.parentNode),g=g.parentNode;var m,v=[],y=!1;if(mh.each(h,function(t){var n=Kg(t,e,r,i);f.href||"a"!==t.tagName.toLowerCase()||(m=t.getAttribute("href"),m=n&&Zg(m)&&m),zg(t,e,s,a)&&(y=!0),v.push(Lg(t,e,f,c,r,i))},this),!y){var b=sh.documentElement;if(p={$event_type:e.type,$host:n.location.host,$pathname:n.location.pathname,$elements:v,$el_attr__href:m,$viewportHeight:Math.max(b.clientHeight,n.innerHeight||0),$viewportWidth:Math.max(b.clientWidth,n.innerWidth||0),$pageHeight:sh.body.offsetHeight||0,$pageWidth:sh.body.offsetWidth||0},mh.each(c,function(e){if(!f[e]&&d.hasAttribute(e)){var t=d.getAttribute(e);Zg(t)&&(p["$el_attr__"+e]=t)}}),u&&(_=qg(d,e,r,i))&&_.length&&(p.$el_text=_),e.type===vg&&(mh.each(kg,function(t){t in e&&(p["$"+t]=e[t])}),l&&(p.$captured_for_heatmap=!0),d=function(e){for(var t=e.target,r=e.composedPath(),n=0;n<r.length;n++){var i=r[n];if($g(i,"a")||$g(i,"button")||$g(i,"input")||$g(i,"select")||i.getAttribute&&"button"===i.getAttribute("role")){t=i;break}if(i===t)break}return t}(e)),u){var _=qg(d,e,r,i);_&&_.length&&(p.$el_text=_)}if(d){if(!Vg(d,e,r,i)||zg(d,e,s,a))return null;var w=Lg(d,e,f,c,r,i);p.$target=w,p.$el_classes=w.$classes,mh.extend(p,mh.strip_empty_properties({$el_id:w.$id,$el_tag_name:w.$tag_name}))}}}return p}function qg(e,t,r,n){var i="";return Kg(e,t,r,n)&&e.childNodes&&e.childNodes.length&&mh.each(e.childNodes,function(e){Wg(e)&&e.textContent&&(i+=mh.trim(e.textContent).split(/(\s+)/).filter(Zg).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),mh.trim(i)}function Vg(e,t,r,n){if(r)try{if(!r(e,t))return!1}catch(dy){return Fg.critical("Error while checking element in allowElementCallback",dy),!1}if(!n.length)return!0;for(var i=0;i<n.length;i++){var o=n[i];try{if(e.matches(o))return!0}catch(dy){Fg.critical("Error while checking selector: "+o,dy)}}return!1}function zg(e,t,r,n){var i;if(r)try{if(r(e,t))return!0}catch(dy){return Fg.critical("Error while checking element in blockElementCallback",dy),!0}if(n&&n.length)for(i=0;i<n.length;i++){var o=n[i];try{if(e.matches(o))return!0}catch(dy){Fg.critical("Error while checking selector: "+o,dy)}}var s=jg(e);for(i=0;i<xg.length;i++)if(s[xg[i]])return!0;return!1}function Gg(e){return e&&1===e.nodeType}function $g(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function Wg(e){return e&&3===e.nodeType}function Hg(e){var t=(e.name||e.id||"").toString().toLowerCase();if("string"===typeof t){if(/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(t.replace(/[^a-zA-Z0-9]/g,"")))return!0}return!1}function Kg(e,t,r,n){var i;if(!Vg(e,t,r,n))return!1;for(var o=e;o.parentNode&&!$g(o,"body");o=o.parentNode){var s=jg(o);for(i=0;i<Pg.length;i++)if(s[Pg[i]])return!1}var a=jg(e);for(i=0;i<Og.length;i++)if(a[Og[i]])return!0;if($g(e,"input")||$g(e,"select")||$g(e,"textarea")||"true"===e.getAttribute("contenteditable"))return!1;var u=e.type||"";if("string"===typeof u)switch(u.toLowerCase()){case"hidden":case"password":return!1}return!Hg(e)}function Zg(e){if(null===e||mh.isUndefined(e))return!1;if("string"===typeof e){e=mh.trim(e);if(/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(e))return!1}return!0}function Yg(e){var t="onscrollend"in n,r=_h(e),i=Sg;if(!t){var o=null;r=_h(function(){clearTimeout(o),o=setTimeout(e,100)}),i=Eg}return{listener:r,eventType:i}}function Jg(e){var t=e.tagName.toLowerCase();return"button"===t||"input"===t||"select"===t||"textarea"===t||"details"===t||"dialog"===t||(!!e.isContentEditable||(!!(e.oncl
1ick||e.onmousedown||e.onmouseup||e.ontouchstart||e.ontouchend)||(!!function(e){for(var t=0;t<Mg.length;t++)if(e.hasAttribute(Mg[t]))return!0;return!1}(e)||(!!function(e){var t=e.getAttribute("role");if(!t)return!1;var r=t.trim().split(/\s+/)[0].toLowerCase();return Tg[r]}(e)||(!("a"!==t||!e.hasAttribute("href"))||!!e.hasAttribute("tabindex"))))))}function Qg(e){if(!e||!e.tagName)return!0;var t=e.tagName.toLowerCase();if(Rg[t])return!0;if(Jg(e))return!1;for(var r=e.parentElement,n=0;r&&n<5;){if(Jg(r))return!1;if(r.getRootNode&&r.getRootNode()!==sh){var i=r.getRootNode();if(i.host&&Jg(i.host))return!1}r=r.parentElement,n++}return!!Dg[t]}function Xg(e){return"composedPath"in e?e.composedPath():[]}function em(e){var t=Xg(e);return t&&t.length>0?t[0]:e.target||e.srcElement}var tm=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",rm=["password","email","tel","hidden"];function nm(e){return e?Array.isArray(e)?e:[e]:[]}function im(e,t){return!!t&&!!e.closest(t)}function om(e,t){var r=(e.getAttribute("type")||"").toLowerCase();if(-1!==rm.indexOf(r))return!0;var n=(e.getAttribute("autocomplete")||"").toLowerCase();return!(!n||""===n||"off"===n)||(!!e.hasAttribute("data-rr-is-password")||(!!Hg(e)||(t.input.maskAll?!im(e,t.input.unmaskingSelector):!!im(e,t.input.maskingSelector)||!!im(e,tm))))}function sm(e,t){return!!e&&(!(!t.text._legacyClassRegex||!Nc(e,t.text._legacyClassRegex))||(t.text.maskAll?!im(e,t.text.unmaskingSelector):!!im(e,t.text.maskingSelector)||!!im(e,tm)))}var am=bh("network-plugin");function um(e){return Math.round(Date.now()-e.performance.now())}var cm={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],ignoreRequestFn:function(){return!1},recordHeaders:{request:[],response:[]},recordBodyUrls:{request:[],response:[]},recordInitialRequests:!1};function lm(e){return"resource"===e.entryType}function fm(e,t,r){if(!(t in e)||"function"!==typeof e[t])return function(){};var n=e[t],i=r(n);return e[t]=i,function(){e[t]=n}}var pm=1048576;function dm(e){return e&&"string"===typeof e&&e.length>pm?(am.error("Body truncated from "+e.length+" to "+pm+" characters"),e.substring(0,pm)+"... [truncated]"):e}function hm(e,t,r){return!(!t[e]||0===t[e].length)&&t[e].includes(r.toLowerCase())}function gm(e,t,r){return!(!t[e]||0===t[e].length)&&Lh(r,t[e])}function mm(e){if(null===e||void 0===e)return null;var t;if("string"===typeof e)t=e;else if(e instanceof Document)t=e.textContent;else if(e instanceof FormData)t=mh.HTTPBuildQuery(e);else{if(!mh.isObject(e))return"Cannot read body of type "+typeof e;try{t=JSON.stringify(e)}catch(r){return"Failed to stringify response object"}}return dm(t)}function vm(e){return new Promise(function(t){var r=setTimeout(function(){t("Timeout while trying to read body")},500);try{e.clone().text().then(function(e){clearTimeout(r),t(dm(e))},function(e){clearTimeout(r),t("Failed to read body: "+String(e))})}catch(n){clearTimeout(r),t("Failed to read body: "+String(n))}})}function ym(e,t,r,n,i,o){if(void 0===o&&(o=0),o>10)return am.error("Cannot find performance entry"),Promise.resolve(null);var s=function(e,t){for(var r=e.length-1;r>=0;r-=1)if(t(e[r]))return e[r]}(e.performance.getEntriesByName(r),function(e){return lm(e)&&e.initiatorType===t&&(!n||e.startTime>=n)&&(!i||e.startTime<=i)});return s?Promise.resolve(s):new Promise(function(e){setTimeout(e,50*o)}).then(function(){return ym(e,t,r,n,i,o+1)})}function bm(e,t,r){if(!("performance"in t))return function(){};var n=Object.assign({},cm.recordHeaders,r.recordHeaders||{}),i=Object.assign({},cm.recordBodyUrls,r.recordBodyUrls||{});r=Object.assign({},r,{recordHeaders:n,recordBodyUrls:i});var o=Object.assign({},cm,r),s=function(t){var r=t.requests.filter(function(e){return!Lh(e.url,o.ignoreRequestUrls||[])&&!o.ignoreRequestFn(e)});(r.length>0||t.isInitial)&&e(Object.assign({},t,{requests:r}))},a=function(e,t,r){if(!t.PerformanceObserver)return am.error("PerformanceObserver not supported"),function(){};if(r.recordInitialRequests){var n=t.performance.getEntries().filter(function(e){return function(e){return"navigation"===e.entryType}(e)||lm(e)&&r.initiatorTypes.includes(e.initiatorType)});e({requests:n.map(function(e){return{url:e.name,initiatorType:e.initiatorType,status:"responseStatus"in e?e.responseStatus:void 0,startTime:Math.round(e.startTime),endTime:Math.round(e.responseEnd),timeOrigin:um(t)}}),isInitial:!0})}var i=new t.PerformanceObserver(function(n){var i=n.getEntries().filter(function(e){return lm(e)&&r.initiatorTypes.includes(e.initiatorType)&&"xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType});e({requests:i.map(function(e){return{url:e.name,initiatorType:e.initiatorType,status:"responseStatus"in e?e.responseStatus:void 0,startTime:Math.round(e.startTime),endTime:Math.round(e.responseEnd),timeOrigin:um(t)}})})});return i.observe({entryTypes:["navigation","resource"]}),function(){i.disconnect()}}(s,t,o),u=function(e,t,r){if(!r.initiatorTypes.includes("xmlhttprequest"))return function(){};var n=fm(t.XMLHttpRequest.prototype,"open",function(n){return function(i,o,s,a,u){void 0===s&&(s=!0);
1var c,l,f=this,p=new Request(o,{method:i}),d={},h={},g=f.setRequestHeader.bind(f);f.setRequestHeader=function(e,t){return hm("request",r.recordHeaders,e)&&(h[e]=t),g(e,t)},d.requestHeaders=h;var m=f.send.bind(f);f.send=function(e){return gm("request",r.recordBodyUrls,p.url)&&(d.requestBody=mm(e)),c=t.performance.now(),m(e)},f.addEventListener("readystatechange",function(){if(f.readyState===f.DONE){l=t.performance.now();var n={},i=f.getAllResponseHeaders();i&&i.trim().split(/[\r\n]+/).forEach(function(e){if(e){var t=e.indexOf(": ");if(-1!==t){var i=e.substring(0,t),o=e.substring(t+2);i&&hm("response",r.recordHeaders,i)&&(n[i]=o)}}}),d.responseHeaders=n,gm("response",r.recordBodyUrls,p.url)&&(d.responseBody=mm(f.response)),ym(t,"xmlhttprequest",p.url,c,l).then(function(r){if(r){var n={url:r.name,method:p.method,initiatorType:r.initiatorType,status:f.status,startTime:Math.round(r.startTime),endTime:Math.round(r.responseEnd),timeOrigin:um(t),requestHeaders:d.requestHeaders,requestBody:d.requestBody,responseHeaders:d.responseHeaders,responseBody:d.responseBody};e({requests:[n]})}else am.error("Failed to get performance entry for XHR request to "+p.url)}).catch(function(e){am.error("Error recording XHR request to "+p.url+": "+String(e))})}}),n.call(f,i,o,s,a,u)}});return function(){n()}}(s,t,o),c=function(e,t,r){if(!r.initiatorTypes.includes("fetch"))return function(){};var n=fm(t,"fetch",function(n){return function(){var i,o,s,a,u=new Request(arguments[0],arguments[1]),c={},l=Promise.resolve(void 0),f=Promise.resolve(void 0);try{var p={};u.headers.forEach(function(e,t){hm("request",r.recordHeaders,t)&&(p[t]=e)}),c.requestHeaders=p,gm("request",r.recordBodyUrls,u.url)&&(l=vm(u).then(function(e){c.requestBody=e})),o=t.performance.now(),a=n.apply(t,arguments).then(function(e){i=e,s=t.performance.now();var n={};return i.headers.forEach(function(e,t){hm("response",r.recordHeaders,t)&&(n[t]=e)}),c.responseHeaders=n,gm("response",r.recordBodyUrls,u.url)&&(f=vm(i).then(function(e){c.responseBody=e})),i})}catch(d){a=Promise.reject(d)}return Promise.all([l,f,a]).then(function(){return ym(t,"fetch",u.url,o,s)}).then(function(r){if(r){var n={url:r.name,method:u.method,initiatorType:r.initiatorType,status:i?i.status:void 0,startTime:Math.round(r.startTime),endTime:Math.round(r.responseEnd),timeOrigin:um(t),requestHeaders:c.requestHeaders,requestBody:c.requestBody,responseHeaders:c.responseHeaders,responseBody:c.responseBody};e({requests:[n]})}else am.error("Failed to get performance entry for fetch request to "+u.url)}).catch(function(e){am.error("Error recording fetch request to "+u.url+": "+String(e))}),a}});return function(){n()}}(s,t,o);return function(){a(),u(),c()}}var _m=bh("recorder"),wm=n.CompressionStream,Sm={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},Em=new Set([Eu.MouseMove,Eu.MouseInteraction,Eu.Scroll,Eu.ViewportResize,Eu.Input,Eu.TouchMove,Eu.MediaInteraction,Eu.Drag,Eu.Selection]);var Am=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||Bh,this._onMaxLengthReached=e.onMaxLengthReached||Bh,this._onBatchSent=e.onBatchSent||Bh,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.lastEventTimestamp=e.lastEventTimestamp||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Yd,this.recordMinMs=0;var t=Ch(e.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new $h(Vh),this.batcher=new dg(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:Sm,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};Am.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var e={distinct_id:String(this._mixpanel.get_distinct_id())},t=this._mixpanel.get_property("$device_id");t&&(e.$device_id=t);var r=this._mixpanel.get_property("$user_id");return r&&(e.$user_id=r),e},Am.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init(
1).catch(function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))},Am.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},Am.prototype.get_config=function(e){return this.getConfig(e)},Am.prototype.startRecording=function(e){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Yd&&(this.recordMaxMs=Yd,_m.critical("record_max_ms cannot be greater than "+Yd+"ms. Capping value.")),this.maxExpires||(this.maxExpires=(new Date).getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=(new Date).getTime(),this.batchStartUrl=mh.info.currentUrl(),this.replayStartUrl=mh.info.currentUrl()),e||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var t=function(){clearTimeout(this.idleTimeoutId);var e=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,e),this.idleExpires=(new Date).getTime()+e}.bind(this);t();var r=this.getConfig("record_block_selector");""!==r&&null!==r||(r=void 0);var n=function(e){var t={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},r=e.get_config("record_mask_input_selector"),n=e.get_config("record_unmask_input_selector"),i=e.get_config("record_mask_all_inputs");t.input.maskingSelector=nm(r).join(","),t.input.unmaskingSelector=nm(n).join(","),void 0!==i&&(t.input.maskAll=i);var o=e.get_config("record_mask_text_selector"),s=e.get_config("record_unmask_text_selector"),a=e.get_config("record_mask_all_text"),u=e.get_config("record_mask_text_class"),c=nm(o);if(u)if(u instanceof RegExp)t.text._legacyClassRegex=u;else{var l="."+u;-1===c.indexOf(l)&&c.push(l)}return t.text.maskingSelector=c.join(","),t.text.unmaskingSelector=nm(s).join(","),void 0===a&&void 0!==o?t.text.maskAll=!1:void 0!==a&&(t.text.maskAll=a),t}(this._mixpanel),i=[];if(this.getConfig("record_network")){var o=this.getConfig("record_network_options")||{},s=(o.ignoreRequestUrls||[]).slice();s.push(this._getApiRoute()),o.ignoreRequestUrls=s,i.push(function(e){return{name:"rrweb/[email protected]",observer:bm,options:e}}(o))}this.getConfig("record_console")&&i.push(function(e){return{name:"rrweb/console@1",observer:Td,options:e}}({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}}));var a=gg(this.getConfig("record_allowed_iframe_origins"),_m);try{this._stopRecording=this._rrwebRecord({emit:function(e){this.idleExpires&&this.idleExpires<e.timestamp?this._onIdleTimeout():(function(e){return e.type===Su.IncrementalSnapshot&&Em.has(e.data.source)}(e)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),t()),this.__enqueuePromise=this.batcher.enqueue(e),(null===this.lastEventTimestamp||e.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=e.timestamp))}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:r,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(om,n),maskTextFn:this._getMaskFn(sm,n),recordCrossOriginIframes:a.length>0,allowedIframeOrigins:a,recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:i})}catch(dy){this.reportError("Unexpected error when starting rrweb recording.",dy)}if("function"!==typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();var u=this.maxExpires-(new Date).getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),u)}else _m.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},Am.prototype.stopRecording=function(e){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(dy){this.reportError("Error with rrweb stopRecording",dy)}this._stopRecording=null}var t;return this.batcher.stopped?t=this.batcher.clear():e||(t=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),t},Am.prototype.isRrwebStopped=function(){return null===this._stopRecording},Am.prototype.flushEventsWithOptOut=function(e,t,r){var n=function(e){0===e&&(this.stopRecording(),r({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(e,t,r,n)},Am.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(t){this.reportError("Error getting tab ID for serialization ",t),e=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}},Am.deserialize=function(e,t){return new Am(mh.extend({},t,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,lastEventTimestamp:e.lastEventTimestamp,seqNo:e.seqNo,sharedLockStorage:t.sharedLockStorage}))},Am.prototype._getApiRoute=function(){return this.getConfig("api_routes").record},Am.prototype._sendRequest=function(e,t,r,i){var o=function(t,r){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=mh.info.currentUrl()),this._onBatchSent(),i({status:0,httpStatusCode:t.status,responseBody:r,retryAfter:t.headers.get("Retry-After")})}.bind(this),s=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");n.fetch(s+"/"+this._getApiRoute()+"?"+new URLSearchParams(t),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:r}).then(function(e){e.json().then(function(t){o(e,t)}).catch(function(e){i({error:e})})}).catch(function(e){i({error:e,httpStatusCode:0})})},Am.prototype._flushEvents=Yh(function(e,t,r){var i=e.length;if(i>0){for(var s=this.replayId,a=1/0,u=-1/0,c=!1,l=0;l<i;l++)a=Math.min(a,e[l].timestamp),u=Math.max(u,e[l].timestamp),e[l].type===Su.FullSnapshot&&(c=!0);if(0===this.seqNo){if(!c)return r({error:"First batch does not contain a full snapshot. Aborting recording."}),void this.stopRecording(!0);this.replayStartTime=a}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=a);var f=u-this.replayStartTime,p={$current_url:this.batchStartUrl,$lib_version:o.LIB_VERSION,batch_start_time:a/1e3,mp_lib:"web",replay_id:s,replay_length_ms:f,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},d=JSON.stringify(e);if(Object.assign(p,this.getUserIdInfo()),function(e,t,r){if(!n.CompressionStream)return!1;var i=mh.info.browser(e,t,r),o=mh.info.browserVersion(e,t,r);return!(("Safari"===i||"Mobile Safari"===i)&&o>=16.4&&o<16.6)}(ch,oh.vendor,ah)){var h=new Blob([d],{type:"application/json"}).stream().pipeThrough(new wm("gzip"));new Response(h).blob().then(function(e){p.format="gzip",this._sendRequest(s,p,e,r)}.bind(this))}else p.format="body",this._sendRequest(s,p,d,r)}}),Am.prototype.reportError=function(e,t){_m.error.apply(_m.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.getConfig("error_reporter")(e,t)}catch(t){_m.error(t)}},Am.prototype.getDurationMs=function(){return null===this.replayStartTime?0:null===this.lastEventTimestamp?(new Date).getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime},Am.prototype._getRecordMinMs=function(){var e=this.getConfig("record_min_ms");return e>Jd?(_m.critical("record_min_ms cannot be greater than 8000ms. Capping value."),Jd):e},Am.prototype._getMaskFn=function(e,t){return function(r,n){if(!r.trim().length)return"";var i=!0;try{i=e(n,t)}catch(dy){this.reportError("Error checking if text should be masked, defaulting to masked",dy)}if(i){var o=Math.min(r.length,1e4);return"*".repeat(o)}return r}.bind(this)};
1var Cm=function(e){this.idb=new $h(zh),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};Cm.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")},Cm.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},Cm.prototype.setActiveRecording=function(e){if(!this.isPersistenceEnabled())return Kd.resolve();var t=e.tabId;return t?this.idb.init().then(function(){return this.idb.setItem(t,e)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),Kd.resolve())},Cm.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(e){return hg(e)?null:e}.bind(this)).catch(this.handleError.bind(this)):Kd.resolve(null)},Cm.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},Cm.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then(function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}.bind(this)).catch(this.handleError.bind(this))},Cm.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):Kd.resolve()},Cm.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(e){var t=e.filter(function(e){return hg(e)}).map(function(e){return Am.deserialize(e,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage}).unloadPersistedData().then(function(){return this.idb.removeItem(e.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return Kd.all(t)}.bind(this)).catch(this.handleError.bind(this)):Kd.resolve([])};var km=bh("recorder"),Om=function(e,t,r){this.mixpanelInstance=e,this.rrwebRecord=t||Oc,this.sharedLockStorage=r,this.recordingRegistry=new Cm({mixpanelInstance:this.mixpanelInstance,errorReporter:km.error,sharedLockStorage:r}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};function xm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}Om.prototype.startRecording=function(e){if(e=e||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var t=function(){km.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),r=function(){km.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),n=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),i={mixpanelInstance:this.mixpanelInstance,onBatchSent:n,onIdleTimeout:t,onMaxLengthReached:r,replayId:mh.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=Am.deserialize(e.activeSerializedRecording,i):this.activeRecording=new Am(i),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}km.log("Recording already in progress, skipping startRecording.")},Om.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then(function(){return this.recordingRegistry.clearActiveRecording()}.bind(this)).then(function(){this.stopRecordingInProgress=!1}.bind(this))},Om.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},Om.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var r=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),r}return Kd.resolve()},Om.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),Kd.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(km.log("No resumable recording found."),null)}.bind(this))},Om.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},Om.prototype.isRecording=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()},Om.prototype.getActiveReplayId=function(){return this.isRecording()?this.activeRecording.replayId:null},Object.defineProperty(Om.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),n[a]=Om;var Pm,Im={exports:{}};var Tm=(Pm||(Pm=1,Im.exports=function(){function e(e){for(var t=[],r=0,n=e.length;r<n;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var t={}
1,r={"==":function(e,t){return e==t},"===":function(e,t){return e===t},"!=":function(e,t){return e!=t},"!==":function(e,t){return e!==t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"<":function(e,t,r){return void 0===r?e<t:e<t&&t<r},"<=":function(e,t,r){return void 0===r?e<=t:e<=t&&t<=r},"!!":function(e){return t.truthy(e)},"!":function(e){return!t.truthy(e)},"%":function(e,t){return e%t},log:function(e){return console.log(e),e},in:function(e,t){return!(!t||"undefined"===typeof t.indexOf)&&-1!==t.indexOf(e)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(e,t,r){if(r<0){var n=String(e).substr(t);return n.substr(0,n.length+r)}return String(e).substr(t,r)},"+":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)+parseFloat(t,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)*parseFloat(t,10)})},"-":function(e,t){return void 0===t?-e:e-t},"/":function(e,t){return e/t},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(e,t){return e.concat(t)},[])},var:function(e,t){var r=void 0===t?null:t,n=this;if("undefined"===typeof e||""===e||null===e)return n;for(var i=String(e).split("."),o=0;o<i.length;o++){if(null===n||void 0===n)return r;if(void 0===(n=n[i[o]]))return r}return n},missing:function(){for(var e=[],r=Array.isArray(arguments[0])?arguments[0]:arguments,n=0;n<r.length;n++){var i=r[n],o=t.apply({var:i},this);null!==o&&""!==o||e.push(i)}return e},missing_some:function(e,r){var n=t.apply({missing:r},this);return r.length-n.length>=e?[]:n}};return t.is_logic=function(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)&&1===Object.keys(e).length},t.truthy=function(e){return(!Array.isArray(e)||0!==e.length)&&!!e},t.get_operator=function(e){return Object.keys(e)[0]},t.get_values=function(e){return e[t.get_operator(e)]},t.apply=function(e,n){if(Array.isArray(e))return e.map(function(e){return t.apply(e,n)});if(!t.is_logic(e))return e;var i,o,s,a,u,c=t.get_operator(e),l=e[c];if(Array.isArray(l)||(l=[l]),"if"===c||"?:"==c){for(i=0;i<l.length-1;i+=2)if(t.truthy(t.apply(l[i],n)))return t.apply(l[i+1],n);return l.length===i+1?t.apply(l[i],n):null}if("and"===c){for(i=0;i<l.length;i+=1)if(o=t.apply(l[i],n),!t.truthy(o))return o;return o}if("or"===c){for(i=0;i<l.length;i+=1)if(o=t.apply(l[i],n),t.truthy(o))return o;return o}if("filter"===c)return a=t.apply(l[0],n),s=l[1],Array.isArray(a)?a.filter(function(e){return t.truthy(t.apply(s,e))}):[];if("map"===c)return a=t.apply(l[0],n),s=l[1],Array.isArray(a)?a.map(function(e){return t.apply(s,e)}):[];if("reduce"===c)return a=t.apply(l[0],n),s=l[1],u="undefined"!==typeof l[2]?t.apply(l[2],n):null,Array.isArray(a)?a.reduce(function(e,r){return t.apply(s,{current:r,accumulator:e})},u):u;if("all"===c){if(a=t.apply(l[0],n),s=l[1],!Array.isArray(a)||!a.length)return!1;for(i=0;i<a.length;i+=1)if(!t.truthy(t.apply(s,a[i])))return!1;return!0}if("none"===c){if(a=t.apply(l[0],n),s=l[1],!Array.isArray(a)||!a.length)return!0;for(i=0;i<a.length;i+=1)if(t.truthy(t.apply(s,a[i])))return!1;return!0}if("some"===c){if(a=t.apply(l[0],n),s=l[1],!Array.isArray(a)||!a.length)return!1;for(i=0;i<a.length;i+=1)if(t.truthy(t.apply(s,a[i])))return!0;return!1}if(l=l.map(function(e){return t.apply(e,n)}),r.hasOwnProperty(c)&&"function"===typeof r[c])return r[c].apply(n,l);if(c.indexOf(".")>0){var f=String(c).split("."),p=r;for(i=0;i<f.length;i++){if(!p.hasOwnProperty(f[i]))throw new Error("Unrecognized operation "+c+" (failed at "+f.slice(0,i+1).join(".")+")");p=p[f[i]]}return p.apply(n,l)}throw new Error("Unrecognized operation "+c)},t.uses_data=function(r){var n=[];if(t.is_logic(r)){var i=t.get_operator(r),o=r[i];Array.isArray(o)||(o=[o]),"var"===i?n.push(o[0]):o.forEach(function(e){n.push.apply(n,t.uses_data(e))})}return e(n)},t.add_operation=function(e,t){r[e]=t},t.rm_operation=function(e){delete r[e]},t.rule_like=function(e,r){if(r===e)return!0;
1if("@"===r)return!0;if("number"===r)return"number"===typeof e;if("string"===r)return"string"===typeof e;if("array"===r)return Array.isArray(e)&&!t.is_logic(e);if(t.is_logic(r)){if(t.is_logic(e)){var n=t.get_operator(r),i=t.get_operator(e);if("@"===n||n===i)return t.rule_like(t.get_values(e,!1),t.get_values(r,!1))}return!1}if(Array.isArray(r)){if(Array.isArray(e)){if(r.length!==e.length)return!1;for(var o=0;o<r.length;o+=1)if(!t.rule_like(e[o],r[o]))return!1;return!0}return!1}return!1},t}()),Im.exports),Rm=xm(Tm),Dm={eventMatchesCriteria:function(e,t,r){if(e!==r.event_name)return{matches:!1};var n=r.property_filters,i=!0;if(n&&!mh.isEmptyObject(n))try{i=Rm.apply(n,t||{})}catch(o){return{matches:!1,error:o.toString()}}return{matches:i}}};n[s]=Promise.resolve(Dm);function Mm(){this.clicks=[]}function Fm(e,t){this.changeCallback=e||function(){},this.observerConfig=t,this.observedShadowRoots=null,this.shadowObservers=[]}Mm.prototype.isRageClick=function(e,t){var r=(t=t||{}).threshold_px||30,n=t.timeout_ms||1e3,i=t.click_count||4;if(t.interactive_elements_only||false){var o=em(e);if(!o||Qg(o))return!1}var s=Date.now(),a=e.pageX,u=e.pageY,c=this.clicks[this.clicks.length-1];if(c&&s-c.timestamp<n&&Math.sqrt(Math.pow(a-c.x,2)+Math.pow(u-c.y,2))<r){if(this.clicks.push({x:a,y:u,timestamp:s}),this.clicks.length>=i)return this.clicks=[],!0}else this.clicks=[{x:a,y:u,timestamp:s}];return!1},Fm.prototype.getEventTarget=function(e){if(this.observedShadowRoots)return em(e)},Fm.prototype.observeFromEvent=function(e){if(this.observedShadowRoots)for(var t=Xg(e),r=0;r<t.length;r++){var n=t[r];n&&n.shadowRoot&&this.observeShadowRoot(n.shadowRoot)}},Fm.prototype.observeShadowRoot=function(e){if(this.observedShadowRoots&&!this.observedShadowRoots.has(e)){var t=this;try{this.observedShadowRoots.add(e);var r=new window.MutationObserver(function(){t.changeCallback()});r.observe(e,this.observerConfig),this.shadowObservers.push(r)}catch(n){Fg.critical("Error while observing shadow root",n)}}},Fm.prototype.start=function(){this.observedShadowRoots||("undefined"!==typeof WeakSet?this.observedShadowRoots=new WeakSet:Fg.critical("Shadow DOM observation unavailable: WeakSet not supported"))},Fm.prototype.stop=function(){if(this.observedShadowRoots){for(var e=0;e<this.shadowObservers.length;e++)try{this.shadowObservers[e].disconnect()}catch(t){Fg.critical("Error while disconnecting shadow DOM observer",t)}this.shadowObservers=[],this.observedShadowRoots=null}};var jm=[mg,"input",Ag,"select","toggle"],Nm=[Sg],Bm=[yg],Lm={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function Um(e){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=e,this.processingActive=!1,this.processingTimeout=null}Um.prototype.addClick=function(e){var t=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(e);return t||(t=e.target||e.srcElement),!(!t||Qg(t))&&(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(e),this.pendingClicks.push({element:t,event:e,timestamp:Date.now()}),!0)},Um.prototype.trackClick=function(e,t){if(!this.isTracking)return!1;var r=this.addClick(e);return r&&this.triggerProcessing(t),r},Um.prototype.getDeadClicks=function(e){if(0===this.pendingClicks.length)return[];var t=e.timeout_ms,r=Date.now(),n=this.pendingClicks.slice();this.pendingClicks=[];for(var i=[],o=0;o<n.length;o++){var s=n[o];r-s.timestamp>=t?this.hasChangesAfter(s.timestamp)||i.push(s):this.pendingClicks.push(s)}return i},Um.prototype.hasChangesAfter=function(e){return this.lastChangeEventTimestamp>=e-100},Um.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},Um.prototype.triggerProcessing=function(e){this.processingActive||(this.processingActive=!0,this.processRecursively(e))},Um.prototype.processRecursively=function(e){if(this.isTracking&&this.onDeadClickCallback){var t=e.timeout_ms,r=this;this.processingTimeout=setTimeout(function(){if(r.processingActive){for(var t=r.getDeadClicks(e),n=0;n<t.length;n++)r.onDeadClickCallback(t[n].event);r.pendingClicks.length>0?r.processRecursively(e):r.processingActive=!1}},t)}else this.processingActive=!1},Um.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var e=this;jm.forEach(function(t){var r=function(){e.recordChangeEvent()};document.addEventListener(t,r,{capture:!0,passive:!0}),e.eventListeners.push({target:document,event:t,handler:r,options:{capture:!0,passive:!0}})}),Bm.forEach(function(t){var r=function(){e.recordChangeEvent()};window.addEventListener(t,r),e.eventListeners.push({target:window,event:t,handler:r})}),Nm.forEach(function(t){var r=function(){e.recordChangeEvent()};window.addEventListener(t,r,{passive:!0}),e.eventListeners.push({target:window,event:t,handler:r,options:{passive:!0}})});var t=function(){e.recordChangeEvent()};if(document.addEventListener("selectionchange",t),e.eventListeners.push({target:document,event:"selectionchange",handler:t}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){e.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,Lm)}catch(r){Fg.critical("Error while setting up mutation observer",r)}if(window.customElements)try{this.shadowDOMObserver=new Fm(function(){e.recordChangeEvent()},Lm),this.shadowDOMObserver.start()}catch(r){Fg.critical("Error while setting up shadow DOM observer",r),this.shadowDOMObserver=null}}},Um.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var e=0;e<this.eventListeners.length;e++){var t=this.eventListeners[e];try{t.target.removeEventListener(t.event,t.handler,t.options)}catch(r){Fg.critical("Error while removing event listener",r)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(r){Fg.critical("Error while disconnecting mutation observer",r)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(r){Fg.critical("Error while stopping shadow DOM observer",r)}this.shadowDOMObserver=null}}};var qm="autocapture",Vm="full-url",zm="allow_selectors",Gm="allow_url_regexes",$m="block_attrs",Wm="block_element_callback",Hm="block_selectors",Km="block_url_regexes",Zm="capture_extra_attrs",Ym="capture_text_content",Jm="scroll_capture_all",Qm="scroll_depth_percent_checkpoints",Xm="click",ev="dead_click",tv="input",rv="pageview",nv="rage_click",iv="scroll",ov="page_leave",sv="submit",av={};av[zm]=[],av[Gm]=[],av[$m]=[],av[Wm]=null,av[Hm]=[],av[Km]=[],av[Zm]=[],av[Ym]=!1,av[Jm]=!1,av[Qm]=[25,50,75,100],av[Xm]=!0,av[ev]=!0,av[tv]=!0,av[rv]=Vm,av[nv]=!0,av[iv]=!0,av[ov]=!1,av[sv]=!0;var uv={$mp_autocapture:!0},cv="$mp_click",lv="$mp_dead_click",fv="$mp_rage_click",pv=function(e){this.mp=e,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};pv.prototype.init=function(){!function(){try{return!!sh.createElement("div").matches}catch(dy){return!1}}()?Fg.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking())},pv.prototype.getFullConfig=function(){var e=this.mp.get_config(qm);return e?mh.isObject(e)?mh.extend({},av,e):av:{}},pv.prototype.getConfig=function(e){return this.getFullConfig()[e]},pv.prototype.currentUrlBlocked=function(){var e=mh.info.currentUrl(),t=this.getConfig(Gm)||[];if(t.length)try{return!Lh(e,t)}catch(dy){return Fg.critical("Error while checking block URL regexes: ",dy),!0}var r=this.getConfig(Km)||[];if(!r||!r.length)return!1;try{return Lh(e,r)}catch(dy){return Fg.critical("Error while checking block URL regexes: ",dy),!0}},pv.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(qm)?this.getConfig(rv):this.mp.get_config("track_pageview")},pv.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var r=this.mp.is_recording_heatmap_data()&&(t===cv&&!this.getConfig(Xm)||t===fv&&!this._getClickTrackingConfig(nv)||t===lv&&!this._getClickTrackingConfig(ev)),n=Ug(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(zm),blockAttrs:this.getConfig($m),blockElementCallback:this.getConfig(Wm),blockSelectors:this.getConfig(Hm),captureExtraAttrs:this.getConfig(Zm),captureTextContent:this.getConfig(Ym),captured
1ForHeatMap:r});n&&(mh.extend(n,uv),this.mp.track(t,n))}},pv.prototype.initPageListeners=function(){if(n.removeEventListener(wg,this.listenerPopstate),n.removeEventListener(yg,this.listenerHashchange),this.pageviewTrackingConfig()||this.getConfig(ov)||this.mp.get_config("record_heatmap_data")){this.listenerPopstate=function(){n.dispatchEvent(new Event(_g))},this.listenerHashchange=function(){n.dispatchEvent(new Event(_g))},n.addEventListener(wg,this.listenerPopstate),n.addEventListener(yg,this.listenerHashchange);var e=n.history.pushState;"function"===typeof e&&(n.history.pushState=function(t,r,i){e.call(n.history,t,r,i),n.dispatchEvent(new Event(_g))});var t=n.history.replaceState;"function"===typeof t&&(n.history.replaceState=function(e,r,i){t.call(n.history,e,r,i),n.dispatchEvent(new Event(_g))})}},pv.prototype._getClickTrackingConfig=function(e){var t=this.getConfig(e);return t?!0===t?{}:"object"===typeof t?t:{}:null},pv.prototype._trackPageLeave=function(e,t,r){if(!this.hasTrackedScrollSession&&(this.getConfig(ov)||this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var i=Math.max(sh.documentElement.clientHeight,n.innerHeight||0),o=Math.round(Math.max(this.maxScrollViewDepth-i,0)/(r-i)*100),s=Math.round(i/r*100);r<=i&&(o=100,s=100);var a=mh.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:o,$fold_line_percentage:s,$scroll_height:r,$event_type:e.type,$current_url:t||mh.info.currentUrl(),$viewportHeight:i,$viewportWidth:Math.max(sh.documentElement.clientWidth,n.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},uv);this.mp.track("$mp_page_leave",a,{transport:"sendBeacon"})}},pv.prototype._initScrollDepthTracking=function(){if(n.removeEventListener(Eg,this.listenerScrollDepth),n.removeEventListener(Sg,this.listenerScrollDepth),this.mp.get_config("record_heatmap_data")){Fg.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(sh.documentElement.clientHeight,n.innerHeight||0);var e=Yg(function(){if(!this.currentUrlBlocked()){var e=Math.max(sh.documentElement.clientHeight,n.innerHeight||0)+n.scrollY;e>this.maxScrollViewDepth&&(this.maxScrollViewDepth=e),this.previousScrollHeight=sh.body.scrollHeight}}.bind(this));this.listenerScrollDepth=e.listener,n.addEventListener(e.eventType,this.listenerScrollDepth)}},pv.prototype.initClickTracking=function(){n.removeEventListener(vg,this.listenerClick),(this.getConfig(Xm)||this.mp.get_config("record_heatmap_data"))&&(Fg.log("Initializing click tracking"),this.listenerClick=function(e){(this.getConfig(Xm)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,cv)}.bind(this),n.addEventListener(vg,this.listenerClick))},pv.prototype.initDeadClickTracking=function(){this._getClickTrackingConfig(ev)||this.mp.get_config("record_heatmap_data")?(Fg.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new Um(function(e){this.trackDomEvent(e,lv)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(e){var t=this._getClickTrackingConfig(ev);if((t||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var r=t||{};r.timeout_ms||(r.timeout_ms=500),this._deadClickTracker.trackClick(e,r)}}.bind(this),n.addEventListener(vg,this.listenerDeadClick))):this.stopDeadClickTracking()},pv.prototype.initInputTracking=function(){n.removeEventListener(mg,this.listenerChange),this.getConfig(tv)&&(Fg.log("Initializing input tracking"),this.listenerChange=function(e){this.getConfig(tv)&&this.trackDomEvent(e,"$mp_input_change")}.bind(this),n.addEventListener(mg,this.listenerChange))},pv.prototype.initPageviewTracking=function(){if(n.removeEventListener(_g,this.listenerLocationchange),this.pageviewTrackingConfig()){Fg.log("Initializing pageview tracking");var e="",t=!1;this.currentUrlBlocked()||(t=this.mp.track_pageview(uv)),t&&(e=mh.info.currentUrl()),this.listenerLocationchange=_h(function(){if(!this.currentUrlBlocked()){var t=mh.info.currentUrl(),r=!1,n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],i=this.pageviewTrackingConfig();if(i===Vm?r=t!==e:"url-with-path-and-query-string"===i?r=t.split("#")[0]!==e.split("#")[0]:"url-with-path"===i&&(r=n),r)this.mp.track_pageview(uv)&&(e=t),n&&(this.lastScrollCheckpoint=0,Fg.log("Path change: re-initializing scroll depth checkpoints"))}}.bind(this)),n.addEventListener(_g,this.listenerLocationchange)}},pv.prototype.initRageClickTracking=function(){n.removeEventListener(vg,this.listenerRageClick),(this._getClickTrackingConfig(nv)||this.mp.get_config("record_heatmap_data"))&&(Fg.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new Mm),this.listenerRageClick=function(e){var t=this._getClickTrackingConfig(nv);(t||this.mp.is_recording_heatmap_data())&&(this.currentUrlBlocked()||this._rageClickTracker.isRageClick(e,t)&&this.trackDomEvent(e,fv))}.bind(this),n.addEventListener(vg,this.listenerRageClick))},pv.prototype.initScrollTracking=function(){if(n.removeEventListener(Sg,this.listenerScroll),n.removeEventListener(Eg,this.listenerScroll),this.getConfig(iv)){Fg.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var e=Yg(function(){if(this.getConfig(iv)&&!this.currentUrlBlocked()){var e=this.getConfig(Jm),t=(this.getConfig(Qm)||[]).slice().sort(function(e,t){return e-t}
1),r=n.scrollY,i=mh.extend({$scroll_top:r},uv);try{var o=sh.body.scrollHeight,s=Math.round(r/(o-n.innerHeight)*100);if(i.$scroll_height=o,i.$scroll_percentage=s,s>this.lastScrollCheckpoint)for(var a=0;a<t.length;a++){var u=t[a];s>=u&&this.lastScrollCheckpoint<u&&(i.$scroll_checkpoint=u,this.lastScrollCheckpoint=u,e=!0)}}catch(dy){Fg.critical("Error while calculating scroll percentage",dy)}e&&this.mp.track("$mp_scroll",i)}}.bind(this));this.listenerScroll=e.listener,n.addEventListener(e.eventType,this.listenerScroll)}},pv.prototype.initSubmitTracking=function(){n.removeEventListener(Ag,this.listenerSubmit),this.getConfig(sv)&&(Fg.log("Initializing submit tracking"),this.listenerSubmit=function(e){this.getConfig(sv)&&this.trackDomEvent(e,"$mp_submit")}.bind(this),n.addEventListener(Ag,this.listenerSubmit))},pv.prototype.initPageLeaveTracking=function(){if(sh.removeEventListener(Cg,this.listenerPageLeaveVisibilitychange),n.removeEventListener(_g,this.listenerPageLeaveLocationchange),n.removeEventListener(bg,this.listenerPageLoad),this.getConfig(ov)||this.mp.get_config("record_heatmap_data")){Fg.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var e=mh.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=sh.body.scrollHeight}.bind(this),n.addEventListener(bg,this.listenerPageLoad),this.listenerPageLeaveLocationchange=_h(function(t){if(!this.currentUrlBlocked()){var r=mh.info.currentUrl();r!==e&&(this._trackPageLeave(t,e,this.previousScrollHeight),e=r,this.maxScrollViewDepth=Math.max(sh.documentElement.clientHeight,n.innerHeight||0),this.previousScrollHeight=sh.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),n.addEventListener(_g,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(t){sh.hidden&&this._trackPageLeave(t,e,this.previousScrollHeight)}.bind(this),sh.addEventListener(Cg,this.listenerPageLeaveVisibilitychange)}},pv.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(n.removeEventListener(vg,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)},wh(pv);var dv=function(e,t){return n[s]&&"function"===typeof n[s].then||(n[s]=new Promise(function(r){e(t,r)}).then(function(){var e=n[s];if(e&&"function"===typeof e.then)return e;throw new Error("targeting failed to load")}).catch(function(e){throw delete n[s],e})),n[s]},hv=bh("flags"),gv="flags",mv="context",vv={};vv[mv]={};var yv=function(e){this.fetch=n.fetch,this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.setMpConfig=e.setConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc,this.loadExtraBundle=e.loadExtraBundle||function(){},this.targetingSrc=e.targetingSrc||""};yv.prototype.init=function(){this.minApisSupported()?(this.flags=null,this.fetchFlags().catch(function(){hv.error("Error fetching flags during init")}),this.trackedFeatures=new Set,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={}):hv.critical("Feature Flags unavailable: missing minimum required APIs")},yv.prototype.getFullConfig=function(){var e=this.getMpConfig(gv);return e?mh.isObject(e)?mh.extend({},vv,e):vv:{}},yv.prototype.getConfig=function(e){return this.getFullConfig()[e]},yv.prototype.isSystemEnabled=function(){return!!this.getMpConfig(gv)},yv.prototype.updateContext=function(e,t){if(!this.isSystemEnabled())return hv.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var r=this.getMpConfig(gv);mh.isObject(r)||(r={});var n=t&&t.replace?{}:this.getConfig(mv);r[mv]=mh.extend({},n,e);var i={};return i[gv]=r,this.setMpConfig(i),this.fetchFlags().catch(function(){hv.error("Error fetching flags during updateContext")})},yv.prototype.areFlagsReady=function(){return this.isSystemEnabled()||hv.error("Feature Flags not enabled"),!!this.flags},yv.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var e=this.getMpProperty("distinct_id"),t=this.getMpProperty("$device_id"),r=Mh();hv.log("Fetching flags for distinct ID: "+e);var i=mh.extend({distinct_id:e,device_id:t},this.getConfig(mv)),s=new URLSearchParams;s.set("context",JSON.stringify(i)),s.set("token",this.getMpConfig("token")),s.set("mp_lib","web"),s.set("$lib_version",o.LIB_VERSION);var a=this.getFullApiRoute()+"?"+s.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(n,a,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:r}}).then(function(e){return this.markFetchComplete(),e.json()}.bind(this)).then(function(e){var t=e.flags;if(!t)throw new Error("No flags in API response");var n=new Map,i={};mh.each(t,function(e,t){var r=!1,i=t+":";if(mh.each(this.activatedFirstTimeEvents,function(e,t){t.startsWith(i)&&(r=!0)}),r){var o=this.flags&&this.flags.get(t);o&&n.set(t,o)}else n.set(t,{key:e.variant_key,value:e.variant_value,experiment_id:e.experiment_id,is_experiment_active:e.is_experiment_active,is_qa_tester:e.is_qa_tester})},this);var o=e.pending_first_time_events;o&&o.length>0&&mh.each(o,function(e){var t=e.flag_key,r=function(e,t){return e+":"+t}(t,e.first_time_event_hash);this.activatedFirstTimeEvents[r]||(i[r]={flag_key:t,flag_id:e.flag_id,project_id:e.project_id,first_time_event_hash:e.first_time_event_hash,event_name:e.event_name,property_filters:e.property_filters,pending_variant:e.pending_variant})},this),this.activatedFirstTimeEvents&&mh.each(this.activatedFirstTimeEvents,function(e,t){var r=function(e){return e.split(":")[0]}(t);e&&!n.has(r)&&this.flags&&this.flags.has(r)&&n.set(r,this.flags.get(r))},this),this.flags=n,this.pendingFirstTimeEvents=i,this._traceparent=r,this._loadTargetingIfNeeded()}.bind(this)).catch(function(e){throw this._fetchInProgressStartTime&&this.markFetchComplete(),hv.error(e),e}.bind(this)),this.fetchPromise},yv.prototype.loadFlags=function(){return this.isSystemEnabled()?this.trackedFeatures?this._fetchInProgressStartTime?this.fetchPromise:this.fetchFlags():(hv.error("loadFlags called before init"),Promise.resolve()):Promise.resolve()},yv.prototype.markFetchComplete=function(){this._fetchInProgressStartTime?(this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null):hv.error("Fetch in progress started time not set, cannot mark fetch complete")},yv.prototype._loadTargetingIfNeeded=function(){var e=!1;mh.each(this.pendingFirstTimeEvents,function(t){t.property_filters&&!mh.isEmptyObject(t.property_filters)&&(e=!0)}),e&&this.getTargeting().then(function(){hv.log("targeting loaded for property filter evaluation")})},yv.prototype.getTargeting=function(){return dv(this.loadExtraBundle.bind(this),this.targetingSrc).catch(function(e){hv.error("Failed to load targeting: "+e)}.bind(this))},yv.prototype.checkFirstTimeEvents=function(e,t){this.pendingFirstTimeEvents&&!mh.isEmptyObject(this.pendingFirstTimeEvents)&&(n[s]&&mh.isFunction(n[s].then)?n[s].then(function(r){this._processFirstTimeEventCheck(e,t,r)}.bind(this)).catch(function(){this._processFirstTimeEventCheck(e,t,null)}.bind(this)):this._processFirstTimeEventCheck(e,t,null))},yv.prototype._processFirstTimeEventCheck=function(e,t,r){mh.each(this.pendingFirstTimeEvents,function(n,i){if
1(!this.activatedFirstTimeEvents[i]){var o,s=n.flag_key;if(r||!n.property_filters||mh.isEmptyObject(n.property_filters)){if(r){var a={event_name:n.event_name,property_filters:n.property_filters};o=r.eventMatchesCriteria(e,t,a)}else o={matches:e===n.event_name,error:null};if(o.error)hv.error('Error checking first-time event for flag "'+s+'": '+o.error);else if(o.matches){hv.log('First-time event matched for flag "'+s+'": '+e);var u={key:n.pending_variant.variant_key,value:n.pending_variant.variant_value,experiment_id:n.pending_variant.experiment_id,is_experiment_active:n.pending_variant.is_experiment_active};this.flags.set(s,u),this.activatedFirstTimeEvents[i]=!0,this.recordFirstTimeEvent(n.flag_id,n.project_id,n.first_time_event_hash)}}else hv.warn('Skipping event check for "'+s+'" - property filters require targeting library')}},this)},yv.prototype.getFirstTimeEventApiRoute=function(e){return this.getFullApiRoute()+"/"+e+"/first-time-events"},yv.prototype.recordFirstTimeEvent=function(e,t,r){var i=this.getMpProperty("distinct_id"),s=Mh(),a=new URLSearchParams;a.set("mp_lib","web"),a.set("$lib_version",o.LIB_VERSION);var u=this.getFirstTimeEventApiRoute(e)+"?"+a.toString(),c={distinct_id:i,project_id:t,first_time_event_hash:r};hv.log("Recording first-time event for flag: "+e),this.fetch.call(n,u,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:s},body:JSON.stringify(c)}).catch(function(t){hv.error("Failed to record first-time event for flag "+e+": "+t)})},yv.prototype.getVariant=function(e,t){return this.fetchPromise?this.fetchPromise.then(function(){return this.getVariantSync(e,t)}.bind(this)).catch(function(e){return hv.error(e),t}):new Promise(function(e){hv.critical("Feature Flags not initialized"),e(t)})},yv.prototype.getVariantSync=function(e,t){if(!this.areFlagsReady())return hv.log("Flags not loaded yet"),t;var r=this.flags.get(e);return r?(this.trackFeatureCheck(e,r),r):(hv.log('No flag found: "'+e+'"'),t)},yv.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then(function(e){return e.value}).catch(function(e){return hv.error(e),t})},yv.prototype.getFeatureData=function(e,t){return hv.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(e,t)},yv.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},yv.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then(function(){return this.isEnabledSync(e,t)}.bind(this)).catch(function(e){return hv.error(e),t})},yv.prototype.isEnabledSync=function(e,t){t=t||!1;var r=this.getVariantValueSync(e,t);return!0!==r&&!1!==r&&(hv.error('Feature flag "'+e+'" value: '+r+" is not a boolean; returning fallback value: "+t),r=t),r},yv.prototype.trackFeatureCheck=function(e,t){if(!this.trackedFeatures.has(e)){this.trackedFeatures.add(e);var r={"Experiment name":e,"Variant name":t.key,$experiment_type:"feature_flag","Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};"undefined"!==t.experiment_id&&(r.$experiment_id=t.experiment_id),"undefined"!==t.is_experiment_active&&(r.$is_experiment_active=t.is_experiment_active),"undefined"!==t.is_qa_tester&&(r.$is_qa_tester=t.is_qa_tester),this.track("$experiment_started",r)}},yv.prototype.whenReady=function(){return this.fetchPromise?this.fetchPromise:Promise.resolve()},yv.prototype.minApisSupported=function(){return!!this.fetch&&"undefined"!==typeof Promise&&"undefined"!==typeof Map&&"undefined"!==typeof Set},wh(yv),yv.prototype.are_flags_ready=yv.prototype.areFlagsReady,yv.prototype.get_variant=yv.prototype.getVariant,yv.prototype.get_variant_sync=yv.prototype.getVariantSync,yv.prototype.get_variant_value=yv.prototype.getVariantValue,yv.prototype.get_variant_value_sync=yv.prototype.getVariantValueSync,yv.prototype.is_enabled=yv.prototype.isEnabled,yv.prototype.is_enabled_sync=yv.prototype.isEnabledSync,yv.prototype.load_flags=yv.prototype.loadFlags,yv.prototype.update_context=yv.prototype.updateContext,yv.prototype.when_ready=yv.prototype.whenReady,yv.prototype.get_feature_data=yv.prototype.getFeatureData,yv.prototype.getTargeting=yv.prototype.getTargeting;var bv=bh("recorder"),_v="mp_iframe_handshake_request",wv="mp_iframe_handshake_response",Sv=function(e){this.mixpanelInstance=e.mixpanelInstance,this.getMpConfig=e.getConfigFunc,this.getTabId=e.getTabIdFunc,this.reportError=e.reportErrorFunc,this.getDistinctId=e.getDistinctIdFunc,this.loadExtraBundle=e.loadExtraBundle,this.recorderSrc=e.recorderSrc,this.targetingSrc=e.targetingSrc,this.libBasePath=e.libBasePath,this._recorder=null,this._parentReplayId=null,this._parentFrameRetryInterval=null};Sv.prototype.shouldLoadRecorder=function(){if(this.getMpConfig("disable_persistence"))return vh.log("Load recorder check skipped due to disable_persistence config"),Kd.resolve(!1);var e=new $h(zh),t=this.getTabId();return e.init().then(function(){return e.getAll()}).then(function(e){for(var r=0;r<e.length;r++)if(hg(e[r])||e[r].tabId===t)return!0;return!1}).catch(mh.bind(function(e){return this.reportError("Error checking recording registry",e),!1},this))},Sv.prototype.checkAndStartSessionRecording=function(e,t){if(!n.MutationObserver)return vh.critical("Browser does not support MutationObserver; skipping session recording"),Kd.resolve();var r=mh.bind(function(e){return new Kd(mh.bind(function(t){var r=_h(mh.bind(function(){this._recorder=this._recorder||new n[a](this.mixpanelInstance),this._recorder.resumeRecording(e),t()},this));if(mh.isUndefined(n[a])){var i=this.recorderSrc||this.libBasePath+"__MP_RECORDER_FILENAME__";this.loadExtraBundle(i,r)}else r()},this))},this),i=gg(this.getMpConfig("record_allowed_iframe_origins"),bv);if(i.length>0&&(this._setupParentFrameListener(i),n.parent!==n))return this._setupChildFrameListener(i,r),this._sendParentFrameRequestWithRetry(i),Kd.resolve();var o=mh.isUndefined(t)?this.getMpConfig("record_sessions_percent"):t,s=o>0&&100*Math.random()<=o;return e||s?r(!0):this.shouldLoadRecorder().then(mh.bind(function(e){return e?r(!1):Kd.resolve()},this))},Sv.prototype.isRecording=function(){if(!this._recorder||!mh.isFunction(this._recorder.isRecording))return!1;try{return this._recorder.isRecording()}catch(e){return this.reportError("Error checking if recording is active",e),!1}},Sv.prototype.startRecordingOnEvent=function(e,t){var r=this.isRecording(),n=this.getMpConfig("recording_event_triggers");if(!r&&n){var i=n[e];if(i&&"number"===typeof i.percentage){var o=i.percentage,s=i.property_filters;if(s&&!mh.isEmptyObject(s)){var a=this.targetingSrc||this.libBasePath+u;dv(this.loadExtraBundle,a).then(function(r){try{r.eventMatchesCriteria(e,t,{event_name:e,property_filters:s}).matches&&this.checkAndStartSessionRecording(!1,o)}catch(dy){vh.critical("Could not parse recording event trigger properties logic:",dy)}}.bind(this)).catch(function(e){vh.critical("Failed to load targeting library:",e)})}else this.checkAndStartSessionRecording(!1,o)}}},Sv.prototype.stopSessionRecording=function(){return this._recorder?this._recorder.stopRecording():Kd.resolve()},Sv.prototype.pauseSessionRecording=function(){return this._recorder?this._recorder.pauseRecording():Kd.resolve()},Sv.prototype.resumeSessionRecording=function(){return this._recorder?this._recorder.resumeRecording():Kd.resolve()}
1,Sv.prototype.isRecordingHeatmapData=function(){return this.getSessionReplayId()&&this.getMpConfig("record_heatmap_data")},Sv.prototype.getSessionRecordingProperties=function(){var e={},t=this.getSessionReplayId();return t&&(e.$mp_replay_id=t),e},Sv.prototype.getSessionReplayUrl=function(){var e=null,t=this.getSessionReplayId();t&&(e="https://mixpanel.com/projects/replay-redirect?"+mh.HTTPBuildQuery({replay_id:t,distinct_id:this.getDistinctId(),token:this.getMpConfig("token")}));return e},Sv.prototype.getSessionReplayId=function(){if(this._parentReplayId)return this._parentReplayId;var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},Sv.prototype.getRecorder=function(){return this._recorder},Sv.prototype._setupChildFrameListener=function(e,t){if(!this._childFrameMessageHandler){var r=this;this._childFrameMessageHandler=function(i){if(-1!==e.indexOf(i.origin)){var o=i.data;o&&o.type===wv&&o.token===r.getMpConfig("token")&&o.replayId&&(r._parentReplayId=o.replayId,o.distinctId&&r.mixpanelInstance.identify(o.distinctId),r._parentFrameRetryActive=!1,n.removeEventListener("message",r._childFrameMessageHandler),r._childFrameMessageHandler=null,t(!0))}},n.addEventListener("message",this._childFrameMessageHandler)}},Sv.prototype._sendParentFrameRequest=function(e){var t={};t.type=_v,t.token=this.getMpConfig("token");for(var r=0;r<e.length;r++)try{n.parent.postMessage(t,e[r])}catch(i){}},Sv.prototype._sendParentFrameRequestWithRetry=function(e){var t=this,r=0,n=50;this._parentFrameRetryActive=!0,this._sendParentFrameRequest(e),function i(){setTimeout(function(){!t._parentFrameRetryActive||t._parentReplayId||++r>=10||(t._sendParentFrameRequest(e),n*=2,i())},n)}()},Sv.prototype._setupParentFrameListener=function(e){if(!this._parentFrameMessageHandler){var t=this;this._parentFrameMessageHandler=function(r){if(-1!==e.indexOf(r.origin)){var n=r.data;if(n&&n.type===_v&&n.token===t.getMpConfig("token")){var i=t.getSessionReplayId();if(i){var o={};o.type=wv,o.token=t.getMpConfig("token"),o.replayId=i,o.distinctId=t.getDistinctId(),r.source.postMessage(o,r.origin)}}}},n.addEventListener("message",this._parentFrameMessageHandler)}},wh(Sv);var Ev=function(){};Ev.prototype.create_properties=function(){},Ev.prototype.event_handler=function(){},Ev.prototype.after_track_handler=function(){},Ev.prototype.init=function(e){return this.mp=e,this},Ev.prototype.track=function(e,t,r,n){var i=this,o=mh.dom_query(e);if(0!==o.length)return mh.each(o,function(e){mh.register_event(e,this.override_event,function(e){var o={},s=i.create_properties(r,this),a=i.mp.get_config("track_links_timeout");i.event_handler(e,this,o),window.setTimeout(i.track_callback(n,s,o,!0),a),i.mp.track(t,s,i.track_callback(n,s,o))})},this),!0;vh.error("The DOM query ("+e+") returned 0 elements")},Ev.prototype.track_callback=function(e,t,r,n){n=n||!1;var i=this;return function(){r.callback_fired||(r.callback_fired=!0,e&&!1===e(n,t)||i.after_track_handler(t,r,n))}},Ev.prototype.create_properties=function(e,t){return"function"===typeof e?e(t):mh.extend({},e)};var Av=function(){this.override_event="click"};mh.inherit(Av,Ev),Av.prototype.create_properties=function(e,t){var r=Av.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r},Av.prototype.event_handler=function(e,t,r){r.new_tab=2===e.which||e.metaKey||e.ctrlKey||"_blank"===t.target,r.href=t.href,r.new_tab||e.preventDefault()},Av.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var Cv=function(){this.override_event="submit"};mh.inherit(Cv,Ev),Cv.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()},Cv.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var kv="$set",Ov="$set_once",xv="$unset",Pv="$add",Iv="$append",Tv="$union",Rv="$remove",Dv={set_action:function(e,t){var r={},n={};return mh.isObject(e)?mh.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[kv]=n,r},unset_action:function(e){var t={},r=[];return mh.isArray(e)||(e=[e]),mh.each(e,function(e){this._is_reserved_property(e)||r.push(e)},this),t[xv]=r,t},set_once_action:function(e,t){var r={},n={};return mh.isObject(e)?mh.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[Ov]=n,r},union_action:function(e,t){var r={},n={};return mh.isObject(e)?mh.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=mh.isArray(e)?e:[e])},this):n[e]=mh.isArray(t)?t:[t],r[Tv]=n,r},append_action:function(e,t){var r={},n={};return mh.isObject(e)?mh.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[Iv]=n,r},remove_action:function(e,t){var r={},n={};return mh.isObject(e)?mh.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[Rv]=n,r},delete_action:function(){var e={$delete:""};return e}},Mv=function(){};mh.extend(Mv.prototype,Dv),Mv.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r},Mv.prototype.set=Qh(function(e,t,r){var n=this.set_action(e,t);return mh.isObject(e)&&(r=t),this._send_request(n,r)}),Mv.prototype.set_once=Qh(function(e,t,r){var n=this.set_once_action(e,t);return mh.isObject(e)&&(r=t),this._send_request(n,r)}),Mv.prototype.unset=Qh(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),Mv.prototype.union=Qh(function(e,t,r){mh.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),Mv.prototype.delete=Qh(function(e){var t=this.delete_action();return this._send_request(t,e)}),Mv.prototype.remove=Qh(function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)}),Mv.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var r=mh.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:r,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},Mv.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},Mv.prototype._get_config=function(e){return this._mixpanel.get_config(e)},Mv.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},Mv.prototype.remove=Mv.prototype.remove,Mv.prototype.set=Mv.prototype.set,Mv.prototype.set_once=Mv.prototype.set_once,Mv.prototype.union=Mv.prototype.union,Mv.prototype.unset=Mv.prototype.unset,Mv.prototype.toString=Mv.prototype.toString;var Fv=function(){};mh.extend(Fv.prototype,Dv),Fv.prototype._init=function(e){this._mixpanel=e},Fv.prototype.set=Jh(function(e,t,r){var n=this.set_action(e,t);return mh.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[kv]=mh.extend({},mh.info.people_properties(),n[kv]),this._send_request(n,r)}),Fv.prototype.set_once=Jh(function(e,t,r){var n=this.set_once_action(e,t);return mh.isObject(e)&&(r=t),this._send_request(n,r)}),Fv.prototype.unset=Jh(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),Fv.prototype.increment=Jh(function(e,t,r){var n={},i={};return mh.isObject(e)?(mh.each(e,function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void vh.error("Invalid increment value passed to mixpanel.people.increment - must be a number");i[t]=e}},this),r=t):(mh.isUndefined(t)&&(t=1),i[e]=t),n[Pv]=i,this._send_request(n,r)}),Fv.prototype.append=Jh(function(e,t,r){mh.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)}),Fv.prototype.remove=Jh(function(e,t,r){mh.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)}),Fv.prototype.union=Jh(function(e,t,r){mh.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),Fv.prototype.track_charge=Jh(function(){vh.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),Fv.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},Fv.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}vh.error("mixpanel.people.delete_user() requires you to call identify() first")},Fv.prototype.toString=function(){return this._mixpanel.toString()+".people"},Fv.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var r=this._mixpanel.get_property("$device_id"),n=this._mixpanel.get_property("$user_id"),i=this._mixpanel.get_property("$had_persisted_distinct_id");r&&(e.$device_id=r),n&&(e.$user_id=n),i&&(e.$had_persisted_distinct_id=i);var o=mh.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),mh.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),mh.truncate(o,255))},Fv.prototype._get_config=function(e){return this._mixpanel.get_config(e)},Fv.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},Fv.prototype._enqueue=function(e){kv in e?this._mixpanel.persistence._add_to_people_queue(kv,e):Ov in e?this._mixpanel.persistence._add_to_people_queue(Ov,e):xv in e?this._mixpanel.persistence._add_to_people_queue(xv,e):Pv in e?this._mixpanel.persistence._add_to_people_queue(Pv,e):Iv in e?this._mixpanel.persistence._add_to_people_queue(Iv,e):Rv in e?this._mixpanel.persistence._add_to_people_queue(Rv,e):Tv in e?this._mixpanel.persistence._add_to_people_queue(Tv,e):vh.error("Invalid call to _enqueue():",e)},Fv.prototype._flush_one_queue=function(e,t,r,n){var i=this,o=mh.extend({},this._mixpanel.persistence.load_queue(e)),s=o;mh.isUndefined(o)||!mh.isObject(o)||mh.isEmptyObject(o)||(i._mixpanel.persistence._pop_from_people_queue(e,o),i._mi
1xpanel.persistence.save(),n&&(s=n(o)),t.call(i,s,function(t,n){0===t&&i._mixpanel.persistence._add_to_people_queue(e,o),mh.isUndefined(r)||r(t,n)}))},Fv.prototype._flush=function(e,t,r,n,i,o,s){var a=this;this._flush_one_queue(kv,this.set,e),this._flush_one_queue(Ov,this.set_once,n),this._flush_one_queue(xv,this.unset,o,function(e){return mh.keys(e)}),this._flush_one_queue(Pv,this.increment,t),this._flush_one_queue(Tv,this.union,i);var u=this._mixpanel.persistence.load_queue(Iv);if(!mh.isUndefined(u)&&mh.isArray(u)&&u.length)for(var c,l=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(Iv,c),mh.isUndefined(r)||r(e,t)},f=u.length-1;f>=0;f--)u=this._mixpanel.persistence.load_queue(Iv),c=u.pop(),a._mixpanel.persistence.save(),mh.isEmptyObject(c)||a.append(c,l);var p=this._mixpanel.persistence.load_queue(Rv);if(!mh.isUndefined(p)&&mh.isArray(p)&&p.length)for(var d,h=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(Rv,d),mh.isUndefined(s)||s(e,t)},g=p.length-1;g>=0;g--)p=this._mixpanel.persistence.load_queue(Rv),d=p.pop(),a._mixpanel.persistence.save(),mh.isEmptyObject(d)||a.remove(d,h)},Fv.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},Fv.prototype.set=Fv.prototype.set,Fv.prototype.set_once=Fv.prototype.set_once,Fv.prototype.unset=Fv.prototype.unset,Fv.prototype.increment=Fv.prototype.increment,Fv.prototype.append=Fv.prototype.append,Fv.prototype.remove=Fv.prototype.remove,Fv.prototype.union=Fv.prototype.union,Fv.prototype.track_charge=Fv.prototype.track_charge,Fv.prototype.clear_charges=Fv.prototype.clear_charges,Fv.prototype.delete_user=Fv.prototype.delete_user,Fv.prototype.toString=Fv.prototype.toString;var jv,Nv="__mps",Bv="__mpso",Lv="__mpus",Uv="__mpa",qv="__mpap",Vv="__mpr",zv="__mpu",Gv="$people_distinct_id",$v="__alias",Wv="__timers",Hv=[Nv,Bv,Lv,Uv,qv,Vv,zv,Gv,$v,Wv],Kv=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;"cookie"!==t&&"localStorage"!==t&&(vh.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&mh.localStorage.is_supported()?this.storage=mh.localStorage:this.storage=mh.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};Kv.prototype.properties=function(){var e={};return this.load(),mh.each(this.props,function(t,r){mh.include(Hv,r)||(e[r]=t)}),e},Kv.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=mh.extend({},e))}},Kv.prototype.upgrade=function(){var e,t;this.storage===mh.localStorage?(e=mh.cookie.parse(this.name),mh.cookie.remove(this.name),mh.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===mh.cookie&&(t=mh.localStorage.parse(this.name),mh.localStorage.remove(this.name),t&&this.register_once(t))},Kv.prototype.save=function(){this.disabled||this.storage.set(this.name,Uh(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},Kv.prototype.load_prop=function(e){return this.load(),this.props[e]},Kv.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},Kv.prototype.clear=function(){this.remove(),this.props={}},Kv.prototype.register_once=function(e,t,r){return!!mh.isObject(e)&&("undefined"===typeof t&&(t="None"),this.expire_days="undefined"===typeof r?this.default_expiry:r,this.load(),mh.each(e,function(e,r){this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e)},this),this.save(),!0)},Kv.prototype.register=function(e,t){return!!mh.isObject(e)&&(this.expire_days="undefined"===typeof t?this.default_expiry:t,this.load(),mh.extend(this.props,e),this.save(),!0)},Kv.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},Kv.prototype.update_search_keyword=function(e){this.register(mh.info.searchInfo(e))},Kv.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:mh.info.referringDomain(e)||"$direct"},"")},Kv.prototype.get_referrer_info=function(){return mh.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},Kv.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)},Kv.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},Kv.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},Kv.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},Kv.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},Kv.prototype.get_cross_subdomain=function(){return this.cross_subdomain},Kv.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},Kv.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],i=this._get_or_create_queue(kv),o=this._get_or_create_queue(Ov),s=this._get_or_create_queue(xv),a=this._get_or_create_queue(Pv),u=this._get_or_create_queue(Tv),c=this._get_or_create_queue(Rv,[]),l=this._get_or_create_queue(Iv,[]);r===Nv?(mh.extend(i,n),this._pop_from_people_queue(Pv,n),this._pop_from_people_queue(Tv,n),this._pop_from_people_queue(xv,n)):r===Bv?(mh.each(n,function(e,t){t in o||(o[t]=e)}),this._pop_from_people_queue(xv,n)):r===Lv?mh.each(n,function(e){mh.each([i,o,a,u],function(t){e in t&&delete t[e]}),mh.each(l,function(t){e in t&&delete t[e]}),s[e]=!0}):r===Uv?(mh.each(n,function(e,t){t in i?i[t]+=e:(t in a||(a[t]=0),a[t]+=e)},this),this._pop_from_people_queue(xv,n)):r===zv?(mh.each(n,function(e,t){mh.isArray(e)&&(t in u||(u[t]=[]),mh.each(e,function(e){mh.include(u[t],e)||u[t].push(e)}))}),this._pop_from_people_queue(xv,n)):r===Vv?(c.push(n),this._pop_from_people_queue(Iv,n)):r===qv&&(l.push(n),this._pop_from_people_queue(xv,n)),vh.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),vh.log(t),this.save()},Kv.prototype._pop_from_people_queue=function(e,t){var r=this.props[this._get_queue_key(e)];mh.isUndefined(r)||mh.each(t,function(t,n){e===Iv||e===Rv?mh.each(r,function(e){e[n]===t&&delete e[n]}):delete r[n]},this)},Kv.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},Kv.prototype._get_queue_key=function(e){return e===kv?Nv:e===Ov?Bv:e===xv?Lv:e===Pv?Uv:e===Iv?qv:e===Rv?Vv:e===Tv?zv:void vh.error("Invalid queue:",e)},Kv.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=mh.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)},Kv.prototype.set_event_timer=function(e,t){var r=this.load_prop(Wv)||{};r[e]=t,this.props[Wv]=r,this.save()},Kv.prototype.remove_event_timer=function(e){var t=(this.load_prop(Wv)||{})[e];return mh.isUndefined(t)||(delete this.props[Wv][e],this.save()),t};var Zv,Yv=function(e,t){throw new Error(e+" not available in this build.")},Jv="mixpanel",Qv="base64",Xv="$device:",ey=n.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,ty=!ey&&-1===ch.indexOf("MSIE")&&-1===ch.indexOf("Mozilla"),ry=null;oh.sendBeacon&&(ry=function(){return oh.sendBeacon.apply(oh,arguments)});var ny={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},iy={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:ny,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:Qv,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Bh,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Bh,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose
1:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_allowed_iframe_origins:[],record_block_class:/^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$/,record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,recording_event_triggers:{},record_idle_timeout_ms:18e5,record_mask_inputs:!0,record_max_ms:Yd,record_min_ms:0,record_network:!1,record_network_options:{},record_sessions_percent:0,recorder_src:null,targeting_src:null,lib_base_path:"https://cdn.mxpnl.com/libs/",remote_settings_mode:"disabled"},oy=!1,sy=function(){},ay=function(e,t,r){var i,s=r===Jv?Zv:Zv[r];if(s&&0===jv)i=s;else{if(s&&!mh.isArray(s))return void vh.error("You have already initialized "+r);i=new sy}if(i._cached_groups={},i._init(e,t,r),i.people=new Fv,i.people._init(i),!i.get_config("skip_first_touch_marketing")){var a=mh.info.campaignParams(null),u={},c=!1;mh.each(a,function(e,t){u["initial_"+t]=e,e&&(c=!0)}),c&&i.people.set_once(u)}o.DEBUG=o.DEBUG||i.get_config("debug");var l=0===jv?"module":"snippet";return n.dispatchEvent(new n.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:i,source:l,token:e,name:r,info:mh.info}})),!mh.isUndefined(s)&&mh.isArray(s)&&(i._execute_array.call(i.people,s.people),i._execute_array(s)),i};sy.prototype.init=function(e,t,r){if(mh.isUndefined(r))this.report_error("You must name your new library: init(token, config, name)");else{if(r!==Jv){var n=ay(e,t,r);return Zv[r]=n,n._loaded(),n}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},sy.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var i={};"api_payload_format"in t||(t.api_host||iy.api_host).match(/\.mixpanel\.com/)&&(i.api_payload_format="json");if(this.hooks={},this.set_config(mh.extend({},iy,i,t,{name:r,token:e,callback_fn:(r===Jv?r:Jv+"."+r)+"._jsc"})),this.recorderManager=new Sv({mixpanelInstance:this,getConfigFunc:mh.bind(this.get_config,this),setConfigFunc:mh.bind(this.set_config,this),getTabIdFunc:mh.bind(this.get_tab_id,this),reportErrorFunc:mh.bind(this.report_error,this),getDistinctIdFunc:mh.bind(this.get_distinct_id,this),recorderSrc:this.get_config("recorder_src"),targetingSrc:this.get_config("targeting_src"),libBasePath:this.get_config("lib_base_path"),loadExtraBundle:Yv}),this._jsc=Bh,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(mh.localStorage.is_supported(!0)&&ey){if(this.init_batchers(),ry&&n.addEventListener){var o=mh.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);n.addEventListener("pagehide",function(e){e.persisted&&o()}),n.addEventListener("visibilitychange",function(){"hidden"===sh.visibilityState&&o()})}}else this._batch_requests=!1,vh.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),mh.each(this.get_batcher_configs(),function(e){vh.log("Clearing batch queue "+e.queue_key),mh.localStorage.remove(e.queue_key)});this.persistence=this.cookie=new Kv(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=mh.UUID();this.get_distinct_id()||this.register_once({distinct_id:Xv+s,$device_id:s},""),this.flags=new yv({getFullApiRoute:mh.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:mh.bind(this.get_config,this),setConfigFunc:mh.bind(this.set_config,this),getPropertyFunc:mh.bind(this.get_property,this),trackingFunc:mh.bind(this.track,this),loadExtraBundle:Yv,targetingSrc:this.get_config("targeting_src")||this.get_config("lib_base_path")+u}),this.flags.init(),this.flags=this.flags,this.autocapture=new pv(this),this.autocapture.init(),this._init_tab_id();var a=this.get_config("remote_settings_mode");this.__session_recording_init_promise="strict"===a||"fallback"===a?this._fetch_remote_settings(a).then(mh.bind(function(){return this._check_and_start_session_recording()},this)):this._check_and_start_session_recording()},sy.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))vh.log("Tab ID initialization skipped due to disable_persistence config");
1else if(mh.sessionStorage.is_supported())try{var e=this.get_config("name")+"_"+this.get_config("token"),t="mp_tab_id_"+e,r="mp_gen_new_tab_id_"+e;!mh.sessionStorage.get(r)&&mh.sessionStorage.get(t)||mh.sessionStorage.set(t,"$tab-"+mh.UUID()),mh.sessionStorage.set(r,"1"),this.tab_id=mh.sessionStorage.get(t),n.addEventListener("beforeunload",function(){mh.sessionStorage.remove(r)})}catch(dy){this.report_error("Error initializing tab id",dy)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},sy.prototype.get_tab_id=function(){return this.tab_id||null},sy.prototype._check_and_start_session_recording=Yh(function(e){return this.recorderManager.checkAndStartSessionRecording(e)}),sy.prototype._start_recording_on_event=function(e,t){return this.recorderManager.startRecordingOnEvent(e,t)},sy.prototype.start_session_recording=function(){return this._check_and_start_session_recording(!0)},sy.prototype.stop_session_recording=function(){return this.recorderManager.stopSessionRecording()},sy.prototype.pause_session_recording=function(){return this.recorderManager.pauseSessionRecording()},sy.prototype.resume_session_recording=function(){return this.recorderManager.resumeSessionRecording()},sy.prototype.is_recording_heatmap_data=function(){return this.recorderManager.isRecordingHeatmapData()},sy.prototype.get_session_recording_properties=function(){return this.recorderManager.getSessionRecordingProperties()},sy.prototype.get_session_replay_url=function(){return this.recorderManager.getSessionReplayUrl()},sy.prototype.__get_recorder=function(){return this.recorderManager.getRecorder()},sy.prototype.__get_recording_init_promise=function(){return this.__session_recording_init_promise},sy.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=mh.info.campaignParams(null);mh.each(e,function(e,t){this.unregister(t)}.bind(this))}},sy.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(sh.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(mh.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(sh.referrer)},sy.prototype._dom_loaded=function(){mh.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||mh.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue},sy.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!oy)return this.__dom_loaded_queue.push([e,t]),!1;var r=(new e).init(this);return r.track.apply(r,t)},sy.prototype._prepare_callback=function(e,t){if(mh.isUndefined(e))return null;if(ey){return function(r){e(r,t)}}var r=this._jsc,n=""+Math.floor(1e8*Math.random()),i=this.get_config("callback_fn")+"["+n+"]";return r[n]=function(i){delete r[n],e(i,t)},i},sy.prototype._send_request=function(e,t,r,n){var i=!0;if(ty)return this.__request_queue.push(arguments),i;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;n||!mh.isFunction(r)&&"string"!==typeof r||(n=r,r=null),r=mh.extend(o,r||{}),ey||(r.method="GET");var a="POST"===r.method,u=ry&&a&&"sendbeacon"===r.transport.toLowerCase(),c=r.verbose;t.verbose&&(c=!0),this.get_config("test")&&(t.test=1),c&&(t.verbose=1),this.get_config("img")&&(t.img=1),ey||(n?t.callback=n:(c||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=(new Date).getTime().toString(),a&&(s="data="+encodeURIComponent(t.data),delete t.data),mh.extend(t,this.get_config("api_extra_query_params")),e+="?"+mh.HTTPBuildQuery(t);var l=this;if("img"in t){var f=sh.createElement("img");f.src=e,sh.body.appendChild(f)}else if(u){try{i=ry(e,s)}catch(v){l.report_error(v),i=!1}try{n&&n(i?1:0)}catch(v){l.report_error(v)}}else if(ey)try{var p=new XMLHttpRequest;p.open(r.method,e,!0);var d=this.get_config("xhr_headers");
1if(a&&(d["Content-Type"]="application/x-www-form-urlencoded"),mh.each(d,function(e,t){p.setRequestHeader(t,e)}),r.timeout_ms&&"undefined"!==typeof p.timeout){p.timeout=r.timeout_ms;var h=(new Date).getTime()}p.withCredentials=!0,p.onreadystatechange=function(){var e;if(4===p.readyState)if(200===p.status){if(n)if(c){var t;try{t=mh.JSONDecode(p.responseText)}catch(v){if(l.report_error(v),!r.ignore_json_errors)return;t=p.responseText}n(t)}else n(Number(p.responseText))}else if(e=p.timeout&&!p.status&&(new Date).getTime()-h>=p.timeout?"timeout":"Bad HTTP status: "+p.status+" "+p.statusText,l.report_error(e),n)if(c){var i=p.responseHeaders||{};n({status:0,httpStatusCode:p.status,error:e,retryAfter:i["Retry-After"]})}else n(0)},p.send(s)}catch(v){l.report_error(v),i=!1}else{var g=sh.createElement("script");g.type="text/javascript",g.async=!0,g.defer=!0,g.src=e;var m=sh.getElementsByTagName("script")[0];m.parentNode.insertBefore(g,m)}return i},sy.prototype._fetch_remote_settings=function(e){var t=this,r=function(){"strict"===e&&t.set_config({record_sessions_percent:0})};if(!n.AbortController)return vh.critical("Remote settings unavailable: missing minimum required APIs"),r(),Promise.resolve();var i=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,s={$lib_version:o.LIB_VERSION,mp_lib:"web",sdk_config:"1"},a=i+"?"+mh.HTTPBuildQuery(s),u=new AbortController,c=setTimeout(function(){u.abort()},500),l={method:"GET",headers:{Authorization:"Basic "+btoa(t.get_config("token")+":")},signal:u.signal};return n.fetch(a,l).then(function(e){return clearTimeout(c),e.ok?e.json():(vh.critical("Network response was not ok"),void r())}).then(function(e){if(e&&e.sdk_config&&e.sdk_config.config){var n=e.sdk_config.config,i={};mh.each(n,function(e,t){iy.hasOwnProperty(t)&&(i[t]=e)}),mh.isEmptyObject(i)?(vh.critical("No valid config keys found in remote settings."),r()):t.set_config(i)}else r()}).catch(function(e){clearTimeout(c),vh.critical("Failed to fetch remote settings",e),r()})},sy.prototype._execute_array=function(e){var t,r=[],n=[],i=[];mh.each(e,function(e){e&&(t=e[0],mh.isArray(t)?i.push(e):"function"===typeof e?e.call(this):mh.isArray(e)&&"alias"===t?r.push(e):mh.isArray(e)&&-1!==t.indexOf("track")&&"function"===typeof this[t]?i.push(e):n.push(e))},this);var o=function(e,t){mh.each(e,function(e){if(mh.isArray(e[0])){var r=t;mh.each(e,function(e){r=r[e[0]].apply(r,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};o(r,this),o(n,this),o(i,this)},sy.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},sy.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:e+"_ev"},people:{type:"people",api_name:"engage",queue_key:e+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:e+"_gr"}},this._batcher_configs},sy.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=mh.bind(function(e){return new dg(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:mh.bind(function(t,r,n){var i=this.get_config("api_routes");this._send_request(this.get_api_host(e.api_name)+"/"+i[e.api_name],this._encode_data_for_request(t),r,this._prepare_callback(n,t))},this),beforeSendHook:mh.bind(function(t){var r=this._run_hook("before_send_"+e.type,t);return r?r[0]:null},this),stopAllBatchingFunc:mh.bind(this.stop_batch_senders,this),usePersistence:!0})},this),t=this.get_batcher_configs();this.request_batchers={events:e(t.events),people:e(t.people),groups:e(t.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},sy.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,mh.each(this.request_batchers,function(e){e.start()}))},sy.prototype.stop_batch_senders=function(){this._batch_requests=!1,mh.each(this.request_batchers,function(e){e.stop(),e.clear()})},sy.prototype.push=function(e){this._execute_array([e])},sy.prototype.enable=function(e){var t,r,n,i;if("undefined"===typeof e)this._flags.disable_all_events=!1;else{for(t={},r=[],n=0;n<e.length;n++)t[e[n]]=!0;for(i=0;i<this.__disabled_events.length;i++)t[this.__disabled_events[i]]||r.push(this.__disabled_events[i]);this.__disabled_events=r}},sy.prototype.disable=function(e){"undefined"===typeof e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},sy.prototype._encode_data_for_request=function(e){var t=Uh(e);return this.get_config("api_payload_format")===Qv&&(t=mh.base64Encode(t)),{data:t}},sy.prototype._track_or_batch=function(e,t){var r=mh.truncate(e.data,255),n=e.endpoint,i=e.batcher,o=e.should_send_immediately,s=e.send_request_options||{};t=t||Bh;var a=!0,u=mh.bind(function(){return s.skip_hooks||(r=this._run_hook("before_send_"+e.type,r))&&(r=r[0]),r?(vh.log("MIXPANEL REQUEST:"),vh.log(r),this._send_request(n,this._encode_data_for_request(r),s,this._prepare_callback(t,r))):null},this);return this._batch_requests&&!o?i.enqueue(r).then(function(e){e?t(1,r):u()}):a=u(),a&&r},sy.prototype.track=Yh(function(e,t,r,n){var i;if(!r||!r.skip_hooks){if(null===(i=this._run_hook("before_track",e,t)))return;e=i[0],t=i[1]}n||"function"!==typeof r||(n=r,r=null);var o=(r=r||{}).transport;o&&(r.transport=o);var s=r.send_immediately;if("function"!==typeof n&&(n=Bh),mh.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=mh.extend({},t)).token=this.get_config("token");var a=this.persistence.remove_event_timer(e);if(!mh.isUndefined(a)){var u=(new Date).getTime()-a;t.$duration=parseFloat((u/1e3).toFixed(3))}this._set_default_superprops();var c=this.get_config("track_marketing")?mh.info.marketingParams():{};t=mh.extend({},mh.info.properties({mp_loader:this.get_config("mp_loader")}),c,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var l=this.get_config("property_blacklist");mh.isArray(l)?mh.each(l,function(e){delete t[e]}):this.report_error("Invalid value for property_blacklist config: "+l),this._start_recording_on_event(e,t);var f={event:e,properties:t};return i=this._track_or_batch({type:"events",data:f,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:s,send_request_options:r},n),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(e,t),i}n(0)}}),sy.prototype.set_group=Yh(function(e,t,r){mh.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)}),sy.prototype.add_group=Yh(function(e,t,r){var n=this.get_property(e),i={};return void 0===n?(i[e]=[t],this.register(i)):-1===n.indexOf(t)&&(n.push(t),i[e]=n,this.register(i)),this.people.union(e,t,r)}),sy.prototype.remove_group=Yh(function(e,t,r){var n=this.get_property(e);if(void 0!==n){var i=n.indexOf(t);i>-1&&(n.splice(i,1),this.register({group_key:n})),0===n.length&&this.unregister(e)}return this.people.remove(e,t,r)}),sy.prototype.track_with_groups=Yh(function(e,t,r,n){var i=mh.extend({},t||{});return mh.each(r,function(e,t){null!==e&&void 0!==e&&(i[t]=e)}),this.track(e,i,n)}),sy.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},sy.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},sy.prototype.get_group=function(e,t){var r=this._create_map_key(e,t),n=this._cached_groups[r];return void 0!==n&&n._group_key===e&&n._group_id===t||((n=new Mv)._init(this,e,t),this._cached_groups[r]=n),n},sy.prototype.track_pageview=Yh(function(e,t){"object"!==typeof e&&(e={});var r=(t=t||{}).event_name||"$mp_web_page_view",n=mh.extend(mh.info.mpPageViewProperties(),mh.info.campaignParams(),mh.info.clickParams()),i=mh.extend({},n,e);return this.track(r,i)}),sy.prototype.track_links=function(){return this._track_dom.call(this,Av,arguments)},sy.prototype.track_forms=function(){return this._track_dom.call(this,Cv,arguments)},sy.prototype.time_event=function(e){mh.isUndefined(e)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(e)||this.persistence.set_event_timer(e,(new Date).getTime())};var uy={persistent:!0},cy=function(e){var t;return t=mh.isObject(e)?e:mh.isUndefined(e)?{}:{days:e},mh.extend({},uy,t)};sy.prototype.register=function(e,t){var r=this._run_hook("before_register",e,t);if(null!==r){e=r[0],t=r[1];var n=cy(t);n.persistent?this.persistence.register(e,n.days):mh.extend(this.unpersisted_superprops,e)}},sy.prototype.register_once=function(e,t,r){var n=this._run_hook("before_register_once",e,t,r);if(null!==n){e=n[0],t=n[1],r=n[2];var i=cy(r);i.persistent?this.persistence.register_once(e,t,i.days):("undefined"===typeof t&&(t="None"),mh.each(e,function(e,r){this.unpersisted_superprops.hasOwnProperty(r)&&this.unpersisted_superprops[r]!==t||(this.unpersisted_superprops[r]=e)},this))}},sy.prototype.unregister=function(e,t){var r=this._run_hook("before_unregister",e,t);
1null!==r&&(e=r[0],t=r[1],(t=cy(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e])},sy.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)},sy.prototype.identify=function(e,t,r,n,i,o,s,a){var u=this._run_hook("before_identify",e);if(null===u)return-1;e=u[0];var c=this.get_distinct_id();if(e&&c!==e){if("string"===typeof e&&0===e.indexOf(Xv))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var l=c;this.register_once({$had_persisted_distinct_id:!0,$device_id:l},"")}e!==c&&e!==this.get_property($v)&&(this.unregister($v),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,i,o,s,a),e!==c&&this.track("$identify",{distinct_id:e,$anon_distinct_id:c},{skip_hooks:!0}),e!==c&&this.flags.fetchFlags().catch(function(){vh.error("[flags] Error fetching flags during identify")})},sy.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=mh.UUID();this.register_once({distinct_id:Xv+e,$device_id:e},""),this._check_and_start_session_recording()},sy.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},sy.prototype.alias=function(e,t){if(e===this.get_property(Gv))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return mh.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single($v,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},function(){r.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)},sy.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},sy.prototype.set_config=function(e){mh.isObject(e)&&(mh.extend(this.config,e),e.batch_size&&mh.each(this.request_batchers,function(e){e.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),o.DEBUG=o.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init(),mh.isObject(e.hooks)&&(this.hooks={},mh.each(e.hooks,function(e,t){if(mh.isFunction(e))this.hooks[t]=[e];else if(mh.isArray(e)){this.hooks[t]=[];for(var r=0;r<e.length;r++)mh.isFunction(e[r])||vh.critical("Invalid hook added. Hook is not a function"),this.hooks[t].push(e[r])}else vh.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this)))},sy.prototype.get_config=function(e){return this.config[e]},sy.prototype._run_hook=function(e){var t=th.call(arguments,1);return mh.each(this.hooks[e],function(r){if(null===t)return null;var n=r.apply(this,t);"undefined"===typeof n?(this.report_error(e+" hook did not return a valid value"),t=null):(mh.isArray(n)||(n=[n]),t.splice.apply(t,[0,n.length].concat(n)))},this),t},sy.prototype.get_property=function(e){return this.persistence.load_prop([e])},sy.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")},sy.prototype.toString=function(){var e=this.get_config("name");return e!==Jv&&(e=Jv+"."+e),e},sy.prototype._event_is_disabled=function(e){return mh.isBlockedUA(ch)||this._flags.disable_all_events||mh.include(this.__disabled_events,e)},sy.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&mh.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_tracking()||!this.get_config("opt_out_tracking_by_default")&&!mh.cookie.get("mp_optout")||(mh.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},sy.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else{if(!e||!e.enable_persistence)return;t=!1}this.get_config("disable_persistence")||this.persistence.disabled===t||this.persistence.set_disabled(t),t?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},sy.prototype._gdpr_call_func=function(e,t){return t=mh.extend({track:mh.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},t),mh.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie
1:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},sy.prototype.opt_in_tracking=function(e){e=mh.extend({enable_persistence:!0},e),this._gdpr_call_func(Wh,e),this._gdpr_update_persistence(e)},sy.prototype.opt_out_tracking=function(e){(e=mh.extend({clear_persistence:!0,delete_user:!0},e)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(Hh,e),this._gdpr_update_persistence(e)},sy.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(Kh,e)},sy.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(Zh,e)},sy.prototype.clear_opt_in_out_tracking=function(e){e=mh.extend({enable_persistence:!0},e),this._gdpr_call_func(Xh,e),this._gdpr_update_persistence(e)},sy.prototype.report_error=function(e,t){vh.error.apply(vh.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){vh.error(t)}},sy.prototype.add_hook=function(e,t){this.hooks[e]||(this.hooks[e]=[]),this.hooks[e].push(t)},sy.prototype.remove_hook=function(e,t){var r;this.hooks[e]&&(-1!==(r=this.hooks[e].indexOf(t))?this.hooks[e].splice(r,1):vh.log("remove_hook failed. Matching hook was not found"))},sy.prototype.init=sy.prototype.init,sy.prototype.reset=sy.prototype.reset,sy.prototype.enable=sy.prototype.enable,sy.prototype.disable=sy.prototype.disable,sy.prototype.time_event=sy.prototype.time_event,sy.prototype.track=sy.prototype.track,sy.prototype.track_links=sy.prototype.track_links,sy.prototype.track_forms=sy.prototype.track_forms,sy.prototype.track_pageview=sy.prototype.track_pageview,sy.prototype.register=sy.prototype.register,sy.prototype.register_once=sy.prototype.register_once,sy.prototype.unregister=sy.prototype.unregister,sy.prototype.identify=sy.prototype.identify,sy.prototype.alias=sy.prototype.alias,sy.prototype.name_tag=sy.prototype.name_tag,sy.prototype.set_config=sy.prototype.set_config,sy.prototype.get_config=sy.prototype.get_config,sy.prototype.get_api_host=sy.prototype.get_api_host,sy.prototype.get_property=sy.prototype.get_property,sy.prototype.get_distinct_id=sy.prototype.get_distinct_id,sy.prototype.toString=sy.prototype.toString,sy.prototype.opt_out_tracking=sy.prototype.opt_out_tracking,sy.prototype.opt_in_tracking=sy.prototype.opt_in_tracking,sy.prototype.has_opted_out_tracking=sy.prototype.has_opted_out_tracking,sy.prototype.has_opted_in_tracking=sy.prototype.has_opted_in_tracking,sy.prototype.clear_opt_in_out_tracking=sy.prototype.clear_opt_in_out_tracking,sy.prototype.get_group=sy.prototype.get_group,sy.prototype.set_group=sy.prototype.set_group,sy.prototype.add_group=sy.prototype.add_group,sy.prototype.remove_group=sy.prototype.remove_group,sy.prototype.add_hook=sy.prototype.add_hook,sy.prototype.remove_hook=sy.prototype.remove_hook,sy.prototype.track_with_groups=sy.prototype.track_with_groups,sy.prototype.start_batch_senders=sy.prototype.start_batch_senders,sy.prototype.stop_batch_senders=sy.prototype.stop_batch_senders,sy.prototype.start_session_recording=sy.prototype.start_session_recording,sy.prototype.stop_session_recording=sy.prototype.stop_session_recording,sy.prototype.pause_session_recording=sy.prototype.pause_session_recording,sy.prototype.resume_session_recording=sy.prototype.resume_session_recording,sy.prototype.get_session_recording_properties=sy.prototype.get_session_recording_properties,sy.prototype.get_session_replay_url=sy.prototype.get_session_replay_url,sy.prototype.get_tab_id=sy.prototype.get_tab_id,sy.prototype.DEFAULT_API_ROUTES=ny,sy.prototype.__get_recorder=sy.prototype.__get_recorder,sy.prototype.__get_recording_init_promise=sy.prototype.__get_recording_init_promise,Kv.prototype.properties=Kv.prototype.properties,Kv.prototype.update_search_keyword=Kv.prototype.update_search_keyword,Kv.prototype.update_referrer_info=Kv.prototype.update_referrer_info,Kv.prototype.get_cross_subdomain=Kv.prototype.get_cross_subdomain,Kv.prototype.clear=Kv.prototype.clear;var ly={},fy=function(){Zv.init=function(e,t,r){if(r)return Zv[r]||(Zv[r]=ly[r]=ay(e,t,r),Zv[r]._loaded()),Zv[r];var i=Zv;ly[Jv]?i=ly[Jv]:e&&((i=ay(e,t,Jv))._loaded(),ly[Jv]=i),Zv=i,1===jv&&(n[Jv]=
1Zv),mh.each(ly,function(e,t){t!==Jv&&(Zv[t]=e)}),Zv._=mh}};var py=(Yv=function(e,t){t()},jv=0,Zv=new sy,fy(),Zv.init(),function(){function e(){e.done||(e.done=!0,oy=!0,ty=!1,mh.each(ly,function(e){e._dom_loaded()}))}if(sh.addEventListener)"complete"===sh.readyState?e():sh.addEventListener("DOMContentLoaded",e,!1);else if(sh.attachEvent){sh.attachEvent("onreadystatechange",e);var t=!1;try{t=null===n.frameElement}catch(r){}sh.documentElement.doScroll&&t&&function t(){try{sh.documentElement.doScroll("left")}catch(r){return void setTimeout(t,1)}e()}()}mh.register_event(n,"load",e,!0)}(),Zv)},27624(e,t,r){"use strict";r.r(t),r.d(t,{getBottomSpace:()=>p,getStatusBarHeight:()=>f,ifIphoneX:()=>l,isDynamicIsland:()=>c,isIphoneX:()=>u});var n=r(79100),i=r(11602),o=r(52108);const s=e=>{const t=n.A.get("window"),r=n.A.get("screen");return e.some(e=>{let[n,i]=e;return t.height===i&&t.width===n||t.width===i&&t.height===n||r.height===i&&r.width===n||r.width===i&&r.height===n})},a=e=>{const t={44:[[375,812],[414,896]],47:[[390,844],[428,926]],48:[[414,896]],50:[[360,780],[375,812]],59:[[393,852],[430,932],[402,874],[420,912]],62:[[440,956]]};return Object.keys(t).some(r=>parseInt(r)===e&&s(t[r]))};function u(){return"ios"===i.A.OS&&!i.A.isPad&&!i.A.isTV&&s([[780,360],[812,375],[844,390],[896,414],[926,428],[852,393],[932,430],[874,402],[912,420],[956,440]])}function c(){return"ios"===i.A.OS&&!i.A.isPad&&!i.A.isTV&&(a(59)||a(62))}function l(e,t){return u()?e:t}function f(){return i.A.select({ios:u()?a(47)?47:a(48)?48:a(50)?50:a(59)?59:a(62)?62:44:20,android:o.A.currentHeight,default:0})}function p(){return u()?34:0}},42480(e,t,r){"use strict";r.d(t,{rL:()=>E,GM:()=>T});var n="persist:",i="persist/FLUSH",o="persist/REHYDRATE",s="persist/PAUSE",a="persist/PERSIST",u="persist/PURGE",c="persist/REGISTER";function l(e){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t,r,n){n.debug;var i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(r,!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},r);return e&&"object"===l(e)&&Object.keys(e).forEach(function(n){"_persist"!==n&&t[n]===r[n]&&(i[n]=e[n])}),i}function h(e){var t,r=e.blacklist||null,i=e.whitelist||null,o=e.transforms||[],s=e.throttle||0,a="".concat(void 0!==e.ke
1yPrefix?e.keyPrefix:n).concat(e.key),u=e.storage;t=!1===e.serialize?function(e){return e}:"function"===typeof e.serialize?e.serialize:g;var c=e.writeFailHandler||null,l={},f={},p=[],d=null,h=null;function m(){if(0===p.length)return d&&clearInterval(d),void(d=null);var e=p.shift(),r=o.reduce(function(t,r){return r.in(t,e,l)},l[e]);if(void 0!==r)try{f[e]=t(r)}catch(n){console.error("redux-persist/createPersistoid: error serializing state",n)}else delete f[e];0===p.length&&(Object.keys(f).forEach(function(e){void 0===l[e]&&delete f[e]}),h=u.setItem(a,t(f)).catch(y))}function v(e){return(!i||-1!==i.indexOf(e)||"_persist"===e)&&(!r||-1===r.indexOf(e))}function y(e){c&&c(e)}return{update:function(e){Object.keys(e).forEach(function(t){v(t)&&l[t]!==e[t]&&-1===p.indexOf(t)&&p.push(t)}),Object.keys(l).forEach(function(t){void 0===e[t]&&v(t)&&-1===p.indexOf(t)&&void 0!==l[t]&&p.push(t)}),null===d&&(d=setInterval(m,s)),l=e},flush:function(){for(;0!==p.length;)m();return h||Promise.resolve()}}}function g(e){return JSON.stringify(e)}function m(e){var t,r=e.transforms||[],i="".concat(void 0!==e.ke
1yPrefix?e.keyPrefix:n).concat(e.key),o=e.storage;e.debug;return t=!1===e.deserialize?function(e){return e}:"function"===typeof e.deserialize?e.deserialize:v,o.getItem(i).then(function(e){if(e)try{var n={},i=t(e);return Object.keys(i).forEach(function(e){n[e]=r.reduceRight(function(t,r){return r.out(t,e,i)},t(i[e]))}),n}catch(o){throw o}})}function v(e){return JSON.parse(e)}function y(e){0}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(r,!0).forEach(function(t){w(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function E(e,t){var r=void 0!==e.version?e.version:-1,c=(e.debug,void 0===e.stateReconciler?d:e.stateReconciler),l=e.getStoredState||m,f=void 0!==e.timeout?e.timeout:5e3,p=null,g=!1,v=!0,b=function(e){return e._persist.rehydrated&&p&&!v&&p.update(e),e};return function(d,m){var w=d||{},E=w._persist,A=S(w,["_persist"]);if(m.type===a){var C=!1,k=function(t,r){C||(m.rehydrate(e.key,t,r),C=!0)};if(f&&setTimeout(function(){!C&&k(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},f),v=!1,p||(p=h(e)),E)return _({},t(A,m),{_persist:E});if("function"!==typeof m.rehydrate||"function"!==typeof m.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return m.register(e.key),l(e).then(function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,r).then(function(e){k(e)},function(e){k(void 0,e)})},function(e){k(void 0,e)}),_({},t(A,m),{_persist:{version:r,rehydrated:!1}})}if(m.type===u)return g=!0,m.result(function(e){var t=e.storage,r="".concat(void 0!==e.ke
1yPrefix?e.keyPrefix:n).concat(e.key);return t.removeItem(r,y)}(e)),_({},t(A,m),{_persist:E});if(m.type===i)return m.result(p&&p.flush()),_({},t(A,m),{_persist:E});if(m.type===s)v=!0;else if(m.type===o){if(g)return _({},A,{_persist:_({},E,{rehydrated:!0})});if(m.key===e.key){var O=t(A,m),x=m.payload,P=_({},!1!==c&&void 0!==x?c(x,d,O,e):O,{_persist:_({},E,{rehydrated:!0})});return b(P)}}if(!E)return t(d,m);var I=t(A,m);return I===A?d:b(_({},I,{_persist:E}))}}var A=r(28690);function C(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(r,!0).forEach(function(t){x(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var P={registry:[],bootstrapped:!1},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c:return O({},e,{registry:[].concat(C(e.registry),[t.key])});case o:var r=e.registry.indexOf(t.key),n=C(e.registry);return n.splice(r,1),O({},e,{registry:n,bootstrapped:0===n.length});default:return e}};function T(e,t,r){var n=r||!1,l=(0,A.y$)(I,P,t&&t.enhancer?t.enhancer:void 0),f=function(e){l.dispatch({type:c,key:e})},p=function(t,r,i){var s={type:o,payload:r,err:i,key:t};e.dispatch(s),l.dispatch(s),n&&d.getState().bootstrapped&&(n(),n=!1)},d=O({},l,{purge:function(){var t=[];return e.dispatch({type:u,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:i,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:s})},persist:function(){e.dispatch({type:a,register:f,rehydrate:p})}});return t&&t.manualPersist||d.persist(),d}},12475(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},63072(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},29511(e,t,r){var n=r(95636);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},91847(e,t,r){var n=r(54893);e.exports=function(e,t){if(null==e)return{};var r,i,o=n(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.__esModule=!0,e.exports.default=e.exports},54893(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},28452(e,t,r){var n=r(73738).default,i=r(12475);e.exports=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},95636(e){function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}
1e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},80988(e,t,r){"use strict";r.d(t,{A:()=>a});const n=r(54452).bind({concatArrays:!0,ignoreUndefined:!0});function i(e,t){return new Promise((r,n)=>{try{const n=e();null===t||void 0===t||t(null,n),r(n)}catch(i){null===t||void 0===t||t(i),n(i)}})}function o(e,t,r){return Promise.all(e).then(e=>{var n;const i=null!==(n=null===r||void 0===r?void 0:r(e))&&void 0!==n?n:null;return null===t||void 0===t||t(null,i),Promise.resolve(i)},e=>(null===t||void 0===t||t(e),Promise.reject(e)))}const s={getItem:(e,t)=>i(()=>window.localStorage.getItem(e),t),setItem:(e,t,r)=>i(()=>window.localStorage.setItem(e,t),r),removeItem:(e,t)=>i(()=>window.localStorage.removeItem(e),t),mergeItem:(e,t,r)=>i(()=>function(e,t){const r=window.localStorage.getItem(e);if(r){const i=JSON.parse(r),o=JSON.parse(t),s=JSON.stringify(n(i,o));window.localStorage.setItem(e,s)}else window.localStorage.setItem(e,t)}(e,t),r),clear:e=>i(()=>window.localStorage.clear(),e),getAllKeys:e=>i(()=>{const e=window.localStorage.length,t=[];for(let r=0;r<e;r+=1){const e=window.localStorage.key(r)||"";t.push(e)}return t},e),flushGetRequests:()=>{},multiGet:(e,t)=>o(e.map(e=>s.getItem(e)),t,t=>t.map((t,r)=>[e[r],t])),multiSet:(e,t)=>o(e.map(e=>s.setItem(e[0],e[1])),t),multiRemove:(e,t)=>o(e.map(e=>s.removeItem(e)),t),multiMerge:(e,t)=>o(e.map(e=>s.mergeItem(e[0],e[1])),t)};const a=s},60799(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{U1:()=>Me,VP:()=>Oe,zD:()=>Ge,Nc:()=>xt,Z0:()=>Ye,i0:()=>Ne});var o=Symbol.for("immer-nothing"),s=Symbol.for("immer-draftable"),a=Symbol.for("immer-state");function u(e){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var c=Object,l=c.getPrototypeOf,f="constructor",p="prototype",d="configurable",h="enumerable",g="writable",m="value",v=e=>!!e&&!!e[a];function y(e){var t;return!!e&&(w(e)||O(e)||!!e[s]||!(null===(t=e[f])||void 0===t||!t[s])||x(e)||P(e))}var b=c[p][f].toString(),_=new WeakMap;function w(e){if(!e||!I(e))return!1;const t=l(e);if(null===t||t===c[p])return!0;const r=c.hasOwnProperty.call(t,f)&&t[f];if(r===Object)return!0;if(!T(r))return!1;let n=_.get(r);return void 0===n&&(n=Function.toString.call(r),_.set(r,n)),n===b}function S(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(0===E(e)){(r?Reflect.ownKeys(e):c.keys(e)).forEach(r=>{t(r,e[r],e)})}else e.forEach((r,n)=>t(n,r,e))}function E(e){const t=e[a];return t?t.type_:O(e)?1:x(e)?2:P(e)?3:0}var A=function(e,t){return 2===(arguments.length>2&&void 0!==arguments[2]?arguments[2]:E(e))?e.has(t):c[p].hasOwnProperty.call(e,t)},C=function(e,t){return 2===(arguments.length>2&&void 0!==arguments[2]?arguments[2]:E(e))?e.get(t):e[t]},k=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:E(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r};var O=Array.isArray,x=e=>e instanceof Map,P=e=>e instanceof Set,I=e=>"object"===typeof e,T=e=>"function"===typeof e,R=e=>"boolean"===typeof e;var D=e=>e.copy_||e.base_,M=e=>e.modified_?e.copy_:e.base_;function F(e,t){if(x(e))return new Map(e);if(P(e))return new Set(e);if(O(e))return Array[p].slice.call(e);const r=w(e);if(!0===t||"class_only"===t&&!r){const t=c.getOwnPropertyDescriptors(e);delete t[a];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){const i=r[n],o=t[i];!1===o[g]&&(o[g]=!0,o[d]=!0),(o.get||o.set)&&(t[i]={[d]:!0,[g]:!0,[h]:o[h],[m]:e[i]})}return c.create(l(e),t)}{const t=l(e);if(null!==t&&r)return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e);const o=c.create(t);return c.assign(o,e)}}function j(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return B(e)||v(e)||!y(e)||(E(e)>1&&c.defineProperties(e,{set:N,add:N,clear:N,delete:N}),c.freeze(e),t&&S(e,(e,t)=>{j(t,!0)},!1)),e}var N={[m]:function(){u(2)}};function B(e){return null===e||!I(e)||c.isFrozen(e)}var L="MapSet",U="Patches",q="ArrayMethods",V={};function z(e){const t=V[e];return t||u(0),t}var G,$=e=>!!V[e];var W=()=>G;function H(e,t){t&&(e.patchPlugin_=z(U),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function K(e){Z(e),e.drafts_.forEach(J),e.drafts_=null}function Z(e){e===G&&(G=e.parent_)}var Y=e=>G={drafts_:[],parent_:G,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:$(L)?z(L):void 0,arrayMethodsPlugin_:$(q)?z(q):void 0};function J(e){const t=e[a];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Q(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];if(void 0!==e&&e!==r){r[a].modified_&&(K(t),u(4)),y(e)&&(e=X(t,e));const{patchPlugin_:n}=t;n&&n.generateReplacementPatches_(r[a].base_,e,t)}else e=X(t,r);return function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&j(t,r)}(t,e,!0),K(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==o?e:void 0}function X(e,t){if(B(t))return t;const r=t[a];if(!r){return se(t,e.handledSet_,e)}if(!te(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){const{callbacks_:t}=r;if(t)for(;t.length>0;){t.pop()(e)}ie(r,e)}return r.copy_}function ee(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var te=(e,t)=>e.scope_===t,re=[];function ne(e,t,r,n){var i;const o=D(e),s=e.type_;if(void 0!==n){if(C(o,n,s)===t)return void k(o,n,r,s)}if(!e.draftLocations_){const t=e.draftLocations_=new Map;S(o,(e,r)=>{if(v(r)){const n=t.get(r)||[];n.push(e),t.set(r,n)}})}const a=null!==(i=e.draftLocations_.get(t))&&void 0!==i?i:re;for(const u of a)k(o,u,r,s)}function ie(e,t){var r,n;if(e.modified_&&!e.finalized_&&(3===e.type_||1===e.type_&&e.allIndicesReassigned_||(null!==(r=null===(n=e.assigned_)||void 0===n?void 0:n.size)&&void 0!==r?r:0)>0)){const{patchPlugin_:r}=t;if(r){const n=r.getPath(e);n&&r.generatePatches_(e,n,t)}ee(e)}}function oe(e,t,r){const{scope_:n}=e;if(v(r)){const i=r[a];te(i,n)&&i.callbacks_.push(function(){pe(e);const n=M(i);ne(e,r,n,t)})}else y(r)&&e.callbacks_.push(function(){const i=D(e);var o;3===e.type_?i.has(r)&&se(r,n.handledSet_,n):C(i,t,e.type_)===r&&n.drafts_.length>1&&!0===(null!==(o=e.assigned_.get(t))&&void 0!==o&&o)&&e.copy_&&se(C(e.copy_,t,e.type_),n.handledSet_,n)})}function se(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||v(e)||t.has(e)||!y(e)||B(e)||(t.add(e),S(e,(n,i)=>{if(v(i)){const t=i[a];if(te(t,r)){const r=M(t);k(e,n,r,e.type_),ee(t)}}else y(i)&&se(i,t,r)})),e}var ae={get(e,t){if(t===a)return e;let r=e.scope_.arrayMethodsPlugin_;const n=1===e.type_&&"string"===typeof t;if(n&&null!==r&&void 0!==r&&r.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);const i=D(e);if(!A(i,t,e.type_))return function(e,t,r){var n;const i=le(t,r);return i?m in i?i[m]:null===(n=i.get)||void 0===n?void 0:n.call(e.draft_):void 0}(e,i,t);const o=i[t];if(e.finalized_||!y(o))return o;if(n&&e.operationMethod&&null!==r&&void 0!==r&&r.isMutatingArrayMethod(e.operationMethod)&&function(e){const t=+e;return Number.isInteger(t)&&String(t)===e}(t))return o;if(o===ce(e.base_,t)){pe(e);const r=1===e.type_?+t:t,n=de(e.scope_,o,e,r);return e.copy_[r]=n}return o},has:(e,t)=>t in D(e),ownKeys:e=>Reflect.ownKeys(D(e)),set(e,t,r){const n=le(D(e),t);if(null!==n&&void 0!==n&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const n=ce(D(e),t),s=null===n||void 0===n?void 0:n[a];if(s&&s.base_===r)return e.copy_[t]=r,e.assigned_.set(t,!1),!0;if(((i=r)===(o=n)?0!==i||1/i===1/o:i!==i&&o!==o)&&(void 0!==r||A(e.base_,t,e.type_)))return!0;pe(e),fe(e)}var i,o;return e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_.set(t,!0),oe(e,t,r)),!0},deleteProperty:(e,t)=>(pe(e),void 0!==ce(e.base_,t)||t in e.base_?(e.assigned_.set(t,!1),fe(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const r=D(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{[g]:!0,[d]:1!==e.type_||"length"!==t,[h]:n[h],[m]:r[t]}:n},defineProperty(){u(11)},getPrototypeOf:e=>l(e.base_),setPrototypeOf(){u(12)}},ue={};for(let It in ae){let e=ae[It];ue[It]=function(){const t=arguments;return t[0]=t[0][0],e.apply(this,t)}}function ce(e,t){const r=e[a];return(r?D(r):e)[t]}function le(e,t){if(!(t in e))return;let r=l(e);for(;r;){const e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=l(r)}}function fe(e){e.modified_||(e.modified_=!0,e.parent_&&fe(e.parent_))}function pe(e){e.copy_||(e.assigned_=new Map,e.copy_=F(e.base_,e.scope_.immer_.useStrictShallowCopy_))}ue.deleteProperty=function(e,t){return ue.set.call(this,e,t,void 0)},ue.set=function(e,t,r){return ae.set.call(this,e[0],t,r,e[0])};function de(e,t,r,n){var i,o;const[s,a]=x(t)?z(L).proxyMap_(t,r):P(t)?z(L).proxySet_(t,r):function(e,t){const r=O(e),n={type_:r?1:0,scope_:t?t.scope_:W(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let i=n,o=ae;r&&(i=[n],o=ue);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,[a,n]}(t,r);return(null!==(i=null===r||void 0===r?void 0:r.scope_)&&void 0!==i?i:W()).drafts_.push(s),a.callbacks_=null!==(o=null===r||void 0===r?void 0:r.callbacks_)&&void 0!==o?o:[],a.key_=n,r&&void 0!==n?function(e,t,r){e.callbacks_.push(function(n){var i,o;const s=t;if(!s||!te(s,n))return;null===(i=n.mapSetPlugin_)||void 0===i||i.fixSetContents(s);const a=M(s);ne(e,null!==(o=s.draft_)&&void 0!==o?o:s,a,r),ie(s,n)})}(r,a,n):a.callbacks_.push(function(e){var t;null===(t=e.mapSetPlugin_)||void 0===t||t.fixSetContents(a);const{patchPlugin_:r}=e;a.modified_&&r&&r.generatePatches_(a,[],e)}),s}function he(e){if(!y(e)||B(e))return e;const t=e[a];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=F(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=F(e,!0);return S(r,(e,t)=>{k(r,e,he(t))},n),t&&(t.finalized_=!1),r}var ge=new class{constructor(e){var t=this;this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,r)=>{if(T(e)&&!T(t)){const r=t;t=e;const n=this;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];return n.produce(e,e=>t.call(this,e,...o))}}let n;if(T(t)||u(6),void 0===r||T(r)||u(7),y(e)){const i=Y(this),o=de(i,e,void 0);let s=!0;try{n=t(o),s=!1}finally{s?K(i):Z(i)}return H(i,r),Q(n,i)}if(!e||!I(e)){if(n=t(e),void 0===n&&(n=e),n===o&&(n=void 0),this.autoFreeze_&&j(n,!0),r){const t=[],i=[];z(U).generateReplacementPatches_(e,n,{patches_:t,inversePatches_:i}),r(t,i)}return n}u(1)},this.produceWithPatches=(e,r)=>{if(T(e))return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.produceWithPatches(r,t=>e(t,...i))};let n,i;return[this.produce(e,r,(e,t)=>{n=e,i=t}),n,i]},R(null===e||void 0===e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),R(null===e||void 0===e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),R(null===e||void 0===e?void 0:e.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){y(e)||u(8),v(e)&&(e=function(e){v(e)||u(10);return he(e)}(e));const t=Y(this),r=de(t,e,void 0);return r[a].isManual_=!0,Z(t),r}finishDraft(e,t){const r=e&&e[a];r&&r.isManual_||u(9);const{scope_:n}=r;return H(n,t),Q(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const n=t[r];
1if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));const n=z(U).applyPatches_;return v(e)?n(e,t):this.produce(e,e=>n(e,t))}},me=ge.produce,ve=r(28690);function ye(e){return t=>{let{dispatch:r,getState:n}=t;return t=>i=>"function"===typeof i?i(r,n,e):t(i)}}var be=ye(),_e=ye;const we=["reducerPath"];function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach(function(t){Ae(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ae(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ce="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?ve.Zz:ve.Zz.apply(null,arguments)},ke=("undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,e=>e&&"function"===typeof e.match);function Oe(e,t){function r(){if(t){let r=t(...arguments);if(!r)throw new Error(Pt(0));return Ee(Ee({type:e,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:e,payload:arguments.length<=0?void 0:arguments[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=t=>(0,ve.ve)(t)&&t.type===e,r}var xe=class e extends Array{constructor(){super(...arguments),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return super.concat.apply(this,t)}prepend(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return 1===r.length&&Array.isArray(r[0])?new e(...r[0].concat(this)):new e(...r.concat(this))}};function Pe(e){return y(e)?me(e,()=>{}):e}function Ie(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}var Te="RTK_autoBatch",Re=e=>t=>{setTimeout(t,e)},De=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"raf"};return t=>function(){const r=t(...arguments);let n=!0,i=!1,o=!1;const s=new Set,a="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!==typeof window&&window.requestAnimationFrame?(u=window.requestAnimationFrame,c=100,e=>{let t=!1;const r=()=>{t||(t=!0,cancelAnimationFrame(n),clearTimeout(i),e())},n=u(r),i=setTimeout(r,c)}):Re(10):"callback"===e.type?e.queueNotification:Re(e.timeout);var u,c;const l=()=>{o=!1,i&&(i=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){const t=r.subscribe(()=>n&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{var t;return n=!(null!==e&&void 0!==e&&null!==(t=e.meta)&&void 0!==t&&t[Te]),i=!n,i&&(o||(o=!0,a(l))),r.dispatch(e)}finally{n=!0}}})}};function Me(e){const t=function(e){const{thunk:t=!0,immutableCheck:r=!0,serializableCheck:n=!0,actionCreatorCheck:i=!0}=null!==e&&void 0!==e?e:{};let o=new xe;return t&&("boolean"===typeof t?o.push(be):o.push(_e(t.extraArgument))),o},{reducer:r,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:o=!0,preloadedState:s,enhancers:a}=e||{};let u,c;if("function"===typeof r)u=r;else{if(!(0,ve.Qd)(r))throw new Error(Pt(1));u=(0,ve.HY)(r)}c="function"===typeof n?n(t):t();let l=ve.Zz;i&&(l=Ce(Ee({trace:!1},"object"===typeof i&&i)));const f=(e=>function(t){const{autoBatch:r=!0}=null!==t&&void 0!==t?t:{};let n=new xe(e);return r&&n.push(De("object"===typeof r?r:void 0)),n})((0,ve.Tw)(...c));const p=l(..."function"===typeof a?a(f):f());return(0,ve.y$)(u,s,p)}function Fe(e){const t={},r=[];let n;const i={addCase(e,r){const n="string"===typeof e?e:e.type;if(!n)throw new Error(Pt(28));if(n in t)throw new Error(Pt(29));return t[n]=r,i},addAsyncThunk:(e,n)=>
1(n.pending&&(t[e.pending.type]=n.pending),n.rejected&&(t[e.rejected.type]=n.rejected),n.fulfilled&&(t[e.fulfilled.type]=n.fulfilled),n.settled&&r.push({matcher:e.settled,reducer:n.settled}),i),addMatcher:(e,t)=>(r.push({matcher:e,reducer:t}),i),addDefaultCase:e=>(n=e,i)};return e(i),[t,r,n]}var je=(e,t)=>ke(e)?e.match(t):e(t);function Ne(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>t.some(t=>je(t,e))}var Be=function(){let e="",t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;for(;t--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e},Le=["name","message","stack","code"],Ue=class{constructor(e,t){Ae(this,"payload",void 0),Ae(this,"meta",void 0),Ae(this,"_type",void 0),this.payload=e,this.meta=t}},qe=class{constructor(e,t){Ae(this,"payload",void 0),Ae(this,"meta",void 0),Ae(this,"_type",void 0),this.payload=e,this.meta=t}},Ve=e=>{if("object"===typeof e&&null!==e){const t={};for(const r of Le)"string"===typeof e[r]&&(t[r]=e[r]);return t}return{message:String(e)}},ze="External signal was aborted",Ge=(()=>{function e(e,t,r){const n=Oe(e+"/fulfilled",(e,t,r,n)=>({payload:e,meta:Ee(Ee({},n||{}),{},{arg:r,requestId:t,requestStatus:"fulfilled"})})),i=Oe(e+"/pending",(e,t,r)=>({payload:void 0,meta:Ee(Ee({},r||{}),{},{arg:t,requestId:e,requestStatus:"pending"})})),o=Oe(e+"/rejected",(e,t,n,i,o)=>({payload:i,error:(r&&r.serializeError||Ve)(e||"Rejected"),meta:Ee(Ee({},o||{}),{},{arg:n,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null===e||void 0===e?void 0:e.name),condition:"ConditionError"===(null===e||void 0===e?void 0:e.name)})}));return Object.assign(function(e){let{signal:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(a,u,c)=>{const l=null!==r&&void 0!==r&&r.idGenerator?r.idGenerator(e):Be(),f=new AbortController;let p,d;function h(e){d=e,f.abort()}s&&(s.aborted?h(ze):s.addEventListener("abort",()=>h(ze),{once:!0}));const g=async function(){let s;try{var g,m;let o=null===r||void 0===r||null===(g=r.condition)||void 0===g?void 0:g.call(r,e,{getState:u,extra:c});if(null!==(v=o)&&"object"===typeof v&&"function"===typeof v.then&&(o=await o),!1===o||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const y=new Promise((e,t)=>{p=()=>{t({name:"AbortError",message:d||"Aborted"})},f.signal.addEventListener("abort",p,{once:!0})});a(i(l,e,null===r||void 0===r||null===(m=r.getPendingMeta)||void 0===m?void 0:m.call(r,{requestId:l,arg:e},{getState:u,extra:c}))),s=await Promise.race([y,Promise.resolve(t(e,{dispatch:a,getState:u,extra:c,requestId:l,signal:f.signal,abort:h,rejectWithValue:(e,t)=>new Ue(e,t),fulfillWithValue:(e,t)=>new qe(e,t)})).then(t=>{if(t instanceof Ue)throw t;return t instanceof qe?n(t.payload,l,e,t.meta):n(t,l,e)})])}catch(y){s=y instanceof Ue?o(null,l,e,y.payload,y.meta):o(y,l,e)}finally{p&&f.signal.removeEventListener("abort",p)}var v;return r&&!r.dispatchConditionRejection&&o.match(s)&&s.meta.condition||a(s),s}();return Object.assign(g,{abort:h,requestId:l,arg:e,unwrap:()=>g.then($e)})}},{pending:i,rejected:o,fulfilled:n,settled:Ne(o,n),typePrefix:e})}return e.withTypes=()=>e,e})();function $e(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var We=Symbol.for("rtk-slice-createasyncthunk");function He(e,t){return`${e}/${t}`}function Ke(){var e;let{creators:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=null===t||void 0===t||null===(e=t.asyncThunk)||void 0===e?void 0:e[We];return function(e){const{name:t,reducerPath:n=t}=e;if(!t)throw new Error(Pt(11));const i=("function"===typeof e.reducers?e.reducers(function(){function e(e,t){return Ee({_reducerDefinitionType:"asyncThunk",payloadCreator:e},t)}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name](){return e(...arguments)}}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},o=Object.keys(i),s={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},a={addCase(e,t){const r="string"===typeof e?e:e.type;if(!r)throw new Error(Pt(12));if(r in s.sliceCaseReducersByType)throw new Error(Pt(13));return s.sliceCaseReducersByType[r]=t,a},addMatcher:(e,t)=>(s.sliceMatchers.push({matcher:e,reducer:t}),a),exposeAction:(e,t)=>(s.actionCreators[e]=t,a),exposeCaseReducer:(e,t)=>(s.sliceCaseReducersByName[e]=t,a)};function u(){const[t={},r=[],n]="function"===typeof e.extraReducers?Fe(e.extraReducers):[e.extraReducers],i=Ee(Ee({},t),s.sliceCaseReducersByType);return function(e,t){let r,[n,i,o]=Fe(t);if("function"===typeof e)r=()=>Pe(e());else{const t=Pe(e);r=()=>t}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r(),t=arguments.length>1?arguments[1]:void 0,s=[n[t.type],...i.filter(e=>{let{matcher:r}=e;return r(t)}).map(e=>{let{reducer:t}=e;return t})];return 0===s.filter(e=>!!e).length&&(s=[o]),s.reduce((e,r)=>{if(r){if(v(e)){const n=r(e,t);return void 0===n?e:n}if(y(e))return me(e,e=>r(e,t));{const n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}}return e},e)}return s.getInitialState=r,s}(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of s.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of r)e.addMatcher(t.matcher,t.reducer);n&&e.addDefaultCase(n)})}
1o.forEach(n=>{const o=i[n],s={reducerName:n,type:He(t,n),createNotation:"function"===typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(o)?function(e,t,r){let n,i,{type:o,reducerName:s,createNotation:a}=e;if("reducer"in t){if(a&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(t))throw new Error(Pt(17));n=t.reducer,i=t.prepare}else n=t;r.addCase(o,n).exposeCaseReducer(s,n).exposeAction(s,i?Oe(o,i):Oe(o))}(s,o,a):function(e,t,r,n){let{type:i,reducerName:o}=e;if(!n)throw new Error(Pt(18));const{payloadCreator:s,fulfilled:a,pending:u,rejected:c,settled:l,options:f}=t,p=n(i,s,f);r.exposeAction(o,p),a&&r.addCase(p.fulfilled,a);u&&r.addCase(p.pending,u);c&&r.addCase(p.rejected,c);l&&r.addMatcher(p.settled,l);r.exposeCaseReducer(o,{fulfilled:a||Je,pending:u||Je,rejected:c||Je,settled:l||Je})}(s,o,a,r)});const c=e=>e,l=new Map,f=new WeakMap;let p;function d(e,t){return p||(p=u()),p(e,t)}function h(){return p||(p=u()),p.getInitialState()}function g(t){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(e){let i=e[t];return"undefined"===typeof i&&r&&(i=Ie(f,n,h)),i}function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;const n=Ie(l,r,()=>new WeakMap);return Ie(n,t,()=>{const n={};for(const[o,s]of Object.entries(null!==(i=e.selectors)&&void 0!==i?i:{})){var i;n[o]=Ze(s,t,()=>Ie(f,t,h),r)}return n})}return{reducerPath:t,getSelectors:i,get selectors(){return i(n)},selectSlice:n}}const m=Ee(Ee({name:t,reducer:d,actions:s.actionCreators,caseReducers:s.sliceCaseReducersByName,getInitialState:h},g(n)),{},{injectInto(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reducerPath:r}=t,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,we);const o=null!==r&&void 0!==r?r:n;return e.inject({reducerPath:o,reducer:d},i),Ee(Ee({},m),g(o,!0))}});return m}}function Ze(e,t,r,n){function i(i){let o=t(i);"undefined"===typeof o&&n&&(o=r());for(var s=arguments.length,a=new Array(s>1?s-1:0),u=1;u<s;u++)a[u-1]=arguments[u];return e(o,...a)}return i.unwrapped=e,i}var Ye=Ke();function Je(){}var Qe="listener",Xe="completed",et="cancelled",tt=`task-${et}`,rt=`task-${Xe}`,nt=`${Qe}-${et}`,it=`${Qe}-${Xe}`,ot=class{constructor(e){Ae(this,"code",void 0),Ae(this,"name","TaskAbortError"),Ae(this,"message",void 0),this.code=e,this.message=`task ${et} (reason: ${e})`}},st=(e,t)=>{if("function"!==typeof e)throw new TypeError(Pt(32))},at=()=>{},ut=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:at;return e.catch(t),e},ct=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),lt=e=>{if(e.aborted)throw new ot(e.reason)};function ft(e,t){let r=at;return new Promise((n,i)=>{const o=()=>i(new ot(e.reason));e.aborted?o():(r=ct(e,o),t.finally(()=>r()).then(n,i))}).finally(()=>{r=at})}var pt=e=>t=>ut(ft(e,t).then(t=>(lt(e),t))),dt=e=>{const t=pt(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:ht}=Object,gt={},mt="listenerMiddleware",vt=(e,t)=>(r,n)=>{st(r);const i=new AbortController;var o;o=i,ct(e,()=>o.abort(e.reason));const s=(async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(r){return{status:r instanceof ot?"cancelled":"rejected",error:r}}finally{null===t||void 0===t||t()}})(async()=>{lt(e),lt(i.signal);const t=await r({pause:pt(i.signal),delay:dt(i.signal),signal:i.signal});return lt(i.signal),t},()=>i.abort(rt));return null!==n&&void 0!==n&&n.autoJoin&&t.push(s.catch(at)),{result:pt(e)(s),cancel(){i.abort(tt)}}},yt=(e,t)=>(r,n)=>ut((async(r,n)=>{lt(t);let i=()=>{};const o=[new Promise((t,n)=>{let o=e({predicate:r,effect:(e,r)=>{r.unsubscribe(),t([e,r.getState(),r.getOriginalState()])}});i=()=>{o(),n()}})];null!=n&&o.push(new Promise(e=>setTimeout(e,n,null)));try{const e=await ft(t,Promise.race(o));return lt(t),e}finally{i()}})(r,n)),bt=e=>{let{type:t,actionCreator:r,matcher:n,predicate:i,effect:o}=e;if(t)i=Oe(t).match;else if(r)t=r.type,i=r.match;else if(n)i=n;else if(!i)throw new Error(Pt(21));return st(o),{predicate:i,type:t,effect:o}},_t=ht(e=>{const{type:t,predicate:r,effect:n}=bt(e);
1return{id:Be(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw new Error(Pt(22))}}},{withTypes:()=>_t}),wt=(e,t)=>{const{type:r,effect:n,predicate:i}=bt(t);return Array.from(e.values()).find(e=>("string"===typeof r?e.type===r:e.predicate===i)&&e.effect===n)},St=e=>{e.pending.forEach(e=>{e.abort(nt)})},Et=(e,t,r)=>{try{e(t,r)}catch(n){setTimeout(()=>{throw n},0)}},At=ht(Oe(`${mt}/add`),{withTypes:()=>At}),Ct=Oe(`${mt}/removeAll`),kt=ht(Oe(`${mt}/remove`),{withTypes:()=>kt}),Ot=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];console.error(`${mt}/error`,...t)},xt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Map,r=new Map,{extra:n,onError:i=Ot}=e;st(i);const o=e=>{var r;return(e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),null!==t&&void 0!==t&&t.cancelActive&&St(e)}))(null!==(r=wt(t,e))&&void 0!==r?r:_t(e))};ht(o,{withTypes:()=>o});const s=e=>{const r=wt(t,e);return r&&(r.unsubscribe(),e.cancelActive&&St(r)),!!r};ht(s,{withTypes:()=>s});const a=async(e,s,a,u)=>{const c=new AbortController,l=yt(o,c.signal),f=[];try{e.pending.add(c),(e=>{var t;const n=null!==(t=r.get(e))&&void 0!==t?t:0;r.set(e,n+1)})(e),await Promise.resolve(e.effect(s,ht({},a,{getOriginalState:u,condition:(e,t)=>l(e,t).then(Boolean),take:l,delay:dt(c.signal),pause:pt(c.signal),extra:n,signal:c.signal,fork:vt(c.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,r)=>{e!==c&&(e.abort(nt),r.delete(e))})},cancel:()=>{c.abort(nt),e.pending.delete(c)},throwIfCancelled:()=>{lt(c.signal)}})))}catch(p){p instanceof ot||Et(i,p,{raisedBy:"effect"})}finally{await Promise.all(f),c.abort(it),(e=>{var t;const n=null!==(t=r.get(e))&&void 0!==t?t:1;1===n?r.delete(e):r.set(e,n-1)})(e),e.pending.delete(c)}},u=((e,t)=>()=>{for(const e of t.keys())St(e);e.clear()})(t,r);return{middleware:e=>r=>n=>{if(!(0,ve.ve)(n))return r(n);if(At.match(n))return o(n.payload);if(Ct.match(n))return void u();if(kt.match(n))return s(n.payload);let c=e.getState();const l=()=>{if(c===gt)throw new Error(Pt(23));return c};let f;try{if(f=r(n),t.size>0){const r=e.getState(),o=Array.from(t.values());for(const t of o){let o=!1;try{o=t.predicate(n,r,c)}catch(p){o=!1,Et(i,p,{raisedBy:"predicate"})}o&&a(t,n,e,l)}}}finally{c=gt}return f},startListening:o,stopListening:s,clearListeners:u}};function Pt(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}},28690(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}r.d(t,{HY:()=>p,Qd:()=>l,Tw:()=>h,Zz:()=>d,ve:()=>g,y$:()=>f});var a=(()=>"function"===typeof Symbol&&Symbol.observable||"@@observable")(),u=()=>Math.random().toString(36).substring(7).split("").join("."),c={INIT:`@@redux/INIT${u()}`,REPLACE:`@@redux/REPLACE${u()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${u()}`};function l(e){if("object"!==typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function f(e,t,r){if("function"!==typeof e)throw new Error(s(2));if("function"===typeof t&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error(s(0));if("function"===typeof t&&"undefined"===typeof r&&(r=t,t=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error(s(1));return r(f)(e,t)}let n=e,i=t,o=new Map,u=o,p=0,d=!1;function h(){u===o&&(u=new Map,o.forEach((e,t)=>{u.set(t,e)}))}function g(){if(d)throw new Error(s(3));return i}function m(e){if("function"!==typeof e)throw new Error(s(4));if(d)throw new Error(s(5));let t=!0;h();const r=p++;return u.set(r,e),function(){if(t){if(d)throw new Error(s(6));t=!1,h(),u.delete(r),o=null}}}function v(e){if(!l(e))throw new Error(s(7));if("undefined"===typeof e.type)throw new Error(s(8));if("string"!==typeof e.type)throw new Error(s(17));if(d)throw new Error(s(9));try{d=!0,i=n(i,e)}finally{d=!1}
1return(o=u).forEach(e=>{e()}),e}v({type:c.INIT});return{dispatch:v,subscribe:m,getState:g,replaceReducer:function(e){if("function"!==typeof e)throw new Error(s(10));n=e,v({type:c.REPLACE})},[a]:function(){const e=m;return{subscribe(t){if("object"!==typeof t||null===t)throw new Error(s(11));function r(){const e=t;e.next&&e.next(g())}r();return{unsubscribe:e(r)}},[a](){return this}}}}}function p(e){const t=Object.keys(e),r={};for(let s=0;s<t.length;s++){const n=t[s];0,"function"===typeof e[n]&&(r[n]=e[n])}const n=Object.keys(r);let i;try{!function(e){Object.keys(e).forEach(t=>{const r=e[t];if("undefined"===typeof r(void 0,{type:c.INIT}))throw new Error(s(12));if("undefined"===typeof r(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error(s(13))})}(r)}catch(o){i=o}return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(i)throw i;let o=!1;const a={};for(let i=0;i<n.length;i++){const u=n[i],c=r[u],l=e[u],f=c(l,t);if("undefined"===typeof f){t&&t.type;throw new Error(s(14))}a[u]=f,o=o||f!==l}return o=o||n.length!==Object.keys(e).length,o?a:e}}function d(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?e=>e:1===t.length?t[0]:t.reduce((e,t)=>function(){return e(t(...arguments))})}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>(r,n)=>{const o=e(r,n);let a=()=>{throw new Error(s(15))};const u={getState:o.getState,dispatch:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return a(e,...r)}},c=t.map(e=>e(u));return a=d(...c)(o.dispatch),i(i({},o),{},{dispatch:a})}}function g(e){return l(e)&&"type"in e&&"string"===typeof e.type}}}]);
2//# sourceMappingURL=972.843caa90.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.