1/*! For license information please see app-2ea268d2c02be97c4c2f.js.LICENSE.txt */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{"+924":function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var r=n("9AQC");function o(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function i(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var o=Math.max(e-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),i<r&&(n+=" {snip}"),n}function a(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var o=t[r];try{n.push(String(o))}catch(i){n.push("[value cannot be serialized]")}}return n.join(e)}function s(t,e){return!!Object(r.k)(t)&&(Object(r.j)(e)?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}},"+A1k":function(t,e,n){"use strict";(function(t,r){n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return s}));var o=n("RQwI");function i(){return!Object(o.a)()&&"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function a(t,e){return t.require(e)}function s(t){var e;try{e=a(r,t)}catch(o){}try{var n=a(r,"process").cwd;e=a(r,n()+"/node_modules/"+t)}catch(o){}return e}}).call(this,n("8oxB"),n("3UD+")(t))},"+ZDr":function(t,e,n){"use strict";var r=n("TqRt");e.__esModule=!0,e.withPrefix=h,e.withAssetPrefix=function(t){return h(t,v())},e.navigateTo=e.replace=e.push=e.navigate=e.default=void 0;var o=r(n("8OQS")),i=r(n("PJYZ")),a=r(n("VbXa")),s=r(n("pVnL")),c=r(n("17x9")),u=r(n("q1tI")),p=n("YwZP"),l=n("LYrO"),f=n("cu4x");e.parsePath=f.parsePath;var d=function(t){return null==t?void 0:t.startsWith("/")};function h(t,e){var n,r;if(void 0===e&&(e=m()),!b(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;var o=null!==(n=null!==(r=e)&&void 0!==r?r:v())&&void 0!==n?n:"/";return""+((null==o?void 0:o.endsWith("/"))?o.slice(0,-1):o)+(t.startsWith("/")?t:"/"+t)}var v=function(){return"/researchblog"},m=function(){return"/researchblog"},b=function(t){return t&&!t.startsWith("http://")&&!t.startsWith("https://")&&!t.startsWith("//")};var g=function(t,e){return"number"==typeof t?t:b(t)?d(t)?h(t):function(t,e){return d(t)?t:(0,l.resolve)(t,e)}(t,e):t},y={activeClassName:c.default.string,activeStyle:c.default.object,partiallyActive:c.default.bool};function _(t){return u.default.createElement(p.Location,null,(function(e){var n=e.location;return u.default.createElement(O,(0,s.default)({},t,{_location:n}))}))}var O=function(t){function e(e){var n;(n=t.call(this,e)||this).defaultGetProps=function(t){var e=t.isPartiallyCurrent,r=t.isCurrent;return(n.props.partiallyActive?e:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,s.default)({},n.props.style,n.props.activeStyle)}:null};var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.handleRef=n.handleRef.bind((0,i.default)(n)),n}(0,a.default)(e,t);var n=e.prototype;return n._prefetch=function(){var t=window.location.pathname;this.props._location&&this.props._location.pathname&&(t=this.props._location.pathname);var e=g(this.props.to,t),n=(0,f.parsePath)(e).pathname;t!==n&&___loader.enqueue(n)},n.componentDidUpdate=function(t,e){this.props.to===t.to||this.state.IOSupported||this._prefetch()},n.componentDidMount=function(){this.state.IOSupported||this._prefetch()},n.componentWillUnmount=function(){if(this.io){var t=this.io,e=t.instance,n=t.el;e.unobserve(n),e.disconnect()}},n.handleRef=function(t){var e,n,r,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=(e=t,n=function(){o._prefetch()},(r=new window.IntersectionObserver((function(t){t.forEach((function(t){e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(r.unobserve(e),r.disconnect(),n())}))}))).observe(e),{instance:r,el:e}))},n.render=function(){var t=this,e=this.props,n=e.to,r=e.getProps,i=void 0===r?this.defaultGetProps:r,a=e.onClick,c=e.onMouseEnter,l=(e.activeClassName,e.activeStyle,e.innerRef,e.partiallyActive,e.state),d=e.replace,h=e._location,v=(0,o.default)(e,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"]);var m=g(n,h.pathname);return b(m)?u.default.createElement(p.Link,(0,s.default)({to:m,state:l,getProps:i,innerRef:this.handleRef,onMouseEnter:function(t){c&&c(t),___loader.hovering((0,f.parsePath)(m).pathname)},onClick:function(e){if(a&&a(e),!(0!==e.button||t.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();var n=d,r=encodeURI(m)===h.pathname;"boolean"!=typeof d&&r&&(n=!0),window.___navigate(m,{state:l,replace:n})}return!0}},v)):u.default.createElement("a",(0,s.default)({href:m},v))},e}(u.default.Component);
2O.propTypes=(0,s.default)({},y,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var j=function(t,e,n){return console.warn('The "'+t+'" method is now deprecated and will be removed in Gatsby v'+n+'. Please use "'+e+'" instead.')},w=u.default.forwardRef((function(t,e){return u.default.createElement(_,(0,s.default)({innerRef:e},t))}));e.default=w;e.navigate=function(t,e){window.___navigate(g(t,window.location.pathname),e)};var S=function(t){j("push","navigate",3),window.___push(g(t,window.location.pathname))};e.push=S;e.replace=function(t){j("replace","navigate",3),window.___replace(g(t,window.location.pathname))};e.navigateTo=function(t){return j("navigateTo","navigate",3),S(t)}},"/hTd":function(t,e,n){"use strict";e.__esModule=!0,e.SessionStorage=void 0;var r=function(){function t(){}var e=t.prototype;return e.read=function(t,e){var n=this.getStateKey(t,e);try{var r=window.sessionStorage.getItem(n);return r?JSON.parse(r):0}catch(o){return window&&window.___GATSBY_REACT_ROUTER_SCROLL&&window.___GATSBY_REACT_ROUTER_SCROLL[n]?window.___GATSBY_REACT_ROUTER_SCROLL[n]:0}},e.save=function(t,e,n){var r=this.getStateKey(t,e),o=JSON.stringify(n);try{window.sessionStorage.setItem(r,o)}catch(i){window&&window.___GATSBY_REACT_ROUTER_SCROLL||(window.___GATSBY_REACT_ROUTER_SCROLL={}),window.___GATSBY_REACT_ROUTER_SCROLL[r]=JSON.parse(o)}},e.getStateKey=function(t,e){var n="@@scroll|"+t.pathname;return null==e?n:n+"|"+e},t}();e.SessionStorage=r},1:function(t,e,n){n("j36g"),t.exports=n("UxWs")},"17SF":function(t,e,n){"use strict";var r=n("TqRt")(n("284h")),o=/(confirmation|invite|recovery|email_change)_token=([^&]+)/,i=/error=access_denied&error_description=403/,a=/access_token=/;e.onInitialClientRender=function(t,e){var s=e.enableIdentityWidget,c=void 0===s||s,u=e.publicPath,p=void 0===u?"admin":u,l=(document.location.hash||"").replace(/^#\/?/,"");c&&(o.test(l)||i.test(l)||a.test(l))&&Promise.resolve().then((function(){return(0,r.default)(n("lI74"))})).then((function(t){var e=t.default;e.on("init",(function(t){t||e.on("login",(function(){document.location.href="/researchblog/"+p+"/"}))}
2)),e.init()}))}},"1Y/n":function(t,e,n){var r=n("2oRo"),o=n("We1y"),i=n("ewvW"),a=n("RK3t"),s=n("B/qT"),c=r.TypeError,u=function(t){return function(e,n,r,u){o(n);var p=i(e),l=a(p),f=s(p),d=t?f-1:0,h=t?-1:1;if(r<2)for(;;){if(d in l){u=l[d],d+=h;break}if(d+=h,t?d<0:f<=d)throw c("Reduce of empty array with no initial value")}for(;t?d>=0:f>d;d+=h)d in l&&(u=n(u,l[d],d,p));return u}};t.exports={left:u(!1),right:u(!0)}},"284h":function(t,e,n){var r=n("cDf5").default;function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=a?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(i,s,c):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i},t.exports.__esModule=!0,t.exports.default=t.exports},"2bdC":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("6hSO"),o=n("RQwI"),i=n("8LbN"),a=n("FGHR");function s(){Object(r.a)("error",c),Object(r.a)("unhandledrejection",c)}function c(){var t=Object(a.a)();if(t){Object(o.b)()&&i.c.log("[Tracing] Transaction: internal_error -> Global error occured"),t.setStatus("internal_error")}}},"2mql":function(t,e,n){"use strict";var r=n("r36Y"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(t){return r.isMemo(t)?a:s[t.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,p=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&t(e,o,r)}var a=p(n);l&&(a=a.concat(l(n)));for(var s=c(e),v=c(n),m=0;m<a.length;++m){var b=a[m];if(!(i[b]||r&&r[b]||v&&v[b]||s&&s[b])){var g=f(n,b);try{u(e,b,g)}catch(y){}}}}return e}},"30RF":function(t,e,n){"use strict";n.d(e,"d",(function(){return p})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return f})),n.d(e,"b",(function(){return d}));var r=n("LYrO"),o=n("cSJ8"),i=function(t){return void 0===t?t:"/"===t?"/":"/"===t.charAt(t.length-1)?t.slice(0,-1):t},a=new Map,s=[],c=function(t){var e=decodeURIComponent(t);return Object(o.a)(e,"/researchblog").split("#")[0].split("?")[0]};function u(t){return t.startsWith("/")||t.startsWith("https://")||t.startsWith("http://")?t:new URL(t,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var p=function(t){s=t},l=function(t){var e=h(t),n=s.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=Object(r.pick)(n,e);return o?i(o.route.originalPath):null},f=function(t){var e=h(t),n=s.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=Object(r.pick)(n,e);return o?o.params:{}},d=function(t){var e=c(u(t));if(a.has(e))return a.get(e);var n=l(e);return n||(n=h(t)),a.set(e,n),n},h=function(t){var e=c(u(t));return"/index.html"===e&&(e="/"),e=i(e)}},"3BY2":function(t,e,n){"use strict";e.onRouteUpdate=function(t){var e=t.location;if("function"!=typeof gtag)return null;if(e&&void 0!==window.excludeGtagPaths&&window.excludeGtagPaths.some((function(t){return t.test(e.pathname)})))return null;var n=function(){var t=e?e.pathname+e.search+e.hash:void 0;window.gtag("event","page_view",{page_path:t})};return"requestAnimationFrame"in window?requestAnimationFrame((function(){requestAnimationFrame(n)})):setTimeout(n,32),null}},"3UD+":function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},"3uz+":function(t,e,n){"use strict";
2e.__esModule=!0,e.useScrollRestoration=function(t){var e=(0,i.useLocation)(),n=(0,o.useContext)(r.ScrollContext),a=(0,o.useRef)();return(0,o.useLayoutEffect)((function(){if(a.current){var r=n.read(e,t);a.current.scrollTo(0,r||0)}}),[]),{ref:a,onScroll:function(){a.current&&n.save(e,t,a.current.scrollTop)}}};var r=n("Enzk"),o=n("q1tI"),i=n("YwZP")},"4Ssk":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"c",(function(){return p}));var r=n("RQwI"),o=n("z+RT"),i=n("8LbN");function a(){if(!("fetch"in Object(o.a)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function s(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function c(){if(!a())return!1;var t=Object(o.a)();if(s(t.fetch))return!0;var e=!1,n=t.document;if(n&&"function"==typeof n.createElement)try{var c=n.createElement("iframe");c.hidden=!0,n.head.appendChild(c),c.contentWindow&&c.contentWindow.fetch&&(e=s(c.contentWindow.fetch)),n.head.removeChild(c)}catch(u){Object(r.b)()&&i.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",u)}return e}function u(){if(!a())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}function p(){var t=Object(o.a)(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}},"5yr3":function(t,e,n){"use strict";var r=function(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).slice().map((function(t){t(n)})),(t["*"]||[]).slice().map((function(t){t(e,n)}))}}}();e.a=r},"6PXS":function(t,e,n){"use strict";n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return c})),n.d(e,"g",(function(){return u})),n.d(e,"e",(function(){return p})),n.d(e,"h",(function(){return l})),n.d(e,"f",(function(){return f})),n.d(e,"c",(function(){return d})),n.d(e,"b",(function(){return h}));n("ToJy");var r=n("mrSG"),o=n("vFt6"),i=n("9AQC"),a=n("+924");function s(t,e,n){if(e in t){var r=t[e],o=n(r);if("function"==typeof o)try{u(o,r)}catch(i){}t[e]=o}}function c(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function u(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}function p(t){return t.__sentry_original__}function l(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}function f(t){if(Object(i.d)(t)){var e=t,n={message:e.message,name:e.name,stack:e.stack};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}if(Object(i.f)(t)){var a=t,s={};s.type=a.type;try{s.target=Object(i.c)(a.target)?Object(o.b)(a.target):Object.prototype.toString.call(a.target)}catch(u){s.target="<unknown>"}try{s.currentTarget=Object(i.c)(a.currentTarget)?Object(o.b)(a.currentTarget):Object.prototype.toString.call(a.currentTarget)}catch(u){s.currentTarget="<unknown>"}for(var c in"undefined"!=typeof CustomEvent&&Object(i.g)(t,CustomEvent)&&(s.detail=a.detail),a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=a[c]);return s}return t}function d(t,e){void 0===e&&(e=40);var n=Object.keys(f(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(a.d)(n[0],e);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>e))return r===n.length?o:Object(a.d)(o,e)}return""}function h(t){var e,n;if(Object(i.h)(t)){var o=t,a={};try{for(var s=Object(r.f)(Object.keys(o)),c=s.next();!c.done;c=s.next()){var u=c.value;void 0!==o[u]&&(a[u]=h(o[u]))}}catch(p){e={error:p}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return a}return Array.isArray(t)?t.map(h):t}},"6hSO":function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r,o=n("mrSG"),i=n("RQwI"),a=n("z+RT"),s=n("9AQC"),c=n("8LbN"),u=n("6PXS"),p=n("pRiV"),l=n("4Ssk"),f=Object(a.a)(),d={},h={};function v(t){if(!h[t])switch(h[t]=!0,t){case"console":!function(){if(!("console"in f))return;c.a.forEach((function(t){t in f.console&&Object(u.d)(f.console,t,(function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];b("console",{args:n,level:t}),e&&e.apply(f.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in f))return;var t=b.bind(null,"dom"),e=j(t,!0);f.document.addEventListener("click",e,!1),f.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((function(e){var n=f[e]&&f[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(u.d)(n,"addEventListener",(function(e){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=i[n]=i[n]||{refCount:0};if(!a.handler){var s=j(t);a.handler=s,e.call(this,n,s,o)}a.refCount+=1}catch(c){}return e.call(this,n,r,o)}})),Object(u.d)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[e];i&&(i.refCount-=1,i.refCount<=0&&(t.call(this,e,i.handler,r),i.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(a){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in f))return;var t=XMLHttpRequest.prototype;Object(u.d)(t,"open",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this,o=e[1],i=r.__sentry_xhr__={method:Object(s.k)(e[0])?e[0].toUpperCase():e[0],url:e[1]};
2Object(s.k)(o)&&"POST"===i.method&&o.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var a=function(){if(4===r.readyState){try{i.status_code=r.status}catch(t){}b("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&"function"==typeof r.onreadystatechange?Object(u.d)(r,"onreadystatechange",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return a(),t.apply(r,e)}})):r.addEventListener("readystatechange",a),t.apply(r,e)}})),Object(u.d)(t,"send",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),b("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!Object(l.d)())return;Object(u.d)(f,"fetch",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r={args:e,fetchData:{method:g(e),url:y(e)},startTimestamp:Date.now()};return b("fetch",Object(o.a)({},r)),t.apply(f,e).then((function(t){return b("fetch",Object(o.a)(Object(o.a)({},r),{endTimestamp:Date.now(),response:t})),t}),(function(t){throw b("fetch",Object(o.a)(Object(o.a)({},r),{endTimestamp:Date.now(),error:t})),t}))}}))}();break;case"history":!function(){if(!Object(l.c)())return;var t=f.onpopstate;function e(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=e.length>2?e[2]:void 0;if(o){var i=r,a=String(o);r=a,b("history",{from:i,to:a})}return t.apply(this,e)}}f.onpopstate=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=f.location.href,i=r;if(r=o,b("history",{from:i,to:o}),t)try{return t.apply(this,e)}catch(a){}},Object(u.d)(f.history,"pushState",e),Object(u.d)(f.history,"replaceState",e)}();break;case"error":w=f.onerror,f.onerror=function(t,e,n,r,o){return b("error",{column:r,error:o,line:n,msg:t,url:e}),!!w&&w.apply(this,arguments)};break;case"unhandledrejection":S=f.onunhandledrejection,f.onunhandledrejection=function(t){return b("unhandledrejection",t),!S||S.apply(this,arguments)};break;default:return void(Object(i.b)()&&c.c.warn("unknown instrumentation type:",t))}}function m(t,e){d[t]=d[t]||[],d[t].push(e),v(t)}function b(t,e){var n,r;if(t&&d[t])try{for(var a=Object(o.f)(d[t]||[]),s=a.next();!s.done;s=a.next()){var u=s.value;try{u(e)}catch(l){Object(i.b)()&&c.c.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Object(p.b)(u)+"\nError:",l)}}}catch(f){n={error:f}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}function g(t){return void 0===t&&(t=[]),"Request"in f&&Object(s.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function y(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in f&&Object(s.g)(t[0],Request)?t[0].url:String(t[0])}var _,O;function j(t,e){return void 0===e&&(e=!1),function(n){if(n&&O!==n&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(n){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===_||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(n){}return!1}(O,n))&&(t({event:n,name:r,global:e}),O=n),clearTimeout(_),_=f.setTimeout((function(){_=void 0}),1e3)}}}var w=null;var S=null},"7hJ6":function(t,e,n){"use strict";e.__esModule=!0,e.useScrollRestoration=e.ScrollContainer=e.ScrollContext=void 0;var r=n("Enzk");
2e.ScrollContext=r.ScrollHandler;var o=n("hd9s");e.ScrollContainer=o.ScrollContainer;var i=n("3uz+");e.useScrollRestoration=i.useScrollRestoration},"8LbN":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return f}));var r=n("mrSG"),o=n("RQwI"),i=n("z+RT"),a=Object(i.a)(),s="Sentry Logger ",c=["debug","info","warn","error","log","assert"];function u(t){var e=Object(i.a)();if(!("console"in e))return t();var n=e.console,r={};c.forEach((function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)}));var o=t();return Object.keys(r).forEach((function(t){n[t]=r[t]})),o}var p=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&u((function(){var e;(e=a.console).log.apply(e,Object(r.e)([s+"[Log]:"],t))}))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&u((function(){var e;(e=a.console).warn.apply(e,Object(r.e)([s+"[Warn]:"],t))}))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&u((function(){var e;(e=a.console).error.apply(e,Object(r.e)([s+"[Error]:"],t))}))},t}(),l=a.__SENTRY__||{},f=l.logger||new p;Object(o.b)()&&(l.logger=f,a.__SENTRY__=l)},"8OQS":function(t,e){t.exports=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o},t.exports.__esModule=!0,t.exports.default=t.exports},"8oxB":function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],p=!1,l=-1;function f(){p&&c&&(p=!1,c.length?u=c.concat(u):l=-1,u.length&&d())}function d(){if(!p){var t=s(f);p=!0;for(var e=u.length;e;){for(c=u,u=[];++l<e;)c&&c[l].run();l=-1,e=u.length}c=null,p=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new h(t,e)),1!==u.length||p||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},"8yT3":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function o(t){var e=t.match(r);if(e){var n=void 0;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}}},"9/Zf":function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return p})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return f}));n("PF2M"),n("IZzc");var r=n("mrSG"),o=n("z+RT"),i=n("6PXS");n("+924");function a(){var t=Object(o.a)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function s(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}function c(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function u(t){var e=t.message,n=t.event_id;if(e)return e;var r=c(t);return r?r.type&&r.value?r.type+": "+r.value:r.type||r.value||n||"<unknown>":n||"<unknown>"}function p(t,e,n){var r=t.exception=t.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=e||""),i.type||(i.type=n||"Error")}function l(t,e){var n=c(t);if(n){var o=n.mechanism;if(n.mechanism=Object(r.a)(Object(r.a)(Object(r.a)({},{type:"generic",handled:!0}),o),e),e&&"data"in e){var i=Object(r.a)(Object(r.a)({},o&&o.data),e.data);n.mechanism.data=i}}}function f(t){if(t&&t.__sentry_captured__)return!0;try{Object(i.a)(t,"__sentry_captured__",!0)}catch(e){}return!1}},"94VI":function(t,e){e.polyfill=function(t){return t}},"9AQC":function(t,e,n){"use strict";n.d(e,"d",(function(){return o}
2)),n.d(e,"e",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"k",(function(){return u})),n.d(e,"i",(function(){return p})),n.d(e,"h",(function(){return l})),n.d(e,"f",(function(){return f})),n.d(e,"c",(function(){return d})),n.d(e,"j",(function(){return h})),n.d(e,"m",(function(){return v})),n.d(e,"l",(function(){return m})),n.d(e,"g",(function(){return b}));var r=Object.prototype.toString;function o(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return b(t,Error)}}function i(t,e){return r.call(t)==="[object "+e+"]"}function a(t){return i(t,"ErrorEvent")}function s(t){return i(t,"DOMError")}function c(t){return i(t,"DOMException")}function u(t){return i(t,"String")}function p(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function l(t){return i(t,"Object")}function f(t){return"undefined"!=typeof Event&&b(t,Event)}function d(t){return"undefined"!=typeof Element&&b(t,Element)}function h(t){return i(t,"RegExp")}function v(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function m(t){return l(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function b(t,e){try{return t instanceof e}catch(n){return!1}}},"9Xx/":function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return u})),n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,i=e.origin,a=e.protocol,c=e.host,u=e.hostname,p=e.port,l=t.location.pathname;!l&&o&&s&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:i,protocol:a,host:c,hostname:u,port:p,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},i=function(t,e){var n=[],i=o(t),a=!1,s=function(){};return{get location(){return i},get transitioning(){return a},_onTransitionComplete:function(){a=!1,s()},listen:function(e){n.push(e);var r=function(){i=o(t),e({location:i,action:"POP"})};return t.addEventListener("popstate",r),function(){t.removeEventListener("popstate",r),n=n.filter((function(t){return t!==e}))}},navigate:function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=c.state,p=c.replace,l=void 0!==p&&p;if("number"==typeof e)t.history.go(e);else{u=r({},u,{key:Date.now()+""});try{a||l?t.history.replaceState(u,null,e):t.history.pushState(u,null,e)}catch(d){t.location[l?"replace":"assign"](e)}}i=o(t),a=!0;var f=new Promise((function(t){return s=t}));return n.forEach((function(t){return t({location:i,action:"PUSH"})})),f}}},a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],i=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState:function(t,e,n){var a=n.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),i.push(t)},replaceState:function(t,e,n){var a=n.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},i[r]=t},go:function(t){var e=r+t;e<0||e>i.length-1||(r=e)}}}},s=!("undefined"==typeof window||!window.document||!window.document.createElement),c=i(s?window:a()),u=c.navigate},"9hXx":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default=function(t,e){if(!Array.isArray(e))return"manifest.webmanifest";var n=e.find((function(e){return t.startsWith(e.start_url)}));return n?"manifest_"+n.lang+".webmanifest":"manifest.webmanifest"}},BOnt:function(t,e,n){"use strict";var r=n("TqRt"),o=n("Wbzz"),i=r(n("hqbx"));e.onClientEntry=function(t,e){void 0===e&&(e={}),(0,i.default)(window,e,(function(t){(0,o.navigate)(t)}))}},Copi:function(t,e,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,p=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case l:case f:case a:case c:case s:case h:return t;default:switch(t=t&&t.$$typeof){case p:case d:case b:case m:case u:return t;default:return e}}case i:return e}}}function w(t){return j(t)===f}e.AsyncMode=l,e.ConcurrentMode=f,e.ContextConsumer=p,e.ContextProvider=u,e.Element=o,e.ForwardRef=d,e.Fragment=a,e.Lazy=b,e.Memo=m,e.Portal=i,e.Profiler=c,e.StrictMode=s,e.Suspense=h,e.isAsyncMode=function(t){return w(t)||j(t)===l},e.isConcurrentMode=w,e.isContextConsumer=function(t){return j(t)===p},e.isContextProvider=function(t){return j(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return j(t)===d},e.isFragment=function(t){return j(t)===a},e.isLazy=function(t){return j(t)===b},e.isMemo=function(t){return j(t)===m},e.isPortal=function(t){return j(t)===i},e.isProfiler=function(t){return j(t)===c},e.isStrictMode=function(t){return j(t)===s}
2,e.isSuspense=function(t){return j(t)===h},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===f||t===c||t===s||t===h||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===b||t.$$typeof===m||t.$$typeof===u||t.$$typeof===p||t.$$typeof===d||t.$$typeof===y||t.$$typeof===_||t.$$typeof===O||t.$$typeof===g)},e.typeOf=j},Cpvd:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return m}));var r=n("mrSG"),o=n("lW6c"),i=n("RQwI"),a=n("8LbN"),s=n("+A1k"),c=n("2bdC"),u=n("MBYv"),p=n("EldZ"),l=n("FGHR");function f(){var t=this.getScope();if(t){var e=t.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function d(t,e,n){return Object(l.b)(e)?void 0!==t.sampled?(t.setMetadata({transactionSampling:{method:"explicitly_set"}}),t):("function"==typeof e.tracesSampler?(r=e.tracesSampler(n),t.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):void 0!==n.parentSampled?(r=n.parentSampled,t.setMetadata({transactionSampling:{method:"inheritance"}})):(r=e.tracesSampleRate,t.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),function(t){if(isNaN(t)||"number"!=typeof t&&"boolean"!=typeof t)return Object(i.b)()&&a.c.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got "+JSON.stringify(t)+" of type "+JSON.stringify(typeof t)+"."),!1;if(t<0||t>1)return Object(i.b)()&&a.c.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got "+t+"."),!1;return!0}(r)?r?(t.sampled=Math.random()<r,t.sampled?(Object(i.b)()&&a.c.log("[Tracing] starting "+t.op+" transaction - "+t.name),t):(Object(i.b)()&&a.c.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = "+Number(r)+")"),t)):(Object(i.b)()&&a.c.log("[Tracing] Discarding transaction because "+("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),t.sampled=!1,t):(Object(i.b)()&&a.c.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)):(t.sampled=!1,t);var r}function h(t,e){var n=this.getClient(),o=n&&n.getOptions()||{},i=new p.a(t,this);return(i=d(i,o,Object(r.a)({parentSampled:t.parentSampled,transactionContext:t},e))).sampled&&i.initSpanRecorder(o._experiments&&o._experiments.maxSpans),i}function v(t,e,n,o,i){var a=t.getClient(),s=a&&a.getOptions()||{},c=new u.b(e,t,n,o);return(c=d(c,s,Object(r.a)({parentSampled:e.parentSampled,transactionContext:e},i))).sampled&&c.initSpanRecorder(s._experiments&&s._experiments.maxSpans),c}function m(){var e;(e=Object(o.d)()).__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=h),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=f)),Object(s.b)()&&function(){var e=Object(o.d)();if(e.__SENTRY__){var n={mongodb:function(){return new(Object(s.a)(t,"./integrations/node/mongo").Mongo)},mongoose:function(){return new(Object(s.a)(t,"./integrations/node/mongo").Mongo)({mongoose:!0})},mysql:function(){return new(Object(s.a)(t,"./integrations/node/mysql").Mysql)},pg:function(){return new(Object(s.a)(t,"./integrations/node/postgres").Postgres)}},i=Object.keys(n).filter((function(t){return!!Object(s.c)(t)})).map((function(t){try{return n[t]()}catch(e){return}})).filter((function(t){return t}));i.length>0&&(e.__SENTRY__.integrations=Object(r.e)(e.__SENTRY__.integrations||[],i))}}(),Object(c.a)()}}).call(this,n("3UD+")(t))},DCUk:function(t,e,n){},E9XD:function(t,e,n){"use strict";var r=n("I+eb"),o=n("1Y/n").left,i=n("pkCn"),a=n("LQDL"),s=n("YF1G");r({target:"Array",proto:!0,forced:!i("reduce")||!s&&a>79&&a<83},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},EldZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));n("HiXI"),n("E9XD");var r=n("mrSG"),o=n("lW6c"),i=n("9AQC"),a=n("RQwI"),s=n("8LbN"),c=n("6PXS"),u=n("SYqL"),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r._measurements={},r._hub=Object(o.b)(),Object(i.g)(n,o.a)&&(r._hub=n),r.name=e.name||"",r.metadata=e.metadata||{},r._trimEnd=e.trimEnd,r.transaction=r,r}return Object(r.b)(e,t),e.prototype.setName=function(t){this.name=t},e.prototype.initSpanRecorder=function(t){void 0===t&&(t=1e3),this.spanRecorder||(this.spanRecorder=new u.b(t)),this.spanRecorder.add(this)},e.prototype.setMeasurements=function(t){this._measurements=Object(r.a)({},t)},e.prototype.setMetadata=function(t){this.metadata=Object(r.a)(Object(r.a)({},this.metadata),t)},e.prototype.finish=function(e){var n=this;if(void 0===this.endTimestamp){if(this.name||(Object(a.b)()&&s.c.warn("Transaction has no name, falling back to `<unlabeled transaction>
2`."),this.name="<unlabeled transaction>"),t.prototype.finish.call(this,e),!0===this.sampled){var r=this.spanRecorder?this.spanRecorder.spans.filter((function(t){return t!==n&&t.endTimestamp})):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((function(t,e){return t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t})).endTimestamp);var o={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:this.metadata};return Object.keys(this._measurements).length>0&&(Object(a.b)()&&s.c.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),o.measurements=this._measurements),Object(a.b)()&&s.c.log("[Tracing] Finishing "+this.op+" transaction: "+this.name+"."),this._hub.captureEvent(o)}Object(a.b)()&&s.c.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var i=this._hub.getClient(),c=i&&i.getTransport&&i.getTransport();c&&c.recordLostEvent&&c.recordLostEvent("sample_rate","transaction")}},e.prototype.toContext=function(){var e=t.prototype.toContext.call(this);return Object(c.b)(Object(r.a)(Object(r.a)({},e),{name:this.name,trimEnd:this._trimEnd}))},e.prototype.updateWithContext=function(e){var n;return t.prototype.updateWithContext.call(this,e),this.name=null!=(n=e.name)?n:"",this._trimEnd=e.trimEnd,this},e}(u.a)},Enzk:function(t,e,n){"use strict";var r=n("284h"),o=n("TqRt");e.__esModule=!0,e.ScrollHandler=e.ScrollContext=void 0;var i=o(n("PJYZ")),a=o(n("VbXa")),s=r(n("q1tI")),c=o(n("17x9")),u=n("/hTd"),p=s.createContext(new u.SessionStorage);
2e.ScrollContext=p,p.displayName="GatsbyScrollContext";var l=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this)._stateStorage=new u.SessionStorage,e.scrollListener=function(){var t=e.props.location.key;t&&e._stateStorage.save(e.props.location,t,window.scrollY)},e.windowScroll=function(t,n){e.shouldUpdateScroll(n,e.props)&&window.scrollTo(0,t)},e.scrollToHash=function(t,n){var r=document.getElementById(t.substring(1));r&&e.shouldUpdateScroll(n,e.props)&&r.scrollIntoView()},e.shouldUpdateScroll=function(t,n){var r=e.props.shouldUpdateScroll;return!r||r.call((0,i.default)(e),t,n)},e}(0,a.default)(e,t);var n=e.prototype;return n.componentDidMount=function(){var t;window.addEventListener("scroll",this.scrollListener);var e=this.props.location,n=e.key,r=e.hash;n&&(t=this._stateStorage.read(this.props.location,n)),t?this.windowScroll(t,void 0):r&&this.scrollToHash(decodeURI(r),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(t){var e,n=this.props.location,r=n.hash,o=n.key;o&&(e=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),t):this.windowScroll(e,t)},n.render=function(){return s.createElement(p.Provider,{value:this._stateStorage},this.props.children)},e}(s.Component);e.ScrollHandler=l,l.propTypes={shouldUpdateScroll:c.default.func,children:c.default.element.isRequired,location:c.default.object.isRequired}},FGHR:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s}));var r=n("lW6c");function o(t){var e=Object(r.b)().getClient(),n=t||e&&e.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function i(t){var e=(t||Object(r.b)()).getScope();return e&&e.getTransaction()}function a(t){return t/1e3}function s(t){return 1e3*t}},Fffm:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u}));var r=n("mrSG"),o=n("9AQC"),i=n("wCA9"),a=n("6PXS"),s=n("pRiV");function c(t,e,n){void 0===e&&(e=1/0),void 0===n&&(n=1/0);try{return function t(e,n,s,c,u){void 0===s&&(s=1/0);void 0===c&&(c=1/0);void 0===u&&(u=Object(i.a)());var l=Object(r.c)(u,2),f=l[0],d=l[1];if(0===s)return function(t){if("string"==typeof t)return t;var e=Object.prototype.toString.call(t);if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=p(t);return Object(o.i)(n)?n:e}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var h=p(n,e);if(Object(o.i)(h))return h;var v=Object(a.f)(n),m=Array.isArray(n)?[]:{};if(f(n))return"[Circular ~]";var b=0;for(var g in v)if(Object.prototype.hasOwnProperty.call(v,g)){if(b>=c){m[g]="[MaxProperties ~]";break}b+=1;var y=v[g];m[g]=t(g,y,s-1,c,u)}return d(n),m}("",t,e,n)}catch(s){return"**non-serializable**"}}function u(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r,o=c(t,e);return r=o,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?u(t,e-1,n):o}function p(e,n){return"domain"===n&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":void 0!==t&&e===t?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":Object(o.l)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Object(s.b)(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":e}}).call(this,n("yLpj"))},FqrG:function(t,e,n){var r=n("eez4");e.onClientEntry=function(t,e){var n=!!(window&&window.__SENTRY__&&window.__SENTRY__.hub&&window.__SENTRY__.hub.getClient()),o=function(t){if(null==t)return!1;if(1==Object.keys(t).length&&Array.isArray(t.plugins)&&0==t.plugins.length)return!1;return!0}(e);if(n)return window.Sentry=r,void(o&&console.warn("Sentry Logger [Warn]: The SDK was initialized in the Sentry config file, but options were found in the Gatsby config. These have been ignored, merge them to the Sentry config if you want to use them.\nLearn more about the Gatsby SDK on https://docs.sentry.io/platforms/javascript/guides/gatsby/"));o?(r.init(Object.assign({release:void 0,dsn:""},e)),window.Sentry=r):console.error("Sentry Logger [Error]: No config for the Gatsby SDK was found.\nLearn how to configure it on https://docs.sentry.io/platforms/javascript/guides/gatsby/")}},GddB:function(t,e,n){"use strict";n("eTiZ"),n("DCUk")},HR75:function(t,e,n){"use strict";n.d(e,"c",(function(){return o}
2)),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a}));n("p532");var r=n("9AQC");function o(t){return new a((function(e){e(t)}))}function i(t){return new a((function(e,n){n(t)}))}var a=function(){function t(t){var e=this;this._state=0,this._handlers=[],this._resolve=function(t){e._setResult(1,t)},this._reject=function(t){e._setResult(2,t)},this._setResult=function(t,n){0===e._state&&(Object(r.m)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)}))}};try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}return t.prototype.then=function(e,n){var r=this;return new t((function(t,o){r._handlers.push([!1,function(n){if(e)try{t(e(n))}catch(r){o(r)}else t(n)},function(e){if(n)try{t(n(e))}catch(r){o(r)}else o(e)}]),r._executeHandlers()}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var n=this;return new t((function(t,r){var o,i;return n.then((function(t){i=!1,o=t,e&&e()}),(function(t){i=!0,o=t,e&&e()})).then((function(){i?r(o):t(o)}))}))},t}()},IOVJ:function(t,e,n){"use strict";var r=n("dI71"),o=n("q1tI"),i=n.n(o),a=n("emEt"),s=n("xtsi"),c=n("30RF"),u=function(t){function e(){return t.apply(this,arguments)||this}return Object(r.a)(e,t),e.prototype.render=function(){var t=Object.assign({},this.props,{params:Object.assign({},Object(c.c)(this.props.location.pathname),this.props.pageResources.json.pageContext.__params),pathContext:this.props.pageContext}),e=Object(s.apiRunner)("replaceComponentRenderer",{props:this.props,loader:a.publicLoader})[0]||Object(o.createElement)(this.props.pageResources.component,Object.assign({},t,{key:this.props.path||this.props.pageResources.page.path}));return Object(s.apiRunner)("wrapPageElement",{element:e,props:t},e,(function(e){return{element:e.result,props:t}})).pop()},e}(i.a.Component);e.a=u},JeVI:function(t){t.exports=JSON.parse("[]")},KjyA:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return p}));var r=n("mrSG"),o=n("9AQC"),i=n("kdvv"),a=n("HR75"),s=n("z+RT"),c=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=Object(r.e)(e._breadcrumbs),n._tags=Object(r.a)({},e._tags),n._extra=Object(r.a)({},e._extra),n._contexts=Object(r.a)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=Object(r.e)(e._eventProcessors),n._requestSession=e._requestSession),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=Object(r.a)(Object(r.a)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=Object(r.a)(Object(r.a)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=Object(r.a)(Object(r.a)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=Object(r.a)(Object(r.a)({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=Object(r.a)(Object(r.a)({},this._contexts),((n={}
2)[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t=this.getSpan();return t&&t.transaction},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=Object(r.a)(Object(r.a)({},this._tags),e._tags),this._extra=Object(r.a)(Object(r.a)({},this._extra),e._extra),this._contexts=Object(r.a)(Object(r.a)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):Object(o.h)(e)&&(e=e,this._tags=Object(r.a)(Object(r.a)({},this._tags),e.tags),this._extra=Object(r.a)(Object(r.a)({},this._extra),e.extra),this._contexts=Object(r.a)(Object(r.a)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n="number"==typeof e?Math.min(e,100):100;if(n<=0)return this;var o=Object(r.a)({timestamp:Object(i.b)()},t);return this._breadcrumbs=Object(r.e)(this._breadcrumbs,[o]).slice(-n),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=Object(r.a)(Object(r.a)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=Object(r.a)(Object(r.a)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=Object(r.a)(Object(r.a)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=Object(r.a)(Object(r.a)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=Object(r.a)({trace:this._span.getTraceContext()},t.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(t.tags=Object(r.a)({transaction:n},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=Object(r.e)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(Object(r.e)(u(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=Object(r.a)(Object(r.a)({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,i){var s=this;return void 0===i&&(i=0),new a.a((function(a,c){var u=t[i];if(null===e||"function"!=typeof u)a(e);else{var p=u(Object(r.a)({},e),n);Object(o.m)(p)?p.then((function(e){return s._notifyEventProcessors(t,e,n,i+1).then(a)})).then(null,c):s._notifyEventProcessors(t,p,n,i+1).then(a).then(null,c)}}))},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(e){e(t)})),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function u(){var t=Object(s.a)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function p(t){u().push(t)}},LYrO:function(t,e,n){"use strict";n.r(e),n.d(e,"startsWith",(function(){return i})),n.d(e,"pick",(function(){return a})),n.d(e,"match",(function(){return s})),n.d(e,"resolve",(function(){return c})),n.d(e,"insertParams",(function(){return u})),n.d(e,"validateRedirect",(function(){return p})),n.d(e,"shallowCompare",(function(){return y}
2));var r=n("QLaP"),o=n.n(r),i=function(t,e){return t.substr(0,e.length)===e},a=function(t,e){for(var n=void 0,r=void 0,i=e.split("?")[0],a=m(i),s=""===a[0],c=v(t),u=0,p=c.length;u<p;u++){var f=!1,h=c[u].route;if(h.default)r={route:h,params:{},uri:e};else{for(var b=m(h.path),y={},_=Math.max(a.length,b.length),O=0;O<_;O++){var j=b[O],w=a[O];if(d(j)){y[j.slice(1)||"*"]=a.slice(O).map(decodeURIComponent).join("/");break}if(void 0===w){f=!0;break}var S=l.exec(j);if(S&&!s){-1===g.indexOf(S[1])||o()(!1);var x=decodeURIComponent(w);y[S[1]]=x}else if(j!==w){f=!0;break}}if(!f){n={route:h,params:y,uri:"/"+a.slice(0,O).join("/")};break}}}return n||r||null},s=function(t,e){return a([{path:t}],e)},c=function(t,e){if(i(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],a=e.split("?")[0],s=m(r),c=m(a);if(""===s[0])return b(a,o);if(!i(s[0],".")){var u=c.concat(s).join("/");return b(("/"===a?"":"/")+u,o)}for(var p=c.concat(s),l=[],f=0,d=p.length;f<d;f++){var h=p[f];".."===h?l.pop():"."!==h&&l.push(h)}return b("/"+l.join("/"),o)},u=function(t,e){var n=t.split("?"),r=n[0],o=n[1],i=void 0===o?"":o,a="/"+m(r).map((function(t){var n=l.exec(t);return n?e[n[1]]:t})).join("/"),s=e.location,c=(s=void 0===s?{}:s).search,u=(void 0===c?"":c).split("?")[1]||"";return a=b(a,i,u)},p=function(t,e){var n=function(t){return f(t)};return m(t).filter(n).sort().join("/")===m(e).filter(n).sort().join("/")},l=/^:(.+)/,f=function(t){return l.test(t)},d=function(t){return t&&"*"===t[0]},h=function(t,e){return{route:t,score:t.default?0:m(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?f(e)?t+=2:d(e)?t-=5:t+=3:t+=1,t}),0),index:e}},v=function(t){return t.map(h).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},m=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},b=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t+((n=n.filter((function(t){return t&&t.length>0})))&&n.length>0?"?"+n.join("&"):"")},g=["uri","path"],y=function(t,e){var n=Object.keys(t);return n.length===Object.keys(e).length&&n.every((function(n){return e.hasOwnProperty(n)&&t[n]===e[n]}))}},LeKB:function(t,e,n){t.exports=[{plugin:n("q9nr"),options:{plugins:[],maxWidth:960,withWebp:!0,linkImagesToOriginal:!0,showCaptions:!1,markdownCaptions:!1,sizeByPixelDensity:!1,backgroundColor:"white",quality:50,tracedSVG:!1,loading:"lazy",disableBgImageOnAlpha:!1,disableBgImage:!1}},{plugin:n("hUyl"),options:{plugins:[],offsetY:0,className:"anchor"}},{plugin:n("17SF"),options:{plugins:[],modulePath:"/home/carlosug/develop/perso/carlosug.github.io/src/cms/index.js"}},{plugin:n("3BY2"),options:{plugins:[],trackingIds:[""],pluginConfig:{head:!0}}},{plugin:n("npZl"),options:{plugins:[],name:"A repository for archived research projects",short_name:"A repository for archived research projects",start_url:"/",background_color:"#FFF",theme_color:"#F7A046",display:"standalone",icon:"static/photo.jpg",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"21c9c30b2545e53ef6b393b7dea4f8a4"}},{plugin:n("e/UW"),options:{plugins:[],workboxConfig:{runtimeCaching:[{urlPattern:{},handler:"CacheFirst"},{urlPattern:{},handler:"StaleWhileRevalidate"},{urlPattern:{},handler:"StaleWhileRevalidate"},{urlPattern:{},handler:"StaleWhileRevalidate"}]}}},{plugin:n("BOnt"),options:{plugins:[]}},{plugin:n("FqrG"),options:{plugins:[],tracesSampleRate:1}},{plugin:n("GddB"),options:{plugins:[]}}]},MBYv:function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f}));
2var r=n("mrSG"),o=n("kdvv"),i=n("RQwI"),a=n("8LbN"),s=n("WWQz"),c=n("SYqL"),u=n("EldZ"),p=1e3,l=function(t){function e(e,n,r,o){void 0===r&&(r="");var i=t.call(this,o)||this;return i._pushActivity=e,i._popActivity=n,i.transactionSpanId=r,i}return Object(r.b)(e,t),e.prototype.add=function(e){var n=this;e.spanId!==this.transactionSpanId&&(e.finish=function(t){e.endTimestamp="number"==typeof t?t:Object(o.d)(),n._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),t.prototype.add.call(this,e)},e}(c.b),f=function(t){function e(e,n,r,o){void 0===r&&(r=p),void 0===o&&(o=!1);var s=t.call(this,e,n)||this;return s._idleHub=n,s._idleTimeout=r,s._onScope=o,s.activities={},s._heartbeatCounter=0,s._finished=!1,s._beforeFinishCallbacks=[],n&&o&&(d(n),Object(i.b)()&&a.c.log("Setting idle transaction on scope. Span ID: "+s.spanId),n.configureScope((function(t){return t.setSpan(s)}))),s._initTimeout=setTimeout((function(){s._finished||s.finish()}),s._idleTimeout),s}return Object(r.b)(e,t),e.prototype.finish=function(e){var n,s,c=this;if(void 0===e&&(e=Object(o.d)()),this._finished=!0,this.activities={},this.spanRecorder){Object(i.b)()&&a.c.log("[Tracing] finishing IdleTransaction",new Date(1e3*e).toISOString(),this.op);try{for(var u=Object(r.f)(this._beforeFinishCallbacks),p=u.next();!p.done;p=u.next()){(0,p.value)(this,e)}}catch(l){n={error:l}}finally{try{p&&!p.done&&(s=u.return)&&s.call(u)}finally{if(n)throw n.error}}this.spanRecorder.spans=this.spanRecorder.spans.filter((function(t){if(t.spanId===c.spanId)return!0;t.endTimestamp||(t.endTimestamp=e,t.setStatus("cancelled"),Object(i.b)()&&a.c.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)));var n=t.startTimestamp<e;return n||Object(i.b)()&&a.c.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(t,void 0,2)),n})),Object(i.b)()&&a.c.log("[Tracing] flushing IdleTransaction")}else Object(i.b)()&&a.c.log("[Tracing] No active IdleTransaction");return this._onScope&&d(this._idleHub),t.prototype.finish.call(this,e)},e.prototype.registerBeforeFinishCallback=function(t){this._beforeFinishCallbacks.push(t)},e.prototype.initSpanRecorder=function(t){var e=this;if(!this.spanRecorder){this.spanRecorder=new l((function(t){e._finished||e._pushActivity(t)}),(function(t){e._finished||e._popActivity(t)}),this.spanId,t),Object(i.b)()&&a.c.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)},e.prototype._pushActivity=function(t){this._initTimeout&&(clearTimeout(this._initTimeout),this._initTimeout=void 0),Object(i.b)()&&a.c.log("[Tracing] pushActivity: "+t),this.activities[t]=!0,Object(i.b)()&&a.c.log("[Tracing] new activities count",Object.keys(this.activities).length)},e.prototype._popActivity=function(t){var e=this;if(this.activities[t]&&(Object(i.b)()&&a.c.log("[Tracing] popActivity "+t),delete this.activities[t],Object(i.b)()&&a.c.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var n=this._idleTimeout,r=Object(o.d)()+n/1e3;setTimeout((function(){e._finished||(e.setTag(s.a,s.b[1]),e.finish(r))}),n)}},e.prototype._beat=function(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(Object(i.b)()&&a.c.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.setTag(s.a,s.b[0]),this.finish()):this._pingHeartbeat()}},e.prototype._pingHeartbeat=function(){var t=this;Object(i.b)()&&a.c.log("pinging Heartbeat -> current counter: "+this._heartbeatCounter),setTimeout((function(){t._beat()}),5e3)},e}(u.a);function d(t){if(t){var e=t.getScope();if(e)e.getTransaction()&&e.setSpan(void 0)}}},MMVs:function(t,e,n){t.exports=function(){var t=!1;-1!==navigator.appVersion.indexOf("MSIE 10")&&(t=!0);var e,n=[],r="object"==typeof document&&document,o=t?r.documentElement.doScroll("left"):r.documentElement.doScroll,i=r&&(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);return!i&&r&&r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)}}()},NSX3:function(t,e,n){"use strict";n.r(e);var r=n("xtsi");"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"
2in navigator&&navigator.serviceWorker.register("/researchblog/sw.js").then((function(t){t.addEventListener("updatefound",(function(){Object(r.apiRunner)("onServiceWorkerUpdateFound",{serviceWorker:t});var e=t.installing;console.log("installingWorker",e),e.addEventListener("statechange",(function(){switch(e.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,Object(r.apiRunner)("onServiceWorkerUpdateReady",{serviceWorker:t}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),Object(r.apiRunner)("onServiceWorkerInstalled",{serviceWorker:t}));break;case"redundant":console.error("The installing service worker became redundant."),Object(r.apiRunner)("onServiceWorkerRedundant",{serviceWorker:t});break;case"activated":Object(r.apiRunner)("onServiceWorkerActive",{serviceWorker:t})}}))}))})).catch((function(t){console.error("Error during service worker registration:",t)}))},NsGk:function(t,e,n){e.components={"component---cache-caches-gatsby-plugin-offline-app-shell-js":function(){return n.e(7).then(n.t.bind(null,"zXQ9",7))},"component---src-templates-categories-list-template-js":function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(8)]).then(n.bind(null,"ACUj"))},"component---src-templates-category-template-js":function(){return Promise.all([n.e(0),n.e(1),n.e(9)]).then(n.bind(null,"MF2s"))},"component---src-templates-index-template-js":function(){return Promise.all([n.e(0),n.e(1),n.e(10)]).then(n.bind(null,"999l"))},"component---src-templates-not-found-template-js":function(){return Promise.all([n.e(0),n.e(1),n.e(11)]).then(n.bind(null,"76aL"))},"component---src-templates-page-template-js":function(){return Promise.all([n.e(0),n.e(1),n.e(12)]).then(n.bind(null,"8vKr"))},"component---src-templates-post-template-js":function(){return Promise.all([n.e(0),n.e(1),n.e(13)]).then(n.bind(null,"J4bc"))},"component---src-templates-tag-template-js":function(){return Promise.all([n.e(0),n.e(1),n.e(14)]).then(n.bind(null,"hZQ8"))},"component---src-templates-tags-list-template-js":function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(15)]).then(n.bind(null,"AN6v"))}}},PJYZ:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},QLaP:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],p=0;(c=new Error(e.replace(/%s/g,(function(){return u[p++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},RQwI:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o}));function r(){return!0}function o(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}},SYqL:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c}));var r=n("mrSG"),o=n("9/Zf"),i=n("kdvv"),a=n("6PXS"),s=function(){function t(t){void 0===t&&(t=1e3),this.spans=[],this._maxlen=t}return t.prototype.add=function(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)},t}(),c=function(){function t(t){if(this.traceId=Object(o.f)(),this.spanId=Object(o.f)().substring(16),this.startTimestamp=Object(i.d)(),this.tags={},this.data={},!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}return t.prototype.child=function(t){return this.startChild(t)},t.prototype.startChild=function(e){var n=new t(Object(r.a)(Object(r.a)({},e),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,n},t.prototype.setTag=function(t,e){var n;return this.tags=Object(r.a)(Object(r.a)({},this.tags),((n={}
2)[t]=e,n)),this},t.prototype.setData=function(t,e){var n;return this.data=Object(r.a)(Object(r.a)({},this.data),((n={})[t]=e,n)),this},t.prototype.setStatus=function(t){return this.status=t,this},t.prototype.setHttpStatus=function(t){this.setTag("http.status_code",String(t));var e=function(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);return"unknown_error"!==e&&this.setStatus(e),this},t.prototype.isSuccess=function(){return"ok"===this.status},t.prototype.finish=function(t){this.endTimestamp="number"==typeof t?t:Object(i.d)()},t.prototype.toTraceparent=function(){var t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),this.traceId+"-"+this.spanId+t},t.prototype.toContext=function(){return Object(a.b)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})},t.prototype.updateWithContext=function(t){var e,n,r,o,i;return this.data=null!=(e=t.data)?e:{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=null!=(n=t.spanId)?n:this.spanId,this.startTimestamp=null!=(r=t.startTimestamp)?r:this.startTimestamp,this.status=t.status,this.tags=null!=(o=t.tags)?o:{},this.traceId=null!=(i=t.traceId)?i:this.traceId,this},t.prototype.getTraceContext=function(){return Object(a.b)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})},t.prototype.toJSON=function(){return Object(a.b)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})},t}()},SksO:function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e,r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},TqRt:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},UxWs:function(t,e,n){"use strict";n.r(e);var r=n("dI71"),o=n("xtsi"),i=n("q1tI"),a=n.n(i),s=n("i8i4"),c=n.n(s),u=n("YwZP"),p=n("7hJ6"),l=n("MMVs"),f=n.n(l),d=n("Wbzz"),h=n("emEt"),v=n("YLt+"),m=n("5yr3"),b={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"},g=n("9Xx/"),y=n("+ZDr"),_=new Map,O=new Map;function j(t){var e=_.get(t);return e||(e=O.get(t.toLowerCase())),null!=e&&(window.___replace(e.toPath),!0)}v.forEach((function(t){t.ignoreCase?O.set(t.fromPath,t):_.set(t.fromPath,t)}));var w=function(t,e){j(t.pathname)||Object(o.apiRunner)("onPreRouteUpdate",{location:t,prevLocation:e})},S=function(t,e){j(t.pathname)||Object(o.apiRunner)("onRouteUpdate",{location:t,prevLocation:e})},x=function(t,e){if(void 0===e&&(e={}),"number"!=typeof t){var n=Object(y.parsePath)(t).pathname,r=_.get(n);if(r||(r=O.get(n.toLowerCase())),r&&(t=r.toPath,n=Object(y.parsePath)(t).pathname),window.___swUpdated)window.location=n;else{var i=setTimeout((function(){m.a.emit("onDelayedLoadPageResources",{pathname:n}),Object(o.apiRunner)("onRouteUpdateDelayed",{location:window.location})}),1e3);h.default.loadPage(n).then((function(r){if(!r||r.status===h.PageResourceStatus.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(i);r&&r.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"
2in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n),Object(u.navigate)(t,e),clearTimeout(i)}))}}else g.c.navigate(t)};function E(t,e){var n=this,r=e.location,i=r.pathname,a=r.hash,s=Object(o.apiRunner)("shouldUpdateScroll",{prevRouterProps:t,pathname:i,routerProps:{location:r},getSavedScrollPosition:function(t){return[0,n._stateStorage.read(t,t.key)]}});if(s.length>0)return s[s.length-1];if(t&&t.location.pathname===i)return a?decodeURI(a.slice(1)):[0,0];return!0}var T=function(t){function e(e){var n;return(n=t.call(this,e)||this).announcementRef=a.a.createRef(),n}Object(r.a)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){var n=this;requestAnimationFrame((function(){var t="new page at "+n.props.location.pathname;document.title&&(t=document.title);var e=document.querySelectorAll("#gatsby-focus-wrapper h1");e&&e.length&&(t=e[0].textContent);var r="Navigated to "+t;n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))},n.render=function(){return a.a.createElement("div",Object.assign({},b,{ref:this.announcementRef}))},e}(a.a.Component),k=function(t,e){var n,r;return t.href!==e.href||(null==t||null===(n=t.state)||void 0===n?void 0:n.key)!==(null==e||null===(r=e.state)||void 0===r?void 0:r.key)},R=function(t){function e(e){var n;return n=t.call(this,e)||this,w(e.location,null),n}Object(r.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){S(this.props.location,null)},n.shouldComponentUpdate=function(t){return!!k(t.location,this.props.location)&&(w(this.props.location,t.location),!0)},n.componentDidUpdate=function(t){k(t.location,this.props.location)&&S(this.props.location,t.location)},n.render=function(){return a.a.createElement(a.a.Fragment,null,this.props.children,a.a.createElement(T,{location:location}))},e}(a.a.Component),P=n("IOVJ"),C=n("NsGk"),I=n.n(C);function L(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}var A=function(t){function e(e){var n;n=t.call(this)||this;var r=e.location,o=e.pageResources;return n.state={location:Object.assign({},r),pageResources:o||h.default.loadPageSync(r.pathname)},n}Object(r.a)(e,t),e.getDerivedStateFromProps=function(t,e){var n=t.location;return e.location.href!==n.href?{pageResources:h.default.loadPageSync(n.pathname),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=e.prototype;return n.loadResources=function(t){var e=this;h.default.loadPage(t).then((function(n){n&&n.status!==h.PageResourceStatus.Error?e.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=t)}))},n.shouldComponentUpdate=function(t,e){return e.pageResources?this.state.pageResources!==e.pageResources||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||function(t,e,n){return L(t.props,e)||L(t.state,n)}(this,t,e)))):(this.loadResources(t.location.pathname),!1)},n.render=function(){return this.props.children(this.state)},e}(a.a.Component),D=n("cSJ8"),N=n("JeVI"),M=new h.ProdLoader(I.a,N);Object(h.setLoader)(M),M.setApiRunner(o.apiRunner),window.asyncRequires=I.a,window.___emitter=m.a,window.___loader=h.publicLoader,g.c.listen((function(t){t.location.action=t.action})),window.___push=function(t){return x(t,{replace:!1})},window.___replace=function(t){return x(t,{replace:!0})},window.___navigate=function(t,e){return x(t,e)},j(window.location.pathname),Object(o.apiRunnerAsync)("onClientEntry").then((function(){Object(o.apiRunner)("registerServiceWorker").length>0&&n("NSX3");var t=function(t){return a.a.createElement(u.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.a.createElement(P.a,t))},e=a.a.createContext({}),i=function(t){function n(){return t.apply(this,arguments)||this}return Object(r.a)(n,t),n.prototype.render=function(){var t=this.props.children;return a.a.createElement(u.Location,null,(function(n){var r=n.location;return a.a.createElement(A,{location:r},(function(n){var r=n.pageResources,o=n.location,i=Object(h.getStaticQueryResults)();return a.a.createElement(d.StaticQueryContext.Provider,{value:i},a.a.createElement(e.Provider,{value:{pageResources:r,location:o}},t))}))}))},n}(a.a.Component),s=function(n){function o(){return n.apply(this,arguments)||this}return Object(r.a)(o,n),o.prototype.render=function(){var n=this;return a.a.createElement(e.Consumer,null,(function(e){var r=e.pageResources,o=e.location;return a.a.createElement(R,{location:o},a.a.createElement(p.ScrollContext,{location:o,shouldUpdateScroll:E},a.a.createElement(u.Router,{basepath:"/researchblog",location:o,id:"gatsby-focus-wrapper"},a.a.createElement(t,Object.assign({path:"/404.html"===r.page.path?Object(D.a)(o.pathname,"/researchblog"):encodeURI(r.page.matchPath||r.page.path)},n.props,{location:o,pageResources:r},r.json)))))}
2))},o}(a.a.Component),l=window,v=l.pagePath,m=l.location;v&&"/researchblog"+v!==m.pathname&&!(M.findMatchPath(Object(D.a)(m.pathname,"/researchblog"))||"/404.html"===v||v.match(/^\/404\/?$/)||v.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&Object(u.navigate)("/researchblog"+v+m.search+m.hash,{replace:!0}),h.publicLoader.loadPage(m.pathname).then((function(t){if(!t||t.status===h.PageResourceStatus.Error)throw new Error("page resources for "+m.pathname+" not found. Not rendering React");window.___webpackCompilationHash=t.page.webpackCompilationHash;var e=Object(o.apiRunner)("wrapRootElement",{element:a.a.createElement(s,null)},a.a.createElement(s,null),(function(t){return{element:t.result}})).pop(),n=function(){return a.a.createElement(i,null,e)},r=Object(o.apiRunner)("replaceHydrateFunction",void 0,c.a.hydrate)[0];f()((function(){r(a.a.createElement(n,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,(function(){Object(o.apiRunner)("onInitialClientRender")}))}))}))}))},VbXa:function(t,e,n){var r=n("SksO");t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},WWQz:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var r="finishReason",o=["heartbeatFailed","idleTimeout","documentHidden"]},Wbzz:function(t,e,n){"use strict";n.r(e),n.d(e,"graphql",(function(){return v})),n.d(e,"StaticQueryContext",(function(){return l})),n.d(e,"StaticQuery",(function(){return d})),n.d(e,"useStaticQuery",(function(){return h})),n.d(e,"prefetchPathname",(function(){return p}));var r=n("q1tI"),o=n.n(r),i=n("+ZDr"),a=n.n(i);n.d(e,"Link",(function(){return a.a})),n.d(e,"withAssetPrefix",(function(){return i.withAssetPrefix})),n.d(e,"withPrefix",(function(){return i.withPrefix})),n.d(e,"parsePath",(function(){return i.parsePath})),n.d(e,"navigate",(function(){return i.navigate})),n.d(e,"push",(function(){return i.push})),n.d(e,"replace",(function(){return i.replace})),n.d(e,"navigateTo",(function(){return i.navigateTo}));var s=n("7hJ6");n.d(e,"useScrollRestoration",(function(){return s.useScrollRestoration}));var c=n("lw3w"),u=n.n(c);n.d(e,"PageRenderer",(function(){return u.a}));var p=n("emEt").default.enqueue,l=o.a.createContext({});function f(t){var e=t.staticQueryData,n=t.data,r=t.query,i=t.render,a=n?n.data:e[r]&&e[r].data;return o.a.createElement(o.a.Fragment,null,a&&i(a),!a&&o.a.createElement("div",null,"Loading (StaticQuery)"))}var d=function(t){var e=t.data,n=t.query,r=t.render,i=t.children;return o.a.createElement(l.Consumer,null,(function(t){return o.a.createElement(f,{data:e,query:n,render:r||i,staticQueryData:t})}))},h=function(t){var e;o.a.useContext;var n=o.a.useContext(l);if(isNaN(Number(t)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+t+"`);\n");if(null!==(e=n[t])&&void 0!==e&&e.data)return n[t].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")};function v(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},YF1G:function(t,e,n){var r=n("xrYK"),o=n("2oRo");t.exports="process"==r(o.process)},"YLt+":function(t){t.exports=JSON.parse("[]")},YVoz:function(t,e,n){"use strict";t.exports=Object.assign},YwZP:function(t,e,n){"use strict";n.r(e),n.d(e,"Link",(function(){return I})),n.d(e,"Location",(function(){return y})),n.d(e,"LocationProvider",(function(){return _})),n.d(e,"Match",(function(){return q})),n.d(e,"Redirect",(function(){return M})),n.d(e,"Router",(function(){return w})),n.d(e,"ServerLocation",(function(){return O})),n.d(e,"isRedirect",(function(){return A})),n.d(e,"redirectTo",(function(){return D})),n.d(e,"useLocation",(function(){return F})),n.d(e,"useNavigate",(function(){return U})),n.d(e,"useParams",(function(){return W})),n.d(e,"useMatch",(function(){return B})),n.d(e,"BaseContext",(function(){return j}));var r=n("q1tI"),o=n.n(r),i=n("QLaP"),a=n.n(i),s=n("nqlD"),c=n.n(s),u=n("94VI"),p=n("LYrO");n.d(e,"matchPath",(function(){return p.match}));var l=n("9Xx/");n.d(e,"createHistory",(function(){return l.a})),n.d(e,"createMemorySource",(function(){return l.b})),n.d(e,"navigate",(function(){return l.d})),n.d(e,"globalHistory",(function(){return l.c}));var f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function d(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=function(t,e){var n=c()(e);return n.displayName=t,n},g=b("Location"),y=function(t){var e=t.children;return o.a.createElement(g.Consumer,null,(function(t){return t?e(t):o.a.createElement(_,null,e)}))},_=function(t){function e(){var n,r;h(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=v(this,t.call.apply(t,[this].concat(i))),r.state={context:r.getContext(),refs:{unlisten:null}},v(r,n)}return m(e,t),e.prototype.getContext=function(){var t=this.props.history;return{navigate:t.navigate,location:t.location}},e.prototype.componentDidCatch=function(t,e){if(!A(t))throw t;(0,this.props.history.navigate)(t.uri,{replace:!0})},e.prototype.componentDidUpdate=function(t,e){e.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},e.prototype.componentDidMount=function(){var t=this,e=this.state.refs,n=this.props.history;n._onTransitionComplete(),e.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){t.unmounted||t.setState((function(){return{context:t.getContext()}}))}))}))}))},e.prototype.componentWillUnmount=function(){var t=this.state.refs;this.unmounted=!0,t.unlisten()},e.prototype.render=function(){var t=this.state.context,e=this.props.children;return o.a.createElement(g.Provider,{value:t},"function"==typeof e?e(t):e||null)},e}(o.a.Component);_.defaultProps={history:l.c};var O=function(t){var e=t.url,n=t.children,r=e.indexOf("?"),i=void 0,a="";return r>-1?(i=e.substring(0,r),a=e.substring(r)):i=e,o.a.createElement(g.Provider,{value:{location:{pathname:i,search:a,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},j=b("Base",{baseuri:"/",basepath:"/"}),w=function(t){return o.a.createElement(j.Consumer,null,(function(e){return o.a.createElement(y,null,(function(n){return o.a.createElement(S,f({},e,n,t))}))}))},S=function(t){function e(){return h(this,e),v(this,t.apply(this,arguments))}return m(e,t),e.prototype.render=function(){var t=this.props,e=t.location,n=t.navigate,r=t.basepath,i=t.primary,a=t.children,s=(t.baseuri,t.component),c=void 0===s?"div":s,u=d(t,["location","navigate","basepath","primary","children","baseuri","component"]),l=o.a.Children.toArray(a).reduce((function(t,e){var n=Y(r)(e);return t.concat(n)}),[]),h=e.pathname,v=Object(p.pick)(l,h);if(v){var m=v.params,b=v.uri,g=v.route,y=v.route.value;r=g.default?r:g.path.replace(/\*$/,"");var _=f({},m,{uri:b,location:e,navigate:function(t,e){return n(Object(p.resolve)(t,b),e)}}),O=o.a.cloneElement(y,_,y.props.children?o.a.createElement(w,{location:e,primary:i},y.props.children):void 0),S=i?E:c,x=i?f({uri:b,location:e,component:c},u):u;return o.a.createElement(j.Provider,{value:{baseuri:b,basepath:r}},o.a.createElement(S,x,O))}return null},e}(o.a.PureComponent);S.defaultProps={primary:!0};var x=b("Focus"),E=function(t){var e=t.uri,n=t.location,r=t.component,i=d(t,["uri","location","component"]);return o.a.createElement(x.Consumer,null,(function(t){return o.a.createElement(R,f({},i,{component:r,requestFocus:t,uri:e,location:n}))}))},T=!0,k=0,R=function(t){function e(){var n,r;h(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=v(this,t.call.apply(t,[this].concat(i))),r.state={},r.requestFocus=function(t){!r.state.shouldFocus&&t&&t.focus()},v(r,n)}return m(e,t),e.getDerivedStateFromProps=function(t,e){if(null==e.uri)return f({shouldFocus:!0},t);var n=t.uri!==e.uri,r=e.location.pathname!==t.location.pathname&&t.location.pathname===t.uri;return f({shouldFocus:n||r},t)},e.prototype.componentDidMount=function(){k++,this.focus()},e.prototype.componentWillUnmount=function(){0===--k&&(T=!0)},e.prototype.componentDidUpdate=function(t,e){t.location!==this.props.location&&this.state.shouldFocus&&this.focus()}
2,e.prototype.focus=function(){var t=this.props.requestFocus;t?t(this.node):T?T=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},e.prototype.render=function(){var t=this,e=this.props,n=(e.children,e.style),r=(e.requestFocus,e.component),i=void 0===r?"div":r,a=(e.uri,e.location,d(e,["children","style","requestFocus","component","uri","location"]));return o.a.createElement(i,f({style:f({outline:"none"},n),tabIndex:"-1",ref:function(e){return t.node=e}},a),o.a.createElement(x.Provider,{value:this.requestFocus},this.props.children))},e}(o.a.Component);Object(u.polyfill)(R);var P=function(){},C=o.a.forwardRef;void 0===C&&(C=function(t){return t});var I=C((function(t,e){var n=t.innerRef,r=d(t,["innerRef"]);return o.a.createElement(j.Consumer,null,(function(t){t.basepath;var i=t.baseuri;return o.a.createElement(y,null,(function(t){var a=t.location,s=t.navigate,c=r.to,u=r.state,l=r.replace,h=r.getProps,v=void 0===h?P:h,m=d(r,["to","state","replace","getProps"]),b=Object(p.resolve)(c,i),g=encodeURI(b),y=a.pathname===g,_=Object(p.startsWith)(a.pathname,g);return o.a.createElement("a",f({ref:e||n,"aria-current":y?"page":void 0},m,v({isCurrent:y,isPartiallyCurrent:_,href:b,location:a}),{href:b,onClick:function(t){if(m.onClick&&m.onClick(t),z(t)){t.preventDefault();var e=l;if("boolean"!=typeof l&&y){var n=f({},a.state),r=(n.key,d(n,["key"]));e=Object(p.shallowCompare)(f({},u),r)}s(b,{state:u,replace:e})}}}))}))}))}));function L(t){this.uri=t}I.displayName="Link";var A=function(t){return t instanceof L},D=function(t){throw new L(t)},N=function(t){function e(){return h(this,e),v(this,t.apply(this,arguments))}return m(e,t),e.prototype.componentDidMount=function(){var t=this.props,e=t.navigate,n=t.to,r=(t.from,t.replace),o=void 0===r||r,i=t.state,a=(t.noThrow,t.baseuri),s=d(t,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var t=Object(p.resolve)(n,a);e(Object(p.insertParams)(t,s),{replace:o,state:i})}))},e.prototype.render=function(){var t=this.props,e=(t.navigate,t.to),n=(t.from,t.replace,t.state,t.noThrow),r=t.baseuri,o=d(t,["navigate","to","from","replace","state","noThrow","baseuri"]),i=Object(p.resolve)(e,r);return n||D(Object(p.insertParams)(i,o)),null},e}(o.a.Component),M=function(t){return o.a.createElement(j.Consumer,null,(function(e){var n=e.baseuri;return o.a.createElement(y,null,(function(e){return o.a.createElement(N,f({},e,{baseuri:n},t))}))}))},q=function(t){var e=t.path,n=t.children;return o.a.createElement(j.Consumer,null,(function(t){var r=t.baseuri;return o.a.createElement(y,null,(function(t){var o=t.navigate,i=t.location,a=Object(p.resolve)(e,r),s=Object(p.match)(a,i.pathname);return n({navigate:o,location:i,match:s?f({},s.params,{uri:s.uri,path:e}):null})}))}))},F=function(){var t=Object(r.useContext)(g);if(!t)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.location},U=function(){var t=Object(r.useContext)(g);if(!t)throw new Error("useNavigate hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.navigate},W=function(){var t=Object(r.useContext)(j);if(!t)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var e=F(),n=Object(p.match)(t.basepath,e.pathname);return n?n.params:null},B=function(t){if(!t)throw new Error("useMatch(path: string) requires an argument of a string to match against");var e=Object(r.useContext)(j);if(!e)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=F(),o=Object(p.resolve)(t,e.baseuri),i=Object(p.match)(o,n.pathname);return i?f({},i.params,{uri:i.uri,path:t}):null},H=function(t){return t.replace(/(^\/+|\/+$)/g,"")},Y=function t(e){return function(n){if(!n)return null;if(n.type===o.a.Fragment&&n.props.children)return o.a.Children.map(n.props.children,t(e));if(n.props.path||n.props.default||n.type===M||a()(!1),n.type!==M||n.props.from&&n.props.to||a()(!1),n.type!==M||Object(p.validateRedirect)(n.props.from,n.props.to)||a()(!1),n.props.default)return{value:n,default:!0};var r=n.type===M?n.props.from:n.props.path,i="/"===r?e:H(e)+"/"+H(r);return{value:n,default:n.props.default,path:n.props.children?H(i)+"/*":i}}},z=function(t){return!t.defaultPrevented&&0===t.button&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}},cDf5:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}
2,t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},cSJ8:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=""),e?t===e?"/":t.startsWith(e+"/")?t.slice(e.length):t:t}n.d(e,"a",(function(){return r}))},cu4x:function(t,e,n){"use strict";e.__esModule=!0,e.parsePath=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");-1!==i&&(n=e.substr(i),e=e.substr(0,i));return{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}},dI71:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,"a",(function(){return o}))},"e/UW":function(t,e,n){"use strict";e.registerServiceWorker=function(){return!0};var r=/^(stylesheet|preload)$/,o=[];function i(t,e){if(!window.___swUpdated&&"serviceWorker"in navigator){var n=navigator.serviceWorker;if(null===n.controller)o.push(t);else{var r=e(t);n.controller.postMessage({gatsbyApi:"setPathResources",path:t,resources:r})}}}e.onServiceWorkerActive=function(t){var e=t.getResourceURLsForPathname,n=t.serviceWorker;if(window.___swUpdated)n.active.postMessage({gatsbyApi:"clearPathResources"});else{var i=document.querySelectorAll("\n head > script[src],\n head > link[href],\n head > style[data-href]\n "),a=[].slice.call(i).filter((function(t){return"LINK"!==t.tagName||r.test(t.getAttribute("rel"))})).map((function(t){return t.src||t.href||t.getAttribute("data-href")})),s=[];o.forEach((function(t){var r=e(t);s.push.apply(s,r),n.active.postMessage({gatsbyApi:"setPathResources",path:t,resources:r})})),[].concat(a,s).forEach((function(t){var e=document.createElement("link");e.rel="prefetch",e.href=t,e.onload=e.remove,e.onerror=e.remove,document.head.appendChild(e)}))}},e.onRouteUpdate=function(t){var e=t.location,n=t.getResourceURLsForPathname;i(e.pathname.replace("/researchblog",""),n),"serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"enableOfflineShell"})},e.onPostPrefetchPathname=function(t){i(t.pathname,t.getResourceURLsForPathname)}},eTiZ:function(t,e,n){},eez4:function(t,e,n){"use strict";n.r(e),n.d(e,"Severity",(function(){return s})),n.d(e,"addGlobalEventProcessor",(function(){return u.b})),n.d(e,"addBreadcrumb",(function(){return m})),n.d(e,"captureException",(function(){return f})),n.d(e,"captureEvent",(function(){return h})),n.d(e,"captureMessage",(function(){return d})),n.d(e,"configureScope",(function(){return v})),n.d(e,"getHubFromCarrier",(function(){return p.c})),n.d(e,"getCurrentHub",(function(){return p.b})),n.d(e,"Hub",(function(){return p.a})),n.d(e,"makeMain",(function(){return p.e})),n.d(e,"Scope",(function(){return u.a})),n.d(e,"Session",(function(){return x.a})),n.d(e,"startTransaction",(function(){return S})),n.d(e,"SDK_VERSION",(function(){return E})),n.d(e,"setContext",(function(){return b})),n.d(e,"setExtra",(function(){return _})),n.d(e,"setExtras",(function(){return g})),n.d(e,"setTag",(function(){return O})),n.d(e,"setTags",(function(){return y})),n.d(e,"setUser",(function(){return j})),n.d(e,"withScope",(function(){return w})),n.d(e,"BrowserClient",(function(){return ce})),n.d(e,"injectReportDialog",(function(){return Kt})),n.d(e,"eventFromException",(function(){return Rt})),n.d(e,"eventFromMessage",(function(){return Pt})),n.d(e,"defaultIntegrations",(function(){return Ae})),n.d(e,"forceLoad",(function(){return qe})),n.d(e,"lastEventId",(function(){return Me})),n.d(e,"onLoad",(function(){return Fe})),n.d(e,"showReportDialog",(function(){return Ne})),n.d(e,"flush",(function(){return Ue})),n.d(e,"close",(function(){return We})),n.d(e,"wrap",(function(){return Be})),n.d(e,"SDK_NAME",(function(){return Ye})),n.d(e,"Transports",(function(){return i})),n.d(e,"Profiler",(function(){return Xe})),n.d(e,"withProfiler",(function(){return Ze})),n.d(e,"useProfiler",(function(){return tn})),n.d(e,"ErrorBoundary",(function(){return rn})),n.d(e,"withErrorBoundary",(function(){return on})),n.d(e,"createReduxEnhancer",(function(){return sn})),n.d(e,"reactRouterV3Instrumentation",(function(){return un})),n.d(e,"reactRouterV4Instrumentation",(function(){return dn})),n.d(e,"reactRouterV5Instrumentation",(function(){return hn})),n.d(e,"withSentryRouting",(function(){return mn})),n.d(e,"Integrations",(function(){return a})),n.d(e,"init",(function(){return Kn}));var r={};
2n.r(r),n.d(r,"FunctionToString",(function(){return ue})),n.d(r,"InboundFilters",(function(){return le}));var o={};n.r(o),n.d(o,"GlobalHandlers",(function(){return _e})),n.d(o,"TryCatch",(function(){return ve})),n.d(o,"Breadcrumbs",(function(){return ne})),n.d(o,"LinkedErrors",(function(){return Ee})),n.d(o,"UserAgent",(function(){return Le})),n.d(o,"Dedupe",(function(){return Te}));var i={};n.r(i),n.d(i,"BaseTransport",(function(){return Bt})),n.d(i,"FetchTransport",(function(){return Ht})),n.d(i,"XHRTransport",(function(){return Yt}));var a={};n.r(a),n.d(a,"Express",(function(){return gn})),n.d(a,"Postgres",(function(){return jn})),n.d(a,"Mysql",(function(){return wn})),n.d(a,"Mongo",(function(){return En})),n.d(a,"BrowserTracing",(function(){return Qn}));var s,c=n("mrSG");!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(s||(s={}));var u=n("KjyA"),p=n("lW6c");function l(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Object(p.b)();if(r&&r[t])return r[t].apply(r,Object(c.e)(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function f(t,e){return l("captureException",t,{captureContext:e,originalException:t,syntheticException:new Error("Sentry syntheticException")})}function d(t,e){var n=new Error(t),r="string"!=typeof e?{captureContext:e}:void 0;return l("captureMessage",t,"string"==typeof e?e:void 0,Object(c.a)({originalException:t,syntheticException:n},r))}function h(t){return l("captureEvent",t)}function v(t){l("configureScope",t)}function m(t){l("addBreadcrumb",t)}function b(t,e){l("setContext",t,e)}function g(t){l("setExtras",t)}function y(t){l("setTags",t)}function _(t,e){l("setExtra",t,e)}function O(t,e){l("setTag",t,e)}function j(t){l("setUser",t)}function w(t){l("withScope",t)}function S(t,e){return l("startTransaction",Object(c.a)({},t),e)}var x=n("xS++"),E="6.19.2",T=n("RQwI"),k=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n]);return t});var R=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return r.message=e,r.name=n.prototype.constructor.name,k(r,n.prototype),r}return Object(c.b)(e,t),e}(Error),P=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function C(t,e){void 0===e&&(e=!1);var n=t.host,r=t.path,o=t.pass,i=t.port,a=t.projectId;return t.protocol+"://"+t.publicKey+(e&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+a}function I(t){return"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),{user:t.publicKey||"",protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function L(t){var e="string"==typeof t?function(t){var e=P.exec(t);if(!e)throw new R("Invalid Sentry Dsn: "+t);var n=Object(c.c)(e.slice(1),6),r=n[0],o=n[1],i=n[2],a=void 0===i?"":i,s=n[3],u=n[4],p=void 0===u?"":u,l="",f=n[5],d=f.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),f=d.pop()),f){var h=f.match(/^\d+/);h&&(f=h[0])}return I({host:s,pass:a,path:l,projectId:f,port:p,protocol:r,publicKey:o})}(t):I(t);return function(t){if(Object(T.b)()){var e=t.port,n=t.projectId,r=t.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])throw new R("Invalid Sentry Dsn: "+e+" missing")})),!n.match(/^\d+$/))throw new R("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(t){return"http"===t||"https"===t}(r))throw new R("Invalid Sentry Dsn: Invalid protocol "+r);if(e&&isNaN(parseInt(e,10)))throw new R("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}var A=n("9/Zf"),D=n("8LbN"),N=n("9AQC"),M=n("HR75"),q=n("kdvv"),F=n("Fffm"),U=n("+924"),W=(n("E9XD"),n("6PXS")),B=[];function H(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}function Y(t){var e={};return function(t){var e=t.defaultIntegrations&&Object(c.e)(t.defaultIntegrations)||[],n=t.integrations,r=Object(c.e)(H(e));Array.isArray(n)?r=Object(c.e)(r.filter((function(t){return n.every((function(e){return e.name!==t.name}))})),H(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((function(t){return t.name}));return-1!==o.indexOf("Debug")&&r.push.apply(r,Object(c.e)(r.splice(o.indexOf("Debug"),1))),r}(t).forEach((function(t){e[t.name]=t,function(t){-1===B.indexOf(t.name)&&(t.setupOnce(u.b,p.b),B.push(t.name),Object(T.b)()&&D.c.log("Integration installed: "+t.name))}(t)})),Object(W.a)(e,"initialized",!0),e}var z="Not capturing exception because it's already been captured.",G=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=L(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this;if(!Object(A.c)(t)){var o=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return r._captureEvent(t,e,n)}
2)).then((function(t){o=t}))),o}Object(T.b)()&&D.c.log(z)},t.prototype.captureMessage=function(t,e,n,r){var o=this,i=n&&n.event_id,a=Object(N.i)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(a.then((function(t){return o._captureEvent(t,n,r)})).then((function(t){i=t}))),i},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&Object(A.c)(e.originalException))){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r}Object(T.b)()&&D.c.log(z)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?Object(T.b)()&&D.c.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):Object(T.b)()&&D.c.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.prototype.flush=function(t){var e=this;return this._isClientDoneProcessing(t).then((function(n){return e.getTransport().close(t).then((function(t){return n&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=Y(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return Object(T.b)()&&D.c.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,o=!1,i=!1,a=e.exception&&e.exception.values;if(a){i=!0;try{for(var s=Object(c.f)(a),u=s.next();!u.done;u=s.next()){var p=u.value.mechanism;if(p&&!1===p.handled){o=!0;break}}}catch(f){n={error:f}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}}var l="ok"===t.status;(l&&0===t.errors||l&&o)&&(t.update(Object(c.a)(Object(c.a)({},o&&{status:"crashed"}),{errors:t.errors||Number(i||o)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new M.a((function(n){var r=0,o=setInterval((function(){0==e._numProcessing?(clearInterval(o),n(!0)):(r+=1,t&&r>=t&&(clearInterval(o),n(!1)))}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.normalizeDepth,a=void 0===i?3:i,s=o.normalizeMaxBreadth,p=void 0===s?1e3:s,l=Object(c.a)(Object(c.a)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:Object(A.f)()),timestamp:t.timestamp||Object(q.b)()});this._applyClientOptions(l),this._applyIntegrationsMetadata(l);var f=e;n&&n.captureContext&&(f=u.a.clone(f).update(n.captureContext));var d=Object(M.c)(l);return f&&(d=f.applyToEvent(l,n)),d.then((function(t){return t&&(t.sdkProcessingMetadata=Object(c.a)(Object(c.a)({},t.sdkProcessingMetadata),{normalizeDepth:Object(F.a)(a)})),"number"==typeof a&&a>0?r._normalizeEvent(t,a,p):t}))},t.prototype._normalizeEvent=function(t,e,n){if(!t)return null;var r=Object(c.a)(Object(c.a)(Object(c.a)(Object(c.a)(Object(c.a)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return Object(c.a)(Object(c.a)({},t),t.data&&{data:Object(F.a)(t.data,e,n)})}))}),t.user&&{user:Object(F.a)(t.user,e,n)}),t.contexts&&{contexts:Object(F.a)(t.contexts,e,n)}),t.extra&&{extra:Object(F.a)(t.extra,e,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),t.sdkProcessingMetadata=Object(c.a)(Object(c.a)({},t.sdkProcessingMetadata),{baseClientNormalized:!0}),r},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,o=e.dist,i=e.maxValueLength,a=void 0===i?250:i;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=Object(U.d)(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=Object(U.d)(s.value,a));var c=t.request;c&&c.url&&(c.url=Object(U.d)(c.url,a))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=Object(c.e)(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then((function(t){return t.event_id}),(function(t){Object(T.b)()&&D.c.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.beforeSend,a=o.sampleRate,s=this.getTransport();function c(t,e){s.recordLostEvent&&s.recordLostEvent(t,e)}if(!this._isEnabled())return Object(M.b)(new R("SDK not enabled, will not capture event."));var u="transaction"===t.type;return!u&&"number"==typeof a&&Math.random()>a?(c("sample_rate","event"),Object(M.b)(new R("Discarding event because it's not included in the random sample (sampling rate = "+a+")"))):this._prepareEvent(t,n,e).then((function(n){if(null===n)throw c("event_processor",t.type||"event"),new R("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||u||!i?n:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(Object(N.m)(t))return t.then((function(t){if(!Object(N.h)(t)&&null!==t)throw new R(e);return t}),(function(t){throw new R("beforeSend rejected with "+t)}));if(!Object(N.h)(t)&&null!==t)throw new R(e);return t}(i(n,e))})).then((function(e){if(null===e)throw c("before_send",t.type||"event"),new R("`beforeSend` returned `null`, will not send event.");var o=n&&n.getSession&&n.getSession();return!u&&o&&r._updateSessionFromEvent(o,e),r._sendEvent(e),e})).then(null,(function(t){if(t instanceof R)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new R("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.prototype._process=function(t){var e=this;this._numProcessing+=1,t.then((function(t){return e._numProcessing-=1,t}),(function(t){return e._numProcessing-=1,t}))},t}();var J=n("z+RT");!function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=L(t),this.metadata=e,this._tunnel=n}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return $(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return X(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return Z(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return tt(this._dsnObject,this._tunnel)}}();function Q(t,e,n){return{initDsn:t,metadata:e||{},dsn:L(t),tunnel:n}}function $(t){var e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"}function V(t,e){return""+$(t)+t.projectId+"/"+e+"/"}function K(t){return Object(W.h)({sentry_key:t.publicKey,sentry_version:"7"})}function X(t){return V(t,"store")}function Z(t){return X(t)+"?"+K(t)}function tt(t,e){return e||function(t){return V(t,"envelope")}(t)+"?"+K(t)}function et(t,e){return void 0===e&&(e=[]),[t,e]}function nt(t){var e=Object(c.c)(t,2),n=e[0],r=e[1],o=JSON.stringify(n);return r.reduce((function(t,e){var n=Object(c.c)(e,2),r=n[0],o=n[1],i=Object(N.i)(o)?String(o):JSON.stringify(o);return t+"\n"+JSON.stringify(r)+"\n"+i}),o)}function rt(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function ot(t,e){var n=rt(e),r="aggregates"in t?"sessions":"session";return[et(Object(c.a)(Object(c.a)({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:C(e.dsn)}),[[{type:r}
2,t]]),r]}function it(t,e){var n,r=rt(e),o=t.type||"event",i="transaction"===o||!!e.tunnel,a=(t.sdkProcessingMetadata||{}).transactionSampling||{},s=a.method,u=a.rate;!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=Object(c.e)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=Object(c.e)(t.sdk.packages||[],e.packages||[]))}(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{n=JSON.stringify(t)}catch(d){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=d;try{n=JSON.stringify(Object(F.a)(t))}catch(h){var p=h;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:p.message,stack:p.stack}})}}var l={body:n,type:o,url:i?tt(e.dsn,e.tunnel):Z(e.dsn)};if(i){var f=et(Object(c.a)(Object(c.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:C(e.dsn)}),[[{type:o,sample_rates:[{id:s,rate:u}]},l.body]]);l.body=nt(f)}return l}var at=function(){function t(){}return t.prototype.sendEvent=function(t){return Object(M.c)({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return Object(M.c)(!0)},t}(),st=function(){function t(t){this._options=t,this._options.dsn||Object(T.b)()&&D.c.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new R("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new R("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=function(t,e){var n=rt(e),r=t.type||"event",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},i=o.method,a=o.rate;return et(Object(c.a)(Object(c.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:C(e.dsn)}),[[{type:r,sample_rates:[{id:i,rate:a}]},t]])}(t,Q(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,(function(t){Object(T.b)()&&D.c.error("Error while sending event:",t)}))}else this._transport.sendEvent(t).then(null,(function(t){Object(T.b)()&&D.c.error("Error while sending event:",t)}))},t.prototype.sendSession=function(t){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=Q(this._options.dsn,this._options._metadata,this._options.tunnel),n=Object(c.c)(ot(t,e),1)[0];this._newTransport.send(n).then(null,(function(t){Object(T.b)()&&D.c.error("Error while sending session:",t)}))}else this._transport.sendSession(t).then(null,(function(t){Object(T.b)()&&D.c.error("Error while sending session:",t)}));else Object(T.b)()&&D.c.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new at},t}(),ct=n("4Ssk"),ut=n("pRiV");function pt(t,e,n,r){var o={filename:t,function:e,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var lt=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ft=/\((\S*)(?::(\d+))(?::(\d+))\)/,dt=[30,function(t){var e=lt.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=ft.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}var r=Object(c.c)(wt(e[1]||"?",e[2]),2),o=r[0];return pt(r[1],o,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],ht=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,vt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,mt=[50,function(t){var e,n=ht.exec(t);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=vt.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var o=n[3],i=n[1]||"?";return i=(e=Object(c.c)(wt(i,o),2))[0],pt(o=e[1],i,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],bt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,gt=[40,function(t){var e=bt.exec(t);return e?pt(e[2],e[1]||"?",+e[3],e[4]?+e[4]:void 0):void 0}],yt=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,_t=[10,function(t){var e=yt.exec(t);return e?pt(e[2],e[3]||"?",+e[1]):void 0}],Ot=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,jt=[20,function(t){var e=Ot.exec(t);return e?pt(e[5],e[3]||e[4]||"?",+e[1],+e[2]):void 0}],wt=function(t,e){var n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:"?",n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function St(t){var e=Et(t),n={type:t&&t.name,value:kt(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function xt(t){return{exception:{values:[St(t)]}}}function Et(t){var e=t.stacktrace||t.stack||"",n=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(Tt.test(t.message))return 1}return 0}(t);try{return Object(ut.a)(_t,jt,dt,gt,mt)(e,n)}catch(r){}return[]}var Tt=/Minified React error #\d+;/i;function kt(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Rt(t,e,n){var r=Ct(t,e&&e.syntheticException||void 0,n);return Object(A.a)(r),r.level=s.Error,e&&e.event_id&&(r.event_id=e.event_id),Object(M.c)(r)}function Pt(t,e,n,r){void 0===e&&(e=s.Info);var o=It(t,n&&n.syntheticException||void 0,r);return o.level=e,n&&n.event_id&&(o.event_id=n.event_id),Object(M.c)(o)}function Ct(t,e,n,r){var o;if(Object(N.e)(t)&&t.error)return xt(t.error);if(Object(N.a)(t)||Object(N.b)(t)){var i=t;if("stack"in t)o=xt(t);else{var a=i.name||(Object(N.a)(i)?"DOMError":"DOMException"),s=i.message?a+": "+i.message:a;o=It(s,e,n),Object(A.b)(o,s)}return"code"in i&&(o.tags=Object(c.a)(Object(c.a)({},o.tags),{"DOMException.code":""+i.code})),o}return Object(N.d)(t)?xt(t):Object(N.h)(t)||Object(N.f)(t)?(o=function(t,e,n){var r={exception:{values:[{type:Object(N.f)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(W.c)(t)}]},extra:{__serialized__:Object(F.b)(t)}};if(e){var o=Et(e);o.length&&(r.stacktrace={frames:o})}return r}(t,e,r),Object(A.a)(o,{synthetic:!0}),o):(o=It(t,e,n),Object(A.b)(o,""+t,void 0),Object(A.a)(o,{synthetic:!0}),o)}function It(t,e,n){var r={message:t};if(n&&e){var o=Et(e);o.length&&(r.stacktrace={frames:o})}return r}function Lt(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return Object(M.b)(new R("Not adding Promise due to buffer limit reached."));var o=r();return-1===e.indexOf(o)&&e.push(o),o.then((function(){return n(o)})).then(null,(function(){return n(o).then(null,(function(){}))})),o},drain:function(t){return new M.a((function(n,r){var o=e.length;if(!o)return n(!0);var i=setTimeout((function(){t&&t>0&&n(!1)}),t);e.forEach((function(t){Object(M.c)(t).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}function At(t,e){return t[e]||t.all||0}function Dt(t,e,n){var r,o,i,a;void 0===n&&(n=Date.now());var s=Object(c.a)({},t),u=e["x-sentry-rate-limits"],p=e["retry-after"];if(u)try{for(var l=Object(c.f)(u.trim().split(",")),f=l.next();!f.done;f=l.next()){var d=f.value.split(":",2),h=parseInt(d[0],10),v=1e3*(isNaN(h)?60:h);if(d[1])try{for(var m=(i=void 0,Object(c.f)(d[1].split(";"))),b=m.next();!b.done;b=m.next()){s[b.value]=n+v}}catch(g){i={error:g}}finally{try{b&&!b.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}else s.all=n+v}}catch(y){r={error:y}}finally{try{f&&!f.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}
2else p&&(s.all=n+function(t,e){void 0===e&&(e=Date.now());var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e}(p,n));return s}var Nt,Mt=Object(J.a)();function qt(){if(Nt)return Nt;if(Object(ct.a)(Mt.fetch))return Nt=Mt.fetch.bind(Mt);var t=Mt.document,e=Mt.fetch;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(o){Object(T.b)()&&D.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return Nt=e.bind(Mt)}function Ft(t,e){if("[object Navigator]"===Object.prototype.toString.call(Mt&&Mt.navigator)&&"function"==typeof Mt.navigator.sendBeacon)return Mt.navigator.sendBeacon.bind(Mt.navigator)(t,e);if(Object(ct.b)()){var n=qt();n(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(t){console.error(t)}))}else;}function Ut(t){return"event"===t?"error":t}var Wt=Object(J.a)(),Bt=function(){function t(t){var e=this;this.options=t,this._buffer=Lt(30),this._rateLimits={},this._outcomes={},this._api=Q(t.dsn,t._metadata,t.tunnel),this.url=Z(this._api.dsn),this.options.sendClientReports&&Wt.document&&Wt.document.addEventListener("visibilitychange",(function(){"hidden"===Wt.document.visibilityState&&e._flushOutcomes()}))}return t.prototype.sendEvent=function(t){return this._sendRequest(it(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var n=Object(c.c)(ot(t,e),2),r=n[0],o=n[1];return{body:nt(r),type:o,url:tt(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var n;if(this.options.sendClientReports){var r=Ut(e)+":"+t;Object(T.b)()&&D.c.log("Adding outcome: "+r),this._outcomes[r]=(null!=(n=this._outcomes[r])?n:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){Object(T.b)()&&D.c.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,n,r,o=tt(this._api.dsn,this._api.tunnel),i=Object.keys(t).map((function(e){var n=Object(c.c)(e.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:t[e]}})),a=(e=i,et((n=this._api.tunnel&&C(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||Object(q.b)(),discarded_events:e}]]));try{Ft(o,nt(a))}catch(s){Object(T.b)()&&D.c.error(s)}}else Object(T.b)()&&D.c.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e,n=t.requestType,r=t.response,o=t.headers,i=t.resolve,a=t.reject,s=(e=r.status)>=200&&e<300?"success":429===e?"rate_limit":e>=400&&e<500?"invalid":e>=500?"failed":"unknown";this._rateLimits=Dt(this._rateLimits,o),this._isRateLimited(n)&&Object(T.b)()&&Object(T.b)()&&D.c.warn("Too many "+n+" requests, backing off until: "+this._disabledUntil(n)),"success"!==s?a(r):i({status:s})},t.prototype._disabledUntil=function(t){var e=Ut(t);return new Date(At(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=Ut(t);return function(t,e,n){return void 0===n&&(n=Date.now()),At(t,e)>n}(this._rateLimits,e)},t}(),Ht=function(t){function e(e,n){void 0===n&&(n=qt());var r=t.call(this,e)||this;return r._fetch=n,r}return Object(c.b)(e,t),e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var r={body:t.body,method:"POST",referrerPolicy:Object(ct.e)()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add((function(){return new M.a((function(e,o){n._fetch(t.url,r).then((function(r){var i={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:t.type,response:r,headers:i,resolve:e,reject:o})})).catch(o)}))})).then(void 0,(function(e){throw e instanceof R?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Bt),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(c.b)(e,t),e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add((function(){return new M.a((function(e,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:o,headers:i,resolve:e,reject:r})}},o.open("POST",t.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(t.body)}))})).then(void 0,(function(e){throw e instanceof R?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Bt),zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(c.b)(e,t),e.prototype.eventFromException=function(t,e){return Rt(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=s.Info),Pt(t,e,n,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=Object(c.a)(Object(c.a)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):Object(ct.b)()?new Ht(e):new Yt(e)},e}(st),Gt=Object(J.a)(),Jt=0;function Qt(){return Jt>0}function $t(){Jt+=1,setTimeout((function(){Jt-=1}))}function Vt(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if(Object(W.e)(t))return t}catch(a){return t}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((function(t){return Vt(t,e)}));return t.apply(this,o)}catch(i){throw $t(),w((function(t){t.addEventProcessor((function(t){return e.mechanism&&(Object(A.b)(t,void 0,void 0),Object(A.a)(t,e.mechanism)),t.extra=Object(c.a)(Object(c.a)({},t.extra),{arguments:r}),t})),f(i)})),i}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i])}catch(s){}Object(W.g)(o,t),Object(W.a)(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return t.name}})}catch(s){}return o}function Kt(t){if(void 0===t&&(t={}),Gt.document)if(t.eventId)if(t.dsn){var e=Gt.document.createElement("script");e.async=!0,e.src=function(t,e){var n=L(t),r=$(n)+"embed/error-page/",o="dsn="+C(n);for(var i in e)if("dsn"!==i)if("user"===i){if(!e.user)continue;e.user.name&&(o+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(o+="&email="+encodeURIComponent(e.user.email))}else o+="&"+encodeURIComponent(i)+"="+encodeURIComponent(e[i]);return r+"?"+o}(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var n=Gt.document.head||Gt.document.body;n&&n.appendChild(e)}else Object(T.b)()&&D.c.error("Missing dsn option in showReportDialog call");else Object(T.b)()&&D.c.error("Missing eventId option in showReportDialog call")}var Xt=n("6hSO"),Zt=n("vFt6"),te=["fatal","error","warning","log","info","debug","critical"];function ee(t){return"warn"===t?s.Warning:function(t){return-1!==te.indexOf(t)}(t)?t:s.Log}var ne=function(){function t(e){this.name=t.id,this._options=Object(c.a)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&Object(p.b)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Object(A.d)(t)},{event:t})},t.prototype.setupOnce=function(){var t;this._options.console&&Object(Xt.a)("console",re),this._options.dom&&Object(Xt.a)("dom",(t=this._options.dom,function(e){var n,r="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=e.event.target?Object(Zt.b)(e.event.target,r):Object(Zt.b)(e.event,r)}catch(o){n="<unknown>"}0!==n.length&&Object(p.b)().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})})),this._options.xhr&&Object(Xt.a)("xhr",oe),this._options.fetch&&Object(Xt.a)("fetch",ie),this._options.history&&Object(Xt.a)("history",ae)},t.id="Breadcrumbs",t}();function re(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:ee(t.level),message:Object(U.b)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+(Object(U.b)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}
2Object(p.b)().addBreadcrumb(e,{input:t.args,level:t.level})}function oe(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,o=e.status_code,i=e.body;Object(p.b)().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:t.xhr,input:i})}else;}function ie(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Object(p.b)().addBreadcrumb({category:"fetch",data:t.fetchData,level:s.Error,type:"http"},{data:t.error,input:t.args}):Object(p.b)().addBreadcrumb({category:"fetch",data:Object(c.a)(Object(c.a)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function ae(t){var e=Object(J.a)(),n=t.from,r=t.to,o=Object(A.e)(e.location.href),i=Object(A.e)(n),a=Object(A.e)(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),Object(p.b)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var se,ce=function(t){function e(e){void 0===e&&(e={});return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:E}],version:E},t.call(this,zt,e)||this}return Object(c.b)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),Object(J.a)().document&&(this._isEnabled()?Kt(Object(c.a)(Object(c.a)({},t),{dsn:t.dsn||this.getDsn()})):Object(T.b)()&&D.c.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(ne);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(G),ue=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){se=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(W.e)(this)||this;return se.apply(n,t)}},t.id="FunctionToString",t}(),pe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],le=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n();if(r){var o=r.getIntegration(t);if(o){var i=r.getClient(),a=i?i.getOptions():{};return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(e){}return!1}(t))return Object(T.b)()&&D.c.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(A.d)(t)),!0;if(function(t,e){if(!e||!e.length)return!1;return function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},n=e.type,r=void 0===n?"":n,o=e.value,i=void 0===o?"":o;return[""+i,r+": "+i]}catch(a){return Object(T.b)()&&D.c.error("Cannot extract message for event "+Object(A.d)(t)),[]}return[]}(t).some((function(t){return e.some((function(e){return Object(U.a)(t,e)}))}))}(t,e.ignoreErrors))return Object(T.b)()&&D.c.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(A.d)(t)),!0;if(function(t,e){if(!e||!e.length)return!1;var n=de(t);return!!n&&e.some((function(t){return Object(U.a)(n,t)}))}(t,e.denyUrls))return Object(T.b)()&&D.c.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+Object(A.d)(t)+".\nUrl: "+de(t)),!0;if(!function(t,e){if(!e||!e.length)return!0;var n=de(t);return!n||e.some((function(t){return Object(U.a)(n,t)}))}(t,e.allowUrls))return Object(T.b)()&&D.c.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+Object(A.d)(t)+".\nUrl: "+de(t)),!0;return!1}(e,function(t,e){void 0===t&&(t={});void 0===e&&(e={});return{allowUrls:Object(c.e)(t.whitelistUrls||[],t.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:Object(c.e)(t.blacklistUrls||[],t.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:Object(c.e)(t.ignoreErrors||[],e.ignoreErrors||[],pe),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(o._options,a))?null:e}}return e}))},t.id="InboundFilters",t}();function fe(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function de(t){try{if(t.stacktrace)return fe(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(n){}return e?fe(e):null}catch(r){return Object(T.b)()&&D.c.error("Cannot extract url for event "+Object(A.d)(t)),null}}var he=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],ve=function(){function t(e){this.name=t.id,this._options=Object(c.a)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=Object(J.a)();this._options.setTimeout&&Object(W.d)(t,"setTimeout",me),this._options.setInterval&&Object(W.d)(t,"setInterval",me),this._options.requestAnimationFrame&&Object(W.d)(t,"requestAnimationFrame",be),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(W.d)(XMLHttpRequest.prototype,"send",ge);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:he).forEach(ye)},t.id="TryCatch",t}();function me(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0];return e[0]=Vt(r,{mechanism:{data:{function:Object(ut.b)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function be(t){return function(e){return t.apply(this,[Vt(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(ut.b)(t)},handled:!0,type:"instrument"}})])}}function ge(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this,o=["onload","onerror","onprogress","onreadystatechange"];return o.forEach((function(t){t in r&&"function"==typeof r[t]&&Object(W.d)(r,t,(function(e){var n={mechanism:{data:{function:t,handler:Object(ut.b)(e)},handled:!0,type:"instrument"}},r=Object(W.e)(e);return r&&(n.mechanism.data.handler=Object(ut.b)(r)),Vt(e,n)}))})),t.apply(this,e)}}function ye(t){var e=Object(J.a)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(W.d)(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=Vt(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:Object(ut.b)(r),target:t},handled:!0,type:"instrument"}}))}catch(i){}return e.apply(this,[n,Vt(r,{mechanism:{data:{function:"addEventListener",handler:Object(ut.b)(r),target:t},handled:!0,type:"instrument"}}),o])}})),Object(W.d)(n,"removeEventListener",(function(t){return function(e,n,r){var o=n;try{var i=o&&o.__sentry_wrapped__;i&&t.call(this,e,i,r)}catch(a){}return t.call(this,e,o,r)}})))}var _e=function(){function t(e){this.name=t.id,this._installFunc={onerror:Oe,onunhandledrejection:je},this._options=Object(c.a)({onerror:!0,onunhandledrejection:!0}
2,e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t,e=this._options;for(var n in e){var r=this._installFunc[n];r&&e[n]&&(t=n,Object(T.b)()&&D.c.log("Global Handler attached: "+t),r(),this._installFunc[n]=void 0)}},t.id="GlobalHandlers",t}();function Oe(){Object(Xt.a)("error",(function(t){var e=Object(c.c)(xe(),2),n=e[0],r=e[1];if(n.getIntegration(_e)){var o=t.msg,i=t.url,a=t.line,u=t.column,p=t.error;if(!(Qt()||p&&p.__sentry_own_request__)){var l=void 0===p&&Object(N.k)(o)?function(t,e,n,r){var o=Object(N.e)(t)?t.message:t,i="Error",a=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);a&&(i=a[1],o=a[2]);return we({exception:{values:[{type:i,value:o}]}},e,n,r)}(o,i,a,u):we(Ct(p||o,void 0,r,!1),i,a,u);l.level=s.Error,Se(n,p,l,"onerror")}}}))}function je(){Object(Xt.a)("unhandledrejection",(function(t){var e=Object(c.c)(xe(),2),n=e[0],r=e[1];if(n.getIntegration(_e)){var o=t;try{"reason"in t?o=t.reason:"detail"in t&&"reason"in t.detail&&(o=t.detail.reason)}catch(a){}if(Qt()||o&&o.__sentry_own_request__)return!0;var i=Object(N.i)(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(o)}]}}:Ct(o,void 0,r,!0);i.level=s.Error,Se(n,o,i,"onunhandledrejection")}}))}function we(t,e,n,r){var o=t.exception=t.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},c=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,p=isNaN(parseInt(n,10))?void 0:n,l=Object(N.k)(e)&&e.length>0?e:Object(Zt.a)();return 0===c.length&&c.push({colno:u,filename:l,function:"?",in_app:!0,lineno:p}),t}function Se(t,e,n,r){Object(A.a)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function xe(){var t=Object(p.b)(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var Ee=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){Object(u.b)((function(e,n){var r=Object(p.b)().getIntegration(t);return r?function(t,e,n,r){if(!(n.exception&&n.exception.values&&r&&Object(N.g)(r.originalException,Error)))return n;var o=function t(e,n,r,o){void 0===o&&(o=[]);if(!Object(N.g)(n[r],Error)||o.length+1>=e)return o;var i=St(n[r]);return t(e,n[r],r,Object(c.e)([i],o))}(e,r.originalException,t);return n.exception.values=Object(c.e)(o,n.exception.values),n}(r._key,r._limit,e,n):e}))},t.id="LinkedErrors",t}();var Te=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n().getIntegration(t);if(r){try{if(function(t,e){if(!e)return!1;if(function(t,e){var n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!Re(t,e))return!1;if(!ke(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){var n=Pe(e),r=Pe(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Re(t,e))return!1;if(!ke(t,e))return!1;return!0}(t,e))return!0;return!1}(e,r._previousEvent))return Object(T.b)()&&D.c.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(o){return r._previousEvent=e}return r._previousEvent=e}return e}))},t.id="Dedupe",t}();function ke(t,e){var n=Ce(t),r=Ce(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var o=0;o<r.length;o++){var i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0}function Re(t,e){var n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(o){return!1}}function Pe(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Ce(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(n){return}else if(t.stacktrace)return t.stacktrace.frames}var Ie=Object(J.a)(),Le=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Object(u.b)((function(e){if(Object(p.b)().getIntegration(t)){if(!Ie.navigator&&!Ie.location&&!Ie.document)return e;var n=e.request&&e.request.url||Ie.location&&Ie.location.href,r=(Ie.document||{}).referrer,o=(Ie.navigator||{}).userAgent,i=Object(c.a)(Object(c.a)(Object(c.a)({},e.request&&e.request.headers),r&&{Referer:r}),o&&{"User-Agent":o}),a=Object(c.a)(Object(c.a)({},n&&{url:n}),{headers:i});return Object(c.a)(Object(c.a)({},e),{request:a})}return e}))},t.id="UserAgent",t}(),Ae=[new r.InboundFilters,new r.FunctionToString,new ve,new ne,new _e,new Ee,new Te,new Le];function De(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Ae),void 0===t.release){var e=Object(J.a)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,e){!0===e.debug&&(Object(T.b)()?D.c.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Object(p.b)(),r=n.getScope();r&&r.update(e.initialScope);var o=new t(e);n.bindClient(o)}(ce,t),t.autoSessionTracking&&function(){if(void 0===Object(J.a)().document)return void(Object(T.b)()&&D.c.warn("Session tracking in non-browser environment with @
2sentry/browser is not supported."));var t=Object(p.b)();if(!t.captureSession)return;He(t),Object(Xt.a)("history",(function(t){var e=t.from,n=t.to;void 0!==e&&e!==n&&He(Object(p.b)())}))}()}function Ne(t){void 0===t&&(t={});var e=Object(p.b)(),n=e.getScope();n&&(t.user=Object(c.a)(Object(c.a)({},n.getUser()),t.user)),t.eventId||(t.eventId=e.lastEventId());var r=e.getClient();r&&r.showReportDialog(t)}function Me(){return Object(p.b)().lastEventId()}function qe(){}function Fe(t){t()}function Ue(t){var e=Object(p.b)().getClient();return e?e.flush(t):(Object(T.b)()&&D.c.warn("Cannot flush events. No client defined."),Object(M.c)(!1))}function We(t){var e=Object(p.b)().getClient();return e?e.close(t):(Object(T.b)()&&D.c.warn("Cannot flush events and disable SDK. No client defined."),Object(M.c)(!1))}function Be(t){return Vt(t)()}function He(t){t.startSession({ignoreDuration:!0}),t.captureSession()}var Ye="sentry.javascript.browser",ze={},Ge=Object(J.a)();Ge.Sentry&&Ge.Sentry.Integrations&&(ze=Ge.Sentry.Integrations);Object(c.a)(Object(c.a)(Object(c.a)({},ze),r),o);var Je=n("2mql"),Qe=n.n(Je),$e=n("q1tI"),Ve={id:"Tracing"},Ke=null;var Xe=function(t){function e(e){var n=t.call(this,e)||this;n._mountSpan=void 0,n._mountActivity=null;var r=n.props,o=r.name,i=r.disabled;if(void 0!==i&&i)return n;if(Ke||(Ke=Object(p.b)().getIntegration(Ve)))n._mountActivity=function(t,e){return null===Ke?null:Ke.constructor.pushActivity(t,{description:"<"+t+">",op:e})}(o,"ui.react.mount");else{var a=en();a&&(n._mountSpan=a.startChild({description:"<"+o+">",op:"ui.react.mount"}))}return n}return Object(c.b)(e,t),e.prototype.componentDidMount=function(){var t;this._mountSpan?this._mountSpan.finish():(this._mountSpan=function(t){if(null!==t&&null!==Ke)return Ke.constructor.getActivitySpan(t)}(this._mountActivity),null!==(t=this._mountActivity)&&null!==Ke&&Ke.constructor.popActivity(t),this._mountActivity=null)},e.prototype.componentDidUpdate=function(t){var e=this,n=t.updateProps,r=t.includeUpdates;if((void 0===r||r)&&this._mountSpan&&n!==this.props.updateProps){var o=Object.keys(n).filter((function(t){return n[t]!==e.props.updateProps[t]}));if(o.length>0){var i=Object(q.d)();this._mountSpan.startChild({data:{changedProps:o},description:"<"+this.props.name+">",endTimestamp:i,op:"ui.react.update",startTimestamp:i})}}},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.name,n=t.includeRender,r=void 0===n||n;this._mountSpan&&r&&this._mountSpan.startChild({description:"<"+e+">",endTimestamp:Object(q.d)(),op:"ui.react.render",startTimestamp:this._mountSpan.endTimestamp})},e.prototype.render=function(){return this.props.children},e.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0},e}($e.Component);function Ze(t,e){var n=e&&e.name||t.displayName||t.name||"unknown",r=function(r){return $e.createElement(Xe,Object(c.a)({},e,{name:n,updateProps:r}),$e.createElement(t,Object(c.a)({},r)))};return r.displayName="profiler("+n+")",Qe()(r,t),r}function tn(t,e){void 0===e&&(e={disabled:!1,hasRenderSpan:!0});var n=Object(c.c)($e.useState((function(){if(!e||!e.disabled){var n=en();return n?n.startChild({description:"<"+t+">",op:"ui.react.mount"}):void 0}})),1)[0];$e.useEffect((function(){return n&&n.finish(),function(){n&&e.hasRenderSpan&&n.startChild({description:"<"+t+">",endTimestamp:Object(q.d)(),op:"ui.react.render",startTimestamp:n.endTimestamp})}}),[])}function en(t){if(void 0===t&&(t=Object(p.b)()),t){var e=t.getScope();if(e)return e.getTransaction()}}var nn={componentStack:null,error:null,eventId:null},rn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state=nn,e.resetErrorBoundary=function(){var t=e.props.onReset,n=e.state,r=n.error,o=n.componentStack,i=n.eventId;t&&t(r,o,i),e.setState(nn)},e}return Object(c.b)(e,t),e.prototype.componentDidCatch=function(t,e){var n=this,r=e.componentStack,o=this.props,i=o.beforeCapture,a=o.onError,s=o.showDialog,u=o.dialogOptions;w((function(e){if(p=$e.version,null!==(l=p.match(/^([^.]+)/))&&parseInt(l[0])>=17){var o=new Error(t.message);o.name="React ErrorBoundary "+o.name,o.stack=r,t.cause=o}var p,l;i&&i(e,t,r);var d=f(t,{contexts:{react:{componentStack:r}}});a&&a(t,r,d),s&&Ne(Object(c.a)(Object(c.a)({},u),{eventId:d})),n.setState({error:t,componentStack:r,eventId:d})}))},e.prototype.componentDidMount=function(){var t=this.props.onMount;t&&t()},e.prototype.componentWillUnmount=function(){var t=this.state,e=t.error,n=t.componentStack,r=t.eventId,o=this.props.onUnmount;o&&o(e,n,r)},e.prototype.render=function(){var t=this.props,e=t.fallback,n=t.children,r=this.state,o=r.error,i=r.componentStack,a=r.eventId;if(o){var s=void 0;return s="function"==typeof e?e({error:o,componentStack:i,resetError:this.resetErrorBoundary,eventId:a}):e,$e.isValidElement(s)?s:(e&&Object(T.b)()&&D.c.warn("fallback did not produce a valid ReactElement"),null)}return"function"==typeof n?n():n},e}($e.Component);function on(t,e){var n=t.displayName||t.name||"unknown",r=function(n){return $e.createElement(rn,Ob
2ject(c.a)({},e),$e.createElement(t,Object(c.a)({},n)))};return r.displayName="errorBoundary("+n+")",Qe()(r,t),r}var an={actionTransformer:function(t){return t},stateTransformer:function(t){return t||null}};function sn(t){var e=Object(c.a)(Object(c.a)({},an),t);return function(t){return function(n,r){return t((function(t,r){var o=n(t,r);return v((function(t){var n=e.actionTransformer(r);null!=n&&t.addBreadcrumb({category:"redux.action",data:n,type:"info"});var i=e.stateTransformer(o);null!=i?t.setContext("redux.state",i):t.setContext("redux.state",null);var a=e.configureScopeWithState;"function"==typeof a&&a(t,o)})),o}),r)}}}var cn=Object(J.a)();function un(t,e,n){return function(r,o,i){var a,s;void 0===o&&(o=!0),void 0===i&&(i=!0),o&&cn&&cn.location&&pn(e,cn.location,n,(function(t){a=r({name:s=t,op:"pageload",tags:{"routing.instrumentation":"react-router-v3"}})})),i&&t.listen&&t.listen((function(t){if("PUSH"===t.action||"POP"===t.action){a&&a.finish();var o={"routing.instrumentation":"react-router-v3"};s&&(o.from=s),pn(e,t,n,(function(t){a=r({name:s=t,op:"navigation",tags:o})}))}}))}}function pn(t,e,n,r){var o=e.pathname;n({location:e,routes:t},(function(t,e,n){if(t||!n)return r(o);var i=function(t){if(!Array.isArray(t)||0===t.length)return"";for(var e=t.filter((function(t){return!!t.path})),n=-1,r=e.length-1;r>=0;r--){var o=e[r];if(o.path&&o.path.startsWith("/")){n=r;break}}return e.slice(n).filter((function(t){return!!t.path})).map((function(t){return t.path})).join("")}(n.routes||[]);return 0===i.length||"/*"===i?r(o):r(o=i)}))}var ln,fn=Object(J.a)();function dn(t,e,n){return vn(t,"react-router-v4",e,n)}function hn(t,e,n){return vn(t,"react-router-v5",e,n)}function vn(t,e,n,r){function o(t){if(0===n.length||!r)return t;for(var e=function t(e,n,r,o){void 0===o&&(o=[]);return e.some((function(e){var i=e.path?r(n,e):o.length?o[o.length-1].match:function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}}(n);return i&&(o.push({route:e,match:i}),e.routes&&t(e.routes,n,r,o)),!!i})),o}(n,t,r),o=0;o<e.length;o++)if(e[o].match.isExact)return e[o].match.path;return t}return void 0===n&&(n=[]),function(n,r,i){void 0===r&&(r=!0),void 0===i&&(i=!0);var a=t&&t.location?t.location.pathname:fn&&fn.location?fn.location.pathname:void 0;r&&a&&(ln=n({name:o(a),op:"pageload",tags:{"routing.instrumentation":e}})),i&&t.listen&&t.listen((function(t,r){if(r&&("PUSH"===r||"POP"===r)){ln&&ln.finish();var i={"routing.instrumentation":e};ln=n({name:o(t.pathname),op:"navigation",tags:i})}}))}}function mn(t){var e=t.displayName||t.name,n=function(e){return ln&&e&&e.computedMatch&&e.computedMatch.isExact&&ln.setName(e.computedMatch.path),$e.createElement(t,Object(c.a)({},e))};return n.displayName="sentryRoute("+e+")",Qe()(n,t),n}var bn=n("Cpvd"),gn=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._router=e.router||e.app,this._methods=(Array.isArray(e.methods)?e.methods:[]).concat("use")}return t.prototype.setupOnce=function(){this._router?function(t,e){void 0===e&&(e=[]);e.forEach((function(e){return function(t,e){var n=t[e];return t[e]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return n.call.apply(n,Object(c.e)([this],_n(t,e)))},t}(t,e)}))}(this._router,this._methods):Object(T.b)()&&D.c.error("ExpressIntegration is missing an Express instance")},t.id="Express",t}();function yn(t,e){var n=t.length;switch(n){case 2:return function(n,r){var o=r.__sentry_transaction;if(o){var i=o.startChild({description:t.name,op:"express.middleware."+e});r.once("finish",(function(){i.finish()}))}return t.call(this,n,r)};case 3:return function(n,r,o){var i,a=null===(i=r.__sentry_transaction)||void 0===i?void 0:i.startChild({description:t.name,op:"express.middleware."+e});t.call(this,n,r,(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];null===(t=a)||void 0===t||t.finish(),o.call.apply(o,Object(c.e)([this],e))}))};case 4:return function(n,r,o,i){var a,s=null===(a=o.__sentry_transaction)||void 0===a?void 0:a.startChild({description:t.name,op:"express.middleware."+e});t.call(this,n,r,o,(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];null===(t=s)||void 0===t||t.finish(),i.call.apply(i,Object(c.e)([this],e))}))};default:throw new Error("Express middleware takes 2-4 arguments. Got: "+n)}}function _n(t,e){return t.map((function(t){return"function"==typeof t?yn(t,e):Array.isArray(t)?t.map((function(t){return"function"==typeof t?yn(t,e):t})):t}))}var On=n("+A1k"),jn=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._usePgNative=!!e.usePgNative}return t.prototype.setupOnce=function(t,e){var n,r=Object(On.c)("pg");if(r)if(!this._usePgNative||(null===(n=r.native)||void 0===n?void 0:n.Client)){var o=(this._usePgNative?r.native:r).Client;Object(W.d)(o.prototype,"query",(function(t){return function(n,r,o){var i,a,s,c=null===(a=null===(i=e().getScope())||void 0===i?void 0:i.getSpan())||void 0===a?void 0:a.startChild({description:"string"==typeof n?n:n.text,op:"db"});if("function"==typeof o)return t.call(this,n,r,(function(t,e){var n;null===(n=c)||void 0===n||n.finish(),o(t,e)}));if("function"==typeof r)return t.call(this,n,(function(t,e){var n;null===(n=c)||void 0===n||n.finish(),r(t,e)}));var u=void 0!==r?t.call(this,n,r):t.call(this,n);return Object(N.m)(u)?u.then((function(t){var e;return null===(e=c)||void 0===e||e.finish(),t})):(null===(s=c)||void 0===s||s.finish(),u)}}))}else Object(T.b)()&&D.c.error("Postgres Integration was unable to access 'pg-native' bindings.");else Object(T.b)()&&D.c.error("Postgres Integration was unable to require `pg` package.")},t.id="Postgres",t}(),wn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(t,e){var n=Object(On.c)("mysql/lib/Connection.js");n?Object(W.d)(n,"createQuery",(function(t){return function(n,r,o){var i,a,s=null===(a=null===(i=e().getScope())||void 0===i?void 0:i.getSpan())||void 0===a?void 0:a.startChild({description:"string"==typeof n?n:n.sql,op:"db"});return"function"==typeof o?t.call(this,n,r,(function(t,e,n){var r;null===(r=s)||void 0===r||r.finish(),o(t,e,n)}
2)):"function"==typeof r?t.call(this,n,(function(t,e,n){var o;null===(o=s)||void 0===o||o.finish(),r(t,e,n)})):t.call(this,n,r,o)}})):Object(T.b)()&&D.c.error("Mysql Integration was unable to require `mysql` package.")},t.id="Mysql",t}(),Sn=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],xn={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]},En=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._operations=Array.isArray(e.operations)?e.operations:Sn,this._describeOperations=!("describeOperations"in e)||e.describeOperations,this._useMongoose=!!e.useMongoose}return t.prototype.setupOnce=function(t,e){var n=this._useMongoose?"mongoose":"mongodb",r=Object(On.c)(n);r?this._instrumentOperations(r.Collection,this._operations,e):Object(T.b)()&&D.c.error("Mongo Integration was unable to require `"+n+"` package.")},t.prototype._instrumentOperations=function(t,e,n){var r=this;e.forEach((function(e){return r._patchOperation(t,e,n)}))},t.prototype._patchOperation=function(t,e,n){if(e in t.prototype){var r=this._getSpanContextFromOperationArguments.bind(this);Object(W.d)(t.prototype,e,(function(t){return function(){for(var o,i,a,s,u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];var l=u[u.length-1],f=n().getScope(),d=null===(o=f)||void 0===o?void 0:o.getSpan();if("function"!=typeof l||"mapReduce"===e&&2===u.length){var h=null===(i=d)||void 0===i?void 0:i.startChild(r(this,e,u)),v=t.call.apply(t,Object(c.e)([this],u));return Object(N.m)(v)?v.then((function(t){var e;return null===(e=h)||void 0===e||e.finish(),t})):(null===(a=h)||void 0===a||a.finish(),v)}var m=null===(s=d)||void 0===s?void 0:s.startChild(r(this,e,u.slice(0,-1)));return t.call.apply(t,Object(c.e)([this],u.slice(0,-1),[function(t,e){var n;null===(n=m)||void 0===n||n.finish(),l(t,e)}]))}}))}},t.prototype._getSpanContextFromOperationArguments=function(t,e,n){var r={collectionName:t.collectionName,dbName:t.dbName,namespace:t.namespace},o={op:"db",description:e,data:r},i=xn[e],a=Array.isArray(this._describeOperations)?this._describeOperations.includes(e):this._describeOperations;if(!i||!a)return o;try{if("mapReduce"===e){var s=Object(c.c)(n,2),u=s[0],p=s[1];r[i[0]]="string"==typeof u?u:u.name||"<anonymous>",r[i[1]]="string"==typeof p?p:p.name||"<anonymous>"}else for(var l=0;l<i.length;l++)r[i[l]]=JSON.stringify(n[l])}catch(f){}return o},t.id="Mongo",t}(),Tn=n("MBYv"),kn=n("FGHR"),Rn=n("8yT3"),Pn=n("WWQz"),Cn=Object(J.a)();var In=function(t,e,n){var r;return function(o){e.value>=0&&(o||n)&&(e.delta=e.value-(r||0),(e.delta||void 0===r)&&(r=e.value,t(e)))}},Ln=function(t,e){return{name:t,value:null!=e?e:-1,delta:0,entries:[],id:"v2-"+Date.now()+"-"+(Math.floor(8999999999999*Math.random())+1e12)}},An=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if("first-input"===t&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(t){return t.getEntries().map(e)}));return n.observe({type:t,buffered:!0}),n}}catch(r){}},Dn=function(t,e){var n=function n(r){"pagehide"!==r.type&&"hidden"!==Object(J.a)().document.visibilityState||(t(r),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},Nn=-1,Mn=function(){return Nn<0&&(Nn="hidden"===Object(J.a)().document.visibilityState?0:1/0,Dn((function(t){var e=t.timeStamp;Nn=e}),!0)),{get firstHiddenTime(){return Nn}}},qn={},Fn=Object(J.a)(),Un=function(){function t(t){void 0===t&&(t=!1),this._reportAllChanges=t,this._measurements={},this._performanceCursor=0,!Object(On.b)()&&Fn&&Fn.performance&&Fn.document&&(Fn.performance.mark&&Fn.performance.mark("sentry-tracing-init"),this._trackCLS(),this._trackLCP(),this._trackFID())}return t.prototype.addPerformanceEntries=function(t){var e=this;if(Fn&&Fn.performance&&Fn.performance.getEntries&&q.a){Object(T.b)()&&D.c.log("[Tracing] Adding & adjusting spans using Performance API");var n,r,o=Object(kn.c)(q.a);if(Fn.performance.getEntries().slice(this._performanceCursor).forEach((function(i){var a=Object(kn.c)(i.startTime),s=Object(kn.c)(i.duration);if(!("navigation"===t.op&&o+a<t.startTimestamp))switch(i.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((function(r){Wn(t,e,r,n)})),Wn(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),Wn(t,e,"fetch",n,"cache","domainLookupStart"),Wn(t,e,"domainLookup",n,"DNS"),function(t,e,n){Bn(t,{op:"browser",description:"request",startTimestamp:n+Object(kn.c)(e.requestStart),endTimestamp:n+Object(kn.c)(e.responseEnd)}),Bn(t,{op:"browser",description:"response",startTimestamp:n+Object(kn.c)(e.responseStart),endTimestamp:n+Object(kn.c)(e.responseEnd)})}(t,e,n)}(t,i,o),n=o+Object(kn.c)(i.responseStart),r=o+Object(kn.c)(i.requestStart);break;case"mark":case"paint":case"measure":var c=function(t,e,n,r,o){var i=o+n,a=i+r;return Bn(t,{description:e.name,endTimestamp:a,op:e.entryType,startTimestamp:i}),i}(t,i,a,s,o),u=Mn(),p=i.startTime<u.firstHiddenTime;"first-paint"===i.name&&p&&(Object(T.b)()&&D.c.log("[Measurements] Adding FP"),e._measurements.fp={value:i.startTime},e._measurements["mark.fp"]={value:c}
2),"first-contentful-paint"===i.name&&p&&(Object(T.b)()&&D.c.log("[Measurements] Adding FCP"),e._measurements.fcp={value:i.startTime},e._measurements["mark.fcp"]={value:c});break;case"resource":var l=i.name.replace(Fn.location.origin,"");!function(t,e,n,r,o,i){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return;var a={};"transferSize"in e&&(a["Transfer Size"]=e.transferSize);"encodedBodySize"in e&&(a["Encoded Body Size"]=e.encodedBodySize);"decodedBodySize"in e&&(a["Decoded Body Size"]=e.decodedBodySize);var s=i+r;Bn(t,{description:n,endTimestamp:s+o,op:e.initiatorType?"resource."+e.initiatorType:"resource",startTimestamp:s,data:a})}(t,i,l,a,s,o)}})),this._performanceCursor=Math.max(performance.getEntries().length-1,0),this._trackNavigator(t),"pageload"===t.op){var i=Object(kn.c)(q.a);"number"==typeof n&&(Object(T.b)()&&D.c.log("[Measurements] Adding TTFB"),this._measurements.ttfb={value:1e3*(n-t.startTimestamp)},"number"==typeof r&&r<=n&&(this._measurements["ttfb.requestTime"]={value:1e3*(n-r)})),["fcp","fp","lcp"].forEach((function(n){if(e._measurements[n]&&!(i>=t.startTimestamp)){var r=e._measurements[n].value,o=i+Object(kn.c)(r),a=Math.abs(1e3*(o-t.startTimestamp)),s=a-r;Object(T.b)()&&D.c.log("[Measurements] Normalized "+n+" from "+r+" to "+a+" ("+s+")"),e._measurements[n].value=a}})),this._measurements["mark.fid"]&&this._measurements.fid&&Bn(t,{description:"first input delay",endTimestamp:this._measurements["mark.fid"].value+Object(kn.c)(this._measurements.fid.value),op:"web.vitals",startTimestamp:this._measurements["mark.fid"].value}),"fcp"in this._measurements||delete this._measurements.cls,t.setMeasurements(this._measurements),function(t,e,n){e&&(Object(T.b)()&&D.c.log("[Measurements] Adding LCP Data"),e.element&&t.setTag("lcp.element",Object(Zt.b)(e.element)),e.id&&t.setTag("lcp.id",e.id),e.url&&t.setTag("lcp.url",e.url.trim().slice(0,200)),t.setTag("lcp.size",e.size));n&&n.sources&&(Object(T.b)()&&D.c.log("[Measurements] Adding CLS Data"),n.sources.forEach((function(e,n){return t.setTag("cls.source."+(n+1),Object(Zt.b)(e.node))})))}(t,this._lcpEntry,this._clsEntry),t.setTag("sentry_reportAllChanges",this._reportAllChanges)}}},t.prototype._trackNavigator=function(t){var e=Fn.navigator;if(e){var n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),Hn(n.rtt)&&(this._measurements["connection.rtt"]={value:n.rtt}),Hn(n.downlink)&&(this._measurements["connection.downlink"]={value:n.downlink})),Hn(e.deviceMemory)&&t.setTag("deviceMemory",String(e.deviceMemory)),Hn(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}},t.prototype._trackCLS=function(){var t=this;!function(t,e){var n,r=Ln("CLS",0),o=0,i=[],a=function(t){if(t&&!t.hadRecentInput){var e=i[0],a=i[i.length-1];o&&0!==i.length&&t.startTime-a.startTime<1e3&&t.startTime-e.startTime<5e3?(o+=t.value,i.push(t)):(o=t.value,i=[t]),o>r.value&&(r.value=o,r.entries=i,n&&n())}},s=An("layout-shift",a);s&&(n=In(t,r,e),Dn((function(){s.takeRecords().map(a),n(!0)})))}((function(e){var n=e.entries.pop();n&&(Object(T.b)()&&D.c.log("[Measurements] Adding CLS"),t._measurements.cls={value:e.value},t._clsEntry=n)}))},t.prototype._trackLCP=function(){var t=this;!function(t,e){var n,r=Mn(),o=Ln("LCP"),i=function(t){var e=t.startTime;e<r.firstHiddenTime&&(o.value=e,o.entries.push(t)),n&&n()},a=An("largest-contentful-paint",i);if(a){n=In(t,o,e);var s=function(){qn[o.id]||(a.takeRecords().map(i),a.disconnect(),qn[o.id]=!0,n(!0))};["keydown","click"].forEach((function(t){addEventListener(t,s,{once:!0,capture:!0})})),Dn(s,!0)}}((function(e){var n=e.entries.pop();if(n){var r=Object(kn.c)(q.a),o=Object(kn.c)(n.startTime);Object(T.b)()&&D.c.log("[Measurements] Adding LCP"),t._measurements.lcp={value:e.value},t._measurements["mark.lcp"]={value:r+o},t._lcpEntry=n}}),this._reportAllChanges)},t.prototype._trackFID=function(){var t=this;!function(t,e){var n,r=Mn(),o=Ln("FID"),i=function(t){n&&t.startTime<r.firstHiddenTime&&(o.value=t.processingStart-t.startTime,o.entries.push(t),n(!0))},a=An("first-input",i);a&&(n=In(t,o,e),Dn((function(){a.takeRecords().map(i),a.disconnect()}),!0))}((function(e){var n=e.entries.pop();if(n){var r=Object(kn.c)(q.a),o=Object(kn.c)(n.startTime);Object(T.b)()&&D.c.log("[Measurements] Adding FID"),t._measurements.fid={value:e.value},t._measurements["mark.fid"]={value:r+o}}}))},t}();function Wn(t,e,n,r,o,i){var a=i?e[i]:e[n+"End"],s=e[n+"Start"];s&&a&&Bn(t,{op:"browser",description:null!=o?o:n,startTimestamp:r+Object(kn.c)(s),endTimestamp:r+Object(kn.c)(a)})}function Bn(t,e){var n=e.startTimestamp,r=Object(c.d)(e,["startTimestamp"]);return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild(Object(c.a)({startTimestamp:n},r))}function Hn(t){return"number"==typeof t&&isFinite(t)}
2var Yn={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]};function zn(t){var e=Object(c.a)(Object(c.a)({},Yn),t),n=e.traceFetch,r=e.traceXHR,o=e.tracingOrigins,i=e.shouldCreateSpanForRequest,a={},s=function(t){if(a[t])return a[t];var e=o;return a[t]=e.some((function(e){return Object(U.a)(t,e)}))&&!Object(U.a)(t,"sentry_key"),a[t]},u=s;"function"==typeof i&&(u=function(t){return s(t)&&i(t)});var p={};n&&Object(Xt.a)("fetch",(function(t){!function(t,e,n){if(!Object(kn.b)()||!t.fetchData||!e(t.fetchData.url))return;if(t.endTimestamp){var r=t.fetchData.__span;if(!r)return;return void((i=n[r])&&(t.response?i.setHttpStatus(t.response.status):t.error&&i.setStatus("internal_error"),i.finish(),delete n[r]))}var o=Object(kn.a)();if(o){var i=o.startChild({data:Object(c.a)(Object(c.a)({},t.fetchData),{type:"fetch"}),description:t.fetchData.method+" "+t.fetchData.url,op:"http.client"});t.fetchData.__span=i.spanId,n[i.spanId]=i;var a=t.args[0]=t.args[0],s=t.args[1]=t.args[1]||{},u=s.headers;Object(N.g)(a,Request)&&(u=a.headers),u?"function"==typeof u.append?u.append("sentry-trace",i.toTraceparent()):u=Array.isArray(u)?Object(c.e)(u,[["sentry-trace",i.toTraceparent()]]):Object(c.a)(Object(c.a)({},u),{"sentry-trace":i.toTraceparent()}):u={"sentry-trace":i.toTraceparent()},s.headers=u}}(t,u,p)})),r&&Object(Xt.a)("xhr",(function(t){!function(t,e,n){if(!Object(kn.b)()||t.xhr&&t.xhr.__sentry_own_request__||!(t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)))return;var r=t.xhr.__sentry_xhr__;if(t.endTimestamp){var o=t.xhr.__sentry_xhr_span_id__;if(!o)return;return void((a=n[o])&&(a.setHttpStatus(r.status_code),a.finish(),delete n[o]))}var i=Object(kn.a)();if(i){var a=i.startChild({data:Object(c.a)(Object(c.a)({},r.data),{type:"xhr",method:r.method,url:r.url}),description:r.method+" "+r.url,op:"http.client"});if(t.xhr.__sentry_xhr_span_id__=a.spanId,n[t.xhr.__sentry_xhr_span_id__]=a,t.xhr.setRequestHeader)try{t.xhr.setRequestHeader("sentry-trace",a.toTraceparent())}catch(s){}}}(t,u,p)}))}var Gn=Object(J.a)();var Jn=Object(c.a)({idleTimeout:Tn.a,markBackgroundTransactions:!0,maxTransactionDuration:600,routingInstrumentation:function(t,e,n){if(void 0===e&&(e=!0),void 0===n&&(n=!0),Gn&&Gn.location){var r,o=Gn.location.href;e&&(r=t({name:Gn.location.pathname,op:"pageload"})),n&&Object(Xt.a)("history",(function(e){var n=e.to,i=e.from;void 0===i&&o&&-1!==o.indexOf(n)?o=void 0:i!==n&&(o=void 0,r&&(Object(T.b)()&&D.c.log("[Tracing] Finishing current transaction with op: "+r.op),r.finish()),r=t({name:Gn.location.pathname,op:"navigation"}))}))}else Object(T.b)()&&D.c.warn("Could not initialize routing instrumentation due to invalid location")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},Yn),Qn=function(){function t(e){this.name=t.id,this._configuredIdleTimeout=void 0;var n=Yn.tracingOrigins;e&&(this._configuredIdleTimeout=e.idleTimeout,e.tracingOrigins&&Array.isArray(e.tracingOrigins)&&0!==e.tracingOrigins.length?n=e.tracingOrigins:Object(T.b)()&&(this._emitOptionsWarning=!0)),this.options=Object(c.a)(Object(c.a)(Object(c.a)({},Jn),e),{tracingOrigins:n});var r=this.options._metricOptions;this._metrics=new Un(r&&r._reportAllChanges)}return t.prototype.setupOnce=function(t,e){var n=this;this._getCurrentHub=e,this._emitOptionsWarning&&(Object(T.b)()&&D.c.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),Object(T.b)()&&D.c.warn("[Tracing] We added a reasonable default for you: "+Yn.tracingOrigins));var r=this.options,o=r.routingInstrumentation,i=r.startTransactionOnLocationChange,a=r.startTransactionOnPageLoad,s=r.markBackgroundTransactions,c=r.traceFetch,u=r.traceXHR,p=r.tracingOrigins,l=r.shouldCreateSpanForRequest;o((function(t){return n._createRouteTransaction(t)}),a,i),s&&(Cn&&Cn.document?Cn.document.addEventListener("visibilitychange",(function(){var t=Object(kn.a)();Cn.document.hidden&&t&&(Object(T.b)()&&D.c.log("[Tracing] Transaction: cancelled -> since tab moved to the background, op: "+t.op),t.status||t.setStatus("cancelled"),t.setTag("visibilitychange","document.hidden"),t.setTag(Pn.a,Pn.b[2]),t.finish())})):Object(T.b)()&&D.c.warn("[Tracing] Could not set up background tab detection due to lack of global document")),zn({traceFetch:c,traceXHR:u,tracingOrigins:p,shouldCreateSpanForRequest:l})},t.prototype._createRouteTransaction=function(t){var e=this;if(this._getCurrentHub){var n=this.options,r=n.beforeNavigate,o=n.idleTimeout,i=n.maxTransactionDuration,a="pageload"===t.op?function(){var t=(e="sentry-trace",n=Object(J.a)().document.querySelector("meta[name="+e+"]"),n?n.getAttribute("content"):null);var e,n;if(t)return Object(Rn.a)(t);return}():void 0,s=Object(c.a)(Object(c.a)(Object(c.a)({},t),a),{trimEnd:!0}),u="function"==typeof r?r(s):s,p=void 0===u?Object(c.a)(Object(c.a)({},s),{sampled:!1}):u;!1===p.sampled&&Object(T.b)()&&D.c.log("[Tracing] Will not send "+p.op+" transaction because of beforeNavigate."),Object(T.b)()&&D.c.log("[Tracing] Starting "+p.op+" transaction on scope");var l=this._getCurrentHub(),f=Object(J.a)().location,d=Object(bn.b)(l,p,o,!0,{location:f});return d.registerBeforeFinishCallback((function(t,n){e._metrics.addPerformanceEntries(t),function(t,e,n){var r=n-e.startTimestamp;n&&(r>t||r<0)&&(e.setStatus("deadline_exceeded"),e.setTag("maxTransactionDurationExceeded","true"))}(Object(kn.d)(i),t,n)})),d.setTag("idleTimeout",this._configuredIdleTimeout),d}Object(T.b)()&&D.c.warn("[Tracing] Did not create "+t.op+" transaction because _getCurrentHub is invali
2d.")},t.id="BrowserTracing",t}();function $n(t){var e=kn.b(t);return void 0===t.integrations?Vn([],e):Array.isArray(t.integrations)?Vn(t.integrations,e):function(t,e){return function(n){return Vn(t(n),e)}}(t.integrations,e)}function Vn(t,e){return e&&!t.some((function(t){return t.name===a.BrowserTracing.name}))&&t.push(new a.BrowserTracing),t}function Kn(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.gatsby",packages:[{name:"npm:@sentry/gatsby",version:E}],version:E};var e=$n(t);!function(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:E}],version:E},De(t)}(Object(c.a)(Object(c.a)({},t),{integrations:e}))}Object(bn.a)()},emEt:function(t,e,n){"use strict";n.r(e),n.d(e,"PageResourceStatus",(function(){return l})),n.d(e,"BaseLoader",(function(){return b})),n.d(e,"ProdLoader",(function(){return y})),n.d(e,"setLoader",(function(){return _})),n.d(e,"publicLoader",(function(){return O})),n.d(e,"getStaticQueryResults",(function(){return j}));var r=n("dI71");function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a=function(t){if("undefined"==typeof document)return!1;var e=document.createElement("link");try{if(e.relList&&"function"==typeof e.relList.supports)return e.relList.supports(t)}catch(n){return!1}return!1}("prefetch")?function(t,e){return new Promise((function(n,r){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",t),Object.keys(e).forEach((function(t){o.setAttribute(t,e[t])})),o.onload=n,o.onerror=r,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else r()}))}:function(t){return new Promise((function(e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.onload=function(){200===r.status?e():n()},r.send(null)}))},s={},c=function(t,e){return new Promise((function(n){s[t]?n():a(t,e).then((function(){n(),s[t]=!0})).catch((function(){}))}))},u=n("5yr3"),p=n("30RF"),l={Error:"error",Success:"success"},f=function(t){return t&&t.default||t},d=function(t){var e;return"/researchblog/page-data/"+("/"===t?"index":e=(e="/"===(e=t)[0]?e.slice(1):e).endsWith("/")?e.slice(0,-1):e)+"/page-data.json"};function h(t,e){return void 0===e&&(e="GET"),new Promise((function(n,r){var o=new XMLHttpRequest;o.open(e,t,!0),o.onreadystatechange=function(){4==o.readyState&&n(o)},o.send(null)}))}var v,m=function(t,e){void 0===e&&(e=null);var n={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes};return{component:e,json:t.result,page:n}},b=function(){function t(t,e){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=t,Object(p.d)(e)}var e=t.prototype;return e.memoizedGet=function(t){var e=this,n=this.inFlightNetworkRequests.get(t);return n||(n=h(t,"GET"),this.inFlightNetworkRequests.set(t,n)),n.then((function(n){return e.inFlightNetworkRequests.delete(t),n})).catch((function(n){throw e.inFlightNetworkRequests.delete(t),n}))},e.setApiRunner=function(t){this.apiRunner=t,this.prefetchDisabled=t("disableCorePrefetching").some((function(t){return t}))},e.fetchPageDataJson=function(t){var e=this,n=t.pagePath,r=t.retries,o=void 0===r?0:r,i=d(n);return this.memoizedGet(i).then((function(r){var i=r.status,a=r.responseText;if(200===i)try{var s=JSON.parse(a);if(void 0===s.path)throw new Error("not a valid pageData response");return Object.assign(t,{status:l.Success,payload:s})}catch(c){}return 404===i||200===i?"/404.html"===n?Object.assign(t,{status:l.Error}):e.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===i?Object.assign(t,{status:l.Error}):o<3?e.fetchPageDataJson(Object.assign(t,{retries:o+1})):Object.assign(t,{status:l.Error})}))},e.loadPageDataJson=function(t){var e=this,n=Object(p.b)(t);if(this.pageDataDb.has(n)){var r=this.pageDataDb.get(n);return Promise.resolve(r)}return this.fetchPageDataJson({pagePath:n}).then((function(t){return e.pageDataDb.set(n,t),t}))},e.findMatchPath=function(t){return Object(p.a)(t)},e.loadPage=function(t){var e=this,n=Object(p.b)(t);if(this.pageDb.has(n)){var r=this.pageDb.get(n);return Promise.resolve(r.payload)}if(this.inFlightDb.has(n))return this.inFlightDb.get(n);var o=Promise.all([this.loadAppData(),this.loadPageDataJson(n)]).then((function(t){var r=t[1];if(r.status===l.Error)return{status:l.Error};var o=r.payload,i=o,a=i.componentChunkName,s=i.staticQueryHashes,c=void 0===s?[]:s,p={},f=e.loadComponent(a).then((function(e){var n;return p.createdAt=new Date,e?(p.status=l.Success,!0===r.notFound&&(p.notFound=!0),o=Object.assign(o,{webpackCompilationHash:t[0]?t[0].webpackCompilationHash:""}),n=m(o,e)):p.status=l.Error,n})),d=Promise.all(c.map((function(t){if(e.staticQueryDb[t]){var n=e.staticQueryDb[t];return{staticQueryHash:t,jsonPayload:n}}
2return e.memoizedGet("/researchblog/page-data/sq/d/"+t+".json").then((function(e){var n=JSON.parse(e.responseText);return{staticQueryHash:t,jsonPayload:n}}))}))).then((function(t){var n={};return t.forEach((function(t){var r=t.staticQueryHash,o=t.jsonPayload;n[r]=o,e.staticQueryDb[r]=o})),n}));return Promise.all([f,d]).then((function(t){var r,o=t[0],i=t[1];return o&&(r=Object.assign({},o,{staticQueryResults:i}),p.payload=r,u.a.emit("onPostLoadPageResources",{page:r,pageResources:r})),e.pageDb.set(n,p),r}))}));return o.then((function(t){e.inFlightDb.delete(n)})).catch((function(t){throw e.inFlightDb.delete(n),t})),this.inFlightDb.set(n,o),o},e.loadPageSync=function(t){var e=Object(p.b)(t);if(this.pageDb.has(e))return this.pageDb.get(e).payload},e.shouldPrefetch=function(t){return!!function(){if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0}()&&!this.pageDb.has(t)},e.prefetch=function(t){var e=this;if(!this.shouldPrefetch(t))return!1;if(this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled)return!1;var n=Object(p.b)(t);return this.doPrefetch(n).then((function(){e.prefetchCompleted.has(t)||(e.apiRunner("onPostPrefetchPathname",{pathname:t}),e.prefetchCompleted.add(t))})),!0},e.doPrefetch=function(t){var e=this,n=d(t);return c(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return e.loadPageDataJson(t)}))},e.hovering=function(t){this.loadPage(t)},e.getResourceURLsForPathname=function(t){var e=Object(p.b)(t),n=this.pageDataDb.get(e);if(n){var r=m(n.payload);return[].concat(i(g(r.page.componentChunkName)),[d(e)])}return null},e.isPageNotFound=function(t){var e=Object(p.b)(t),n=this.pageDb.get(e);return!n||n.notFound},e.loadAppData=function(t){var e=this;return void 0===t&&(t=0),this.memoizedGet("/researchblog/page-data/app-data.json").then((function(n){var r,o=n.status,i=n.responseText;if(200!==o&&t<3)return e.loadAppData(t+1);if(200===o)try{var a=JSON.parse(i);if(void 0===a.webpackCompilationHash)throw new Error("not a valid app-data response");r=a}catch(s){}return r}))},t}(),g=function(t){return(window.___chunkMapping[t]||[]).map((function(t){return"/researchblog"+t}))},y=function(t){function e(e,n){return t.call(this,(function(t){return e.components[t]?e.components[t]().then(f).catch((function(){return null})):Promise.resolve()}),n)||this}Object(r.a)(e,t);var n=e.prototype;return n.doPrefetch=function(e){return t.prototype.doPrefetch.call(this,e).then((function(t){if(t.status!==l.Success)return Promise.resolve();var e=t.payload,n=e.componentChunkName,r=g(n);return Promise.all(r.map(c)).then((function(){return e}))}))},n.loadPageDataJson=function(e){return t.prototype.loadPageDataJson.call(this,e).then((function(t){return t.notFound?h(e,"HEAD").then((function(e){return 200===e.status?{status:l.Error}:t})):t}))},e}(b),_=function(t){v=t},O={getResourcesForPathname:function(t){return console.warn("Warning: getResourcesForPathname is deprecated. Use loadPage instead"),v.i.loadPage(t)},getResourcesForPathnameSync:function(t){return console.warn("Warning: getResourcesForPathnameSync is deprecated. Use loadPageSync instead"),v.i.loadPageSync(t)},enqueue:function(t){return v.prefetch(t)},getResourceURLsForPathname:function(t){return v.getResourceURLsForPathname(t)},loadPage:function(t){return v.loadPage(t)},loadPageSync:function(t){return v.loadPageSync(t)},prefetch:function(t){return v.prefetch(t)},isPageNotFound:function(t){return v.isPageNotFound(t)},hovering:function(t){return v.hovering(t)},loadAppData:function(){return v.loadAppData()}};e.default=O;function j(){return v?v.staticQueryDb:{}}},hUyl:function(t,e,n){"use strict";var r=0,o=function(t){var e=window.decodeURI(t.replace("#",""));if(""!==e){var n=document.getElementById(e);if(n){var o=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,i=document.documentElement.clientTop||document.body.clientTop||0,a=window.getComputedStyle(n),s=a.getPropertyValue("scroll-margin-top")||a.getPropertyValue("scroll-snap-margin-top")||"0px";return n.getBoundingClientRect().top+o-parseInt(s,10)-i-r}}return null};e.onInitialClientRender=function(t,e){e.offsetY&&(r=e.offsetY),requestAnimationFrame((function(){var t=o(window.location.hash);null!==t&&window.scrollTo(0,t)}))},e.shouldUpdateScroll=function(t){var e=t.routerProps.location,n=o(e.hash);return null===n||[0,n]}},hd9s:function(t,e,n){"use strict";var r=n("284h"),o=n("TqRt");
2e.__esModule=!0,e.ScrollContainer=void 0;var i=o(n("pVnL")),a=o(n("VbXa")),s=r(n("q1tI")),c=o(n("i8i4")),u=o(n("17x9")),p=n("Enzk"),l=n("YwZP"),f={scrollKey:u.default.string.isRequired,shouldUpdateScroll:u.default.func,children:u.default.element.isRequired},d=function(t){function e(e){return t.call(this,e)||this}(0,a.default)(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this,e=c.default.findDOMNode(this),n=this.props,r=n.location,o=n.scrollKey;if(e){e.addEventListener("scroll",(function(){t.props.context.save(r,o,e.scrollTop)}));var i=this.props.context.read(r,o);e.scrollTo(0,i||0)}},n.render=function(){return this.props.children},e}(s.Component),h=function(t){return s.createElement(l.Location,null,(function(e){var n=e.location;return s.createElement(p.ScrollContext.Consumer,null,(function(e){return s.createElement(d,(0,i.default)({},t,{context:e,location:n}))}))}))};e.ScrollContainer=h,h.propTypes=f},hqbx:function(t,e,n){"use strict";var r=n("TqRt");e.__esModule=!0,e.default=function(t,e,n){var r=v(n,e);return t.addEventListener("click",r),function(){return t.removeEventListener("click",r)}},e.routeThroughBrowserOrApp=e.hashShouldBeFollowed=e.pathIsNotHandledByApp=e.urlsAreOnSameOrigin=e.authorIsForcingNavigation=e.anchorsTargetIsEquivalentToSelf=e.findClosestAnchor=e.navigationWasHandledElsewhere=e.slashedPathname=e.userIsForcingNavigation=void 0;var o=r(n("oxjq")),i=n("Wbzz"),a=function(t){return 0!==t.button||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey};e.userIsForcingNavigation=a;var s=function(t){return"/"===t[0]?t:"/"+t};e.slashedPathname=s;var c=function(t){return t.defaultPrevented};e.navigationWasHandledElsewhere=c;var u=function(t){for(;t.parentNode;t=t.parentNode)if("a"===t.nodeName.toLowerCase())return t;return null};e.findClosestAnchor=u;var p=function(t){return!1===t.hasAttribute("target")||null==t.target||["_self",""].includes(t.target)||"_parent"===t.target&&(!t.ownerDocument.defaultView.parent||t.ownerDocument.defaultView.parent===t.ownerDocument.defaultView)||"_top"===t.target&&(!t.ownerDocument.defaultView.top||t.ownerDocument.defaultView.top===t.ownerDocument.defaultView)};e.anchorsTargetIsEquivalentToSelf=p;var l=function(t){return!0===t.hasAttribute("download")||!1===p(t)};e.authorIsForcingNavigation=l;var f=function(t,e){return t.protocol===e.protocol&&t.host===e.host};e.urlsAreOnSameOrigin=f;var d=function(t,e){return!1===e.test(s(t.pathname))||-1!==t.pathname.search(/^.*\.((?!htm)[a-z0-9]{1,5})$/i)};e.pathIsNotHandledByApp=d;var h=function(t,e){return""!==e.hash&&(""===e.pathname||e.pathname===t.pathname)};e.hashShouldBeFollowed=h;var v=function(t,e){return function(n){if(window.___failedResources)return!0;if(a(n))return!0;if(c(n))return!0;var r=u(n.target);if(null==r)return!0;if(l(r))return!0;var p=document.createElement("a");""!==r.href&&(p.href=r.href),"SVGAnimatedString"in window&&r.href instanceof SVGAnimatedString&&(p.href=r.href.animVal);var v=document.createElement("a");if(v.href=window.location.href,!1===f(v,p))return!0;var m=new RegExp("^"+(0,o.default)((0,i.withPrefix)("/")));if(d(p,m))return!0;if(h(v,p))return!0;if(e.excludePattern&&new RegExp(e.excludePattern).test(p.pathname))return!0;n.preventDefault();var b=s(p.pathname).replace(m,"/");return t(""+b+p.search+p.hash),!1}};e.routeThroughBrowserOrApp=v},kdvv:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return p})),n.d(e,"a",(function(){return l}));var r=n("z+RT"),o=n("+A1k"),i={nowSeconds:function(){return Date.now()/1e3}};var a=Object(o.b)()?function(){try{return Object(o.a)(t,"perf_hooks").performance}catch(e){return}}():function(){var t=Object(r.a)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),s=void 0===a?i:{nowSeconds:function(){return(a.timeOrigin+a.now())/1e3}},c=i.nowSeconds.bind(i),u=s.nowSeconds.bind(s),p=u,l=function(){var t=Object(r.a)().performance;if(t&&t.now){var e=t.now(),n=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,i=o<36e5,a=t.timing&&t.timing.navigationStart,s="number"==typeof a?Math.abs(a+e-n):36e5;return i||s<36e5?o<=s?("timeOrigin",t.timeOrigin):("navigationStart",a):("dateNow",n)}"none"}()}).call(this,n("3UD+")(t))},lW6c:function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return b}));var r=n("mrSG"),o=n("9/Zf"),i=n("kdvv"),a=n("8LbN"),s=n("RQwI"),c=n("z+RT"),u=n("+A1k"),p=n("KjyA"),l=n("xS++"),f=function(){function t(t,e,n){void 0===e&&(e=new p.a),void 0===n&&(n=4),this._version=n,this._stack=[{}
2],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=p.a.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=e&&e.event_id?e.event_id:Object(o.f)(),i=e;if(!e){var a=void 0;try{throw new Error("Sentry syntheticException")}catch(t){a=t}i={originalException:t,syntheticException:a}}return this._invokeClient("captureException",t,Object(r.a)(Object(r.a)({},i),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var i=this._lastEventId=n&&n.event_id?n.event_id:Object(o.f)(),a=n;if(!n){var s=void 0;try{throw new Error(t)}catch(c){s=c}a={originalException:t,syntheticException:s}}return this._invokeClient("captureMessage",t,e,Object(r.a)(Object(r.a)({},a),{event_id:i})),i},t.prototype.captureEvent=function(t,e){var n=e&&e.event_id?e.event_id:Object(o.f)();return"transaction"!==t.type&&(this._lastEventId=n),this._invokeClient("captureEvent",t,Object(r.a)(Object(r.a)({},e),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),o=n.scope,s=n.client;if(o&&s){var c=s.getOptions&&s.getOptions()||{},u=c.beforeBreadcrumb,p=void 0===u?null:u,l=c.maxBreadcrumbs,f=void 0===l?100:l;if(!(f<=0)){var d=Object(i.b)(),h=Object(r.a)({timestamp:d},t),v=p?Object(a.b)((function(){return p(h,e)})):h;null!==v&&o.addBreadcrumb(v,f)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,r=e.client;n&&r&&t(n)},t.prototype.run=function(t){var e=h(this);try{t(this)}finally{h(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(n){return Object(s.b)()&&a.c.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&n.close(),this._sendSessionUpdate(),e&&e.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,o=e.client,i=o&&o.getOptions()||{},a=i.release,s=i.environment,u=(Object(c.a)().navigator||{}).userAgent,p=new l.a(Object(r.a)(Object(r.a)(Object(r.a)({release:a,environment:s},n&&{user:n.getUser()}),u&&{userAgent:u}),t));if(n){var f=n.getSession&&n.getSession();f&&"ok"===f.status&&f.update({status:"exited"}),this.endSession(),n.setSession(p)}return p},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,n=t.client;if(e){var r=e.getSession&&e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},t.prototype._invokeClient=function(t){for(var e,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=this.getStackTop(),a=i.scope,s=i.client;s&&s[t]&&(e=s)[t].apply(e,Object(r.e)(n,[a]))},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=d(),o=r.__SENTRY__;if(o&&o.extensions&&"function"==typeof o.extensions[t])return o.extensions[t].apply(this,e);
2Object(s.b)()&&a.c.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function d(){var t=Object(c.a)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function h(t){var e=d(),n=b(e);return g(e,t),n}function v(){var t=d();return m(t)&&!b(t).isOlderThan(4)||g(t,new f),Object(u.b)()?function(t){try{var e=d().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return b(t);if(!m(n)||b(n).isOlderThan(4)){var r=b(t).getStackTop();g(n,new f(r.client,p.a.clone(r.scope)))}return b(n)}catch(o){return b(t)}}(t):b(t)}function m(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function b(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new f),t.__SENTRY__.hub}function g(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}},lw3w:function(t,e,n){var r;t.exports=(r=n("rzlk"))&&r.default||r},mrSG:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"c",(function(){return c})),n.d(e,"e",(function(){return u}));var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t}},npZl:function(t,e,n){"use strict";var r=n("TqRt");n("Wbzz"),r(n("9hXx"))},nqlD:function(t,e,n){var r=n("q1tI").createContext;t.exports=r,t.exports.default=r},nwwn:function(t,e,n){"use strict";e.DEFAULT_OPTIONS={maxWidth:650,wrapperStyle:"",backgroundColor:"white",linkImagesToOriginal:!0,showCaptions:!1,markdownCaptions:!1,withWebp:!1,withAvif:!1,tracedSVG:!1,loading:"lazy",disableBgImageOnAlpha:!1,disableBgImage:!1},e.EMPTY_ALT="GATSBY_EMPTY_ALT",e.imageClass="gatsby-resp-image-image",e.imageWrapperClass="gatsby-resp-image-wrapper",e.imageBackgroundClass="gatsby-resp-image-background-image"},oxjq:function(t,e,n){"use strict";var r=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(r,"\\$&")}},pRiV:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));n("ToJy");var r=n("mrSG");function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.sort((function(t,e){return t[0]-e[0]})).map((function(t){return t[1]}));return function(t,e){var o,a,s,c;void 0===e&&(e=0);var u=[];try{for(var p=Object(r.f)(t.split("\n").slice(e)),l=p.next();!l.done;l=p.next()){var f=l.value;try{for(var d=(s=void 0,Object(r.f)(n)),h=d.next();!h.done;h=d.next()){var v=(0,h.value)(f);if(v){u.push(v);break}}}catch(m){s={error:m}}finally{try{h&&!h.done&&(c=d.return)&&c.call(d)}finally{if(s)throw s.error}}}}catch(b){o={error:b}}finally{try{l&&!l.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}return i(u)}}function i(t){if(!t.length)return[];var e=t,n=e[0].function||"",o=e[e.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==o.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((function(t){return Object(r.a)(Object(r.a)({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})})).reverse()}function a(t){try{return t&&"function"==typeof t&&t.name||"<anonymous>"}catch(e){return"<anonymous>"}}},pVnL:function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}
2,t.exports.__esModule=!0,t.exports.default=t.exports,n.apply(this,arguments)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},q9nr:function(t,e,n){"use strict";var r=n("nwwn"),o=r.DEFAULT_OPTIONS,i=r.imageClass,a=r.imageBackgroundClass,s=r.imageWrapperClass;e.onRouteUpdate=function(t,e){for(var n=Object.assign({},o,e),r=document.querySelectorAll("."+s),c=function(t){var e=r[t],o=e.querySelector("."+a),s=e.querySelector("."+i),c=function(){o.style.transition="opacity 0.5s 0.5s",s.style.transition="opacity 0.5s",u()},u=function t(){o.style.opacity=0,s.style.opacity=1,s.style.color="inherit",s.style.boxShadow="inset 0px 0px 0px 400px "+n.backgroundColor,s.removeEventListener("load",c),s.removeEventListener("error",t)};s.style.opacity=0,s.addEventListener("load",c),s.addEventListener("error",u),s.complete&&u()},u=0;u<r.length;u++)c(u)}},r36Y:function(t,e,n){"use strict";t.exports=n("Copi")},rzlk:function(t,e,n){"use strict";n.r(e);var r=n("q1tI"),o=n.n(r),i=n("emEt"),a=n("IOVJ");e.default=function(t){var e=t.location,n=i.default.loadPageSync(e.pathname);return n?o.a.createElement(a.a,Object.assign({location:e,pageResources:n},n.json)):null}},vFt6:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return s}));var r=n("z+RT"),o=n("9AQC");function i(t,e){try{for(var n=t,r=[],o=0,i=0,s=" > ".length,c=void 0;n&&o++<5&&!("html"===(c=a(n,e))||o>1&&i+r.length*s+c.length>=80);)r.push(c),i+=c.length,n=n.parentNode;return r.reverse().join(" > ")}catch(u){return"<unknown>"}}function a(t,e){var n,r,i,a,s,c=t,u=[];if(!c||!c.tagName)return"";u.push(c.tagName.toLowerCase());var p=e&&e.length?e.filter((function(t){return c.getAttribute(t)})).map((function(t){return[t,c.getAttribute(t)]})):null;if(p&&p.length)p.forEach((function(t){u.push("["+t[0]+'="'+t[1]+'"]')}));else if(c.id&&u.push("#"+c.id),(n=c.className)&&Object(o.k)(n))for(r=n.split(/\s+/),s=0;s<r.length;s++)u.push("."+r[s]);var l=["type","name","title","alt"];for(s=0;s<l.length;s++)i=l[s],(a=c.getAttribute(i))&&u.push("["+i+'="'+a+'"]');return u.join("")}function s(){var t=Object(r.a)();try{return t.document.location.href}catch(e){return""}}},wCA9:function(t,e,n){"use strict";function r(){var t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(var r=0;r<e.length;r++){if(e[r]===n)return!0}return e.push(n),!1},function(n){if(t)e.delete(n);else for(var r=0;r<e.length;r++)if(e[r]===n){e.splice(r,1);break}}]}n.d(e,"a",(function(){return r}))},"xS++":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("9/Zf"),o=n("kdvv"),i=n("6PXS"),a=function(){function t(t){this.errors=0,this.sid=Object(r.f)(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var e=Object(o.c)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Object(o.c)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:Object(r.f)()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return Object(i.b)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}()},xtsi:function(t,e,n){n("E9XD");var r=n("LeKB"),o=n("emEt").publicLoader,i=o.getResourcesForPathname,a=o.getResourcesForPathnameSync,s=o.getResourceURLsForPathname,c=o.loadPage,u=o.loadPageSync;e.apiRunner=function(t,e,n,o){void 0===e&&(e={});var p=r.map((function(n){if(n.plugin[t]){e.getResourcesForPathnameSync=a,e.getResourcesForPathname=i,e.getResourceURLsForPathname=s,e.loadPage=c,e.loadPageSync=u;var r=n.plugin[t](e,n.options);return r&&o&&(e=o({args:e,result:r,plugin:n})),r}}));return(p=p.filter((function(t){return void 0!==t}))).length>0?p:n?[n]:[]},e.apiRunnerAsync=function(t,e,n){return r.reduce((function(n,r){return r.plugin[t]?n.then((function(){return r.plugin[t](e,r.options)})):n}),Promise.resolve())}},"z+RT":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n("+A1k"),o={};function i(){return Object(r.b)()?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}}).call(this,n("yLpj"))}},[[1,4,0,16,5,3]]]); 3//# sourceMappingURL=app-2ea268d2c02be97c4c2f.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.