1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dd35887e-3724-4c0d-ab04-54bcfa4fa364",e._sentryDebugIdIdentifier="sentry-dbid-dd35887e-3724-4c0d-ab04-54bcfa4fa364")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{21129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Breakpoints=t.BreakpointConstraint=void 0;var r,i,s=n(86046);function o(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var s=[],o=!0,a=!1;try{for(i=i.call(e);!(o=(n=i.next()).done)&&(s.push(n.value),!t||s.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{o||null==i.return||i.return()}finally{if(a)throw r}}return s}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.BreakpointConstraint=i,(r=i||(t.BreakpointConstraint=i={})).at="at",r.lessThan="lessThan",r.greaterThan="greaterThan",r.greaterThanOrEqual="greaterThanOrEqual",r.between="between";var p=function(){function e(t){var n,r=this;(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),h(this,"_sortedBreakpoints",void 0),h(this,"_breakpoints",void 0),h(this,"_mediaQueries",void 0),h(this,"findBreakpointsForWidths",function(e,t){var n=r.findBreakpointAtWidth(e);if(n){var i=r.findBreakpointAtWidth(t);return i&&n!==i?r._sortedBreakpoints.slice(r._sortedBreakpoints.indexOf(n),r._sortedBreakpoints.indexOf(i)+1):[n]}}),h(this,"findBreakpointAtWidth",function(e){return r._sortedBreakpoints.find(function(t,n){var i=r._sortedBreakpoints[n+1];return i?e>=r._breakpoints[t]&&e<r._breakpoints[i]:e>=r._breakpoints[t]})}),h(this,"valuesWithBreakpointProps",function(e){var t,n=e.length,i=[];return r._sortedBreakpoints.forEach(function(r,s){var o=e[s];s<n&&(!t||t[0]!==o)?(t=[o,[r]],i.push(t)):t[1].push(r)}),i.map(function(e,t){var n=a(e,2),r=n[0],s=n[1],o={};return t===i.length-1?o.greaterThanOrEqual=s[0]:1===s.length?o.at=s[0]:o.between=[s[0],i[t+1][1][0]],[r,o]})}),this._breakpoints=t,this._sortedBreakpoints=Object.keys(t).map(function(e){return[e,t[e]]}).sort(function(e,t){return e[1]<t[1]?-1:1}).map(function(e){return e[0]});var s=this._sortedBreakpoints.slice(0,-1).reduce(function(e,t,n){return o(e).concat(o(r._sortedBreakpoints.slice(n+1).map(function(e){return[t,e]})))},[]);this._mediaQueries=(h(n={},i.at,this._createBreakpointQueries(i.at,this._sortedBreakpoints)),h(n,i.lessThan,this._createBreakpointQueries(i.lessThan,this._sortedBreakpoints.slice(1))),h(n,i.greaterThan,this._createBreakpointQueries(i.greaterThan,this._sortedBreakpoints.slice(0,-1))),h(n,i.greaterThanOrEqual,this._createBreakpointQueries(i.greaterThanOrEqual,this._sortedBreakpoints)),h(n,i.between,this._createBreakpointQueries(i.between,s)),n)}return d(e,null,[{key:"validKeys",value:function(){return[i.at,i.lessThan,i.greaterThan,i.greaterThanOrEqual,i.between]}}
1]),d(e,[{key:"toVisibleAtBreakpointSet",value:function(e){if((e=this._normalizeProps(e)).lessThan){var t=this.sortedBreakpoints.findIndex(function(t){return t===e.lessThan});return this.sortedBreakpoints.slice(0,t)}if(e.greaterThan){var n=this.sortedBreakpoints.findIndex(function(t){return t===e.greaterThan});return this.sortedBreakpoints.slice(n+1)}if(e.greaterThanOrEqual){var r=this.sortedBreakpoints.findIndex(function(t){return t===e.greaterThanOrEqual});return this.sortedBreakpoints.slice(r)}if(e.between){var i=e.between,s=this.sortedBreakpoints.findIndex(function(e){return e===i[0]}),o=this.sortedBreakpoints.findIndex(function(e){return e===i[1]});return this.sortedBreakpoints.slice(s,o)}return[]}},{key:"toRuleSets",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.validKeys();return Object.entries(n.reduce(function(e,n){return e[n]=t._mediaQueries[n],e},{})).reduce(function(e,t){var n=a(t,2),r=n[0];return n[1].forEach(function(t,n){e.push((0,s.createRuleSet)((0,s.createClassName)(r,n),"not all and ".concat(t)))}),e},[])}},{key:"shouldRenderMediaQuery",value:function(e,t){var n=this;if((e=this._normalizeProps(e)).lessThan){var r=this._breakpoints[e.lessThan];return Math.min.apply(Math,o(t.map(function(e){return n._breakpoints[e]})))<r}if(e.greaterThan){var i=this._breakpoints[this._findNextBreakpoint(e.greaterThan)];return Math.max.apply(Math,o(t.map(function(e){return n._breakpoints[e]})))>=i}if(e.greaterThanOrEqual){var s=this._breakpoints[e.greaterThanOrEqual];return Math.max.apply(Math,o(t.map(function(e){return n._breakpoints[e]})))>=s}if(e.between){var a=this._breakpoints[e.between[0]],l=this._breakpoints[e.between[1]],u=t.map(function(e){return n._breakpoints[e]});return!(Math.max.apply(Math,o(u))<a||Math.min.apply(Math,o(u))>=l)}return!1}},{key:"_normalizeProps",value:function(e){if(e.at){var t=this._sortedBreakpoints.indexOf(e.at),n=this._sortedBreakpoints[t+1];return n?{between:[e.at,n]}:{greaterThanOrEqual:e.at}}return e}},{key:"_createBreakpointQuery",value:function(e){if((e=this._normalizeProps(e)).lessThan){var t=this._breakpoints[e.lessThan];return"(max-width:".concat(t-.02,"px)")}if(e.greaterThan){var n=this._breakpoints[this._findNextBreakpoint(e.greaterThan)];return"(min-width:".concat(n,"px)")}if(e.greaterThanOrEqual){var r=this._breakpoints[e.greaterThanOrEqual];return"(min-width:".concat(r,"px)")}if(e.between){var i=this._breakpoints[e.between[0]],s=this._breakpoints[e.between[1]];return"(min-width:".concat(i,"px) and (max-width:").concat(s-.02,"px)")}throw Error("Unexpected breakpoint props: ".concat(JSON.stringify(e)))}},{key:"_createBreakpointQueries",value:function(e,t){var n=this;return t.reduce(function(t,r){return t.set(Array.isArray(r)?r.join("-"):r,n._createBreakpointQuery(h({},e,r))),t},new Map)}},{key:"_findNextBreakpoint",value:function(e){var t=this._sortedBreakpoints[this._sortedBreakpoints.indexOf(e)+1];if(!t)throw Error("There is no breakpoint larger than ".concat(e));return t}},{key:"sortedBreakpoints",get:function(){return this._sortedBreakpoints}},{key:"dynamicResponsiveMediaQueries",get:function(){return Array.from(this._mediaQueries[i.at].entries()).reduce(function(e,t){var n=a(t,2);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),r.forEach(function(t){h(e,t,n[t])})}return e}({},e,h({},n[0],n[1]))},{})}},{key:"largestBreakpoint",get:function(){return this._sortedBreakpoints[this._sortedBreakpoints.length-1]}}]),e}();t.Breakpoints=p},91211:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.createResponsiveComponents=function(){var e=s.default.createContext({});return e.displayName="Media.DynamicContext",{Consumer:e.Consumer,Provider:function(t){var n;function i(e){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,i),t=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return u(e)}(this,a(i).call(this,e)),c(u(u(t)),"isSupportedEnvironment",function(){return"undefined"!=typeof window&&void 0!==window.matchMedia}),c(u(u(t)),"setupMatchers",function(e){return Object.keys(e).reduce(function(t,n){return o({},t,c({},n,window.matchMedia(e[n])))},{})}),c(u(u(t)),"checkMatchers",function(e){return Object.keys(e).reduce(function(t,n){return o({},t,c({},n,e[n].matches))},{})}),c(u(u(t)),"mediaQueryStatusChangedCallback",function(){var e=t.checkMatchers(t.state.mediaQueryMatchers);t.setState({mediaQueryMatches:e})});var t,n,s=void 0;return t.isSupportedEnvironment()?(s=t.setupMatchers(e.mediaQueries),n=t.checkMatchers(s)):n=Object.keys(e.mediaQueries).reduce(function(t,n){return o({},t,c({},n,!!e.initialMatchingMediaQueries&&e.initialMatchingMediaQueries.includes(n)))},{}),t.state={mediaQueryMatchers:s,mediaQueryMatches:n},t}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(i,t),n=[{key:"componentDidMount",value:function(){if(this.state.mediaQueryMatchers){var e=this.mediaQueryStatusChangedCallback;
1Object.values(this.state.mediaQueryMatchers).forEach(function(t){t.addListener(e)})}}},{key:"componentWillUnmount",value:function(){if(this.state.mediaQueryMatchers){var e=this.mediaQueryStatusChangedCallback;Object.values(this.state.mediaQueryMatchers).forEach(function(t){return t.removeListener(e)})}}},{key:"shouldComponentUpdate",value:function(e,t){return!!this.state.mediaQueryMatchers&&(e.children!==this.props.children||!d(this.state.mediaQueryMatches,t.mediaQueryMatches))}},{key:"render",value:function(){return s.default.createElement(e.Provider,{value:this.state.mediaQueryMatches},this.props.children)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(i.prototype,n),i}(s.default.Component)}};var i,s=(i=n(67294))&&i.__esModule?i:{default:i};function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),r.forEach(function(t){c(e,t,n[t])})}return e}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e,t){for(var n in e)if(e[n]!==t[n])return!1;return!0}},50971:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Interactions=t.InteractionKey=void 0;var r,i=n(86046);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var s=[],o=!0,a=!1;try{for(i=i.call(e);!(o=(n=i.next()).done)&&(s.push(n.value),!t||s.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{o||null==i.return||i.return()}finally{if(a)throw r}}return s}}(e,t)||o(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.InteractionKey=r,(r||(t.InteractionKey=r={})).interaction="interaction";var d=function(){function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),c(this,"_interactions",void 0),this._interactions=t}return u(e,null,[{key:"validKeys",value:function(){return[r.interaction]}}]),u(e,[{key:"toRuleSets",value:function(){return Object.entries(this._interactions).reduce(function(e,t){var n=s(t,2),l=n[0],u=n[1];return((function(e){if(Array.isArray(e))return a(e)})(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([(0,i.createRuleSet)((0,i.createClassName)(r.interaction,l),u)])},[])}},{key:"shouldRenderMediaQuery",value:function(e,t){return!!(t&&t.includes(e))}},{key:"interactions",get:function(){return Object.keys(this._interactions)}},{key:"dynamicResponsiveMediaQueries",get:function(){return Object.entries(this._interactions).reduce(function(e,t){var n=s(t,2);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),r.forEach(function(t){c(e,t,n[t])})}return e}({},e,c({},n[0],n[1]))},{})}}]),e}();t.Interactions=d},98603:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.createMedia=function(e){var t,n=(0,a.castBreakpointsToIntegers)(e.breakpoints),r=new o.MediaQueries(n,e.interactions||{}),c=(0,s.createResponsiveComponents)(),d=i.default.createContext({});d.displayName="Media.Context";var h=i.default.createContext({hasParentMedia:!1,breakpointProps:{}});d.displayName="MediaParent.Context";var p=(0,a.memoize)(function(e){return{onlyMatch:e}});return{Media:function(e){(function(e){var t=Object.keys(e).filter(function(e){return u.includes(e)});if(t.length<1)throw Error("1 of ".concat(u.join(", ")," is required."));if(t.length>1)throw Error("Only 1 of ".concat(t.join(", ")," is allowed at a time."))})(e),e.children;var t,n=e.className,s=e.style,o=e.interaction,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["children","className","style","interaction"]),c=i.default.useMemo(function(){return(0,a.memoize)(function(e){return{hasParentMedia:!0,breakpointProps:e}})},[]),p=i.default.useContext(h),f=c(l),m=i.default.useContext(d).onlyMatch,g=i.default.useId(),v="undefined"!=typeof window,y=(0,a.useIsFirstRender)();if(e.interaction)t=(0,a.createClassName)("interaction",e.interaction);else{if(e.at){var _=r.breakpoints.largestBreakpoint;e.at===_&&console.warn("[@artsy/fresnel] `at` is being used with the largest breakpoint. Consider using `<Media greaterThanOrEqual="+'"'.concat(_,'">` to account for future ')+"breakpoint definitions outside of this range.")}var b=(0,a.propKey)(l),w=l[b];t=(0,a.createClassName)(b,w)}var x=(!p.hasParentMedia||(0,a.intersection)(r.breakpoints.toVisibleAtBreakpointSet(p.breakpointProps),r.breakpoints.toVisibleAtBreakpointSet(l)).length>0)&&(void 0===m||r.shouldRenderMediaQuery(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},l,{interaction:o}),m)),S=" fresnel-".concat(g);return t+=S,v&&y&&!x&&Array.from(document.getElementsByClassName(S)).forEach(function(e){return e.innerHTML=""}),i.default.createElement(h.Provider,{value:f},e.children instanceof Function?e.children(t,x):i.default.createElement("div",{className:["fresnel-container",t,n].filter(Boolean).join(" "),style:s,suppressHydrationWarning:!0},x?e.children:null))},MediaContextProvider:function(e){var t=e.disableDynamicMediaQueries,n=e.onlyMatch,s=e.children;if(!t)return i.default.createElement(c.Provider,{mediaQueries:r.dynamicResponsiveMediaQueries,initialMatchingMediaQueries:(0,a.intersection)(r.mediaQueryTypes,n)},i.default.createElement(c.Consumer,null,function(e){var t=Object.keys(e).filter(function(t){return e[t]}),r=p((0,a.intersection)(t,n));return i.default.createElement(d.Provider,{value:r},s)}));var o=p(n);return i.default.createElement(d.Provider,{value:o},s)},createMediaStyle:r.toStyle,SortedBreakpoints:function(e){if(Array.isArray(e))return l(e)}(t=r.breakpoints.sortedBreakpoints)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return l(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),findBreakpointAtWidth:r.breakpoints.findBreakpointAtWidth,findBreakpointsForWidths:r.breakpoints.findBreakpointsForWidths,valuesWithBreakpointProps:r.breakpoints.valuesWithBreakpointProps}};var r,i=(r=n(67294))&&r.__esModule?r:{default:r},s=n(91211),o=n(16482),a=n(86046);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var u=o.MediaQueries.validKeys()},16482:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.MediaQueries=void 0;var r=n(21129),i=n(50971),s=n(86046);function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){function e(t,n){var s=this;(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),c(this,"_breakpoints",void 0),c(this,"_interactions",void 0),c(this,"toStyle",function(e){return[".fresnel-container{margin:0;padding:0;}"].concat(o(s._breakpoints.toRuleSets(e)),o(s._interactions.toRuleSets())).join("\n")}),this._breakpoints=new r.Breakpoints(t),this._interactions=new i.Interactions(n||{})}return u(e,null,[{key:"validKeys",value:function(){return o(r.Breakpoints.validKeys()).concat(o(i.Interactions.validKeys()))}}]),u(e,[{key:"shouldRenderMediaQuery",value:function(e,t){var n=e.interaction,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["interaction"]);if(n)return this._interactions.shouldRenderMediaQuery(n,t);var i=(0,s.intersection)(t,this._breakpoints.sortedBreakpoints);return this._breakpoints.shouldRenderMediaQuery(r,i)}},{key:"breakpoints",get:function(){return this._breakpoints}},{key:"mediaQueryTypes",get:function(){return o(this._breakpoints.sortedBreakpoints).concat(o(this._interactions.interactions))}},{key:"dynamicResponsiveMediaQueries",get:function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),r.forEach(function(t){c(e,t,n[t])})}return e}({},this._breakpoints.dynamicResponsiveMediaQueries,this._interactions.dynamicResponsiveMediaQueries)}}]),e}();t.MediaQueries=d},86046:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.propKey=function(e){return Object.keys(e)[0]},t.intersection=function(e,t){return t?e.filter(function(e){return t.indexOf(e)>=0}):s(e)},t.createRuleSet=function(e,t){return"@media ".concat(t,"{.").concat(e,"{display:none!important;}}")},t.createClassName=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return["fresnel"].concat(s(t.reduce(function(e,t){return Array.isArray(t)?s(e).concat(s(t)):s(e).concat([t])},[]))).join("-")},t.castBreakpointsToIntegers=function(e){var t=Object.keys(e);return t.reduce(function(n,r,s){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),r.forEach(function(t){i(e,t,n[t])})}return e}({},n,i({},t[s],Math.round(Number(e[r]))))},{})},t.memoize=function(e){var t={};return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var s=JSON.stringify(r);
1return t[s]||(t[s]=e.apply(void 0,r)),t[s]}},t.useIsFirstRender=function(){var e=(0,r.useRef)(!0);return!!e.current&&(e.current=!1,!0)};var r=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}},2082:function(e,t,n){"use strict";Object.defineProperty(t,"Wm",{enumerable:!0,get:function(){return r.createMedia}});var r=n(98603);n(21129)},43073:function(e,t,n){var r;r=()=>(()=>{"use strict";var e,t,r,i,s,o,a,l,u,c,d,h,p,f,m,g,v,y,_={};_.d=(e,t)=>{for(var n in t)_.o(t,n)&&!_.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},_.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),_.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var b={};_.r(b),_.d(b,{ArrowIcon:()=>S,ArrowIcon2:()=>A,ChevronDownIcon:()=>O,CloseIcon:()=>R,FacebookIcon:()=>j,FullscreenIcon:()=>L,HamburgerIcon:()=>F,InstagramIcon:()=>z,LinkedInIcon:()=>U,PauseIcon:()=>W,PlayIcon:()=>Y,SlopedArrowIcon:()=>T,SmallPlayIcon:()=>X,StarIcon:()=>Q,StarsIcon:()=>Z,ThinArrowIcon:()=>M,TwitterIcon:()=>et,XTwitterIcon:()=>er,YouTubeIcon:()=>es});let w=n(67294);function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let S=function(t){return w.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 14"},t),e||(e=w.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M13.03.47 19.56 7l-6.53 6.53-1.06-1.06 4.72-4.72H.5v-1.5h16.19l-4.72-4.72z",clipRule:"evenodd"})))};function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let A=function(e){return w.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188 142"},e),w.createElement("path",{d:"M1 67h179v9H1zm116 74.7-7.1-7.1L173.6 71 109.9 7.4 117 .3 187.7 71z",style:{fill:"#fff"}}))};function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let T=function(e){return w.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 10"},e),t||(t=w.createElement("defs",null,w.createElement("image",{id:"icon-arrow-sloped_svg__a",width:10,height:10,href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKAQMAAAC3/F3+AAAAAXNSR0IB2cksfwAAAAZQTFRF////////VXz1bAAAAAJ0Uk5T/wDltzBKAAAAI0lEQVR4nGNgAIM/DAw/GBg+MjA8ZmA4zsDQz8Agz8BgzwAAVKsFfdBMYlwAAAAASUVORK5CYII="}))),r||(r=w.createElement("use",{href:"#icon-arrow-sloped_svg__a"})))};function C(){return(C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let M=function(e){return w.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 187 142"},e),i||(i=w.createElement("path",{fillRule:"evenodd",d:"m116 141.7-7-7L167.5 76H0v-9h168.6L108.9 7.4 116 .3 186.7 71z"})))};function P(){return(P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let O=function(e){return w.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,className:"icon-chevron-down_svg__feather icon-chevron-down_svg__feather-chevron-down",viewBox:"0 0 24 24"},e),s||(s=w.createElement("path",{d:"m6 9 6 6 6-6"})))};function I(){return(I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let R=function(e){return w.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 16"},e),o||(o=w.createElement("path",{stroke:"#fff",strokeWidth:2,d:"m15.5 1-14 14m14-14-14 14M2 1l14 14M2 1l14 14"})))};function D(){return(D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let j=function(e){return w.createElement("svg",D({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 9 14"},e),a||(a=w.createElement("path",{fillRule:"evenodd",d:"M2.552 13.997V7.429H.591V5.64h1.961V3.43C2.552 1.457 3.711 0 6.381 0c1.081 0 1.881.92 1.881.92l-.063 1.379s-.816-.007-1.705-.007c-.963 0-1.117.392-1.117 1.045V5.64h2.898l-.126 1.789H5.377v6.568z"})))};function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let L=function(e){return w.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 13 13"},e),l||(l=w.createElement("path",{d:"M6.775 1v1.664h2.292L6.225 5.437l-3.392 3.42V6.824H1V12h5.317v-1.664H4.025l6.233-6.286v2.034H12V1z",clipRule:"evenodd"})))};function B(){return(B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let F=function(e){return w.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 8"},e),u||(u=w.createElement("path",{fillRule:"evenodd",d:"M0 7.999v-2h19.999v2zM0 0h19.999v1.999H0z"})))};function $(){return($=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let z=function(e){return w.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 14"}
1,e),c||(c=w.createElement("path",{d:"M7.023 3.39c-2 0-3.593 1.626-3.593 3.594 0 2 1.593 3.594 3.593 3.594a3.594 3.594 0 0 0 3.594-3.594c0-1.968-1.625-3.593-3.594-3.593m0 5.938A2.34 2.34 0 0 1 4.68 6.984c0-1.28 1.03-2.312 2.343-2.312a2.307 2.307 0 0 1 2.313 2.312c0 1.313-1.031 2.344-2.313 2.344m4.563-6.062a.84.84 0 0 0-.844-.844.84.84 0 0 0-.844.844.84.84 0 0 0 .844.843.84.84 0 0 0 .844-.843m2.375.843c-.063-1.125-.313-2.125-1.125-2.937C12.023.359 11.023.109 9.898.047c-1.156-.063-4.625-.063-5.78 0C2.991.109 2.022.359 1.18 1.172.367 1.984.117 2.984.055 4.109c-.063 1.157-.063 4.625 0 5.782.062 1.125.312 2.093 1.125 2.937.843.813 1.812 1.063 2.937 1.125 1.156.063 4.625.063 5.781 0 1.125-.062 2.125-.312 2.938-1.125.812-.844 1.062-1.812 1.125-2.937.062-1.157.062-4.625 0-5.782m-1.5 7c-.219.625-.719 1.094-1.313 1.344-.937.375-3.125.281-4.125.281-1.03 0-3.218.094-4.125-.28a2.37 2.37 0 0 1-1.343-1.345c-.375-.906-.282-3.093-.282-4.125 0-1-.093-3.187.282-4.125a2.4 2.4 0 0 1 1.343-1.312c.907-.375 3.094-.281 4.125-.281 1 0 3.188-.094 4.125.28.594.22 1.063.72 1.313 1.313.375.938.281 3.125.281 4.125 0 1.032.094 3.22-.281 4.125"})))};function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let U=function(e){return w.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 13"},e),d||(d=w.createElement("path",{d:"M13 13h-2.7V8.8c0-1 0-2.3-1.4-2.3s-1.6 1-1.6 2.2V13H4.6V4.3h2.6v1.2A2.8 2.8 0 0 1 9.7 4C12.5 4 13 5.9 13 8.2zM1.6 3.1A1.6 1.6 0 1 1 3 1.6 1.6 1.6 0 0 1 1.6 3m1.3 1.3H.2V13H3V4.3z"})))};function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let W=function(e){return w.createElement("svg",H({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 13 13"},e),h||(h=w.createElement("path",{d:"M8 12V1h4v11zm-7 0V1h4v11z",clipRule:"evenodd"})))};function q(){return(q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let Y=function(e){return w.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 120 120"},e),w.createElement("circle",{cx:60,cy:60,r:60,style:{fill:"#fff"}}),w.createElement("path",{d:"M55.4 50.3v20l15.3-10z",style:{fill:"#333"}}))};function G(){return(G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let X=function(e){return w.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 13 13"},e),p||(p=w.createElement("path",{d:"M2 1v11l9-5.5z"})))};function K(){return(K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let Q=function(e){return w.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 35"},e),f||(f=w.createElement("path",{fillRule:"evenodd",d:"M28.725 22.41 31 34.912 19.43 29.13 7.861 34.912l2.275-12.502-9.639-9.49 13.321-1.48L19.43.6l6 10.84 12.933 1.48z"})))};function J(){return(J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let Z=function(e){return w.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 221 35"},e),m||(m=w.createElement("path",{fill:"#333",fillRule:"evenodd",d:"M28.7 22.4 31 35l-11.6-5.8L8 35l2-12.6L.5 13l13.3-1.5L19.4.6l6 10.8 13 1.5zm45.6 0L76.6 35l-11.1-5.8-12 5.8 2.2-12.5-9-9.5 12.7-1.5L65.5.6l5.1 10.8L84 13l-9.6 9.5Zm91.1 0 2.3 12.5-11.5-5.8-11.6 5.8 2.3-12.5-9.7-9.5 13.3-1.5L156.2.6l5.6 10.8 14 1.5zm45.8 0 2.1 12.5-11.6-5.8-11.5 5.8 2.2-12.5-9.6-9.5 13.3-1.5L201.7.6l5.6 10.8 13.4 1.5zm-91.3 0L122 35l-11.5-5.8L99 35l2.2-12.5-9.7-9.5 13.4-1.5L110.6.6l5.6 10.8 13.3 1.5z"})))};function ee(){return(ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let et=function(e){return w.createElement("svg",ee({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19 14"},e),g||(g=w.createElement("path",{fillRule:"evenodd",d:"M18.659 1.655a8 8 0 0 1-2.199.557c.79-.437 1.397-.382 1.683-1.954a8.1 8.1 0 0 1-2.431.858C15.14.428 14.19 0 12.918 0 10.804 0 9.9 1.581 9.9 3.533c0 .277-.776 1.257-.711.806C6.7 4.191 3.187 2.785 1.299.646A3.3 3.3 0 0 0 .78 2.422c0 1.227.676 2.308 1.703 2.943a4.1 4.1 0 0 1-1.734-.444v.046c0 1.713 1.941 3.14 3.071 3.465a4 4 0 0 1-1.009.124c-.246 0-.486-.022.099-.063-.332 1.403 1.082 2.425 2.757 2.455A8.1 8.1 0 0 1 .913 12.46q-.464 0-.913-.049a11.5 11.5 0 0 0 5.868 1.587c7.041 0 10.892-5.386 10.892-10.056q0-.228-.011-.456a7.5 7.5 0 0 0 1.91-1.831"})))};function en(){return(en=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let er=function(e){return w.createElement("svg",en({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 1227"},e),v||(v=w.createElement("path",{d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284zM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854z"})))};function ei(){return(ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let es=function(e){return w.createElement("svg",ei({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19 14"},e),y||(y=w.createElement("path",{d:"M15.3.1H3.4C.4.3 0 2.1 0 7c0 4.8.4 6.6 3.4 6.9h11.9c3-.3 3.3-2 3.4-6.9 0-4.8-.4-6.6-3.4-6.9M7 10.
11V4l6.2 3L7 10.2Z"})))};return b})(),e.exports=r()},27615:function(e,t,n){var r;r=()=>(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>d});let r=n(67294);var i=e.n(r);let s=n(45697);var o=e.n(s);let a=n(41664);var l=e.n(a);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let c=(0,r.forwardRef)(({href:e,shallow:t=!1,replace:n=!1,children:r,passHref:s,className:o="",onClick:a=()=>{},target:c="",ariaLabel:d="",...h},p)=>e?i().createElement(l(),u({legacyBehavior:!0,href:"/home/"==e?"/":e,passHref:s,scroll:!1,shallow:t,replace:n,prefetch:!1},h),i().createElement("a",{className:o,onClick:a,rel:"_blank"==c?"noopener noreferrer":"",ref:p,target:c,"aria-label":d},r)):i().createElement("div",{className:o},r));c.propTypes={href:o().string.isRequired,shallow:o().bool,replace:o().bool,children:o().oneOfType([o().arrayOf(o().node),o().node]).isRequired,passHref:o().bool,className:o().string,onClick:o().func,target:o().string,ariaLabel:o().string},c.displayName="Link";let d=c;return t})(),e.exports=r()},83686:function(e,t,n){var r;r=()=>(()=>{var e={868:e=>{e.exports=function(e){var t=document.querySelector("head"),n=window._lastElementInsertedByStyleLoader;n?n.nextSibling?t.insertBefore(e,n.nextSibling):t.appendChild(e):t.insertBefore(e,t.firstChild),window._lastElementInsertedByStyleLoader=e}},462:(e,t,n)=>{"use strict";n.d(t,{Av:()=>a,Aw:()=>u,Ay:()=>d,nf:()=>c,p_:()=>l});var r=n(324),i=n.n(r),s=n(980),o=n.n(s)()(i());o.push([e.id,'.YfVaZVEi_BlEGNNgqDHE{border:0;clip:rect(black, 0);color:rgba(0,0,0,0);height:.1rem;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:.1rem}.ml4vKZfvDfJ7iSlEUkte{display:flex}.A5ztmzsQMK1ri91hG2hN{display:block;height:5rem;margin-right:.5rem;position:relative;width:5rem}@media only screen and (min-width: 768px){.A5ztmzsQMK1ri91hG2hN{margin-right:.6rem}.A5ztmzsQMK1ri91hG2hN:last-child{margin-right:0}}.h8OZ_pEyFktZBztASmXX{display:block;height:100%;padding:.5rem;position:relative;width:100%}.h8OZ_pEyFktZBztASmXX:hover:before{opacity:.15;transform:scale(1)}.h8OZ_pEyFktZBztASmXX:before{background-color:#939293;border-radius:50%;content:"";display:block;height:100%;left:0;opacity:.3;opacity:0;position:absolute;top:0;transform:scale(0.7);transition:all .2s cubic-bezier(0, 0.1, 0.5, 1);width:100%;z-index:0}.h8OZ_pEyFktZBztASmXX svg{display:block;margin:auto;position:relative;top:50%;transform:translateY(-50%)}',"",{version:3,sources:["webpack://./src/social-icons.module.scss","data:;charset=utf-8,@use%20%22sass:map%22;%0A%0A/%20Breakpoints%0A%0A$bp-xs:%20415px;%0A$bp-xs-max:%20calc(%23%7B$bp-xs%7D%20-%201px);%0A%0A$bp-s:%20650px;%0A$bp-s-max:%20calc(%23%7B$bp-s%7D%20-%201px);%0A%0A$bp-ms:%20768px;%0A$bp-ms-max:%20calc(%23%7B$bp-ms%7D%20-%201px);%0A%0A$bp-m:%201024px;%0A$bp-m-max:%20calc(%23%7B$bp-m%7D%20-%201px);%0A%0A$bp-ml:%201440px;%0A$bp-ml-max:%20calc(%23%7B$bp-ml%7D%20-%201px);%0A%0A$bp-ls:%201680px;%0A$bp-ls-max:%20calc(%23%7B$bp-ls%7D%20-%201px);%0A%0A$breakpoints:%20(%0A%20%20xs:%20$bp-xs,%0A%20%20s:%20$bp-s,%0A%20%20ms:%20$bp-ms,%0A%20%20m:%20$bp-m,%0A%20%20ml:%20$bp-ml,%0A%20%20ls:%20$bp-ls,%0A)%20!default;%0A%0A$breakpoints-max:%20(%0A%20%20xs:%20$bp-xs-max,%0A%20%20s:%20$bp-s-max,%0A%20%20ms:%20$bp-ms-max,%0A%20%20m:%20$bp-m-max,%0A%20%20ml:%20$bp-ml-max,%0A%20%20ls:%20$bp-ls-max,%0A)%20!default;%0A%0A/%20Generic%20query%0A%0A@mixin%20bp-desktop%20%7B%0A%20%20@include%20bp(map-get($breakpoints,%20%22ms%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-desktop-max%20%7B%0A%20%20@include%20bp-max(map-get($breakpoints-max,%2
10%22ms%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp($value)%20%7B%0A%20%20@media%20only%20screen%20and%20(min-width:%20$value)%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-max($value)%20%7B%0A%20%20@media%20only%20screen%20and%20(max-width:%20$value)%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A/%20Break%20point%20queries%0A%0A@mixin%20bp-xs%20%7B%0A%20%20@include%20bp(map-get($breakpoints,%20%22xs%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-xs-max%20%7B%0A%20%20@include%20bp-max(map-get($breakpoints-max,%20%22xs%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-s%20%7B%0A%20%20@include%20bp(map-get($breakpoints,%20%22s%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-s-max%20%7B%0A%20%20@include%20bp-max(map-get($breakpoints-max,%20%22s%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-ms%20%7B%0A%20%20@include%20bp(map-get($breakpoints,%20%22ms%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-ms-max%20%7B%0A%20%20@include%20bp-max(map-get($breakpoints-max,%20%22ms%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-m%20%7B%0A%20%20@include%20bp(map-get($breakpoints,%20%22m%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-m-max%20%7B%0A%20%20@include%20bp-max(map-get($breakpoints-max,%20%22m%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-ml%20%7B%0A%20%20@include%20bp(map-get($breakpoints,%20%22ml%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-ml-max%20%7B%0A%20%20@include%20bp-max(map-get($breakpoints-max,%20%22ml%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-ls%20%7B%0A%20%20@include%20bp(map-get($breakpoints,%20%22ls%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A%0A@mixin%20bp-ls-max%20%7B%0A%20%20@include%20bp-max(map-get($breakpoints-max,%20%22ls%22))%20%7B%0A%20%20%20%20@content;%0A%20%20%7D%0A%7D%0A","data:;charset=utf-8,/%20Colors%0A%0A/%20Black%0A$black:%20%23ffffff;%0A$black-text:%20%23ffffff;%0A%0A/%20White%0A$white:%20%23000000;%0A%0A/%20Grey%0A$grey-0:%20%23d9d9d9;%0A$grey-1:%20%23939293;%0A$grey-2:%20%23999999;%0A/$grey-3:%20%23cccccc;%0A$grey-3:%20rgba(255,%20255,%20255,%200.2);%0A$grey-4:%20%23f5f5f5;%0A$grey-46:%20%23757575;%0A$grey-5:%20%23d0d0d0;%0A%0A/%20States%0A$error:%20%23ef4444;%0A%0A/%20Light%20black%0A$light-black:%20%231d1d1d;%0A"],names:[],mappings:"AAEA,sBACE,QAAA,CACA,mBAAA,CACA,mBAAA,CACA,YAAA,CACA,eAAA,CACA,SAAA,CACA,iBAAA,CACA,kBAAA,CACA,WAAA,CAGF,sBACE,YAAA,CAGF,sBACE,aAAA,CACA,WAAA,CACA,kBAAA,CACA,iBAAA,CACA,UAAA,CCgCA,0CDrCF,sBAQI,kBAAA,CAEA,iCACE,cAAA,CAAA,CAKN,sBACE,aAAA,CACA,WAAA,CACA,aAAA,CACA,iBAAA,CACA,UAAA,CAGE,mCACE,WAAA,CACA,kBAAA,CAIJ,6BACE,wBEtCK,CFuCL,iBAAA,CACA,UAAA,CACA,aAAA,CACA,WAAA,CACA,MAAA,CACA,UAAA,CACA,SAAA,CACA,iBAAA,CACA,KAAA,CACA,oBAAA,CACA,+CAAA,CACA,UAAA,CACA,SAAA,CAGF,0BACE,aAAA,CACA,WAAA,CACA,iBAAA,CACA,OAAA,CACA,0BAAA",sourceRoot:""}]);var a="YfVaZVEi_BlEGNNgqDHE",l="ml4vKZfvDfJ7iSlEUkte",u="A5ztmzsQMK1ri91hG2hN",c="h8OZ_pEyFktZBztASmXX";let d=o},980:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,s){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(o[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&o[c[0]]||(void 0!==s&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=s),n&&(c[2]&&(c[1]="@media ".concat(c[2]," {").concat(c[1],"}")),c[2]=n),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},324:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n))));return[t].concat(["/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r)," */")]).join("\n")}return[t].join("\n")}},564:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},s=[],o=0;o<e.length;o++){var a=e[o],l=r.base?a[0]+r.base:a[0],u=i[l]||0,c="".concat(l," ").concat(u);i[l]=u+1;var d=n(c),h={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var p=function(e,t){var n=t.domAPI(t);return n.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&n.update(e=t):n.remove()}}(h,r);r.byIndex=o,t.splice(o,0,{identifier:c,updater:p,references:1})}s.push(c)}return s}
1e.exports=function(e,i){var s=r(e=e||[],i=i||{});return function(e){e=e||[];for(var o=0;o<s.length;o++){var a=n(s[o]);t[a].references--}for(var l=r(e,i),u=0;u<s.length;u++){var c=n(s[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}s=l}}},536:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},756:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},405:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){var r,i,s;r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {")),(i=void 0!==n.layer)&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}"),(s=n.sourceMap)&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleTagTransform(r,t,e.options)},remove:function(){var e;null!==(e=t).parentNode&&e.parentNode.removeChild(e)}}}},461:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,r),s.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var i={};return(()=>{"use strict";r.r(i),r.d(i,{default:()=>O});let e=n(67294);var t=r.n(e);let s=n(45697);var o=r.n(s);let a=n(93967);var l=r.n(a);let u=n(41686);var c=r.n(u);let d=n(27615);var h=r.n(d);let p=n(43073);var f=r(564),m=r.n(f),g=r(405),v=r.n(g),y=r(868),_=r.n(y),b=r(756),w=r.n(b),x=r(536),S=r.n(x),E=r(461),A=r.n(E),k=r(462),T={};T.styleTagTransform=A(),T.setAttributes=w(),T.insert=_(),T.domAPI=v(),T.insertStyleElement=S(),m()(k.Ay,T),k.Ay&&k.Ay.locals&&k.Ay.locals;let C=c()(h())` 2 fill: ${({theme:e})=>e.colors.grey1}; 3 &:hover { 4 fill: ${({theme:e})=>e.colors.foreground}; 5 } 6 &:focus-visible { 7 outline: ${({theme:e})=>e.colors.foreground}; 8 } 9`,M={twitter:p.TwitterIcon,x:p.XTwitterIcon,facebook:p.FacebookIcon,youtube:p.YouTubeIcon,instagram:p.InstagramIcon,linkedin:p.LinkedInIcon},P=({socialItems:e,classNames:n={}})=>{let r=e?e.filter(e=>void 0!==M[e?.label?.toLowerCase()]):[];return t().createElement("nav",{className:n.root,"aria-labelledby":"socialIcons"},t().createElement("h2",{id:"socialIcons",className:k.Av},"Social navigation links"),t().createElement("ul",{className:l()(k.p_,n.list)},r?.map((e,r)=>{let i=M[e?.label?.toLowerCase()];return t().createElement("li",{key:r,className:l()(k.Aw,n.listItem)},t().createElement(C,{href:e.url,target:"_blank",rel:"noopener noreferrer",className:l()(k.nf,n.link)},t().createElement(i,{height:12,className:n.icon}),t().createElement("span",{className:k.Av},`${e.label}, opens in new tab`)))})))};P.propTypes={socialItems:o().arrayOf(o().shape({label:o().string.isRequired,url:o().string.isRequired})),classNames:o().shape({root:o().string,list:o().string,listItem:o().string,link:o().string,icon:o().string})};let O=P})(),i})(),e.exports=r()},62220:function(e,t,n){var r;r=()=>(()=>{"use strict";var e={};e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};e.r(t),e.d(t,{ThemeProvider:()=>r.ThemeProvider,darkTheme:()=>i,lightTheme:()=>s,signatureTheme:()=>
9o});let r=n(41686),i={colors:{foreground:"white",background:"black",grey0:"#d9d9d9",grey1:"#939293",grey2:"#999999",grey3:"rgba(255, 255, 255, 0.2)",grey4:"#f5f5f5",grey5:"#d0d0d0"}},s={colors:{foreground:"black",background:"white",grey0:"#d9d9d9",grey1:"#939293",grey2:"#999999",grey3:"rgba(255, 255, 255, 0.2)",grey4:"#f5f5f5",grey5:"#d0d0d0"}},o={colors:{foreground:"#1e3040",background:"white",grey0:"#d9d9d9",grey1:"#939293",grey2:"#999999",grey3:"rgba(255, 255, 255, 0.2)",grey4:"#f5f5f5",grey5:"#d0d0d0"}};return t})(),e.exports=r()},56546:function(e,t){var n,r,i,s,o,a,l,u,c,d,h,p,f,m,g,v,y,_,b,w,x,S,E,A,k,T,C,M,P,O,I,R,D,j,N,L,B,F,$,z,V,U,H,W,q,Y,G,X,K,Q,J,Z,ee,et,en,er,ei,es,eo,ea,el,eu,ec,ed,eh,ep,ef,em,eg,ev,ey,e_,eb,ew,ex,eS,eE,eA,ek,eT,eC,eM,eP,eO,eI,eR,eD,ej,eN,eL,eB,eF,e$,ez,eV,eU,eH,eW,eq,eY,eG,eX,eK,eQ,eJ,eZ,e0,e1,e2,e3,e5,e4,e6,e8,e9,e7,te,tt,tn,tr,ti,ts,to,ta,tl,tu,tc,td,th,tp,tf,tm,tg,tv,ty,t_,tb,tw,tx,tS,tE,tA,tk,tT,tC,tM,tP,tO,tI,tR,tD,tj,tN,tL,tB,tF,t$,tz,tV,tU,tH,tW,tq,tY,tG,tX,tK,tQ,tJ,tZ,t0,t1,t2,t3,t5,t4,t6,t8,t9;m=function(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n},g=1,v=[],y=[],_=[],b=Date.now,w=function(e,t){return t},x=function(){var e=c.core,t=e.bridge||{},n=e._scrollers,r=e._proxies;n.push.apply(n,y),r.push.apply(r,_),y=n,_=r,w=function(e,n){return t[e](n)}},S=function(e,t){return~_.indexOf(e)&&_[_.indexOf(e)+1][t]},E=function(e){return!!~d.indexOf(e)},A=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!1!==r,capture:!!i})},k=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},T="scrollLeft",C="scrollTop",M=function(){return h&&h.isPressed||y.cache++},I={s:C,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:O={s:T,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:(P=function(e,t){var n=function n(r){if(r||0===r){g&&(i.history.scrollRestoration="manual");var s=h&&h.isPressed;e(r=n.v=Math.round(r)||(h&&h.iOS?1:0)),n.cacheID=y.cache,s&&w("ss",r)}else(t||y.cache!==n.cacheID||w("ref"))&&(n.cacheID=y.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n})(function(e){return arguments.length?i.scrollTo(e,I.sc()):i.pageXOffset||s[T]||o[T]||a[T]||0})},sc:P(function(e){return arguments.length?i.scrollTo(O.sc(),e):i.pageYOffset||s[C]||o[C]||a[C]||0})},R=function(e,t){return(t&&t._ctx&&t._ctx.selector||n.utils.toArray)(e)[0]||("string"==typeof e&&!1!==n.config().nullTargetWarn?console.warn("Element not found:",e):null)},D=function(e,t){var r=t.s,i=t.sc;E(e)&&(e=s.scrollingElement||o);var a=y.indexOf(e),l=i===I.sc?1:2;~a||(a=y.push(e)-1),y[a+l]||A(e,"scroll",M);var u=y[a+l],c=u||(y[a+l]=P(S(e,r),!0)||(E(e)?i:P(function(t){return arguments.length?e[r]=t:e[r]})));return c.target=e,u||(c.smooth="smooth"===n.getProperty(e,"scrollBehavior")),c},j=function(e,t,n){var r=e,i=e,s=b(),o=s,a=t||50,l=Math.max(500,3*a),u=function(e,t){var l=b();t||l-s>a?(i=r,r=e,o=s,s=l):n?r+=e:r=i+(e-i)/(l-o)*(s-o)};return{update:u,reset:function(){i=r=n?0:r,o=s=0},getVelocity:function(e){var t=o,a=i,c=b();return(e||0===e)&&e!==r&&u(e),s===o||c-o>l?0:(r+(n?a:-a))/((n?c:s)-t)*1e3}}},N=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},L=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},B=function(){(c=n.core.globals().ScrollTrigger)&&c.core&&x()},F=function(e){return n=e||m(),!r&&n&&"undefined"!=typeof document&&document.body&&(i=window,o=(s=document).documentElement,a=s.body,d=[i,s,o,a],n.utils.clamp,f=n.core.context||function(){},u="onpointerenter"in a?"pointer":"mouse",l=$.isTouch=i.matchMedia&&i.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in i||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,p=$.eventTypes=("ontouchstart"in o?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in o?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return g=0},500),B(),r=1),r},O.op=I,y.cache=0,($=function(){function e(e){this.init(e)}return e.prototype.init=function(e){r||F(n)||console.warn("Please gsap.registerPlugin(Observer)"),c||B();var t=e.tolerance,d=e.dragMinimum,m=e.type,g=e.target,y=e.lineHeight,_=e.debounce,w=e.preventDefault,x=e.onStop,S=e.onStopDelay,T=e.ignore,C=e.wheelSpeed,P=e.event,$=e.onDragStart,z=e.onDragEnd,V=e.onDrag,U=e.onPress,H=e.onRelease,W=e.onRight,q=e.onLeft,Y=e.onUp,G=e.onDown,X=e.onCh
vendor: 9,811 bytes, line 9
9angeX,K=e.onChangeY,Q=e.onChange,J=e.onToggleX,Z=e.onToggleY,ee=e.onHover,et=e.onHoverEnd,en=e.onMove,er=e.ignoreCheck,ei=e.isNormalizer,es=e.onGestureStart,eo=e.onGestureEnd,ea=e.onWheel,el=e.onEnable,eu=e.onDisable,ec=e.onClick,ed=e.scrollSpeed,eh=e.capture,ep=e.allowClicks,ef=e.lockAxis,em=e.onLockAxis;this.target=g=R(g)||o,this.vars=e,T&&(T=n.utils.toArray(T)),t=t||1e-9,d=d||0,C=C||1,ed=ed||1,m=m||"wheel,touch,pointer",_=!1!==_,y||(y=parseFloat(i.getComputedStyle(a).lineHeight)||22);var eg,ev,ey,e_,eb,ew,ex,eS=this,eE=0,eA=0,ek=e.passive||!w,eT=D(g,O),eC=D(g,I),eM=eT(),eP=eC(),eO=~m.indexOf("touch")&&!~m.indexOf("pointer")&&"pointerdown"===p[0],eI=E(g),eR=g.ownerDocument||s,eD=[0,0,0],ej=[0,0,0],eN=0,eL=function(){return eN=b()},eB=function(e,t){return(eS.event=e)&&T&&~T.indexOf(e.target)||t&&eO&&"touch"!==e.pointerType||er&&er(e,t)},eF=function(){var e=eS.deltaX=L(eD),n=eS.deltaY=L(ej),r=Math.abs(e)>=t,i=Math.abs(n)>=t;Q&&(r||i)&&Q(eS,e,n,eD,ej),r&&(W&&eS.deltaX>0&&W(eS),q&&eS.deltaX<0&&q(eS),X&&X(eS),J&&eS.deltaX<0!=eE<0&&J(eS),eE=eS.deltaX,eD[0]=eD[1]=eD[2]=0),i&&(G&&eS.deltaY>0&&G(eS),Y&&eS.deltaY<0&&Y(eS),K&&K(eS),Z&&eS.deltaY<0!=eA<0&&Z(eS),eA=eS.deltaY,ej[0]=ej[1]=ej[2]=0),(e_||ey)&&(en&&en(eS),ey&&(V(eS),ey=!1),e_=!1),ew&&(ew=!1,1)&&em&&em(eS),eb&&(ea(eS),eb=!1),eg=0},e$=function(e,t,n){eD[n]+=e,ej[n]+=t,eS._vx.update(e),eS._vy.update(t),_?eg||(eg=requestAnimationFrame(eF)):eF()},ez=function(e,t){ef&&!ex&&(eS.axis=ex=Math.abs(e)>Math.abs(t)?"x":"y",ew=!0),"y"!==ex&&(eD[2]+=e,eS._vx.update(e,!0)),"x"!==ex&&(ej[2]+=t,eS._vy.update(t,!0)),_?eg||(eg=requestAnimationFrame(eF)):eF()},eV=function(e){if(!eB(e,1)){var t=(e=N(e,w)).clientX,n=e.clientY,r=t-eS.x,i=n-eS.y,s=eS.isDragging;eS.x=t,eS.y=n,(s||Math.abs(eS.startX-t)>=d||Math.abs(eS.startY-n)>=d)&&(V&&(ey=!0),s||(eS.isDragging=!0),ez(r,i),s||$&&$(eS))}},eU=eS.onPress=function(e){eB(e,1)||e&&e.button||(eS.axis=ex=null,ev.pause(),eS.isPressed=!0,e=N(e),eE=eA=0,eS.startX=eS.x=e.clientX,eS.startY=eS.y=e.clientY,eS._vx.reset(),eS._vy.reset(),A(ei?g:eR,p[1],eV,ek,!0),eS.deltaX=eS.deltaY=0,U&&U(eS))},eH=eS.onRelease=function(e){if(!eB(e,1)){k(ei?g:eR,p[1],eV,!0);var t=!isNaN(eS.y-eS.startY),r=eS.isDragging,s=r&&(Math.abs(eS.x-eS.startX)>3||Math.abs(eS.y-eS.startY)>3),o=N(e);!s&&t&&(eS._vx.reset(),eS._vy.reset(),w&&ep&&n.delayedCall(.08,function(){if(b()-eN>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(eR.createEvent){var t=eR.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,i,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),eS.isDragging=eS.isGesturing=eS.isPressed=!1,x&&r&&!ei&&ev.restart(!0),z&&r&&z(eS),H&&H(eS,s)}},eW=function(e){return e.touches&&e.touches.length>1&&(eS.isGesturing=!0)&&es(e,eS.isDragging)},eq=function(){return eS.isGesturing=!1,eo(eS)},eY=function(e){if(!eB(e)){var t=eT(),n=eC();e$((t-eM)*ed,(n-eP)*ed,1),eM=t,eP=n,x&&ev.restart(!0)}},eG=function(e){if(!eB(e)){e=N(e,w),ea&&(eb=!0);var t=(1===e.deltaMode?y:2===e.deltaMode?i.innerHeight:1)*C;e$(e.deltaX*t,e.deltaY*t,0),x&&!ei&&ev.restart(!0)}},eX=function(e){if(!eB(e)){var t=e.clientX,n=e.clientY,r=t-eS.x,i=n-eS.y;eS.x=t,eS.y=n,e_=!0,x&&ev.restart(!0),(r||i)&&ez(r,i)}},eK=function(e){eS.event=e,ee(eS)},eQ=function(e){eS.event=e,et(eS)},eJ=function(e){return eB(e)||N(e,w)&&ec(eS)};ev=eS._dc=n.delayedCall(S||.25,function(){eS._vx.reset(),eS._vy.reset(),ev.pause(),x&&x(eS)}).pause(),eS.deltaX=eS.deltaY=0,eS._vx=j(0,50,!0),eS._vy=j(0,50,!0),eS.scrollX=eT,eS.scrollY=eC,eS.isDragging=eS.isGesturing=eS.isPressed=!1,f(this),eS.enable=function(e){return!eS.isEnabled&&(A(eI?eR:g,"scroll",M),m.indexOf("scroll")>=0&&A(eI?eR:g,"scroll",eY,ek,eh),m.indexOf("wheel")>=0&&A(g,"wheel",eG,ek,eh),(m.indexOf("touch")>=0&&l||m.indexOf("pointer")>=0)&&(A(g,p[0],eU,ek,eh),A(eR,p[2],eH),A(eR,p[3],eH),ep&&A(g,"click",eL,!0,!0),ec&&A(g,"click",eJ),es&&A(eR,"gesturestart",eW),eo&&A(eR,"gestureend",eq),ee&&A(g,u+"enter",eK),et&&A(g,u+"leave",eQ),en&&A(g,u+"move",eX)),eS.isEnabled=!0,e&&e.type&&eU(e),el&&el(eS)),eS},eS.disable=function(){eS.isEnabled&&(v.filter(function(e){return e!==eS&&E(e.target)}).length||k(eI?eR:g,"scroll",M),eS.isPressed&&(eS._vx.reset(),eS._vy.reset(),k(ei?g:eR,p[1],eV,!0)),k(eI?eR:g,"scroll",eY,eh),k(g,"wheel",eG,eh),k(g,p[0],eU,eh),k(eR,p[2],eH),k(eR,p[3],eH),k(g,"click",eL,!0),k(g,"click",eJ),k(eR,"gesturestart",eW),k(eR,"gestureend",eq),k(g,u+"enter",eK),k(g,u+"leave",eQ),k(g,u+"move",eX),eS.isEnabled=eS.isPressed=eS.isDragging=!1,eu&&eu(eS))},eS.kill=eS.revert=function(){eS.disable();var e=v.indexOf(eS);e>=0&&v.splice(e,1),h===eS&&(h=0)},v.push(eS),ei&&E(g)&&(h=eS),eS.enable(P)},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),e}()).version="3.12.5",$.create=function(e){return new $(e)},$.register=F,$.getAll=function(){return v.slice()},$.getById=function(e){return v.filter(function(t){return t.vars.id===e})[0]},m()&&n.registerPlugin($),eA=1,eT=(ek=Date.now)(),eC=0,eM=0,eP=function(e,t,n){var r=eH(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},eO=function(e,t){return t&&(!eH(e)||"clamp("!==e.substr(0,6))?"clamp("+e+")":e},eI=function(){return ee=1},eR=function(){return ee=0},eD=function(e){return e},ej=function(e){return Math.round(1e5*e)/1e5||0},eN=function(){return"undefined"!=typeof window},eL=function(){return z||eN()&&(z=window.gsap)&&z.registerPlugin&&z},eB=function(e){return!!~Y.indexOf(e)},eF=function(e){return("Height"===e?ev:U["inner"+e])||W["client"+e]||q["client"+e]},e$=function(e){return S(e,"getBoundingClientRect")||(eB(e)?function(){return tq.width=U.innerWidth,tq.height=ev,tq}:function(){return tn(e)})},ez=function(e,t,n){var r=n.d,i=n.d2,s=n.a;return(s=S(e,"getBoundingClientRect"))?function(){return s()[r]}:function(){return(t?eF(i):e["client"+i])||0}},eV=function(e,t){var n=t.s,r=t.d2,i=t.d,s=t.a;return Math.max(0,(s=S(e,n="scroll"+r))?s()-e$(e)()[i]:eB(e)?(W[n]||q[n])-eF(r):e[n]-e["offset"+r])},eU=function(e,t){for(var n=0;n<es.length;n+=3)(!t||~t.indexOf(es[n+1]))&&e(es[n],es[n+1],es[n+2])},eH=function(e){return"string"==typeof e},eW=function(e){return"function"==typeof e},eq=function(e){return"number"==typeof e},eY=function(e){return"object"==typeof e},eG=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},eX=function(e,t){if(e.enabled){var n=e._ctx?e._ctx.add(function(){return t(e)}):t(e);n&&n.totalTime&&(e.callbackAnimation=n)}},eK=Math.abs,eQ="left",eJ="right",eZ="bottom",e0="width",e1="height",e2="Right",e3="Left",e5="Bottom",e4="padding",e6="margin",e8="Width",e9="Height",e7=function(e){return U.getComputedStyle(e)},te=function(e){var t=e7(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"},tt=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},tn=function(e,t){var n=t&&"matrix(1, 0, 0, 1, 0, 0)"!==e7(e)[et]&&z.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect();return n&&n.progress(0).kill(),r},tr=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},ti=function(e){var t,n=[],r=e.labels,i=e.duration();for(t in r)n.push(r[t]/i);return n},ts=function(e){var t=z.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return n?function(e,r,i){var s;if(void 0===i&&(i=.001),!r)return t(e);if(r>0){for(e-=i,s=0;s<n.length;s++)if(n[s]>=e)return n[s];return n[s-1]}for(s=n.length,e+=i;s--;)if(n[s]<=e)return n[s];return n[0]}:function(n,r,i){void 0===i&&(i=.001);var s=t(n);return!r||Math.abs(s-n)<i||s-n<0==r<0?s:t(r<0?n-e:n+e)}},to=function(e,t,n,r){return n.split(",").forEach(function(n){return e(t,n,r)})},ta=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},tl=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},tu=function(e,t,n){(n=n&&n.wheelHandler)&&(e(t,"wheel",n),e(t,"touchmove",n))},tc={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},td={toggleActions:"play",anticipatePin:0},th={top:0,left:0,center:.5,bottom:1,right:1},tp=function(e,t){if(eH(e)){var n=e.indexOf("="),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in th?th[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},tf=function(e,t,n,r,i,s,o,a){var l=i.startColor,u=i.endColor,c=i.fontSize,d=i.indent,h=i.fontWeight,p=H.createElement("div"),f=eB(n)||"fixed"===S(n,"pinType"),m=-1!==e.indexOf("scroller"),g=f?q:n,v=-1!==e.indexOf("start"),y=v?l:u,_="border-color:"+y+";font-size:"+c+";color:"+y+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return _+="position:"+((m||a)&&f?"fixed;":"absolute;"),(m||a||!f)&&(_+=(r===I?eJ:eZ)+":"+(s+parseFloat(d))+"px;"),o&&(_+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=_,p.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+r.op.d2],tm(p,0,r,v),p},tm=function(e,t,n,r){var i={display:"block"},s=n[r?"os2":"p2"],o=n[r?"p2":"os2"];e._isFlipped=r,i[n.a+"Percent"]=r?-100:0,i[n.a]=r?"1px":0,i["border"+s+e8]=1,i["border"+o+e8]=0,i[n.p]=t+"px",z.set(e,i)},tg=[],tv={},ty=function(){return ek()-eC>34&&(ew||(ew=requestAnimationFrame(tL)))},t_=function(){eu&&eu.isPressed&&!(eu.startX>q.clientWidth)||(y.cache++,eu?ew||(ew=requestAnimationFrame(tL)):tL(),eC||tA
9("scrollStart"),eC=ek())},tb=function(){eh=U.innerWidth,ed=U.innerHeight},tw=function(){y.cache++,!(!Z&&!el&&!H.fullscreenElement&&!H.webkitFullscreenElement&&(!ec||eh!==U.innerWidth||Math.abs(U.innerHeight-ed)>.25*U.innerHeight))||G.restart(!0)},tx={},tS=[],tE=function e(){return tl(tZ,"scrollEnd",e)||tD(!0)},tA=function(e){return tx[e]&&tx[e].map(function(e){return e()})||tS},tk=[],tT=function(e){for(var t=0;t<tk.length;t+=5)(!e||tk[t+4]&&tk[t+4].query===e)&&(tk[t].style.cssText=tk[t+1],tk[t].getBBox&&tk[t].setAttribute("transform",tk[t+2]||""),tk[t+3].uncache=1)},tC=function(e,t){var n;for(en=0;en<tg.length;en++)(n=tg[en])&&(!t||n._ctx===t)&&(e?n.kill(1):n.revert(!0,!0));ey=!0,t&&tT(t),t||tA("revert")},tM=function(e,t){y.cache++,(t||!ex)&&y.forEach(function(e){return eW(e)&&e.cacheID++&&(e.rec=0)}),eH(e)&&(U.history.scrollRestoration=em=e)},tP=0,tO=function(){if(eS!==tP){var e=eS=tP;requestAnimationFrame(function(){return e===tP&&tD(!0)})}},tI=function(){q.appendChild(eg),ev=!eu&&eg.offsetHeight||U.innerHeight,q.removeChild(eg)},tR=function(e){return X(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},tD=function(e,t){if(eC&&!e&&!ey){ta(tZ,"scrollEnd",tE);return}
vendor: 3,742 bytes, line 9
9tI(),ex=tZ.isRefreshing=!0,y.forEach(function(e){return eW(e)&&++e.cacheID&&(e.rec=e())});var n=tA("refreshInit");eo&&tZ.sort(),t||tC(),y.forEach(function(e){eW(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),tg.slice(0).forEach(function(e){return e.refresh()}),ey=!1,tg.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}}),e_=1,tR(!0),tg.forEach(function(e){var t=eV(e.scroller,e._dir),n="max"===e.vars.end||e._endClamp&&e.end>t,r=e._startClamp&&e.start>=t;(n||r)&&e.setPositions(r?t-1:e.start,n?Math.max(r?t:e.start+1,t):e.end,!0)}),tR(!1),e_=0,n.forEach(function(e){return e&&e.render&&e.render(-1)}),y.forEach(function(e){eW(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),tM(em,1),G.pause(),tP++,ex=2,tL(2),tg.forEach(function(e){return eW(e.vars.onRefresh)&&e.vars.onRefresh(e)}),ex=tZ.isRefreshing=!1,tA("refresh")},tj=0,tN=1,tL=function(e){if(2===e||!ex&&!ey){tZ.isUpdating=!0,eE&&eE.update(0);var t=tg.length,n=ek(),r=n-eT>=50,i=t&&tg[0].scroll();if(tN=tj>i?-1:1,ex||(tj=i),r&&(eC&&!ee&&n-eC>200&&(eC=0,tA("scrollEnd")),Q=eT,eT=n),tN<0){for(en=t;en-- >0;)tg[en]&&tg[en].update(0,r);tN=1}else for(en=0;en<t;en++)tg[en]&&tg[en].update(0,r);tZ.isUpdating=!1}ew=0},tF=(tB=[eQ,"top",eZ,eJ,e6+e5,e6+e2,e6+"Top",e6+e3,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"]).concat([e0,e1,"boxSizing","max"+e8,"max"+e9,"position",e6,e4,e4+"Top",e4+e2,e4+e5,e4+e3]),t$=function(e,t,n){tU(n);var r=e._gsap;if(r.spacerIsNative)tU(r.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},tz=function(e,t,n,r){if(!e._gsap.swappedIn){for(var i,s=tB.length,o=t.style,a=e.style;s--;)o[i=tB[s]]=n[i];o.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(o.display="inline-block"),a[eZ]=a[eJ]="auto",o.flexBasis=n.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[e0]=tr(e,O)+"px",o[e1]=tr(e,I)+"px",o[e4]=a[e6]=a.top=a[eQ]="0",tU(r),a[e0]=a["max"+e8]=n[e0],a[e1]=a["max"+e9]=n[e1],a[e4]=n[e4],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},tV=/([A-Z])/g,tU=function(e){if(e){var t,n,r=e.t.style,i=e.length,s=0;for((e.t._gsap||z.core.getCache(e.t)).uncache=1;s<i;s+=2)n=e[s+1],t=e[s],n?r[t]=n:r[t]&&r.removeProperty(t.replace(tV,"-$1").toLowerCase())}},tH=function(e){for(var t=tF.length,n=e.style,r=[],i=0;i<t;i++)r.push(tF[i],n[tF[i]]);return r.t=e,r},tW=function(e,t,n){for(var r,i=[],s=e.length,o=n?8:0;o<s;o+=2)r=e[o],i.push(r,r in t?t[r]:e[o+1]);return i.t=e.t,i},tq={left:0,top:0},tY=function(e,t,n,r,i,s,o,a,l,u,c,d,h,p){eW(e)&&(e=e(a)),eH(e)&&"max"===e.substr(0,3)&&(e=d+("="===e.charAt(4)?tp("0"+e.substr(3),n):0));var f,m,g,v=h?h.time():0;if(h&&h.seek(0),isNaN(e)||(e=+e),eq(e))h&&(e=z.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,d,e)),o&&tm(o,n,r,!0);else{eW(t)&&(t=t(a));var y,_,b,w,x=(e||"0").split(" ");(y=tn(g=R(t,a)||q)||{}).left||y.top||"none"!==e7(g).display||(w=g.style.display,g.style.display="block",y=tn(g),w?g.style.display=w:g.style.removeProperty("display")),_=tp(x[0],y[r.d]),b=tp(x[1]||"0",n),e=y[r.p]-l[r.p]-u+_+i-b,o&&tm(o,b,r,n-b<20||o._isStart&&b>20),n-=n-b}if(p&&(a[p]=e||-.001,e<0&&(e=0)),s){var S=e+n,E=s._isStart;f="scroll"+r.d2,tm(s,S,r,E&&S>20||!E&&(c?Math.max(q[f],W[f]):s.parentNode[f])<=S+1),c&&(l=tn(o),c&&(s.style[r.op.p]=l[r.op.p]-r.op.m-s._offset+"px"))}return h&&g&&(f=tn(g),h.seek(d),m=tn(g),h._caScrollDist=f[r.p]-m[r.p],e=e/h._c
9aScrollDist*d),h&&h.seek(v),h?e:Math.round(e)},tG=/(webkit|moz|length|cssText|inset)/i,tX=function(e,t,n,r){if(e.parentNode!==t){var i,s,o=e.style;if(t===q){for(i in e._stOrig=o.cssText,s=e7(e))+i||tG.test(i)||!s[i]||"string"!=typeof o[i]||"0"===i||(o[i]=s[i]);o.top=n,o.left=r}else o.cssText=e._stOrig;z.core.getCache(e).uncache=1,t.appendChild(e)}},tK=function(e,t,n){var r=t,i=r;return function(t){var s=Math.round(e());return s!==r&&s!==i&&Math.abs(s-r)>3&&Math.abs(s-i)>3&&(t=s,n&&n()),i=r,r=t,t}},tQ=function(e,t,n){var r={};r[t.p]="+="+n,z.set(e,r)},tJ=function(e,t){var n=D(e,t),r="_scroll"+t.p2,i=function t(i,s,o,a,l){var u=t.tween,c=s.onComplete,d={};o=o||n();var h=tK(n,o,function(){u.kill(),t.tween=0});return l=a&&l||0,a=a||i-o,u&&u.kill(),s[r]=i,s.inherit=!1,s.modifiers=d,d[r]=function(){return h(o+a*u.ratio+l*u.ratio*u.ratio)},s.onUpdate=function(){y.cache++,t.tween&&tL()},s.onComplete=function(){t.tween=0,c&&c.call(u)},u=t.tween=z.to(e,s)};return e[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},ta(e,"wheel",n.wheelHandler),tZ.isTouch&&ta(e,"touchmove",n.wheelHandler),i},(tZ=function(){function e(t,n){V||e.register(z)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ef(this),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!eM){this.update=this.refresh=this.kill=eD;return}var r,i,s,o,a,l,u,c,d,h,p,f,m,g,v,b,w,x,E,A,k,T,C,M,P,j,N,L,B,F,$,V,Y,G,J,et,er,ei,es,el,eu,ec=t=tt(eH(t)||eq(t)||t.nodeType?{trigger:t}:t,td),ed=ec.onUpdate,eh=ec.toggleClass,ep=ec.id,ef=ec.onToggle,em=ec.onRefresh,eg=ec.scrub,ev=ec.trigger,ey=ec.pin,ew=ec.pinSpacing,eS=ec.invalidateOnRefresh,eT=ec.anticipatePin,eI=ec.onScrubComplete,eR=ec.onSnapComplete,eN=ec.once,eL=ec.snap,eF=ec.pinReparent,eU=ec.pinSpacer,eQ=ec.containerAnimation,eJ=ec.fastScrollEnd,eZ=ec.preventOverlaps,to=t.horizontal||t.containerAnimation&&!1!==t.horizontal?O:I,tu=!eg&&0!==eg,th=R(t.scroller||U),tm=z.core.getCache(th),ty=eB(th),tb=("pinType"in t?t.pinType:S(th,"pinType")||ty&&"fixed")==="fixed",tx=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],tS=tu&&t.toggleActions.split(" "),tA="markers"in t?t.markers:td.markers,tk=ty?0:parseFloat(e7(th)["border"+to.p2+e8])||0,tT=this,tC=t.onRefreshInit&&function(){return t.onRefreshInit(tT)},tM=ez(th,ty,to),tP=!ty||~_.indexOf(th)?e$(th):function(){return tq},tI=0,tR=0,tD=0,tj=D(th,to);if(tT._startClamp=tT._endClamp=!1,tT._dir=to,eT*=45,tT.scroller=th,tT.scroll=eQ?eQ.time.bind(eQ):tj,l=tj(),tT.vars=t,n=n||t.animation,"refreshPriority"in t&&(eo=1,-9999===t.refreshPriority&&(eE=tT)),tm.tweenScroll=tm.tweenScroll||{top:tJ(th,I),left:tJ(th,O)},tT.tweenTo=s=tm.tweenScroll[to.p],tT.scrubDuration=function(e){(J=eq(e)&&e)?G?G.duration(e):G=z.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:J,paused:!0,onComplete:function(){return eI&&eI(tT)}}):(G&&G.progress(1).kill(),G=0)},n&&(n.vars.lazy=!1,n._initted&&!tT.isReverted||!1!==n.vars.immediateRender&&!1!==t.immediateRender&&n.duration()&&n.render(0,!0,!0),tT.animation=n.pause(),n.scrollTrigger=tT,tT.scrubDuration(eg),V=0,ep||(ep=n.vars.id)),eL&&((!eY(eL)||eL.push)&&(eL={snapTo:eL}),"scrollBehavior"in q.style&&z.set(ty?[q,W]:th,{scrollBehavior:"auto"}),y.forEach(function(e){return eW(e)&&e.target===(ty?H.scrollingElement||W:th)&&(e.smooth=!1)}),a=eW(eL.snapTo)?eL.snapTo:"labels"===eL.snapTo?(r=n,function(e){return z.utils.snap(ti(r),e)}):"labelsDirectional"===eL.snapTo?(i=n,function(e,t){return ts(ti(i))(e,t.direction)}):!1!==eL.directional?function(e,t){return ts(eL.snapTo)(e,ek()-tR<500?0:t.direction)}:z.utils.snap(eL.snapTo),et=eY(et=eL.duration||{min:.1,max:2})?K(et.min,et.max):K(et,et),er=z.delayedCall(eL.delay||J/2||.1,function(){var e=tj(),t=ek()-tR<500,r=s.tween;if((t||10>Math.abs(tT.getVelocity()))&&!r&&!ee&&tI!==e){var i,o,l=(e-c)/b,u=n&&!tu?n.totalProgress():l,h=t?0:(u-Y)/(ek()-Q)*1e3||0,p=z.utils.clamp(-l,1-l,eK(h/2)*h/.185),f=l+(!1===eL.inertia?0:p),m=eL,g=m.onStart,v=m.onInterrupt,y=m.onComplete;if(eq(i=a(f,tT))||(i=f),o=Math.round(c+i*b),e<=d&&e>=c&&o!==e){if(r&&!r._initted&&r.data<=eK(o-e))return;!1===eL.inertia&&(p=i-l),s(o,{duration:et(eK(.185*Math.max(eK(f-u),eK(i-u))/h/.05||0)),ease:eL.ease||"power3",data:eK(o-e),onInterrupt:function(){return er.restart(!0)&&v&&v(tT)}
9,onComplete:function(){tT.update(),tI=tj(),n&&(G?G.resetTo("totalProgress",i,n._tTime/n._tDur):n.progress(i)),V=Y=n&&!tu?n.totalProgress():tT.progress,eR&&eR(tT),y&&y(tT)}},e,p*b,o-e-p*b),g&&g(tT,s.tween)}}else tT.isActive&&tI!==e&&er.restart(!0)}).pause()),ep&&(tv[ep]=tT),(eu=(ev=tT.trigger=R(ev||!0!==ey&&ey))&&ev._gsap&&ev._gsap.stRevert)&&(eu=eu(tT)),ey=!0===ey?ev:R(ey),eH(eh)&&(eh={targets:ev,className:eh}),ey&&(!1===ew||ew===e6||(ew=(!!ew||!ey.parentNode||!ey.parentNode.style||"flex"!==e7(ey.parentNode).display)&&e4),tT.pin=ey,(o=z.core.getCache(ey)).spacer?w=o.pinState:(eU&&((eU=R(eU))&&!eU.nodeType&&(eU=eU.current||eU.nativeElement),o.spacerIsNative=!!eU,eU&&(o.spacerState=tH(eU))),o.spacer=A=eU||H.createElement("div"),A.classList.add("pin-spacer"),ep&&A.classList.add("pin-spacer-"+ep),o.pinState=w=tH(ey)),!1!==t.force3D&&z.set(ey,{force3D:!0}),tT.spacer=A=o.spacer,j=($=e7(ey))[ew+to.os2],T=z.getProperty(ey),C=z.quickSetter(ey,to.a,"px"),tz(ey,A,$),E=tH(ey)),tA){g=eY(tA)?tt(tA,tc):tc,f=tf("scroller-start",ep,th,to,g,0),m=tf("scroller-end",ep,th,to,g,0,f),k=f["offset"+to.op.d2];var tL=R(S(th,"content")||th);h=this.markerStart=tf("start",ep,tL,to,g,k,0,eQ),p=this.markerEnd=tf("end",ep,tL,to,g,k,0,eQ),eQ&&(el=z.quickSetter([h,p],to.a,"px")),tb||_.length&&!0===S(th,"fixedMarkers")||(te(ty?q:th),z.set([f,m],{force3D:!0}),L=z.quickSetter(f,to.a,"px"),F=z.quickSetter(m,to.a,"px"))}if(eQ){var tB=eQ.vars.onUpdate,tF=eQ.vars.onUpdateParams;eQ.eventCallback("onUpdate",function(){tT.update(0,0,1),tB&&tB.apply(eQ,tF||[])})}if(tT.previous=function(){return tg[tg.indexOf(tT)-1]},tT.next=function(){return tg[tg.indexOf(tT)+1]},tT.revert=function(e,t){if(!t)return tT.kill(!0);var r=!1!==e||!tT.enabled,i=Z;r!==tT.isReverted&&(r&&(ei=Math.max(tj(),tT.scroll.rec||0),tD=tT.progress,es=n&&n.progress()),h&&[h,p,f,m].forEach(function(e){return e.style.display=r?"none":"block"}),r&&(Z=tT,tT.update(r)),!ey||eF&&tT.isActive||(r?t$(ey,A,w):tz(ey,A,e7(ey),N)),r||tT.update(r),Z=i,tT.isReverted=r)},tT.refresh=function(r,i,o,a){if(!Z&&tT.enabled||i){if(ey&&r&&eC){ta(e,"scrollEnd",tE);return}!ex&&tC&&tC(tT),Z=tT,s.tween&&!o&&(s.tween.kill(),s.tween=0),G&&G.pause(),eS&&n&&n.revert({kill:!1}).invalidate(),tT.isReverted||tT.revert(!0,!0),tT._subPinOffset=!1;var g,y,_,S,k,C,j,L,F,$,V,U,Y,X=tM(),K=tP(),Q=eQ?eQ.duration():eV(th,to),J=b<=.01,ee=0,et=a||0,en=eY(o)?o.end:t.end,eo=t.endTrigger||ev,el=eY(o)?o.start:t.start||(0!==t.start&&ev?ey?"0 0":"0 100%":0),eu=tT.pinnedContainer=t.pinnedContainer&&R(t.pinnedContainer,tT),ec=ev&&Math.max(0,tg.indexOf(tT))||0,ed=ec;for(tA&&eY(o)&&(U=z.getProperty(f,to.p),Y=z.getProperty(m,to.p));ed--;)(C=tg[ed]).end||C.refresh(0,1)||(Z=tT),(j=C.pin)&&(j===ev||j===ey||j===eu)&&!C.isReverted&&($||($=[]),$.unshift(C),C.revert(!0,!0)),C!==tg[ed]&&(ec--,ed--);for(eW(el)&&(el=el(tT)),c=tY(el=eP(el,"start",tT),ev,X,to,tj(),h,f,tT,K,tk,tb,Q,eQ,tT._startClamp&&"_startClamp")||(ey?-.001:0),eW(en)&&(en=en(tT)),eH(en)&&!en.indexOf("+=")&&(~en.indexOf(" ")?en=(eH(el)?el.split(" ")[0]:"")+en:(ee=tp(en.substr(2),X),en=eH(el)?el:(eQ?z.utils.mapRange(0,eQ.duration(),eQ.scrollTrigger.start,eQ.scrollTrigger.end,c):c)+ee,eo=ev)),en=eP(en,"end",tT),d=Math.max(c,tY(en||(eo?"100% 0":Q),eo,X,to,tj()+ee,p,m,tT,K,tk,tb,Q,eQ,tT._endClamp&&"_endClamp"))||-.001,ee=0,ed=ec;ed--;)(j=(C=tg[ed]).pin)&&C.start-C._pinPush<=c&&!eQ&&C.end>0&&(g=C.end-(tT._startClamp?Math.max(0,C.start):C.start),(j===ev&&C.start-C._pinPush<c||j===eu)&&isNaN(el)&&(ee+=g*(1-C.progress)),j===ey&&(et+=g));if(c+=ee,d+=ee,tT._startClamp&&(tT._startClamp+=ee),tT._endClamp&&!ex&&(tT._endClamp=d||-.001,d=Math.min(d,eV(th,to))),b=d-c||(c-=.01)&&.001,J&&(tD=z.utils.clamp(0,1,z.utils.normalize(c,d,ei))),tT._pinPush=et,h&&ee&&((g={})[to.a]="+="+ee,eu&&(g[to.p]="-="+tj()),z.set([h,p],g)),ey&&!(e_&&tT.end>=eV(th,to)))g=e7(ey),S=to===I,_=tj(),M=parseFloat(T(to.a))+et,!Q&&d>1&&(V={style:V=(ty?H.scrollingElement||W:th).style,value:V["overflow"+to.a.toUpperCase()]},ty&&"scroll"!==e7(q)["overflow"+to.a.toUpperCase()]&&(V.style["overflow"+to.a.toUpperCase()]="scroll")),tz(ey,A,g),E=tH(ey),y=tn(ey,!0),L=tb&&D(th,S?O:I)(),ew?((N=[ew+to.os2,b+et+"px"]).t=A,(ed=ew===e4?tr(ey,to)+b+et:0)&&(N.push(to.d,ed+"px"),"auto"!==A.style.flexBasis&&(A.style.flexBasis=ed+"px")),tU(N),eu&&tg.forEach(function(e){e.pin===eu&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),tb&&tj(ei)):(ed=tr(ey,to))&&"auto"!==A.style.flexBasis&&(A.style.flexBasis=ed+"px"),tb&&((k={top:y.top+(S?_-c:L)+"px",left:y.left+(S?L:_-c)+"px",boxSizing:"border-box",position:"fixed"})[e0]=k["max"+e8]=Math.ceil(y.width)+"px",k[e1]=k["max"+e9]=Math.ceil(y.height)+"px",k[e6]=k[e6+"Top"]=k[e6+e2]=k[e6+e5]=k[e6+e3]="0",k[e4]=g[e4],k[e4+"Top"]=g[e4+"Top"],k[e4+e2]=g[e4+e2],k[e4+e5]=g[e4+e5],k[e4+e3]=g[e4+e3],x=tW(w,k,eF),ex&&tj(0)),n?(F=n._initted,ea(1),n.render(n.duration(),!0,!0),P=T(to.a)-M+b+et,B=Math.abs(b-P)>
91,tb&&B&&x.splice(x.length-2,2),n.render(0,!0,!0),F||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ea(0)):P=b,V&&(V.value?V.style["overflow"+to.a.toUpperCase()]=V.value:V.style.removeProperty("overflow-"+to.a));else if(ev&&tj()&&!eQ)for(y=ev.parentNode;y&&y!==q;)y._pinOffset&&(c-=y._pinOffset,d-=y._pinOffset),y=y.parentNode;$&&$.forEach(function(e){return e.revert(!1,!0)}),tT.start=c,tT.end=d,l=u=ex?ei:tj(),eQ||ex||(l<ei&&tj(ei),tT.scroll.rec=0),tT.revert(!1,!0),tR=ek(),er&&(tI=-1,er.restart(!0)),Z=0,n&&tu&&(n._initted||es)&&n.progress()!==es&&n.progress(es||0,!0).render(n.time(),!0,!0),(J||tD!==tT.progress||eQ||eS)&&(n&&!tu&&n.totalProgress(eQ&&c<-.001&&!tD?z.utils.normalize(c,d,0):tD,!0),tT.progress=J||(l-c)/b===tD?0:tD),ey&&ew&&(A._pinOffset=Math.round(tT.progress*P)),G&&G.invalidate(),isNaN(U)||(U-=z.getProperty(f,to.p),Y-=z.getProperty(m,to.p),tQ(f,to,U),tQ(h,to,U-(a||0)),tQ(m,to,Y),tQ(p,to,Y-(a||0))),J&&!ex&&tT.update(),!em||ex||v||(v=!0,em(tT),v=!1)}},tT.getVelocity=function(){return(tj()-u)/(ek()-Q)*1e3||0},tT.endAnimation=function(){eG(tT.callbackAnimation),n&&(G?G.progress(1):n.paused()?tu||eG(n,tT.direction<0,1):eG(n,n.reversed()))},tT.labelToScroll=function(e){return n&&n.labels&&(c||tT.refresh()||c)+n.labels[e]/n.duration()*b||0},tT.getTrailing=function(e){var t=tg.indexOf(tT),n=tT.direction>0?tg.slice(0,t).reverse():tg.slice(t+1);return(eH(e)?n.filter(function(t){return t.vars.preventOverlaps===e}):n).filter(function(e){return tT.direction>0?e.end<=c:e.start>=d})},tT.update=function(e,t,r){if(!eQ||r||e){var i,o,a,h,p,m,g,v=!0===ex?ei:tT.scroll(),y=e?0:(v-c)/b,_=y<0?0:y>1?1:y||0,w=tT.progress;if(t&&(u=l,l=eQ?tj():v,eL&&(Y=V,V=n&&!tu?n.totalProgress():_)),eT&&ey&&!Z&&!eA&&eC&&(!_&&c<v+(v-u)/(ek()-Q)*eT?_=1e-4:1===_&&d>v+(v-u)/(ek()-Q)*eT&&(_=.9999)),_!==w&&tT.enabled){if(h=(p=(i=tT.isActive=!!_&&_<1)!=(!!w&&w<1))||!!_!=!!w,tT.direction=_>w?1:-1,tT.progress=_,h&&!Z&&(o=_&&!w?0:1===_?1:1===w?2:3,tu&&(a=!p&&"none"!==tS[o+1]&&tS[o+1]||tS[o],g=n&&("complete"===a||"reset"===a||a in n))),eZ&&(p||g)&&(g||eg||!n)&&(eW(eZ)?eZ(tT):tT.getTrailing(eZ).forEach(function(e){return e.endAnimation()})),!tu&&(!G||Z||eA?n&&n.totalProgress(_,!!(Z&&(tR||e))):(G._dp._time-G._start!==G._time&&G.render(G._dp._time-G._start),G.resetTo?G.resetTo("totalProgress",_,n._tTime/n._tDur):(G.vars.totalProgress=_,G.invalidate().restart()))),ey){if(e&&ew&&(A.style[ew+to.os2]=j),tb){if(h){if(m=!e&&_>w&&d+1>v&&v+1>=eV(th,to),eF){if(!e&&(i||m)){var S=tn(ey,!0),k=v-c;tX(ey,q,S.top+(to===I?k:0)+"px",S.left+(to===I?0:k)+"px")}else tX(ey,A)}tU(i||m?x:E),B&&_<1&&i||C(M+(1!==_||m?0:P))}}else C(ej(M+P*_))}!eL||s.tween||Z||eA||er.restart(!0),eh&&(p||eN&&_&&(_<1||!eb))&&X(eh.targets).forEach(function(e){return e.classList[i||eN?"add":"remove"](eh.className)}),!ed||tu||e||ed(tT),h&&!Z?(tu&&(g&&("complete"===a?n.pause().totalProgress(1):"reset"===a?n.restart(!0).pause():"restart"===a?n.restart(!0):n[a]()),ed&&ed(tT)),(p||!eb)&&(ef&&p&&eX(tT,ef),tx[o]&&eX(tT,tx[o]),eN&&(1===_?tT.kill(!1,1):tx[o]=0),!p&&tx[o=1===_?1:3]&&eX(tT,tx[o])),eJ&&!i&&Math.abs(tT.getVelocity())>(eq(eJ)?eJ:2500)&&(eG(tT.callbackAnimation),G?G.progress(1):eG(n,"reverse"===a?1:!_,1))):tu&&ed&&!Z&&ed(tT)}if(F){var T=eQ?v/eQ.duration()*(eQ._caScrollDist||0):v;L(T+(f._isFlipped?1:0)),F(T)}el&&el(-v/eQ.duration()*(eQ._caScrollDist||0))}},tT.enable=function(t,n){tT.enabled||(tT.enabled=!0,ta(th,"resize",tw),ty||ta(th,"scroll",t_),tC&&ta(e,"refreshInit",tC),!1!==t&&(tT.progress=tD=0,l=u=tI=tj()),!1!==n&&tT.refresh())},tT.getTween=function(e){return e&&s?s.tween:G},tT.setPositions=function(e,t,n,r){if(eQ){var i=eQ.scrollTrigger,s=eQ.duration(),o=i.end-i.start;e=i.start+o*e/s,t=i.start+o*t/s}tT.refresh(!1,!1,{start:eO(e,n&&!!tT._startClamp),end:eO(t,n&&!!tT._endClamp)},r),tT.update()},tT.adjustPinSpacing=function(e){if(N&&e){var t=N.indexOf(to.d)+1;N[t]=parseFloat(N[t])+e+"px",N[1]=parseFloat(N[1])+e+"px",tU(N)}},tT.disable=function(t,n){if(tT.enabled&&(!1!==t&&tT.revert(!0,!0),tT.enabled=tT.isActive=!1,n||G&&G.pause(),ei=0,o&&(o.uncache=1),tC&&tl(e,"refreshInit",tC),er&&(er.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!ty)){for(var r=tg.length;r--;)if(tg[r].scroller===th&&tg[r]!==tT)return;tl(th,"resize",tw),ty||tl(th,"scroll",t_)}},tT.kill=function(e,r){tT.disable(e,r),G&&!r&&G.kill(),ep&&delete tv[ep
vendor: 10,168 bytes, line 9
9];var i=tg.indexOf(tT);i>=0&&tg.splice(i,1),i===en&&tN>0&&en--,i=0,tg.forEach(function(e){return e.scroller===tT.scroller&&(i=1)}),i||ex||(tT.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),h&&[h,p,f,m].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),eE===tT&&(eE=0),ey&&(o&&(o.uncache=1),i=0,tg.forEach(function(e){return e.pin===ey&&i++}),i||(o.spacer=0)),t.onKill&&t.onKill(tT)},tg.push(tT),tT.enable(!1,!1),eu&&eu(tT),n&&n.add&&!b){var tV=tT.update;tT.update=function(){tT.update=tV,c||d||tT.refresh()},z.delayedCall(.01,tT.update),b=.01,c=d=0}else tT.refresh();ey&&tO()},e.register=function(t){return V||(z=t||eL(),eN()&&window.document&&e.enable(),V=eM),V},e.defaults=function(e){if(e)for(var t in e)td[t]=e[t];return td},e.disable=function(e,t){eM=0,tg.forEach(function(n){return n[t?"kill":"disable"](e)}),tl(U,"wheel",t_),tl(H,"scroll",t_),clearInterval(J),tl(H,"touchcancel",eD),tl(q,"touchstart",eD),to(tl,H,"pointerdown,touchstart,mousedown",eI),to(tl,H,"pointerup,touchend,mouseup",eR),G.kill(),eU(tl);for(var n=0;n<y.length;n+=3)tu(tl,y[n],y[n+1]),tu(tl,y[n],y[n+2])},e.enable=function(){if(U=window,W=(H=document).documentElement,q=H.body,z&&(X=z.utils.toArray,K=z.utils.clamp,ef=z.core.context||eD,ea=z.core.suppressOverwrites||eD,em=U.history.scrollRestoration||"auto",tj=U.pageYOffset,z.core.globals("ScrollTrigger",e),q)){eM=1,(eg=document.createElement("div")).style.height="100vh",eg.style.position="absolute",tI(),function e(){return eM&&requestAnimationFrame(e)}(),$.register(z),e.isTouch=$.isTouch,ep=$.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),ec=1===$.isTouch,ta(U,"wheel",t_),Y=[U,H,W,q],z.matchMedia?(e.matchMedia=function(e){var t,n=z.matchMedia();for(t in e)n.add(t,e[t]);return n},z.addEventListener("matchMediaInit",function(){return tC()}),z.addEventListener("matchMediaRevert",function(){return tT()}),z.addEventListener("matchMedia",function(){tD(0,1),tA("matchMedia")}),z.matchMedia("(orientation: portrait)",function(){return tb(),tb})):console.warn("Requires GSAP 3.11.0 or later"),tb(),ta(H,"scroll",t_);var t,n,r=q.style,i=r.borderTopStyle,s=z.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",t=tn(q),I.m=Math.round(t.top+I.sc())||0,O.m=Math.round(t.left+O.sc())||0,i?r.borderTopStyle=i:r.removeProperty("border-top-style"),J=setInterval(ty,250),z.delayedCall(.5,function(){return eA=0}),ta(H,"touchcancel",eD),ta(q,"touchstart",eD),to(ta,H,"pointerdown,touchstart,mousedown",eI),to(ta,H,"pointerup,touchend,mouseup",eR),et=z.utils.checkPrefix("transform"),tF.push(et),V=ek(),G=z.delayedCall(.2,tD).pause(),es=[H,"visibilitychange",function(){var e=U.innerWidth,t=U.innerHeight;H.hidden?(er=e,ei=t):(er!==e||ei!==t)&&tw()},H,"DOMContentLoaded",tD,U,"load",tD,U,"resize",tw],eU(ta),tg.forEach(function(e){return e.enable(0,1)}),n=0;n<y.length;n+=3)tu(tl,y[n],y[n+1]),tu(tl,y[n],y[n+2])}},e.config=function(t){"limitCallbacks"in t&&(eb=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(J)||(J=n)&&setInterval(ty,n),"ignoreMobileResize"in t&&(ec=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(eU(tl)||eU(ta,t.autoRefreshEvents||"none"),el=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var n=R(e),r=y.indexOf(n),i=eB(n);~r&&y.splice(r,i?6:2),t&&(i?_.unshift(U,t,q,t,W,t):_.unshift(n,t))},e.clearMatchMedia=function(e){tg.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,n){var r=(eH(e)?R(e):e).getBoundingClientRect(),i=r[n?e0:e1]*t||0;return n?r.right-i>0&&r.left+i<U.innerWidth:r.bottom-i>0&&r.top+i<U.innerHeight},e.positionInViewport=function(e,t,n){eH(e)&&(e=R(e));var r=e.getBoundingClientRect(),i=r[n?e0:e1],s=null==t?i/2:t in th?th[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return n?(r.left+s)/U.innerWidth:(r.top+s)/U.innerHeight},e.killAll=function(e){if(tg.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=tx.killAll||[];tx={},t.forEach(function(e){return e()})}},e}()).version="3.12.5",tZ.saveStyles=function(e){return e?X(e).forEach(function(e){if(e&&e.style){var t=tk.indexOf(e);t>=0&&tk.splice(t,5),tk.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),z.core.getCache(e),ef())}}):tk},tZ.revert=function(e,t){return tC(!e,t)},tZ.create=function(e,t){return new tZ(e,t)},tZ.refresh=function(e){return e?tw():(V||tZ.register())&&tD(!0)},tZ.update=function(e){return++y.cache&&tL(!0===e?2:0)},tZ.clearScrollMemory=tM,tZ.maxScroll=function(e,t){return eV(e,t?O:I)},tZ.getScrollFunc=function(e,t){return D(R(e),t?O:I)},tZ.getById=function(e){return tv[e]},tZ.getAll=function(){return tg.filter(function(e){return"ScrollSmoother"!==e.vars.id})},tZ.isScrolling=function(){return!!eC},tZ.snapDirectional=ts,tZ.addEventListener=function(e,t){var n=tx[e]||(tx[e]=[]);~n.indexOf(t)||n.push(t)},tZ.removeEventListener=function(e,t){var n=tx[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},tZ.batch=function(e,t){var n,r=[],i={},s=t.interval||.016,o=t.batchMax||1e9,a=function(e,t){var n=[],r=[],i=z.delayedCall(s,function(){t(n,r),n=[],r=[]}).pause();return function(e){n.length||i.restart(!0),n.push(e.trigger),r.push(e),o<=n.length&&i.progress(1)}};for(n in t)i[n]="on"===n.substr(0,2)&&eW(t[n])&&"onRefreshInit"!==n?a(n,t[n]):t[n];return eW(o)&&(o=o(),ta(tZ,"refresh",function(){return o=t.batchMax()})),X(e).forEach(function(e){var t={};for(n in i)t[n]=i[n];t.trigger=e,r.push(tZ.create(t))}),r},t1=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},t2=function e(t,n){!0===n?t.style.removeProperty("touch-action"):t.style.touchAction=!0===n?"auto":n?"pan-"+n+($.isTouch?" pinch-zoom":""):"none",t===W&&e(q,n)},t3={auto:1,scroll:1},t5=function(e){var t,n=e.event,r=e.target,i=e.axis,s=(n.changedTouches?n.changedTouches[0]:n).target,o=s._gsap||z.core.getCache(s),a=ek();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==q&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(t3[(t=e7(s)).overflowY]||t3[t.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!eB(s)&&(t3[(t=e7(s)).overflowY]||t3[t.overflowX]),o._isScrollT=a}(o._isScroll||"x"===i)&&(n.stopPropagation(),n._gsapAllow=!0)},t4=function(e,t,n,r){return $.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&t5,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&ta(H,$.eventTypes[0],t8,!1,!0)},onDisable:function(){return tl(H,$.eventTypes[0],t8,!0)}})},t6=/(input|label|select|textarea)/i,t8=function(e){var t=t6.test(e.target.tagName);(t||t0)&&(e._gsapAllow=!0,t0=t)},t9=function(e){eY(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,n,r,i,s,o,a,l,u=e,c=u.normalizeScrollX,d=u.momentum,h=u.allowNestedScroll,p=u.onRelease,f=R(e.target)||W,m=z.core.globals().ScrollSmoother,g=m&&m.get(),v=ep&&(e.content&&R(e.content)||g&&!1!==e.content&&!g.smooth()&&g.content()),_=D(f,I),b=D(f,O),w=1,x=($.isTouch&&U.visualViewport?U.visualViewport.scale*U.visualViewport.width:U.outerWidth)/U.innerWidth,S=0,E=eW(d)?function(){return d(t)}:function(){return d||2.8},A=t4(f,e.type,!0,h),k=function(){return i=!1},T=eD,C=eD,M=function(){n=eV(f,I),C=K(ep?1:0,n),c&&(T=K(0,eV(f,O))),r=tP},P=function(){v._gsap.y=ej(parseFloat(v._gsap.y)+_.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",_.offset=_.cacheID=0},j=function(){if(i){requestAnimationFrame(k);var e=ej(t.deltaY/2),n=C(_.v-e);if(v&&n!==_.v+_.offset){_.offset=n-_.v;var r=ej((parseFloat(v&&v._gsap.y)||0)-_.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",v._gsap.y=r+"px",_.cacheID=y.cache,tL()}return!0}_.offset&&P(),i=!0},N=function(){M(),s.isActive()&&s.vars.scrollY>n&&(_()>n?s.progress(1)&&_(n):s.resetTo("scrollY",n))};return v&&z.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return ep&&"touchmove"===e.type&&j()||w>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){i=!1;var e=w;w=ej((U.visualViewport&&U.visualViewport.scale||1)/x),s.pause(),e!==w&&t2(f,w>1.01||!c&&"x"),o=b(),a=_(),M(),r=tP},e.onRelease=e.onGestureStart=function(e,t){if(_.offset&&P(),t){y.cache++;var r,i,o=E();c&&(i=(r=b())+-(.05*o*e.velocityX)/.227,o*=t1(b,r,i,eV(f,O)),s.vars.scrollX=T(i)),i=(r=_())+-(.05*o*e.velocityY)/.227,o*=t1(_,r,i,eV(f,I)),s.vars.scrollY=C(i),s.invalidate().duration(o).play(.01),(ep&&s.vars.scrollY>=n||r>=n-1)&&z.to({},{onUpdate:N,duration:o})}else l.restart(!0);p&&p(e)},e.onWheel=function(){s._ts&&s.pause(),ek()-S>1e3&&(r=0,S=ek())},e.onChange=function(e,t,n,i,s){if(tP!==r&&M(),t&&c&&b(T(i[2]===t?o+(e.startX-e.x):b()+t-i[1])),n){_.offset&&P();var l=s[2]===n,u=l?a+e.startY-e.y:_()+n-s[1],d=C(u);l&&u!==d&&(a+=d-u),_(d)}(n||t)&&tL()},e.onEnable=function(){t2(f,!c&&"x"),tZ.addEventListener("refresh",N),ta(U,"resize",N),_.smooth&&(_.target.style.scrollBehavior="auto",_.smooth=b.smooth=!1),A.enable()},e.onDisable=function(){t2(f,!0),tl(U,"resize",N),tZ.removeEventListener("refresh",N),A.kill()},e.lockAxis=!1!==e.lockAxis,(t=new $(e)).iOS=ep,ep&&!_()&&_(1),ep&&z.ticker.add(eD),l=t._dc,s=z.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:tK(_,_(),function(){return s.pause()})},onUpdate:tL,onComplete:l.vars.onComplete}),t},tZ.sort=function(e){return tg.sort(e||function(e,t){return -1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},tZ.observe=function(e){return new $(e)},tZ.normalizeScroll=function(e){if(void 0===e)return eu;if(!0===e&&eu)return eu.enable();if(!1===e){eu&&eu.kill(),eu=e;return}var t=e instanceof $?e:t9(e);return eu&&eu.target===t.target&&eu.kill(),eB(t.target)&&(eu=t),t},tZ.core={_getVelocityProp:j,_inputObserver:t4,_scrollers:y,_proxies:_,bridge:{ss:function(){eC||tA("scrollStart"),eC=ek()},ref:function(){return Z}}},eL()&&z.registerPlugin(tZ),t.ScrollTrigger=tZ,t.default=tZ,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esMo
9dule",{value:!0}):delete window.default},26038:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,{ZP:function(){return rN},p8:function(){return rN}});var s,o,a,l,u,c,d,h,p,f,m,g,v,y,_,b,w,x,S,E,A,k,T,C,M,P,O,I,R,D,j={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},N={duration:.5,overwrite:!1,delay:0},L=2*Math.PI,B=L/4,F=0,$=Math.sqrt,z=Math.cos,V=Math.sin,U=function(e){return"string"==typeof e},H=function(e){return"function"==typeof e},W=function(e){return"number"==typeof e},q=function(e){return void 0===e},Y=function(e){return"object"==typeof e},G=function(e){return!1!==e},X=function(){return"undefined"!=typeof window},K=function(e){return H(e)||U(e)},Q="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},J=Array.isArray,Z=/(?:-?\.?\d|\.)+/gi,ee=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,et=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,en=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,er=/[+-]=-?[.\d]+/,ei=/[^,'"\[\]\s]+/gi,es=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,eo={},ea={},el=function(e){return(ea=eL(e,eo))&&nM},eu=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},ec=function(e,t){return!t&&console.warn(e)},ed=function(e,t){return e&&(eo[e]=t)&&ea&&(ea[e]=t)||eo},eh=function(){return 0},ep={suppressEvents:!0,isStart:!0,kill:!1},ef={suppressEvents:!0,kill:!1},em={suppressEvents:!0},eg={},ev=[],ey={},e_={},eb={},ew=30,ex=[],eS="",eE=function(e){var t,n,r=e[0];if(Y(r)||H(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=ex.length;n--&&!ex[n].targetTest(r););t=ex[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new tW(e[n],t)))||e.splice(n,1);return e},eA=function(e){return e._gsap||eE(ta(e))[0]._gsap},ek=function(e,t,n){return(n=e[t])&&H(n)?e[t]():q(n)&&e.getAttribute&&e.getAttribute(t)||n},eT=function(e,t){return(e=e.split(",")).forEach(t)||e},eC=function(e){return Math.round(1e5*e)/1e5||0},eM=function(e){return Math.round(1e7*e)/1e7||0},eP=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+r:"-"===n?e-r:"*"===n?e*r:e/r},eO=function(e,t){for(var n=t.length,r=0;0>e.indexOf(t[r])&&++r<n;);return r<n},eI=function(){var e,t,n=ev.length,r=ev.slice(0);for(e=0,ey={},ev.length=0;e<n;e++)(t=r[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},eR=function(e,t,n,r){ev.length&&!A&&eI(),e.render(t,n,r||A&&t<0&&(e._initted||e._startAt)),ev.length&&!A&&eI()},eD=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(ei).length<2?t:U(e)?e.trim():e},ej=function(e){return e},eN=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},eL=function(e,t){for(var n in t)e[n]=t[n];return e},eB=function e(t,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=Y(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},eF=function(e,t){var n,r={};for(n in e)n in t||(r[n]=e[n]);return r},e$=function(e){var t,n=e.parent||T,r=e.keyframes?(t=J(e.keyframes),function(e,n){for(var r in n)r in e||"duration"===r&&t||"ease"===r||(e[r]=n[r])}):eN;if(G(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},ez=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},eV=function(e,t,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var s,o=e[r];if(i)for(s=t[i];o&&o[i]>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=o,t.parent=t._dp=e,t},eU=function(e,t,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=t._prev,s=t._next;i?i._next=s:e[n]===t&&(e[n]=s),s?s._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},eH=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},eW=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},eq=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},eY=function(e,t,n,r){return e._startAt&&(A?e._startAt.revert(ef):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},eG=function(e){return e._repeat?eX(e._tTime,e=e.duration()+e._rDelay)*e:0},eX=function(e,t){var n=Math.floor(e/=t);return e&&n===e?n-1:n},eK=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},eQ=function(e){return e._end=eM(e._start+(e._tDur/Math.abs(e._ts||e._rts||1e-8)||0))},eJ=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=eM(n._time-(e._ts>0?t/e._ts:-(((e._dirty?e.totalDuration():e._tDur)-t)/e._ts))),eQ(e),n._dirty||eW(n,e)),e},eZ=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=eK(e.rawTime(),t),(!t._dur||tr(0,t.totalDuration(),n)-t._tTime>1e-8)&&t.render(n,!0)),eW(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-.00000001}},e0=function(e,t,n,r){return t.parent&&eH(t),t._start=eM((W(n)?n:n||e!==T?te(e,n,t):e._time)+t._delay),t._end=eM(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),eV(e,t,"_first","_last",e._sort?"_start":0),e5(t)||(e._recent=t),r||eZ(e,t),e._ts<0&&eJ(e,e._tTime),e},e1=function(e,t){return(eo.ScrollTrigger||eu("scrollTrigger",t))&&eo.ScrollTrigger.create(t,e)},e2=function(e,t,n,r,i){return(t5(e,t,i),e._initted)?!n&&e._pt&&!A&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&I!==tP.frame?(ev.push(e),e._lazy=[i,r],1):void 0:1},e3=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(0>n.rawTime()||e(n))},e5=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},e4=function(e,t,n,r){var i,s,o,a=e.ratio,l=t<0||!t&&(!e._start&&e3(e)&&!(!e._initted&&e5(e))||(e._ts<0||e._dp._ts<0)&&!e5(e))?0:1,u=e._rDelay,c=0;if(u&&e._repeat&&(s=eX(c=tr(0,e._tDur,t),u),e._yoyo&&1&s&&(l=1-l),s!==eX(e._tTime,u)&&(a=1-l,e.vars.repeatRefresh&&e._initted&&e.invali
9date())),l!==a||A||r||1e-8===e._zTime||!t&&e._zTime){if(!e._initted&&e2(e,t,r,n,c))return;for(o=e._zTime,e._zTime=t||(n?1e-8:0),n||(n=t&&!o),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=c,i=e._pt;i;)i.r(l,i.d),i=i._next;t<0&&eY(e,t,n,!0),e._onUpdate&&!n&&ty(e,"onUpdate"),c&&e._repeat&&!n&&e.parent&&ty(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&eH(e,1),n||A||(ty(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},e6=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<t)return r;r=r._prev}},e8=function(e,t,n,r){var i=e._repeat,s=eM(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:eM(s*(i+1)+e._rDelay*i):s,o>0&&!r&&eJ(e,e._tTime=e._tDur*o),e.parent&&eQ(e),n||eW(e.parent,e),e},e9=function(e){return e instanceof tY?eW(e):e8(e,e._dur)},e7={_start:0,endTime:eh,totalDuration:eh},te=function e(t,n,r){var i,s,o,a=t.labels,l=t._recent||e7,u=t.duration()>=1e8?l.endTime(!1):t._dur;return U(n)&&(isNaN(n)||n in a)?(s=n.charAt(0),o="%"===n.substr(-1),i=n.indexOf("="),"<"===s||">"===s)?(i>=0&&(n=n.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(o?(i<0?l:r).totalDuration()/100:1)):i<0?(n in a||(a[n]=u),a[n]):(s=parseFloat(n.charAt(i-1)+n.substr(i+1)),o&&r&&(s=s/100*(J(r)?r[0]:r).totalDuration()),i>1?e(t,n.substr(0,i-1),r)+s:u+s):null==n?u:+n},tt=function(e,t,n){var r,i,s=W(t[1]),o=(s?2:1)+(e<2?0:1),a=t[o];if(s&&(a.duration=t[1]),a.parent=n,e){for(r=a,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=G(i.vars.inherit)&&i.parent;a.immediateRender=G(r.immediateRender),e<2?a.runBackwards=1:a.startAt=t[o-1]}return new nt(t[0],a,t[o+1])},tn=function(e,t){return e||0===e?t(e):t},tr=function(e,t,n){return n<e?e:n>t?t:n},ti=function(e,t){return U(e)&&(t=es.exec(e))?t[1]:""},ts=[].slice,to=function(e,t){return e&&Y(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Y(e[0]))&&!e.nodeType&&e!==C},ta=function(e,t,n){var r;return k&&!t&&k.selector?k.selector(e):U(e)&&!n&&(M||!tO())?ts.call((t||P).querySelectorAll(e),0):J(e)?(void 0===r&&(r=[]),e.forEach(function(e){var t;return U(e)&&!n||to(e,1)?(t=r).push.apply(t,ta(e)):r.push(e)})||r):to(e)?ts.call(e,0):e?[e]:[]},tl=function(e){return e=ta(e)[0]||ec("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return ta(t,n.querySelectorAll?n:n===e?ec("Invalid scope")||P.createElement("div"):e)}},tu=function(e){return e.sort(function(){return .5-Math.random()})},tc=function(e){if(H(e))return e;var t=Y(e)?e:{each:e},n=t$(t.ease),r=t.from||0,i=parseFloat(t.base)||0,s={},o=r>0&&r<1,a=isNaN(r)||o,l=t.axis,u=r,c=r;return U(r)?u=c=({center:.5,edges:.5,end:1})[r]||0:!o&&a&&(u=r[0],c=r[1]),function(e,o,d){var h,p,f,m,g,v,y,_,b,w=(d||t).length,x=s[w];if(!x){if(!(b="auto"===t.grid?0:(t.grid||[1,1e8])[1])){for(y=-1e8;y<(y=d[b++].getBoundingClientRect().left)&&b<w;);b<w&&b--}for(v=0,x=s[w]=[],h=a?Math.min(b,w)*u-.5:r%b,p=1e8===b?0:a?w*c/b-.5:r/b|0,y=0,_=1e8;v<w;v++)f=v%b-h,m=p-(v/b|0),x[v]=g=l?Math.abs("y"===l?m:f):$(f*f+m*m),g>y&&(y=g),g<_&&(_=g);"random"===r&&tu(x),x.max=y-_,x.min=_,x.v=w=(parseFloat(t.amount)||parseFloat(t.each)*(b>w?w-1:l?"y"===l?w/b:b:Math.max(b,w/b))||0)*("edges"===r?-1:1),x.b=w<0?i-w:i,x.u=ti(t.amount||t.each)||0,n=n&&w<0?tB(n):n}return w=(x[e]-x.min)/x.max||0,eM(x.b+(n?n(w):w)*x.v)+x.u}},td=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=eM(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(W(n)?0:ti(n))}},th=function(e,t){var n,r,i=J(e);return!i&&Y(e)&&(n=i=e.radius||1e8,e.values?(r=!W((e=ta(e.values))[0]))&&(n*=n):e=td(e.increment)),tn(t,i?H(e)?function(t){return Math.abs((r=e(t))-t)<=n?r:t}:function(t){for(var i,s,o=parseFloat(r?t.x:t),a=parseFloat(r?t.y:0),l=1e8,u=0,c=e.length;c--;)(i=r?(i=e[c].x-o)*i+(s=e[c].y-a)*s:Math.abs(e[c]-o))<l&&(l=i,u=c);return u=!n||l<=n?e[u]:t,r||u===t||W(t)?u:u+ti(t)}:td(e))},tp=function(e,t,n,r){return tn(J(e)?!t:!0===n?(n=0,!1):!r,function(){return J(e)?e[~~(Math.random()*e.length)]:(r=(n=n||1e-5)<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)
9*n*r)/r})},tf=function(e,t,n){return tn(n,function(n){return e[~~t(n)]})},tm=function(e){for(var t,n,r,i,s=0,o="";~(t=e.indexOf("random(",s));)r=e.indexOf(")",t),i="["===e.charAt(t+7),n=e.substr(t+7,r-t-7).match(i?ei:Z),o+=e.substr(s,t-s)+tp(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),s=r+1;return o+e.substr(s,e.length-s)},tg=function(e,t,n,r,i){var s=t-e,o=r-n;return tn(i,function(t){return n+((t-e)/s*o||0)})},tv=function(e,t,n){var r,i,s,o=e.labels,a=1e8;for(r in o)(i=o[r]-t)<0==!!n&&i&&a>(i=Math.abs(i))&&(s=r,a=i);return s},ty=function(e,t,n){var r,i,s,o=e.vars,a=o[t],l=k,u=e._ctx;if(a)return r=o[t+"Params"],i=o.callbackScope||e,n&&ev.length&&eI(),u&&(k=u),s=r?a.apply(i,r):a.call(i),k=l,s},t_=function(e){return eH(e),e.scrollTrigger&&e.scrollTrigger.kill(!!A),1>e.progress()&&ty(e,"onInterrupt"),e},tb=[],tw=function(e){if(e){if(e=!e.name&&e.default||e,X()||e.headless){var t=e.name,n=H(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:eh,render:nc,add:t1,kill:nh,modifier:nd,rawVars:0},s={targetTest:0,get:0,getSetter:no,aliases:{},register:0};if(tO(),e!==r){if(e_[t])return;eN(r,eN(eF(e,i),s)),eL(r.prototype,eL(i,eF(e,s))),e_[r.prop=t]=r,e.targetTest&&(ex.push(r),eg[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ed(t,r),e.register&&e.register(nM,r,nm)}else tb.push(e)}},tx={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},tS=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*255+.5|0},tE=function(e,t,n){var r,i,s,o,a,l,u,c,d,h,p=e?W(e)?[e>>16,e>>8&255,255&e]:0:tx.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),tx[e])p=tx[e];else if("#"===e.charAt(0)){if(e.length<6&&(e="#"+(r=e.charAt(1))+r+(i=e.charAt(2))+i+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e]}else if("hsl"===e.substr(0,3)){if(p=h=e.match(Z),t){if(~e.indexOf("="))return p=e.match(ee),n&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,a=+p[1]/100,i=(l=+p[2]/100)<=.5?l*(a+1):l+a-l*a,r=2*l-i,p.length>3&&(p[3]*=1),p[0]=tS(o+1/3,r,i),p[1]=tS(o,r,i),p[2]=tS(o-1/3,r,i)}else p=e.match(Z)||tx.transparent;p=p.map(Number)}return t&&!h&&(l=((u=Math.max(r=p[0]/255,i=p[1]/255,s=p[2]/255))+(c=Math.min(r,i,s)))/2,u===c?o=a=0:(d=u-c,a=l>.5?d/(2-u-c):d/(u+c),o=(u===r?(i-s)/d+(i<s?6:0):u===i?(s-r)/d+2:(r-i)/d+4)*60),p[0]=~~(o+.5),p[1]=~~(100*a+.5),p[2]=~~(100*l+.5)),n&&p.length<4&&(p[3]=1),p},tA=function(e){var t=[],n=[],r=-1;return e.split(tT).forEach(function(e){var i=e.match(et)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},tk=function(e,t,n){var r,i,s,o,a="",l=(e+a).match(tT),u=t?"hsla(":"rgba(",c=0;if(!l)return e;if(l=l.map(function(e){return(e=tE(e,t,1))&&u+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"}),n&&(s=tA(e),(r=n.c).join(a)!==s.c.join(a)))for(o=(i=e.replace(tT,"1").split(et)).length-1;c<o;c++)a+=i[c]+(~r.indexOf(c)?l.shift()||u+"0,0,0,0)":(s.length?s:l.length?l:n).shift());if(!i)for(o=(i=e.split(tT)).length-1;c<o;c++)a+=i[c]+l[c];return a+i[o]},tT=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in tx)t+="|"+e+"\\b";return RegExp(t+")","gi")}(),tC=/hsl[a]?\(/,tM=function(e){var t,n=e.join(" ");if(tT.lastIndex=0,tT.test(n))return t=tC.test(n),e[1]=tk(e[1],t),e[0]=tk(e[0],t,tA(e[1])),!0},tP=(m=Date.now,g=500,v=33,_=y=m(),b=1e3/240,w=1e3/240,x=[],S=function e(t){var n,r,i,s,o=m()-_,a=!0===t;if((o>g||o<0)&&(y+=o-v),_+=o,((n=(i=_-y)-w)>0||a)&&(s=++h.frame,p=i-1e3*h.time,h.time=i/=1e3,w+=n+(n>=b?4:b-n),r=1),a||(u=c(e)),r)for(f=0;f<x.length;f++)x[f](i,p,s,t)},h={time:0,frame:0,tick:function(){S(!0)},deltaRatio:function(e){return p/(1e3/(e||60))},wake:function(){O&&(!M&&X()&&(P=(C=M=window).document||{}
9,eo.gsap=nM,(C.gsapVersions||(C.gsapVersions=[])).push(nM.version),el(ea||C.GreenSockGlobals||!C.gsap&&C||{}),tb.forEach(tw)),d="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,u&&h.sleep(),c=d||function(e){return setTimeout(e,w-1e3*h.time+1|0)},D=1,S(2))},sleep:function(){(d?cancelAnimationFrame:clearTimeout)(u),D=0,c=eh},lagSmoothing:function(e,t){v=Math.min(t||33,g=e||1/0)},fps:function(e){b=1e3/(e||240),w=1e3*h.time+b},add:function(e,t,n){var r=t?function(t,n,i,s){e(t,n,i,s),h.remove(r)}:e;return h.remove(e),x[n?"unshift":"push"](r),tO(),r},remove:function(e,t){~(t=x.indexOf(e))&&x.splice(t,1)&&f>=t&&f--},_listeners:x}),tO=function(){return!D&&tP.wake()},tI={},tR=/^[\d.\-M][\d.\-,\s]/,tD=/["']/g,tj=function(e){for(var t,n,r,i={},s=e.substr(1,e.length-3).split(":"),o=s[0],a=1,l=s.length;a<l;a++)n=s[a],t=a!==l-1?n.lastIndexOf(","):n.length,r=n.substr(0,t),i[o]=isNaN(r)?r.replace(tD,"").trim():+r,o=n.substr(t+1).trim();return i},tN=function(e){var t=e.indexOf("(")+1,n=e.indexOf(")"),r=e.indexOf("(",t);return e.substring(t,~r&&r<n?e.indexOf(")",n+1):n)},tL=function(e){var t=(e+"").split("("),n=tI[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[tj(t[1])]:tN(e).split(",").map(eD)):tI._CE&&tR.test(e)?tI._CE("",e):n},tB=function(e){return function(t){return 1-e(1-t)}},tF=function e(t,n){for(var r,i=t._first;i;)i instanceof tY?e(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?e(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},t$=function(e,t){return e&&(H(e)?e:tI[e]||tL(e))||t},tz=function(e,t,n,r){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===r&&(r=function(e){return e<.5?t(2*e)/2:1-t((1-e)*2)/2});var i,s={easeIn:t,easeOut:n,easeInOut:r};return eT(e,function(e){for(var t in tI[e]=eo[e]=s,tI[i=e.toLowerCase()]=n,s)tI[i+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=tI[e+"."+t]=s[t]}),s},tV=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e((t-.5)*2)/2}},tU=function e(t,n,r){var i=n>=1?n:1,s=(r||(t?.3:.45))/(n<1?n:1),o=s/L*(Math.asin(1/i)||0),a=function(e){return 1===e?1:i*Math.pow(2,-10*e)*V((e-o)*s)+1},l="out"===t?a:"in"===t?function(e){return 1-a(1-e)}:tV(a);return s=L/s,l.config=function(n,r){return e(t,n,r)},l},tH=function e(t,n){void 0===n&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i="out"===t?r:"in"===t?function(e){return 1-r(1-e)}:tV(r);return i.config=function(n){return e(t,n)},i};eT("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var n=t<5?t+1:t;tz(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},function(e){return 1-Math.pow(1-e,n)},function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow((1-e)*2,n)/2})}),tI.Linear.easeNone=tI.none=tI.Linear.easeIn,tz("Elastic",tU("in"),tU("out"),tU()),tX=2*(tG=1/2.75),tK=2.5*tG,tz("Bounce",function(e){return 1-tQ(1-e)},tQ=function(e){return e<tG?7.5625*e*e:e<tX?7.5625*Math.pow(e-1.5/2.75,2)+.75:e<tK?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*Math.pow(e-2.625/2.75,2)+.984375}),tz("Expo",function(e){return e?Math.pow(2,10*(e-1)):0}),tz("Circ",function(e){return-($(1-e*e)-1)}),tz("Sine",function(e){return 1===e?1:-z(e*B)+1}),tz("Back",tH("in"),tH("out"),tH()),tI.SteppedEase=tI.steps=eo.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,r=e+(t?0:1),i=t?1:0;return function(e){return((r*tr(0,.99999999,e)|0)+i)*n}}},N.ease=tI["quad.out"],eT("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return eS+=e+","+e+"Params,"});var tW=function(e,t){this.id=F++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:ek,this.set=t?t.getSetter:no},tq=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,e8(this,+e.duration,1,1),this.data=e.data,k&&(this._ctx=k,k.data.push(this)),D||tP.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,e8(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(tO(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(eJ(this,e),!n._dp||n.parent||eZ(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:-((n.totalDuration()-n._tTime)/n._ts))&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&e0(this._dp,this,this._start-this._delay)}return this._tTime===e&&(this._dur||t)&&(!this._initted||1e-8!==Math.abs(this._zTime))&&(e||this._initted||!this.add&&!this._ptLookup)||(this._ts||(this._pTime=e),eR(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+eG(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-e:e)+eG(this),t):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?eX(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return -.00000001===this._rts?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?eK(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-.00000001===e?0:this._rts,this.totalTime(tr(-Math.abs(this._delay),this._tDur,n),!1!==t),eQ(this),eq(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(tO(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&e0(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(G(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?eK(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=em);var t=A;return A=e,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),A=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,e9(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,e9(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(te(this,e),G(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,G(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-.00000001:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-.00000001,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!!(!t||this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-1e-8)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>
vendor: 4,116 bytes, line 9
91?(t?(r[e]=t,n&&(r[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this;return new Promise(function(n){var r=H(e)?e:ej,i=function(){var e=t.then;t.then=null,H(r)&&(r=r(t))&&(r.then||r===t)&&(t.then=e),n(r),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?i():t._prom=i})},t.kill=function(){t_(this)},e}();eN(tq.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-.00000001,_prom:0,_ps:!1,_rts:1});var tY=function(e){function t(t,n){var i;return void 0===t&&(t={}),(i=e.call(this,t)||this).labels={},i.smoothChildTiming=!!t.smoothChildTiming,i.autoRemoveChildren=!!t.autoRemoveChildren,i._sort=G(t.sortChildren),T&&e0(t.parent||T,r(i),n),t.reversed&&i.reverse(),t.paused&&i.paused(!0),t.scrollTrigger&&e1(r(i),t.scrollTrigger),i}i(t,e);var n=t.prototype;return n.to=function(e,t,n){return tt(0,arguments,this),this},n.from=function(e,t,n){return tt(1,arguments,this),this},n.fromTo=function(e,t,n,r){return tt(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,e$(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new nt(e,t,te(this,n),1),this},n.call=function(e,t,n){return e0(this,nt.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,s,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=s,n.onCompleteParams=o,n.parent=this,new nt(e,n,te(this,i)),this},n.staggerFrom=function(e,t,n,r,i,s,o){return n.runBackwards=1,e$(n).immediateRender=G(n.immediateRender),this.staggerTo(e,t,n,r,i,s,o)},n.staggerFromTo=function(e,t,n,r,i,s,o,a){return r.startAt=n,e$(r).immediateRender=G(r.immediateRender),this.staggerTo(e,t,r,i,s,o,a)},n.render=function(e,t,n){var r,i,s,o,a,l,u,c,d,h,p,f,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=e<=0?0:eM(e),_=this._zTime<0!=e<0&&(this._initted||!v);if(this!==T&&y>g&&e>=0&&(y=g),y!==this._tTime||n||_){if(m!==this._time&&v&&(y+=this._time-m,e+=this._time-m),r=y,d=this._start,l=!(c=this._ts),_&&(v||(m=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(p=this._yoyo,a=v+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*a+e,t,n);if(r=eM(y%a),y===g?(o=this._repeat,r=v):((o=~~(y/a))&&o===y/a&&(r=v,o--),r>v&&(r=v)),h=eX(this._tTime,a),!m&&this._tTime&&h!==o&&this._tTime-h*a-this._dur<=0&&(h=o),p&&1&o&&(r=v-r,f=1),o!==h&&!this._lock){var b=p&&1&h,w=b===(p&&1&o);if(o<h&&(b=!b),m=b?0:y%v?v:y,this._lock=1,this.render(m||(f?0:eM(o*a)),t,!v)._lock=0,this._tTime=y,!t&&this.parent&&ty(this,"onRepeat"),this.vars.repeatRefresh&&!f&&(this.invalidate()._lock=1),m&&m!==this._time||!this._ts!==l||this.vars.onRepeat&&!this.parent&&!this._act||(v=this._dur,g=this._tDur,w&&(this._lock=2,m=b?v:-.0001,this.render(m,!0),this.vars.repeatRefresh&&!f&&this.invalidate()),this._lock=0,!this._ts&&!l))return this;tF(this,f)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=e6(this,eM(m),eM(r)))&&(y-=r-(r=u._start)),this._tTime=y,this._time=r,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,m=0),!m&&r&&!t&&!o&&(ty(this,"onStart"),this._tTime!==y))return this;if(r>=m&&e>=0)for(i=this._first;i;){if(s=i._next,(i._act||r>=i._start)&&i._ts&&u!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,t,n),r!==this._time||!this._ts&&!l){u=0,s&&(y+=this._zTime=-.00000001);break}}i=s}else{i=this._last;for(var x=e<0?e:r;i;){if(s=i._prev,(i._act||x<=i._end)&&i._ts&&u!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(x-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(x-i._start)*i._ts,t,n||A&&(i._initted||i._startAt)),r!==this._time||!this._ts&&!l){u=0,s&&(y+=this._zTime=x?-.00000001:1e-8);break}}i=s}}if(u&&!t&&(this.pause(),u.render(r>=m?0:-.00000001)._zTime=r>=m?1:-1,this._ts))return this._start=d,eQ(this),this.render(e,t,n);this._onUpdate&&!t&&ty(this,"onUpdate",!0),(y===g&&this._tTime>=this.totalDuration()||!y&&m)&&(d===this._start||Math.abs(c)!==Math.abs(this._ts
vendor: 7,853 bytes, line 9
9))&&!this._lock&&((e||!v)&&(y===g&&this._ts>0||!y&&this._ts<0)&&eH(this,1),t||e<0&&!m||!y&&!m&&g||(ty(this,y===g&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<g&&this.timeScale()>0)&&this._prom()))}return this},n.add=function(e,t){var n=this;if(W(t)||(t=te(this,t,e)),!(e instanceof tq)){if(J(e))return e.forEach(function(e){return n.add(e,t)}),this;if(U(e))return this.addLabel(e,t);if(!H(e))return this;e=nt.delayedCall(0,e)}return this!==e?e0(this,e,t):this},n.getChildren=function(e,t,n,r){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===r&&(r=-1e8);for(var i=[],s=this._first;s;)s._start>=r&&(s instanceof nt?t&&i.push(s):(n&&i.push(s),e&&i.push.apply(i,s.getChildren(!0,t,n)))),s=s._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return U(e)?this.removeLabel(e):H(e)?this.killTweensOf(e):(eU(this,e),e===this._recent&&(this._recent=this._last),eW(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=eM(tP.time-(this._ts>0?t/this._ts:-((this.totalDuration()-t)/this._ts)))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=te(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=nt.delayedCall(0,t||eh,n);return r.data="isPause",this._hasPause=1,e0(this,r,te(this,e))},n.removePause=function(e){var t=this._first;for(e=te(this,e);t;)t._start===e&&"isPause"===t.data&&eH(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)tJ!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,r=[],i=ta(e),s=this._first,o=W(t);s;)s instanceof nt?eO(s._targets,i)&&(o?(!tJ||s._initted&&s._ts)&&s.globalTime(0)<=t&&s.globalTime(s.totalDuration())>t:!t||s.isActive())&&r.push(s):(n=s.getTweensOf(i,t)).length&&r.push.apply(r,n),s=s._next;return r},n.tweenTo=function(e,t){t=t||{};var n,r=this,i=te(r,e),s=t,o=s.startAt,a=s.onStart,l=s.onStartParams,u=s.immediateRender,c=nt.to(r,eN({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:t.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale())||1e-8,onStart:function(){if(r.pause(),!n){var e=t.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale());c._dur!==e&&e8(c,e,0,1).render(c._time,!0,!0),n=1}a&&a.apply(c,l||[])}},t));return u?c.render(0):c},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,eN({startAt:{time:te(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),tv(this,te(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),tv(this,te(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+1e-8)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);for(var r,i=this._first,s=this.labels;i;)i._start>=n&&(i._start+=e,i._end+=e),i=i._next;if(t)for(r in s)s[r]>=n&&(s[r]+=e);return eW(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),eW(this)},n.totalDuration=function(e){var t,n,r,i=0,s=this._last,o=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-e:e));if(this._dirty){for(r=this.parent;s;)t=s._prev,s._dirty&&s.totalDuration(),(n=s._start)>o&&this._sort&&s._ts&&!this._lock?(this._lock=1,e0(this,s,n-s._delay,1)._lock=0):o=n,n<0&&s._ts&&(i-=n,(!r&&!this._dp||r&&r.smoothChildTiming)&&(this._start+=n/this._ts,this._time-=n,this._tTime-=n),this.shiftChildren(-n,!1,-Infinity),o=0),s._end>i&&s._ts&&(i=s._end),s=t;e8(this,this===T&&this._time>i?this._time:i,1,1),this._dirty=0}return this._tDur},t.updateRoot=function(e){if(T._ts&&(eR(T,eK(e,T)),I=tP.frame),tP.frame>=ew){ew+=j.autoSleep||120;var t=T._first;if((!t||!t._ts)&&j.autoSleep&&tP._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||tP.sleep()}}},t}(tq);eN(tY.prototype,{_lock:0,_hasPause:0,_forcing:0});var tG,tX,tK,tQ,tJ,tZ,t0=function(e,t,n,r,i,s,o){var a,l,u,c,d,h,p,f,m=new nm(this._pt,e,t,0,1,nu,null,i),g=0,v=0;for(m.b=n,m.e=r,n+="",r+="",(p=~r.indexOf("random("))&&(r=tm(r)),s&&(s(f=[n,r],e,t),n=f[0],r=f[1]),l=n.match(en)||[];a=en.exec(r);)c=a[0],d=r.substring(g,a.index),u?u=(u+1)%5:"rgba("===d.substr(-5)&&(u=1),c!==l[v++]&&(h=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:d||1===v?d:",",s:h,c:"="===c.charAt(1)?eP(h,c)-h:parseFloat(c)-h,m:u&&u<4?Math.round:0},g=en.lastIndex);return m.c=g<r.length?r.substring(g,r.length):"",m.fp=o,(er.test(r)||p)&&(m.e=0),this._pt=m,m},t1=function(e,t,n,r,i,s,o,a,l,u){H(r)&&(r=r(i||0,e,s));var c,d=e[t],h="get"!==n?n:H(d)?l?e[t.indexOf("set")||!H(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,p=H(d)?l?ni:nr:nn;if(U(r)&&(~r.indexOf("random(")&&(r=tm(r)),"="===r.charAt(1)&&((c=eP(h,r)+(ti(h)||0))||0===c)&&(r=c)),!u||h!==r||tZ)return isNaN(h*r)||""===r?(d||t in e||eu(t,r),t0.call(this,e,t,h,r,p,a||j.stringFilter,l)):(c=new nm(this._pt,e,t,+h||0,r-(h||0),"boolean"==typeof d?nl:na,0,p),l&&(c.fp=l),o&&c.modifier(o,this,e),this._pt=c)},t2=function(e,t,n,r,i){if(H(e)&&(e=t9(e,i,t,n,r)),!Y(e)||e.style&&e.nodeType||J(e)||Q(e))return U(e)?t9(e,i,t,n,r):e;var s,o={};for(s in e)o[s]=t9(e[s],i,t,n,r);return o},t3=function(e,t,n,r,i,s){var o,a,l,u;if(e_[e]&&!1!==(o=new e_[e]).init(i,o.rawVars?t[e]:t2(t[e],r,i,s,n),n,r,s)&&(n._pt=a=new nm(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==R))for(l=n._ptLookup[n._targets.indexOf(i)],u=o._props.length;u--;)l[o._props[u]]=a;return o},t5=function e(t,n,r){var i,s,o,a,l,u,c,d,h,p,f,m,g,v=t.vars,y=v.ease,_=v.startAt,b=v.immediateRender,w=v.lazy,x=v.onUpdate,S=v.runBackwards,k=v.yoyoEase,C=v.keyframes,M=v.autoRevert,P=t._dur,O=t._startAt,I=t._targets,R=t.parent,D=R&&"nested"===R.data?R.vars.targets:I,j="auto"===t._overwrite&&!E,L=t.timeline;if(!L||C&&y||(y="none"),t._ease=t$(y,N.ease),t._yEase=k?tB(t$(!0===k?y:k,N.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!L&&!!v.runBackwards,!L||C&&!v.stagger){if(m=(d=I[0]?eA(I[0]).harness:0)&&v[d.prop],i=eF(v,eg),O&&(O._zTime<0&&O.progress(1),n<0&&S&&b&&!M?O.render(-1,!0):O.revert(S&&P?ef:ep),O._lazy=0),_){if(eH(t._startAt=nt.set(I,eN({data:"isStart",overwrite:!1,parent:R,immediateRender:!0,lazy:!O&&G(w),startAt:null,delay:0,onUpdate:x&&function(){return ty(t,"onUpdate")},stagger:0},_))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(A||!b&&!M)&&t._startAt.revert(ef),b&&P&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(S&&P&&!O){if(n&&(b=!1),o=eN({overwrite:!1,data:"isFromStart",lazy:b&&!O&&G(w),immediateRender:b,stagger:0,parent:R},i),m&&(o[d.prop]=m),eH(t._startAt=nt.set(I,o)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(A?t._startAt.revert(ef):t._startAt.render(-1,!0)),t._zTime=n,b){if(!n)return}else e(t._startAt,1e-8,1e-8)}for(s=0,t._pt=t._ptCache=0,w=P&&G(w)||w&&!P;s<I.length;s++){if(c=(l=I[s])._gsap||eE(I)[s]._gsap,t._ptLookup[s]=p={},ey[c.id]&&ev.length&&eI(),f=D===I?s:D.indexOf(l),d&&!1!==(h=new d).init(l,m||i,t,f,D)&&(t._pt=a=new nm(t._pt,l,h.name,0,1,h.render,h,0,h.priority),h._props.forEach(function(e){p[e]=a}),h.priority&&(u=1)),!d||m)for(o in i)e_[o]&&(h=t3(o,i,t,f,l,D))?h.priority&&(u=1):p[o]=a=t1.call(t,l,o,"get",i[o],f,D,0,v.stringFilter);t._op&&t._op[s]&&t.kill(l,t._op[s]),j&&t._pt&&(tJ=t,T.killTweensOf(l,p,t.globalTime(n)),g=!t.parent,tJ=0),t._pt&&w&&(ey[c.id]=1)}u&&nf(t),t._onInit&&t._onInit(t)}t._onUpdate=x,t._initted=(!t._op||t._pt)&&!g,C&&n<=0&&L.render(1e8,!0,!0)},t4=function(e,t,n,r,i,s,o,a){var l,u,c,d,h=(e._pt&&e._ptCache||(e._ptCache={}))[t];
9if(!h)for(h=e._ptCache[t]=[],c=e._ptLookup,d=e._targets.length;d--;){if((l=c[d][t])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return tZ=1,e.vars[t]="+=0",t5(e,o),tZ=0,a?ec(t+" not eligible for reset"):1;h.push(l)}for(d=h.length;d--;)(l=(u=h[d])._pt||u).s=(r||0===r)&&!i?r:l.s+(r||0)+s*l.c,l.c=n-l.s,u.e&&(u.e=eC(n)+ti(u.e)),u.b&&(u.b=l.s+ti(u.b))},t6=function(e,t){var n,r,i,s,o=e[0]?eA(e[0]).harness:0,a=o&&o.aliases;if(!a)return t;for(r in n=eL({},t),a)if(r in n)for(i=(s=a[r].split(",")).length;i--;)n[s[i]]=n[r];return n},t8=function(e,t,n,r){var i,s,o=t.ease||r||"power1.inOut";if(J(t))s=n[e]||(n[e]=[]),t.forEach(function(e,n){return s.push({t:n/(t.length-1)*100,v:e,e:o})});else for(i in t)s=n[i]||(n[i]=[]),"ease"===i||s.push({t:parseFloat(e),v:t[i],e:o})},t9=function(e,t,n,r,i){return H(e)?e.call(t,n,r,i):U(e)&&~e.indexOf("random(")?tm(e):e},t7=eS+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ne={};eT(t7+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return ne[e]=1});var nt=function(e){function t(t,n,i,s){"number"==typeof n&&(i.duration=n,n=i,i=null);var o,a,l,u,c,d,h,p,f,m=(o=e.call(this,s?n:e$(n))||this).vars,g=m.duration,v=m.delay,y=m.immediateRender,_=m.stagger,b=m.overwrite,w=m.keyframes,x=m.defaults,S=m.scrollTrigger,A=m.yoyoEase,k=n.parent||T,C=(J(t)||Q(t)?W(t[0]):"length"in n)?[t]:ta(t);if(o._targets=C.length?eE(C):ec("GSAP target "+t+" not found. https://gsap.com",!j.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=b,w||_||K(g)||K(v)){if(n=o.vars,(a=o.timeline=new tY({data:"nested",defaults:x||{},targets:k&&"nested"===k.data?k.vars.targets:C})).kill(),a.parent=a._dp=r(o),a._start=0,_||K(g)||K(v)){if(c=C.length,p=_&&tc(_),Y(_))for(d in _)~t7.indexOf(d)&&(f||(f={}),f[d]=_[d]);for(l=0;l<c;l++)(u=eF(n,ne)).stagger=0,A&&(u.yoyoEase=A),f&&eL(u,f),h=C[l],u.duration=+t9(g,r(o),l,h,C),u.delay=(+t9(v,r(o),l,h,C)||0)-o._delay,!_&&1===c&&u.delay&&(o._delay=v=u.delay,o._start+=v,u.delay=0),a.to(h,u,p?p(l,h,C):0),a._ease=tI.none;a.duration()?g=v=0:o.timeline=0}else if(w){e$(eN(a.vars.defaults,{ease:"none"})),a._ease=t$(w.ease||n.ease||"none");var M,P,O,I=0;if(J(w))w.forEach(function(e){return a.to(C,e,">")}),a.duration();else{for(d in u={},w)"ease"===d||"easeEach"===d||t8(d,w[d],u,w.easeEach);for(d in u)for(l=0,M=u[d].sort(function(e,t){return e.t-t.t}),I=0;l<M.length;l++)(O={ease:(P=M[l]).e,duration:(P.t-(l?M[l-1].t:0))/100*g})[d]=P.v,a.to(C,O,I),I+=O.duration;a.duration()<g&&a.to({},{duration:g-a.duration()})}}g||o.duration(g=a.duration())}else o.timeline=0;return!0!==b||E||(tJ=r(o),T.killTweensOf(C),tJ=0),e0(k,r(o),i),n.reversed&&o.reverse(),n.paused&&o.paused(!0),(y||!g&&!w&&o._start===eM(k._time)&&G(y)&&function e(t){return!t||t._ts&&e(t.parent)}(r(o))&&"nested"!==k.data)&&(o._tTime=-.00000001,o.render(Math.max(0,-v)||0)),S&&e1(r(o),S),o}i(t,e);var n=t.prototype;return n.render=function(e,t,n){var r,i,s,o,a,l,u,c,d,h=this._time,p=this._tDur,f=this._dur,m=e<0,g=e>p-1e-8&&!m?p:e<1e-8?0:e;if(f){if(g!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m){if(r=g,c=this.timeline,this._repeat){if(o=f+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+e,t,n);if(r=eM(g%o),g===p?(s=this._repeat,r=f):((s=~~(g/o))&&s===eM(g/o)&&(r=f,s--),r>f&&(r=f)),(l=this._yoyo&&1&s)&&(d=this._yEase,r=f-r),a=eX(this._tTime,o),r===h&&!n&&this._initted&&s===a)return this._tTime=g,this;s!==a&&(c&&this._yEase&&tF(c,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==o&&this._initted&&(this._lock=n=1,this.render(eM(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(e2(this,m?e:r,n,t,g))return this._tTime=0,this;if(h!==this._time&&!(n&&this.vars.repeatRefresh&&s!==a))return this;if(f!==this._dur)return this.render(e,t,n)}if(this._tTime=g,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(d||this._ease)(r/f),this._from&&(this.ratio=u=1-u),r&&!h&&!t&&!s&&(ty(this,"onStart"),this._tTime!==g))return this;for(i=this._pt;i;)i.r(u,i.d),i=i._next;c&&c.render(e<0?e:c._dur*c._ease(r/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(m&&eY(this,e,t,n),ty(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!t&&this.parent&&ty(this,"onRepeat"),(g===this._tDur||!g)&&this._tTime===g&&(m&&!this._onUpdate&&eY(this,e,!0,!0),(e||!f)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&eH(this,1),!t&&!(m&&!h)&&(g||h||l)&&(ty(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g<p&&this.timeScale()>0)&&this._prom()))}}else e4(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){D||tP.wake(),this._ts||this.play();
vendor: 4,970 bytes, line 9
9var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||t5(this,s),t4(this,e,t,n,r,this._ease(s/this._dur),s,i))?this.resetTo(e,t,n,r,1):(eJ(this,0),this.parent||eV(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,t){if(void 0===t&&(t="all"),!e&&(!t||"all"===t))return this._lazy=this._pt=0,this.parent?t_(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,tJ&&!0!==tJ.vars.overwrite)._first||t_(this),this.parent&&n!==this.timeline.totalDuration()&&e8(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,s,o,a,l,u,c=this._targets,d=e?ta(e):c,h=this._ptLookup,p=this._pt;if((!t||"all"===t)&&ez(c,d))return"all"===t&&(this._pt=0),t_(this);for(r=this._op=this._op||[],"all"!==t&&(U(t)&&(a={},eT(t,function(e){return a[e]=1}),t=a),t=t6(c,t)),u=c.length;u--;)if(~d.indexOf(c[u]))for(a in i=h[u],"all"===t?(r[u]=t,o=i,s={}):(s=r[u]=r[u]||{},o=t),o)(l=i&&i[a])&&("kill"in l.d&&!0!==l.d.kill(a)||eU(this,l,"_pt"),delete i[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&p&&t_(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return tt(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return tt(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return T.killTweensOf(e,t,n)},t}(tq);eN(nt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),eT("staggerTo,staggerFrom,staggerFromTo",function(e){nt[e]=function(){var t=new tY,n=ts.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}});var nn=function(e,t,n){return e[t]=n},nr=function(e,t,n){return e[t](n)},ni=function(e,t,n,r){return e[t](r.fp,n)},ns=function(e,t,n){return e.setAttribute(t,n)},no=function(e,t){return H(e[t])?nr:q(e[t])&&e.setAttribute?ns:nn},na=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},nl=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},nu=function(e,t){var n=t._pt,r="";if(!e&&t.b)r=t.b;else if(1===e&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},nc=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},nd=function(e,t,n,r){for(var i,s=this._pt;s;)i=s._next,s.p===r&&s.modifier(e,t,n),s=i},nh=function(e){for(var t,n,r=this._pt;r;)n=r._next,(r.p!==e||r.op)&&r.op!==e?r.dep||(t=1):eU(this,r,"_pt"),r=n;return!t},np=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},nf=function(e){for(var t,n,r,i,s=e._pt;s;){for(t=s._next,n=r;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:i)?s._prev._next=s:r=s,(s._next=n)?n._prev=s:i=s,s=t}e._pt=r},nm=function(){function e(e,t,n,r,i,s,o,a,l){this.t=t,this.s=r,this.c=i,this.p=n,this.r=s||na,this.d=o||this,this.set=a||nn,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=np,this.m=e,this.mt=n,this.tween=t},e}();eT(eS+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(e){return eg[e]=1}),eo.TweenMax=eo.TweenLite=nt,eo.TimelineLite=eo.TimelineMax=tY,T=new tY({sortChildren:!1,defaults:N,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),j.stringFilter=tM;var ng=[],nv={},ny=[],n_=0,nb=0,nw=function(e){return(nv[e]||ny).map(function(e){return e()})},nx=function(){var e=Date.now(),t=[];e-n_>2&&(nw("matchMediaInit"),ng.forEach(function(e){var n,r,i,s,o=e.queries,a=e.conditions;for(r in o)(n=C.matchMedia(o[r]).matches)&&(i=1),n!==a[r]&&(a[r]=n,s=1);s&&(e.revert(),i&&t.push(e))}),nw("matchMediaRevert"),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),n_=e,nw("matchMedia"))},nS=function(){function e(e,t){this.selector=t&&tl(t),this.data=[],this._r=[],this.isReverted=!1,this.id=nb++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){H(e)&&(n=t,t=e,e=H);var r=this,i=function(){var e,i=k,s=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=tl(n)),k=r,e=t.apply(r,arguments),H(e)&&r._r.push(e),k=i,r.selector=s,r.isReverted=!1,e};return r.last=i,e===H?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=k;k=null,e(this),k=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof nt&&!(n.parent&&"nested"===n.parent.data)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?function(){for(var t,r=n.getTweens(),i=n.data.length;i--;)"isFlip"===(t=n.data[i]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEac
9h(function(e){return r.splice(r.indexOf(e),1)}));for(r.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),i=n.data.length;i--;)(t=n.data[i])instanceof tY?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof nt||!t.revert||t.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0}():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=ng.length;r--;)ng[r].id===this.id&&ng.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),nE=function(){function e(e){this.contexts=[],this.scope=e,k&&k.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){Y(e)||(e={matches:e});var r,i,s,o=new nS(0,n||this.scope),a=o.conditions={};for(i in k&&!o.selector&&(o.selector=k.selector),this.contexts.push(o),t=o.add("onMatch",t),o.queries=e,e)"all"===i?s=1:(r=C.matchMedia(e[i]))&&(0>ng.indexOf(o)&&ng.push(o),(a[i]=r.matches)&&(s=1),r.addListener?r.addListener(nx):r.addEventListener("change",nx));return s&&t(o,function(e){return o.add(null,e)}),this},t.revert=function(e){this.kill(e||{})}
vendor: 2,061 bytes, line 9
9,t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),nA={registerPlugin:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return tw(e)})},timeline:function(e){return new tY(e)},getTweensOf:function(e,t){return T.getTweensOf(e,t)},getProperty:function(e,t,n,r){U(e)&&(e=ta(e)[0]);var i=eA(e||{}).get,s=n?ej:eD;return"native"===n&&(n=""),e?t?s((e_[t]&&e_[t].get||i)(e,t,n,r)):function(t,n,r){return s((e_[t]&&e_[t].get||i)(e,t,n,r))}:e},quickSetter:function(e,t,n){if((e=ta(e)).length>1){var r=e.map(function(e){return nM.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var s=e_[t],o=eA(e),a=o.harness&&(o.harness.aliases||{})[t]||t,l=s?function(t){var r=new s;R._pt=0,r.init(e,n?t+n:t,R,0,[e]),r.render(1,r),R._pt&&nc(1,R)}:o.set(e,a);return s?l:function(t){return l(e,a,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=nM.to(e,eL(((r={})[t]="+=0.1",r.paused=!0,r),n||{})),s=function(e,n,r){return i.resetTo(t,e,n,r)};return s.tween=i,s},isTweening:function(e){return T.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=t$(e.ease,N.ease)),eB(N,e||{})},config:function(e){return eB(j,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,s=e.extendTimeline;(r||"").split(",").forEach(function(e){return e&&!e_[e]&&!eo[e]&&ec(t+" effect requires "+e+" plugin.")}),eb[t]=function(e,t,r){return n(ta(e),eN(t||{},i),r)},s&&(tY.prototype[t]=function(e,n,r){return this.add(eb[t](e,Y(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){tI[e]=t$(t)},parseEase:function(e,t){return arguments.length?t$(e,t):tI},getById:function(e){return T.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,r,i=new tY(e);for(i.smoothChildTiming=G(e.smoothChildTiming),T.remove(i),i._dp=0,i._time=i._tTime=T._time,n=T._first;n;)r=n._next,(t||!(!n._dur&&n instanceof nt&&n.vars.onComplete===n._targets[0]))&&e0(i,n,n._start-n._delay),n=r;return e0(T,i,0),i},context:function(e,t){return e?new nS(e,t):k}
9,matchMedia:function(e){return new nE(e)},matchMediaRefresh:function(){return ng.forEach(function(e){var t,n,r=e.conditions;for(n in r)r[n]&&(r[n]=!1,t=1);t&&e.revert()})||nx()},addEventListener:function(e,t){var n=nv[e]||(nv[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=nv[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:function e(t,n,r){var i=n-t;return J(t)?tf(t,e(0,t.length),n):tn(r,function(e){return(i+(e-t)%i)%i+t})},wrapYoyo:function e(t,n,r){var i=n-t,s=2*i;return J(t)?tf(t,e(0,t.length-1),n):tn(r,function(e){return e=(s+(e-t)%s)%s||0,t+(e>i?s-e:e)})},distribute:tc,random:tp,snap:th,normalize:function(e,t,n){return tg(e,t,0,1,n)},getUnit:ti,clamp:function(e,t,n){return tn(n,function(n){return tr(e,t,n)})},splitColor:tE,toArray:ta,selector:tl,mapRange:tg,pipe:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||ti(n))}},interpolate:function e(t,n,r,i){var s=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!s){var o,a,l,u,c,d=U(t),h={};if(!0===r&&(i=1)&&(r=null),d)t={p:t},n={p:n};else if(J(t)&&!J(n)){for(a=1,l=[],c=(u=t.length)-2;a<u;a++)l.push(e(t[a-1],t[a]));u--,s=function(e){var t=Math.min(c,~~(e*=u));return l[t](e-t)},r=n}else i||(t=eL(J(t)?[]:{},t));if(!l){for(o in n)t1.call(h,t,o,"get",n[o]);s=function(e){return nc(e,h)||(d?t.p:t)}}}return tn(r,s)},shuffle:tu},install:el,effects:eb,ticker:tP,updateRoot:tY.updateRoot,plugins:e_,globalTimeline:T,core:{PropTween:nm,globals:ed,Tween:nt,Timeline:tY,Animation:tq,getCache:eA,_removeLinkedListItem:eU,reverting:function(){return A},context:function(e){return e&&k&&(k.data.push(e),e._ctx=k),k},suppressOverwrites:function(e){return E=e}}};eT("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return nA[e]=nt[e]}),tP.add(tY.updateRoot),R=nA.to({},{duration:0});var nk=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},nT=function(e,t){var n,r,i,s=e._targets;for(n in t)for(r=s.length;r--;)(i=e._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=nk(i,n)),i&&i.modifier&&i.modifier(t[n],e,s[r],n))},nC=function(e,t){return{name:e,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(U(n)&&(r={},eT(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}nT(e,n)}}}},nM=nA.registerPlugin({name:"attr",init:function(e,t,n,r,i){var s,o,a;for(s in this.tween=n,t)a=e.getAttribute(s)||"",(o=this.add(e,"setAttribute",(a||0)+"",t[s],r,i,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(e,t){for(var n=t._pt;n;)A?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},nC("roundProps",td),nC("modifiers"),nC("snap",th))||nA;nt.version=tY.version=nM.version="3.12.5",O=1,X()&&tO(),tI.Power0,tI.Power1,tI.Power2,tI.Power3,tI.Power4,tI.Linear,tI.Quad,tI.Cubic,tI.Quart,tI.Quint,tI.Strong,tI.Elastic,tI.Back,tI.SteppedEase,tI.Bounce,tI.Sine,tI.Expo,tI.Circ;var nP,nO,nI,nR,nD,nj,nN,nL={},nB=180/Math.PI,nF=Math.PI/180,n$=Math.atan2,nz=/([A-Z])/g,nV=/(left|right|width|margin|padding|x)/i,nU=/[\s,\(]\S/,nH={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},nW=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},nq=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},nY=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},nG=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},nX=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},nK=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},nQ=function(e,t,n){return e.style[t]=n},nJ=function(e,t,n){return e.style.setProperty(t,n)},nZ=function(e,t,n){return e._gsap[t]=n},n0=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},n1=function(e,t,n,r,i){var s=e._gsap;s.scaleX=s.scaleY=n,s.renderTransform(i,s)},n2=function(e,t,n,r,i){var s=e._gsap;s[t]=n,s.renderTransform(i,s)},n3="transform",n5=n3+"Origin",n4=function e(t,n){var r=this,i=this.target,s=i.style,o=i._gsap;
9if(t in nL&&s){if(this.tfm=this.tfm||{},"transform"===t)return nH.transform.split(",").forEach(function(t){return e.call(r,t,n)});if(~(t=nH[t]||t).indexOf(",")?t.split(",").forEach(function(e){return r.tfm[e]=rp(i,e)}):this.tfm[t]=o.x?o[t]:rp(i,t),t===n5&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(n3)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(n5,n,"")),t=n3}(s||n)&&this.props.push(t,n,s[t])},n6=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},n8=function(){var e,t,n=this.props,r=this.target,i=r.style,s=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?r[n[e]]=n[e+2]:n[e+2]?i[n[e]]=n[e+2]:i.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(nz,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)s[t]=this.tfm[t];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=nj())&&e.isStart||i[n3]||(n6(i),s.zOrigin&&i[n5]&&(i[n5]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},n9=function(e,t){var n={target:e,props:[],revert:n8,save:n4};return e._gsap||nM.core.getCache(e),t&&t.split(",").forEach(function(e){return n.save(e)}),n},n7=function(e,t){var n=nP.createElementNS?nP.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):nP.createElement(e);return n&&n.style?n:nP.createElement(e)},re=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(nz,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&e(t,rn(n)||n,1)||""},rt="O,Moz,ms,Ms,Webkit".split(","),rn=function(e,t,n){var r=(t||nR).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(rt[i]+e in r););return i<0?null:(3===i?"ms":i>=0?rt[i]:"")+e},rr=function(){"undefined"!=typeof window&&window.document&&(nO=(nP=window.document).documentElement,nR=n7("div")||{style:{}},n7("div"),n5=(n3=rn(n3))+"Origin",nR.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",nN=!!rn("perspective"),nj=nM.core.reverting,nI=1)},ri=function e(t){var n,r=n7("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(nO.appendChild(r),r.appendChild(this),this.style.display="block",t)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(e){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),nO.removeChild(r),this.style.cssText=o,n},rs=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},ro=function(e){var t;try{t=e.getBBox()}catch(n){t=ri.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===ri||(t=ri.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+rs(e,["x","cx","x1"])||0,y:+rs(e,["y","cy","y1"])||0,width:0,height:0}},ra=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ro(e))},rl=function(e,t){if(t){var n,r=e.style;t in nL&&t!==n5&&(t=n3),r.removeProperty?(("ms"===(n=t.substr(0,2))||"webkit"===t.substr(0,6))&&(t="-"+t),r.removeProperty("--"===n?t:t.replace(nz,"-$1").toLowerCase())):r.removeAttribute(t)}},ru=function(e,t,n,r,i,s){var o=new nm(e._pt,t,n,0,1,s?nK:nX);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},rc={deg:1,rad:1,turn:1},rd={grid:1,flex:1},rh=function e(t,n,r,i){var s,o,a,l,u=parseFloat(r)||0,c=(r+"").trim().substr((u+"").length)||"px",d=nR.style,h=nV.test(n),p="svg"===t.tagName.toLowerCase(),f=(p?"client":"offset")+(h?"Width":"Height"),m="px"===i,g="%"===i;if(i===c||!u||rc[i]||rc[c])return u;if("px"===c||m||(u=e(t,n,r,"px")),l=t.getCTM&&ra(t),(g||"%"===c)&&(nL[n]||~n.indexOf("adius")))return s=l?t.getBBox()[h?"width":"height"]:t[f],eC(g?u/s*100:u/100*s);if(d[h?"width":"height"]=100+(m?c:i),o=~n.indexOf("adius")||"em"===i&&t.appendChild&&!p?t:t.parentNode,l&&(o=(t.ownerSVGElement||{}).parentNode),o&&o!==nP&&o.appendChild||(o=nP.body),(a=o._gsap)&&g&&a.width&&h&&a.time===tP.time&&!a.uncache)return eC(u/a.width*100);if(g&&("height"===n||"width"===n)){var v=t.style[n];t.style[n]=100+i,s=t[f],v?t.style[n]=v:rl(t,n)}else(g||"%"===c)&&!rd[re(o,"display")]&&(d.position=re(t,"position")),o===t&&(d.position="static"),o.appendChild(nR),s=nR[f],o.removeChild(nR),d.position="absolute";return h&&g&&((a=eA(o)).time=tP.time,a.width=o[f]),eC(m?s*u/100:s&&u?100/s*u:0)},rp=function(e,t,n,r){var i;return nI||rr(),t in nH&&"transform"!==t&&~(t=nH[t]).indexOf(",")&&(t=t.
9split(",")[0]),nL[t]&&"transform"!==t?(i=rA(e,r),i="transformOrigin"!==t?i[t]:i.svg?i.origin:rk(re(e,n5))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=ry[t]&&ry[t](e,t,n)||re(e,t)||ek(e,t)||("opacity"===t?1:0)),n&&!~(i+"").trim().indexOf(" ")?rh(e,t,i,n)+n:i},rf=function(e,t,n,r){if(!n||"none"===n){var i=rn(t,e,1),s=i&&re(e,i,1);s&&s!==n?(t=i,n=s):"borderColor"===t&&(n=re(e,"borderTopColor"))}var o,a,l,u,c,d,h,p,f,m,g,v=new nm(this._pt,e.style,t,0,1,nu),y=0,_=0;if(v.b=n,v.e=r,n+="","auto"==(r+="")&&(d=e.style[t],e.style[t]=r,r=re(e,t)||r,d?e.style[t]=d:rl(e,t)),tM(o=[n,r]),n=o[0],r=o[1],l=n.match(et)||[],(r.match(et)||[]).length){for(;a=et.exec(r);)h=a[0],f=r.substring(y,a.index),c?c=(c+1)%5:("rgba("===f.substr(-5)||"hsla("===f.substr(-5))&&(c=1),h!==(d=l[_++]||"")&&(u=parseFloat(d)||0,g=d.substr((u+"").length),"="===h.charAt(1)&&(h=eP(u,h)+g),p=parseFloat(h),m=h.substr((p+"").length),y=et.lastIndex-m.length,m||(m=m||j.units[t]||g,y!==r.length||(r+=m,v.e+=m)),g!==m&&(u=rh(e,t,d,m)||0),v._pt={_next:v._pt,p:f||1===_?f:",",s:u,c:p-u,m:c&&c<4||"zIndex"===t?Math.round:0});v.c=y<r.length?r.substring(y,r.length):""}else v.r="display"===t&&"none"===r?nK:nX;return er.test(r)&&(v.e=0),this._pt=v,v},rm={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},rg=function(e){var t=e.split(" "),n=t[0],r=t[1]||"50%";return("top"===n||"bottom"===n||"left"===r||"right"===r)&&(e=n,n=r,r=e),t[0]=rm[n]||n,t[1]=rm[r]||r,t.join(" ")},rv=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,r,i,s=t.t,o=s.style,a=t.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",r=1;else for(i=(a=a.split(",")).length;--i>-1;)nL[n=a[i]]&&(r=1,n="transformOrigin"===n?n5:n3),rl(s,n);r&&(rl(s,n3),l&&(l.svg&&s.removeAttribute("transform"),rA(s,1),l.uncache=1,n6(o)))}},ry={clearProps:function(e,t,n,r,i){if("isFromStart"!==i.data){var s=e._pt=new nm(e._pt,t,n,0,0,rv);return s.u=r,s.pr=-10,s.tween=i,e._props.push(n),1}}},r_=[1,0,0,1,0,0],rb={},rw=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},rx=function(e){var t=re(e,n3);return rw(t)?r_:t.substr(7).match(ee).map(eC)},rS=function(e,t){var n,r,i,s,o=e._gsap||eA(e),a=e.style,l=rx(e);return o.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?r_:l:(l!==r_||e.offsetParent||e===nO||o.svg||(i=a.display,a.display="block",(n=e.parentNode)&&e.offsetParent||(s=1,r=e.nextElementSibling,nO.appendChild(e)),l=rx(e),i?a.display=i:rl(e,"display"),s&&(r?n.insertBefore(e,r):n?n.appendChild(e):nO.removeChild(e))),t&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},rE=function(e,t,n,r,i,s){var o,a,l,u,c=e._gsap,d=i||rS(e,!0),h=c.xOrigin||0,p=c.yOrigin||0,f=c.xOffset||0,m=c.yOffset||0,g=d[0],v=d[1],y=d[2],_=d[3],b=d[4],w=d[5],x=t.split(" "),S=parseFloat(x[0])||0,E=parseFloat(x[1])||0;n?d!==r_&&(a=g*_-v*y)&&(l=_/a*S+-y/a*E+(y*w-_*b)/a,u=-v/a*S+g/a*E-(g*w-v*b)/a,S=l,E=u):(S=(o=ro(e)).x+(~x[0].indexOf("%")?S/100*o.width:S),E=o.y+(~(x[1]||x[0]).indexOf("%")?E/100*o.height:E)),r||!1!==r&&c.smooth?(b=S-h,w=E-p,c.xOffset=f+(b*g+w*y)-b,c.yOffset=m+(b*v+w*_)-w):c.xOffset=c.yOffset=0,c.xOrigin=S,c.yOrigin=E,c.smooth=!!r,c.origin=t,c.originIsAbsolute=!!n,e.style[n5]="0px 0px",s&&(ru(s,c,"xOrigin",h,S),ru(s,c,"yOrigin",p,E),ru(s,c,"xOffset",f,c.xOffset),ru(s,c,"yOffset",m,c.yOffset)),e.setAttribute("data-svg-origin",S+" "+E)},rA=function(e,t){var n=e._gsap||new tW(e);if("x"in n&&!t&&!n.uncache)return n;var r,i,s,o,a,l,u,c,d,h,p,f,m,g,v,y,_,b,w,x,S,E,A,k,T,C,M,P,O,I,R,D,N=e.style,L=n.scaleX<0,B=getComputedStyle(e),F=re(e,n5)||"0";return r=i=s=l=u=c=d=h=p=0,o=a=1,n.svg=!!(e.getCTM&&ra(e)),B.translate&&(("none"!==B.translate||"none"!==B.scale||"none"!==B.rotate)&&(N[n3]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[n3]?B[n3]:"")),N.scale=N.rotate=N.translate="none"),g=rS(e,n.svg),n.svg&&(n.uncache?(T=e.getBBox(),F=n.xOrigin-T.x+"px "+(n.yOrigin-T.y)+"px",k=""):k=!t&&e.getAttribute("data-svg-origin"),rE(e,k||F,!!k||n.originIsAbsolute,!1!==n.smooth,g)),f=n.xOrigin||0,m=n.yOrigin||0,g!==r_&&(b=g[0],w=g[1],x=g[2],S=g[3],r=E=g[4],i=A=g[5],6===g.length?(o=Math.sqrt(b*b+w*w),a=Math.sqrt(S*S+x*x),l=b||w?n$(w,b)*nB:0,(d=x||S?n$(x,S)*nB+l:0)&&(a*=Math.abs(Math.cos(d*nF))),n.svg&&(r-=f-(f*b+m*x),i-=m-(f*w+m*S))):(D=g[6],I=g[7],M=g[8],P=g[9],O=g[10],R=g[11],r=g[12],i=g[13],s=g[14],u=(v=n$(D,O))*nB,v&&(k=E*(y=Math.cos(-v))+M*(_=Math.sin(-v)),T=A*y+P*_,C=D*y+O*_,M=-(E*_)+M*y,P=-(A*_)+P*y,O=-(D*_)+O*y,R=-(I*_)+R*y,E=k,A=T,D=C),c=(v=n$(-x,O))*nB,v&&(k=b*(y=Math.cos(-v))-M*(_=Math.sin(-v)),T=w*y-P*_,C=x*y-O*_,R=S*_+R*y,b=k,w=T,x=C),l=(v=n$(w,b))*nB,v&&(k=b*(y=Math.cos(v))+w*(_=Math.sin(v)),T=E*y+A*_,w=w*y-b*_,A=A*y-E*_,b=k,E=T),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,c=180-c),o=eC(Math.sqrt(b*b+w*w+x*x)),a=eC(Math.sqrt(A*A+D*D)),d=Math.abs(v=n$(E,A))>2e-4?v*nB:0,p=R?1/(R<0?-R:R):0),n.svg&&(k=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!rw(re(e,n3)),k&&e.setAttribute("transform",k))),Math.abs(d)>90&&270>Math.abs(d)&&(L?(o*=-1,d+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,d+=d<=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+"px",n.y=i-((n.yPercent=i&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+"px",n.z=s+"px",n.scaleX=eC(o),n.scaleY=eC(a),n.rotation=eC(l)+"deg",n.rotationX=eC(u)+"deg",n.rotationY=eC(c)+"deg",n.skewX=d+"deg",n.skewY=h+"deg",n.transformPerspective=p+"px",(n.zOrigin=parseFloat(F.split(" ")[2])||!t&&n.zOrigin||0)&&(N[n5]=rk(F)),n.xOffset=n.yOffset=0,n.force3D=j.force3D,n.renderTransform=n.svg?rO:nN?rP:rC,n.uncache=0,n},rk=function(e){return(e=e.split(" "))[0]+" "+e[1]},rT=function(e,t,n){var r=ti(t);return eC(parseFloat(t)+parseFloat(rh(e,"x",n+"px",r)))+r},rC=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,rP(e,t)},rM="0deg",rP=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,s=n.x,o=n.y,a=n.z,l=n.rotation,u=n.rotationY,c=n.rotationX,d=n.skewX,h=n.skewY,p=n.scaleX,f=n.scaleY,m=n.transformPerspective,g=n.force3D,v=n.target,y=n.zOrigin,_="",b="auto"===g&&e&&1!==e||!0===g;if(y&&(c!==rM||u!==rM)){var w,x=parseFloat(u)*nF,S=Math.sin(x),E=Math.cos(x);s=rT(v,s,-(S*(w=Math.cos(x=parseFloat(c)*nF))*y)),o=rT(v,o,-(-Math.sin(x)*y)),a=rT(v,a,-(E*w*y)+y)}"0px"!==m&&(_+="perspective("+m+") "),(r||i)&&(_+="translate("+r+"%, "+i+"%) "),(b||"0px"!==s||"0px"!==o||"0px"!==a)&&(_+="0px"!==a||b?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+") "),l!==rM&&(_+="rotate("+l+") "),u!==rM&&(_+="rotateY("+u+") "),c!==rM&&(_+="rotateX("+c+") "),(d!==rM||h!==rM)&&(_+="skew("+d+", "+h+") "),(1!==p||1!==f)&&(_+="scale("+p+", "+f+") "),v.style[n3]=_||"translate(0, 0)"},rO=function(e,t){var n,r,i,s,o,a=t||this,l=a.xPercent,u=a.yPercent,c=a.x,d=a.y,h=a.rotation,p=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,y=a.xOrigin,_=a.yOrigin,b=a.xOffset,w=a.yOffset,x=a.forceCSS,S=parseFloat(c),E=parseFloat(d);h=parseFloat(h),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),h+=f),h||p?(h*=nF,p*=nF,n=Math.cos(h)*m,r=Math.sin(h)*m,i=-(Math.sin(h-p)*g),s=Math.cos(h-p)*g,p&&(f*=nF,i*=o=Math.sqrt(1+(o=Math.tan(p-f))*o),s*=o,f&&(n*=o=Math.sqrt(1+(o=Math.tan(f))*o),r*=o)),n=eC(n),r=eC(r),i=eC(i),s=eC(s)):(n=m,s=g,r=i=0),(S&&!~(c+"").indexOf("px")||E&&!~(d+"").indexOf("px"))&&(S=rh(v,"x",c,"px"),E=rh(v,"y",d,"px")),(y||_||b||w)&&(S=eC(S+y-(y*n+_*i)+b),E=eC(E+_-(y*r+_*s)+w)),(l||u)&&(S=eC(S+l/100*(o=v.getBBox()).width),E=eC(E+u/100*o.height)),o="matrix("+n+","+r+","+i+","+s+","+S+","+E+")",v.setAttribute("transform",o),x&&(v.style[n3]=o)},rI=function(e,t,n,r,i){var s,o,a=U(i),l=parseFloat(i)*(a&&~i.indexOf("rad")?nB:1)-r,u=r+l+"deg";return a&&("short"===(s=i.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===s&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===s&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),e._pt=o=new nm(e._pt,t,n,r,l,nq),o.e=u,o.u="deg",e._props.push(n),o},rR=function(e,t){for(var n in t)e[n]=t[n];return e},rD=function(e,t,n){var r,i,s,o,a,l,u,c=rR({},n._gsap),d=n.style;for(i in c.svg?(s=n.getAttribute("transform"),n.setAttribute("transform",""),d[n3]=t,r=rA(n,1),rl(n,n3),n.setAttribute("transform",s)):(s=getComputedStyle(n)[n3],d[n3]=t,r=rA(n,1),d[n3]=s),nL)(s=c[i])!==(o=r[i])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)&&(a=ti(s)!==(u=ti(o))?rh(n,i,s,u):parseFloat(s),l=parseFloat(o),e._pt=new nm(e._pt,r,i,a,l-a,nW),e._pt.u=u||0,e._props.push(i));rR(r,c)};eT("padding,margin,Width,Radius",function(e,t){var n="Right",r="Bottom",i="Left",s=(t<3?["Top",n,r,i]:["Top"+i,"Top"+n,r+n,r+i]).map(function(n){return t<2?e+n:"border"+n+e});ry[t>1?"border"+e:e]=function(e,t,n,r,i){var o,a;if(arguments.length<4)return 5===(a=(o=s.map(function(t){return rp(e,t,n)})).join(" ")).split(o[0]).length?o[0]:a;o=(r+"").split(" "),a={}
9,s.forEach(function(e,t){return a[e]=o[t]=o[t]||o[(t-1)/2|0]}),e.init(t,a,i)}});var rj={name:"css",register:rr,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var s,o,a,l,u,c,d,h,p,f,m,g,v,y,_,b,w=this._props,x=e.style,S=n.vars.startAt;for(d in nI||rr(),this.styles=this.styles||n9(e),b=this.styles.props,this.tween=n,t)if("autoRound"!==d&&(o=t[d],!(e_[d]&&t3(d,t,n,r,e,i)))){if(u=typeof o,c=ry[d],"function"===u&&(u=typeof(o=o.call(n,r,e,i))),"string"===u&&~o.indexOf("random(")&&(o=tm(o)),c)c(this,e,d,o,n)&&(_=1);else if("--"===d.substr(0,2))s=(getComputedStyle(e).getPropertyValue(d)+"").trim(),o+="",tT.lastIndex=0,tT.test(s)||(h=ti(s),p=ti(o)),p?h!==p&&(s=rh(e,d,s,p)+p):h&&(o+=h),this.add(x,"setProperty",s,o,r,i,0,0,d),w.push(d),b.push(d,0,x[d]);else if("undefined"!==u){if(S&&d in S?(U(s="function"==typeof S[d]?S[d].call(n,r,e,i):S[d])&&~s.indexOf("random(")&&(s=tm(s)),ti(s+"")||"auto"===s||(s+=j.units[d]||ti(rp(e,d))||""),"="===(s+"").charAt(1)&&(s=rp(e,d))):s=rp(e,d),l=parseFloat(s),(f="string"===u&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),d in nH&&("autoAlpha"===d&&(1===l&&"hidden"===rp(e,"visibility")&&a&&(l=0),b.push("visibility",0,x.visibility),ru(this,x,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==d&&"transform"!==d&&~(d=nH[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in nL){if(this.styles.save(d),g||((v=e._gsap).renderTransform&&!t.parseTransform||rA(e,t.parseTransform),y=!1!==t.smoothOrigin&&v.smooth,(g=this._pt=new nm(this._pt,x,n3,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new nm(this._pt,v,"scaleY",v.scaleY,(f?eP(v.scaleY,f+a):a)-v.scaleY||0,nW),this._pt.u=0,w.push("scaleY",d),d+="X";else if("transformOrigin"===d){b.push(n5,0,x[n5]),o=rg(o),v.svg?rE(e,o,0,y,0,this):((p=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&ru(this,v,"zOrigin",v.zOrigin,p),ru(this,x,d,rk(s),rk(o)));continue}else if("svgOrigin"===d){rE(e,o,1,y,0,this);continue}else if(d in rb){rI(this,v,d,l,f?eP(l,f+o):o);continue}else if("smoothOrigin"===d){ru(this,v,"smooth",v.smooth,o);continue}else if("force3D"===d){v[d]=o;continue}else if("transform"===d){rD(this,o,e);continue}}else d in x||(d=rn(d)||d);if(m||(a||0===a)&&(l||0===l)&&!nU.test(o)&&d in x)h=(s+"").substr((l+"").length),a||(a=0),p=ti(o)||(d in j.units?j.units[d]:h),h!==p&&(l=rh(e,d,s,p)),this._pt=new nm(this._pt,m?v:x,d,l,(f?eP(l,f+a):a)-l,m||"px"!==p&&"zIndex"!==d||!1===t.autoRound?nW:nG),this._pt.u=p||0,h!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=nY);else if(d in x)rf.call(this,e,d,s,f?f+o:o);else if(d in e)this.add(e,d,s||e[d],f?f+o:o,r,i);else if("parseTransform"!==d){eu(d,o);continue}m||(d in x?b.push(d,0,x[d]):b.push(d,1,s||e[d])),w.push(d)}}_&&nf(this)},render:function(e,t){if(t.tween._time||!nj())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:rp,aliases:nH,getSetter:function(e,t,n){var r=nH[t];return r&&0>r.indexOf(",")&&(t=r),t in nL&&t!==n5&&(e._gsap.x||rp(e,"x"))?n&&nD===n?"scale"===t?n0:nZ:(nD=n||{},"scale"===t?n1:n2):e.style&&!q(e.style[t])?nQ:~t.indexOf("-")?nJ:no(e,t)},core:{_removeProperty:rl,_getMatrix:rS}};nM.utils.checkPrefix=rn,nM.core.getStyleSaver=n9,a="0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",l=eT((s="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(o="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){nL[e]=1}),eT(o,function(e){j.units[e]="deg",rb[e]=1}),nH[l[13]]=s+","+o,eT(a,function(e){var t=e.split(":");nH[t[1]]=l[t[0]]}),eT("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){j.units[e]="px"}),nM.registerPlugin(rj);var rN=nM.registerPlugin(rj)||nM;rN.core.Tween},23837:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(30944)}])},86383:function(e,t,n){"use strict";let r,i,s,o,a,l,u,c,d,h,p,f,m,g,v,y,_,b,w,x,S,E,A;function k(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],s=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=s(n)):("call"===i||"optionalCall"===i)&&(n=s((...e)=>n.call(t,...e)),t=void 0)}return n}let T="8.42.0",C=globalThis;function M(e,t,n){let r=n||C,i=r.__SENTRY__=r.__SENTRY__||{},s=i[T]=i[T]||{};return s[e]||(s[e]=t())}function P(e,t,n=[t],r="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:T})),version:T}),e._metadata=i}let O="production";function I(){return R(C),C}function R(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||T,t[T]=t[T]||{}}let D=Object.prototype.toString;function j(e){switch(D.call(e)){case"[object Error]":case"[object E
9xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return W(e,Error)}}function N(e,t){return D.call(e)===`[object ${t}]`}function L(e){return N(e,"ErrorEvent")}function B(e){return N(e,"DOMError")}function F(e){return N(e,"String")}function $(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function z(e){return null===e||$(e)||"object"!=typeof e&&"function"!=typeof e}function V(e){return N(e,"Object")}function U(e){return"undefined"!=typeof Event&&W(e,Event)}function H(e){return!!(e&&e.then&&"function"==typeof e.then)}function W(e,t){try{return e instanceof t}catch(e){return!1}}function q(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}function Y(e,t={}){if(!e)return"<unknown>";try{let n,r=e,i=[],s=0,o=0,a=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&s++<5&&(n=function(e,t){let n=[];if(!e||!e.tagName)return"";if(C.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}n.push(e.tagName.toLowerCase());let r=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(r&&r.length)r.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&n.push(`#${e.id}`);let t=e.className;if(t&&F(t))for(let e of t.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=e.getAttribute(t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(r,a),"html"!==n&&(!(s>1)||!(o+3*i.length+n.length>=l)));)i.push(n),o+=n.length,r=r.parentNode;return i.reverse().join(" > ")}catch(e){return"<unknown>"}}function G(){try{return C.document.location.href}catch(e){return""}}function X(e){if(!C.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}let K="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Q=["debug","info","warn","error","log","assert","trace"],J={};function Z(e){if(!("console"in C))return e();let t=C.console,n={},r=Object.keys(J);r.forEach(e=>{let r=J[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}let ee=M("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return K?Q.forEach(n=>{t[n]=(...t)=>{e&&Z(()=>{C.console[n](`Sentry Logger [${n}]:`,...t)})}}):Q.forEach(e=>{t[e]=()=>void 0}),t});function et(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function en(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let r=e[t];try{q(r)?n.push("[VueViewModel]"):n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function er(e,t=[],n=!1){return t.some(t=>(function(e,t,n=!1){return!!F(e)&&(N(t,"RegExp")?t.test(e):!!F(t)&&(n?e===t:e.includes(t)))})(e,t,n))}function ei(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);"function"==typeof i&&eo(i,r);try{e[t]=i}catch(n){K&&ee.log(`Failed to replace method "${t}" in object`,e)}}
9function es(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){K&&ee.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function eo(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,es(e,"__sentry_original__",t)}catch(e){}}function ea(e){return e.__sentry_original__}function el(e){if(j(e))return{message:e.message,name:e.name,stack:e.stack,...ec(e)};if(!U(e))return e;{let t={type:e.type,target:eu(e.target),currentTarget:eu(e.currentTarget),...ec(e)};return"undefined"!=typeof CustomEvent&&W(e,CustomEvent)&&(t.detail=e.detail),t}}function eu(e){try{return"undefined"!=typeof Element&&W(e,Element)?Y(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function ec(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function ed(e){return function e(t,n){if(function(e){if(!V(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(t)){let r=n.get(t);if(void 0!==r)return r;let i={};for(let r of(n.set(t,i),Object.getOwnPropertyNames(t)))void 0!==t[r]&&(i[r]=e(t[r],n));return i}if(Array.isArray(t)){let r=n.get(t);if(void 0!==r)return r;let i=[];return n.set(t,i),t.forEach(t=>{i.push(e(t,n))}),i}return t}(e,new Map)}function eh(){return Date.now()/1e3}let ep=function(){let{performance:e}=C;if(!e||!e.now)return eh;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}(),ef=(()=>{let{performance:e}=C;if(!e||!e.now)return;let t=e.now(),n=Date.now(),r=e.timeOrigin?Math.abs(e.timeOrigin+t-n):36e5,i=e.timing&&e.timing.navigationStart,s="number"==typeof i?Math.abs(i+t-n):36e5;return r<36e5||s<36e5?r<=s?e.timeOrigin:i:n})();function em(){let e=C.crypto||C.msCrypto,t=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function eg(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function ev(e){let{message:t,event_id:n}=e;if(t)return t;let r=eg(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function ey(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=t||""),s.type||(s.type=n||"Error")}function e_(e,t){let n=eg(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r&&r.data,...t.data};n.mechanism.data=e}}function eb(e){if(function(e){try{return e.__sentry_captured__}catch(e){}}(e))return!0;try{es(e,"__sentry_captured__",!0)}catch(e){}return!1}function ew(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ep(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:em()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ex(){return em().substring(16)}function eS(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&t&&0===Object.keys(t).length)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=eS(r[e],t[e],n-1));return r}let eE="_sentrySpan";function eA(e,t){t?es(e,eE,t):delete e[eE]}class ek{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:em(),spanId:ex()}}clone(){let e=new ek;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,eA(e,this[eE]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ew(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,[n,r]=t instanceof eT?[t.getScopeData(),t.getRequestSession()]:V(t)?[e,e.requestSession]:[],{tags:i,extra:s,user:o,contexts:a,level:l,fingerprint:u=[],propagationContext:c}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...s},this._contexts={...this._contexts,...a},o&&Object.keys(o).length&&(this._user=o),l&&(this._level=l),u.length&&(this._fingerprint=u),c&&(this._propagationContext=c),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,eA(this,void 0),this._attachments=[],this.setPropagationContext({traceId:em()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:eh(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[eE]}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=eS(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext={spanId:ex(),...e},this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:em();if(!this._client)return ee.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:em();if(!this._client)return ee.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:em();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):ee.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
9h(e=>{e(this)}),this._notifyingListeners=!1)}}let eT=ek;class eC{constructor(e,t){let n,r;n=e||new eT,r=t||new eT,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t;let n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return H(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function eM(){let e=R(I());return e.stack=e.stack||new eC(M("defaultCurrentScope",()=>new eT),M("defaultIsolationScope",()=>new eT))}function eP(e){return eM().withScope(e)}function eO(e,t){let n=eM();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function eI(e){return eM().withScope(()=>e(eM().getIsolationScope()))}function eR(e){let t=R(e);return t.acs?t.acs:{withIsolationScope:eI,withScope:eP,withSetScope:eO,withSetIsolationScope:(e,t)=>eI(t),getCurrentScope:()=>eM().getScope(),getIsolationScope:()=>eM().getIsolationScope()}}function eD(){return eR(I()).getCurrentScope()}function ej(){return eR(I()).getIsolationScope()}function eN(...e){let t=eR(I());if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function eL(){return eD().getClient()}let eB="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function eF(e){return new ez(t=>{t(e)})}function e$(e){return new ez((t,n)=>{n(e)})}(rp=rf||(rf={}))[rp.PENDING=0]="PENDING",rp[rp.RESOLVED=1]="RESOLVED",rp[rp.REJECTED=2]="REJECTED";class ez{constructor(e){ez.prototype.__init.call(this),ez.prototype.__init2.call(this),ez.prototype.__init3.call(this),ez.prototype.__init4.call(this),this._state=rf.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new ez((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new ez((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{if(i){n(r);return}t(r)})})}__init(){this._resolve=e=>{this._setResult(rf.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(rf.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===rf.PENDING){if(H(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===rf.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===rf.RESOLVED&&e[1](this._value),this._state===rf.REJECTED&&e[2](this._value),e[0]=!0)})}}}let eV=/\(error: (.*)\)/,eU=/captureMessage|captureException/;function eH(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],s=e.split("\n");for(let e=n;e<s.length;e++){let n=s[e];if(n.length>1024)continue;let o=eV.test(n)?n.replace(eV,"$1"):n;if(!o.match(/\S*Error: /)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=50+r)break}}return function(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(eW(t).function||"")&&t.pop(),t.reverse(),eU.test(eW(t).function||"")&&(t.pop(),eU.test(eW(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||eW(t).filename,function:e.function||"?"}))}(i.slice(r))}}function eW(e){return e[e.length-1]||{}}let eq="<anonymous>";function eY(e){try{if(!e||"function"!=typeof e)return eq;return e.name||eq}catch(e){return eq}}function eG(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){}}}function eX(e,t=100,n=Infinity){try{return function e(t,n,r=Infinity,i=Infinity,s=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){let[o,a]=s;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let l=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(q(t))return"[VueViewModel]";if(V(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${eY(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let n=function(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(t,n);if(!l.startsWith("[object "))return l;if(n.__sentry_skip_normalization__)return n;let u="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:r;if(0===u)return l.replace("object ","");if(o(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,u-1,i,s)}catch(e){}let c=Array.isArray(n)?[]:{},d=0,h=el(n);for(let t in h){if(!Object.prototype.hasOwnProperty.call(h,t))continue;if(d>=i){c[t]="[MaxProperties ~]";break}let n=h[t];c[t]=e(t,n,u-1,i,s),d++}return a(n),c}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}let eK="sentry.source",eQ="sentry.sample_rate",eJ="sentry.op",eZ="sentry.origin",e0="sentry.idle_span_finish_reason",e1="sentry.measurement_unit",e2="sentry.measurement_value",e3="sentry.exclusive_time",e5="sentry-",e4=/^sentry-/;function e6(e){let t=e8(e);
9if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.match(e4)&&(e[t.slice(e5.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}function e8(e){return e&&(F(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>(Object.entries(e9(t)).forEach(([t,n])=>{e[t]=n}),e),{}):e9(e):void 0}function e9(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function e7(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=eL(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function te(e){let t=e._sentryMetrics;if(!t)return;let n={};for(let[,[e,r]]of t)(n[e]||(n[e]=[])).push(ed(r));return n}function tt(e,t){e.setAttribute("http.response.status_code",t);let n=function(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"};default:return{code:2,message:"internal_error"}}return{code:2,message:"unknown_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}let tn=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function tr(e=em(),t=em().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}let ti=!1;function ts(e){return"number"==typeof e?to(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?to(e.getTime()):ep()}function to(e){return e>9999999999?e/1e3:e}function ta(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();try{let{spanId:t,traceId:n}=e.spanContext();if(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:r,startTime:i,name:s,endTime:o,parentSpanId:a,status:l}=e;return ed({span_id:t,trace_id:n,data:r,description:s,parent_span_id:a,start_timestamp:ts(i),timestamp:ts(o)||void 0,status:tu(l),op:r[eJ],origin:r[eZ],_metrics_summary:te(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function tl(e){let{traceFlags:t}=e.spanContext();return 1===t}function tu(e){return e&&0!==e.code?1===e.code?"ok":e.message||"unknown_error":void 0}let tc="_sentryChildSpans",td="_sentryRootSpan";function th(e,t){let n=e[td]||e;es(t,td,n),e[tc]?e[tc].add(t):es(e,tc,new Set([t]))}function tp(e){let t=new Set;return function e(n){if(!t.has(n)&&tl(n))for(let r of(t.add(n),n[tc]?Array.from(n[tc]):[]))e(r)}(e),Array.from(t)}function tf(e){return e[td]||e}function tm(){let e=eR(I());return e.getActiveSpan?e.getActiveSpan():eD()[eE]}function tg(){ti||(Z(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),ti=!0)}let tv="_frozenDsc";function ty(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=ed({environment:n.environment||O,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}function t_(e,t){let n=t.getPropagationContext();return n.dsc||ty(n.traceId,e)}function tb(e){let t=eL();if(!t)return{};let n=tf(e),r=n[tv];if(r)return r;let i=n.spanContext().traceState,s=i&&i.get("sentry.dsc"),o=s&&e6(s);if(o)return o;let a=ty(e.spanContext().traceId,t),l=ta(n),u=l.data||{},c=u[eQ];null!=c&&(a.sample_rate=`${c}`);let d=u[eK],h=l.description;return"url"!==d&&h&&(a.transaction=h),e7()&&(a.sampled=String(tl(n))),t.emit("createDsc",a,n),a}function tw(e,t){let{extra:n,tags:r,user:i,contexts:s,level:o,sdkProcessingMetadata:a,breadcrumbs:l,fingerprint:u,eventProcessors:c,attachments:d,propagationContext:h,transactionName:p,span:f}=t;tx(e,"extra",n),tx(e,"tags",r),tx(e,"user",i),tx(e,"contexts",s),e.sdkProcessingMetadata=eS(e.sdkProcessingMetadata,a,2),o&&(e.level=o),p&&(e.transactionName=p),f&&(e.span=f),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),c.length&&(e.eventProcessors=[...e.eventProcessors,...c]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...h}}function tx(e,t,n){e[t]=eS(e[t],n,1)}function tS(e,t,n,o,a,l){let{normalizeDepth:u=3,normalizeMaxBreadth:c=1e3}=e,d={...t,event_id:t.event_id||n.event_id||em(),timestamp:t.timestamp||eh()},h=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:s=250}=t;e.environment=e.environment||n||O,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i),e.message&&(e.message=et(e.message,s));let o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=et(o.value,s));let a=e.request;a&&a.url&&(a.url=et(a.url,s))})(d,e),h.length>0&&(d.sdk=d.sdk||{},d.sdk.integrations=[...d.sdk.integrations||[],...h]),a&&a.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n=function(e){let t=C._sentryDebugIds;if(!t)return{};let n=Object.keys(t);return s&&n.length===i?s:(i=n.length,s=n.reduce((n,i)=>{r||(r={});let s=r[i];if(s)n[s[0]]=s[1];else{let s=e(i);for(let e=s.length-1;e>=0;e--){let o=s[e],a=o&&o.filename,l=t[i];if(a&&l){n[a]=l,r[i]=[a,l];break}}}return n},{}))}(t);
9try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{n&&e.filename&&(e.debug_id=n[e.filename])})})}catch(e){}}(d,e.stackParser);let p=function(e,t){if(!t)return e;let n=e?e.clone():new eT;return n.update(t),n}(o,n.captureContext);n.mechanism&&e_(d,n.mechanism);let f=a?a.getEventProcessors():[],m=M("globalScope",()=>new eT).getScopeData();l&&tw(m,l.getScopeData()),p&&tw(m,p.getScopeData());let g=[...n.attachments||[],...m.attachments];return g.length&&(n.attachments=g),function(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:s}=t;(function(e,t){let{extra:n,tags:r,user:i,contexts:s,level:o,transactionName:a}=t,l=ed(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});let u=ed(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let c=ed(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});let d=ed(s);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),o&&(e.level=o),a&&"transaction"!==e.type&&(e.transaction=a)})(e,t),r&&function(e,t){e.contexts={trace:function(e){let{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:r}=ta(e);return ed({parent_span_id:r,span_id:t,trace_id:n})}(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:tb(t),...e.sdkProcessingMetadata};let n=ta(tf(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],n&&(e.fingerprint=e.fingerprint.concat(n)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint,function(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...s}}(d,m),(function e(t,n,r,i=0){return new ez((s,o)=>{let a=t[i];if(null===n||"function"!=typeof a)s(n);else{let l=a({...n},r);eB&&a.id&&null===l&&ee.log(`Event processor "${a.id}" dropped event`),H(l)?l.then(n=>e(t,n,r,i+1).then(s)).then(null,o):e(t,l,r,i+1).then(s).then(null,o)}})})([...f,...m.eventProcessors],d,n).then(e=>(e&&function(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof u&&u>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:eX(e.data,t,n)}}))},...e.user&&{user:eX(e.user,t,n)},...e.contexts&&{contexts:eX(e.contexts,t,n)},...e.extra&&{extra:eX(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=eX(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:eX(e.data,t,n)}}))),r}(e,u,c):e)}let tE=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function tA(e,t){return eD().captureException(e,t?t instanceof eT||"function"==typeof t||Object.keys(t).some(e=>tE.includes(e))?{captureContext:t}:t:void 0)}function tk(e,t){return eD().captureEvent(e,t)}function tT(e,t){ej().setContext(e,t)}function tC(e){ej().addEventProcessor(e)}function tM(e){let t=eL(),n=ej(),r=eD(),{release:i,environment:s=O}=t&&t.getOptions()||{},{userAgent:o}=C.navigator||{},a=function(e){let t=ep(),n={sid:em(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>ed({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return e&&ew(n,e),n}({release:i,environment:s,user:r.getUser()||n.getUser(),...o&&{userAgent:o},...e}),l=n.getSession();return l&&"ok"===l.status&&ew(l,{status:"exited"}),tP(),n.setSession(a),r.setSession(a),a}function tP(){let e=ej(),t=eD(),n=t.getSession()||e.getSession();if(n){let e;e={},"ok"===n.status&&(e={status:"exited"}),ew(n,e)}tO(),e.setSession(),t.setSession()}function tO(){let e=ej(),t=eD(),n=eL(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function tI(e=!1){if(e){tP();return}tO()}let tR={},tD={};function tj(e,t){tR[e]=tR[e]||[],tR[e].push(t)}function tN(e,t){if(!tD[e]){tD[e]=!0;try{t()}catch(t){K&&ee.error(`Error while instrumenting ${e}`,t)}}}function tL(e,t){let n=e&&tR[e];if(n)for(let r of n)try{r(t)}catch(t){K&&ee.error(`Error while triggering instrumentation handler. 10Type: ${e} 11Name: ${eY(r)} 12Error:`,t)}}function tB(e){let t="history";tj(t,e),tN(t,tF)}function tF(){if(!function(){let e=C.chrome,t=e&&e.app&&e.app.runtime,n="history"in C&&!!C.history.pushState&&!!C.history.replaceState;return!t&&n}())return;let e=C.onpopstate;function t(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=o,t=String(n);o=t,tL("history",{from:e,to:t})}return e.apply(this,t)}}C.onpopstate=function(...t){let n=C.location.href,r=o;if(o=n,tL("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},ei(C.history,"pushState",t),ei(C.history,"replaceState",t)}let t$=[];function tz(e,t){for(let n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}
12function tV(e,t,n){if(n[t.name]){eB&&ee.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===t$.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),t$.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}eB&&ee.log(`Integration installed: ${t.name}`)}let tU=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],tH=(e={})=>({name:"InboundFilters",processEvent:(t,n,r)=>{var i,s;return((i=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:tU],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,r.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(t)?(eB&&ee.warn(`Event dropped due to being internal Sentry Error. 13Event: ${ev(t)}`),0):(s=i.ignoreErrors,!t.type&&s&&s.length&&(function(e){let t;let n=[];e.message&&n.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(n.push(t.value),t.type&&n.push(`${t.type}: ${t.value}`)),n})(t).some(e=>er(e,s)))?(eB&&ee.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 14Event: ${ev(t)}`),0):t.type||!t.exception||!t.exception.values||0===t.exception.values.length||t.message||t.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)?!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let n=e.transaction;return!!n&&er(n,t)}(t,i.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let n=tW(e);return!!n&&er(n,t)}(t,i.denyUrls)?function(e,t){if(!t||!t.length)return!0;let n=tW(e);return!n||er(n,t)}(t,i.allowUrls)||(eB&&ee.warn(`Event dropped due to not being matched by \`allowUrls\` option. 15Event: ${ev(t)}. 16Url: ${tW(t)}`),0):(eB&&ee.warn(`Event dropped due to being matched by \`denyUrls\` option. 17Event: ${ev(t)}. 18Url: ${tW(t)}`),0):(eB&&ee.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 19Event: ${ev(t)}`),0):(eB&&ee.warn(`Event dropped due to not having an error message, error type or stacktrace. 20Event: ${ev(t)}`),0))?t:null}});function tW(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return eB&&ee.error(`Cannot extract url for event ${ev(e)}`),null}}let tq=new WeakMap,tY=()=>({name:"FunctionToString",setupOnce(){a=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=ea(this),n=tq.has(eL())&&void 0!==t?t:this;return a.apply(n,e)}}catch(e){}},setup(e){tq.set(e,!0)}}),tG=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n;if((n=e)&&(function(e,t){let n=e.message,r=t.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&tK(e,t)&&tX(e,t))}(t,n)||function(e,t){let n=tQ(t),r=tQ(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&tK(e,t)&&tX(e,t))}(t,n)))return eB&&ee.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function tX(e,t){let n=eG(e),r=eG(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function tK(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;
20if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function tQ(e){return e.exception&&e.exception.values&&e.exception.values[0]}function tJ(){if(!("fetch"in C))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function tZ(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}let t0=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function t1(e,t=!1){let{host:n,path:r,pass:i,port:s,projectId:o,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${o}`}function t2(e){let t=t0.exec(e);if(!t){Z(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i="",s="",o="",a=""]=t.slice(1),l="",u=a,c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return t3({host:s,pass:i,path:l,projectId:u,port:o,protocol:n,publicKey:r})}function t3(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function t5(e,t=[]){return[e,t]}function t4(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function t6(e){return C.__SENTRY__&&C.__SENTRY__.encodePolyfill?C.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}let t8={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function t9(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function t7(e,t,n,r){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:t1(r)},...i&&{trace:ed({...i})}}}class ne extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}function nt(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if("number"!=typeof t||isNaN(t)||t<0||t>1){eB&&ee.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}let nn="Not capturing exception because it's already been captured.";class nr{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){let t="string"==typeof e?t2(e):t3(e);if(t&&function(e){if(!K)return!0;let{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(ee.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"===r||"https"===r?!(t&&isNaN(parseInt(t,10)))||(ee.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(ee.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(ee.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}(e.dsn):eB&&ee.warn("No DSN provided, client will not send events."),this._dsn){var t,n,r;let i=(t=this._dsn,n=e.tunnel,r=e._metadata?e._metadata.sdk:void 0,n||`${function(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(t)}${t.projectId}/envelope/?${function(e,t){let n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(t,r)}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:i})}let i=["enableTracing","tracesSampleRate","tracesSampler"].find(t=>t in e&&void 0==e[t]);i&&Z(()=>{console.warn(`[Sentry] Deprecation warning: \`${i}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(e,t,n){let r=em();if(eb(e))return eB&&ee.log(nn),r;let i={event_id:r,...t};return this._process(this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n))),i.event_id}captureMessage(e,t,n,r){let i={event_id:em(),...n},s=$(e)?e:String(e),o=z(e)?this.eventFromMessage(s,t,i):this.eventFromException(e,i);return this._process(o.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,n){let r=em();if(t&&t.originalException&&eb(t.originalException))return eB&&ee.log(nn),r;let i={event_id:r,...t},s=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,s||n)),i.event_id}captureSession(e){"string"!=typeof e.release?eB&&ee.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),ew(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
20return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):eF(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];tV(this,e,this._integrations),t||tz(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){var i;let s=t9(n),o=e.type&&"replay_event"!==e.type?e.type:"event";(i=n&&n.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let a=t7(e,s,r,t);return delete e.sdkProcessingMetadata,t5(a,[[{type:o},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=function(e,t){let[n,r]=e;return[n,[...r,t]]}(n,function(e){let t="string"==typeof e.data?t6(e.data):e.data;return[ed({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}(e));let r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=function(e,t,n,r){let i=t9(n);return t5({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:t1(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let r="number"==typeof n?n:1,i=`${e}:${t}`;eB&&ee.log(`Recording outcome: "${i}"${r>1?` (${r} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+r}}on(e,t){let n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(eB&&ee.error("Error while sending envelope:",e),e)):(eB&&ee.error("Transport disabled"),eF({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let n={};return t.forEach(t=>{t&&tV(e,t,n)}),n}(this,e),tz(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1,i=t.exception&&t.exception.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}let s="ok"===e.status;(s&&0===e.errors||s&&n)&&(ew(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new ez(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n=eD(),r=ej()){let i=this.getOptions(),s=Object.keys(this._integrations);return!t.integrations&&s.length>0&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),tS(i,e,t,n,this,r).then(e=>{if(null===e)return e;e.contexts={trace:function(e){let{traceId:t,spanId:n,parentSpanId:r}=e.getPropagationContext();return ed({trace_id:t,span_id:n,parent_span_id:r})}(n),...e.contexts};let t=t_(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:t,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{eB&&("log"===e.logLevel?ee.log(e.message):ee.warn(e))})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:i}=r,s=ns(e),o=ni(e),a=e.type||"error",l=`before send for type \`${a}\``,u=void 0===i?void 0:nt(i);if(o&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",e),e$(new ne(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let c="replay_event"===a?"replay":a,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",c,e),new ne("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if(H(e))return e.then(e=>{if(!V(e)&&null!==e)throw new ne(n);return e},e=>{throw new ne(`${t} rejected with ${e}`)});if(!V(e)&&null!==e)throw new ne(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:s,beforeSendSpan:o}=t;if(ni(n)&&i)return i(n,r);if(ns(n)){if(n.spans&&o){let t=[];for(let r of n.spans){let n=o(r);n?t.push(n):(tg(),e.recordDroppedEvent("before_send","span"))}n.spans=t}if(s){if(n.spans){let e=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return s(n,r)}}return n}(this,r,n,t),l)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",c,e),s){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new ne(`${l} returned \`null\`, will not send event.`,"log")}let i=n&&n.getSession();if(!s&&i&&this._updateSessionFromEvent(i,r),s){let e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let o=r.transaction_info;return s&&o&&r.transaction!==e.transaction&&(r.transaction_info={...o,source:"custom"}),this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof ne)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new ne(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 21Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){var e;eB&&ee.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){eB&&ee.log("No outcomes to send");return}if(!this._dsn){eB&&ee.log("No dsn provided, will not send outcomes");return}eB&&ee.log("Sending outcomes:",t);let n=t5((e=this._options.tunnel&&t1(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:eh(),discarded_events:t}]]);this.sendEnvelope(n)}}function ni(e){return void 0===e.type}function ns(e){return"transaction"===e.type}let no="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function na(e,t){let n=nu(e,t),r={type:function(e){let t=e&&e.name;return!t&&nd(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:nd(e)&&Array.isArray(e.message)&&2==e.message.length?e.message[1]:t:"No error message"}(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function nl(e,t){return{exception:{values:[na(e,t)]}}}function nu(e,t){let n=t.stacktrace||t.stack||"",r=t&&nc.test(t.message)?1:0,i="number"==typeof t.framesToPop?t.framesToPop:0;try{return e(n,r,i)}catch(e){}return[]}let nc=/Minified React error #\d+;/i;
21function nd(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function nh(e,t,n,r,i){let s;if(L(t)&&t.error)return nl(e,t.error);if(B(t)||N(t,"DOMException")){if("stack"in t)s=nl(e,t);else{let i=t.name||(B(t)?"DOMError":"DOMException"),o=t.message?`${i}: ${t.message}`:i;ey(s=np(e,o,n,r),o)}return"code"in t&&(s.tags={...s.tags,"DOMException.code":`${t.code}`}),s}return j(t)?nl(e,t):(V(t)||U(t)?e_(s=function(e,t,n,r){let i=eL(),s=i&&i.getOptions().normalizeDepth,o=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),a={__serialized__:function e(t,n=3,r=102400){let i=eX(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}(t,s)};if(o)return{exception:{values:[na(e,o)]},extra:a};let l={exception:{values:[{type:U(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=function(e,t=40){let n=Object.keys(el(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return et(r,t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");if(!(r.length>t)){if(e===n.length)return r;return et(r,t)}}return""}(e),r=t?"promise rejection":"exception";if(L(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(U(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:a};if(n){let t=nu(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,i),{synthetic:!0}):(ey(s=np(e,t,n,r),`${t}`,void 0),e_(s,{synthetic:!0})),s)}function np(e,t,n,r){let i={};if(r&&n){let r=nu(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if($(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}let nf=0;function nm(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t){if("function"==typeof t)return t;return e}if(ea(e))return e}catch(t){return e}let n=function(...n){try{let r=n.map(e=>nm(e,t));return e.apply(this,r)}catch(e){throw nf++,setTimeout(()=>{nf--}),eN(r=>{r.addEventProcessor(e=>(t.mechanism&&(ey(e,void 0,void 0),e_(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),tA(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch(e){}eo(n,e),es(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch(e){}return n}class ng extends nr{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e};P(t,"browser",["browser"],C.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&C.document&&C.document.addEventListener("visibilitychange",()=>{"hidden"===C.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return function(e,t,n,r){let i=nh(e,t,n&&n.syntheticException||void 0,r);return e_(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),eF(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){let s=np(e,t,r&&r.syntheticException||void 0,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),eF(s)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){no&&ee.warn("SDK not enabled, will not capture user feedback.");return}let t=function(e,{metadata:t,tunnel:n,dsn:r}){return t5({event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:t1(r)}},[[{type:"user_report"},e]])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}}function nv(e){tj("dom",e),tN("dom",ny)}function ny(){if(!C.document)return;let e=tL.bind(null,"dom"),t=n_(e,!0);C.document.addEventListener("click",t,!1),C.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=C[t],r=n&&n.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(ei(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=r[n]=r[n]||{refCount:0};if(!s.handler){let r=n_(e);s.handler=r,t.call(this,n,r,i)}s.refCount++}catch(e){}return t.call(this,n,r,i)}}),ei(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function n_(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=function(e){try{return e.target}catch(e){return null}}(n);if("keypress"===n.type&&(!r||!r.tagName||"INPUT"!==r.tagName&&"TEXTAREA"!==r.tagName&&!r.isContentEditable))return;es(n,"_sentryCaptured",!0),r&&!r._sentryId&&es(r,"_sentryId",em());let i="keypress"===n.type?"input":n.type;!function(e){if(e.type!==u)return!1;try{if(!e.target||e.target._sentryId!==c)return!1}catch(e){}return!0}(n)&&(e({event:n,name:i,global:t}),u=n.type,c=r?r._sentryId:void 0),clearTimeout(l),l=C.setTimeout(()=>{c=void 0,u=void 0},1e3)}}let nb="__sentry_xhr_v3__";function nw(e){tj("xhr",e),tN("xhr",nx)}function nx(){if(!C.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=1e3*ep(),i=F(n[0])?n[0].toUpperCase():void 0,s=function(e){if(F(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!i||!s)return e.apply(t,n);t[nb]={method:i,url:s,request_headers:{}}
21,"POST"===i&&s.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let o=()=>{let e=t[nb];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}tL("xhr",{endTimestamp:1e3*ep(),startTimestamp:r,xhr:t})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(o(),e.apply(t,n))}):t.addEventListener("readystatechange",o),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,s=t[nb];return s&&F(r)&&F(i)&&(s.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[nb];return r&&(void 0!==n[0]&&(r.body=n[0]),tL("xhr",{startTimestamp:1e3*ep(),xhr:t})),e.apply(t,n)}})}function nS(){"console"in C&&Q.forEach(function(e){e in C.console&&ei(C.console,e,function(t){return J[e]=t,function(...t){tL("console",{args:t,level:e});let n=J[e];n&&n.apply(C.console,t)}})})}function nE(e,t){let n="fetch";tj(n,e),tN(n,()=>nA(void 0,t))}function nA(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!tJ())return!1;if(tZ(C.fetch))return!0;let e=!1,t=C.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");
21n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=tZ(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){K&&ee.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&ei(C,"fetch",function(t){return function(...n){let{method:r,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:nM(t),method:nC(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:nM(t),method:nC(t,"method")?String(t.method).toUpperCase():"GET"}}(n),s={args:n,fetchData:{method:r,url:i},startTimestamp:1e3*ep()};e||tL("fetch",{...s});let o=Error().stack;return t.apply(C,n).then(async t=>(e?e(t):tL("fetch",{...s,endTimestamp:1e3*ep(),response:t}),t),e=>{throw tL("fetch",{...s,endTimestamp:1e3*ep(),error:e}),j(e)&&void 0===e.stack&&(e.stack=o,es(e,"framesToPop",1)),e})}})}async function nk(e,t){if(e&&e.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),s=!0;for(;s;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),s=!1)}catch(e){s=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function nT(e){let t;try{t=e.clone()}catch(e){return}nk(t,()=>{tL("fetch-body-resolved",{endTimestamp:1e3*ep(),response:e})})}function nC(e,t){return!!e&&"object"==typeof e&&!!e[t]}function nM(e){return"string"==typeof e?e:e?nC(e,"url")?e.url:e.toString?e.toString():"":""}function nP(e,t){let n=eL(),r=ej();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:s=100}=n.getOptions();if(s<=0)return;let o={timestamp:eh(),...e},a=i?Z(()=>i(o,t)):o;null!==a&&(n.emit&&n.emit("beforeAddBreadcrumb",a,t),r.addBreadcrumb(a,s))}function nO(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}function nI(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function nR(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}let nD=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){let t="console";tj(t,e),tN(t,nS)}(function(t){if(eL()!==e)return;let n={category:"console",data:{arguments:t.args,logger:"console"},level:nO(t.level),message:en(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${en(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}nP(n,{input:t.args,level:t.level})}),t.dom&&nv((n=t.dom,function(t){let r,i;if(eL()!==e)return;let s="object"==typeof n?n.serializeAttribute:void 0,o="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;o&&o>1024&&(no&&ee.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof s&&(s=[s]);try{let e=t.event,n=e&&e.target?e.target:e;r=Y(n,{keyAttrs:s,maxStringLength:o}),i=X(n)}catch(e){r="<unknown>"}if(0===r.length)return;let a={category:`ui.${t.name}`,message:r};i&&(a.data={"ui.component_name":i}),nP(a,{event:t.event,name:t.name,global:t.global})})),t.xhr&&nw(function(t){if(eL()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[nb];if(!n||!r||!i)return;let{method:s,url:o,status_code:a,body:l}=i,u={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r},c=nI(a);nP({category:"xhr",data:{method:s,url:o,status_code:a},type:"http",level:c},u)}),t.fetch&&nE(function(t){if(eL()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error)nP({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{let e=t.response,i={...t.fetchData,status_code:e&&e.status},s={input:t.args,response:e,startTimestamp:n,endTimestamp:r},o=nI(i.status_code);nP({category:"fetch",data:i,type:"http",level:o},s)}}}),t.history&&tB(function(t){if(eL()!==e)return;let n=t.from,r=t.to,i=nR(C.location.href),s=n?nR(n):void 0,o=nR(r);s&&s.path||(s=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),nP({category:"navigation",data:{from:n,to:r}})}),t.sentry&&e.on("beforeSendEvent",function(t){eL()===e&&nP({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:ev(t)},{event:t})})}}},nj=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],nN=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&ei(C,"setTimeout",nL),t.setInterval&&ei(C,"setInterval",nL),t.requestAnimationFrame&&ei(C,"requestAnimationFrame",nB),t.XMLHttpRequest&&"XMLHttpRequest"in C&&ei(XMLHttpRequest.prototype,"send",nF);let e=t.eventTarget;
21e&&(Array.isArray(e)?e:nj).forEach(n$)}}};function nL(e){return function(...t){let n=t[0];return t[0]=nm(n,{mechanism:{data:{function:eY(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function nB(e){return function(t){return e.apply(this,[nm(t,{mechanism:{data:{function:"requestAnimationFrame",handler:eY(e)},handled:!1,type:"instrument"}})])}}function nF(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&ei(n,e,function(t){let n={mechanism:{data:{function:e,handler:eY(t)},handled:!1,type:"instrument"}},r=ea(t);return r&&(n.mechanism.data.handler=eY(r)),nm(t,n)})}),e.apply(this,t)}}function n$(e){let t=C[e],n=t&&t.prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(ei(n,"addEventListener",function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=nm(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:eY(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,nm(r,{mechanism:{data:{function:"addEventListener",handler:eY(r),target:e},handled:!1,type:"instrument"}}),i])}}),ei(n,"removeEventListener",function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}let nz=null;function nV(e){let t="error";tj(t,e),tN(t,nU)}function nU(){nz=C.onerror,C.onerror=function(e,t,n,r,i){return tL("error",{column:r,error:i,line:n,msg:e,url:t}),!!nz&&!nz.__SENTRY_LOADER__&&nz.apply(this,arguments)},C.onerror.__SENTRY_INSTRUMENTED__=!0}let nH=null;function nW(e){let t="unhandledrejection";tj(t,e),tN(t,nq)}function nq(){nH=C.onunhandledrejection,C.onunhandledrejection=function(e){return tL("unhandledrejection",e),!nH||!!nH.__SENTRY_LOADER__||nH.apply(this,arguments)},C.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let nY=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(nV(t=>{let{stackParser:n,attachStacktrace:r}=nX();if(eL()!==e||nf>0)return;let{msg:i,url:s,line:o,column:a,error:l}=t,u=function(e,t,n,r){let i=e.exception=e.exception||{},s=i.values=i.values||[],o=s[0]=s[0]||{},a=o.stacktrace=o.stacktrace||{},l=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,d=F(t)&&t.length>0?t:G();return 0===l.length&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:c}),e}(nh(n,l||i,void 0,r,!1),s,o,a);u.level="error",tk(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}),nG("onerror")),t.onunhandledrejection&&(nW(t=>{let{stackParser:n,attachStacktrace:r}=nX();if(eL()!==e||nf>0)return;let i=function(e){if(z(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),s=z(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:nh(n,i,void 0,r,!0);s.level="error",tk(s,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}),nG("onunhandledrejection"))}}};function nG(e){no&&ee.log(`Global Handler attached: ${e}`)}function nX(){let e=eL();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let nK=()=>({name:"HttpContext",preprocessEvent(e){if(!C.navigator&&!C.location&&!C.document)return;let t=e.request&&e.request.url||C.location&&C.location.href,{referrer:n}=C.document||{},{userAgent:r}=C.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...e.request,...t&&{url:t},headers:i};e.request=s}});function nQ(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function nJ(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}let nZ=(e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){let s=i.getOptions();!function(e,t,n=250,r,i,s,o){if(!s.exception||!s.exception.values||!o||!W(o.originalException,Error))return;let a=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;a&&(s.exception.values=(function e(t,n,r,i,s,o,a,l){if(o.length>=r+1)return o;let u=[...o];if(W(i[s],Error)){nQ(a,l);let o=t(n,i[s]),c=u.length;nJ(o,s,c,l),u=e(t,n,r,i[s],s,[o,...u],o,c)}
21return Array.isArray(i.errors)&&i.errors.forEach((i,o)=>{if(W(i,Error)){nQ(a,l);let c=t(n,i),d=u.length;nJ(c,`errors[${o}]`,d,l),u=e(t,n,r,i,s,[c,...u],c,d)}}),u})(e,t,i,o.originalException,r,s.exception.values,a,0).map(e=>(e.value&&(e.value=et(e.value,n)),e)))}(na,s.stackParser,s.maxValueLength,n,t,e,r)}}};function n0(e,t,n,r){let i={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let n1=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,n2=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n3=/\((\S*)(?::(\d+))(?::(\d+))\)/,n5=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,n4=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,n6=eH([30,e=>{let t=n1.exec(e);if(t){let[,e,n,r]=t;return n0(e,"?",+n,+r)}let n=n2.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=n3.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=n8(n[1]||"?",n[2]);return n0(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{let t=n5.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=n4.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=n8(n,e),n0(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),n8=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},n9="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,n7={};function re(e){let t=n7[e];if(t)return t;let n=C[e];if(tZ(n))return n7[e]=n.bind(C);let r=C.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){n9&&ee.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?n7[e]=n.bind(C):n}function rt(...e){return re("setTimeout")(...e)}function rn(e,t,n=Date.now()){return(e[t]||e.all||0)>n}function rr(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},s=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(s)for(let e of s.trim().split(",")){let[t,n,,,s]=e.split(":",5),o=parseInt(t,10),a=(isNaN(o)?60:o)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!s||s.split(";").includes("custom"))&&(i[e]=r+a):i[e]=r+a;else i.all=r+a}else o?i.all=r+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(o,r):429===t&&(i.all=r+6e4);return i}function ri(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function rs(e,t=re("fetch")){let n=0,r=0;return function(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return e$(new ne("Not adding Promise because buffer limit was reached."));let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new ez((n,r)=>{let i=t.length;if(!i)return n(!0);let s=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{eF(e).then(()=>{--i||(clearTimeout(s),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(i){let s=[];if(t4(i,(t,n)=>{let i=t8[n];if(rn(r,i)){let r=ri(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else s.push(t)}),0===s.length)return eF({});let o=t5(i[0],s),a=t=>{t4(o,(n,r)=>{let i=ri(n,r);e.recordDroppedEvent(t,t8[r],i)})};return n.add(()=>t({body:function(e){let[t,n]=e,r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[t6(r),e]:r.push("string"==typeof e?t6(e):e)}for(let e of n){let[t,n]=e;if(i(` 22${JSON.stringify(t)} 23`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(eX(n))}i(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}(o)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&eB&&ee.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=rr(r,e),e),e=>{throw a("network_error"),e})).then(e=>e,e=>
23{if(e instanceof ne)return eB&&ee.error("Skipped sending event because buffer is full."),a("queue_overflow"),eF({});throw e})},flush:e=>n.drain(e)}}(e,function(i){let s=i.body.length;n+=s,r++;let o={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return n7.fetch=void 0,e$("No fetch implementation available");try{return t(e.url,o).then(e=>(n-=s,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return n7.fetch=void 0,n-=s,r--,e$(e)}})}function ro(e){return[tH(),tY(),nN(),nD(),nY(),nZ(),tG(),nK()]}var ra,rl,ru,rc,rd,rh,rp,rf,rm,rg,rv=n(67294),ry=n(34155);function r_(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[e1],i=n[e2];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})}),t}let rb=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",rw=(e,t,n,r)=>{let i,s;return o=>{t.value>=0&&(o||r)&&((s=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=s,t.rating=rb(t.value,n),e(t))}},rx=()=>`v4-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,rS=(e=!0)=>{let t=C.performance&&C.performance.getEntriesByType&&C.performance.getEntriesByType("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},rE=()=>{let e=rS();return e&&e.activationStart||0},rA=(e,t)=>{let n=rS(),r="navigate";return n&&(C.document&&C.document.prerendering||rE()>0?r="prerender":C.document&&C.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:rx(),navigationType:r}},rk=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},rT=e=>{let t=t=>{("pagehide"===t.type||C.document&&"hidden"===C.document.visibilityState)&&e(t)};C.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},rC=e=>{let t=!1;return()=>{t||(e(),t=!0)}},rM=-1,rP=()=>"hidden"!==C.document.visibilityState||C.document.prerendering?1/0:0,rO=e=>{"hidden"===C.document.visibilityState&&rM>-1&&(rM="visibilitychange"===e.type?e.timeStamp:0,rR())},rI=()=>{addEventListener("visibilitychange",rO,!0),addEventListener("prerenderingchange",rO,!0)},rR=()=>{removeEventListener("visibilitychange",rO,!0),removeEventListener("prerenderingchange",rO,!0)},rD=()=>(C.document&&rM<0&&(rM=rP(),rI()),{get firstHiddenTime(){return rM}}),rj=e=>{C.document&&C.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},rN=[1800,3e3],rL=(e,t={})=>{rj(()=>{let n;let r=rD(),i=rA("FCP"),s=rk("paint",e=>{e.forEach(e=>{"first-contentful-paint"===e.name&&(s.disconnect(),e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-rE(),0),i.entries.push(e),n(!0)))})});s&&(n=rw(e,i,rN,t.reportAllChanges))})},rB=[.1,.25],rF=(e,t={})=>{rL(rC(()=>{let n;let r=rA("CLS",0),i=0,s=[],o=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=s[0],n=s[s.length-1];i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,s.push(e)):(i=e.value,s=[e])}}),i>r.value&&(r.value=i,r.entries=s,n())},a=rk("layout-shift",o);a&&(n=rw(e,r,rB,t.reportAllChanges),rT(()=>{o(a.takeRecords()),n(!0)}),setTimeout(n,0))}))},r$=[100,300],rz=(e,t={})=>{rj(()=>{let n;let r=rD(),i=rA("FID"),s=e=>{e.startTime<r.firstHiddenTime&&(i.value=e.processingStart-e.startTime,i.entries.push(e),n(!0))},o=e=>{e.forEach(s)},a=rk("first-input",o);n=rw(e,i,r$,t.reportAllChanges),a&&rT(rC(()=>{o(a.takeRecords()),a.disconnect()}))})},rV=0,rU=1/0,rH=0,rW=e=>{e.forEach(e=>{e.interactionId&&(rU=Math.min(rU,e.interactionId),rV=(rH=Math.max(rH,e.interactionId))?(rH-rU)/7+1:0)})},rq=()=>d?rV:performance.interactionCount||0,rY=()=>{"interactionCount"in performance||d||(d=rk("event",rW,{type:"event",buffered:!0,durationThreshold:0}))},rG=[],rX=new Map,rK=()=>rq()-0,rQ=()=>{let e=Math.min(rG.length-1,Math.floor(rK()/50));return rG[e]},rJ=[],rZ=e=>{if(rJ.forEach(t=>t(e)),!(e.interactionId||"first-input"===e.entryType))return;let t=rG[rG.length-1],n=rX.get(e.interactionId);if(n||rG.length<10||t&&e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===(n.entries[0]&&n.entries[0].startTime)&&n.entries.push(e);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};rX.set(t.id,t),rG.push(t)}rG.sort((e,t)=>
23t.latency-e.latency),rG.length>10&&rG.splice(10).forEach(e=>rX.delete(e.id))}},r0=e=>{let t=C.requestIdleCallback||C.setTimeout,n=-1;return e=rC(e),C.document&&"hidden"===C.document.visibilityState?e():(n=t(e),rT(e)),n},r1=[200,500],r2=(e,t={})=>{"PerformanceEventTiming"in C&&"interactionId"in PerformanceEventTiming.prototype&&rj(()=>{let n;rY();let r=rA("INP"),i=e=>{r0(()=>{e.forEach(rZ);let t=rQ();t&&t.latency!==r.value&&(r.value=t.latency,r.entries=t.entries,n())})},s=rk("event",i,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});n=rw(e,r,r1,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),rT(()=>{i(s.takeRecords()),n(!0)}))})},r3=[2500,4e3],r5={},r4=(e,t={})=>{rj(()=>{let n;let r=rD(),i=rA("LCP"),s=e=>{t.reportAllChanges||(e=e.slice(-1)),e.forEach(e=>{e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-rE(),0),i.entries=[e],n())})},o=rk("largest-contentful-paint",s);if(o){n=rw(e,i,r3,t.reportAllChanges);let r=rC(()=>{r5[i.id]||(s(o.takeRecords()),o.disconnect(),r5[i.id]=!0,n(!0))});["keydown","click"].forEach(e=>{C.document&&addEventListener(e,()=>r0(r),{once:!0,capture:!0})}),rT(r)}})},r6=[800,1800],r8=e=>{C.document&&C.document.prerendering?rj(()=>r8(e)):C.document&&"complete"!==C.document.readyState?addEventListener("load",()=>r8(e),!0):setTimeout(e,0)},r9=(e,t={})=>{let n=rA("TTFB"),r=rw(e,n,r6,t.reportAllChanges);r8(()=>{let e=rS();e&&(n.value=Math.max(e.responseStart-rE(),0),n.entries=[e],r(!0))})},r7={},ie={};function it(e,t=!1){return ip("cls",e,il,h,t)}function ir(e,t=!1){return ip("lcp",e,ic,f,t)}function ii(e){return ip("fid",e,iu,p)}function is(e){return ip("inp",e,ih,g)}function io(e,t){return im(e,t),ie[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),rk(e,t=>{ia(e,{entries:t})},t)}(e),ie[e]=!0),ig(e,t)}function ia(e,t){let n=r7[e];if(n&&n.length)for(let r of n)try{r(t)}catch(t){n9&&ee.error(`Error while triggering instrumentation handler. 24Type: ${e} 25Name: ${eY(r)} 26Error:`,t)}}function il(){return rF(e=>{ia("cls",{metric:e}),h=e},{reportAllChanges:!0})}function iu(){return rz(e=>{ia("fid",{metric:e}),p=e})}function ic(){return r4(e=>{ia("lcp",{metric:e}),f=e},{reportAllChanges:!0})}function id(){return r9(e=>{ia("ttfb",{metric:e}),m=e})}function ih(){return r2(e=>{ia("inp",{metric:e}),g=e})}function ip(e,t,n,r,i=!1){let s;return im(e,t),ie[e]||(s=n(),ie[e]=!0),r&&t({metric:r}),ig(e,t,i?s:void 0)}function im(e,t){r7[e]=r7[e]||[],r7[e].push(t)}function ig(e,t,n){return()=>{n&&n();let r=r7[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}class iv{constructor(e={}){this._traceId=e.traceId||em(),this._spanId=e.spanId||em().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}let iy="_sentryScope",i_="_sentryIsolationScope";function ib(e){return{scope:e[iy],isolationScope:e[i_]}}class iw{constructor(e={}){this._traceId=e.traceId||em(),this._spanId=e.spanId||em().substring(16),this._startTime=e.startTimestamp||ep(),this._attributes={},this.setAttributes({[eZ]:"manual",[eJ]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this}addLinks(e){return this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?1:0}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=ts(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(eK,"custom"),this}end(e){this._endTime||(this._endTime=ts(e),function(e){if(!eB)return;let{description:t="< unknown name >",op:n="< unknown op >"}=ta(e),{spanId:r}=e.spanContext(),i=tf(e)===e,s=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;ee.log(s)}(this),this._onSpanEnded())}getSpanJSON(){return ed({data:this._attributes,description:this._name,op:this._attributes[eJ],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:tu(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[eZ],_metrics_summary:te(this),profile_id:this._attributes["sentry.profile_id"],exclusive_time:this._attributes[e3],measurements:r_(this._events),is_segment:this._isStandaloneSpan&&tf(this)===this||void 0,segment_id:this._isStandaloneSpan?tf(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){eB&&ee.log("[Tracing] Adding an event to span:",e);let r=ix(t)?t:n||ep(),i=ix(t)?{}:t||{}
26,s={name:e,time:ts(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=eL();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===tf(this)))return;if(this._isStandaloneSpan){this._sampled?function(e){let t=eL();if(!t)return;let n=e[1];if(!n||0===n.length){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}(function(e,t){let n=tb(e[0]),r=t&&t.getDsn(),i=t&&t.getOptions().tunnel,s={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:t1(r)}},o=t&&t.getOptions().beforeSendSpan,a=o?e=>{let t=o(ta(e));return t||tg(),t}:e=>ta(e),l=[];for(let t of e){let e=a(t);e&&l.push([{type:"span"},e])}return t5(s,l)}([this],e)):(eB&&ee.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}let t=this._convertSpanToTransaction();t&&(ib(this).scope||eD()).captureEvent(t)}_convertSpanToTransaction(){if(!iS(ta(this)))return;this._name||(eB&&ee.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=ib(this),n=(e||eD()).getClient()||eL();if(!0!==this._sampled){eB&&ee.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}let r=tp(this).filter(e=>e!==this&&!(e instanceof iw&&e.isStandaloneSpan())).map(e=>ta(e)).filter(iS),i=this._attributes[eK],s={contexts:{trace:function(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:s,status:o,origin:a}=ta(e);return ed({parent_span_id:s,span_id:t,trace_id:n,data:r,op:i,status:o,origin:a})}(this)},spans:r.length>1e3?r.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...ed({dynamicSamplingContext:tb(this)})},_metrics_summary:te(this),...i&&{transaction_info:{source:i}}},o=r_(this._events);return o&&Object.keys(o).length&&(eB&&ee.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),s.measurements=o),s}}function ix(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function iS(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}let iE="__SENTRY_SUPPRESS_TRACING__";function iA(e){let t=eR(I());if(t.startInactiveSpan)return t.startInactiveSpan(e);let n=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=ts(e.startTime),delete n.startTime,n}return t}(e),{forceTransaction:r,parentSpan:i}=e;return(e.scope?t=>eN(e.scope,t):void 0!==i?e=>ik(i,e):e=>e())(()=>{let t=eD(),i=function(e){let t=e[eE];if(!t)return;let n=eL();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?tf(t):t}(t);return e.onlyIfParent&&!i?new iv:function({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){var i;let s;if(!e7())return new iv;let o=ej();if(e&&!n)s=function(e,t,n){let{spanId:r,traceId:i}=e.spanContext(),s=!t.getScopeData().sdkProcessingMetadata[iE]&&tl(e),o=s?new iw({...n,parentSpanId:r,traceId:i,sampled:s}):new iv({traceId:i});th(e,o);let a=eL();return a&&(a.emit("spanStart",o),n.endTimestamp&&a.emit("spanEnd",o)),o}(e,r,t),th(e,s);else if(e){let n=tb(e),{traceId:i,spanId:o}=e.spanContext(),a=tl(e);es(s=iT({traceId:i,parentSpanId:o,...t},r,a),tv,n)}else{let{traceId:e,dsc:n,parentSpanId:i,sampled:a}={...o.getPropagationContext(),...r.getPropagationContext()};s=iT({traceId:e,parentSpanId:i,...t},r,a),n&&es(s,tv,n)}return function(e){if(!eB)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=ta(e),{spanId:i}=e.spanContext(),s=tl(e),o=tf(e),a=o===e,l=`[Tracing] Starting ${s?"sampled":"unsampled"} ${a?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&u.push(`parent ID: ${r}`),!a){let{op:e,description:t}=ta(o);u.push(`root ID: ${o.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}ee.log(`${l} 27 ${u.join("\n ")}`)}(s),(i=s)&&(es(i,i_,o),es(i,iy,r)),s}({parentSpan:i,spanArguments:n,forceTransaction:r,scope:t})})}function ik(e,t){let n=eR(I());return n.withActiveSpan?n.withActiveSpan(e,t):eN(n=>(eA(n,e||void 0),t(n)))}function iT(e,t,n){let r=eL(),i=r&&r.getOptions()||{},{name:s="",attributes:o}=e,[a,l]=t.getScopeData().sdkProcessingMetadata[iE]?[!1]:function(e,t){let n;if(!e7(e))return[!1];let r=nt(n="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1);return void 0===r?(eB&&ee.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random()<r?[!0,r]:(eB&&ee.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[!1,r]):(eB&&ee.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"}`),[!1,r])}(i,{name:s,parentSampled:n,attributes:o,transactionContext:{name:s,parentSampled:n}}),u=new iw({...e,attributes:{[eK]:"custom",...e.attributes},sampled:a});return void 0!==l&&u.setAttribute(eQ,l),r&&r.emit("spanStart",u),u}function iC(e){return"number"==typeof e&&isFinite(e)}function iM(e,t,n,{...r}){let i=ta(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),ik(e,()=>{let e=iA({startTime:t,...r});return e&&e.end(n),e})}function iP(e){let t;let n=eL();if(!n)return;let{name:r,transaction:i,attributes:s,startTime:o}=e,{release:a,environment:l}=n.getOptions(),u=n.getIntegrationByName("Replay"),c=u&&u.getReplayId(),d=eD(),h=d.getUser(),p=void 0!==h?h.email||h.id||h.ip_address:void 0;try{t=d.getScopeData().contexts.profile.profile_id}catch(e){}return iA({name:r,attributes:{release:a,environment:l,user:p||void 0,profile_id:t||void 0,replay_id:c||void 0,transaction:i,"user_agent.original":C.navigator&&C.navigator.userAgent,...s},startTime:o,experimental:{standalone:!0}})}function iO(){return C&&C.addEventListener&&C.performance}function iI(e){return e/1e3}let iR=0,iD={};function ij(e,t,n,r,i,s){let o=s?t[s]:t[`${n}End`],a=t[`${n}Start`];a&&o&&iM(e,r+iI(a),r+iI(o),{op:`browser.${i||n}`,name:t.name,attributes:{[eZ]:"auto.ui.browser.metrics"}})}function iN(e,t,n,r){let i=t[n];null!=i&&i<2147483647&&(e[r]=i)}let iL=[],iB=new Map,iF={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},i$={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};
27function iz(e,t={}){let n;let r=new Map,i=!1,s="externalFinish",o=!t.disableAutoFinish,a=[],{idleTimeout:l=i$.idleTimeout,finalTimeout:u=i$.finalTimeout,childSpanTimeout:c=i$.childSpanTimeout,beforeSpanEnd:d}=t,h=eL();if(!h||!e7())return new iv;let p=eD(),f=tm(),m=function(e){let t=iA(e);return eA(eD(),t),eB&&ee.log("[Tracing] Started span is an idle span"),t}(e);function g(){n&&(clearTimeout(n),n=void 0)}function v(e){g(),n=setTimeout(()=>{!i&&0===r.size&&o&&(s="idleTimeout",m.end(e))},l)}function y(e){n=setTimeout(()=>{!i&&o&&(s="heartbeatFailed",m.end(e))},c)}function _(e){i=!0,r.clear(),a.forEach(e=>e()),eA(p,f);let t=ta(m),{start_timestamp:n}=t;if(!n)return;(t.data||{})[e0]||m.setAttribute(e0,s),ee.log(`[Tracing] Idle span "${t.op}" finished`);let o=tp(m).filter(e=>e!==m),c=0;o.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:"cancelled"}),t.end(e),eB&&ee.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=ta(t),i=r<=e,s=n-r<=(u+l)/1e3;if(eB){let e=JSON.stringify(t,void 0,2);i?s||ee.log("[Tracing] Discarding span since it finished after idle span final timeout",e):ee.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!s||!i)&&(m[tc]&&m[tc].delete(t),c++)}),c>0&&m.setAttribute("sentry.idle_span_discarded_spans",c)}return m.end=new Proxy(m.end,{apply(e,t,n){d&&d(m);let[r,...i]=n,s=ts(r||ep()),o=tp(m).filter(e=>e!==m);if(!o.length)return _(s),Reflect.apply(e,t,[s,...i]);let a=o.map(e=>ta(e).timestamp).filter(e=>!!e),l=a.length?Math.max(...a):void 0,c=ta(m).start_timestamp,h=Math.min(c?c+u/1e3:1/0,Math.max(c||-1/0,Math.min(s,l||1/0)));return _(h),Reflect.apply(e,t,[h,...i])}}),a.push(h.on("spanStart",e=>{if(!i&&e!==m&&!ta(e).timestamp&&tp(m).includes(e)){var t;t=e.spanContext().spanId,g(),r.set(t,!0),y(ep()+c/1e3)}})),a.push(h.on("spanEnd",e=>{var t;i||(t=e.spanContext().spanId,r.has(t)&&r.delete(t),0===r.size&&v(ep()+l/1e3))})),a.push(h.on("idleSpanEnableAutoFinish",e=>{e===m&&(o=!0,v(),r.size&&y())})),t.disableAutoFinish||v(),setTimeout(()=>{i||(m.setStatus({code:2,message:"deadline_exceeded"}),s="finalTimeout",m.end())},u),m}let iV=!1;function iU(){let e=tm(),t=e&&tf(e);if(t){let e="internal_error";eB&&ee.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}function iH(e={}){let t=eL();if(!function(){let e=eL();return!!e&&!1!==e.getOptions().enabled&&!!e.getTransport()}()||!t)return{};let n=eR(I());if(n.getTraceData)return n.getTraceData(e);let r=eD(),i=e.span||tm(),s=i?function(e){let{traceId:t,spanId:n}=e.spanContext();return tr(t,n,tl(e))}(i):function(e){let{traceId:t,sampled:n,spanId:r}=e.getPropagationContext();return tr(t,r,n)}(r),o=function(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,n],r)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===r?i:`${e},${i}`;return s.length>8192?(K&&ee.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${e5}${t}`]=n),e),{}))}(i?tb(i):t_(t,r));return tn.test(s)?{"sentry-trace":s,baggage:o}:(ee.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function iW(e){return e.split(",").filter(e=>!e.split("=")[0].startsWith(e5)).join(",")}iU.tag="sentry_tracingErrorCallback";let iq=new WeakMap,iY=new Map,iG={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function iX(e){let{url:t}=ta(e).data||{};if(!t||"string"!=typeof t)return;let n=io("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(t)&&((function(e){let{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(let i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol),r=[];return(r.push(["network.protocol.version",n],["network.protocol.name",t]),ef)?[...r,["http.request.redirect_start",iK(e.redirectStart)],["http.request.fetch_start",iK(e.fetchStart)],["http.request.domain_lookup_start",iK(e.domainLookupStart)],["http.request.domain_lookup_end",iK(e.domainLookupEnd)],["http.request.connect_start",iK(e.connectStart)],["http.request.secure_connection_start",iK(e.secureConnectionStart)],["http.request.connection_end",iK(e.connectEnd)],["http.request.request_start",iK(e.requestStart)],["http.request.response_start",iK(e.responseStart)],["http.request.response_end",iK(e.responseEnd)]]:r})(r).forEach(t=>e.setAttribute(...t)),setTimeout(n))})})}function iK(e=0){return((ef||performance.timeOrigin)+e)/1e3}function iQ(e){try{return new URL(e,C.location.origin).href}catch(e){return}}let iJ={...i$,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
27dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...iG},iZ=(e={})=>{iV||(iV=!0,nV(iU),nW(iU));let{enableInp:t,enableLongTask:n,enableLongAnimationFrame:r,_experiments:{enableInteractions:i,enableStandaloneClsSpans:s},beforeStartSpan:o,idleTimeout:a,finalTimeout:l,childSpanTimeout:u,markBackgroundSpan:c,traceFetch:d,traceXHR:h,trackFetchStreamPerformance:p,shouldCreateSpanForRequest:f,enableHTTPTimings:g,instrumentPageLoad:_,instrumentNavigation:b}={...iJ,...e},w=function({recordClsStandaloneSpans:e}){let t=iO();if(t&&ef){t.mark&&C.performance.mark("sentry-tracing-init");let n=ii(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let n=iI(ef),r=iI(t.startTime);iD.fid={value:e.value,unit:"millisecond"},iD["mark.fid"]={value:n+r,unit:"second"}}),r=ir(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(iD.lcp={value:e.value,unit:"millisecond"},v=t)},!0),i=ip("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(iD.ttfb={value:e.value,unit:"millisecond"})},id,m),s=e?function(){let e,t,n=0;if(!function(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch(e){return!1}}())return;let r=!1;function i(){r||(r=!0,t&&function(e,t,n){n9&&ee.log(`Sending CLS span (${e})`);let r=iI((ef||0)+(t&&t.startTime||0)),i=eD().getScopeData().transactionName,s=iP({name:t?Y(t.sources[0]&&t.sources[0].node):"Layout shift",transaction:i,attributes:ed({[eZ]:"auto.http.browser.cls",[eJ]:"ui.webvital.cls",[e3]:t&&t.duration||0,"sentry.pageload.span_id":n}),startTime:r});s&&(s.addEvent("cls",{[e1]:"",[e2]:e}),s.end(r))}(n,e,t),s())}let s=it(({metric:t})=>{let r=t.entries[t.entries.length-1];r&&(n=t.value,e=r)},!0);rT(()=>{i()}),setTimeout(()=>{let e=eL();if(!e)return;let n=e.on("startNavigationSpan",()=>{i(),n&&n()}),r=tm(),s=r&&tf(r),o=s&&ta(s);o&&"pageload"===o.op&&(t=s.spanContext().spanId)},0)}():it(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(iD.cls={value:e.value,unit:""},y=t)},!0);return()=>{n(),r(),i(),s&&s()}}return()=>void 0}({recordClsStandaloneSpans:s||!1});t&&function(){if(iO()&&ef){let e=is(({metric:e})=>{if(void 0==e.value)return;let t=e.entries.find(t=>t.duration===e.value&&iF[t.name]);if(!t)return;let{interactionId:n}=t,r=iF[t.name],i=iI(ef+t.startTime),s=iI(e.value),o=tm(),a=o?tf(o):void 0,l=(null!=n?iB.get(n):void 0)||a,u=l?ta(l).description:eD().getScopeData().transactionName,c=iP({name:Y(t.target),transaction:u,attributes:ed({[eZ]:"auto.http.browser.inp",[eJ]:`ui.interaction.${r}`,[e3]:t.duration}),startTime:i});c&&(c.addEvent("inp",{[e1]:"millisecond",[e2]:e.value}),c.end(i+s))})}}(),r&&C.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=tm();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=iI(ef+n.startTime),{start_timestamp:r,op:i}=ta(t);if("navigation"===i&&r&&e<r)continue;let s=iI(n.duration),o={[eZ]:"auto.ui.browser.metrics"},{invoker:a,invokerType:l,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=n.scripts[0];o["browser.script.invoker"]=a,o["browser.script.invoker_type"]=l,u&&(o["code.filepath"]=u),c&&(o["code.function"]=c),-1!==d&&(o["browser.script.source_char_position"]=d),iM(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:o})}}).observe({type:"long-animation-frame",buffered:!0}):n&&io("longtask",({entries:e})=>{let t=tm();if(!t)return;let{op:n,start_timestamp:r}=ta(t);for(let i of e){let e=iI(ef+i.startTime),s=iI(i.duration);"navigation"===n&&r&&e<r||iM(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[eZ]:"auto.ui.browser.metrics"}})}}),i&&io("event",({entries:e})=>{let t=tm();if(t){for(let n of e)if("click"===n.name){let e=iI(ef+n.startTime),r=iI(n.duration),i={name:Y(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[eZ]:"auto.ui.browser.metrics"}},s=X(n.target);s&&(i.attributes["ui.component_name"]=s),iM(t,e,e+r,i)}}});let x={name:void 0,source:void 0};function S(e,t){let n="pageload"===t.op,r=o?o(t):t,i=r.attributes||{};t.name!==r.name&&(i[eK]="custom",r.attributes=i),x.name=r.name,x.source=i[eK];let c=iz(r,{idleTimeout:a,finalTimeout:l,childSpanTimeout:u,disableAutoFinish:n,beforeSpanEnd:e=>{w(),function(e,t){let n=iO();if(!n||!C.performance.getEntries||!ef)return;let r=iI(ef),i=n.getEntries(),{op:s,start_timestamp:o}=ta(e);
27if(i.slice(iR).forEach(t=>{let n=iI(t.startTime),i=iI(Math.max(0,t.duration));if("navigation"!==s||!o||!(r+n<o))switch(t.entryType){case"navigation":["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{ij(e,t,n,r)}),ij(e,t,"secureConnection",r,"TLS/SSL","connectEnd"),ij(e,t,"fetch",r,"cache","domainLookupStart"),ij(e,t,"domainLookup",r,"DNS"),function(e,t,n){let r=n+iI(t.requestStart),i=n+iI(t.responseEnd),s=n+iI(t.responseStart);t.responseEnd&&(iM(e,r,i,{op:"browser.request",name:t.name,attributes:{[eZ]:"auto.ui.browser.metrics"}}),iM(e,s,i,{op:"browser.response",name:t.name,attributes:{[eZ]:"auto.ui.browser.metrics"}}))}(e,t,r);break;case"mark":case"paint":case"measure":{(function(e,t,n,r,i){let s=rS(!1),o=i+Math.max(n,iI(s?s.requestStart:0)),a=i+n,l={[eZ]:"auto.resource.browser.metrics"};o!==a&&(l["sentry.browser.measure_happened_before_request"]=!0,l["sentry.browser.measure_start_time"]=o),iM(e,o,a+r,{name:t.name,op:t.entryType,attributes:l})})(e,t,n,i,r);let s=rD(),o=t.startTime<s.firstHiddenTime;"first-paint"===t.name&&o&&(iD.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&o&&(iD.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":(function(e,t,n,r,i,s){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let o=nR(n),a={[eZ]:"auto.resource.browser.metrics"};iN(a,t,"transferSize","http.response_transfer_size"),iN(a,t,"encodedBodySize","http.response_content_length"),iN(a,t,"decodedBodySize","http.decoded_response_content_length"),null!=t.deliveryType&&(a["http.response_delivery_type"]=t.deliveryType),"renderBlockingStatus"in t&&(a["resource.render_blocking_status"]=t.renderBlockingStatus),o.protocol&&(a["url.scheme"]=o.protocol.split(":").pop()),o.host&&(a["server.address"]=o.host),a["url.same_origin"]=n.includes(C.location.origin);let l=s+r;iM(e,l,l+i,{name:n.replace(C.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:a})})(e,t,t.name,n,i,r)}}),iR=Math.max(i.length-1,0),function(e){let t=C.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),iC(n.rtt)&&(iD["connection.rtt"]={value:n.rtt,unit:"millisecond"})),iC(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),iC(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===s){(function(e){let t=rS(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})})(iD);let n=iD["mark.fid"];n&&iD.fid&&(iM(e,n.value,n.value+iI(iD.fid.value),{name:"first input delay",op:"ui.action",attributes:{[eZ]:"auto.ui.browser.metrics"}}),delete iD["mark.fid"]),"fcp"in iD&&t.recordClsOnPageloadSpan||delete iD.cls,Object.entries(iD).forEach(([e,t])=>{!function(e,t,n,r=tm()){let i=r&&tf(r);i&&(eB&&ee.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[e2]:t,[e1]:n}))}(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",r),e.setAttribute("performance.activationStart",rE()),v&&(v.element&&e.setAttribute("lcp.element",Y(v.element)),v.id&&e.setAttribute("lcp.id",v.id),v.url&&e.setAttribute("lcp.url",v.url.trim().slice(0,200)),null!=v.loadTime&&e.setAttribute("lcp.loadTime",v.loadTime),null!=v.renderTime&&e.setAttribute("lcp.renderTime",v.renderTime),e.setAttribute("lcp.size",v.size)),y&&y.sources&&y.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,Y(t.node)))}v=void 0,y=void 0,iD={}}(e,{recordClsOnPageloadSpan:!s})}});function d(){["interactive","complete"].includes(C.document.readyState)&&e.emit("idleSpanEnableAutoFinish",c)}return n&&C.document&&(C.document.addEventListener("readystatechange",()=>{d()}),d()),c}return{name:"BrowserTracing",afterAllSetup(e){let n,r;let s=C.location&&C.location.href;function o(){n&&!ta(n).timestamp&&(no&&ee.log(`[Tracing] Finishing current active span with op: ${ta(n).op}`),n.end())}e.on("startNavigationSpan",t=>{eL()===e&&(o(),n=S(e,{op:"navigation",...t}))}),e.on("startPageLoadSpan",(t,r={})=>
27{if(eL()!==e)return;o();let i=function(e,t){let n=function(e){let t;if(!e)return;let n=e.match(tn);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}(e),r=e6(t);if(!n||!n.traceId)return{traceId:em(),spanId:ex()};let{traceId:i,parentSpanId:s,parentSampled:o}=n;return{traceId:i,parentSpanId:s,spanId:ex(),sampled:o,dsc:r||{}}}(r.sentryTrace||i2("sentry-trace"),r.baggage||i2("baggage"));eD().setPropagationContext(i),n=S(e,{op:"pageload",...t})}),e.on("spanEnd",e=>{let t=ta(e).op;if(e!==tf(e)||"navigation"!==t&&"pageload"!==t)return;let n=eD(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:tl(e),dsc:r.dsc||tb(e)})}),C.location&&(_&&i0(e,{name:C.location.pathname,startTime:ef?ef/1e3:void 0,attributes:{[eK]:"url",[eZ]:"auto.pageload.browser"}}),b&&tB(({to:t,from:n})=>{if(void 0===n&&s&&-1!==s.indexOf(t)){s=void 0;return}n!==t&&(s=void 0,i1(e,{name:C.location.pathname,attributes:{[eK]:"url",[eZ]:"auto.navigation.browser"}}))})),c&&(C&&C.document?C.document.addEventListener("visibilitychange",()=>{let e=tm();if(!e)return;let t=tf(e);if(C.document.hidden&&t){let e="cancelled",{op:n,status:r}=ta(t);no&&ee.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:2,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):no&&ee.warn("[Tracing] Could not set up background tab detection due to lack of global document")),i&&C.document&&addEventListener("click",()=>{let e="ui.action.click",t=tm(),n=t&&tf(t);if(n&&["navigation","pageload"].includes(ta(n).op)){no&&ee.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(r&&(r.setAttribute(e0,"interactionInterrupted"),r.end(),r=void 0),!x.name){no&&ee.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}r=iz({name:x.name,op:e,attributes:{[eK]:x.source||"url"}},{idleTimeout:a,finalTimeout:l,childSpanTimeout:u})},{once:!1,capture:!0}),t&&function(){let e=({entries:e})=>{let t=tm(),n=t&&tf(t);e.forEach(e=>{if(!("duration"in e)||!n)return;let t=e.interactionId;if(!(null==t||iB.has(t))){if(iL.length>10){let e=iL.shift();iB.delete(e)}iL.push(t),iB.set(t,n)}})};io("event",e),io("first-input",e)}(),function(e,t){let{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:i,shouldCreateSpanForRequest:s,enableHTTPTimings:o,tracePropagationTargets:a}={traceFetch:iG.traceFetch,traceXHR:iG.traceXHR,trackFetchStreamPerformance:iG.trackFetchStreamPerformance,...t},l="function"==typeof s?s:e=>!0,u=e=>(function(e,t){let n=C.location&&C.location.href;if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch(e){return!1}let s=r.origin===i;return t?er(r.toString(),t)||s&&er(r.pathname,t):s}{let n=!!e.match(/^\/(?!\/)/);return t?er(e,t):n}})(e,a),c={};n&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=iY.get(e.span_id);t&&(e.timestamp=t/1e3,iY.delete(e.span_id))}}),e)),i&&function(e){let t="fetch-body-resolved";tj(t,e),tN(t,()=>nA(nT))}(e=>{if(e.response){let t=iq.get(e.response);t&&e.endTimestamp&&iY.set(t,e.endTimestamp)}}),nE(e=>{let t=function(e,t,n,r,i="auto.http.browser"){if(!e.fetchData)return;let s=e7()&&t(e.fetchData.url);if(e.endTimestamp&&s){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(function(e,t){if(t.response){tt(e,t.response.status);let n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:2,message:"internal_error"});e.end()}(n,e),delete r[t]);return}let{method:o,url:a}=e.fetchData,l=function(e){try{return new URL(e).href}catch(e){return}}(a),u=l?nR(l).host:void 0,c=!!tm(),d=s&&c?iA({name:`${o} ${a}`,attributes:{url:a,type:"fetch","http.method":o,"http.url":l,"server.address":u,[eZ]:i,[eJ]:"http.client"}}):new iv;if(e.fetchData.__span=d.spanContext().spanId,r[d.spanContext().spanId]=d,n(e.fetchData.url)){let t=e.args[0],n=e.args[1]||{},r=function(e,t,n){let r=iH({span:n}),i=r["sentry-trace"],s=r.baggage;if(!i)return;let o=t.headers||("undefined"!=typeof Request&&W(e,Request)?e.headers:void 0);if(!o)return{...r};if("undefined"!=typeof Headers&&W(o,Headers)){let e=new Headers(o);if(e.set("sentry-trace",i),s){let t=e.get("baggage");if(t){let n=iW(t);e.set("baggage",n?`${n},${s}`:s)}else e.set("baggage",s)}return e}if(Array.isArray(o)){let e=[...o.filter(e=>!(Array.isArray(e)&&"sentry-trace"===e[0])).map(e=>{if(!Array.isArray(e)||"baggage"!==e[0]||"string"!=typeof e[1])return e;{let[t,n,...r]=e;return[t,iW(n),...r]}}),["sentry-trace",i]];return s&&e.push(["baggage",s]),e}{let e="baggage"in o?o.baggage:void 0,t=[];return Array.isArray(e)?t=e.map(e=>"string"==typeof e?iW(e):e).filter(e=>""===e):e&&t.push(iW(e)),s&&t.push(s),{...o,"sentry-trace":i,baggage:t.length>0?t.join(","):void 0}}}(t,n,e7()&&c?d:void 0);r&&(e.args[1]=n,n.headers=r)}return d}(e,l,u,c);if(e.response&&e.fetchData.__span&&iq.set(e.response,e.fetchData.__span),t){let n=iQ(e.fetchData.url),r=n?nR(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}o&&t&&iX(t)})),r&&nw(e=>{let t=function(e,t,n,r){let i=e.xhr,s=i&&i[nb];if(!i||i.__sentry_own_request__||!s)return;let o=e7()&&t(s.url);if(e.endTimestamp&&o){let e=i.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&void 0!==s.status_code&&(tt(t,s.status_code),t.end(),delete r[e]);return}let a=iQ(s.url),l=a?nR(a).host:void 0,u=!!tm(),c=o&&u?iA({name:`${s.method} ${s.url}`,attributes:{type:"xhr","http.method":s.method,"http.url":a,url:s.url,"server.address":l,[eZ]:"auto.http.browser",[eJ]:"http.client"}}):new iv;return i.__sentry_xhr_span_id__=c.spanContext().spanId,r[i.__sentry_xhr_span_id__]=c,n(s.url)&&function(e,t){let{"sentry-trace":n,baggage:r}=iH({span:t});n&&function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader("baggage",n)}catch(e){}}(e,n,r)}(i,e7()&&u?c:void 0),c}(e,l,u,c);o&&t&&iX(t)})}(e,{traceFetch:d,traceXHR:h,trackFetchStreamPerformance:p,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:f,enableHTTPTimings:g})}}};function i0(e,t,n){e.emit("startPageLoadSpan",t,n),eD().setTransactionName(t.name);let r=tm();return"pageload"===(r&&ta(r).op)?r:void 0}function i1(e,t){ej().setPropagationContext({traceId:em()}),eD().setPropagationContext({traceId:em()}),e.emit("startNavigationSpan",t),eD().setTransactionName(t.name);let n=tm();return"navigation"===(n&&ta(n).op)?n:void 0}function i2(e){var t;let n=(t=`meta[name=${e}]`,C.document&&C.document.querySelector?C.document.querySelector(t):null);return n?n.getAttribute("content"):void 0}let i3="incomplete-app-router-transaction";function i5(e){try{return new URL(e,"http://some-random-base.com/").pathname}catch(e){return"/"}}var i4=n(11163);let i6="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,i8=i4.events?i4:i4.default,i9=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function i7(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function se(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}let st=(e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in C&&void 0!==C.window,i=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),s=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(i||s){let e;let s=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,o=t?function(e,t){e=i7(e).slice(1),t=i7(t).slice(1);let n=se(e.split("/")),r=se(t.split("/")),i=Math.min(n.length,r.length),s=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){s=e;break}let o=[];for(let e=s;e<n.length;e++)o.push("..");return(o=o.concat(r.slice(s))).join("/")}(t,s):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=i9.exec(t);return n?n.slice(1):[]}(s)[2]||"";r.filename=`${n}${o}`}return r}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t&&t.frames&&t.frames.map(e=>i(e))}}}})}}}catch(t){return e}}(t)),t}}},sn=({assetPrefixPath:e})=>({...st({iteratee:t=>{try{let{origin:n}=new URL(t.filename);t.filename=k([t,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(n,"app://"),"access",e=>e.replace,"call",t=>t(e,"")])}catch(e){}return t.filename&&t.filename.startsWith("app:///_next")&&(t.filename=decodeURI(t.filename)),t.filename&&t.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(t.in_app=!1),t}}),name:"NextjsClientStackFrameNormalization"});var sr=n(34155);function si(e){return"/"===e[e.length-1]?e.slice(0,-1):e}var ss=n(34155);function so(){return"undefined"!=typeof window&&(!(!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==ss?ss:0))||function(){let e=C.process;return!!e&&"renderer"===e.type}())}let sa="sentryReplaySession",sl="Unable to send Replay";function su(e,t){return null!=e?e:t()}function sc(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],s=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=s(n)):("call"===i||"optionalCall"===i)&&(n=s((...e)=>n.call(t,...e)),t=void 0)}return n}function sd(e){let t=sc([e,"optionalAccess",e=>e.host]);return sc([t,"optionalAccess",e=>e.shadowRoot])===e}function sh(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function sp(e){try{var t;let n=e.rules||e.cssRules;return n?((t=Array.from(n,sf).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function sf(e){let t;if("styleSheet"in e)try{t=sp(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e&&e.selectorText.includes(":"))return e.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return t||e.cssText}(ra=rm||(rm={}))[ra.Document=0]="Document",ra[ra.DocumentType=1]="DocumentType",ra[ra.Element=2]="Element",ra[ra.Text=3]="Text",ra[ra.CDATA=4]="CDATA",ra[ra.Comment=5]="Comment";
27class sm{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){return e?su(sc([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]),()=>-1):-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function sg({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function sv({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function sy(e){return e.toLowerCase()}function s_(e){return e.toUpperCase()}let sb="__rrweb_original__";function sw(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?sy(t):null}function sx(e,t,n){return"INPUT"===t&&("radio"===n||"checkbox"===n)?e.getAttribute("value")||"":e.value}function sS(e,t){let n;try{n=new URL(e,su(t,()=>window.location.href))}catch(e){return null}return su(sc([n.pathname.match(/\.([0-9a-z]+)(?:$)/i),"optionalAccess",e=>e[1]]),()=>null)}let sE={};function sA(e){let t=sE[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(e){}return sE[e]=r.bind(window)}function sk(...e){return sA("setTimeout")(...e)}function sT(...e){return sA("clearTimeout")(...e)}let sC=1,sM=RegExp("[^a-z0-9-_:]");function sP(){return sC++}let sO=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,sI=/^(?:[a-z+]+:)?\/\//i,sR=/^www\..*/i,sD=/^(data:)([^,]*),(.*)/i;function sj(e,t){return(e||"").replace(sO,(e,n,r,i,s,o)=>{let a=r||s||o,l=n||i||"";if(!a)return e;if(sI.test(a)||sR.test(a)||sD.test(a))return`url(${l}${a}${l})`;if("/"===a[0])return`url(${l}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+a}${l})`;let u=t.split("/"),c=a.split("/");for(let e of(u.pop(),c))"."!==e&&(".."===e?u.pop():u.push(e));return`url(${l}${u.join("/")}${l})`})}let sN=/^[^ \t\n\r\u000c]+/,sL=/^[, \t\n\r\u000c]+/,sB=new WeakMap;function sF(e,t){return t&&""!==t.trim()?s$(e,t):t}function s$(e,t){let n=sB.get(e);if(n||(n=e.createElement("a"),sB.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function sz(e,t,n,r,i,s){return r?"src"!==n&&("href"!==n||"use"===t&&"#"===r[0])&&("xlink:href"!==n||"#"===r[0])&&("background"!==n||"table"!==t&&"td"!==t&&"th"!==t)?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;let i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}let i=[];for(;r(sL),!(n>=t.length);){let s=r(sN);if(","===s.slice(-1))s=sF(e,s.substring(0,s.length-1)),i.push(s);else{let r="";s=sF(e,s);let o=!1;for(;;){let e=t.charAt(n);if(""===e){i.push((s+r).trim());break}if(o)")"===e&&(o=!1);else{if(","===e){n+=1,i.push((s+r).trim());break}"("===e&&(o=!0)}r+=e,n+=1}}}return i.join(", ")}(e,r):"style"===n?sj(r,s$(e)):"object"===t&&"data"===n?sF(e,r):"function"==typeof s?s(n,r,i):r:sF(e,r):r}function sV(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function sU(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:sU(e.parentNode,t,n,r+1)}function sH(e,t){return n=>{if(null===n)return!1;try{if(e){if("string"==typeof e){if(n.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}(n,e))return!0}if(t&&n.matches(t))return!0;return!1}catch(e){return!1}}}function sW(e,t,n,r,i,s){try{let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===o)return!1;if("INPUT"===o.tagName){let e=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let a=-1,l=-1;if(s){if((l=sU(o,sH(r,i)))<0)return!0;
27a=sU(o,sH(t,n),l>=0?l:1/0)}else{if((a=sU(o,sH(t,n)))<0)return!1;l=sU(o,sH(r,i),a>=0?a:1/0)}return a>=0?!(l>=0)||a<=l:!(l>=0)&&!!s}catch(e){}return!!s}function sq(e){return null==e?"":e.toLowerCase()}function sY(e,t){let n;let{doc:r,mirror:i,blockClass:s,blockSelector:o,unblockSelector:a,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,skipChild:p=!1,inlineStylesheet:f=!0,maskInputOptions:m={},maskAttributeFn:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:w,dataURLOptions:x={},inlineImages:S=!1,recordCanvas:E=!1,onSerialize:A,onIframeLoad:k,iframeLoadTimeout:T=5e3,onStylesheetLoad:C,stylesheetLoadTimeout:M=5e3,keepIframeSrcFn:P=()=>!1,newlyAddedElement:O=!1}=t,{preserveWhiteSpace:I=!0}=t,R=function(e,t){let{doc:n,mirror:r,blockClass:i,blockSelector:s,unblockSelector:o,maskAllText:a,maskAttributeFn:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:f={},maskTextFn:m,maskInputFn:g,dataURLOptions:v={},inlineImages:y,recordCanvas:w,keepIframeSrcFn:x,newlyAddedElement:S=!1}=t,E=function(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:rm.Document,childNodes:[],compatMode:e.compatMode};return{type:rm.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:rm.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:E};case e.ELEMENT_NODE:return function(e,t){let n;let{doc:r,blockClass:i,blockSelector:s,unblockSelector:o,inlineStylesheet:a,maskInputOptions:l={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:d={},inlineImages:h,recordCanvas:p,keepIframeSrcFn:f,newlyAddedElement:m=!1,rootId:g,maskAllText:v,maskTextClass:y,unmaskTextClass:w,maskTextSelector:x,unmaskTextSelector:S}=t,E=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,i,s,o),A=function(e){if(e instanceof HTMLFormElement)return"form";let t=sy(e.tagName);return sM.test(t)?"div":t}(e),k={},T=e.attributes.length;for(let t=0;t<T;t++){let n=e.attributes[t];n.name&&!sV(A,n.name,n.value)&&(k[n.name]=sz(r,A,sy(n.name),n.value,e,u))}if("link"===A&&a){let t=Array.from(r.styleSheets).find(t=>t.href===e.href),n=null;t&&(n=sp(t)),n&&(delete k.rel,delete k.href,k._cssText=sj(n,t.href))}if("style"===A&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=sp(e.sheet);t&&(k._cssText=sj(t,s$(r)))}if("input"===A||"textarea"===A||"select"===A||"option"===A){let t=sw(e),n=sx(e,s_(A),t),r=e.checked;if("submit"!==t&&"button"!==t&&n){let r=sW(e,y,x,w,S,sg({type:t,tagName:s_(A),maskInputOptions:l}));k.value=sv({isMasked:r,element:e,value:n,maskInputFn:c})}r&&(k.checked=r)}if("option"===A&&(e.selected&&!l.select?k.selected=!0:delete k.selected),"canvas"===A&&p){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){let i=t.getImageData;if(new Uint32Array((sb in i?i[sb]:i).call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(k.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){let t=e.toDataURL(d.type,d.quality),n=r.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(d.type,d.quality)&&(k.rr_dataURL=t)}}if("img"===A&&h){_||(b=(_=r.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"<unknown-src>",n=e.crossOrigin,i=()=>{e.removeEventListener("load",i);try{_.width=e.naturalWidth,_.height=e.naturalHeight,b.drawImage(e,0,0),k.rr_dataURL=_.toDataURL(d.type,d.quality)}catch(n){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i);return}console.warn(`Cannot inline img src=${t}! Error: ${n}`)}"anonymous"===e.crossOrigin&&(n?k.crossOrigin=n:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i)}if(("audio"===A||"video"===A)&&(k.rr_mediaState=e.paused?"paused":"played",k.rr_mediaCurrentTime=e.currentTime),!m&&(e.scrollLeft&&(k.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(k.rr_scrollTop=e.scrollTop)),E){let{width:t,height:n}=e.getBoundingClientRect();k={class:k.class,rr_width:`${t}px`,rr_height:`${n}px`}}
27"iframe"!==A||f(k.src)||(E||e.contentDocument||(k.rr_src=k.src),delete k.src);try{customElements.get(A)&&(n=!0)}catch(e){}return{type:rm.Element,tagName:A,attributes:k,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:E,rootId:g,isCustom:n}}(e,{doc:n,blockClass:i,blockSelector:s,unblockSelector:o,inlineStylesheet:p,maskAttributeFn:l,maskInputOptions:f,maskInputFn:g,dataURLOptions:v,inlineImages:y,recordCanvas:w,keepIframeSrcFn:x,newlyAddedElement:S,rootId:E,maskAllText:a,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h});case e.TEXT_NODE:return function(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:s,unmaskTextSelector:o,maskTextFn:a,maskInputOptions:l,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName,h=e.textContent,p="STYLE"===d||void 0,f="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(p&&h){try{e.nextSibling||e.previousSibling||sc([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(h=sp(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}h=sj(h,s$(t.doc))}f&&(h="SCRIPT_PLACEHOLDER");let g=sW(e,r,s,i,o,n);return p||f||m||!h||!g||(h=a?a(h,e.parentElement):h.replace(/[\S]/g,"*")),m&&h&&(l.textarea||g)&&(h=u?u(h,e.parentNode):h.replace(/[\S]/g,"*")),"OPTION"===d&&h&&(h=sv({isMasked:sW(e,r,s,i,o,sg({type:null,tagName:d,maskInputOptions:l})),element:e,value:h,maskInputFn:u})),{type:rm.Text,textContent:h||"",isStyle:p,rootId:c}}(e,{doc:n,maskAllText:a,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,maskTextFn:m,maskInputOptions:f,maskInputFn:g,rootId:E});case e.CDATA_SECTION_NODE:return{type:rm.CDATA,textContent:"",rootId:E};case e.COMMENT_NODE:return{type:rm.Comment,textContent:e.textContent||"",rootId:E};default:return!1}}(e,{doc:r,mirror:i,blockClass:s,blockSelector:o,maskAllText:l,unblockSelector:a,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:f,maskInputOptions:m,maskAttributeFn:g,maskTextFn:v,maskInputFn:y,dataURLOptions:x,inlineImages:S,recordCanvas:E,keepIframeSrcFn:P,newlyAddedElement:O});if(!R)return console.warn(e,"not serialized"),null;n=i.hasNode(e)?i.getId(e):!function(e,t){if(t.comment&&e.type===rm.Comment)return!0;if(e.type===rm.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===sS(e.attributes.href))||t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(sq(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===sq(e.attributes.name)||"icon"===sq(e.attributes.rel)||"apple-touch-icon"===sq(e.attributes.rel)||"shortcut icon"===sq(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&sq(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(sq(e.attributes.property).match(/^(og|twitter|fb):/)||sq(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===sq(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===sq(e.attributes.name)||"googlebot"===sq(e.attributes.name)||"bingbot"===sq(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===sq(e.attributes.name)||"generator"===sq(e.attributes.name)||"framework"===sq(e.attributes.name)||"publisher"===sq(e.attributes.name)||"progid"===sq(e.attributes.name)||sq(e.attributes.property).match(/^article:/)||sq(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===sq(e.attributes.name)||"yandex-verification"===sq(e.attributes.name)||"csrf-token"===sq(e.attributes.name)||"p:domain_verify"===sq(e.attributes.name)||"verify-v1"===sq(e.attributes.name)||"verification"===sq(e.attributes.name)||"shopify-checkout-api-token"===sq(e.attributes.name)))return!0}}return!1}(R,w)&&(I||R.type!==rm.Text||R.isStyle||R.textContent.replace(/^\s+|\s+$/gm,"").length)?sP():-2;let D=Object.assign(R,{id:n});if(i.add(e,D),-2===n)return null;A&&A(e);let j=!p;if(D.type===rm.Element){j=j&&!D.needBlock,delete D.needBlock;let t=e.shadowRoot;t&&sh(t)&&(D.isShadowHost=!0)}if((D.type===rm.Document||D.type===rm.Element)&&j){w.headWhitespace&&D.type===rm.Element&&"head"===D.tagName&&(I=!1);let t={doc:r,mirror:i,blockClass:s,blockSelector:o,maskAllText:l,unblockSelector:a,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,skipChild:p,inlineStylesheet:f,maskInputOptions:m,maskAttributeFn:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:w,dataURLOptions:x,inlineImages:S,recordCanvas:E,preserveWhiteSpace:I,onSerialize:A,onIframeLoad:k,iframeLoadTimeout:T,onStylesheetLoad:C,stylesheetLoadTimeout:M,keepIframeSrcFn:P};for(let n of Array.from(e.childNodes)){let e=sY(n,t);e&&D.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=sY(n,t);r&&(sh(e.shadowRoot)&&(r.isShadow=!0),D.childNodes.push(r))}}return e.parentNode&&sd(e.parentNode)&&sh(e.parentNode)&&(D.isShadow=!0),D.type===rm.Element&&"iframe"===D.tagName&&function(e,t,n){let r;let i=e.contentWindow;if(!i)return;let s=!1;try{r=i.document.readyState}catch(e){return}if("complete"!==r){let r=sk(()=>{s||(t(),s=!0)},n);e.addEventListener("load",()=>{sT(r),s=!0,t()});return}let o="about:blank";if(i.location.href!==o||e.src===o||""===e.src)return sk(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=e.contentDocument;if(t&&k){let n=sY(t,{doc:t,mirror:i,blockClass:s,blockSelector:o,unblockSelector:a,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:f,maskInputOptions:m,maskAttributeFn:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:w,dataURLOptions:x,inlineImages:S,recordCanvas:E,preserveWhiteSpace:I,onSerialize:A,onIframeLoad:k,iframeLoadTimeout:T,onStylesheetLoad:C,stylesheetLoadTimeout:M,keepIframeSrcFn:P});n&&k(e,n)}},T),D.type===rm.Element&&"link"===D.tagName&&"string"==typeof D.attributes.rel&&("stylesheet"===D.attributes.rel||"preload"===D.attributes.rel&&"string"==typeof D.attributes.href&&"css"===sS(D.attributes.href))&&function(e,t,n){let r,i=!1;try{r=e.sheet}catch(e){return}if(r)return;let s=sk(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{sT(s),i=!0,t()})}(e,()=>{if(C){let t=sY(e,{doc:r,mirror:i,blockClass:s,blockSelector:o,unblockSelector:a,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:f,maskInputOptions:m,maskAttributeFn:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:w,dataURLOptions:x,inlineImages:S,recordCanvas:E,preserveWhiteSpace:I,onSerialize:A,onIframeLoad:k,iframeLoadTimeout:T,onStylesheetLoad:C,stylesheetLoadTimeout:M,keepIframeSrcFn:P});t&&C(e,t)}},M),D}function sG(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],s=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=s(n)):("call"===i||"optionalCall"===i)&&(n=s((...e)=>n.call(t,...e)),t=void 0)}return n}function sX(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let sK="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",sQ={map:{},getId:()=>(console.error(sK),-1),getNode:()=>(console.error(sK),null),removeNodeFromMap(){console.error(sK)},has:()=>(console.error(sK),!1),reset(){console.error(sK)}};function sJ(e,t,n={}){let r=null,i=0;return function(...s){let o=Date.now();i||!1!==n.leading||(i=o);let a=t-(o-i),l=this;a<=0||a>t?(r&&(function(...e){os("clearTimeout")(...e)}
27(r),r=null),i=o,e.apply(l,s)):r||!1===n.trailing||(r=oo(()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(l,s)},a))}}function sZ(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch(e){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(sQ=new Proxy(sQ,{get:(e,t,n)=>("map"===t&&console.error(sK),Reflect.get(e,t,n))}));let s0=Date.now;function s1(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:sG([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||sG([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||sG([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:sG([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||sG([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||sG([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function s2(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function s3(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function s5(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function s4(e,t,n,r,i){if(!e)return!1;let s=s5(e);if(!s)return!1;let o=sH(t,n);if(!i){let e=r&&s.matches(r);return o(s)&&!e}let a=sU(s,o),l=-1;return!(a<0)&&(r&&(l=sU(s,sH(null,r))),a>-1&&l<0||a<l)}function s6(e,t){return -2===t.getId(e)}function s8(e){return!!e.changedTouches}function s9(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function s7(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function oe(e){return!!sG([e,"optionalAccess",e=>e.shadowRoot])}/[1-9][0-9]{12}/.test(Date.now().toString())||(s0=()=>new Date().getTime());class ot{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){var t;return t=this.styleIDMap.get(e),null!=t?t:-1}has(e){return this.styleIDMap.has(e)}add(e,t){let n;return this.has(e)?this.getId(e):(n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function on(e){let t=null;return sG([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function or(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let n=function(e){let t,n=e;for(;t=on(n);)n=t;return n}(e);return t.contains(n)}(e))}let oi={};function os(e){let t=oi[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(e){}return oi[e]=r.bind(window)}function oo(...e){return os("setTimeout")(...e)}var oa=((rl=oa||{})[rl.DomContentLoaded=0]="DomContentLoaded",rl[rl.Load=1]="Load",rl[rl.FullSnapshot=2]="FullSnapshot",rl[rl.IncrementalSnapshot=3]="IncrementalSnapshot",rl[rl.Meta=4]="Meta",rl[rl.Custom=5]="Custom",rl[rl.Plugin=6]="Plugin",rl),ol=((ru=ol||{})[ru.Mutation=0]="Mutation",ru[ru.MouseMove=1]="MouseMove",ru[ru.MouseInteraction=2]="MouseInteraction",ru[ru.Scroll=3]="Scroll",ru[ru.ViewportResize=4]="ViewportResize",ru[ru.Input=5]="Input",ru[ru.TouchMove=6]="TouchMove",ru[ru.MediaInteraction=7]="MediaInteraction",ru[ru.StyleSheetRule=8]="StyleSheetRule",ru[ru.CanvasMutation=9]="CanvasMutation",ru[ru.Font=10]="Font",ru[ru.Log=11]="Log",ru[ru.Drag=12]="Drag",ru[ru.StyleDeclaration=13]="StyleDeclaration",ru[ru.Selection=14]="Selection",ru[ru.AdoptedStyleSheet=15]="AdoptedStyleSheet",ru[ru.CustomElement=16]="CustomElement",ru),ou=((r
27c=ou||{})[rc.MouseUp=0]="MouseUp",rc[rc.MouseDown=1]="MouseDown",rc[rc.Click=2]="Click",rc[rc.ContextMenu=3]="ContextMenu",rc[rc.DblClick=4]="DblClick",rc[rc.Focus=5]="Focus",rc[rc.Blur=6]="Blur",rc[rc.TouchStart=7]="TouchStart",rc[rc.TouchMove_Departed=8]="TouchMove_Departed",rc[rc.TouchEnd=9]="TouchEnd",rc[rc.TouchCancel=10]="TouchCancel",rc),oc=((rd=oc||{})[rd.Mouse=0]="Mouse",rd[rd.Pen=1]="Pen",rd[rd.Touch=2]="Touch",rd);class od{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=function(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],s=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=s(n)):("call"===i||"optionalCall"===i)&&(n=s((...e)=>n.call(t,...e)),t=void 0)}return n}([t,"optionalAccess",e=>e.next])||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let oh=(e,t)=>`${e}@${t}`;class op{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new od,r=e=>{let t=e,n=-2;for(;-2===n;)n=(t=t&&t.nextSibling)&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!or(i))return;let s=sd(i.parentNode)?this.mirror.getId(on(i)):this.mirror.getId(i.parentNode),o=r(i);if(-1===s||-1===o)return n.addNode(i);let a=sY(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{s9(e,this.mirror)&&!s4(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),s7(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),oe(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{s4(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});a&&(e.push({parentId:s,nextId:o,node:a}),t.add(a.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!om(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&i(e);for(let e of this.addedSet)og(this.droppedSet,e)||om(this.removes,e,this.mirror)?og(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let s=null;for(;n.length;){let e=null;if(s){let t=this.mirror.getId(s.value.parentNode),n=r(s.value);-1!==t&&-1!==n&&(e=s)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);
27if(-1===r(n.value))continue;if(-1!==t){e=n;break}{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}s=e.previous,n.removeNode(e.value),i(e.value)}let o={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!s6(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;s4(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:sW(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,s5(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){let n=sw(t),i=t.tagName;r=sx(t,i,n);let s=sg({maskInputOptions:this.maskInputOptions,tagName:i,type:n});r=sv({isMasked:sW(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,s),element:t,value:r,maskInputFn:this.maskInputFn})}if(s4(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let i=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(t.contentDocument)return;n="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}}
27,this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!sV(t.tagName,n)&&(i.attributes[n]=sz(this.doc,sy(t.tagName),sy(n),r,t,this.maskAttributeFn),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let n=this.unattachedDoc.createElement("span");for(let r of(e.oldValue&&n.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(r),s=t.style.getPropertyPriority(r);e!==n.style.getPropertyValue(r)||s!==n.style.getPropertyPriority(r)?""===s?i.styleDiff[r]=e:i.styleDiff[r]=[e,s]:i._unchangedStyles[r]=[e,s]}for(let e of Array.from(n.style))""===t.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(s4(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=sd(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);s4(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||s6(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(of(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||function e(t,n){if(sd(t))return!1;let r=n.getId(t);return!n.has(r)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,n))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[oh(n,r)]?of(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!(sd(e.target)&&sh(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(s6(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[oh(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!s4(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes.forEach(e=>this.genAdds(e)),oe(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function of(e,t){e.delete(t),t.childNodes.forEach(t=>of(e,t))}function om(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){let t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}(e,t,n)}function og(e,t){return 0!==e.size&&function e(t,n){let{parentNode:r}=n;return!!r&&(!!t.has(r)||e(t,r))}(e,t)}let ov=e=>w?(...t)=>{try{return e(...t)}catch(e){if(w&&!0===w(e))return()=>{};throw e}}:e;function oy(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],s=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=s(n)):("call"===i||"optionalCall"===i)&&(n=s((...e)=>n.call(t,...e)),t=void 0)}return n}let o_=[];function ob(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function ow(e,t){let n=new op;o_.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,i=oy([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);i&&window[i]&&(r=window[i]);let s=new r(ov(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function ox({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:s,sampling:o}){return sX("scroll",ov(sJ(ov(o=>{let a=ob(o);if(!a||s4(a,r,i,s,!0))return;let l=n.getId(a);if(a===t&&t.defaultView){let n=s1(t.defaultView);e({id:l,x:n.left,y:n.top})}else e({id:l,x:a.scrollLeft,y:a.scrollTop})}),o.scroll||100)),t)}let oS=["INPUT","TEXTAREA","SELECT"],oE=new WeakMap;function oA(e){var t;return t=[],oM("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||oM("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||oM("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||oM("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule?t.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&&t.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),t}function ok(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function oT({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);let i="#document"===n.nodeName?oy([n,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):oy([n,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),s=oy([i,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(oy([i,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&s?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:s.configurable,enumerable:s.enumerable,get(){return oy([s,"access",e=>
27e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){let n=oy([s,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),ov(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:s.configurable,enumerable:s.enumerable,get:s.get,set:s.set})})):()=>{}}function oC(e,t={}){let n;let r=e.doc.defaultView;if(!r)return()=>{};e.recordDOM&&(n=ow(e,e.doc));let i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){let i;if(!1===t.mousemove)return()=>{};let s="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,a=[],l=sJ(ov(t=>{let n=Date.now()-i;e(a.map(e=>(e.timeOffset-=n,e)),t),a=[],i=null}),o),u=ov(sJ(ov(e=>{let t=ob(e),{clientX:n,clientY:s}=s8(e)?e.changedTouches[0]:e;i||(i=s0()),a.push({x:n,y:s,id:r.getId(t),timeOffset:s0()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?ol.Drag:e instanceof MouseEvent?ol.MouseMove:ol.TouchMove)}),s,{trailing:!1})),c=[sX("mousemove",u,n),sX("touchmove",u,n),sX("drag",u,n)];return ov(()=>{c.forEach(e=>e())})}(e),s=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:s,sampling:o}){if(!1===o.mouseInteraction)return()=>{};let a=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,l=[],u=null,c=t=>o=>{let a=ob(o);if(s4(a,r,i,s,!0))return;let l=null,c=t;if("pointerType"in o){switch(o.pointerType){case"mouse":l=oc.Mouse;break;case"touch":l=oc.Touch;break;case"pen":l=oc.Pen}l===oc.Touch?ou[t]===ou.MouseDown?c="TouchStart":ou[t]===ou.MouseUp&&(c="TouchEnd"):oc.Pen}else s8(o)&&(l=oc.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===oc.Touch||c.startsWith("Mouse")&&l===oc.Mouse)&&(l=null)):ou[t]===ou.Click&&(l=u,u=null);let d=s8(o)?o.changedTouches[0]:o;if(!d)return;let h=n.getId(a),{clientX:p,clientY:f}=d;ov(e)({type:ou[c],id:h,x:p,y:f,...null!==l&&{pointerType:l}})};return Object.keys(ou).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e]).forEach(e=>{let n=sy(e),r=c(e);if(window.PointerEvent)switch(ou[e]){case ou.MouseDown:case ou.MouseUp:n=n.replace("mouse","pointer");break;case ou.TouchStart:case ou.TouchEnd:return}l.push(sX(n,r,t))}),ov(()=>{l.forEach(e=>e())})}(e),o=ox(e),a=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return sX("resize",ov(sJ(ov(()=>{let t=s2(),i=s3();(n!==t||r!==i)&&(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200)),t)}(e,{win:r}),l=function({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:s,ignoreClass:o,ignoreSelector:a,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:h,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:m}){function g(e){let n=ob(e),c=e.isTrusted,g=n&&s_(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||0>oS.indexOf(g)||s4(n,r,i,s,!0))return;let y=n;
27if(y.classList.contains(o)||a&&y.matches(a))return;let _=sw(n),b=sx(y,g,_),w=!1,x=sg({maskInputOptions:l,tagName:g,type:_}),S=sW(n,h,f,p,m,x);("radio"===_||"checkbox"===_)&&(w=n.checked),b=sv({isMasked:S,element:n,value:b,maskInputFn:u}),v(n,d?{text:b,isChecked:w,userTriggered:c}:{text:b,isChecked:w});let E=n.name;"radio"===_&&E&&w&&t.querySelectorAll(`input[type="radio"][name="${E}"]`).forEach(e=>{if(e!==n){let t=sv({isMasked:S,element:e,value:sx(e,g,_),maskInputFn:u});v(e,d?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}})}function v(t,r){let i=oE.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){oE.set(t,r);let i=n.getId(t);ov(e)({...r,id:i})}}let y=("last"===c.input?["change"]:["input","change"]).map(e=>sX(e,ov(g),t)),_=t.defaultView;if(!_)return()=>{y.forEach(e=>e())};let b=_.Object.getOwnPropertyDescriptor(_.HTMLInputElement.prototype,"value"),w=[[_.HTMLInputElement.prototype,"value"],[_.HTMLInputElement.prototype,"checked"],[_.HTMLSelectElement.prototype,"value"],[_.HTMLTextAreaElement.prototype,"value"],[_.HTMLSelectElement.prototype,"selectedIndex"],[_.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&y.push(...w.map(e=>(function e(t,n,r,i,s=window){let o=s.Object.getOwnPropertyDescriptor(t,n);return s.Object.defineProperty(t,n,i?r:{set(e){oo(()=>{r.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>e(t,n,o||{},!0)})(e[0],e[1],{set(){ov(g)({target:this,isTrusted:!1})}},!1,_))),ov(()=>{y.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:s,doc:o}){let a=ov(o=>sJ(ov(s=>{let a=ob(s);if(!a||s4(a,t,n,r,!0))return;let{currentTime:l,volume:u,muted:c,playbackRate:d}=a;e({type:o,id:i.getId(a),currentTime:l,volume:u,muted:c,playbackRate:d})}),s.media||500)),l=[sX("play",a(0),o),sX("pause",a(1),o),sX("seeked",a(2),o),sX("volumechange",a(3),o),sX("ratechange",a(4),o)];return ov(()=>{l.forEach(e=>e())})}(e),c=()=>{},d=()=>{},h=()=>{},p=()=>{};e.recordDOM&&(c=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){let i,s;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let o=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:ov((r,i,s)=>{let[o,a]=s,{id:l,styleId:u}=ok(i,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:o,index:a}]}),r.apply(i,s)})});let a=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:ov((r,i,s)=>{let[o]=s,{id:a,styleId:l}=ok(i,t,n.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,removes:[{index:o}]}),r.apply(i,s)})}),r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:ov((r,i,s)=>{let[o]=s,{id:a,styleId:l}=ok(i,t,n.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,replace:o}),r.apply(i,s)})})),r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:ov((r,i,s)=>{let[o]=s,{id:a,styleId:l}=ok(i,t,n.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,replaceSync:o}),r.apply(i,s)})}));let l={};oP("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(oP("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),oP("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),oP("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));let u={};return Object.entries(l).forEach(([r,i])=>{u[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(u[r].insertRule,{apply:ov((r,i,s)=>{let[o,a]=s,{id:l,styleId:u}=ok(i.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:o,index:[...oA(i),a||0]}]}),r.apply(i,s)})}),i.prototype.deleteRule=new Proxy(u[r].deleteRule,{apply:ov((r,i,s)=>{let[o]=s,{id:a,styleId:l}=ok(i.parentStyleSheet,t,n.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,removes:[{index:[...oA(i),o]}]}),r.apply(i,s)})})}),ov(()=>{r.CSSStyleSheet.prototype.insertRule=o,r.CSSStyleSheet.prototype.deleteRule=a,i&&(r.CSSStyleSheet.prototype.replace=i),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule})})}(e,{win:r}),d=oT(e,e.doc),h=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){let s=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:ov((i,o,a)=>{let[l,u,c]=a;if(n.has(l))return s.apply(o,[l,u,c]);let{id:d,styleId:h}=ok(oy([o,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(d&&-1!==d||h&&-1!==h)&&e({id:d,styleId:h,set:{property:l,value:u,priority:c},index:oA(o.parentRule)}),i.apply(o,a)})});let o=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:ov((i,s,a)=>{let[l]=a;if(n.has(l))return o.apply(s,[l]);let{id:u,styleId:c}=ok(oy([s,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:l},index:oA(s.parentRule)}),i.apply(s,a)})}),ov(()=>{i.CSSStyleDeclaration.prototype.setProperty=s,i.CSSStyleDeclaration.prototype.removeProperty=o})}(e,{win:r}),e.collectFonts&&(p=function({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],i=new WeakMap,s=n.FontFace;n.FontFace=function(e,t,n){let r=new s(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let o=sZ(t.fonts,"add",function(t){return function(n){return oo(ov(()=>{let t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=s}),r.push(o),ov(()=>
27{r.forEach(e=>e())})}(e)));let f=function(e){let{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:s,selectionCb:o}=e,a=!0,l=ov(()=>{let e=t.getSelection();if(!e||a&&oy([e,"optionalAccess",e=>e.isCollapsed]))return;a=e.isCollapsed||!1;let l=[],u=e.rangeCount||0;for(let t=0;t<u;t++){let{startContainer:o,startOffset:a,endContainer:u,endOffset:c}=e.getRangeAt(t);s4(o,r,i,s,!0)||s4(u,r,i,s,!0)||l.push({start:n.getId(o),startOffset:a,end:n.getId(u),endOffset:c})}o({ranges:l})});return l(),sX("selectionchange",l)}(e),m=function({doc:e,customElementCb:t}){let n=e.defaultView;return n&&n.customElements?sZ(n.customElements,"define",function(e){return function(n,r,i){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,i])}}):()=>{}}(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,r,t.options));return ov(()=>{o_.forEach(e=>e.reset()),oy([n,"optionalAccess",e=>e.disconnect,"call",e=>e()]),i(),s(),o(),a(),l(),u(),c(),d(),h(),p(),f(),m(),g.forEach(e=>e())})}function oM(e){return void 0!==window[e]}function oP(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class oO{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let i=n||this.getIdToRemoteIdMap(e),s=r||this.getRemoteIdToIdMap(e),o=i.get(t);return o||(o=this.generateIdFn(),i.set(t,o),s.set(o,t)),o}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
27getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:r.get(t)||-1}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function oI(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],s=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=s(n)):("call"===i||"optionalCall"===i)&&(n=s((...e)=>n.call(t,...e)),t=void 0)}return n}class oR{constructor(){this.crossOriginIframeMirror=new oO(sP),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class oD{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new oO(sP),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new oO(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),oI([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let n=this.transformCrossOriginEvent(t,e.data.event);n&&this.wrappedEmit(n,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case oa.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:oa.IncrementalSnapshot,data:{source:ol.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case oa.Meta:case oa.Load:case oa.DomContentLoaded:break;case oa.Plugin:return t;case oa.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case oa.IncrementalSnapshot:switch(t.data.source){case ol.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ol.Drag:case ol.TouchMove:case ol.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ol.ViewportResize:return!1;case ol.MediaInteraction:case ol.MouseInteraction:case ol.Scroll:case ol.CanvasMutation:case ol.Input:return this.replaceIds(t.data,e,["id"]),t;case ol.StyleSheetRule:case ol.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case ol.Font:return t;case ol.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case ol.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),oI([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t(t=>{this.replaceStyleIds(t,e,["styleId"])})]),t}}return!1}replace(e,t,n,r){for(let i of r)(Array.isArray(t[i])||"number"==typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEac
27h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===rm.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class oj{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class oN{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!sh(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let n=ow({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(ox({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),oo(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(oT({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(sZ(e.prototype,"attachShadow",function(e){return function(r){let i=e.call(this,r);return this.shadowRoot&&or(this)&&n.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class oL{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class oB{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new ot,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:sf(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class oF{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){os("requestAnimationFrame")(...e)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=k([e,"access",e=>e.contentWindow,"optionalAccess",e=>e.Array,"access",e=>e.from])||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let o$=new sm;function oz(e={}){let t;let{emit:n,checkoutEveryNms:r,checkoutEveryNth:i,blockClass:s="rr-block",blockSelector:o=null,unblockSelector:a=null,ignoreClass:l="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:h=null,maskTextSelector:p=null,unmaskTextSelector:f=null,inlineStylesheet:m=!0,maskAllInputs:g,maskInputOptions:v,slimDOMOptions:y,maskAttributeFn:_,maskInputFn:b,maskTextFn:E,maxCanvasSize:A=null,packFn:T,sampling:C={},dataURLOptions:M={},mousemoveWait:P,recordDOM:O=!0,recordCanvas:I=!1,recordCrossOriginIframes:R=!1,recordAfter:D="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:j=!1,collectFonts:N=!1,inlineImages:L=!1,plugins:B,keepIframeSrcFn:F=()=>!1,ignoreCSSAttributes:$=new Set([]),errorHandler:z,onMutation:V,getCanvasManager:U}=e;w=z;let H=!R||window.parent===window,W=!1;if(!H)try{window.parent.document&&(W=!1)}catch(e){W=!0}if(H&&!n)throw Error("emit function is required");if(!H&&!W)return()=>{};void 0!==P&&void 0===C.mousemove&&(C.mousemove=P),o$.reset();let q=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==v?v:{},Y=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode);return!1})}();let G=0,X=e=>{for(let t of B||[])t.eventProcessor&&(e=t.eventProcessor(e));return T&&!W&&(e=T(e)),e};x=(e,s)=>{if(e.timestamp=s0(),k([o_,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])&&e.type!==oa.FullSnapshot&&!(e.type===oa.IncrementalSnapshot&&e.data.source===ol.Mutation)&&o_.forEach(e
27=>e.unfreeze()),H)k([n,"optionalCall",t=>t(X(e),s)]);else if(W){let t={type:"rrweb",event:X(e),origin:window.location.origin,isCheckout:s};window.parent.postMessage(t,"*")}if(e.type===oa.FullSnapshot)t=e,G=0;else if(e.type===oa.IncrementalSnapshot){if(e.data.source===ol.Mutation&&e.data.isAttachIframe)return;G++;let n=i&&G>=i,s=r&&t&&e.timestamp-t.timestamp>r;(n||s)&&ei(!0)}};let K=e=>{x({type:oa.IncrementalSnapshot,data:{source:ol.Mutation,...e}})},Q=e=>x({type:oa.IncrementalSnapshot,data:{source:ol.Scroll,...e}}),J=e=>x({type:oa.IncrementalSnapshot,data:{source:ol.CanvasMutation,...e}}),Z=new oB({mutationCb:K,adoptedStyleSheetCb:e=>x({type:oa.IncrementalSnapshot,data:{source:ol.AdoptedStyleSheet,...e}})}),ee="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new oR:new oD({mirror:o$,mutationCb:K,stylesheetManager:Z,recordCrossOriginIframes:R,wrappedEmit:x});for(let e of B||[])e.getMirror&&e.getMirror({nodeMirror:o$,crossOriginIframeMirror:ee.crossOriginIframeMirror,crossOriginIframeStyleMirror:ee.crossOriginIframeStyleMirror});let et=new oF,en=function(e,t){try{return e?e(t):new oL}catch(e){return console.warn("Unable to initialize CanvasManager"),new oL}}(U,{mirror:o$,win:window,mutationCb:e=>x({type:oa.IncrementalSnapshot,data:{source:ol.CanvasMutation,...e}}),recordCanvas:I,blockClass:s,blockSelector:o,unblockSelector:a,maxCanvasSize:A,sampling:C.canvas,dataURLOptions:M,errorHandler:z}),er="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new oj:new oN({mutationCb:K,scrollCb:Q,bypassOptions:{onMutation:V,blockClass:s,blockSelector:o,unblockSelector:a,maskAllText:c,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:m,maskInputOptions:q,dataURLOptions:M,maskAttributeFn:_,maskTextFn:E,maskInputFn:b,recordCanvas:I,inlineImages:L,sampling:C,slimDOMOptions:Y,iframeManager:ee,stylesheetManager:Z,canvasManager:en,keepIframeSrcFn:F,processedNodeManager:et},mirror:o$}),ei=(e=!1)=>{if(!O)return;x({type:oa.Meta,data:{href:window.location.href,width:s3(),height:s2()}},e),Z.reset(),er.init(),o_.forEach(e=>e.lock());let t=function(e,t){let{mirror:n=new sm,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:s=null,maskAllText:o=!1,maskTextClass:a="rr-mask",unmaskTextClass:l=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inlineImages:h=!1,recordCanvas:p=!1,maskAllInputs:f=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOM:y=!1,dataURLOptions:_,preserveWhiteSpace:b,onSerialize:w,onIframeLoad:x,iframeLoadTimeout:S,onStylesheetLoad:E,stylesheetLoadTimeout:A,keepIframeSrcFn:k=()=>!1}=t||{};return sY(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:s,maskAllText:o,maskTextClass:a,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===f?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===f?{}:f,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===y,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===y?{}:y,dataURLOptions:_,inlineImages:h,recordCanvas:p,preserveWhiteSpace:b,onSerialize:w,onIframeLoad:x,iframeLoadTimeout:S,onStylesheetLoad:E,stylesheetLoadTimeout:A,keepIframeSrcFn:k,newlyAddedElement:!1})}(document,{mirror:o$,blockClass:s,blockSelector:o,unblockSelector:a,maskAllText:c,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:m,maskAllInputs:q,maskAttributeFn:_,maskInputFn:b,maskTextFn:E,slimDOM:Y,dataURLOptions:M,recordCanvas:I,inlineImages:L,onSerialize:e=>{s9(e,o$)&&ee.addIframe(e),s7(e,o$)&&Z.trackLinkElement(e),oe(e)&&er.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{ee.attachIframe(e,t),e.contentWindow&&en.addWindow(e.contentWindow),er.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Z.attachLinkElement(e,t)},keepIframeSrcFn:F});if(!t)return console.warn("Failed to snapshot the document");x({type:oa.FullSnapshot,data:{node:t,initialOffset:s1(window)}}
27),o_.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Z.adoptStyleSheets(document.adoptedStyleSheets,o$.getId(document))};S=ei;try{let e=[],t=e=>ov(oC)({onMutation:V,mutationCb:K,mousemoveCb:(e,t)=>x({type:oa.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>x({type:oa.IncrementalSnapshot,data:{source:ol.MouseInteraction,...e}}),scrollCb:Q,viewportResizeCb:e=>x({type:oa.IncrementalSnapshot,data:{source:ol.ViewportResize,...e}}),inputCb:e=>x({type:oa.IncrementalSnapshot,data:{source:ol.Input,...e}}),mediaInteractionCb:e=>x({type:oa.IncrementalSnapshot,data:{source:ol.MediaInteraction,...e}}),styleSheetRuleCb:e=>x({type:oa.IncrementalSnapshot,data:{source:ol.StyleSheetRule,...e}}),styleDeclarationCb:e=>x({type:oa.IncrementalSnapshot,data:{source:ol.StyleDeclaration,...e}}),canvasMutationCb:J,fontCb:e=>x({type:oa.IncrementalSnapshot,data:{source:ol.Font,...e}}),selectionCb:e=>{x({type:oa.IncrementalSnapshot,data:{source:ol.Selection,...e}})},customElementCb:e=>{x({type:oa.IncrementalSnapshot,data:{source:ol.CustomElement,...e}})},blockClass:s,ignoreClass:l,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:f,maskInputOptions:q,inlineStylesheet:m,sampling:C,recordDOM:O,recordCanvas:I,inlineImages:L,userTriggeredOnInput:j,collectFonts:N,doc:e,maskAttributeFn:_,maskInputFn:b,maskTextFn:E,keepIframeSrcFn:F,blockSelector:o,unblockSelector:a,slimDOMOptions:Y,dataURLOptions:M,mirror:o$,iframeManager:ee,stylesheetManager:Z,shadowDomManager:er,processedNodeManager:et,canvasManager:en,ignoreCSSAttributes:$,plugins:k([B,"optionalAccess",e=>e.filter,"call",e=>e(e=>e.observer),"optionalAccess",e=>e.map,"call",e=>e(e=>({observer:e.observer,options:e.options,callback:t=>x({type:oa.Plugin,data:{plugin:e.name,payload:t}})}))])||[]},{});ee.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{ei(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(sX("DOMContentLoaded",()=>{x({type:oa.DomContentLoaded,data:{}}),"DOMContentLoaded"===D&&n()})),e.push(sX("load",()=>{x({type:oa.Load,data:{}}),"load"===D&&n()},window))),()=>{e.forEach(e=>e()),et.destroy(),S=void 0,w=void 0}}catch(e){console.warn(e)}}function oV(e){return e>9999999999?e:1e3*e}function oU(e){return e>9999999999?e/1e3:e}function oH(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:oa.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:eX(t,10,1e3)}}),"console"===t.category)))}function oW(e){return e.closest("button,a")||e}function oq(e){let t=oY(e);return t&&t instanceof Element?oW(t):t}function oY(e){return"object"==typeof e&&e&&"target"in e?e.target:e}oz.mirror=o$,oz.takeFullSnapshot=function(e){if(!S)throw Error("please take full snapshot after start recording");S(e)};let oG=new Set([ol.Mutation,ol.StyleSheetRule,ol.StyleDeclaration,ol.AdoptedStyleSheet,ol.CanvasMutation,ol.Selection,ol.MediaInteraction]);class oX{constructor(e,t,n=oH){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){var e;let t=(e=()=>{this._lastMutation=oQ()},E||(E=[],ei(C,"open",function(e){return function(...t){if(E)try{E.forEach(e=>e())}catch(e){}return e.apply(C,t)}})),E.push(e),()=>{let t=E?E.indexOf(e):-1;t>-1&&E.splice(t,1)});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){var n;if(n=this._ignoreSelector,!oK.includes(t.tagName)||"INPUT"===t.tagName&&!["submit","button"].includes(t.getAttribute("type")||"")||"A"===t.tagName&&(t.hasAttribute("download")||t.hasAttribute("target")&&"_self"!==t.getAttribute("target"))||n&&t.matches(n)||!(e.data&&"number"==typeof e.data.nodeId&&e.timestamp))return;let r={timestamp:oU(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===r.node&&1>
27Math.abs(e.timestamp-r.timestamp))||(this._clicks.push(r),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=oU(e)}registerScroll(e=Date.now()){this._lastScroll=oU(e)}registerClick(e){let t=oW(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=oQ();for(let n of(this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}),e)){let e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:i,clickBreadcrumb:s}=e;if(!n&&!r){let n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",o={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.slowClickDetected",data:{...s.data,url:C.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:i||1}};this._addBreadcrumbEvent(t,o);return}if(i>1){let e={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:{...s.data,url:C.location.href,route:t.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=rt(()=>this._checkClicks(),1e3)}}let oK=["A","BUTTON","INPUT"];function oQ(){return Date.now()/1e3}function oJ(e){return{timestamp:Date.now()/1e3,type:"default",...e}}(rh=rg||(rg={}))[rh.Document=0]="Document",rh[rh.DocumentType=1]="DocumentType",rh[rh.Element=2]="Element",rh[rh.Text=3]="Text",rh[rh.CDATA=4]="CDATA",rh[rh.Comment=5]="Comment";let oZ=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]),o0=e=>t=>{if(!e.isEnabled())return;let n=function(e){let{target:t,message:n}=function(e){let t;let n="click"===e.name,r=null;try{r=n?oq(e.event):oY(e.event),t=Y(r,{maxStringLength:200})||"<unknown>"}catch(e){t="<unknown>"}return{target:r,message:t}}(e);return oJ({category:`ui.${e.name}`,...o1(t,n)})}(t);if(!n)return;let r="click"===t.name,i=r?t.event:void 0;r&&e.clickDetector&&i&&i.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&function(e,t,n){e.handleClick(t,n)}(e.clickDetector,n,oq(t.event)),oH(e,n)};function o1(e,t){let n=oz.mirror.getId(e),r=n&&oz.mirror.getNode(n),i=r&&oz.mirror.getMeta(r),s=i&&i.type===rg.Element?i:null;return{message:t,data:s?{nodeId:n,node:{id:n,tagName:s.tagName,textContent:Array.from(s.childNodes).map(e=>e.type===rg.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let n in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(oZ.has(n)){let r=n;("data-testid"===n||"data-test-id"===n)&&(r="testId"),t[r]=e[n]}return t}(s.attributes)}}:{}}}let o2={resource:function(e){let{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:s,decodedBodySize:o,encodedBodySize:a,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:o4(s),end:o4(i),name:r,data:{size:u,statusCode:l,decodedBodySize:o,encodedBodySize:a}}},paint:function(e){let{duration:t,entryType:n,name:r,startTime:i}=e,s=o4(i);return{type:n,name:r,start:s,end:s+t,data:void 0}},navigation:function(e){let{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:s,encodedBodySize:o,domContentLoadedEventStart:a,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:h,startTime:p,transferSize:f,type:m}=e;return 0===i?null:{type:`${t}.${m}`,start:o4(p),end:o4(s),name:n,data:{size:f,decodedBodySize:r,encodedBodySize:o,duration:i,domInteractive:u,domContentLoadedEventStart:a,domContentLoadedEventEnd:l,loadEventStart:c,loadEventEnd:d,domComplete:s,redirectCount:h}}}};function o3(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function o5(e){let t=o2[e.entryType];return t?t(e):null}function o4(e){return((ef||C.performance.timeOrigin)+e)/1e3}function o6(e){let t=e.entries[e.entries.length-1];return ae(e,"largest-contentful-paint",t&&t.element?[t.element]:void 0)}function o8(e){let t=[],n=[];for(let r of e.entries)if(void 0!==r.sources){let e=[];for(let t of r.sources)if(t.node){n.push(t.node);let r=oz.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return ae(e,"cumulative-layout-shift",n,t)}function o9(e){let t=e.entries[e.entries.length-1];return ae(e,"first-input-delay",t&&t.target?[t.target]:void 0)}function o7(e){let t=e.entries[e.entries.length-1];return ae(e,"interaction-to-next-paint",t&&t.target?[t.target]:void 0)}function ae(e,t,n,r){let i=e.value,s=e.rating,o=o4(i);return{type:"web-vital",name:t,start:o,end:o,data:{value:i,size:i,rating:s,nodeIds:n?n.map(e=>oz.mirror.getId(e)):void 0,attributions:r}}}let at="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,an=["info","warn","error","log"],ar="[Replay] ";function ai(e,t="info"){nP({category:"console",data:{logger:"replay"},level:t,message:`${ar}${e}`},{level:t})}let as=function(){let e=!1,t=!1,n={exception:()=>void 0,infoTick:()=>void 0,setConfig:n=>{e=n.captureExceptions,t=n.traceInternals}};
27return at?(an.forEach(e=>{n[e]=(...n)=>{ee[e](ar,...n),t&&ai(n.join(""),nO(e))}}),n.exception=(r,...i)=>{i.length&&n.error&&n.error(...i),ee.error(ar,r),e?tA(r):t&&ai(r,"error")},n.infoTick=(...e)=>{ee.info(ar,...e),t&&setTimeout(()=>ai(e[0]),0)}):an.forEach(e=>{n[e]=()=>void 0}),n}();class ao extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class aa{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new ao;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?oV(e):null}}class al{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){at&&as.info("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,i)=>{let s=({data:t})=>{if(t.method===e&&t.id===n){if(this._worker.removeEventListener("message",s),!t.success){at&&as.error("Error in compression worker: ",t.response),i(Error("Error in compression worker"));return}r(t.response)}};this._worker.addEventListener("message",s),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class au{constructor(e){this._worker=new al(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=oV(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return(this._totalSize+=n.length,this._totalSize>2e7)?Promise.reject(new ao):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{at&&as.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class ac{constructor(e){this._fallback=new aa,this._compression=new au(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){at&&as.exception(e,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(let t of e)r.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(e){at&&as.exception(e,"Failed to add events when switching buffers.")}}}function ad(){try{return"sessionStorage"in C&&!!C.sessionStorage}catch(e){return!1}}function ah(e){return void 0!==e&&Math.random()<e}function ap(e){let t=Date.now(),n=e.id||em(),r=e.started||t,i=e.lastActivity||t;return{id:n,started:r,lastActivity:i,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function af(e){if(ad())try{C.sessionStorage.setItem(sa,JSON.stringify(e))}catch(e){}}function am({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let i=ap({sampled:ah(e)?"session":!!t&&"buffer",previousSessionId:r});return n&&af(i),i}function ag(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function av(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return ag(e.started,t,r)||ag(e.lastActivity,n,r)}function ay(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!av(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function a_({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){let i=r.stickySession&&function(){if(!ad())return null;try{let e=C.sessionStorage.getItem(sa);if(!e)return null;let t=JSON.parse(e);return at&&as.infoTick("Loading existing session"),ap(t)}catch(e){return null}}();return i?ay(i,{sessionIdleExpire:e,maxReplayDuration:t})?(at&&as.infoTick("Session in sessionStorage is expired, creating new one..."),am(r,{previousSessionId:i.id})):i:(at&&as.infoTick("Creating new session"),am(r,{previousSessionId:n}))}function ab(e,t,n){return!!ax(e,t)&&(aw(e,t,n),!0)}async function aw(e,t,n){let{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;let i="buffer"===e.recordingMode;
27try{n&&i&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);let s=e.getOptions(),o=function(e,t){try{if("function"==typeof t&&e.type===oa.Custom)return t(e)}catch(e){return at&&as.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,s.beforeAddRecordingEvent);if(!o)return;return await r.addEvent(o)}catch(s){let t=s&&s instanceof ao;if(t&&i)return r.clear(),r.waitForCheckout=!0,null;e.handleException(s),await e.stop({reason:t?"addEventSizeExceeded":"addEvent"});let n=eL();n&&n.recordDroppedEvent("internal_sdk_error","replay")}}function ax(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=oV(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(at&&as.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1))}function aS(e){return"transaction"===e.type}function aE(e){return"feedback"===e.type}function aA(e){return!!e.category}function ak(){let e=eD().getPropagationContext().dsc;e&&delete e.replay_id;let t=tm();if(t){let e=tb(t);delete e.replay_id}}function aT(e,t){return t.map(({type:t,start:n,end:r,name:i,data:s})=>{let o=e.throttledAddEvent({type:oa.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:s}}});return"string"==typeof o?Promise.resolve(null):o})}function aC(e,t){var n;e.isEnabled()&&null!==t&&(n=t.name,(!at||!e.getOptions()._experiments.traceInternals)&&function(e,t){let n=t&&t.getDsn(),r=t&&t.getOptions().tunnel;return!!n&&e.includes(n.host)||!!r&&si(e)===si(r)}(n,eL())||e.addUpdate(()=>(aT(e,[t]),!0)))}function aM(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=aL(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function aP(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function aO(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[aL(e)];if(!e)return[void 0]}catch(t){return at&&as.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return at&&as.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function aI(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function aR(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:i,method:s,statusCode:o,request:a,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:ed({method:s,statusCode:o,request:a,response:l})}}function aD(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function aj(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:i,warnings:s}=function(e){if(!e||"string"!=typeof e)return{body:e};let t=e.length>15e4,n=function(e){let t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){let t=e.slice(0,15e4);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}â¦`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}(n);return r.body=i,s&&s.length>0&&(r._meta={warnings:s}),r}function aN(e,t){return Object.entries(e).reduce((n,[r,i])=>{let s=r.toLowerCase();return t.includes(s)&&e[r]&&(n[s]=i),n},{})}function aL(e){return new URLSearchParams(e).toString()}function aB(e,t=C.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(C.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function aF(e,t,n){try{let r=await a$(e,t,n),i=aR("resource.fetch",r);aC(n.replay,i)}catch(e){at&&as.exception(e,"Failed to capture fetch breadcrumb")}}async function a$(e,t,n){var r,i;let s=Date.now(),{startTimestamp:o=s,endTimestamp:a=s}=t,{url:l,method:u,status_code:c=0,request_body_size:d,response_body_size:h}=e.data,p=(r=n.networkDetailAllowUrls,er(aB(l),r)&&(i=n.networkDetailDenyUrls,!er(aB(l),i)));return{startTimestamp:o,endTimestamp:a,url:l,method:u,statusCode:c,request:p?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){let i=n?1===n.length&&"string"!=typeof n[0]?aW(n[0],t):2===n.length?aW(n[1],t):{}:{};if(!e)return aj(i,r,void 0);let[s,o]=aO(aU(n)),a=aj(i,r,s);return o?aI(a,o):a}(n,t.input,d):aD(d),response:await az(p,n,t.response,h)}}async function az(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,i){if(!e&&void 0!==i)return aD(i);let s=r?aH(r.headers,n):{};if(!r||!t&&void 0!==i)return aj(s,i,void 0);let[o,a]=await aV(r),l=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:i}){try{let s=e&&e.length&&void 0===n?aM(e):n;if(!r)return aD(s);if(t)return aj(i,s,e);return aj(i,s,void 0)}catch(e){return at&&as.exception(e,"Failed to serialize response body"),aj(i,n,void 0)}}(o,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:s});return a?aI(l,a):l}async function aV(e){let t=function(e){try{return e.clone()}catch(e){at&&as.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];
27try{return[await new Promise((e,n)=>{let r=rt(()=>n(Error("Timeout while trying to read response body")),500);aq(t).then(t=>e(t),e=>n(e)).finally(()=>clearTimeout(r))})]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return at&&as.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"];return at&&as.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function aU(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function aH(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function aW(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?aH(n,t):Array.isArray(n)?{}:aN(n,t):{}}async function aq(e){return await e.text()}async function aY(e,t,n){try{let r=function(e,t,n){var r,i;let s=Date.now(),{startTimestamp:o=s,endTimestamp:a=s,input:l,xhr:u}=t,{url:c,method:d,status_code:h=0,request_body_size:p,response_body_size:f}=e.data;if(!c)return null;if(!u||(r=n.networkDetailAllowUrls,!er(aB(c),r))||(i=n.networkDetailDenyUrls,er(aB(c),i))){let e=aD(p);return{startTimestamp:o,endTimestamp:a,url:c,method:d,statusCode:h,request:e,response:aD(f)}}let m=u[nb],g=m?aN(m.request_headers,n.networkRequestHeaders):{},v=aN(function(e){let t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}(u),n.networkResponseHeaders),[y,_]=n.networkCaptureBodies?aO(l):[void 0],[b,w]=n.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return at&&as.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return at&&as.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){t.push(e)}return at&&as.warn("Failed to get xhr response body",...t),[void 0]}(u):[void 0],x=aj(g,p,y),S=aj(v,f,b);return{startTimestamp:o,endTimestamp:a,url:c,method:d,statusCode:h,request:_?aI(x,_):x,response:w?aI(S,w):S}}(e,t,n),i=aR("resource.xhr",r);aC(n.replay,i)}catch(e){at&&as.exception(e,"Failed to capture xhr breadcrumb")}}async function aG(e){try{return Promise.all(aT(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}(C.performance.memory)]))}catch(e){return[]}}async function aX({client:e,scope:t,replayId:n,event:r}){let i={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,i);let s=await tS(e.getOptions(),r,i,t,e,ej());if(!s)return null;s.platform=s.platform||"javascript";let o=e.getSdkMetadata(),{name:a,version:l}=o&&o.sdk||{};return s.sdk={...s.sdk,name:a||"sentry.javascript.unknown",version:l||"0.0.0"},s}async function aK({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:s}){var o;let a;let l=function({recordingData:e,headers:t}){let n;let r=`${JSON.stringify(t)} 28`;if("string"==typeof e)n=`${r}${e}`;else{let t=new TextEncoder().encode(r);(n=new Uint8Array(t.length+e.length)).set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:u,errorIds:c,traceIds:d,initialTimestamp:h}=r,p=eL(),f=eD(),m=p&&p.getTransport(),g=p&&p.getDsn();if(!p||!m||!g||!s.sampled)return eF({});let v={type:"replay_event",replay_start_timestamp:h/1e3,timestamp:i/1e3,error_ids:c,trace_ids:d,urls:u,replay_id:t,segment_id:n,replay_type:s.sampled},y=await aX({scope:f,client:p,replayId:t,event:v});if(!y)return p.recordDroppedEvent("event_processor","replay",v),at&&as.info("An event processor returned `null`, will not send event."),eF({});delete y.sdkProcessingMetadata;let _=(o=p.getOptions().tunnel,t5(t7(y,t9(y),o,g),[[{type:"replay_event"},y],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{a=await m.send(_)}catch(t){let e=Error(sl);try{e.cause=t}catch(e){}throw e}if("number"==typeof a.statusCode&&(a.statusCode<200||a.statusCode>=300))throw new aQ(a.statusCode);let b=rr({},a);if(rn(b,"replay"))throw new aJ(b);return a}
28class aQ extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class aJ extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function aZ(e,t={count:0,interval:5e3}){let{recordingData:n,onError:r}=e;if(n.length)try{return await aK(e),!0}catch(n){if(n instanceof aQ||n instanceof aJ)throw n;if(tT("Replays",{_retryCount:t.count}),r&&r(n),t.count>=3){let e=Error(`${sl} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,new Promise((n,r)=>{rt(async()=>{try{await aZ(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}let a0="__THROTTLED";class a1{constructor({options:e,recordingOptions:t}){a1.prototype.__init.call(this),a1.prototype.__init2.call(this),a1.prototype.__init3.call(this),a1.prototype.__init4.call(this),a1.prototype.__init5.call(this),a1.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,i,s;let o=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return l(),r=e()}function l(){void 0!==i&&clearTimeout(i),void 0!==s&&clearTimeout(s),i=s=void 0}function u(){return i&&clearTimeout(i),i=rt(a,t),o&&void 0===s&&(s=rt(a,o)),r}return u.cancel=l,u.flush=function(){return void 0!==i||void 0!==s?a():r},u}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,t,n){let r=new Map,i=e=>{let t=e-5;r.forEach((e,n)=>{n<t&&r.delete(n)})},s=()=>[...r.values()].reduce((e,t)=>e+t,0),o=!1;return(...t)=>{let n=Math.floor(Date.now()/1e3);if(i(n),s()>=300){let e=o;return o=!0,e?"__SKIPPED":a0}o=!1;let a=r.get(n)||0;return r.set(n,a+1),e(...t)}}((e,t)=>ax(this,e)?aw(this,e,t):Promise.resolve(null),0,0);let{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(i&&(this.clickDetector=new oX(this,i)),at){let t=e._experiments;as.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){at&&as.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;if(this._requiresManualStart=r,!r){if(this._initializeSessionForSampling(e),!this.session){at&&as.exception(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",at&&as.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode){at&&as.info("Recording is already in progress");return}if(this._isEnabled&&"buffer"===this.recordingMode){at&&as.info("Buffering is in progress, call `flush()` to save the replay");return}at&&as.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=a_({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled){at&&as.info("Buffering is in progress, call `flush()` to save the replay");return}at&&as.infoTick("Starting replay in buffer mode");let e=a_({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let t;let n=this._canvas;this._stopRecording=oz({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,t=!1,(n,r)=>{if(!e.checkAndHandleExpiredSession()){at&&as.warn("Received replay event after session expired.");return}let i=r||!t;t=!0,e.clickDetector&&function(e,t){try{if(3!==t.type)return;let{source:n}=t.data;if(oG.has(n)&&e.registerMutation(t.timestamp),n===ol.Scroll&&e.registerScroll(t.timestamp),t.data.source===ol.MouseInteraction){let{type:n,id:r}=t.data,i=oz.mirror.getNode(r);i instanceof HTMLElement&&n===ou.Click&&e.registerClick(i)}}catch(e){}}(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!ab(e,n,i))return!0;
28if(!i)return!1;let t=e.session;if(i&&e.session&&0===e.session.segmentId&&ab(e,function(e){let t=e.getOptions();return{type:oa.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1),"buffer"===e.recordingMode&&t&&e.eventBuffer){let n=e.eventBuffer.getEarliestTimestamp();n&&(at&&as.info(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&af(t))}return!!t&&!!t.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),onMutation:this._onMutationHandler,...n?{recordCanvas:n.recordCanvas,getCanvasManager:n.getCanvasManager,sampling:n.sampling,dataURLOptions:n.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{at&&as.info(`Stopping Replay${t?` triggered by ${t}`:""}`),ak(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,function(){if(ad())try{C.sessionStorage.removeItem(sa)}catch(e){}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){!this._isPaused&&(this._isPaused=!0,this.stopRecording(),at&&as.info("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),at&&as.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();at&&as.info("Converting buffer to session"),await this.flushImmediate();let n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&ag(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${C.location.pathname}${C.location.hash}${C.location.search}`,t=`${C.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===a0){let e=oJ({category:"replay.throttled"});this.addUpdate(()=>!ab(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastActiveSpan||tm(),t=e&&tf(e),n=(t&&ta(t).data||{})[eK];if(t&&n&&["route","custom"].includes(n))return ta(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=function(e){try{let t=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){let e=new Blob(['var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}
vendor: 5,457 bytes, line 28
28},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=A(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},U=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=x(f,15),M=b.t,E=b.l,A=x(h,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},O=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=C[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(a[t]^a[t+1]<<A^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=U(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;
28++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=U(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&j(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(O(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(J)return J.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),a=0,s=function(t){i[a++]=t},o=0;o<e;++o){if(a+5>i.length){var f=new t(a+8+(e-o<<1));f.set(i),i=f}var h=n.charCodeAt(o);h<128||r?s(h):h<2048?(s(192|h>>6),s(128|63&h)):h>55295&&h<57344?(s(240|(h=65536+(1047552&h)|1023&n.charCodeAt(++o))>>18),s(128|h>>12&63),s(128|h>>6&63),s(128|63&h)):(s(224|h>>12),s(128|h>>6&63),s(128|63&h))}return b(i,0,a)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),a=i.length;return q(i,n),j(i,a-8,r.d()),j(i,a-4,e),i}(P(t))}const R=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new H,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}());if(!t)return;at&&as.info(`Using compression worker${e?` from ${e}`:""}`);let n=new Worker(t);return new ac(n)}catch(e){at&&as.exception(e,"Failed to create compression worker")}}(t);if(e)return e}return at&&as.info("Using simple buffer"),new aa}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=a_({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return!ay(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{C.document.addEventListener("visibilitychange",this._handleVisibilityChange),C.addEventListener("blur",this._handleWindowBlur),C.addEventListener("focus",this._handleWindowFocus),C.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e){let t=eL();nv(o0(e)),tB(t=>{if(!e.isEnabled())return;let n=function(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(aT(e,[n]),!1)))}),function(e){let t=eL();t&&t.on("beforeAddBreadcrumb",t=>(function(e,t){if(!e.isEnabled()||!aA(t))return;let n=!aA(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui.")?null:"console"===t.category?function(e){let t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return oJ(e);let n=!1,r=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(n=!0,`${e.slice(0,5e3)}â¦`):e;if("object"==typeof e)try{let t=eX(e,7);if(JSON.stringify(t).length>5e3)return n=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}â¦`;return t}catch(e){}return e});return oJ({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t):oJ(t);n&&oH(e,n)})(e,t))}(e),function(e){let t=eL();try{let{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:s,networkResponseHeaders:o}=e.getOptions(),a={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:s,networkResponseHeaders:o};t&&t.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,n){if(t.data)try{var r,i;"xhr"===t.category&&(r=n)&&r.xhr&&(function(e,t){let{xhr:n,input:r}=t;if(!n)return;let i=aM(r),s=n.getResponseHeader("content-length")?aP(n.getResponseHeader("content-length")):function(e,t){try{let n="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return aM(n)}catch(e){return}}(n.response,n.responseType);void 0!==i&&(e.data.request_body_size=i),void 0!==s&&(e.data.response_body_size=s)}(t,n),aY(t,n,e)),"fetch"===t.category&&(i=n)&&i.response&&(function(e,t){let{input
28:n,response:r}=t,i=aM(n?aU(n):void 0),s=r?aP(r.headers.get("content-length")):void 0;void 0!==i&&(e.data.request_body_size=i),void 0!==s&&(e.data.response_body_size=s)}(t,n),aF(t,n,e))}catch(e){at&&as.exception(e,"Error when enriching network breadcrumb")}})(a,e,t))}catch(e){}}(e),tC(Object.assign((t,n)=>!e.isEnabled()||e.isPaused()?t:"replay_event"===t.type?(delete t.breadcrumbs,t):!t.type||aS(t)||aE(t)?e.checkAndHandleExpiredSession()?aE(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:oa.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t):!t.type&&t.exception&&t.exception.values&&t.exception.values.length&&n.originalException&&n.originalException.__rrweb__&&!e.getOptions()._experiments.captureExceptions?(at&&as.log("Ignoring error from rrweb internals",t),null):(("buffer"===e.recordingMode&&t.message!==sl&&t.exception&&!t.type&&ah(e.getOptions().errorSampleRate)||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):(ak(),t):t,{id:"Replay"})),t&&(t.on("beforeSendEvent",t=>{e.isEnabled()&&!t.type&&function(e,t){let n=t.exception&&t.exception.values&&t.exception.values[0]&&t.exception.values[0].value;"string"==typeof n&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&oH(e,oJ({category:"replay.hydrate-error",data:{url:G()}}))}(e,t)}),t.on("afterSendEvent",(t,n)=>{if(!e.isEnabled()||t.type&&!aS(t))return;let r=n&&n.statusCode;if(r&&!(r<200)&&!(r>=300)){if(aS(t)){(function(e,t){let n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)})(e,t);return}(function(e,t){let n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&rt(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})})(e,t)}}),t.on("createDsc",t=>{let n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),t.on("spanStart",t=>{e.lastActiveSpan=t}),t.on("spanEnd",t=>{e.lastActiveSpan=t}),t.on("beforeSendFeedback",(t,n)=>{let r=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&r&&t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=r)}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push(io(e,n))}),r.push(ir(o3(o6,e)),it(o3(o8,e)),ii(o3(o9,e)),is(o3(o7,e))),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{C.document.removeEventListener("visibilitychange",this._handleVisibilityChange),C.removeEventListener("blur",this._handleWindowBlur),C.removeEventListener("focus",this._handleWindowFocus),C.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===C.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{let e=oJ({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{let e=oJ({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=function(e){var t;let{metaKey:n,shiftKey:r,ctrlKey:i,altKey:s,key:o,target:a}=e;if(!a||"INPUT"===(t=a).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!o)return null;let l=n||i||s,u=1===o.length;if(!l&&u)return null;
28let c=Y(a,{maxStringLength:200})||"<unknown>",d=o1(a,c);return oJ({category:"ui.keyDown",message:c,data:{...d.data,metaKey:n,shiftKey:r,ctrlKey:i,altKey:s,key:o}})}(t);n&&oH(e,n)}(this,e)}}_doChangeToBackgroundTasks(e){!this.session||av(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){at&&as.info("Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:oa.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(o5).filter(Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(aT(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}
28_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){at&&as.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await aG(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let i=await this.eventBuffer.finish();await aZ({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendReplay"});let e=eL();e&&e.recordDroppedEvent(t instanceof aJ?"ratelimit_backoff":"send_error","replay")}}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){at&&as.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i){at&&as.info(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),r&&this._debouncedFlush();return}let s=this.eventBuffer;s&&0===this.session.segmentId&&!s.hasCheckout&&at&&as.info("Flushing initial segment without checkout.");let o=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,o&&this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&af(this.session)}__init6(){this._onMutationHandler=e=>{let t=e.length,n=this._options.mutationLimit,r=this._options.mutationBreadcrumbLimit,i=n&&t>n;if(t>r||i){let e=oJ({category:"replay.mutations",data:{count:t,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function a2(e,t){return[...e,...t].join(",")}let a3='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',a5=["content-length","content-type","accept"],a4=!1;class a6{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:s=!0,workerUrl:o,_experiments:a={},maskAllText:l=!0,maskAllInputs:u=!0,blockAllMedia:c=!0,mutationBreadcrumbLimit:d=750,mutationLimit:h=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:f=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:v=!0,networkRequestHeaders:y=[],networkResponseHeaders:_=[],mask:b=[],maskAttributes:w=["title","placeholder"],unmask:x=[],block:S=[],unblock:E=[],ignore:A=[],maskFn:k,beforeAddRecordingEvent:T,beforeErrorSampling:C,onError:M}={}){this.name=a6.id;let P=function({mask:e,unmask:t,block:n,unblock:r,ignore:i}){return{maskTextSelector:a2(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:a2(t,[]),blockSelector:a2(n,[".sentry-block","[data-sentry-block]",'base[href="/"]']),unblockSelector:a2(r,[]),ignoreSelector:a2(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:b,unmask:x,block:S,unblock:E,ignore:A});if(this._recordingOptions={maskAllInputs:u,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:k,maskInputFn:k,maskAttributeFn:(e,t,n)=>(function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:s}){return!r||i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?s:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?s.replace(/[\S]/g,"*"):s})({maskAttributes:w,maskAllText:l,privacyOptions:P,key:e,value:t,el:n}),...P,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,3
286e5),stickySession:i,useCompression:s,workerUrl:o,blockAllMedia:c,maskAllInputs:u,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:h,slowClickTimeout:p,slowClickIgnoreSelectors:f,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:v,networkRequestHeaders:a8(y),networkResponseHeaders:a8(_),beforeAddRecordingEvent:T,beforeErrorSampling:C,onError:M,_experiments:a},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${a3}`:a3),this._isInitialized&&so())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return a4}set _isInitialized(e){a4=e}afterAllSetup(e){so()&&!this._replay&&(this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}getRecordingMode(){if(this._replay&&this._replay.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){let t=function(e,t){let n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...ed(e)},i=nt(n.replaysSessionSampleRate),s=nt(n.replaysOnErrorSampleRate);return null==i&&null==s&&Z(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=i&&(r.sessionSampleRate=i),null!=s&&(r.errorSampleRate=s),r}(this._initialOptions,e);this._replay=new a1({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch(e){}}}function a8(e){return[...a5,...e.map(e=>e.toLowerCase())]}a6.__initStatic();var a9=n(34155);globalThis._sentryRewritesTunnelPath=void 0,globalThis.SENTRY_RELEASE={id:"aVPaBdLjX3OgpqqfGEK10"},globalThis._sentryBasePath=void 0,globalThis._sentryRewriteFramesAssetPrefixPath="",function(e){let t={environment:function(e){let t=e?ry.env.NEXT_PUBLIC_VERCEL_ENV:ry.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=ro(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(function(e={}){let t=iZ({...e,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){var i;r&&(i=e,C.document.getElementById("__NEXT_DATA__")?i8.events.on("routeChangeStart",e=>{let t,n;let r=e.split(/[?#]/,1)[0],s=function(e){let t=(C.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let n=function(e){let t=e.split("/"),n="";k([t,"access",e=>e[t.length-1],"optionalAccess",e=>e.match,"call",e=>e(/^\[\[\.\.\..+\]\]$/)])&&(t.pop(),n="(?:/(.+?))?");let r=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${n}(?:/)?$`)}(t);return e.match(n)})}(r);s?(t=s,n="route"):(t=r,n="url"),i1(i,{name:t,attributes:{[eJ]:"navigation",[eZ]:"auto.navigation.nextjs.pages_router_instrumentation",[eK]:n}})}):function(e){let t;C.addEventListener("popstate",()=>{t&&t.isRecording()?(t.updateName(C.location.pathname),t.setAttribute(eK,"url")):t=i1(e,{name:C.location.pathname,attributes:{[eJ]:"navigation",[eZ]:"auto.navigation.nextjs.app_router_instrumentation",[eK]:"url","navigation.type":"browser.popstate"}})});let n=!1,r=0,i=setInterval(()=>{var s,o;r++;let a=(s=k([C,"optionalAccess",e=>e.next,"optionalAccess",e=>e.router]),o=()=>k([C,"optionalAccess",e=>e.nd,"optionalAccess",e=>e.router]),null!=s?s:o());n||r>500?clearInterval(i):a&&(clearInterval(i),n=!0,["back","forward","push","replace"].forEach(n=>{k([a,"optionalAccess",e=>e[n]])&&(a[n]=new Proxy(a[n],{apply(r,i,s){let o=i1(e,{name:i3,attributes:{[eJ]:"navigation",[eZ]:"auto.navigation.nextjs.app_router_instrumentation",[eK]:"url"}});return t=o,"push"===n?(k([o,"optionalAccess",e=>e.updateName,"call",e=>e(i5(s[0]))]),k([o,"optionalAccess",e=>e.setAttribute,"call",e=>e(eK,"url")]),k([o,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.push")])):"replace"===n?(k([o,"optionalAccess",e=>e.updateName,"call",e=>e(i5(s[0]))]),k([o,"optionalAccess",e=>e.setAttribute,"call",e=>e(eK,"url")]),k([o,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.replace")])):"back"===n?k([o,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.back")]):"forward"===n&&k([o,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.forward")]),r.apply(i,s)}}))}))},20)}(i)),t.afterAllSetup(e),n&&(C.document.getElementById("__NEXT_DATA__")?function(e){let{route:t,params:n,sentryTrace:r,baggage:i}=function(){let e;let t=C.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){i6&&ee.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:i,props:s}=e;return n.route=r,n.params=i,s&&s.pageProps&&(n.sentryTrace=s.pageProps._sentryTraceData,n.baggage=s.pageProps._sentryBaggage),n}(),s=e8(i),o=t||C.location.pathname;s&&s["sentry-transaction"]&&"/_error"===o&&(o=(o=s["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,"")),i0(e,{name:o,startTime:ef?ef/1e3:void 0,attributes:{[eJ]:"pageload",[eZ]:"auto.pageload.nextjs.pages_router_instrumentation",[eK]:t?"route":"url",...n&&e.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:r,baggage:i})}(e):i0(e,{name:C.location.pathname,startTime:ef?ef/1e3:void 0,attributes:{[eJ]:"pageload",[eZ]:"auto.pageload.nextjs.app_router_instrumentation",[eK]:"url"}}))}}}());let n=C._sentryRewriteFramesAssetPrefixPath||"";return t.push(sn({assetPrefixPath:n})),t}(e),...e};(function(e){let t=sr.env._sentryRewritesTunnelPath||C._sentryRewritesTunnelPath;if(t&&e.dsn){let n=t2(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],s=r[2],o=`${t}?o=${i}&p=${n.projectId}`;s&&(o+=`&r=${s}`),e.tunnel=o,i6&&ee.info(`Tunneling events to "${o}"`)}else i6&&ee.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}})(t),P(t,"nextjs",["nextjs","react"]),function(e){let t={...e};P(t,"react"),tT("react",{version:rv.version}),function(e={}){var t;let n=function(e={}){let t={defaultIntegrations:ro(),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:C.SENTRY_RELEASE&&C.SENTRY_RELEASE.id?C.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,{...t,...e}}(e);if(!n.skipBrowserExtensionCheck&&function(){let e=void 0!==C.window&&C;if(!e)return!1;let t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,i=C.location&&C.location.href||"",s=!!r&&C===C.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>i.startsWith(`${e}//`)),o=void 0!==e.nw;return!!r&&!s&&!o}()){Z(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}no&&!tJ()&&ee.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."),function(e,t){!0===t.debug&&(eB?ee.enable():Z(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),eD().update(t.initialScope);let n=new e(t);eD().setClient(n),n.init()}(ng,{...n,stackParser:Array.isArray(t=n.stackParser||n6)?eH(...t):t,integrations:function(e){let t;let n=e.defaultIntegrations||[],r=e.integrations;
28if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(r))t=[...n,...r];else if("function"==typeof r){let e=r(n);t=Array.isArray(e)?e:[e]}else t=n;let i=function(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(t),s=i.findIndex(e=>"Debug"===e.name);if(s>-1){let[e]=i.splice(s,1);i.push(e)}return i}(n),transport:n.transport||rs}),n.autoSessionTracking&&function(){if(void 0===C.document){no&&ee.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}tM({ignoreDuration:!0}),tI(),tB(({from:e,to:t})=>{void 0!==e&&e!==t&&(tM({ignoreDuration:!0}),tI())})}()}(t)}(t);let n=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;n.id="NextClient404Filter",tC(n);let r=e=>"transaction"===e.type&&e.transaction===i3?null:e;r.id="IncompleteTransactionFilter",tC(r);let i=(e,t)=>{var n;return j(n=k([t,"optionalAccess",e=>e.originalException]))&&"string"==typeof n.digest&&n.digest.startsWith("NEXT_REDIRECT;")?null:e};i.id="NextRedirectErrorFilter",tC(i)}({dsn:a9.env.NEXT_PUBLIC_SENTRY_DSN,integrations:[new a6(A)],enabled:!0,tracesSampleRate:1,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1})},38199:function(e,t){"use strict";var n,r,i,s;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return o},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return h},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let o="refresh",a="navigate",l="restore",u="server-patch",c="prefetch",d="fast-refresh",h="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=n||(n={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(s=r||(r={})).fresh="fresh",s.reusable="reusable",s.expired="expired",s.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87195:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(98337),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},32903:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});let r=n(38754),i=n(61757),s=n(85893),o=i._(n(67294)),a=r._(n(23867)),l=n(96594),u=n(84229),c=n(23945);n(83179);let d=n(98337);function h(e){return"/"===e[0]?e.slice(1):e}let p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},f=new Set,m="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",g=new Map([["default",function(e){let{config:t,src:n,width:r,quality:i}=e;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:(0,d.normalizePathTrailingSlash)(t.path)+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}],["imgix",function(e){let{config:t,src:n,width:r,quality:i}=e,s=new URL(""+t.path+h(n)),o=s.searchParams;return o.set("auto",o.getAll("auto").join(",")||"format"),o.set("fit",o.get("fit")||"max"),o.set("w",o.get("w")||r.toString()),i&&o.set("q",i.toString()),s.href}],["cloudinary",function(e){let{config:t,src:n,width:r,quality:i}=e,s=["f_auto","c_limit","w_"+r,"q_"+(i||"auto")].join(",")+"/";return""+t.path+s+h(n)}],["akamai",function(e){let{config:t,src:n,width:r}=e;return""+t.path+h(n)+"?imwidth="+r}],["custom",function(e){let{src:t}=e;throw Error('Image with src "'+t+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}]]);function v(e){return void 0!==e.default}
28function y(e){let{config:t,src:n,unoptimized:r,layout:i,width:s,quality:o,sizes:a,loader:l}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:u,kind:c}=function(e,t,n,r){let{deviceSizes:i,allSizes:s}=e;if(r&&("fill"===n||"responsive"===n)){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:s.filter(t=>t>=i[0]*e),kind:"w"}}return{widths:s,kind:"w"}}return"number"!=typeof t||"fill"===n||"responsive"===n?{widths:i,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>s.find(t=>t>=e)||s[s.length-1]))],kind:"x"}}(t,s,i,a),d=u.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:u.map((e,r)=>l({config:t,src:n,quality:o,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:l({config:t,src:n,quality:o,width:u[d]})}}function _(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function b(e){var t;let n=(null==(t=e.config)?void 0:t.loader)||"default",r=g.get(n);if(r)return r(e);throw Error('Unknown "loader" found in "next.config.js". Expected: '+l.VALID_LOADERS.join(", ")+". Received: "+n)}function w(e,t,n,r,i,s){e&&e.src!==m&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentNode&&(f.add(t),"blur"===r&&s(!0),null==i?void 0:i.current)){let{naturalWidth:t,naturalHeight:n}=e;i.current({naturalWidth:t,naturalHeight:n})}}))}let x=e=>{let{imgAttributes:t,heightInt:n,widthInt:r,qualityInt:i,layout:a,className:l,imgStyle:u,blurStyle:c,isLazy:d,placeholder:h,loading:p,srcString:f,config:m,unoptimized:g,loader:v,onLoadingCompleteRef:_,setBlurComplete:b,setIntersection:x,onLoad:S,onError:E,isVisible:A,noscriptSizes:k,...T}=e;return p=d?"lazy":p,(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{...T,...t,decoding:"async","data-nimg":a,className:l,style:{...u,...c},ref:(0,o.useCallback)(e=>{x(e),(null==e?void 0:e.complete)&&w(e,f,a,h,_,b)},[x,f,a,h,_,b]),onLoad:e=>{w(e.currentTarget,f,a,h,_,b),S&&S(e)},onError:e=>{"blur"===h&&b(!0),E&&E(e)}}),(d||"blur"===h)&&(0,s.jsx)("noscript",{children:(0,s.jsx)("img",{...T,loading:p,decoding:"async","data-nimg":a,style:u,className:l,...y({config:m,src:f,unoptimized:g,layout:a,width:r,quality:i,sizes:k,loader:v})})})]})};function S(e){var t;let n,{src:r,sizes:i,unoptimized:d=!1,priority:h=!1,loading:g,lazyRoot:w=null,lazyBoundary:S,className:E,quality:A,width:k,height:T,style:C,objectFit:M,objectPosition:P,onLoadingComplete:O,placeholder:I="empty",blurDataURL:R,...D}=e,j=(0,o.useContext)(c.ImageConfigContext),N=(0,o.useMemo)(()=>{let e=p||j||l.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[j]),L=i?"responsive":"intrinsic";"layout"in D&&(D.layout&&(L=D.layout),delete D.layout);let B=b;if("loader"in D){if(D.loader){let e=D.loader;B=t=>{let{config:n,...r}=t;return e(r)}}delete D.loader}let F="";if("object"==typeof(t=r)&&(v(t)||void 0!==t.src)){let e=v(r)?r.default:r;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(R=R||e.blurDataURL,F=e.src,(!L||"fill"!==L)&&(T=T||e.height,k=k||e.width,!e.height||!e.width))throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e))}let $=!h&&("lazy"===g||void 0===g);((r="string"==typeof r?r:F).startsWith("data:")||r.startsWith("blob:"))&&(d=!0,$=!1),f.has(r)&&($=!1),N.unoptimized&&(d=!0);let[z,V]=(0,o.useState)(!1),[U,H,W]=(0,u.useIntersection)({rootRef:w,rootMargin:S||"200px",disabled:!$}),q=!$||H,Y={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},G={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},X=!1,K=_(k),Q=_(T),J=_(A),Z=Object.assign({},C,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:M,objectPosition:P}),ee="blur"!==I||z?{}:{backgroundSize:M||"cover",backgroundPosition:P||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'+R+'")'};if("fill"===L)Y.display="block",Y.position="absolute",Y.top=0,Y.left=0,Y.bottom=0,Y.right=0;else if(void 0!==K&&void 0!==Q){let e=Q/K,t=isNaN(e)?"100%":""+100*e+"%";"responsive"===L?(Y.display="block",Y.position="relative",X=!0,G.paddingTop=t):"intrinsic"===L?(Y.display="inline-block",Y.position="relative",Y.maxWidth="100%",X=!0,G.maxWidth="100%",n="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27"+K+"%27%20height=%27"+Q+"%27/%3e"):"fixed"===L&&(Y.display="inline-block",Y.position="relative",Y.width=K,Y.height=Q)}let et={src:m,srcSet:void 0,sizes:void 0};q&&(et=y({config:N,src:r,unoptimized:d,layout:L,width:K,quality:J,sizes:i,loader:B}));let en=r,er={imageSrcSet:et.srcSet,imageSizes:et.sizes,crossOrigin:D.crossOrigin,referrerPolicy:D.referrerPolicy},ei=o.default.useLayoutEffect,es=(0,o.useRef)(O),eo=(0,o.useRef)(r);(0,o.useEffect)(()=>{es.current=O},[O]),ei(()=>{eo.current!==r&&(W(),eo.current=r)},[W,r]);
28let ea={isLazy:$,imgAttributes:et,heightInt:Q,widthInt:K,qualityInt:J,layout:L,className:E,imgStyle:Z,blurStyle:ee,loading:g,config:N,unoptimized:d,placeholder:I,loader:B,srcString:en,onLoadingCompleteRef:es,setBlurComplete:V,setIntersection:U,isVisible:q,noscriptSizes:i,...D};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{style:Y,children:[X?(0,s.jsx)("span",{style:G,children:n?(0,s.jsx)("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:n}):null}):null,(0,s.jsx)(x,{...ea})]}),h?(0,s.jsx)(a.default,{children:(0,s.jsx)("link",{rel:"preload",as:"image",href:et.srcSet?void 0:et.src,...er},"__nimg-"+et.src+et.srcSet+et.sizes)}):null]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});let r=n(38754),i=n(85893),s=r._(n(67294)),o=n(36075),a=n(53955),l=n(48041),u=n(99903),c=n(65490),d=n(81928),h=n(60257),p=n(84229),f=n(87195),m=n(89470),g=n(38199),v=new Set;function y(e,t,n,r,i,s){if(s||(0,a.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(v.has(i))return;v.add(i)}(async()=>s?e.prefetch(t,i):e.prefetch(t,n,r))().catch(e=>{})}}function _(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=s.default.forwardRef(function(e,t){let n,r;let{href:l,as:v,children:b,prefetch:w=null,passHref:x,replace:S,shallow:E,scroll:A,locale:k,onClick:T,onMouseEnter:C,onTouchStart:M,legacyBehavior:P=!1,...O}=e;n=b,P&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let I=s.default.useContext(d.RouterContext),R=s.default.useContext(h.AppRouterContext),D=null!=I?I:R,j=!I,N=!1!==w,L=null===w?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:B,as:F}=s.default.useMemo(()=>{if(!I){let e=_(l);return{href:e,as:v?_(v):e}}let[e,t]=(0,o.resolveHref)(I,l,!0);return{href:e,as:v?(0,o.resolveHref)(I,v):t||e}},[I,l,v]),$=s.default.useRef(B),z=s.default.useRef(F);P&&(r=s.default.Children.only(n));let V=P?r&&"object"==typeof r&&r.ref:t,[U,H,W]=(0,p.useIntersection)({rootMargin:"200px"}),q=s.default.useCallback(e=>{(z.current!==F||$.current!==B)&&(W(),z.current=F,$.current=B),U(e),V&&("function"==typeof V?V(e):"object"==typeof V&&(V.current=e))},[F,V,B,W,U]);s.default.useEffect(()=>{D&&H&&N&&y(D,B,F,{locale:k},{kind:L},j)},[F,B,H,k,N,null==I?void 0:I.locale,D,j,L]);let Y={ref:q,onClick(e){P||"function"!=typeof T||T(e),P&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),D&&!e.defaultPrevented&&function(e,t,n,r,i,o,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let h=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?s.default.startTransition(h):h()}(e,D,B,F,S,E,A,k,j)},onMouseEnter(e){P||"function"!=typeof C||C(e),P&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),D&&(N||!j)&&y(D,B,F,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:L},j)},onTouchStart:function(e){P||"function"!=typeof M||M(e),P&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),D&&(N||!j)&&y(D,B,F,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:L},j)}};if((0,u.isAbsoluteUrl)(F))Y.href=F;else if(!P||x||"a"===r.type&&!("href"in r.props)){let e=void 0!==k?k:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,f.getDomainLocale)(F,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);Y.href=t||(0,m.addBasePath)((0,c.addLocale)(F,e,null==I?void 0:I.defaultLocale))}return P?s.default.cloneElement(r,Y):(0,i.jsx)("a",{...O,...Y,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
28dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(67294),i=n(84474),s="function"==typeof IntersectionObserver,o=new Map,a=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!s,[c,d]=(0,r.useState)(!1),h=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{h.current=e},[]);return(0,r.useEffect)(()=>{if(s){if(u||c)return;let e=h.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:s}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=a.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=o.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},a.push(n),o.set(n,t),t}(n);return s.set(e,t),i.observe(e),function(){if(s.delete(e),i.unobserve(e),0===s.size){i.disconnect(),o.delete(r);let e=a.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,h.current]),[p,c,(0,r.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96833:function(e,t,n){"use strict";var r=n(85893);let i=(0,n(67294).forwardRef)((e,t)=>{let n,{text:i="",className:s="",semantics:o="h6"}=e;if(!i)return null;switch(o){case"h1":n=(0,r.jsx)("h1",{className:s,dangerouslySetInnerHTML:{__html:i}});break;case"h2":n=(0,r.jsx)("h2",{ref:t,className:s,dangerouslySetInnerHTML:{__html:i}});break;case"h3":n=(0,r.jsx)("h3",{className:s,dangerouslySetInnerHTML:{__html:i}});break;case"h4":n=(0,r.jsx)("h4",{className:s,dangerouslySetInnerHTML:{__html:i}});break;case"h5":n=(0,r.jsx)("h5",{className:s,dangerouslySetInnerHTML:{__html:i}});break;default:n=(0,r.jsx)("h6",{className:s,dangerouslySetInnerHTML:{__html:i}})}return(0,r.jsx)(r.Fragment,{children:n})});t.Z=i},38991:function(e,t,n){"use strict";n.r(t);var r=n(85893),i=n(89755),s=n.n(i),o=n(80007);t.default=e=>{let{src:t,alt:n,image:i,className:a,layout:l="responsive",objectFit:u="",imageClassName:c,dataPreload:d=!1,priority:h=!1,sizes:p="100vw",reference:f,width:m,height:g,...v}=e,y=t||(null==i?void 0:i.sourceUrl),_=n||(null==i?void 0:i.altText);return(0,r.jsx)(r.Fragment,{children:y?(0,r.jsx)("figure",{className:a,ref:f,children:(0,r.jsx)(s(),{src:y,alt:_,layout:l,objectFit:u,sizes:p,priority:h,"data-preload":d,className:c,lazyBoundary:o.YC,width:m,height:g,...v})}):null})}},28310:function(e,t,n){"use strict";var r=n(85893),i=n(90512),s=n(90523),o=n.n(s);t.Z=e=>{let{className:t,children:n}=e;return(0,r.jsx)("div",{className:(0,i.Z)(o().container,t),children:n})}},28463:function(e,t,n){"use strict";var r=n(85893),i=n(41664),s=n.n(i),o=n(67294);t.Z=(0,o.forwardRef)((e,t)=>{let{href:n,shallow:i,replace:o,children:a,passHref:l,rel:u,className:c,onClick:d,target:h,ariaLabel:p,...f}=e;return n?(0,r.jsx)(s(),{legacyBehavior:!0,href:"/home/"==n?"/":n,passHref:l,scroll:!1,shallow:i,replace:o,prefetch:!1,...f,children:(0,r.jsx)("a",{className:c,onClick:d,rel:"_blank"==h?"noopener noreferrer":"",ref:t,target:h,"aria-label":p,children:a})}):(0,r.jsx)("div",{className:c,children:a})})},52464:function(e,t,n){"use strict";var r=n(85893),i=n(67294),s=n(90512),o=n(64509),a=n.n(o);let l=(0,i.forwardRef)((e,t)=>{let n,{text:i="",className:o="",semantics:l="p",...u}=e;if(!i)return null;switch(l){case"p":n=(0,r.jsx)("p",{className:(0,s.Z)(o,a().paragraph),dangerouslySetInnerHTML:{__html:i},...u,ref:t});break;case"div":n=(0,r.jsx)("div",{className:(0,s.Z)(o,a().paragraph),dangerouslySetInnerHTML:{__html:i},...u,ref:t})}return n});t.Z=l},75079:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});let r={linear:[0,0,1,1],smothInOut:[.5,0,.5,1],smothInOut2:[.36,0,0,1],expoIn:[0,.1,.5,1],expoIn2:[.02,.98,.72,1],expoOut:[.5,0,.99,.9],expoInOut:[0,.74,1,.25],expoInOut2:[.76,0,.25,1]}},80007:function(e,t,n){"use strict";n.d(t,{L7:function(){return u},YC:function(){return s},ax:function(){return a},dR:function(){return o},j$:function(){return i},j_:function(){return l},xv:function(){return r}});let r="construction",i={XXXS:0,XXS:320,XS:415,S:650,M:768,L:1024,XL:1440,XXL:1680},s="200%",o=50,a=40,l={news:"news",blogs:"blogs",blog:"blog",projects:"projects",projectsCategories:"projects/category",careers:"careers",locations:"locations"},u=15},30944:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{default:function(){return tl}});var i,s,o,a,l,u,c=n(85893),d=n(67294),h=n(46083),p=n(50259),f=n(62220),m=n(9008),g=n.n(m);let v=n(34155).env.NEXT_PUBLIC_SITE_ADDRESS,y=n(11987);var _=e=>{var t,n,r,i,s,o,a,l,u,d,h,p;let{pageSeo:f,globalSeo:m,seoDefaults:_}=e,b=null==_?void 0:_.seo_title,w=null==_?void 0:_.meta_description,x=null==_?void 0:null===(t=_.social__image_facebook)||void 0===t?void 0:t.url,S=null==_?void 0:null===(n=_.social__image_twitter)||void 0===n?void 0:n.url,E=null==f?void 0:null===(r=f.title)||void 0===r?void 0:r.replace("%SITE_NAME%",null==_?void 0:_.seo_title),A=(null==f?void 0:f.opengraphSiteName)||b,k=null==f?void 0:null===(i=f.o
28pengraphTitle)||void 0===i?void 0:i.replace("%SITE_NAME%",null==_?void 0:_.seo_title),T=(null==f?void 0:f.metaDesc)||w,C=(null==f?void 0:f.opengraphDescription)||T,M=null==_?void 0:_.seo_title,P=null==f?void 0:f.opengraphUrl,O=null==f?void 0:f.opengraphPublisher,I=null==f?void 0:f.opengraphModifiedTime,R=(null==f?void 0:null===(s=f.opengraphImage)||void 0===s?void 0:s.sourceUrl)||x,D=null==f?void 0:null===(a=f.opengraphImage)||void 0===a?void 0:null===(o=a.mediaDetails)||void 0===o?void 0:o.width,j=null==f?void 0:null===(u=f.opengraphImage)||void 0===u?void 0:null===(l=u.mediaDetails)||void 0===l?void 0:l.height,N=(null==f?void 0:f.twitterTitle)||k,L=(null==f?void 0:f.twitterDescription)||C,B=(null==f?void 0:null===(d=f.twitterImage)||void 0===d?void 0:d.sourceUrl)||S,F=null==m?void 0:null===(p=m.social)||void 0===p?void 0:null===(h=p.twitter)||void 0===h?void 0:h.cardType,$=null==f?void 0:f.opengraphAuthor,z=null==f?void 0:f.opengraphPublishedTime,V=(null==f?void 0:f.metaRobotsNofollow)||"",U=(null==f?void 0:f.metaRobotsNoindex)||"";if(P){let e=y.parse(P).path;P=-1!==e.lastIndexOf("/home")?v:"".concat(v).concat(e)}return(0,c.jsxs)(g(),{children:[(0,c.jsx)("title",{children:E||A}),(0,c.jsx)("meta",{name:"description",content:T}),(0,c.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,c.jsx)("meta",{property:"og:title",content:k}),(0,c.jsx)("meta",{property:"og:type",content:"website"}),(0,c.jsx)("meta",{property:"og:image",content:R}),D&&(0,c.jsx)("meta",{property:"og:image:width",content:D}),j&&(0,c.jsx)("meta",{property:"og:image:height",content:j}),(0,c.jsx)("meta",{property:"og:url",content:P}),(0,c.jsx)("meta",{property:"og:description",content:C}),(0,c.jsx)("meta",{property:"og:site_name",content:M}),$&&(0,c.jsx)("meta",{property:"article:author",content:$}),z&&(0,c.jsx)("meta",{property:"article:published_time",content:z}),O&&(0,c.jsx)("meta",{property:"article:publisher",content:O}),I&&(0,c.jsx)("meta",{property:"article:modified_time",content:I}),(0,c.jsx)("meta",{property:"twitter:title",content:N}),(0,c.jsx)("meta",{property:"twitter:description",content:L}),(0,c.jsx)("meta",{property:"twitter:image",content:B}),(0,c.jsx)("meta",{property:"twitter:card",content:F}),(0,c.jsx)("meta",{property:"twitter:url",content:P}),(0,c.jsx)("meta",{name:"robots",content:"".concat(V,", ").concat(U)}),(0,c.jsx)("meta",{name:"googlebot",content:"".concat(V,", ").concat(U)}),(0,c.jsx)("meta",{name:"AdsBot-Google",content:U}),(0,c.jsx)("meta",{name:"googlebot-news",content:U}),(0,c.jsx)("meta",{name:"application-name",content:"Big-D Construction"}),(0,c.jsx)("meta",{name:"apple-mobile-web-app-capable",content:"yes"}),(0,c.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:"default"}),(0,c.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Big-D Construction"}),(0,c.jsx)("meta",{name:"format-detection",content:"telephone=no"}),(0,c.jsx)("meta",{name:"mobile-web-app-capable",content:"yes"}),(0,c.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,c.jsx)("meta",{name:"msapplication-tap-highlight",content:"no"}),(0,c.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,c.jsx)("link",{rel:"apple-touch-icon",href:"/images/icon-192.png"}),(0,c.jsx)("link",{rel:"apple-touch-icon",sizes:"192x192",href:"/images/icon-192.png"}),(0,c.jsx)("link",{rel:"apple-touch-icon",sizes:"384x384",href:"/images/icon-384.png"}),(0,c.jsx)("link",{rel:"apple-touch-icon",sizes:"512x512",href:"/images/icon-512.png"}),(0,c.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/images/icon-32.png"}),(0,c.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/images/icon-16.png"}),(0,c.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,c.jsx)("link",{rel:"mask-icon",href:"/images/icon-192.png"}),(0,c.jsx)("link",{rel:"shortcut icon",href:"/images/icon-192.png"})]})},b=n(34155),w=()=>{let e="GTM-P34Z6Z84",t=b.env.NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION;return(0,c.jsxs)(g(),{children:[e&&(0,c.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='
28+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat(e,"');\n ")}}),t&&(0,c.jsx)("meta",{name:"google-site-verification",content:"".concat(t)})]})},x=n(16827),S=n.n(x),E=()=>(0,c.jsx)("a",{className:S().skipToContentLink,href:"#main-content",children:"Skip to main content"}),A=n(90512);let k=0;function T(e,t){let n=`atom${++k}`,r={toString(){return this.debugLabel?n+":"+this.debugLabel:n}};return"function"==typeof e?r.read=e:(r.init=e,r.read=C,r.write=M),t&&(r.write=t),r}function C(e){return e(this)}function M(e,t,n){return t(this,"function"==typeof n?n(e(this)):n)}let P=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,O=e=>"init"in e,I=e=>!!e.write,R=new WeakMap,D=e=>{var t;return L(e)&&!(null==(t=R.get(e))?void 0:t[1])},j=(e,t)=>{let n=R.get(e);if(n)n[1]=!0,n[0].forEach(e=>e(t));else throw Error("[Bug] cancelable promise not found")},N=e=>{if(R.has(e))return;let t=[new Set,!1];R.set(e,t);let n=()=>{t[1]=!0};e.then(n,n),e.onCancel=e=>{t[0].add(e)}},L=e=>"function"==typeof(null==e?void 0:e.then),B=e=>"v"in e||"e"in e,F=e=>{if("e"in e)throw e.e;if(!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v},$=(e,t,n)=>{n.p.has(e)||(n.p.add(e),t.then(()=>{n.p.delete(e)},()=>{n.p.delete(e)}))},z=(e,t,n,r,i)=>{var s;if(r===t)throw Error("[Bug] atom cannot depend on itself");n.d.set(r,i.n),D(n.v)&&$(t,n.v,i),null==(s=i.m)||s.t.add(t),e&&H(e,r,t)},V=()=>[new Map,new Map,new Set],U=(e,t,n)=>{e[0].has(t)||e[0].set(t,new Set),e[1].set(t,n)},H=(e,t,n)=>{let r=e[0].get(t);r&&r.add(n)},W=(e,t)=>e[0].get(t),q=(e,t)=>{e[2].add(t)},Y=e=>{for(;e[1].size||e[2].size;){e[0].clear();let t=new Set(e[1].values());e[1].clear();let n=new Set(e[2]);e[2].clear(),t.forEach(e=>{var t;return null==(t=e.m)?void 0:t.l.forEach(e=>e())}),n.forEach(e=>e())}},G=e=>{let t;t=new Set;let n=(t,n,r)=>{let i="v"in n,s=n.v,o=D(n.v)?n.v:null;if(L(r)){for(let i of(N(r),n.d.keys()))$(t,r,e(i,n));n.v=r,delete n.e}else n.v=r,delete n.e;i&&Object.is(s,n.v)||(++n.n,o&&j(o,r))},r=(t,i,s,o)=>{var u;let c,d;if(!(null==o?void 0:o(i))&&B(s)&&(s.m||Array.from(s.d).every(([n,i])=>r(t,n,e(n,s),o).n===i)))return s;s.d.clear();let h=!0;try{let p=i.read(a=>{if(P(i,a)){let t=e(a,s);if(!B(t)){if(O(a))n(a,t,a.init);else throw Error("no atom init")}return F(t)}let u=r(t,a,e(a,s),o);if(h)z(t,i,s,a,u);else{let e=V();z(e,i,s,a,u),l(e,i,s),Y(e)}return F(u)},{get signal(){return c||(c=new AbortController),c.signal},get setSelf(){return I(i)||console.warn("setSelf function cannot be used with read-only atom"),!d&&I(i)&&(d=(...e)=>{if(h&&console.warn("setSelf function cannot be called in sync"),!h)return a(i,...e)}),d}});if(n(i,s,p),L(p)){null==(u=p.onCancel)||u.call(p,()=>null==c?void 0:c.abort());let e=()=>{if(s.m){let e=V();l(e,i,s),Y(e)}};p.then(e,e)}return s}catch(e){return delete s.v,s.e=e,++s.n,s}finally{h=!1}},i=(t,n,r)=>{var i,s;let o=new Map;for(let t of(null==(i=r.m)?void 0:i.t)||[])o.set(t,e(t,r));for(let t of r.p)o.set(t,e(t,r));return null==(s=W(t,n))||s.forEach(t=>{o.set(t,e(t,r))}),o},s=(e,t,n)=>{let s=[],o=new Set,a=(t,n)=>{if(!o.has(t)){for(let[r,s]of(o.add(t),i(e,t,n)))t!==r&&a(r,s);s.push([t,n,n.n])}};a(t,n);let u=new Set([t]),c=e=>o.has(e);for(let t=s.length-1;t>=0;--t){let[n,i,a]=s[t],d=!1;for(let e of i.d.keys())if(e!==n&&u.has(e)){d=!0;break}d&&(r(e,n,i,c),l(e,n,i),a!==i.n&&(U(e,n,i),u.add(n))),o.delete(n)}},o=(t,i,a,...u)=>i.write(n=>F(r(t,n,e(n,a))),(r,...u)=>{let c;let d=e(r,a);if(P(i,r)){if(!O(r))throw Error("atom not writable");let e="v"in d,i=d.v;n(r,d,u[0]),l(t,r,d),e&&Object.is(i,d.v)||(U(t,r,d),s(t,r,d))}else c=o(t,r,d,...u);return Y(t),c},...u),a=(t,...n)=>{let r=V(),i=o(r,t,e(t),...n);return Y(r),i},l=(t,n,r)=>{if(r.m&&!D(r.v)){for(let i of r.d.keys())r.m.d.has(i)||(u(t,i,e(i,r)).t.add(n),r.m.d.add(i));for(let i of r.m.d||[])if(!r.d.has(i)){r.m.d.delete(i);let s=c(t,i,e(i,r));null==s||s.t.delete(n)}}},u=(n,i,s)=>{if(!s.m){for(let t of(r(n,i,s),s.d.keys()))u(n,t,e(t,s)).t.add(i);if(s.m={l:new Set,d:new Set(s.d.keys()),t:new Set},t.add(i),I(i)&&i.onMount){let e=s.m,{onMount:t}=i;q(n,()=>{let r=t((...e)=>o(n,i,s,...e));r&&(e.u=r)})}}return s.m},c=(n,r,i)=>{if(i.m&&!i.m.l.size&&!Array.from(i.m.t).some(t=>{var n;return null==(n=e(t,i).m)?void 0:n.d.has(r)})){let s=i.m.u;for(let o of(s&&q(n,s),delete i.m,t.delete(r),i.d.keys())){let t=c(n,o,e(o,i));null==t||t.t.delete(r)}return}return i.m},d={get:t=>F(r(void 0,t,e(t))),set:a,sub:(t,n)=>{let r=V(),i=e(t),s=u(r,t,i);Y(r);let o=s.l;return o.add(n),()=>{o.delete(n);let e=V();c(e,t,i),Y(e)}},unstable_derive:t=>G(...t(e))};return Object.assign(d,{dev4_get_internal_weak_map:()=>({get:t=>{let n=e(t);if(0!==n.n)return n}}),dev4_get_mounted_atoms:()=>t,dev4_restore_atoms:t=>{let r=V();for(let[i,o]of t)if(O(i)){let t=e(i),a="v"in t,u=t.v;n(i,t,o),l(r,i,t),a&&Object.is(u,t.v)||(U(r,i,t),s(r,i,t))}Y(r)}}),d},X=()=>{let e=new WeakMap;return G(t=>{let n=e.get(t);return n||(n={d:new Map,p:new Set,n:0},e.set(t,n)),n})},K=()=>(r||(r=X(),globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=r),globalThis.__JOTAI_DEFAULT_STORE__!==r&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044")),r),Q=(0,d.createContext)(void 0),J=e=>{let t=(0,d.useContext)(Q);return(null==e?void 0:e.store)||t||K()},Z=e=>"function"==typeof(null==e?void 0:e.then),ee=e=>{e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t})},et=d.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw ee(e),e}),en=new WeakMap,er=e=>{let t=en.get(e);return t||(t=new Promise((n,r)=>{let i=e,s=e=>t=>{i===e&&n(t)},o=e=>t=>{i===e&&r(t)},a=e=>{"onCancel"in e&&"function"==typeof e.onCancel&&e.onCancel(r=>{if(r===e)throw Error("[Bug] p is not updated even after cancelation");Z(r)?(en.set(r,t),i=r,r.then(s(r),o(r)),a(r)):n(r)})};e.then(s(e),o(e)),a(e)}),en.set(e,t)),t};function ei(e,t){return[function(e,t){let n=J(t),[[r,i,s],o]=(0,d.useReducer)(t=>{let r=n.get(e);return Object.is(t[0],r)&&t[1]===n&&t[2]===e?t:[r,n,e]},void 0,()=>[n.get(e),n,e]),a=r;(i!==n||s!==e)&&(o(),a=n.get(e));let l=null==t?void 0:t.delay;return((0,d.useEffect)(()=>{let t=n.sub(e,()=>{if("number"==typeof l){let t=n.get(e);Z(t)&&ee(er(t)),setTimeout(o,l);return}o()});return o(),t},[n,e,l]),(0,d.useDebugValue)(a),Z(a))?et(er(a)):a}(e,t),function(e,t){let n=J(t);return(0,d.useCallback)((...t)=>{if(!("write"in e))throw Error("not writable atom");return n.set(e,...t)},[n,e])}(e,t)]}let es=T(!0),eo=T(!0),ea=()=>ei(es),el=()=>ei(eo),eu=()=>{let[e,t]=ea(!0),[n,r]=el(!0);return{isHeaderActive:e,setHeaderStatus:t,isUserOnTopOfPage:n,setUserOnTopOfPage:r}};(i=o||(o={})).X="x",i.Y="y",(s=a||(a={})).Up="up",s.Down="down",s.Left="left",s.Right="right",s.Still="still";var ec=n(80007),ed=n(11163),eh=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,[t,n]=(0,d.useState)(!1),r=(0,ed.useRouter)();return(0,d.useEffect)(()=>{let t=()=>{n(!0)},i=()=>{setTimeout(()=>n(!1),e)};return r.events.on("routeChangeStart",t),r.events.on("routeChangeComplete",i),r.events.on("routeChangeError",i),()=>{r.events.off("routeChangeStart",t),r.events.off("routeChangeComplete",i),r.events.off("routeChangeError",i)}},[r,e]),t};let ep={UP:"up",DOWN:"down"};var ef=()=>{let e;let{setHeaderStatus:t,setUserOnTopOfPage:n}=eu(),{scrollDir:r,scrollPosition:i}=function(e={}){let{target:t="undefined"!=typeof window?window:void 0,thr:n=0,axis:r=o.Y,scrollUp:i=r===o.Y?a.Up:a.Left,scrollDown:s=r===o.Y?a.Down:a.Right,still:l=a.Still}=e,[u,c]=(0,d.useState)(l),[h,p]=(0,d.useState)({top:0,bottom:0,left:0,right:0}),f=Math.max(0,n),m=(0,d.useRef)(!1),g=(0,d.useRef)(0),v=(0,d.useCallback)(()=>{let e;t&&(t instanceof Window?e=r===o.Y?t.scrollY:t.scrollX:e=r===o.Y?t.scrollTop:t.scrollLeft,Math.abs(e-g.current)>=f&&(c(e>g.current?s:i),g.current=Math.max(0,e)),m.current=!1)},[t,r,f,s,i]);return(0,d.useEffect)(()=>
28{if(!t){console.warn("useDetectScroll: target is not set. Falling back to window.");return}let e=()=>{if(!t)return;let e=t instanceof Window?t.scrollY:t.scrollTop,n=t instanceof Window?t.scrollX:t.scrollLeft,r=(t instanceof Window?document.documentElement.scrollHeight-t.innerHeight:t.scrollHeight-t.clientHeight)-e,i=(t instanceof Window?document.documentElement.scrollWidth-t.innerWidth:t.scrollWidth-t.clientWidth)-n;p({top:e,bottom:r,left:n,right:i})};return e(),t.addEventListener("scroll",e),()=>{t.removeEventListener("scroll",e)}},[t]),(0,d.useEffect)(()=>{if(!t){console.warn("useDetectScroll: target is not set. Falling back to window.");return}t instanceof Window?g.current=r===o.Y?t.scrollY:t.scrollX:g.current=r===o.Y?t.scrollTop:t.scrollLeft;let e=()=>{m.current||(window.requestAnimationFrame(v),m.current=!0)};return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[t,r,v]),{scrollDir:u,scrollPosition:h}}(),s=eh();s&&t(!0);let l=null,u=()=>(e=!0,r===ep.DOWN&&i.top>ec.ax?t(!1):r===ep.UP?t(!0):e=!1,e);!function(e,t){let n=(0,d.useRef)();(0,d.useEffect)(()=>{n.current=t},[t]),(0,d.useEffect)(()=>{var t,r;if(!(window&&(null===(t=window)||void 0===t?void 0:t.addEventListener)))return;let i=e=>null==n?void 0:n.current(e);return null===(r=window)||void 0===r||r.addEventListener(e,i),()=>{var t;return null===(t=window)||void 0===t?void 0:t.removeEventListener(e,i)}},[e])}("scroll",()=>{r!==l&&(e=u()),s&&(e=u()),e&&(l=r),n(i.top<ec.dR)})},em=n(28463),eg=n(52464),ev=n(94329),ey=n.n(ev),e_=e=>{let{preview:t}=e,n=(0,ed.useRouter)();return t?(0,c.jsxs)("div",{className:ey().preview,children:[(0,c.jsx)(eg.Z,{text:"This is a preview of the draft page."}),(0,c.jsx)("button",{text:"Exit Preview Mode",onClick:()=>{fetch("/api/exit-preview").then(e=>{200===e.status&&n.push(e.url)})},children:"Exit"})]}):null},eb=e=>{let{list:t,className:n,listClassName:r,listItemClassName:i,activeClassName:s,itemClickHandler:o,ariaLabelledBy:a}=e,l=(0,ed.useRouter)(),u=null==l?void 0:l.asPath;return t?(0,c.jsx)("div",{className:n,children:(0,c.jsx)("ul",{className:r,"aria-labelledby":a,children:null==t?void 0:t.map((e,t)=>{let n=null==e?void 0:e.path;"/"!=n&&"/"==n.slice(-1)&&(n=n.substring(0,n.length-1));let r=u===n;return(0,c.jsx)("li",{onClick:r?null:o,className:i,style:{pointerEvents:r?"none":"all"},children:(0,c.jsxs)(em.Z,{href:n,target:null==e?void 0:e.target,className:(0,A.Z)(r&&s),children:[(0,c.jsx)("span",{"aria-hidden":"true"}),null==e?void 0:e.label]})},t)})})}):null};function ew(){return(ew=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var ex=function(e){return d.createElement("svg",ew({xmlns:"http://www.w3.org/2000/svg",width:57,height:57},e),l||(l=d.createElement("g",{fill:"none",fillRule:"nonzero"},d.createElement("path",{fill:"#FFF",d:"M1.3 1.2h54.3v54.3H1.3z"}),d.createElement("path",{fill:"#333",d:"M56.3.3H.3v56h56zM55 1.7V55H1.7V1.7z"}),d.createElement("path",{fill:"#333",d:"M3 3h50.6v50.6H3.1V3z"}),d.createElement("path",{fill:"#FFF",d:"M11.9 19.4c.4 0 1 0 1.4.2a1 1 0 0 1 .3 1v.8a1.2 1.2 0 0 1-.3 1c-.4.2-1 .3-1.4.3zm0 5.6c.5 0 1 0 1.5.3.304.321.45.76.4 1.2v1a1.5 1.5 0 0 1-.4 1.2l-1.5.3zm.9 6.5c1.4 0 2.5-.3 3.2-1 .7-.5 1-1.5 1-2.8v-1.2a3 3 0 0 0-.5-1.8 3 3 0 0 0-1.5-1c.6-.2 1-.5 1.3-1s.5-1.1.4-1.7v-1.1a2.6 2.6 0 0 0-1-2.2 4 4 0 0 0-2.8-.8H8.6v14.5h4.2zm5.6 0V16.9h3.3v14.6zm10.5 0v-1.2l-1.3 1a3.2 3.2 0 0 1-2.7 0l-1-.8c-.4-.8-.7-1.8-.7-3.4v-5.9a5 5 0 0 1 1.1-3.4c.7-.8 1.8-1.1 3.3-1.1 1.4 0 2.5.4 3.2 1.1.7.8 1 1.9 1 3.4v.7h-3.2v-1.2c0-.4-.1-.7-.3-1a1 1 0 0 0-.8-.4.9.9 0 0 0-.8.3l-.2 1v7c0 .4.1.8.3 1a1 1 0 0 0 .8.4.9.9 0 0 0 .7-.3c.2-.3.3-.7.3-1V26h-1.2v-2.7H32v8h-3zm4.3-4.7V24H38v2.8zm11.2-7.2c.2.4.3.7.2 1.1v7c0 .3 0 .7-.2 1-.4.2-.8.3-1.3.2h-.4v-9.5h.4c.4 0 .9 0 1.2.2zm-5 11.8h3.5l2.6-.1c.4-.1.9-.4 1.3-.7.3-.3.7-.7.8-1.2a4 4 0 0 0 .4-1.9v-6.7c0-1.5-.4-2.5-1-3-.6-.6-1.8-1-3.5-1h-4.1zm-27.6 7c0 .4 0 .9-.4 1.2a1.6 1.6 0 0 1-1.1.4 1.6 1.6 0 0 1-1.2-.4c-.3-.3-.4-.8-.3-1.2v-2c0-.5 0-1 .3-1.3a1.6 1.6 0 0 1 1.2-.4 1.6 1.6 0 0 1 1.1.4c.3.3.4.8.4 1.2v.4h-1.2v-1a.3.3 0 0 0-.3 0 .3.3 0 0 0-.3 0l-.1.4v2.5l.1.4a.3.3 0 0 0 .3 0 .3.3 0 0 0 .2 0l.1-.4V38h1.2v.5zm.5-2.1c0-.5.1-.9.4-1.2a1.6 1.6 0 0 1 1.1-.4 1.6 1.6 0 0 1 1.2.4c.3.3.4.7.4 1.2v2.1c0 .4-.1.9-.4 1.2a1.6 1.6 0 0 1-1.2.4 1.6 1.6 0 0 1-1.1-.4c-.3-.3-.4-.8-.4-1.2zm1.2
28-.2V39a.4.4 0 0 0 .6 0l.1-.4v-2.5l-.1-.4a.3.3 0 0 0-.3 0 .3.3 0 0 0-.2 0zm2.4 3.8v-5.2h1.4l.6 2.1.1.7.2.8v-3.5h1V40H18l-.7-2.3-.2-.7-.2-.8.1 1.1V40h-1zm3.8-1.7h1.2v.8a.4.4 0 0 0 .3 0 .4.4 0 0 0 .4 0 .4.4 0 0 0 0-.3v-.3l-.4-.4-.2-.2a8 8 0 0 1-.8-.6l-.3-.6a1.8 1.8 0 0 1 0-1c0-.3.2-.4.3-.6a2 2 0 0 1 1.1-.3c.4 0 .7 0 1 .3a1.3 1.3 0 0 1 .5 1v.4h-1.2v-.7a.3.3 0 0 0-.4 0 .3.3 0 0 0-.2 0v.3c0 .2.2.5.7 1h.1l.8.8.2.4v.4a1.3 1.3 0 0 1-.4 1c-.3.3-.8.4-1.2.4s-.8-.1-1-.4a1.5 1.5 0 0 1-.5-1zm4 1.7v-4.1H23v-1h2.7v1h-.8v4.1zm2.2 0v-5.2h1.7c.3 0 .7.1 1 .3a1 1 0 0 1 .3 1v.2c0 .3 0 .5-.2.7a1 1 0 0 1-.5.3c.3 0 .4.2.6.3v2.2l.2.3h-1.2v-1.7c0-.2 0-.4-.2-.5a.8.8 0 0 0-.5-.1V40H26zm1.2-3.1.5-.1a.4.4 0 0 0 .1-.3V36a.4.4 0 0 0-.1-.4 1 1 0 0 0-.5 0v1.2m3.5-2V39a.3.3 0 0 0 .3 0 .3.3 0 0 0 .3 0l.1-.4v-3.8h1.2v3.6c0 .4-.1.9-.4 1.2a1.5 1.5 0 0 1-1.2.4 1.5 1.5 0 0 1-1.1-.4c-.3-.3-.4-.8-.4-1.2v-3.6zm5.5 3.6c0 .4-.1.9-.4 1.2a1.6 1.6 0 0 1-1.2.4 1.6 1.6 0 0 1-1.1-.4c-.3-.3-.4-.8-.4-1.2v-2a1.7 1.7 0 0 1 .4-1.3 1.9 1.9 0 0 1 2.3 0c.3.3.4.8.4 1.2v.4h-1.2v-.6l-.1-.4a.4.4 0 0 0-.5 0c-.1.1-.1.3 0 .4v2.5c-.1.1 0 .3 0 .4a.4.4 0 0 0 .5 0v-1.1h1.3zm1 1.5v-4.1h-.8v-1H39v1h-.7v4.1H37zm2.2 0v-5.2h1.2V40h-1.2zm1.8-3.6c0-.4 0-.9.3-1.2a1.6 1.6 0 0 1 1.2-.4 1.6 1.6 0 0 1 1.2.4c.2.3.4.8.3 1.2v2.1c0 .4-.1.9-.4 1.2a1.8 1.8 0 0 1-2.3 0c-.3-.3-.4-.8-.3-1.2zm1.1-.2v2.5l.1.4a.3.3 0 0 0 .3 0 .3.3 0 0 0 .2 0l.1-.4v-2.9a.3.3 0 0 0-.3 0 .3.3 0 0 0-.3 0zm2.4 3.8v-5.2H46l.6 2.1.2.7.2.8-.1-.8v-2.7H48V40h-1.3l-.7-2.3-.3-1.5V40h-1z"}))))},eS=n(96696),eE=n.n(eS),eA=d.memo(e=>{let{preview:t,toggleMegaMenu:n,primaryNavItems:r,additionalHeaderInfo:i={}}=e,[s,o]=(0,d.useState)(!1),[a,l]=(0,d.useState)(!1),{isGridViewActive:u,isHeaderActive:h,isUserOnTopOfPage:p,setGridView:f,setHasToggledView:m}=eu();return ef(),(0,d.useEffect)(()=>{o(!0);let e=setTimeout(()=>{l(!0)},100);return()=>clearTimeout(e)},[]),s&&(0,c.jsxs)("header",{id:"header",className:(0,A.Z)(eE().header,a&&eE().header__init,!h&&eE().header__inactive,(null==i?void 0:i.disableBackground)?"":!p&&eE().header__solid),children:[(0,c.jsx)(e_,{preview:t}),(0,c.jsxs)("nav",{className:eE().headerInner,"aria-labelledby":"main-navigation",children:[(0,c.jsx)("h2",{id:"main-navigation",className:"u-visually-hidden",children:"Main Navigation"}),(0,c.jsxs)(em.Z,{href:"/",passHref:!0,children:[(0,c.jsx)("span",{className:"u-visually-hidden",children:"Big-D Construction Homepage"}),(0,c.jsx)("div",{className:eE().headerLogo,children:(0,c.jsx)(ex,{})})]}),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(eb,{list:r,className:eE().headerMenu,listClassName:eE().headerMenuList,listItemClassName:eE().headerMenuItem,activeClassName:eE().active}),(0,c.jsx)("span",{className:eE().dot,children:"â"})]}),(0,c.jsx)("button",{className:eE().burgerMenu,onClick:n,"aria-label":"Toggle navigation",children:(0,c.jsxs)("div",{className:eE().iconWrapper,children:[(0,c.jsx)("span",{className:eE().burgerPath}),(0,c.jsx)("span",{className:eE().burgerPath})]})})]})]})});function ek(){return(ek=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var eT=function(e){return d.createElement("svg",ek({xmlns:"http://www.w3.org/2000/svg",width:56,height:56},e),u||(u=d.createElement("g",{fill:"none",fillRule:"nonzero"},d.createElement("path",{fill:"#333",d:"M1 .9h54.3v54.3H1V1z"}),d.createElement("path",{fill:"#FFF",d:"M56 0H0v56h56zm-1.3 1.4v53.3H1.4V1.4z"}),d.createElement("path",{fill:"#FFF",d:"M2.8 2.7h50.5v50.6H2.8z"}),d.createElement("path",{fill:"#333",d:"M11.6 19c.4 0 1 .1 1.4.3a1 1 0 0 1 .3 1v.8a1.2 1.2 0 0 1-.3 1c-.4.2-1 .3-1.4.3V19m0 5.7c.5 0 1 0 1.5.3.304.321.45.76.4 1.2v1a1.5 1.5 0 0 1-.4 1.2l-1.5.3zm.9 6.5c1.4 0 2.5-.3 3.2-1 .7-.5 1-1.5 1-2.8v-1.2a3 3 0 0 0-.5-1.8 3 3 0 0 0-1.5-1c.6-.2 1-.5 1.3-1s.5-1.1.4-1.7v-1.1a2.6 2.6 0 0 0-1-2.2 4 4 0 0 0-2.8-.8H8.3V31h4.2zm5.6 0V16.6h3.3v14.6zm10.5 0V30l-1.3 1a3.2 3.2 0 0 1-2.7 0l-1-.8c-.4-.8-.7-1.8-.7-3.4V21a5 5 0 0 1 1.1-3.4c.7-.8 1.8-1.1 3.3-1.1 1.4 0 2.5.4 3.2 1.1.7.8 1 1.9 1 3.4v.7h-3.2v-1.2c0-.4-.1-.7-.3-1a1 1 0 0 0-.8-.4.9.9 0 0 0-.8.3l-.2 1v7c0 .4.1.8.3 1a1 1 0 0 0 .8.4.9.9 0 0 0 .7-.3c.2-.3.3-.7.3-1v-1.6H27V23h4.5v8h-3zm4.3-4.7v-2.8h4.8v2.8zm11.2-7.2c.2.4.3.7.2 1.1v7c0 .3 0 .7-.2 1-.4.2-.8.3-1.3.2h-.4v-9.5h.4c.4 0 .9 0 1.2.2zm-5 11.8h3.5l2.6-.1c.4-.1.9-.4 1.3-.7.3-.3.7-.7.8-1.2a4 4 0 0 0 .4-1.9v-6.7c0-1.5-.4-2.5-1-3-.6-.6-1.8-1-3.5-1H39v14.6zm-27.6 7c0 .4 0 .9-.4 1.2a1.6 1.6 0 0 1-1.1.4 1.6 1.6 0 0 1-1.2-.4c-.3-.3-.4-.8-.3-1.2v-2c-.1-.5 0-1 .3-1.3a1.6 1.6 0 0 1 1.2-.4 1.6 1.6 0 0 1 1.1.4c.3.3.4.8.4 1.2v.4h-1.2v-1a.3.3 0 0 0-.3 0 .3.3 0 0 0-.3 0l-.1.4v2.5l.1.4a.3.3 0 0 0 .3 0 .3.3 0 0 0 .2 0l.1-.4v-.7h1.2zM12 36c0-.5.1-.9.4-1.2a1.6 1.6 0 0 1 1.1-.4 1.6 1.6 0 0 1 1.2.4c.3.3.4.7.4 1.2v2c0 .4-.1.9-.4 1.2a1.6 1.6 0 0 1-1.2.4 1.6 1.6 0 0 1-1.1-.4c-.3-.3-.4-.8-.4-1.2zm1.2
28-.2v2.9a.4.4 0 0 0 .6 0l.1-.4v-2.5l-.1-.4a.3.3 0 0 0-.3 0 .3.3 0 0 0-.2 0zm2.4 3.8v-5.2H17l.6 2.1.1.7.2.8v-3.5h1v5.2h-1.2l-.7-2.3-.2-.7-.2-.8.1 1.1v2.7h-1zm3.8-1.7h1.2v.8a.4.4 0 0 0 .3 0 .4.4 0 0 0 .4 0 .4.4 0 0 0 0-.3V38l-.4-.4-.2-.2a8 8 0 0 1-.8-.6l-.3-.6a1.8 1.8 0 0 1 0-1c0-.3.2-.4.3-.6a2 2 0 0 1 1.1-.3c.4 0 .7 0 1 .3a1.3 1.3 0 0 1 .5 1v.4h-1.2v-.7a.3.3 0 0 0-.4 0 .3.3 0 0 0-.2 0v.3c0 .2.2.5.7 1h.1l.8.8.2.4v.4a1.3 1.3 0 0 1-.4 1c-.3.3-.8.4-1.2.4s-.8-.1-1-.4a1.5 1.5 0 0 1-.5-1v-.4zm4 1.7v-4.1h-.7v-1h2.7v1h-.8v4.1zm2.2 0v-5.2h1.7c.3 0 .7.1 1 .3a1 1 0 0 1 .3 1v.2c0 .3 0 .5-.2.7a1 1 0 0 1-.5.3c.3 0 .4.2.6.3v2.2l.2.3h-1.2V38c0-.2 0-.4-.2-.5a.8.8 0 0 0-.5-.1v2.3h-1.2zm1.2-3.1.5-.1a.4.4 0 0 0 .1-.3v-.3a.4.4 0 0 0-.1-.4 1 1 0 0 0-.5 0zm3.5-2v4.2a.3.3 0 0 0 .3 0 .3.3 0 0 0 .3 0l.1-.4v-3.8h1.2V38c0 .4-.1.9-.4 1.2a1.5 1.5 0 0 1-1.2.4 1.5 1.5 0 0 1-1.1-.4c-.3-.3-.4-.8-.4-1.2v-3.6h1.2zm5.5 3.6c0 .4-.1.9-.4 1.2a1.6 1.6 0 0 1-1.2.4 1.6 1.6 0 0 1-1.1-.4c-.3-.3-.4-.8-.4-1.2v-2a1.7 1.7 0 0 1 .4-1.3 1.9 1.9 0 0 1 2.3 0c.3.3.4.8.4 1.2v.4h-1.2v-.6l-.1-.4a.4.4 0 0 0-.5 0c-.1.1-.1.3 0 .4v2.5c-.1.1 0 .3 0 .4a.4.4 0 0 0 .5 0v-1.1h1.3zm1 1.5v-4.1H36v-1h2.7v1H38v4.1zm2.2 0v-5.2h1.2v5.2zm1.8-3.6c0-.4 0-.9.3-1.2a1.6 1.6 0 0 1 1.2-.4 1.6 1.6 0 0 1 1.2.4c.2.3.4.8.3 1.2v2c0 .4-.1.9-.4 1.2a1.8 1.8 0 0 1-2.3 0c-.3-.3-.4-.8-.3-1.2zm1.1-.2v2.5l.1.4a.3.3 0 0 0 .3 0 .3.3 0 0 0 .2 0l.1-.4v-2.9a.3.3 0 0 0-.3 0 .3.3 0 0 0-.3 0zm2.4 3.8v-5.2h1.4l.6 2.1.2.7.2.8-.1-.8v-2.7h1.1v5.2h-1.3l-.7-2.3-.3-1.5v3.8h-1z"}))))},eC=n(94124),eM=n.n(eC),eP=e=>{var t,n,r,i;let{isMegaMenuActive:s,closeMegaMenu:o,megamenuItems:a}=e,l=null==a?void 0:null===(n=a.main)||void 0===n?void 0:null===(t=n.menuItems)||void 0===t?void 0:t.nodes,u=null==a?void 0:null===(i=a.community)||void 0===i?void 0:null===(r=i.menuItems)||void 0===r?void 0:r.nodes,[h,p]=(0,d.useState)(!0),[f,m]=(0,d.useState)(!0);return(0,d.useEffect)(()=>{s?p(!0):(p(!0),setTimeout(()=>{p(!1)},750))},[s]),(0,d.useEffect)(()=>{let e=setTimeout(()=>{m(!1)},1e3);return()=>{clearTimeout(e)}},[]),(0,c.jsxs)("nav",{"aria-labelledby":"megaManuNavigation",className:(0,A.Z)(eM().megaMenu,!f&&h&&eM().megaMenu__transition,!f&&h&&s&&eM().megaMenu__active),children:[(0,c.jsx)("h2",{id:"megaManuNavigation",className:"u-visually-hidden",children:"Open menu navigation"}),(0,c.jsx)("div",{className:eM().logo,children:(0,c.jsx)(eT,{})}),(0,c.jsx)("button",{className:eM().closeButton,"aria-label":"Close",onClick:o,children:(0,c.jsxs)("span",{className:eM().pathContainer,children:[(0,c.jsx)("span",{className:eM().closePath}),(0,c.jsx)("span",{className:eM().closePath})]})}),(0,c.jsxs)("div",{className:eM().navContainer,children:[(0,c.jsxs)("div",{className:eM().primaryNavContent,children:[(0,c.jsx)("div",{className:eM().headline,children:"Menu"}),(0,c.jsx)(eb,{list:l,className:eM().primaryMenuList,itemClickHandler:o,listItemClassName:eM().menuItemPrimary,activeClassName:eM().active})]}),(0,c.jsxs)("div",{className:eM().secondaryNavContent,children:[(0,c.jsx)("div",{className:eM().headline,children:"More about Big-D"}),(0,c.jsx)(eb,{list:u,className:eM().secondaryMenuList,itemClickHandler:o,listItemClassName:eM().menuItemSecondary,activeClassName:eM().active})]})]})]})},eO=n(26038),eI=n(56546),eR=n(83686),eD=n.n(eR),ej=n(38991),eN=n(37212),eL=n.n(eN),eB=e=>{let{footerLogos:t}=e;if(!t)return null;let n=t.filter(e=>{let t=!0;if(e.exclude_from&&e.exclude_from.length>0){for(let n=0;n<e.exclude_from.length;n++)if(e.exclude_from[n].slug==ec.xv){t=!1;break}}return t});return(0,c.jsxs)("div",{className:eL().footerLogos,children:[(0,c.jsx)("p",{className:eL().headline,children:"The Big-D Family of Companies"}),(0,c.jsx)("div",{className:eL().logo_group,children:null==n?void 0:n.map(e=>{var t,n,r;return(0,c.jsxs)(em.Z,{href:e.url,target:"_blank",className:eL().logo,children:[(null==e?void 0:null===(t=e.logo)||void 0===t?void 0:t.url)?(0,c.jsx)(ej.default,{height:"50%",width:"100%",src:null==e?void 0:null===(n=e.logo)||void 0===n?void 0:n.url,alt:null==e?void 0:null===(r=e.logo)||void 0===r?void 0:r.alt,objectFit:"contain",className:eL().logoImage}):null,(0,c.jsx)("span",{className:eL().title,children:e.title}),(0,c.jsx)("div",{className:eL().subtitle,dangerouslySetInnerHTML:{__html:e.location}})]},e.title)})})]})},eF=n(96833),e$=n(15685),ez=n.n(e$);eO.p8.registerPlugin(eI.ScrollTrigger);var eV=e=>{var t,n,r,i,s,o,a,l,u,h,p;let{greatPlaceToWorkLogoUrl:f,footerLogos:m,footerMenus:g,socialItems:v,footerSettings:y,activeLocations:_}=e,b=null==g?void 0:g.column1,w=null==g?void 0:g.column2,x=null==g?void 0:g.column3,S=null==g?void 0:g.column4,E=null==g?void 0:null===(n=g.bottom)||void 0===n?void 0:null===(t=n.menuItems)||void 0===t?void 0:t.nodes;null==y||null===(r=y.copyright)||void 0===r||r.replace("%YEAR%",new Date().getFullYear());let A=(0,d.useRef)();return eO.p8.utils.selector(A),(0,d.useRef)(),(0,c.jsxs)("footer",{ref:A,id:"footer",className:ez().footerWrapper,children:[(0,c.jsxs)("div",{className:ez().footer,children:[(0,c.jsx)("div",{className:ez().logo,children:(0,c.jsx)(eT,{})}),(0,c.jsxs)("div",{className:ez().menuPrimary1,children:[(0,c.jsx)(eF.Z,{text:null==b?void 0:null===(i=b.acf)||void 0===i?void 0:i.title,semantics:"h3",className:ez().menuHeading}),(0,c.jsx)(eb,{list:null==b?void 0:null===(s=b.menuItems)||void 0===s?void 0:s.nodes,className:ez().menuList,listItemClassName:ez().menuItems,activeClassName:ez().active})]}),(0,c.jsxs)("div",{className:ez().menuPrimary1,children:[(0,c.jsx)(eF.Z,{text:null==w?void 0:null===(o=w.acf)||void 0===o?void 0:o.title,semantics:"h3",className:ez().menuHeading}),(0,c.jsx)(eb,{list:null==w?void 0:null===(a=w.menuItems)||void 0===a?void 0:a.nodes,className:ez().menuList,listItemClassName:ez().menuItems,activeClassName:ez().active})]}),(0,c.jsxs)("div",{className:ez().menuPrimary2,children:[(0,c.jsx)(eF.Z,{text:null==x?void 0:null===(l=x.acf)||void 0===l?void 0:l.title,semantics:"h3",className:ez().menuHeading}),(0,c.jsx)(eb,{list:null==x?void 0:null===(u=x.menuItems)||void 0===u?void 0:u.nodes,className:ez().menuList,listItemClassName:ez().menuItems,activeClassName:ez().active})]}),(0,c.jsxs)("div",{className:ez().menuPrimary2,children:[(0,c.jsx)(eF.Z,{text:null==S?void 0:null===(h=S.acf)||void 0===h?void 0:h.title,semantics:"h3",className:ez().menuHeading}),(0,c.jsx)(eb,{list:null==S?void 0:null===(p=S.menuItems)||void 0===p?void 0:p.nodes,className:ez().menuList,listItemClassName:ez().menuItems,activeClassName:ez().active})]}),(0,c.jsx)("div",{className:ez().certified,children:(0,c.jsx)(ej.default,{src:f,alt:"Great Place to Work",height:"150%",width:"100%",objectFit:"contain"})}),(0,c.jsx)(eb,{list:E,className:ez().secondaryMenu,listClassName:ez().secondaryMenuList,activeClassName:ez().active}),(0,c.jsx)(eD(),{socialItems:v,classNames:{root:ez().socialIconsContainer}}
28)]}),(0,c.jsx)("div",{className:ez().footerLogosWrapper,children:(0,c.jsx)(eB,{footerLogos:m})})]})};n(28310),n(42409),n(73148);var eU=n(25364),eH=n(96681),eW=n(240),eq=n(16014);class eY extends d.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function eG({children:e,isPresent:t}){let n=(0,d.useId)(),r=(0,d.useRef)(null),i=(0,d.useRef)({width:0,height:0,top:0,left:0}),{nonce:s}=(0,d.useContext)(eq._);return(0,d.useInsertionEffect)(()=>{let{width:e,height:o,top:a,left:l}=i.current;if(t||!r.current||!e||!o)return;r.current.dataset.motionPopId=n;let u=document.createElement("style");return s&&(u.nonce=s),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` 29 [data-motion-pop-id="${n}"] { 30 position: absolute !important; 31 width: ${e}px !important; 32 height: ${o}px !important; 33 top: ${a}px !important; 34 left: ${l}px !important; 35 } 36 `),()=>{document.head.removeChild(u)}},[t]),(0,c.jsx)(eY,{isPresent:t,childRef:r,sizeRef:i,children:d.cloneElement(e,{ref:r})})}let eX=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o})=>{let a=(0,eH.h)(eK),l=(0,d.useId)(),u=(0,d.useCallback)(e=>{for(let t of(a.set(e,!0),a.values()))if(!t)return;r&&r()},[a,r]),h=(0,d.useMemo)(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:u,register:e=>(a.set(e,!1),()=>a.delete(e))}),s?[Math.random(),u]:[n,u]);return(0,d.useMemo)(()=>{a.forEach((e,t)=>a.set(t,!1))},[n]),d.useEffect(()=>{n||a.size||!r||r()},[n]),"popLayout"===o&&(e=(0,c.jsx)(eG,{isPresent:n,children:e})),(0,c.jsx)(eW.O.Provider,{value:h,children:e})};function eK(){return new Map}var eQ=n(15947);let eJ=e=>e.key||"";function eZ(e){let t=[];return d.Children.forEach(e,e=>{(0,d.isValidElement)(e)&&t.push(e)}),t}var e0=n(58868);let e1=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1})=>{let[a,l]=(0,eQ.oO)(o),u=(0,d.useMemo)(()=>eZ(e),[e]),h=o&&!a?[]:u.map(eJ),p=(0,d.useRef)(!0),f=(0,d.useRef)(u),m=(0,eH.h)(()=>new Map),[g,v]=(0,d.useState)(u),[y,_]=(0,d.useState)(u);(0,e0.L)(()=>{p.current=!1,f.current=u;for(let e=0;e<y.length;e++){let t=eJ(y[e]);h.includes(t)?m.delete(t):!0!==m.get(t)&&m.set(t,!1)}},[y,h.length,h.join("-")]);let b=[];if(u!==g){let e=[...u];for(let t=0;t<y.length;t++){let n=y[t],r=eJ(n);h.includes(r)||(e.splice(t,0,n),b.push(n))}"wait"===s&&b.length&&(e=b),_(eZ(e)),v(u);return}let{forceRender:w}=(0,d.useContext)(eU.p);return(0,c.jsx)(c.Fragment,{children:y.map(e=>{let d=eJ(e),g=(!o||!!a)&&(u===y||h.includes(d));return(0,c.jsx)(eX,{isPresent:g,initial:(!p.current||!!n)&&void 0,custom:g?void 0:t,presenceAffectsLayout:i,mode:s,onExitComplete:g?void 0:()=>{if(!m.has(d))return;m.set(d,!0);let e=!0;m.forEach(t=>{t||(e=!1)}),e&&(null==w||w(),_(f.current),o&&(null==l||l()),r&&r())},children:e},d)})})};var e2=n(34221);let e3=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,e5=new Set,e4=()=>(e5.forEach(e=>{e()}),!0);var e6=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,d.useCallback)(e,t),r=(0,ed.useRouter)();(0,d.useEffect)(()=>{if("function"==typeof e)return e5.add(n),r.beforePopState(e4),()=>{e5.delete(n)}},[n,e,r])};let e8={},e9=!1,e7=()=>{let e=(0,ed.useRouter)(),{asPath:t}=e;return e6(()=>{},[]),(0,d.useEffect)(()=>{let n=()=>{window.history.scrollRestoration="manual",e8[t]=e3()};return e.events.on("routeChangeStart",n),()=>e.events.off("routeChangeStart",n)},[e,t]),(0,d.useCallback)(()=>{e9&&e8[t]?window.scrollTo(0,e8[t]):window.scrollTo(0,0),e9=!1,window.history.scrollRestoration="auto"},[t])};var te=function(e){var t,n,r,i,s;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=null===(t=document)||void 0===t?void 0:t.getElementById(e);if(!a)return;let l=null===(i=document)||void 0===i?void 0:null===(r=i.body)||void 0===r?void 0:null===(n=r.getBoundingClientRect())||void 0===n?void 0:n.top,u=(null==a?void 0:null===(s=a.getBoundingClientRect())||void 0===s?void 0:s.top)-l-o;u&&window.scrollTo({top:u,behavior:"smooth"})};let tt=()=>{let e=(0,ed.useRouter)();return(0,d.useCallback)(()=>{setTimeout(()=>{var t,n;let r=null==e?void 0:null===(n=e.asPath)||void 0===n?void 0:null===(t=n.split("#"))||void 0===t?void 0:t[1];r&&te(r)},2e3)})};var tn=n(75079);let tr={exitBeforeEnter:!0,initial:{opacity:0}
36,animate:{opacity:1,transition:{delay:.1,ease:tn.Q.expoIn,duration:.65}},exit:{opacity:0,transition:{ease:tn.Q.expoIn,duration:.35}}},ti={exitBeforeEnter:!1,initial:{opacity:1,transition:{ease:tn.Q.expoIn,duration:0}},animate:{opacity:1,transition:{delay:.1,ease:tn.Q.expoIn,duration:0}},exit:{opacity:1,transition:{ease:tn.Q.expoIn,duration:0}}},ts={exitBeforeEnter:!1,initial:{opacity:1},animate:{opacity:1,transition:{delay:0,ease:tn.Q.expoIn,duration:1}},exit:{opacity:1,transition:{delay:0,ease:tn.Q.expoIn,duration:0}}};var to=e=>{let{children:t,onExitComplete:n}=e,r=(0,ed.useRouter)(),{asPath:i}=r,s="/"===i?"home":i,o=e7(),a=tt(),[l,u]=(0,d.useState)(tr),h=(0,d.useCallback)(()=>{o(),a()},[o]);(0,d.useEffect)(()=>{let e=(e,t)=>{let{shallow:n}=t;u(p(i,e))};return r.events.on("beforeHistoryChange",e),()=>{r.events.off("beforeHistoryChange",e)}},[r,i]);let p=(e,t)=>{let n=tr;return t===e||(t.indexOf("".concat(ec.j_.projectsCategories,"/"))>-1&&e==="/".concat(ec.j_.projects)&&(n=ti),t.indexOf("".concat(ec.j_.projects,"/"))>-1&&-1===t.indexOf("".concat(ec.j_.projectsCategories,"/"))&&e.indexOf("".concat(ec.j_.projectsCategories,"/"))>-1&&(n=ts)),n};return(0,c.jsx)(e1,{mode:l.exitBeforeEnter?"wait":"sync",onExitComplete:()=>h(),children:(0,c.jsx)(e2.E.div,{variants:l,initial:"initial",animate:"animate",exit:"exit",children:t},s)})},ta=()=>(0,d.useEffect)(()=>{let e=Array.from(document.querySelectorAll('link[rel="stylesheet"][data-n-p]')).map(e=>({element:e,href:e.getAttribute("href")}));e.forEach(e=>{let{element:t}=e;return t.removeAttribute("data-n-p")});let t=[],n=new MutationObserver(n=>{n.filter(e=>{let{target:t}=e;return"STYLE"===t.nodeName&&t.hasAttribute("data-n-href")}).map(e=>{let{target:t}=e;return{element:t,href:t.getAttribute("data-n-href")}}).forEach(e=>{let{element:n,href:r}=e;t.includes(r)?n.remove():(n.setAttribute("data-fouc-fix-n-href",r),n.removeAttribute("data-n-href"),t.push(r))}),e=e.reduce((e,n)=>{let{element:r,href:i}=n;return t.includes(i)?r.remove():e.push(n),e},[])});return n.observe(document.head,{subtree:!0,attributeFilter:["media"]}),()=>n.disconnect()},[]);n(14849);var tl=function(e){var t,n,r,i,s,o,a,l,u,m,g,v,y,b,x,S,A,k,T,C,M,P,O,I,R,D;let{Component:j,pageProps:N}=e;ta();let[L,B]=(0,d.useState)(!1),F=null==N?void 0:null===(t=N.pageData)||void 0===t?void 0:t.seo,$=null==N?void 0:null===(n=N.globalData)||void 0===n?void 0:n.seoConfig,z=null==N?void 0:null===(i=N.globalData)||void 0===i?void 0:null===(r=i.bigdGlobalSettings)||void 0===r?void 0:r.footer_logos,V=null==N?void 0:null===(a=N.globalData)||void 0===a?void 0:null===(o=a.bigdGlobalSettings)||void 0===o?void 0:null===(s=o.great_place_to_work_logo)||void 0===s?void 0:s.logo,U=null==N?void 0:null===(v=N.globalData)||void 0===v?void 0:null===(g=v.globalMenus)||void 0===g?void 0:null===(m=g.header)||void 0===m?void 0:null===(u=m.primary)||void 0===u?void 0:null===(l=u.menuItems)||void 0===l?void 0:l.nodes,H=null==N?void 0:null===(x=N.globalData)||void 0===x?void 0:null===(b=x.globalMenus)||void 0===b?void 0:null===(y=b.header)||void 0===y?void 0:y.megamenu,W=null==N?void 0:null===(A=N.globalData)||void 0===A?void 0:null===(S=A.globalMenus)||void 0===S?void 0:S.footer,q=null==N?void 0:null===(M=N.globalData)||void 0===M?void 0:null===(C=M.globalMenus)||void 0===C?void 0:null===(T=C.socialNetworks)||void 0===T?void 0:null===(k=T.menuItems)||void 0===k?void 0:k.nodes,Y=null==N?void 0:null===(O=N.globalData)||void 0===O?void 0:null===(P=O.globalSettings)||void 0===P?void 0:P.footer,G=null==N?void 0:null===(R=N.globalData)||void 0===R?void 0:null===(I=R.globalSettings)||void 0===I?void 0:I.seo,X=null==N?void 0:null===(D=N.globalData)||void 0===D?void 0:D.activeLocations,K="GTM-P34Z6Z84";
36return(0,c.jsx)(p.pm,{reCaptchaKey:"6LcQOFQsAAAAAMSXpFf27D-6YDn4_WB-SeRT6s1r",children:(0,c.jsx)(f.ThemeProvider,{theme:f.lightTheme,children:(0,c.jsxs)(h.C1,{children:[(0,c.jsx)(_,{pageSeo:F,globalSeo:$,seoDefaults:G}),(0,c.jsx)(w,{}),K&&(0,c.jsx)("noscript",{dangerouslySetInnerHTML:{__html:'<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(K,'"\n height="0" width="0" style="display:none;visibility:hidden"></iframe>')}}),(0,c.jsx)(E,{}),(0,c.jsx)(eA,{preview:null==N?void 0:N.preview,primaryNavItems:U,toggleMegaMenu:()=>B(!L),additionalHeaderInfo:null==N?void 0:N.additionalHeaderInfo}),(0,c.jsx)(eP,{megamenuItems:H,isMegaMenuActive:L,closeMegaMenu:()=>B(!1)}),(0,c.jsxs)(to,{children:[(0,c.jsx)("main",{id:"main-content",children:(0,c.jsx)(j,{...N})}),(0,c.jsx)(eV,{greatPlaceToWorkLogoUrl:V,footerLogos:z,footerMenus:W,socialItems:q,footerSettings:Y,activeLocations:X})]}),!1]})})})}},46083:function(e,t,n){"use strict";n.d(t,{C1:function(){return a},pU:function(){return o}});var r=n(2082),i=n(80007);let s=(0,r.Wm)({breakpoints:i.j$});s.createMediaStyle();let{Media:o,MediaContextProvider:a}=s},15685:function(e){e.exports={footerWrapper:"Footer_footerWrapper__JGMM1",footer:"Footer_footer__7blBZ",footerLogosWrapper:"Footer_footerLogosWrapper__ibb2e",menuHeading:"Footer_menuHeading__irksZ",menuSubheading:"Footer_menuSubheading__Gah77",menuList:"Footer_menuList__jaYKb",menuListInline:"Footer_menuListInline__MDzqG",menuListItem:"Footer_menuListItem__r5Mqg",slash:"Footer_slash__clga4",menuListLink:"Footer_menuListLink__HQiub","focus-visible":"Footer_focus-visible__LcXnY","js-focus-visible":"Footer_js-focus-visible__GuKmN",logo:"Footer_logo__nbWVP",address:"Footer_address__csnq_",menuPrimaryContainer:"Footer_menuPrimaryContainer__dMsGR",menuPrimary1:"Footer_menuPrimary1__FcC8v",menuPrimary2:"Footer_menuPrimary2__B22BF",certified:"Footer_certified__9TRcq",menuItems:"Footer_menuItems__Rrtg0",active:"Footer_active__rzJdQ",formContainer:"Footer_formContainer__7CAyI",copyRightLabel:"Footer_copyRightLabel__Eqkn1",secondaryMenu:"Footer_secondaryMenu__VwQGG",secondaryMenuList:"Footer_secondaryMenuList__rhlPs",socialIconsContainer:"Footer_socialIconsContainer__yQLKL"}},37212:function(e){e.exports={footerLogos:"FooterLogos_footerLogos__nf6ls",headline:"FooterLogos_headline__lqQy0",logo_group:"FooterLogos_logo_group__jmolN",logo:"FooterLogos_logo__zi2o0","focus-visible":"FooterLogos_focus-visible__dzjaH","js-focus-visible":"FooterLogos_js-focus-visible__IPWly",logoImage:"FooterLogos_logoImage__BVjus",title:"FooterLogos_title__yVIdA",subtitle:"FooterLogos_subtitle__j4TkV"}},73148:function(e){e.exports={gridExamples:"GridExamples_gridExamples__8Gwoh",grid1:"GridExamples_grid1__He8cd",grid1Inner:"GridExamples_grid1Inner__2uxH6",grid2:"GridExamples_grid2__O5LmU",grid2Left:"GridExamples_grid2Left__uvxon",grid2Center:"GridExamples_grid2Center__n4v1m",grid2Right:"GridExamples_grid2Right__5d7y5",grid3:"GridExamples_grid3__PdZ4K",grid3Left:"GridExamples_grid3Left__UXxDd",grid3Right:"GridExamples_grid3Right__ub0Qp",grid4:"GridExamples_grid4__hJPKl",grid4Inner:"GridExamples_grid4Inner__p8Cz_"}},42409:function(e){e.exports={gridContainer:"GridOverlay_gridContainer__TNq7T",gridSiteContainer:"GridOverlay_gridSiteContainer__OqarZ",grid:"GridOverlay_grid__UoWUP"}},96696:function(e){e.exports={header:"Header_header__gtmFw",header__init:"Header_header__init__1KlXe",header__inactive:"Header_header__inactive__cMLfy",header__solid:"Header_header__solid__SWtdD",headerInner:"Header_headerInner__mzflS",headerLogo:"Header_headerLogo__jQNRF",headerMenu:"Header_headerMenu__lwyNJ",headerMenuList:"Header_headerMenuList__D7Kmp",headerMenuItem:"Header_headerMenuItem__OyYhM",active:"Header_active__sryJG",dot:"Header_dot__meLaR",burgerMenu:"Header_burgerMenu__oamd3",iconWrapper:"Header_iconWrapper__ljZ7v",burgerPath:"Header_burgerPath__KD7WE",iconContainer:"Header_iconContainer__x9ZWl",gridViewIcon:"Header_gridViewIcon__lWJgE",gridBlock:"Header_gridBlock__2AYnt",squareDot:"Header_squareDot__6oxwf",rectangle:"Header_rectangle__rxRZ_"}}
36,90523:function(e){e.exports={container:"Container_container__sIK_T"}},94124:function(e){e.exports={megaMenu:"MegaMenu_megaMenu__GLV3W",megaMenu__transition:"MegaMenu_megaMenu__transition__z22cc",megaMenu__active:"MegaMenu_megaMenu__active__ryHjN",navContainer:"MegaMenu_navContainer__Y3mMC",logo:"MegaMenu_logo__cq_qz",closeButton:"MegaMenu_closeButton__UIyHY","focus-visible":"MegaMenu_focus-visible__o4KC4","js-focus-visible":"MegaMenu_js-focus-visible__ITPXa",pathContainer:"MegaMenu_pathContainer__3HbPF",closePath:"MegaMenu_closePath__rVjmf",headline:"MegaMenu_headline__jrOxD",primaryNavContent:"MegaMenu_primaryNavContent__mu1dj",menuItemPrimary:"MegaMenu_menuItemPrimary__avlRg",active:"MegaMenu_active__CAqGU",secondaryNavContent:"MegaMenu_secondaryNavContent__6lkrb",menuItemSecondary:"MegaMenu_menuItemSecondary__bs_mc"}},64509:function(e){e.exports={paragraph:"Paragraph_paragraph__7JSG3",grow:"Paragraph_grow__qAs9b"}},94329:function(e){e.exports={preview:"Preview_preview__LTcwd"}},16827:function(e){e.exports={skipToContentLink:"SkipToMainContent_skipToContentLink__K4Sjh","focus-visible":"SkipToMainContent_focus-visible__dX_SH","js-focus-visible":"SkipToMainContent_js-focus-visible__kSatM"}},14849:function(){},11987:function(e,t,n){!function(){var t={452:function(e){"use strict";e.exports=n(97334)}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var s=r[e]={exports:{}},o=!0;try{t[e](s,s.exports,i),o=!1}finally{o&&delete r[e]}return s.exports}i.ab="//";var s={};(function(){var e,t=(e=i(452))&&"object"==typeof e&&"default"in e?e.default:e,n=/https?|ftp|gopher|file/;function r(e){"string"==typeof e&&(e=v(e));var r,i,s,o,a,l,u,c,d,h=(i=(r=e).auth,s=r.hostname,o=r.protocol||"",a=r.pathname||"",l=r.hash||"",u=r.query||"",c=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",r.host?c=i+r.host:s&&(c=i+(~s.indexOf(":")?"["+s+"]":s),r.port&&(c+=":"+r.port)),u&&"object"==typeof u&&(u=t.encode(u)),d=r.search||u&&"?"+u||"",o&&":"!==o.substr(-1)&&(o+=":"),r.slashes||(!o||n.test(o))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),{protocol:o,host:c,pathname:a=a.replace(/[?#]/g,encodeURIComponent),search:d=d.replace("#","%23"),hash:l});return""+h.protocol+h.host+h.pathname+h.search+h.hash}var o="http://",a=o+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,u=/https?|ftp|gopher|file/;function c(e,t){var n="string"==typeof e?v(e):e;e="object"==typeof e?r(e):e;var i=v(t),s="";n.protocol&&!n.slashes&&(s=n.protocol,e=e.replace(n.protocol,""),s+="/"===t[0]||"/"===e[0]?"/":""),s&&i.protocol&&(s="",i.slashes||(s=i.protocol,t=t.replace(i.protocol,"")));var c=e.match(l);c&&!i.protocol&&(e=e.substr((s=c[1]+(c[2]||"")).length),/^\/\/[^/]/.test(t)&&(s=s.slice(0,-1)));var d=new URL(e,a+"/"),h=new URL(t,d).toString().replace(a,""),p=i.protocol||n.protocol;return p+=n.slashes||i.slashes?"//":"",!s&&p?h=h.replace(o,p):s&&(h=h.replace(o,"")),u.test(h)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==h.slice(-1)||(h=h.slice(0,-1)),s&&(h=s+("/"===h[0]?h.substr(1):h)),h}function d(){}d.prototype.parse=v,d.prototype.format=r,d.prototype.resolve=c,d.prototype.resolveObject=c;var h=/^https?|ftp|gopher|file/,p=/^(.*?)([#?].*)/,f=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,m=/^([a-z0-9.+-]*:)?\/\/\/*/i,g=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function v(e,n,i){if(void 0===n&&(n=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof d)return e;var s=(e=e.trim()).match(p);e=s?s[1].replace(/\\/g,"/")+s[2]:e.replace(/\\/g,"/"),g.test(e)&&"/"!==e.slice(-1)&&(e+="/");var o=!/(^javascript)/.test(e)&&e.match(f),l=m.test(e),u="";o&&(h.test(o[1])||(u=o[1].toLowerCase(),e=""+o[2]+o[3]),o[2]||(l=!1,h.test(o[1])?(u=o[1],e=""+o[3]):e="//"+o[3]),3!==o[2].length&&1!==o[2].length||(u=o[1],e="/"+o[3]));var c,v=(s?s[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),y=v&&v[1],_=new d,b="",w="";try{c=new URL(e)}catch(t){b=t,u||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(w="/",e=e.substr(1));try{c=new URL(e,a)}catch(e){return _.protocol=u,_.href=u,_}}_.slashes=l&&!w,_.host="w.w"===c.host?"":c.host,_.hostname="w.w"===c.hostname?"":c.hostname.replace(/(\[|\])/g,""),_.protocol=b?u||null:c.protocol,_.search=c.search.replace(/\\/g,"%5C"),_.hash=c.hash.replace(/\\/g,"%5C");var x=e.split("#");!_.search&&~x[0].indexOf("?")&&(_.search="?"),_.hash||""!==x[1]||(_.hash="#"),_.query=n?t.decode(c.search.substr(1)):_.search.substr(1),_.pathname=w+(o?c.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):c.pathname),"about:"===_.protocol&&"blank"===_.pathname&&(_.protocol="",_.pathname=""),b&&"/"!==e[0]&&(_.pathname=_.pathname.substr(1)),u&&!h.test(u)&&"/"!==e.slice(-1)&&"/"===_.pathname&&(_.pathname=""),_.path=_.pathname+_.search,_.auth=[c.username,c.password].map(decodeURIComponent).filter(
36Boolean).join(":"),_.port=c.port,y&&!_.host.endsWith(y)&&(_.host+=y,_.port=y.slice(1)),_.href=w?""+_.pathname+_.search+_.hash:r(_);var S=/^(file)/.test(_.href)?["host","hostname"]:[];return Object.keys(_).forEach(function(e){~S.indexOf(e)||(_[e]=_[e]||null)}),_}s.parse=v,s.format=r,s.resolve=c,s.resolveObject=function(e,t){return v(c(e,t))},s.Url=d})(),e.exports=s}()},97334:function(e){!function(){"use strict";var t={815:function(e){e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var o=/\+/g;e=e.split(n);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var l=e.length;a>0&&l>a&&(l=a);for(var u=0;u<l;++u){var c,d,h,p,f=e[u].replace(o,"%20"),m=f.indexOf(r);(m>=0?(c=f.substr(0,m),d=f.substr(m+1)):(c=f,d=""),h=decodeURIComponent(c),p=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(s,h))?t(s[h])?s[h].push(p):s[h]=[s[h],p]:s[h]=p}return s};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,s,o,a){return(s=s||"&",o=o||"=",null===e&&(e=void 0),"object"==typeof e)?r(i(e),function(i){var a=encodeURIComponent(t(i))+o;return n(e[i])?r(e[i],function(e){return a+encodeURIComponent(t(e))}).join(s):a+encodeURIComponent(t(e[i]))}).join(s):a?encodeURIComponent(t(a))+o+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var i=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var s=n[e]={exports:{}},o=!0;try{t[e](s,s.exports,r),o=!1}finally{o&&delete n[e]}return s.exports}r.ab="//";var i={};i.decode=i.parse=r(815),i.encode=i.stringify=r(577),e.exports=i}()},9008:function(e,t,n){e.exports=n(23867)},89755:function(e,t,n){e.exports=n(32903)},41664:function(e,t,n){e.exports=n(98342)},11163:function(e,t,n){e.exports=n(43079)},34155:function(e){var t,n,r,i=e.exports={};function s(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===s||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:s}catch(e){t=s}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&h())}function h(){if(!u){var e=a(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||u||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},92703:function(e,t,n){"use strict";
36var r=n(50414);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,s,o){if(o!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},50259:function(e,t,n){"use strict";n.d(t,{pm:function(){return h},xX:function(){return p}});var r,i=n(67294),s=n(34155),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)},l=function(e,t){a(t),window.___grecaptcha_cfg=void 0;var n,r=document.querySelector("#"+e);r&&r.remove(),(n=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))&&n.remove()},u=function(e){var t=e.render,n=e.onLoadCallbackName,r=e.language,i=e.onLoad,s=e.useRecaptchaNet,o=e.useEnterprise,a=e.scriptProps,l=void 0===a?{}:a,u=l.nonce,c=void 0===u?"":u,d=l.defer,h=l.async,p=l.id,f=l.appendTo,m=(void 0===p?"":p)||"google-recaptcha-v3";if(document.querySelector("#"+m))i();else{var g,v="https://www."+((g={useEnterprise:o,useRecaptchaNet:s}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(g.useEnterprise?"enterprise.js":"api.js"),y=document.createElement("script");y.id=m,y.src=v+"?render="+t+("explicit"===t?"&onload="+n:"")+(r?"&hl="+r:""),c&&(y.nonce=c),y.defer=!!(void 0!==d&&d),y.async=!!(void 0!==h&&h),y.onload=i,("body"===f?document.body:document.getElementsByTagName("head")[0]).appendChild(y)}},c=function(e){void 0===s||s.env,console.warn(e)};(r||(r={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var d=(0,i.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function h(e){var t=e.reCaptchaKey,n=e.useEnterprise,s=void 0!==n&&n,a=e.useRecaptchaNet,h=void 0!==a&&a,p=e.scriptProps,f=e.language,m=e.container,g=e.children,v=(0,i.useState)(null),y=v[0],_=v[1],b=(0,i.useRef)(t),w=JSON.stringify(p),x=JSON.stringify(null==m?void 0:m.parameters);(0,i.useEffect)(function(){if(t){var e=(null==p?void 0:p.id)||"google-recaptcha-v3",n=(null==p?void 0:p.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var e=s?window.grecaptcha.enterprise:window.grecaptcha,n=o({badge:"inline",size:"invisible",sitekey:t},(null==m?void 0:m.parameters)||{});b.current=e.render(null==m?void 0:m.element,n)},u({render:(null==m?void 0:m.element)?"explicit":t,onLoadCallbackName:n,useEnterprise:s,useRecaptchaNet:h,scriptProps:p,language:f,onLoad:function(){if(window&&window.grecaptcha){var e=s?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){_(e)})}else c("<GoogleRecaptchaProvider /> "+r.SCRIPT_NOT_AVAILABLE)},onError:function(){c("Error loading google recaptcha script")}}),function(){l(e,null==m?void 0:m.element)}}c("<GoogleReCaptchaProvider /> recaptcha key not provided")},[s,h,w,x,f,t,null==m?void 0:m.element]);var S=(0,i.useCallback)(function(e){if(!y||!y.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return y.execute(b.current,{action:e})},[y,b]),E=(0,i.useMemo)(function(){return{executeRecaptcha:y?S:void 0,container:null==m?void 0:m.element}},[S,y,null==m?void 0:m.element]);return i.createElement(d.Provider,{value:E},g)}d.Consumer;var p=function(){return(0,i.useContext)(d)};function f(e,t){return e(t={exports:{}},t.exports),t.exports}var m="function"==typeof Symbol&&Symbol.for,g=m?Symbol.for("react.element"):60103,v=m?Symbol.for("react.portal"):60106,y=m?Symbol.for("react.fragment"):60107,_=m?Symbol.for("react.strict_mode"):60108,b=m?Symbol.for("react.profiler"):60114,
36w=m?Symbol.for("react.provider"):60109,x=m?Symbol.for("react.context"):60110,S=m?Symbol.for("react.async_mode"):60111,E=m?Symbol.for("react.concurrent_mode"):60111,A=m?Symbol.for("react.forward_ref"):60112,k=m?Symbol.for("react.suspense"):60113,T=m?Symbol.for("react.suspense_list"):60120,C=m?Symbol.for("react.memo"):60115,M=m?Symbol.for("react.lazy"):60116,P=m?Symbol.for("react.block"):60121,O=m?Symbol.for("react.fundamental"):60117,I=m?Symbol.for("react.responder"):60118,R=m?Symbol.for("react.scope"):60119;function D(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case g:switch(e=e.type){case S:case E:case y:case b:case _:case k:return e;default:switch(e=e&&e.$$typeof){case x:case A:case M:case C:case w:return e;default:return t}}case v:return t}}}function j(e){return D(e)===E}var N={AsyncMode:S,ConcurrentMode:E,ContextConsumer:x,ContextProvider:w,Element:g,ForwardRef:A,Fragment:y,Lazy:M,Memo:C,Portal:v,Profiler:b,StrictMode:_,Suspense:k,isAsyncMode:function(e){return j(e)||D(e)===S},isConcurrentMode:j,isContextConsumer:function(e){return D(e)===x},isContextProvider:function(e){return D(e)===w},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===g},isForwardRef:function(e){return D(e)===A},isFragment:function(e){return D(e)===y},isLazy:function(e){return D(e)===M},isMemo:function(e){return D(e)===C},isPortal:function(e){return D(e)===v},isProfiler:function(e){return D(e)===b},isStrictMode:function(e){return D(e)===_},isSuspense:function(e){return D(e)===k},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===y||e===E||e===b||e===_||e===k||e===T||"object"==typeof e&&null!==e&&(e.$$typeof===M||e.$$typeof===C||e.$$typeof===w||e.$$typeof===x||e.$$typeof===A||e.$$typeof===O||e.$$typeof===I||e.$$typeof===R||e.$$typeof===P)},typeOf:D},L=f(function(e,t){}),B=(L.AsyncMode,L.ConcurrentMode,L.ContextConsumer,L.ContextProvider,L.Element,L.ForwardRef,L.Fragment,L.Lazy,L.Memo,L.Portal,L.Profiler,L.StrictMode,L.Suspense,L.isAsyncMode,L.isConcurrentMode,L.isContextConsumer,L.isContextProvider,L.isElement,L.isForwardRef,L.isFragment,L.isLazy,L.isMemo,L.isPortal,L.isProfiler,L.isStrictMode,L.isSuspense,L.isValidElementType,L.typeOf,f(function(e){e.exports=N})),F={};F[B.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},F[B.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0}},96774:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var s=Object.keys(e),o=Object.keys(t);if(s.length!==o.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l<s.length;l++){var u=s[l];if(!a(u))return!1;var c=e[u],d=t[u];if(!1===(i=n?n.call(r,c,d,u):void 0)||void 0===i&&c!==d)return!1}return!0}},41686:function(e,t,n){"use strict";n.r(t),n.d(t,{ServerStyleSheet:function(){return tA},StyleSheetConsumer:function(){return e9},StyleSheetContext:function(){return e8},StyleSheetManager:function(){return tt},ThemeConsumer:function(){return td},ThemeContext:function(){return tc},ThemeProvider:function(){return tp},__PRIVATE__:function(){return tk},createGlobalStyle:function(){return tx},css:function(){return ty},default:function(){return tb},isStyledComponent:function(){return eI},keyframes:function(){return tS},styled:function(){return tb},useTheme:function(){return th},version:function(){return X},withTheme:function(){return tE}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t,n){if(n||2==arguments.length)for(var r,i=0,s=t.length;i<s;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var s=n(67294),o=n(96774),a=n.n(o),l="-ms-",u="-moz-",c="-webkit-",d="comm",h="rule",p="decl",f="@keyframes",m=Math.abs,g=String.fromCharCode,v=Object.assign;function y(e,t){return(e=t.exec(e))?e[0]:e}function _(e,t,n){return e.replace(t,n)}function b(e,t,n){return e.indexOf(t,n)}function w(e,t){return 0|e.charCodeAt(t)}function x(e,t,n){return e.slice(t,n)}function S(e){return e.length}function E(e,t){return t.push(e),e}function A(e,t){return e.filter(function(e){return!y(e,t)})}var k=1,T=1,C=0,M=0,P=0,O="";function I(e,t,n,r,i,s,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:s,line:k,column:T,length:o,return:"",siblings:a}}function R(e,t){return v(I("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function D(e){for(;e.root;)e=R(e.root,{children:[e]});E(e,e.siblings)}function j(){return P=M<C?w(O,M++):0,T++,10===P&&(T=1,k++),P}function N(){return w(O,M)}function L(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B(e){var t,n;return(t=M-1,n=function e(t){for(;j();)switch(P){case t:return M;case 34:case 39:34!==t&&39!==t&&e(P);break;case 40:41===t&&e(t);break;case 92:j()}return M}(91===e?e+2:40===e?e+1:e),x(O,t,n)).trim()}function F(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function $(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case p:return e.return=e.return||e.value;case d:return"";case f:return e.return=e.value+"{"+F(e.children,r)+"}";case h:if(!S(e.value=e.props.join(",")))return""}return S(n=F(e.children,r))?e.return=e.value+"{"+n+"}":""}function z(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case p:e.return=function e(t,n,r){var i;switch(i=n,45^w(t,0)?(((i<<2^w(t,0))<<2^w(t,1))<<2^w(t,2))<<2^w(t,3):0){case 5103:return c+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return c+t+t;case 4789:return u+t+t;
vendor: 12,273 bytes, line 36
36case 5349:case 4246:case 4810:case 6968:case 2756:return c+t+u+t+l+t+t;case 5936:switch(w(t,n+11)){case 114:return c+t+l+_(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return c+t+l+_(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return c+t+l+_(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return c+t+l+t+t;case 6165:return c+t+l+"flex-"+t+t;case 5187:return c+t+_(t,/(\w+).+(:[^]+)/,c+"box-$1$2"+l+"flex-$1$2")+t;case 5443:return c+t+l+"flex-item-"+_(t,/flex-|-self/g,"")+(y(t,/flex-|baseline/)?"":l+"grid-row-"+_(t,/flex-|-self/g,""))+t;case 4675:return c+t+l+"flex-line-pack"+_(t,/align-content|flex-|-self/g,"")+t;case 5548:return c+t+l+_(t,"shrink","negative")+t;case 5292:return c+t+l+_(t,"basis","preferred-size")+t;case 6060:return c+"box-"+_(t,"-grow","")+c+t+l+_(t,"grow","positive")+t;case 4554:return c+_(t,/([^-])(transform)/g,"$1"+c+"$2")+t;case 6187:return _(_(_(t,/(zoom-|grab)/,c+"$1"),/(image-set)/,c+"$1"),t,"")+t;case 5495:case 3959:return _(t,/(image-set\([^]*)/,c+"$1$`$1");case 4968:return _(_(t,/(.+:)(flex-)?(.*)/,c+"box-pack:$3"+l+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+c+t+t;case 4200:if(!y(t,/flex-|baseline/))return l+"grid-column-align"+x(t,n)+t;break;case 2592:case 3360:return l+_(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,y(e.props,/grid-\w+-end/)}))return~b(t+(r=r[n].value),"span",0)?t:l+_(t,"-start","")+t+l+"grid-row-span:"+(~b(r,"span",0)?y(r,/\d+/):+y(r,/\d+/)-+y(t,/\d+/))+";";return l+_(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return y(e.props,/grid-\w+-start/)})?t:l+_(_(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return _(t,/(.+)-inline(.+)/,c+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(S(t)-1-n>6)switch(w(t,n+1)){case 109:if(45!==w(t,n+4))break;case 102:return _(t,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+u+(108==w(t,n+3)?"$3":"$2-$3"))+t;case 115:return~b(t,"stretch",0)?e(_(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return _(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,s,o,a){return l+n+":"+r+a+(i?l+n+"-span:"+(s?o:+o-+r)+a:"")+t});case 4949:if(121===w(t,n+6))return _(t,":",":"+c)+t;break;case 6444:switch(w(t,45===w(t,14)?18:11)){case 120:return _(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+c+(45===w(t,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+l+"$2box$3")+t;case 100:return _(t,":",":"+l)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return _(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case f:return F([R(e,{value:_(e.value,"@","@"+c)})],r);case h:if(e.length){var i,s;return i=n=e.props,s=function(t){switch(y(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":D(R(e,{props:[_(t,/:(read-\w+)/,":"+u+"$1")]})),D(R(e,{props:[t]})),v(e,{props:A(n,r)});break;case"::placeholder":D(R(e,{props:[_(t,/:(plac\w+)/,":"+c+"input-$1")]})),D(R(e,{props:[_(t,/:(plac\w+)/,":"+u+"$1")]})),D(R(e,{props:[_(t,/:(plac\w+)/,l+"input-$1")]})),D(R(e,{props:[t]})),v(e,{props:A(n,r)})}return""},i.map(s).join("")}}}function V(e,t,n,r,i,s,o,a,l,u,c,d){for(var p=i-1,f=0===i?s:[""],g=f.length,v=0,y=0,b=0;v<r;++v)for(var w=0,S=x(e,p+1,p=m(y=o[v])),E=e;w<g;++w)(E=(y>0?f[w]+" "+S:_(S,/&\f/g,f[w])).trim())&&(l[b++]=E);return I(e,t,n,0===i?h:a,l,u,c,d)}function U(e,t,n,r,i){return I(e,t,n,p,x(e,0,r),x(e,r+1,-1),r,i)}var H={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},W=n(34155),q=void 0!==W&&void 0!==W.env&&(W.env.REACT_APP_SC_ATTR||W.env.SC_ATTR)||"data-styled",Y="active",G="data-styled-version",X="6.1.13",K="/*!sc*/\n",Q="undefined"!=typeof window&&"HTMLElement"in window,J=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==W&&void 0!==W.env&&void 0!==W.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==W.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==W.env.REACT_APP_SC_DISABLE_SPEEDY&&W.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==W&&void 0!==W.env&&void 0!==W.env.SC_DISABLE_SPEEDY&&""!==W.env.SC_DISABLE_SPEEDY&&"false"!==W.env.SC_DISABLE_SPEEDY&&W.env.SC_DISABLE_SPEEDY),Z={},ee=Object.freeze([]),et=Object.freeze({});function en(e,t,n){return void 0===n&&(n=et),e.theme!==n.theme&&e.theme||t||n.theme}var er=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ei=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,es=/(^-|-$)/g;function eo(e){return e.replace(ei,"-").replace(es,"")}var ea=/(a)(d)/gi,el=function(e){return String.fromCharCode(e+(e>25?39:97))};function eu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=el(t%52)+n;return(el(t%52)+n).replace(ea,"$1-$2")}var ec,ed=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},eh=function(e){return ed(5381,e)};function ep(e){return eu(eh(e)>>>0)}function ef(e){return e.displayName||e.name||"Component"}function em(e){return"string"==typeof e}var eg="function"==typeof Symbol&&Symbol.for,ev=eg?Symbol.for("react.memo"):60115,ey=eg?Symbol.for("react.forward_ref"):60112,e_={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},eb={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ew={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ex=((ec={})[ey]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ec[ev]=ew,ec);function eS(e){return("type"in e&&e.type.$$typeof)===ev?ew:"$$typeof"in e?ex[e.$$typeof]:e_}var eE=Object.defineProperty,eA=Object.getOwnPropertyNames,ek=Object.getOwnPropertySymbols,eT=Object.getOwnPropertyDescriptor,eC=Object.getPrototypeOf,eM=Object.prototype;function eP(e,t,n){if("string"!=typeof t){if(eM){var r=eC(t);r&&r!==eM&&eP(e,r,n)}var i=eA(t);ek&&(i=i.concat(ek(t)));for(var s=eS(e),o=eS(t),a=0;a<i.length;++a){var l=i[a];if(!(l in eb||n&&n[l]||o&&l in o||s&&l in s)){var u=eT(t,l);try{eE(e,l,u)}catch(e){}}}}return e}function eO(e){return"function"==typeof e}function eI(e){return"object"==typeof e&&"styledComponentId"in e}function eR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function eD(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function ej(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function eN(e,t){Object.defineProperty(e,"toString",{value:t})}function eL(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var eB=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw eL(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=r;s<i;s++)this.groupSizes[s]=0}for(var o=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(o,t[s])&&(this.groupSizes[e]++,o++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,s=r;s<i;s++)t+="".concat(this.tag.getRule(s)).concat(K);return t},e}(),eF=new Map,e$=new Map,ez=1,eV=function(e){if(eF.has(e))return eF.get(e);for(;e$.has(ez);)ez++;var t=ez++;return eF.set(e,t),e$.set(t,e),t},eU=function(e,t){ez=t+1,eF.set(e,t),e$.set(t,e)},eH="style[".concat(q,"][").concat(G,'="').concat(X,'"]'),eW=new RegExp("^".concat(q,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),eq=function(e,t,n){for(var r,i=n.split(","),s=0,o=i.length;s<o;s++)(r=i[s])&&e.registerName(t,r)},eY=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(K),i=[],s=0,o=r.length;s<o;s++){var a=r[s].trim();if(a){var l=a.match(eW);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(eU(c,u),eq(e,c,l[3]),e.getTag().insertRules(u,i)),i.length=0}else i.push(a)}}},eG=function(e){for(var t=document.querySelectorAll(eH),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(q)!==Y&&(eY(e,i),i.parentNode&&i.parentNode.removeChild(i))}},eX=function(e){var t,r=document.head,i=e||r,s=document.createElement("style"),o=(t=Array.from(i.querySelectorAll("style[".concat(q,"]"))))[t.length-1],a=void 0!==o?o.nextSibling:null;s.setAttribute(q,Y),s.setAttribute(G,X);var l=n.nc;return l&&s.setAttribute("nonce",l),i.insertBefore(s,a),s},eK=function(){function e(e){this.element=eX(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw eL(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),eQ=function(){function e(e){this.element=eX(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),eJ=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),eZ=Q,e0={isServer:!Q,useCSSOMInjection:!J},e1=function(){function e(e,t,n){void 0===e&&(e=et),void 0===t&&(t={});var i=this;this.options=r(r({},e0),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Q&&eZ&&(eZ=!1,eG(this)),eN(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++)(function(n){var i=e$.get(n);if(void 0!==i){var s=e.names.get(i),o=t.getGroup(n);if(void 0!==s&&s.size&&0!==o.length){var a="".concat(q,".g").concat(n,'[id="').concat(i,'"]'),l="";
36void 0!==s&&s.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),r+="".concat(o).concat(a,'{content:"').concat(l,'"}').concat(K)}}})(i);return r}(i)})}return e.registerId=function(e){return eV(e)},e.prototype.rehydrate=function(){!this.server&&Q&&eG(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new eB(e.isServer?new eJ(n):t?new eK(n):new eQ(n))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(eV(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(eV(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(eV(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),e2=/&/g,e3=/^\s*\/\/.*$/gm;function e5(e){var t,n,r,i=void 0===e?et:e,s=i.options,o=void 0===s?et:s,a=i.plugins,l=void 0===a?ee:a,u=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},c=l.slice();c.push(function(e){e.type===h&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(e2,n).replace(r,u))}),o.prefix&&c.push(z),c.push($);var p=function(e,i,s,a){void 0===i&&(i=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=i,r=RegExp("\\".concat(n,"\\b"),"g");var l,u,h,p,f,v,y=e.replace(e3,""),A=(f=function e(t,n,r,i,s,o,a,l,u){for(var c,h=0,p=0,f=a,v=0,y=0,A=0,C=1,R=1,D=1,F=0,$="",z=s,H=o,W=i,q=$;R;)switch(A=F,F=j()){case 40:if(108!=A&&58==w(q,f-1)){-1!=b(q+=_(B(F),"&","&\f"),"&\f",m(h?l[h-1]:0))&&(D=-1);break}case 34:case 39:case 91:q+=B(F);break;case 9:case 10:case 13:case 32:q+=function(e){for(;P=N();)if(P<33)j();else break;return L(e)>2||L(P)>3?"":" "}(A);break;case 92:q+=function(e,t){for(var n;--t&&j()&&!(P<48)&&!(P>102)&&(!(P>57)||!(P<65))&&(!(P>70)||!(P<97)););return n=M+(t<6&&32==N()&&32==j()),x(O,e,n)}(M-1,7);continue;case 47:switch(N()){case 42:case 47:E(I(c=function(e,t){for(;j();)if(e+P===57)break;else if(e+P===84&&47===N())break;return"/*"+x(O,t,M-1)+"*"+g(47===e?e:j())}(j(),M),n,r,d,g(P),x(c,2,-2),0,u),u);break;default:q+="/"}break;case 123*C:l[h++]=S(q)*D;case 125*C:case 59:case 0:switch(F){case 0:case 125:R=0;case 59+p:-1==D&&(q=_(q,/\f/g,"")),y>0&&S(q)-f&&E(y>32?U(q+";",i,r,f-1,u):U(_(q," ","")+";",i,r,f-2,u),u);break;case 59:q+=";";default:if(E(W=V(q,n,r,h,p,s,l,$,z=[],H=[],f,o),o),123===F){if(0===p)e(q,n,W,W,z,o,f,l,H);else switch(99===v&&110===w(q,3)?100:v){case 100:case 108:case 109:case 115:e(t,W,W,i&&E(V(t,W,W,0,0,s,l,$,s,z=[],f,H),H),s,H,f,l,i?z:H);break;default:e(q,W,W,W,[""],H,0,l,H)}}}h=p=y=0,C=D=1,$=q="",f=a;break;case 58:f=1+S(q),y=A;default:if(C<1){if(123==F)--C;else if(125==F&&0==C++&&125==(P=M>0?w(O,--M):0,T--,10===P&&(T=1,k--),P))continue}switch(q+=g(F),F*C){case 38:D=p>0?1:(q+="\f",-1);break;case 44:l[h++]=(S(q)-1)*D,D=1;break;case 64:45===N()&&(q+=B(j())),v=N(),p=f=S($=q+=function(e){for(;!L(N());)j();return x(O,e,M)}(M)),F++;break;case 45:45===A&&2==S(q)&&(C=0)}}return o}("",null,null,null,[""],(p=h=s||i?"".concat(s," ").concat(i," { ").concat(y," }"):y,k=T=1,C=S(O=p),M=0,h=[]),0,[0],h),O="",f);o.namespace&&(A=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(A,o.namespace));var R=[];return F(A,(u=(l=c.concat((v=function(e){return R.push(e)},function(e){!e.root&&(e=e.return)&&v(e)}))).length,function(e,t,n,r){for(var i="",s=0;s<u;s++)i+=l[s](e,t,n,r)||"";return i})),R};return p.hash=l.length?l.reduce(function(e,t){return t.name||eL(15),ed(e,t.name)},5381).toString():"",p}var e4=new e1,e6=e5(),e8=s.createContext({shouldForwardProp:void 0,styleSheet:e4,stylis:e6}),e9=e8.Consumer,e7=s.createContext(void 0);function te(){return(0,s.useContext)(e8)}
36function tt(e){var t=(0,s.useState)(e.stylisPlugins),n=t[0],r=t[1],i=te().styleSheet,o=(0,s.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,i]),l=(0,s.useMemo)(function(){return e5({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,s.useEffect)(function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var u=(0,s.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:o,stylis:l}},[e.shouldForwardProp,o,l]);return s.createElement(e8.Provider,{value:u},s.createElement(e7.Provider,{value:l},e.children))}var tn=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=e6);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,eN(this,function(){throw eL(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=e6),this.name+e.hash},e}();function tr(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;r>="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var ti=function(e){return null==e||!1===e||""===e},ts=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!ti(r)&&(Array.isArray(r)&&r.isCss||eO(r)?t.push("".concat(tr(n),":"),r,";"):ej(r)?t.push.apply(t,i(i(["".concat(n," {")],ts(r),!1),["}"],!1)):t.push("".concat(tr(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in H||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function to(e,t,n,r){return ti(e)?[]:eI(e)?[".".concat(e.styledComponentId)]:eO(e)?!eO(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:to(e(t),t,n,r):e instanceof tn?n?(e.inject(n,r),[e.getName(r)]):[e]:ej(e)?ts(e):Array.isArray(e)?Array.prototype.concat.apply(ee,e.map(function(e){return to(e,t,n,r)})):[e.toString()]}function ta(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(eO(n)&&!eI(n))return!1}return!0}var tl=eh(X),tu=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&ta(e),this.componentId=t,this.baseHash=ed(tl,t),this.baseStyle=n,e1.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash){if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=eR(r,this.staticRulesId);else{var i=eD(to(this.rules,e,t,n)),s=eu(ed(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,s)){var o=n(i,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,o)}r=eR(r,s),this.staticRulesId=s}}else{for(var a=ed(this.baseHash,n.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var d=eD(to(c,e,t,n));a=ed(a,d+u),l+=d}}if(l){var h=eu(a>>>0);t.hasNameForId(this.componentId,h)||t.insertRules(this.componentId,h,n(l,".".concat(h),void 0,this.componentId)),r=eR(r,h)}}return r},e}(),tc=s.createContext(void 0),td=tc.Consumer;function th(){var e=(0,s.useContext)(tc);if(!e)throw eL(18);return e}function tp(e){var t=s.useContext(tc),n=(0,s.useMemo)(function(){return function(e,t){if(!e)throw eL(14);if(eO(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw eL(8);return t?r(r({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?s.createElement(tc.Provider,{value:n},e.children):null}var tf={};function tm(e,t,n){var i,o,a,l,u=eI(e),c=!em(e),d=t.attrs,h=void 0===d?ee:d,p=t.componentId,f=void 0===p?(i=t.displayName,o=t.parentComponentId,tf[a="string"!=typeof i?"sc":eo(i)]=(tf[a]||0)+1,l="".concat(a,"-").concat(ep(X+a+tf[a])),o?"".concat(o,"-").concat(l):l):p,m=t.displayName,g=void 0===m?em(e)?"styled.".concat(e):"Styled(".concat(ef(e),")"):m,v=t.displayName&&t.componentId?"".concat(eo(t.displayName),"-").concat(t.componentId):t.componentId||f,y=u&&e.attrs?e.attrs.concat(h).filter(
36Boolean):h,_=t.shouldForwardProp;if(u&&e.shouldForwardProp){var b=e.shouldForwardProp;if(t.shouldForwardProp){var w=t.shouldForwardProp;_=function(e,t){return b(e,t)&&w(e,t)}}else _=b}var x=new tu(n,v,u?e.componentStyle:void 0);function S(e,t){return function(e,t,n){var i,o=e.attrs,a=e.componentStyle,l=e.defaultProps,u=e.foldedComponentIds,c=e.styledComponentId,d=e.target,h=s.useContext(tc),p=te(),f=e.shouldForwardProp||p.shouldForwardProp,m=en(t,h,l)||et,g=function(e,t,n){for(var i,s=r(r({},t),{className:void 0,theme:n}),o=0;o<e.length;o+=1){var a=eO(i=e[o])?i(s):i;for(var l in a)s[l]="className"===l?eR(s[l],a[l]):"style"===l?r(r({},s[l]),a[l]):a[l]}return t.className&&(s.className=eR(s.className,t.className)),s}(o,t,m),v=g.as||d,y={};for(var _ in g)void 0===g[_]||"$"===_[0]||"as"===_||"theme"===_&&g.theme===m||("forwardedAs"===_?y.as=g.forwardedAs:f&&!f(_,v)||(y[_]=g[_]));var b=(i=te(),a.generateAndInjectStyles(g,i.styleSheet,i.stylis)),w=eR(u,c);return b&&(w+=" "+b),g.className&&(w+=" "+g.className),y[em(v)&&!er.has(v)?"class":"className"]=w,y.ref=n,(0,s.createElement)(v,y)}(E,e,t)}S.displayName=g;var E=s.forwardRef(S);return E.attrs=y,E.componentStyle=x,E.displayName=g,E.shouldForwardProp=_,E.foldedComponentIds=u?eR(e.foldedComponentIds,e.styledComponentId):"",E.styledComponentId=v,E.target=u?e.target:e,Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=u?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)(function e(t,n,r){if(void 0===r&&(r=!1),!r&&!ej(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(var i=0;i<n.length;i++)t[i]=e(t[i],n[i]);else if(ej(n))for(var i in n)t[i]=e(t[i],n[i]);return t})(e,t[r],!0);return e}({},e.defaultProps,t):t}}),eN(E,function(){return".".concat(E.styledComponentId)}),c&&eP(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),E}function tg(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var tv=function(e){return Object.assign(e,{isCss:!0})};function ty(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return eO(e)||ej(e)?tv(to(tg(ee,i([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?to(e):tv(to(tg(e,t)))}var t_=function(e){return function e(t,n,s){if(void 0===s&&(s=et),!n)throw eL(1,n);var o=function(e){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];return t(n,s,ty.apply(void 0,i([e],r,!1)))};return o.attrs=function(i){return e(t,n,r(r({},s),{attrs:Array.prototype.concat(s.attrs,i).filter(Boolean)}))},o.withConfig=function(i){return e(t,n,r(r({},s),i))},o}(tm,e)},tb=t_;er.forEach(function(e){tb[e]=t_(e)});var tw=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=ta(e),e1.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r(eD(to(this.rules,t,n,r)),""),s=this.componentId+e;n.insertRules(s,s,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&e1.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function tx(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=ty.apply(void 0,i([e],t,!1)),a="sc-global-".concat(ep(JSON.stringify(o))),l=new tw(o,a),u=function(e){var t=te(),n=s.useContext(tc),r=s.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&c(r,e,t.styleSheet,n,t.stylis),s.useLayoutEffect(function(){if(!t.styleSheet.server)return c(r,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function c(e,t,n,i,s){if(l.isStatic)l.renderStyles(e,Z,n,s);else{var o=r(r({},t),{theme:en(t,i,u.defaultProps)});l.renderStyles(e,o,n,s)}}return s.memo(u)}function tS(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=eD(ty.apply(void 0,i([e],t,!1)));return new tn(ep(r),r)}function tE(e){var t=s.forwardRef(function(t,n){var i=en(t,s.useContext(tc),e.defaultProps);return s.createElement(e,r({},t,{theme:i,ref:n}))});return t.displayName="WithTheme(".concat(ef(e),")"),eP(t,e)}var tA=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,i=eD([r&&'nonce="'.concat(r,'"'),"".concat(q,'="true"'),"".concat(G,'="').concat(X,'"')].filter(
36Boolean)," ");return"<style ".concat(i,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw eL(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw eL(2);var t,i=e.instance.toString();if(!i)return[];var o=((t={})[q]="",t[G]=X,t.dangerouslySetInnerHTML={__html:i},t),a=n.nc;return a&&(o.nonce=a),[s.createElement("style",r({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new e1({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw eL(2);return s.createElement(tt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw eL(3)},e}(),tk={StyleSheet:e1,mainSheet:e4}},93967:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}(n)))}return e}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()},90512:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var s=t.length;for(n=0;n<s;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(r&&(r+=" "),r+=t);return r}},15947:function(e,t,n){"use strict";n.d(t,{oO:function(){return s}});var r=n(67294),i=n(240);function s(e=!0){let t=(0,r.useContext)(i.O);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:s,register:o}=t,a=(0,r.useId)();(0,r.useEffect)(()=>{e&&o(a)},[e]);let l=(0,r.useCallback)(()=>e&&s&&s(a),[a,s,e]);return!n&&s?[!1,l]:[!0]}},25364:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});let r=(0,n(67294).createContext)({})},16014:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});let r=(0,n(67294).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},240:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=(0,n(67294).createContext)(null)},34221:function(e,t,n){"use strict";let r;function i(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{E:function(){return sg}});let s=e=>Array.isArray(e);function o(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function a(e){return"string"==typeof e||Array.isArray(e)}function l(e){let t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function u(e,t,n,r){if("function"==typeof t){let[i,s]=l(r);t=t(void 0!==n?n:e.custom,i,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,s]=l(r);t=t(void 0!==n?n:e.custom,i,s)}return t}function c(e,t,n){let r=e.getProps();return u(r,t,void 0!==n?n:r.custom,e)}let d=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],h=["initial",...d];function p(e){let t;return()=>(void 0===t&&(t=e()),t)}let f=p(()=>void 0!==window.ScrollTimeline);class m{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>f()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class g extends m{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}function v(e,t){return e?e[t]||e.default||e:void 0}function y(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function _(e){return"function"==typeof e}function b(e,t){e.timeline=t,e.onfinish=null}let w=e=>Array.isArray(e)&&"number"==typeof e[0],x={linearEasing:void 0},S=function(e,t){let n=p(e);return()=>{var e;return null!==(e=x[t])&&void 0!==e?e:n()}}(()=>{try{document.createElement("div").animate({opacity:0}
36,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),E=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},A=(e,t,n=10)=>{let r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=e(E(0,i-1,t))+", ";return`linear(${r.substring(0,r.length-2)})`},k=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,T={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:k([0,.65,.55,1]),circOut:k([.55,0,1,.45]),backIn:k([.31,.01,.66,-.59]),backOut:k([.33,1.53,.69,.99])},C={x:!1,y:!1};function M(e,t){let n=function(e,t,n){if(e instanceof Element)return[e];if("string"==typeof e){let t=document.querySelectorAll(e);return t?Array.from(t):[]}return Array.from(e)}(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function P(e){return t=>{"touch"===t.pointerType||C.x||C.y||e(t)}}let O=(e,t)=>!!t&&(e===t||O(e,t.parentElement)),I=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,R=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),D=new WeakSet;function j(e){return t=>{"Enter"===t.key&&e(t)}}function N(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let L=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=j(()=>{if(D.has(n))return;N(n,"down");let e=j(()=>{N(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>N(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function B(e){return I(e)&&!(C.x||C.y)}let F=e=>1e3*e,$=e=>e/1e3,z=e=>e,V=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],U=new Set(V),H=new Set(["width","height","top","left","right","bottom",...V]),W=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),q=e=>s(e)?e[e.length-1]||0:e,Y={skipAnimations:!1,useManualTiming:!1},G=["read","resolveKeyframes","update","preRender","render","postRender"];function X(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=G.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(t){s.has(t)&&(l.schedule(t),e()),t(o)}let l={schedule:(e,i=!1,o=!1)=>{let a=o&&r?t:n;return i&&s.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),s.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(e))}};return l}(s),e),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:h}=o,p=()=>{let s=Y.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(s-i.timestamp,40),1),i.timestamp=s,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),h.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(p))},f=()=>{n=!0,r=!0,i.isProcessing||e(p)};return{schedule:G.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||f(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<G.length;t++)o[G[t]].cancel(e)},state:i,steps:o}}let{schedule:K,cancel:Q,state:J,steps:Z}=X("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:z,!0);function ee(){r=void 0}let et={now:()=>(void 0===r&&et.set(J.isProcessing||Y.useManualTiming?J.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(ee)}};function en(e,t){-1===e.indexOf(t)&&e.push(t)}function er(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class ei{constructor(){this.subscriptions=[]}add(e){return en(this.subscriptions,e),()=>er(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let es=e=>!isNaN(parseFloat(e)),eo={current:void 0};class ea{constructor(e,t={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=et.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=et.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=es(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new ei);let n=this.events[e].add(t);return"change"===e?()=>{n(),K.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}
36setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return eo.current&&eo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=et.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function el(e,t){return new ea(e,t)}let eu=e=>!!(e&&e.getVelocity);function ec(e,t){let n=e.getValue("willChange");if(eu(n)&&n.add)return n.add(t)}let ed=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),eh="data-"+ed("framerAppearId"),ep={current:!1},ef=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function em(e,t,n,r){if(e===t&&n===r)return z;let i=t=>(function(e,t,n,r,i){let s,o;let a=0;do(s=ef(o=t+(n-t)/2,r,i)-e)>0?n=o:t=o;while(Math.abs(s)>1e-7&&++a<12);return o})(t,0,1,e,n);return e=>0===e||1===e?e:ef(i(e),t,r)}let eg=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ev=e=>t=>1-e(1-t),ey=em(.33,1.53,.69,.99),e_=ev(ey),eb=eg(e_),ew=e=>(e*=2)<1?.5*e_(e):.5*(2-Math.pow(2,-10*(e-1))),ex=e=>1-Math.sin(Math.acos(e)),eS=ev(ex),eE=eg(ex),eA=e=>/^0[^.\s]+$/u.test(e),ek=(e,t,n)=>n>t?t:n<e?e:n,eT={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},eC={...eT,transform:e=>ek(0,1,e)},eM={...eT,default:1},eP=e=>Math.round(1e5*e)/1e5,eO=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,eI=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eR=(e,t)=>n=>!!("string"==typeof n&&eI.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),eD=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,s,o,a]=r.match(eO);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},ej=e=>ek(0,255,e),eN={...eT,transform:e=>Math.round(ej(e))},eL={test:eR("rgb","red"),parse:eD("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+eN.transform(e)+", "+eN.transform(t)+", "+eN.transform(n)+", "+eP(eC.transform(r))+")"},eB={test:eR("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:eL.transform},eF=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),e$=eF("deg"),ez=eF("%"),eV=eF("px"),eU=eF("vh"),eH=eF("vw"),eW={...ez,parse:e=>ez.parse(e)/100,transform:e=>ez.transform(100*e)},eq={test:eR("hsl","hue"),parse:eD("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ez.transform(eP(t))+", "+ez.transform(eP(n))+", "+eP(eC.transform(r))+")"},eY={test:e=>eL.test(e)||eB.test(e)||eq.test(e),parse:e=>eL.test(e)?eL.parse(e):eq.test(e)?eq.parse(e):eB.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?eL.transform(e):eq.transform(e)},eG=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eX="number",eK="color",eQ=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function eJ(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],s=0,o=t.replace(eQ,e=>(eY.test(e)?(r.color.push(s),i.push(eK),n.push(eY.parse(e))):e.startsWith("var(")?(r.var.push(s),i.push("var"),n.push(e)):(r.number.push(s),i.push(eX),n.push(parseFloat(e))),++s,"${}")).split("${}");return{values:n,split:o,indexes:r,types:i}}function eZ(e){return eJ(e).values}function e0(e){let{split:t,types:n}=eJ(e),r=t.length;return e=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],void 0!==e[s]){let t=n[s];t===eX?i+=eP(e[s]):t===eK?i+=eY.transform(e[s]):i+=e[s]}return i}}let e1=e=>"number"==typeof e?0:e,e2={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(eO))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(eG))||void 0===n?void 0:n.length)||0)>0},parse:eZ,createTransformer:e0,getAnimatableNone:function(e){let t=eZ(e);return e0(e)(t.map(e1))}},e3=new Set(["brightness","contrast","saturate","opacity"]);function e5(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(eO)||[];if(!r)return e;let i=n.replace(r,""),s=e3.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}let e4=/\b([a-z-]*)\(.*?\)/gu,e6={...e2,getAnimatableNone:e=>{let t=e.match(e4);return t?t.map(e5).join(" "):e}},e8={...eT,transform:Math.round},e9={borderWidth:eV,borderTopWidth:eV,borderRightWidth:eV,borderBottomWidth:eV,borderLeftWidth:eV,borderRadius:eV,radius:eV,borderTopLeftRadius:eV,borderTopRightRadius:eV,borderBottomRightRadius:eV,borderBottomLeftRadius:eV,width:eV,maxWidth:eV,height:eV,maxHeight:eV,top:eV,right:eV,bottom:eV,left:eV,padding:eV,paddingTop:eV,paddingRight:eV,paddingBottom:eV,paddingLeft:eV,margin:eV,marginTop:eV,marginRight:eV,marginBottom:eV,marginLeft:eV,backgroundPositionX:eV,backgroundPositionY:eV,rotate:e$,rotateX:e$,rotateY:e$,rotateZ:e$,scale:eM,scaleX:eM,scaleY:eM,scaleZ:eM,skew:e$,skewX:e$,skewY:e$,distance:eV,translateX:eV,translateY:eV,translateZ:eV,x:eV,y:eV,z:eV,perspective:eV,transformPerspective:eV,opacity:eC,originX:eW,originY:eW,originZ:eV,zIndex:e8,size:eV,fillOpacity:eC,strokeOpacity:eC,numOctaves:e8},e7={...e9,color:eY,backgroundColor:eY,outlineColor:eY,fill:eY,stroke:eY,borderColor:eY,borderTopColor:eY,borderRightColor:eY,borderBottomColor:eY,borderLeftColor:eY,filter:e6,WebkitFilter:e6},te=e=>e7[e];function tt(e,t){let n=te(e);return n!==e6&&(n=e2),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
36let tn=new Set(["auto","none","0"]),tr=e=>e===eT||e===eV,ti=(e,t)=>parseFloat(e.split(", ")[t]),ts=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return ti(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?ti(t[1],e):0}},to=new Set(["x","y","z"]),ta=V.filter(e=>!to.has(e)),tl={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ts(4,13),y:ts(5,14)};tl.translateX=tl.x,tl.translateY=tl.y;let tu=new Set,tc=!1,td=!1;function th(){if(td){let e=Array.from(tu).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=function(e){let t=[];return ta.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}td=!1,tc=!1,tu.forEach(e=>e.complete()),tu.clear()}function tp(){tu.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(td=!0)})}class tf{constructor(e,t,n,r,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tu.add(this),tc||(tc=!0,K.read(tp),K.resolveKeyframes(th))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(null===e[i]){if(0===i){let i=null==r?void 0:r.get(),s=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===i&&r.set(e[0])}else e[i]=e[i-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),tu.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,tu.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let tm=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),tg=e=>t=>"string"==typeof t&&t.startsWith(e),tv=tg("--"),ty=tg("var(--"),t_=e=>!!ty(e)&&tb.test(e.split("/*")[0].trim()),tb=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tw=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tx=e=>t=>t.test(e),tS=[eT,eV,ez,e$,eH,eU,{test:e=>"auto"===e,parse:e=>e}],tE=e=>tS.find(tx(e));class tA extends tf{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&t_(r=r.trim())){let i=function e(t,n,r=1){z(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,s]=function(e){let t=tw.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${null!=n?n:r}`,i]}(t);if(!i)return;let o=window.getComputedStyle(n).getPropertyValue(i);if(o){let e=o.trim();return tm(e)?parseFloat(e):e}return t_(s)?e(s,n,r+1):s}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!H.has(n)||2!==e.length)return;let[r,i]=e,s=tE(r),o=tE(i);if(s!==o){if(tr(s)&&tr(o))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||eA(r))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!tn.has(t)&&eJ(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=tt(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tl[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);let s=r.length-1,o=r[s];r[s]=tl[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
36h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}let tk=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(e2.test(e)||"0"===e)&&!e.startsWith("url(")),tT=e=>null!==e;function tC(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(tT),s=t&&"loop"!==n&&t%2==1?0:i.length-1;return s&&void 0!==r?r:i[s]}class tM{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=et.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(tp(),th()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=et.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=tk(i,t),a=tk(s,t);return z(o===a,`You are trying to animate ${t} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||_(n))&&r)}(e,n,r,i)){if(ep.current||!s){a&&a(tC(e,this.options,t)),o&&o(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}let tP=(e,t,n)=>e+(t-e)*n;function tO(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tI(e,t){return n=>n>0?t:e}let tR=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},tD=[eB,eL,eq],tj=e=>tD.find(t=>t.test(e));function tN(e){let t=tj(e);if(z(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===eq&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,s=0,o=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=tO(a,r,e+1/3),s=tO(a,r,e),o=tO(a,r,e-1/3)}else i=s=o=n;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(n)),n}let tL=(e,t)=>{let n=tN(e),r=tN(t);if(!n||!r)return tI(e,t);let i={...n};return e=>(i.red=tR(n.red,r.red,e),i.green=tR(n.green,r.green,e),i.blue=tR(n.blue,r.blue,e),i.alpha=tP(n.alpha,r.alpha,e),eL.transform(i))},tB=(e,t)=>n=>t(e(n)),tF=(...e)=>e.reduce(tB),t$=new Set(["none","hidden"]);function tz(e,t){return n=>tP(e,t,n)}function tV(e){return"number"==typeof e?tz:"string"==typeof e?t_(e)?tI:eY.test(e)?tL:tW:Array.isArray(e)?tU:"object"==typeof e?eY.test(e)?tL:tH:tI}function tU(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>tV(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function tH(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=tV(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let tW=(e,t)=>{let n=e2.createTransformer(t),r=eJ(e),i=eJ(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?t$.has(e)&&!i.values.length||t$.has(t)&&!r.values.length?t$.has(e)?n=>n<=0?e:t:n=>n>=1?t:e:tF(tU(function(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let o=t.types[s],a=e.indexes[o][i[o]],l=null!==(n=e.values[a])&&void 0!==n?n:0;r[s]=l,i[o]++}return r}(r,i),i.values),n):(z(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),tI(e,t))};function tq(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?tP(e,t,n):tV(e)(e,t)}function tY(e,t,n){var r,i;let s=Math.max(t-5,0);return r=n-e(s),(i=t-s)?1e3/i*r:0}let tG={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function tX(e,t){return e*Math.sqrt(1-t*t)}let tK=["duration","bounce"],tQ=["stiffness","damping","mass"];function tJ(e,t){return t.some(t=>void 0!==e[t])}function tZ(e=tG.visualDuration,t=tG.bounce){let n;let r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:d,duration:h,velocity:p,isResolvedFromDuration:f}=function(e){let t={velocity:tG.velocity,stiffness:tG.stiffness,damping:tG.damping,mass:tG.mass,isResolvedFromDuration:!1,...e};if(!tJ(e,tQ)&&tJ(e,tK)){if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*ek(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:tG.mass,stiffness:r,damping:i}}else{let n=function({duration:e=tG.duration,bounce:t=tG.bounce,velocity:n=tG.velocity,mass:r=tG.mass}){let i,s;z(e<=F(tG.maxDuration),"Spring duration must be 10 seconds or less");let o=1-t;o=ek(tG.minDamping,tG.maxDamping,o),e=ek(tG.minDuration,tG.maxDuration,$(e)),o<1?(i=t=>{let r=t*o,i=r*e;return .001-(r-n)/tX(t,o)*Math.exp(-i)},s=t=>{let r=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-r),l=tX(Math.pow(t,2),o);return(r*n+n-s)*a*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),s=t=>e*e*(n-t)*Math.exp(-t*e));let a=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,s,5/e);if(e=F(e),isNaN(a))return{stiffness:tG.stiffness,damping:tG.damping,duration:e};{let t=Math.pow(a,2)*r;return{stiffness:t,damping:2*o*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:tG.mass}).isResolvedFromDuration=!0}}return t}({...r,velocity:-$(r.velocity||0)}),m=p||0,g=c/(2*Math.sqrt(u*d)),v=a-o,_=$(Math.sqrt(u/d)),b=5>Math.abs(v);if(i||(i=b?tG.restSpeed.granular:tG.restSpeed.default),s||(s=b?tG.restDelta.granular:tG.restDelta.default),g<1){let e=tX(_,g);n=t=>a-Math.exp(-g*_*t)*((m+g*_*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===g)n=e=>a-Math.exp(-_*e)*(v+(m+_*v)*e);else{let e=_*Math.sqrt(g*g-1);n=t=>{let n=Math.exp(-g*_*t),r=Math.min(e*t,300);return a-n*((m+g*_*v)*Math.sinh(r)+e*v*Math.cosh(r))/e}}
36let w={calculatedDuration:f&&h||null,next:e=>{let t=n(e);if(f)l.done=e>=h;else{let r=0;g<1&&(r=0===e?F(m):tY(n,e,t));let o=Math.abs(r)<=i,u=Math.abs(a-t)<=s;l.done=o&&u}return l.value=l.done?a:t,l},toString:()=>{let e=Math.min(y(w),2e4),t=A(t=>w.next(e*t).value,e,30);return e+"ms "+t}};return w}function t0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,h;let p=e[0],f={done:!1,value:p},m=e=>void 0!==a&&e<a||void 0!==l&&e>l,g=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)<Math.abs(l-e)?a:l,v=n*t,y=p+v,_=void 0===o?y:o(y);_!==y&&(v=_-p);let b=e=>-v*Math.exp(-e/r),w=e=>_+b(e),x=e=>{let t=b(e),n=w(e);f.done=Math.abs(t)<=u,f.value=f.done?_:n},S=e=>{m(f.value)&&(d=e,h=tZ({keyframes:[f.value,g(f.value)],velocity:tY(w,e,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,x(e),S(e)),void 0!==d&&e>=d)?h.next(e-d):(t||x(e),f)}}}let t1=em(.42,0,1,1),t2=em(0,0,.58,1),t3=em(.42,0,.58,1),t5=e=>Array.isArray(e)&&"number"!=typeof e[0],t4={linear:z,easeIn:t1,easeInOut:t3,easeOut:t2,circIn:ex,circInOut:eE,circOut:eS,backIn:e_,backInOut:eb,backOut:ey,anticipate:ew},t6=e=>{if(w(e)){z(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return em(t,n,r,i)}return"string"==typeof e?(z(void 0!==t4[e],`Invalid easing type '${e}'`),t4[e]):e};function t8({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=t5(r)?r.map(t6):t6(r),s={done:!1,value:t[0]},o=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let s=e.length;if(z(s===t.length,"Both input and output ranges must be the same length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],i=n||tq,s=e.length-1;for(let n=0;n<s;n++){let s=i(e[n],e[n+1]);t&&(s=tF(Array.isArray(t)?t[n]||z:t,s)),r.push(s)}return r}(t,r,i),l=a.length,u=n=>{if(o&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=E(e[r],e[r+1],n);return a[r](i)};return n?t=>u(ek(e[0],e[s-1],t)):u}((n&&n.length===t.length?n:function(e){let t=[0];return function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=E(0,t,r);e.push(tP(n,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(i)?i:t.map(()=>i||t3).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=o(t),s.done=t>=e,s)}}let t9=e=>{let t=({timestamp:t})=>e(t);return{start:()=>K.update(t,!0),stop:()=>Q(t),now:()=>J.isProcessing?J.timestamp:et.now()}},t7={decay:t0,inertia:t0,tween:t8,keyframes:t8,spring:tZ},ne=e=>e/100;class nt extends tM{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,s=(null==r?void 0:r.KeyframeResolver)||tf;this.resolver=new s(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,n;let{type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=_(r)?r:t7[r]||t8;l!==t8&&"number"!=typeof e[0]&&(t=tF(ne,tq(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===o&&(n=l({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=y(u));let{calculatedDuration:c}=u,d=c+s;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(i+1)-s}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return i.next(0);let{delay:d,repeat:h,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,_=i;if(h){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,h+1))%2&&("reverse"===p?(n=1-n,f&&(n-=f/c)):"mirror"===p&&(_=s)),y=ek(0,1,n)*c}let b=v?{done:!1,value:a[0]}:_.next(y);o&&(b.value=o(b.value));let{done:w}=b;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return x&&void 0!==r&&(b.value=tC(a,this.options,r)),m&&m(b.value),x&&this.finish(),b}get duration(){let{resolved:e}=this;return e?$(e.calculatedDuration):0}
36get time(){return $(this.currentTime)}set time(e){e=F(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=$(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=t9,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let nn=new Set(["opacity","clipPath","filter","transform"]),nr=p(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),ni={anticipate:ew,backInOut:eb,circInOut:eE};class ns extends tM{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new tA(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:i,ease:s,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&S()&&s in ni&&(s=ni[s]),_((n=this.options).type)||"spring"===n.type||!function e(t){return!!("function"==typeof t&&S()||!t||"string"==typeof t&&(t in T||S())||w(t)||Array.isArray(t)&&t.every(e))}(n.ease)){let{onComplete:t,onUpdate:n,motionValue:a,element:l,...u}=this.options,c=function(e,t){let n=new nt({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],s=0;for(;!r.done&&s<2e4;)i.push((r=n.sample(s)).value),s+=10;return{times:void 0,keyframes:i,duration:s-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),r=c.duration,i=c.times,s=c.ease,o="keyframes"}let c=function(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[t]:n};l&&(u.offset=l);let c=function e(t,n){if(t)return"function"==typeof t&&S()?A(t,n):w(t)?k(t):Array.isArray(t)?t.map(t=>e(t,n)||T.easeOut):T[t]}(a,i);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(a.owner.current,l,e,{...this.options,duration:r,times:i,ease:s});return c.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(b(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:n}=this.options;a.set(tC(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:i,type:o,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return $(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return $(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=F(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return z;let{animation:n}=t;b(n,e)}else this.pendingTimeline=e;return z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;
36"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:s,times:o}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:a,element:l,...u}=this.options,c=new nt({...u,keyframes:n,duration:r,type:i,ease:s,times:o,isGenerator:!0}),d=F(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=t.owner.getProps();return nr()&&n&&nn.has(n)&&!a&&!l&&!r&&"mirror"!==i&&0!==s&&"inertia"!==o}}let no={type:"spring",stiffness:500,damping:25,restSpeed:10},na=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),nl={type:"keyframes",duration:.8},nu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nc=(e,{keyframes:t})=>t.length>2?nl:U.has(e)?e.startsWith("scale")?na(t[1]):no:nu,nd=(e,t,n,r={},i,s)=>o=>{let a=v(r,e)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=F(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&(c={...c,...nc(e,c)}),c.duration&&(c.duration=F(c.duration)),c.repeatDelay&&(c.repeatDelay=F(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(d=!0)),(ep.current||Y.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),d&&!s&&void 0!==t.get()){let e=tC(c.keyframes,a);if(void 0!==e)return K.update(()=>{c.onUpdate(e),c.onComplete()}),new g([])}return!s&&ns.supports(c)?new ns(c):new nt(c)};function nh(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(o=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in l){let r=e.getValue(t,null!==(s=e.latestValues[t])&&void 0!==s?s:null),i=l[t];if(void 0===i||d&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(d,t))continue;let a={delay:n,...v(o||{},t)},c=!1;if(window.MotionHandoffAnimation){let n=e.props[eh];if(n){let e=window.MotionHandoffAnimation(n,t,K);null!==e&&(a.startTime=e,c=!0)}}ec(e,t),r.start(nd(t,r,i,e.shouldReduceMotion&&H.has(t)?{type:!1}:a,e,c));let h=r.animation;h&&u.push(h)}return a&&Promise.all(u).then(()=>{K.update(()=>{a&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=c(e,t)||{};for(let t in i={...i,...n}){let n=q(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,el(n))}}(e,a)})}),u}function np(e,t,n={}){var r;let i=c(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);let o=i?()=>Promise.all(nh(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:i=0,staggerChildren:o,staggerDirection:a}=s;return function(e,t,n=0,r=0,i=1,s){let o=[],a=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(nf).forEach((e,r)=>{e.notify("AnimationStart",t),o.push(np(e,t,{...s,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,i+r,o,a,n)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(n.delay)]);{let[e,t]="beforeChildren"===l?[o,a]:[a,o];return e().then(()=>t())}}function nf(e,t){return e.sortNodePosition(t)}let nm=h.length,ng=[...d].reverse(),nv=d.length;function ny(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function n_(){return{animate:ny(!0),whileInView:ny(),whileHover:ny(),whileTap:ny(),whileDrag:ny(),whileFocus:ny(),exit:ny()}}class nb{constructor(e){this.isMounted=!1,this.node=e}update(){}}class nw extends nb{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>np(e,t,n)));else if("string"==typeof t)r=np(e,t,n);else{let i="function"==typeof t?c(e,t,n.custom):t;r=Promise.all(nh(e,i,n))}return r.then(()=>
36{e.notify("AnimationComplete",t)})})(e,t,n))),n=n_(),r=!0,l=t=>(n,r)=>{var i;let s=c(e,r,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(s){let{transition:e,transitionEnd:t,...r}=s;n={...n,...r,...t}}return n};function u(u){let{props:c}=e,d=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<nm;e++){let r=h[e],i=t.props[r];(a(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},p=[],f=new Set,m={},g=1/0;for(let t=0;t<nv;t++){var v;let h=ng[t],y=n[h],_=void 0!==c[h]?c[h]:d[h],b=a(_),w=h===u?y.isActive:null;!1===w&&(g=t);let x=_===d[h]&&_!==c[h]&&b;if(x&&r&&e.manuallyAnimateOnMount&&(x=!1),y.protectedKeys={...m},!y.isActive&&null===w||!_&&!y.prevProp||i(_)||"boolean"==typeof _)continue;let S=(v=y.prevProp,"string"==typeof _?_!==v:!!Array.isArray(_)&&!o(_,v)),E=S||h===u&&y.isActive&&!x&&b||t>g&&b,A=!1,k=Array.isArray(_)?_:[_],T=k.reduce(l(h),{});!1===w&&(T={});let{prevResolvedValues:C={}}=y,M={...C,...T},P=t=>{E=!0,f.has(t)&&(A=!0,f.delete(t)),y.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in M){let t=T[e],n=C[e];if(!m.hasOwnProperty(e))(s(t)&&s(n)?o(t,n):t===n)?void 0!==t&&f.has(e)?P(e):y.protectedKeys[e]=!0:null!=t?P(e):f.add(e)}y.prevProp=_,y.prevResolvedValues=T,y.isActive&&(m={...m,...T}),r&&e.blockInitialAnimation&&(E=!1);let O=!(x&&S)||A;E&&O&&p.push(...k.map(e=>({animation:e,options:{type:h}})))}if(f.size){let t={};f.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),p.push({animation:t})}let y=!!p.length;return r&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(p):Promise.resolve()}return{animateChanges:u,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let s=u(t);for(let e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=n_(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();i(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let nx=0;class nS extends nb{constructor(){super(...arguments),this.id=nx++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}function nE(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function nA(e){return{point:{x:e.pageX,y:e.pageY}}}let nk=e=>t=>I(t)&&e(t,nA(t));function nT(e,t,n,r){return nE(e,t,nk(n),r)}let nC=(e,t)=>Math.abs(e-t);class nM{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=nI(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(e=n.offset,t={x:0,y:0},Math.sqrt(nC(e.x,t.x)**2+nC(e.y,t.y)**2)>=3);if(!r&&!i)return;let{point:s}=n,{timestamp:o}=J;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=nP(t,this.transformPagePoint),K.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=nI("pointercancel"===e.type?this.lastMoveEventInfo:nP(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,s),r&&r(e,s)},!I(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let s=nP(nA(e),this.transformPagePoint),{point:o}=s,{timestamp:a}=J;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,nI(s,this.history)),this.removeListeners=tF(nT(this.contextWindow,"pointermove",this.handlePointerMove),nT(this.contextWindow,"pointerup",this.handlePointerUp),nT(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Q(this.updatePoint)}}function nP(e,t){return t?{point:t(e.point)}:e}function nO(e,t){return{x:e.x-t.x,y:e.y-t.y}}function nI({point:e},t){return{point:e,delta:nO(e,nR(t)),offset:nO(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=nR(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>F(.1)));)n--;if(!r)return{x:0,y:0};let s=$(i.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,0)}}function nR(e){return e[e.length-1]}function nD(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function nj(e){return e.max-e.min}function nN(e,t,n,r=.5){e.origin=r,e.originPoint=tP(t.min,t.max,e.origin),e.scale=nj(n)/nj(t),e.translate=tP(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function nL(e,t,n,r){nN(e.x,t.x,n.x,r?r.originX:void 0),nN(e.y,t.y,n.y,r?r.originY:void 0)}function nB(e,t,n){e.min=n.min+t.min,e.max=e.min+nj(t)}
36function nF(e,t,n){e.min=t.min-n.min,e.max=e.min+nj(t)}function n$(e,t,n){nF(e.x,t.x,n.x),nF(e.y,t.y,n.y)}function nz(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function nV(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function nU(e,t,n){return{min:nH(e,t),max:nH(e,n)}}function nH(e,t){return"number"==typeof e?e:e[t]||0}let nW=()=>({translate:0,scale:1,origin:0,originPoint:0}),nq=()=>({x:nW(),y:nW()}),nY=()=>({min:0,max:0}),nG=()=>({x:nY(),y:nY()});function nX(e){return[e("x"),e("y")]}function nK({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function nQ(e){return void 0===e||1===e}function nJ({scale:e,scaleX:t,scaleY:n}){return!nQ(e)||!nQ(t)||!nQ(n)}function nZ(e){return nJ(e)||n0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function n0(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function n1(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function n2(e,t=0,n=1,r,i){e.min=n1(e.min,t,n,r,i),e.max=n1(e.max,t,n,r,i)}function n3(e,{x:t,y:n}){n2(e.x,t.translate,t.scale,t.originPoint),n2(e.y,n.translate,n.scale,n.originPoint)}function n5(e,t){e.min=e.min+t,e.max=e.max+t}function n4(e,t,n,r,i=.5){let s=tP(e.min,e.max,i);n2(e,t,n,s,r)}function n6(e,t){n4(e.x,t.x,t.scaleX,t.scale,t.originX),n4(e.y,t.y,t.scaleY,t.scale,t.originY)}function n8(e,t){return nK(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let n9=({current:e})=>e?e.ownerDocument.defaultView:null,n7=new WeakMap;class re{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nG(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new nM(e,{onSessionStart:e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(nA(e).point)},onStart:(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===n||"y"===n?C[n]?null:(C[n]=!0,()=>{C[n]=!1}):C.x||C.y?null:(C.x=C.y=!0,()=>{C.x=C.y=!1}),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nX(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ez.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];if(r){let e=nj(r);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),i&&K.postRender(()=>i(e,t)),ec(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:s}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&s(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>nX(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:n9(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&K.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!rt(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),s=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?tP(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?tP(n,e,r.max):Math.min(e,n)),e}(s,this.constraints[e],this.elastic[e])),i.set(s)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,i=this.constraints;t&&nD(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:nz(e.x,n,i),y:nz(e.y,t,r)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:nU(e,"left","right"),y:nU(e,"to
36p","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&nX(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!nD(t))return!1;let r=t.current;z(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let s=function(e,t,n){let r=n8(e,n),{scroll:i}=t;return i&&(n5(r.x,i.offset.x),n5(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),o={x:nV((e=i.layout.layoutBox).x,s.x),y:nV(e.y,s.y)};if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=nK(e))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nX(o=>{if(!rt(o,t,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:n?e[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return ec(this.visualElement,e),n.start(nd(e,n,0,t,this.visualElement,!1))}stopAnimation(){nX(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){nX(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){nX(t=>{let{drag:n}=this.getProps();if(!rt(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:s}=r.layout.layoutBox[t];i.set(e[t]-tP(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!nD(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};nX(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();r[e]=function(e,t){let n=.5,r=nj(e),i=nj(t);return i>r?n=E(t.min,t.max-r,e.min):r>i&&(n=E(e.min,e.max-i,t.min)),ek(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),nX(t=>{if(!rt(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:s}=this.constraints[t];n.set(tP(i,s,r[t]))})}addListeners(){if(!this.visualElement.current)return;n7.set(this.visualElement,this);let e=nT(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();nD(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),K.read(t);let i=nE(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nX(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:s,dragMomentum:o}}}function rt(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class rn extends nb{constructor(e){super(e),this.removeGroupControls=z,this.removeListeners=z,this.controls=new re(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||z}unmount(){this.removeGroupControls(),this.removeListeners()}}let rr=e=>(t,n)=>{e&&K.postRender(()=>e(t,n))};class ri extends nb{constructor(){super(...arguments),this.removePointerDownListener=z}onPointerDown(e){this.session=new nM(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:n9(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:rr(e),onStart:rr(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&K.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=nT(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var rs,ro,ra,rl=n(85893),ru=n(67294),rc=n(15947),rd=n(25364);let rh=(0,ru.createContext)({}),rp={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let rm={correct:(e,t)=>
36{if(!t.target)return e;if("string"==typeof e){if(!eV.test(e))return e;e=parseFloat(e)}let n=rf(e,t.target.x),r=rf(e,t.target.y);return`${n}% ${r}%`}},rg={},{schedule:rv,cancel:ry}=X(queueMicrotask,!1);class r_ extends ru.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;Object.assign(rg,rw),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),rp.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,s=n.projection;return s&&(s.isPresent=i,r||e.layoutDependency!==t||void 0===t?s.willUpdate():this.safeToRemove(),e.isPresent===i||(i?s.promote():s.relegate()||K.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),rv.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function rb(e){let[t,n]=(0,rc.oO)(),r=(0,ru.useContext)(rd.p);return(0,rl.jsx)(r_,{...e,layoutGroup:r,switchLayoutGroup:(0,ru.useContext)(rh),isPresent:t,safeToRemove:n})}let rw={borderRadius:{...rm,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rm,borderTopRightRadius:rm,borderBottomLeftRadius:rm,borderBottomRightRadius:rm,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e2.parse(e);if(r.length>5)return e;let i=e2.createTransformer(e),s="number"!=typeof r[0]?1:0,o=n.x.scale*t.x,a=n.y.scale*t.y;r[0+s]/=o,r[1+s]/=a;let l=tP(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),i(r)}}},rx=(e,t)=>e.depth-t.depth;class rS{constructor(){this.children=[],this.isDirty=!1}add(e){en(this.children,e),this.isDirty=!0}remove(e){er(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rx),this.isDirty=!1,this.children.forEach(e)}}function rE(e){let t=eu(e)?e.get():e;return W(t)?t.toValue():t}let rA=["TopLeft","TopRight","BottomLeft","BottomRight"],rk=rA.length,rT=e=>"string"==typeof e?parseFloat(e):e,rC=e=>"number"==typeof e||eV.test(e);function rM(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rP=rI(0,.5,eS),rO=rI(.5,.95,z);function rI(e,t,n){return r=>r<e?0:r>t?1:n(E(e,t,r))}function rR(e,t){e.min=t.min,e.max=t.max}function rD(e,t){rR(e.x,t.x),rR(e.y,t.y)}function rj(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rN(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function rL(e,t,[n,r,i],s,o){!function(e,t=0,n=1,r=.5,i,s=e,o=e){if(ez.test(t)&&(t=parseFloat(t),t=tP(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=tP(s.min,s.max,r);e===s&&(a-=t),e.min=rN(e.min,t,n,a,i),e.max=rN(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,s,o)}let rB=["x","scaleX","originX"],rF=["y","scaleY","originY"];function r$(e,t,n,r){rL(e.x,t,rB,n?n.x:void 0,r?r.x:void 0),rL(e.y,t,rF,n?n.y:void 0,r?r.y:void 0)}function rz(e){return 0===e.translate&&1===e.scale}function rV(e){return rz(e.x)&&rz(e.y)}function rU(e,t){return e.min===t.min&&e.max===t.max}function rH(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rW(e,t){return rH(e.x,t.x)&&rH(e.y,t.y)}function rq(e){return nj(e.x)/nj(e.y)}function rY(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class rG{constructor(){this.members=[]}add(e){en(this.members,e),e.scheduleRender()}remove(e){if(er(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}
36exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rX={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},rK="undefined"!=typeof window&&void 0!==window.MotionDebug,rQ=["","X","Y","Z"],rJ={visibility:"hidden"},rZ=0;function r0(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function r1({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=null==t?void 0:t()){this.id=rZ++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rK&&(rX.totalNodes=rX.resolvedTargetDeltas=rX.recalculatedProjection=0),this.nodes.forEach(r5),this.nodes.forEach(it),this.nodes.forEach(ir),this.nodes.forEach(r4),rK&&window.MotionDebug.record(rX)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rS)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ei),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;let r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=et.now(),r=({timestamp:t})=>{let i=t-n;i>=250&&(Q(r),e(i-250))};return K.read(r,!0),()=>Q(r)}(r,0),rp.hasAnimatedSinceResize&&(rp.hasAnimatedSinceResize=!1,this.nodes.forEach(ie))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||s.getDefaultTransition()||iu,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!rW(this.targetLayout,r)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...v(i,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||ie(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Q(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
36h(ii),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=n.props[eh];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",K,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r8);return}this.isUpdating||this.nodes.forEach(r9),this.isUpdating=!1,this.nodes.forEach(r7),this.nodes.forEach(r2),this.nodes.forEach(r3),this.clearAllSnapshots();let e=et.now();J.delta=ek(0,1e3/60,e-J.timestamp),J.timestamp=e,J.isProcessing=!0,Z.update.process(J),Z.preRender.process(J),Z.render.process(J),J.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,rv.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r6),this.sharedNodes.forEach(is)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,K.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){K.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=nG(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rV(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;e&&(t||nZ(this.latestValues)||s)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),ih((t=r).x),ih(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return nG();let n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(im))){let{scroll:e}=this.root;e&&(n5(n.x,e.offset.x),n5(n.y,e.offset.y))}return n}removeElementScroll(e){var t;let n=nG();if(rD(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){let r=this.path[t],{scroll:i,options:s}=r;r!==this.root&&i&&s.layoutScroll&&(i.wasRoot&&rD(n,e),n5(n.x,i.offset.x),n5(n.y,i.offset.y))}return n}applyTransform(e,t=!1){let n=nG();rD(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&n6(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),nZ(r.latestValues)&&n6(n,r.latestValues)}return nZ(this.latestValues)&&n6(n,this.latestValues),n}removeTransform(e){let t=nG();rD(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!nZ(n.latestValues))continue;nJ(n.latestValues)&&n.updateSnapshot();let r=nG();rD(r,n.measurePageBox()),r$(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return nZ(this.latestValues)&&r$(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==J.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,n,r,i;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
36haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=J.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nG(),this.relativeTargetOrigin=nG(),n$(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),rD(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=nG(),this.targetWithTransforms=nG()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,nB(n.x,r.x,i.x),nB(n.y,r.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rD(this.target,this.layout.layoutBox),n3(this.target,this.targetDelta)):rD(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nG(),this.relativeTargetOrigin=nG(),n$(this.relativeTargetOrigin,this.target,e.target),rD(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rK&&rX.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||nJ(this.parent.latestValues)||n0(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===J.timestamp&&(r=!1),r)return;let{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||s))return;rD(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(function(e,t,n,r=!1){let i,s;let o=n.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(i=n[a]).projectionDelta;let{visualElement:o}=i.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&n6(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,n3(e,s)),r&&nZ(i.latestValues)&&n6(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}})(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=nG());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rj(this.prevProjectionDelta.x,this.projectionDelta.x),rj(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nL(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&rY(this.projectionDelta.x,this.prevProjectionDelta.x)&&rY(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rK&&rX.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=nq(),this.projectionDelta=nq(),this.projectionDeltaWithTransform=nq()}setAnimationOrigin(e,t=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},s={...this.latestValues},o=nq();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=nG(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(il));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(io(o.x,e.x,r),io(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,f;n$(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,ia(p.x,f.x,a.x,r),ia(p.y,f.y,a.y,r),n&&(u=this.relativeTarget,h=n,rU(u.x,h.x)&&rU(u.y,h.y))&&(this.isProjectionDirty=!1),n||(n=nG()),rD(n,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,n,r,i,s){i?(e.opacity=tP(0,void 0!==n.opacity?n.opacity:1,rP(r)),e.o
36pacityExit=tP(void 0!==t.opacity?t.opacity:1,0,rO(r))):s&&(e.opacity=tP(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<rk;i++){let s=`border${rA[i]}Radius`,o=rM(t,s),a=rM(n,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rC(o)===rC(a)?(e[s]=Math.max(tP(rT(o),rT(a),r),0),(ez.test(a)||ez.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||n.rotate)&&(e.rotate=tP(t.rotate||0,n.rotate||0,r))}(s,i,this.latestValues,r,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Q(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=K.update(()=>{rp.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){let r=eu(0)?0:el(0);return r.start(nd("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&ip(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||nG();let t=nj(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=nj(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}rD(t,n),n6(t,i),nL(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rG),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&r0("z",e,r,this.animationValues);for(let t=0;t<rQ.length;t++)r0(`rotate${rQ[t]}`,e,r,this.animationValues),r0(`skew${rQ[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return rJ;let r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=rE(null==e?void 0:e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=rE(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!nZ(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="",i=e.x.translate/t.x,s=e.y.translate/t.y,o=(null==n?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:s,skewX:o,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l}
36)`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),i&&(r.transform=i(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let e in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(n=null!==(t=o.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,rg){if(void 0===o[e])continue;let{correct:t,applyTo:n}=rg[e],i="none"===r.transform?o[e]:t(o[e],s);if(n){let e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=s===this?rE(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(r8),this.root.sharedNodes.clear()}}}function r2(e){e.updateLayout()}function r3(e){var t;let n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,s=n.source!==e.layout.source;"size"===i?nX(e=>{let r=s?n.measuredBox[e]:n.layoutBox[e],i=nj(r);r.min=t[e].min,r.max=r.min+i}):ip(i,n.layoutBox,t)&&nX(r=>{let i=s?n.measuredBox[r]:n.layoutBox[r],o=nj(t[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=nq();nL(o,t,n.layoutBox);let a=nq();s?nL(a,e.applyTransform(r,!0),n.measuredBox):nL(a,t,n.layoutBox);let l=!rV(o),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:s}=r;if(i&&s){let o=nG();n$(o,n.layoutBox,i.layoutBox);let a=nG();n$(a,t,s.layoutBox),rW(o,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function r5(e){rK&&rX.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function r4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function r6(e){e.clearSnapshot()}function r8(e){e.clearMeasurements()}function r9(e){e.isLayoutDirty=!1}function r7(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ie(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function it(e){e.resolveTargetDelta()}function ir(e){e.calcProjection()}function ii(e){e.resetSkewAndRotation()}function is(e){e.removeLeadSnapshot()}function io(e,t,n){e.translate=tP(t.translate,0,n),e.scale=tP(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ia(e,t,n,r){e.min=tP(t.min,n.min,r),e.max=tP(t.max,n.max,r)}function il(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let iu={duration:.45,ease:[.4,0,.1,1]},ic=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),id=ic("applewebkit/")&&!ic("chrome/")?Math.round:z;function ih(e){e.min=id(e.min),e.max=id(e.max)}function ip(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(rq(t)-rq(n)))}function im(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}let ig=r1({attachResizeListener:(e,t)=>nE(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),iv={current:void 0},iy=r1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!iv.current){let e=new ig({});e.mount(window),e.setOptions({layoutScroll:!0}),iv.current=e}return iv.current},resetTransform:(e,t)=>
36{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function i_(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&K.postRender(()=>i(t,nA(t)))}class ib extends nb{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,s]=M(e,n),o=P(e=>{let{target:n}=e,r=t(e);if("function"!=typeof r||!n)return;let s=P(e=>{r(e),n.removeEventListener("pointerleave",s)});n.addEventListener("pointerleave",s,i)});return r.forEach(e=>{e.addEventListener("pointerenter",o,i)}),s}(e,e=>(i_(this.node,e,"Start"),e=>i_(this.node,e,"End"))))}unmount(){}}class iw extends nb{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tF(nE(this.node.current,"focus",()=>this.onFocus()),nE(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ix(e,t,n){let{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&K.postRender(()=>i(t,nA(t)))}class iS extends nb{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,s]=M(e,n),o=e=>{let r=e.currentTarget;if(!B(e)||D.has(r))return;D.add(r);let s=t(e),o=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),B(e)&&D.has(r)&&(D.delete(r),"function"==typeof s&&s(e,{success:t}))},a=e=>{o(e,n.useGlobalTarget||O(r,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{R.has(e.tagName)||-1!==e.tabIndex||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(n.useGlobalTarget?window:e).addEventListener("pointerdown",o,i),e.addEventListener("focus",e=>L(e,i),i)}),s}(e,e=>(ix(this.node,e,"Start"),(e,{success:t})=>ix(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iE=new WeakMap,iA=new WeakMap,ik=e=>{let t=iE.get(e.target);t&&t(e)},iT=e=>{e.forEach(ik)},iC={some:0,all:1};class iM extends nb{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,s={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:iC[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;iA.has(n)||iA.set(n,{});let r=iA.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(iT,{root:e,...t})),r[i]}(t);return iE.set(e,n),r.observe(e),()=>{iE.delete(e),r.unobserve(e)}}(this.node.current,s,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),s=t?n:r;s&&s(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}let iP=(0,ru.createContext)({strict:!1});var iO=n(16014);let iI=(0,ru.createContext)({});function iR(e){return i(e.animate)||h.some(t=>a(e[t]))}function iD(e){return!!(iR(e)||e.variants)}function ij(e){return Array.isArray(e)?e.join(" "):e}var iN=n(11741);let iL={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},iB={};for(let e in iL)iB[e]={isEnabled:t=>iL[e].some(e=>!!t[e])};let iF=Symbol.for("motionComponentSymbol");var i$=n(240),iz=n(58868);let iV=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function iU(e){if("string"!=typeof e||e.includes("-"));else if(iV.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var iH=n(96681);let iW=e=>(t,n)=>{let r=(0,ru.useContext)(iI),s=(0,ru.useContext)(i$.O),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,s,o){let a={latestValues:function(e,t,n,r){let s={},o=r(e,{});for(let e in o)s[e]=rE(o[e]);let{initial:a,animate:l}=e,c=iR(e),d=iD(e);t&&d&&!c&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===l&&(l=t.animate));let h=!!n&&!1===n.initial,p=(h=h||!1===a)?l:a;if(p&&"boolean"!=typeof p&&!i(p)){let t=Array.isArray(p)?p:[p];for(let n=0;n<t.length;n++){let r=u(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=h?t.length-1:0;t=t[e]}null!==t&&(s[e]=t)}for(let t in e)s[t]=e[t]}}}return s}(r,s,o,e),renderState:t()};return n&&(a.onMount=e=>n({props:r,current:e,...a}),a.onUpdate=e=>n(e)),a})(e,t,r,s);return n?o():(0,iH.h)(o)},iq=(e,t)=>t&&"number"==typeof e?t.transform(e):e,iY={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iG=V.length;function iX(e,t,n){let{style:r,vars:i,transformOrigin:s}=e,o=!1,a=!1;for(let e in t){let n=t[e];if(U.has(e)){o=!0;continue}if(tv(e)){i[e]=n;continue}{let t=iq(n,e9[e]);e.startsWith("origin")?(a=!0,s[e]=t):r[e]=t}}if(!t.transform&&(o||n?r.transform=function(e,t,n){let r="",i=!0;for(let s=0;s<iG;s++){let o=V[s],a=e[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||n){let e=iq(a,e9[o]);if(!l){i=!1;let t=iY[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:e="50%",originY:t="50%",originZ:n=0}=s;r.transformOrigin=`${e} ${t} ${n}`}}let iK={offset:"stroke-dashoffset",array:"stroke-dasharray"},iQ={offset:"strokeDashoffset",array:"strokeDasharray"};function iJ(e,t,n){return"string"==typeof e?e:eV.transform(t+n*e)}function iZ(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u}
36,c,d){if(iX(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:p,dimensions:f}=e;h.transform&&(f&&(p.transform=h.transform),delete h.transform),f&&(void 0!==i||void 0!==s||p.transform)&&(p.transformOrigin=function(e,t,n){let r=iJ(t,e.x,e.width),i=iJ(n,e.y,e.height);return`${r} ${i}`}(f,void 0!==i?i:.5,void 0!==s?s:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==o&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let s=i?iK:iQ;e[s.offset]=eV.transform(-r);let o=eV.transform(t),a=eV.transform(n);e[s.array]=`${o} ${a}`}(h,o,a,l,!1)}let i0=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),i1=()=>({...i0(),attrs:{}}),i2=e=>"string"==typeof e&&"svg"===e.toLowerCase();function i3(e,{style:t,vars:n},r,i){for(let s in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(s,n[s])}let i5=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function i4(e,t,n,r){for(let n in i3(e,t,void 0,r),t.attrs)e.setAttribute(i5.has(n)?n:ed(n),t.attrs[n])}function i6(e,{layout:t,layoutId:n}){return U.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!rg[e]||"opacity"===e)}function i8(e,t,n){var r;let{style:i}=e,s={};for(let o in i)(eu(i[o])||t.style&&eu(t.style[o])||i6(o,e)||(null===(r=null==n?void 0:n.getValue(o))||void 0===r?void 0:r.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function i9(e,t,n){let r=i8(e,t,n);for(let n in e)(eu(e[n])||eu(t[n]))&&(r[-1!==V.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}let i7=["x","y","width","height","cx","cy","r"],se={useVisualState:iW({scrapeMotionValuesFromProps:i9,createRenderState:i1,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let s=!!e.drag;if(!s){for(let e in i)if(U.has(e)){s=!0;break}}if(!s)return;let o=!t;if(t)for(let n=0;n<i7.length;n++){let r=i7[n];e[r]!==t[r]&&(o=!0)}o&&K.read(()=>{(function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}})(n,r),K.render(()=>{iZ(r,i,i2(n.tagName),e.transformTemplate),i4(n,r)})})}})},st={useVisualState:iW({scrapeMotionValuesFromProps:i8,createRenderState:i0})};function sn(e,t,n){for(let r in t)eu(t[r])||i6(r,n)||(e[r]=t[r])}let sr=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function si(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||sr.has(e)}let ss=e=>!si(e);try{(rs=require("@emotion/is-prop-valid").default)&&(ss=e=>e.startsWith("on")?!si(e):rs(e))}catch(e){}let so={current:null},sa={current:!1},sl=[...tS,eY,e2],su=e=>sl.find(tx(e)),sc=new WeakMap,sd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sh{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=et.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,K.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!i,this.isControllingVariants=iR(t),this.isVariantNode=iD(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==a[e]&&eu(t)&&t.set(a[e],!1)}}mount(e){this.current=e,sc.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
36h((e,t)=>this.bindToMotionValue(t,e)),sa.current||function(){if(sa.current=!0,iN.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>so.current=e.matches;e.addListener(t),t()}else so.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||so.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in sc.delete(this.current),this.projection&&this.projection.unmount(),Q(this.notifyUpdate),Q(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=U.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&K.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),s(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in iB){let t=iB[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nG()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<sd.length;t++){let n=sd[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],s=n[r];if(eu(i))e.addValue(r,i);else if(eu(s))e.addValue(r,el(i,{owner:e}));else if(s!==i){if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,el(void 0!==t?t:i,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=el(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(tm(r)||eA(r))?r=parseFloat(r):!su(r)&&e2.test(t)&&(r=tt(e,t)),this.setBaseTarget(e,eu(r)?r.get():r)),eu(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=u(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(n=i[e])}if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||eu(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new ei),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class sp extends sh{constructor(){super(...arguments),this.KeyframeResolver=tA}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;eu(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class sf extends sp{constructor(){super(...arguments),this.type="html",this.renderInstance=i3}readValueFromInstance(e,t){if(U.has(t)){let e=te(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=(tv(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return n8(e,t)}build(e,t,n){iX(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return i8(e,t,n)}}class sm extends sp{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nG}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(U.has(t)){let e=te(t);return e&&e.default||0}return t=i5.has(t)?t:ed(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return i9(e,t,n)}
36build(e,t,n){iZ(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){i4(e,t,n,r)}mount(e){this.isSVGTag=i2(e.tagName),super.mount(e)}}let sg=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}((ro={animation:{Feature:nw},exit:{Feature:nS},inView:{Feature:iM},tap:{Feature:iS},focus:{Feature:iw},hover:{Feature:ib},pan:{Feature:ri},drag:{Feature:rn,ProjectionNode:iy,MeasureLayout:rb},layout:{ProjectionNode:iy,MeasureLayout:rb}},ra=(e,t)=>iU(e)?new sm(t):new sf(t,{allowProjection:e!==ru.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var s,o;function l(e,s){var o;let l;let u={...(0,ru.useContext)(iO._),...e,layoutId:function({layoutId:e}){let t=(0,ru.useContext)(rd.p).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:c}=u,d=function(e){let{initial:t,animate:n}=function(e,t){if(iR(e)){let{initial:t,animate:n}=e;return{initial:!1===t||a(t)?t:void 0,animate:a(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,ru.useContext)(iI));return(0,ru.useMemo)(()=>({initial:t,animate:n}),[ij(t),ij(n)])}(e),h=r(e,c);if(!c&&iN.j){(0,ru.useContext)(iP).strict;let e=function(e){let{drag:t,layout:n}=iB;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(u);l=e.MeasureLayout,d.visualElement=function(e,t,n,r,i){var s,o;let{visualElement:a}=(0,ru.useContext)(iI),l=(0,ru.useContext)(iP),u=(0,ru.useContext)(i$.O),c=(0,ru.useContext)(iO._).reducedMotion,d=(0,ru.useRef)(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let h=d.current,p=(0,ru.useContext)(rh);h&&!h.projection&&i&&("html"===h.type||"svg"===h.type)&&function(e,t,n,r){let{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&nD(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(d.current,n,i,p);let f=(0,ru.useRef)(!1);(0,ru.useInsertionEffect)(()=>{h&&f.current&&h.update(n,u)});let m=n[eh],g=(0,ru.useRef)(!!m&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,m))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,m)));return(0,iz.L)(()=>{h&&(f.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),rv.render(h.render),g.current&&h.animationState&&h.animationState.animateChanges())}),(0,ru.useEffect)(()=>{h&&(!g.current&&h.animationState&&h.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,m)}),g.current=!1))}),h}(i,h,u,t,e.ProjectionNode)}return(0,rl.jsxs)(iI.Provider,{value:d,children:[l&&d.visualElement?(0,rl.jsx)(l,{visualElement:d.visualElement,...u}):null,n(i,e,(o=d.visualElement,(0,ru.useCallback)(e=>{e&&h.onMount&&h.onMount(e),o&&(e?o.mount(e):o.unmount()),s&&("function"==typeof s?s(e):nD(s)&&(s.current=e))},[o])),h,c,d.visualElement)]})}e&&function(e){for(let t in e)iB[t]={...iB[t],...e[t]}}(e),l.displayName=`motion.${"string"==typeof i?i:`create(${null!==(o=null!==(s=i.displayName)&&void 0!==s?s:i.name)&&void 0!==o?o:""})`}`;let u=(0,ru.forwardRef)(l);return u[iF]=i,u}({...iU(e)?se:st,preloadedFeatures:ro,useRender:function(e=!1){return(t,n,r,{latestValues:i},s)=>{let o=(iU(t)?function(e,t,n,r){let i=(0,ru.useMemo)(()=>{let n=i1();return iZ(n,t,i2(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};sn(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return sn(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,ru.useMemo)(()=>{let n=i0();return iX(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}
36`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(n,i,s,t),a=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(ss(i)||!0===n&&si(i)||!t&&!si(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),l=t!==ru.Fragment?{...a,...o,ref:r}:{},{children:u}=n,c=(0,ru.useMemo)(()=>eu(u)?u.get():u,[u]);return(0,ru.createElement)(t,{...l,children:c})}}(t),createVisualElement:ra,Component:e})}))},11741:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});let r="undefined"!=typeof window},96681:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(67294);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},58868:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(67294);let i=n(11741).j?r.useLayoutEffect:r.useEffect}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(86383),t(23837),t(43079)}),_N_E=e.O()}]);
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.