1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="75030ccf-1363-92cc-b6d5-f07651a58bf0")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,423755,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});let r=(0,e.r(543369).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=r,("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},974575,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getAssetPrefix",{enumerable:!0,get:function(){return a}});let r=e.r(312718);function a(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript to be a <script> element. Received ${e} instead.`),"__NEXT_ERROR_CODE",{value:"E783",enumerable:!1,configurable:!0});let{pathname:t}=new URL(e.src),n=t.indexOf("/_next/");if(-1===n)throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript src to contain '/_next/'. Received ${e.src} instead.`),"__NEXT_ERROR_CODE",{value:"E784",enumerable:!1,configurable:!0});return t.slice(0,n)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},396517,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"appBootstrap",{enumerable:!0,get:function(){return o}});let r=e.r(974575),a=e.r(922737);function o(e){var t,n;let o=(0,r.getAssetPrefix)();t=self.__next_s,n=()=>{e(o)},t&&t.length?t.reduce((e,[t,n])=>e.then(()=>new Promise((e,r)=>{let o=document.createElement("script");n&&(0,a.setAttributesFromProps)(o,n),t?(o.src=t,o.onload=()=>e(),o.onerror=r):n&&(o.innerHTML=n.children,setTimeout(e)),document.head.appendChild(o)})),Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{n()}):n()}window.next={version:"16.2.7",appDir:!0},("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},816565,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getObjectClassLabel:function(){return o},isPlainObject:function(){return i}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});function o(e){return Object.prototype.toString.call(e)}function i(e){if("[object Object]"!==o(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},302023,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return i},getProperError:function(){return s}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(816565);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function s(e){let t;return i(e)?e:Object.defineProperty(Error((0,o.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n})):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},528279,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},597238,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={isRecoverableError:function(){return c},onRecoverableError:function(){return d}};
2for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(555682),i=e.r(132061),s=o._(e.r(302023)),l=e.r(528279),u=new WeakSet;function c(e){return u.has(e)}let d=e=>{let t=(0,s.default)(e)&&"cause"in e?e.cause:e;(0,i.isBailoutToCSRError)(t)||(0,l.reportGlobalError)(t)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},849575,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let n=1;n<=this.numHashes;n++){let r=function(e){let t=0;for(let n=0;n<e.length;n++)t=Math.imul(t^e.charCodeAt(n),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${n}`)%this.numBits;t.push(r)}return t}}},957473,(e,t,n)=>{"use strict";function r(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}})},87831,(e,t,n)=>{"use strict";let r;function a(e){return(void 0===r&&"u">typeof window&&(r=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),r)?.createScriptURL(e)||e}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return a}}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},741961,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolvePromiseWithTimeout",{enumerable:!0,get:function(){return a}});let r=e.r(808341);function a(e,t,n){return new Promise((n,a)=>{let o=!1;e.then(e=>{o=!0,n(e)}).catch(a),(0,r.requestIdleCallback)(()=>setTimeout(()=>{o||a(t)},3800))})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},490758,(e,t,n)=>{"use strict";let r;Object.defineProperty(n,"__esModule",{value:!0});var a={createRouteLoader:function(){return _},getClientBuildManifest:function(){return g},isAssetError:function(){return h},markAssetError:function(){return f}};for(var o in a)Object.defineProperty(n,o,{enumerable:!0,get:a[o]});e.r(555682),e.r(957473);let i=e.r(87831),s=e.r(808341),l=e.r(543369),u=e.r(309885),c=e.r(741961);function d(e,t,n){let r,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let o=new Promise(e=>{r=e});return t.set(e,{resolve:r,future:o}),n?n().then(e=>(r(e),e)).catch(n=>{throw t.delete(e),n}):o}let p=Symbol("ASSET_LOAD_ERROR");function f(e){return Object.defineProperty(e,p,{})}function h(e){return e&&p in e}let m=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}();function g(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return(0,c.resolvePromiseWithTimeout)(e,f(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,
2configurable:!0})),r)}function y(e,t){return g().then(n=>{if(!(t in n))throw f(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let r=n[t].map(t=>e+"/_next/"+(0,u.encodeURIPath)(t));return{scripts:r.filter(e=>e.endsWith(".js")).map(e=>(0,i.__unsafeCreateTrustedScriptURL)(e)+(0,l.getAssetTokenQuery)()),css:r.filter(e=>e.endsWith(".css")).map(e=>e+(0,l.getAssetTokenQuery)())}})}function _(e){let t=new Map,n=new Map,a=new Map,o=new Map;function i(e){{var t;let r=n.get(e.toString());return r?r:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(n.set(e.toString(),r=new Promise((n,r)=>{(t=document.createElement("script")).onload=n,t.onerror=()=>r(f(Object.defineProperty(Error(`Failed to load script: ${e}`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),r)}}function l(e){let t=a.get(e);return t||a.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw f(e)})),t}return{whenEntrypoint:e=>d(e,t),onEntrypoint(e,n){(n?Promise.resolve().then(()=>n()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(n=>{let r=t.get(e);r&&"resolve"in r?n&&(t.set(e,n),r.resolve(n)):(n?t.set(e,n):t.delete(e),o.delete(e))})},loadRoute(n,a){return d(n,o,()=>{let o;return(0,c.resolvePromiseWithTimeout)(y(e,n).then(({scripts:e,css:r})=>Promise.all([t.has(n)?[]:Promise.all(e.map(i)),Promise.all(r.map(l))])).then(e=>this.whenEntrypoint(n).then(t=>({entrypoint:t,styles:e[1]}))),f(Object.defineProperty(Error(`Route did not complete loading: ${n}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0})),r).then(({entrypoint:e,styles:t})=>{let n=Object.assign({styles:t},e);return"error"in e?e:n}).catch(e=>{if(a)throw e;return{error:e}}).finally(()=>o?.())})},prefetch(t){let n;return(n=navigator.connection)&&(n.saveData||/2g/.test(n.effectiveType))?Promise.resolve():y(e,t).then(e=>Promise.all(m?e.scripts.map(e=>{var t,n,r;return t=e.toString(),n="script",new Promise((e,a)=>{let o=` 3 link[rel="prefetch"][href^="${t}"], 4 link[rel="preload"][href^="${t}"], 5 script[src^="${t}"]`;if(document.querySelector(o))return e();r=document.createElement("link"),n&&(r.as=n),r.rel="prefetch",r.crossOrigin=void 0,r.onload=e,r.onerror=()=>a(f(Object.defineProperty(Error(`Failed to prefetch: ${t}`),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),r.href=t,document.head.appendChild(r)})}):[])).then(()=>{(0,s.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},95284,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return s},getSortedRoutes:function(){return i}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});class o{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e="/"){let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(`${e}${t}/`)).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(`${e}[${this.slugName}]/`)),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot define a route with the same specificity as a optional catch-all route ("${t}" and "${t}[[...${this.optionalRestSlugName}
5]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(`${e}[...${this.restSlugName}]/`)),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(`${e}[[...${this.optionalRestSlugName}]]/`)),n}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let r=e[0];if(r.startsWith("[")&&r.endsWith("]")){let o=r.slice(1,-1),i=!1;if(o.startsWith("[")&&o.endsWith("]")&&(o=o.slice(1,-1),i=!0),o.startsWith("â¦"))throw Object.defineProperty(Error(`Detected a three-dot character ('â¦') at ('${o}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(o.startsWith("...")&&(o=o.substring(3),n=!0),o.startsWith("[")||o.endsWith("]"))throw Object.defineProperty(Error(`Segment names may not start or end with extra brackets ('${o}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(o.startsWith("."))throw Object.defineProperty(Error(`Segment names may not start with erroneous periods ('${o}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function a(e,n){if(null!==e&&e!==n)throw Object.defineProperty(Error(`You cannot use different slug names for the same dynamic path ('${e}' !== '${n}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===n)throw Object.defineProperty(Error(`You cannot have the same slug name "${n}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===r.replace(/\W/g,""))throw Object.defineProperty(Error(`You cannot have the slug names "${e}" and "${n}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(n)}if(n)if(i){if(null!=this.restSlugName)throw Object.defineProperty(Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${e[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});a(this.optionalRestSlugName,o),this.optionalRestSlugName=o,r="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});a(this.restSlugName,o),this.restSlugName=o,r="[...]"}else{if(i)throw Object.defineProperty(Error(`Optional route parameters are not yet supported ("${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});a(this.slugName,o),this.slugName=o,r="[]"}}this.children.has(r)||this.children.set(r,new o),this.children.get(r)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function i(e){let t=new o;return e.forEach(e=>t.insert(e)),t.smoosh()}function s(e,t){let n={},r=[];for(let a=0;a<e.length;a++){let o=t(e[a]);n[o]=a,r[a]=o}return i(r).map(t=>e[n[t]])}},285777,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let r=e.r(591463),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,o=/\/\[[^/]+\](?=\/|$)/;function i(e,t=!0){return((0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),t)?o.test(e):a.test(e)}},660180,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return o.getSortedRouteObjects},getSortedRoutes:function(){return o.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(95284),i=e.r(285777)},572263,(e,t,n)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizePathSep",{enumerable:!0,get:function(){return r}})},881672,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let r=e.r(660180),a=e.r(572263);function o(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,r.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},927711,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});let r=new WeakMap;function a(e,t){let n;if(!t)return{pathname:e};let a=r.get(t);a||(a=t.map(e=>e.toLowerCase()),r.set(t,a));let o=e.split("/",2);if(!o[1])return{pathname:e};let i=o[1].toLowerCase(),s=a.indexOf(i);return s<0?{pathname:e}:(n=t[s],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},226098,(e,t,n)=>{"use strict";function r(){let e=Object.create(null);return{on(t,n){(e[t]||(e[t]=[])).push(n)},off(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit(t,...n){(e[t]||[]).slice().map(e=>{e(...n)})}}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}})},873423,(e,t,n)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/path-to-regexp/");var e={};(()=>{function t(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"===r||"+"===r||"?"===r){t.push({type:"MODIFIER",index:n,value:e[n++]});continue}if("\\"===r){t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if("{"===r){t.push({type:"OPEN",index:n,value:e[n++]});continue}if("}"===r){t.push({type:"CLOSE",index:n,value:e[n++]});continue}if(":"===r){for(var a="",o=n+1;o<e.length;){var i=e.charCodeAt(o);if(i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||95===i){a+=e[o++];continue}break}if(!a)throw TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=o;continue}if("("===r){var s=1,l="",o=n+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;){if("\\"===e[o]){l+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--s){o++;break}}else if("("===e[o]&&(s++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at ".concat(o));l+=e[o++]}if(s)throw TypeError("Unbalanced pattern at ".concat(n));if(!l)throw TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:l}),n=o;continue}t.push({type:"CHAR",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,o=void 0===r?"./":r,i=t.delimiter,s=void 0===i?"/#?":i,l=[],u=0,c=0,d="",p=function(e){if(c<n.length&&n[c].type===e)return n[c++].value},f=function(e){var t=p(e);if(void 0!==t)return t;var r=n[c],a=r.type,o=r.index;throw TypeError("Unexpected ".concat(a," at ").concat(o,", expected ").concat(e))},h=function(){for(var e,t="";e=p("CHAR")||p("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<s.length;t++){var n=s[t];if(e.indexOf(n)>-1)return!0}return!1},g=function(e){var t=l[l.length-1],n=e||(t&&"string"==typeof t?t:"");
5if(t&&!n)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!n||m(n)?"[^".concat(a(s),"]+?"):"(?:(?!".concat(a(n),")[^").concat(a(s),"])+?")};c<n.length;){var y=p("CHAR"),_=p("NAME"),v=p("PATTERN");if(_||v){var b=y||"";-1===o.indexOf(b)&&(d+=b,b=""),d&&(l.push(d),d=""),l.push({name:_||u++,prefix:b,suffix:"",pattern:v||g(b),modifier:p("MODIFIER")||""});continue}var S=y||p("ESCAPED_CHAR");if(S){d+=S;continue}if(d&&(l.push(d),d=""),p("OPEN")){var b=h(),E=p("NAME")||"",w=p("PATTERN")||"",T=h();f("CLOSE"),l.push({name:E||(w?u++:""),pattern:E&&!w?g(b):w,prefix:b,suffix:T,modifier:p("MODIFIER")||""});continue}f("END")}return l}function n(e,t){void 0===t&&(t={});var n=o(t),r=t.encode,a=void 0===r?function(e){return e}:r,i=t.validate,s=void 0===i||i,l=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),n)});return function(t){for(var n="",r=0;r<e.length;r++){var o=e[r];if("string"==typeof o){n+=o;continue}var i=t?t[o.name]:void 0,u="?"===o.modifier||"*"===o.modifier,c="*"===o.modifier||"+"===o.modifier;if(Array.isArray(i)){if(!c)throw TypeError('Expected "'.concat(o.name,'" to not repeat, but got an array'));if(0===i.length){if(u)continue;throw TypeError('Expected "'.concat(o.name,'" to not be empty'))}for(var d=0;d<i.length;d++){var p=a(i[d],o);if(s&&!l[r].test(p))throw TypeError('Expected all "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(p,'"'));n+=o.prefix+p+o.suffix}continue}if("string"==typeof i||"number"==typeof i){var p=a(String(i),o);if(s&&!l[r].test(p))throw TypeError('Expected "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(p,'"'));n+=o.prefix+p+o.suffix;continue}if(!u){var f=c?"an array":"a string";throw TypeError('Expected "'.concat(o.name,'" to be ').concat(f))}}return n}}function r(e,t,n){void 0===n&&(n={});var r=n.decode,a=void 0===r?function(e){return e}:r;return function(n){var r=e.exec(n);if(!r)return!1;for(var o=r[0],i=r.index,s=Object.create(null),l=1;l<r.length;l++)!function(e){if(void 0!==r[e]){var n=t[e-1];"*"===n.modifier||"+"===n.modifier?s[n.name]=r[e].split(n.prefix+n.suffix).map(function(e){return a(e,n)}):s[n.name]=a(r[e],n)}}(l);return{path:o,index:i,params:s}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function i(e,t,n){void 0===n&&(n={});for(var r=n.strict,i=void 0!==r&&r,s=n.start,l=n.end,u=n.encode,c=void 0===u?function(e){return e}:u,d=n.delimiter,p=n.endsWith,f="[".concat(a(void 0===p?"":p),"]|$"),h="[".concat(a(void 0===d?"/#?":d),"]"),m=void 0===s||s?"^":"",g=0;g<e.length;g++){var y=e[g];if("string"==typeof y)m+=a(c(y));else{var _=a(c(y.prefix)),v=a(c(y.suffix));if(y.pattern)if(t&&t.push(y),_||v)if("+"===y.modifier||"*"===y.modifier){var b="*"===y.modifier?"?":"";m+="(?:".concat(_,"((?:").concat(y.pattern,")(?:").concat(v).concat(_,"(?:").concat(y.pattern,"))*)").concat(v,")").concat(b)}else m+="(?:".concat(_,"(").concat(y.pattern,")").concat(v,")").concat(y.modifier);else{if("+"===y.modifier||"*"===y.modifier)throw TypeError('Can not repeat "'.concat(y.name,'" without a prefix and suffix'));m+="(".concat(y.pattern,")").concat(y.modifier)}else m+="(?:".concat(_).concat(v,")").concat(y.modifier)}}if(void 0===l||l)i||(m+="".concat(h,"?")),m+=n.endsWith?"(?=".concat(f,")"):"$";else{var S=e[e.length-1],E="string"==typeof S?h.indexOf(S[S.length-1])>-1:void 0===S;i||(m+="(?:".concat(h,"(?=").concat(f,"))?")),E||(m+="(?=".concat(h,"|").concat(f,")"))}return new RegExp(m,o(n))}function s(e,n,r){if(e instanceof RegExp){var a;if(!n)return e;for(var l=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=l.exec(e.source);c;)n.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=l.exec(e.source);return e}return Array.isArray(e)?(a=e.map(function(e){return s(e,n,r).source}),new RegExp("(?:".concat(a.join("|"),")"),o(r))):i(t(e,r),n,r)}Object.defineProperty(e,"__esModule",{value:!0}),e.pathToRegexp=e.tokensToRegexp=e.regexpToFunction=e.match=e.tokensToFunction=e.compile=e.parse=void 0,e.parse=t,e.compile=function(e,r){return n(t(e,r),r)},e.tokensToFunction=n,e.match=function(e,t){var n=[];return r(s(e,n,t),n,t)},e.regexpToFunction=r,e.tokensToRegexp=i,e.pathToRegexp=s})(),t.exports=e})()},268280,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={PARAM_SEPARATOR:function(){return o},hasAdjacentParameterIssues:function(){return i},normalizeAdjacentParameters:function(){return s},normalizeTokensForRegexp:function(){return l},stripNormalizedSeparators:function(){return u},stripParameterSeparators:function(){return c}};
5for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o="_NEXTSEP_";function i(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function s(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${o}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${o}`)}function l(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function u(e){return e.replace(RegExp(`\\)${o}`,"g"),")")}function c(e){let t={};for(let[n,r]of Object.entries(e))"string"==typeof r?t[n]=r.replace(RegExp(`^${o}`),""):Array.isArray(r)?t[n]=r.map(e=>"string"==typeof e?e.replace(RegExp(`^${o}`),""):e):t[n]=r;return t}},475957,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={safeCompile:function(){return l},safePathToRegexp:function(){return s},safeRegexpToFunction:function(){return u},safeRouteMatcher:function(){return c}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(873423),i=e.r(268280);function s(e,t,n){if("string"!=typeof e)return(0,o.pathToRegexp)(e,t,n);let r=(0,i.hasAdjacentParameterIssues)(e),a=r?(0,i.normalizeAdjacentParameters)(e):e;try{return(0,o.pathToRegexp)(a,t,n)}catch(a){if(!r)try{let r=(0,i.normalizeAdjacentParameters)(e);return(0,o.pathToRegexp)(r,t,n)}catch(e){}throw a}}function l(e,t){let n=(0,i.hasAdjacentParameterIssues)(e),r=n?(0,i.normalizeAdjacentParameters)(e):e;try{let e=(0,o.compile)(r,t);if(n)return t=>(0,i.stripNormalizedSeparators)(e(t));return e}catch(r){if(!n)try{let n=(0,i.normalizeAdjacentParameters)(e),r=(0,o.compile)(n,t);return e=>(0,i.stripNormalizedSeparators)(r(e))}catch(e){}throw r}}function u(e,t){let n=(0,o.regexpToFunction)(e,t||[]);return e=>{let t=n(e);return!!t&&{...t,params:(0,i.stripParameterSeparators)(t.params)}}}function c(e){return t=>{let n=e(t);return!!n&&(0,i.stripParameterSeparators)(n)}}},841820,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let r=e.r(718967),a=e.r(475957);function o({re:e,groups:t}){return(0,a.safeRouteMatcher)(n=>{let a=e.exec(n);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch{throw Object.defineProperty(new r.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},i={};for(let[e,n]of Object.entries(t)){let t=a[n.pos];void 0!==t&&(n.repeat?i[e]=t.split("/").map(e=>o(e)):i[e]=o(t))}return i})}},2160,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(a,"\\$&"):e}},370422,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseLoaderTree",{enumerable:!0,get:function(){return a}});let r=e.r(813258);function a(e){let[t,n,a,o]=e,{layout:i,template:s}=a,{page:l}=a;l=t===r.DEFAULT_SEGMENT_KEY?a.defaultPage:l;let u=i?.[1]||s?.[1]||l?.[1];return{page:l,segment:t,modules:a,conventionPath:u,parallelRoutes:n,staticSiblings:o}}},31027,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={isInterceptionAppRoute:function(){return c},isNormalizedAppRoute:function(){return u},parseAppRoute:function(){return function e(t,n){let r,a,s,u=t.split("/").filter(Boolean),c=[];for(let d of u){let u=l(function(e){if(!/%5b|%5d/i.test(e))return e;try{let t=decodeURIComponent(e);return(0,i.getSegmentParam)(t)?t:e}catch{return e}}(d));if(u){if(n&&("route-group"===u.type||"parallel-route"===u.type))throw Object.defineProperty(new o.InvariantError(`${t} is being parsed as a normalized route, but it has a route group or parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E923",enumerable:!1,configurable:!0});if(c.push(u),u.interceptionMarker){let o=t.split(u.interceptionMarker);if(2!==o.length)throw Object.defineProperty(Error(`Invalid interception route: ${t}
5`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});a=n?e(o[0],!0):e(o[0],!1),s=n?e(o[1],!0):e(o[1],!1),r=u.interceptionMarker}}}let d=c.filter(e=>"dynamic"===e.type);return{normalized:n,pathname:t,segments:c,dynamicSegments:d,interceptionMarker:r,interceptingRoute:a,interceptedRoute:s}}},parseAppRouteSegment:function(){return l}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(312718),i=e.r(401643),s=e.r(591463);function l(e){if(""===e)return null;let t=s.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),n=(0,i.getSegmentParam)(e);return n?{type:"dynamic",name:e,param:n,interceptionMarker:t}:e.startsWith("(")&&e.endsWith(")")?{type:"route-group",name:e,interceptionMarker:t}:e.startsWith("@")?{type:"parallel-route",name:e,interceptionMarker:t}:{type:"static",name:e,interceptionMarker:t}}function u(e){return e.normalized}function c(e){return void 0!==e.interceptionMarker&&void 0!==e.interceptingRoute&&void 0!==e.interceptedRoute}},254395,(e,t,n)=>{"use strict";function r(e){switch(e){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return r}})},746857,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolveParamValue",{enumerable:!0,get:function(){return o}});let r=e.r(312718),a=e.r(254395);function o(e,t,n,o,i){switch(t){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let s=[];for(let e=n;e<o.segments.length;e++){let r=o.segments[e];if("static"===r.type){let o=r.name,i=(0,a.interceptionPrefixFromParamType)(t);i&&e===n&&i===r.interceptionMarker&&(o=o.replace(r.interceptionMarker,"")),s.push(o)}else{if(!i.hasOwnProperty(r.param.paramName)){if("optional-catchall"===r.param.paramType)break;return}let e=i[r.param.paramName];Array.isArray(e)?s.push(...e):s.push(e)}}if(s.length>0)return s;if("optional-catchall"===t)return;throw Object.defineProperty(new r.InvariantError(`Unexpected empty path segments match for a route "${o.pathname}" with param "${e}" of type "${t}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(n<o.segments.length){let e=o.segments[n];if("dynamic"===e.type&&!i.hasOwnProperty(e.param.paramName))return;return"dynamic"===e.type?i[e.param.paramName]:(0,a.interceptionPrefixFromParamType)(t)===e.interceptionMarker?e.name.replace(e.interceptionMarker,""):e.name}return}}},753015,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={PARAMETER_PATTERN:function(){return d},getDynamicParam:function(){return c},interpolateParallelRouteParams:function(){return u},parseMatchedParameter:function(){return f},parseParameter:function(){return p}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(312718),i=e.r(370422),s=e.r(31027),l=e.r(746857);function u(e,t,n,r){let a=structuredClone(t),u=[{tree:e,depth:0}],c=(0,s.parseAppRoute)(n,!0);for(;u.length>0;){let{tree:e,depth:t}=u.pop(),{segment:n,parallelRoutes:d}=(0,i.parseLoaderTree)(e),p=(0,s.parseAppRouteSegment)(n);if(p?.type==="dynamic"&&!a.hasOwnProperty(p.param.paramName)&&!r?.has(p.param.paramName)){let{paramName:e,paramType:n}=p.param,r=(0,l.resolveParamValue)(e,n,t,c,a);if(void 0!==r)a[e]=r;else if("optional-catchall"!==n)throw Object.defineProperty(new o.InvariantError(`Could not resolve param value for segment: ${e}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let f=t;for(let e of(p&&"route-group"!==p.type&&"parallel-route"!==p.type&&f++,Object.values(d)))u.pu
5sh({tree:e,depth:f})}return a}function c(e,t,n,r,a){let i=function(e,t,n){let r=e[t];if(n?.has(t)){let[e]=n.get(t);r=e}else Array.isArray(r)?r=r.map(e=>encodeURIComponent(e)):"string"==typeof r&&(r=encodeURIComponent(r));return r}(e,t,r);if(!i||0===i.length){if("oc"===n)return{param:t,value:null,type:n,treeSegment:[t,"",n,a]};throw Object.defineProperty(new o.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${n}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}let s=Array.isArray(i)?i.join("/"):i;return{param:t,value:i,treeSegment:[t,s,n,a],type:n}}let d=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function p(e){let t=e.match(d);return t?f(t[2]):f(e)}function f(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}},862735,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getNamedMiddlewareRegex:function(){return m},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return d}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(663416),i=e.r(591463),s=e.r(2160),l=e.r(938281),u=e.r(753015);function c(e,t,n){let r={},a=1,o=[];for(let c of(0,l.removeTrailingSlash)(e).slice(1).split("/")){let e=i.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),l=c.match(u.PARAMETER_PATTERN);if(e&&l&&l[2]){let{key:t,optional:n,repeat:i}=(0,u.parseMatchedParameter)(l[2]);r[t]={pos:a++,repeat:i,optional:n},o.push(`/${(0,s.escapeStringRegexp)(e)}([^/]+?)`)}else if(l&&l[2]){let{key:e,repeat:t,optional:i}=(0,u.parseMatchedParameter)(l[2]);r[e]={pos:a++,repeat:t,optional:i},n&&l[1]&&o.push(`/${(0,s.escapeStringRegexp)(l[1])}`);let c=t?i?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";n&&l[1]&&(c=c.substring(1)),o.push(c)}else o.push(`/${(0,s.escapeStringRegexp)(c)}`);t&&l&&l[3]&&o.push((0,s.escapeStringRegexp)(l[3]))}return{parameterizedRoute:o.join(""),groups:r}}function d(e,{includeSuffix:t=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:r=!1}={}){let{parameterizedRoute:a,groups:o}=c(e,t,n),i=a;return r||(i+="(?:/)?"),{re:RegExp(`^${i}$`),groups:o}}function p({interceptionMarker:e,getSafeRouteKey:t,segment:n,routeKeys:r,keyPrefix:a,backreferenceDuplicateKeys:o}){let i,{key:l,optional:c,repeat:d}=(0,u.parseMatchedParameter)(n),f=l.replace(/\W/g,"");a&&(f=`${a}${f}`);let h=!1;(0===f.length||f.length>30)&&(h=!0),isNaN(parseInt(f.slice(0,1)))||(h=!0),h&&(f=t());let m=f in r;a?r[f]=`${a}${l}`:r[f]=l;let g=e?(0,s.escapeStringRegexp)(e):"";return i=m&&o?`\\k<${f}>`:d?`(?<${f}>.+?)`:`(?<${f}>[^/]+?)`,{key:l,pattern:c?`(?:/${g}${i})?`:`/${g}${i}`,cleanedKey:f,optional:c,repeat:d}}function f(e,t,n,r,a,c={names:{},intercepted:{}}){let d,h=(d=0,()=>{let e="",t=++d;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),m={},g=[],y=[];for(let d of(c=structuredClone(c),(0,l.removeTrailingSlash)(e).slice(1).split("/"))){let e,l=i.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)),f=d.match(u.PARAMETER_PATTERN),_=l?f?.[1]:void 0;if(_&&f?.[2]?(e=t?o.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,c.intercepted[f[2]]=_):e=f?.[2]&&c.intercepted[f[2]]?t?o.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:t?o.NEXT_QUERY_PARAM_PREFIX:void 0,_&&f&&f[2]){let{key:t,pattern:n,cleanedKey:r,repeat:o,optional:i}=p({getSafeRouteKey:h,interceptionMarker:_,segment:f[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a});g.push(n),y.push(`/${f[1]}:${c.names[t]??r}${o?i?"*":"+":""}`),c.names[t]??=r}else if(f&&f[2]){r&&f[1]&&(g.push(`/${(0,s.escapeStringRegexp)(f[1])}`),y.push(`/${f[1]}`));let{key:t,pattern:n,cleanedKey:o,repeat:i,optional:l}=p({getSafeRouteKey:h,segment:f[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a}),u=n;r&&f[1]&&(u=u.substring(1)),g.push(u),y.push(`/:${c.names[t]??o}${i?l?"*":"+":""}`),c.names[t]??=o}else g.push(`/${(0,s.escapeStringRegexp)(d)}`),y.push(`/${d}`);n&&f&&f[3]&&(g.push((0,s.escapeStringRegexp)(f[3])),y.push(f[3]))}return{namedParameterizedRoute:g.join(""),routeKeys:m,pathToRegexpPattern:y.join(""),reference:c}}
5function h(e,t){let n=f(e,t.prefixRouteKeys,t.includeSuffix??!1,t.includePrefix??!1,t.backreferenceDuplicateKeys??!1,t.reference),r=n.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(r+="(?:/)?"),{...d(e,t),namedRegex:`^${r}$`,routeKeys:n.routeKeys,pathToRegexpPattern:n.pathToRegexpPattern,reference:n.reference}}function m(e,t){let{parameterizedRoute:n}=c(e,!1,!1),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:`^/${r?".*":""}$`};let{namedParameterizedRoute:a}=f(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${a}${r?"(?:(/.*)?)":""}$`}}},195057,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(190809)._(e.r(998183)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:n}=e,r=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:n&&(u=t+(~n.indexOf(":")?`[${n}]`:n),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||i.test(r))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${r}${u}${a}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},885305,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=(...e)=>{};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},535192,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return r}}),e.r(82823);let r=(e,...t)=>e;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},827018,(e,t,n)=>{"use strict";function r(e,t){return e}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removeLocale",{enumerable:!0,get:function(){return r}}),e.r(572463),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},18556,(e,t,n)=>{"use strict";function r(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"omit",{enumerable:!0,get:function(){return r}})},573668,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isLocalURL",{enumerable:!0,get:function(){return o}});let r=e.r(718967),a=e.r(652817);function o(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,a.hasBasePath)(n.pathname)}catch(e){return!1}}},51506,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"interpolateAs",{enumerable:!0,get:function(){return o}});let r=e.r(841820),a=e.r(862735);function o(e,t,n){let o="",i=(0,a.getRouteRegex)(e),s=i.groups,l=(t!==e?(0,r.getRouteMatcher)(i)(t):"")||n;o=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:n,optional:r}=s[e],a=`[${n?"...":""}${e}]`;return r&&(a=`${!t?"/":""}[${a}]`),n&&!Array.isArray(t)&&(t=[t]),(r||e in l)&&(o=o.replace(a,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:u,result:o}}},57192,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolveHref",{enumerable:!0,get:function(){return f}});let r=e.r(998183),a=e.r(195057),o=e.r(18556),i=e.r(718967),s=e.r(82823),l=e.r(573668),u=e.r(660180),c=e.r(51506),d=e.r(862735),p=e.r(841820);function f(e,t,n){let f,h="string"==typeof t?t:(0,a.formatWithValidation)(t),m=h.match(/^[a-z][a-z0-9+.-]*:\/\//i),g=m?h.slice(m[0].length):h;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${h}
5' passed to next/router in page: '${e.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);let t=(0,i.normalizeRepeatedSlashes)(g);h=(m?m[0]:"")+t}if(!(0,l.isLocalURL)(h))return n?[h]:h;try{let t=h.startsWith("#")?e.asPath:e.pathname;if(h.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let n=(0,d.getRouteRegex)(e.pathname);(0,p.getRouteMatcher)(n)(e.asPath)||(t=e.asPath)}f=new URL(t,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(h,f);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:i,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,n);i&&(t=(0,a.formatWithValidation)({pathname:i,hash:e.hash,query:(0,o.omit)(n,s)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return n?[i,t||i]:i}catch(e){return n?[h]:h}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},210648,(e,t,n)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isAPIRoute",{enumerable:!0,get:function(){return r}})},657979,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removePathPrefix",{enumerable:!0,get:function(){return a}});let r=e.r(59084);function a(e,t){if(!(0,r.pathHasPrefix)(e,t))return e;let n=e.slice(t.length);return n.startsWith("/")?n:`/${n}`}},283605,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let r=e.r(927711),a=e.r(657979),o=e.r(59084);function i(e,t){let{basePath:n,i18n:i,trailingSlash:s}=t.nextConfig??{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};n&&(0,o.pathHasPrefix)(l.pathname,n)&&(l.pathname=(0,a.removePathPrefix)(l.pathname,n),l.basePath=n);let u=l.pathname;if(l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){let e=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");l.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(l.pathname=u)}if(i){let e=t.i18nProvider?t.i18nProvider.analyze(l.pathname):(0,r.normalizeLocalePath)(l.pathname,i.locales);l.locale=e.detectedLocale,l.pathname=e.pathname??l.pathname,!e.detectedLocale&&l.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(u):(0,r.normalizeLocalePath)(u,i.locales)).detectedLocale&&(l.locale=e.detectedLocale)}return l}},152539,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addPathSuffix",{enumerable:!0,get:function(){return a}});let r=e.r(572463);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:a,hash:o}=(0,r.parsePath)(e);return`${n}${t}${a}${o}`}},95524,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return o}});let r=e.r(541858),a=e.r(59084);function o(e,t,n,o){if(!t||t===n)return e;let i=e.toLowerCase();return!o&&((0,a.pathHasPrefix)(i,"/api")||(0,a.pathHasPrefix)(i,`/${t.toLowerCase()}`))?e:(0,r.addPathPrefix)(e,`/${t}`)}},230283,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let r=e.r(938281),a=e.r(541858),o=e.r(152539),i=e.r(95524);function s(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,r.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,a.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,r.removeTrailingSlash)(t)}},865941,(e,t,n)=>{"use strict";function r(e,t){let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=n.length;r--;){let a=n[r];if("query"===a){let n=Object.keys(e.query);if(n.length!==Object.keys(t.query).length)return!1;for(let r=n.length;r--;){let a=n[r];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"compareRouterStates",{enumerable:!0,get:function(){return r}})},341257,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getPathMatch",{enumerable:!0,get:function(){return a}});let r=e.r(873423);function a(e,t){let n=[],a=(0,r.pathToRegexp)(e,n,{delimiter:"/",sensitive:"boolean"==typeof t?.sensitive&&t.sensitive,strict:t?.strict}),o=(0,r.regexpToFunction)(t?.regexModifier?new RegExp(t.regexModifier(a.source),a.flags):a,n);return(e,r)=>{if("string"!=typeof e)return!1;let a=o(e);if(!a)return!1;if(t?.removeUnnamedParams)for(let e of n)"number"==typeof e.name&&delete a.params[e.name];return{...r,...a.params}}}},106346,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseUrl",{enumerable:!0,get:function(){return o}});let r=e.r(998183),a=e.r(722783);function o(e){if(e.startsWith("/"))return(0,a.parseRelativeUrl)(e);let t=new URL(e),n=t.username,o=t.password,i=n?o?`${n}:${o}`:n:null,s=t.pathname,l=t.search;return{auth:i,hash:t.hash,hostname:t.hostname,href:t.href,pathname:s,port:t.port,protocol:t.protocol,query:(0,r.searchParamsToUrlQuery)(t.searchParams),search:l,origin:t.origin,slashes:"//"===t.href.slice(t.protocol.length,t.protocol.length+2)}}},619573,(e,t,n)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/cookie/");var e,n,r,a,o={};o.parse=function(t,n){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var a={},o=t.split(r),i=(n||{}).decode||e,s=0;s<o.length;s++){var l=o[s],u=l.indexOf("=");if(!(u<0)){var c=l.substr(0,u).trim(),d=l.substr(++u,l.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==a[c]&&(a[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,i))}}return a},o.serialize=function(e,t,r){var o=r||{},i=o.encode||n;if("function"!=typeof i)throw TypeError("option encode is invali
5d");if(!a.test(e))throw TypeError("argument name is invalid");var s=i(t);if(s&&!a.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(o.domain){if(!a.test(o.domain))throw TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!a.test(o.path))throw TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invalid");l+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(l+="; HttpOnly"),o.secure&&(l+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l},e=decodeURIComponent,n=encodeURIComponent,r=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,t.exports=o})()},989557,(e,t,n)=>{"use strict";function r(t){return function(){let{cookie:n}=t;if(!n)return{};let{parse:r}=e.r(619573);return r(Array.isArray(n)?n.join("; "):n)}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getCookieParser",{enumerable:!0,get:function(){return r}})},631423,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={compileNonPath:function(){return p},matchHas:function(){return d},parseDestination:function(){return f},prepareDestination:function(){return h}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(2160),i=e.r(106346),s=e.r(591463),l=e.r(989557),u=e.r(475957);function c(e){return e.replace(/__ESC_COLON_/gi,":")}function d(e,t,n=[],r=[]){let a={},o=n=>{let r,o=n.key;switch(n.type){case"header":o=o.toLowerCase(),r=e.headers[o];break;case"cookie":r="cookies"in e?e.cookies[n.key]:(0,l.getCookieParser)(e.headers)()[n.key];break;case"query":r=t[o];break;case"host":{let{host:t}=e?.headers||{};r=t?.split(":",1)[0].toLowerCase()}}if(!n.value&&r)return a[function(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);(r>64&&r<91||r>96&&r<123)&&(t+=e[n])}return t}(o)]=r,!0;if(r){let e=RegExp(`^${n.value}$`),t=Array.isArray(r)?r.slice(-1)[0].match(e):r.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{a[e]=t.groups[e]}):"host"===n.type&&t[0]&&(a.host=t[0])),!0}return!1};return!(!n.every(e=>o(e))||r.some(e=>o(e)))&&a}function p(e,t){if(!e.includes(":"))return e;for(let n of Object.keys(t))e.includes(`:${n}`)&&(e=e.replace(RegExp(`:${n}\\*`,"g"),`:${n}--ESCAPED_PARAM_ASTERISKS`).replace(RegExp(`:${n}\\?`,"g"),`:${n}--ESCAPED_PARAM_QUESTION`).replace(RegExp(`:${n}\\+`,"g"),`:${n}--ESCAPED_PARAM_PLUS`).replace(RegExp(`:${n}(?!\\w)`,"g"),`--ESCAPED_PARAM_COLON${n}`));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,u.safeCompile)(`/${e}`,{validate:!1})(t).slice(1)}function f(e){let t=e.destination;for(let n of Object.keys({...e.params,...e.query}))n&&(t=t.replace(RegExp(`:${(0,o.escapeStringRegexp)(n)}`,"g"),`__ESC_COLON_${n}`));let n=(0,i.parseUrl)(t),r=n.pathname;r&&(r=c(r));let a=n.href;a&&(a=c(a));let s=n.hostname;s&&(s=c(s));let l=n.hash;l&&(l=c(l));let u=n.search;u&&(u=c(u));let d=n.origin;return d&&(d=c(d)),{...n,pathname:r,hostname:s,href:a,hash:l,search:u,origin:d}}function h(e){let t,n,r=f(e),{hostname:a,query:o,search:i}=r,l=r.pathname;r.hash&&(l=`${l}${r.hash}`);let d=[],h=[];for(let e of((0,u.safePathToRegexp)(l,h),h))d.push(e.name);if(a){let e=[];for(let t of((0,u.safePathToRegexp)(a,e),e))d.push(t.name)}let m=(0,u.safeCompile)(l,{validate:!1});for(let[n,r]of(a&&(t=(0,u.safeCompile)(a,{validate:!1})),Object.entries(o)))Array.isArray(r)?o[n]=r.map(t=>p(c(t),e.params)):"string"==typeof r&&(o[n]=p(c(r),e.params));let g=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!g.some(e=>d.includes(e)))for(let t of g)t in o||(o[t]=e.params[t]);if((0,s.isInterceptionRouteAppPath)(l))for(let t of l.split("/")){let n=s.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(n){"(..)(..)"===n?(e.params["0"]="(..)",e.params["1"]="(..)"):e.params["0"]=n;break}}try{let[a,o]=(n=m(e.params)).split("#",2);t&&(r.hostname=t(e.params)),r.pathname=a,r.hash=`${o?"#":""}${o||""}`,r.search=i?p(i,e.params):""}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Object.defineProperty(Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,
5configurable:!0});throw e}return r.query={...e.query,...r.query},{newUrl:n,destQuery:o,parsedDestination:r}}},291534,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(341257),a=e.r(631423),o=e.r(938281),i=e.r(927711),s=e.r(387250),l=e.r(722783);function u(e,t,n,u,c,d){let p,f=!1,h=!1,m=(0,l.parseRelativeUrl)(e),g=(0,o.removeTrailingSlash)((0,i.normalizeLocalePath)((0,s.removeBasePath)(m.pathname),d).pathname),y=n=>{let l=(0,r.getPathMatch)(n.source+"",{removeUnnamedParams:!0,strict:!0})(m.pathname);if((n.has||n.missing)&&l){let e=(0,a.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>{let[n,...r]=t.split("=");return e[n]=r.join("="),e},{})},m.query,n.has,n.missing);e?Object.assign(l,e):l=!1}if(l){if(!n.destination)return h=!0,!0;let r=(0,a.prepareDestination)({appendParamsToQuery:!0,destination:n.destination,params:l,query:u});if(m=r.parsedDestination,e=r.newUrl,Object.assign(u,r.parsedDestination.query),g=(0,o.removeTrailingSlash)((0,i.normalizeLocalePath)((0,s.removeBasePath)(e),d).pathname),t.includes(g))return f=!0,p=g,!0;if((p=c(g))!==e&&t.includes(p))return f=!0,!0}},_=!1;for(let e=0;e<n.beforeFiles.length;e++)y(n.beforeFiles[e]);if(!(f=t.includes(g))){if(!_){for(let e=0;e<n.afterFiles.length;e++)if(y(n.afterFiles[e])){_=!0;break}}if(_||(p=c(g),_=f=t.includes(p)),!_){for(let e=0;e<n.fallback.length;e++)if(y(n.fallback[e])){_=!0;break}}}return{asPath:e,parsedAs:m,matchedPage:f,resolvedHref:p,externalDest:h}}},509793,(e,t,n)=>{"use strict";let r;Object.defineProperty(n,"__esModule",{value:!0});var a={createKey:function(){return J},default:function(){return Q},matchesMiddleware:function(){return $}};for(var o in a)Object.defineProperty(n,o,{enumerable:!0,get:a[o]});let i=e.r(555682),s=e.r(190809),l=e.r(938281),u=e.r(490758),c=e.r(479520),d=s._(e.r(302023)),p=e.r(881672),f=e.r(927711),h=i._(e.r(226098)),m=e.r(718967),g=e.r(285777),y=e.r(722783),_=e.r(841820),v=e.r(862735),b=e.r(195057);e.r(885305);let S=e.r(572463),E=e.r(535192),w=e.r(827018),T=e.r(387250),k=e.r(405550),R=e.r(652817),x=e.r(57192),I=e.r(210648),C=e.r(283605),N=e.r(230283),P=e.r(865941),O=e.r(573668),A=e.r(82604),M=e.r(18556),L=e.r(51506),D=e.r(491915),U=e.r(663416),j=e.r(543369),B=e.r(948277);function F(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function $(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:n}=(0,S.parsePath)(e.asPath),r=(0,R.hasBasePath)(n)?(0,T.removeBasePath)(n):n,a=(0,k.addBasePath)((0,E.addLocale)(r,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function z(e){let t=(0,m.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function H(e,t,n){let[r,a]=(0,x.resolveHref)(e,t,!0),o=(0,m.getLocationOrigin)(),i=r.startsWith(o),s=a&&a.startsWith(o);r=z(r),a=a?z(a):a;let l=i?r:(0,k.addBasePath)(r),u=n?z((0,x.resolveHref)(e,n)):a||r;return{url:l,as:s?u:(0,k.addBasePath)(u)}}function W(e,t){let n=(0,l.removeTrailingSlash)((0,p.denormalizePagePath)(e));return"/404"===n||"/_error"===n?e:(t.includes(n)||t.some(t=>{if((0,g.isDynamicRoute)(t)&&(0,v.getRouteRegex)(t).re.test(n))return e=t,!0}),(0,l.removeTrailingSlash)(e))}async function q(e){if(!await $(e)||!e.fetchData)return null;let t=await e.fetchData(),n=await function(e,t,n){let a={basePath:n.router.basePath,i18n:{locales:n.router.locales},trailingSlash:!1},o=t.headers.get("x-nextjs-rewrite"),i=o||t.headers.get("x-nextjs-matched-path"),s=t.headers.get(U.MATCHED_PATH_HEADER);if(!s||i||s.includes("__next_data_catchall")||s.includes("/_error")||s.includes("/404")||(i=s),i){if(i.startsWith("/")){let t=(0,y.parseRelativeUrl)(i),s=(0,C.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),c=(0,l.removeTrailingSlash)(s.pathname);return Promise.all([n.router.pageLoader.getPageList(),(0,u.getClientBuildManifest)()]).then(([i,{__rewrites:l}])=>{let u=(0,E.addLocale)(s.pathname,s.locale);if((0,g.isDynamicRoute)(u)||!o&&i.includes((0,f.normalizeLocalePath)((0,T.removeBasePath)(u),n.router.locales).pathname)){let n=(0,C.getNextPathnameInfo)((0,y.parseRelativeUrl)(e).pathname,{nextConfig:{basePath:a.basePath,trailingSlash:a.trailingSlash},parseData:!0}
5);t.pathname=u=(0,k.addBasePath)(n.pathname)}{let e=r(u,i,l,t.query,e=>W(e,i),n.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,u=t.pathname,Object.assign(t.query,e.parsedAs.query))}let d=i.includes(c)?c:W((0,f.normalizeLocalePath)((0,T.removeBasePath)(t.pathname),n.router.locales).pathname,i);if((0,g.isDynamicRoute)(d)){let e=(0,_.getRouteMatcher)((0,v.getRouteRegex)(d))(u);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,S.parsePath)(e),s=(0,N.formatNextPathnameInfo)({...(0,C.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${s}${t.query}${t.hash}`})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=(0,S.parsePath)(c),t=(0,N.formatNextPathnameInfo)({...(0,C.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:n}}r=e.r(291534).default;let G=Symbol("SSG_DATA_NOT_FOUND");function V(e){try{return JSON.parse(e)}catch(e){return null}}function Y({dataHref:e,inflightCache:t,isPrefetch:n,hasMiddleware:r,isServerRender:a,parseJSON:o,persistCache:i,isBackground:s,unstable_skipClientCache:l}){let{href:c}=new URL(e,window.location.href),d=(0,j.getDeploymentId)(),p=s=>(function e(t,n,r){return fetch(t,{credentials:"same-origin",method:r.method||"GET",headers:Object.assign({},r.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&n>1&&a.status>=500?e(t,n-1,r):a)})(e,a?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&r?{"x-middleware-prefetch":"1"}:{},d?{"x-deployment-id":d}:{}),method:s?.method??"GET"}).then(t=>t.ok&&s?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(n=>{if(!t.ok){if(r&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:n,json:{},cacheKey:c};if(404===t.status&&V(n)?.notFound)return{dataHref:e,json:{notFound:G},response:t,text:n,cacheKey:c};let o=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw a||(0,u.markAssetError)(o),o}let i=t.headers.get(U.NEXT_NAV_DEPLOYMENT_ID_HEADER);if(null!=i&&i!==d){let e=Object.defineProperty(Error("Loaded static props were from an outdated deployment, forcing a hard reload"),"__NEXT_ERROR_CODE",{value:"E989",enumerable:!1,configurable:!0});throw a||(0,u.markAssetError)(e),e}return{dataHref:e,json:o?V(n):null,response:t,text:n,cacheKey:c}})).then(e=>(i&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw l||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,u.markAssetError)(e),e});return l&&i?p({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=p(s?{method:"HEAD"}:{})}function J(){return Math.random().toString(36).slice(2,10)}function X({url:e,router:t}){if(e===(0,k.addBasePath)((0,E.addLocale)(t.asPath,t.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=e}let K=({route:e,router:t})=>{let n=!1,r=t.clc=()=>{n=!0};return()=>{if(n){let t=Object.defineProperty(Error(`Abort fetching component for route: "${e}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw t.cancelled=!0,t}r===t.clc&&(t.clc=null)}};class Q{static{this.events=(0,h.default)()}constructor(e,t,n,{initialProps:r,pageLoader:a,App:o,wrapApp:i,Component:s,err:u,subscription:c,isFallback:d,locale:p,locales:f,defaultLocale:h,domainLocales:_,isPreview:v}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=J(),this.onPopState=e=>{let t,{isFirstPopStateEvent:n}=this;this.isFirstPopStateEvent=!1;let r=e.state;if(!r){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,b.formatWithValidation)({pathname:(0,k.addBasePath)(e),query:t}),(0,m.getURL)());return}if(r.__NA)return void window.location.reload();if(!r.__N||n&&this.locale===r.options.locale&&r.as===this.asPath)return;let{url:a,as:o,options:i,key:s}=r;this._key=s;let{pathname:l}=(0,y.parseRelativeUrl)(a);this.isSsr&&o===(0,k.addBasePath)(this.asPath)&&l===(0,k.addBasePath)(this.pathname)||(!this._bps||this._bps(r))&&this.change("replaceState",a,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};const S=(0,l.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:r,err:u,__N_SSG:r&&r.__N_SSG,__N_SSP:r&&r.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=Q.events,this.pageLoader=a;const E=(0,g.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=i,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!E&&!self.location.search&&0),this.state={route:S,pathname:e,query:t,asPath:E?e:n,isPreview:!!v,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"u">typeof window){if(!n.startsWith("//")){const r={locale:p},a=(0,m.getURL)();this._initialMatchesMiddlewarePromise=$({router:this,locale:p,asPath:a}).then(o=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",o?a:(0,b.formatWithValidation)({pathname:(0,k.addBasePath)(e),query:t}),a,r),o))}window.addEventListener("popstate",this.onPopState)}}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,n={}){if((0,B.isJavaScriptURLString)(e.toString())||t&&(0,B.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,
5configurable:!0});return{url:e,as:t}=H(this,e,t),this.change("pushState",e,t,n)}replace(e,t,n={}){if((0,B.isJavaScriptURLString)(e.toString())||t&&(0,B.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=H(this,e,t),this.change("replaceState",e,t,n)}async _bfl(t,n,r,a){{if(!this._bfl_s&&!this._bfl_d){let n,o,{BloomFilter:i}=e.r(849575);try{({__routerFilterStatic:n,__routerFilterDynamic:o}=await (0,u.getClientBuildManifest)())}catch(e){if(console.error(e),a)return!0;return X({url:(0,k.addBasePath)((0,E.addLocale)(t,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}let s={numItems:22,errorRate:1e-4,numBits:422,numHashes:14,bitArray:[1,1,1,1,0,0,1,1,0,1,1,1,1,0,1,0,1,1,1,1,1,1,1,1,0,0,1,1,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,1,0,1,0,1,0,0,1,0,0,1,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,0,1,0,0,0,1,1,1,1,0,0,0,1,0,1,1,1,1,0,1,1,1,0,0,1,1,1,0,0,1,0,1,1,1,0,0,1,1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,1,1,1,0,1,1,0,0,1,0,0,1,1,0,1,1,1,1,1,0,0,0,1,0,1,0,0,0,1,1,1,0,0,1,1,0,0,1,0,1,0,0,1,0,0,1,1,1,0,0,1,0,1,1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,0,0,1,0,1,1,0,0,0,1,1,0,1,0,1,0,0,1,1,1,1,0,1,1,0,1,0,0,0,1,0,1,1,0,0,1,1,1,0,0,0,1,0,0,1,0,0,1,0,1,1,0,1,1,1,0,0,0,0,0,0,0,1,0,0,1,0,1,1,0,1,1,1,1,1,0,1,0,0,0,1,1,0,0,1,0,0,1,1,1,1,1,1,0,0,1,0,0,1,0,0,1,1,1,1,0,1,0,0,0,1,1,1,1,0,0,1,1,1,0,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,1,0,0,1,1,0,0,0,0,1,0,0,1,1,1,1,1,0,0,1,0,0,0,0,1,1,1,1,0,1,0,0,1,1,0,1,1,1,1,0,1,0,1,1,0,0,1,0,0,1,1,1,1]};!n&&s&&(n=s||void 0);let l={numItems:5,errorRate:1e-4,numBits:96,numHashes:14,bitArray:[1,0,1,0,1,1,0,0,1,1,1,1,0,1,1,0,1,0,0,1,1,1,0,1,1,0,1,0,1,0,1,1,0,1,1,0,0,0,1,0,0,0,0,1,1,1,0,0,1,0,0,1,0,1,0,0,1,0,1,1,1,0,1,0,0,1,0,1,0,0,1,1,1,1,1,1,1,1,0,1,0,0,1,0,1,0,0,0,1,1,1,0,0,0,1,0]};!o&&l&&(o=l||void 0),n?.numHashes&&(this._bfl_s=new i(n.numItems,n.errorRate),this._bfl_s.import(n)),o?.numHashes&&(this._bfl_d=new i(o.numItems,o.errorRate),this._bfl_d.import(o))}let o=!1,i=!1;for(let{as:e,allowMatchCurrent:s}of[{as:t},{as:n}])if(e){let n=(0,l.removeTrailingSlash)(new URL(e,"http://n").pathname),u=(0,k.addBasePath)((0,E.addLocale)(n,r||this.locale));if(s||n!==(0,l.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(o=o||!!this._bfl_s?.contains(n)||!!this._bfl_s?.contains(u),[n,u])){let t=e.split("/");for(let e=0;!i&&e<t.length+1;e++){let n=t.slice(0,e).join("/");if(n&&this._bfl_d?.contains(n)){i=!0;break}}}if(o||i){if(a)return!0;return X({url:(0,k.addBasePath)((0,E.addLocale)(t,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,n,a,o){let i,s;if(!(0,O.isLocalURL)(t))return X({url:t,router:this}),!1;let p=1===a._h;p||a.shallow||await this._bfl(n,void 0,a.locale);let f=p||a._shouldResolveHref||(0,S.parsePath)(t).pathname===(0,S.parsePath)(n).pathname,h={...this.state},x=!0!==this.isReady;this.isReady=!0;let I=this.isSsr;if(p||(this.isSsr=!1),p&&this.clc)return!1;let C=h.locale;m.ST&&performance.mark("routeChange");let{shallow:N=!1,scroll:A=!0}=a,D={shallow:N};this._inFlightRoute&&this.clc&&(I||Q.events.emit("routeChangeError",F(),this._inFlightRoute,D),this.clc(),this.clc=null),n=(0,k.addBasePath)((0,E.addLocale)((0,R.hasBasePath)(n)?(0,T.removeBasePath)(n):n,a.locale,this.defaultLocale));let U=(0,w.removeLocale)((0,R.hasBasePath)(n)?(0,T.removeBasePath)(n):n,h.locale);this._inFlightRoute=n;let j=C!==h.locale;if(!p&&this.onlyAHashChange(U)&&!j){h.asPath=U,Q.events.emit("hashChangeStart",n,D),this.changeState(e,t,n,{...a,scroll:!1}),A&&this.scrollToHash(U);try{await this.set(h,this.components[h.route],null)}catch(e){throw(0,d.default)(e)&&e.cancelled&&Q.events.emit("routeChangeError",e,U,D),e}return Q.events.emit("hashChangeComplete",n,D),!0}let B=(0,y.parseRelativeUrl)(t),{pathname:z,query:q}=B;try{[i,{__rewrites:s}]=await Promise.all([this.pageLoader.getPageList(),(0,u.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return X({url:n,router:this}),!1}this.urlIsNew(U)||j||(e="replaceState");let V=n;z=z?(0,l.removeTrailingSlash)((0,T.removeBasePath)(z)):z;let Y=(0,l.removeTrailingSlash)(z),J=n.startsWith("/")&&(0,y.parseRelativeUrl)(n).pathname;if(this.components[z]?.__appRouter)return X({url:n,router:this}),new Promise(()=>{});let K=!!(J&&Y!==J&&(!(0,g.isDynamicRoute)(Y)||!(0,_.getRouteMatcher)((0,v.getRouteRegex)(Y))(J))),Z=!a.shallow&&await $({asPath:n,locale:h.locale,router:this});if(p&&Z&&(f=!1),f&&"/_error"!==z)if(a._shouldResolveHref=!0,n.startsWith("/")){let e=r((0,k.addBasePath)((0,E.addLocale)(U,h.locale),!0),i,s,q,e=>W(e,i),this.locales);if(e.externalDest)return X({url:n,router:this}),!0;Z||(V=e.asPath),e.matchedPage&&e.resolvedHref&&(z=e.resolvedHref,B.pathname=(0,k.addBasePath)(z),Z||(t=(0,b.formatWithValidation)(B)))}else B.pathname=W(z,i),B.pathname!==z&&(z=B.pathname,B.pathname=(0,k.addBasePath)(z),Z||(t=(0,b.formatWithValidation)(B)));if(!(0,O.isLocalURL)(n))return X({url:n,router:this}),!1;V=(0,w.removeLocale)((0,T.removeBasePath)(V),h.locale),Y=(0,l.removeTrailingSlash)(z);let ee=!1;if((0,g.isDynamicRoute)(Y)){let e=(0,y.parseRelativeUrl)(V),r=e.pathname,a=(0,v.getRouteRegex)(Y);ee=(0,_.getRouteMatcher)(a)(r);let o=Y===r,i=o?(0,L.interpolateAs)(Y,r,q):{};if(ee&&(!o||i.result))o?n=(0,b.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,M.omit)(q,i.params)})):Object.assign(q,ee);else{let e=Object.keys(a.groups).filter(e=>!q[e]&&!a.groups[e].optional);if(e.length>0&&!Z)throw Object.defineProperty(Error((o?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${r}) is incompatible with the \`href\` value (${Y}). `)+`Read more: https://nextjs.org/docs/messages/${o?"href-interpolation-failed":"incompatible-href-as"}
5`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}p||Q.events.emit("routeChangeStart",n,D);let et="/404"===this.pathname||"/_error"===this.pathname;try{let r=await this.getRouteInfo({route:Y,pathname:z,query:q,as:n,resolvedAs:V,routeProps:D,locale:h.locale,isPreview:h.isPreview,hasMiddleware:Z,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:p&&!this.isFallback,isMiddlewareRewrite:K});if(p||a.shallow||await this._bfl(n,"resolvedAs"in r?r.resolvedAs:void 0,h.locale),"route"in r&&Z){Y=z=r.route||Y,D.shallow||(q=Object.assign({},r.query||{},q));let e=(0,R.hasBasePath)(B.pathname)?(0,T.removeBasePath)(B.pathname):B.pathname;if(ee&&z!==e&&Object.keys(ee).forEach(e=>{ee&&q[e]===ee[e]&&delete q[e]}),(0,g.isDynamicRoute)(z)){let e=!D.shallow&&r.resolvedAs?r.resolvedAs:(0,k.addBasePath)((0,E.addLocale)(new URL(n,location.href).pathname,h.locale),!0);(0,R.hasBasePath)(e)&&(e=(0,T.removeBasePath)(e));let t=(0,v.getRouteRegex)(z),a=(0,_.getRouteMatcher)(t)(new URL(e,location.href).pathname);a&&Object.assign(q,a)}}if("type"in r)if("redirect-internal"===r.type)return this.change(e,r.newUrl,r.newAs,a);else return X({url:r.destination,router:this}),new Promise(()=>{});let s=r.Component;if(s&&s.unstable_scriptLoader&&[].concat(s.unstable_scriptLoader()).forEach(e=>{(0,c.handleClientScriptLoad)(e.props)}),(r.__N_SSG||r.__N_SSP)&&r.props){if(r.props.pageProps&&r.props.pageProps.__N_REDIRECT){a.locale=!1;let t=r.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==r.props.pageProps.__N_REDIRECT_BASE_PATH){let n=(0,y.parseRelativeUrl)(t);n.pathname=W(n.pathname,i);let{url:r,as:o}=H(this,t,t);return this.change(e,r,o,a)}return X({url:t,router:this}),new Promise(()=>{})}if(h.isPreview=!!r.props.__N_PREVIEW,r.props.notFound===G){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(r=await this.getRouteInfo({route:e,pathname:e,query:q,as:n,resolvedAs:V,routeProps:{shallow:!1},locale:h.locale,isPreview:h.isPreview,isNotFound:!0}),"type"in r)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}p&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&r.props?.pageProps&&(r.props.pageProps.statusCode=500);let l=a.shallow&&h.route===(r.route??Y),u=a.scroll??(!p&&!l),f=o??(u?{x:0,y:0}:null),m={...h,route:Y,pathname:z,query:q,asPath:U,isFallback:!1};if(p&&et){if(r=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:q,as:n,resolvedAs:V,routeProps:{shallow:!1},locale:h.locale,isPreview:h.isPreview,isQueryUpdating:p&&!this.isFallback}),"type"in r)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&r.props?.pageProps&&(r.props.pageProps.statusCode=500);try{await this.set(m,r,f)}catch(e){throw(0,d.default)(e)&&e.cancelled&&Q.events.emit("routeChangeError",e,U,D),e}return!0}if(Q.events.emit("beforeHistoryChange",n,D),this.changeState(e,t,n,a),!(p&&!f&&!x&&!j&&(0,P.compareRouterStates)(m,this.state))){try{await this.set(m,r,f)}catch(e){if(e.cancelled)r.error=r.error||e;else throw e}if(r.error)throw p||Q.events.emit("routeChangeError",r.error,U,D),r.error;p||Q.events.emit("routeChangeComplete",n,D),u&&/#.+$/.test(n)&&this.scrollToHash(n)}return!0}catch(e){if((0,d.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,n,r={}){("pushState"!==e||(0,m.getURL)()!==n)&&(this._shallow=r.shallow,window.history[e]({url:t,as:n,options:r,__N:!0,key:this._key="pushState"!==e?this._key:J()},"",n))}async handleRouteInfoError(e,t,n,r,a,o){if(e.cancelled)throw e;if((0,u.isAssetError)(e)||o)throw Q.events.emit("routeChangeError",e,r,a),X({url:r,router:this}),F();console.error(e);try{let r,{page:a,styleSheets:o}=await this.fetchComponent("/_error"),i={props:r,Component:a,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(a,{err:e,pathname:t,query:n})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,d.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
5configurable:!0}),t,n,r,a,!0)}}async getRouteInfo({route:e,pathname:t,query:n,as:r,resolvedAs:a,routeProps:o,locale:i,hasMiddleware:s,isPreview:u,unstable_skipClientCache:c,isQueryUpdating:p,isMiddlewareRewrite:h,isNotFound:m}){let g=e;try{let e=this.components[g];if(o.shallow&&e&&this.route===g)return e;let d=K({route:g,router:this});s&&(e=void 0);let y=!e||"initial"in e?void 0:e,_={dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:t,query:n}),skipInterpolation:!0,asPath:m?"/404":a,locale:i}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:p?this.sbc:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:c,isBackground:p},v=p&&!h?null:await q({fetchData:()=>Y(_),asPath:m?"/404":a,locale:i,router:this}).catch(e=>{if(p)return null;throw e});if(v&&("/_error"===t||"/404"===t)&&(v.effect=void 0),p&&(v?v.json=self.__NEXT_DATA__.props:v={json:self.__NEXT_DATA__.props}),d(),v?.effect?.type==="redirect-internal"||v?.effect?.type==="redirect-external")return v.effect;if(v?.effect?.type==="rewrite"){let r=(0,l.removeTrailingSlash)(v.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!p||i.includes(r))&&(g=r,t=v.effect.resolvedHref,n={...n,...v.effect.parsedAs.query},a=(0,T.removeBasePath)((0,f.normalizeLocalePath)(v.effect.parsedAs.pathname,this.locales).pathname),e=this.components[g],o.shallow&&e&&this.route===g&&!s))return{...e,route:g}}if((0,I.isAPIRoute)(g))return X({url:r,router:this}),new Promise(()=>{});let S=y||await this.fetchComponent(g).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),E=v?.response?.headers.get("x-middleware-skip"),w=S.__N_SSG||S.__N_SSP;E&&v?.dataHref&&delete this.sdc[v.dataHref];let{props:k,cacheKey:R}=await this._getData(async()=>{if(w){if(v?.json&&!E)return{cacheKey:v.cacheKey,props:v.json};let e=v?.dataHref?v.dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:t,query:n}),asPath:a,locale:i}),r=await Y({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:E?{}:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:c});return{cacheKey:r.cacheKey,props:r.json||{}}}return{headers:{},props:await this.getInitialProps(S.Component,{pathname:t,query:n,asPath:r,locale:i,locales:this.locales,defaultLocale:this.defaultLocale})}});return S.__N_SSP&&_.dataHref&&R&&delete this.sdc[R],this.isPreview||!S.__N_SSG||p||Y(Object.assign({},_,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),k.pageProps=Object.assign({},k.pageProps),S.props=k,S.route=g,S.query=n,S.resolvedAs=a,this.components[g]=S,S}catch(e){return this.handleRouteInfoError((0,d.getProperError)(e),t,n,r,o)}}set(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,n]=this.asPath.split("#",2),[r,a]=e.split("#",2);return!!a&&t===r&&n===a||t===r&&n!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,D.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),n=document.getElementById(e);if(n)return void n.scrollIntoView();let r=document.getElementsByName(e)[0];r&&r.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t=e,n={}){if("u">typeof window&&(0,A.isBot)(window.navigator.userAgent))return;let a=(0,y.parseRelativeUrl)(e),o=a.pathname,{pathname:i,query:s}=a,c=i,d=await this.pageLoader.getPageList(),p=t,f=void 0!==n.locale?n.locale||void 0:this.locale,h=await $({asPath:t,locale:f,router:this});if(t.startsWith("/")){let n;({__rewrites:n}=await (0,u.getClientBuildManifest)());let o=r((0,k.addBasePath)((0,E.addLocale)(t,this.locale),!0),d,n,a.query,e=>W(e,d),this.locales);if(o.externalDest)return;h||(p=(0,w.removeLocale)((0,T.removeBasePath)(o.asPath),this.locale)),o.matchedPage&&o.resolvedHref&&(a.pathname=i=o.resolvedHref,h||(e=(0,b.formatWithValidation)(a)))}a.pathname=W(a.pathname,d),(0,g.isDynamicRoute)(a.pathname)&&(i=a.pathname,a.pathname=i,Object.assign(s,(0,_.getRouteMatcher)((0,v.getRouteRegex)(a.pathname))((0,S.parsePath)(t).pathname)||{}),h||(e=(0,b.formatWithValidation)(a)));let m=await q({fetchData:()=>Y({dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:c,query:s}),skipInterpolation:!0,asPath:p,locale:f}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persist
5Cache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if(m?.effect.type==="rewrite"&&(a.pathname=m.effect.resolvedHref,i=m.effect.resolvedHref,s={...s,...m.effect.parsedAs.query},p=m.effect.parsedAs.pathname,e=(0,b.formatWithValidation)(a)),m?.effect.type==="redirect-external")return;let R=(0,l.removeTrailingSlash)(i);await this._bfl(t,p,n.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(R).then(t=>!!t&&Y({dataHref:m?.json?m?.dataHref:this.pageLoader.getDataHref({href:e,asPath:p,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[n.priority?"loadPage":"prefetch"](R)])}async fetchComponent(e){let t=K({route:e,router:this});try{let n=await this.pageLoader.loadPage(e);return t(),n}catch(e){throw t(),e}}_getData(e){let t=!1,n=()=>{t=!0};return this.clc=n,e().then(e=>{if(n===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:n}=this.components["/_app"],r=this._wrapApp(n);return t.AppTree=r,(0,m.loadGetInitialProps)(n,{AppTree:r,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}}},767978,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o}}),e.r(555682);let r=e.r(843476);e.r(271645);let a=e.r(90558);function o(e){function t(t){return(0,r.jsx)(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},90558,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={Router:function(){return s.default},createRouter:function(){return y},default:function(){return m},makePublicRouterInstance:function(){return _},useRouter:function(){return g},withRouter:function(){return c.default}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(555682),i=o._(e.r(271645)),s=o._(e.r(509793)),l=e.r(65856),u=o._(e.r(302023)),c=o._(e.r(767978)),d={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"u">typeof window&&this.readyCallbacks.push(e)}},p=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function h(){if(!d.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E1044",enumerable:!1,configurable:!0});return d.router}Object.defineProperty(d,"events",{get:()=>s.default.events}),p.forEach(e=>{Object.defineProperty(d,e,{get:()=>h()[e]})}),f.forEach(e=>{d[e]=(...t)=>h()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{d.ready(()=>{s.default.events.on(e,(...t)=>{let n=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(d[n])try{d[n](...t)}catch(e){console.error(`Error when running the Router event: ${n}`),console.error((0,u.default)(e)?`${e.message} 6${e.stack}`:e+"")}})})});let m=d;function g(){let e=i.default.useContext(l.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,
6configurable:!0});return e}function y(...e){return d.router=new s.default(...e),d.readyCallbacks.forEach(e=>e()),d.readyCallbacks=[],d.router}function _(e){let t={};for(let n of p){if("object"==typeof e[n]){t[n]=Object.assign(Array.isArray(e[n])?[]:{},e[n]);continue}t[n]=e[n]}return t.events=s.default.events,f.forEach(n=>{t[n]=(...t)=>e[n](...t)}),t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},565909,(e,t,n)=>{t.exports=e.r(90558)},246305,(e,t,n)=>{"use strict";t.exports=["chrome 111","edge 111","firefox 111","safari 16.4"]},64385,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return s},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return l},UNDERSCORE_NOT_FOUND_ROUTE:function(){return o},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return i}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o="/_not-found",i=`${o}/page`,s="/_global-error",l=`${s}/page`},231684,(e,t,n)=>{"use strict";var r,a=e.i(247167);Object.defineProperty(n,"__esModule",{value:!0});var o={APP_CLIENT_INTERNALS:function(){return en},APP_PATHS_MANIFEST:function(){return b},APP_PATH_ROUTES_MANIFEST:function(){return S},AdapterOutputType:function(){return d},BARREL_OPTIMIZATION_PREFIX:function(){return V},BLOCKED_PAGES:function(){return z},BUILD_ID_FILE:function(){return $},BUILD_MANIFEST:function(){return E},CLIENT_PUBLIC_FILES_PATH:function(){return H},CLIENT_REFERENCE_MANIFEST:function(){return Y},CLIENT_STATIC_FILES_PATH:function(){return W},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return et},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return eo},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return ei},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return er},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return ea},COMPILER_INDEXES:function(){return c},COMPILER_NAMES:function(){return u},CONFIG_FILES:function(){return F},DEFAULT_RUNTIME_WEBPACK:function(){return es},DEFAULT_SANS_SERIF_FONT:function(){return ep},DEFAULT_SERIF_FONT:function(){return ed},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return U},DEV_CLIENT_PAGES_MANIFEST:function(){return A},DYNAMIC_CSS_MANIFEST:function(){return Z},EDGE_RUNTIME_WEBPACK:function(){return el},EDGE_UNSUPPORTED_NODE_APIS:function(){return ey},EXPORT_DETAIL:function(){return x},EXPORT_MARKER:function(){return R},FUNCTIONS_CONFIG_MANIFEST:function(){return w},IMAGES_MANIFEST:function(){return P},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return Q},MIDDLEWARE_BUILD_MANIFEST:function(){return X},MIDDLEWARE_MANIFEST:function(){return M},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return K},MODERN_BROWSERSLIST_TARGET:function(){return s.default},NEXT_BUILTIN_DOCUMENT:function(){return G},NEXT_FONT_MANIFEST:function(){return k},PAGES_MANIFEST:function(){return v},PHASE_ANALYZE:function(){return f},PHASE_DEVELOPMENT_SERVER:function(){return g},PHASE_EXPORT:function(){return p},PHASE_INFO:function(){return _},PHASE_PRODUCTION_BUILD:function(){return h},PHASE_PRODUCTION_SERVER:function(){return m},PHASE_TEST:function(){return y},PREFETCH_HINTS:function(){return C},PRERENDER_MANIFEST:function(){return I},REACT_LOADABLE_MANIFEST:function(){return j},ROUTES_MANIFEST:function(){return N},RSC_MODULE_TYPES:function(){return eg},SERVER_DIRECTORY:function(){return B},SERVER_FILES_MANIFEST:function(){return O},SERVER_PROPS_ID:function(){return ec},SERVER_REFERENCE_MANIFEST:function(){return J},STATIC_PROPS_ID:function(){return eu},STATIC_STATUS_PAGES:function(){return ef},STRING_LITERAL_DROP_BUNDLE:function(){return q},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return T},SYSTEM_ENTRYPOINTS:function(){return e_},TRACE_OUTPUT_VERSION:function(){return eh},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return D},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return L},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return em},UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return l.UNDERSCORE_GLOBAL_ERROR_ROUTE},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return l.UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY},UNDERSCORE_NOT_FOUND_ROUTE:function(){return l.UNDERSCORE_NOT_FOUND_ROUTE},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return l.UNDERSCORE_NOT_FOUND_ROUTE_ENTRY}};for(var i in o)Object.defineProperty(n,i,{enumerable:!0,get:o[i]});let s=e.r(555682)._(e.r(246305)),l=e.r(64385),u={client:"client",server:"server",edgeServer:"edge-server"},c={[u.client]:0,[u.server]:1,[u.edgeServer]:2};var d=((r={}).PAGES="PAGES",r.PAGES_API="PAGES_API",r.APP_PAGE="APP_PAGE",r.APP_ROUTE="APP_ROUTE",r.PRERENDER="PRERENDER",r.STATIC_FILE="STATIC_FILE",r.MIDDLEWARE="MIDDLEWARE",r);let p="phase-export",f="phase-analyze",h="phase-production-build",m="phase-production-server",g="phase-development-server",y="phase-test",_="phase-info",v="pages-manifest.json",b="app-paths-manifest.json",S="app-path-routes-manifest.json",E="build-manifest.json",w="functions-config-manifest.json",T="subresource-integrity-manifest",k="next-font-manifest",R="export-marker.json",x="export-detail.json",I="prerender-manifest.json",C="prefetch-hints.json",N="routes-manifest.json",P="images-manifest.json",O="required-server-files",A="_devPagesManifest.json",M="middleware-manifest.json",L="_clientMiddlewareManifest.js",D="client-build-manifest.json",U="_devMiddlewareManifest.json",j="react-loadable-manifest.json",B="server",F=["next.config.js","next.config.mjs","next.config.ts",...a.default?.features?.typescript?["next.config.mts"]:[]],$="BUILD_ID",z=["/_document","/_app","/_error"],H="public",W="static",q="__NEXT_DROP_CLIENT_FILE__",G="__NEXT_BUILTIN_DOCUMENT__",V="__barrel_optimize__",Y="client-reference-manifest",J="server-reference-manifest",X="middleware-build-manifest",K="middleware-react-loadable-manifest",Q="interception-route-rewrite-manifest",Z="dynamic-css-manifest",ee="main",et=`${ee}-app`,en="app-pages-internals",er="react-refresh",ea="webpack",eo="polyfills",ei=Symbol(eo),es="webpack-runtime",el="edge-runtime-webpack",eu="__N_SSG",ec="__N_SSP",ed={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ep={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ef=["/500"],eh=1,em=6e3,eg={client:"client",server:"server"},ey=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],e_=new Set([ee,er,et]);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
6dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},655113,(e,t,n)=>{t.exports=e.r(231684)},471217,e=>{"use strict";let t,n,r,a,o,i,s,l,u,c,d,p,f,h,m,g,y,_,v,b,S,E,w,T,k,R,x,I,C,N,P,O;e.s([],639999),e.i(639999);var A,M,L,D,U,j,B,F,$,z,H,W,q,G=e.i(247167),V=e.i(272598),Y=e.i(225304),J=e.i(591401);function X(e,t,n=[t],r="npm"){let a=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};a.name||(a.name=`sentry.javascript.${t}`,a.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:J.SDK_VERSION})),a.version=J.SDK_VERSION)}var K=e.i(662537),Q=e.i(250804),Z=e.i(901020);let ee=[];function et(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function en(e,t,n){if(n[t.name]){Z.DEBUG_BUILD&&V.debug.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,ee.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),ee.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)}Z.DEBUG_BUILD&&V.debug.log(`Integration installed: ${t.name}`)}function er(e){let t=(0,Q.getClient)();if(!t){Z.DEBUG_BUILD&&V.debug.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function ea(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}var eo=e.i(682564),ei=e.i(821593);let es=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],el=(e={})=>{let t;return{name:"EventFilters",setup(n){t=ec(e,n.getOptions())},processEvent:(n,r,a)=>(t||(t=ec(e,a.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&(0,ei.stringMatchesSomePattern)(n,t)}(e,t.ignoreTransactions))return Z.DEBUG_BUILD&&V.debug.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 7Event: ${(0,eo.getEventDescription)(e)}`),!0}else{var n,r,a;if(n=e,r=t.ignoreErrors,r?.length&&ea(n).some(e=>(0,ei.stringMatchesSomePattern)(e,r)))return Z.DEBUG_BUILD&&V.debug.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 8Event: ${(0,eo.getEventDescription)(e)}`),!0;if(a=e,a.exception?.values?.length&&!a.message&&!a.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return Z.DEBUG_BUILD&&V.debug.warn(`Event dropped due to not having an error message, error type or stacktrace. 9Event: ${(0,eo.getEventDescription)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=ed(e);return!!n&&(0,ei.stringMatchesSomePattern)(n,t)}(e,t.denyUrls))return Z.DEBUG_BUILD&&V.debug.warn(`Event dropped due to being matched by \`denyUrls\` option. 10Event: ${(0,eo.getEventDescription)(e)}. 11Url: ${ed(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=ed(e);return!n||(0,ei.stringMatchesSomePattern)(n,t)}(e,t.allowUrls))return Z.DEBUG_BUILD&&V.debug.warn(`Event dropped due to not being matched by \`allowUrls\` option. 12Event: ${(0,eo.getEventDescription)(e)}. 13Url: ${ed(e)}`),!0}return!1}(n,t)?n:null)}},eu=(e={})=>({...el(e),name:"InboundFilters"});function ec(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:es],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function ed(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?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}(n):null}catch{return Z.DEBUG_BUILD&&V.debug.error(`Cannot extract url for event ${(0,eo.getEventDescription)(e)}`),null}}var ep=e.i(951497);let ef=new WeakMap,eh=()=>({name:"FunctionToString",setupOnce(){t=Function.prototype.toString;try{Function.prototype.toString=function(...e){let n=(0,ep.getOriginalFunction)(this),r=ef.has((0,Q.getClient)())&&void 0!==n?n:this;return t.apply(r,e)}}catch{}},setup(e){ef.set(e,!0)}});var em=e.i(519988),eg=e.i(936032);let ey=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n,r,a,o,i,s;let l,u,c,d;if(n=t,(r=e)&&(a=n,o=r,l=a.message,u=o.message,(l||u)&&(!l||u)&&(l||!u)&&l===u&&ev(a,o)&&e_(a,o)&&1||(i=n,s=r,c=eb(s),d=eb(i),c&&d&&c.type===d.type&&c.value===d.value&&ev(i,s)&&e_(i,s))))return Z.DEBUG_BUILD&&V.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function e_(e,t){let n=(0,eg.getFramesFromEvent)(e),r=(0,eg.getFramesFromEvent)(t);
13if(!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],a=n[e];if(t.filename!==a.filename||t.lineno!==a.lineno||t.colno!==a.colno||t.function!==a.function)return!1}return!0}function ev(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch{return!1}}function eb(e){return e.exception?.values?.[0]}function eS(e){(0,Q.getCurrentScope)().setClient(e)}var eE=e.i(339435);function ew(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function eT(e,t,n){let r;return t||`${ew(e)}${e.projectId}/envelope/?${r={sentry_version:"7"},e.publicKey&&(r.sentry_key=e.publicKey),n&&(r.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(r).toString()}`}var ek=e.i(373250),eR=e.i(869766);function ex(e,t=!1){let n={};for(let[r,a]of Object.entries(e??{})){let e=function(e,t){let{value:n,unit:r}="object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},a=function(e){let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(n),o=r&&"string"==typeof r?{unit:r}:{};if(a)return{...a,...o};if(!t||"skip-undefined"===t&&void 0===n)return;let i="";try{i=JSON.stringify(n)??""}catch{}return{value:i,type:"string",...o}}(a,t);e&&(n[r]=e)}return n}var eI=e.i(923288),eC=e.i(453288),eN=e.i(571993),eP=e.i(821061),eO=e.i(605394);let eA=0;function eM(e){let t=Math.floor(1e3*e);void 0!==n&&t!==n&&(eA=0);let r=eA;return eA++,n=t,{key:"sentry.timestamp.sequence",value:{value:r,type:"integer"}}}var eL=e.i(473753),eD=e.i(304661);function eU(e,t){return t?(0,Q.withScope)(t,()=>{let n=(0,eD.getActiveSpan)(),r=n?(0,eD.spanToTraceContext)(n):(0,Q.getTraceContextFromScope)(t);return[n?(0,eL.getDynamicSamplingContextFromSpan)(n):(0,eL.getDynamicSamplingContextFromScope)(e,t),r]}):[void 0,void 0]}let ej={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};var eB=e.i(67486);function eF(e,t,n,r=!0){n&&(!e[t]||r)&&(e[t]=n)}function e$(e,t){var n;let r=eW(),a=(n=e,eW().get(n));void 0===a?r.set(e,[t]):a.length>=100?(eH(e,a),r.set(e,[t])):r.set(e,[...a,t])}function ez(e,t=(0,Q.getCurrentScope)(),n=e$){let r=t?.getClient()??(0,Q.getClient)();if(!r){Z.DEBUG_BUILD&&V.debug.warn("No client available to capture log.");return}let{release:a,environment:o,enableLogs:i=!1,beforeSendLog:s}=r.getOptions();if(!i){Z.DEBUG_BUILD&&V.debug.warn("logging option not enabled, log will not be captured.");return}let[,l]=eU(r,t),u={...e.attributes},{user:{id:c,email:d,username:p},attributes:f={}}=(0,eN.getCombinedScopeData)((0,Q.getIsolationScope)(),t);eF(u,"user.id",c,!1),eF(u,"user.email",d,!1),eF(u,"user.name",p,!1),eF(u,"sentry.release",a),eF(u,"sentry.environment",o);let{name:h,version:m}=r.getSdkMetadata()?.sdk??{};eF(u,"sentry.sdk.name",h),eF(u,"sentry.sdk.version",m);let g=r.getIntegrationByName("Replay"),y=g?.getReplayId(!0);eF(u,"sentry.replay_id",y),y&&g?.getRecordingMode()==="buffer"&&eF(u,"sentry._internal.replay_is_buffering",!0);let _=e.message;if((0,eC.isParameterizedString)(_)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=_;t?.length&&(u["sentry.message.template"]=e),t.forEach((e,t)=>{u[`sentry.message.parameter.${t}`]=e})}let v=(0,eP._getSpanForScope)(t);eF(u,"sentry.trace.parent_span_id",v?.spanContext().spanId);let b={...e,attributes:u};r.emit("beforeCaptureLog",b);let S=s?(0,V.consoleSandbox)(()=>s(b)):b;if(!S){r.recordDroppedEvent("before_send","log_item",1),Z.DEBUG_BUILD&&V.debug.warn("beforeSendLog returned null, log will not be captured.");return}let{level:E,message:w,attributes:T={},severityNumber:k}=S,R=(0,eO.timestampInSeconds)(),x=eM(R);n(r,{timestamp:R,level:E,body:w,trace_id:l?.trace_id,severity_number:k??ej[E],attributes:{...ex(f),...ex(T,!0),[x.key]:x.value}}),r.emit("afterCaptureLog",S)}function eH(e,t){var n,r,a,o;let i,s=t??(o=e,eW().get(o))??[];if(0===s.length)return;let l=e.getOptions(),u=(n=l._metadata,r=l.tunnel,a=e.getDsn(),i={},n?.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),r&&a&&(i.dsn=(0,eE.dsnToString)(a)),(0,eB.createEnvelope)(i,[[{type:"log",item_count:s.length,content_type:"application/vnd.sentry.items.log+json"},{items:s}]]));eW().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(u)}function eW(){return(0,eI.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}function eq(e,t,n,r=!0){!n||!r&&t in e||(e[t]=n)}function eG(e,t){var n;let r=eY(),a=(n=e,eY().get(n));void 0===a?r.set(e,[t]):a.length>=1e3?(eV(e,a),r.set(e,[t])):r.set(e,[...a,t])}function eV(e,t){var n,r,a,o;let i,s=t??(o=e,eY().get(o))??[];if(0===s.length)return;let l=e.getOptions(),u=(n=l._metadata,r=l.tunnel,a=e.getDsn(),i={},n?.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),r&&a&&(i.dsn=(0,eE.dsnToString)(a)),(0,eB.createEnvelope)(i,[[{type:"trace_metric",item_count:s.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:s}]]));eY().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(u)}function eY(){return(0,eI.getGlobalSingleton)("clientToMetricBufferMap",()=>new WeakMap)}var eJ=e.i(341041),eX=e.i(580611);function eK(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let eQ=Symbol.for("SentryBufferFullError");function eZ(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return(0,eX.rejectedSyncPromise)(eQ);let r=n();return t.add(r),r.then(()=>{t.delete(r)},()=>{t.delete(r)}),r},drain:function(e){if(!t.size)return(0,eX.resolvedSyncPromise)(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([n,new Promise(t=>eK(setTimeout(()=>t(!1),e)))]):n}}}var e0=e.i(111139);function e1(e,t=(0,e0.safeDateNow)()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}function e2(e,t,n=(0,e0.safeDateNow)()){return(e[t]||e.all||0)>n}function e3(e,{statusCode:t,headers:n},r=(0,e0.safeDateNow)()){let a={...e},o=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,n,,,o]=e.split(":",5),i=parseInt(t,10),s=(isNaN(i)?60:i)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!o||o.split(";").includes("custom"))&&(a[e]=r+s):a[e]=r+s;else a.all=r+s}
13else i?a.all=r+e1(i,r):429===t&&(a.all=r+6e4);return a}function e5(e,t,n=eZ(e.bufferSize||64)){let r={};return{send:function(a){let o=[];if((0,eB.forEachEnvelopeItem)(a,(t,n)=>{let a=(0,eB.envelopeItemTypeToDataCategory)(n);e2(r,a)?e.recordDroppedEvent("ratelimit_backoff",a):o.push(t)}),0===o.length)return Promise.resolve({});let i=(0,eB.createEnvelope)(a[0],o),s=t=>{if((0,eB.envelopeContainsItemType)(i,["client_report"])){Z.DEBUG_BUILD&&V.debug.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}(0,eB.forEachEnvelopeItem)(i,(n,r)=>{e.recordDroppedEvent(t,(0,eB.envelopeItemTypeToDataCategory)(r))})};return n.add(()=>t({body:(0,eB.serializeEnvelope)(i)}).then(e=>(413===e.statusCode?(Z.DEBUG_BUILD&&V.debug.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error")):(Z.DEBUG_BUILD&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&V.debug.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=e3(r,e)),e),e=>{throw s("network_error"),Z.DEBUG_BUILD&&V.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===eQ)return Z.DEBUG_BUILD&&V.debug.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}var e4=e.i(318746),e6=e.i(170637),e8=e.i(213186),e7=e.i(454300);let e9="Not capturing exception because it's already been captured.",te="Discarded session because of missing or non-string release",tt=Symbol.for("SentryInternalError"),tn=Symbol.for("SentryDoNotSendEventError");function tr(e){return{message:e,[tt]:!0}}function ta(e){return{message:e,[tn]:!0}}function to(e){return!!e&&"object"==typeof e&&tt in e}function ti(e){return!!e&&"object"==typeof e&&tn in e}function ts(e,t,n,r,a){let o,i=0,s=!1;e.on(n,()=>{i=0,clearTimeout(o),s=!1}),e.on(t,t=>{(i+=r(t))>=8e5?a(e):s||(s=!0,o=eK(setTimeout(()=>{a(e)},5e3)))}),e.on("flush",()=>{a(e)})}class tl{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=eZ(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=(0,eE.makeDsn)(e.dsn):Z.DEBUG_BUILD&&V.debug.warn("No DSN provided, client will not send events."),this._dsn){const t=eT(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&ts(this,"afterCaptureLog","flushLogs",tf,eH),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&ts(this,"afterCaptureMetric","flushMetrics",tp,eV)}captureException(e,t,n){let r=(0,eo.uuid4)();if((0,eo.checkOrSetAlreadyCaught)(e))return Z.DEBUG_BUILD&&V.debug.log(e9),r;let a={event_id:r,...t};return this._process(()=>this.eventFromException(e,a).then(e=>this._captureEvent(e,a,n)).then(e=>e),"error"),a.event_id}captureMessage(e,t,n,r){let a={event_id:(0,eo.uuid4)(),...n},o=(0,eC.isParameterizedString)(e)?e:String(e),i=(0,eC.isPrimitive)(e),s=i?this.eventFromMessage(o,t,a):this.eventFromException(e,a);return this._process(()=>s.then(e=>this._captureEvent(e,a,r)),i?"unknown":"error"),a.event_id}captureEvent(e,t,n){let r=(0,eo.uuid4)();if(t?.originalException&&(0,eo.checkOrSetAlreadyCaught)(t.originalException))return Z.DEBUG_BUILD&&V.debug.log(e9),r;let a={event_id:r,...t},o=e.sdkProcessingMetadata||{},i=o.capturedSpanScope,s=o.capturedSpanIsolationScope,l=tu(e.type);return this._process(()=>this._captureEvent(e,a,i||n,s),l),a.event_id}captureSession(e){this.sendSession(e),(0,eJ.updateSession)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(!t)return!0;this.emit("flush");let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){eH(this);let t=await this.flush(e);
13return this.getOptions().enabled=!1,this.emit("close"),t}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];en(this,e,this._integrations),t||et(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,eR.createEventEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=(0,eB.addItemToEnvelope)(n,(0,eB.createAttachmentEnvelopeItem)(e));this.sendEnvelope(n).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:n=ek.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){let r=e.attrs||{};if(!r.release&&!t){Z.DEBUG_BUILD&&V.debug.warn(te);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){Z.DEBUG_BUILD&&V.debug.warn(te);return}e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);let r=(0,eR.createSessionEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;Z.DEBUG_BUILD&&V.debug.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return Z.DEBUG_BUILD&&V.debug.error("Error while sending envelope:",e),{}}return Z.DEBUG_BUILD&&V.debug.error("Transport disabled"),{}}dispose(){}_setupIntegrations(){var e;let t,{integrations:n}=this._options;this._integrations=(e=this,t={},n.forEach(n=>{n&&en(e,n,t)}),t),et(this,n)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,a=t.exception?.values;if(a){for(let e of(r=!0,n=!1,a))if(e.mechanism?.handled===!1){n=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,eJ.updateSession)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){let a=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o?.length&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,e8.prepareEvent)(a,e,t,n,this,r).then(e=>
13(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...(0,Q.getTraceContextFromScope)(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,eL.getDynamicSamplingContextFromScope)(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n=(0,Q.getCurrentScope)(),r=(0,Q.getIsolationScope)()){return Z.DEBUG_BUILD&&tc(e)&&V.debug.log(`Captured error event \`${ea(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{Z.DEBUG_BUILD&&(ti(e)?V.debug.log(e.message):to(e)?V.debug.warn(e.message):V.debug.warn(e))})}_processEvent(e,t,n,r){let a=this.getOptions(),{sampleRate:o}=a,i=td(e),s=tc(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===o?void 0:(0,e6.parseSampleRate)(o);if(s&&"number"==typeof c&&(0,e0.safeMathRandom)()>c)return this.recordDroppedEvent("sample_rate","error"),(0,eX.rejectedSyncPromise)(ta(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));let d=tu(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),ta("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,eC.isThenable)(e))return e.then(e=>{if(!(0,eC.isPlainObject)(e)&&null!==e)throw tr(n);return e},e=>{throw tr(`${t} rejected with ${e}`)});if(!(0,eC.isPlainObject)(e)&&null!==e)throw tr(n);return e}(function(e,t,n,r){let{beforeSend:a,beforeSendTransaction:o,beforeSendSpan:i,ignoreSpans:s}=t,l=n;if(tc(l)&&a)return a(l,r);if(td(l)){if(i||s){let t=function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:a,origin:o,data:i,op:s}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:a,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:i?.[em.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:i?.[em.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}(l);if(s?.length&&(0,e7.shouldIgnoreSpan)(t,s))return null;if(i){let e=i(t);if(e)l=(0,e4.merge)(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[em.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},...e.exclusive_time&&{[em.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time}}}},measurements:e.measurements});else(0,eD.showSpanDropWarning)()}if(l.spans){let t=[],n=l.spans;for(let e of n){if(s?.length&&(0,e7.shouldIgnoreSpan)(e,s)){(0,e7.reparentChildSpans)(n,e);continue}if(i){let n=i(e);n?t.push(n):((0,eD.showSpanDropWarning)(),t.push(e))}else t.push(e)}let r=l.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),l.spans=t}}if(o){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(l,r)}}return l}(this,a,e,t),u)}).then(a=>{if(null===a){if(this.recordDroppedEvent("before_send",d),i){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw ta(`${u} returned \`null\`, will not send event.`)}let o=n.getSession()||r.getSession();if(s&&o&&this._updateSessionFromEvent(o,a),i){let e=(a.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(a.spans?a.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=a.transaction_info;return i&&l&&a.transaction!==e.transaction&&(a.transaction_info={...l,source:"custom"}),this.sendEvent(a,t),a}).then(null,e=>{if(ti(e)||to(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),tr(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 14Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===eQ&&this.recordDroppedEvent("queue_overflow",t),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;let t;Z.DEBUG_BUILD&&V.debug.log("Flushing outcomes...");let n=this._clearOutcomes();if(0===n.length){Z.DEBUG_BUILD&&V.debug.log("No outcomes to send");return}if(!this._dsn){Z.DEBUG_BUILD&&V.debug.log("No dsn provided, will not send outcomes");return}Z.DEBUG_BUILD&&V.debug.log("Sending outcomes:",n);let r=(e=this._options.tunnel&&(0,eE.dsnToString)(this._dsn),t=[{type:"client_report"},{timestamp:(0,eO.dateTimestampInSeconds)(),discarded_events:n}],(0,eB.createEnvelope)(e?{dsn:e}:{},[t]));this.sendEnvelope(r)}}function tu(e){return"replay_event"===e?"replay":e||"error"}function tc(e){return void 0===e.type}function td(e){return"transaction"===e.type}function tp(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+th(e.attributes)}function tf(e){let t=0;return e.message&&(t+=2*e.message.length),t+th(e.attributes)}function th(e){if(!e)return 0;let t=0;
14return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*tm(e[0]):(0,eC.isPrimitive)(e)?t+=tm(e):t+=100}),t}function tm(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function tg(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}var ty=e.i(45968);function t_(e){return(0,eC.isError)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function tv(e,t){var n,r;let a,o,i=tS(e,t),s={type:(n=t,!(a=n?.name)&&tw(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":a),value:(r=t,o=r?.message,tw(r)?Array.isArray(r.message)&&2==r.message.length?r.message[1]:"wasm exception":o?o.error&&"string"==typeof o.error.message?t_(o.error):t_(r):"No error message")};return i.length&&(s.stacktrace={frames:i}),void 0===s.type&&""===s.value&&(s.value="Unrecoverable error caught"),s}function tb(e,t){return{exception:{values:[tv(e,t)]}}}function tS(e,t){var n,r;let a=t.stacktrace||t.stack||"",o=(n=t)&&tE.test(n.message)?1:0,i="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(a,o,i)}catch{}return[]}let tE=/Minified React error #\d+;/i;function tw(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function tT(e,t,n,r){let a=tR(e,t,n?.syntheticException||void 0,r);return(0,eo.addExceptionMechanism)(a),a.level="error",n?.event_id&&(a.event_id=n.event_id),(0,eX.resolvedSyncPromise)(a)}function tk(e,t,n="info",r,a){let o=tx(e,t,r?.syntheticException||void 0,a);return o.level=n,r?.event_id&&(o.event_id=r.event_id),(0,eX.resolvedSyncPromise)(o)}function tR(e,t,n,r,a){let o;if((0,eC.isErrorEvent)(t)&&t.error)return tb(e,t.error);if((0,eC.isDOMError)(t)||(0,eC.isDOMException)(t)){if("stack"in t)o=tb(e,t);else{let a=t.name||((0,eC.isDOMError)(t)?"DOMError":"DOMException"),i=t.message?`${a}: ${t.message}`:a;o=tx(e,i,n,r),(0,eo.addExceptionTypeValue)(o,i)}return"code"in t&&(o.tags={...o.tags,"DOMException.code":`${t.code}`}),o}return(0,eC.isError)(t)?tb(e,t):((0,eC.isPlainObject)(t)||(0,eC.isEvent)(t)?o=function(e,t,n,r){let a=(0,Q.getClient)(),o=a?.getOptions().normalizeDepth,i=Object.values(t).find(e=>e instanceof Error),s={__serialized__:(0,ty.normalizeToSize)(t,o)};if(i)return{exception:{values:[tv(e,i)]},extra:s};let l={exception:{values:[{type:(0,eC.isEvent)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=(0,ep.extractExceptionKeysForMessage)(e),r=t?"promise rejection":"exception";if((0,eC.isErrorEvent)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,eC.isEvent)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:s};if(n){let t=tS(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,a):(o=tx(e,t,n,r),(0,eo.addExceptionTypeValue)(o,`${t}`,void 0)),(0,eo.addExceptionMechanism)(o,{synthetic:!0}),o)}function tx(e,t,n,r){let a={};if(r&&n){let r=tS(e,n);r.length&&(a.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,eo.addExceptionMechanism)(a,{synthetic:!0})}if((0,eC.isParameterizedString)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return a.logentry={message:e,params:n},a}return a.message=t,a}var tI=e.i(303798);let tC=Y.GLOBAL_OBJ,tN=0;function tP(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)if("function"==typeof t)return t;else return e;if((0,ep.getOriginalFunction)(e))return e}catch{return e}let n=function(...n){try{let r=n.map(e=>tP(e,t));return e.apply(this,r)}catch(e){throw tN++,setTimeout(()=>{tN--}),(0,Q.withScope)(r=>{r.addEventProcessor(e=>(t.mechanism&&((0,eo.addExceptionTypeValue)(e,void 0,void 0),(0,eo.addExceptionMechanism)(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,K.captureException)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}(0,ep.markFunctionWrapped)(n,e),(0,ep.addNonEnumerableProperty)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function tO(){let e=(0,tI.getLocationHref)(),{referrer:t}=tC.document||{},{userAgent:n}=tC.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}class tA extends tl{constructor(e){const t=function(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:tC.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}(e);X(t,"browser",["browser"],tC.SENTRY_SDK_SOURCE||"npm"),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:n,sendClientReports:r,enableLogs:a,_experiments:o,enableMetrics:i}=this._options,s=i??o?.enableMetrics??!0;tC.document&&(r||a||s)&&tC.document.addEventListener("visibilitychange",()=>{"hidden"===tC.document.visibilityState&&(r&&this._flushOutcomes(),a&&eH(this),s&&eV(this))}),n&&this.on("beforeSendSession",tg)}eventFromException(e,t){return tT(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return tk(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}let tM={},tL={};function tD(e,t){tM[e]=tM[e]||[],tM[e].push(t)}function tU(e,t){if(!tL[e]){tL[e]=!0;try{t()}catch(t){Z.DEBUG_BUILD&&V.debug.error(`Error while instrumenting ${e}`,t)}}}function tj(e,t){let n=e&&tM[e];if(n)for(let r of n)try{r(t)}catch(t){Z.DEBUG_BUILD&&V.debug.error(`Error while triggering instrumentation handler. 15Type: ${e} 16Name: ${(0,eg.getFunctionName)(r)} 17Error:`,t)}}function tB(e){let t="console";tD(t,e),tU(t,tF)}function tF(){"console"in Y.GLOBAL_OBJ&&V.CONSOLE_LEVELS.forEach(function(e){e in Y.GLOBAL_OBJ.console&&(0,ep.fill)(Y.GLOBAL_OBJ.console,e,function(t){return V.originalConsoleMethods[e]=t,function(...t){tj("console",{args:t,level:e});let n=V.originalConsoleMethods[e];n?.apply(Y.GLOBAL_OBJ.console,t)}})})}
17let t$=Y.GLOBAL_OBJ;function tz(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function tH(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in t$))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(tz(t$.fetch))return!0;let e=!1,t=t$.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=tz(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){Z.DEBUG_BUILD&&V.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function tW(e,t){let n="fetch";tD(n,e),tU(n,()=>tq(void 0,t))}function tq(e,t=!1){(!t||tH())&&(0,ep.fill)(Y.GLOBAL_OBJ,"fetch",function(t){return function(...n){let r=Error(),{method:a,url:o}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:tJ(t),method:tY(n,"method")?String(n.method).toUpperCase():(0,eC.isRequest)(t)&&tY(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:tJ(t),method:tY(t,"method")?String(t.method).toUpperCase():"GET"}}(n),i={args:n,fetchData:{method:a,url:o},startTimestamp:1e3*(0,eO.timestampInSeconds)(),virtualError:r,headers:function(e){let[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,eC.isRequest)(t))return new Headers(t.headers)}catch{}}(n)};return e||tj("fetch",{...i}),t.apply(Y.GLOBAL_OBJ,n).then(async t=>(e?e(t):tj("fetch",{...i,endTimestamp:1e3*(0,eO.timestampInSeconds)(),response:t}),t),e=>{tj("fetch",{...i,endTimestamp:1e3*(0,eO.timestampInSeconds)(),error:e}),(0,eC.isError)(e)&&void 0===e.stack&&(e.stack=r.stack,(0,ep.addNonEnumerableProperty)(e,"framesToPop",1));let t=(0,Q.getClient)(),n=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==n&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(i.fetchData.url).host;"always"===n?e.message=`${e.message} (${t})`:(0,ep.addNonEnumerableProperty)(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function tG(e,t){if(e?.body){let n=e.body,r=n.getReader(),a=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),o=!0;for(;o;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:a}=await r.read();clearTimeout(e),a&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(e)}}clearTimeout(a),r.releaseLock(),n.cancel().then(null,()=>{})}}function tV(e){let t;try{t=e.clone()}catch{return}tG(t,()=>{tj("fetch-body-resolved",{endTimestamp:1e3*(0,eO.timestampInSeconds)(),response:e})})}function tY(e,t){return!!e&&"object"==typeof e&&!!e[t]}function tJ(e){return"string"==typeof e?e:e?tY(e,"url")?e.url:e.toString?e.toString():"":""}function tX(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}function tK(e,t){let n=(0,Q.getClient)(),r=(0,Q.getIsolationScope)();if(!n)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:o=100}=n.getOptions();if(o<=0)return;let i={timestamp:(0,eO.dateTimestampInSeconds)(),...e},s=a?(0,V.consoleSandbox)(()=>a(i,t)):i;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,o))}function tQ(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function tZ(e){return"isRelative"in e}function t0(e,t){let n=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=t??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);if(n)return{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function t1(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}}function t2(e){return e.split(/[?#]/,1)[0]}function t3(e,t=!0){if(e.startsWith("data:")){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",a=e.includes(";base64,"),o=e.indexOf(","),i="";if(t&&-1!==o){let t=e.slice(o+1);i=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${a?",base64":""}${i?`,${i}`:""}`}return e}let t5=Y.GLOBAL_OBJ;function t4(e){tD("dom",e),tU("dom",t6)}function t6(){if(!t5.document)return;let e=tj.bind(null,"dom"),t=t8(e,!0);t5.document.addEventListener("click",t,!1),t5.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=t5[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&((0,ep.fill)(n,"addEventListener",function(t){return function(n,r,a){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){let r=t8(e);o.handler=r,t.call(this,n,r,a)}o.refCount++}catch{}return t.call(this,n,r,a)}}),(0,ep.fill)(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},a=n[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function t8(e,t=!1){return n=>{var i;if(!n||n._sentryCaptured)return;let s=function(e){try{return e.target}catch{return null}}(n);if(i=n.type,"keypress"===i&&(!s?.tagName||"INPUT"!==s.tagName&&"TEXTAREA"!==s.tagName&&!s.isContentEditable&&1))return;(0,ep.addNonEnumerableProperty)(n,"_sentryCaptured",!0),s&&!s._sentryId&&(0,ep.addNonEnumerableProperty)(s,"_sentryId",(0,eo.uuid4)());let l="keypress"===n.type?"input":n.type;!function(e){if(e.type!==a)return!1;try{if(!e.target||e.target._sentryId!==o)return!1}catch{}return!0}(n)&&(e({event:n,name:l,global:t}),a=n.type,o=s?s._sentryId:void 0),clearTimeout(r),r=t5.setTimeout(()=>{o=void 0,a=void 0},1e3)}}let t7="__sentry_xhr_v3__";function t9(e){tD("xhr",e),tU("xhr",ne)}function ne(){if(!t5.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),a=1e3*(0,eO.timestampInSeconds)(),o=(0,eC.isString)(n[0])?n[0].toUpperCase():void 0,i=function(e){if((0,eC.isString)(e))return e;try{return e.toString()}catch{}}(n[1]);if(!o||!i)return e.apply(t,n);t[t7]={method:o,url:i,request_headers:{}}
17,"POST"===o&&i.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[t7];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}tj("xhr",{endTimestamp:1e3*(0,eO.timestampInSeconds)(),startTimestamp:a,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,a]=n,o=t[t7];return o&&(0,eC.isString)(r)&&(0,eC.isString)(a)&&(o.request_headers[r.toLowerCase()]=a),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[t7];return r&&(void 0!==n[0]&&(r.body=n[0]),tj("xhr",{startTimestamp:1e3*(0,eO.timestampInSeconds)(),xhr:t})),e.apply(t,n)}})}function nt(e){let t="history";tD(t,e),tU(t,nn)}function nn(){function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=i,a=function(e){try{return new URL(e,t5.location.origin).toString()}catch{return e}}(String(n));if(i=a,r===a)return e.apply(this,t);tj("history",{from:r,to:a})}return e.apply(this,t)}}t5.addEventListener("popstate",()=>{let e=t5.location.href,t=i;i=e,t===e||tj("history",{from:t,to:e})}),"history"in t$&&t$.history&&((0,ep.fill)(t5.history,"pushState",e),(0,ep.fill)(t5.history,"replaceState",e))}let nr="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,na=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n,r,a,o,i,s,l;t.console&&tB((n=e,function(e){if((0,Q.getClient)()!==n)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:tX(e.level),message:(0,ei.safeJoin)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${(0,ei.safeJoin)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);tK(t,{input:e.args,level:e.level})})),t.dom&&t4((r=e,a=t.dom,function(e){let t,n;if((0,Q.getClient)()!==r)return;let o="object"==typeof a?a.serializeAttribute:void 0,i="object"==typeof a&&"number"==typeof a.maxStringLength?a.maxStringLength:void 0;i&&i>1024&&(nr&&V.debug.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof o&&(o=[o]);try{var s;let r=e.event,a=(s=r)&&s.target?r.target:r;t=(0,tI.htmlTreeAsString)(a,{keyAttrs:o,maxStringLength:i}),n=(0,tI.getComponentName)(a)}catch{t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};n&&(l.data={"ui.component_name":n}),tK(l,{event:e.event,name:e.name,global:e.global})})),t.xhr&&t9((o=e,function(e){if((0,Q.getClient)()!==o)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[t7];if(!t||!n||!r)return;let{method:a,url:i,status_code:s,body:l}=r,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:n},c={category:"xhr",data:{method:a,url:i,status_code:s},type:"http",level:tQ(s)};o.emit("beforeOutgoingRequestBreadcrumb",c,u),tK(c,u)})),t.fetch&&tW((i=e,function(e){if((0,Q.getClient)()!==i)return;let{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let r={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},a={category:"fetch",data:e.fetchData,level:"error",type:"http"};i.emit("beforeOutgoingRequestBreadcrumb",a,r),tK(a,r)}else{let r=e.response,a={...e.fetchData,status_code:r?.status},o={input:e.args,response:r,startTimestamp:t,endTimestamp:n},s={category:"fetch",data:a,type:"http",level:tQ(a.status_code)};i.emit("beforeOutgoingRequestBreadcrumb",s,o),tK(s,o)}})),t.history&&nt((s=e,function(e){if((0,Q.getClient)()!==s)return;let t=e.from,n=e.to,r=t1(tC.location.href),a=t?t1(t):void 0,o=t1(n);a?.path||(a=r),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===a.protocol&&r.host===a.host&&(t=a.relative),tK({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){(0,Q.getClient)()===l&&tK({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,eo.getEventDescription)(e)},{event:e})}))}}},no="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDB
17Request,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),ni=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,ep.fill)(tC,"setTimeout",ns),t.setInterval&&(0,ep.fill)(tC,"setInterval",ns),t.requestAnimationFrame&&(0,ep.fill)(tC,"requestAnimationFrame",nl),t.XMLHttpRequest&&"XMLHttpRequest"in tC&&(0,ep.fill)(XMLHttpRequest.prototype,"send",nu);let e=t.eventTarget;e&&(Array.isArray(e)?e:no).forEach(e=>{var n,r;let a;return n=e,r=t,a=tC[n]?.prototype,void(a?.hasOwnProperty?.("addEventListener")&&((0,ep.fill)(a,"addEventListener",function(e){return function(t,a,o){var i,s,l,u;try{i=a,"function"==typeof i.handleEvent&&(a.handleEvent=tP(a.handleEvent,{mechanism:{data:{handler:(0,eg.getFunctionName)(a),target:n},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return r.unregisterOriginalCallbacks&&(s=this,l=t,u=a,s&&"object"==typeof s&&"removeEventListener"in s&&"function"==typeof s.removeEventListener&&s.removeEventListener(l,u)),e.apply(this,[t,tP(a,{mechanism:{data:{handler:(0,eg.getFunctionName)(a),target:n},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),o])}}),(0,ep.fill)(a,"removeEventListener",function(e){return function(t,n,r){try{let a=n.__sentry_wrapped__;a&&e.call(this,t,a,r)}catch{}return e.call(this,t,n,r)}})))})}}};function ns(e){return function(...t){let n=t[0];return t[0]=tP(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,eg.getFunctionName)(e)}`}}),e.apply(this,t)}}function nl(e){return function(t){return e.apply(this,[tP(t,{mechanism:{data:{handler:(0,eg.getFunctionName)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function nu(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,ep.fill)(n,e,function(t){let n={mechanism:{data:{handler:(0,eg.getFunctionName)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=(0,ep.getOriginalFunction)(t);return r&&(n.mechanism.data.handler=(0,eg.getFunctionName)(r)),tP(t,n)})}),e.apply(this,t)}}let nc=(e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===tC.document){nr&&V.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,K.startSession)({ignoreDuration:!0}),(0,K.captureSession)();let e=(0,Q.getIsolationScope)(),n=e.getUser();e.addScopeListener(e=>{let t=e.getUser();
17(n?.id!==t?.id||n?.ip_address!==t?.ip_address)&&((0,K.captureSession)(),n=t)}),"route"===t&&nt(({from:e,to:t})=>{e!==t&&((0,K.startSession)({ignoreDuration:!0}),(0,K.captureSession)())})}}},nd=()=>({name:"CultureContext",preprocessEvent(e){let t=function(){try{let e=tC.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})}}),np=null;function nf(e){let t="error";tD(t,e),tU(t,nh)}function nh(){np=Y.GLOBAL_OBJ.onerror,Y.GLOBAL_OBJ.onerror=function(e,t,n,r,a){return tj("error",{column:r,error:a,line:n,msg:e,url:t}),!!np&&np.apply(this,arguments)},Y.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}let nm=null;function ng(e){let t="unhandledrejection";tD(t,e),tU(t,ny)}function ny(){nm=Y.GLOBAL_OBJ.onunhandledrejection,Y.GLOBAL_OBJ.onunhandledrejection=function(e){return tj("unhandledrejection",e),!nm||nm.apply(this,arguments)},Y.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let n_=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var n,r;t.onerror&&(n=e,nf(e=>{var t,r,a,o;let i,s,l,u,c,{stackParser:d,attachStacktrace:p}=nE();if((0,Q.getClient)()!==n||tN>0)return;let{msg:f,url:h,line:m,column:g,error:y}=e,_=(t=tR(d,y||f,void 0,p,!1),r=h,a=m,o=g,0===(c=(u=(l=(s=(i=t.exception=t.exception||{}).values=i.values||[])[0]=s[0]||{}).stacktrace=l.stacktrace||{}).frames=u.frames||[]).length&&c.push({colno:o,lineno:a,filename:function(e){if((0,eC.isString)(e)&&0!==e.length)return e.startsWith("data:")?`<${t3(e,!1)}>`:e}(r)??(0,tI.getLocationHref)(),function:eg.UNKNOWN_FUNCTION,in_app:!0}),t);_.level="error",(0,K.captureEvent)(_,{originalException:y,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),nS("onerror")),t.onunhandledrejection&&(r=e,ng(e=>{let{stackParser:t,attachStacktrace:n}=nE();if((0,Q.getClient)()!==r||tN>0)return;let a=nv(e),o=(0,eC.isPrimitive)(a)?nb(a):tR(t,a,void 0,n,!0);o.level="error",(0,K.captureEvent)(o,{originalException:a,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),nS("onunhandledrejection"))}}};function nv(e){if((0,eC.isPrimitive)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function nb(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function nS(e){nr&&V.debug.log(`Global Handler attached: ${e}`)}function nE(){let e=(0,Q.getClient)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let nw=()=>({name:"HttpContext",preprocessEvent(e){if(!tC.navigator&&!tC.location&&!tC.document)return;let t=tO(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}});function nT(e){return Array.isArray(e.errors)}function nk(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...nT(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function nR(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}let nx=(e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,a){!function(e,t,n,r,a,o){if(!a.exception?.values||!o||!(0,eC.isInstanceOf)(o.originalException,Error))return;let i=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;i&&(a.exception.values=function e(t,n,r,a,o,i,s,l){if(i.length>=r+1)return i;let u=[...i];if((0,eC.isInstanceOf)(a[o],Error)){nk(s,l,a);let i=t(n,a[o]),c=u.length;nR(i,o,c,l),u=e(t,n,r,a[o],o,[i,...u],i,c)}return nT(a)&&a.errors.forEach((i,c)=>{if((0,eC.isInstanceOf)(i,Error)){nk(s,l,a);let d=t(n,i),p=u.length;nR(d,`errors[${c}]`,p,l),u=e(t,n,r,i,o,[d,...u],d,p)}}),u}(e,t,r,o.originalException,n,a.exception.values,i,0))}(tv,a.getOptions().stackParser,n,t,e,r)}}};function nI(e,t,n,r){let a={filename:e,function:"<anonymous>"===t?eg.UNKNOWN_FUNCTION:t,in_app:!0};return void 0!==n&&(a.lineno=n),void 0!==r&&(a.colno=r),a}let nC=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,nN=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,nP=/\((\S*)(?::(\d+))(?::(\d+))\)/,nO=/at (.+?) ?\(data:(.+?),/,nA=[30,e=>{let t=e.match(nO);
17if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=nC.exec(e);if(n){let[,e,t,r]=n;return nI(e,eg.UNKNOWN_FUNCTION,+t,+r)}let r=nN.exec(e);if(r){if(r[2]?.indexOf("eval")===0){let e=nP.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=nq(r[1]||eg.UNKNOWN_FUNCTION,r[2]);return nI(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],nM=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nL=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,nD=[50,e=>{let t=nM.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=nL.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]||eg.UNKNOWN_FUNCTION;return[n,e]=nq(n,e),nI(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],nU=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,nj=[40,e=>{let t=nU.exec(e);return t?nI(t[2],t[1]||eg.UNKNOWN_FUNCTION,+t[3],t[4]?+t[4]:void 0):void 0}],nB=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,nF=[10,e=>{let t=nB.exec(e);return t?nI(t[2],t[3]||eg.UNKNOWN_FUNCTION,+t[1]):void 0}],n$=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,nz=[20,e=>{let t=n$.exec(e);return t?nI(t[5],t[3]||t[4]||eg.UNKNOWN_FUNCTION,+t[1],+t[2]):void 0}],nH=[nA,nD],nW=(0,eg.createStackParser)(...nH),nq=(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]:eg.UNKNOWN_FUNCTION,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},nG="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nV={};function nY(e){let t=nV[e];if(t)return t;let n=t5[e];if(tz(n))return nV[e]=n.bind(t5);let r=t5.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let a=t.contentWindow;a?.[e]&&(n=a[e]),r.head.removeChild(t)}catch(t){nG&&V.debug.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?nV[e]=n.bind(t5):n}function nJ(...e){return nY("setTimeout")(...e)}function nX(e,t=nY("fetch")){let n=0,r=0;async function a(a){let o=a.body.length;n+=o,r++;let i={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,i);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(e){throw nV.fetch=void 0,e}finally{n-=o,r--}}return e5(e,a,eZ(e.bufferSize||40))}function nK(e){return[eu(),eh(),{name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=(0,Q.getCurrentScope)().getScopeData(),n=(0,Q.getIsolationScope)().getScopeData(),r=t.conversationId||n.conversationId;r&&e.setAttribute(em.GEN_AI_CONVERSATION_ID_ATTRIBUTE,r)})}},ni(),na(),n_(),nx(),ey(),nw(),nd(),nc()]}function nQ(e={}){let t,n=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===tC.window||tC.nw)return!1;let e=tC.chrome||tC.browser;if(!e?.runtime?.id)return!1;let t=(0,tI.getLocationHref)();return!(tC===tC.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}()&&(nr&&(0,V.consoleSandbox)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),r=null==e.defaultIntegrations?nK():e.defaultIntegrations,a={...e,enabled:!n&&e.enabled,stackParser:(0,eg.stackParserFromStackParserOptions)(e.stackParser||nW),integrations:function(e){let t,n,r=e.defaultIntegrations||[],a=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(a))t=[...r,...a];else if("function"==typeof a){let e=a(r);t=Array.isArray(e)?e:[e]}else t=r;return n={},t.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)}({integrations:e.integrations,defaultIntegrations:r}),transport:e.transport||nX};return!0===a.debug&&(Z.DEBUG_BUILD?V.debug.enable():(0,V.consoleSandbox)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,Q.getCurrentScope)().update(a.initialScope),eS(t=new tA(a)),t.init(),t}function nZ(){}function n0(e){e()}var n1=e.i(271645);function n2(e){let t={...e};
17return X(t,"react"),(0,K.setContext)("react",{version:n1.version}),nQ(t)}let n3="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function n5(e){return(0,eC.isError)(e)&&["NEXT_NOT_FOUND","NEXT_HTTP_ERROR_FALLBACK;404"].includes(e.digest)}function n4(e){return(0,eC.isError)(e)&&"string"==typeof e.digest&&e.digest.startsWith("NEXT_REDIRECT;")}var n6=e.i(10008),n8=e.i(728469),n7=e.i(14177),n9=e.i(776710),re=e.i(541193);let rt={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function rn(e,t={}){var n;let r,a,o=new Map,i=!1,s="externalFinish",l=!t.disableAutoFinish,u=[],{idleTimeout:c=rt.idleTimeout,finalTimeout:d=rt.finalTimeout,childSpanTimeout:p=rt.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:h=!0}=t,m=(0,Q.getClient)();if(!m||!(0,n6.hasSpansEnabled)()){let e=new n8.SentryNonRecordingSpan,t={sample_rate:"0",sampled:"false",...(0,eL.getDynamicSamplingContextFromSpan)(e)};return(0,eL.freezeDscOnSpan)(e,t),e}let g=(0,Q.getCurrentScope)(),y=(0,eD.getActiveSpan)(),_=(n=e,r=(0,re.startInactiveSpan)(n),(0,eP._setSpanForScope)((0,Q.getCurrentScope)(),r),Z.DEBUG_BUILD&&V.debug.log("[Tracing] Started span is an idle span"),r);function v(){a&&(clearTimeout(a),a=void 0)}function b(e){v(),a=setTimeout(()=>{!i&&0===o.size&&l&&(s="idleTimeout",_.end(e))},c)}function S(e){a=setTimeout(()=>{!i&&l&&(s="heartbeatFailed",_.end(e))},p)}function E(e){i=!0,o.clear(),u.forEach(e=>e()),(0,eP._setSpanForScope)(g,y);let t=(0,eD.spanToJSON)(_),{start_timestamp:n}=t;if(!n)return;t.data[em.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||_.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,s);let r=t.status;r&&"unknown"!==r||_.setStatus({code:n9.SPAN_STATUS_OK}),V.debug.log(`[Tracing] Idle span "${t.op}" finished`);let a=(0,eD.getSpanDescendants)(_).filter(e=>e!==_),l=0;a.forEach(t=>{t.isRecording()&&(t.setStatus({code:n9.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),Z.DEBUG_BUILD&&V.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=(0,eD.spanToJSON)(t),a=r<=e,o=n-r<=(d+c)/1e3;if(Z.DEBUG_BUILD){let e=JSON.stringify(t,void 0,2);a?o||V.debug.log("[Tracing] Discarding span since it finished after idle span final timeout",e):V.debug.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!o||!a)&&((0,eD.removeChildSpanFromSpan)(_,t),l++)}),l>0&&_.setAttribute("sentry.idle_span_discarded_spans",l)}return _.end=new Proxy(_.end,{apply(e,t,n){if(f&&f(_),t instanceof n8.SentryNonRecordingSpan)return;let[r,...a]=n,o=r||(0,eO.timestampInSeconds)(),i=(0,eD.spanTimeInputToSeconds)(o),s=(0,eD.getSpanDescendants)(_).filter(e=>e!==_),l=(0,eD.spanToJSON)(_);if(!s.length||!h)return E(i),Reflect.apply(e,t,[i,...a]);let u=m.getOptions().ignoreSpans,c=s?.reduce((e,t)=>{let n=(0,eD.spanToJSON)(t);return!n.timestamp||u&&(0,e7.shouldIgnoreSpan)(n,u)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),p=l.start_timestamp,g=Math.min(p?p+d/1e3:1/0,Math.max(p||-1/0,Math.min(i,c||1/0)));return E(g),Reflect.apply(e,t,[g,...a])}}),u.push(m.on("spanStart",e=>{var t;!(i||e===_||(0,eD.spanToJSON)(e).timestamp||e instanceof n7.SentrySpan&&e.isStandaloneSpan())&&(0,eD.getSpanDescendants)(_).includes(e)&&(t=e.spanContext().spanId,v(),o.set(t,!0),S((0,eO.timestampInSeconds)()+p/1e3))})),u.push(m.on("spanEnd",e=>{if(!i){var t;t=e.spanContext().spanId,o.has(t)&&o.delete(t),0===o.size&&b((0,eO.timestampInSeconds)()+c/1e3)}})),u.push(m.on("idleSpanEnableAutoFinish",e=>{e===_&&(l=!0,b(),o.size&&S())})),t.disableAutoFinish||b(),setTimeout(()=>{i||(_.setStatus({code:n9.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),s="finalTimeout",_.end())},d),_}let rr=!1;function ra(){rr||(e.tag="sentry_tracingErrorCallback",rr=!0,nf(e),ng(e));function e(){let e=(0,eD.getActiveSpan)(),t=e&&(0,eD.getRootSpan)(e);if(t){let e="internal_error";Z.DEBUG_BUILD&&V.debug.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:n9.SPAN_STATUS_ERROR,message:e})}}}var ro=e.i(373382),ri=e.i(132584);function rs(){let e;return"u">typeof window&&(!(!("u">typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==G.default?G.default:0))||(e=Y.GLOBAL_OBJ.process,e?.type==="renderer"))}let rl=(e,t,n,r)=>{let a,o;return i=>{if(t.value>=0&&(i||r)&&((o=t.value-(a??0))||void 0===a)){var s;a=t.value,t.delta=o,s=t.value,t.rating=s>n[1]?"poor":s>n[0]?"needs-improvement":"good",e(t)}}},ru=(e=!0)=>{let t=t5.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},rc=()=>{let e=ru();return e?.activationStart??0};function rd(e,t,n){t5.document&&t5.addEventListener(e,t,n)}function rp(e,t,n){t5.document&&t5.removeEventListener(e,t,n)}let rf=-1,rh=new Set,rm=e=>{if(("pagehide"===e.type||t5.document?.visibilityState==="hidden")&&rf>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of rh)e();isFinite(rf)||(rf="visibilitychange"===e.type?e.timeStamp:0,rp("prerenderingchange",rm,!0))}},rg=()=>{if(t5.document&&rf<0){let e=rc();rf=(t5.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(t5.document?.visibilityState!=="hidden"||t5.document?.prerendering?1/0:0),rd("visibilitychange",rm,!0),rd("pagehide",rm,!0),rd("prerenderingchange",rm,!0)}return{get firstHiddenTime(){return rf},onHidden(e){rh.add(e)}}},ry=(e,t=-1)=>{let n=ru(),r="navigate";return n&&(t5.document?.prerendering||rc()>0?r="prerender":t5.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:r}},r_=new WeakMap;function rv(e,t){try{return r_.get(e)||r_.set(e,new t),r_.get(e)}catch(e){return new t}}class rb{constructor(){rb.prototype.__init.call(this),rb.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let rS=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},rE=e=>{let t=!1;return()=>{t||(e(),t=!0)}},rw=e=>{t5.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},rT=[1800,3e3],rk=[.1,.25],rR=0,rx=1/0,rI=0,rC=e=>
17{e.forEach(e=>{e.interactionId&&(rx=Math.min(rx,e.interactionId),rR=(rI=Math.max(rI,e.interactionId))?(rI-rx)/7+1:0)})},rN=()=>s?rR:performance.interactionCount||0,rP=0;class rO{constructor(){rO.prototype.__init.call(this),rO.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){rP=rN(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((rN()-rP)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||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].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(n)}}}let rA=e=>{let t=t5.requestIdleCallback||t5.setTimeout;t5.document?.visibilityState==="hidden"?e():(rd("visibilitychange",e=rE(e),{once:!0,capture:!0}),rd("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),rp("visibilitychange",e,{capture:!0}),rp("pagehide",e,{capture:!0})}))},rM=[200,500];class rL{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let rD=[2500,4e3],rU=[800,1800],rj=e=>{t5.document?.prerendering?rw(()=>rj(e)):t5.document?.readyState!=="complete"?addEventListener("load",()=>rj(e),!0):setTimeout(e)},rB={},rF={};function r$(e,t=!1){return rX("cls",e,rG,l,t)}function rz(e,t=!1){return rX("lcp",e,rV,u,t)}function rH(e){return rX("inp",e,rJ,d)}function rW(e,t){var n;let r;return rK(e,t),rF[e]||(r={},"event"===(n=e)&&(r.durationThreshold=0),rS(n,e=>{rq(n,{entries:e})},r),rF[e]=!0),rQ(e,t)}function rq(e,t){let n=rB[e];if(n?.length)for(let r of n)try{r(t)}catch(t){nG&&V.debug.error(`Error while triggering instrumentation handler. 18Type: ${e} 19Name: ${(0,eg.getFunctionName)(r)} 20Error:`,t)}}function rG(){return((e,t={})=>{((e,t={})=>{rw(()=>{let n,r=rg(),a=ry("FCP"),o=rS("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<r.firstHiddenTime&&(a.value=Math.max(t.startTime-rc(),0),a.entries.push(t),n(!0)))});o&&(n=rl(e,a,rT,t.reportAllChanges))})})(rE(()=>{let n,r=ry("CLS",0),a=rg(),o=rv(t,rb),i=e=>{for(let t of e)o._processEntry(t);o._sessionValue>r.value&&(r.value=o._sessionValue,r.entries=o._sessionEntries,n())},s=rS("layout-shift",i);s&&(n=rl(e,r,rk,t.reportAllChanges),a.onHidden(()=>{i(s.takeRecords()),n(!0)}),t5?.setTimeout?.(n))}))})(e=>{rq("cls",{metric:e}),l=e},{reportAllChanges:!0})}function rV(){return((e,t={})=>{rw(()=>{let n,r=rg(),a=ry("LCP"),o=rv(t,rL),i=e=>{for(let i of(t.reportAllChanges||(e=e.slice(-1)),e))o._processEntry(i),i.startTime<r.firstHiddenTime&&(a.value=Math.max(i.startTime-rc(),0),a.entries=[i],n())},s=rS("largest-contentful-paint",i);if(s){n=rl(e,a,rD,t.reportAllChanges);let r=rE(()=>{i(s.takeRecords()),s.disconnect(),n(!0)}),o=e=>{e.isTrusted&&(rA(r),rp(e.type,o,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])rd(e,o,{capture:!0})}})})(e=>{rq("lcp",{metric:e}),u=e},{reportAllChanges:!0})}function rY(){return((e,t={})=>{let n=ry("TTFB"),r=rl(e,n,rU,t.reportAllChanges);rj(()=>{let e=ru();e&&(n.value=Math.max(e.responseStart-rc(),0),n.entries=[e],r(!0))})})(e=>{rq("ttfb",{metric:e}),c=e})}function rJ(){return((e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let n=rg();rw(()=>{let r;"interactionCount"in performance||s||(s=rS("event",rC,{type:"event",buffered:!0,durationThreshold:0}));let a=ry("INP"),o=rv(t,rO),i=e=>{rA(()=>{for(let t of e)o._processEntry(t);
20let t=o._estimateP98LongestInteraction();t&&t._latency!==a.value&&(a.value=t._latency,a.entries=t.entries,r())})},l=rS("event",i,{durationThreshold:t.durationThreshold??40});r=rl(e,a,rM,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{i(l.takeRecords()),r(!0)}))})})(e=>{rq("inp",{metric:e}),d=e})}function rX(e,t,n,r,a=!1){let o;return rK(e,t),rF[e]||(o=n(),rF[e]=!0),r&&t({metric:r}),rQ(e,t,a?o:void 0)}function rK(e,t){rB[e]=rB[e]||[],rB[e].push(t)}function rQ(e,t,n){return()=>{n&&n();let r=rB[e];if(!r)return;let a=r.indexOf(t);-1!==a&&r.splice(a,1)}}function rZ(e){return"number"==typeof e&&isFinite(e)}function r0(e,t,n,{...r}){let a=(0,eD.spanToJSON)(e).start_timestamp;return a&&a>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),(0,re.withActiveSpan)(e,()=>{let e=(0,re.startInactiveSpan)({startTime:t,...r});return e&&e.end(n),e})}function r1(e){let t,n=(0,Q.getClient)();if(!n)return;let{name:r,transaction:a,attributes:o,startTime:i}=e,{release:s,environment:l,sendDefaultPii:u}=n.getOptions(),c=n.getIntegrationByName("Replay"),d=c?.getReplayId(),p=(0,Q.getCurrentScope)(),f=p.getUser(),h=void 0!==f?f.email||f.id||f.ip_address:void 0;try{t=p.getScopeData().contexts.profile.profile_id}catch{}let m={release:s,environment:l,user:h||void 0,profile_id:t||void 0,replay_id:d||void 0,transaction:a,"user_agent.original":t5.navigator?.userAgent,"client.address":u?"{{auto}}":void 0,...o};return(0,re.startInactiveSpan)({name:r,attributes:m,startTime:i,experimental:{standalone:!0}})}function r2(){return t5.addEventListener&&t5.performance}function r3(e){return e/1e3}function r5(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function r4(e,t){let n,r,a=!1;function o(e){!a&&r&&t(e,r),a=!0}rd("visibilitychange",n=e=>{("pagehide"===e.type||t5.document?.visibilityState==="hidden")&&(()=>{o("pagehide")})(e)},{capture:!0,once:!0}),rd("pagehide",n,{capture:!0,once:!0});let i=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(o("navigation"),i(),s())}),s=e.on("afterStartPageLoadSpan",e=>{r=e.spanContext().spanId,s()})}let r6=[],r8=new Map,r7=new Map,r9={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"},ae=({metric:e})=>{if(void 0==e.value)return;let t=r3(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&r9[t.name]);if(!n)return;let{interactionId:r}=n,a=r9[n.name],o=r3((0,eO.browserPerformanceTimeOrigin)()+n.startTime),i=(0,eD.getActiveSpan)(),s=i?(0,eD.getRootSpan)(i):void 0,l=null!=r?r8.get(r):void 0,u=l?.span||s,c=u?(0,eD.spanToJSON)(u).description:(0,Q.getCurrentScope)().getScopeData().transactionName,d=r1({name:l?.elementName||(0,tI.htmlTreeAsString)(n.target),transaction:c,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${a}`,[em.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:n.duration},startTime:o});d&&(d.addEvent("inp",{[em.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[em.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e.value}),d.end(o+t))};var at=e.i(804478);function an(e){return e?(((0,eO.browserPerformanceTimeOrigin)()||performance.timeOrigin)+e)/1e3:e}function ar(e){let t={};if(void 0!=e.nextHopProtocol){let{name:n,version:r}=function(e){let t="unknown",n="unknown",r="";for(let a of e){if("/"===a){[t,n]=e.split("/");break}if(!isNaN(Number(a))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=a}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol);t["network.protocol.version"]=r,t["network.protocol.name"]=n}return(0,eO.browserPerformanceTimeOrigin)()||r2()?.timeOrigin?Object.fromEntries(Object.entries({...t,"http.request.redirect_start":an(e.redirectStart),"http.request.redirect_end":an(e.redirectEnd),"http.request.worker_start":an(e.workerStart),"http.request.fetch_start":an(e.fetchStart),"http.request.domain_lookup_start":an(e.domainLookupStart),"http.request.domain_lookup_end":an(e.domainLookupEnd),"http.request.connect_start":an(e.connectStart),"http.request.secure_connection_start":an(e.secureConnectionStart),"http.request.connection_end":an(e.connectEnd),"http.request.request_start":an(e.requestStart),"http.request.response_start":an(e.responseStart),"http.request.response_end":an(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):t}let aa=0,ao={};function ai(e,t,n,r,a=n){var o;let i=t["secureConnection"===(o=n)?"connectEnd":"fetch"===o?"domainLookupStart":`${o}End`],s=t[`${n}Start`];s&&i&&r0(e,r+r3(s),r+r3(i),{op:`browser.${a}`,name:t.name,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}let as="sentry_previous_trace";function al(e){return 1===e.traceFlags}var au=e.i(602309),ac=e.i(301263);function ad(e={}){let t=e.client||(0,Q.getClient)();if(!(0,K.isEnabled)()||!t)return{};let n=(0,eI.getMainCarrier)(),r=(0,ac.getAsyncContextStrategy)(n);if(r.getTraceData)return r.getTraceData(e);let a=e.scope||(0,Q.getCurrentScope)(),o=e.span||(0,eD.getActiveSpan)();if(!o&&(0,Q.hasExternalPropagationContext)())return{};let i=o?(0,eD.spanToTraceHeader)(o):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,ri.generateSentryTraceHeader)(t,r,n)}(a),s=o?(0,eL.getDynamicSamplingContextFromSpan)(o):(0,eL.getDynamicSamplingContextFromScope)(t,a),l=(0,au.dynamicSamplingContextToSentryBaggageHeader)(s);if(!ri.TRACEPARENT_REGEXP.test(i))return V.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let u={"sentry-trace":i,baggage:l};return e.propagateTraceparent&&(u.traceparent=o?(0,eD.spanToTraceparentHeader)(o):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,ri.generateTraceparentHeader)(t,r,n)}(a)),u}function ap(e){return e.split(",").some(e=>e.trim().startsWith(au.SENTRY_BAGGAGE_KEY_PREFIX))}function af(e,t,n,r){let a={url:t3(e),type:"fetch","http.method":n,[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:r,[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"};return t&&(tZ(t)||(a["http.url"]=t3(t.href),a["server.address"]=t.host),t.search&&(a["http.query"]=t.search),t.hash&&(a["http.fragment"]=t.hash)),a}let ah=Symbol.for("sentry__originalRequestBody");function am(e){return new URLSearchParams(e).toString()}function ag(e,t=V.debug){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[am(e)];if(!e)return[void 0]}catch(n){return nG&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return nG&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function ay(e=[]){if(e.length>=2&&e[1]&&"object"==typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let t=e[0][ah];if(void 0!==t)return t}}function a_(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return nG&&V.debug.error(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>
20{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}function av(e){try{return new URL(e,tC.location.origin).href}catch{return}}function ab(e){try{return new Headers(e)}catch{return}}let aS=new WeakMap,aE=new Map,aw={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function aT(e,t){let{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:a,shouldCreateSpanForRequest:o,enableHTTPTimings:i,tracePropagationTargets:s,onRequestSpanStart:l,onRequestSpanEnd:u}={...aw,...t},c="function"==typeof o?o:e=>!0,d=e=>(function(e,t){let n=(0,tI.getLocationHref)();if(n){let r,a;try{r=new URL(e,n),a=new URL(n).origin}catch{return!1}let o=r.origin===a;return t?(0,ei.stringMatchesSomePattern)(r.toString(),t)||o&&(0,ei.stringMatchesSomePattern)(r.pathname,t):o}{let n=!!e.match(/^\/(?!\/)/);return t?(0,ei.stringMatchesSomePattern)(e,t):n}})(e,s),p={},f=e.getOptions().propagateTraceparent;if(n){let t;e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=aE.get(e.span_id);t&&(e.timestamp=t/1e3,aE.delete(e.span_id))}}),e)),a&&(tD(t="fetch-body-resolved",e=>{if(e.response){let t=aS.get(e.response);t&&e.endTimestamp&&aE.set(t,e.endTimestamp)}}),tU(t,()=>tq(tV))),tW(e=>{let t=function(e,t,n,r,a){if(!e.fetchData)return;let{method:o,url:i}=e.fetchData,s=(0,n6.hasSpansEnabled)()&&t(i);if(e.endTimestamp){var l,u,c;let t,n=e.fetchData.__span;if(!n)return;let o=r[n];o&&(s&&(function(e,t){if(t.response){(0,n9.setHttpStatus)(e,t.response.status);let n=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:n9.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(o,e),l=o,u=e,t="object"==typeof(c=a)&&null!==c?c.onRequestSpanEnd:void 0,t?.(l,{headers:u.response?.headers,error:u.error})),delete r[n]);return}let{spanOrigin:d="auto.http.browser",propagateTraceparent:p=!1}="object"==typeof a?a:{spanOrigin:a},f=!!(0,eD.getActiveSpan)(),h=s&&f?(0,re.startInactiveSpan)(function(e,t,n){if(e.startsWith("data:")){let r=t3(e);return{name:`${t} ${r}`,attributes:af(e,void 0,t,n)}}let r=t0(e),a=r?function(e){if(tZ(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}(r):e;return{name:`${t} ${a}`,attributes:af(e,r,t,n)}}(i,o,d)):new n8.SentryNonRecordingSpan;if(e.fetchData.__span=h.spanContext().spanId,r[h.spanContext().spanId]=h,n(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=function(e,t,n,r){var a;let o=ad({span:n,propagateTraceparent:r}),i=o["sentry-trace"],s=o.baggage,l=o.traceparent;if(!i)return;let u=t.headers||((0,eC.isRequest)(e)?e.headers:void 0);if(!u)return{...o};if(a=u,"u">typeof Headers&&(0,eC.isInstanceOf)(a,Headers)){let e=new Headers(u);if(e.get("sentry-trace")||e.set("sentry-trace",i),r&&l&&!e.get("traceparent")&&e.set("traceparent",l),s){let t=e.get("baggage");t?ap(t)||e.set("baggage",`${t},${s}`):e.set("baggage",s)}return e}if(Array.isArray(u)){let e=[...u];u.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",i]),r&&l&&!u.find(e=>"traceparent"===e[0])&&e.push(["traceparent",l]);let t=u.find(e=>"baggage"===e[0]&&ap(e[1]));return s&&!t&&e.push(["baggage",s]),e}{let e="sentry-trace"in u?u["sentry-trace"]:void 0,t="traceparent"in u?u.traceparent:void 0,n="baggage"in u?u.baggage:void 0,a=n?Array.isArray(n)?[...n]:[n]:[],o=n&&(Array.isArray(n)?n.find(e=>ap(e)):ap(n));s&&!o&&a.push(s);let c={...u,"sentry-trace":e??i,baggage:a.length>0?a.join(","):void 0};return r&&l&&!t&&(c.traceparent=l),c}}(t,n,(0,n6.hasSpansEnabled)()&&f?h:void 0,p);r&&(e.args[1]=n,n.headers=r)}let m=(0,Q.getClient)();if(m){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};m.emit("beforeOutgoingRequestSpan",h,t)}return h}(e,c,d,p,{propagateTraceparent:f,onRequestSpanEnd:u});if(e.response&&e.fetchData.__span&&aS.set(e.response,e.fetchData.__span),t){let n=av(e.fetchData.url),r=n?t1(n).host:void 0;t.setAttributes({"http.url":n?t3(n):void 0,"server.address":r}),i&&ak(t),l?.(t,{headers:e.headers})}})}r&&t9(e=>{let t=function(e,t,n,r,a,o){let i=e.xhr,s=i?.[t7];if(!i||i.__sentry_own_request__||!s)return;let{url:l,method:u}=s,c=(0,n6.hasSpansEnabled)()&&t(l);if(e.endTimestamp){let t=i.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&(c&&void 0!==s.status_code&&((0,n9.setHttpStatus)(n,s.status_code),n.end(),o?.(n,{headers:ab(a_(i)),error:e.error})),delete r[t]);return}let d=av(l),p=d?t1(d):t1(l),f=t3(t2(l)),h=!!(0,eD.getActiveSpan)(),m=c&&h?(0,re.startInactiveSpan)({name:`${u} ${f}`,attributes:{url:t3(l),type:"xhr","http.method":u,"http.url":d?t3(d):void 0,"server.address":p?.host,[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client",...p?.search&&{"http.query":p?.search},...p?.hash&&{"http.fragment":p?.hash}}}):new n8.SentryNonRecordingSpan;i.__sentry_xhr_span_id__=m.spanContext().spanId,r[i.__sentry_xhr_span_id__]=m,n(l)&&function(e,t,n){let{"sentry-trace":r,baggage:a,traceparent:o}=ad({span:t,propagateTraceparent:n});r&&function(e,t,n,r){let a=e.__sentry_xhr_v3__?.request_headers;if(!a?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),r&&!a?.traceparent&&e.setRequestHeader("traceparent",r),n){let t=a?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,r,a,o)}(i,(0,n6.hasSpansEnabled)()&&h?m:void 0,a);let g=(0,Q.getClient)();return g&&g.emit("beforeOutgoingRequestSpan",m,e),m}(e,c,d,p,f,u);t&&(i&&ak(t),l?.(t,{headers:ab(e.xhr.__sentry_xhr_v3__?.request_headers)}))})}function ak(e){let{url:t}=(0,eD.spanToJSON)(e).data;if(!t||"string"!=typeof t)return;let n=rW("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)&&(e.setAttributes(ar(r)),setTimeout(n))})})}let aR=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i,ax={...rt,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
20dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...aw},aI=(e={})=>{let t,n,r,a;"enableElementTiming"in e&&(0,V.consoleSandbox)(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let o={name:void 0,source:void 0},i=tC.document,{enableInp:s,enableLongTask:l,enableLongAnimationFrame:u,_experiments:{enableInteractions:d,enableStandaloneClsSpans:h,enableStandaloneLcpSpans:m},beforeStartSpan:g,idleTimeout:y,finalTimeout:_,childSpanTimeout:v,markBackgroundSpan:b,traceFetch:S,traceXHR:E,trackFetchStreamPerformance:w,shouldCreateSpanForRequest:T,enableHTTPTimings:k,ignoreResourceSpans:R,ignorePerformanceApiSpans:x,instrumentPageLoad:I,instrumentNavigation:C,detectRedirects:N,linkPreviousTrace:P,consistentTraceSampling:O,enableReportPageLoaded:A,onRequestSpanStart:M,onRequestSpanEnd:L}={...ax,...e},D=(a=tC.navigator,!!a?.userAgent&&aR.test(a.userAgent));function U(e,n,a=!0){let s="pageload"===n.op,l=n.name,u=g?g(n):n,c=u.attributes||{};if(l!==u.name&&(c[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom",u.attributes=c),!a){let e=(0,eO.dateTimestampInSeconds)();(0,re.startInactiveSpan)({...u,startTime:e}).end(e);return}o.name=u.name,o.source=c[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];let d=rn(u,{idleTimeout:y,finalTimeout:_,childSpanTimeout:v,disableAutoFinish:s,beforeSpanEnd:n=>{t?.(),function(e,t){var n,r;let a=r2(),o=(0,eO.browserPerformanceTimeOrigin)();if(!a?.getEntries||!o)return;let i=r3(o),s=a.getEntries(),{op:l,start_timestamp:u}=(0,eD.spanToJSON)(e);s.slice(aa).forEach(n=>{let r=r3(n.startTime),a=r3(Math.max(0,n.duration));if("navigation"!==l||!u||!(i+r<u))switch(n.entryType){case"navigation":var o,s,c,d,p,f;let h,m,g;o=e,s=n,c=i,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{ai(o,s,e,c)}),ai(o,s,"secureConnection",c,"TLS/SSL"),ai(o,s,"fetch",c,"cache"),ai(o,s,"domainLookup",c,"DNS"),d=o,p=s,h=(f=c)+r3(p.requestStart),m=f+r3(p.responseEnd),g=f+r3(p.responseStart),p.responseEnd&&(r0(d,h,m,{op:"browser.request",name:p.name,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),r0(d,g,m,{op:"browser.response",name:p.name,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}));break;case"mark":case"paint":case"measure":{!function(e,t,n,r,a,o){if(function(e){if(e?.entryType==="measure")try{return"Components â"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&(0,ei.stringMatchesSomePattern)(t.name,o))return;let i=ru(!1),s=a+Math.max(n,r3(i?i.requestStart:0)),l=a+n,u=l+r,c={[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};s!==l&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=s),function(e,t){try{let n=t.detail;if(!n)return;if("object"==typeof n){for(let[t,r]of Object.entries(n))if(r&&(0,eC.isPrimitive)(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if((0,eC.isPrimitive)(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}(c,t),s<=u&&r0(e,s,u,{name:t.name,op:t.entryType,attributes:c})}(e,n,r,a,i,t.ignorePerformanceApiSpans);let o=rg(),s=n.startTime<o.firstHiddenTime;"first-paint"===n.name&&s&&(ao.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&s&&(ao.fcp={value:n.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,a,o,i){var s,l;if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let u=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(i?.includes(u))return;let c={[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"},d=t1(n);d.protocol&&(c["url.scheme"]=d.protocol.split(":").pop()),d.host&&(c["server.address"]=d.host),c["url.same_origin"]=n.includes(t5.location.origin),s=t,l=c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]].forEac
20h(([e,t])=>{let n=s[e];null!=n&&("number"==typeof n&&n<0x7fffffff||"string"==typeof n)&&(l[t]=n)});let p={...c,...ar(t)},f=o+r;r0(e,f,f+a,{name:n.replace(t5.location.origin,""),op:u,attributes:p})}(e,n,n.name,r,a,i,t.ignoreResourceSpans)}}),aa=Math.max(s.length-1,0),function(e){let t=t5.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),rZ(n.rtt)&&(ao["connection.rtt"]={value:n.rtt,unit:"millisecond"})),rZ(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),rZ(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===l&&(function(e){let t=ru(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(ao),t.recordClsOnPageloadSpan||delete ao.cls,t.recordLcpOnPageloadSpan||delete ao.lcp,Object.entries(ao).forEach(([e,t])=>{(0,at.setMeasurement)(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",i),e.setAttribute("performance.activationStart",rc()),n=e,r=t,p&&r.recordLcpOnPageloadSpan&&(p.element&&n.setAttribute("lcp.element",(0,tI.htmlTreeAsString)(p.element)),p.id&&n.setAttribute("lcp.id",p.id),p.url&&n.setAttribute("lcp.url",p.url.trim().slice(0,200)),null!=p.loadTime&&n.setAttribute("lcp.loadTime",p.loadTime),null!=p.renderTime&&n.setAttribute("lcp.renderTime",p.renderTime),n.setAttribute("lcp.size",p.size)),f?.sources&&r.recordClsOnPageloadSpan&&f.sources.forEach((e,t)=>n.setAttribute(`cls.source.${t+1}`,(0,tI.htmlTreeAsString)(e.node)))),p=void 0,f=void 0,ao={}}(n,{recordClsOnPageloadSpan:!h,recordLcpOnPageloadSpan:!m,ignoreResourceSpans:R,ignorePerformanceApiSpans:x}),aM(e,void 0);let a=(0,Q.getCurrentScope)(),o=a.getPropagationContext();a.setPropagationContext({...o,traceId:d.spanContext().traceId,sampled:(0,eD.spanIsSampled)(d),dsc:(0,eL.getDynamicSamplingContextFromSpan)(n)}),s&&(r=void 0)},trimIdleSpanEndTimestamp:!A});function b(){i&&["interactive","complete"].includes(i.readyState)&&e.emit("idleSpanEnableAutoFinish",d)}s&&A&&(r=d),aM(e,d),s&&!A&&i&&(i.addEventListener("readystatechange",()=>{b()}),b())}return{name:"BrowserTracing",setup(e){if(D){nr&&V.debug.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}if(ra(),t=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=r2();if(r&&(0,eO.browserPerformanceTimeOrigin)()){r.mark&&t5.performance.mark("sentry-tracing-init");let a=t?function(e){let t,n=0;if(!r5("largest-contentful-paint"))return;let r=rz(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);r4(e,(e,a)=>{var o,i,s,l;let u,c,d,p,f;o=n,i=t,s=a,l=e,nG&&V.debug.log(`Sending LCP span (${o})`),u=r3(((0,eO.browserPerformanceTimeOrigin)()||0)+(i?.startTime||0)),c=(0,Q.getCurrentScope)().getScopeData().transactionName,d=i?(0,tI.htmlTreeAsString)(i.element):"Largest contentful paint",p={[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.lcp",[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.lcp",[em.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":s,"sentry.report_event":l},i&&(i.element&&(p["lcp.element"]=(0,tI.htmlTreeAsString)(i.element)),i.id&&(p["lcp.id"]=i.id),i.url&&(p["lcp.url"]=i.url),null!=i.loadTime&&(p["lcp.loadTime"]=i.loadTime),null!=i.renderTime&&(p["lcp.renderTime"]=i.renderTime),null!=i.size&&(p["lcp.size"]=i.size)),(f=r1({name:d,transaction:c,attributes:p,startTime:u}))&&(f.addEvent("lcp",{[em.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[em.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:o}),f.end(u)),r()})}(n):rz(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(ao.lcp={value:e.value,unit:"millisecond"},p=t)},!0),o=rX("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(ao.ttfb={value:e.value,unit:"millisecond"})},rY,c),i=e?function(e){let t,n=0;if(!r5("layout-shift"))return;let r=r$(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);r4(e,(e,a)=>{var o,i,s,l;let u,c,d,p,f;o=n,i=t,s=a,l=e,nG&&V.debug.log(`Sending CLS span (${o})`),u=i?r3(((0,eO.browserPerformanceTimeOrigin)()||0)+i.startTime):(0,eO.timestampInSeconds)(),c=(0,Q.getCurrentScope)().getScopeData().transactionName,d=i?(0,tI.htmlTreeAsString)(i.sources[0]?.node):"Layout shift",p={[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[em.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":s,"sentry.report_event":l}
20,i?.sources&&i.sources.forEach((e,t)=>{p[`cls.source.${t+1}`]=(0,tI.htmlTreeAsString)(e.node)}),(f=r1({name:d,transaction:c,attributes:p,startTime:u}))&&(f.addEvent("cls",{[em.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[em.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:o}),f.end(u)),r()})}(n):r$(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(ao.cls={value:e.value,unit:""},f=t)},!0);return()=>{a?.(),o(),i?.()}}return()=>void 0}({recordClsStandaloneSpans:h||!1,recordLcpStandaloneSpans:m||!1,client:e}),s&&function(){if(r2()&&(0,eO.browserPerformanceTimeOrigin)()){let e=rH(ae);()=>{e()}}}(),u&&Y.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=(0,eD.getActiveSpan)();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=r3((0,eO.browserPerformanceTimeOrigin)()+n.startTime),{start_timestamp:r,op:a}=(0,eD.spanToJSON)(t);if("navigation"===a&&r&&e<r)continue;let o=r3(n.duration),i={[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"},{invoker:s,invokerType:l,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=n.scripts[0];i["browser.script.invoker"]=s,i["browser.script.invoker_type"]=l,u&&(i["code.filepath"]=u),c&&(i["code.function"]=c),-1!==d&&(i["browser.script.source_char_position"]=d),r0(t,e,e+o,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:i})}}).observe({type:"long-animation-frame",buffered:!0}):l&&rW("longtask",({entries:e})=>{let t=(0,eD.getActiveSpan)();if(!t)return;let{op:n,start_timestamp:r}=(0,eD.spanToJSON)(t);for(let a of e){let e=r3((0,eO.browserPerformanceTimeOrigin)()+a.startTime),o=r3(a.duration);"navigation"===n&&r&&e<r||r0(t,e,e+o,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}})}}),d&&rW("event",({entries:e})=>{let t=(0,eD.getActiveSpan)();if(t){for(let n of e)if("click"===n.name){let e=r3((0,eO.browserPerformanceTimeOrigin)()+n.startTime),r=r3(n.duration),a={name:(0,tI.htmlTreeAsString)(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},o=(0,tI.getComponentName)(n.target);o&&(a.attributes["ui.component_name"]=o),r0(t,e,e+r,a)}}}),N&&i){let e=()=>{n=(0,eO.timestampInSeconds)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function a(){let t=e[aA];t&&!(0,eD.spanToJSON)(t).timestamp&&(nr&&V.debug.log(`[Tracing] Finishing current active span with op: ${(0,eD.spanToJSON)(t).op}`),t.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),t.end())}e.on("startNavigationSpan",(t,r)=>{if((0,Q.getClient)()!==e)return;if(r?.isRedirect){nr&&V.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),U(e,{op:"navigation.redirect",...t},!1);return}n=void 0,a(),(0,Q.getIsolationScope)().setPropagationContext({traceId:(0,ro.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,n6.hasSpansEnabled)()?void 0:(0,ro.generateSpanId)()});let o=(0,Q.getCurrentScope)();o.setPropagationContext({traceId:(0,ro.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,n6.hasSpansEnabled)()?void 0:(0,ro.generateSpanId)()}),o.setSDKProcessingMetadata({normalizedRequest:void 0}),U(e,{op:"navigation",...t,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(t,n={})=>{if((0,Q.getClient)()!==e)return;a();let r=n.sentryTrace||aP("sentry-trace")||aO("sentry-trace"),o=n.baggage||aP("baggage")||aO("baggage"),i=(0,ri.propagationContextFromHeaders)(r,o),s=(0,Q.getCurrentScope)();s.setPropagationContext(i),(0,n6.hasSpansEnabled)()||(s.getPropagationContext().propagationSpanId=(0,ro.generateSpanId)()),s.setSDKProcessingMetadata({normalizedRequest:tO()}),U(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{A&&r&&(r.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"reportPageLoaded"),r.end())})},afterAllSetup(e){var t,r,a,i,l;let u;if(D)return;let c=(0,tI.getLocationHref)();if("off"!==P&&function(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r="session-storage"===t,a=r?function(){try{let e=tC.sessionStorage?.getItem(as);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if((0,eD.getRootSpan)(e)!==e)return;let t=(0,Q.getCurrentScope)().getPropagationContext();a=function(e,t,n){let r=(0,eD.spanToJSON)(t),a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[em.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE])}catch{return 0}}(),sampleRand:n.sampleRand};if(!e)return a;let o=e.spanContext;return o.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(nr&&V.debug.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[em.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${o.traceId}-${o.spanId}-${+!!al(o)}`)),a)}(a,e,t),r&&function(e){try{tC.sessionStorage.setItem(as,JSON.stringify(e))}catch(e){nr&&V.debug.warn("Could not store previous trace in sessionStorage",e)}}(a)});let o=!0;n&&e.on("beforeSampling",e=>
20{if(!a)return;let t=(0,Q.getCurrentScope)(),n=t.getPropagationContext();if(o&&n.parentSpanId){o=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(a.sampleRate),sampled:String(al(a.spanContext))},sampleRand:a.sampleRand}),e.parentSampled=al(a.spanContext),e.parentSampleRate=a.sampleRate,e.spanAttributes={...e.spanAttributes,[em.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:a.sampleRate}})}(e,{linkPreviousTrace:P,consistentTraceSampling:O}),tC.location){if(I){let t=(0,eO.browserPerformanceTimeOrigin)();aC(e,{name:tC.location.pathname,startTime:t?t/1e3:void 0,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}C&&nt(({to:t,from:r})=>{var a,o;let i,s;if(void 0===r&&c?.indexOf(t)!==-1){c=void 0;return}c=void 0;let l=t0(t),u=e[aA],d=u&&N&&(a=u,o=n,i=(0,eD.spanToJSON)(a),!((s=(0,eO.dateTimestampInSeconds)())-i.start_timestamp>1.5)&&(!o||!(s-o<=1.5)));aN(e,{name:l?.pathname||tC.location.pathname,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:t,isRedirect:d})})}b&&(tC.document?tC.document.addEventListener("visibilitychange",()=>{let e=(0,eD.getActiveSpan)();if(!e)return;let t=(0,eD.getRootSpan)(e);if(tC.document.hidden&&t){let e="cancelled",{op:n,status:r}=(0,eD.spanToJSON)(t);nr&&V.debug.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:n9.SPAN_STATUS_ERROR,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):nr&&V.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")),d&&(t=e,r=y,a=_,i=v,l=o,tC.document&&addEventListener("click",()=>{let e="ui.action.click",n=function(e){return e[aA]}(t);if(n&&["navigation","pageload"].includes((0,eD.spanToJSON)(n).op)){nr&&V.debug.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(u&&(u.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),u.end(),u=void 0),!l.name){nr&&V.debug.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}u=rn({name:l.name,op:e,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:l.source||"url"}},{idleTimeout:r,finalTimeout:a,childSpanTimeout:i})},{capture:!0})),s&&function(){let e=Object.keys(r9);function t(e){let t=e.target;if(!t)return;let n=(0,tI.htmlTreeAsString)(t),r=Math.round(e.timeStamp);if(r7.set(r,n),r7.size>50){let e=r7.keys().next().value;void 0!==e&&r7.delete(e)}}rs()&&e.forEach(e=>{t5.addEventListener(e,t,{capture:!0,passive:!0})});let n=({entries:e})=>{let t=(0,eD.getActiveSpan)(),n=t&&(0,eD.getRootSpan)(t);e.forEach(e=>{if(!("duration"in e))return;let t=e.interactionId;if(null==t||r8.has(t))return;let r=e.target?(0,tI.htmlTreeAsString)(e.target):function(e){let t=Math.round(e.startTime),n=r7.get(t);if(!n)for(let e=-5;e<=5;e++){let r=r7.get(t+e);if(r){n=r;break}}return n||"<unknown>"}(e);if(r6.length>10){let e=r6.shift();r8.delete(e)}r6.push(t),r8.set(t,{span:n,elementName:r})})};rW("event",n),rW("first-input",n)}(),aT(e,{traceFetch:S,traceXHR:E,trackFetchStreamPerformance:w,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:T,enableHTTPTimings:k,onRequestSpanStart:M,onRequestSpanEnd:L})}}};function aC(e,t,n){e.emit("startPageLoadSpan",t,n),(0,Q.getCurrentScope)().setTransactionName(t.name);let r=e[aA];return r&&e.emit("afterStartPageLoadSpan",r),r}function aN(e,t,n){let{url:r,isRedirect:a}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:a}),e.emit("startNavigationSpan",t,{isRedirect:a});let o=(0,Q.getCurrentScope)();return o.setTransactionName(t.name),r&&!a&&o.setSDKProcessingMetadata({normalizedRequest:{...tO(),url:r}}),e[aA]}function aP(e){let t=tC.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}function aO(e){let t=tC.performance?.getEntriesByType?.("navigation")[0],n=t?.serverTiming?.find(t=>t.name===e);return n?.description}let aA="_sentry_idleSpan";function aM(e,t){(0,ep.addNonEnumerableProperty)(e,aA,t)}let aL=Y.GLOBAL_OBJ,aD=null,aU=new Map,aj=new Map;
20function aB(e){let t=e.split("/").filter(Boolean),n=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?n+=1e3:t.endsWith("*")?n+=100:n+=10}return t.length>0&&(n+=1/t.length),n}function aF(e){if(aU.has(e))return aU.get(e)??null;try{let t=new RegExp(e);return aU.set(e,t),t}catch(t){return n3&&V.debug.warn("Could not compile regex",{regexString:e,error:t}),null}}function a$(){if(!aL?._sentryRouteManifest||"string"!=typeof aL._sentryRouteManifest)return null;let e=aL._sentryRouteManifest;if(aD&&I===e)return aD;aU.clear(),aj.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return aD=t,I=e,t}catch{return n3&&V.debug.warn("Could not extract route manifest"),null}}let az=e=>{let t=a$();if(!t)return;let n=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(aj.has(n))return aj.get(n);let{staticRoutes:r,dynamicRoutes:a}=t;if(!Array.isArray(r)||!Array.isArray(a))return;let o=(function(e,t,n){let r=[];if(t.some(t=>t.path===e))return r;for(let t of n)if(t.regex){let n=aF(t.regex);n?.test(e)&&r.push(t.path)}if(!e.startsWith("/:")){for(let t of n)if(t.hasOptionalPrefix&&t.regex){let n="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,a=aF(t.regex);a?.test(n)&&r.push(t.path)}}return r})(n,r,a).sort((e,t)=>aB(e)-aB(t))[0];return aj.set(n,o),o};function aH(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}let aW="incomplete-app-router-transaction",aq="router-patch",aG={current:void 0},aV=Y.GLOBAL_OBJ,aY=Y.GLOBAL_OBJ;function aJ(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let aX=new WeakSet;function aK(e,t,n){aX.has(t)||(aX.add(t),["back","forward","push","replace"].forEach(r=>{t?.[r]&&(t[r]=new Proxy(t[r],{apply(t,a,o){if("router-patch"!==aq)return t.apply(a,o);let i=aW,s={[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"},l=o[0],u=G.default.env._sentryBasePath??aY._sentryBasePath,c=u&&"string"==typeof l&&!l.startsWith(u)?`${u}${l}`:l;"push"===r?(i=aH(aJ(c)),s["navigation.type"]="router.push"):"replace"===r?(i=aH(aJ(c)),s["navigation.type"]="router.replace"):"back"===r?s["navigation.type"]="router.back":"forward"===r&&(s["navigation.type"]="router.forward");let d=az(i);return n.current=aN(e,{name:d??i,attributes:{...s,[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:d?"route":"url"}}),t.apply(a,o)}}))}))}var aQ=e.i(565909);let aZ=aQ.default.events?aQ.default:aQ.default.default;function a0(e={}){let t=aI({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[n,{headers:r}]=t;return r?.get("next-router-prefetch")&&n?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){r&&function(e){if(tC.document.getElementById("__NEXT_DATA__"))aZ.events.on("routeChangeStart",t=>{let n,r,a=t2(t),o=function(e){let t=tC.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let n,r,a,o=(n=t.split("/"),r="",n[n.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(n.pop(),r="(?:/(.+?))?"),a=n.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/"),RegExp(`^${a}${r}(?:/)?$`));return e.match(o)})}(a);o?(n=o,r="route"):(n=a,r="url"),aN(e,{name:n,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.pages_router_instrumentation",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r}})});else{let t,n,r;C=(t,n)=>{let r=G.default.env._sentryBasePath??aY._sentryBasePath,a=aH(new URL(r&&!t.startsWith(r)?`${r}${t}`:t,tC.location.href).pathname),o=az(a),i=o??a;"router-patch"===aq&&(aq="transition-start-hook");let s=aG.current;s?(s.updateName(i),s.setAttributes({"navigation.type":`router.${n}`,[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o?"route":"url"}),aG.current=void 0):aN(e,{name:i,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o?"route":"url","navigation.type":`router.${n}`}})},tC.addEventListener("popstate",()=>{let t=aH(tC.location.pathname),n=az(t);aG.current?.isRecording()?(aG.current.updateName(n??t),aG.current.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,n?"route":"url")):aG.current=aN(e,{name:n??t,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n?"route":"url","navigation.type":"browser.popstate"}})}),t=!1,n=0,r=setInterval(()=>{n++;let a=aV?.next?.router??aV?.nd?.router;t||n>500?clearInterval(r):a&&(clearInterval(r),t=!0,aK(e,a,aG),["nd","next"].forEach(t=>{let n=aV[t];n&&(aV[t]=new Proxy(n,{set:(t,n,r)=>("router"===n&&"object"==typeof r&&null!==r&&aK(e,r,aG),t[n]=r,!0)}))}))},20)}}(e),t.afterAllSetup(e),n&&function(e){if(tC.document.getElementById("__NEXT_DATA__"))!function(e){let{route:t,params:n,sentryTrace:r,baggage:a}=function(){let e,t=tC.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{n3&&V.debug.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:a,props:o}=e;return n.route=r,n.params=a,o?.pageProps&&(n.sentryTrace=o.pageProps._sentryTraceData,n.baggage=o.pageProps._sentryBaggage),n}(),o=(0,au.parseBaggageHeader)(a),i=t||tC.location.pathname;o?.["sentry-transaction"]&&"/_error"===i&&(i=(i=o["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let s=(0,eO.browserPerformanceTimeOrigin)();aC(e,{name:i,startTime:s?s/1e3:void 0,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.pages_router_instrumentation",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url",...n&&e.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:r,baggage:a})}(e);else{let t,n,r;n=az(t=aH(tC.location.pathname)),aC(e,{name:n??t,startTime:(r=(0,eO.browserPerformanceTimeOrigin)())?r/1e3:void 0,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.app_router_instrumentation",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n?"route":"url"}})}}(e)}}}let a1=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function a2(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let a=r>=0?e[r]:"/";a&&(t=`${a}/${t}`,n="/"===a.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--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function a3(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 a5=(e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in Y.GLOBAL_OBJ&&!!Y.GLOBAL_OBJ.window,a=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let a=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),o=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(a||o){let e,o,i=a?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,s=t?function(e,t){e=a2(e).slice(1),t=a2(t).slice(1);let n=a3(e.split("/")),r=a3(t.split("/")),a=Math.min(n.length,r.length),o=a;for(let e=0;e<a;e++)if(n[e]!==r[e]){o=e;break}let i=[];for(let e=o;e<n.length;e++)i.push("..");return(i=i.concat(r.slice(o))).join("/")}(t,i):(e=i.length>1024?`<truncated>${i.slice(-1024)}`:i,(o=a1.exec(e))?o.slice(1):[])[2]||"";r.filename=`${n}${s}`}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?.frames?.map(e=>a(e))}}}})}}}catch{return e}}(t)),t}}},a4=new class{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}}(100),a6=Y.GLOBAL_OBJ,a8=!1,a7=Y.GLOBAL_OBJ;function a9(e,t={},n=(0,Q.getCurrentScope)()){let{message:r,name:a,email:o,url:i,source:s,associatedEventId:l,tags:u}=e,c={contexts:{feedback:{contact_email:o,name:a,message:r,url:i,source:s,associated_event_id:l}},type:"feedback",level:"info",tags:u},d=n?.getClient()||(0,Q.getClient)();return d&&d.emit("beforeSendFeedback",c,t),n.captureEvent(c,t)}e.s([],47474),e.i(47474),e.s([],738792),e.i(738792);let oe=Y.GLOBAL_OBJ,ot=oe.document,on=oe.navigator,or="Report a Bug",oa="Cancel",oo="Send Bug Report",oi="Confirm",os="Report a Bug",ol="[email protected]",ou="Email",oc="What's the bug? What did you expect?",od="Description",op="Your Name",of="Name",oh="Thank y
20ou for your report!",om="(required)",og="Add a screenshot",oy="Remove screenshot",o_="Highlight",ov="Hide",ob="Remove",oS=(e,t={includeReplay:!0})=>{if(!e.message)throw Error("Unable to submit feedback with empty message");let n=(0,Q.getClient)();if(!n)throw Error("No client setup, cannot send feedback.");e.tags&&Object.keys(e.tags).length&&(0,Q.getCurrentScope)().setTags(e.tags);let r=a9({source:"api",url:(0,tI.getLocationHref)(),...e},t);return new Promise((e,t)=>{let a=setTimeout(()=>t("Unable to determine if Feedback was correctly sent."),3e4),o=n.on("afterSendEvent",(n,i)=>{if(n.event_id===r)return(clearTimeout(a),o(),i?.statusCode&&i.statusCode>=200&&i.statusCode<300)?e(r):i?.statusCode===403?t("Unable to send feedback. This could be because this domain is not in your list of allowed domains."):t("Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker.")})})},oE="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function ow(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{t.onFormOpen?.(),e.onFormOpen?.()},onFormClose:()=>{t.onFormClose?.(),e.onFormClose?.()},onSubmitSuccess:(n,r)=>{t.onSubmitSuccess?.(n,r),e.onSubmitSuccess?.(n,r)},onSubmitError:n=>{t.onSubmitError?.(n),e.onSubmitError?.(n)},onFormSubmitted:()=>{t.onFormSubmitted?.(),e.onFormSubmitted?.()},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function oT(e,t){return Object.entries(t).forEach(([t,n])=>{e.setAttributeNS(null,t,n)}),e}let ok="rgba(88, 74, 192, 1)",oR={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:ok,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},ox={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:ok,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function oI(e){return` 21 --foreground: ${e.foreground}; 22 --background: ${e.background}; 23 --accent-foreground: ${e.accentForeground}; 24 --accent-background: ${e.accentBackground}; 25 --success-color: ${e.successColor}; 26 --error-color: ${e.errorColor}; 27 --border: ${e.border}; 28 --box-shadow: ${e.boxShadow}; 29 --outline: ${e.outline}; 30 --interactive-filter: ${e.interactiveFilter}; 31 `}function oC({colorScheme:e,themeDark:t,themeLight:n,styleNonce:r}){let a=ot.createElement("style");return a.textContent=` 32:host { 33 --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif; 34 --font-size: 14px; 35 --z-index: 100000; 36 37 --page-margin: 16px; 38 --inset: auto 0 0 auto; 39 --actor-inset: var(--inset); 40 41 font-family: var(--font-family); 42 font-size: var(--font-size); 43 44 ${"system"!==e?`color-scheme: only ${e};`:""} 45 46 ${oI("dark"===e?{...ox,...t}:{...oR,...n})} 47} 48 49${"system"===e?` 50@media (prefers-color-scheme: dark) { 51 :host { 52 color-scheme: only dark; 53 54 ${oI({...ox,...t})} 55 } 56}`:""} 57`,r&&a.setAttribute("nonce",r),a}let oN=({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:n})=>({id:r="sentry-feedback",autoInject:a=!0,showBranding:o=!0,isEmailRequired:i=!1,isNameRequired:s=!1,showEmail:l=!0,showName:u=!0,enableScreenshot:c=!0,useSentryUser:d={email:"email",name:"username"},tags:p,styleNonce:f,scriptNonce:h,colorScheme:m="system",themeLight:g={},themeDark:y={},addScreenshotButtonLabel:_=og,cancelButtonLabel:v=oa,confirmButtonLabel:b=oi,emailLabel:S=ou,emailPlaceholder:E=ol,formTitle:w=os,isRequiredLabel:T=om,messageLabel:k=od,messagePlaceholder:R=oc,nameLabel:x=of,namePlaceholder:I=op,removeScreenshotButtonLabel:C=oy,submitButtonLabel:N=oo,successMessageText:P=oh,triggerLabel:O=or,triggerAriaLabel:A="",highlightToolText:M=o_,hideToolText:L=ov,removeHighlightText:D=ob,onFormOpen:U,onFormClose:j,onSubmitSuccess:B,onSubmitError:F,onFormSubmitted:$}={})=>{let z={id:r,autoInject:a,showBranding:o,isEmailRequired:i,isNameRequired:s,showEmail
57:l,showName:u,enableScreenshot:c,useSentryUser:d,tags:p,styleNonce:f,scriptNonce:h,colorScheme:m,themeDark:y,themeLight:g,triggerLabel:O,triggerAriaLabel:A,cancelButtonLabel:v,submitButtonLabel:N,confirmButtonLabel:b,formTitle:w,emailLabel:S,emailPlaceholder:E,messageLabel:k,messagePlaceholder:R,nameLabel:x,namePlaceholder:I,successMessageText:P,isRequiredLabel:T,addScreenshotButtonLabel:_,removeScreenshotButtonLabel:C,highlightToolText:M,hideToolText:L,removeHighlightText:D,onFormClose:j,onFormOpen:U,onSubmitError:F,onSubmitSuccess:B,onFormSubmitted:$},H=null,W=null,q=[],G=e=>{if(!H){let t=ot.createElement("div");t.id=String(e.id),ot.body.appendChild(t),H=t.attachShadow({mode:"open"}),W=oC(e),H.appendChild(W)}return H},Y=async r=>{let a,o,i=r.enableScreenshot&&!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(on.userAgent)||/Macintosh/i.test(on.userAgent)&&on.maxTouchPoints&&on.maxTouchPoints>1)&&!!isSecureContext;try{a=(t?t():await e("feedbackModalIntegration",h))(),er(a)}catch{throw oE&&V.debug.error("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),Error("[Feedback] Missing feedback modal integration!")}try{let t=i?n?n():await e("feedbackScreenshotIntegration",h):void 0;t&&(o=t(),er(o))}catch{oE&&V.debug.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}let s=a.createDialog({options:{...r,onFormClose:()=>{s?.close(),r.onFormClose?.()},onFormSubmitted:()=>{s?.close(),r.onFormSubmitted?.()}},screenshotIntegration:o,sendFeedback:oS,shadow:G(r)});return s},J=(e,t={})=>{let n=ow(z,t),r="string"==typeof e?ot.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!r)throw oE&&V.debug.error("[Feedback] Unable to attach to target element"),Error("Unable to attach to target element");let a=null,o=async()=>{a||(a=await Y({...n,onFormSubmitted:()=>{a?.removeFromDom(),n.onFormSubmitted?.()}})),a.appendToDom(),a.open()};r.addEventListener("click",o);let i=()=>{q=q.filter(e=>e!==i),a?.removeFromDom(),a=null,r.removeEventListener("click",o)};return q.push(i),i},X=(e={})=>
57{let t=ow(z,e),n=G(t),r=function({triggerLabel:e,triggerAriaLabel:t,shadow:n,styleNonce:r}){let a,o,i,s,l,u,c,d,p=ot.createElement("button");if(p.type="button",p.className="widget__actor",p.ariaHidden="false",p.ariaLabel=t||e||or,p.appendChild((o=oT((a=e=>oe.document.createElementNS("http://www.w3.org/2000/svg",e))("svg"),{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--actor-color, var(--foreground))"}),i=oT(a("g"),{clipPath:"url(#clip0_57_80)"}),s=oT(a("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"}),o.appendChild(i).appendChild(s),l=a("defs"),u=oT(a("clipPath"),{id:"clip0_57_80"}),c=oT(a("rect"),{width:"20",height:"20",fill:"white"}),u.appendChild(c),l.appendChild(u),o.appendChild(l).appendChild(u).appendChild(c),o)),e){let t=ot.createElement("span");t.appendChild(ot.createTextNode(e)),p.appendChild(t)}let f=((d=ot.createElement("style")).textContent=` 58.widget__actor { 59 position: fixed; 60 z-index: var(--z-index); 61 margin: var(--page-margin); 62 inset: var(--actor-inset); 63 64 display: flex; 65 align-items: center; 66 gap: 8px; 67 padding: 16px; 68 69 font-family: inherit; 70 font-size: var(--font-size); 71 font-weight: 600; 72 line-height: 1.14em; 73 text-decoration: none; 74 75 background: var(--actor-background, var(--background)); 76 border-radius: var(--actor-border-radius, 1.7em/50%); 77 border: var(--actor-border, var(--border));
78 box-shadow: var(--actor-box-shadow, var(--box-shadow)); 79 color: var(--actor-color, var(--foreground)); 80 fill: var(--actor-color, var(--foreground)); 81 cursor: pointer; 82 opacity: 1; 83 transition: transform 0.2s ease-in-out; 84 transform: translate(0, 0) scale(1); 85} 86.widget__actor[aria-hidden="true"] { 87 opacity: 0; 88 pointer-events: none; 89 visibility: hidden; 90 transform: translate(0, 16px) scale(0.98); 91} 92 93.widget__actor:hover { 94 background: var(--actor-hover-background, var(--background)); 95 filter: var(--interactive-filter); 96} 97 98.widget__actor svg { 99 width: 1.14em; 100 height: 1.14em; 101} 102 103@media (max-width: 600px) { 104 .widget__actor span { 105 display: none; 106 } 107} 108`,r&&d.setAttribute("nonce",r),d);return{el:p,appendToDom(){n.appendChild(f),n.appendChild(p)},removeFromDom(){p.remove(),f.remove()},show(){p.ariaHidden="false"},hide(){p.ariaHidden="true"}}}({triggerLabel:t.triggerLabel,triggerAriaLabel:t.triggerAriaLabel,shadow:n,styleNonce:f});return J(r.el,{...t,onFormOpen(){r.hide()},onFormClose(){r.show()},onFormSubmitted(){r.show()}}),r};return{name:"Feedback",setupOnce(){rs()&&z.autoInject&&("loading"===ot.readyState?ot.addEventListener("DOMContentLoaded",()=>X().appendToDom()):X().appendToDom())},attachTo:J,createWidget(e={}){let t=X(ow(z,e));return t.appendToDom(),t},createForm:async(e={})=>Y(ow(z,e)),setTheme(e){if(z.colorScheme=e,H){let e=oC(z);W?H.replaceChild(e,W):H.prepend(e),W=e}},remove(){H&&(H.parentElement?.remove(),H=null,W=null),q.forEach(e=>e()),q=[]}}};function oP(){let e=(0,Q.getClient)();return e?.getIntegrationByName("Feedback")}var oO,oA,oM,oL,oD,oU,oj,oB={},oF=[],o$=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,oz=Array.isArray;function oH(e,t){for(var n in t)e[n]=t[n];return e}function oW(e){var t=e.parentNode;t&&t.removeChild(e)}function oq(e,t,n){var r,a,o,i={};for(o in t)"key"==o?r=t[o]:"ref"==o?a=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?oO.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===i[o]&&(i[o]=e.defaultProps[o]);return oG(e,i,r,a,null)}function oG(e,t,n,r,a){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++oM:a,__i:-1,__u:0};return null==a&&null!=oA.vnode&&oA.vnode(o),o}function oV(e){return e.children}function oY(e,t){this.props=e,this.context=t}function oJ(e,t){if(null==t)return e.__?oJ(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?oJ(e):null}function oX(e){(!e.__d&&(e.__d=!0)&&oL.push(e)&&!oK.__r++||oD!==oA.debounceRendering)&&((oD=oA.debounceRendering)||oU)(oK)}function oK(){var e,t,n,r=[],a=[];for(oL.sort(oj);e=oL.shift();)e.__d&&(n=oL.length,t=function(e,t,n){var r,a=e.__v,o=a.__e,i=e.__P;if(i)return(r=oH({},a)).__v=a.__v+1,oA.vnode&&oA.vnode(r),o3(i,r,a,e.__n,void 0!==i.ownerSVGElement,32&a.__u?[o]:null,t,null==o?oJ(a):o,!!(32&a.__u),n),r.__.__k[r.__i]=r,r.__d=void 0,r.__e!=o&&function e(t){var n,r;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(r=t.__k[n])&&null!=r.__e){t.__e=t.__c.base=r.__e;break}return e(t)}}(r),r}(e,r,a)||t,0===n||oL.length>n?(o5(r,t,a),a.length=r.length=0,t=void 0,oL.sort(oj)):t&&oA.__c&&oA.__c(t,oF));t&&o5(r,t,a),oK.__r=0}function oQ(e,t,n,r,a,o,i,s,l,u,c){var d,p,f,h,m,g=r&&r.__k||oF,y=t.length;for(n.__d=l,function(e,t,n){var r,a,o,i,s,l=t.length,u=n.length,c=u,d=0;for(e.__k=[],r=0;r<l;r++)null!=(a=e.__k[r]=null==(a=t[r])||"boolean"==typeof a||"function"==typeof a?null:"string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?oG(null,a,null,null,a):oz(a)?oG(oV,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?oG(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a)?(a.__=e,a.__b=e.__b+1,s=function(e,t,n,r){var a=e.key,o=e.type,i=n-1,s=n+1,l=t[n];if(null===l||l&&a==l.key&&o===l.type)return n;if(r>+(null!=l&&0==(131072&l.__u)))for(;i>=0||s<t.length;){if(i>=0){if((l=t[i])&&0==(131072&l.__u)&&a==l.key&&o===l.type)return i;i--}
vendor: 12,433 bytes, line 108
108if(s<t.length){if((l=t[s])&&0==(131072&l.__u)&&a==l.key&&o===l.type)return s;s++}}return -1}(a,n,i=r+d,c),a.__i=s,o=null,-1!==s&&(c--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof a.type&&(a.__u|=65536)):s!==i&&(s===i+1?d++:s>i?c>l-i?d+=s-i:d--:d=s<i&&s==i-1?s-i:0,s!==r+d&&(a.__u|=65536))):(o=n[r])&&null==o.key&&o.__e&&(o.__e==e.__d&&(e.__d=oJ(o)),o6(o,o,!1),n[r]=null,c--);if(c)for(r=0;r<u;r++)null!=(o=n[r])&&0==(131072&o.__u)&&(o.__e==e.__d&&(e.__d=oJ(o)),o6(o,o))}(n,t,g),l=n.__d,d=0;d<y;d++)null!=(f=n.__k[d])&&"boolean"!=typeof f&&"function"!=typeof f&&(p=-1===f.__i?oB:g[f.__i]||oB,f.__i=d,o3(e,f,p,a,o,i,s,l,u,c),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&o4(p.ref,null,f),c.push(f.ref,f.__c||h,f)),null==m&&null!=h&&(m=h),65536&f.__u||p.__k===f.__k?l=function e(t,n,r){var a,o;if("function"==typeof t.type){for(a=t.__k,o=0;a&&o<a.length;o++)a[o]&&(a[o].__=t,n=e(a[o],n,r));return n}t.__e!=n&&(r.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8===n.nodeType)return n}(f,l,e):"function"==typeof f.type&&void 0!==f.__d?l=f.__d:h&&(l=h.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=m}function oZ(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||o$.test(t)?n:n+"px"}function o0(e,t,n,r,a){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||oZ(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||oZ(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,o?o2:o1,o)):e.removeEventListener(t,o?o2:o1,o);else{if(a)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function o1(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(oA.event?oA.event(e):e)}}function o2(e){if(this.l)return this.l[e.type+!0](oA.event?oA.event(e):e)}function o3(e,t,n,r,a,o,i,s,l,u){var c,d,p,f,h,m,g,y,_,v,b,S,E,w,T,k=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),o=[s=t.__e=n.__e]),(c=oA.__b)&&c(t);e:if("function"==typeof k)try{if(y=t.props,_=(c=k.contextType)&&r[c.__c],v=c?_?_.props.value:c.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:("prototype"in k&&k.prototype.render?t.__c=d=new k(y,v):(t.__c=d=new oY(y,v),d.constructor=k,d.render=o8),_&&_.sub(d),d.props=y,d.state||(d.state={}),d.context=v,d.__n=r,p=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=k.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=oH({},d.__s)),oH(d.__s,k.getDerivedStateFromProps(y,d.__s))),f=d.props,h=d.state,d.__v=t,p)null==k.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==k.getDerivedStateFromProps&&y!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(y,v),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(y,d.__s,v)||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=y,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),b=0;b<d._sb.length;b++)d.__h.push(d._sb[b]);d._sb=[],d.__h.length&&i.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(y,d.__s,v),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(f,h,m)})}if(d.context=v,d.props=y,d.__P=e,d.__e=!1,S=oA.__r,E=0,"prototype"in k&&k.prototype.render){for(d.state=d.__s,d.__d=!1,S&&S(t),c=d.render(d.props,d.state,d.context),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);d._sb=[]}else do d.__d=!1,S&&S(t),c=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++E<25)d.state=d.__s,null!=d.getChildContext&&(r=oH(oH({},r),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(m=d.getSnapshotBeforeUpdate(f,h)),oQ(e,oz(T=null!=c&&c.type===oV&&null==c.key?c.props.children:c)?T:[T],t,n,r,a,o,i,s,l,u),d.base=t.__e,t.__u&=-161,d.__h.length&&i.push(d),g&&(d.__E=d.__=null)}catch(e){t.__v=null,l||null!=o?(t.__e=s,t.__u|=l?160:32,o[o.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),oA.__e(e,t,n)}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,a,o,i,s,l){var u,c,d,p,f,h,m,g=n.props,y=t.props,_=t.type;if("svg"===_&&(a=!0),null!=o){for(u=0;u<o.length;u++)if((f=o[u])&&"setAttribute"in f==!!_&&(_?f.localName===_:3===f.nodeType)){e=f,o[u]=null;break}}if(null==e){if(null===_)return document.createTextNode(y);e=a?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,y.is&&y),o=null,s=!1}if(null===_)g===y||s&&e.data===y||(e.data=y);else{if(o=o&&oO.call(e.childNodes),g=n.props||oB,!s&&null!=o)for(g={},u=0;u<e.attributes.length;u++)g[(f=e.attributes[u]).name]=f.value;for(u in g)f=g[u],"children"==u||("dangerouslySetInnerHTML"==u?d=f:"key"===u||u in y||o0(e,u,null,f,a));for(u in y)f=y[u],"children"==u?p=f:"dangerouslySetInnerHTML"==u?c=f:"value"==u?h=f:"checked"==u?m=f:"key"===u||s&&"function"!=typeof f||g[u]===f||o0(e,u,f,g[u],a);if(c)s||d&&(c.__html===d.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(d&&(e.innerHTML=""),oQ(e,oz(p)?p:[p],t,n,r,a&&"foreignObject"!==_,o,i,o?o[0]:n.__k&&oJ(n,0),s,l),null!=o)for(u=o.length;u--;)null!=o[u]&&oW(o[u]);s||(u="value",void 0===h||h===e[u]&&("progress"!==_||h)&&("option"!==_||h===g[u])||o0(e,u,h,g[u],!1),u="checked",void 0!==m&&m!==e[u]&&o0(e,u,m,g[u],!1))}return e}(n.__e,t,n,r,a,o,i,l,u);(c=oA.diffed)&&c(t)}function o5(e,t,n){for(var r=0;r<n.length;r++)o4(n[r],n[++r],n[++r]);oA.__c&&oA.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){oA.__e(e,t.__v)}})}function o4(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){oA.__e(e,n)}}function o6(e,t,n){var r,a;if(oA.unmount&&oA.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||o4(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){oA.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&o6(r[a],t,n||"function"!=typeof e.type);n||null==e.__e||oW(e.__e),e.__=e.__e=e.__d=void 0}function o8(e,t,n){return this.constructor(e,n)}oO=oF.slice,oA={__e:function(e,t,n,r){for(var a,o,i;t=t.__;)if((a=t.__c)&&!a.__)try{if((o=a.constructor)&&null!=o.getDerivedStateFromError&&(a.setState(o.getDerivedStateFromError(e)),i=a.__d),null!=a.componentDidCatch&&(a.componentDidCatch(e,r||{}),i=a.__d),i)return a.__E=a}catch(t){e=t}throw e}},oM=0,oY.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=oH({},this.state),"function"==typeof e&&(e=e(oH({},n),this.props)),e&&oH(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),oX(this))},oY.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),oX(this))},oY.prototype.render=oV,oL=[],oU="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,oj=function(e,t){return e.__v.__b-t.__v.__b},oK.__r=0;var o7,o9,ie,it,ir=0,ia=[],io=[],ii=oA,is=ii.__b,il=ii.__r,iu=ii.diffed,ic=ii.__c,id=ii.unmount,ip=ii.__;function ih(e,t){ii.__h&&ii.__h(o9,e,ir||t),ir=0;var n=o9.__H||(o9.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:io}),n.__[e]}function im(e){return ir=1,ig(ik,e)}function ig(e,t,n){var r=ih(o7++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ik(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=o9,!o9.u)){var a=function(e,t,n){if(!r.__c.__H)return!0;var a=r.__c.__H.__.filter(function(e){return!!e.__c});if(a.every(function(e){return!e.__N}))return!o||o.call(this,e,t,n);var i=!1;return a.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),!(!i&&r.__c.props===e)&&(!o||o.call(this,e,t,n))};o9.u=!0;var o=o9.shouldComponentUpdate,i=o9.componentWillUpdate;o9.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,a(e,t,n),o=r}i&&i.call(this,e,t,n)},o9.shouldComponentUpdate=a}return r.__N||r.__}function iy(e,t){var n=ih(o7++,4);!ii.__s&&iT(n.__H,t)&&(n.__=e,n.i=t,o9.__h.push(n))}function i_(e,t){var n=ih(o7++,7);return iT(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function iv(e,t){return ir=8,i_(function(){return e},t)}function ib(){for(var e;e=ia.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(iE),e.__H.__h.forEach(iw),e.__H.__h=[]}catch(t){e.__H.__h=[],ii.__e(t,e.__v)}}ii.__b=function(e){o9=null,is&&is(e)},ii.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ip&&ip(e,t)},ii.__r=function(e){il&&il(e),o7=0;var t=(o9=e.__c).__H;t&&(ie===o9?(t.__h=[],o9.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=io,e.__N=e.i=void 0})):(t.__h.forEach(iE),t.__h.forEach(iw),t.__h=[],o7=0)),ie=o9},ii.diffed=function(e){iu&&iu(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ia.push(t)&&it===ii.requestAnimationFrame||((it=ii.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),iS&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);iS&&(t=requestAnimationFrame(n))})(ib)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==io&&(e.__=e.__V),e.i=void 0,e.__V=io})),ie=o9=null},ii.__c=function(e,t){t.some(function(e){try{e.__h.forEach(iE),e.__h=e.__h.filter(function(e){return!e.__||iw(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],ii.__e(n,e.__v)}}),ic&&ic(e,t)},ii.unmount=function(e){id&&id(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{iE(e)}catch(e){t=e}}),n.__H=void 0,t&&ii.__e(t,n.__v))};var iS="function"==typeof requestAnimationFrame;function iE(e){var t=o9,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),o9=t}function iw(e){var t=o9;e.__c=e.__(),o9=t}function iT(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function ik(e,t){return"function"==typeof t?t(e):t}let iR=Object.defineProperty({__proto__:null,useCallback:iv,useContext:function(e){var t=o9.context[e.__c],n=ih(o7++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o9)),t.props.value):e.__},useDebugValue:function(e,t){ii.useDebugValue&&ii.useDebugValue(t?t(e):e)},useEffect:function(e,t){var n=ih(o7++,3);!ii.__s&&iT(n.__H,t)&&(n.__=e,n.i=t,o9.__H.__h.push(n))},useErrorBoundary:function(e){var t=ih(o7++,10),n=im();return t.__=e,o9.componentDidCatch||(o9.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:function(){var e=ih(o7++,11);if(!e.__){for(var t=o9.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useImperativeHandle:function(e,t,n){ir=6,iy(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==n?n:n.concat(e))},useLayoutEffect:iy,useMemo:i_,useReducer:ig,useRef:function(e){return ir=5,i_(function(){return{current:e}},[])},useState:im},Symbol.toStringTag,{value:"Module"});function ix({options:e}){let t=i_(()=>{let e,t;return{__html:(e=oT(ot.createElementNS("http://www.w3.org/2000/svg","svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),t=oT(ot.createElementNS("http://www.w3.org/2000/svg","path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"}),e.appendChild(t),e).outerHTML}},[]);return oq("h2",{class:"dialog__header"},oq("span",{class:"dialog__title"},e.formTitle),e.showBranding?oq("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t}):null)}function iI(e,t){let n=e.get(t);return"string"==typeof n?n.trim():""}function iC({options:e,defaultEmail:t,defaultName:n,onFormClose:r,onSubmit:a,onSubmitSuccess:o,onSubmitError:i,showEmail
108:s,showName:l,screenshotInput:u}){let{tags:c,addScreenshotButtonLabel:d,removeScreenshotButtonLabel:p,cancelButtonLabel:f,emailLabel:h,emailPlaceholder:m,isEmailRequired:g,isNameRequired:y,messageLabel:_,messagePlaceholder:v,nameLabel:b,namePlaceholder:S,submitButtonLabel:E,isRequiredLabel:w}=e,[T,k]=im(!1),[R,x]=im(null),[I,C]=im(!1),N=u?.input,[P,O]=im(null),A=iv(e=>{O(e),C(!1)},[]),M=iv(e=>{var t;let n,r=(n=[],(t={emailLabel:h,isEmailRequired:g,isNameRequired:y,messageLabel:_,nameLabel:b}).isNameRequired&&!e.name&&n.push(t.nameLabel),t.isEmailRequired&&!e.email&&n.push(t.emailLabel),e.message||n.push(t.messageLabel),n);return r.length>0?x(`Please enter in the following required fields: ${r.join(", ")}`):x(null),0===r.length},[h,g,y,_,b]);return oq("form",{class:"form",onSubmit:iv(async e=>{k(!0);try{if(e.preventDefault(),!(e.target instanceof HTMLFormElement))return;let t=new FormData(e.target),n=await (u&&I?u.value():void 0),r={name:iI(t,"name"),email:iI(t,"email"),message:iI(t,"message"),attachments:n?[n]:void 0};if(!M(r))return;try{let e=await a({name:r.name,email:r.email,message:r.message,source:"widget",tags:c},{attachments:r.attachments});o(r,e)}catch(e){oE&&V.debug.error(e),x(e),i(e)}}finally{k(!1)}},[u&&I,o,i])},N&&I?oq(N,{onError:A}):null,oq("fieldset",{class:"form__right","data-sentry-feedback":!0,disabled:T},oq("div",{class:"form__top"},R?oq("div",{class:"form__error-container"},R):null,l?oq("label",{for:"name",class:"form__label"},oq(iN,{label:b,isRequiredLabel:w,isRequired:y}),oq("input",{class:"form__input",defaultValue:n,id:"name",name:"name",placeholder:S,required:y,type:"text"})):oq("input",{"aria-hidden":!0,value:n,name:"name",type:"hidden"}),s?oq("label",{for:"email",class:"form__label"},oq(iN,{label:h,isRequiredLabel:w,isRequired:g}),oq("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:m,required:g,type:"email"})):oq("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden"}),oq("label",{for:"message",class:"form__label"},oq(iN,{label:_,isRequiredLabel:w,isRequired:!0}),oq("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:v,required:!0,rows:5})),N?oq("label",{for:"screenshot",class:"form__label"},oq("button",{class:"btn btn--default",disabled:T,type:"button",onClick:()=>{O(null),C(e=>!e)}},I?p:d),P?oq("div",{class:"form__error-container"},P.message):null):null),oq("div",{class:"btn-group"},oq("button",{class:"btn btn--primary",disabled:T,type:"submit"},E),oq("button",{class:"btn btn--default",disabled:T,type:"button",onClick:r},f))))}function iN({label:e,isRequired:t,isRequiredLabel:n}){return oq("span",{class:"form__label__text"},e,t&&oq("span",{class:"form__label__text--required"},n))}function iP({open:e,onFormSubmitted:t,...n}){let r=n.options,a=i_(()=>{let e,t,n,r,a,o,i,s;return{__html:(t=oT((e=e=>oe.document.createElementNS("http://www.w3.org/2000/svg",e))("svg"),{width:"16",height:"17",viewBox:"0 0 16 17",fill:"inherit"}),n=oT(e("g"),{clipPath:"url(#clip0_57_156)"}),r=oT(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),a=oT(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173
10810.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"}),t.appendChild(n).append(a,r),o=e("defs"),i=oT(e("clipPath"),{id:"clip0_57_156"}),s=oT(e("rect"),{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"}),i.appendChild(s),o.appendChild(i),t.appendChild(o).appendChild(i).appendChild(s),t).outerHTML}},[]),[o,i]=im(null),s=iv(()=>{o&&(clearTimeout(o),i(null)),t()},[o]),l=iv((e,r)=>{n.onSubmitSuccess(e,r),i(setTimeout(()=>{t(),i(null)},5e3))},[t]);return oq(oV,null,o?oq("div",{class:"success__position",onClick:s},oq("div",{class:"success__content"},r.successMessageText,oq("span",{class:"success__icon",dangerouslySetInnerHTML:a}))):oq("dialog",{class:"dialog",onClick:r.onFormClose,open:e},oq("div",{class:"dialog__position"},oq("div",{class:"dialog__content",onClick:e=>{e.stopPropagation()}},oq(ix,{options:r}),oq(iC,{...n,onSubmitSuccess:l})))))}let iO=` 109.dialog { 110 position: fixed; 111 z-index: var(--z-index); 112 margin: 0; 113 inset: 0; 114 115 display: flex; 116 align-items: center; 117 justify-content: center; 118 padding: 0; 119 height: 100vh; 120 width: 100vw; 121 122 color: var(--dialog-color, var(--foreground)); 123 fill: var(--dialog-color, var(--foreground)); 124 line-height: 1.75em; 125 126 background-color: rgba(0, 0, 0, 0.05); 127 border: none; 128 inset: 0; 129 opacity: 1; 130 transition: opacity 0.2s ease-in-out; 131} 132 133.dialog__position { 134 position: fixed; 135 z-index: var(--z-index); 136 inset: var(--dialog-inset); 137 padding: var(--page-margin); 138 display: flex; 139 max-height: calc(100vh - (2 * var(--page-margin))); 140} 141@media (max-width: 600px) { 142 .dialog__position { 143 inset: var(--page-margin); 144 padding: 0; 145 } 146} 147 148.dialog__position:has(.editor) { 149 inset: var(--page-margin); 150 padding: 0; 151} 152 153.dialog:not([open]) { 154 opacity: 0; 155 pointer-events: none; 156 visibility: hidden; 157} 158.dialog:not([open]) .dialog__content { 159 transform: translate(0, -16px) scale(0.98); 160} 161 162.dialog__content { 163 display: flex; 164 flex-direction: column; 165 gap: 16px; 166 padding: var(--dialog-padding, 24px); 167 max-width: 100%; 168 width: 100%; 169 max-height: 100%; 170 overflow: auto; 171 172 background: var(--dialog-background, var(--background)); 173 border-radius: var(--dialog-border-radius, 20px); 174 border: var(--dialog-border, var(--border));
175 box-shadow: var(--dialog-box-shadow, var(--box-shadow)); 176 transform: translate(0, 0) scale(1); 177 transition: transform 0.2s ease-in-out; 178} 179 180`,iA=` 181.dialog__header { 182 display: flex; 183 gap: 4px; 184 justify-content: space-between; 185 font-weight: var(--dialog-header-weight, 600); 186 margin: 0; 187} 188.dialog__title { 189 align-self: center; 190 width: var(--form-width, 272px); 191} 192 193@media (max-width: 600px) { 194 .dialog__title { 195 width: auto; 196 } 197} 198 199.dialog__position:has(.editor) .dialog__title { 200 width: auto; 201} 202 203 204.brand-link { 205 display: inline-flex; 206} 207.brand-link:focus-visible { 208 outline: var(--outline); 209} 210`,iM=` 211.form { 212 display: flex; 213 overflow: auto; 214 flex-direction: row; 215 gap: 16px; 216 flex: 1 0; 217} 218 219.form fieldset { 220 border: none; 221 margin: 0; 222 padding: 0; 223} 224 225.form__right { 226 flex: 0 0 auto; 227 display: flex; 228 overflow: auto; 229 flex-direction: column; 230 justify-content: space-between; 231 gap: 20px; 232 width: var(--form-width, 100%); 233} 234 235.dialog__position:has(.editor) .form__right { 236 width: var(--form-width, 272px); 237} 238 239.form__top { 240 display: flex; 241 flex-direction: column; 242 gap: 8px; 243} 244 245.form__error-container { 246 color: var(--error-color); 247 fill: var(--error-color); 248} 249 250.form__label { 251 display: flex; 252 flex-direction: column; 253 gap: 4px; 254 margin: 0px; 255} 256 257.form__label__text { 258 display: flex; 259 gap: 4px; 260 align-items: center; 261} 262 263.form__label__text--required { 264 font-size: 0.85em; 265} 266 267.form__input { 268 font-family: inherit; 269 line-height: inherit; 270 background: transparent; 271 box-sizing: border-box; 272 border: var(--input-border, var(--border)); 273 border-radius: var(--input-border-radius, 6px); 274 color: var(--input-color, inherit); 275 fill: var(--input-color, inherit); 276 font-size: var(--input-font-size, inherit); 277 font-weight: var(--input-font-weight, 500); 278 padding: 6px 12px; 279} 280 281.form__input::placeholder { 282 opacity: 0.65; 283 color: var(--input-placeholder-color, inherit); 284 filter: var(--interactive-filter); 285} 286 287.form__input:focus-visible { 288 outline: var(--input-focus-outline, var(--outline)); 289} 290 291.form__input--textarea { 292 font-family: inherit; 293 resize: vertical; 294} 295 296.error { 297 color: var(--error-color); 298 fill: var(--error-color); 299} 300`,iL=` 301.btn-group { 302 display: grid; 303 gap: 8px; 304} 305 306.btn { 307 line-height: inherit; 308 border: var(--button-border, var(--border)); 309 border-radius: var(--button-border-radius, 6px); 310 cursor: pointer; 311 font-family: inherit; 312 font-size: var(--button-font-size, inherit); 313 font-weight: var(--button-font-weight, 600); 314 padding: var(--button-padding, 6px 16px); 315} 316.btn[disabled] { 317 opacity: 0.6; 318 pointer-events: none; 319} 320 321.btn--primary { 322 color: var(--button-primary-color, var(--accent-foreground)); 323 fill: var(--button-primary-color, var(--accent-foreground)); 324 background: var(--button-primary-background, var(--accent-background)); 325 border: var(--button-primary-border, var(--border)); 326 border-radius: var(--button-primary-border-radius, 6px); 327 font-weight: var(--button-primary-font-weight, 500); 328} 329.btn--primary:hover { 330 color: var(--button-primary-hover-color, var(--accent-foreground)); 331 fill: var(--button-primary-hover-color, var(--accent-foreground)); 332 background: var(--button-primary-hover-background, var(--accent-background)); 333 filter: var(--interactive-filter); 334} 335.btn--primary:focus-visible { 336 background: var(--button-primary-hover-background, var(--accent-background)); 337 filter: var(--interactive-filter); 338 outline: var(--button-primary-focus-outline, var(--outline)); 339} 340 341.btn--default { 342 color: var(--button-color, var(--foreground)); 343 fill: var(--button-color, var(--foreground)); 344 background: var(--button-background, var(--background)); 345 border: var(--button-border, var(--border)); 346 border-radius: var(--button-border-radius, 6px); 347 font-weight: var(--button-font-weight, 500); 348} 349.btn--default:hover { 350 color: var(--button-color, var(--foreground)); 351 fill: var(--button-color, var(--foreground)); 352 background: var(--button-hover-background, var(--background)); 353 filter: var(--interactive-filter); 354} 355.btn--default:focus-visible { 356 background: var(--button-hover-background, var(--background)); 357 filter: var(--interactive-filter); 358 outline: var(--button-focus-outline, var(--outline)); 359} 360`,iD=` 361.success__position { 362 position: fixed; 363 inset: var(--dialog-inset); 364 padding: var(--page-margin); 365 z-index: var(--z-index); 366} 367.success__content { 368 background: var(--success-background, var(--background)); 369 border: var(--success-border, var(--border)); 370 border-radius: var(--success-border-radius, 1.7em/50%);
371 box-shadow: var(--success-box-shadow, var(--box-shadow)); 372 font-weight: var(--success-font-weight, 600); 373 color: var(--success-color); 374 fill: var(--success-color); 375 padding: 12px 24px; 376 line-height: 1.75em; 377 378 display: grid; 379 align-items: center; 380 grid-auto-flow: column; 381 gap: 6px; 382 cursor: default; 383} 384 385.success__icon { 386 display: flex; 387} 388`,iU=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:n,shadow:r})=>{var a;let o,i,s,l,u=e.useSentryUser,c=(o=(0,Q.getCurrentScope)().getUser(),i=(0,Q.getIsolationScope)().getUser(),s=(0,Q.getGlobalScope)().getUser(),o&&Object.keys(o).length?o:i&&Object.keys(i).length?i:s),d=ot.createElement("div"),p=(a=e.styleNonce,(l=ot.createElement("style")).textContent=` 389:host { 390 --dialog-inset: var(--inset); 391} 392 393${iO} 394${iA} 395${iM} 396${iL} 397${iD} 398`,a&&l.setAttribute("nonce",a),l),f="",h={get el(){return d},appendToDom(){r.contains(p)||r.contains(d)||(r.appendChild(p),r.appendChild(d))},removeFromDom(){d.remove(),p.remove(),ot.body.style.overflow=f},open(){g(!0),e.onFormOpen?.(),(0,Q.getClient)()?.emit("openFeedbackWidget"),f=ot.body.style.overflow,ot.body.style.overflow="hidden"},close(){g(!1),ot.body.style.overflow=f}},m=t?.createInput({h:oq,hooks:iR,dialog:h,options:e}),g=t=>{var r,a,o,i;r=oq(iP,{options:e,screenshotInput:m,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:String(u&&c?.[u.name]||""),defaultEmail:String(u&&c?.[u.email]||""),onFormClose:()=>{g(!1),e.onFormClose?.()},onSubmit:n,onSubmitSuccess:(t,n)=>{g(!1),e.onSubmitSuccess?.(t,n)},onSubmitError:t=>{e.onSubmitError?.(t)},onFormSubmitted:()=>{e.onFormSubmitted?.()},open:t}),oA.__&&oA.__(r,d),a=d.__k,o=[],i=[],o3(d,r=d.__k=oq(oV,null,[r]),a||oB,oB,void 0!==d.ownerSVGElement,a?null:d.firstChild?oO.call(d.childNodes):null,o,a?a.__e:d.firstChild,!1,i),r.__d=void 0,o5(o,r,i)};return h}});function ij(e,t,n){if(!e)return;let r=e.getContext("2d",t);r&&n(e,r)}function iB(e,t){ij(e,{alpha:!0},(e,n)=>{n.drawImage(t,0,0,t.width,t.height,0,0,e.width,e.height)})}function iF(e,t,n){ij(e,{alpha:!0},(e,r)=>{n.length&&(r.fillStyle="rgba(0, 0, 0, 0.25)",r.fillRect(0,0,e.width,e.height)),n.forEach(e=>{switch(e.type){case"highlight":r.shadowColor="rgba(0, 0, 0, 0.7)",r.shadowBlur=50,r.fillStyle=t,r.fillRect(e.x-1,e.y-1,e.w+2,e.h+2),r.clearRect(e.x,e.y,e.w,e.h);break;case"hide":r.fillStyle="rgb(0, 0, 0)",r.fillRect(e.x,e.y,e.w,e.h)}})})}let i$=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:n,options:r})=>{let a=ot.createElement("canvas");return{input:function({h:e,hooks:t,outputBuffer:n,dialog:r,options:a}){var o;let i,s,l,u=function({hooks:e}){return function({onBeforeScreenshot:t,onScreenshot:n,onAfterScreenshot:r,onError:a}){let o=function(){let[t,n]=e.useState(oe.devicePixelRatio??1);return e.useEffect(()=>{let e=()=>{n(oe.devicePixelRatio)},t=matchMedia(`(resolution: ${oe.devicePixelRatio}dppx)`);return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}},[]),t}();e.useEffect(()=>{(async()=>{t();let e=await on.mediaDevices.getDisplayMedia({video:{width:oe.innerWidth*o,height:oe.innerHeight*o},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),a=ot.createElement("video");await new Promise((t,r)=>{a.srcObject=e,a.onloadedmetadata=()=>{n(a,o),e.getTracks().forEach(e=>e.stop()),t()},a.play().catch(r)}),r()})().catch(a)},[])}}({hooks:t}),c=function({h:e}){return function({action:t,setAction:n,options:r}){return e("div",{class:"editor__tool-container"},e("div",{class:"editor__tool-bar"},e("button",{type:"button",class:`editor__tool ${"highlight"===t?"editor__tool--active":""}`,onClick:()=>{n("highlight"===t?"":"highlight")}},r.highlightToolText),e("button",{type:"button",class:`editor__tool ${"hide"===t?"editor__tool--active":""}`,onClick:()=>{n("hide"===t?"":"hide")}},r.hideToolText)))}}({h:e}),d=function({h:e}){return function(){return e("svg",{"data-test-id":"icon-close",viewBox:"0 0 16 16",fill:"#2B2233",height:"25px",width:"25px"},e("circle",{r:"7",cx:"8",cy:"8",fill:"white"}),e("path",{strokeWidth:"1.5",d:"M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z"}),e("path",{strokeWidth:"1.5",d:"M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z"}),e("path",{strokeWidth:"1.5",d:"M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z"}))}}({h:e}),p={__html:(o=a.styleNonce,i=ot.createElement("style"),s="#1A141F",l="#302735",i.textContent=` 399.editor { 400 display: flex; 401 flex-grow: 1; 402 flex-direction: column; 403} 404 405.editor__image-container { 406 justify-items: center; 407 padding: 15px; 408 position: relative; 409 height: 100%; 410 border-radius: var(--menu-border-radius, 6px); 411 412 background-color: ${s}; 413 background-image: repeating-linear-gradient( 414 -145deg, 415 transparent, 416 transparent 8px, 417 ${s} 8px, 418 ${s} 11px 419 ), 420 repeating-linear-gradient( 421 -45deg, 422 transparent, 423 transparent 15px, 424 ${l} 15px, 425 ${l} 16px 426 ); 427} 428 429.editor__canvas-container { 430 width: 100%; 431 height: 100%; 432 position: relative; 433 display: flex; 434 align-items: center; 435 justify-content: center; 436} 437 438.editor__canvas-container > * { 439 object-fit: contain; 440 position: absolute; 441} 442 443.editor__tool-container { 444 padding-top: 8px; 445 display: flex; 446 justify-content: center; 447} 448 449.editor__tool-bar { 450 display: flex; 451 gap: 8px; 452} 453 454.editor__tool { 455 display: flex; 456 padding: 8px 12px; 457 justify-content: center; 458 align-items: center; 459 border: var(--button-border, var(--border)); 460 border-radius: var(--button-border-radius, 6px); 461 background: var(--button-background, var(--background)); 462 color: var(--button-color, var(--foreground)); 463} 464 465.editor__tool--active { 466 background: var(--button-primary-background, var(--accent-background)); 467 color: var(--button-primary-color, var(--accent-foreground)); 468} 469 470.editor__rect { 471 position: absolute; 472 z-index: 2; 473} 474 475.editor__rect button { 476 opacity: 0; 477 position: absolute; 478 top: -12px; 479 right: -12px; 480 cursor: pointer; 481 padding: 0; 482 z-index: 3; 483 border: none; 484 background: none; 485} 486 487.editor__rect:hover button { 488 opacity: 1; 489} 490`,o&&i.setAttribute("nonce",o),i).innerText},f=r.el.style,h=({screenshot:r})=>{let[o,i]=t.useState("highlight"),[s,l]=t.useState([]),u=t.useRef(null),f=t.useRef(null),h=t.useRef(null),m=t.useRef(null),[g,y]=t.useState(1),_=t.useMemo(()=>{let e=ot.getElementById(a.id);if(!e)return"white";let t=getComputedStyle(e);return t.getPropertyValue("--button-primary-background")||t.getPropertyValue("--accent-background")},[a.id]);t.useLayoutEffect(()=>{let e=()=>{let t=u.current;t&&(ij(r.canvas,{alpha:!1},e=>
490{y(Math.min(t.clientWidth/e.width,t.clientHeight/e.height))}),(0===t.clientHeight||0===t.clientWidth)&&setTimeout(e,0))};return e(),oe.addEventListener("resize",e),()=>{oe.removeEventListener("resize",e)}},[r]);let v=t.useCallback((e,t)=>{ij(e,{alpha:!0},(e,n)=>{n.scale(t,t),e.width=r.canvas.width,e.height=r.canvas.height})},[r]);t.useEffect(()=>{v(f.current,r.dpi),iB(f.current,r.canvas)},[r]),t.useEffect(()=>{v(h.current,r.dpi),ij(h.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),iF(h.current,_,s)},[s,_]),t.useEffect(()=>{v(n,r.dpi),iB(n,r.canvas),ij(ot.createElement("canvas"),{alpha:!0},(e,t)=>{t.scale(r.dpi,r.dpi),e.width=r.canvas.width,e.height=r.canvas.height,iF(e,_,s),iB(n,e)})},[s,r,_]);let b=t.useCallback(e=>t=>{t.preventDefault(),t.stopPropagation(),l(t=>{let n=[...t];return n.splice(e,1),n})},[]),S={width:`${r.canvas.width*g}px`,height:`${r.canvas.height*g}px`},E=e=>{e.stopPropagation()};return e("div",{class:"editor"},e("style",{nonce:a.styleNonce,dangerouslySetInnerHTML:p}),e("div",{class:"editor__image-container"},e("div",{class:"editor__canvas-container",ref:u},e("canvas",{ref:f,id:"background",style:S}),e("canvas",{ref:h,id:"foreground",style:S}),e("div",{ref:m,onMouseDown:e=>{if(!o||!m.current)return;let t=m.current.getBoundingClientRect(),n={type:o,x:e.offsetX/g,y:e.offsetY/g},r=(e,n)=>{let r=(n.clientX-t.x)/g,a=(n.clientY-t.y)/g;return{type:e.type,x:Math.min(e.x,r),y:Math.min(e.y,a),w:Math.abs(r-e.x),h:Math.abs(a-e.y)}},a=e=>{ij(h.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),iF(h.current,_,[...s,r(n,e)])},i=e=>{let t=r(n,e);t.w*g>=1&&t.h*g>=1&&l(e=>[...e,t]),ot.removeEventListener("mousemove",a),ot.removeEventListener("mouseup",i)};ot.addEventListener("mousemove",a),ot.addEventListener("mouseup",i)},style:S},s.map((t,n)=>e("div",{key:n,class:"editor__rect",style:{top:`${t.y*g}px`,left:`${t.x*g}px`,width:`${t.w*g}px`,height:`${t.h*g}px`}},e("button",{"aria-label":a.removeHighlightText,onClick:b(n),onMouseDown:E,onMouseUp:E,type:"button"},e(d,null))))))),e(c,{options:a,action:o,setAction:i}))};return function({onError:r}){let[a,o]=t.useState();return(u({onBeforeScreenshot:t.useCallback(()=>{f.display="none"},[]),onScreenshot:t.useCallback((e,t)=>{ij(ot.createElement("canvas"),{alpha:!1},(n,r)=>{r.scale(t,t),n.width=e.videoWidth,n.height=e.videoHeight,r.drawImage(e,0,0,n.width,n.height),o({canvas:n,dpi:t})}),n.width=e.videoWidth,n.height=e.videoHeight},[]),onAfterScreenshot:t.useCallback(()=>{f.display="block"},[]),onError:t.useCallback(e=>{f.display="block",r(e)},[])}),a)?e(h,{screenshot:a}):e("div",null)}}({h:e,hooks:t,outputBuffer:a,dialog:n,options:r}),value:async()=>{let e=await new Promise(e=>
490{a.toBlob(e,"image/png")});if(e)return{data:new Uint8Array(await e.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}),iz=["replayIntegration","replayCanvasIntegration","feedbackIntegration","feedbackModalIntegration","feedbackScreenshotIntegration","captureConsoleIntegration","contextLinesIntegration","linkedErrorsIntegration","dedupeIntegration","extraErrorDataIntegration","graphqlClientIntegration","httpClientIntegration","reportingObserverIntegration","rewriteFramesIntegration","browserProfilingIntegration","moduleMetadataIntegration","instrumentAnthropicAiClient","instrumentOpenAiClient","instrumentGoogleGenAIClient","instrumentLangGraph","createLangChainCallbackHandler"],iH={replayCanvasIntegration:"replay-canvas",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot"};async function iW(e,t){var n;let r,a,o=iz.includes(e)?iH[e]||e.replace("Integration","").toLowerCase():void 0,i=tC.Sentry=tC.Sentry||{};if(!o)throw Error(`Cannot lazy load integration: ${e}`);let s=i[e];if("function"==typeof s&&!("_isShim"in s))return s;let l=(n=o,r=(0,Q.getClient)(),a=r?.getOptions()?.cdnBaseUrl||"https://browser.sentry-cdn.com",new URL(`/${J.SDK_VERSION}/${n}.min.js`,a).toString()),u=tC.document.createElement("script");u.src=l,u.crossOrigin="anonymous",u.referrerPolicy="strict-origin",t&&u.setAttribute("nonce",t);let c=new Promise((e,t)=>{u.addEventListener("load",()=>e()),u.addEventListener("error",t)}),d=tC.document.currentScript,p=tC.document.body||tC.document.head||d?.parentElement;if(p)p.appendChild(u);else throw Error(`Could not find parent element to insert lazy-loaded ${e} script`);try{await c}catch{throw Error(`Error when loading integration: ${e}`)}let f=i[e];if("function"!=typeof f)throw Error(`Could not load integration: ${e}`);return f}let iq=oN({lazyLoadIntegration:iW}),iG=oN({getModalIntegration:()=>iU,getScreenshotIntegration:()=>i$}),iV="MULTIPLEXED_TRANSPORT_EXTRA_KEY";function iY(e,t){let n;return(0,eB.forEachEnvelopeItem)(e,(e,r)=>(t.includes(r)&&(n=Array.isArray(e)?e[1]:void 0),!!n)),n}function iJ(e,t){return n=>{let r=e(n),a=new Map,o=t||(e=>{let t=e.getEvent();return t?.extra?.[iV]&&Array.isArray(t.extra[iV])?t.extra[iV]:[]});function i(t,r){let o=r?`${t}:${r}`:t,i=a.get(o);if(!i){let s=(0,eE.dsnFromString)(t);if(!s)return;let l=eT(s,n.tunnel);i=r?(t=>{let n=e(t);return{...n,send:async e=>{let t=iY(e,["event","transaction","profile","replay_event"]);return t&&(t.release=r),n.send(e)}}})({...n,url:l}):e({...n,url:l}),a.set(o,i)}return[t,i]}return{send:async function(e){let t=o({envelope:e,getEvent:function(t){return iY(e,t?.length?t:["event"])}}).map(e=>"string"==typeof e?i(e,void 0):i(e.dsn,e.release)).filter(e=>!!e),n=t.length?t:[["",r]];return(await Promise.all(n.map(([t,n])=>n.send((0,eB.createEnvelope)(t?{...e[0],dsn:t}:e[0],e[1])))))[0]},flush:async function(e){let t=[...a.values(),r];return(await Promise.all(t.map(t=>t.flush(e)))).every(e=>e)}}}}var iX=e.i(994218);let iK=(e={})=>{let t=e.levels||V.CONSOLE_LEVELS,n=e.handled??!0;return{name:"CaptureConsole",setup(e){"console"in Y.GLOBAL_OBJ&&tB(({args:r,level:a})=>{var o,i,s;let l,u,c;(0,Q.getClient)()===e&&t.includes(a)&&(o=r,i=a,s=n,l=tX(i),u=Error(),c={level:tX(i),extra:{arguments:o}},(0,Q.withScope)(e=>{if(e.addEventProcessor(e=>(e.logger="console",(0,eo.addExceptionMechanism)(e,{handled:s,type:"auto.core.capture_console"}),e)),"assert"===i){if(!o[0]){let t=`Assertion failed: ${(0,ei.safeJoin)(o.slice(1)," ")||"console.assert"}`;e.setExtra("arguments",o.slice(1)),e.captureMessage(t,l,{captureContext:c,syntheticException:u})}return}let t=o.find(e=>e instanceof Error);if(t)return void(0,K.captureException)(t,c);let n=(0,ei.safeJoin)(o," ");e.captureMessage(n,l,{captureContext:c,syntheticException:u})}))})}}};function iQ(e,t,n){var r,a,o;return"util"in Y.GLOBAL_OBJ&&"function"==typeof Y.GLOBAL_OBJ.util.format?Y.GLOBAL_OBJ.util.format(...e):(r=e,a=t,o=n,r.map(e=>(0,eC.isPrimitive)(e)?String(e):JSON.stringify((0,ty.normalize)(e,a,o))).join(" "))}function iZ(e){return/%[sdifocO]/.test(e)}function i0(e,t){let n={},r=Array(t.length).fill("{}").join(" ");return n["sentry.message.template"]=`${e} ${r}`,t.forEach((e,t)=>{n[`sentry.message.parameter.${t}`]=e}),n}let i1={[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.log.console"},i2=(e={})=>{let t=e.levels||V.CONSOLE_LEVELS;return{name:"ConsoleLogs",setup(e){let{enableLogs:n,normalizeDepth:r=3,normalizeMaxBreadth:a=1e3}=e.getOptions();if(!n){Z.DEBUG_BUILD&&V.debug.warn("`enableLogs` is not enabled, ConsoleLogs integration disabled");return}tB(({args:n,level:o})=>{if((0,Q.getClient)()!==e||!t.includes(o))return;let i=n[0],s=n.slice(1);if("assert"===o){i||ez({level:"error",message:s.length>0?`Assertion failed: ${iQ(s,r,a)}`:"Assertion failed",attributes:i1});return}let l="log"===o,u=n.length>
4901&&"string"==typeof n[0]&&!iZ(n[0]),c={...i1,...u?i0(i,s):{}};ez({level:l?"info":o,message:iQ(n,r,a),severityNumber:l?10:void 0,attributes:c})})}}},i3=["trace","debug","info","warn","error","fatal"];function i5(e={}){let t=new Set(e.levels??i3),n=e.client;return{log(e){let{type:r,level:a,message:o,args:i,tag:s,date:l,...u}=e,c=n||(0,Q.getClient)();if(!c)return;let d=function(e,t){if("verbose"===e)return"debug";if("silent"===e)return"trace";if(e){let t=i4[e];if(t)return t}if("number"==typeof t){let e=i6[t];if(e)return e}return"info"}(r,a);if(!t.has(d))return;let{normalizeDepth:p=3,normalizeMaxBreadth:f=1e3}=c.getOptions(),h={};for(let[e,t]of Object.entries(u))h[e]=(0,ty.normalize)(t,p,f);h["sentry.origin"]="auto.log.consola",s&&(h["consola.tag"]=s),r&&(h["consola.type"]=r),null!=a&&"number"==typeof a&&(h["consola.level"]=a);let m=function(e,t,n){let{message:r,attributes:a,messageTemplate:o,messageParameters:i}=e,s={};if(o&&i)for(let[e,r]of Object.entries(i0(o,i)))s[e]=e.startsWith("sentry.message.parameter.")?(0,ty.normalize)(r,t,n):r;else i&&i.length>0&&i.forEach((e,r)=>{s[`sentry.message.parameter.${r}`]=(0,ty.normalize)(e,t,n)});return{message:r,attributes:{...(0,ty.normalize)(a,t,n),...s}}}(function(e,t,n){if(!e?.length)return{message:""};let r=iQ(e,t,n),a=e[0];if((0,eC.isPlainObject)(a)){let t="string"==typeof e[1]?2:1;return{message:r,attributes:a,messageParameters:e.slice(t)}}{let t=e.slice(1),n=t.length>0&&"string"==typeof a&&!iZ(a);return{message:r,messageTemplate:n?a:void 0,messageParameters:n?t:void 0}}}(i,p,f),p,f);m?.attributes&&Object.assign(h,m.attributes),ez({level:d,message:m?.message||o||i&&iQ(i,p,f)||"",attributes:h})}}}let i4={silent:"trace",fatal:"fatal",error:"error",warn:"warn",log:"info",info:"info",success:"info",fail:"error",ready:"info",start:"info",box:"info",debug:"debug",trace:"trace",verbose:"debug",critical:"fatal",notice:"info"},i6={0:"fatal",1:"warn",2:"info",3:"info",4:"debug",5:"trace"},i8="gen_ai.system",i7="gen_ai.request.model",i9="gen_ai.request.stream",se="gen_ai.request.temperature",st="gen_ai.request.max_tokens",sn="gen_ai.request.frequency_penalty",sr="gen_ai.request.presence_penalty",sa="gen_ai.request.top_p",so="gen_ai.request.top_k",si="gen_ai.response.finish_reasons",ss="gen_ai.response.model",sl="gen_ai.response.id",su="gen_ai.usage.input_tokens",sc="gen_ai.usage.output_tokens",sd="gen_ai.usage.total_tokens",sp="gen_ai.operation.name",sf="sentry.sdk_meta.gen_ai.input.messages.original_length",sh="gen_ai.input.messages",sm="gen_ai.system_instructions",sg="gen_ai.response.text",sy="gen_ai.request.available_tools",s_="gen_ai.response.streaming",sv="gen_ai.response.tool_calls",sb="gen_ai.agent.name",sS="gen_ai.conversation.id",sE="gen_ai.embeddings.input",sw="openai.response.id",sT="openai.response.model",sk="openai.response.timestamp",sR="anthropic.response.timestamp";function sx(e){var t,n,r,a,o,i,s,l;return!!e&&"object"==typeof e&&("type"in(t=e)&&"string"==typeof t.type&&"source"in t&&sx(t.source)||sC(e)||"image_url"in(n=e)&&("string"==typeof n.image_url?n.image_url.startsWith("data:"):sI(n))||sN(e)||sP(e)||"media_type"in(r=e)&&"string"==typeof r.media_type&&"data"in r||"type"in(a=e)&&"file"===a.type&&"mediaType"in a&&"string"==typeof a.mediaType&&"data"in a&&"string"==typeof a.data&&!a.data.startsWith("http://")&&!a.data.startsWith("https://")||"type"in(o=e)&&"image"===o.type&&"image"in o&&"string"==typeof o.image&&!o.image.startsWith("http://")&&!o.image.startsWith("https://")||"type"in(i=e)&&("blob"===i.type||"base64"===i.type)||"b64_json"in e||"type"in(s=e)&&"result"in s&&"image_generation"===s.type||"uri"in(l=e)&&"string"==typeof l.uri&&l.uri.startsWith("data:"))}function sI(e){return"image_url"in e&&!!e.image_url&&"object"==typeof e.image_url&&"url"in e.image_url&&"string"==typeof e.image_url.url&&e.image_url.url.startsWith("data:")}function sC(e){return"inlineData"in e&&!!e.inlineData&&"object"==typeof e.inlineData&&"data"in e.inlineData&&"string"==typeof e.inlineData.data}function sN(e){return"type"in e&&"input_audio"===e.type&&"input_audio"in e&&!!e.input_audio&&"object"==typeof e.input_audio&&"data"in e.input_audio&&"string"==typeof e.input_audio.data}function sP(e){return"type"in e&&"file"===e.type&&"file"in e&&!!e.file&&"object"==typeof e.file&&"file_data"in e.file&&"string"==typeof e.file.file_data}let sO="[Blob substitute]",sA=["image_url","data","content","b64_json","result","uri","image"];function sM(e){let t={...e};for(let n of(sx(t.source)&&(t.source=sM(t.source)),sC(e)&&(t.inlineData={...e.inlineData,data:sO}),sI(e)&&(t.image_url={...e.image_url,url:sO}),sN(e)&&(t.input_audio={...e.input_audio,data:sO}),sP(e)&&(t.file={...e.file,file_data:sO}),sA))"string"==typeof t[n]&&(t[n]=sO);return t}let sL=e=>
490new TextEncoder().encode(e).length,sD=e=>sL(JSON.stringify(e));function sU(e,t){if(sL(e)<=t)return e;let n=0,r=e.length,a="";for(;n<=r;){let o=Math.floor((n+r)/2),i=e.slice(0,o);sL(i)<=t?(a=i,n=o+1):r=o-1}return a}function sj(e,t){return"string"==typeof e?t:{...e,text:t}}function sB(e){return null!==e&&"object"==typeof e&&"content"in e&&Array.isArray(e.content)}function sF(e){return null!==e&&"object"==typeof e&&"parts"in e&&Array.isArray(e.parts)&&e.parts.length>0}function s$(e){if(!Array.isArray(e)||0===e.length)return e;let t=function e(t){return t.map(t=>{let n;return t&&"object"==typeof t&&(sB(t)?n={...t,content:e(t.content)}:"content"in t&&sx(t.content)&&(n={...t,content:sM(t.content)}),sF(t)&&(n={...n??t,parts:e(t.parts)}),sx(n)?n=sM(n):sx(t)&&(n=sM(t))),n??t})}([e[e.length-1]]),n=t[0];return 19998>=sD(n)?t:function(e){if(!e)return[];if("string"==typeof e){let t=sU(e,19998);return t?[t]:[]}if("object"!=typeof e)return[];if(null!==e&&"object"==typeof e&&"content"in e&&"string"==typeof e.content){let t=19998-sD({...e,content:""});if(t<=0)return[];let n=sU(e.content,t);return[{...e,content:n}]}return sB(e)||sF(e)?function(e,t){let{key:n,items:r}="parts"in e&&Array.isArray(e.parts)?{key:"parts",items:e.parts}:"content"in e&&Array.isArray(e.content)?{key:"content",items:e.content}:{key:null,items:[]};if(null===n||0===r.length)return[];let a=r.map(e=>sj(e,"")),o=t-sD({...e,[n]:a});if(o<=0)return[];let i=[];for(let e of r){let t="string"==typeof e?e:"text"in e&&"string"==typeof e.text?e.text:"",n=sL(t);if(n<=o)i.push(e),o-=n;else if(0===i.length){let n=sU(t,o);n&&i.push(sj(e,n));break}else break}return i.length<=0?[]:[{...e,[n]:i}]}(e,19998):[]}(n)}function sz(e){let t=!!(0,Q.getClient)()?.getOptions().sendDefaultPii;return{...e,recordInputs:e?.recordInputs??t,recordOutputs:e?.recordOutputs??t}}function sH(e,t){return e?`${e}.${t}`:t}function sW(e,t,n,r,a){void 0!==t&&e.setAttributes({[su]:t}),void 0!==n&&e.setAttributes({[sc]:n}),(void 0!==t||void 0!==n||void 0!==r||void 0!==a)&&e.setAttributes({[sd]:(t??0)+(n??0)+(r??0)+(a??0)})}function sq(e){return"string"==typeof e?sU(e,2e4):Array.isArray(e)?JSON.stringify(s$(e)):JSON.stringify(e)}function sG(e){if(!Array.isArray(e))return{systemInstructions:void 0,filteredMessages:e};let t=e.findIndex(e=>e&&"object"==typeof e&&"role"in e&&"system"===e.role);if(-1===t)return{systemInstructions:void 0,filteredMessages:e};let n=e[t],r="string"==typeof n.content?n.content:void 0!==n.content?JSON.stringify(n.content):void 0;return r?{systemInstructions:JSON.stringify([{type:"text",content:r}]),filteredMessages:[...e.slice(0,t),...e.slice(t+1)]}:{systemInstructions:void 0,filteredMessages:e}}async function sV(e,t,n){let r=e.catch(e=>{throw(0,K.captureException)(e,{mechanism:{handled:!1,type:n}}),e}),a=await t,o=await r;return o&&"object"==typeof o&&"data"in o?{...o,data:a}:a}function sY(e,t,n){return(0,eC.isThenable)(e)?new Proxy(e,{get(e,r){let a=r in Promise.prototype||r===Symbol.toStringTag?t:e,o=Reflect.get(a,r);return"withResponse"===r&&"function"==typeof o?function(){return sV(o.call(e),t,n)}:"function"==typeof o?o.bind(a):o}}):t}let sJ="auto.ai.langchain",sX={human:"user",ai:"assistant",assistant:"assistant",system:"system",function:"function",tool:"tool"},sK=(e,t,n)=>{null!=n&&(e[t]=n)},sQ=(e,t,n)=>{let r=Number(n);Number.isNaN(r)||(e[t]=r)};function sZ(e){if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}function s0(e){if(Array.isArray(e))try{let t=e.map(e=>e&&"object"==typeof e&&sx(e)?sM(e):e);return JSON.stringify(t)}catch{return String(e)}return sZ(e)}function s1(e){let t=e.toLowerCase();return sX[t]??t}function s2(e){return e.includes("System")?"system":e.includes("Human")?"user":e.includes("AI")||e.includes("Assistant")?"assistant":e.includes("Function")?"function":e.includes("Tool")?"tool":"user"}function s3(e){if(!(!e||Array.isArray(e)))return e.invocation_params}function s5(e){return e.map(e=>{let t=e._getType;if("function"==typeof t)return{role:s1(t.call(e)),content:s0(e.content)};if(1===e.lc&&e.kwargs){let t=e.id,n=Array.isArray(t)&&t.length>0?t[t.length-1]:"";return{role:s1("string"==typeof n?s2(n):"user"),content:s0(e.kwargs?.content)}}if(e.type)return{role:s1(String(e.type).toLowerCase()),content:s0(e.content)};if(e.role)return{role:s1(String(e.role)),content:s0(e.content)};let n=e.constructor?.name;return n&&"Object"!==n?{role:s1(s2(n)),content:s0(e.content)}:{role:"user",content:s0(e.content)}})}function s4(e,t,n,r,a){let o,i;return{[i8]:sZ(e??"langchain"),[sp]:"chat",[i7]:sZ(t),[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:sJ,...(o={},i="kwargs"in n?n.kwargs:void 0,sQ(o,se,r?.temperature??a?.ls_temperature??i?.temperature),sQ(o,st,r?.max_tokens??a?.ls_max_tokens??i?.max_tokens),sQ(o,sa,r?.top_p??i?.top_p),sQ(o,sn,r?.frequency_penalty),sQ(o,sr,r?.presence_penalty),r&&"stream"in r&&sK(o,i9,!!r.stream),o)}}function s6(e={}){let{recordInputs:t,recordOutputs:n}=sz(e),r=new Map,a=e=>{let t=r.get(e);t?.isRecording()&&(t.end(),r.delete(e))}
490,o={lc_serializable:!1,lc_namespace:["langchain_core","callbacks","sentry"],lc_secrets:void 0,lc_attributes:void 0,lc_aliases:void 0,lc_serializable_keys:void 0,lc_id:["langchain_core","callbacks","sentry"],lc_kwargs:{},name:"SentryCallbackHandler",ignoreLLM:!1,ignoreChain:!1,ignoreAgent:!1,ignoreRetriever:!1,ignoreCustomEvent:!1,raiseError:!1,awaitHandlers:!0,handleLLMStart(e,n,a,o,i,s,l,u){let c,d=s3(s),p=(c=s4(l?.ls_provider,d?.model??l?.ls_model_name??"unknown",e,d,l),t&&Array.isArray(n)&&n.length>0&&(sK(c,sf,n.length),sK(c,sh,sZ(n.map(e=>({role:"user",content:e}))))),c),f=p[i7],h=p[sp];(0,re.startSpanManual)({name:`${h} ${f}`,op:"gen_ai.chat",attributes:{...p,[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.chat"}},e=>(r.set(a,e),e))},handleChatModelStart(e,n,a,o,i,s,l,u){let c=function(e,t,n,r,a){let o=s4(a?.ls_provider??e.id?.[2],r?.model??a?.ls_model_name??"unknown",e,r,a);if(n&&Array.isArray(t)&&t.length>0){let{systemInstructions:e,filteredMessages:n}=sG(s5(t.flat()));e&&sK(o,sm,e),sK(o,sf,Array.isArray(n)?n.length:0),sK(o,sh,sZ(s$(n)))}return o}(e,n,t,s3(s),l),d=c[i7],p=c[sp];(0,re.startSpanManual)({name:`${p} ${d}`,op:"gen_ai.chat",attributes:{...c,[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.chat"}},e=>(r.set(a,e),e))},handleLLMEnd(e,t,o,i,s){let l=r.get(t);if(l?.isRecording()){let r=function(e,t){if(!e)return;let n={};if(Array.isArray(e.generations)){let a=e.generations.flat().map(e=>e.generationInfo?.finish_reason?e.generationInfo.finish_reason:e.generation_info?.finish_reason?e.generation_info.finish_reason:null).filter(e=>"string"==typeof e);a.length>0&&sK(n,si,sZ(a));var r=e.generations;let o=[];for(let e of r.flat()){let t=e.message?.content;if(Array.isArray(t))for(let e of t)"tool_use"===e.type&&o.push(e)}if(o.length>0&&sK(n,sv,sZ(o)),t){let t=e.generations.flat().map(e=>e.text??e.message?.content).filter(e=>"string"==typeof e);t.length>0&&sK(n,sg,sZ(t))}}!function(e,t){if(!e)return;let n=e.tokenUsage,r=e.usage;if(n)sQ(t,su,n.promptTokens),sQ(t,sc,n.completionTokens),sQ(t,sd,n.totalTokens);else if(r){sQ(t,su,r.input_tokens),sQ(t,sc,r.output_tokens);let e=Number(r.input_tokens),n=Number(r.output_tokens),a=(Number.isNaN(e)?0:e)+(Number.isNaN(n)?0:n);a>0&&sQ(t,sd,a),void 0!==r.cache_creation_input_tokens&&sQ(t,"gen_ai.usage.cache_creation_input_tokens",r.cache_creation_input_tokens),void 0!==r.cache_read_input_tokens&&sQ(t,"gen_ai.usage.cache_read_input_tokens",r.cache_read_input_tokens)}}(e.llmOutput,n);let a=e.llmOutput,o=e.generations?.[0]?.[0],i=o?.message,s=a?.model_name??a?.model??i?.response_metadata?.model_name;s&&sK(n,ss,s);let l=a?.id??i?.id;l&&sK(n,sl,l);let u=a?.stop_reason??i?.response_metadata?.finish_reason;return u&&sK(n,"gen_ai.response.stop_reason",sZ(u)),n}(e,n);r&&l.setAttributes(r),a(t)}},handleLLMError(e,t){let n=r.get(t);n?.isRecording()&&(n.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),a(t)),(0,K.captureException)(e,{mechanism:{handled:!1,type:`${sJ}.llm_error_handler`}})},handleChainStart(e,n,a,o,i,s,l,u){let c=u||e.name||"unknown_chain",d={[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.langchain","langchain.chain.name":c};t&&(d["langchain.chain.inputs"]=JSON.stringify(n)),(0,re.startSpanManual)({name:`chain ${c}`,op:"gen_ai.invoke_agent",attributes:{...d,[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.invoke_agent"}},e=>(r.set(a,e),e))},handleChainEnd(e,t){let o=r.get(t);o?.isRecording()&&(n&&o.setAttributes({"langchain.chain.outputs":JSON.stringify(e)}),a(t))},handleChainError(e,t){let n=r.get(t);n?.isRecording()&&(n.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),a(t)),(0,K.captureException)(e,{mechanism:{handled:!1,type:`${sJ}.chain_error_handler`}})},handleToolStart(e,n,a,o){let i=e.name||"unknown_tool",s={[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:sJ,"gen_ai.tool.name":i};t&&(s["gen_ai.tool.input"]=n),(0,re.startSpanManual)({name:`execute_tool ${i}`,op:"gen_ai.execute_tool",attributes:{...s,[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.execute_tool"}},e=>(r.set(a,e),e))},handleToolEnd(e,t){let o=r.get(t);o?.isRecording()&&(n&&o.setAttributes({"gen_ai.tool.output":JSON.stringify(e)}),a(t))},handleToolError(e,t){let n=r.get(t);n?.isRecording()&&(n.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),a(t)),(0,K.captureException)(e,{mechanism:{handled:!1,type:`${sJ}.tool_error_handler`}})},copy:()=>o,toJSON:()=>
490({lc:1,type:"not_implemented",id:o.lc_id}),toJSONNotImplemented:()=>({lc:1,type:"not_implemented",id:o.lc_id})};return o}let s8=(e={})=>{let{depth:t=3,captureErrorCause:n=!0}=e;return{name:"ExtraErrorData",processEvent(e,r,a){let{maxValueLength:o}=a.getOptions();return function(e,t={},n,r,a){if(!t.originalException||!(0,eC.isError)(t.originalException))return e;let o=t.originalException.name||t.originalException.constructor.name,i=function e(t,n,r){try{let a=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],o={};for(let e of Object.keys(t)){if(-1!==a.indexOf(e))continue;let n=t[e];o[e]=(0,eC.isError)(n)||"string"==typeof n?r?(0,ei.truncate)(`${n}`,r):`${n}`:n}if(n&&void 0!==t.cause&&((0,eC.isError)(t.cause)?o.cause={[t.cause.name||t.cause.constructor.name]:e(t.cause,!1,r)}:o.cause=t.cause),"function"==typeof t.toJSON){let e=t.toJSON();for(let t of Object.keys(e)){let n=e[t];o[t]=(0,eC.isError)(n)?n.toString():n}}return o}catch(e){Z.DEBUG_BUILD&&V.debug.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,r,a);if(i){let t={...e.contexts},r=(0,ty.normalize)(i,n);return(0,eC.isPlainObject)(r)&&((0,ep.addNonEnumerableProperty)(r,"__sentry_skip_normalization__",!0),t[o]=r),{...e,contexts:t}}return e}(e,r,t,n,o)}}},s7="flag.evaluation.";function s9(e){let t=(0,Q.getCurrentScope)().getScopeData().contexts.flags,n=t?t.values:[];return n.length&&(void 0===e.contexts&&(e.contexts={}),e.contexts.flags={values:[...n]}),e}function le(e,t,n=100){let r=(0,Q.getCurrentScope)().getScopeData().contexts;r.flags||(r.flags={values:[]}),function(e,t,n,r){if("boolean"!=typeof n)return;if(e.length>r){Z.DEBUG_BUILD&&V.debug.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${r}`);return}let a=e.findIndex(e=>e.flag===t);-1!==a&&e.splice(a,1),e.length===r&&e.shift(),e.push({flag:t,result:n})}(r.flags.values,e,t,n)}function lt(e,t,n=10){if("boolean"!=typeof t)return;let r=(0,eD.getActiveSpan)();if(!r)return;let a=(0,eD.spanToJSON)(r).data;`${s7}${e}`in a?r.setAttribute(`${s7}${e}`,t):Object.keys(a).filter(e=>e.startsWith(s7)).length<n&&r.setAttribute(`${s7}${e}`,t)}let ln=()=>
490({name:"FeatureFlags",processEvent:(e,t,n)=>s9(e),addFeatureFlag(e,t){le(e,t),lt(e,t)}}),lr={"messages.create":{operation:"chat"},"messages.stream":{operation:"chat",streaming:!0},"messages.countTokens":{operation:"chat"},"models.get":{operation:"models"},"completions.create":{operation:"chat"},"models.retrieve":{operation:"models"},"beta.messages.create":{operation:"chat"}},la={invalid_request_error:"invalid_argument",authentication_error:"unauthenticated",permission_error:"permission_denied",not_found_error:"not_found",request_too_large:"failed_precondition",rate_limit_error:"resource_exhausted",api_error:"internal_error",overloaded_error:"unavailable"};function lo(e){return e&&la[e]||"internal_error"}function li(e,t,n,r){if(e&&"object"==typeof e&&(!("type"in e)||"string"!=typeof e.type||"error"!==e.type||(r.setStatus({code:n9.SPAN_STATUS_ERROR,message:lo(e.error?.type)}),(0,K.captureException)(e.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}),0))){if("message_delta"===e.type&&e.usage&&"output_tokens"in e.usage&&"number"==typeof e.usage.output_tokens&&(t.completionTokens=e.usage.output_tokens),e.message){let n=e.message;n.id&&(t.responseId=n.id),n.model&&(t.responseModel=n.model),n.stop_reason&&t.finishReasons.push(n.stop_reason),n.usage&&("number"==typeof n.usage.input_tokens&&(t.promptTokens=n.usage.input_tokens),"number"==typeof n.usage.cache_creation_input_tokens&&(t.cacheCreationInputTokens=n.usage.cache_creation_input_tokens),"number"==typeof n.usage.cache_read_input_tokens&&(t.cacheReadInputTokens=n.usage.cache_read_input_tokens))}"content_block_start"===e.type&&"number"==typeof e.index&&e.content_block&&("tool_use"===e.content_block.type||"server_tool_use"===e.content_block.type)&&(t.activeToolBlocks[e.index]={id:e.content_block.id,name:e.content_block.name,inputJsonParts:[]});if("content_block_delta"===e.type&&e.delta){if("number"==typeof e.index&&"partial_json"in e.delta&&"string"==typeof e.delta.partial_json){let n=t.activeToolBlocks[e.index];n&&n.inputJsonParts.push(e.delta.partial_json)}n&&"string"==typeof e.delta.text&&t.responseTexts.push(e.delta.text)}!function(e,t){let n;if("content_block_stop"!==e.type||"number"!=typeof e.index)return;let r=t.activeToolBlocks[e.index];if(!r)return;let a=r.inputJsonParts.join("");try{n=a?JSON.parse(a):{}}catch{n={__unparsed:a}}t.toolCalls.push({type:"tool_use",id:r.id,name:r.name,input:n}),delete t.activeToolBlocks[e.index]}(e,t)}}async function*ls(e,t,n){let r={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}};try{for await(let a of e)li(a,r,n,t),yield a}finally{r.responseId&&t.setAttributes({[sl]:r.responseId}),r.responseModel&&t.setAttributes({[ss]:r.responseModel}),sW(t,r.promptTokens,r.completionTokens,r.cacheCreationInputTokens,r.cacheReadInputTokens),t.setAttributes({[s_]:!0}),r.finishReasons.length>0&&t.setAttributes({[si]:JSON.stringify(r.finishReasons)}),n&&r.responseTexts.length>0&&t.setAttributes({[sg]:r.responseTexts.join("")}),n&&r.toolCalls.length>0&&t.setAttributes({[sv]:JSON.stringify(r.toolCalls)}),t.end()}}function ll(e,t){!function(e,t){if(Array.isArray(t)&&0===t.length)return;let{systemInstructions:n,filteredMessages:r}=sG(t);n&&e.setAttributes({[sm]:n});let a=Array.isArray(r)?r.length:1;e.setAttributes({[sh]:sq(r),[sf]:a})}(e,function(e){let{system:t,messages:n,input:r}=e,a="string"==typeof t?[{role:"system",content:e.system}]:[],o=Array.isArray(r)?r:null!=r?[r]:void 0,i=Array.isArray(n)?n:null!=n?[n]:[];return[...a,...o??i]}(t)),"prompt"in t&&e.setAttributes({"gen_ai.prompt":JSON.stringify(t.prompt)})}function lu(e,t,n){throw(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:n}}}),t.isRecording()&&(t.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),t.end()),e}function lc(e,t){return function e(t,n="",r){return new Proxy(t,{get(t,a){let o=t[a],i=sH(n,String(a)),s=lr[i];if("function"==typeof o&&s)return new Proxy(o,{apply(e,n,a){let l,u=s.operation,c=function(e,t,n){let r={[i8]:"anthropic",[sp]:n,[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.anthropic"};if(e.length>0&&"object"==typeof e[0]&&null!==e[0]){let t=e[0];t.tools&&Array.isArray(t.tools)&&(r[sy]=JSON.stringify(t.tools)),r[i7]=t.model??"unknown","temperature"in t&&(r[se]=t.temperature),"top_p"in t&&(r[sa]=t.top_p),"stream"in t&&(r[i9]=t.stream),"top_k"in t&&(r[so]=t.top_k),"frequency_penalty"in t&&(r[sn]=t.frequency_penalty),"max_tokens"in t&&(r[st]=t.max_tokens)}else"models.retrieve"===t||"models.get"===t?r[i7]=e[0]:r[i7]="unknown";return r}(a,i,u),d=c[i7]??"unknown",p="object"==typeof a[0]?a[0]:void 0,f=!!p?.stream,h=!0===s.streaming;if(f||h){let n=c[i7]??"unknown",s={name:`${u} ${n}`,op:`gen_ai.${u}`,attributes:c};if(!f||h)return(0,re.startSpanManual)(s,n=>{try{var o,s;let i;return r.recordInputs&&p&&ll(n,p),o=e.apply(t,a),s=r.recordOutputs??!1,i={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}},o.on("streamEvent",e=>{li(e,i,s,n)}),o.on("message",()=>{n.isRecording()&&(i.responseId&&n.setAttributes({[sl]:i.responseId}),i.responseModel&&n.setAttributes({[ss]:i.responseModel}),sW(n,i.promptTokens,i.completionTokens,i.cacheCreationInputTokens,i.cacheReadInputTokens),n.setAttributes({[s_]:!0}),i.finishReasons.length>0&&n.setAttributes({[si]:JSON.stringify(i.finishReasons)}),s&&i.responseTexts.length>0&&n.setAttributes({[sg]:i.responseTexts.join("")}),s&&i.toolCalls.length>0&&n.setAttributes({[sv]:JSON.stringify(i.toolCalls)}),n.end())}),o.on("error",e=>{(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.anthropic.stream_error"}}),n.isRecording()&&(n.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),n.end())}),o}catch(e){return lu(e,n,i)}});{let e,n=(0,re.startSpanManual)(s,n=>(e=o.apply(t,a),r.recordInputs&&p&&ll(n,p),(async()=>{try{let t=await e;return ls(t,n,r.recordOutputs??!1)}catch(e){return lu(e,n,i)}})()));return sY(e,n,"auto.ai.anthropic")}}let m=(0,re.startSpan)({name:`${u} ${d}`,op:`gen_ai.${u}`,attributes:c},n=>
490(l=e.apply(t,a),r.recordInputs&&p&&ll(n,p),l.then(e=>(!function(e,t,n){if(t&&"object"==typeof t){if("type"in t&&"error"===t.type)return t.error&&(e.setStatus({code:n9.SPAN_STATUS_ERROR,message:lo(t.error.type)}),(0,K.captureException)(t.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}));n&&function(e,t){if("content"in t&&Array.isArray(t.content)){e.setAttributes({[sg]:t.content.map(e=>e.text).filter(e=>!!e).join("")});let n=[];for(let e of t.content)("tool_use"===e.type||"server_tool_use"===e.type)&&n.push(e);n.length>0&&e.setAttributes({[sv]:JSON.stringify(n)})}"completion"in t&&e.setAttributes({[sg]:t.completion}),"input_tokens"in t&&e.setAttributes({[sg]:JSON.stringify(t.input_tokens)})}(e,t),"id"in t&&"model"in t&&(e.setAttributes({[sl]:t.id,[ss]:t.model}),"created"in t&&"number"==typeof t.created&&e.setAttributes({[sR]:new Date(1e3*t.created).toISOString()}),"created_at"in t&&"number"==typeof t.created_at&&e.setAttributes({[sR]:new Date(1e3*t.created_at).toISOString()}),"usage"in t&&t.usage&&sW(e,t.usage.input_tokens,t.usage.output_tokens,t.usage.cache_creation_input_tokens,t.usage.cache_read_input_tokens))}}(n,e,r.recordOutputs),e),e=>{throw(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:i}}}),e}
490)));return sY(l,m,"auto.ai.anthropic")}});return"function"==typeof o?o.bind(t):o&&"object"==typeof o?e(o,i,r):o}})}(e,"",sz(t))}var ld=e.i(30686);let lp={"models.generateContent":{operation:"generate_content"},"models.generateContentStream":{operation:"generate_content",streaming:!0},"models.embedContent":{operation:"embeddings"},"chats.create":{operation:"chat"},"chat.sendMessage":{operation:"chat"},"chat.sendMessageStream":{operation:"chat",streaming:!0}},lf="chats.create";async function*lh(e,t,n){let r={responseTexts:[],finishReasons:[],toolCalls:[]};try{for await(let a of e)!function(e,t,n,r){if(!(!e||function(e,t){let n=e?.promptFeedback;if(n?.blockReason){let e=n.blockReasonMessage??n.blockReason;return t.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),(0,K.captureException)(`Content blocked: ${e}`,{mechanism:{handled:!1,type:"auto.ai.google_genai"}}),!0}return!1}(e,r))){let r;for(let a of("string"==typeof e.responseId&&(t.responseId=e.responseId),"string"==typeof e.modelVersion&&(t.responseModel=e.modelVersion),(r=e.usageMetadata)&&("number"==typeof r.promptTokenCount&&(t.promptTokens=r.promptTokenCount),"number"==typeof r.candidatesTokenCount&&(t.completionTokens=r.candidatesTokenCount),"number"==typeof r.totalTokenCount&&(t.totalTokens=r.totalTokenCount)),Array.isArray(e.functionCalls)&&t.toolCalls.push(...e.functionCalls),e.candidates??[]))for(let e of(a?.finishReason&&!t.finishReasons.includes(a.finishReason)&&t.finishReasons.push(a.finishReason),a?.content?.parts??[]))n&&e.text&&t.responseTexts.push(e.text),e.functionCall&&t.toolCalls.push({type:"function",id:e.functionCall.id,name:e.functionCall.name,arguments:e.functionCall.args})}}(a,r,n,t),yield a}finally{let e={[s_]:!0};r.responseId&&(e[sl]=r.responseId),r.responseModel&&(e[ss]=r.responseModel),void 0!==r.promptTokens&&(e[
490su]=r.promptTokens),void 0!==r.completionTokens&&(e[sc]=r.completionTokens),void 0!==r.totalTokens&&(e[sd]=r.totalTokens),r.finishReasons.length&&(e[si]=JSON.stringify(r.finishReasons)),n&&r.responseTexts.length&&(e[sg]=r.responseTexts.join("")),n&&r.toolCalls.length&&(e[sv]=JSON.stringify(r.toolCalls)),t.setAttributes(e),t.end()}}function lm(e,t="user"){return"string"==typeof e?[{role:t,content:e}]:Array.isArray(e)?e.flatMap(e=>lm(e,t)):"object"==typeof e&&e?"role"in e&&"string"==typeof e.role?[e]:"parts"in e?[{...e,role:t}]:[{role:t,content:e}]:[]}function lg(e,t){if("model"in e&&"string"==typeof e.model)return e.model;if(t&&"object"==typeof t){if("model"in t&&"string"==typeof t.model)return t.model;if("modelVersion"in t&&"string"==typeof t.modelVersion)return t.modelVersion}return"unknown"}function ly(e,t,n){if(n){let n=t.contents;null!=n&&e.setAttribute(sE,"string"==typeof n?n:JSON.stringify(n));return}let r=[];if("config"in t&&t.config&&"object"==typeof t.config&&"systemInstruction"in t.config&&t.config.systemInstruction&&r.push(...lm(t.config.systemInstruction,"system")),"history"in t&&r.push(...lm(t.history,"user")),"contents"in t&&r.push(...lm(t.contents,"user")),"message"in t&&r.push(...lm(t.message,"user")),Array.isArray(r)&&r.length){let{systemInstructions:t,filteredMessages:n}=sG(r);t&&e.setAttribute(sm,t);let a=Array.isArray(n)?n.length:0;e.setAttributes({[sf]:a,[sh]:JSON.stringify(s$(n))})}}function l_(e,t,n,r,a){let o=t===lf,i="embeddings"===n.operation;return new Proxy(e,{apply(e,s,l){let u=n.operation,c=l[0],d=function(e,t,n){let r={[i8]:"google_genai",[sp]:e,[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.google_genai"};if(t){if(r[i7]=lg(t,n),"config"in t&&"object"==typeof t.config&&t.config){let e,n=t.config;if(Object.assign(r,(e={},"temperature"in n&&"number"==typeof n.temperature&&(e[se]=n.temperature),"topP"in n&&"number"==typeof n.topP&&(e[sa]=n.topP),"topK"in n&&"number"==typeof n.topK&&(e[so]=n.topK),"maxOutputTokens"in n&&"number"==typeof n.maxOutputTokens&&(e[st]=n.maxOutputTokens),"frequencyPenalty"in n&&"number"==typeof n.frequencyPenalty&&(e[sn]=n.frequencyPenalty),"presencePenalty"in n&&"number"==typeof n.presencePenalty&&(e[sr]=n.presencePenalty),e)),"tools"in n&&Array.isArray(n.tools)){let e=n.tools.flatMap(e=>e.functionDeclarations);r[sy]=JSON.stringify(e)}}}else r[i7]=lg({},n);return r}(u,c,r),p=d[i7]??"unknown";return n.streaming?(0,re.startSpanManual)({name:`${u} ${p}`,op:`gen_ai.${u}`,attributes:d},async n=>{try{a.recordInputs&&c&&ly(n,c,i);let t=await e.apply(r,l);return lh(t,n,!!a.recordOutputs)}catch(e){throw n.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:t}}}),n.end(),e}}):(0,re.startSpan)({name:o?`${u} ${p} create`:`${u} ${p}`,op:`gen_ai.${u}`,attributes:d},n=>(a.recordInputs&&c&&ly(n,c,i),(0,ld.handleCallbackErrors)(()=>e.apply(r,l),e=>{(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:t}}})},()=>{},e=>{o||i||function(e,t,n){if(t&&"object"==typeof t){if(t.modelVersion&&e.setAttribute(ss,t.modelVersion),t.usageMetadata&&"object"==typeof t.usageMetadata){let n=t.usageMetadata;"number"==typeof n.promptTokenCount&&e.setAttributes({[su]:n.promptTokenCount}),"number"==typeof n.candidatesTokenCount&&e.setAttributes({[sc]:n.candidatesTokenCount}),"number"==typeof n.totalTokenCount&&e.setAttributes({[sd]:n.totalTokenCount})}if(n&&Array.isArray(t.candidates)&&t.candidates.length>0){let n=t.candidates.map(e=>e.content?.parts&&Array.isArray(e.content.parts)?e.content.parts.map(e=>"string"==typeof e.text?e.text:"").filter(e=>e.length>0).join(""):"").filter(e=>e.length>0);n.length>0&&e.setAttributes({[sg]:n.join("")})}if(n&&t.functionCalls){let n=t.functionCalls;Array.isArray(n)&&n.length>0&&e.setAttributes({[sv]:JSON.stringify(n)})}}}(n,e,a.recordOutputs)})))}})}function lv(e,t){return function e(t,n="",r){return new Proxy(t,{get:(t,a,o)=>{let i=Reflect.get(t,a,o),s=sH(n,String(a)),l=lp[s];if("function"==typeof i&&l){if(s===lf){let n=l_(i,s,l,t,r);return function(...t){let a=n(...t);return a&&"object"==typeof a?e(a,"chat",r):a}}return l_(i,s,l,t,r)}return"function"==typeof i?i.bind(t):i&&"object"==typeof i?e(i,s,r):i}})}(e,"",sz(t))}let lb="auto.ai.langgraph";function lS(e,t){var n,r;return n=e.compile,r=sz(t),e.compile=new Proxy(n,{apply:(e,t,n)=>(0,re.startSpan)({op:"gen_ai.create_agent",name:"create_agent",attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:lb,[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.create_agent",[sp]:"create_agent"}},a=>{try{var o,i,s,l;let u=Reflect.apply(e,t,n),c=n.length>0?n[0]:{};c?.name&&"string"==typeof c.name&&(a.setAttribute(sb,c.name),a.updateName(`create_agent ${c.name}`));let d=u.invoke;return d&&"function"==typeof d&&(o=d.bind(u),i=u,s=c,l=r,u.invoke=new Proxy(o,{apply:(e,t,n)=>(0,re.startSpan)({op:"gen_ai.invoke_agent",name:"invoke_agent",attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:lb,[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.invoke_agent",[sp]:"invoke_agent"}},async r=>{try{let a=s?.name;a&&"string"==typeof a&&(r.setAttribute("gen_ai.pipeline.name",a),r.setAttribute(sb,a),r.updateName(`invoke_agent ${a}`));let o=n.length>1?n[1]:void 0,u=o?.configurable,c=u?.thread_id;c&&"string"==typeof c&&r.setAttribute(sS,c);let d=function(e){if(!e.builder?.nodes?.tools?.runnable?.tools)return null;let t=e.builder?.nodes?.tools?.runnable?.tools;return t&&Array.isArray(t)&&0!==t.length?t.map(e=>({name:e.lc_kwargs?.name,description:e.lc_kwargs?.description,schema:e.lc_kwargs?.schema})):null}(i);d&&r.setAttribute(sy,JSON.stringify(d));let p=l.recordInputs,f=l.recordOutputs,h=n.length>0?n[0]?.messages??[]:[];if(h&&p){let e=s5(h),{systemInstructions:t,filteredMessages:n}=sG(e);t&&r.setAttribute(sm,t);let a=s$(n),o=Array.isArray(n)?n.length:0;r.setAttributes({[sh]:JSON.stringify(a),[sf]:o})}let m=await Reflect.apply(e,t,n);return f&&function(e,t,n){let r=n?.messages;if(!r||!Array.isArray(r))return;let a=t?.length??0,o=r.length>a?r.slice(a):[];if(0===o.length)return;let i=function(e){if(!e||0===e.length)return null;let t=[];for(let n of e)if(n&&"object"==typeof n){let e=n.tool_calls;e&&Array.isArray(e)&&t.push(...e)}return t.length>0?t:null}(o);i&&e.setAttribute(sv,JSON.stringify(i));let s=s5(o);e.setAttribute(sg,JSON.stringify(s));let l=0,u=0,c=0;for(let t of o){let n=function(e){let t=0,n=0,r=0;if(e.usage_metadata&&"object"==typeof e.usage_metadata){let a=e.usage_metadata;return"number"==typeof a.input_tokens&&(t=a.input_tokens),"number"==typeof a.output_tokens&&(n=a.output_tokens),"number"==typeof a.total_tokens&&(r=a.total_tokens),{inputTokens:t,outputTokens:n,totalTokens:r}}if(e.response_metadata&&"object"==typeof e.response_metadata){let a=e.response_metadata;if(a.tokenUsage&&"object"==typeof a.tokenUsage){let e=a.tokenUsage;"number"==typeof e.promptTokens&&(t=e.promptTokens),"number"==typeof e.completionTokens&&(n=e.completionTokens),"number"==typeof e.totalTokens&&(r=e.totalTokens)}}return{inputTokens:t,outputTokens:n,totalTokens:r}}(t);l+=n.inputTokens,u+=n.outputTokens,c+=n.totalTokens,function(e,t){if(t.response_metadata&&"object"==typeof t.response_metadata){let n=t.response_metadata;n.model_name&&"string"==typeof n.model_name&&e.setAttribute(ss,n.model_name),n.finish_reason&&"string"==typeof n.finish_reason&&e.setAttribute(si,[n.finish_reason])}}(e,t)}l>0&&e.setAttribute(su,l),u>0&&e.setAttribute(sc,u),c>0&&e.setAttribute(sd,c)}(r,h??null,m),m}catch(e){throw r.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),e}})})),u}catch(e){throw a.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),e}})}),e}let lE={"responses.create":{operation:"chat"}
490,"chat.completions.create":{operation:"chat"},"embeddings.create":{operation:"embeddings"},"conversations.create":{operation:"chat"}},lw=["response.created","response.in_progress","response.failed","response.completed","response.incomplete","response.queued","response.output_text.delta","response.output_item.added","response.function_call_arguments.delta","response.function_call_arguments.done","response.output_item.done"];function lT(e,t,n,r){void 0!==t&&e.setAttributes({"openai.usage.prompt_tokens":t,[su]:t}),void 0!==n&&e.setAttributes({"openai.usage.completion_tokens":n,[sc]:n}),void 0!==r&&e.setAttributes({[sd]:r})}function lk(e,t,n,r){e.setAttributes({[sw]:t,[sl]:t}),e.setAttributes({[sT]:n,[ss]:n}),e.setAttributes({[sk]:new Date(1e3*r).toISOString()})}async function*lR(e,t,n){let r={eventTypes:[],responseTexts:[],finishReasons:[],responseId:"",responseModel:"",responseTimestamp:0,promptTokens:void 0,completionTokens:void 0,totalTokens:void 0,chatCompletionToolCalls:{},responsesApiToolCalls:[]};try{for await(let a of e){if(null!==a&&"object"==typeof a&&"object"in a&&"chat.completion.chunk"===a.object){for(let e of(r.responseId=a.id??r.responseId,r.responseModel=a.model??r.responseModel,r.responseTimestamp=a.created??r.responseTimestamp,a.usage&&(r.promptTokens=a.usage.prompt_tokens,r.completionTokens=a.usage.completion_tokens,r.totalTokens=a.usage.total_tokens),a.choices??[]))n&&(e.delta?.content&&r.responseTexts.push(e.delta.content),e.delta?.tool_calls&&function(e,t){for(let n of e){let e=n.index;if(void 0!==e&&n.function)if(e in t.chatCompletionToolCalls){let r=t.chatCompletionToolCalls[e];n.function.arguments&&r?.function&&(r.function.arguments+=n.function.arguments)}else t.chatCompletionToolCalls[e]={...n,function:{name:n.function.name,arguments:n.function.arguments||""}}}}(e.delta.tool_calls,r)),e.finish_reason&&r.finishReasons.push(e.finish_reason)}else null!==a&&"object"==typeof a&&"type"in a&&"string"==typeof a.type&&a.type.startsWith("response.")&&function(e,t,n,r){if(!(e&&"object"==typeof e))return t.eventTypes.push("unknown:non-object");if(e instanceof Error){r.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream-response"}});return}if("type"in e){if(!lw.includes(e.type))return t.eventTypes.push(e.type);if(n&&("response.output_item.done"===e.type&&"item"in e&&t.responsesApiToolCalls.push(e.item),"response.output_text.delta"===e.type&&"delta"in e&&e.delta))return t.responseTexts.push(e.delta);if("response"in e){let{response:r}=e;t.responseId=r.id??t.responseId,t.responseModel=r.model??t.responseModel,t.responseTimestamp=r.created_at??t.responseTimestamp,r.usage&&(t.promptTokens=r.usage.input_tokens,t.completionTokens=r.usage.output_tokens,t.totalTokens=r.usage.total_tokens),r.status&&t.finishReasons.push(r.status),n&&r.output_text&&t.responseTexts.push(r.output_text)}}}(a,r,n,t);yield a}}finally{lk(t,r.responseId,r.responseModel,r.responseTimestamp),lT(t,r.promptTokens,r.completionTokens,r.totalTokens),t.setAttributes({[s_]:!0}),r.finishReasons.length&&t.setAttributes({[si]:JSON.stringify(r.finishReasons)}),n&&r.responseTexts.length&&t.setAttributes({[sg]:r.responseTexts.join("")});let e=[...Object.values(r.chatCompletionToolCalls),...r.responsesApiToolCalls];e.length>0&&t.setAttributes({[sv]:JSON.stringify(e)}),t.end()}}function lx(e,t,n){if("embeddings"===n&&"input"in t){let n=t.input;if(null==n||"string"==typeof n&&0===n.length||Array.isArray(n)&&0===n.length)return;e.setAttribute(sE,"string"==typeof n?n:JSON.stringify(n));return}let r="input"in t?t.input:"messages"in t?t.messages:void 0;if(!r||Array.isArray(r)&&0===r.length)return;let{systemInstructions:a,filteredMessages:o}=sG(r);a&&e.setAttribute(sm,a);let i=sq(o);e.setAttribute(sh,i),Array.isArray(o)?e.setAttribute(sf,o.length):e.setAttribute(sf,1)}function lI(e,t){return function e(t,n="",r){return new Proxy(t,{get(t,a){let o=t[a],i=sH(n,String(a)),s=lE[i];if("function"==typeof o&&s)return function(...e){let n,a=s.operation,l=function(e,t){let n={[i8]:"openai",[sp]:t,[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.openai"};if(e.length>0&&"object"==typeof e[0]&&null!==e[0]){let t,r,a=e[0],o=function(e){let t=[...Array.isArray(e.tools)?e.tools:[],...e.web_search_options&&"object"==typeof e.web_search_options?[{type:"web_search_options",...e.web_search_options}]:[]];if(0!==t.length)try{return JSON.stringify(t)}catch(e){Z.DEBUG_BUILD&&V.debug.error("Failed to serialize OpenAI tools:",e);return}}(a);o&&(n[sy]=o),Object.assign(n,(t={[i7]:a.model??"unknown"},"temperature"in a&&(t[se]=a.temperature),"top_p"in a&&(t[sa]=a.top_p),"frequency_penalty"in a&&(t[sn]=a.frequency_penalty),"presence_penalty"in a&&(t[sr]=a.presence_penalty),"stream"in a&&(t[i9]=a.stream),"encoding_format"in a&&(t["gen_ai.request.encoding_format"]=a.encoding_format),"dimensions"in a&&(t["gen_ai.request.dimensions"]=a.dimensions),(r="conversation"in a&&"string"==typeof a.conversation?a.conversation:"previous_response_id"in a&&"string"==typeof a.previous_response_id?a.previous_response_id:void 0)&&(t[sS]=r),t))}else n[i7]="unknown";return n}(e,a),u=l[i7]||"unknown",c=e[0],d=c&&"object"==typeof c&&!0===c.stream,p={name:`${a} ${u}`,op:`gen_ai.${a}`,attributes:l};if(d){let n,s=(0,re.startSpanManual)(p,s=>(n=o.apply(t,e),r.recordInputs&&c&&lx(s,c,a),(async()=>{try{let e=await n;return lR(e,s,r.recordOutputs??!1)}catch(e){throw s.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream",data:{function:i}}}),s.end(),e}})()));return sY(n,s,"auto.ai.openai")}let f=(0,re.startSpan)(p,s=>(n=o.apply(t,e),r.recordInputs&&c&&lx(s,c,a),n.then(e=>(!function(e,t,n){if(t&&"object"==typeof t)if(null!==t&&"object"==typeof t&&"object"in t&&"chat.completion"===t.object){if(lk(e,t.id,t.model,t.created),t.usage&&lT(e,t.usage.prompt_tokens,t.usage.completion_tokens,t.usage.total_tokens),Array.isArray(t.choices)){let r=t.choices.map(e=>e.finish_reason).filter(e=>null!==e);if(r.length>0&&e.setAttributes({[si]:JSON.stringify(r)}),n){let n=t.choices.map(e=>e.message?.tool_calls).filter(e=>Array.isArray(e)&&e.length>0).flat();n.length>0&&e.setAttributes({[sv]:JSON.stringify(n)})}}if(n&&t.choices?.length){let n=t.choices.map(e=>e.message?.content||"");e.setAttributes({[sg]:JSON.stringify(n)})}}else if(null!==t&&"object"==typeof t&&"object"in t&&"response"===t.object){if(lk(e,t.id,t.model,t.created_at),t.status&&e.setAttributes({[si]:JSON.stringify([t.status])}),t.usage&&lT(e,t.usage.input_tokens,t.usage.output_tokens,t.usage.total_tokens),n&&Array.isArray(t.output)&&t.output.length>
4900){let n=t.output.filter(e=>"object"==typeof e&&null!==e&&"function_call"===e.type);n.length>0&&e.setAttributes({[sv]:JSON.stringify(n)})}n&&t.output_text&&e.setAttributes({[sg]:t.output_text})}else null!==t&&"object"==typeof t&&"object"in t&&"list"===t.object&&"string"==typeof t.model&&t.model.toLowerCase().includes("embedding")?(e.setAttributes({[sT]:t.model,[ss]:t.model}),t.usage&&lT(e,t.usage.prompt_tokens,void 0,t.usage.total_tokens)):null!==t&&"object"==typeof t&&"object"in t&&"conversation"===t.object&&function(e,t){let{id:n,created_at:r}=t;e.setAttributes({[sw]:n,[sl]:n,[sS]:n}),r&&e.setAttributes({[sk]:new Date(1e3*r).toISOString()})}(e,t)}(s,e,r.recordOutputs),e),e=>{throw(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.ai.openai",data:{function:i}}}),e})));return sY(n,f,"auto.ai.openai")};return"function"==typeof o?o.bind(t):o&&"object"==typeof o?e(o,i,r):o}})}(e,"",sz(t))}let lC=["reauthenticate","signInAnonymously","signInWithOAuth","signInWithIdToken","signInWithOtp","signInWithPassword","signInWithSSO","signOut","signUp","verifyOtp"],lN=["createUser","deleteUser","listUsers","getUserById","updateUserById","inviteUserByEmail"],lP={eq:"eq",neq:"neq",gt:"gt",gte:"gte",lt:"lt",lte:"lte",like:"like","like(all)":"likeAllOf","like(any)":"likeAnyOf",ilike:"ilike","ilike(all)":"ilikeAllOf","ilike(any)":"ilikeAnyOf",is:"is",in:"in",cs:"contains",cd:"containedBy",sr:"rangeGt",nxl:"rangeGte",sl:"rangeLt",nxr:"rangeLte",adj:"rangeAdjacent",ov:"overlaps",fts:"",plfts:"plain",phfts:"phrase",wfts:"websearch",not:"not"},lO=["select","insert","upsert","update","delete"];function lA(e){try{e.__SENTRY_INSTRUMENTED__=!0}catch{}}function lM(e){try{return e.__SENTRY_INSTRUMENTED__}catch{return!1}}function lL(e,t=!1){return new Proxy(e,{apply:(n,r,a)=>(0,re.startSpan)({name:`auth ${t?"(admin) ":""}${e.name}`,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.db.supabase",[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"db","db.system":"postgresql","db.operation":`auth.${t?"admin.":""}${e.name}`}},e=>Reflect.apply(n,r,a).then(t=>(t&&"object"==typeof t&&"error"in t&&t.error?(e.setStatus({code:n9.SPAN_STATUS_ERROR}),(0,K.captureException)(t.error,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}})):e.setStatus({code:n9.SPAN_STATUS_OK}),e.end(),t)).catch(t=>{throw e.setStatus({code:n9.SPAN_STATUS_ERROR}),e.end(),(0,K.captureException)(t,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}}),t}).then(...a))})}let lD=e=>{var t;if(!e){Z.DEBUG_BUILD&&V.debug.warn("Supabase integration was not installed because no Supabase client was provided.");return}lM((t=e.constructor===Function?e:e.constructor).prototype.from)||(t.prototype.from=new Proxy(t.prototype.from,{apply(e,t,n){let r=Reflect.apply(e,t,n);return function(e){for(let t of lO)lM(e.prototype[t])||(e.prototype[t]=new Proxy(e.prototype[t],{apply(e,n,r){let a=Reflect.apply(e,n,r),o=a.constructor;return Z.DEBUG_BUILD&&V.debug.log(`Instrumenting ${t} operation's PostgRESTFilterBuilder`),lM(o.prototype.then)||(o.prototype.then=new Proxy(o.prototype.then,{apply(e,t,n){let r=function(e,t={}){switch(e){case"GET":return"select";case"POST":if(t.Prefer?.includes("resolution="))return"upsert";return"insert";case"PATCH":return"update";case"DELETE":return"delete";default:return"<unknown-op>"}}(t.method,t.headers);if(!lO.includes(r)||!t?.url?.pathname||"string"!=typeof t.url.pathname)return Reflect.apply(e,t,n);let a=t.url.pathname.split("/"),o=a.length>0?a[a.length-1]:"",i=[];for(let[e,n]of t.url.searchParams.entries())i.push(function(e,t){let n;if(""===t||"*"===t)return"select(*)";if("select"===e)return`select(${t})`;if("or"===e||e.endsWith(".or"))return`${e}${t}`;let[r,...a]=t.split(".");return n=r?.startsWith("fts")?"textSearch":r?.startsWith("plfts")?"textSearch[plain]":r?.startsWith("phfts")?"textSearch[phrase]":r?.startsWith("wfts")?"textSearch[websearch]":r&&lP[r]||"filter",`${n}(${e}, ${a.join(".")})`}(e,n));let s=Object.create(null);if((0,eC.isPlainObject)(t.body))for(let[e,n]of Object.entries(t.body))s[e]=n;let l=`${"select"===r?"":`${r}${s?"(...) ":""}`}${i.join(" ")} from(${o})`,u={"db.table":o,"db.schema":t.schema,"db.url":t.url.origin,"db.sdk":t.headers["X-Client-Info"],"db.system":"postgresql","db.operation":r,[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.db.supabase",[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"db"};return i.length&&(u["db.query"]=i),Object.keys(s).length&&(u["db.body"]=s),(0,re.startSpan)({name:l,attributes:u},a=>Reflect.apply(e,t,[]).then(e=>
490{if(a&&(e&&"object"==typeof e&&"status"in e&&(0,n9.setHttpStatus)(a,e.status||500),a.end()),e?.error){let t=Error(e.error.message);e.error.code&&(t.code=e.error.code),e.error.details&&(t.details=e.error.details);let n={};i.length&&(n.query=i),Object.keys(s).length&&(n.body=s),(0,K.captureException)(t,e=>(e.addEventProcessor(e=>((0,eo.addExceptionMechanism)(e,{handled:!1,type:"auto.db.supabase.postgres"}),e)),e.setContext("supabase",n),e))}let t={type:"supabase",category:`db.${r}`,message:l},n={};return i.length&&(n.query=i),Object.keys(s).length&&(n.body=s),Object.keys(n).length&&(t.data=n),tK(t),e},e=>{throw a&&((0,n9.setHttpStatus)(a,500),a.end()),e}).then(...n))}}),lA(o.prototype.then)),a}}),lA(e.prototype[t]))}(r.constructor),r}}),lA(t.prototype.from));let n=e.auth;if(!(!n||lM(e.auth))){for(let t of lC){let r=n[t];r&&"function"==typeof e.auth[t]&&(e.auth[t]=lL(r))}for(let t of lN){let r=n.admin[t];r&&"function"==typeof e.auth.admin[t]&&(e.auth.admin[t]=lL(r,!0))}lA(e.auth)}},lU=e=>{let t;return t=e.supabaseClient,{setupOnce(){lD(t)},name:"Supabase"}};function lj(e,t,n,r,a){ez({level:e,message:t,attributes:n,severityNumber:a},r)}function lB(e,t,{scope:n}={}){lj("trace",e,t,n)}function lF(e,t,{scope:n}={}){lj("debug",e,t,n)}function l$(e,t,{scope:n}={}){lj("info",e,t,n)}function lz(e,t,{scope:n}={}){lj("warn",e,t,n)}function lH(e,t,{scope:n}={}){lj("error",e,t,n)}function lW(e,t,{scope:n}={}){lj("fatal",e,t,n)}function lq(e,...t){let n=new String(String.raw(e,...t));return n.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=t,n}e.s(["debug",0,lF,"error",0,lH,"fatal",0,lW,"info",0,l$,"trace",0,lB,"warn",0,lz],655115),e.i(655115),e.s(["debug",0,lF,"error",0,lH,"fatal",0,lW,"fmt",0,lq,"info",0,l$,"trace",0,lB,"warn",0,lz],160443);var lG=e.i(160443),lG=lG;function lV(e,t,n,r){!function(e,t){let n=t?.scope??(0,Q.getCurrentScope)(),r=t?.captureSerializedMetric??eG,a=n?.getClient()??(0,Q.getClient)();if(!a){Z.DEBUG_BUILD&&V.debug.warn("No client available to capture metric.");return}let{_experiments:o,enableMetrics:i,beforeSendMetric:s}=a.getOptions();if(!(i??o?.enableMetrics??!0)){Z.DEBUG_BUILD&&V.debug.warn("metrics option not enabled, metric will not be captured.");return}let{user:l,attributes:u}=(0,eN.getCombinedScopeData)((0,Q.getIsolationScope)(),n),c=function(e,t,n){let{release:r,environment:a}=t.getOptions(),o={...e.attributes};eq(o,"user.id",n.id,!1),eq(o,"user.email",n.email,!1),eq(o,"user.name",n.username,!1),eq(o,"sentry.release",r),eq(o,"sentry.environment",a);let{name:i,version:s}=t.getSdkMetadata()?.sdk??{};eq(o,"sentry.sdk.name",i),eq(o,"sentry.sdk.version",s);let l=t.getIntegrationByName("Replay"),u=l?.getReplayId(!0);return eq(o,"sentry.replay_id",u),u&&l?.getRecordingMode()==="buffer"&&eq(o,"sentry._internal.replay_is_buffering",!0),{...e,attributes:o}}(e,a,l);a.emit("processMetric",c);let d=s||o?.beforeSendMetric,p=d?d(c):c;if(!p){Z.DEBUG_BUILD&&V.debug.log("`beforeSendMetric` returned `null`, will not send metric.");return}let f=function(e,t,n,r){let[,a]=eU(t,n),o=(0,eP._getSpanForScope)(n),i=o?o.spanContext().traceId:a?.trace_id,s=o?o.spanContext().spanId:void 0,l=(0,eO.timestampInSeconds)(),u=eM(l);return{timestamp:l,trace_id:i??"",span_id:s,name:e.name,type:e.type,unit:e.unit,value:e.value,attributes:{...ex(r),...ex(e.attributes,"skip-undefined"),[u.key]:u.value}}}(p,a,n,u);Z.DEBUG_BUILD&&V.debug.log("[Metric]",f),r(a,f),a.emit("afterCaptureMetric",p)}({type:e,name:t,value:n,unit:r?.unit,attributes:r?.attributes},{scope:r?.scope})}e.s(["count",0,function(e,t=1,n){lV("counter",e,t,n)},"distribution",0,function(e,t,n){lV("distribution",e,t,n)},"gauge",0,function(e,t,n){lV("gauge",e,t,n)}],386277);var lY=e.i(386277),lY=lY;let lJ=new Map,lX=new Set;function lK(e,t){t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{if(!t.filename||t.module_metadata)return;let n=function(e,t){if(Y.GLOBAL_OBJ._sentryModuleMetadata)for(let t of Object.keys(Y.GLOBAL_OBJ._sentryModuleMetadata)){let n=Y.GLOBAL_OBJ._sentryModuleMetadata[t];if(!lX.has(t)){for(let r of(lX.add(t),e(t).reverse()))if(r.filename){lJ.set(r.filename,n);break}}}return lJ.get(t)}(e,t.filename);n&&(t.module_metadata=n)})})}
490function lQ(e){e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{delete e.module_metadata})})}let lZ=()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",e=>{(0,eB.forEachEnvelopeItem)(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&(lQ(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{t.type||lK(e.getOptions().stackParser,t)})}}),l0=e=>({name:"ThirdPartyErrorsFilter",setup(e){e.on("beforeEnvelope",e=>{(0,eB.forEachEnvelopeItem)(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&(lQ(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{t.type||lK(e.getOptions().stackParser,t)})},processEvent(t){let n=function(e,t){let n=(0,eg.getFramesFromEvent)(e);if(n)return n.filter((e,n)=>!!e.filename&&(null!=e.lineno||null!=e.colno||null!=e.instruction_addr)&&(!t||!function(e,t){if(0!==t||!e.context_line||!e.filename||!e.filename.includes("sentry")||!e.filename.includes("helpers")||!e.context_line.includes(l3))return!1;if(e.pre_context){let t=e.pre_context.length;for(let n=0;n<t;n++)if(e.pre_context[n]?.includes(l2))return!0}return!1}(e,n))).map(e=>e.module_metadata?Object.keys(e.module_metadata).filter(e=>e.startsWith(l1)).map(e=>e.slice(l1.length)):[])}(t,e.ignoreSentryInternalFrames);if(n&&n["drop-error-if-contains-third-party-frames"===e.behaviour||"apply-tag-if-contains-third-party-frames"===e.behaviour?"some":"every"](t=>!t.some(t=>e.filterKeys.includes(t)))){if("drop-error-if-contains-third-party-frames"===e.behaviour||"drop-error-if-exclusively-contains-third-party-frames"===e.behaviour)return null;t.tags={...t.tags,third_party_code:!0}}return t}}),l1="_sentryBundlerPluginAppKey:",l2="Attempt to invoke user-land function",l3="fn.apply(this, wrappedArguments)";function l5(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):void 0,keys:"keys"in e?JSON.stringify(e.keys):void 0,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):void 0}}let l4=(e={})=>{let t=e.limit??10;return{name:"ZodErrors",processEvent:(n,r)=>(function(e,t=!1,n,r){var a;if(!n.exception?.values||!r.originalException||(a=r.originalException,!((0,eC.isError)(a)&&"ZodError"===a.name&&Array.isArray(a.issues)))||0===r.originalException.issues.length)return n;try{let a=(t?r.originalException.issues:r.originalException.issues.slice(0,e)).map(l5);return t&&(Array.isArray(r.attachments)||(r.attachments=[]),r.attachments.push({filename:"zod_issues.json",data:JSON.stringify({issues:a})})),{...n,exception:{...n.exception,values:[{...n.exception.values[0],value:function(e){let t=new Set;for(let n of e.issues){let e=n.path.map(e=>"number"==typeof e?"<array>":e).join(".");e.length>0&&t.add(e)}let n=Array.from(t);if(0===n.length){let t="variable";if(e.issues.length>0){let n=e.issues[0];void 0!==n&&"expected"in n&&"string"==typeof n.expected&&(t=n.expected)}return`Failed to validate ${t}`}return`Failed to validate keys: ${(0,ei.truncate)(n.join(", "),100)}`}(r.originalException)},...n.exception.values.slice(1)]},extra:{...n.extra,"zoderror.issues":a.slice(0,e)}}}catch(e){return{...n,extra:{...n.extra,"zoderrors sentry integration parse error":{message:"an exception was thrown while processing ZodError within applyZodErrorsToEvent()",error:e instanceof Error?`${e.name}: ${e.message} 491${e.stack}`:"unknown"}}}}})(t,e.saveZodIssuesAsAttachment,n,r)}},l6={startProfiler:function(){let e=(0,Q.getClient)();if(!e){nr&&V.debug.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){nr&&V.debug.warn("BrowserProfiling integration is not available");return}e.emit("startUIProfiler")},stopProfiler:function(){let e=(0,Q.getClient)();if(!e){nr&&V.debug.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){nr&&V.debug.warn("ProfilingIntegration is not available");return}e.emit("stopUIProfiler")}};function l8(e,{metadata:t,tunnel:n,dsn:r}){let a={event_id:e.event_id,sent_at:new Date().toISOString(),...t?.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:(0,eE.dsnToString)(r)}},o=[{type:"user_report"},e];return(0,eB.createEnvelope)(a,[o])}function l7(e={}){let t=tC.document,n=t?.head||t?.body;if(!n){nr&&V.debug.error("[showReportDialog] Global document not defined");return}let r=(0,Q.getCurrentScope)(),a=(0,Q.getClient)(),o=a?.getDsn();if(!o){nr&&V.debug.error("[showReportDialog] DSN not configured");return}let i={...e,user:{...r.getUser(),...e.user},eventId:e.eventId||(0,K.lastEventId)()},s=tC.document.createElement("script");s.async=!0,s.crossOrigin="anonymous",s.src=function(e,t){let n=(0,eE.makeDsn)(e);if(!n)return"";let r=`${ew(n)}embed/error-page/`,a=`dsn=${(0,eE.dsnToString)(n)}`;for(let e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){let e=t.user;if(!e)continue;e.name&&(a+=`&name=${encodeURIComponent(e.name)}
491`),e.email&&(a+=`&email=${encodeURIComponent(e.email)}`)}else a+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${a}`}(o,i);let{onLoad:l,onClose:u}=i;if(l&&(s.onload=l),u){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{u()}finally{tC.removeEventListener("message",e)}};tC.addEventListener("message",e)}n.appendChild(s)}let l9=Y.GLOBAL_OBJ,ue=new WeakMap,ut=(e={})=>{let t=e.types||["crash","deprecation","intervention"];function n(e){if(ue.has((0,Q.getClient)()))for(let t of e)(0,Q.withScope)(e=>{e.setExtra("url",t.url);let n=`ReportingObserver [${t.type}]`,r="No details available";if(t.body){let n={};for(let e in t.body)n[e]=t.body[e];if(e.setExtra("body",n),"crash"===t.type){let e=t.body;r=[e.crashId||"",e.reason||""].join(" ").trim()||r}else r=t.body.message||r}(0,K.captureMessage)(`${n}: ${r}`)})}return{name:"ReportingObserver",setupOnce(){"ReportingObserver"in t$&&new l9.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(e){ue.set(e,!0)}}};function un(e,t){var n,r,a,o;let i,s=t?.getDsn(),l=t?.getOptions().tunnel;return n=e,r=s,!(!(i=t0(n))||tZ(i))&&!!r&&i.host.includes(r.host)&&/(^|&|\?)sentry_key=/.test(i.search)||(a=e,!!(o=l)&&ur(a)===ur(o))}function ur(e){return"/"===e[e.length-1]?e.slice(0,-1):e}let ua=(e={})=>{let t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){var n,r,a,o;n=e,r=t,tH()&&tW(e=>{if((0,Q.getClient)()!==n)return;let{response:t,args:a,error:o,virtualError:i}=e,[s,l]=a;t&&function(e,t,n,r,a){if(us(e,n.status,n.url)){var o,i;let e,s,l,u,c=(o=t,!(i=r)&&o instanceof Request||o instanceof Request&&o.bodyUsed?o:new Request(o,i));uu()&&([e,l]=uo("Cookie",c),[s,u]=uo("Set-Cookie",n));let d=ul({url:c.url,method:c.method,status:n.status,requestHeaders:e,responseHeaders:s,requestCookies:l,responseCookies:u,error:a,type:"fetch"});(0,K.captureEvent)(d)}}(r,s,t,l,o||i)},!1),a=e,o=t,"XMLHttpRequest"in Y.GLOBAL_OBJ&&t9(e=>{if((0,Q.getClient)()!==a)return;let{error:t,virtualError:n}=e,r=e.xhr,i=r[t7];if(!i)return;let{method:s,request_headers:l}=i;try{!function(e,t,n,r,a){if(us(e,t.status,t.responseURL)){let e,o,i;if(uu()){try{let e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(o=ui(e))}catch{}try{let e;i=(e=t.getAllResponseHeaders())?e.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return n&&r&&(e[n]=r),e},{}):{}}catch{}e=r}let s=ul({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:i,responseCookies:o,error:a,type:"xhr"});(0,K.captureEvent)(s)}}(o,r,s,l,t||n)}catch(e){nr&&V.debug.warn("Error while extracting response event form XHR response",e)}})}}};function uo(e,t){var n;let r,a,o=(n=t.headers,r={},n.forEach((e,t)=>{r[t]=e}),r);try{let t=o[e]||o[e.toLowerCase()]||void 0;t&&(a=ui(t))}catch{}return[o,a]}function ui(e){return e.split("; ").reduce((e,t)=>{let[n,r]=t.split("=");return n&&r&&(e[n]=r),e},{})}function us(e,t,n){var r,a;return r=e.failedRequestStatusCodes,r.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])&&(a=e.failedRequestTargets,a.some(e=>"string"==typeof e?n.includes(e):e.test(n)))&&!un(n,(0,Q.getClient)())}function ul(e){let t=(0,Q.getClient)(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,a=`HTTP Client Error with status code: ${e.status}`,o={message:a,exception:{values:[{type:"Error",value:a,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:function(e){if(e){let t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}(e.responseHeaders)}}};return(0,eo.addExceptionMechanism)(o,{type:`auto.http.client.${e.type}`,handled:!1}),o}function uu(){let e=(0,Q.getClient)();return!!e&&!!e.getOptions().sendDefaultPii}let uc=Y.GLOBAL_OBJ,ud=(e={})=>{let t=null!=e.frameContextLines?e.frameContextLines:7;return{name:"ContextLines",processEvent:e=>(function(e,t){let n=uc.document,r=uc.location&&t2(uc.location.href);if(!n||!r)return e;let a=e.exception?.values;if(!a?.length)return e;let o=n.documentElement.innerHTML;if(!o)return e;let i=["<!DOCTYPE html>","<html>",...o.split("\n"),"</html>"];
491return a.forEach(e=>{let n=e.stacktrace;n?.frames&&(n.frames=n.frames.map(e=>{var n,a,o,s;return n=e,a=i,o=r,s=t,n.filename===o&&n.lineno&&a.length&&(0,eo.addContextToFrame)(a,n,s),n}))}),e})(e,t)}};function up(e){if(ug(e))return`persisted ${e.operationName}`;if(um(e)){let{query:t,operationName:n}=e,{operationName:r=n,operationType:a}=function(e){let t=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)(\w+)(?:\s*)[{(]/);if(t)return{operationType:t[1],operationName:t[2]};let n=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)[{(]/);return n?{operationType:n[1],operationName:void 0}:{operationType:void 0,operationName:void 0}}(t);return r?`${a} ${r}`:`${a}`}return"unknown"}function uf(e){let t;if("xhr"in e){let n=e.xhr[t7];t=n&&ag(n.body)[0]}else t=ag(ay(e.input))[0];return t}function uh(e){return"object"==typeof e&&null!==e}function um(e){return uh(e)&&"string"==typeof e.query}function ug(e){return uh(e)&&"string"==typeof e.operationName&&uh(e.extensions)&&uh(e.extensions.persistedQuery)&&"string"==typeof e.extensions.persistedQuery.sha256Hash&&"number"==typeof e.extensions.persistedQuery.version}function uy(e){try{let t=JSON.parse(e);if(um(t)||ug(t))return t;return}catch{return}}let u_=e=>({name:"GraphQLClient",setup(t){var n,r,a,o;n=t,r=e,n.on("beforeOutgoingRequestSpan",(e,t)=>{let n=(0,eD.spanToJSON)(e).data||{};if("http.client"!==n[em.SEMANTIC_ATTRIBUTE_SENTRY_OP])return;let a=n[em.SEMANTIC_ATTRIBUTE_URL_FULL]||n["http.url"],o=n[em.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD]||n["http.method"];if(!(0,eC.isString)(a)||!(0,eC.isString)(o))return;let{endpoints:i}=r,s=(0,ei.stringMatchesSomePattern)(a,i),l=uf(t);if(s&&l){let t=uy(l);if(t){let n=up(t);e.updateName(`${o} ${a} (${n})`),um(t)&&e.setAttribute("graphql.document",t.query),ug(t)&&(e.setAttribute("graphql.persisted_query.hash.sha256",t.extensions.persistedQuery.sha256Hash),e.setAttribute("graphql.persisted_query.version",t.extensions.persistedQuery.version))}}}),a=t,o=e,a.on("beforeOutgoingRequestBreadcrumb",(e,t)=>{let{category:n,type:r,data:a}=e;if("http"===r&&("fetch"===n||"xhr"===n)){let e=a?.url,{endpoints:n}=o,r=(0,ei.stringMatchesSomePattern)(e,n),i=uf(t);if(r&&a&&i){let e=uy(i);if(!a.graphql&&e){let t=up(e);a["graphql.operation"]=t,um(e)&&(a["graphql.document"]=e.query),ug(e)&&(a["graphql.persisted_query.hash.sha256"]=e.extensions.persistedQuery.sha256Hash,a["graphql.persisted_query.version"]=e.extensions.persistedQuery.version)}}}})}}),uv=Y.GLOBAL_OBJ,ub="sentryReplaySession",uS="Unable to send Replay";var uE=Object.defineProperty,uw=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?uE(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},uT=((A=uT||{})[A.Document=0]="Document",A[A.DocumentType=1]="DocumentType",A[A.Element=2]="Element",A[A.Text=3]="Text",A[A.CDATA=4]="CDATA",A[A.Comment=5]="Comment",A);function uk(e){let t=e?.host;return t?.shadowRoot===e}function uR(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function ux(e){try{var t;let n=e.rules||e.cssRules;return n?((t=Array.from(n,uI).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 uI(e){let t;if("styleSheet"in e)try{t=ux(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){let t=e.cssText,n=e.selectorText.includes(":"),r="string"==typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){let r=e.style,a=r[n],o=r.getPropertyPriority(a);t+=`${a}:${r.getPropertyValue(a)}${o?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),n||r)return t}return t||e.cssText}class uC{constructor(){uw(this,"idNodeMap",new Map),uw(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(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);
491this.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 uN({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 uP({isMasked:e,element:t,value:n,maskInputFn:r}){let a=n||"";return e?(r&&(a=r(a,t)),"*".repeat(a.length)):a}function uO(e){return e.toLowerCase()}function uA(e){return e.toUpperCase()}let uM="__rrweb_original__";function uL(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?uO(t):null}function uD(e,t,n){return"INPUT"===t&&("radio"===n||"checkbox"===n)?e.getAttribute("value")||"":e.value}function uU(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(e){return null}let r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}let uj={};function uB(e){let t=uj[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 a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return uj[e]=r.bind(window)}function uF(...e){return uB("setTimeout")(...e)}function u$(...e){return uB("clearTimeout")(...e)}function uz(e){try{return e.contentDocument}catch(e){}}let uH=1,uW=RegExp("[^a-z0-9-_:]");function uq(){return uH++}let uG=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,uV=/^(?:[a-z+]+:)?\/\//i,uY=/^www\..*/i,uJ=/^(data:)([^,]*),(.*)/i;function uX(e,t){return(e||"").replace(uG,(e,n,r,a,o,i)=>{let s=r||o||i,l=n||a||"";if(!s)return e;if(uV.test(s)||uY.test(s)||uJ.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+s}${l})`;let u=t.split("/"),c=s.split("/");for(let e of(u.pop(),c))if("."===e)continue;else".."===e?u.pop():u.push(e);return`url(${l}${u.join("/")}${l})`})}let uK=/^[^ \t\n\r\u000c]+/,uQ=/^[, \t\n\r\u000c]+/,uZ=new WeakMap;function u0(e,t){return t&&""!==t.trim()?u1(e,t):t}function u1(e,t){let n=uZ.get(e);if(n||(n=e.createElement("a"),uZ.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function u2(e,t,n,r,a,o,i){if(!r)return r;if("src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0])return u0(e,r);if("background"===n&&("table"===t||"td"===t||"th"===t))return u0(e,r);if("srcset"===n)return function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r,a=e.exec(t.substring(n));return a?(r=a[0],n+=r.length,r):""}let a=[];for(;r(uQ),!(n>=t.length);){let o=r(uK);if(","===o.slice(-1))o=u0(e,o.substring(0,o.length-1)),a.push(o);else{let r="";o=u0(e,o);let i=!1;for(;;){let e=t.charAt(n);if(""===e){a.push((o+r).trim());break}if(i)")"===e&&(i=!1);else if(","===e){n+=1,a.push((o+r).trim());break}else"("===e&&(i=!0);r+=e,n+=1}}}return a.join(", ")}(e,r);if("style"===n){let t=uX(r,u1(e));return i&&i.size>0&&(t=function(e,t){if(!e||0===t.size)return e;try{let n=e.split(";"),r=[];for(let e of n){if(!(e=e.trim()))continue;let n=e.indexOf(":");if(-1===n){r.push(e);continue}let a=e.slice(0,n).trim();t.has(a)||r.push(e)}return r.join("; ")+(r.length>0&&e.endsWith(";")?";":"")}catch(t){return console.warn("Error filtering CSS properties:",t),e}}(t,i)),t}else if("object"===t&&"data"===n)return u0(e,r);return"function"==typeof o?o(n,r,a):r}function u3(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function u5(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:u5(e.parentNode,t,n,r+1)}function u4(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{return!1}}}function u6(e,t,n,r,a,o){try{let i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===i)return!1;if("INPUT"===i.tagName){let e=i.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(o){if((l=u5(i,u4(r,a)))<0)return!0;s=u5(i,u4(t,n),l>=0?l:1/0)}else{if((s=u5(i,u4(t,n)))<0)return!1;l=u5(i,u4(r,a),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!o}catch(e){}return!!o}function u8(e){return null==e?"":e.toLowerCase()}function u7(e,t){let n,{doc:r,mirror:a,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,skipChild:f=!1,inlineStylesheet:g=!0,maskInputOptions:y={},maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:S,dataURLOptions:E={}
491,inlineImages:w=!1,recordCanvas:T=!1,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x=5e3,onBlockedImageLoad:I,onStylesheetLoad:C,stylesheetLoadTimeout:N=5e3,keepIframeSrcFn:P=()=>!1,newlyAddedElement:O=!1,ignoreCSSAttributes:A}=t,{preserveWhiteSpace:M=!0}=t,L=function(e,t){let{doc:n,mirror:r,blockClass:a,blockSelector:o,unblockSelector:i,maskAllText:s,maskAttributeFn:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:g={},maskTextFn:y,maskInputFn:_,dataURLOptions:v={},inlineImages:b,recordCanvas:S,keepIframeSrcFn:E,newlyAddedElement:w=!1,ignoreCSSAttributes:T}=t,k=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:uT.Document,childNodes:[],compatMode:e.compatMode};return{type:uT.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:uT.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:k};case e.ELEMENT_NODE:return function(e,t){let n,{doc:r,blockClass:a,blockSelector:o,unblockSelector:i,inlineStylesheet:s,maskInputOptions:l={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:d={},inlineImages:p,recordCanvas:f,keepIframeSrcFn:g,newlyAddedElement:y=!1,rootId:_,maskTextClass:v,unmaskTextClass:b,maskTextSelector:S,unmaskTextSelector:E,ignoreCSSAttributes:w}=t,T=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,a,o,i),k=function(e){if(e instanceof HTMLFormElement)return"form";let t=uO(e.tagName);return uW.test(t)?"div":t}(e),R={},x=e.attributes.length;for(let t=0;t<x;t++){let n=e.attributes[t];n.name&&!u3(k,n.name,n.value)&&(R[n.name]=u2(r,k,uO(n.name),n.value,e,u,w))}if("link"===k&&s){let t=Array.from(r.styleSheets).find(t=>t.href===e.href),n=null;t&&(n=ux(t)),n&&(R.rel=null,R.href=null,R.crossorigin=null,R._cssText=uX(n,t.href))}if("style"===k&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=ux(e.sheet);t&&(R._cssText=uX(t,u1(r)))}if("input"===k||"textarea"===k||"select"===k||"option"===k){let t=uL(e),n=uD(e,uA(k),t),r=e.checked;if("submit"!==t&&"button"!==t&&n){let r=u6(e,v,S,b,E,uN({type:t,tagName:uA(k),maskInputOptions:l}));R.value=uP({isMasked:r,element:e,value:n,maskInputFn:c})}r&&(R.checked=r)}if("option"===k&&(e.selected&&!l.select?R.selected=!0:delete R.selected),"canvas"===k&&f){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 a=t.getImageData;if(new Uint32Array((uM in a?a[uM]:a).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)&&(R.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)&&(R.rr_dataURL=t)}}if("img"===k&&p){h||(m=(h=r.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"<unknown-src>",n=e.crossOrigin,a=()=>{e.removeEventListener("load",a);try{h.width=e.naturalWidth,h.height=e.naturalHeight,m.drawImage(e,0,0),R.rr_dataURL=h.toDataURL(d.type,d.quality)}catch(n){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a);return}console.warn(`Cannot inline img src=${t}! Error: ${n}`)}"anonymous"===e.crossOrigin&&(n?R.crossOrigin=n:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a)}if(("audio"===k||"video"===k)&&(R.rr_mediaState=e.paused?"paused":"played",R.rr_mediaCurrentTime=e.currentTime),!y&&(e.scrollLeft&&(R.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(R.rr_scrollTop=e.scrollTop)),T){let{width:t,height:n}=e.getBoundingClientRect();R={class:R.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==k||g(R.src)||(T||uz(e)||(R.rr_src=R.src),delete R.src);try{customElements.get(k)&&(n=!0)}catch(e){}return{type:uT.Element,tagName:k,attributes:R,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:T,rootId:_,isCustom:n}}(e,{doc:n,blockClass:a,blockSelector:o,unblockSelector:i,inlineStylesheet:f,maskAttributeFn:l,maskInputOptions:g,maskInputFn:_,dataURLOptions:v,inlineImages:b,recordCanvas:S,keepIframeSrcFn:E,newlyAddedElement:w,rootId:k,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,ignoreCSSAttributes:T});case e.TEXT_NODE:return function(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:a,maskTextSelector:o,unmaskTextSelector:i,maskTextFn:s,maskInputOptions:l,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName,p=e.textContent,f="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(f&&p){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(p=ux(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}p=uX(p,u1(t.doc))}h&&(p="SCRIPT_PLACEHOLDER");let g=u6(e,r,o,a,i,n);return f||h||m||!p||!g||(p=s?s(p,e.parentElement):p.replace(/[\S]/g,"*")),m&&p&&(l.textarea||g)&&(p=u?u(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===d&&p&&(p=uP({isMasked:u6(e,r,o,a,i,uN({type:null,tagName:d,maskInputOptions:l})),element:e,value:p,maskInputFn:u})),{type:uT.Text,textContent:p||"",isStyle:f,rootId:c}}(e,{doc:n,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,maskTextFn:y,maskInputOptions:g,maskInputFn:_,rootId:k});case e.CDATA_SECTION_NODE:return{type:uT.CDATA,textContent:"",rootId:k};case e.COMMENT_NODE:return{type:uT.Comment,textContent:e.textContent||"",rootId:k};default:return!1}}(e,{doc:r,mirror:a,blockClass:o,blockSelector:i,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,dataURLOptions:E,inlineImages:w,recordCanvas:T,keepIframeSrcFn:P,newlyAddedElement:O,ignoreCSSAttributes:A});if(!L)return console.warn(e,"not serialized"),null;n=a.hasNode(e)?a.getId(e):!function(e,t){if(t.comment&&e.type===uT.Comment)return!0;
491if(e.type===uT.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===uU(e.attributes.href)))return!0;else if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(u8(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===u8(e.attributes.name)||"icon"===u8(e.attributes.rel)||"apple-touch-icon"===u8(e.attributes.rel)||"shortcut icon"===u8(e.attributes.rel))))return!0;else if("meta"===e.tagName){if(t.headMetaDescKeywords&&u8(e.attributes.name).match(/^description|keywords$/))return!0;else if(t.headMetaSocial&&(u8(e.attributes.property).match(/^(og|twitter|fb):/)||u8(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===u8(e.attributes.name)))return!0;else if(t.headMetaRobots&&("robots"===u8(e.attributes.name)||"googlebot"===u8(e.attributes.name)||"bingbot"===u8(e.attributes.name)))return!0;else if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===u8(e.attributes.name)||"generator"===u8(e.attributes.name)||"framework"===u8(e.attributes.name)||"publisher"===u8(e.attributes.name)||"progid"===u8(e.attributes.name)||u8(e.attributes.property).match(/^article:/)||u8(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===u8(e.attributes.name)||"yandex-verification"===u8(e.attributes.name)||"csrf-token"===u8(e.attributes.name)||"p:domain_verify"===u8(e.attributes.name)||"verify-v1"===u8(e.attributes.name)||"verification"===u8(e.attributes.name)||"shopify-checkout-api-token"===u8(e.attributes.name)))return!0}}return!1}(L,S)&&(M||L.type!==uT.Text||L.isStyle||L.textContent.replace(/^\s+|\s+$/gm,"").length)?uq():-2;let D=Object.assign(L,{id:n});if(a.add(e,D),-2===n)return null;k&&k(e);let U=!f;if(D.type===uT.Element){U=U&&!D.needBlock;let t=e.shadowRoot;t&&uR(t)&&(D.isShadowHost=!0)}if((D.type===uT.Document||D.type===uT.Element)&&U){S.headWhitespace&&D.type===uT.Element&&"head"===D.tagName&&(M=!1);let t={doc:r,mirror:a,blockClass:o,blockSelector:i,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,skipChild:f,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:M,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x,onBlockedImageLoad:I,onStylesheetLoad:C,stylesheetLoadTimeout:N,keepIframeSrcFn:P,ignoreCSSAttributes:A};for(let n of e.childNodes?Array.from(e.childNodes):[]){let e=u7(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=u7(n,t);r&&(uR(e.shadowRoot)&&(r.isShadow=!0),D.childNodes.push(r))}}if(e.parentNode&&uk(e.parentNode)&&uR(e.parentNode)&&(D.isShadow=!0),D.type!==uT.Element||"iframe"!==D.tagName||D.needBlock||function(e,t,n){let r,a=e.contentWindow;if(!a)return;let o=!1;try{r=a.document.readyState}catch(e){return}if("complete"!==r){let r=uF(()=>{o||(t(),o=!0)},n);e.addEventListener("load",()=>{u$(r),o=!0,t()});return}let i="about:blank";if(a.location.href!==i||e.src===i||""===e.src)return uF(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=uz(e);if(t&&R){let n=u7(t,{doc:t,mirror:a,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:M,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x,onStylesheetLoad:C,stylesheetLoadTimeout:N,keepIframeSrcFn:P,ignoreCSSAttributes:A});n&&R(e,n)}},x),D.type===uT.Element&&"img"===D.tagName&&!e.complete&&D.needBlock){let t=()=>{if(e.isConnected&&!e.complete&&I)try{let t=e.getBoundingClientRect();t.width>0&&t.height>0&&I(e,D,t)}catch(e){}e.removeEventListener("load",t)};e.isConnected&&e.addEventListener("load",t)}return D.type===uT.Element&&"link"===D.tagName&&"string"==typeof D.attributes.rel&&("stylesheet"===D.attributes.rel||"preload"===D.attributes.rel&&"string"==typeof D.attributes.href&&"css"===uU(D.attributes.href))&&function(e,t,n){let r,a=!1;try{r=e.sheet}catch(e){return}if(r)return;let o=uF(()=>{a||(t(),a=!0)},n);e.addEventListener("load",()=>{u$(o),a=!0,t()})}(e,()=>{if(C){let t=u7(e,{doc:r,mirror:a,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:p,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:M,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x,onStylesheetLoad:C,stylesheetLoadTimeout:N,keepIframeSrcFn:P,ignoreCSSAttributes:A});t&&C(e,t)}},N),D.type===uT.Element&&delete D.needBlock,D}function u9(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let ce="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.",ct={map:{},getId:()=>(console.error(ce),-1),getNode:()=>(console.error(ce),null),removeNodeFromMap(){console.error(ce)},has:()=>(console.error(ce),!1),reset(){console.error(ce)}};function cn(e,t,n={}){let r=null,a=0;return function(...o){let i=Date.now();a||!1!==n.leading||(a=i);let s=t-(i-a),l=this;s<=0||s>t?(r&&(function(...e){cv("clearTimeout")(...e)}
491(r),r=null),a=i,e.apply(l,o)):r||!1===n.trailing||(r=cb(()=>{a=!1===n.leading?0:Date.now(),r=null,e.apply(l,o)},s))}}function cr(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch{return()=>{}}}"u">typeof window&&window.Proxy&&window.Reflect&&(ct=new Proxy(ct,{get:(e,t,n)=>("map"===t&&console.error(ce),Reflect.get(e,t,n))}));let ca=Date.now;function co(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function ci(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function cs(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function cl(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function cu(e,t,n,r,a){if(!e)return!1;let o=cl(e);if(!o)return!1;let i=u4(t,n);if(!a){let e=r&&o.matches(r);return i(o)&&!e}let s=u5(o,i),l=-1;return!(s<0)&&(r&&(l=u5(o,u4(null,r))),s>-1&&l<0||s<l)}function cc(e,t){return -2===t.getId(e)}function cd(e){return!!e.changedTouches}function cp(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function cf(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function ch(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(ca=()=>new Date().getTime());class cm{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-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 cg(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function cy(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=cg(n);)n=t;return n}(e);return t.contains(n)}(e))}let c_={};function cv(e){let t=c_[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 a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return c_[e]=r.bind(window)}function cb(...e){return cv("setTimeout")(...e)}var cS=((M=cS||{})[M.DomContentLoaded=0]="DomContentLoaded",M[M.Load=1]="Load",M[M.FullSnapshot=2]="FullSnapshot",M[M.IncrementalSnapshot=3]="IncrementalSnapshot",M[M.Meta=4]="Meta",M[M.Custom=5]="Custom",M[M.Plugin=6]="Plugin",M),cE=((L=cE||{})[L.Mutation=0]="Mutation",L[L.MouseMove=1]="MouseMove",L[L.MouseInteraction=2]="MouseInteraction",L[L.Scroll=3]="Scroll",L[L.ViewportResize=4]="ViewportResize",L[L.Input=5]="Input",L[L.TouchMove=6]="TouchMove",L[L.MediaInteraction=7]="MediaInteraction",L[L.StyleSheetRule=8]="StyleSheetRule",L[L.CanvasMutation=9]="CanvasMutation",L[L.Font=10]="Font",L[L.Log=11]="Log",L[L.Drag=12]="Drag",L[L.StyleDeclaration=13]="StyleDeclaration",L[L.Selection=14]="Selection",L[L.AdoptedStyleSheet=15]="AdoptedStyleSheet",L[L.CustomElement=16]="CustomElement",L),cw=((D=cw||{})[D.MouseUp=0]="MouseUp",D[D.MouseDown=1]="MouseDown",D[D.Click=2]="Click",D[D.ContextMenu=3]="ContextMenu",D[D.DblClick=4]="DblClick",D[D.Focus=5]="Focus",D[D.Blur=6]="Blur",D[D.TouchStart=7]="TouchStart",D[D.TouchMove_Departed=8]="TouchMove_Departed",D[D.TouchEnd=9]="TouchEnd",D[D.TouchCancel=10]="TouchCancel",D),cT=((U=cT||{})[U.Mouse=0]="Mouse",U[U.Pen=1]="Pen",U[U.Touch=2]="Touch",U),ck=((j=ck||{})[j.Play=0]="Play",j[j.Pause=1]="Pause",j[j.Seeked=2]="Seeked",j[j.VolumeChange=3]="VolumeChange",j[j.RateChange=4]="RateChange",j);function cR(e){try{return e.contentDocument}catch(e){}}class cx{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=t?.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&&
491(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 cI=(e,t)=>`${e}@${t}`;class cC{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 cx,r=e=>{let t=e,n=-2;for(;-2===n;)n=(t=t&&t.nextSibling)&&this.mirror.getId(t);return n},a=a=>{if(!a.parentNode||!cy(a))return;let o=uk(a.parentNode)?this.mirror.getId(cg(a)):this.mirror.getId(a.parentNode),i=r(a);if(-1===o||-1===i)return n.addNode(a);let s=u7(a,{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=>{cp(e,this.mirror)&&!cu(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),cf(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),ch(a)&&this.shadowDomManager.addShadowRoot(a.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{cu(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)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:o,nextId:i,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!cP(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&a(e);for(let e of this.addedSet)cO(this.droppedSet,e)||cP(this.removes,e,this.mirror)?cO(this.movedSet,e)?a(e):this.droppedSet.add(e):a(e);let o=null;for(;n.length;){let e=null;if(o){let t=this.mirror.getId(o.value.parentNode),n=r(o.value);-1!==t&&-1!==n&&(e=o)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(-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}o=e.previous,n.removeNode(e.value),a(e.value)}let i={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};(i.texts.length||i.attributes.length||i.removes.length||i.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(i))},this.processMutation=e=>{if(!cc(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;cu(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:u6(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,cl(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=uL(t),a=t.tagName;r=uD(t,a,n);let o=uN({maskInputOptions:this.maskInputOptions,tagName:a,type:n});r=uP({isMasked:u6(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:t,value:r,maskInputFn:this.maskInputFn})}if(cu(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let a=this.attributeMap.get(e.target);
491if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(cR(t))return;n="rr_src"}if(a||(a={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(a),this.attributeMap.set(e.target,a)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!u3(t.tagName,n)&&(a.attributes[n]=u2(this.doc,uO(t.tagName),uO(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),o=t.style.getPropertyPriority(r);e!==n.style.getPropertyValue(r)||o!==n.style.getPropertyPriority(r)?""===o?a.styleDiff[r]=e:a.styleDiff[r]=[e,o]:a._unchangedStyles[r]=[e,o]}for(let e of Array.from(n.style))""===t.style.getPropertyValue(e)&&(a.styleDiff[e]=!1)}break}case"childList":if(cu(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=uk(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);cu(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||cc(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(cN(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||function e(t,n){if(uk(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[cI(n,r)]?cN(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!(uk(e.target)&&uR(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(cc(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[cI(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!cu(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),ch(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","ignoreCSSAttributes"].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 cN(e,t){e.delete(t),t.childNodes?.forEach(t=>cN(e,t))}function cP(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 cO(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 cA=e=>g?(...t)=>{try{return e(...t)}catch(e){if(g&&!0===g(e))return()=>{};throw e}}:e,cM=[];function cL(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{}return e&&e.target}function cD(e,t){let n=new cC;cM.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,a=window?.Zone?.__symbol__?.("MutationObserver");a&&window[a]&&(r=window[a]);let o=new r(cA(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function cU({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,sampling:i}){return u9("scroll",cA(cn(cA(i=>{let s=cL(i);if(!s||cu(s,r,a,o,!0))return;let l=n.getId(s);if(s===t&&t.defaultView){let n=co(t.defaultView);e({id:l,x:n.left,y:n.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),i.scroll||100)),t)}let cj=["INPUT","TEXTAREA","SELECT"],cB=new WeakMap;function cF(e){var t=[];if(cW("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||cW("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||cW("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||cW("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){let n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){let n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}function c$(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function cz({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);let a="#document"===n.nodeName?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,o=a?.prototype?Object.getOwnPropertyDescriptor(a?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&a&&o?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return o.get?.call(this)},set(e){let n=o.set?.call(this,e);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),cA(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})})):()=>{}}function cH(e,t={}){let n,r=e.doc.defaultView;if(!r)return()=>{};e.recordDOM&&(n=cD(e,e.doc));let a=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){let a;if(!1===t.mousemove)return()=>{};let o="number"==typeof t.mousemove?t.mousemove:50,i="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,s=[],l=cn(cA(t=>{let n=Date.now()-a;e(s.map(e=>(e.timeOffset-=n,e)),t),s=[],a=null}),i),u=cA(cn(cA(e=>{let t=cL(e),{clientX:n,clientY:o}=cd(e)?e.changedTouches[0]:e;a||(a=ca()),s.push({x:n,y:o,id:r.getId(t),timeOffset:ca()-a}),l("u">typeof DragEvent&&e instanceof DragEvent?cE.Drag:e instanceof MouseEvent?cE.MouseMove:cE.TouchMove)}),o,{trailing:!1})),c=[u9("mousemove",u,n),u9("touchmove",u,n),u9("drag",u,n)];return cA(()=>
491{c.forEach(e=>e())})}(e),o=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,sampling:i}){if(!1===i.mouseInteraction)return()=>{};let s=!0===i.mouseInteraction||void 0===i.mouseInteraction?{}:i.mouseInteraction,l=[],u=null;return Object.keys(cw).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(i=>{let s=uO(i),c=t=>{let s=cL(t);if(cu(s,r,a,o,!0))return;let l=null,c=i;if("pointerType"in t){switch(t.pointerType){case"mouse":l=cT.Mouse;break;case"touch":l=cT.Touch;break;case"pen":l=cT.Pen}l===cT.Touch?cw[i]===cw.MouseDown?c="TouchStart":cw[i]===cw.MouseUp&&(c="TouchEnd"):cT.Pen}else cd(t)&&(l=cT.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===cT.Touch||c.startsWith("Mouse")&&l===cT.Mouse)&&(l=null)):cw[i]===cw.Click&&(l=u,u=null);let d=cd(t)?t.changedTouches[0]:t;if(!d)return;let p=n.getId(s),{clientX:f,clientY:h}=d;cA(e)({type:cw[c],id:p,x:f,y:h,...null!==l&&{pointerType:l}})};if(window.PointerEvent)switch(cw[i]){case cw.MouseDown:case cw.MouseUp:s=s.replace("mouse","pointer");break;case cw.TouchStart:case cw.TouchEnd:return}l.push(u9(s,c,t))}),cA(()=>{l.forEach(e=>e())})}(e),i=cU(e),s=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return u9("resize",cA(cn(cA(()=>{let t=ci(),a=cs();(n!==t||r!==a)&&(e({width:Number(a),height:Number(t)}),n=t,r=a)}),200)),t)}(e,{win:r}),l=function({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,ignoreClass:i,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=cL(e),c=e.isTrusted,g=n&&uA(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||0>cj.indexOf(g)||cu(n,r,a,o,!0))return;let _=n;if(_.classList.contains(i)||s&&_.matches(s))return;let v=uL(n),b=uD(_,g,v),S=!1,E=uN({maskInputOptions:l,tagName:g,type:v}),w=u6(n,p,h,f,m,E);("radio"===v||"checkbox"===v)&&(S=n.checked),b=uP({isMasked:w,element:n,value:b,maskInputFn:u}),y(n,d?{text:b,isChecked:S,userTriggered:c}:{text:b,isChecked:S});let T=n.name;"radio"===v&&T&&S&&t.querySelectorAll(`input[type="radio"][name="${T}"]`).forEach(e=>{if(e!==n){let t=uP({isMasked:w,element:e,value:uD(e,g,v),maskInputFn:u});y(e,d?{text:t,isChecked:!S,userTriggered:!1}:{text:t,isChecked:!S})}})}function y(t,r){let a=cB.get(t);if(!a||a.text!==r.text||a.isChecked!==r.isChecked){cB.set(t,r);let a=n.getId(t);cA(e)({...r,id:a})}}let _=("last"===c.input?["change"]:["input","change"]).map(e=>u9(e,cA(g),t)),v=t.defaultView;if(!v)return()=>{_.forEach(e=>e())};let b=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),S=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&_.push(...S.map(e=>(function e(t,n,r,a,o=window){let i=o.Object.getOwnPropertyDescriptor(t,n);return o.Object.defineProperty(t,n,a?r:{set(e){cb(()=>{r.set.call(this,e)},0),i&&i.set&&i.set.call(this,e)}}),()=>e(t,n,i||{},!0)})(e[0],e[1],{set(){cA(g)({target:this,isTrusted:!1})}},!1,v))),cA(()=>{_.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:a,sampling:o,doc:i}){let s=cA(i=>cn(cA(o=>{let s=cL(o);if(!s||cu(s,t,n,r,!0))return;let{currentTime:l,volume:u,muted:c,playbackRate:d}=s;e({type:i,id:a.getId(s),currentTime:l,volume:u,muted:c,playbackRate:d})}),o.media||500)),l=[u9("play",s(ck.Play),i),u9("pause",s(ck.Pause),i),u9("seeked",s(ck.Seeked),i),u9("volumechange",s(ck.VolumeChange),i),u9("ratechange",s(ck.RateChange),i)];return cA(()=>{l.forEach(e=>e())})}(e),c=()=>{},d=()=>{},p=()=>{},f=()=>{};e.recordDOM&&(c=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){let a,o;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:cA((r,a,o)=>{let[i,s]=o,{id:l,styleId:u}=c$(a,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:i,index:s}]}),r.apply(a,o)})});let s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:cA((r,a,o)=>{let[i]=o,{id:s,styleId:l}=c$(a,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:i}]}),r.apply(a,o)})}),r.CSSStyleSheet.prototype.replace&&(a=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:cA((r,a,o)=>{let[i]=o,{id:s,styleId:l}=c$(a,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:i}),r.apply(a,o)})})),r.CSSStyleSheet.prototype.replaceSync&&(o=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:cA((r,a,o)=>{let[i]=o,{id:s,styleId:l}=c$(a,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:i}),r.apply(a,o)})}));let l={};cq("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(cq("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),
491cq("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),cq("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));let u={};return Object.entries(l).forEach(([r,a])=>{u[r]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=new Proxy(u[r].insertRule,{apply:cA((r,a,o)=>{let[i,s]=o,{id:l,styleId:u}=c$(a.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:i,index:[...cF(a),s||0]}]}),r.apply(a,o)})}),a.prototype.deleteRule=new Proxy(u[r].deleteRule,{apply:cA((r,a,o)=>{let[i]=o,{id:s,styleId:l}=c$(a.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...cF(a),i]}]}),r.apply(a,o)})})}),cA(()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=s,a&&(r.CSSStyleSheet.prototype.replace=a),o&&(r.CSSStyleSheet.prototype.replaceSync=o),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule})})}(e,{win:r}),d=cz(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:a}){let o=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:cA((a,i,s)=>{let[l,u,c]=s;if(n.has(l))return o.apply(i,[l,u,c]);let{id:d,styleId:p}=c$(i.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:l,value:u,priority:c},index:cF(i.parentRule)}),a.apply(i,s)})});let i=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:cA((a,o,s)=>{let[l]=s;if(n.has(l))return i.apply(o,[l]);let{id:u,styleId:c}=c$(o.parentRule?.parentStyleSheet,t,r.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:l},index:cF(o.parentRule)}),a.apply(o,s)})}),cA(()=>{a.CSSStyleDeclaration.prototype.setProperty=o,a.CSSStyleDeclaration.prototype.removeProperty=i})}(e,{win:r}),e.collectFonts&&(f=function({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],a=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){let r=new o(e,t,n);return a.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let i=cr(t.fonts,"add",function(t){return function(n){return cb(cA(()=>{let t=a.get(n);t&&(e(t),a.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=o}),r.push(i),cA(()=>{r.forEach(e=>e())})}(e)));let h=function(e){let{doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,selectionCb:i}=e,s=!0,l=cA(()=>{let e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let l=[],u=e.rangeCount||0;for(let t=0;t<u;t++){let{startContainer:i,startOffset:s,endContainer:u,endOffset:c}=e.getRangeAt(t);cu(i,r,a,o,!0)||cu(u,r,a,o,!0)||l.push({start:n.getId(i),startOffset:s,end:n.getId(u),endOffset:c})}i({ranges:l})});return l(),u9("selectionchange",l)}(e),m=function({doc:e,customElementCb:t}){let n=e.defaultView;return n&&n.customElements?cr(n.customElements,"define",function(e){return function(n,r,a){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,a])}}):()=>{}}(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,r,t.options));return cA(()=>{cM.forEach(e=>e.reset()),n?.disconnect(),a(),o(),i(),s(),l(),u(),c(),d(),p(),f(),h(),m(),g.forEach(e=>e())})}function cW(e){return void 0!==window[e]}function cq(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class cG{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let a=n||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e),i=a.get(t);return i||(i=this.generateIdFn(),a.set(t,i),o.set(i,t)),i}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
491getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;let a=r.get(t);return a||-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}}class cV{constructor(){this.crossOriginIframeMirror=new cG(uq),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class cY{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new cG(uq),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new cG(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}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);let n=cR(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}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 cS.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:cS.IncrementalSnapshot,data:{source:cE.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case cS.Meta:case cS.Load:case cS.DomContentLoaded:break;case cS.Plugin:return t;case cS.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case cS.IncrementalSnapshot:switch(t.data.source){case cE.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 cE.Drag:case cE.TouchMove:case cE.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case cE.ViewportResize:return!1;case cE.MediaInteraction:case cE.MouseInteraction:case cE.Scroll:case cE.CanvasMutation:case cE.Input:return this.replaceIds(t.data,e,["id"]),t;case cE.StyleSheetRule:case cE.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case cE.Font:return t;case cE.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case cE.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,n,r){for(let a of r)(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(n,t[a]):t[a]=e.getId(n,t[a]));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
491h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===uT.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class cJ{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class cX{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(!uR(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let n=cD({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(cU({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),cb(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(cz({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=cR(e),n=function(e){try{return e.contentWindow}catch(e){}}(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(cr(e.prototype,"attachShadow",function(e){return function(r){let a=e.call(this,r);return this.shadowRoot&&cy(this)&&n.addShadowRoot(this.shadowRoot,t),a}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var cK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cQ="u"<typeof Uint8Array?[]:new Uint8Array(256),cZ=0;cZ<cK.length;cZ++)cQ[cK.charCodeAt(cZ)]=cZ;class c0{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class c1{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new cm,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:uI(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 c2{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){cv("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=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let c3=new uC;function c5(e={}){let t,{emit:n,checkoutEveryNms:r,checkoutEveryNth:a,blockClass:o="rr-block",blockSelector:i=null,unblockSelector:s=null,ignoreClass:l="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:p=null,maskTextSelector:f=null,unmaskTextSelector:h=null,inlineStylesheet:m=!0,maskAllInputs:v,maskInputOptions:b,slimDOMOptions:S,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,maxCanvasSize:k=null,packFn:R,sampling:x={},dataURLOptions:I={},mousemoveWait:C,recordDOM:N=!0,recordCanvas:P=!1,recordCrossOriginIframes:O=!1,recordAfter:A="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:M=!1,collectFonts:L=!1,inlineImages:D=!1,plugins:U,keepIframeSrcFn:j=()=>!1,ignoreCSSAttributes:B=new Set([]),errorHandler:F,onMutation:$,getCanvasManager:z}=e;g=F;let H=!O||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!==C&&void 0===x.mousemove&&(x.mousemove=C),c3.reset();let q=!0===v?{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!==b?b:{},G=!0===S||"all"===S?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===S,headMetaDescKeywords:"all"===S}:S||{};!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 V=0,Y=e=>{for(let t of U||[])t.eventProcessor&&(e=t.eventProcessor(e));return R&&!W&&(e=R(e)),e};y=(e,o)=>{if(e.timestamp=ca(),cM[0]?.isFrozen()&&e.type!==cS.FullSnapshot&&(e.type!==cS.IncrementalSnapshot||e.data.source!==cE.Mutation)&&cM.forEac
491h(e=>e.unfreeze()),H)n?.(Y(e),o);else if(W){let t={type:"rrweb",event:Y(e),origin:window.location.origin,isCheckout:o};window.parent.postMessage(t,"*")}if(e.type===cS.FullSnapshot)t=e,V=0;else if(e.type===cS.IncrementalSnapshot){if(e.data.source===cE.Mutation&&e.data.isAttachIframe)return;V++;let n=a&&V>=a,o=r&&t&&e.timestamp-t.timestamp>r;(n||o)&&er(!0)}};let J=e=>{y({type:cS.IncrementalSnapshot,data:{source:cE.Mutation,...e}})},X=e=>y({type:cS.IncrementalSnapshot,data:{source:cE.Scroll,...e}}),K=e=>y({type:cS.IncrementalSnapshot,data:{source:cE.CanvasMutation,...e}}),Q=new c1({mutationCb:J,adoptedStyleSheetCb:e=>y({type:cS.IncrementalSnapshot,data:{source:cE.AdoptedStyleSheet,...e}})}),Z="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new cV:new cY({mirror:c3,mutationCb:J,stylesheetManager:Q,recordCrossOriginIframes:O,wrappedEmit:y});for(let e of U||[])e.getMirror&&e.getMirror({nodeMirror:c3,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});let ee=new c2,et=function(e,t){try{return e?e(t):new c0}catch{return console.warn("Unable to initialize CanvasManager"),new c0}}(z,{mirror:c3,win:window,mutationCb:e=>y({type:cS.IncrementalSnapshot,data:{source:cE.CanvasMutation,...e}}),recordCanvas:P,blockClass:o,blockSelector:i,unblockSelector:s,maxCanvasSize:k,sampling:x.canvas,dataURLOptions:I,errorHandler:F}),en="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new cJ:new cX({mutationCb:J,scrollCb:X,bypassOptions:{onMutation:$,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:q,dataURLOptions:I,maskAttributeFn:E,maskTextFn:T,maskInputFn:w,recordCanvas:P,inlineImages:D,sampling:x,slimDOMOptions:G,iframeManager:Z,stylesheetManager:Q,canvasManager:et,keepIframeSrcFn:j,processedNodeManager:ee,ignoreCSSAttributes:B},mirror:c3}),er=(e=!1)=>{if(!N)return;y({type:cS.Meta,data:{href:window.location.href,width:cs(),height:ci()}},e),Q.reset(),en.init(),cM.forEach(e=>e.lock());let t=function(e,t){let{mirror:n=new uC,blockClass:r="rr-block",blockSelector:a=null,unblockSelector:o=null,maskAllText:i=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:f=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:_=!1,dataURLOptions:v,preserveWhiteSpace:b,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:k,stylesheetLoadTimeout:R,keepIframeSrcFn:x=()=>!1,ignoreCSSAttributes:I=new Set([])}=t||{};return u7(e,{doc:e,mirror:n,blockClass:r,blockSelector:a,unblockSelector:o,maskAllText:i,maskTextClass:s,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{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===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===_||"all"===_?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===_,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===_?{}:_,dataURLOptions:v,inlineImages:p,recordCanvas:f,preserveWhiteSpace:b,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:k,stylesheetLoadTimeout:R,keepIframeSrcFn:x,newlyAddedElement:!1,ignoreCSSAttributes:I})}(document,{mirror:c3,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:m,maskAllInputs:q,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,slimDOM:G,dataURLOptions:I,recordCanvas:P,inlineImages:D,onSerialize:e=>{cp(e,c3)&&Z.addIframe(e),cf(e,c3)&&Q.trackLinkElement(e),ch(e)&&en.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t),e.contentWindow&&et.addWindow(e.contentWindow),en.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{J({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:j,ignoreCSSAttributes:B});if(!t)return console.warn("Failed to snapshot the document");y({type:cS.FullSnapshot,data:{node:t,initialOffset:co(window)}}
491),cM.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,c3.getId(document))};_=er;try{let e=[],t=e=>cA(cH)({onMutation:$,mutationCb:J,mousemoveCb:(e,t)=>y({type:cS.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>y({type:cS.IncrementalSnapshot,data:{source:cE.MouseInteraction,...e}}),scrollCb:X,viewportResizeCb:e=>y({type:cS.IncrementalSnapshot,data:{source:cE.ViewportResize,...e}}),inputCb:e=>y({type:cS.IncrementalSnapshot,data:{source:cE.Input,...e}}),mediaInteractionCb:e=>y({type:cS.IncrementalSnapshot,data:{source:cE.MediaInteraction,...e}}),styleSheetRuleCb:e=>y({type:cS.IncrementalSnapshot,data:{source:cE.StyleSheetRule,...e}}),styleDeclarationCb:e=>y({type:cS.IncrementalSnapshot,data:{source:cE.StyleDeclaration,...e}}),canvasMutationCb:K,fontCb:e=>y({type:cS.IncrementalSnapshot,data:{source:cE.Font,...e}}),selectionCb:e=>{y({type:cS.IncrementalSnapshot,data:{source:cE.Selection,...e}})},customElementCb:e=>{y({type:cS.IncrementalSnapshot,data:{source:cE.CustomElement,...e}})},blockClass:o,ignoreClass:l,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:h,maskInputOptions:q,inlineStylesheet:m,sampling:x,recordDOM:N,recordCanvas:P,inlineImages:D,userTriggeredOnInput:M,collectFonts:L,doc:e,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,keepIframeSrcFn:j,blockSelector:i,unblockSelector:s,slimDOMOptions:G,dataURLOptions:I,mirror:c3,iframeManager:Z,stylesheetManager:Q,shadowDomManager:en,processedNodeManager:ee,canvasManager:et,ignoreCSSAttributes:B,plugins:U?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>y({type:cS.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});Z.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{er(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(u9("DOMContentLoaded",()=>{y({type:cS.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&&n()})),e.push(u9("load",()=>{y({type:cS.Load,data:{}}),"load"===A&&n()},window))),()=>{e.forEach(e=>e()),ee.destroy(),_=void 0,g=void 0}}catch(e){console.warn(e)}}function c4(e){return e>0x2540be3ff?e:1e3*e}function c6(e){return e>0x2540be3ff?e/1e3:e}function c8(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:cS.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,ty.normalize)(t,10,1e3)}}),"console"===t.category)))}function c7(e){return e.closest("button,a")||e}function c9(e){let t=de(e);return t&&t instanceof Element?c7(t):t}function de(e){var t;return"object"==typeof(t=e)&&t&&"target"in t?e.target:e}c5.mirror=c3,c5.takeFullSnapshot=function(e){if(!_)throw Error("please take full snapshot after start recording");_(e)},(B=W||(W={}))[B.NotStarted=0]="NotStarted",B[B.Running=1]="Running",B[B.Stopped=2]="Stopped";let dt=new Set([cE.Mutation,cE.StyleSheetRule,cE.StyleDeclaration,cE.AdoptedStyleSheet,cE.CanvasMutation,cE.Selection,cE.MediaInteraction]);class dn{constructor(e,t,n=c8){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=da()},v||(v=[],(0,ep.fill)(uv,"open",function(e){return function(...t){if(v)try{v.forEach(e=>e())}catch{}return e.apply(uv,t)}})),v.push(e),()=>{let t=v?v.indexOf(e):-1;t>-1&&v.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,r,a;if(n=t,r=this._ignoreSelector,!dr.includes(n.tagName)||"INPUT"===n.tagName&&!["submit","button"].includes(n.getAttribute("type")||"")||"A"===n.tagName&&(n.hasAttribute("download")||n.hasAttribute("target")&&"_self"!==n.getAttribute("target"))||r&&n.matches(r)||!((a=e).data&&"number"==typeof a.data.nodeId&&a.timestamp))return;let o={timestamp:c6(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===o.node&&1>
491Math.abs(e.timestamp-o.timestamp))||(this._clicks.push(o),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=c6(e)}registerScroll(e=Date.now()){this._lastScroll=c6(e)}registerClick(e){let t=c7(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=da();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:a,clickBreadcrumb:o}=e;if(!n&&!r){let n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:uv.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:a||1}};this._addBreadcrumbEvent(t,i);return}if(a>1){let e={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:uv.location.href,route:t.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=nJ(()=>this._checkClicks(),1e3)}}let dr=["A","BUTTON","INPUT"];function da(){return Date.now()/1e3}function di(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var ds=((F=ds||{})[F.Document=0]="Document",F[F.DocumentType=1]="DocumentType",F[F.Element=2]="Element",F[F.Text=3]="Text",F[F.CDATA=4]="CDATA",F[F.Comment=5]="Comment",F);let dl=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function du(e,t){let n=c5.mirror.getId(e),r=n&&c5.mirror.getNode(n),a=r&&c5.mirror.getMeta(r),o=a&&a.type===ds.Element?a:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map(e=>e.type===ds.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(dl.has(n)){let r=n;("data-testid"===n||"data-test-id"===n)&&(r="testId"),t[r]=e[n]}return t}(o.attributes)}}:{}}}let dc={resource:function(e){let{entryType:t,initiatorType:n,name:r,responseEnd:a,startTime:o,decodedBodySize:i,encodedBodySize:s,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:df(o),end:df(a),name:r,data:{size:u,statusCode:l,decodedBodySize:i,encodedBodySize:s}}},paint:function(e){let{duration:t,entryType:n,name:r,startTime:a}=e,o=df(a);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){let{entryType:t,name:n,decodedBodySize:r,duration:a,domComplete:o,encodedBodySize:i,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:p,startTime:f,transferSize:h,type:m}=e;return 0===a?null:{type:`${t}.${m}`,start:df(f),end:df(o),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:i,duration:a,domInteractive:u,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:c,loadEventEnd:d,domComplete:o,redirectCount:p}}}};function dd(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function dp(e){let t=dc[e.entryType];return t?t(e):null}function df(e){return(((0,eO.browserPerformanceTimeOrigin)()||uv.performance.timeOrigin)+e)/1e3}function dh(e){let t=e.entries[e.entries.length-1];return dy(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function dm(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=c5.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return dy(e,"cumulative-layout-shift",n,t)}function dg(e){let t=e.entries[e.entries.length-1];return dy(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function dy(e,t,n,r){let a=e.value,o=e.rating,i=df(a);return{type:"web-vital",name:t,start:i,end:i,data:{value:a,size:a,rating:o,nodeIds:n?n.map(e=>c5.mirror.getId(e)):void 0,attributions:r}}}let d_="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,dv=["log","warn","error"],db="[Replay] ";function dS(e,t="info"){tK({category:"console",data:{logger:"replay"},level:t,message:`${db}${e}`},{level:t})}let dE=(N=!1,P=!1,O={exception:()=>void 0,infoTick:()=>void 0,setConfig:e=>{N=!!e.captureExceptions,P=!!e.traceInternals}}
491,d_?(dv.forEach(e=>{O[e]=(...t)=>{V.debug[e](db,...t),P&&dS(t.join(""),tX(e))}}),O.exception=(e,...t)=>{t.length&&O.error&&O.error(...t),V.debug.error(db,e),N?(0,K.captureException)(e,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):P&&dS(e,"error")},O.infoTick=(...e)=>{V.debug.log(db,...e),P&&setTimeout(()=>dS(e[0]),0)}):dv.forEach(e=>{O[e]=()=>void 0}),O);class dw extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class dT{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 dw;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=null;for(let{timestamp:t}of this.events)(null===e||t<e)&&(e=t);return null===e?e:c4(e)}}class dk{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():(d_&&dE.warn("Received worker message with unsuccessful status",n),t(Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",e=>{d_&&dE.warn("Failed to load Replay compression worker",e),t(Error(`Failed to load Replay compression worker: ${e instanceof ErrorEvent&&e.message?e.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})})),this._ensureReadyPromise}destroy(){d_&&dE.log("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,a)=>{let o=({data:t})=>{if(t.method===e&&t.id===n){if(this._worker.removeEventListener("message",o),!t.success){d_&&dE.error("Error in compression worker: ",t.response),a(Error("Error in compression worker"));return}r(t.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class dR{constructor(e){this._worker=new dk(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=c4(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 dw):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{d_&&dE.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 dx{constructor(e){this._fallback=new dT,this._compression=new dR(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){d_&&dE.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){d_&&dE.exception(e,"Failed to add events when switching buffers.")}}}
491function dI(){try{return"sessionStorage"in uv&&!!uv.sessionStorage}catch{return!1}}function dC(e){return void 0!==e&&Math.random()<e}function dN(e){if(dI())try{uv.sessionStorage.setItem(ub,JSON.stringify(e))}catch{}}function dP(e){let t=Date.now(),n=e.id||(0,eo.uuid4)(),r=e.started||t,a=e.lastActivity||t,o=e.segmentId||0,i=e.sampled;return{id:n,started:r,lastActivity:a,segmentId:o,sampled:i,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function dO({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let a=dP({sampled:dC(e)?"session":!!t&&"buffer",previousSessionId:r});return n&&dN(a),a}function dA(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function dM(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return dA(e.started,t,r)||dA(e.lastActivity,n,r)}function dL(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!dM(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function dD({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){let a=r.stickySession&&function(){if(!dI())return null;try{let e=uv.sessionStorage.getItem(ub);if(!e)return null;let t=JSON.parse(e);return d_&&dE.infoTick("Loading existing session"),dP(t)}catch{return null}}();return a?dL(a,{sessionIdleExpire:e,maxReplayDuration:t})?(d_&&dE.infoTick("Session in sessionStorage is expired, creating new one..."),dO(r,{previousSessionId:a.id})):a:(d_&&dE.infoTick("Creating new session"),dO(r,{previousSessionId:n}))}function dU(e,t,n){return!!dB(e,t)&&(dj(e,t,n),!0)}async function dj(e,t,n){let{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;let a="buffer"===e.recordingMode;try{n&&a&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);let o=e.getOptions(),i=function(e,t){try{if("function"==typeof t&&e.type===cS.Custom)return t(e)}catch(e){return d_&&dE.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,o.beforeAddRecordingEvent);if(!i)return;return await r.addEvent(i)}catch(o){let t=o&&o instanceof dw,n=(0,Q.getClient)();if(n&&n.recordDroppedEvent(t?"buffer_overflow":"internal_sdk_error","replay"),t&&a)return r.clear(),r.waitForCheckout=!0,null;e.handleException(o),await e.stop({reason:t?"addEventSizeExceeded":"addEvent"})}}function dB(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=c4(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(d_&&dE.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1))}function dF(e){return"transaction"===e.type}function d$(e){return"feedback"===e.type}function dz(e){return!!e.category}function dH(){let e=(0,Q.getCurrentScope)().getPropagationContext().dsc;e&&delete e.replay_id;let t=(0,eD.getActiveSpan)();if(t){let e=(0,eL.getDynamicSamplingContextFromSpan)(t);delete e.replay_id}}function dW(e,t){return t.map(({type:t,start:n,end:r,name:a,data:o})=>{let i=e.throttledAddEvent({type:cS.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:a,startTimestamp:n,endTimestamp:r,data:o}}});return"string"==typeof i?Promise.resolve(null):i})}function dq(e,t){var n;e.isEnabled()&&null!==t&&(n=t.name,(!d_||!e.getOptions()._experiments.traceInternals)&&un(n,(0,Q.getClient)())||e.addUpdate(()=>(dW(e,[t]),!0)))}function dG(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=am(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function dV(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function dY(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 dJ(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:a,method:o,statusCode:i,request:s,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:a,data:{method:o,statusCode:i,request:s,response:l}}}function dX(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function dK(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:a,warnings:o}=function(e){var t;let n,r;if(!e||"string"!=typeof e)return{body:e};let a=e.length>15e4,o=(n=(t=e)[0],r=t[t.length-1],"["===n&&"]"===r||"{"===n&&"}"===r);if(a){let t=e.slice(0,15e4);return o?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}â¦`,warnings:["TEXT_TRUNCATED"]}}if(o)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(n);return r.body=a,o?.length&&(r._meta={warnings:o}),r}function dQ(e,t){return Object.entries(e).reduce((n,[r,a])=>{let o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=a),n},{})}function dZ(e,t){let n=function(e,t=uv.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(uv.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}(e);return(0,ei.stringMatchesSomePattern)(n,t)}async function d0(e,t,n){try{let r=await d1(e,t,n),a=dJ("resource.fetch",r);dq(n.replay,a)}catch(e){d_&&dE.exception(e,"Failed to capture fetch breadcrumb")}}async function d1(e,t,n){let r=Date.now(),{startTimestamp:a=r,endTimestamp:o=r}=t,{url:i,method:s,status_code:l=0,request_body_size:u,response_body_size:c}=e.data,d=dZ(i,n.networkDetailAllowUrls)&&!dZ(i,n.networkDetailDenyUrls);return{startTimestamp:a,endTimestamp:o,url:i,method:s,statusCode:l,request:d?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){var a,o;let i=n?(a=n,o=t,1===a.length&&"string"!=typeof a[0]?d4(a[0],o):2===a.length?d4(a[1],o):{}):{};if(!e)return dK(i,r,void 0);let[s,l]=ag(ay(n),dE),u=dK(i,r,s);return l?dY(u,l):u}(n,t.input,u):dX(u),response:await d2(d,n,t.response,c)}}async function d2(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,a){if(!e&&void 0!==a)return dX(a);let o=r?d5(r.headers,n):{};if(!r||!t&&void 0!==a)return dK(o,a,void 0);let[i,s]=await d3(r),l=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:a}){try{let o=e?.length&&void 0===n?dG(e):n;if(!r)return dX(o);if(t)return dK(a,o,e);return dK(a,o,void 0)}catch(e){return d_&&dE.exception(e,"Failed to serialize response body"),dK(a,n,void 0)}}(i,{networkCaptureBodies:t,responseBodySize:a,captureDetails:e,headers:o});return s?dY(l,s):l}async function d3(e){let t=function(e){try{return e.clone()}catch(e){d_&&dE.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{var n;return[await (n=t,new Promise((e,t)=>
491{let r=nJ(()=>t(Error("Timeout while trying to read response body")),500);d6(n).then(t=>e(t),e=>t(e)).finally(()=>clearTimeout(r))}))]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return d_&&dE.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"];return d_&&dE.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function d5(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function d4(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?d5(n,t):Array.isArray(n)?{}:dQ(n,t):{}}async function d6(e){return await e.text()}async function d8(e,t,n){try{let r=function(e,t,n){let r=Date.now(),{startTimestamp:a=r,endTimestamp:o=r,input:i,xhr:s}=t,{url:l,method:u,status_code:c=0,request_body_size:d,response_body_size:p}=e.data;if(!l)return null;if(!s||!dZ(l,n.networkDetailAllowUrls)||dZ(l,n.networkDetailDenyUrls)){let e=dX(d);return{startTimestamp:a,endTimestamp:o,url:l,method:u,statusCode:c,request:e,response:dX(p)}}let f=s[t7],h=f?dQ(f.request_headers,n.networkRequestHeaders):{},m=dQ(a_(s),n.networkResponseHeaders),[g,y]=n.networkCaptureBodies?ag(i,dE):[void 0],[_,v]=n.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{var n=e.response,r=e.responseType;try{if("string"==typeof n)return[n];if(n instanceof Document)return[n.body.outerHTML];if("json"===r&&n&&"object"==typeof n)return[JSON.stringify(n)];if(!n)return[void 0]}catch(e){return d_&&dE.exception(e,"Failed to serialize body",n),[void 0,"BODY_PARSE_ERROR"]}return d_&&dE.log("Skipping network body because of body type",n),[void 0,"UNPARSEABLE_BODY_TYPE"]}catch(e){t.push(e)}return d_&&dE.warn("Failed to get xhr response body",...t),[void 0]}(s):[void 0],b=dK(h,d,g),S=dK(m,p,_);return{startTimestamp:a,endTimestamp:o,url:l,method:u,statusCode:c,request:y?dY(b,y):b,response:v?dY(S,v):S}}(e,t,n),a=dJ("resource.xhr",r);dq(n.replay,a)}catch(e){d_&&dE.exception(e,"Failed to capture xhr breadcrumb")}}async function d7(e){try{return Promise.all(dW(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,a=Date.now()/1e3;return{type:"memory",name:"memory",start:a,end:a,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}(uv.performance.memory)]))}catch{return[]}}let d9=Y.GLOBAL_OBJ.navigator;async function pe({client:e,scope:t,replayId:n,event:r}){let a={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,a);let o=await (0,e8.prepareEvent)(e.getOptions(),r,a,t,e,(0,Q.getIsolationScope)());if(!o)return null;e.emit("postprocessEvent",o,a),o.platform=o.platform||"javascript";let i=e.getSdkMetadata(),{name:s,version:l,settings:u}=i?.sdk||{};return o.sdk={...o.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0",settings:u},o}async function pt({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:a,session:o}){var i;let s,l=function({recordingData:e,headers:t}){let n,r=`${JSON.stringify(t)} 492`;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:p}=r,f=(0,Q.getClient)(),h=(0,Q.getCurrentScope)(),m=f?.getTransport(),g=f?.getDsn();if(!f||!m||!g||!o.sampled)return Promise.resolve({});let y={type:"replay_event",replay_start_timestamp:p/1e3,timestamp:a/1e3,error_ids:c,trace_ids:d,urls:u,replay_id:t,segment_id:n,replay_type:o.sampled},_=await pe({scope:h,client:f,replayId:t,event:y});if(!_)return f.recordDroppedEvent("event_processor","replay"),d_&&dE.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete _.sdkProcessingMetadata;let v=(i=f.getOptions().tunnel,(0,eB.createEnvelope)((0,eB.createEventEnvelopeHeaders)(_,(0,eB.getSdkMetadataForEnvelopeHeader)(_),i,g),[[{type:"replay_event"},_],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{s=await m.send(v)}catch(t){let e=Error(uS);try{e.cause=t}catch{}throw e}let b=e3({},s);if(e2(b,"replay"))throw new pr(b);if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new pn(s.statusCode);return s}
492class pn extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class pr extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class pa extends Error{constructor(){super("Session is too long, not sending replay")}}async function po(e,t={count:0,interval:5e3}){let{recordingData:n,onError:r}=e;if(n.length)try{return await pt(e),!0}catch(n){if(n instanceof pn||n instanceof pr)throw n;if((0,K.setContext)("Replays",{_retryCount:t.count}),r&&r(n),t.count>=3){let e=Error(`${uS} - max retries exceeded`);try{e.cause=n}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{nJ(async()=>{try{await po(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}let pi="__THROTTLED";class ps{constructor({options:e,recordingOptions:t}){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){return function(e,t,n){let r,a,o,i=n?.maxWait?Math.max(n.maxWait,t):0,s=n?.setTimeoutImpl||setTimeout;function l(){return u(),r=e()}function u(){void 0!==a&&clearTimeout(a),void 0!==o&&clearTimeout(o),a=o=void 0}function c(){return a&&clearTimeout(a),a=s(l,t),i&&void 0===o&&(o=s(l,i)),r}return c.cancel=u,c.flush=function(){return void 0!==a||void 0!==o?l():r},c}(e,t,{...n,setTimeoutImpl:nJ})}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e){let t=new Map,n=!1;return(...r)=>{let a,o=Math.floor(Date.now()/1e3);if(a=o-5,t.forEach((e,n)=>{n<a&&t.delete(n)}),[...t.values()].reduce((e,t)=>e+t,0)>=300){let e=n;return n=!0,e?"__SKIPPED":pi}n=!1;let i=t.get(o)||0;return t.set(o,i+1),e(...r)}}((e,t)=>dB(this,e)?dj(this,e,t):Promise.resolve(null));const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),a=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(a&&(this.clickDetector=new dn(this,a)),d_){const t=e._experiments;dE.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===uv.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=di({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=di({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=function(e){var t;let{metaKey:n,shiftKey:r,ctrlKey:a,altKey:o,key:i,target:s}=e;if(!s||"INPUT"===(t=s).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!i)return null;let l=n||a||o,u=1===i.length;if(!l&&u)return null;let c=(0,tI.htmlTreeAsString)(s,{maxStringLength:200})||"<unknown>",d=du(s,c);return di({category:"ui.keyDown",message:c,data:{...d.data,metaKey:n,shiftKey:r,ctrlKey:a,altKey:o,key:i}})}(t);n&&c8(e,n)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){d_&&dE.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){d_&&dE.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",d_&&dE.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode){d_&&dE.log("Recording is already in progress");return}if(this._isEnabled&&"buffer"===this.recordingMode){d_&&dE.log("Buffering is in progress, call `flush()` to save the replay");return}d_&&dE.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=dD({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}
492startBuffering(){if(this._isEnabled){d_&&dE.log("Buffering is in progress, call `flush()` to save the replay");return}d_&&dE.infoTick("Starting replay in buffer mode");let e=dD({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,n=this._canvas;this._stopRecording=c5({...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()){d_&&dE.warn("Received replay event after session expired.");return}let a=r||!t;t=!0,e.clickDetector&&function(e,t){try{var n;if(n=t,3!==n.type)return;let{source:r}=t.data;if(dt.has(r)&&e.registerMutation(t.timestamp),r===cE.Scroll&&e.registerScroll(t.timestamp),t.data.source===cE.MouseInteraction){let{type:n,id:r}=t.data,a=c5.mirror.getNode(r);a instanceof HTMLElement&&n===cw.Click&&e.registerClick(a)}}catch{}}(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&a&&e.setInitialState(),!dU(e,n,a))return!0;if(!a)return!1;let t=e.session;if(function(e,t){if(t&&e.session?.segmentId===0){let t;dU(e,(t=e.getOptions(),{type:cS.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}}}),!1)}}(e,a),"buffer"===e.recordingMode&&t&&e.eventBuffer&&!t.dirty){let n=e.eventBuffer.getEarliestTimestamp();n&&(d_&&dE.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&dN(t))}return!!t?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(d9?.userAgent??"")||/Macintosh/i.test(d9?.userAgent??"")&&d9?.maxTouchPoints&&d9?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...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,this.recordingMode="buffer";try{d_&&dE.log(`Stopping Replay${t?` triggered by ${t}`:""}`),dH(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(dI())try{uv.sessionStorage.removeItem(ub)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){!this._isPaused&&(this._isPaused=!0,this.stopRecording(),d_&&dE.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),d_&&dE.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();d_&&dE.log("Converting buffer to session"),await this.flushImmediate();let n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!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(e){if(!e||this.session?.sampled!==!1)return this.session?.id}
492checkAndHandleExpiredSession(){return this._lastActivity&&dA(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session?.sampled==="session"?void this.pause():!!this._checkSession()}setInitialState(){let e=`${uv.location.pathname}${uv.location.hash}${uv.location.search}`,t=`${uv.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===pi){let e=di({category:"replay.throttled"});this.addUpdate(()=>!dU(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastActiveSpan||(0,eD.getActiveSpan)(),t=e&&(0,eD.getRootSpan)(e),n=(t&&(0,eD.spanToJSON)(t).data||{})[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if(t&&n&&["route","custom"].includes(n))return(0,eD.spanToJSON)(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||function(){if("u"<typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__){let e;return e=new Blob(['
vendor: 10,329 bytes, line 492
492var 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]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(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,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,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=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=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:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},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,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}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 s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,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[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,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[s[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=w,P=p,Q=y,R=g;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,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];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}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-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(s[t]^s[t+1]<<A^s[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||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),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(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++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|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=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(L(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 s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),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(s),32768),this.s.z=n.length-s+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.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=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}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return 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&&O(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)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(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=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=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 B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[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});
492']),URL.createObjectURL(e)}return""}();if(!t)return;d_&&dE.log(`Using compression worker${e?` from ${e}`:""}`);let n=new Worker(t);return new dx(n)}catch(e){d_&&dE.exception(e,"Failed to create compression worker")}}(t);if(e)return e}return d_&&dE.log("Using simple buffer"),new dT}({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=dD({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!dL(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{uv.document.addEventListener("visibilitychange",this._handleVisibilityChange),uv.addEventListener("blur",this._handleWindowBlur),uv.addEventListener("focus",this._handleWindowFocus),uv.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){let t,n=(0,Q.getClient)();t4(t=>{var n,r;if(!e.isEnabled())return;let a=function(e){let{target:t,message:n}=function(e){let t,n="click"===e.name,r=null;try{r=n?c9(e.event):de(e.event),t=(0,tI.htmlTreeAsString)(r,{maxStringLength:200})||"<unknown>"}catch{t="<unknown>"}return{target:r,message:t}}(e);return di({category:`ui.${e.name}`,...du(t,n)})}(t);if(!a)return;let o="click"===t.name,i=o?t.event:void 0;o&&e.clickDetector&&i?.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&(n=e.clickDetector,r=c9(t.event),n.handleClick(a,r)),c8(e,a)}),nt(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(()=>(dW(e,[n]),!1)))}),(t=(0,Q.getClient)())&&t.on("beforeAddBreadcrumb",t=>(function(e,t){var n;if(!e.isEnabled()||!dz(t))return;let r=(n=t,!dz(n)||["fetch","xhr","sentry.event","sentry.transaction"].includes(n.category)||n.category.startsWith("ui.")?null:"console"===n.category?function(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return di(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=(0,ty.normalize)(e,7);if(JSON.stringify(t).length>5e3)return n=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}â¦`;return t}catch{}return e});return di({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(n):di(n));r&&c8(e,r)})(e,t));let r=(0,Q.getClient)();try{let{networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:i}=e.getOptions(),s={replay:e,networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:i};r&&r.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,n){if(t.data)try{var r,a,o,i;r=t,"xhr"===r.category&&(a=n,a?.xhr)&&(!function(e,t){let{xhr:n,input:r}=t;if(!n)return;let a=dG(r),o=n.getResponseHeader("content-length")?dV(n.getResponseHeader("content-length")):function(e,t){try{let n="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return dG(n)}catch{return}}(n.response,n.responseType);void 0!==a&&(e.data.request_body_size=a),void 0!==o&&(e.data.response_body_size=o)}(t,n),d8(t,n,e)),o=t,"fetch"===o.category&&(i=n,i?.response)&&(!function(e,t){let{input:n,response:r}=t,a=dG(n?ay(n):void 0),o=r?dV(r.headers.get("content-length")):void 0;void 0!==a&&(e.data.request_body_size=a),void 0!==o&&(e.data.response_body_size=o)}(t,n),d0(t,n,e))}
492catch(e){d_&&dE.exception(e,"Error when enriching network breadcrumb")}})(s,e,t))}catch{}let a=Object.assign((t,n)=>{if(!e.isEnabled()||e.isPaused())return t;if("replay_event"===t.type)return delete t.breadcrumbs,t;if(t.type&&!dF(t)&&!d$(t))return t;if(!e.checkAndHandleExpiredSession())return dH(),t;if(d$(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:cS.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t;if(!t.type&&t.exception?.values?.length&&n.originalException?.__rrweb__&&!e.getOptions()._experiments.captureExceptions)return d_&&dE.log("Ignoring error from rrweb internals",t),null;let r="buffer"===e.recordingMode&&t.message!==uS&&!!t.exception&&!t.type&&dC(e.getOptions().errorSampleRate);if((r||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),r&&"buffer"===e.recordingMode&&e.session?.sampled==="buffer"){let t=e.session;t.dirty=!0,e.getOptions().stickySession&&dN(t)}return t},{id:"Replay"});(0,K.addEventProcessor)(a),n&&(n.on("beforeSendEvent",t=>{var n,r;let a;e.isEnabled()&&!t.type&&(n=e,r=t,a=r.exception?.values?.[0]?.value,"string"==typeof a&&(a.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||a.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&c8(n,di({category:"replay.hydrate-error",data:{url:(0,tI.getLocationHref)()}})))}),n.on("afterSendEvent",(t,n)=>{if(!e.isEnabled()||t.type&&!dF(t))return;let r=n.statusCode;if(r&&!(r<200)&&!(r>=300)){if(dF(t)){var a,o;let n;return void(a=e,o=t,n=a.getContext(),o.contexts?.trace?.trace_id&&n.traceIds.size<100&&n.traceIds.add(o.contexts.trace.trace_id))}!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?.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&nJ(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}(e,t)}}),n.on("createDsc",t=>{let n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),n.on("spanStart",t=>{e.lastActiveSpan=t}),n.on("spanEnd",t=>{e.lastActiveSpan=t}),n.on("beforeSendFeedback",async(t,n)=>{let r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)}),n.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(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(rW(e,n))}),r.push(rz(dd(dh,e)),r$(dd(dm,e)),rH(dd(dg,e))),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{uv.document.removeEventListener("visibilitychange",this._handleVisibilityChange),uv.removeEventListener("blur",this._handleWindowBlur),uv.removeEventListener("focus",this._handleWindowFocus),uv.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){!this.session||dM(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){d_&&dE.log("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:cS.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(dp).filter(
492Boolean).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(dW(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)}_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){d_&&dE.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents){if((await d7(this),this.eventBuffer)&&e===this.getSessionId())try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new pa;let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let a=await this.eventBuffer.finish();await po({replayId:e,recordingData:a,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=(0,Q.getClient)();e&&e.recordDroppedEvent(t instanceof pr?"ratelimit_backoff":t instanceof pa?"invalid":"send_error","replay")}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){d_&&dE.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,a=n>this._options.maxReplayDuration+5e3;if(r||a){d_&&dE.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),r&&this._debouncedFlush();return}let o=this.eventBuffer;o&&0===this.session.segmentId&&!o.hasCheckout&&d_&&dE.log("Flushing initial segment without checkout.");let i=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,i&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&dN(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let n=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),r=t.join(",");return n?.matches(r)}))return!1;let n=e.length,r=this._options.mutationLimit,a=this._options.mutationBreadcrumbLimit,o=r&&n>r;if(n>a||o){let e=di({category:"replay.mutations",data:{count:n,limit:o}});this._createCustomBreadcrumb(e)}return!o||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function pl(e,t){return[...e,...t].join(",")}let pu='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',pc=["content-length","content-type","accept"],pd=Symbol.for("sentry__originalRequestBody"),pp=!1,pf=!1,ph=e=>new pm(e);class pm{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:a=!0,useCompression:o=!0,workerUrl:i,_experiments:s={},maskAllText:l=!0,maskAllInputs:u=!0,blockAllMedia:c=!0,mutationBreadcrumbLimit:d=750,mutationLimit:p=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:_=[],networkResponseHeaders:v=[],mask:b=[],maskAttributes:S=["title","placeholder","aria-label"],unmask:E=[],block:w=[],unblock:T=[],ignore:k=[],maskFn:R,beforeAddRecordingEvent:x,beforeErrorSampling:I,onError:C,attachRawBodyFromRequest:N=!1}={}){this.name="Replay";const P=function({mask:e,unmask:t,block:n,unblock:r,ignore:a}){return{maskTextSelector:pl(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:pl(t,[]),blockSelector:pl(n,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not
492([src])"]),unblockSelector:pl(r,[]),ignoreSelector:pl(a,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:b,unmask:E,block:w,unblock:T,ignore:k});if(this._recordingOptions={maskAllInputs:u,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:R,maskInputFn:R,maskAttributeFn:(e,t,n)=>(function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:a,value:o}){return!r||a.unmaskTextSelector&&e.matches(a.unmaskTextSelector)?o:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o})({maskAttributes:S,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{}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,5e4),maxReplayDuration:Math.min(r,36e5),stickySession:a,useCompression:o,workerUrl:i,blockAllMedia:c,maskAllInputs:u,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:p,slowClickTimeout:f,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:pg(_),networkResponseHeaders:pg(v),beforeAddRecordingEvent:x,beforeErrorSampling:I,onError:C,attachRawBodyFromRequest:N,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${pu}`:pu,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&rs())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return pp}set _isInitialized(e){pp=e}afterAllSetup(e){rs()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("u"<typeof Request||pf)return;let e=Request;try{let t=function(t,n){let r=new e(t,n);return n?.body!=null&&(r[pd]=n.body),r};t.prototype=e.prototype,Y.GLOBAL_OBJ.Request=t,pf=!0}catch{}}(),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(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){var t;let n,r,a,o,i=(t=this._initialOptions,n=e.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...t},a=(0,e6.parseSampleRate)(n.replaysSessionSampleRate),o=(0,e6.parseSampleRate)(n.replaysOnErrorSampleRate),null==a&&null==o&&(0,V.consoleSandbox)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=a&&(r.sessionSampleRate=a),null!=o&&(r.errorSampleRate=o),r);this._replay=new ps({options:i,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function pg(e){return[...pc,...e.map(e=>e.toLowerCase())]}function py(){let e=(0,Q.getClient)();return e?.getIntegrationByName("Replay")}var p_=Object.defineProperty,pv=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?p_(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n};function pb(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:pb(e.parentNode,t,n,r+1)}function pS(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{return!1}}}let pE="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.",pw={map:{},getId:()=>(console.error(pE),-1),getNode:()=>(console.error(pE),null),removeNodeFromMap(){console.error(pE)},has:()=>(console.error(pE),!1),reset(){console.error(pE)}};function pT(e,t,n,r,a=window){let o=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,r?n:{set(e){pN(()=>{n.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>pT(e,t,o||{},!0)}function pk(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch{return()=>{}}}function pR(e,t,n,r,a){if(!e)return!1;let o=function(e){if(!e)return null;
492try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}(e);if(!o)return!1;let i=pS(t,n);if(!a){let e=r&&o.matches(r);return i(o)&&!e}let s=pb(o,i),l=-1;return!(s<0)&&(r&&(l=pb(o,pS(null,r))),s>-1&&l<0||s<l)}"u">typeof window&&window.Proxy&&window.Reflect&&(pw=new Proxy(pw,{get:(e,t,n)=>("map"===t&&console.error(pE),Reflect.get(e,t,n))})),Date.now().toString();let px={};function pI(e){let t=px[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 a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return px[e]=r.bind(window)}function pC(...e){return pI("requestAnimationFrame")(...e)}function pN(...e){return pI("setTimeout")(...e)}var pP=(($=pP||{})[$["2D"]=0]="2D",$[$.WebGL=1]="WebGL",$[$.WebGL2=2]="WebGL2",$);let pO=e=>b?(...t)=>{try{return e(...t)}catch(e){if(b&&!0===b(e))return()=>{};throw e}}:e;for(var pA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",pM="u"<typeof Uint8Array?[]:new Uint8Array(256),pL=0;pL<pA.length;pL++)pM[pA.charCodeAt(pL)]=pL;var pD=function(e){var t,n=new Uint8Array(e),r=n.length,a="";for(t=0;t<r;t+=3)a+=pA[n[t]>>2],a+=pA[(3&n[t])<<4|n[t+1]>>4],a+=pA[(15&n[t+1])<<2|n[t+2]>>6],a+=pA[63&n[t+2]];return r%3==2?a=a.substring(0,a.length-1)+"=":r%3==1&&(a=a.substring(0,a.length-2)+"=="),a};let pU=new Map,pj=(e,t,n)=>{let r;if(!e||!(pF(e,t)||"object"==typeof e))return;let a=e.constructor.name,o=((r=pU.get(n))||(r=new Map,pU.set(n,r)),r.has(a)||r.set(a,[]),r.get(a)),i=o.indexOf(e);return -1===i&&(i=o.length,o.push(e)),i},pB=(e,t,n)=>e.map(e=>(function e(t,n,r){if(t instanceof Array)return t.map(t=>e(t,n,r));if(null===t);else if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};else if(t instanceof ArrayBuffer)return{rr_type:t.constructor.name,base64:pD(t)};else if(t instanceof DataView)return{rr_type:t.constructor.name,args:[e(t.buffer,n,r),t.byteOffset,t.byteLength]};else if(t instanceof HTMLImageElement){let e=t.constructor.name,{src:n}=t;return{rr_type:e,src:n}}else if(t instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:t.toDataURL()};else if(t instanceof ImageData)return{rr_type:t.constructor.name,args:[e(t.data,n,r),t.width,t.height]};else if(pF(t,n)||"object"==typeof t)return{rr_type:t.constructor.name,index:pj(t,n,r)};return t})(e,t,n)),pF=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(e=>"function"==typeof t[e]).find(n=>e instanceof t[n]);function p$(e,t,n,r,a){let o=[];try{let i=pk(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(o,...i){if(!pR(this,t,n,r,!0)){let e="experimental-webgl"===o?"webgl":o;if("__context"in this||(this.__context=e),a&&["webgl","webgl2"].includes(e))if(i[0]&&"object"==typeof i[0]){let e=i[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else i.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[o,...i])}});o.push(i)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach(e=>e())}}function pz(e,t,n,r,a,o,i,s){let l=[];for(let i of Object.getOwnPropertyNames(e))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(i))try{if("function"!=typeof e[i])continue;let u=pk(e,i,function(e){return function(...l){let u=e.apply(this,l);if(pj(u,s,this),"tagName"in this.canvas&&!pR(this.canvas,r,a,o,!0)){let e=pB(l,s,this),r={type:t,property:i,args:e};n(this.canvas,r)}return u}});l.push(u)}catch{let r=pT(e,i,{set(e){n(this.canvas,{type:t,property:i,args:[e],setter:!0})}});l.push(r)}return l}class pH{constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.lastSnapshotTime=0,this.processMutation=(e,t)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};const{enableManualSnapshot:t,sampling:n="all",win:r,recordCanvas:a,errorHandler:o}=e;if(e.sampling=n,this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,o&&function(e){b=e}(o),(a&&"number"==typeof n||t)&&(this.worker=this.initFPSWorker()),this.addWindow(r),t)return;pO(()=>{a&&"all"===n&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),a&&"number"==typeof n&&this.initCanvasFPSObserver()})()}reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEac
492h(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,this.worker?.terminate(),this.worker=null,this.snapshotInProgressMap=new Map}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}addWindow(e){let{sampling:t="all",blockClass:n,blockSelector:r,unblockSelector:a,recordCanvas:o,enableManualSnapshot:i}=this.options;if(!this.windowsSet.has(e)){if(i){this.windowsSet.add(e),this.windows.push(new WeakRef(e));return}pO(()=>{if(o&&"all"===t&&this.initCanvasMutationObserver(e,n,r,a),o&&"number"==typeof t){let t=p$(e,n,r,a,!0);this.restoreHandlers.push(()=>{t()})}})(),this.windowsSet.add(e),this.windows.push(new WeakRef(e))}}addShadowRoot(e){this.shadowDoms.add(new WeakRef(e))}resetShadowRoots(){this.shadowDoms=new Set}snapshot(e,t){t?.skipRequestAnimationFrame?this.takeSnapshot(performance.now(),!0,e):pC(t=>this.takeSnapshot(t,!0,e))}initFPSWorker(){let e,t=new Worker((e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w?.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']),URL.createObjectURL(e)));return t.onmessage=e=>{let t=e.data,{id:n}=t;if(this.snapshotInProgressMap.set(n,!1),!("base64"in t))return;let{base64:r,type:a,width:o,height:i}=t;this.mutationCb({id:n,type:pP["2D"],commands:[{property:"clearRect",args:[0,0,o,i]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:a}]},0,0,o,i]}]})},t}initCanvasFPSObserver(){let e;if(!this.windows.length&&!this.shadowDoms.size)return;let t=n=>{this.takeSnapshot(n,!1),e=pC(t)};e=pC(t),this.restoreHandlers.push(()=>{e&&cancelAnimationFrame(e)})}initCanvasMutationObserver(e,t,n,r){var a,o;let i,s=p$(e,t,n,r,!1),l=function(e,t,n,r,a){let o=[];for(let i of Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype))try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[i])continue;let s=pk(t.CanvasRenderingContext2D.prototype,i,function(o){return function(...s){return pR(this.canvas,n,r,a,!0)||pN(()=>{let n=pB(s,t,this);e(this.canvas,{type:pP["2D"],property:i,args:n})},0),o.apply(this,s)}});o.push(s)}catch{let n=pT(t.CanvasRenderingContext2D.prototype,i,{set(t){e(this.canvas,{type:pP["2D"],property:i,args:[t],setter:!0})}});o.push(n)}return()=>{o.forEach(e=>e())}}(this.processMutation.bind(this),e,t,n,r),u=(a=this.processMutation.bind(this),o=this.mirror,(i=[]).push(...pz(e.WebGLRenderingContext.prototype,pP.WebGL,a,t,n,r,o,e)),void 0!==e.WebGL2RenderingContext&&i.push(...pz(e.WebGL2RenderingContext.prototype,pP.WebGL2,a,t,n,r,o,e)),()=>{i.forEach(e=>e())});this.restoreHandlers.push(()=>{s(),l(),u()})}
492getCanvasElements(e,t,n){let r=[],a=a=>{a.querySelectorAll("canvas").forEach(a=>{pR(a,e,t,n,!0)||r.push(a)})};for(let e of this.windows){let t,n=e.deref();try{t=n&&n.document}catch{}t&&a(t)}for(let e of this.shadowDoms){let t=e.deref();t&&a(t)}return r}takeSnapshot(e,t,n){let{sampling:r,blockClass:a,blockSelector:o,unblockSelector:i,dataURLOptions:s,maxCanvasSize:l}=this.options;return(!this.lastSnapshotTime||!(e-this.lastSnapshotTime<1e3/("all"===r?2:r||2)))&&(this.lastSnapshotTime=e,(n?[n]:this.getCanvasElements(a,o,i)).forEach(e=>{let n=this.mirror.getId(e);if(!(!this.mirror.hasNode(e)||!e.width||!e.height||this.snapshotInProgressMap.get(n))){if(this.snapshotInProgressMap.set(n,!0),!t&&["webgl","webgl2"].includes(e.__context)){let t=e.getContext(e.__context);t?.getContextAttributes()?.preserveDrawingBuffer===!1&&t.clear(t.COLOR_BUFFER_BIT)}createImageBitmap(e).then(t=>{this.worker?.postMessage({id:n,bitmap:t,width:e.width,height:e.height,dataURLOptions:s,maxCanvasSize:l},[t])}).catch(e=>{pO(()=>{throw this.snapshotInProgressMap.delete(n),e})()})}}),!0)}startPendingCanvasMutationFlusher(){pC(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=t=>{this.rafStamps.latestId=t,pC(e)};pC(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,t)=>{let n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)}),pC(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;let n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;let r=n.map(e=>{let{type:t,...n}=e;return n}),{type:a}=n[0];this.mutationCb({id:t,type:a,commands:r}),this.pendingCanvasMutations.delete(e)}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}new class e{constructor(){pv(this,"idNodeMap",new Map),pv(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(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}},(z=q||(q={}))[z.NotStarted=0]="NotStarted",z[z.Running=1]="Running",z[z.Stopped=2]="Stopped";let pW={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},pq=(e={})=>{let t,n,[r,a]=e.maxCanvasSize||[],o={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[r?Math.min(r,1280):1280,a?Math.min(a,1280):1280]},i=new Promise(e=>n=e);return{name:"ReplayCanvas",getOptions(){let{quality:e,enableManualSnapshot:r,maxCanvasSize:a}=o;return{enableManualSnapshot:r,recordCanvas:!0,getCanvasManager:e=>{let o=new pH({...e,enableManualSnapshot:r,maxCanvasSize:a,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch{}}});return t=o,n(o),o},...pW[e]||pW.medium}},async snapshot(e,n){(t||await i).snapshot(e,n)}}};var lY=lY;let pG=()=>({name:"ElementTiming",setup(){r2()&&(0,eO.browserPerformanceTimeOrigin)()&&rW("element",({entries:e})=>{for(let t of e){if(!t.identifier)continue;let e=t.identifier,n=t.name,r=t.renderTime,a=t.loadTime,o={"sentry.origin":"auto.ui.browser.element_timing","ui.element.identifier":e};n&&(o["ui.element.paint_type"]=n),t.id&&(o["ui.element.id"]=t.id),t.element&&(o["ui.element.type"]=t.element.tagName.toLowerCase()),t.url&&(o["ui.element.url"]=t.url),t.naturalWidth&&(o["ui.element.width"]=t.naturalWi
492dth),t.naturalHeight&&(o["ui.element.height"]=t.naturalHeight),r>0&&lY.distribution("ui.element.render_time",r,{unit:"millisecond",attributes:o}),a>0&&lY.distribution("ui.element.load_time",a,{unit:"millisecond",attributes:o})}})}});function pV(e=(0,Q.getClient)()){e?.emit("endPageloadSpan")}function pY(e){let t=(0,eD.getActiveSpan)();if(t===e)return;let n=(0,Q.getCurrentScope)();e.end=new Proxy(e.end,{apply:(e,r,a)=>((0,eP._setSpanForScope)(n,t),Reflect.apply(e,r,a))}),(0,eP._setSpanForScope)(n,e)}function pJ(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function pX(e){return pJ(e.getAllKeys())}function pK(e){let t;function n(){var n,r;let a,o;return void 0==t&&(n=e.dbName||"sentry-offline",r=e.storeName||"queue",(a=indexedDB.open(n)).onupgradeneeded=()=>a.result.createObjectStore(r),o=pJ(a),t=e=>o.then(t=>e(t.transaction(r,"readwrite").objectStore(r)))),t}return{push:async t=>{try{var r,a;let o=(0,eB.serializeEnvelope)(t);await (r=n(),a=e.maxQueueSize||30,r(e=>pX(e).then(t=>{if(!(t.length>=a))return e.put(o,Math.max(...t,0)+1),pJ(e.transaction)})))}catch{}},unshift:async t=>{try{var r,a;let o=(0,eB.serializeEnvelope)(t);await (r=n(),a=e.maxQueueSize||30,r(e=>pX(e).then(t=>{if(!(t.length>=a))return e.put(o,Math.min(...t,0)-1),pJ(e.transaction)})))}catch{}},shift:async()=>{try{let e=await n()(e=>pX(e).then(t=>{let n=t[0];if(null!=n)return pJ(e.get(n)).then(t=>(e.delete(n),pJ(e.transaction).then(()=>t)))}));if(e)return(0,eB.parseEnvelope)(e)}catch{}}}}function pQ(e=nX){var t;return t=function(e){function t(...e){Z.DEBUG_BUILD&&V.debug.log("[Offline]:",...e)}return n=>{let r,a=e(n);if(!n.createStore)throw Error("No `createStore` function was provided");let o=n.createStore(n),i=5e3;function s(e){r&&clearTimeout(r),r=eK(setTimeout(async()=>{r=void 0;let e=await o.shift();e&&(t("Attempting to send previously queued event"),e[0].sent_at=new Date().toISOString(),u(e,!0).catch(e=>{t("Failed to retry sending",e)}))},e))}function l(){r||(s(i),i=Math.min(2*i,36e5))}async function u(e,r=!1){if(!r&&(0,eB.envelopeContainsItemType)(e,["replay_event","replay_recording"]))return await o.push(e),s(100),{};try{if(n.shouldSend&&await n.shouldSend(e)===!1)throw Error("Envelope not sent because `shouldSend` callback returned false");let t=await a.send(e),r=100;if(t){if(t.headers?.["retry-after"])r=e1(t.headers["retry-after"]);else if(t.headers?.["x-sentry-rate-limits"])r=6e4;else if((t.statusCode||0)>=400)return t}return s(r),i=5e3,t}catch(a){var c;if(await (c=i,!(0,eB.envelopeContainsItemType)(e,["client_report"])&&(!n.shouldStore||n.shouldStore(e,a,c))))return r?await o.unshift(e):await o.push(e),l(),t("Error sending. Event queued.",a),{};throw a}}return n.flushAtStartup&&l(),{send:u,flush:e=>(void 0===e&&(i=5e3,s(100)),a.flush(e))}}}(e),e=>{let n=t({...e,createStore:pK});return tC.addEventListener("online",async e=>{await n.flush()}),n}}var pZ=e.i(147310);let p0="window"in Y.GLOBAL_OBJ&&Y.GLOBAL_OBJ.window===Y.GLOBAL_OBJ&&"u"<typeof importScripts,p1=String(0),p2=p0?"main":"worker",p3=tC.navigator,p5="",p4="",p6="",p8=p3?.userAgent||"",p7="",p9=p3?.language||p3?.languages?.[0]||"",fe=p3?.userAgentData;function ft(e){return"pageload"===(0,eD.spanToJSON)(e).op}function fn(e){let t=(0,Q.getClient)(),n=t?.getOptions(),r=n?.stackParser;return r?(0,pZ.getDebugImagesForResources)(r,e):[]}function fr(e){return"number"!=typeof e&&"boolean"!=typeof e||"number"==typeof e&&isNaN(e)?(nr&&V.debug.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!0===e||!1===e||!(e<0)&&!(e>1)||(nr&&V.debug.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1)}"object"==typeof fe&&null!==fe&&"getHighEntropyValues"in fe&&fe.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(p5=e.platform||"",p6=e.architecture||"",p7=e.model||"",p4=e.platformVersion||"",e.fullVersionList?.length){let t=e.fullVersionList[e.fullVersionList.length-1];p8=`${t.brand} ${t.version}`}}).catch(e=>void 0);let fa=!1;function fo(){let e=tC.Profiler;if("function"!=typeof e){nr&&V.debug.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}let t=Math.floor(3e3);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(e){nr&&(V.debug.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),V.debug.log("[Profiling] Disabling profiling for current user session.")),fa=!0}}function fi(e){if(fa)return nr&&V.debug.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return nr&&V.debug.log("[Profiling] Discarding profile because root span was not sampled."),!1;let t=(0,Q.getClient)(),n=t?.getOptions();if(!n)return nr&&V.debug.log("[Profiling] Profiling disabled, no options foun
492d."),!1;let r=n.profilesSampleRate;return fr(r)?r?!!(!0===r||Math.random()<r)||(nr&&V.debug.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(nr&&V.debug.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(nr&&V.debug.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function fs(e){return void 0!==e.profilesSampleRate}let fl=new Map;function fu(e){let t;ft(e)&&(t=1e3*(0,eO.timestampInSeconds)());let n=fo();if(!n)return;nr&&V.debug.log(`[Profiling] started profiling span: ${(0,eD.spanToJSON)(e).description}`);let r=(0,eo.uuid4)(),a=null;async function o(){if(e&&n){if(a){nr&&V.debug.log("[Profiling] profile for:",(0,eD.spanToJSON)(e).description,"already exists, returning early");return}return n.stop().then(t=>{if(i&&(tC.clearTimeout(i),i=void 0),nr&&V.debug.log(`[Profiling] stopped profiling of span: ${(0,eD.spanToJSON)(e).description}`),!t){nr&&V.debug.log(`[Profiling] profiler returned null profile for: ${(0,eD.spanToJSON)(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}a=t;if(fl.set(r,t),fl.size>30){let e=fl.keys().next().value;void 0!==e&&fl.delete(e)}}).catch(e=>{nr&&V.debug.log("[Profiling] error while stopping profiler:",e)})}}(0,Q.getCurrentScope)().setContext("profile",{profile_id:r,start_timestamp:t});let i=tC.setTimeout(()=>{nr&&V.debug.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,eD.spanToJSON)(e).description),o()},3e4),s=e.end.bind(e);e.end=function(){return e?(o().then(()=>{s()},()=>{s()}),e):s()}}class fc{constructor(){this._client=void 0,this._profiler=void 0,this._chunkTimer=void 0,this._profilerId=void 0,this._isRunning=!1,this._sessionSampled=!1,this._lifecycleMode=void 0,this._activeRootSpanIds=new Set,this._rootSpanTimeouts=new Map}initialize(e){let t=e.getOptions().profileLifecycle,n=function(e){if(fa)return nr&&V.debug.log("[Profiling] Profiling has been disabled for the duration of the current user session as the JS Profiler could not be started."),!1;if("trace"!==e.profileLifecycle&&"manual"!==e.profileLifecycle)return nr&&V.debug.warn("[Profiling] Session not sampled. Invalid `profileLifecycle` option."),!1;let t=e.profileSessionSampleRate;return fr(t)?t?Math.random()<=t:(nr&&V.debug.log("[Profiling] Discarding profile because profileSessionSampleRate is not defined or set to 0"),!1):(nr&&V.debug.warn("[Profiling] Discarding profile because of invalid profileSessionSampleRate."),!1)}(e.getOptions());nr&&V.debug.log(`[Profiling] Initializing profiler (lifecycle='${t}').`),!n&&nr&&V.debug.log("[Profiling] Session not sampled. Skipping lifecycle profiler initialization."),this._profilerId=(0,eo.uuid4)(),this._client=e,this._sessionSampled=n,this._lifecycleMode=t,"trace"===t&&this._setupTraceLifecycleListeners(e)}start(){if("trace"===this._lifecycleMode){nr&&V.debug.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.start()` are ignored in trace mode.');return}if(this._isRunning){nr&&V.debug.warn("[Profiling] Profile session is already running, `uiProfiler.start()` is a no-op.");return}if(!this._sessionSampled){nr&&V.debug.warn("[Profiling] Session is not sampled, `uiProfiler.start()` is a no-op.");return}this._beginProfiling()}stop(){if("trace"===this._lifecycleMode){nr&&V.debug.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.stop()` are ignored in trace mode.');return}if(!this._isRunning){nr&&V.debug.warn("[Profiling] Profiler is not running, `uiProfiler.stop()` is a no-op.");return}this._endProfiling()}notifyRootSpanActive(e){if("trace"!==this._lifecycleMode||!this._sessionSampled)return;let t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);let n=this._activeRootSpanIds.size;1===n&&(nr&&V.debug.log("[Profiling] Detected already active root span during setup. Active root spans now:",n),this._beginProfiling())}_beginProfiling(){if(!this._isRunning){if(this._isRunning=!0,nr&&V.debug.log("[Profiling] Started profiling with profiler ID:",this._profilerId),(0,Q.getGlobalScope)().setContext("profile",{profiler_id:this._profilerId}),this._startProfilerInstance(),!this._profiler){nr&&V.debug.log("[Profiling] Failed to start JS Profiler; stopping."),this._resetProfilerInfo();return}this._startPeriodicChunking()}}_endProfiling(){this._isRunning&&(this._isRunning=!1,this._chunkTimer&&(clearTimeout(this._chunkTimer),this._chunkTimer=void 0),this._clearAllRootSpanTimeouts(),this._collectCurrentChunk().catch(e=>{nr&&V.debug.error("[Profiling] Failed to collect current profile chunk on `stop()`:",e)}),"manual"===this._lifecycleMode&&(0,Q.getGlobalScope)().setContext("profile",{}))}_setupTraceLifecycleListeners(e){e.on("spanStart",e=>{if(!this._sessionSampled){nr&&V.debug.log("[Profiling] Span not profiled because of negative sampling decision for user session.");return}if(e!==(0,eD.getRootSpan)(e))return;if(!e.isRecording()){nr&&V.debug.log("[Profiling] Discarding profile because root span was not sampled.");return}let t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);let n=this._activeRootSpanIds.size;1===n&&(nr&&V.debug.log(`[Profiling] Root span ${t} started. Profiling active while there are active root spans (count=${n}).`),this._beginProfiling())}),e.on("spanEnd",e=>{if(!this._sessionSampled)return;let t=e.spanContext().spanId;if(!t||!this._activeRootSpanIds.has(t))return;this._activeRootSpanIds.delete(t);let n=this._activeRootSpanIds.size;nr&&V.debug.log(`[Profiling] Root span with ID ${t} ended. Will continue profiling for as long as there are active root spans (currently: ${n}).`),0===n&&(this._collectCurrentChunk().catch(e=>{nr&&V.debug.error("[Profiling] Failed to collect current profile chunk on last `spanEnd`:",e)}),this._endProfiling())})}_resetProfilerInfo(){this._isRunning=!1,(0,Q.getGlobalScope)().setContext("profile",{})}
492_clearAllRootSpanTimeouts(){this._rootSpanTimeouts.forEach(e=>clearTimeout(e)),this._rootSpanTimeouts.clear()}_registerTraceRootSpan(e){this._activeRootSpanIds.add(e);let t=setTimeout(()=>this._onRootSpanTimeout(e),3e5);this._rootSpanTimeouts.set(e,t)}_startProfilerInstance(){if(this._profiler?.stopped===!1)return;let e=fo();if(!e){nr&&V.debug.log("[Profiling] Failed to start JS Profiler.");return}this._profiler=e}_startPeriodicChunking(){this._isRunning&&(this._chunkTimer=setTimeout(()=>{if(this._collectCurrentChunk().catch(e=>{nr&&V.debug.error("[Profiling] Failed to collect current profile chunk during periodic chunking:",e)}),this._isRunning){if(this._startProfilerInstance(),!this._profiler)return void this._resetProfilerInfo();this._startPeriodicChunking()}},6e4))}_onRootSpanTimeout(e){!this._rootSpanTimeouts.has(e)||(this._rootSpanTimeouts.delete(e),this._activeRootSpanIds.has(e)&&(nr&&V.debug.log(`[Profiling] Reached 5-minute timeout for root span ${e}. You likely started a manual root span that never called \`.end()\`.`),this._activeRootSpanIds.delete(e),0===this._activeRootSpanIds.size&&this._endProfiling()))}async _collectCurrentChunk(){let e=this._profiler;if(this._profiler=void 0,e)try{let t=await e.stop(),n=function(e,t,n){if(null==e)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${e} instead.`);let r=function(e){let t=[];for(let n=0;n<e.frames.length;n++){let r=e.frames[n];r&&(t[n]={function:r.name,abs_path:"number"==typeof r.resourceId?e.resources[r.resourceId]:void 0,lineno:r.line,colno:r.column})}let n=[];for(let t=0;t<e.stacks.length;t++){let r=e.stacks[t];if(!r)continue;let a=[],o=r;for(;o;)a.push(o.frameId),o=void 0===o.parentId?void 0:e.stacks[o.parentId];n[t]=a}let r=(0,eO.browserPerformanceTimeOrigin)(),a="number"==typeof performance.timeOrigin?performance.timeOrigin:r||0,o=a-(r||a),i=[];for(let t=0;t<e.samples.length;t++){let n=e.samples[t];if(!n)continue;let r=(a+(n.timestamp-o))/1e3;i[t]={stack_id:n.stackId??0,thread_id:p1,timestamp:r}}return{frames:t,stacks:n,samples:i,thread_metadata:{[p1]:{name:p2}}}}(e),a=t.getOptions(),o=t.getSdkMetadata?.()?.sdk;return{chunk_id:(0,eo.uuid4)(),client_sdk:{name:o?.name??"sentry.javascript.browser",version:o?.version??"0.0.0"},profiler_id:n||(0,eo.uuid4)(),platform:"javascript",version:"2",release:a.release??"",environment:a.environment??"production",debug_meta:{images:fn(e.resources)},profile:r}}(t,this._client,this._profilerId),r=function(e){try{if(!e||"object"!=typeof e)return{reason:"chunk is not an object"};let t=e=>"string"==typeof e&&/^[a-f0-9]{32}$/.test(e);if(!t(e.profiler_id))return{reason:"missing or invalid profiler_id"};if(!t(e.chunk_id))return{reason:"missing or invalid chunk_id"};if(!e.client_sdk)return{reason:"missing client_sdk metadata"};let n=e.profile;if(!n)return{reason:"missing profile data"};if(!Array.isArray(n.frames)||!n.frames.length)return{reason:"profile has no frames"};if(!Array.isArray(n.stacks)||!n.stacks.length)return{reason:"profile has no stacks"};if(!Array.isArray(n.samples)||!n.samples.length)return{reason:"profile has no samples"};return{valid:!0}}catch(e){return{reason:`unknown validation error: ${e}`}}}(n);if("reason"in r){nr&&V.debug.log("[Profiling] Discarding invalid profile chunk (this is probably a bug in the SDK):",r.reason);return}this._sendProfileChunk(n),nr&&V.debug.log("[Profiling] Collected browser profile chunk.")}catch(e){nr&&V.debug.log("[Profiling] Error while stopping JS Profiler for chunk:",e)}}_sendProfileChunk(e){let t=this._client,n=(0,eB.getSdkMetadataForEnvelopeHeader)(t.getSdkMetadata?.()),r=t.getDsn(),a=t.getOptions().tunnel,o=(0,eB.createEnvelope)({event_id:(0,eo.uuid4)(),sent_at:new Date().toISOString(),...n&&{sdk:n},...!!a&&r&&{dsn:(0,eE.dsnToString)(r)}},[[{type:"profile_chunk",platform:"javascript"},e]]);t.sendEnvelope(o).then(null,e=>{nr&&V.debug.error("Error while sending profile chunk envelope:",e)})}}let fd=()=>({name:"BrowserProfiling",setup(e){let t=e.getOptions(),n=new fc;if(fs(t)||t.profileLifecycle||(t.profileLifecycle="manual"),fs(t)&&!t.profilesSampleRate){nr&&V.debug.log("[Profiling] Profiling disabled, no profiling options foun
492d.");return}let r=(0,eD.getActiveSpan)(),a=r&&(0,eD.getRootSpan)(r);if(fs(t)&&void 0!==t.profileSessionSampleRate&&nr&&V.debug.warn("[Profiling] Both legacy profiling (`profilesSampleRate`) and UI profiling settings are defined. `profileSessionSampleRate` has no effect when legacy profiling is enabled."),fs(t))a&&ft(a)&&fi(a)&&fu(a),e.on("spanStart",e=>{e===(0,eD.getRootSpan)(e)&&fi(e)&&fu(e)}),e.on("beforeEnvelope",e=>{let t;if(!fl.size)return;let n=(t=[],(0,eB.forEachEnvelopeItem)(e,(e,n)=>{if("transaction"===n)for(let n=1;n<e.length;n++){let r=e[n];r?.contexts?.profile?.profile_id&&t.push(e[n])}}),t);if(!n.length)return;let r=[];for(let e of n){let t=e?.contexts,n=t?.profile?.profile_id,a=t?.profile?.start_timestamp;if("string"!=typeof n||!n){nr&&V.debug.log("[Profiling] cannot find profile for a span without a profile context");continue}t?.profile&&delete t.profile;let o=function(e){let t=fl.get(e);return t&&fl.delete(e),t}(n);if(!o){nr&&V.debug.log(`[Profiling] Could not retrieve profile for span: ${n}`);continue}let i=function(e,t,n,r){return(n.samples.length<2?(nr&&V.debug.log("[Profiling] Discarding profile because it contains less than 2 samples"),1):!n.frames.length&&(nr&&V.debug.log("[Profiling] Discarding profile because it contains no frames"),1))?null:function(e,t,n,r){var a;let o;if("transaction"!==r.type)throw TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==n)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);let i=("string"==typeof(o=r.contexts?.trace?.trace_id)&&32!==o.length&&nr&&V.debug.log(`[Profiling] Invalid traceId: ${o} on profiled event`),"string"!=typeof o)?"":o,s="thread_metadata"in(a=n)?a:function(e){let t,n=0,r={samples:[],stacks:[],frames:[],thread_metadata:{[p1]:{name:p2}}},a=e.samples[0];if(!a)return r;let o=a.timestamp,i=(0,eO.browserPerformanceTimeOrigin)(),s="number"==typeof performance.timeOrigin?performance.timeOrigin:i||0,l=s-(i||s);return e.samples.forEach((a,i)=>{if(void 0===a.stackId){void 0===t&&(t=n,r.stacks[t]=[],n++),r.samples[i]={elapsed_since_start_ns:((a.timestamp+l-o)*1e6).toFixed(0),stack_id:t,thread_id:p1};return}let s=e.stacks[a.stackId],u=[];for(;s;){u.push(s.frameId);let t=e.frames[s.frameId];t&&void 0===r.frames[s.frameId]&&(r.frames[s.frameId]={function:t.name,abs_path:"number"==typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),s=void 0===s.parentId?void 0:e.stacks[s.parentId]}let c={elapsed_since_start_ns:((a.timestamp+l-o)*1e6).toFixed(0),stack_id:n,thread_id:p1};r.stacks[n]=u,r.samples[i]=c,n++}),r}(a),l=t||("number"==typeof r.start_timestamp?1e3*r.start_timestamp:1e3*(0,eO.timestampInSeconds)()),u="number"==typeof r.timestamp?1e3*r.timestamp:1e3*(0,eO.timestampInSeconds)();return{event_id:e,timestamp:new Date(l).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||ek.DEFAULT_ENVIRONMENT,runtime:{name:"javascript",version:tC.navigator.userAgent},os:{name:p5,version:p4,build_number:p8},device:{locale:p9,model:p7,manufacturer:p8,architecture:p6,is_emulator:!1},debug_meta:{images:fn(n.resources)},profile:s,transactions:[{name:r.transaction||"",id:r.event_id||(0,eo.uuid4)(),trace_id:i,active_thread_id:p1,relative_start_ns:"0",relative_end_ns:((u-l)*1e6).toFixed(0)}]}}(e,t,n,r)}(n,a,o,e);i&&r.push(i)}!function(e,t){if(t.length)for(let n of t)e[1].push([{type:"profile"},n])}(e,r)});else{let r=t.profileLifecycle;if(e.on("startUIProfiler",()=>n.start()),e.on("stopUIProfiler",()=>n.stop()),"manual"===r)n.initialize(e);else if("trace"===r){if(!(0,n6.hasSpansEnabled)(t)){nr&&V.debug.warn("[Profiling] `profileLifecycle` is 'trace' but tracing is disabled. Set a `tracesSampleRate` or `tracesSampler` to enable span tracing.");return}n.initialize(e),a&&n.notifyRootSpanActive(a),tC.setTimeout(()=>{let e=(0,eD.getActiveSpan)(),t=e&&(0,eD.getRootSpan)(e);t&&n.notifyRootSpanActive(t)},0)}}},processEvent:e=>(e?.contexts?.profile&&e.contexts&&(e.contexts.trace?.trace_id&&(e.contexts.trace={...e.contexts.trace,data:{...e.contexts.trace.data??{},"thread.id":p1,"thread.name":p2}}
492),e.spans?.forEach(e=>{e.data={...e.data||{},"thread.id":p1,"thread.name":p2}})),e)}),fp=(e={})=>{let t=e.sidecarUrl||"http://localhost:8969/stream";return{name:"SpotlightBrowser",setup:()=>{nr&&V.debug.log("Using Sidecar URL",t)},processEvent:e=>{var t;return"transaction"===(t=e).type&&t.spans&&t.contexts?.trace&&"ui.action.click"===t.contexts.trace.op&&t.spans.some(({description:e})=>e?.includes("#sentry-spotlight"))?null:e},afterAllSetup:e=>{var n,r;let a,o;n=e,r=t,a=nY("fetch"),o=0,n.on("beforeEnvelope",e=>{o>3?V.debug.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",o):a(r,{method:"POST",body:(0,eB.serializeEnvelope)(e),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(e=>{e.status>=200&&e.status<400&&(o=0)},e=>{o++,V.debug.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",e)})})}}},ff=()=>({name:"LaunchDarkly",processEvent:(e,t,n)=>s9(e)});function fh(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,n)=>{le(e,t.value),lt(e,t.value)}}}let fm=()=>
492({name:"OpenFeature",processEvent:(e,t,n)=>s9(e)});class fg{after(e,t){le(t.flagKey,t.value),lt(t.flagKey,t.value)}error(e,t,n){le(e.flagKey,e.defaultValue),lt(e.flagKey,e.defaultValue)}}let fy=({featureFlagClientClass:e})=>({name:"Unleash",setupOnce(){let t=e.prototype;(0,ep.fill)(t,"isEnabled",f_)},processEvent:(e,t,n)=>s9(e)});function f_(e){return function(...t){let n=t[0],r=e.apply(this,t);return"string"==typeof n&&"boolean"==typeof r?(le(n,r),lt(n,r)):nr&&V.debug.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${n} (${typeof n}), result: ${r} (${typeof r})`),r}}function fv(e){return function(...t){let n=t[0],r=e.apply(this,t);return"string"==typeof n&&"boolean"==typeof r&&(le(n,r),lt(n,r)),r}}let fb=({growthbookClass:e})=>(({growthbookClass:e})=>({name:"GrowthBook",setupOnce(){let t=e.prototype;"function"==typeof t.isOn&&(0,ep.fill)(t,"isOn",fv),"function"==typeof t.getFeatureValue&&(0,ep.fill)(t,"getFeatureValue",fv)},processEvent:(e,t,n)=>s9(e)}))({growthbookClass:e}),fS=({featureFlagClient:e})=>({name:"Statsig",setup(t){e.on("gate_evaluation",e=>{le(e.gate.name,e.gate.value),lt(e.gate.name,e.gate.value)})}
492,processEvent:(e,t,n)=>s9(e)});async function fE(){let e=(0,Q.getClient)();if(!e)return"no-client-active";if(!e.getDsn())return"no-dsn-configured";let t=e.getOptions().tunnel||"https://o447951.ingest.sentry.io/api/4509632503087104/envelope/?sentry_version=7&sentry_key=c1dfb07d783ad5325c245c1fd3725390&sentry_client=sentry.javascript.browser%2F1.33.7";try{await (0,re.suppressTracing)(()=>fetch(t,{body:"{}",method:"POST",mode:"cors",credentials:"omit"}))}catch{return"sentry-unreachable"}}let fw=({worker:e})=>({name:"WebWorker",setupOnce:()=>{(Array.isArray(e)?e:[e]).forEach(e=>fT(e))},addWorker:e=>fT(e)});function fT(e){e.addEventListener("message",e=>{if(function(e){if(!(0,eC.isPlainObject)(e)||!0!==e._sentryMessage)return!1;let t="_sentryDebugIds"in e,n="_sentryModuleMetadata"in e,r="_sentryWorkerError"in e,a="_sentryWasmImages"in e;return(!!t||!!n||!!r||!!a)&&(!t||!!((0,eC.isPlainObject)(e._sentryDebugIds)||void 0===e._sentryDebugIds))&&(!n||!!((0,eC.isPlainObject)(e._sentryModuleMetadata)||void 0===e._sentryModuleMetadata))&&(!r||!!(0,eC.isPlainObject)(e._sentryWorkerError))&&(!a||!!Array.isArray(e._sentryWasmImages)&&!!e._sentryWasmImages.every(e=>(0,eC.isPlainObject)(e)&&"string"==typeof e.code_file))&&!0}(e.data)){if(e.stopImmediatePropagation(),e.data._sentryDebugIds&&(nr&&V.debug.log("Sentry debugId web worker message received",e.data),tC._sentryDebugIds={...e.data._sentryDebugIds,...tC._sentryDebugIds}),e.data._sentryModuleMetadata&&(nr&&V.debug.log("Sentry module metadata web worker message received",e.data),tC._sentryModuleMetadata={...e.data._sentryModuleMetadata,...tC._sentryModuleMetadata}),e.data._sentryWasmImages){nr&&V.debug.log("Sentry WASM images web worker message received",e.data);let t=tC._sentryWasmImages||[],n=e.data._sentryWasmImages.filter(e=>(0,eC.isPlainObject)(e)&&"string"==typeof e.code_file&&!t.some(t=>t.code_file===e.code_file));tC._sentryWasmImages=[...t,...n]}e.data._sentryWorkerError&&(nr&&V.debug.log("Sentry worker rejection message received",e.data._sentryWorkerError),function(e){let t=(0,Q.getClient)();if(!t)return;let n=t.getOptions().stackParser,r=t.getOptions().attachStacktrace,a=e.reason,o=(0,eC.isPrimitive)(a)?nb(a):tR(n,a,void 0,r,!0);o.level="error",e.filename&&(o.contexts={...o.contexts,worker:{filename:e.filename}}),(0,K.captureEvent)(o,{originalException:a,mechanism:{handled:!1,type:"auto.browser.web_worker.onunhandledrejection"}}),nr&&V.debug.log("Captured worker unhandled rejection",a)}(e.data._sentryWorkerError))}})}function fk({self:e}){e.postMessage({_sentryMessage:!0,_sentryDebugIds:e._sentryDebugIds??void 0,_sentryModuleMetadata:e._sentryModuleMetadata??void 0}),e.addEventListener("unhandledrejection",t=>{let n={reason:nv(t),filename:e.location?.href};e.postMessage({_sentryMessage:!0,_sentryWorkerError:n}),nr&&V.debug.log("[Sentry Worker] Forwarding unhandled rejection to parent",n)}),nr&&V.debug.log("[Sentry Worker] Registered worker with unhandled rejection handling")}function fR(e,{componentStack:t},n){let r;if(null!==(r=n1.version.match(/^([^.]+)/))&&parseInt(r[0])>=17&&(0,eC.isError)(e)&&t){let n,r=Error(e.message);r.name=`React ErrorBoundary ${e.name}`,r.stack=t,n=new WeakSet,function e(t,r){if(!n.has(t)){if(t.cause)return n.add(t),e(t.cause,r);t.cause=r}}(e,r)}return(0,Q.withScope)(r=>(r.setContext("react",{componentStack:t}),(0,K.captureException)(e,n)))}function fx(e){return(t,n)=>{let r=!!e,a=fR(t,n,{mechanism:{handled:r,type:"auto.function.react.error_handler"}});r&&e(t,n,a)}}e.s(["BrowserClient",0,tA,"MULTIPLEXED_TRANSPORT_EXTRA_KEY",0,iV,"OpenFeatureIntegrationHook",0,fg,"SDK_VERSION",()=>J.SDK_VERSION,"SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_OP,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"Scope",()=>iX.Scope,"WINDOW",0,tC,"addBreadcrumb",0,tK,"addEventProcessor",()=>K.addEventProcessor,"addIntegration",0,er,"breadcrumbsIntegration",0,na,"browserApiErrorsIntegration",0,ni,"browserProfilingIntegration",0,fd,"browserSessionIntegration",0,nc,"browserTracingIntegration",0,aI,"buildLaunchDarklyFlagUsedHandler",0,fh,"captureConsoleIntegration",0,iK,"captureEvent",()=>K.captureEvent,"captureException",()=>K.captureException,"captureFeedback",0,a9,"captureMessage",()=>K.captureMessage,"captureSession",()=>K.captureSession,"chromeStackLineParser",0,nA,"close",()=>K.close,"consoleLoggingIntegration",0,i2,"contextLinesIntegration",0,ud,"continueTrace",()=>re.continueTrace,"createConsolaReporter",0,i5,"createLangChainCallbackHandler",0,s6,"createTransport",0,e5,"createUserFeedbackEnvelope",0,l8,"cultureContextIntegration",0,nd,"dedupeIntegration",0,ey,"defaultRequestInstrumentationOptions",0,aw,"defaultStackLineParsers",0,nH,"defaultStackParser",0,nW,"diagnoseSdkConnectivity",0,fE,"elementTimingIntegration",0,pG,"endSession",()=>K.endSession,"eventFiltersIntegration",0,el,"eventFromException",0,tT,"eventFromMessage",0,tk,"exceptionFromError",0,tv,"extraErrorDataIntegration",0,s8,"featureFlagsIntegration",0,ln,"feedbackAsyncIntegration",0,iq,"feedbackIntegration",0,iG,"feedbackSyncIntegration",0,iG,"flush",()=>K.flush,"forceLoad",0,nZ,"functionToStringIntegration",0,eh,"geckoStackLineParser",0,nD,"getActiveSpan",()=>eD.getActiveSpan,"getClient",()=>Q.getClient,"getCurrentScope",()=>Q.getCurrentScope,"getDefaultIntegrations",0,nK,"getFeedback",0,oP,"getGlobalScope",()=>Q.getGlobalScope,"getIsolationScope",()=>Q.getIsolationScope,"getReplay",0,py,"getRootSpan",()=>eD.getRootSpan,"getSpanDescendants",()=>eD.getSpanDescendants,"getSpanStatusFromHttpCode",()=>n9.getSpanStatusFromHttpCode,"getTraceData",0,ad,"globalHandlersIntegration",0,n_,"graphqlClientIntegration",0,u_,"growthbookIntegration",0,fb,"httpClientIntegration",0,ua,"httpContextIntegration",0,nw,"inboundFiltersIntegration",0,eu,"init",0,nQ,"instrumentAnthropicAiClient",0,lc,"instrumentGoogleGenAIClient",0,lv,"instrumentLangGraph",0,lS,"instrumentOpenAiClient",0,lI,"instrumentOutgoingRequests",0,aT,"instrumentSupabaseClient",0,lD,"isEnabled",()=>K.isEnabled,"isInitialized",()=>K.isInitialized,"lastEventId",()=>K.lastEventId,"launchDarklyIntegration",0,ff,"lazyLoadIntegration",0,iW,"linkedErrorsIntegration",0,nx,"logger",()=>lG,"makeBrowserOfflineTransport",0,pQ,"makeFetchTransport",0,nX,"makeMultiplexedTransport",0,iJ,"metrics",()=>lY,"moduleMetadataIntegration",0,lZ,"onLoad",0,n0,"openFeatureIntegration",0,fm,"opera10StackLineParser",0,nF,"opera11StackLineParser",0,nz,"parameterize",0,lq,"registerSpanErrorInstrumentation",0,ra,"registerWebWorker",0,fk,"replayCanvasIntegration",0,pq,"replayIntegration",0,ph,"reportPageLoaded",0,pV,"reportingObserverIntegration",0,ut,"rewriteFramesIntegration",0,a5,"sendFeedback",0,oS,"setActiveSpanInBrowser",0,pY,"setContext",()=>K.setContext,"setConversationId",()=>K.setConversationId,"setCurrentClient",0,eS,"setExtra",()=>K.setExtra,"setExtras",()=>K.setExtras,"setHttpStatus",()=>n9.setHttpStatus,"setMeasurement",()=>
492at.setMeasurement,"setTag",()=>K.setTag,"setTags",()=>K.setTags,"setUser",()=>K.setUser,"showReportDialog",0,l7,"spanToBaggageHeader",()=>eL.spanToBaggageHeader,"spanToJSON",()=>eD.spanToJSON,"spanToTraceHeader",()=>eD.spanToTraceHeader,"spotlightBrowserIntegration",0,fp,"startBrowserTracingNavigationSpan",0,aN,"startBrowserTracingPageLoadSpan",0,aC,"startInactiveSpan",()=>re.startInactiveSpan,"startNewTrace",()=>re.startNewTrace,"startSession",()=>K.startSession,"startSpan",()=>re.startSpan,"startSpanManual",()=>re.startSpanManual,"statsigIntegration",0,fS,"supabaseIntegration",0,lU,"suppressTracing",()=>re.suppressTracing,"thirdPartyErrorFilterIntegration",0,l0,"uiProfiler",0,l6,"unleashIntegration",0,fy,"updateSpanName",()=>eD.updateSpanName,"webWorkerIntegration",0,fw,"winjsStackLineParser",0,nj,"withActiveSpan",()=>re.withActiveSpan,"withIsolationScope",()=>Q.withIsolationScope,"withScope",()=>Q.withScope,"zodErrorsIntegration",0,l4],815879),e.i(815879);var fI=n1;let fC="ui.react.render",fN="ui.react.mount",fP={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},fO={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},fA={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},fM=Symbol.for("react.forward_ref"),fL=Symbol.for("react.memo"),fD={};function fU(e){if("object"==typeof e&&null!==e&&e.$$typeof===fL)return fA;let t=e.$$typeof;return t&&fD[t]||fP}fD[fM]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fD[fL]=fA;let fj=Object.defineProperty.bind(Object),fB=Object.getOwnPropertyNames.bind(Object),fF=Object.getOwnPropertySymbols?.bind(Object),f$=Object.getOwnPropertyDescriptor.bind(Object),fz=Object.getPrototypeOf.bind(Object),fH=Object.prototype;function fW(e,t,n){if("string"!=typeof t){if(fH){let n=fz(t);n&&n!==fH&&fW(e,n)}let n=fB(t);fF&&(n=n.concat(fF(t)));let r=fU(e),a=fU(t);for(let o of n)if(!fO[o]&&!a?.[o]&&!r?.[o]&&!f$(e,o)){let n=f$(t,o);if(n)try{fj(e,o,n)}catch(e){}}}return e}class fq extends fI.Component{constructor(e){super(e);const{name:t,disabled:n=!1}=this.props;if(n)return;this._mountSpan=(0,re.startInactiveSpan)({name:`<${t}>`,onlyIfParent:!0,op:fN,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":t}})}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:t=!0}){if(t&&this._mountSpan&&e!==this.props.updateProps){let t=Object.keys(e).filter(t=>e[t]!==this.props.updateProps[t]);if(t.length>0){let e=(0,eO.timestampInSeconds)();this._updateSpan=(0,re.withActiveSpan)(this._mountSpan,()=>(0,re.startInactiveSpan)({name:`<${this.props.name}>`,onlyIfParent:!0,op:"ui.react.update",startTime:e,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":this.props.name,"ui.react.changed_props":t}}))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){let e=(0,eO.timestampInSeconds)(),{name:t,includeRender:n=!0}=this.props;if(this._mountSpan&&n){let n=(0,eD.spanToJSON)(this._mountSpan).timestamp;(0,re.withActiveSpan)(this._mountSpan,()=>{let r=(0,re.startInactiveSpan)({onlyIfParent:!0,name:`<${t}>`,op:fC,startTime:n,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":t}});r&&r.end(e)})}}render(){return this.props.children}}function fG(e,t){let n=t?.name||e.displayName||e.name||"unknown",r=r=>fI.createElement(fq,{...t,name:n,updateProps:r},fI.createElement(e,{...r}));return r.displayName=`profiler(${n})`,fW(r,e),r}function fV(e,t={disabled:!1,hasRenderSpan:!0}){let[n]=fI.useState(()=>{if(!t?.disabled)return(0,re.startInactiveSpan)({name:`<${e}>`,onlyIfParent:!0,op:fN,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":e}})});fI.useEffect(()=>(n&&n.end(),()=>{if(n&&t.hasRenderSpan){let t=(0,eD.spanToJSON)(n).timestamp,r=(0,eO.timestampInSeconds)(),a=(0,re.startInactiveSpan)({name:`<${e}>`,onlyIfParent:!0,op:fC,startTime:t,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":e}});a&&a.end(r)}}),[])}Object.assign(fq,{defaultProps:{disabled:!1,includeRender:!0,includeUpdates:!0}});var fY=n1;let fJ="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,fX={componentStack:null,error:null,eventId:null};class fK extends fY.Component{constructor(e){super(e),this.state=fX,this._openFallbackReportDialog=!0;const t=(0,Q.getClient)();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&l7({...e.dialogOptions,eventId:this._lastEventId})}))}
492componentDidCatch(e,t){let{componentStack:n}=t,{beforeCapture:r,onError:a,showDialog:o,dialogOptions:i}=this.props;(0,Q.withScope)(s=>{r&&r(s,e,n);let l=fR(e,t,{mechanism:{handled:null!=this.props.handled?this.props.handled:!!this.props.fallback,type:"auto.function.react.error_boundary"}});a&&a(e,n,l),o&&(this._lastEventId=l,this._openFallbackReportDialog&&l7({...i,eventId:l})),this.setState({error:e,componentStack:n,eventId:l})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:r}=this.props;r&&(this.state===fX?r(null,null,null):r(e,t,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:e}=this.props,{error:t,componentStack:n,eventId:r}=this.state;e&&e(t,n,r),this.setState(fX)}render(){let{fallback:e,children:t}=this.props,n=this.state;if(null===n.componentStack)return"function"==typeof t?t():t;let r="function"==typeof e?fY.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):e;return fY.isValidElement(r)?r:(e&&fJ&&V.debug.warn("fallback did not produce a valid ReactElement"),null)}}function fQ(e,t){let n=e.displayName||e.name||"unknown",r=fY.memo(n=>fY.createElement(fK,{...t},fY.createElement(e,{...n})));return r.displayName=`errorBoundary(${n})`,fW(r,e),r}let fZ={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};function f0(e){let t={...fZ,...e};return e=>(n,r)=>{function a(e){return(n,r)=>{let a=e(n,r),o=(0,Q.getCurrentScope)(),i=t.actionTransformer(r);null!=i&&tK({category:"redux.action",data:i,type:"info"});let s=t.stateTransformer(a);if(null!=s){let e=(0,Q.getClient)(),t=e?.getOptions(),n=t?.normalizeDepth||3,r={state:{type:"redux",value:s}};(0,ep.addNonEnumerableProperty)(r,"__sentry_override_normalization_depth__",3+n),o.setContext("state",r)}else o.setContext("state",null);let{configureScopeWithState:l}=t;return"function"==typeof l&&l(o,a),a}}t.attachReduxState&&(0,Q.getGlobalScope)().addEventProcessor((e,t)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(t.attachments=[...t.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch{}return e});let o=e(a(n),r);return o.replaceReducer=new Proxy(o.replaceReducer,{apply:function(e,t,n){e.apply(t,[a(n[0])])}}),o}}function f1(e){let t=aI({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:n,routes:r,match:a,instrumentPageLoad:o=!0,instrumentNavigation:i=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),o&&tC.location&&f2(r,tC.location,a,(t,n="url")=>{aC(e,{name:t,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.react.reactrouter_v3",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n}})}),i&&n.listen&&n.listen(t=>{("PUSH"===t.action||"POP"===t.action)&&f2(r,t,a,(t,n="url")=>{aN(e,{name:t,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.react.reactrouter_v3",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n}})})})}}}function f2(e,t,n,r){let a=t.pathname;n({location:t,routes:e},(e,t,n)=>{if(e||!n)return r(a);let o=function(e){if(!Array.isArray(e)||0===e.length)return"";let t=e.filter(e=>!!e.path),n=-1;for(let e=t.length-1;e>=0;e--){let r=t[e];if(r.path?.startsWith("/")){n=e;break}}return t.slice(n).reduce((e,{path:t})=>{let n="/"===e||""===e?t:`/${t}`;return`${e}${n}`},"")}(n.routes||[]);return 0===o.length||"/*"===o?r(a):r(a=o,"route")})}function f3(e,t={}){let n=aI({...t,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:r=!0,instrumentNavigation:a=!0}=t;return{...n,afterAllSetup(t){n.afterAllSetup(t);let o=tC.location;if(r&&o){let n=e.matchRoutes(o.pathname,e.options.parseSearch(o.search),{preload:!1,throwOnError:!1}),r=n[n.length-1],a=r?.routeId!=="__root__"?r:void 0;aC(t,{name:a?a.routeId:o.pathname,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.react.tanstack_router",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:a?"route":"url",...f5(a)}})}a&&e.subscribe("onBeforeNavigate",n=>{if(!n.fromLocation||n.toLocation.state===n.fromLocation.state)return;let r=e.matchRoutes(n.toLocation.pathname,n.toLocation.search,{preload:!1,throwOnError:!1}),a=r[r.length-1],o=a?.routeId!=="__root__"?a:void 0,i=tC.location,s=aN(t,{name:o?o.routeId:i.pathname,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.react.tanstack_router",[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o?"route":"url"}}),l=e.subscribe("onResolved",t=>{if(l(),s){let n=e.matchRoutes(t.toLocation.pathname,t.toLocation.search,{preload:!1,throwOnError:!1}),r=n[n.length-1],a=r?.routeId!=="__root__"?r:void 0;a&&(s.updateName(a.routeId),s.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"route"),s.setAttributes(f5(a)))}})})}}}function f5(e){if(!e)return{};let t={};
492return Object.entries(e.params).forEach(([e,n])=>{t[`url.path.params.${e}`]=n,t[`url.path.parameter.${e}`]=n,t[`params.${e}`]=n}),t}function f4(e){let t=aI({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:n,routes:r,matchPath:a,instrumentPageLoad:o=!0,instrumentNavigation:i=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),f8(e,o,i,n,"reactrouter_v4",r,a)}}}function f6(e){let t=aI({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:n,routes:r,matchPath:a,instrumentPageLoad:o=!0,instrumentNavigation:i=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),f8(e,o,i,n,"reactrouter_v5",r,a)}}}function f8(e,t,n,r,a,o=[],i){function s(e){if(0===o.length||!i)return[e,"url"];for(let t of function e(t,n,r,a=[]){return t.some(t=>{let o=t.path?r(n,t):a.length?a[a.length-1].match:{path:"/",url:"/",params:{},isExact:"/"===n};return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,n,r,a)),!!o}),a}(o,e,i))if(t.match.isExact)return[t.match.path,"route"];return[e,"url"]}if(t){let t=r.location?r.location.pathname:tC.location?tC.location.pathname:void 0;if(t){let[n,r]=s(t);aC(e,{name:n,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.pageload.react.${a}`,[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r}})}}n&&r.listen&&r.listen((t,n)=>{if(n&&("PUSH"===n||"POP"===n)){let[n,r]=s(t.pathname);aN(e,{name:n,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.navigation.react.${a}`,[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r}})}})}function f7(e){let t=e.displayName||e.name,n=t=>{if(t?.computedMatch?.isExact){let e=t.computedMatch.path,n=function(){let e=(0,eD.getActiveSpan)(),t=e&&(0,eD.getRootSpan)(e);if(!t)return;let n=(0,eD.spanToJSON)(t).op;return"navigation"===n||"pageload"===n?t:void 0}();(0,Q.getCurrentScope)().setTransactionName(e),n&&(n.updateName(e),n.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"route"))}return n1.createElement(e,{...t})};return n.displayName=`sentryRoute(${t})`,fW(n,e),n}function f9(e,t){if(!t||"/"===t||!e.toLowerCase().startsWith(t.toLowerCase()))return e;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?e:e.slice(n)||"/"}let he=new WeakMap;function ht(e,t){return void 0!==e&&void 0!==t&&(!!hr.test(t)||e===t)}function hn(e){return e.split("/").filter(Boolean)}let hr=/^:[\w-]+$/;function ha(e){let t=e.split("/"),n=t.length;for(let e of(t.includes("*")&&(n+=-2),t))if("*"===e)continue;else hr.test(e)?n+=3:""===e?n+=1:n+=10;return n}let ho=!1,hi=[];function hs(){let e=hi.length;return e>0?hi[e-1]??null:null}function hl(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function hu(e){return e.endsWith("*")}function hc(e){return e.includes("/*")||e.endsWith("*")}function hd(e,t){return hu(e)&&!!t.route.children?.length||!1}function hp(e){return e.split(/\\?\//).filter(e=>e.length>0&&","!==e).length}function hf(e){return"/"===e[0]?e:`/${e}`}function hh(e,t){return ho?f9(e.pathname,t):e.pathname||""}function hm(e,t,n,r,a="",o,i){let s;if(i&&o&&o.length>0){let t=function(e,t,n){if(!e||!t?.length)return null;let r=n?f9(e,n):e,a=he.get(t);for(let e of(!a&&(a=[...t].sort((e,t)=>{let n=ha(e);return ha(t)-n}),he.set(t,a),fJ&&V.debug.log("[React Router] Sorted route manifest by specificity:",a.length,"patterns")),a))if(function(e,t){if("/"===t)return"/"===e||""===e;let n=hn(e),r=hn(t);if(r.length>0&&"*"===r[r.length-1]){let e=r.slice(0,-1);if(n.length<e.length)return!1;for(let[t,r]of e.entries())if(!ht(n[t],r))return!1;return!0}if(n.length!==r.length)return!1;for(let[e,t]of r.entries())if(!ht(n[e],t))return!1;return!0}(r,e))return fJ&&V.debug.log("[React Router] Matched pathname",r,"to pattern",e),e;return fJ&&V.debug.log("[React Router] No manifest match found for pathname:",r),null}(e.pathname,o,a);if(t)return[(ho?"":a)+t,"route"]}let l="url",u=function(e,t){let n=S(t,e);if(n)for(let e of n){var r;if(!(r=e.route).children&&r.element&&r.path?.endsWith("/*")&&e.params["*"])return!0}return!1}(e,n);return u&&(s=hf(function e(t,n){let r=S(t,n);if(!r||0===r.length)return"";for(let o of r)if(o.route.path&&"*"!==o.route.path){var a;let r="*"===(a=o.route.path||"")[a.length-1]?a.slice(0,-1):a,i=f9(n.pathname,hf(o.pathnameBase));if(n.pathname===i)return hl(i);return hl(hl(r||"")+hf(e(t.filter(e=>e!==o.route),{pathname:i})))}return""}(n,e)),l="route"),u&&s||([s,l]=function(e,t,n,r=""){if(!e||0===e.length)return[ho?f9(t.pathname,r):t.pathname,"url"];if(!n)return[hh(t,r),"url"];let a="";for(let e of n){let n=e.route;if(!n)continue;if(n.index)return function(e,t,n){let r=e&&e.length>0?e:ho?f9(t,n):t,a="/*"===r.slice(-2)?r.slice(0,-2):r;return a.length>1&&"/"===a[a.length-1]&&(a=a.slice(0,-1)),[a,"route"]}(a,e.pathname,r);let o=n.path;if(!o||hd(o,e))continue;let i="/"===o[0]||"/"===a[a.length-1]?o:`/${o}`;if(a=hl(a)+hf(i),hl(t.pathname)===hl(r+e.pathname)){if(hp(a)!==hp(e.pathname)&&!hu(a))return[(ho?"":r)+i,"route"];return hd(a,e)&&(a=a.slice(0,-1)),[(ho?"":r)+a,"route"]}}return[hh(t,r),"url"]}(t,e,r,a)),[s||e.pathname,l]}function hg(){let e=(0,eD.getActiveSpan)(),t=e?(0,eD.getRootSpan)(e):void 0;if(!t)return;let n=(0,eD.spanToJSON)(t).op;return"navigation"===n||"pageload"===n?t:void 0}function hy(e,t){if(e.handle&&"object"==typeof e.handle)for(let n of Object.keys(e.handle)){let r=e.handle[n];"function"!=typeof r||r.__sentry_proxied__||(e.handle[n]=function(e,t,n,r){let a=new Proxy(e,{apply(e,a,o){let i,s=function(){let e=hs();if(e)return e.targetPath?{pathname:e.targetPath,search:"",hash:"",state:null,key:"default"}:null;if(void 0!==tC)try{let e=tC.location;if(e)return{pathname:e.pathname,search:e.search||"",hash:e.hash||"",state:null,key:"default"}}catch{fJ&&V.debug.warn("[React Router] Could not access window.location")}return null}(),l=(i=hs())?i.span:hg(),u=e.apply(a,o);return function(e,t,n,r,a,o){(0,eC.isThenable)(e)?e.then(e=>{Array.isArray(e)&&r(e,t,a??void 0,o)}).catch(e=>{fJ&&V.debug.warn(`Error resolving async handler '${n}' for route`,t,e)}):Array.isArray(e)&&r(e,t,a??void 0,o)}(u,t,n,r,s,l),u}});return(0,ep.addNonEnumerableProperty)(a,"__sentry_proxied__",!0),a}(r,e,n,t))}if(Array.isArray(e.children))for(let n of e.children)hy(n,t)}let h_=!1,hv=3e3,hb="",hS=new WeakSet,hE=new WeakMap,hw=new Set,hT=new WeakMap,hk=new WeakMap;function hR(e){tC?.cancelAnimationFrame?tC.cancelAnimationFrame(e):clearTimeout(e)}function hx(e){return`${e.pathname}${e.search||""}${e.hash||""}`}function hI(e){return e.includes(":")||e.includes("*")}function hC(e,t){let n=t.children||[],r=e.filter(e=>!n.some(t=>t===e||e.path&&t.path===e.path||e.id&&t.id===e.id));r.length>0&&(t.children=[...n,...r])}function hN(e,t){let n=hT.get(e);n||(n=new Set,hT.set(e,n)),n.add(t),t.finally(()=>{let n=hT.get(e);n&&n.delete(t)})}function hP(e){let t=new Promise(t=>{hk.set(e,t)});hN(e,t)}
492function hO(e,t,n=null,r){e.forEach(e=>{hw.add(e),h_&&hy(e,hO)}),t&&hC(e,t);let a=r??hg();if(a){let e=(0,eD.spanToJSON)(a);if(e.timestamp){fJ&&V.debug.warn("[React Router] Lazy handler resolved after span ended - skipping update");return}let t=e.op,o=n;if(!o&&!r&&void 0!==tC){let e=tC.location;e?.pathname&&(o={pathname:e.pathname})}o&&("pageload"===t?hz({activeRootSpan:a,location:{pathname:o.pathname},routes:Array.from(hw),allRoutes:Array.from(hw)}):"navigation"===t&&hA(a,o,Array.from(hw),!1,R))}}function hA(e,t,n,r=!1,a){let o=(0,eD.spanToJSON)(e),i=o.description,s=e?.__sentry_navigation_name_set__,l=i&&hc(i);if((!s||r||l)&&!o.timestamp){let r=a(n,t),[u,c]=hm(t,n,n,r||[],hb,x,h_),d=o.data?.[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];u&&(!i||!s&&("route"!==d||"route"===c)||"route"!==d&&"route"===c||"route"===d&&"route"===c&&l)&&(e.updateName(u),e.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,c),hc(u)||"route"!==c||(0,ep.addNonEnumerableProperty)(e,"__sentry_navigation_name_set__",!0))}}function hM(e,t,n,r,a){let o=!1,i=!!a&&"pageload"===(0,eD.spanToJSON)(a).op,s=!1,l=null,u=null;e.subscribe(e=>{if(!o){let t=hg();t&&"pageload"===(0,eD.spanToJSON)(t).op?i=!0:i&&("POP"!==e.historyAction||s?o=!0:s=!0)}if("PUSH"===e.historyAction||"POP"===e.historyAction&&o){let a=hx(e.location),o=()=>{u!==a&&(u=a,l=null,hF({location:e.location,routes:t,navigationType:e.historyAction,version:n,basename:r,allRoutes:Array.from(hw)}))};if("idle"!==e.navigation.state)u!==a&&(u=null),null!==l&&hR(l),l=tC?.requestAnimationFrame?tC.requestAnimationFrame(o):setTimeout(o,0);else null!==l&&(hR(l),l=null),o()}})}function hL(e,t){return E&&w&&T&&R?function(n,r){if(h$(n),h_)for(let e of n)hy(e,hO);let a=hg();r&&"patchRoutesOnNavigation"in r&&"function"==typeof r.patchRoutesOnNavigation&&a&&((0,ep.addNonEnumerableProperty)(a,"__sentry_may_have_lazy_routes__",!0),hP(a));let o=e(n,hB(r,!1,a)),i=r?.basename;return"POP"===o.state.historyAction&&a&&hz({activeRootSpan:a,location:o.state.location,routes:n,basename:i,allRoutes:Array.from(hw)}),hb=i||"",hM(o,n,t,i,a),o}:(fJ&&V.debug.warn(`reactRouterV${t}Instrumentation was unable to wrap the \`createRouter\` function because of one or more missing parameters.`),e)}function hD(e,t){return E&&w&&T&&R?function(n,r){let a;if(h$(n),h_)for(let e of n)hy(e,hO);let o=hg();r&&"patchRoutesOnNavigation"in r&&"function"==typeof r.patchRoutesOnNavigation&&o&&((0,ep.addNonEnumerableProperty)(o,"__sentry_may_have_lazy_routes__",!0),hP(o));let i=e(n,hB(r,!0,o)),s=r?.basename,l=r?.initialEntries,u=r?.initialIndex,c=l?.length===1,d=void 0!==u&&l?.[u],p=(a=c?l[0]:d?l[u]:void 0)?"string"==typeof a?{pathname:a}:a:i.state.location,f=hg();return"POP"===i.state.historyAction&&f&&hz({activeRootSpan:f,location:p,routes:n,basename:s,allRoutes:Array.from(hw)}),hb=s||"",hM(i,n,t,s,f),i}:(fJ&&V.debug.warn(`reactRouterV${t}Instrumentation was unable to wrap the \`createMemoryRouter\` function because of one or more missing parameters.`),e)}function hU(e,t){let n=aI({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:r,useLocation:a,useNavigationType:o,createRoutesFromChildren:i,matchRoutes:s,stripBasename:l,enableAsyncRouteHandlers:u=!1,instrumentPageLoad:c=!0,instrumentNavigation:d=!0,lazyRouteTimeout:p,lazyRouteManifest:f}=e;return{...n,setup(t){n.setup(t);let c=e.finalTimeout??3e4,d=(e.idleTimeout??1e3)*3,h=p??d;h===1/0?(hv=c,fJ&&V.debug.log("[React Router] lazyRouteTimeout set to Infinity, capping at finalTimeout:",c,"ms to prevent indefinite hangs")):Number.isNaN(h)?(fJ&&V.debug.warn("[React Router] lazyRouteTimeout must be a number, falling back to default:",d),hv=d):h<0?(fJ&&V.debug.warn("[React Router] lazyRouteTimeout must be non-negative or Infinity, got:",h,"falling back to:",d),hv=d):hv=h,E=r,w=a,T=o,R=s,k=i,h_=u,x=f,function(e,t=!1){S=e,ho=t}(s,l||!1)},afterAllSetup(e){n.afterAllSetup(e);let r=tC.location?.pathname;c&&r&&aC(e,{name:r,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.pageload.react.reactrouter_v${t}`}}),d&&hS.add(e)}}}function hj(e,t){if(!E||!w||!T||!R)return fJ&&V.debug.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` be
492cause of one or more missing parameters."),e;let n=n=>{let r=n1.useRef(!0),{routes:a,locationArg:o}=n,i=e(a,o),s=w(),l=T(),u="string"==typeof o||o?.pathname?o:s;return E(()=>{let e="string"==typeof u?{pathname:u}:u;r.current?(h$(a),hz({activeRootSpan:hg(),location:e,routes:a,allRoutes:Array.from(hw)}),r.current=!1):hF({location:e,routes:a,navigationType:l,version:t,allRoutes:Array.from(hw)})},[l,u]),i};return(e,t)=>n1.createElement(n,{routes:e,locationArg:t})}function hB(e,t=!1,n){if(!e||!("patchRoutesOnNavigation"in e)||"function"!=typeof e.patchRoutesOnNavigation)return e||{};let r=e.patchRoutesOnNavigation;return{...e,patchRoutesOnNavigation:async e=>{let a=e?.path,o=hg()??n;if(!t){let t=e?.patch,n=e?.matches;t&&(e.patch=(e,r)=>{if(h$(r),n&&n.length>0){let t=n[n.length-1],a=t?.route;if(a){let t=Array.from(hw).find(t=>{let n=void 0!==t.id&&t.id===e,r=t===a,o=void 0!==t.path&&void 0!==a.path&&t.path===a.path;return n||r||o});t&&hC(r,t)}}let i=o?(0,eD.spanToJSON)(o):void 0;return a&&o&&i&&!i.timestamp&&"navigation"===i.op&&hA(o,{pathname:a,search:"",hash:"",state:null,key:"default"},Array.from(hw),!0,R),t(e,r)})}let i=(async()=>{let t,n,i=(n={},hi.length>=10&&(fJ&&V.debug.warn("[React Router] Navigation context stack overflow - removing oldest context"),hi.shift()),hi.push({token:n,targetPath:a,span:o}),n);try{t=await r(e)}finally{let e,t;e=hi[hi.length-1],e?.token===i&&hi.pop(),o&&(t=hk.get(o))&&(t(),hk.delete(o),o.__sentry_may_have_lazy_routes__&&(o.__sentry_may_have_lazy_routes__=!1))}let s=o?(0,eD.spanToJSON)(o):void 0;return o&&s&&!s.timestamp&&"navigation"===s.op&&a&&hA(o,{pathname:a,search:"",hash:"",state:null,key:"default"},Array.from(hw),!1,R),t})();return o&&hN(o,i),i}}}function hF(e){let{location:t,routes:n,navigationType:r,version:a,matches:o,basename:i,allRoutes:s}=e,l=Array.isArray(o)?o:R(s||n,t,i),u=(0,Q.getClient)();if(!u||!hS.has(u))return;let c=hg();if((!c||"pageload"!==(0,eD.spanToJSON)(c).op||"POP"!==r)&&("PUSH"===r||"POP"===r)&&l){let e,[r,o]=hm(t,s||n,s||n,l,i,x,h_),c=hx(t),d=hE.get(u),p=!!d&&!d.isPlaceholder&&!!(0,eD.spanToJSON)(d.span).timestamp,{skip:f,shouldUpdate:h}=function(e,t,n,r){if(!e)return{skip:!1,shouldUpdate:!1};if(e.locationKey===t&&(e.isPlaceholder||!r)){let t=!!e.routeName&&hc(e.routeName),r=hc(n),a=!!e.routeName&&hI(e.routeName),o=hI(n),i=n!==e.routeName&&n.length>(e.routeName?.length||0)&&!r;return{skip:!0,shouldUpdate:!!(e.routeName&&(t&&!r||!a&&o||i))}}return{skip:!1,shouldUpdate:!1}}(d,c,r,p);if(f){if(h&&d){let e=d.routeName;d.isPlaceholder?(d.routeName=r,fJ&&V.debug.log(`[Tracing] Updated placeholder navigation name from "${e}" to "${r}" (will apply to real span)`)):(d.span.updateName(r),d.span.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,o),(0,ep.addNonEnumerableProperty)(d.span,"__sentry_navigation_name_set__",!0),d.routeName=r,fJ&&V.debug.log(`[Tracing] Updated navigation span name from "${e}" to "${r}"`))}else fJ&&V.debug.log(`[Tracing] Skipping duplicate navigation for location: ${c}`);return}let m={span:{end:()=>{}},routeName:r,pathname:t.pathname,locationKey:c,isPlaceholder:!0};hE.set(u,m);try{e=aN(u,{name:m.routeName,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o,[em.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.navigation.react.reactrouter_v${a}`}})}catch(e){throw hE.delete(u),e}e?(hE.set(u,{span:e,routeName:m.routeName,pathname:t.pathname,locationKey:c}),hW(e,t,n,i,"navigation")):hE.delete(u)}}function h$(e){e.forEach(e=>{(function e(t,n=new Set){return n.has(t)||(n.add(t),t.children&&!t.index&&t.children.forEach(t=>{e(t,n).forEach(e=>{n.add(e)})})),n})(e).forEach(e=>{hw.add(e)})})}function hz({activeRootSpan:e,location:t,routes:n,matches:r,basename:a,allRoutes:o}){let i=Array.isArray(r)?r:R(o||n,t,a);if(i){let[r,s]=hm(t,o||n,o||n,i,a,x,h_);(0,Q.getCurrentScope)().setTransactionName(r||"/"),e&&(e.updateName(r),e.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,s),hW(e,t,n,a,"pageload"))}else e&&hW(e,t,n,a,"pageload")}function hH(e,t,n,r,a,o,i,s){try{let l=t.data?.[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if("route"===l&&n&&!hc(n))return;let u=Array.from(s),c=u.length>0?u:a,d=R(c,r,o);if(!d)return;let[p,f]=hm(r,c,c,d,o,x,h_),h=function(e,t,n,r,a=!1){return!!n&&(!!(!e&&a||e&&hc(e)&&"route"===r&&!hc(n))||"route"!==t&&"route"===r)}(n,l,p,f,!0),m="pageload"===i||!t.timestamp;h&&m&&(e.updateName(p),e.setAttribute(em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,f))}catch(e){fJ&&V.debug.warn(`Error updating span details before ending: ${e}`)}}function hW(e,t,n,r,a){let o=`__sentry_${a}_end_patched__`;if(e?.[o]||!e.end)return;let i=e.end.bind(e),s=!1;e.end=function(...o){if(s)return;s=!0;let l=o.length>0?o[0]:Date.now()/1e3,u=(0,eD.spanToJSON)(e),c=u.description,d=u.data?.[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],p=()=>{let t=(0,Q.getClient)();if(t&&"navigation"===a){let n=hE.get(t);n&&n.span===e&&hE.delete(t)}},f=hT.get(e),h=e.__sentry_may_have_lazy_routes__;if((f&&f.size>0||h)&&c&&(hc(c)||"route"!==d)){let o;if(0===hv){hH(e,u,c,t,n,r,a,hw),p(),i(l);return}let s=new Promise(e=>setTimeout(e,hv));if(f&&f.size>0){let e=Promise.allSettled(f).then(()=>{});o=hv===1/0?e:Promise.race([e,s])}else o=s;o.then(()=>{let o=(0,eD.spanToJSON)(e);hH(e,o,o.description,t,n,r,a,hw),p(),i(l)}).catch(()=>{p(),i(l)});return}hH(e,u,c,t,n,r,a,hw),p(),i(l)},(0,ep.addNonEnumerableProperty)(e,o,!0)}function hq(e,t){if(!E||!w||!T||!k||!R)return fJ&&V.debug.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters. 493 useEffect: ${E}
493. useLocation: ${w}. useNavigationType: ${T}. 494 createRoutesFromChildren: ${k}. matchRoutes: ${R}.`),e;let n=n=>{let r=n1.useRef(!0),a=w(),o=T();return E(()=>{let e=k(n.children);r.current?(h$(e),hz({activeRootSpan:hg(),location:a,routes:e,allRoutes:Array.from(hw)}),r.current=!1):hF({location:a,routes:e,navigationType:o,version:t,allRoutes:Array.from(hw)})},[a,o]),n1.createElement(e,{...n})};return fW(n,e),n}function hG(e){return hU(e,"6")}function hV(e){return hj(e,"6")}function hY(e){return hL(e,"6")}function hJ(e){return hD(e,"6")}function hX(e){return hq(e,"6")}function hK(e){return hU(e,"7")}function hQ(e){return hq(e,"7")}function hZ(e){return hL(e,"7")}function h0(e){return hD(e,"7")}function h1(e){return hj(e,"7")}function h2(e){let t={};try{e.forEach((e,n)=>{"string"==typeof e&&(t[n]=e)})}catch{}return t}function h3(e){let t=Object.create(null);try{Object.entries(e).forEach(([e,n])=>{"string"==typeof n&&(t[e]=n)})}catch{}return t}function h5(e){let t=e.headers||{},n=("string"==typeof t["x-forwarded-host"]?t["x-forwarded-host"]:void 0)||("string"==typeof t.host?t.host:void 0),r=("string"==typeof t["x-forwarded-proto"]?t["x-forwarded-proto"]:void 0)||e.protocol||(e.socket?.encrypted?"https":"http"),a=e.url||"",o=function({url:e,protocol:t,host:n}){return e?.startsWith("http")?e:e&&n?`${t}://${n}${e}`:void 0}({url:a,host:n,protocol:r}),i=e.body||void 0,s=e.cookies;return{url:o,method:e.method,query_string:h4(a),headers:h3(t),cookies:s,data:i}}function h4(e){if(e)try{let t=new URL(e,"http://s.io").search.slice(1);return t.length?t:void 0}catch{return}}async function h6(){try{n3&&V.debug.log("Flushing events..."),await (0,K.flush)(2e3),n3&&V.debug.log("Done flushing events")}catch(e){n3&&V.debug.log("Error while flushing events:\n",e)}}function h8(e){var t;"function"==typeof h7()?.waitUntil?(t=e,h7()?.waitUntil(t)):function(e){if("string"!=typeof EdgeRuntime)return;let t=Y.GLOBAL_OBJ[Symbol.for("@vercel/request-context")],n=t?.get?.();n?.waitUntil&&n.waitUntil(e)}(e)}function h7(){let e=Symbol.for("__cloudflare-context__");return Y.GLOBAL_OBJ[e]?.ctx}async function h9(e){let{req:t,res:n,err:r}=e,a=n?.statusCode||e.statusCode;if(a&&a<500||!e.pathname)return;if(r&&(0,eo.isAlreadyCaptured)(r)){h8(h6());let e="object"==typeof r?r.__sentry_event_id__:void 0;return"string"==typeof e?((0,Q.getIsolationScope)().setLastEventId(e),e):(0,Q.getIsolationScope)().lastEventId()}let o=(0,Q.withScope)(e=>{if(t){let n=h5(t);e.setSDKProcessingMetadata({normalizedRequest:n})}return(0,K.captureException)(r||`_error.js called with falsy error (${r})`,{mechanism:{type:"auto.function.nextjs.underscore_error",handled:!1,data:{function:"_error.getInitialProps"}}})});return h8(h6()),o}e.s(["BrowserClient",0,tA,"ErrorBoundary",0,fK,"MULTIPLEXED_TRANSPORT_EXTRA_KEY",0,iV,"OpenFeatureIntegrationHook",0,fg,"Profiler",0,fq,"SDK_VERSION",()=>J.SDK_VERSION,"SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_OP,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"Scope",()=>iX.Scope,"WINDOW",0,tC,"addBreadcrumb",0,tK,"addEventProcessor",()=>K.addEventProcessor,"addIntegration",0,er,"breadcrumbsIntegration",0,na,"browserApiErrorsIntegration",0,ni,"browserProfilingIntegration",0,fd,"browserSessionIntegration",0,nc,"browserTracingIntegration",0,aI,"buildLaunchDarklyFlagUsedHandler",0,fh,"captureConsoleIntegration",0,iK,"captureEvent",()=>K.captureEvent,"captureException",()=>K.captureException,"captureFeedback",0,a9,"captureMessage",()=>K.captureMessage,"captureReactException",0,fR,"captureSession",()=>K.captureSession,"chromeStackLineParser",0,nA,"close",()=>K.close,"consoleLoggingIntegration",0,i2,"contextLinesIntegration",0,ud,"continueTrace",()=>re.continueTrace,"createConsolaReporter",0,i5,"createLangChainCallbackHandler",0,s6,"createReduxEnhancer",0,f0,"createTransport",0,e5,"createUserFeedbackEnvelope",0,l8,"cultureContextIntegration",0,nd,"dedupeIntegration",0,ey,"defaultRequestInstrumentationOptions",0,aw,"defaultStackLineParsers",0,nH,"defaultStackParser",0,nW,"diagnoseSdkConnectivity",0,fE,"elementTimingIntegration",0,pG,"endSession",()=>K.endSession,"eventFiltersIntegration",0,el,"eventFromException",0,tT,"eventFromMessage",0,tk,"exceptionFromError",0,tv,"extraErrorDataIntegration",0,s8,"featureFlagsIntegration",0,ln,"feedbackAsyncIntegration",0,iq,"feedbackIntegration",0,iG,"feedbackSyncIntegration",0,iG,"flush",()=>K.flush,"forceLoad",0,nZ,"functionToStringIntegration",0,eh,"geckoStackLineParser",0,nD,"getActiveSpan",()=>eD.getActiveSpan,"getClient",()=>Q.getClient,"getCurrentScope",()=>Q.getCurrentScope,"getDefaultIntegrations",0,nK,"getFeedback",0,oP,"getGlobalScope",()=>Q.getGlobalScope,"getIsolationScope",()=>Q.getIsolationScope,"getReplay",0,py,"getRootSpan",()=>eD.getRootSpan,"getSpanDescendants",()=>eD.getSpanDescendants,"getSpanStatusFromHttpCode",()=>n9.getSpanStatusFromHttpCode,"getTraceData",0,ad,"globalHandlersIntegration",0,n_,"graphqlClientIntegration",0,u_,"growthbookIntegration",0,fb,"httpClientIntegration",0,ua,"httpContextIntegration",0,nw,"inboundFiltersIntegration",0,eu,"init",0,n2,"instrumentAnthropicAiClient",0,lc,"instrumentGoogleGenAIClient",0,lv,"instrumentLangGraph",0,lS,"instrumentOpenAiClient",0,lI,"instrumentOutgoingRequests",0,aT,"instrumentSupabaseClient",0,lD,"isEnabled",()=>K.isEnabled,"isInitialized",()=>K.isInitialized,"lastEventId",()=>K.lastEventId,"launchDarklyIntegration",0,ff,"lazyLoadIntegration",0,iW,"linkedErrorsIntegration",0,nx,"logger",()=>lG,"makeBrowserOfflineTransport",0,pQ,"makeFetchTransport",0,nX,"makeMultiplexedTransport",0,iJ,"metrics",()=>lY,"moduleMetadataIntegration",0,lZ,"onLoad",0,n0,"openFeatureIntegration",0,fm,"opera10StackLineParser",0,nF,"opera11StackLineParser",0,nz,"parameterize",0,lq,"reactErrorHandler",0,fx,"reactRouterV3BrowserTracingIntegration",0,f1,"reactRouterV4BrowserTracingIntegration",0,f4,"reactRouterV5BrowserTracingIntegration",0,f6,"reactRouterV6BrowserTracingIntegration",0,hG,"reactRouterV7BrowserTracingIntegration",0,hK,"registerSpanErrorInstrumentation",0,ra,"registerWebWorker",0,fk,"replayCanvasIntegration",0,pq,"replayIntegration",0,ph,"reportPageLoaded",0,pV,"reportingObserverIntegration",0,ut,"rewriteFramesIntegration",0,a5,"sendFeedback",0,oS,"setActiveSpanInBrowser",0,pY,"setContext",()=>K.setContext,"setConversationId",()=>K.setConversationId,"setCurrentClient",0,eS,"setExtra",()=>K.setExtra,"setExtras",()=>K.setExtras,"setHttpStatus",()=>n9.setHttpStatus,"setMeasurement",()=>
494at.setMeasurement,"setTag",()=>K.setTag,"setTags",()=>K.setTags,"setUser",()=>K.setUser,"showReportDialog",0,l7,"spanToBaggageHeader",()=>eL.spanToBaggageHeader,"spanToJSON",()=>eD.spanToJSON,"spanToTraceHeader",()=>eD.spanToTraceHeader,"spotlightBrowserIntegration",0,fp,"startBrowserTracingNavigationSpan",0,aN,"startBrowserTracingPageLoadSpan",0,aC,"startInactiveSpan",()=>re.startInactiveSpan,"startNewTrace",()=>re.startNewTrace,"startSession",()=>K.startSession,"startSpan",()=>re.startSpan,"startSpanManual",()=>re.startSpanManual,"statsigIntegration",0,fS,"supabaseIntegration",0,lU,"suppressTracing",()=>re.suppressTracing,"tanstackRouterBrowserTracingIntegration",0,f3,"thirdPartyErrorFilterIntegration",0,l0,"uiProfiler",0,l6,"unleashIntegration",0,fy,"updateSpanName",()=>eD.updateSpanName,"useProfiler",0,fV,"webWorkerIntegration",0,fw,"winjsStackLineParser",0,nj,"withActiveSpan",()=>re.withActiveSpan,"withErrorBoundary",0,fQ,"withIsolationScope",()=>Q.withIsolationScope,"withProfiler",0,fG,"withScope",()=>Q.withScope,"withSentryReactRouterV6Routing",0,hX,"withSentryReactRouterV7Routing",0,hQ,"withSentryRouting",0,f7,"wrapCreateBrowserRouterV6",0,hY,"wrapCreateBrowserRouterV7",0,hZ,"wrapCreateMemoryRouterV6",0,hJ,"wrapCreateMemoryRouterV7",0,h0,"wrapUseRoutesV6",0,hV,"wrapUseRoutesV7",0,h1,"zodErrorsIntegration",0,l4],361981),e.i(361981);var me=e.i(655113);function mt(){return G.default.env.NEXT_PHASE===me.PHASE_PRODUCTION_BUILD}function mn(e){let t=mt(),n=!!e&&function(e){if(e.$$typeof!==Symbol.for("react.server.reference"))return!1;let{type:t}=function(e){let t=parseInt(e.slice(0,2),16),n=t>>1&63,r=Array(6);for(let e=0;e<6;e++){let t=n>>5-e&1;r[e]=1===t}return{type:1==(t>>7&1)?"use-cache":"server-action",usedArgs:r,hasRestArgs:1==(1&t)}}(e.$$id);return"use-cache"===t}(e);return n&&n3&&V.debug.log("Skipping span creation in Cache Components context"),t||n}function mr(){return new n8.SentryNonRecordingSpan({traceId:"00000000000000000000000000000000",spanId:"0000000000000000"})}async function ma(e,t,n){return(0,Q.withIsolationScope)(async r=>{let a,o,i=(0,Q.getClient)()?.getOptions().sendDefaultPii,s={};try{let e=await t.headers;a=e?.get("sentry-trace")??void 0,o=e?.get("baggage"),e?.forEach((e,t)=>{s[t]=e})}catch{n3&&V.debug.warn("Sentry wasn't able to extract the tracing headers for a server action. Will not trace this request.")}return r.setTransactionName(`serverAction/${e}`),r.setSDKProcessingMetadata({normalizedRequest:{headers:s}}),((0,eD.getActiveSpan)()?(e,t)=>t():re.continueTrace)({sentryTrace:a,baggage:o},async()=>{try{return await (0,re.startSpan)({op:"function.server_action",name:`serverAction/${e}`,forceTransaction:!0,attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"route",[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.function.nextjs.server_action"}},async e=>{let r=await (0,ld.handleCallbackErrors)(n,t=>{n5(t)?e.setStatus({code:n9.SPAN_STATUS_ERROR,message:"not_found"}):n4(t)||(e.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"}),(0,K.captureException)(t,{mechanism:{handled:!1,type:"auto.function.nextjs.server_action"}}))});return(void 0!==t.recordResponse?t.recordResponse:i)&&(0,Q.getIsolationScope)().setExtra("server_action_result",r),t.formData&&t.formData.forEach((e,t)=>{(0,Q.getIsolationScope)().setExtra(`server_action_form_data.${t}`,"string"==typeof e?e:"[non-string value]")}),r})}finally{h8(h6())}})})}function mo(e){return async function(...t){try{return await e.apply(this,t)}catch(t){throw(0,K.captureException)(t,{mechanism:{handled:!1,type:"auto.function.nextjs.wrapped",data:{function:e.name}}}),t}}}function mi(e,t,n,r){return async function(...n){let a=h5(t);(0,Q.getCurrentScope)().setTransactionName(`${r.dataFetchingMethodName} (${r.dataFetcherRouteName})`),(0,Q.getIsolationScope)().setSDKProcessingMetadata({normalizedRequest:a});let o=(0,eD.getActiveSpan)();o&&"/_error"!==r.requestedRouteName&&(0,eD.getRootSpan)(o).setAttribute("sentry.route_backfill",r.requestedRouteName);let{"sentry-trace":i,baggage:s}=ad();return{sentryTrace:i,baggage:s,data:await e.apply(this,n)}}}async function ms(e,t){try{return await e(...t)}catch(e){throw(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.function.nextjs.data_fetcher"}}),e}}var ml=e.i(242222);function mu(e,t){e&&"object"==typeof e&&(0,ep.addNonEnumerableProperty)(e,"__sentry_event_id__",t)}e.s(["BrowserClient",0,tA,"ErrorBoundary",0,fK,"MULTIPLEXED_TRANSPORT_EXTRA_KEY",0,iV,"OpenFeatureIntegrationHook",0,fg,"Profiler",0,fq,"SDK_VERSION",()=>J.SDK_VERSION,"SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_OP,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"Scope",()=>iX.Scope,"WINDOW",0,tC,"addBreadcrumb",0,tK,"addEventProcessor",()=>K.addEventProcessor,"addIntegration",0,er,"breadcrumbsIntegration",0,na,"browserApiErrorsIntegration",0,ni,"browserProfilingIntegration",0,fd,"browserSessionIntegration",0,nc,"browserTracingIntegration",0,a0,"buildLaunchDarklyFlagUsedHandler",0,fh,"captureConsoleIntegration",0,iK,"captureEvent",()=>K.captureEvent,"captureException",()=>K.captureException,"captureFeedback",0,a9,"captureMessage",()=>K.captureMessage,"captureReactException",0,fR,"captureRequestError",0,function(e,t,n){(0,Q.withScope)(r=>{r.setSDKProcessingMetadata({normalizedRequest:{headers:h3(t.headers),method:t.method}}),r.setContext("nextjs",{request_path:t.path,router_kind:n.routerKind,router_path:n.routePath,route_type:n.routeType}),r.setTransactionName(`${t.method} ${n.routePath}`),(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.function.nextjs.on_request_error"}}),h8(h6())})},"captureRouterTransitionStart",0,function(e,t){C&&C(e,t)},"captureSession",()=>K.captureSession,"captureUnderscoreErrorException",0,h9,"chromeStackLineParser",0,nA,"close",()=>K.close,"consoleLoggingIntegration",0,i2,"contextLinesIntegration",0,ud,"continueTrace",()=>re.continueTrace,"createConsolaReporter",0,i5,"createLangChainCallbackHandler",0,s6,"createReduxEnhancer",0,f0,"createTransport",0,e5,"createUserFeedbackEnvelope",0,l8,"cultureContextIntegration",0,nd,"dedupeIntegration",0,ey,"defaultRequestInstrumentationOptions",0,aw,"defaultStackLineParsers",0,nH,"defaultStackParser",0,nW,"diagnoseSdkConnectivity",0,fE,"elementTimingIntegration",0,pG,"endSession",()=>K.endSession,"eventFiltersIntegration",0,el,"eventFromException",0,tT,"eventFromMessage",0,tk,"exceptionFromError",0,tv,"extraErrorDataIntegration",0,s8,"featureFlagsIntegration",0,ln,"feedbackAsyncIntegration",0,iq,"feedbackIntegration",0,iG,"feedbackSyncIntegration",0,iG,"flush",()=>K.flush,"forceLoad",0,nZ,"functionToStringIntegration",0,eh,"geckoStackLineParser",0,nD,"getActiveSpan",()=>eD.getActiveSpan,"getClient",()=>Q.getClient,"getCurrentScope",()=>Q.getCurrentScope,"getDefaultIntegrations",0,nK,"getFeedback",0,oP,"getGlobalScope",()=>Q.getGlobalScope,"getIsolationScope",()=>Q.getIsolationScope,"getReplay",0,py,"getRootSpan",()=>eD.getRootSpan,"getSpanDescendants",()=>eD.getSpanDescendants,"getSpanStatusFromHttpCode",()=>n9.getSpanStatusFromHttpCode,"getTraceData",0,ad,"globalHandlersIntegration",0,n_,"graphqlClientIntegration",0,u_,"growthbookIntegration",0,fb,"httpClientIntegration",0,ua,"httpContextIntegration",0,nw,"inboundFiltersIntegration",0,eu,"init",0,function(e){let t,n,r,a,o;a8&&(0,V.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),a8=!0,!n3&&e.debug&&(0,V.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){tC.document&&function(e){let t=az(e)||e,n=a4.get(t);if(void 0!==n)return n;let r=a$();if(!r?.isrRoutes||!Array.isArray(r.isrRoutes)||0===r.isrRoutes.length)return a4.set(t,!1),!1;let a=r.isrRoutes.includes(t);return a4.set(t,a),a}(tC.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=tC.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}();let i={environment:e.environment||G.default.env.SENTRY_ENVIRONMENT||((t=G.default.env.NEXT_PUBLIC_VERCEL_ENV)?`vercel-${t}`:void 0)||"production",defaultIntegrations:(n=nK(e),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&n.push(a0()),r=a7._sentryRewriteFramesAssetPrefixPath||"",a=G.default.env._sentryBasePath||a7._sentryBasePath,o="true"===G.default.env._experimentalThirdPartyOriginStackFrames||"true"===a7._experimentalThirdPartyOriginStackFrames,n.push((({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:r})=>({...a5({iteratee:a=>{if(r){let n="u">typeof window&&window.location?window.location.origin:"";if(a.filename?.startsWith(n)&&!a.filename.endsWith(".js"))return a;
494if(e)a.filename?.startsWith(e)&&(a.filename=a.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(a.filename);e===n&&(a.filename=a.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(a.filename);a.filename=a.filename?.replace(e,"app://").replace(n,"")}catch{}return r?(a.filename?.includes("/_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)):(a.filename?.startsWith("app:///_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)),a}}),name:"NextjsClientStackFrameNormalization"}))({assetPrefix:"https://static3.freecash.com",basePath:a,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:o})),n),release:"bff1bf411756cfe27ca697bfc1c6ef06d93a53db",...e};!function(e){let t=G.default.env._sentryRewritesTunnelPath||a6._sentryRewritesTunnelPath;if(t&&e.dsn){let n=(0,eE.dsnFromString)(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let a=r[1],o=r[2],i=`${t}?o=${a}&p=${n.projectId}`;o&&(i+=`&r=${o}`),e.tunnel=i,n3&&V.debug.log(`Tunneling events to "${i}"`)}else n3&&V.debug.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(i),X(i,"nextjs",["nextjs","react"]);let s=n2(i),l=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;l.id="NextClient404Filter",(0,K.addEventProcessor)(l);let u=e=>"transaction"===e.type&&e.transaction===aW?null:e;u.id="IncompleteTransactionFilter",(0,K.addEventProcessor)(u);let c=(e,t)=>n4(t?.originalException)||e.exception?.values?.[0]?.value==="NEXT_REDIRECT"?null:e;c.id="NextRedirectErrorFilter",(0,K.addEventProcessor)(c);try{(0,Q.getGlobalScope)().setTag("turbopack",!0)}catch{}return s},"instrumentAnthropicAiClient",0,lc,"instrumentGoogleGenAIClient",0,lv,"instrumentLangGraph",0,lS,"instrumentOpenAiClient",0,lI,"instrumentOutgoingRequests",0,aT,"instrumentSupabaseClient",0,lD,"isEnabled",()=>K.isEnabled,"isInitialized",()=>K.isInitialized,"lastEventId",()=>K.lastEventId,"launchDarklyIntegration",0,ff,"lazyLoadIntegration",0,iW,"linkedErrorsIntegration",0,nx,"logger",()=>lG,"makeBrowserOfflineTransport",0,pQ,"makeFetchTransport",0,nX,"makeMultiplexedTransport",0,iJ,"metrics",()=>lY,"moduleMetadataIntegration",0,lZ,"onLoad",0,n0,"openFeatureIntegration",0,fm,"opera10StackLineParser",0,nF,"opera11StackLineParser",0,nz,"parameterize",0,lq,"reactErrorHandler",0,fx,"reactRouterV3BrowserTracingIntegration",0,f1,"reactRouterV4BrowserTracingIntegration",0,f4,"reactRouterV5BrowserTracingIntegration",0,f6,"reactRouterV6BrowserTracingIntegration",0,hG,"reactRouterV7BrowserTracingIntegration",0,hK,"registerSpanErrorInstrumentation",0,ra,"registerWebWorker",0,fk,"replayCanvasIntegration",0,pq,"replayIntegration",0,ph,"reportPageLoaded",0,pV,"reportingObserverIntegration",0,ut,"rewriteFramesIntegration",0,a5,"sendFeedback",0,oS,"setActiveSpanInBrowser",0,pY,"setContext",()=>K.setContext,"setConversationId",()=>K.setConversationId,"setCurrentClient",0,eS,"setExtra",()=>K.setExtra,"setExtras",()=>K.setExtras,"setHttpStatus",()=>n9.setHttpStatus,"setMeasurement",()=>at.setMeasurement,"setTag",()=>K.setTag,"setTags",()=>K.setTags,"setUser",()=>K.setUser,"showReportDialog",0,l7,"spanToBaggageHeader",()=>eL.spanToBaggageHeader,"spanToJSON",()=>eD.spanToJSON,"spanToTraceHeader",()=>eD.spanToTraceHeader,"spotlightBrowserIntegration",0,fp,"startBrowserTracingNavigationSpan",0,aN,"startBrowserTracingPageLoadSpan",0,aC,"startInactiveSpan",0,function(e){return mn()?mr():(0,re.startInactiveSpan)(e)},"startNewTrace",()=>re.startNewTrace,"startSession",()=>K.startSession,"startSpan",0,function(e,t){return mn(t)?t(mr()):(0,re.startSpan)(e,t)},"startSpanManual",0,function(e,t){if(mn(t)){let e=mr();return t(e,()=>e.end())}return(0,re.startSpanManual)(e,t)},"statsigIntegration",0,fS,"supabaseIntegration",0,lU,"suppressTracing",()=>re.suppressTracing,"tanstackRouterBrowserTracingIntegration",0,f3,"thirdPartyErrorFilterIntegration",0,l0,"uiProfiler",0,l6,"unleashIntegration",0,fy,"updateSpanName",()=>eD.updateSpanName,"useProfiler",0,fV,"webWorkerIntegration",0,fw,"winjsStackLineParser",0,nj,"withActiveSpan",()=>re.withActiveSpan,"withErrorBoundary",0,fQ,"withIsolationScope",()=>Q.withIsolationScope,"withProfiler",0,fG,"withScope",()=>Q.withScope,"withSentryConfig",0,function(e){return e},"withSentryReactRouterV6Routing",0,hX,"withSentryReactRouterV7Routing",0,hQ,"withSentryRouting",0,f7,"withServerActionInstrumentation",0,function(...e){if("function"==typeof e[1]){let[t,n]=e;return ma(t,{},n)}{let[t,n,r]=e;return ma(t,n,r)}},"wrapApiHandlerWithSentryVercelCrons",0,function(e,t){return new Proxy(e,{apply:(e,n,r)=>{let a;if(!r?.[0])return e.apply(n,r);let[o]=r,i="nextUrl"in o?o.nextUrl.pathname:o.url,s="nextUrl"in o?o.headers.get("user-agent"):o.headers["user-agent"];if(!t||!s?.includes("vercel-cron"))return e.apply(n,r);let l=t.find(e=>e.path===i);if(!l?.path||!l.schedule)return e.apply(n,r);let u=l.path,c=(0,K.captureCheckIn)({monitorSlug:u,status:"in_progress"},{maxRuntime:720,schedule:{type:"crontab",value:l.schedule}}),d=(0,e0.safeDateNow)()/1e3,p=()=>{(0,K.captureCheckIn)({checkInId:c,monitorSlug:u,status:"error",duration:(0,e0.safeDateNow)()/1e3-d})};try{a=e.apply(n,r)}catch(e){throw p(),e}return"object"==typeof a&&null!==a&&"then"in a?Promise.resolve(a).then(()=>{(0,K.captureCheckIn)({checkInId:c,monitorSlug:u,status:"ok",duration:(0,e0.safeDateNow)()/1e3-d})},()=>{p()}):(0,K.captureCheckIn)({checkInId:c,monitorSlug:u,status:"ok",duration:(0,e0.safeDateNow)()/1e3-d}),a}})},"wrapAppGetInitialPropsWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>{if(mt())return e.apply(t,n);let[r]=n,{req:a,res:o}=r.ctx,i=mo(e);if(!a||!o)return i.apply(t,n);{let e=mi(i,a,o,{dataFetcherRouteName:"/_app",requestedRouteName:r.ctx.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s,sentryTrace:l,baggage:u}=await e.apply(t,n);return"object"==typeof s&&null!==s&&(s.pageProps||(s.pageProps={}),l&&(s.pageProps._sentryTraceData=l),u&&(s.pageProps._sentryBaggage=u)),s}}})},"wrapCreateBrowserRouterV6",0,hY,"wrapCreateBrowserRouterV7",0,hZ,"wrapCreateMemoryRouterV6",0,hJ,"wrapCreateMemoryRouterV7",0,h0,"wrapDocumentGetInitialPropsWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>{if(mt())return e.apply(t,n);let[r]=n,{req:a,res:o}=r,i=mo(e);if(!a||!o)return i.apply(t,n);{let e=mi(i,a,o,{dataFetcherRouteName:"/_document",requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s}=await e.apply(t,n);return s}}})},"wrapErrorGetInitialPropsWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>{if(mt())return e.apply(t,n);let[r]=n,{req:a,res:o}=r,i=mo(e);if(!a||!o)return i.apply(t,n);{let e=mi(i,a,o,{dataFetcherRouteName:"/_error",requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s,baggage:l,sentryTrace:u}=await e.apply(t,n);return"object"==typeof s&&null!==s&&(u&&(s._sentryTraceData=u),l&&(s._sentryBaggage=l)),s}}})},"wrapGenerationFunctionWithSentry",0,function(e,t){return new Proxy(e,{apply:(e,n,r)=>{let a,o=(0,Q.getIsolationScope)();try{a=t.requestAsyncStorage?.getStore()?.headers}catch{}let i=a?h2(a):void 0;return o.setSDKProcessingMetadata({normalizedRequest:{headers:i}}),(0,ld.handleCallbackErrors)(()=>e.apply(n,r),e=>{let n=(0,eD.getActiveSpan)(),{componentRoute:r,componentType:a,generationFunctionIdentifier:i}=t,s=!0;o.setTransactionName(`${a}.${i} (${r})`),n&&(n5(e)?(s=!1,n.setStatus({code:n9.SPAN_STATUS_ERROR,message:"not_found"})):n4(e)?(s=!1,n.setStatus({code:n9.SPAN_STATUS_OK})):n.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"})),s&&(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.function.nextjs.generation_function",data:{function:i}}})},()=>{h8(h6())})}})},"wrapGetInitialPropsWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>{if(mt())return e.apply(t,n);let[r]=n,{req:a,res:o}=r,i=mo(e);if(!a||!o)return i.apply(t,n);{let e=mi(i,a,o,{dataFetcherRouteName:r.pathname,requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s,baggage:l,sentryTrace:u}=await e.apply(t,n)??{};return"object"==typeof s&&null!==s&&(u&&(s._sentryTraceData=u),l&&(s._sentryBaggage=l)),s}}})},"wrapGetServerSidePropsWithSentry",0,function(e,t){return new Proxy(e,{apply:async(e,n,r)=>{if(mt())return e.apply(n,r);let[a]=r,{req:o,res:i}=a,s=mi(mo(e),o,i,{dataFetcherRouteName:t,requestedRouteName:t,dataFetchingMethodName:"getServerSideProps"}),{data:l,baggage:u,sentryTrace:c}=await s.apply(n,r);return"object"==typeof l&&null!==l&&"props"in l&&(c&&(l.props._sentryTraceData=c),u&&(l.props._sentryBaggage=u)),l}})},"wrapGetStaticPropsWithSentry",0,function(e,t){return new Proxy(e,{apply:async(e,t,n)=>mt()?e.apply(t,n):ms(mo(e),n)})},"wrapMiddlewareWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>{let r="_sentryRewritesTunnelPath"in globalThis?globalThis._sentryRewritesTunnelPath:void 0;if(r&&"string"==typeof r){let e=n[0];if(e instanceof Request&&new URL(e.url).pathname.startsWith(r))return new Response(null,{status:200,headers:{"x-middleware-next":"1"}})}return(0,Q.withIsolationScope)(r=>{let a,o,i=n[0],s=(0,Q.getCurrentScope)();if(i instanceof Request){let e;r.setSDKProcessingMetadata({normalizedRequest:(e=h2(i.headers),{method:i.method,url:i.url,query_string:h4(i.url),headers:e})}),a=`middleware ${i.method}`,o="url"}else a="middleware",o="component";s.setTransactionName(a);let l=(0,eD.getActiveSpan)();if(l){a="middleware",o="component";let e=(0,eD.getRootSpan)(l);e&&(0,ml.setCapturedScopesOnSpan)(e,s,r)}return(0,re.startSpan)({name:a,op:"http.server.middleware",attributes:{[em.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o,[em.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.function.nextjs.wrap_middleware"}},()=>(0,ld.handleCallbackErrors)(()=>e.apply(t,n),e=>{(0,K.captureException)(e,{mechanism:{type:"auto.function.nextjs.wrap_middleware",handled:!1}})},()=>{h8(h6())}))})}})},"wrapPageComponentWithSentry",0,function(e){return"function"==typeof e&&e?.prototype?.isReactComponent?class extends e{render(...e){return(0,Q.withIsolationScope)(()=>{let t=(0,Q.getCurrentScope)(),n="object"==typeof this.props&&null!==this.props&&"_sentryTraceData"in this.props&&"string"==typeof this.props._sentryTraceData?this.props._sentryTraceData:void 0;if(n){let e=(0,ri.extractTraceparentData)(n);t.setContext("trace",{span_id:e?.parentSpanId,trace_id:e?.traceId})}try{return super.render(...e)}catch(t){let e=(0,K.captureException)(t,{mechanism:{handled:!1,type:"auto.function.nextjs.page_class"}});throw mu(t,e),t}})}}:"function"==typeof e?new Proxy(e,{apply:(e,t,n)=>(0,Q.withIsolationScope)(()=>{let r=(0,Q.getCurrentScope)(),a=n?.[0]?._sentryTraceData;if(a){let e=(0,ri.extractTraceparentData)(a);r.setContext("trace",{span_id:e?.parentSpanId,trace_id:e?.traceId})}try{return e.apply(t,n)}catch(t){let e=(0,K.captureException)(t,{mechanism:{handled:!1,type:"auto.function.nextjs.page_function"}});throw mu(t,e),t}})}):e},"wrapRouteHandlerWithSentry",0,function(e,t){let{method:n,parameterizedRoute:r,headers:a}=t;return new Proxy(e,{apply:async(e,t,a)=>{let o=(0,eD.getActiveSpan)(),i=o?(0,eD.getRootSpan)(o):void 0;return(0,Q.withIsolationScope)((0,Q.getIsolationScope)(),()=>(0,Q.withScope)(async s=>{s.setTransactionName(`${n} ${r}`);let l=await (0,ld.handleCallbackErrors)(()=>e.apply(t,a),e=>{n4(e)||(n5(e)?(o&&(0,n9.setHttpStatus)(o,404),i&&(0,n9.setHttpStatus)(i,404)):(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.function.nextjs.route_handler"}}))},()=>{h8(h6())});try{l.status&&(o&&(0,n9.setHttpStatus)(o,l.status),i&&(0,n9.setHttpStatus)(i,l.status))}catch{}return l}))}})},"wrapServerComponentWithSentry",0,function(e,t){return new Proxy(e,{apply:(e,n,r)=>{let a=(0,Q.getIsolationScope)(),o=t.headers?h2(t.headers):void 0;return a.setSDKProcessingMetadata({normalizedRequest:{headers:o}}),(0,ld.handleCallbackErrors)(()=>e.apply(n,r),e=>{let n=(0,eD.getActiveSpan)(),{componentRoute:r,componentType:o}=t,i=!0;a.setTransactionName(`${o} Server Component (${r})`),n&&(n5(e)?(i=!1,n.setStatus({code:n9.SPAN_STATUS_ERROR,message:"not_found"})):n4(e)?(i=!1,n.setStatus({code:n9.SPAN_STATUS_OK})):n.setStatus({code:n9.SPAN_STATUS_ERROR,message:"internal_error"})),i&&(0,K.captureException)(e,{mechanism:{handled:!1,type:"auto.function.nextjs.server_component"}})},()=>{h8(h6())})}})},"wrapUseRoutesV6",0,hV,"wrapUseRoutesV7",0,h1,"zodErrorsIntegration",0,l4],146523);var mc=e.i(146523),md=e.i(66012),mp=e.i(499714),mf=e.i(87253),mh=e.i(919923);let mm="https://[email protected]/4507583744049152";function mg(e){return e.message||e.exception?.values?.[0]?.value||e.exception?.values?.[0]?.type||""}function my(e){return(e.exception?.values??[]).map(e=>e?.value).filter(e=>"string"==typeof e)}function m_(e){return(e.exception?.values??[]).flatMap(e=>e?.stacktrace?.frames??[])}function mv(e){return m_(e).flatMap(e=>[e?.filename,e?.module,e?.abs_path]).filter(e=>"string"==typeof e)}function mb(e){let t=e.exception?.values??[],n=t[t.length-1]?.stacktrace?.frames??[],r=n[n.length-1];return[r?.filename,r?.module,r?.abs_path].filter(e=>"string"==typeof e)}function mS(e){return m_(e).map(e=>e?.function).filter(e=>"string"==typeof e)}function mE(e){return e.exception?.values?.[0]?.mechanism?.type}function mw(e){let t=e.user;if(t){if("string"==typeof t.id)return t.id;if("number"==typeof t.id)return String(t.id)}}
494let mT=/chunk load failed/i,mk=e=>{let t=mg(e);return/load failed/i.test(t)&&!mT.test(t)};function mR(e){let t=e.category??"";return t.includes("fetch")||t.includes("xhr")||"http"===e.type}function mx(e){return(e.category??"").includes("fetch")}function mI(e){let t=e.data??{};for(let e of[t.status_code,t.status]){if("number"==typeof e&&Number.isFinite(e))return e;if("string"==typeof e&&/^\d+$/.test(e))return Number(e)}}function mC(e){let t,n=("string"==typeof(t=e.data??{}).url?t.url:"string"==typeof t.uri?t.uri:"object"==typeof t.request&&null!==t.request&&"string"==typeof t.request.url?t.request.url:"object"==typeof t.response&&null!==t.response&&"string"==typeof t.response.url?t.response.url:void 0)??function(e){if(!e)return;let t=e.match(/https?:\/\/[^\s]+/);return t?.[0]}("string"==typeof e.message?e.message:void 0);if(n){let t;return{url:n,method:"string"==typeof(t=e.data??{}).method?t.method:"object"==typeof t.request&&null!==t.request&&"string"==typeof t.request.method?t.request.method:void 0,status:mI(e),operation:function(e){let t="string"==typeof e.message?e.message:void 0;if(!t)return;let n=t.match(/\(([^()]+)\)\s*$/);return n?.[1]?.trim()||void 0}(e)}}}function mN(e,t){let n=e.extra?.[t];return"string"==typeof n?n:void 0}function mP(e,t){let n=e.tags?.[t];return"string"==typeof n?n:void 0}function mO(e,t){return(e.fingerprint??[]).includes(t)}function mA(e,t){let n=`Request ${t} failed with errors`,r=mg(e);return r===n||r.startsWith(`${n}: `)}function mM(e,t){let n=e.tags?.[t];return!0===n||"true"===n||"True"===n}function mL(e,t){let n=mP(e,"fetch.host");return!!n&&("freecash.com"===n||n.endsWith(".freecash.com"))&&mP(e,"fetch.path")===t}function mD(e,t,n){return mP(e,"fetch.host")===t&&(mP(e,"fetch.path")??"").startsWith(n)}function mU(e){let t=mN(e,"errorMessages");if(void 0!==t)try{let e=JSON.parse(t);if(Array.isArray(e)&&e.every(e=>"string"==typeof e))return e}catch{}}function mj(e,t,n){var r=[n];if(!mA(e,t))return!1;let a=mU(e);return!!a&&a.length>0&&a.every(e=>r.some(t=>e.includes(t)))}function mB(e,t,n){if(!mA(e,t))return!1;let r=mU(e);if(!r)return!1;let a=r.flatMap(e=>e.split(",")).map(e=>e.trim()).filter(Boolean);return a.length>0&&a.every(e=>n.includes(e))}let mF=/^Request \S+ failed with status 403 \(Cloudflare challenge\)$/,m$=["sendDataToNative","sendPageHideMessage","setupIosCallbackHandler"],mz="checkPerfReady",mH=["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications"],mW="auto.browser.global_handlers.onerror",mq="auto.browser.global_handlers.onunhandledrejection",mG=/\.[cm]?jsx?($|\?)/i;function mV(e){return!mv(e).some(e=>mG.test(e))}function mY(e){return e.exception?.values?.[0]?.type??""}let mJ=new Map;function mX(e,t){if("ReferenceError"!==mY(e))return!1;let n=mg(e);return(function(e){let t=mJ.get(e);if(t)return t;let n=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=[RegExp(`\\b${n} is not defined\\b`),RegExp(`Can't find variable: ${n}\\b`)];return mJ.set(e,r),r})(t).some(e=>e.test(n))}let mK=["SCDynimacBridge","_G","nd","gmo","__firefox__","WKWebView_RemoveAllHighlights"],mQ="global code",mZ=["Failed to connect to MetaMask","MetaMask extension not found"],m0=/^(?:app:\/\/\/|https:\/\/cdn\.cookiehub\.eu\/)c2\/[0-9a-z]+\.js$/;function m1(e,t){let n=mP(e,"fetch.host"),r=mP(e,"fetch.path");return!!n&&("freecash.com"===n||n.endsWith(".freecash.com"))&&!!r&&t.test(r)}function m2(e,t){return(e.breadcrumbs??[]).some(e=>{let n=e?.message;return"string"==typeof n&&t.some(e=>n.includes(e))})}let m3=/^[A-Za-z_$][A-Za-z0-9_$]{0,2}$/,m5=/quota.?exceeded/i,m4=/quota.*exceeded|exceeded.*quota/i;function m6(e){return m5.test(mY(e))||m4.test(mg(e))}let m8=["Failed to fetch","Load failed"],m7=["Failed to fetch","Load failed","NetworkError when attempting to fetch resource"],m9=new Map,ge=0;function gt(e){return null==e?"-":"string"==typeof e?e:String(e)}function gn(e){let t=e.entryTtlMs??18e5;return{name:e.name,match:e.match,process(n){let r=Date.now();if(!(r-ge<6e4))for(let[e,n]of(ge=r,m9.entries()))r-n.lastSeen>t&&m9.delete(e);let a=e.keyParts(n);if(!a)return n;let o=a.map(gt).join("|"),i=m9.get(o);return!i||r-i.start>e.windowMs?(m9.set(o,{start:r,count:1,lastSeen:r}),n):(i.count+=1,i.lastSeen=r,m9.set(o,i),i.count>e.maxPerWindow)?null:n}}}function gr(e){return{name:e.name,match:e.match,process:t=>Math.random()<e.keepRate?t:null}}function ga(e){return{name:e.name,match:e.match,process:()=>null}}globalThis._sentryRouteManifest='{"dynamicRoutes":[{"path":"/:lng","regex":"^/([^/]+)$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/payment/:slug","regex":"^/([^/]+)/payment/([^/]+)$","paramNames":["lng","slug"],"hasOptionalPrefix":false},{"path":"/:lng/cashback","regex":"^/([^/]+)/cashback$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/deals","regex":"^/([^/]+)/deals$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/deals/gift-cards","regex":"^/([^/]+)/deals/gift-cards$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/deals/gift-cards/all","regex":"^/([^/]+)/deals/gift-cards/all$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/deals/gift-cards/my-cards","regex":"^/([^/]+)/deals/gift-cards/my-cards$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/deals/gift-cards/popular","regex":"^/([^/]+)/deals/gift-cards/popular$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/deals/limited-deals","regex":"^/([^/]+)/deals/limited-deals$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/deals/recently-visited","regex":"^/([^/]+)/deals/recently-visited$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/earn/offers","regex":"^/([^/]+)/earn/offers$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/earn/offers/:section","regex":"^/([^/]+)/earn/offers/([^/]+)$","paramNames":["lng","section"],"hasOptionalPrefix":false},{"path":"/:lng/earn/partners/:section","regex":"^/([^/]+)/earn/partners/([^/]+)$","paramNames":["lng","section"],"hasOptionalPrefix":false},{"path":"/:lng/jackpot","regex":"^/([^/]+)/jackpot$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/lottery","regex":"^/([^/]+)/lottery$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/my-offers","regex":"^/([^/]+)/my-offers$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/myprofile","regex":"^/([^/]+)/myprofile$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/myprofile/referrals","regex":"^/([^/]+)/myprofile/referrals$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/myprofile/reward-history","regex":"^/([^/]+)/myprofile/reward-history$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/myprofile/settings","regex":"^/([^/]+)/myprofile/settings$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/myprofile/settings/manage-account","regex":"^/([^/]+)/myprofile/settings/manage-account$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/myprofile/settings/manage-account/two-factor","regex":"^/([^/]+)/myprofile/settings/manage-account/two-factor$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/myprofile/tickets","regex":"^/([^/]+)/myprofile/tickets$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/offer-support/partner","regex":"^/([^/]+)/offer-support/partner$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/quests","regex":"^/([^/]+)/quests$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/rewards","regex":"^/([^/]+)/rewards$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/slot/:eventName","regex":"^/([^/]+)/slot/([^/]+)$","paramNames":["lng","eventName"],"hasOptionalPrefix":false},{"path":"/:lng/surveys","regex":"^/([^/]+)/surveys$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/surveys/@modalearn/:slug","regex":"^/([^/]+)/surveys/@modalearn/([^/]+)$","paramNames":["lng","slug"],"hasOptionalPrefix":false},{"path":"/:lng/test-surveys/:slug","regex":"^/([^/]+)/test-surveys/([^/]+)$","paramNames":["lng","slug"],"hasOptionalPrefix":false},{"path":"/:lng/unavailable-android-wall","regex":"^/([^/]+)/unavailable-android-wall$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/unavailable-wall","regex":"^/([^/]+)/unavailable-wall$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/earn","regex":"^/([^/]+)/earn$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/earn/:slug","regex":"^/([^/]+)/earn/([^/]+)$","paramNames":["lng","slug"],"hasOptionalPrefix":false},{"path":"/:lng/offer/:slug","regex":"^/([^/]+)/offer/([^/]+)$","paramNames":["lng","slug"],"hasOptionalPrefix":false},{"path":"/:lng/app-lobby","regex":"^/([^/]+)/app-lobby$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/cashout","regex":"^/([^/]+)/cashout$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/cashout/:slug","regex":"^/([^/]+)/cashout/([^/]+)$","paramNames":["lng","slug"],"hasOptionalPrefix":false},{"path":"/:lng/cashout/withdrawals","regex":"^/([^/]+)/cashout/withdrawals$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/external-offer","regex":"^/([^/]+)/external-offer$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/policies/:policyPath","regex":"^/([^/]+)/policies/([^/]+)$","paramNames":["lng","policyPath"],"hasOptionalPrefix":false},{"path":"/:lng/signin","regex":"^/([^/]+)/signin$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/sms-unsubscribed","regex":"^/([^/]+)/sms-unsubscribed$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/topoffer","regex":"^/([^/]+)/topoffer$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/unsupported-browser","regex":"^/([^/]+)/unsupported-browser$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/affiliates","regex":"^/([^/]+)/affiliates$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/reset-password","regex":"^/([^/]+)/reset-password$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/w/:slug","regex":"^/([^/]+)/w/([^/]+)$","paramNames":["lng","slug"],"hasOptionalPrefix":false},{"path":"/:lng/survey/c","regex":"^/([^/]+)/survey/c$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/surveys/internal/:id","regex":"^/([^/]+)/surveys/internal/([^/]+)$","paramNames":["lng","id"],"hasOptionalPrefix":false},{"path":"/:lng/surveys/wall/:slug","regex":"^/([^/]+)/surveys/wall/([^/]+)$","paramNames":["lng","slug"],"hasOptionalPrefix":false},{"path":"/:lng/:not-found*","regex":"^/([^/]+)/(.+)$","paramNames":["lng","not-found"],"hasOptionalPrefix":false},{"path":"/:lng/challenges/:code","regex":"^/([^/]+)/challenges/([^/]+)$","paramNames":["lng","code"],"hasOptionalPrefix":false},{"path":"/:lng/dev-playground/earn-cards-v2","regex":"^/([^/]+)/dev-playground/earn-cards-v2$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/dev-playground/rive","regex":"^/([^/]+)/dev-playground/rive$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/install-app","regex":"^/([^/]+)/install-app$","paramNames":["lng"],"hasOptionalPrefix":false}
494,{"path":"/:lng/validate-tracking","regex":"^/([^/]+)/validate-tracking$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/:lng/link-account","regex":"^/([^/]+)/link-account$","paramNames":["lng"],"hasOptionalPrefix":false},{"path":"/link/:path*?","regex":"^/link(?:/(.*))?$","paramNames":["path"],"hasOptionalPrefix":false},{"path":"/rd/:domain/:path*?","regex":"^/rd/([^/]+)(?:/(.*))?$","paramNames":["domain","path"],"hasOptionalPrefix":false},{"path":"/secure/tremendous/:hash","regex":"^/secure/tremendous/([^/]+)$","paramNames":["hash"],"hasOptionalPrefix":false}],"staticRoutes":[],"isrRoutes":["/:lng/cashout/:slug"]}',globalThis._sentryNextJsVersion="16.2.7";let go=["/fc-offer-gql","/fc-api/graphql"],gi=["findOffersByQuery","surveysInProgress","getUserCurrency","getOfferBundle"],gs=/^\/[a-z]{2}(-[A-Z]{2})?\/my-offers$/,gl=/^\/[a-z]{2}(-[A-Z]{2})?\/myprofile$/,gu=["Failed to fetch RSC payload for https://app.freecash.com","/fc-api/graphql","/fc-offer-gql","/api/acts","_rsc="],gc=["wasm streaming compile failed","falling back to ArrayBuffer instantiation","Failed to fetch pending orders"],gd=["offerLeagueGroup","offerLeagueCompleted","offerLeagueUser"],gp=["BonusCodeAlreadyClaimedError","BonusCodeDelayError","BonusCodeExpiredError","BonusCodeMaxUsageReachedError","BonusCodeUnavailableRewardError","BonusCodeVipOnlyError","UnknownBonusCodeError"],gf=["affiliate.referral.error.alreadytaken","affiliate.referral.error.toomanychanges"],gh=["banControl.frozen","banControl.banned"],gm=/^earn-v2: chunk load failed/i,gg=["Failed to fetch","Load failed","NetworkError when attempting to fetch resource"],gy=["analytics.google.com","www.google-analytics.com"],g_=["trc.taboola.com","trc-events.taboola.com"],gv=/^region\d+\.(?:analytics\.google\.com|google-analytics\.com)$/,gb=["clarity.js","ads/pixel.js"],gS=["frame-modern.","app~tooltips-modern."],gE=e=>gb.find(t=>mv(e).some(e=>e.includes(t))),gw=e=>mv(e).find(e=>e.includes("/storage/emulated/")),gT=[function(e={}){let t=new Set(e.groupByHostOnlyHosts??[]);return{name:"load-failed-enricher",match:e=>{let t;return mk(e)||!0===(t=e.tags?.fc_is_load_failed_error)||"true"===t},process(e){let n,{info:r,ambiguous:a}=function(e){var t,n;let r,a,o,i,s=(Array.isArray(e.breadcrumbs)?e.breadcrumbs:[]).filter(mR).slice(-15).filter(e=>{let t;return!!e&&(void 0===(t=mI(e))||0===t||t>=400)});for(let e=s.length-1;e>=0;e--){let t=s[e],n=mC(t);if(n){if(mx(t)){r=t,a=n;break}o??={crumb:t,info:n}}}return(!a&&o&&({crumb:r,info:a}=o),r&&a)?(t=r,n=a.url,"number"==typeof(i=t.timestamp)&&(mx(t)?s.filter(mx):s).some(e=>{if(e===t||"number"!=typeof e.timestamp||Math.abs(e.timestamp-i)>.25)return!1;let r=mC(e)?.url;return!!r&&r!==n}))?{info:{},ambiguous:!0}:{info:a,ambiguous:!1}:{info:{},ambiguous:!1}}(e);if(a)return e.tags={...e.tags,"fetch.attribution":"ambiguous"},e;let{url:o,method:i,status:s,operation:l}=r;if(!o)return e;try{let t="string"==typeof e.request?.url&&e.request.url||window.location.href;n=t?new URL(o,t):new URL(o)}catch{return e}if(e.tags={...e.tags,"fetch.host":n.host,"fetch.path":n.pathname,"fetch.proto":n.protocol.replace(":",""),...i?{"fetch.method":i}:{},..."number"==typeof s?{"fetch.status":String(s)}:{},...l?{"fetch.operation":l}:{}},e.contexts={...e.contexts,fetch:{url:o,host:n.host,path:n.pathname,method:i,status:s,operation:l,online:"u">typeof navigator?navigator.onLine:void 0}},mk(e)){e.fingerprint=t.has(n.host)?["load_failed",n.host]:["load_failed",n.host,n.pathname];let r=t.has(n.host)?n.host:n.pathname,a=r.length>50?`${r.slice(0,50)}...`:r,o=`Load failed: ${a}`;e.exception?.values?.[0]?e.exception.values[0].value=o:e.message=o}return e}}}(),gn({name:"load-failed-rate-limit",match:e=>mk(e),windowMs:6e5,maxPerWindow:2,keyParts:e=>{let t=mw(e);if(!t)return null;let n=e.tags?.["fetch.host"],r=e.tags?.["fetch.path"];return["load_failed",t,"string"==typeof n?n:void 0,"string"==typeof r?r:void 0]}}),gr({name:"load-failed-ambiguous-attribution-sample",match:e=>mk(e)&&e.tags?.["fetch.attribution"]==="ambiguous",keepRate:.05}),gn({name:"injected-script-syntaxerror-rate-limit",match:e=>mg(e).includes("Invalid character: '\\0'")&&void 0!==gE(e),windowMs:6e5,maxPerWindow:3,keyParts:e=>{let t=mw(e);return["injected_script_syntaxerror",gE(e),t??"anon"]}}),gn({name:"injected-cashback-formmutation-rate-limit",match:function(e){let t=mg(e);return t.includes('(e||"").replace is not a function')&&t.includes('([a-z0-9])([A-Z])/g,"$1-$2"')&&mS(e).some(e=>"registerMutations"===e)&&mV(e)},windowMs:6e5,maxPerWindow:3,keyParts:e=>["injected_cashback_formmutation",mw(e)??"anon"]}),gn({name:"local-saved-page-rate-limit",match:e=>void 0!==gw(e),windowMs:6e5,maxPerWindow:3,keyParts:e=>["local_saved_page",gw(e)]}),gr({name:"config-com-syntaxerror-sample",match:e=>"SyntaxError"===mY(e)&&mg(e).includes("Unexpected token '<'")&&mv(e).some(e=>e.includes("config/com/")),keepRate:.05}),gr({name:"rewardsbag-config-load-failed-sample",match:e=>{let t=e.tags?.["fetch.path"];return mk(e)&&e.tags?.["fetch.host"]==="cdn.rewardsbag.com"&&"string"==typeof t&&t.includes("/configs/freecash-com.json")},keepRate:.05}),gr({name:"rewardsbag-config-failed-to-fetch-sample",match:e=>mg(e).includes("Failed to fetch")&&mg(e).includes("cdn.rewardsbag.com")&&!m2(e,gu),keepRate:.05}),gr({name:"verisoul-complete-load-failed-sample",match:e=>{let t=e.tags?.["fetch.path"];return mk(e)&&e.tags?.["fetch.host"]==="core.prod.verisoul.xyz"&&"string"==typeof t&&t.includes("/complete")},keepRate:.05}),gr({name:"snapshot-delayed-mount-sample",match:e=>"snapshot-delayed-mount"===mg(e)&&e.tags?.source==="pageSnapshots"&&e.tags?.flow==="snapshot-delayed-mount",keepRate:.05}),gr({name:"qr-modal-unknown-reason-sample",match:e=>"earn-v2: Offer QR Modal opened on mobile device (unknown reason)"===mg(e),keepRate:.05}),gr({name:"lottery-not-enabled-sample",match:e=>{let t,n,r;return t=mg(e),n=(mA(e,"offerLotteryMultiplier")||mA(e,"offerLottery")||mA(e,"offerLotteryHasRewardToClaim")||mA(e,"quarterlyLottery")||mA(e,"quarterlyLotteryHasRewardToClaim"))&&(mN(e,"errorMessages")??"").toLowerCase().includes("lottery is not enabled"),r="Lottery is not enabled"===t&&"offerLottery"===mN(e,"query"),n||r},keepRate:.05}),gr({name:"lite-mode-offers-count-load-failed-sample",match:e=>"earn-v2: Lite Mode - Get My Offers Count Error"===mg(e)&&/load failed/i.test(mN(e,"error")??""),keepRate:.05}),gn({name:"dynamic-state-quests-flush-failed-rate-limit",match:e=>{if(!mg(e).startsWith("[dynamic-state] Flush failed for quests."))return!1;let t=mN(e,"error")??"";return t.includes("DynamicStateTimeoutError")||/load failed/i.test(t)},windowMs:6e5,maxPerWindow:2,keyParts:e=>
494["dynamic_state_quests_flush_failed",mw(e)??"anon"]}),gr({name:"quota-exceeded-sample",match:m6,keepRate:.05}),gn({name:"quota-exceeded-rate-limit",match:m6,windowMs:36e5,maxPerWindow:1,keyParts:e=>["quota_exceeded",mw(e)??"anon"]}),gr({name:"snapshot-capture-miskey-sample",match:e=>"snapshot-capture-miskey"===mg(e)&&e.tags?.source==="pageSnapshots",keepRate:.02}),gr({name:"snapshot-overlay-clicked-sample",match:e=>"snapshot-overlay-clicked"===mg(e)&&e.tags?.source==="pageSnapshots",keepRate:.05}),gr({name:"findwithdrawactivityfeed-404-sample",match:e=>/findWithdrawActivityFeed failed with status 404/i.test(mg(e)),keepRate:.05}),gn({name:"mcp-foreign-tab-rate-limit",match:e=>mg(e).includes("MCP_FOREIGN_TAB"),windowMs:6e5,maxPerWindow:2,keyParts:e=>["mcp_foreign_tab",mw(e)??"anon"]}),gr({name:"api-acts-load-failed-warning-sample",match:e=>"warning"===e.level&&mk(e)&&mL(e,"/api/acts"),keepRate:.05}),gn({name:"api-acts-load-failed-rate-limit",match:e=>mk(e)&&mL(e,"/api/acts"),windowMs:6e5,maxPerWindow:2,keyParts:e=>["api_acts_load_failed",mw(e)??"anon"]}),gr({name:"fc-offer-gql-load-failed-sample",match:e=>mk(e)&&mL(e,"/fc-offer-gql"),keepRate:.05}),gn({name:"fc-offer-gql-load-failed-rate-limit",match:e=>mk(e)&&mL(e,"/fc-offer-gql"),windowMs:6e5,maxPerWindow:2,keyParts:e=>["fc_offer_gql_load_failed",mw(e)??"anon"]}),ga({name:"spotify-pixel-ingest-drop",match:e=>mk(e)&&mD(e,"pixels.spotify.com","/v1/ingest")}),gr({name:"spotify-pixel-config-load-failed-sample",match:e=>mk(e)&&mD(e,"pixels.spotify.com","/v1/config/"),keepRate:.05}),ga({name:"openai-pixel-sdk-events-drop",match:e=>mk(e)&&mD(e,"bzr.openai.com","/v1/sdk/events")}),gr({name:"tradedesk-realtimeconversion-load-failed-sample",match:e=>mk(e)&&mD(e,"insight.adsrvr.org","/track/realtimeconversion"),keepRate:.05}),gr({name:"amplitude-guides-surveys-load-failed-sample",match:e=>mk(e)&&mD(e,"gs.amplitude.com","/sdk/v1/"),keepRate:.05}),ga({name:"meta-iab-webkit-bridge-drop",match:function(e){return mg(e).includes("window.webkit.messageHandlers")&&mS(e).some(e=>m$.includes(e))}}),ga({name:"meta-iab-android-perf-logger-drop",match:function(e){return mv(e).some(e=>e.includes("navigation_performance_logger_android"))}}),gr({name:"gtm-email-not-defined-sample",match:e=>{let t=mg(e);return"ReferenceError"===mY(e)&&(t.includes("email is not defined")||/Can't find variable: email\b/.test(t))&&mv(e).some(e=>e.includes("gtm.js"))},keepRate:.05}),gr({name:"rive-load-error-sample",match:e=>mg(e).includes("Rive load error")&&(mN(e,"url")??"").includes("cdn.freecash.com/animations/"),keepRate:.1}),gr({name:"rive-webgl-resize-context-lost-sample",match:e=>mO(e,"rive-resize-surface-error"),keepRate:.05}),gr({name:"recaptcha-timeout-sample",match:e=>/reCAPTCHA Timeout/i.test(mg(e))&&mv(e).some(e=>e.includes("/recaptcha/releases/")),keepRate:.05}),gr({name:"cookies-required-banner-sample",match:e=>"Cookies Required Banner Shown"===mg(e),keepRate:.05}),gr({name:"cloudflare-challenge-403-sample",match:function(e){let t=mg(e);return void 0!==t&&mF.test(t)},keepRate:.05}),gn({name:"api-request-failed-403-rate-limit",match:e=>"API request failed: 403 "===mg(e),windowMs:6e5,maxPerWindow:1,keyParts:e=>["api_request_failed_403",mw(e)??"anon"]}),gr({name:"edge-rate-limit-429-sample-by-operation",match:e=>{let t;return void 0!==(t=mg(e),gi.find(e=>t===`Request ${e} failed with status 429`))},keepRate:.05}),gr({name:"socket-connect-error-websocket-error-sample",match:e=>e.tags?.socket_reason==="websocket error"&&mg(e).startsWith("[socket] connect_error"),keepRate:.05}),gr({name:"third-party-pixel-sendbeacon-failed-sample",match:e=>"sendBeacon failed silently"===mg(e)&&mv(e).some(e=>e.includes("sdk/pixel.js")),keepRate:.05}),gr({name:"recaptcha-missing-sitekey-sample",match:e=>mg(e).includes("Missing required parameters: sitekey")&&mv(e).some(e=>e.includes("recaptcha/releases/")),keepRate:.05}),gr({name:"snapchat-iab-injected-global-sample",match:function(e){return mE(e)===mW&&mS(e).some(e=>e===mQ)&&mV(e)&&mK.some(t=>mX(e,t))},keepRate:.05}),gr({name:"unattributed-emptyranges-global-sample",match:function(e){return mX(e,"EmptyRanges")&&mV(e)},keepRate:.05}),gr({name:"injected-appendchild-circular-json-sample",match:function(e){let t=mP(e,"fc_message")??"";return mM(e,"fc_global")&&t.includes("Converting circular structure to JSON")&&t.includes("HTMLAnchorElement")&&/\.appendChild \(<anonymous>:/.test(mN(e,"stack")??"")},keepRate:.1}),gr({name:"amplitude-session-replay-config-load-failed-sample",match:e=>mk(e)&&mD(e,"sr-client-cfg.amplitude.com","/config/"),keepRate:.05}),gr({name:"auth-logout-load-failed-sample",match:e=>mk(e)&&mL(e,"/fc-api/auth/logout"),keepRate:.05}),gr({name:"gtm-ytag-not-defined-sample",match:e=>{let t=mg(e);return"ReferenceError"===mY(e)&&(t.includes("ytag is not defined")||/Can't find variable: ytag\b/.test(t))&&mv(e).some(e=>e.includes("gtm.js"))},keepRate:.05}),gr({name:"claim-payout-onboarding-already-claimed-sample",match:e=>mj(e,"claimPayoutOnboardingReward","Reward for this step has already been claimed"),keepRate:.05}),gn({name:"survey-spin-throttled-rate-limit",match:e=>mj(e,"surveySpinDisqualificationWheel","Please wait a few seconds before attempting this action again."),windowMs:6e5,maxPerWindow:2,keyParts:e=>["survey_spin_throttled",mw(e)??"anon"]}),gr({name:"start-offer-bundle-already-started-sample",match:e=>mj(e,"startOfferBundle","offer bundle has already been started by this user"),keepRate:.05}),gn({name:"uwt-appendchild-non-node-rate-limit",match:e=>/appendChild.*(not of type 'Node'|must be an instance of Node)/.test(mg(e))&&mv(e).some(e=>e.includes("uwt.js")),windowMs:6e5,maxPerWindow:2,keyParts:e=>["uwt_appendchild_non_node",mw(e)??"anon"]}),gr({name:"surveys-throttled-sample",match:e=>mj(e,"surveys","ThrottlerException: Too Many Requests"),keepRate:.05}),gr({name:"offer-league-disabled-sample",match:e=>gd.some(t=>mj(e,t,"Offer League feature is disabled")),keepRate:.05}),gn({name:"amplitude-indexeddb-deleted-rate-limit",match:e=>mg(e).includes("Database deleted by request of the user"),windowMs:6e5,maxPerWindow:2,keyParts:e=>["amplitude_indexeddb_deleted",mw(e)??"anon"]}),gr({name:"rsc-version-skew-recovered-sample",match:e=>"Auto-recovered RSC stream closed (version skew)"===mg(e)&&mM(e,"fc_recovered"),keepRate:.05}),gr({name:"vaultdcr-telemetry-load-failed-sample",match:e=>mk(e)&&mD(e,"tte-prod.telemetry.vaultdcr.com","/"),keepRate:.05}),ga({name:"taboola-pixel-load-failed-drop",match:e=>mk(e)&&g_.some(t=>mD(e,t,"/1627494/log/"))}),gr({name:"change-referral-code-rejected-sample",match:e=>mB(e,"changeReferralCode",gf),keepRate:.1}
494),gr({name:"claim-bonus-code-rejected-sample",match:e=>mB(e,"claimBonusCode",gp),keepRate:.1}),gr({name:"claim-streak-reward-frozen-sample",match:e=>mj(e,"claimStreakRewardV2","Streak reward is frozen"),keepRate:.1}),gr({name:"claim-streak-reward-already-claimed-sample",match:e=>mj(e,"claimStreakRewardV2","Streak reward already claimed"),keepRate:.1}),gr({name:"claim-streak-reward-expired-sample",match:e=>mj(e,"claimStreakRewardV2","Streak reward expired"),keepRate:.1}),gr({name:"create-offer-support-ticket-max-open-sample",match:e=>mj(e,"createOfferSupportTicket","Maximum open tickets limit per offer reached"),keepRate:.1}),gr({name:"moloco-pixel-events-load-failed-sample",match:e=>mk(e)&&mD(e,"pixelfnt-us.dsp-api.moloco.com","/v1/pixels/moloco/events"),keepRate:.05}),gr({name:"moloco-pixel-events-networkerror-sample",match:e=>{let t=mg(e);return t.includes("NetworkError when attempting to fetch resource")&&t.includes("pixelfnt-us.dsp-api.moloco.com")},keepRate:.05}),gr({name:"boost-rocket-lottie-network-abort-sample",match:function(e){if(!mO(e,"Boost rocket launch Lottie failed to load"))return!1;let t=mN(e,"error");return!(!t||t.includes("failed with status"))&&m8.some(e=>t.includes(e))},keepRate:.05}),gr({name:"stake-us-faucet-user-not-found-sample",match:e=>mj(e,"stakeUsFaucetCashout","stake us user was not found"),keepRate:.05}),gn({name:"resize-observer-loop-rate-limit",match:function(e){let t=mg(e);return mH.some(e=>t.includes(e))&&mE(e)===mW&&m_(e).length<=1&&mV(e)},windowMs:6e5,maxPerWindow:2,keyParts:e=>["resize_observer_loop",mw(e)??"anon"]}),gr({name:"amplitude-engagement-browser-syntaxerror-sample",match:e=>"SyntaxError"===mY(e)&&mv(e).some(e=>e.includes("engagement-browser/prod/")),keepRate:.05}),gn({name:"injected-perf-ready-dominteractive-rate-limit",match:function(e){return mg(e).includes("reading 'domInteractive'")&&mS(e).some(e=>e===mz||e.endsWith(`.${mz}`))},windowMs:6e5,maxPerWindow:2,keyParts:()=>["injected_perf_ready_dominteractive"]}),gr({name:"earn-v2-chunk-load-failed-sample",match:e=>gm.test(mg(e)),keepRate:.05}),gr({name:"earn-v2-mark-hidden-offer-failed-sample",match:e=>mO(e,mh.EARN_V2_MARK_HIDDEN_OFFER_FAILED),keepRate:.2}),ga({name:"metamask-inpage-connect-drop",match:function(e){return mv(e).some(e=>e.includes("scripts/inpage.js"))&&my(e).some(e=>mZ.some(t=>e.includes(t)))}}),gr({name:"injected-xhr-interceptor-sample",match:function(e){return mv(e).some(e=>e.includes("executors/200.js"))&&my(e).some(e=>e.includes("Cannot read properties of undefined (reading 'M_ID')"))},keepRate:.02}),gr({name:"cookiehub-storage-blocked-sample",match:function(e){return mv(e).some(e=>m0.test(e))&&my(e).some(e=>e.includes("Failed to read the 'localStorage' property from 'Window': Access is denied for this document."))},keepRate:.05}),gr({name:"pinterest-conversion-tag-fetch-failed-sample",match:e=>{let t=mg(e);return(t.includes("Failed to fetch")||t.includes("NetworkError when attempting to fetch resource"))&&mv(e).some(e=>e.includes("ct/lib/main"))},keepRate:.02}),gr({name:"app2web-sdk-security-error-sample",match:e=>"SecurityError"===mY(e)&&mg(e).includes("The operation is insecure.")&&mv(e).some(e=>e.includes("app2web-sdk/sdk.js")),keepRate:.05}),gr({name:"api-dynamic-state-load-failed-sample",match:e=>mk(e)&&mL(e,"/api/dynamic-state"),keepRate:.05}),gr({name:"fc-api-user-events-load-failed-sample",match:e=>mk(e)&&mL(e,"/fc-api/user-events"),keepRate:.05}),gr({name:"liftoff-pixel-load-failed-sample",match:e=>mk(e)&&mD(e,"analytics.liftoff.io","/pixel/v1/"),keepRate:.05}),gr({name:"spin-v2-ban-control-sample",match:e=>mB(e,"spinV2",gh),keepRate:.05}),gr({name:"ga-collect-load-failed-sample",match:e=>{let t,n;return mk(e)&&(gy.some(t=>mD(e,t,"/g/collect"))||(t=e.tags?.["fetch.host"],n=e.tags?.["fetch.path"],"string"==typeof t&&gv.test(t)&&"string"==typeof n&&n.startsWith("/g/collect")))},keepRate:.05}),gr({name:"google-ccm-collect-load-failed-sample",match:e=>mk(e)&&mD(e,"www.google.com","/ccm/collect"),keepRate:.05}),gr({name:"my-offers-rsc-load-failed-sample",match:e=>mk(e)&&m1(e,gs),keepRate:.05}),gr({name:"myprofile-rsc-load-failed-sample",match:e=>mk(e)&&m1(e,gl),keepRate:.05}),gr({name:"next-image-load-failed-sample",match:e=>mk(e)&&mL(e,"/_next/image"),keepRate:.1}),gr({name:"unattributable-request-abort-sample",match:function(e){let t=mg(e);return(t.includes("The user aborted a request.")||t.includes("Fetch is aborted"))&&mE(e)===mq&&0===m_(e).length},keepRate:.05}),gr({name:"gtm-doubleclick-beacon-failed-to-fetch-sample",match:function(e){return mg(e).includes("ad.doubleclick.net")&&mv(e).some(e=>e.includes("gtm.js"))},keepRate:.05}),gr({name:"failed-to-fetch-teardown-sample",match:e=>mg(e).includes("Failed to fetch")&&m2(e,gu),keepRate:.05}),gr({name:"blob-worker-invalid-state-sample",match:e=>
494mg(e).includes("The object is in an invalid state.")&&mv(e).some(e=>e.startsWith("blob:")),keepRate:.05}),gr({name:"variable-rewards-wheel-slow-api-sample",match:e=>mg(e).includes("Variable Rewards Wheel: API taking too long"),keepRate:.1}),gr({name:"variable-rewards-wheel-network-error-sample",match:e=>{let t=mN(e,"errorMessage")??"";return mO(e,"variable-rewards-network-error")&&gg.some(e=>t.includes(e))},keepRate:.1}),gr({name:"boost-claim-network-error-sample",match:function(e){if("Boost claim failed"!==mg(e))return!1;let t=mN(e,"error");return!!t&&m7.some(e=>t.includes(e))},keepRate:.1}),gr({name:"google-translate-boundary-recovery-sample",match:e=>mg(e).includes("Google Translate error caught by error boundary")&&mM(e,"fc_is_translation_error"),keepRate:.05}),gr({name:"injected-alpine-bridge-sample",match:function(e){return mg(e).includes("window.Alpine.store")&&mE(e)===mW&&mS(e).some(e=>e===mQ)&&mV(e)},keepRate:.05}),gr({name:"injected-firefox-ios-reader-sample",match:function(e){return mg(e).includes("window.__firefox__.reader")&&mE(e)===mW&&mS(e).some(e=>e===mQ)&&mV(e)},keepRate:.05}),gr({name:"rive-wasm-teardown-failed-fetch-sample",match:e=>mg(e).includes("Failed to fetch")&&m2(e,gc),keepRate:.05}),gr({name:"stackless-event-promise-rejection-sample",match:function(e){return"Event"===mY(e)&&mE(e)===mq&&0===m_(e).length},keepRate:.1}),gr({name:"injected-google-iab-max-call-stack-sample",match:function(e){return"RangeError"===mY(e)&&mg(e).includes("Maximum call stack size exceeded")&&mV(e)},keepRate:.05}),gr({name:"injected-google-iab-minified-name-sample",match:function(e){return"Error"===mY(e)&&m3.test(mg(e))&&mE(e)===mW&&1===m_(e).length&&mV(e)},keepRate:.05}),gr({name:"google-gsi-client-load-failed-sample",match:e=>"Failed to load script: https://accounts.google.com/gsi/client"===mg(e),keepRate:.05}),gr({name:"ios-bridge-teardown-rejection-sample",match:function(e){return mg(e).includes("The WKWebView was deallocated before the message was delivered")&&mE(e)===mq&&0===m_(e).length&&"ios.freecash.com"===function(e){let t=e.request?.url;if("string"==typeof t)try{return new URL(t).hostname}catch{return}}(e)},keepRate:.05}),gr({name:"third-party-pixel-sendbeacon-missing-sample",match:e=>mg(e).includes("is not a function")&&mv(e).some(e=>e.endsWith("/pixel.js")),keepRate:.05}),gr({name:"third-party-pixel-sendbeacon-iife-sample",match:e=>mg(e).includes("navigator.sendBeacon is not a function")&&mv(e).some(e=>/\/p\/\d+\/b\//.test(e)&&e.endsWith(".iife.js")),keepRate:.05}),gr({name:"fc-api-graphql-load-failed-sample",match:e=>mk(e)&&mL(e,"/fc-api/graphql"),keepRate:.05}),gr({name:"firefox-input-stream-sample",match:e=>"TypeError"===mY(e)&&"Error in input stream"===mg(e)&&mV(e),keepRate:.05}),gr({name:"signin-load-failed-cause-sample",match:e=>my(e).some(e=>e.includes("SignIn error"))&&my(e).some(e=>/load failed/i.test(e)),keepRate:.1}),gr({name:"lottery-case-highest-removed-field-sample",match:e=>mg(e).includes("Request lotteryCaseHighest failed with status 400"),keepRate:.05}),gr({name:"bodymovin-truncated-script-sample",match:e=>"SyntaxError"===mY(e)&&mg(e).includes("Unexpected end of script")&&mv(e).some(e=>e.includes("/bodymovin/")),keepRate:.05}),ga({name:"extension-content-script-null-document-drop",match:e=>mg(e).includes("Cannot read properties of null (reading 'document')")&&mb(e).some(e=>!e.includes("_next/static")&&gS.some(t=>e.includes(t)))}),gr({name:"ga-collect-failed-to-fetch-sample",match:e=>mg(e).includes("Failed to fetch")&&mv(e).some(e=>e.includes("/gtag/"))&&!m2(e,gu),keepRate:.05}),gr({name:"ui-avatars-load-failed-sample",match:e=>mk(e)&&mD(e,"eu.ui-avatars.com","/api/"),keepRate:.05}),gr({name:"sezzle-extension-telemetry-sample",match:function(e){return mE(e)===mq&&((function(e,t){let n=e.extra?.__serialized__;if("object"!=typeof n||null===n)return;let r=n.config;if("object"!=typeof r||null===r)return;let a=r[t];return"string"==typeof a?a:void 0})(e,"baseURL")??"").includes("api.sezzle.com")},keepRate:.05}),gr({name:"next-asset-prefix-invariant-sample",match:function(e){return"InvariantError"===mY(e)&&mg(e).includes("Expected document.currentScript to be a <script> element")&&mv(e).some(e=>e.includes("_next/static/chunks/turbopack-"))},keepRate:.05}),gr({name:"checkout-applepay-session-abort-sample",match:function(e){let t=m_(e),n=t[t.length-1];return"InvalidAccessError"===mY(e)&&mg(e).includes("The object does not support the operation or argument.")&&n?.function==="abort"&&t.some(e=>e?.filename==="app:///index.js")&&!t.some(e=>(e?.filename??"").includes("_next/static"))},keepRate:.05}),gr({name:"whale-autofill-cross-origin-frame-sample",match:function(e){return"SecurityError"===mY(e)&&mg(e).includes("Blocked a frame with origin")&&mS(e).includes("extractFormsAndFormElements_")},keepRate:.05}),gr({name:"earn-v2-qr-login-token-poll-exhausted-sample",match:e=>mO(e,"earn-v2: mobile QR login token"),keepRate:.1}),gn({name:"injected-performance-monitoring-bridge-rate-limit",match:function(e){return mX(e,"PerformanceMonitoringJavascriptInterface")},windowMs:6e5,maxPerWindow:2,keyParts:()=>["injected_performance_monitoring_bridge"]}),gn({name:"injected-anonymous-data-split-rate-limit",match:function(e){return mg(e).includes("n.data.split is not a function")&&"auto.browser.browserapierrors.addEventListener"===mE(e)&&mb(e).some(e=>e.includes("<anonymous>"))},windowMs:6e5,maxPerWindow:3,keyParts:e=>["injected_anonymous_data_split",mw(e)??"anon"]}),(H=[{message:"Failed to fetch",substringInTrace:"moloco-pixel.js"},{message:"Cannot read properties of null (reading 'key')",substringInTrace:"ping.min.js"},{message:"Cannot read properties of undefined (reading 'V')",substringInTrace:"recaptcha__en.js"},{message:"Load failed",substringInTrace:"ct/lib/main"},{message:"xbrowser is not defined",substringInTrace:"<anonymous>"}],{name:"ignore-rules",match:()=>!0,process(e,t){let n=mg(e),r=(e.exception?.values??[]).flatMap(e=>e?.stacktrace?.frames??[]).flatMap(e=>[e?.filename,e?.module,e?.abs_path]).filter(e=>"string"==typeof e),a=(e.breadcrumbs??[]).map(e=>e?.message||"");for(let e of H){let t=!!e.substringInTrace&&r.some(t=>t.includes(e.substringInTrace)),o=!!e.substringInBreadcrumbs&&a.some(t=>t.includes(e.substringInBreadcrumbs));if(n.includes(e.message)&&(t||o))return null}return e}})];mc.init({dsn:mm,debug:!1,sendDefaultPii:!0,enabled:void 0!==mm,environment:"production",release:"1.1274.2",denyUrls:[/\/ping\.min\.js\b/i,/\/moloco-pixel\.js\b/i,/cdn\.moloco\.com/i,/\/recaptcha__[a-z]+\.js\b/i],ignoreErrors:[/Loading chunk identify failed/i,/Invalid call to runtime\.sendMessage\(\)/i],beforeBreadcrumb(e,t){if("console"===e.category&&"string"==typeof e.message&&e.message.includes("[FC-TRACE]"))return null;if(!function(e){if("fetch"!==e.category)return!1;let t=e.data?.url;return"string"==typeof t&&go.some(e=>t.includes(e))}(e))return e;let n=t?.input,r=(0,mf.getQueryName)(n?.[1]?.body);return r?{...e,message:`${e.message??""} (${r})`}:e},beforeSend(e,t){t?.originalException instanceof md.default&&(e.fingerprint=["CashoutError"],e.extra={...e.extra,method:t.originalException.method,cause:t.originalException.cause}),t?.originalException instanceof mp.default&&(e.fingerprint=["EnhancedError",t.originalException.message],e.extra={...e.extra,cause:t.originalException.seri
494alizedCause});let n=e;for(let e of gT){if(!n)return null;try{e.match(n,t)&&(n=e.process(n,t))}catch{continue}}return n},integrations:[]}),window.Sentry=mc;let gk=mc.captureRouterTransitionStart;e.s(["onRouterTransitionStart",0,gk],471217)},5526,(e,t,n)=>{"use strict";t.exports=e.f({"private-next-instrumentation-client":{id:()=>471217,module:()=>e.r(471217)}})("private-next-instrumentation-client")},966849,(e,t,n)=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},523911,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(966849),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},562262,(e,t,n)=>{"use strict";function r(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break}}function a(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<a&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else if(u<a&&0>i(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var s,l=performance;n.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();n.unstable_now=function(){return u.now()-c}}var d=[],p=[],f=1,h=null,m=3,g=!1,y=!1,_=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,S="function"==typeof clearTimeout?clearTimeout:null,E="u">typeof setImmediate?setImmediate:null;function w(e){for(var t=a(p);null!==t;){if(null===t.callback)o(p);else if(t.startTime<=e)o(p),t.sortIndex=t.expirationTime,r(d,t);else break;t=a(p)}}function T(e){if(_=!1,w(e),!y)if(null!==a(d))y=!0,k||(k=!0,s());else{var t=a(p);null!==t&&A(T,t.startTime-e)}}var k=!1,R=-1,x=5,I=-1;function C(){return!!v||!(n.unstable_now()-I<x)}function N(){if(v=!1,k){var e=n.unstable_now();I=e;var t=!0;try{t:{y=!1,_&&(_=!1,S(R),R=-1),g=!0;var r=m;try{n:{for(w(e),h=a(d);null!==h&&!(h.expirationTime>e&&C());){var i=h.callback;if("function"==typeof i){h.callback=null,m=h.priorityLevel;var l=i(h.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof l){h.callback=l,w(e),t=!0;break n}h===a(d)&&o(d),w(e)}else o(d);h=a(d)}if(null!==h)t=!0;else{var u=a(p);null!==u&&A(T,u.startTime-e),t=!1}}break t}finally{h=null,m=r,g=!1}}}finally{t?s():k=!1}}}if("function"==typeof E)s=function(){E(N)};else if("u">typeof MessageChannel){var P=new MessageChannel,O=P.port2;P.port1.onmessage=N,s=function(){O.postMessage(null)}}else s=function(){b(N,0)};function A(e,t){R=b(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return m},n.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},n.unstable_requestPaint=function(){v=!0},n.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},n.unstable_scheduleCallback=function(e,t,o){var i=n.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?i+o:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:f++,callback:t,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>i?(e.sortIndex=o,r(p,e),null===a(d)&&e===a(p)&&(_?(S(R),R=-1):_=!0,A(T,o-i))):(e.sortIndex=l,r(d,e),y||g||(y=!0,k||(k=!0,s()))),e},n.unstable_shouldYield=C,n.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},553389,(e,t,n)=>{"use strict";
vendor: 4,307 bytes, line 494
494t.exports=e.r(562262)},146480,(e,t,n)=>{"use strict";var r,a=e.i(247167),o=e.r(553389),i=e.r(271645),s=e.r(174080);function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function c(e){for(var t=e,n=t;n&&!n.alternate;)0!=(4098&(t=n).flags)&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return 3===t.tag?e:null}function d(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function p(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function f(e){if(c(e)!==e)throw Error(l(188))}function h(e,t,n,r,a,o){for(;null!==e;){if((5===e.tag||6===e.tag)&&n(e,r,a,o)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag)&&h(e.child,t,n,r,a,o))return!0;e=e.sibling}return!1}function m(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag)return e;e=e.return}return null}function g(e){switch(e.tag){case 5:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(l(559))}}var y=null,_=null;function v(e){return y=e,!0}function b(e,t,n){return e===n||e===t&&(y=e,!0)}function S(e,t,n){return e===n?(_=e,!1):e===t&&(null!==_&&(y=e),!0)}function E(e){if(null===e)return null;do e=null===e?null:e.return;while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag)return e||null}function w(e,t,n){for(var r=0,a=e;a;a=n(a))r++;a=0;for(var o=t;o;o=n(o))a++;for(;0<r-a;)e=n(e),r--;for(;0<a-r;)t=n(t),a--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var T=Object.assign,k=Symbol.for("react.element"),R=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),O=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),U=Symbol.for("react.lazy");Symbol.for("react.scope");var j=Symbol.for("react.activity"),B=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var F=Symbol.for("react.memo_cache_sentinel"),$=Symbol.for("react.view_transition"),z=Symbol.iterator;function H(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=z&&e[z]||e["@@iterator"])?e:null}var W=Symbol.for("react.client.reference"),q=Array.isArray,G=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y={pending:!1,data:null,method:null,action:null},J=[],X=-1;function K(e){return{current:e}}function Q(e){0>X||(e.current=J[X],J[X]=null,X--)}function Z(e,t){J[++X]=e.current,e.current=t}var ee=K(null),et=K(null),en=K(null),er=K(null);function ea(e,t){switch(Z(en,t),Z(et,e),Z(ee,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?cc(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=cd(t=cc(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(ee),Z(ee,e)}function eo(){Q(ee),Q(et),Q(en)}function ei(e){var t=e.memoizedState;null!==t&&(dS._currentValue=t.memoizedState,Z(er,e));var n=cd(t=ee.current,e.type);t!==n&&(Z(et,e),Z(ee,n))}function es(e){et.current===e&&(Q(ee),Q(et)),er.current===e&&(Q(er),dS._currentValue=Y)}function el(e){if(void 0===tJ)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tJ=t&&t[1]||"",tX=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tJ+e+tX}var eu=!1;function ec(e,t){if(!e||eu)return"";eu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
vendor: 5,562 bytes, line 494
494else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),i=o[0],s=o[1];if(i&&s){var l=i.split("\n"),u=s.split("\n");for(a=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(r===l.length||a===u.length)for(r=l.length-1,a=u.length-1;1<=r&&0<=a&&l[r]!==u[a];)a--;for(;1<=r&&0<=a;r--,a--)if(l[r]!==u[a]){if(1!==r||1!==a)do if(r--,a--,0>a||l[r]!==u[a]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=a)break}}}finally{eu=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?el(n):""}function ed(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return el(e.type);case 16:return el("Lazy");case 13:return e.child!==t&&null!==t?el("Suspense Fallback"):el("Suspense");case 19:return el("SuspenseList");case 0:case 15:return ec(e.type,!1);case 11:return ec(e.type.render,!1);case 1:return ec(e.type,!0);case 31:return el("Activity");case 30:return el("ViewTransition");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var ep=Object.prototype.hasOwnProperty,ef=o.unstable_scheduleCallback,eh=o.unstable_cancelCallback,em=o.unstable_shouldYield,eg=o.unstable_requestPaint,ey=o.unstable_now,e_=o.unstable_getCurrentPriorityLevel,ev=o.unstable_ImmediatePriority,eb=o.unstable_UserBlockingPriority,eS=o.unstable_NormalPriority,eE=o.unstable_LowPriority,ew=o.unstable_IdlePriority,eT=(o.log,o.unstable_setDisableYieldValue,null),ek=null,eR=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ex(e)/eI|0)|0},ex=Math.log,eI=Math.LN2,eC=256,eN=262144,eP=4194304;function eO(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eA(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var a=0,o=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var s=0x7ffffff&r;return 0!==s?0!=(r=s&~o)?a=eO(r):0!=(i&=s)?a=eO(i):n||0!=(n=s&~e)&&(a=eO(n)):0!=(s=r&~o)?a=eO(s):0!==i?a=eO(i):n||0!=(n=r&~e)&&(a=eO(n)),0===a?0:0!==t&&t!==a&&0==(t&o)&&((o=a&-a)>=(n=t&-t)||32===o&&0!=(4194048&n))?t:a}function eM(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eL(){var e=eP;return 0==(0x3c00000&(eP<<=1))&&(eP=4194304),e}function eD(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function eU(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ej(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eR(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function eB(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eR(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}function eF(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:e$(n))&(e.suspendedLanes|t))?0:n}function e$(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function ez(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eH(){var e=V.p;return 0!==e?e:void 0===(e=window.event)?32:dD(e.type)}function eW(e,t){var n=V.p;try{return V.p=e,t()}finally{V.p=n}}var eq=Math.random().toString(36).slice(2),eG="__reactFiber$"+eq,eV="__reactProps$"+eq,eY="__reactContainer$"+eq,eJ="__reactEvents$"+eq,eX="__reactListeners$"+eq,eK="__reactHandles$"+eq,eQ="__reactResources$"+eq,eZ="__reactMarker$"+eq;function e0(e){delete e[eG],delete e[eV],delete e[eJ],delete e[eX],delete e[eK]}function e1(e){var t;if(t=e[eG])return t;for(var n=e.parentNode;n;){if(t=n[eY]||n[eG]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=cK(e);null!==e;){if(n=e[eG])return n;e=cK(e)}return t}n=(e=n).parentNode}return null}function e2(e){if(e=e[eG]||e[eY]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function e3(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function e5(e){var t=e[eQ];return t||(t=e[eQ]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function e4(e){e[eZ]=!0}var e6=new Set,e8={};function e7(e,t){e9(e,t),e9(e+"Capture",t)}function e9(e,t){for(e8[e]=t,e=0;e<t.length;e++)e6.add(t[e])}var te=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
494037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),tt={},tn={},tr=!1;function ta(){var e=tr;return tr=!1,e}function to(e,t,n){if(ep.call(tn,t)||!ep.call(tt,t)&&(te.test(t)?tn[t]=!0:(tt[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,n)}}function ti(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,n)}}function ts(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function tl(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function tu(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function tc(e){if(!e._valueTracker){var t=tu(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function td(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tu(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function tp(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var tf=/[\n"\\]/g;function th(e){return e.replace(tf,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tm(e,t,n,r,a,o,i,s){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+tl(t)):e.value!==""+tl(t)&&(e.value=""+tl(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?ty(e,i,tl(t)):null!=n?ty(e,i,tl(n)):null!=r&&e.removeAttribute("value"),null==a&&null!=o&&(e.defaultChecked=!!o),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+tl(s):e.removeAttribute("name")}function tg(e,t,n,r,a,o,i,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return void tc(e);n=null!=n?""+tl(n):"",t=null!=t?""+tl(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:a)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),tc(e)}function ty(e,t,n){"number"===t&&tp(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function t_(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(a=0,n=""+tl(n),t=null;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function tv(e,t,n){if(null!=t&&((t=""+tl(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+tl(n):""}function tb(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(q(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=tl(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),tc(e)}function tS(e,t){if(t){var n=e.firstChild;
vendor: 4,179 bytes, line 494
494if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tE=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tw(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tE.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tT(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",tr=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(tw(e,a,r),tr=!0)}else for(var o in t)t.hasOwnProperty(o)&&tw(e,o,t[o])}function tk(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tR=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
494-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tx=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tI(e){return tx.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tC(){}var tN=null;function tP(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tO=null,tA=null;function tM(e){var t=e2(e);if(t&&(e=t.stateNode)){var n=e[eV]||null;switch(e=t.stateNode,t.type){case"input":if(tm(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+th(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[eV]||null;if(!a)throw Error(l(90));tm(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&td(r)}break;case"textarea":tv(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&t_(e,!!n.multiple,t,!1)}}}var tL=!1;function tD(e,t,n){if(tL)return e(t,n);tL=!0;try{return e(t)}finally{if(tL=!1,(null!==tO||null!==tA)&&(ur(),tO&&(t=tO,e=tA,tA=tO=null,tM(t),e)))for(t=0;t<e.length;t++)tM(e[t])}}function tU(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eV]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tj="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,tB=!1;if(tj)try{var tF={};Object.defineProperty(tF,"passive",{get:function(){tB=!0}}),window.addEventListener("test",tF,tF),window.removeEventListener("test",tF,tF)}catch(e){tB=!1}var t$=null,tz=null,tH=null;function tW(){if(tH)return tH;var e,t,n=tz,r=n.length,a="value"in t$?t$.value:t$.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return tH=a.slice(e,1<t?1-t:void 0)}function tq(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tG(){return!0}function tV(){return!1}function tY(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tG:tV,this.isPropagationStopped=tV,this}return T(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tG)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tG)},persist:function(){},isPersistent:tG}),t}var tJ,tX,tK,tQ,tZ,t0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t1=tY(t0),t2=T({},t0,{view:0,detail:0}),t3=tY(t2),t5=T({},t2,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:no,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,389 bytes, line 494
494Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tZ&&(tZ&&"mousemove"===e.type?(tK=e.screenX-tZ.screenX,tQ=e.screenY-tZ.screenY):tQ=tK=0,tZ=e),tK)},movementY:function(e){return"movementY"in e?e.movementY:tQ}}),t4=tY(t5),t6=tY(T({},t5,{dataTransfer:0})),t8=tY(T({},t2,{relatedTarget:0})),t7=tY(T({},t0,{animationName:0,elapsedTime:0,pseudoElement:0})),t9=tY(T({},t0,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ne=tY(T({},t0,{data:0})),nt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function na(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=nr[e])&&!!t[e]}function no(){return na}var ni=tY(T({},t2,{key:function(e){if(e.key){var t=nt[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tq(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:no,charCode:function(e){return"keypress"===e.type?tq(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tq(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ns=tY(T({},t5,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nl=tY(T({},t0,{submitter:0})),nu=tY(T({},t2,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:no})),nc=tY(T({},t0,{propertyName:0,elapsedTime:0,pseudoElement:0})),nd=tY(T({},t5,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),np=tY(T({},t0,{newState:0,oldState:0})),nf=[9,13,27,32],nh=tj&&"CompositionEvent"in window,nm=null;tj&&"documentMode"in document&&(nm=document.documentMode);var ng=tj&&"TextEvent"in window&&!nm,ny=tj&&(!nh||nm&&8<nm&&11>=nm),n_=!1;function nv(e,t){switch(e){case"keyup":return -1!==nf.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nS=!1,nE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nE[e.type]:"textarea"===t}function nT(e,t,n,r){tO?tA?tA.push(r):tA=[r]:tO=r,0<(t=u6(t,"onChange")).length&&(n=new t1("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nk=null,nR=null;function nx(e){uQ(e,0)}function nI(e){if(td(e3(e)))return e}function nC(e,t){if("change"===e)return t}var nN=!1;if(tj){if(tj){var nP="oninput"in document;if(!nP){var nO=document.createElement("div");nO.setAttribute("oninput","return;"),nP="function"==typeof nO.oninput}r=nP}else r=!1;nN=r&&(!document.documentMode||9<document.documentMode)}function nA(){nk&&(nk.detachEvent("onpropertychange",nM),nR=nk=null)}function nM(e){if("value"===e.propertyName&&nI(nR)){var t=[];nT(t,nR,e,tP(e)),tD(nx,t)}}function nL(e,t,n){"focusin"===e?(nA(),nk=t,nR=n,nk.attachEvent("onpropertychange",nM)):"focusout"===e&&nA()}function nD(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nI(nR)}function nU(e,t){if("click"===e)return nI(t)}function nj(e,t){if("input"===e||"change"===e)return nI(t)}var nB="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nF(e,t){if(nB(e,t))return!0;
vendor: 9,246 bytes, line 494
494if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!ep.call(t,a)||!nB(e[a],t[a]))return!1}return!0}function n$(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nz(e,t){var n,r=n$(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=n$(r)}}function nH(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=tp(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=tp(e.document)}return t}function nW(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nq=tj&&"documentMode"in document&&11>=document.documentMode,nG=null,nV=null,nY=null,nJ=!1;function nX(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nJ||null==nG||nG!==tp(r)||(r="selectionStart"in(r=nG)&&nW(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nY&&nF(nY,r)||(nY=r,0<(r=u6(nV,"onSelect")).length&&(t=new t1("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nG)))}function nK(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nQ={animationend:nK("Animation","AnimationEnd"),animationiteration:nK("Animation","AnimationIteration"),animationstart:nK("Animation","AnimationStart"),transitionrun:nK("Transition","TransitionRun"),transitionstart:nK("Transition","TransitionStart"),transitioncancel:nK("Transition","TransitionCancel"),transitionend:nK("Transition","TransitionEnd")},nZ={},n0={};function n1(e){if(nZ[e])return nZ[e];if(!nQ[e])return e;var t,n=nQ[e];for(t in n)if(n.hasOwnProperty(t)&&t in n0)return nZ[e]=n[t];return e}tj&&(n0=document.createElement("div").style,"AnimationEvent"in window||(delete nQ.animationend.animation,delete nQ.animationiteration.animation,delete nQ.animationstart.animation),"TransitionEvent"in window||delete nQ.transitionend.transition);var n2=n1("animationend"),n3=n1("animationiteration"),n5=n1("animationstart"),n4=n1("transitionrun"),n6=n1("transitionstart"),n8=n1("transitioncancel"),n7=n1("transitionend"),n9=new Map,re="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rt(e,t){n9.set(e,t),e7(t,[e])}re.push("scrollEnd");var rn=0;function rr(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:t.autoName=e="_"+(e=lJ.identifierPrefix)+"t_"+(rn++).toString(32)+"_"}function ra(e){if(null==e||"string"==typeof e)return e;var t=null,n=l3;if(null!==n)for(var r=0;r<n.length;r++){var a=e[n[r]];if(null!=a){if("none"===a)return"none";t=null==t?a:t+" "+a}}return null==t?e.default:t}function ro(e,t){return e=ra(e),null==(t=ra(t))?"auto"===e?null:e:"auto"===t?null:t}var ri="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof a.default&&"function"==typeof a.default.emit)return void a.default.emit("uncaughtException",e);console.error(e)},rs=[],rl=0,ru=0;function rc(){for(var e=rl,t=ru=rl=0;t<e;){var n=rs[t];rs[t++]=null;var r=rs[t];rs[t++]=null;var a=rs[t];rs[t++]=null;var o=rs[t];if(rs[t++]=null,null!==r&&null!==a){var i=r.pending;null===i?a.next=a:(a.next=i.next,i.next=a),r.pending=a}0!==o&&rh(n,a,o)}}function rd(e,t,n,r){rs[rl++]=e,rs[rl++]=t,rs[rl++]=n,rs[rl++]=r,ru|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function rp(e,t,n,r){return rd(e,t,n,r),rm(e)}function rf(e,t){return rd(e,null,null,t),rm(e)}function rh(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var a=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(a=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,a&&null!==t&&(a=31-eR(n),null===(r=(e=o.hiddenUpdates)[a])?e[a]=[t]:r.push(t),t.lane=0x20000000|n),o):null}function rm(e){if(50<l5)throw l5=0,l4=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var rg={};function ry(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function r_(e,t,n,r){return new ry(e,t,n,r)}function rv(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rb(e,t){var n=e.alternate;return null===n?((n=r_(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x7f00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function rS(e,t){e.flags&=0x7f00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function rE(e,t,n,r,a,o){var i=0;if(r=e,"function"==typeof e)rv(e)&&(i=1);else if("string"==typeof e)i=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,ee.current)?"html"===e||"head"===e||"body"===e?27:5:26;else t:switch(e){case j:return(e=r_(31,n,t,a)).elementType=j,e.lanes=o,e;case I:return rw(n.children,a,o,t);case C:i=8,a|=24;break;case N:return(e=r_(12,n,t,2|a)).elementType=N,e.lanes=o,e;case M:return(e=r_(13,n,t,a)).elementType=M,e.lanes=o,e;case L:return(e=r_(19,n,t,a)).elementType=L,e.lanes=o,e;case B:case $:return(e=r_(30,n,t,e=32|a)).elementType=$,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:i=10;break t;case P:i=9;break t;case A:i=11;break t;case D:i=14;break t;case U:i=16,r=null;break t}i=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=r_(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function rw(e,t,n,r){return(e=r_(7,e,r,t)).lanes=n,e}function rT(e,t,n){return(e=r_(6,e,null,t)).lanes=n,e}function rk(e){var t=r_(18,null,null,0);return t.stateNode=e,t}function rR(e,t,n){return(t=r_(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rx=new WeakMap;function rI(e,t){if("object"==typeof e&&null!==e){var n=rx.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ed(t)},rx.set(e,t),t)}return{value:e,source:t,stack:ed(t)}}var rC=[],rN=0,rP=null,rO=0,rA=[],rM=0,rL=null,rD=1,rU="";function rj(e,t){rC[rN++]=rO,rC[rN++]=rP,rP=e,rO=t}function rB(e,t,n){rA[rM++]=rD,rA[rM++]=rU,rA[rM++]=rL,rL=e;var r=rD;e=rU;var a=32-eR(r)-1;r&=~(1<<a),n+=1;var o=32-eR(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,rD=1<<32-eR(t)+a|n<<a|r,rU=o+e}else rD=1<<o|n<<a|r,rU=e}
vendor: 3,930 bytes, line 494
494function rF(e){null!==e.return&&(rj(e,1),rB(e,1,0))}function r$(e){for(;e===rP;)rP=rC[--rN],rC[rN]=null,rO=rC[--rN],rC[rN]=null;for(;e===rL;)rL=rA[--rM],rA[rM]=null,rU=rA[--rM],rA[rM]=null,rD=rA[--rM],rA[rM]=null}function rz(e,t){rA[rM++]=rD,rA[rM++]=rU,rA[rM++]=rL,rD=t.id,rU=t.overflow,rL=e}var rH=null,rW=null,rq=!1,rG=null,rV=!1,rY=Error(l(519));function rJ(e){var t=Error(l(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw r1(rI(t,e)),rY}function rX(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eG]=e,t[eV]=r,n){case"dialog":uZ("cancel",t),uZ("close",t);break;case"iframe":case"object":case"embed":uZ("load",t);break;case"video":case"audio":for(n=0;n<uX.length;n++)uZ(uX[n],t);break;case"source":uZ("error",t);break;case"img":case"image":case"link":uZ("error",t),uZ("load",t);break;case"details":uZ("toggle",t);break;case"input":uZ("invalid",t),tg(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":uZ("invalid",t);break;case"textarea":uZ("invalid",t),tb(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||cn(t.textContent,n)?(null!=r.popover&&(uZ("beforetoggle",t),uZ("toggle",t)),null!=r.onScroll&&uZ("scroll",t),null!=r.onScrollEnd&&uZ("scrollend",t),null!=r.onClick&&(t.onclick=tC),t=!0):t=!1,t||rJ(e,!0)}function rK(e){for(rH=e.return;rH;)switch(rH.tag){case 5:case 31:case 13:rV=!1;return;case 27:case 3:rV=!0;return;default:rH=rH.return}}function rQ(e){if(e!==rH)return!1;if(!rq)return rK(e),rq=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||cp(e.type,e.memoizedProps)),t=!t),t&&rW&&rJ(e),rK(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rW=cX(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rW=cX(e)}else 27===n?(n=rW,cv(e.type)?(e=cJ,cJ=null,rW=e):rW=n):rW=rH?cY(e.stateNode.nextSibling):null;return!0}function rZ(){rW=rH=null,rq=!1}function r0(){var e=rG;return null!==e&&(null===l$?l$=e:l$.push.apply(l$,e),rG=null),e}function r1(e){null===rG?rG=[e]:rG.push(e)}var r2=K(null),r3=null,r5=null;function r4(e,t,n){Z(r2,t._currentValue),t._currentValue=n}function r6(e){e._currentValue=r2.current,Q(r2)}function r8(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function r7(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var o=a.dependencies;if(null!==o){var i=a.child;o=o.firstContext;t:for(;null!==o;){var s=o;o=a;for(var u=0;u<t.length;u++)if(s.context===t[u]){o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),r8(o.return,n,e),r||(i=null);break t}o=s.next}}else if(18===a.tag){if(null===(i=a.return))throw Error(l(341));i.lanes|=n,null!==(o=i.alternate)&&(o.lanes|=n),r8(i,n,e),i=null}else 13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated?(a.lanes|=n,null!==(i=a.alternate)&&(i.lanes|=n),r8(a.return,n,e),i=r?a.child:null):i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===e){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}function r9(e,t,n,r){e=null;for(var a=t,o=!1;null!==a;){if(!o){if(0!=(524288&a.flags))o=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var i=a.alternate;if(null===i)throw Error(l(387));if(null!==(i=i.memoizedProps)){var s=a.type;nB(a.pendingProps.value,i.value)||(null!==e?e.push(s):e=[s])}}else if(a===er.current){if(null===(i=a.alternate))throw Error(l(387));i.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(dS):e=[dS])}a=a.return}return null!==e&&r7(t,e,n,r),t.flags|=262144,null!==e}function ae(e){for(e=e.firstContext;null!==e;){if(!nB(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
494function at(e){r3=e,r5=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function an(e){return aa(r3,e)}function ar(e,t){return null===r3&&at(e),aa(e,t)}function aa(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===r5){if(null===e)throw Error(l(308));r5=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else r5=r5.next=t;return n}var ao="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ai=o.unstable_scheduleCallback,as=o.unstable_NormalPriority,al={$$typeof:O,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function au(){return{controller:new ao,data:new Map,refCount:0}}function ac(e){e.refCount--,0===e.refCount&&ai(as,function(){e.controller.abort()})}function ad(e,t){if(0!=(4194048&e.pendingLanes)){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var ap=null,af=null,ah=0,am=0,ag=null;function ay(){if(0==--ah&&(ap=null,null!==af)){null!==ag&&(ag.status="fulfilled");var e=af;af=null,am=0,ag=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var a_=G.S;G.S=function(e,t){if(lW=ey(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===af){var t=af=[];ah=0,am=uG(),ag={status:"pending",value:void 0,then:function(e){t.push(e)}}}ah++,e.then(ay,ay)}(t),null!==ap)for(var n=uA;null!==n;)ad(n,ap),n=n.next;if(null!==(n=e.types)){for(var r=uA;null!==r;)ad(r,n),r=r.next;if(0!==am){null===(r=ap)&&(r=ap=[]);for(var a=0;a<n.length;a++){var o=n[a];-1===r.indexOf(o)&&r.push(o)}}}null!==a_&&a_(e,t)};var av=K(null);function ab(){var e=av.current;return null!==e?e:lk.pooledCache}function aS(e,t){null===t?Z(av,av.current):Z(av,t.pool)}function aE(){var e=ab();return null===e?null:{parent:al._currentValue,pool:e}}var aw=Error(l(460)),aT=Error(l(474)),ak=Error(l(542)),aR={then:function(){}};function ax(e){return"fulfilled"===(e=e.status)||"rejected"===e}
vendor: 11,824 bytes, line 494
494function aI(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(tC,tC),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw aO(e=t.reason),e;default:if("string"==typeof t.status)t.then(tC,tC);else{if(null!==(e=lk)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw aO(e=t.reason),e}throw aN=t,aw}}function aC(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw aN=e,aw;throw e}}var aN=null;function aP(){if(null===aN)throw Error(l(459));var e=aN;return aN=null,e}function aO(e){if(e===aw||e===ak)throw Error(l(483))}var aA=null,aM=0;function aL(e){var t=aM;return aM+=1,null===aA&&(aA=[]),aI(aA,e,t)}function aD(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function aU(e,t){if(t.$$typeof===k)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aj(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return(e=rb(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=0x8000002,n):r:(t.flags|=0x8000002,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=0x8000002),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=rT(n,e.mode,r)).return=e:(t=a(t,n)).return=e,t}function u(e,t,n,r){var o=n.type;return o===I?(aD(e=d(e,t,n.props.children,r,n.key),n),e):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===U&&aC(o)===t.type)?aD(t=a(t,n.props),n):aD(t=rE(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=rR(n,e.mode,r)).return=e:(t=a(t,n.children||[])).return=e,t}function d(e,t,n,r,o){return null===t||7!==t.tag?(t=rw(n,e.mode,r,o)).return=e:(t=a(t,n)).return=e,t}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rT(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case R:return aD(n=rE(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case x:return(t=rR(t,e.mode,n)).return=e,t;case U:return p(e,t=aC(t),n)}if(q(t)||H(t))return(t=rw(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return p(e,aL(t),n);if(t.$$typeof===O)return p(e,ar(e,t),n);aU(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case R:return n.key===a?u(e,t,n,r):null;case x:return n.key===a?c(e,t,n,r):null;case U:return f(e,t,n=aC(n),r)}if(q(n)||H(n))return null!==a?null:d(e,t,n,r,null);if("function"==typeof n.then)return f(e,t,aL(n),r);if(n.$$typeof===O)return f(e,t,ar(e,n),r);aU(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case R:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case U:return h(e,t,n,r=aC(r),a)}if(q(r)||H(r))return d(t,e=e.get(n)||null,r,a,null);if("function"==typeof r.then)return h(e,t,n,aL(r),a);if(r.$$typeof===O)return h(e,t,n,ar(t,r),a);aU(t,r)}return null}return function(s,u,c,d){try{aM=0;var m=function s(u,c,d,m){if("object"==typeof d&&null!==d&&d.type===I&&null===d.key&&void 0===d.props.ref&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case R:t:{for(var g=d.key;null!==c;){if(c.key===g){if((g=d.type)===I){if(7===c.tag){n(u,c.sibling),aD(m=a(c,d.props.children),d),m.return=u,u=m;break t}}else if(c.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===U&&aC(g)===c.type){n(u,c.sibling),aD(m=a(c,d.props),d),m.return=u,u=m;break t}n(u,c);break}t(u,c),c=c.sibling}d.type===I?aD(m=rw(d.props.children,u.mode,m,d.key),d):aD(m=rE(d.type,d.key,d.props,null,u.mode,m),d),m.return=u,u=m}return i(u);case x:t:{for(g=d.key;null!==c;){if(c.key===g)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(m=a(c,d.children||[])).return=u,u=m;break t}else{n(u,c);break}t(u,c),c=c.sibling}(m=rR(d,u.mode,m)).return=u,u=m}return i(u);case U:return s(u,c,d=aC(d),m)}if(q(d))return function(a,i,s,l){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=f(a,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),i=o(y,i,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===s.length)return n(a,d),rq&&rj(a,m),u;if(null===d){for(;m<s.length;m++)null!==(d=p(a,s[m],l))&&(i=o(d,i,m),null===c?u=d:c.sibling=d,c=d);return rq&&rj(a,m),u}for(d=r(d);m<s.length;m++)null!==(g=h(d,a,m,s[m],l))&&(e&&null!==(y=g.alternate)&&d.delete(null===y.key?m:y.key),i=o(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),rq&&rj(a,m),u}(u,c,d,m);if(H(d)){if("function"!=typeof(g=H(d)))throw Error(l(150));return function(a,i,s,u){if(null==s)throw Error(l(151));for(var c=null,d=null,m=i,g=i=0,y=null,_=s.next();null!==m&&!_.done;g++,_=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var v=f(a,m,_.value,u);if(null===v){null===m&&(m=y);break}e&&m&&null===v.alternate&&t(a,m),i=o(v,i,g),null===d?c=v:d.sibling=v,d=v,m=y}if(_.done)return n(a,m),rq&&rj(a,g),c;if(null===m){for(;!_.done;g++,_=s.next())null!==(_=p(a,_.value,u))&&(i=o(_,i,g),null===d?c=_:d.sibling=_,d=_);return rq&&rj(a,g),c}for(m=r(m);!_.done;g++,_=s.next())null!==(_=h(m,a,g,_.value,u))&&(e&&null!==(y=_.alternate)&&m.delete(null===y.key?g:y.key),i=o(_,i,g),null===d?c=_:d.sibling=_,d=_);return e&&m.forEach(function(e){return t(a,e)}),rq&&rj(a,g),c}(u,c,d=g.call(d),m)}if("function"==typeof d.then)return s(u,c,aL(d),m);if(d.$$typeof===O)return s(u,c,ar(u,d),m);aU(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(m=a(c,d)).return=u):(n(u,c),(m=rT(d,u.mode,m)).return=u),i(u=m)):n(u,c)}(s,u,c,d);return aA=null,m}catch(e){if(e===aw||e===ak)throw e;var g=r_(29,e,null,s.mode);return g.lanes=d,g.return=s,g}finally{}}}var aB=aj(!0),aF=aj(!1),a$=!1;function az(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aH(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aW(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function aq(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&lT)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,t=rm(e),rh(e,null,n),t}return rd(e,r,t,n),rm(e)}function aG(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,eB(e,n)}}function aV(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n)null===o?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var aY=!1;function aJ(){if(aY){var e=ag;if(null!==e)throw e}}function aX(e,t,n,r){aY=!1;var a=e.updateQueue;a$=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?o=u:i.next=u,i=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==o){var d=a.baseState;for(i=0,c=u=l=null,s=o;;){var p=-0x20000001&s.lane,f=p!==s.lane;if(f?(lx&p)===p:(r&p)===p){0!==p&&p===am&&(aY=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});t:{var h=e,m=s;switch(p=t,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(n,d,p);break t}d=h;break t;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(n,d,p):h))break t;d=T({},d,p);break t;case 2:a$=!0}}null!==(p=s.callback)&&(e.flags|=64,f&&(e.flags|=8192),null===(f=a.callbacks)?a.callbacks=[p]:f.push(p))}else f={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=f,l=d):c=c.next=f,i|=p;if(null===(s=s.next))if(null===(s=a.shared.pending))break;else s=(f=s).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}null===c&&(l=d),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===o&&(a.shared.lanes=0),lL|=i,e.lanes=i,e.memoizedState=d}}function aK(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function aQ(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)aK(n[e],t)}var aZ=K(null),a0=K(0);function a1(e,t){Z(a0,e=lA),Z(aZ,t),lA=e|t.baseLanes}function a2(){Z(a0,lA),Z(aZ,aZ.current)}function a3(){lA=a0.current,Q(aZ),Q(a0)}var a5=K(null),a4=null;function a6(e){var t=e.alternate;Z(ot,1&ot.current),Z(a5,e),null===a4&&(null===t||null!==aZ.current?a4=e:null!==t.memoizedState&&(a4=e))}function a8(e){Z(ot,ot.current),Z(a5,e),null===a4&&(a4=e)}function a7(e){22===e.tag?(Z(ot,ot.current),Z(a5,e),null===a4&&(a4=e)):a9()}function a9(){Z(ot,ot.current),Z(a5,a5.current)}function oe(e){Q(a5),a4===e&&(a4=null),Q(ot)}var ot=K(0);function on(e,t){Z(a5,a5.current),Z(ot,t)}function or(e){Q(ot),Q(a5),a4===e&&(a4=null)}function oa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||cG(n)||cV(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var oo=0,oi=null,os=null,ol=null,ou=!1,oc=!1,od=!1,op=0,of=0,oh=null,om=0;function og(){throw Error(l(321))}function oy(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nB(e[n],t[n]))return!1;return!0}function o_(e,t,n,r,a,o){return oo=o,oi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=null===e||null===e.memoizedState?iR:ix,od=!1,o=n(r,a),od=!1,oc&&(o=ob(t,n,r,a)),ov(e),o}function ov(e){G.H=ik;var t=null!==os&&null!==os.next;if(oo=0,ol=os=oi=null,ou=!1,of=0,oh=null,t)throw Error(l(300));null===e||iH||null!==(e=e.dependencies)&&ae(e)&&(iH=!0)}function ob(e,t,n,r){oi=e;var a=0;do{if(oc&&(oh=null),of=0,oc=!1,25<=a)throw Error(l(301));if(a+=1,ol=os=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}G.H=iI,o=t(n,r)}while(oc)return o}function oS(){var e=G.H,t=e.useState()[0];return t="function"==typeof t.then?oI(t):t,e=e.useState()[0],(null!==os?os.memoizedState:null)!==e&&(oi.flags|=1024),t}function oE(){var e=0!==op;return op=0,e}function ow(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function oT(e){if(ou){for(e=e.memoizedState;null!==e;){var t=e.queue;
vendor: 8,709 bytes, line 494
494null!==t&&(t.pending=null),e=e.next}ou=!1}oo=0,ol=os=oi=null,oc=!1,of=op=0,oh=null}function ok(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ol?oi.memoizedState=ol=e:ol=ol.next=e,ol}function oR(){if(null===os){var e=oi.alternate;e=null!==e?e.memoizedState:null}else e=os.next;var t=null===ol?oi.memoizedState:ol.next;if(null!==t)ol=t,os=e;else{if(null===e){if(null===oi.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(os=e).memoizedState,baseState:os.baseState,baseQueue:os.baseQueue,queue:os.queue,next:null},null===ol?oi.memoizedState=ol=e:ol=ol.next=e}return ol}function ox(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function oI(e){var t=of;return of+=1,null===oh&&(oh=[]),e=aI(oh,e,t),t=oi,null===(null===ol?t.memoizedState:ol.next)&&(G.H=null===(t=t.alternate)||null===t.memoizedState?iR:ix),e}function oC(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return oI(e);if(e.$$typeof===O)return an(e)}throw Error(l(438,String(e)))}function oN(e){var t=null,n=oi.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=oi.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=ox(),oi.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=F;return t.index++,n}function oP(e,t){return"function"==typeof t?t(e):t}function oO(e){return oA(oR(),os,e)}function oA(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,null===a)e.memoizedState=o;else{t=a.next;var s=i=null,u=null,c=t,d=!1;do{var p=-0x20000001&c.lane;if(p!==c.lane?(lx&p)===p:(oo&p)===p){var f=c.revertLane;if(0===f)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),p===am&&(d=!0);else if((oo&f)===f){c=c.next,f===am&&(d=!0);continue}else p={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,i=o):u=u.next=p,oi.lanes|=f,lL|=f;p=c.action,od&&n(o,p),o=c.hasEagerState?c.eagerState:n(o,p)}else f={lane:p,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,i=o):u=u.next=f,oi.lanes|=p,lL|=p;c=c.next}while(null!==c&&c!==t)if(null===u?i=o:u.next=s,!nB(o,e.memoizedState)&&(iH=!0,d&&null!==(n=ag)))throw n;e.memoizedState=o,e.baseState=i,e.baseQueue=u,r.lastRenderedState=o}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function oM(e){var t=oR(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a)nB(o,t.memoizedState)||(iH=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function oL(e,t,n){var r=oi,a=oR(),o=rq;if(o){if(void 0===n)throw Error(l(407));n=n()}else n=t();var i=!nB((os||a).memoizedState,n);if(i&&(a.memoizedState=n,iH=!0),a=a.queue,o6(oj.bind(null,r,a,e),[e]),a.getSnapshot!==t||i||null!==ol&&1&ol.memoizedState.tag){if(r.flags|=2048,o1(9,{destroy:void 0},oU.bind(null,r,a,n,t),null),null===lk)throw Error(l(349));o||0!=(127&oo)||oD(r,t,n)}return n}function oD(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=oi.updateQueue)?(t=ox(),oi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function oU(e,t,n,r){t.value=n,t.getSnapshot=r,oB(t)&&oF(e)}function oj(e,t,n){return n(function(){oB(t)&&oF(e)})}function oB(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nB(e,n)}catch(e){return!0}}function oF(e){var t=rf(e,2);null!==t&&l9(t,e,2)}function o$(e){var t=ok();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oP,lastRenderedState:e},t}function oz(e,t,n,r){return e.baseState=n,oA(e,os,"function"==typeof r?r:oP)}function oH(e,t,n,r,a){if(iE(e))throw Error(l(485));if(null!==(e=t.action)){var o={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==G.T?n(!0):o.isTransition=!1,r(o),null===(n=t.pending)?(o.next=t.pending=o,oW(t,o)):(o.next=n.next,t.pending=n.next=o)}}function oW(e,t){var n=t.action,r=t.payload,a=e.state;if(t.isTransition){var o=G.T,i={};i.types=null!==o?o.types:null,G.T=i;try{var s=n(a,r),l=G.S;null!==l&&l(i,s),oq(e,t,s)}catch(n){oV(e,t,n)}finally{null!==o&&null!==i.types&&(o.types=i.types),G.T=o}}else try{o=n(a,r),oq(e,t,o)}catch(n){oV(e,t,n)}}function oq(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){oG(e,t,n)},function(n){return oV(e,t,n)}):oG(e,t,n)}function oG(e,t,n){t.status="fulfilled",t.value=n,oY(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,oW(e,n)))}function oV(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,oY(t),t=t.next;while(t!==r)}e.action=null}function oY(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function oJ(e,t){return t}function oX(e,t){if(rq){var n=lk.formState;if(null!==n){t:{var r=oi;if(rq){if(rW){n:{for(var a=rW,o=rV;8!==a.nodeType;)if(!o||null===(a=cY(a.nextSibling))){a=null;break n}a="F!"===(o=a.data)||"F"===o?a:null}if(a){rW=cY(a.nextSibling),r="F!"===a.data;break t}}rJ(r)}r=!1}r&&(t=n[0])}}return(n=ok()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oJ,lastRenderedState:t},n.queue=r,n=iv.bind(null,oi,r),r.dispatch=n,r=o$(!1),o=iS.bind(null,oi,!1,r.queue),r=ok(),a={state:t,dispatch:null,action:e,pending:null},r.queue=a,n=oH.bind(null,oi,a,o,n),a.dispatch=n,r.memoizedState=e,[t,n,!1]}function oK(e){return oQ(oR(),os,e)}function oQ(e,t,n){if(t=oA(e,t,oJ)[0],e=oO(oP)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=oI(t)}catch(e){if(e===aw)throw ak;throw e}else r=t;var a=(t=oR()).queue,o=a.dispatch;return n!==t.memoizedState&&(oi.flags|=2048,o1(9,{destroy:void 0},oZ.bind(null,a,n),null)),[r,o,e]}function oZ(e,t){e.action=t}function o0(e){var t=oR(),n=os;if(null!==n)return oQ(t,n,e);oR(),t=t.memoizedState;var r=(n=oR()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function o1(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=oi.updateQueue)&&(t=ox(),oi.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function o2(){return oR().memoizedState}function o3(e,t,n,r){var a=ok();oi.flags|=e,a.memoizedState=o1(1|t,{destroy:void 0},n,void 0===r?null:r)}function o5(e,t,n,r){var a=oR();r=void 0===r?null:r;var o=a.memoizedState.inst;null!==os&&null!==r&&oy(r,os.memoizedState.deps)?a.memoizedState=o1(t,o,n,r):(oi.flags|=e,a.memoizedState=o1(1|t,o,n,r))}function o4(e,t){o3(8390656,8,e,t)}function o6(e,t){o5(2048,8,e,t)}function o8(e){var t=oR().memoizedState,n={ref:t,nextImpl:e};oi.flags|=4;var r=oi.updateQueue;if(null===r)r=ox(),oi.updateQueue=r,r.events=[n];else{var a=r.events;null===a?r.events=[n]:a.push(n)}return function(){if(0!=(2&lT))throw Error(l(440));return t.impl.apply(void 0,arguments)}}function o7(e,t){return o5(4,2,e,t)}function o9(e,t){return o5(4,4,e,t)}function ie(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function it(e,t,n){n=null!=n?n.concat([e]):null,o5(4,4,ie.bind(null,t,e),n)}function ir(){}function ia(e,t){var n=oR();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&oy(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function io(e,t){var n=oR();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&oy(t,r[1])?r[0]:(n.memoizedState=[r=e(),t],r)}function ii(e,t,n){return void 0===n||0!=(0x40000000&oo)&&0==(261930&lx)?e.memoizedState=t:(e.memoizedState=n,e=l8(),oi.lanes|=e,lL|=e,n)}function is(e,t,n,r){return nB(n,t)?n:null!==aZ.current?(nB(e=ii(e,n,r),t)||(iH=!0),e):0==(106&oo)||0!=(0x40000000&oo)&&0==(261930&lx)?(iH=!0,e.memoizedState=n):(e=l8(),oi.lanes|=e,lL|=e,t)}function il(e,t,n,r,a){var o=V.p;V.p=0!==o&&8>o?o:8;var i=G.T,s={};s.types=null!==i?i.types:null,G.T=s,iS(e,!1,t,n);try{var l=a(),u=G.S;if(null!==u&&u(s,l),null!==l&&"object"==typeof l&&"function"==typeof l.then){var c,d,p=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},l.then(function(){d.status="fulfilled",d.value=r;
vendor: 13,490 bytes, line 494
494for(var e=0;e<c.length;e++)(0,c[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);ib(e,t,p,l6(e))}else ib(e,t,r,l6(e))}catch(n){ib(e,t,{then:function(){},status:"rejected",reason:n},l6())}finally{V.p=o,null!==i&&null!==s.types&&(i.types=s.types),G.T=i}}function iu(){}function ic(e,t,n,r){if(5!==e.tag)throw Error(l(476));var a=id(e).queue;il(e,a,t,Y,null===n?iu:function(){return ip(e),n(r)})}function id(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:oP,lastRenderedState:Y},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:oP,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function ip(e){var t=id(e);null===t.next&&(t=e.alternate.memoizedState),ib(e,t.next.queue,{},l6())}function ih(){return an(dS)}function im(){return oR().memoizedState}function ig(){return oR().memoizedState}function iy(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=l6(),r=aq(t,e=aW(n),n);null!==r&&(l9(r,t,n),aG(r,t,n)),t={cache:au()},e.payload=t;return}t=t.return}}function i_(e,t,n){var r=l6();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},iE(e)?iw(t,n):null!==(n=rp(e,t,n,r))&&(l9(n,e,r),iT(n,t,r))}function iv(e,t,n){ib(e,t,n,l6())}function ib(e,t,n,r){var a={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(iE(e))iw(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,nB(s,i))return rd(e,t,a,0),null===lk&&rc(),!1}catch(e){}finally{}if(null!==(n=rp(e,t,a,r)))return l9(n,e,r),iT(n,t,r),!0}return!1}function iS(e,t,n,r){if(r={lane:2,revertLane:uG(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},iE(e)){if(t)throw Error(l(479))}else null!==(t=rp(e,n,r,2))&&l9(t,e,2)}function iE(e){var t=e.alternate;return e===oi||null!==t&&t===oi}function iw(e,t){oc=ou=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function iT(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,eB(e,n)}}var ik={readContext:an,use:oC,useCallback:og,useContext:og,useEffect:og,useImperativeHandle:og,useLayoutEffect:og,useInsertionEffect:og,useMemo:og,useReducer:og,useRef:og,useState:og,useDebugValue:og,useDeferredValue:og,useTransition:og,useSyncExternalStore:og,useId:og,useHostTransitionStatus:og,useFormState:og,useActionState:og,useOptimistic:og,useMemoCache:og,useCacheRefresh:og,useEffectEvent:og},iR={readContext:an,use:oC,useCallback:function(e,t){return ok().memoizedState=[e,void 0===t?null:t],e},useContext:an,useEffect:o4,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,o3(4194308,4,ie.bind(null,t,e),n)},useLayoutEffect:function(e,t){return o3(4194308,4,e,t)},useInsertionEffect:function(e,t){o3(4,2,e,t)},useMemo:function(e,t){var n=ok();t=void 0===t?null:t;var r=e();return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ok();if(void 0!==n)var a=n(t);else a=t;return r.memoizedState=r.baseState=a,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=i_.bind(null,oi,e),[r.memoizedState,e]},useRef:function(e){return ok().memoizedState={current:e}},useState:function(e){var t=(e=o$(e)).queue,n=iv.bind(null,oi,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ir,useDeferredValue:function(e,t){return ii(ok(),e,t)},useTransition:function(){var e=o$(!1);return e=il.bind(null,oi,e.queue,!0,!1),ok().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=oi,a=ok();if(rq){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===lk)throw Error(l(349));0!=(127&lx)||oD(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,o4(oj.bind(null,r,o,e),[e]),r.flags|=2048,o1(9,{destroy:void 0},oU.bind(null,r,o,n,t),null),n},useId:function(){var e=ok(),t=lk.identifierPrefix;if(rq){var n=rU,r=rD;t="_"+t+"R_"+(n=(r&~(1<<32-eR(r)-1)).toString(32)+n),0<(n=op++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=om++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ih,useFormState:oX,useActionState:oX,useOptimistic:function(e){var t=ok();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=iS.bind(null,oi,!0,n),n.dispatch=t,[e,t]},useMemoCache:oN,useCacheRefresh:function(){return ok().memoizedState=iy.bind(null,oi)},useEffectEvent:function(e){var t=ok(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&lT))throw Error(l(440));return n.impl.apply(void 0,arguments)}}},ix={readContext:an,use:oC,useCallback:ia,useContext:an,useEffect:o6,useImperativeHandle:it,useInsertionEffect:o7,useLayoutEffect:o9,useMemo:io,useReducer:oO,useRef:o2,useState:function(){return oO(oP)},useDebugValue:ir,useDeferredValue:function(e,t){return is(oR(),os.memoizedState,e,t)},useTransition:function(){var e=oO(oP)[0],t=oR().memoizedState;return["boolean"==typeof e?e:oI(e),t]},useSyncExternalStore:oL,useId:im,useHostTransitionStatus:ih,useFormState:oK,useActionState:oK,useOptimistic:function(e,t){return oz(oR(),os,e,t)},useMemoCache:oN,useCacheRefresh:ig,useEffectEvent:o8},iI={readContext:an,use:oC,useCallback:ia,useContext:an,useEffect:o6,useImperativeHandle:it,useInsertionEffect:o7,useLayoutEffect:o9,useMemo:io,useReducer:oM,useRef:o2,useState:function(){return oM(oP)},useDebugValue:ir,useDeferredValue:function(e,t){var n=oR();return null===os?ii(n,e,t):is(n,os.memoizedState,e,t)},useTransition:function(){var e=oM(oP)[0],t=oR().memoizedState;return["boolean"==typeof e?e:oI(e),t]},useSyncExternalStore:oL,useId:im,useHostTransitionStatus:ih,useFormState:o0,useActionState:o0,useOptimistic:function(e,t){var n=oR();return null!==os?oz(n,os,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:oN,useCacheRefresh:ig,useEffectEvent:o8};function iC(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:T({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var iN={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=l6(),a=aW(r);a.payload=t,null!=n&&(a.callback=n),null!==(t=aq(e,a,r))&&(l9(t,e,r),aG(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=l6(),a=aW(r);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=aq(e,a,r))&&(l9(t,e,r),aG(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=l6(),r=aW(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=aq(e,r,n))&&(l9(t,e,n),aG(t,e,n))}};function iP(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||!nF(n,r)||!nF(a,o)}function iO(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iN.enqueueReplaceState(t,t.state,null)}function iA(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var a in n===t&&(n=T({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}function iM(e){ri(e)}function iL(e){console.error(e)}function iD(e){ri(e)}function iU(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function ij(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function iB(e,t,n){return(n=aW(n)).tag=3,n.payload={element:null},n.callback=function(){iU(e,t)},n}function iF(e){return(e=aW(e)).tag=3,e}function i$(e,t,n,r){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var o=r.value;e.payload=function(){return a(o)},e.callback=function(){ij(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){ij(t,n,r),"function"!=typeof a&&(null===lV?lV=new Set([this]):lV.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var iz=Error(l(461)),iH=!1;function iW(e,t,n,r){t.child=null===e?aF(t,null,n,r):aB(t,e.child,n,r)}function iq(e,t,n,r,a){n=n.render;var o=t.ref;if("ref"in r){var i={};for(var s in r)"ref"!==s&&(i[s]=r[s])}else i=r;return(at(t),r=o_(e,t,n,i,o,a),s=oE(),null===e||iH)?(rq&&s&&rF(t),t.flags|=1,iW(e,t,r,a),t.child):(ow(e,t,a),ss(e,t,a))}function iG(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||rv(o)||void 0!==o.defaultProps||null!==n.compare?((e=rE(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,iV(e,t,o,r,a))}if(o=e.child,!sl(e,a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:nF)(i,r)&&e.ref===t.ref)return ss(e,t,a)}return t.flags|=1,(e=rb(o,r)).ref=t.ref,e.return=t,t.child=e}function iV(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(nF(o,r)&&e.ref===t.ref)if(iH=!1,t.pendingProps=r=o,!sl(e,a))return t.lanes=e.lanes,ss(e,t,a);else 0!=(131072&e.flags)&&(iH=!0)}return i0(e,t,n,r,a)}function iY(e,t,n,r){var a=r.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(o=null!==o?o.baseLanes|n:n,null!==e){for(a=0,r=t.child=e.child;null!==r;)a=a|r.lanes|r.childLanes,r=r.sibling;r=a&~o}else r=0,t.child=null;return iX(e,t,o,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,iX(e,t,null!==o?o.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&aS(t,null!==o?o.cachePool:null),null!==o?a1(t,o):a2(),a7(t)}else null!==o?(aS(t,o.cachePool),a1(t,o),a9(),t.memoizedState=null):(null!==e&&aS(t,null),a2(),a9());return iW(e,t,a,n),t.child}function iJ(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function iX(e,t,n,r,a){var o=ab();return t.memoizedState={baseLanes:n,cachePool:o=null===o?null:{parent:al._currentValue,pool:o}},null!==e&&aS(t,null),a2(),a7(t),null!==e&&r9(e,t,r,!0),t.childLanes=a,null}function iK(e,t){return(t=i9({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function iQ(e,t,n){return aB(t,e.child,null,n),e=iK(t,t.pendingProps),e.flags|=2,oe(t),t.memoizedState=null,e}function iZ(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function i0(e,t,n,r,a){return(at(t),n=o_(e,t,n,r,void 0,a),r=oE(),null===e||iH)?(rq&&r&&rF(t),t.flags|=1,iW(e,t,n,a),t.child):(ow(e,t,a),ss(e,t,a))}function i1(e,t,n,r,a,o){return(at(t),t.updateQueue=null,n=ob(t,r,n,a),ov(e),r=oE(),null===e||iH)?(rq&&r&&rF(t),t.flags|=1,iW(e,t,n,o),t.child):(ow(e,t,o),ss(e,t,o))}function i2(e,t,n,r,a){if(at(t),null===t.stateNode){var o=rg,i=n.contextType;"object"==typeof i&&null!==i&&(o=an(i)),t.memoizedState=null!==(o=new n(r,o)).state&&void 0!==o.state?o.state:null,o.updater=iN,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},az(t),i=n.contextType,o.context="object"==typeof i&&null!==i?an(i):rg,o.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(iC(t,n,i,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(i=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),i!==o.state&&iN.enqueueReplaceState(o,o.state,null),aX(t,r,o,a),aJ(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=iA(n,s);o.props=l;var u=o.context,c=n.contextType;i=rg,"object"==typeof c&&null!==c&&(i=an(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||u!==i)&&iO(t,o,r,i),a$=!1;var p=t.memoizedState;o.state=p,aX(t,r,o,a),aJ(),u=t.memoizedState,s||p!==u||a$?("function"==typeof d&&(iC(t,n,d,r),u=t.memoizedState),(l=a$||iP(t,n,l,r,p,u,i))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=i,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,aH(e,t),c=iA(n,i=t.memoizedProps),o.props=c,d=t.pendingProps,p=o.context,u=n.contextType,l=rg,"object"==typeof u&&null!==u&&(l=an(u)),(u="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||p!==l)&&iO(t,o,r,l),a$=!1,p=t.memoizedState,o.state=p,aX(t,r,o,a),aJ();var f=t.memoizedState;
vendor: 6,365 bytes, line 494
494i!==d||p!==f||a$||null!==e&&null!==e.dependencies&&ae(e.dependencies)?("function"==typeof s&&(iC(t,n,s,r),f=t.memoizedState),(c=a$||iP(t,n,c,r,p,f,l)||null!==e&&null!==e.dependencies&&ae(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,f,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),o.props=r,o.state=f,o.context=l,r=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,iZ(e,t),r=0!=(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=aB(t,e.child,null,a),t.child=aB(t,null,n,a)):iW(e,t,n,a),t.memoizedState=o.state,e=t.child):e=ss(e,t,a),e}function i3(e,t,n,r){return rZ(),t.flags|=256,iW(e,t,n,r),t.child}var i5={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function i4(e){return{baseLanes:e,cachePool:aE()}}function i6(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=lj),e}function i8(e,t,n){var r,a=t.pendingProps,o=!1,i=0!=(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&ot.current)),r&&(o=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rq){if(o?a6(t):a9(),(e=rW)?null!==(e=null!==(e=cq(e,rV))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rL?{id:rD,overflow:rU}:null,retryLane:0x20000000,hydrationErrors:null},(n=rk(e)).return=t,t.child=n,rH=t,rW=null):e=null,null===e)throw rJ(t);return cV(e)?t.lanes=32:t.lanes=0x20000000,null}var s=a.children;return(a=a.fallback,o)?(a9(),s=i9({mode:"hidden",children:s},o=t.mode),a=rw(a,o,n,null),s.return=t,a.return=t,s.sibling=a,t.child=s,(a=t.child).memoizedState=i4(n),a.childLanes=i6(e,r,n),t.memoizedState=i5,iJ(null,a)):(a6(t),i7(t,s))}var u=e.memoizedState;if(null!==u&&null!==(s=u.dehydrated)){if(i)256&t.flags?(a6(t),t.flags&=-257,t=se(e,t,n)):null!==t.memoizedState?(a9(),t.child=e.child,t.flags|=128,t=null):(a9(),s=a.fallback,o=t.mode,a=i9({mode:"visible",children:a.children},o),s=rw(s,o,n,null),s.flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,aB(t,e.child,null,n),(a=t.child).memoizedState=i4(n),a.childLanes=i6(e,r,n),t.memoizedState=i5,t=iJ(null,a));else if(a6(t),cV(s)){if(r=s.nextSibling&&s.nextSibling.dataset)var c=r.dgst;r=c,(a=Error(l(419))).stack="",a.digest=r,r1({value:a,source:null,stack:null}),t=se(e,t,n)}else if(iH||r9(e,t,n,!1),r=0!=(n&e.childLanes),iH||r){if(null!==(r=lk)&&0!==(a=eF(r,n))&&a!==u.retryLane)throw u.retryLane=a,rf(e,a),l9(r,e,a),iz;cG(s)||uc(),t=se(e,t,n)}else cG(s)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,rW=cY(s.nextSibling),rH=t,rq=!0,rG=null,rV=!1,null!==e&&rz(t,e),t=i7(t,a.children),t.flags|=4096);return t}return o?(a9(),s=a.fallback,o=t.mode,c=(u=e.child).sibling,(a=rb(u,{mode:"hidden",children:a.children})).subtreeFlags=0x7f00000&u.subtreeFlags,null!==c?s=rb(c,s):(s=rw(s,o,n,null),s.flags|=2),s.return=t,a.return=t,a.sibling=s,t.child=a,iJ(null,a),a=t.child,null===(s=e.child.memoizedState)?s=i4(n):(null!==(o=s.cachePool)?(u=al._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=aE(),s={baseLanes:s.baseLanes|n,cachePool:o}),a.memoizedState=s,a.childLanes=i6(e,r,n),t.memoizedState=i5,iJ(e.child,a)):(a6(t),e=(n=e.child).sibling,(n=rb(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function i7(e,t){return(t=i9({mode:"visible",children:t},e.mode)).return=e,e.child=t}function i9(e,t){return(e=r_(22,e,null,t)).lanes=0,e}function se(e,t,n){return aB(t,e.child,null,n),e=i7(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function st(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),r8(e.return,t,n)}function sn(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===oa(n)&&(t=e),e=e.sibling}return t}function sr(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,treeForkCount:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.treeForkCount=o)}function sa(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function so(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;r=r.children;var i=ot.current;if(128&t.flags)return on(t,i),null;var s=0!=(2&i);if(s?(i=1&i|2,t.flags|=128):i&=1,on(t,i),"backwards"===a&&null!==e?(sa(e),iW(e,t,r,n),sa(e)):iW(e,t,r,n),r=rq?rO:0,!s&&null!==e&&0!=(128&e.flags))t:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&st(e,n,t);else if(19===e.tag)st(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"backwards":null===(n=sn(t.child))?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null,sa(t)),sr(t,!0,a,null,o,r);break;case"unstable_legacy-backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===oa(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}sr(t,!0,n,null,o,r);break;case"together":sr(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=sn(t.child))?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),sr(t,!1,a,n,o,r)}return t.child}function si(e,t,n){var r=t.pendingProps;return r4(t,t.type,r.value),iW(e,t,r.children,n),t.child}function ss(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lL|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(r9(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=rb(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;
494)e=e.sibling,(n=n.sibling=rb(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function sl(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&ae(e))}function su(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)iH=!0;else{if(!sl(e,n)&&0==(128&t.flags))return iH=!1,function(e,t,n){switch(t.tag){case 3:ea(t,t.stateNode.containerInfo),r4(t,al,e.memoizedState.cache),rZ();break;case 27:case 5:ei(t);break;case 4:ea(t,t.stateNode.containerInfo);break;case 10:r4(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,a8(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return a6(t),t.flags|=128,null;r=r9(e,t,n,!1);var a=t.child.childLanes;if(r||0!=(n&a))return i8(e,t,n);return a6(t),null!==(e=ss(e,t,n))?e.sibling:null}a6(t);break;case 19:if(128&t.flags)return so(e,t,n);if(a=0!=(128&e.flags),(r=0!=(n&t.childLanes))||(r9(e,t,n,!1),r=0!=(n&t.childLanes)),a){if(r)return so(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),on(t,ot.current),!r)return null;break;case 22:return t.lanes=0,iY(e,t,n,t.pendingProps);case 24:r4(t,al,e.memoizedState.cache)}return ss(e,t,n)}(e,t,n);iH=0!=(131072&e.flags)}else iH=!1,rq&&0!=(1048576&t.flags)&&rB(t,rO,t.index);switch(t.lanes=0,t.tag){case 16:t:{var r=t.pendingProps;if(e=aC(t.elementType),t.type=e,"function"==typeof e)rv(e)?(r=iA(e,r),t.tag=1,t=i2(null,t,e,r,n)):(t.tag=0,t=i0(null,t,e,r,n));else{if(null!=e){var a=e.$$typeof;if(a===A){t.tag=11,t=iq(null,t,e,r,n);break t}if(a===D){t.tag=14,t=iG(null,t,e,r,n);break t}if(a===O){t.tag=10,t.type=e,t=si(null,t,n);break t}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===W?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case I:return"Fragment";case N:return"Profiler";case C:return"StrictMode";case M:return"Suspense";case L:return"SuspenseList";case j:return"Activity";case $:return"ViewTransition"}if("object"==typeof t)switch(t.$$typeof){case x:return"Portal";case O:return t.displayName||"Context";case P:return(t._context.displayName||"Context")+".Consumer";case A:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case D:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case U:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return i0(e,t,t.type,t.pendingProps,n);case 1:return a=iA(r=t.type,t.pendingProps),i2(e,t,r,a,n);case 3:t:{if(ea(t,t.stateNode.containerInfo),null===e)throw Error(l(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,aH(e,t),aX(t,r,null,n);var i=t.memoizedState;if(r4(t,al,r=i.cache),r!==o.cache&&r7(t,[al],n,!0),aJ(),r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=i3(e,t,r,n);break t}else if(r!==a){r1(a=rI(Error(l(424)),t)),t=i3(e,t,r,n);break t}else for(rW=cY((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rH=t,rq=!0,rG=null,rV=!0,n=aF(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(rZ(),r===a){t=ss(e,t,n);break t}iW(e,t,r,n)}t=t.child}return t;case 26:return iZ(e,t),null===e?(n=c6(t.type,null,t.pendingProps,null))?t.memoizedState=n:rq||(n=t.type,e=t.pendingProps,(r=cu(en.current).createElement(n))[eG]=t,r[eV]=e,co(r,n,e),e4(r),t.stateNode=r):t.memoizedState=c6(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ei(t),null===e&&rq&&(r=t.stateNode=cQ(t.type,t.pendingProps,en.current),rH=t,rV=!0,a=rW,cv(t.type)?(cJ=a,rW=cY(r.firstChild)):rW=a),iW(e,t,t.pendingProps.children,n),iZ(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rq&&((a=r=rW)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[eZ])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}
vendor: 2,204 bytes, line 494
494else{if("input"!==t||"hidden"!==e.type)return e;var a=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===a)return e}if(null===(e=cY(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rV))?(t.stateNode=r,rH=t,rW=cY(r.firstChild),rV=!1,a=!0):a=!1),a||rJ(t)),ei(t),a=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,r=o.children,cp(a,o)?r=null:null!==i&&cp(a,i)&&(t.flags|=32),null!==t.memoizedState&&(dS._currentValue=a=o_(e,t,oS,null,null,n)),iZ(e,t),iW(e,t,r,n),t.child;case 6:return null===e&&rq&&((e=n=rW)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=cY(e.nextSibling)))return null;return e}(n,t.pendingProps,rV))?(t.stateNode=n,rH=t,rW=null,e=!0):e=!1),e||rJ(t)),null;case 13:return i8(e,t,n);case 4:return ea(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=aB(t,null,r,n):iW(e,t,r,n),t.child;case 11:return iq(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,iZ(e,t),iW(e,t,r,n),t.child;case 8:case 12:return iW(e,t,t.pendingProps.children,n),t.child;case 10:return si(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,at(t),r=r(a=an(a)),t.flags|=1,iW(e,t,r,n),t.child;case 14:return iG(e,t,t.type,t.pendingProps,n);case 15:return iV(e,t,t.type,t.pendingProps,n);case 19:return so(e,t,n);case 31:var s=e,u=t,c=n,d=u.pendingProps,p=0!=(128&u.flags);if(u.flags&=-129,null===s){if(rq){if("hidden"===d.mode)return s=iK(u,d),u.lanes=0x20000000,iJ(null,s);if(a8(u),(s=rW)?null!==(s=null!==(s=cq(s,rV))&&"&"===s.data?s:null)&&(u.memoizedState={dehydrated:s,treeContext:null!==rL?{id:rD,overflow:rU}:null,retryLane:0x20000000,hydrationErrors:null},(c=rk(s)).return=u,u.child=c,rH=u,rW=null):s=null,null===s)throw rJ(u);return u.lanes=0x20000000,null}return iK(u,d)}var f=s.memoizedState;if(null!==f){var h=f.dehydrated;if(a8(u),p)if(256&u.flags)u.flags&=-257,u=iQ(s,u,c);else if(null!==u.memoizedState)u.child=s.child,u.flags|=128,u=null;else throw Error(l(558));else if(iH||r9(s,u,c,!1),p=0!=(c&s.childLanes),iH||p){if(null!==(d=lk)&&0!==(h=eF(d,c))&&h!==f.retryLane)throw f.retryLane=h,rf(s,h),l9(d,s,h),iz;uc(),u=iQ(s,u,c)}
vendor: 4,415 bytes, line 494
494else s=f.treeContext,rW=cY(h.nextSibling),rH=u,rq=!0,rG=null,rV=!1,null!==s&&rz(u,s),u=iK(u,d),u.flags|=4096;return u}return(s=rb(s.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=s,s.return=u,s;case 22:return iY(e,t,n,t.pendingProps);case 24:return at(t),r=an(al),null===e?(null===(a=ab())&&(a=lk,o=au(),a.pooledCache=o,o.refCount++,null!==o&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},az(t),r4(t,al,a)):(0!=(e.lanes&n)&&(aH(e,t),aX(t,null,null,n),aJ()),a=e.memoizedState,o=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),r4(t,al,r)):(r4(t,al,r=o.cache),r!==a.cache&&r7(t,[al],n,!0))),iW(e,t,t.pendingProps.children,n),t.child;case 30:return null===t.stateNode&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?0x1202000:0x1200000:rq&&rF(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:iZ(e,t),iW(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function sc(e){e.flags|=4}function sd(e,t,n,r,a){var o;if((o=0!=(32&e.mode))&&(o=null===n?dc(t,r):dc(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),o){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(us())e.flags|=8192;else throw aN=aR,aT}else e.flags&=-0x1000001}function sp(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!dd(t))if(us())e.flags|=8192;else throw aN=aR,aT}function sf(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eL():0x20000000,e.lanes|=t,lB|=t)}function sh(e,t){if(!rq)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(n=null,t=e.tail;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function sm(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0x7f00000&a.subtreeFlags,r|=0x7f00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function sg(e,t){switch(r$(t),t.tag){case 3:r6(al),eo();break;case 26:case 27:case 5:es(t);break;case 4:eo();break;case 31:null!==t.memoizedState&&oe(t);break;case 13:oe(t);break;case 19:or(t);break;case 10:r6(t.type);break;case 22:case 23:oe(t),a3(),null!==e&&Q(av);break;case 24:r6(al)}}function sy(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var a=r.next;n=a;do{if((n.tag&e)===e){r=void 0;var o=n.create;n.inst.destroy=r=o()}n=n.next}while(n!==a)}}catch(e){ux(t,t.return,e)}}function s_(e,t,n){try{var r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var o=a.next;r=o;do{if((r.tag&e)===e){var i=r.inst,s=i.destroy;if(void 0!==s){i.destroy=void 0,a=t;try{s()}catch(e){ux(a,n,e)}}}r=r.next}while(r!==o)}}catch(e){ux(t,t.return,e)}}function sv(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{aQ(t,n)}catch(t){ux(e,e.return,t)}}}function sb(e,t,n){n.props=iA(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){ux(e,t,n)}}function sS(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var a=e.stateNode,o=rr(e.memoizedProps,a);(null===a.ref||a.ref.name!==o)&&(a.ref=cC(o)),r=a.ref;break;case 7:if(null===e.stateNode){var i=new cN(e);h(e.child,!1,c$,i,void 0,void 0),e.stateNode=i}r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){ux(e,t,n)}}function sE(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){ux(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){ux(e,t,n)}else n.current=null}function sw(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){ux(e,e.return,t)}}function sT(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;
494case"input":var a=null,o=null,i=null,s=null,u=null,c=null,d=null;for(h in n){var p=n[h];if(n.hasOwnProperty(h)&&null!=p)switch(h){case"checked":case"value":break;case"defaultValue":u=p;default:r.hasOwnProperty(h)||cr(e,t,h,null,r,p)}}for(var f in r){var h=r[f];if(p=n[f],r.hasOwnProperty(f)&&(null!=h||null!=p))switch(f){case"type":h!==p&&(tr=!0),o=h;break;case"name":h!==p&&(tr=!0),a=h;break;case"checked":h!==p&&(tr=!0),c=h;break;case"defaultChecked":h!==p&&(tr=!0),d=h;break;case"value":h!==p&&(tr=!0),i=h;break;case"defaultValue":h!==p&&(tr=!0),s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(l(137,t));break;default:h!==p&&cr(e,t,f,h,r,p)}}tm(e,i,s,u,c,d,o,a);return;case"select":for(o in h=i=s=f=null,n)if(u=n[o],n.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":h=u;default:r.hasOwnProperty(o)||cr(e,t,o,null,r,u)}for(a in r)if(o=r[a],u=n[a],r.hasOwnProperty(a)&&(null!=o||null!=u))switch(a){case"value":o!==u&&(tr=!0),f=o;break;case"defaultValue":o!==u&&(tr=!0),s=o;break;case"multiple":o!==u&&(tr=!0),i=o;default:o!==u&&cr(e,t,a,o,r,u)}t=s,n=i,r=h,null!=f?t_(e,!!n,f,!1):!!r!=!!n&&(null!=t?t_(e,!!n,t,!0):t_(e,!!n,n?[]:"",!1));return;case"textarea":for(s in h=f=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:cr(e,t,s,null,r,a)}for(i in r)if(a=r[i],o=n[i],r.hasOwnProperty(i)&&(null!=a||null!=o))switch(i){case"value":a!==o&&(tr=!0),f=a;break;case"defaultValue":a!==o&&(tr=!0),h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(l(91));break;default:a!==o&&cr(e,t,i,a,r,o)}tv(e,f,h);return;case"option":for(var m in n)f=n[m],n.hasOwnProperty(m)&&null!=f&&!r.hasOwnProperty(m)&&("selected"===m?e.selected=!1:cr(e,t,m,null,r,f));for(u in r)f=r[u],h=n[u],r.hasOwnProperty(u)&&f!==h&&(null!=f||null!=h)&&("selected"===u?(f!==h&&(tr=!0),e.selected=f&&"function"!=typeof f&&"symbol"!=typeof f):cr(e,t,u,f,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)f=n[g],n.hasOwnProperty(g)&&null!=f&&!r.hasOwnProperty(g)&&cr(e,t,g,null,r,f);for(c in r)if(f=r[c],h=n[c],r.hasOwnProperty(c)&&f!==h&&(null!=f||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(l(137,t));break;default:cr(e,t,c,f,r,h)}return;default:if(tk(t)){for(var y in n)f=n[y],n.hasOwnProperty(y)&&void 0!==f&&!r.hasOwnProperty(y)&&ca(e,t,y,void 0,r,f);for(d in r)f=r[d],h=n[d],r.hasOwnProperty(d)&&f!==h&&(void 0!==f||void 0!==h)&&ca(e,t,d,f,r,h);return}}for(var _ in n)f=n[_],n.hasOwnProperty(_)&&null!=f&&!r.hasOwnProperty(_)&&cr(e,t,_,null,r,f);for(p in r)f=r[p],h=n[p],r.hasOwnProperty(p)&&f!==h&&(null!=f||null!=h)&&cr(e,t,p,f,r,h)})(r,e.type,n,t),r[eV]=t}catch(t){ux(e,e.return,t)}}function sk(e,t){if((5===e.tag||6===e.tag)&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)cH(e.stateNode,t[n])}function sR(e){for(var t=e.return;null!==t;){if(sI(t)){var n=t.stateNode,r=e.stateNode;if(3!==r.nodeType){var a=n._eventListeners;if(null!==a)for(var o=0;o<a.length;o++){var i=a[o];r.removeEventListener(i.type,i.listener,i.optionsOrUseCapture)}null!=r.reactFragments&&r.reactFragments.delete(n)}}if(sx(t))break;t=t.return}}function sx(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&cv(e.type)||4===e.tag}function sI(e){return e&&7===e.tag&&null!==e.stateNode}function sC(e){t:for(;;){for(;null===e.sibling;){if(null===e.return||sx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&cv(e.type)||2&e.flags||null===e.child||4===e.tag)continue t;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function sN(e,t,n,r){var a=e.tag;if(5===a||6===a)a=e.stateNode,t?n.insertBefore(a,t):n.appendChild(a),sk(e,r),tr=!0;else if(4!==a&&(27===a&&cv(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(sN(e,t,n,r),e=e.sibling;null!==e;)sN(e,t,n,r),e=e.sibling}function sP(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);co(t,r,n),t[eG]=e,t[eV]=n}catch(t){ux(e,e.return,t)}}var sO=!1,sA=null;function sM(e){(30===e.tag||0!=(0x2000000&e.subtreeFlags))&&(sO=!0)}var sL=null;function sD(){var e=sL;return sL=null,e}var sU=0;function sj(e,t,n,r,a){return sU=0,function e(t,n,r,a,o){for(var i=!1;null!==t;){if(5===t.tag){var s=t.stateNode;if(null!==a){var l=ck(s);a.push(l),l.view&&(i=!0)}else i||ck(s).view&&(i=!0);sO=!0,cE(s,0===sU?n:n+"_"+sU,r),sU++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&o||e(t.child,n,r,a,o)&&(i=!0));t=t.sibling}return i}(e.child,t,n,r,a)}function sB(e,t){for(;null!==e;)5===e.tag?cw(e.stateNode,e.memoizedProps):(22!==e.tag||null===e.memoizedState)&&(30===e.tag&&t||sB(e.child,t)),e=e.sibling}function sF(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;
vendor: 5,146 bytes, line 494
494){if((22!==e.tag||null===e.memoizedState)&&(sF(e),30===e.tag&&0!=(0x1200000&e.flags)&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(l(544));var n=t.name;"none"!==(t=ro(t.default,t.share))&&(sj(e,n,t,null,!1)||sB(e.child,!1))}e=e.sibling}}function s$(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,a=rr(r,n),o=ro(r.default,n.paired?r.share:r.enter);"none"!==o?sj(e,a,o,null,!1)?(sF(e),n.paired||t||l7(e,r.onEnter)):sB(e.child,!1):sF(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)s$(e,t),e=e.sibling;else sF(e)}function sz(e){if(null!==sA&&0!==sA.size){var t=sA;if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var a=t.get(r);if(void 0!==a){var o=ro(n.default,n.share);if("none"!==o&&(sj(e,r,o,null,!1)?(a.paired=o=e.stateNode,o.paired=a,l7(e,n.onShare)):sB(e.child,!1)),t.delete(r),0===t.size)break}}}sz(e)}e=e.sibling}}}function sH(e){if(30===e.tag){var t=e.memoizedProps,n=rr(t,e.stateNode),r=null!==sA?sA.get(n):void 0,a=ro(t.default,void 0!==r?t.share:t.exit);"none"!==a&&(sj(e,n,a,null,!1)?void 0!==r?(r.paired=a=e.stateNode,a.paired=r,sA.delete(n),l7(e,t.onShare)):l7(e,t.onExit):sB(e.child,!1)),null!==sA&&sz(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)sH(e),e=e.sibling;else null!==sA&&sz(e)}function sW(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var t=e.stateNode;null!==t.paired&&(t.paired=null,sB(e.child,!1))}sW(e)}e=e.sibling}}function sq(e){if(30===e.tag)e.stateNode.paired=null,sB(e.child,!1),sW(e);else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)sq(e),e=e.sibling;else sW(e)}function sG(e,t,n,r,a,o,i){for(var s=!1;null!==t;){if(5===t.tag){var l=t.stateNode;if(null!==o&&sU<o.length){var u,c=o[sU],d=ck(l);if((c.view||d.view)&&(s=!0),u=0==(4&e.flags))if(d.clip)u=!0;else{u=c.rect;var p=d.rect;u=u.y!==p.y||u.x!==p.x||u.height!==p.height||u.width!==p.width}u&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;0!=(4&e.flags)&&cE(l,0===sU?n:n+"_"+sU,a),s&&0!=(4&e.flags)||(null===sL&&(sL=[]),sL.push(l,0===sU?r:r+"_"+sU,t.memoizedProps)),sU++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&i?e.flags|=32&t.flags:sG(e,t.child,n,r,a,o,i)&&(s=!0));t=t.sibling}return s}var sV=!1,sY=!1,sJ=!1,sX=!1,sK="function"==typeof WeakSet?WeakSet:Set,sQ=null,sZ=!1,s0=!1,s1=!1,s2=!1;function s3(e){for(;null!==sQ;){var t=sQ,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:if(0!=(4&a)&&null!==(r=null!==(r=t.updateQueue)?r.events:null))for(n=0;n<r.length;n++)(a=r[n]).ref.impl=a.nextImpl;break;case 1:if(0!=(1024&a)&&null!==r){n=void 0,a=r.memoizedProps,r=r.memoizedState;var o=t.stateNode;try{var i=iA(t.type,a);n=o.getSnapshotBeforeUpdate(i,r),o.__reactInternalSnapshotBeforeUpdate=n}catch(e){ux(t,t.return,e)}}break;case 3:if(0!=(1024&a)){if(9===(n=(r=t.stateNode.containerInfo).nodeType))cW(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":cW(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&null!==r&&(n=rr(r.memoizedProps,r.stateNode),"none"!==(a=ro((a=t.memoizedProps).default,a.update))&&sj(r,n,a,r.memoizedState=[],!0));break;default:if(0!=(1024&a))throw Error(l(163))}if(null!==(r=t.sibling)){r.return=t.return,sQ=r;break}sQ=t.return}}function s5(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:lu(e,n),4&r&&sy(5,n);break;case 1:if(lu(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){ux(n,n.return,e)}else{var a=iA(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){ux(n,n.return,e)}}64&r&&sv(n),512&r&&sS(n,n.return);break;case 3:if(lu(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{aQ(e,t)}catch(e){ux(n,n.return,e)}}break;case 27:null===t&&4&r&&sP(n);case 26:case 5:lu(e,n),null===t&&4&r&&sw(n),512&r&&sS(n,n.return);break;case 12:lu(e,n);break;case 31:lu(e,n),4&r&&le(e,n);break;case 13:lu(e,n),4&r&<(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=uP.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||sV)){t=null!==t&&null!==t.memoizedState||sY,a=sV;var o=sY;sV=r,(sY=t)&&!o?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var a=n.alternate,o=t,i=n,s=i.flags;switch(i.tag){case 0:case 11:case 15:e(o,i,r),sy(4,i);break;case 1:if(e(o,i,r),"function"==typeof(o=(a=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){ux(a,a.return,e)}if(null!==(o=(a=i).updateQueue)){var l=a.stateNode;try{var u=o.shared.hiddenCallbacks;
494if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)aK(u[o],l)}catch(e){ux(a,a.return,e)}}r&&64&s&&sv(i),sS(i,i.return);break;case 27:sP(i);case 26:case 5:if(5===i.tag){l=i;for(var c=l.return;null!==c&&(sI(c)&&cH(l.stateNode,c.stateNode),!sx(c));)c=c.return}e(o,i,r),r&&null===a&&4&s&&sw(i),sS(i,i.return);break;case 12:e(o,i,r);break;case 31:e(o,i,r),r&&4&s&&le(o,i);break;case 13:e(o,i,r),r&&4&s&<(o,i);break;case 22:null===i.memoizedState&&e(o,i,r),sS(i,i.return);break;case 30:e(o,i,r),sS(i,i.return);break;case 7:sS(i,i.return);default:e(o,i,r)}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):lu(e,n),sV=a,sY=o}break;case 30:lu(e,n),512&r&&sS(n,n.return);break;case 7:512&r&&sS(n,n.return);default:lu(e,n)}}function s4(e,t){for(e=e.child;null!==e;)(function e(t,n){switch(t.tag){case 5:case 26:try{var r=t.stateNode;if(n){var a=r.style;"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"}else{var o=t.stateNode,i=t.memoizedProps.style,s=null!=i&&i.hasOwnProperty("display")?i.display:null;o.style.display=null==s||"boolean"==typeof s?"":(""+s).trim()}}catch(e){ux(t,t.return,e)}!function t(n,r){if(0x4000000&n.subtreeFlags)for(n=n.child;null!==n;){t:{var a=n;switch(a.tag){case 4:e(a,r);break t;case 22:null===a.memoizedState&&t(a,r);break t;default:t(a,r)}}n=n.sibling}}(t,n);break;case 6:try{t.stateNode.nodeValue=n?"":t.memoizedProps,tr=!0}catch(e){ux(t,t.return,e)}break;case 18:try{var l=t.stateNode;n?cS(l,!0):cS(t.stateNode,!1)}catch(e){ux(t,t.return,e)}break;case 22:case 23:null===t.memoizedState&&s4(t,n);break;default:s4(t,n)}})(e,t),e=e.sibling}var s6=null,s8=!1;
vendor: 10,838 bytes, line 494
494function s7(e,t,n){for(n=n.child;null!==n;)s9(e,t,n),n=n.sibling}function s9(e,t,n){if(ek&&"function"==typeof ek.onCommitFiberUnmount)try{ek.onCommitFiberUnmount(eT,n)}catch(e){}switch(n.tag){case 26:sY||sE(n,t),s7(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:sY||sE(n,t);var r=s6,a=s8;cv(n.type)&&(s6=n.stateNode,s8=!1),s7(e,t,n),cZ(n.stateNode),s6=r,s8=a;break;case 5:sY||sE(n,t),5!==n.tag&&6!==n.tag||sR(n);case 6:if(r=s6,a=s8,s6=null,s7(e,t,n),s6=r,s8=a,null!==s6)if(s8)try{(9===s6.nodeType?s6.body:"HTML"===s6.nodeName?s6.ownerDocument.body:s6).removeChild(n.stateNode),tr=!0}catch(e){ux(n,t,e)}else try{s6.removeChild(n.stateNode),tr=!0}catch(e){ux(n,t,e)}break;case 18:null!==s6&&(s8?(cb(9===(e=s6).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),d0(e)):cb(s6,n.stateNode));break;case 4:r=s6,a=s8,s6=n.stateNode.containerInfo,s8=!0,s7(e,t,n),s6=r,s8=a;break;case 0:case 11:case 14:case 15:s_(2,n,t),sY||s_(4,n,t),s7(e,t,n);break;case 1:sY||(sE(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&sb(n,t,r)),s7(e,t,n);break;case 21:default:s7(e,t,n);break;case 22:sY=(r=sY)||null!==n.memoizedState,s7(e,t,n),sY=r;break;case 30:sE(n,t),s7(e,t,n);break;case 7:sY||sE(n,t),s7(e,t,n)}}function le(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{d0(e)}catch(e){ux(t,t.return,e)}}}function lt(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{d0(e)}catch(e){ux(t,t.return,e)}}function ln(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new sK),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new sK),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=uO.bind(null,e,t);t.then(r,r)}})}function lr(e,t,n){var r=t.deletions;if(null!==r)for(var a=0;a<r.length;a++){var o=r[a],i=e,s=t,u=s;t:for(;null!==u;){switch(u.tag){case 27:if(cv(u.type)){s6=u.stateNode,s8=!1;break t}break;case 5:s6=u.stateNode,s8=!1;break t;case 3:case 4:s6=u.stateNode.containerInfo,s8=!0;break t}u=u.return}if(null===s6)throw Error(l(160));s9(i,s,o),s6=null,s8=!1,null!==(i=o.alternate)&&(i.return=null),o.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)lo(t,e,n),t=t.sibling}var la=null;function lo(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:lr(t,e,n),li(e),4&a&&(s_(3,e,e.return),sy(3,e),s_(5,e,e.return));break;case 1:lr(t,e,n),li(e),512&a&&(sY||null===r||sE(r,r.return)),64&a&&sV&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===t?r:t.concat(r));break;case 26:var o=la;if(lr(t,e,n),li(e),512&a&&(sY||null===r||sE(r,r.return)),4&a)if(n=null!==r?r.memoizedState:null,t=e.memoizedState,null===r)if(null===t)if(null===e.stateNode){t:{r=e.type,t=e.memoizedProps,n=o.ownerDocument||o;n:switch(r){case"title":(!(a=n.getElementsByTagName("title")[0])||a[eZ]||a[eG]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),co(a,r,t),a[eG]=e,e4(a),r=a;break t;case"link":if(o=dl("link","href",n).get(r+(t.href||""))){for(var i=0;i<o.length;i++)if((a=o[i]).getAttribute("href")===(null==t.href||""===t.href?null:t.href)&&a.getAttribute("rel")===(null==t.rel?null:t.rel)&&a.getAttribute("title")===(null==t.title?null:t.title)&&a.getAttribute("crossorigin")===(null==t.crossOrigin?null:t.crossOrigin)){o.splice(i,1);break n}}co(a=n.createElement(r),r,t),n.head.appendChild(a);break;case"meta":if(o=dl("meta","content",n).get(r+(t.content||""))){for(i=0;i<o.length;i++)if((a=o[i]).getAttribute("content")===(null==t.content?null:""+t.content)&&a.getAttribute("name")===(null==t.name?null:t.name)&&a.getAttribute("property")===(null==t.property?null:t.property)&&a.getAttribute("http-equiv")===(null==t.httpEquiv?null:t.httpEquiv)&&a.getAttribute("charset")===(null==t.charSet?null:t.charSet)){o.splice(i,1);break n}}co(a=n.createElement(r),r,t),n.head.appendChild(a);break;default:throw Error(l(468,r))}a[eG]=e,e4(a),r=a}e.stateNode=r}else du(o,e.type,e.stateNode);else e.stateNode=dn(o,t,e.memoizedProps);else n!==t?(null===n?null!==r.stateNode&&(r=r.stateNode).parentNode.removeChild(r):n.count--,null===t?du(o,e.type,e.stateNode):dn(o,t,e.memoizedProps)):null===t&&null!==e.stateNode&&sT(e,e.memoizedProps,r.memoizedProps);break;case 27:lr(t,e,n),li(e),512&a&&(sY||null===r||sE(r,r.return)),null!==r&&4&a&&sT(e,e.memoizedProps,r.memoizedProps);break;case 5:if(o=sJ,sJ=!1,lr(t,e,n),sJ=o,li(e),512&a&&(sY||null===r||sE(r,r.return)),32&e.flags){t=e.stateNode;try{tS(t,""),tr=!0}catch(t){ux(e,e.return,t)}}4&a&&null!=e.stateNode&&(t=e.memoizedProps,sT(e,t,null!==r?r.memoizedProps:t)),1024&a&&(sX=!0);break;case 6:if(lr(t,e,n),li(e),4&a){if(null===e.stateNode)throw Error(l(162));r=e.memoizedProps,t=e.stateNode;try{t.nodeValue=r,tr=!0}catch(t){ux(e,e.return,t)}}break;case 3:if(tr=!1,ds=null,o=la,la=c2(t.containerInfo),lr(t,e,n),la=o,li(e),4&a&&null!==r&&r.memoizedState.isDehydrated)try{d0(t.containerInfo)}catch(t){ux(e,e.return,t)}sX&&(sX=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&(n=n.stateNode,dC=!0,n.reset(),dC=!1),t=t.sibling}}(e)),tr=!1;break;case 4:r=sJ,sJ=sV,a=ta(),o=la,la=c2(e.stateNode.containerInfo),lr(t,e,n),li(e),la=o,tr&&s0&&(s1=!0),tr=a,sJ=r;break;case 12:lr(t,e,n),li(e);break;case 31:case 19:lr(t,e,n),li(e),4&a&&null!==(r=e.updateQueue)&&(e.updateQueue=null,ln(e,r));break;case 13:lr(t,e,n),li(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(lH=ey()),4&a&&null!==(r=e.updateQueue)&&(e.updateQueue=null,ln(e,r));break;case 22:o=null!==e.memoizedState,i=null!==r&&null!==r.memoizedState;var s=sV,u=sY,c=sJ;sV=s||o,sJ=c||o,sY=u||i,lr(t,e,n),sY=u,sJ=c,sV=s,li(e),8192&a&&((t=e.stateNode)._visibility=o?-2&t._visibility:1|t._visibility,o&&(null===r||i||sV||sY||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:s_(4,n,n.return),e(n);break;case 1:sE(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&sb(n,n.return,r),e(n);break;case 27:cZ(n.stateNode);case 26:case 5:sE(n,n.return),5!==n.tag&&6!==n.tag||sR(n),e(n);break;case 22:null===n.memoizedState&&e(n);break;case 30:sE(n,n.return),e(n);break;case 7:sE(n,n.return);default:e(n)}t=t.sibling}}(e)),!o&&sJ||s4(e,o)),4&a&&null!==(r=e.updateQueue)&&null!==(t=r.retryQueue)&&(r.retryQueue=null,ln(e,t));break;case 30:512&a&&(sY||null===r||sE(r,r.return)),a=ta(),o=s0,i=(0x13ffff00&n)===n,s=e.memoizedProps,s0=i&&"none"!==ro(s.default,s.update),lr(t,e,n),li(e),i&&null!==r&&tr&&(e.flags|=4),s0=o,tr=a;break;case 21:break;case 7:r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:lr(t,e,n),li(e)}}function li(e){var t=e.flags;if(2&t){try{for(var n,r=null,a=e.return;null!==a;){if(sI(a)){var o=a.stateNode;null===r?r=[o]:r.push(o)}if(sx(a)){n=a;break}a=a.return}if(null==n)throw Error(l(160));switch(n.tag){case 27:var i=n.stateNode,s=sC(e);sN(e,s,i,r);break;case 5:var u=n.stateNode;32&n.flags&&(tS(u,""),n.flags&=-33);var c=sC(e);sN(e,c,u,r);break;case 3:case 4:var d=n.stateNode.containerInfo,p=sC(e);!function e(t,n,r,a){var o=t.tag;if(5===o||6===o)o=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(o,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(o),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=tC)),sk(t,a),tr=!0;else if(4!==o&&(27===o&&cv(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r,a),t=t.sibling;null!==t;)e(t,n,r,a),t=t.sibling}(e,p,d,r);break;default:throw Error(l(161))}}catch(t){ux(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ls(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)ll(t,e),t=t.sibling;else!function e(t,n){for(t=t.child;null!==t;){if(30===t.tag){var r=t.memoizedProps,a=t.stateNode,o=rr(r,a),i=ro(r.default,r.update);if(n)var s=null===(a=a.clones)?null:a.map(cR);else s=t.memoizedState,t.memoizedState=null;a=t;var l=t.child;sU=0,o=sG(a,l,o,o,i,s,!1),0!=(4&t.flags)&&o&&(n||l7(t,r.onUpdate))}else 0!=(0x2000000&t.subtreeFlags)&&e(t,n);t=t.sibling}}(t,!1)}function ll(e,t){var n=e.alternate;if(null===n)s$(e,!1);else switch(e.tag){case 3:if(s2=sZ=!1,sD(),ls(t,e),!sZ&&!s1){if(null!==(e=sL))for(var r=0;r<e.length;r+=3){n=e[r];var a=e[r+1];cw(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+a+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),s2=!0}sL=null;break;case 5:default:ls(t,e);break;case 4:r=sZ,sZ=!1,ls(t,e),sZ&&(s1=!0),sZ=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?s$(e,!1):ls(t,e));break;case 30:r=sZ,a=sD(),sZ=!1,ls(t,e),sZ&&(e.flags|=4);var o=e.memoizedProps,i=e.stateNode;t=rr(o,i),i=rr(n.memoizedProps,i);var s=ro(o.default,o.update);"none"===s?t=!1:(o=n.memoizedState,n.memoizedState=null,n=e.child,sU=0,t=sG(e,n,t,i,s,o,!0),sU!==(null===o?0:o.length)&&(e.flags|=32)),0!=(4&e.flags)&&t?(l7(e,e.memoizedProps.onUpdate),sL=a):null!==a&&(a.push.apply(a,sL),sL=a),sZ=0!=(32&e.flags)||r}}function lu(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)s5(e,t.alternate,t),t=t.sibling}function lc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&ac(n))}function ld(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&ac(e))}function lp(e,t,n,r){var a=(0x13ffff00&n)===n;if(t.subtreeFlags&(a?10262:10256))for(t=t.child;null!==t;)lf(e,t,n,r),t=t.sibling;else a&&function e(t){for(t=t.child;null!==t;)30===t.tag?sB(t.child,!1):0!=(0x2000000&t.subtreeFlags)&&e(t),t=t.sibling}(t)}function lf(e,t,n,r){var a=(0x13ffff00&n)===n;a&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&sq(t);var o=t.flags;switch(t.tag){case 0:case 11:case 15:lp(e,t,n,r),2048&o&&sy(9,t);break;case 1:case 31:case 13:default:lp(e,t,n,r);break;case 3:lp(e,t,n,r),a&&s2&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.n
494odeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&o&&(o=null,null!==t.alternate&&(o=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==o&&(t.refCount++,null!=o&&ac(o)));break;case 12:if(2048&o){lp(e,t,n,r),o=t.stateNode;try{var i=t.memoizedProps,s=i.id,l=i.onPostCommit;"function"==typeof l&&l(s,null===t.alternate?"mount":"update",o.passiveEffectDuration,-0)}catch(e){ux(t,t.return,e)}}else lp(e,t,n,r);break;case 23:break;case 22:i=t.stateNode,s=t.alternate,null!==t.memoizedState?(a&&null!==s&&null===s.memoizedState&&sq(s),2&i._visibility?lp(e,t,n,r):lh(e,t)):(a&&null!==s&&null!==s.memoizedState&&sq(t),2&i._visibility?lp(e,t,n,r):(i._visibility|=2,function e(t,n,r,a,o){for(o=o&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var i=n,s=i.flags;switch(i.tag){case 0:case 11:case 15:e(t,i,r,a,o),sy(8,i);break;case 23:break;case 22:var l=i.stateNode;null!==i.memoizedState?2&l._visibility?e(t,i,r,a,o):lh(t,i):(l._visibility|=2,e(t,i,r,a,o)),o&&2048&s&&lc(i.alternate,i);break;case 24:e(t,i,r,a,o),o&&2048&s&&ld(i.alternate,i);break;default:e(t,i,r,a,o)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags)))),2048&o&&lc(s,t);break;case 24:lp(e,t,n,r),2048&o&&ld(t.alternate,t);break;case 30:a&&null!==(o=t.alternate)&&(sB(o.child,!0),sB(t.child,!0)),lp(e,t,n,r)}}function lh(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:lh(e,n),2048&r&&lc(n.alternate,n);break;case 24:lh(e,n),2048&r&&ld(n.alternate,n);break;default:lh(e,n)}t=t.sibling}}var lm=8192;function lg(e,t,n){if(e.subtreeFlags&lm)for(e=e.child;null!==e;)ly(e,t,n),e=e.sibling}function ly(e,t,n){switch(e.tag){case 26:lg(e,t,n),e.flags&lm&&(null!==e.memoizedState?function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var a=c8(r.href),o=t.querySelector(c7(a));if(o){null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=dg.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,e4(o);return}o=t.ownerDocument||t,r=c9(r),(a=c0.get(a))&&da(r,a),e4(o=o.createElement("link"));var i=o;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),co(o,"link",r),n.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=dg.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,la,e.memoizedState,e.memoizedProps):(e=e.stateNode,(0x13ffff40&t)===t&&df(n,e)));break;case 5:lg(e,t,n),e.flags&lm&&(e=e.stateNode,(0x13ffff40&t)===t&&df(n,e));break;case 3:case 4:var r=la;la=c2(e.stateNode.containerInfo),lg(e,t,n),la=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=lm,lm=0x1000000,lg(e,t,n),lm=r):lg(e,t,n));break;case 30:if(0!=(e.flags&lm)&&null!=(r=e.memoizedProps.name)&&"auto"!==r){var a=e.stateNode;a.paired=null,null===sA&&(sA=new Map),sA.set(r,a)}lg(e,t,n);break;default:lg(e,t,n)}}function l_(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function lv(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];sQ=r,lS(r,e)}l_(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)lb(e),e=e.sibling}function lb(e){switch(e.tag){case 0:case 11:case 15:lv(e),2048&e.flags&&s_(9,e,e.return);break;case 3:case 12:default:lv(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];sQ=a,lS(a,t)}l_(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:s_(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):lv(e)}}function lS(e,t){for(;null!==sQ;){var n=sQ;switch(n.tag){case 0:case 11:case 15:s_(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:ac(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,sQ=r;else for(n=e;null!==sQ;){var a=(r=sQ).sibling,o=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&e0(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){sQ=null;break}if(null!==a){a.return=o,sQ=a;break}sQ=o}}}var lE={getCacheForType:function(e){var t=an(al),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}
vendor: 8,792 bytes, line 494
494,cacheSignal:function(){return an(al).controller.signal}},lw="function"==typeof WeakMap?WeakMap:Map,lT=0,lk=null,lR=null,lx=0,lI=0,lC=null,lN=!1,lP=!1,lO=!1,lA=0,lM=0,lL=0,lD=0,lU=0,lj=0,lB=0,lF=null,l$=null,lz=!1,lH=0,lW=0,lq=1/0,lG=null,lV=null,lY=0,lJ=null,lX=null,lK=0,lQ=0,lZ=null,l0=null,l1=null,l2=null,l3=null,l5=0,l4=null;function l6(){return 0!=(2&lT)&&0!==lx?lx&-lx:null!==G.T?uG():eH()}function l8(){if(0===lj)if(0==(0x20000000&lx)||rq){var e=eN;0==(3932160&(eN<<=1))&&(eN=262144),lj=e}else lj=0x20000000;return null!==(e=a5.current)&&(e.flags|=32),lj}function l7(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=cC(rr(e.memoizedProps,n))),null===l2&&(l2=[]),l2.push(t.bind(null,r))}}function l9(e,t,n){(e===lk&&(2===lI||9===lI)||null!==e.cancelPendingCommit)&&(uo(e,0),un(e,lx,lj,!1)),eU(e,n),(0==(2&lT)||e!==lk)&&(e===lk&&(0==(2&lT)&&(lD|=n),4===lM&&un(e,lx,lj,!1)),uB(e))}function ue(e,t,n){if(0!=(6&lT))throw Error(l(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||eM(e,t),a=r?function(e,t){var n=lT;lT|=2;var r=ul(),a=uu();lk!==e||lx!==t?(lG=null,lq=ey()+500,uo(e,t)):lP=eM(e,t);t:for(;;)try{if(0!==lI&&null!==lR){t=lR;var o=lC;n:switch(lI){case 1:lI=0,lC=null,uh(e,t,o,1);break;case 2:case 9:if(ax(o)){lI=0,lC=null,uf(t);break}t=function(){2!==lI&&9!==lI||lk!==e||(lI=7),uB(e)},o.then(t,t);break t;case 3:lI=7;break t;case 4:lI=5;break t;case 7:ax(o)?(lI=0,lC=null,uf(t)):(lI=0,lC=null,uh(e,t,o,7));break;case 5:var i=null;switch(lR.tag){case 26:i=lR.memoizedState;case 5:case 27:var s=lR;if(i?dd(i):s.stateNode.complete){lI=0,lC=null;var u=s.sibling;if(null!==u)lR=u;else{var c=s.return;null!==c?(lR=c,um(c)):lR=null}break n}}lI=0,lC=null,uh(e,t,o,5);break;case 6:lI=0,lC=null,uh(e,t,o,6);break;case 8:ua(),lM=6;break t;default:throw Error(l(462))}}for(;null!==lR&&!em();)up(lR);break}catch(t){ui(e,t)}return(r5=r3=null,G.H=r,G.A=a,lT=n,null!==lR)?0:(lk=null,lx=0,rc(),lM)}(e,t):ud(e,t,!0),o=r;;){if(0===a)lP&&!r&&un(e,t,0,!1);else{if(n=e.current.alternate,o&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!nB(o(),a))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){a=ud(e,t,!1),o=!1;continue}if(2===a){if(o=t,e.errorRecoveryDisabledLanes&o)var i=0;else i=0!=(i=-0x20000001&e.pendingLanes)?i:0x20000000&i?0x20000000:0;if(0!==i){t=i;t:{a=lF;var s=e.current.memoizedState.isDehydrated;if(s&&(uo(e,i).flags|=256),2!==(i=ud(e,i,!1))){if(lO&&!s){e.errorRecoveryDisabledLanes|=o,lD|=o,a=4;break t}o=l$,l$=a,null!==o&&(null===l$?l$=o:l$.push.apply(l$,o))}a=i}if(o=!1,2!==a)continue}}if(1===a){uo(e,0),un(e,t,0,!0);break}t:{switch(r=e,o=a){case 0:case 1:throw Error(l(345));case 4:if((4194048&t)!==t&&(0x3c00000&t)!==t)break;case 6:un(r,t,lj,!lN);break t;case 2:l$=null;break;case 3:case 5:break;default:throw Error(l(329))}if((0x3c00000&t)===t&&10<(a=lH+300-ey())){if(un(r,t,lj,!lN),0!==eA(r,0,!0))break t;lK=t,r.timeoutHandle=ch(ut.bind(null,r,n,l$,lG,lz,t,lj,lD,lB,lN,o,"Throttled",-0,0),a);break t}ut(r,n,l$,lG,lz,t,lj,lD,lB,lN,o,null,-0,0)}}break}uB(e)}function ut(e,t,n,r,a,o,i,s,l,u,c,d,p,f){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,y=(0x13ffff00&o)===o;if(d=null,(y||8192&g||0x1002000==(0x1002000&g))&&(sA=null,ly(t,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tC}),y&&(g=d,null!=(y=(9===(y=e.containerInfo).nodeType?y:y.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=dg.bind(g),y.finished.then(g,g))),null!==(h=d,m=g=(0x3c00000&o)===o?lH-ey():(4194048&o)===o?lW-ey():0,h.stylesheets&&0===h.count&&dv(h,h.stylesheets),g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&dv(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===dh&&(dh=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var a=n[r],o=a.transferSize,i=a.initiatorType,s=a.duration;if(o&&s&&ci(i)){for(i=0,s=a.responseEnd,r+=1;r<n.length;r++){var l=n[r],u=l.startTime;if(u>s)break;var c=l.transferSize,d=l.initiatorType;c&&ci(d)&&(i+=c*((l=l.responseEnd)<s?1:(s-u)/(l-u)))}if(--r,t+=8*(o+i)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&dv(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>dh?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null))){lK=o,e.cancelPendingCommit=g(uy.bind(null,e,t,o,n,r,a,i,s,l,u,c,d,null,p,f)),un(e,o,i,!u);return}uy(e,t,o,n,r,a,i,s,l,u,c,d)}function un(e,t,n,r){t&=~lU,t&=~lD,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var a=t;0<a;){var o=31-eR(a),i=1<<o;r[o]=-1,a&=~i}0!==n&&ej(e,n,t)}function ur(){return 0!=(6&lT)||(uF(0,!1),!1)}function ua(){if(null!==lR){if(0===lI)var e=lR.return;else e=lR,r5=r3=null,oT(e),aA=null,aM=0,e=lR;for(;null!==e;)sg(e.alternate,e),e=e.return;lR=null}}function uo(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,cm(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),lK=0,ua(),lk=e,lR=n=rb(e.current,null),lx=t,lI=0,lC=null,lN=!1,lP=eM(e,t),lO=!1,lB=lj=lU=lD=lL=lM=0,l$=lF=null,lz=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var a=31-eR(r),o=1<<a;t|=e[a],r&=~o}return lA=t,rc(),n}function ui(e,t){oi=null,G.H=ik,t===aw||t===ak?(t=aP(),lI=3):t===aT?(t=aP(),lI=4):lI=t===iz?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,lC=t,null===lR&&(lM=1,iU(e,rI(t,e.current)))}function us(){var e=a5.current;return null===e||((4194048&lx)===lx?null===a4:((0x3c00000&lx)===lx||0!=(0x20000000&lx))&&e===a4)}function ul(){var e=G.H;return G.H=ik,null===e?ik:e}function uu(){var e=G.A;return G.A=lE,e}function uc(){lM=4,lN||(4194048&lx)!==lx&&null!==a5.current||(lP=!0),0==(0x7ffffff&lL)&&0==(0x7ffffff&lD)||null===lk||un(lk,lx,lj,!1)}function ud(e,t,n){var r=lT;lT|=2;var a=ul(),o=uu();(lk!==e||lx!==t)&&(lG=null,uo(e,t)),t=!1;var i=lM;t:for(;;)try{if(0!==lI&&null!==lR){var s=lR,l=lC;switch(lI){case 8:ua(),i=6;break t;case 3:case 2:case 9:case 6:null===a5.current&&(t=!0);var u=lI;if(lI=0,lC=null,uh(e,s,l,u),n&&lP){i=0;break t}break;default:u=lI,lI=0,lC=null,uh(e,s,l,u)}}(function(){for(;null!==lR;)up(lR)})(),i=lM;break}catch(t){ui(e,t)}return t&&e.shellSuspendCounter++,r5=r3=null,lT=r,G.H=a,G.A=o,null===lR&&(lk=null,lx=0,rc()),i}function up(e){var t=su(e.alternate,e,lA);e.memoizedProps=e.pendingProps,null===t?um(e):lR=t}function uf(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=i1(n,t,t.pendingProps,t.type,void 0,lx);break;case 11:t=i1(n,t,t.pendingProps,t.type.render,t.ref,lx);break;case 5:oT(t);var r=t;r===rH&&(rq?(rK(r),5===r.tag&&null!=r.stateNode&&(rW=r.stateNode)):(rK(r),rq=!0));default:sg(n,t),t=su(n,t=lR=rS(t,lA),lA)}e.memoizedProps=e.pendingProps,null===t?um(e):lR=t}function uh(e,t,n,r){r5=r3=null,oT(t),aA=null,aM=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&r9(t,n,a,!0),null!==(n=a5.current)){switch(n.tag){case 31:case 13:case 19:return null===a4?uc():null===n.alternate&&0===lM&&(lM=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===aR?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),uI(e,r,a)),!1;case 22:return n.flags|=65536,r===aR?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),uI(e,r,a)),!1}throw Error(l(435,n.tag))}return uI(e,r,a),uc(),!1}if(rq)return null!==(t=a5.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==rY&&r1(rI(e=Error(l(422),{cause:r}),n))):(r!==rY&&r1(rI(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=rI(r,n),a=iB(e.stateNode,r,a),aV(e,a),4!==lM&&(lM=2)),!1;var o=Error(l(520),{cause:r});if(o=rI(o,n),null===lF?lF=[o]:lF.push(o),4!==lM&&(lM=2),null===t)return!0;r=rI(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=iB(n.stateNode,r,e),aV(n,e),!1;case 1:if(t=n.type,o=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===lV||
494!lV.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,i$(a=iF(a),e,n,r),aV(n,a),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n)return!1}(e,a,t,n,lx)){lM=1,iU(e,rI(n,e.current)),lR=null;return}}catch(t){if(null!==a)throw lR=a,t;lM=1,iU(e,rI(n,e.current)),lR=null;return}32768&t.flags?(rq||1===r?e=!0:lP||0!=(0x20000000&lx)?e=!1:(lN=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=a5.current)&&13===r.tag&&(r.flags|=16384)),ug(t,e)):um(t)}function um(e){var t=e;do{if(0!=(32768&t.flags))return void ug(t,lN);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(r$(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return sm(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),r6(al),eo(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rQ(t)?sc(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,r0())),sm(t),null;case 26:var a=t.type,o=t.memoizedState;return null===e?(sc(t),null!==o?(sm(t),sp(t,o)):(sm(t),sd(t,a,null,r,n))):o?o!==e.memoizedState?(sc(t),sm(t),sp(t,o)):(sm(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&sc(t),sm(t),sd(t,a,e,r,n)),null;case 27:if(es(t),n=en.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sc(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return sm(t),t.subtreeFlags&=-0x2000001,null}e=ee.current,rQ(t)?rX(t,e):(t.stateNode=e=cQ(a,r,n),sc(t))}return sm(t),t.subtreeFlags&=-0x2000001,null;case 5:if(es(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sc(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return sm(t),t.subtreeFlags&=-0x2000001,null}if(o=ee.current,rQ(t))rX(t,o);else{var i=cu(en.current);switch(o){case 1:o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(o=i.createElement("div")).innerHTML="<script></script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?i.createElement(a,{is:r.is}):i.createElement(a)}}o[eG]=t,o[eV]=r;t:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)o.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=o,co(o,a,r),a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&sc(t)}}return sm(t),t.subtreeFlags&=-0x2000001,sd(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&sc(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=en.current,rQ(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=rH))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[eG]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||cn(e.nodeValue,n)))||rJ(t,!0)}else(e=cu(e).createTextNode(r))[eG]=t,t.stateNode=e}return sm(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rQ(t),null!==n){if(null===e){if(!r)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eG]=t}else rZ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;sm(t),e=!1}else n=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return oe(t),t;return oe(t),null}if(0!=(128&t.flags))throw Error(l(558))}return sm(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=rQ(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(l(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(l(317));a[eG]=t}else rZ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;sm(t),a=!1}else a=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return oe(t),t;return oe(t),null}}if(oe(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,a=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),sf(t,t.updateQueue),sm(t),null;case 4:return eo(),null===e&&u2(t.stateNode.containerInfo),t.flags|=0x4000000,sm(t),null;case 10:return r6(t.type),sm(t),null;case 19:if(or(t),null===(r=t.memoizedState))return sm(t),null;if(a=0!=(128&t.flags),null===(o=r.rendering))if(a)sh(r,!1);else{if(0!==lM||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=oa(e))){for(t.flags|=128,sh(r,!1),t.updateQueue=e=o.updateQueue,sf(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)rS(n,e),n=n.sibling;return on(t,1&ot.current|2),rq&&rj(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ey()>lq&&(t.flags|=128,a=!0,sh(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=oa(o))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,sf(t,e),sh(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!o.alternate&&!rq)return sm(t),null}else 2*ey()-r.renderingStartTime>lq&&0x20000000!==n&&(t.flags|=128,a=!0,sh(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o
494)}if(null!==r.tail){e=r.tail;t:{for(n=e;null!==n;){if(null!==n.alternate){n=!1;break t}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ey(),e.sibling=null,o=ot.current,o=a?1&o|2:1&o,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||rq?on(t,o):(n=o,Z(a5,t),Z(ot,n),null===a4&&(a4=t)),rq&&rj(t,r.treeForkCount),e}return sm(t),null;case 22:case 23:return oe(t),a3(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(sm(t),6&t.subtreeFlags&&(t.flags|=8192)):sm(t),null!==(n=t.updateQueue)&&sf(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&Q(av),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r6(al),sm(t),null;case 25:return null;case 30:return t.flags|=0x2000000,sm(t),null}throw Error(l(156,t.tag))}(t.alternate,t,lA);if(null!==n){lR=n;return}if(null!==(t=t.sibling)){lR=t;return}lR=t=e}while(null!==t)0===lM&&(lM=5)}function ug(e,t){do{var n=function(e,t){switch(r$(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return r6(al),eo(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return es(t),null;case 31:if(null!==t.memoizedState){if(oe(t),null===t.alternate)throw Error(l(340));rZ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(oe(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));rZ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return or(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return eo(),null;case 10:return r6(t.type),null;case 22:case 23:return oe(t),a3(),null!==e&&Q(av),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return r6(al),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,lR=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){lR=e;return}lR=e=n}while(null!==e)lM=6,lR=null}function uy(e,t,n,r,a,o,i,s,u,c,d,p){e.cancelPendingCommit=null;do uT();while(0!==lY)if(0!=(6&lT))throw Error(l(327));if(null!==t){if(t===e.current)throw Error(l(177));e===lk&&(lR=lk=null,lx=0),lX=t,lJ=e,lK=n,lZ=a,l0=r,function(e,t,n,r,a,o,i){var s,l=t.lanes|t.childLanes;if(lQ=l,!function(e,t,n,r,a,o){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-eR(n),d=1<<c;s[c]=0,l[c]=-1;var p=u[c];if(null!==p)for(u[c]=null,c=0;c<p.length;c++){var f=p[c];null!==f&&(f.lane&=-0x20000001)}n&=~d}0!==r&&ej(e,r,0),0!==o&&0===a&&0!==e.tag&&(e.suspendedLanes|=o&~(i&~t))}(e,n,l|=ru,r,a,o),l2=null,(0x13ffff00&n)===n?(s=e.transitionTypes,e.transitionTypes=null,l3=s,r=10262):(l3=null,r=10256),0!=(t.subtreeFlags&r)||0!=(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,ef(eS,function(){return uk(),null})):(e.callbackNode=null,e.callbackPriority=0),sO=!1,r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=G.T,G.T=null,a=V.p,V.p=2,o=lT,lT|=4;try{!function(e,t,n){if(e=e.containerInfo,cs=dC,nW(e=nH(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else t:{var a=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(a&&0!==a.rangeCount){r=a.anchorNode;var o,i=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{r.nodeType,s.nodeType}catch(e){r=null;break t}var l=0,u=-1,c=-1,d=0,p=0,f=e,h=null;n:for(;;){for(;f!==r||0!==i&&3!==f.nodeType||(u=l+i),f!==s||0!==a&&3!==f.nodeType||(c=l+a),3===f.nodeType&&(l+=f.nodeValue.length),null!==(o=f.firstChild);)h=f,f=o;for(;;){if(f===e)break n;if(h===r&&++d===i&&(u=l),h===s&&++p===a&&(c=l),null!==(o=f.nextSibling))break;h=(f=h).parentNode}f=o}r=-1===u||-1===c?null:{start:u,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(cl={focusedElem:e,selectionRange:r},dC=!1,n=(0x13ffff00&n)===n,sQ=t,t=n?9270:1028;null!==sQ;){if(e=sQ,n&&null!==(r=e.deletions))for(i=0;i<r.length;i++)n&&sH(r[i]);if(null===e.alternate&&0!=(2&e.flags))n&&sM(e),s3(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&sH(r),s3(n);continue}else if(null!==r&&null!==r.memoizedState){n&&sM(e),s3(n);continue}}r=e.child,0!=(e.subtreeFlags&t)&&null!==r?(r.return=e,sQ=r):(n&&function e(t){for(t=t.child;null!==t;){if(30===t.tag){var n=t.memoizedProps,r=rr(n,t.stateNode);n=ro(n.default,n.update),t.flags&=-5,"none"!==n&&sj(t,r,n,t.memoizedState=[],!1)}else 0!=(0x2000000&t.subtreeFlags)&&e(t);t=t.sibling}}(e),s3(n))}}
494sA=null}(e,t,n)}finally{lT=o,V.p=a,G.T=r}}lY=1,sO?l1=function(e,t,n,r,a,o,i,s,l){var u=9===t.nodeType?t:t.ownerDocument;try{var c=u.startViewTransition({update:function(){var t=u.defaultView,n=t.navigation&&t.navigation.transition,i=u.fonts.status;r();var s=[];if("loaded"===i&&(u.documentElement.clientHeight,"loading"===u.fonts.status&&s.push(u.fonts.ready)),i=s.length,null!==e)for(var l=e.suspenseyImages,c=0,d=0;d<l.length;d++){var p=l[d];if(!p.complete){var f=p.getBoundingClientRect();if(0<f.bottom&&0<f.right&&f.top<t.innerHeight&&f.left<t.innerWidth){if((c+=dp(p))>dh){s.length=i;break}p=new Promise(cx.bind(p)),s.push(p)}}}return 0<s.length?(t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(a,a),(n?Promise.allSettled([n.finished,t]):t).then(o,o)):(a(),n)?n.finished.then(o,o):void o()},types:n});u.__reactViewTransition=c;var d=[];return c.ready.then(function(){for(var e=u.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,a=r.pseudoElement;if(null!=a&&a.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var o=a=void 0,s=!0,l=0;l<n.length;l++){var c=n[l],p=c.width;if(void 0===a)a=p;else if(a!==p){s=!1;break}if(p=c.height,void 0===o)o=p;else if(o!==p){s=!1;break}delete c.width,delete c.height,"none"===c.transform&&delete c.transform}s&&void 0!==a&&void 0!==o&&(r.setKeyframes(n),(s=getComputedStyle(r.target,r.pseudoElement)).width!==a||s.height!==o)&&((s=n[0]).width=a,s.height=o,(s=n[n.length-1]).width=a,s.height=o,r.setKeyframes(n))}}i()},function(e){u.__reactViewTransition===c&&(u.__reactViewTransition=null);try{"object"==typeof e&&null!==e&&"InvalidStateError"===e.name&&("View transition was skipped because document visibility state is hidden."===e.message||"Skipping view transition because document visibility state has become hidden."===e.message||"Skipping view transition because viewport size changed."===e.message||"Transition was aborted because of invalid state"===e.message)&&(e=null),null!==e&&l(e)}finally{r(),a(),i()}}),c.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();u.__reactViewTransition===c&&(u.__reactViewTransition=null),s()}),c}catch(e){return r(),a(),i(),null}}(i,e.containerInfo,l3,ub,uS,uv,uE,uk,u_):(ub(),uS(),uE())}(e,t,n,i,s,u,p)}}function u_(e){0!==lY&&(0,lJ.onRecoverableError)(e,{componentStack:null})}function uv(){3===lY&&(lY=0,ll(lX,lJ),lY=4)}function ub(){if(1===lY){lY=0;var e=lJ,t=lX,n=lK,r=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||r){r=G.T,G.T=null;var a=V.p;V.p=2;var o=lT;lT|=4;try{s0=s1=!1,lo(t,e,n),n=cl;var i=nH(e.containerInfo),s=n.focusedElem,l=n.selectionRange;if(i!==s&&s&&s.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(s.ownerDocument.documentElement,s)){if(null!==l&&nW(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var d=s.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var f=p.getSelection(),h=s.textContent.length,m=Math.min(l.start,h),g=void 0===l.end?m:Math.min(l.end,h);!f.extend&&m>g&&(i=g,g=m,m=i);var y=nz(s,m),_=nz(s,g);if(y&&_&&(1!==f.rangeCount||f.anchorNode!==y.node||f.anchorOffset!==y.offset||f.focusNode!==_.node||f.focusOffset!==_.offset)){var v=d.createRange();v.setStart(y.node,y.offset),f.removeAllRanges(),m>g?(f.addRange(v),f.extend(_.node,_.offset)):(v.setEnd(_.node,_.offset),f.addRange(v))}}}}for(d=[],f=s;f=f.parentNode;)1===f.nodeType&&d.push({element:f,left:f.scrollLeft,top:f.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}dC=!!cs,cl=cs=null}finally{lT=o,V.p=a,G.T=r}}e.current=t,lY=2}}function uS(){if(2===lY){lY=0;var e=lJ,t=lX,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=G.T,G.T=null;var r=V.p;V.p=2;var a=lT;lT|=4;try{s5(e,t.alternate,t)}finally{lT=a,V.p=r,G.T=n}}lY=3}}function uE(){if(4===lY||3===lY){lY=0;var e=l1;l1=null,eg();var t=lJ,n=lX,r=lK,a=l0,o=(0x13ffff00&r)===r?10262:10256;if(0!=(n.subtreeFlags&o)||0!=(n.flags&o)?lY=5:(lY=0,lX=lJ=null,uw(t,t.pendingLanes)),0===(o=t.pendingLanes)&&(lV=null),ez(r),n=n.stateNode,ek&&"function"==typeof ek.onCommitFiberRoot)try{ek.onCommitFiberRoot(eT,n,void 0,128==(128&n.current.flags))}catch(e){}if(null!==a){n=G.T,o=V.p,V.p=2,G.T=null;try{for(var i=t.onRecoverableError,s=0;s<a.length;s++){var l=a[s];i(l.value,{componentStack:l.stack})}}finally{G.T=n,V.p=o}}if(a=l2,i=l3,l3=null,null!==a&&(l2=null,null===i&&(i=[]),null!==e))for(l=0;l<a.length;l++)void 0!==(n=(0,a[l])(i))&&e.finished.finally(n);0!=(3&lK)&&uT(),uB(t),o=t.pendingLanes,0!=(261930&r)&&0!=(42&o)?t===l4?l5++:(l5=0,l4=t):l5=0,uF(0,!1)}}function uw(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,ac(t))}function uT(){return null!==l1&&(l1.skipTransition(),l1=null),ub(),uS(),uE(),uk()}function uk(){if(5!==lY)return!1;var e=lJ,t=lQ;lQ=0;var n=ez(lK),r=G.T,a=V.p;try{V.p=32>n?32:n,G.T=null,n=lZ,lZ=null;var o=lJ,i=lK;if(lY=0,lX=lJ=null,lK=0,0!=(6&lT))throw Error(l(331));var s=lT;if(lT|=4,lb(o.current),lf(o,o.current,i,n),lT=s,uF(0,!1),ek&&"function"==typeof ek.onPostCommitFiberRoot)try{ek.onPostCommitFiberRoot(eT,o)}catch(e){}return!0}finally{V.p=a,G.T=r,uw(e,t)}}function uR(e,t,n){t=rI(n,t),t=iB(e.stateNode,t,2),null!==(e=aq(e,t,2))&&(eU(e,2),uB(e))}function ux(e,t,n){if(3===e.tag)uR(e,e,n);else for(;null!==t;){if(3===t.tag){uR(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===lV||
vendor: 4,158 bytes, line 494
494!lV.has(r))){e=rI(n,e),null!==(r=aq(t,n=iF(2),2))&&(i$(n,r,t,e),eU(r,2),uB(r));break}}t=t.return}}function uI(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new lw;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(lO=!0,a.add(n),e=uC.bind(null,e,t,n),t.then(e,e))}function uC(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lk===e&&(lx&n)===n&&(4===lM||3===lM&&(0x3c00000&lx)===lx&&300>ey()-lH?0==(2&lT)&&uo(e,0):lU|=n,lB===lx&&(lB=0)),uB(e)}function uN(e,t){0===t&&(t=eL()),null!==(e=rf(e,t))&&(eU(e,t),uB(e))}function uP(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),uN(e,n)}function uO(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),uN(e,n)}var uA=null,uM=null,uL=!1,uD=!1,uU=!1,uj=0;function uB(e){e!==uM&&null===e.next&&(null===uM?uA=uM=e:uM=uM.next=e),uD=!0,uL||(uL=!0,cy(function(){0!=(6&lT)?ef(ev,u$):uz()}))}function uF(e,t){if(!uU&&uD){uU=!0;do for(var n=!1,r=uA;null!==r;){if(!t)if(0!==e){var a=r.pendingLanes;if(0===a)var o=0;else{var i=r.suspendedLanes,s=r.pingedLanes;o=0xc000095&(o=(1<<31-eR(42|e)+1)-1&(a&~(i&~s)))?0xc000095&o|1:o?2|o:0}0!==o&&(n=!0,uq(r,o))}else o=lx,0==(3&(o=eA(r,r===lk?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eM(r,o)||(n=!0,uq(r,o));r=r.next}while(n)uU=!1}}function u$(){uz()}function uz(){uD=uL=!1;var e,t=0;0===uj||((e=window.event)&&"popstate"===e.type?e===cf||(cf=e,0):(cf=null,1))||(t=uj);for(var n=ey(),r=null,a=uA;null!==a;){var o=a.next,i=uH(a,n);0===i?(a.next=null,null===r?uA=o:r.next=o,null===o&&(uM=r)):(r=a,(0!==t||0!=(3&i))&&(uD=!0)),a=o}0!==lY&&5!==lY||uF(t,!1),0!==uj&&(uj=0)}function uH(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=-0x3c00001&e.pendingLanes;0<o;){var i=31-eR(o),s=1<<i,l=a[i];-1===l?(0==(s&n)||0!=(s&r))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(t=lk,n=lx,n=eA(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===lI||9===lI)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&eh(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||eM(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&eh(r),ez(n)){case 2:case 8:n=eb;break;case 32:default:n=eS;break;case 0x10000000:n=ew}return n=ef(n,r=uW.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&eh(r),e.callbackPriority=2,e.callbackNode=null,2}function uW(e,t){if(0!==lY&&5!==lY)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(uT()&&e.callbackNode!==n)return null;var r=lx;return 0===(r=eA(e,e===lk?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(ue(e,r,t),uH(e,ey()),null!=e.callbackNode&&e.callbackNode===n?uW.bind(null,e):null)}function uq(e,t){if(uT())return null;ue(e,t,!0)}function uG(){if(0===uj){var e=am;0===e&&(e=eC,0==(261888&(eC<<=1))&&(eC=256)),uj=e}return uj}function uV(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tI(e)}for(var uY=0;uY<re.length;uY++){var uJ=re[uY];rt(uJ.toLowerCase(),"on"+(uJ[0].toUpperCase()+uJ.slice(1)))}rt(n2,"onAnimationEnd"),rt(n3,"onAnimationIteration"),rt(n5,"onAnimationStart"),rt("dblclick","onDoubleClick"),rt("focusin","onFocus"),rt("focusout","onBlur"),rt(n4,"onTransitionRun"),rt(n6,"onTransitionStart"),rt(n8,"onTransitionCancel"),rt(n7,"onTransitionEnd"),e9("onMouseEnter",["mouseout","mouseover"]),e9("onMouseLeave",["mouseout","mouseover"]),e9("onPointerEnter",["pointerout","pointerover"]),e9("onPointerLeave",["pointerout","pointerover"]),e7("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),e7("onSelect","focusout contextmenu dragend focu
494sin keydown keyup mousedown mouseup selectionchange".split(" ")),e7("onBeforeInput",["compositionend","keypress","textInput","paste"]),e7("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uX="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),uK=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(uX));function uQ(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;t:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break t;o=s,a.currentTarget=u;try{o(a)}catch(e){ri(e)}a.currentTarget=null,o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,u=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break t;o=s,a.currentTarget=u;try{o(a)}catch(e){ri(e)}a.currentTarget=null,o=l}}}}function uZ(e,t){var n=t[eJ];void 0===n&&(n=t[eJ]=new Set);var r=e+"__bubble";n.has(r)||(u3(t,e,2,!1),n.add(r))}function u0(e,t,n){var r=0;t&&(r|=4),u3(n,e,r,t)}var u1="_reactListening"+Math.random().toString(36).slice(2);function u2(e){if(!e[u1]){e[u1]=!0,e6.forEach(function(t){"selectionchange"!==t&&(uK.has(t)||u0(t,!1,e),u0(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[u1]||(t[u1]=!0,u0("selectionchange",!1,t))}}function u3(e,t,n,r){switch(dD(t)){case 2:var a=dN;break;case 8:a=dP;break;default:a=dO}n=a.bind(null,t,n,e),a=void 0,tB&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function u5(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)t:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&i.stateNode.containerInfo===a)return;i=i.return}for(;null!==s;){if(null===(i=e1(s)))return;if(5===(l=i.tag)||6===l||26===l||27===l){r=o=i;continue t}s=s.parentNode}}r=r.return}tD(function(){var r=o,a=tP(n),i=[];t:{var s=n9.get(e);if(void 0!==s){var l=t1,u=e;switch(e){case"keypress":if(0===tq(n))break t;case"keydown":case"keyup":l=ni;break;case"focusin":u="focus",l=t8;break;case"focusout":u="blur",l=t8;break;case"beforeblur":case"afterblur":l=t8;break;case"click":if(2===n.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=t4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=t6;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=nu;break;case n2:case n3:case n5:l=t7;break;case n7:l=nc;break;case"scroll":case"scrollend":l=t3;break;case"wheel":l=nd;break;case"copy":case"cut":case"paste":l=t9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=ns;break;case"submit":l=nl;break;case"toggle":case"beforetoggle":l=np}var d=0!=(4&t),p=!d&&("scroll"===e||"scrollend"===e),f=d?null!==s?s+"Capture":null:s;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===f||null!=(g=tU(m,f))&&d.push(u4(m,g,h)),p)break;m=m.return}0<d.length&&(s=new l(s,u,null,n,a),i.push({event:s,listeners:d}))}}if(0==(7&t)){l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&n!==tN&&(u=n.relatedTarget||n.fromElement)&&(e1(u)||u[eY]))&&(s||l)&&(u=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(l=n.relatedTarget||n.toElement,s=r,null!==(l=l?e1(l):null)&&(p=c(l),d=l.tag,l!==p||5!==d&&27!==d&&6!==d)&&(l=null)):(s=null,l=r),s!==l&&(d=t4,g="onMouseLeave",f="onMouseEnter",m="mou
494se",("pointerout"===e||"pointerover"===e)&&(d=ns,g="onPointerLeave",f="onPointerEnter",m="pointer"),p=null==s?u:e3(s),h=null==l?u:e3(l),(u=new d(g,m+"leave",s,n,a)).target=p,u.relatedTarget=h,g=null,e1(a)===r&&((d=new d(f,m+"enter",l,n,a)).target=h,d.relatedTarget=p,g=d),p=g,d=s&&l?w(s,l,u8):null,null!==s&&u7(i,u,s,d,!1),null!==l&&null!==p&&u7(i,p,l,d,!0)));t:{if("select"===(l=(s=r?e3(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var y,_=nC;else if(nw(s))if(nN)_=nj;else{_=nD;var v=nL}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)?_=nU:r&&tk(r.elementType)&&(_=nC);if(_&&(_=_(e,r))){nT(i,_,n,a);break t}v&&v(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&ty(s,"number",s.value)}switch(v=r?e3(r):window,e){case"focusin":(nw(v)||"true"===v.contentEditable)&&(nG=v,nV=r,nY=null);break;case"focusout":nY=nV=nG=null;break;case"mousedown":nJ=!0;break;case"contextmenu":case"mouseup":case"dragend":nJ=!1,nX(i,n,a);break;case"selectionchange":if(nq)break;case"keydown":case"keyup":nX(i,n,a)}if(nh)n:{switch(e){case"compositionstart":var b="onCompositionStart";break n;case"compositionend":b="onCompositionEnd";break n;case"compositionupdate":b="onCompositionUpdate";break n}b=void 0}else nS?nv(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(ny&&"ko"!==n.locale&&(nS||"onCompositionStart"!==b?"onCompositionEnd"===b&&nS&&(y=tW()):(tz="value"in(t$=a)?t$.value:t$.textContent,nS=!0)),0<(v=u6(r,b)).length&&(b=new ne(b,e,null,n,a),i.push({event:b,listeners:v}),y?b.data=y:null!==(y=nb(n))&&(b.data=y))),(y=ng?function(e,t){switch(e){case"compositionend":return nb(t);case"keypress":if(32!==t.which)return null;return n_=!0," ";case"textInput":return" "===(e=t.data)&&n_?null:e;default:return null}}(e,n):function(e,t){if(nS)return"compositionend"===e||!nh&&nv(e,t)?(e=tW(),tH=tz=t$=null,nS=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ny&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(b=u6(r,"onBeforeInput")).length&&(v=new ne("onBeforeInput","beforeinput",null,n,a),i.push({event:v,listeners:b}),v.data=y);var S=e;if("submit"===S&&r&&r.stateNode===a){var E=uV((a[eV]||null).action),T=n.submitter;T&&null!==(S=(S=T[eV]||null)?uV(S.formAction):T.getAttribute("formAction"))&&(E=S,T=null);var k=new t1("action","action",null,n,a);i.push({event:k,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==uj){var e=new FormData(a,T);ic(r,{pending:!0,data:e,method:a.method,action:E},null,e)}}else"function"==typeof E&&(k.preventDefault(),ic(r,{pending:!0,data:e=new FormData(a,T),method:a.method,action:E},E,e))},currentTarget:a}]})}}uQ(i,t)})}function u4(e,t,n){return{instance:e,listener:t,currentTarget:n}}function u6(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===o||(null!=(a=tU(e,n))&&r.unshift(u4(e,a,o)),null!=(a=tU(e,t))&&r.push(u4(e,a,o))),3===e.tag)return r;e=e.return}return[]}function u8(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag)return e||null}function u7(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,a?null!=(u=tU(n,o))&&i.unshift(u4(n,u,l)):a||null!=(u=tU(n,o))&&i.push(u4(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var u9=/\r\n?/g,ce=/\u0000|\uFFFD/g;function ct(e){return("string"==typeof e?e:""+e).replace(u9,"\n").replace(ce,"")}function cn(e,t){return t=ct(t),ct(e)===t}function cr(e,t,n,r,a,o){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||tS(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&tS(e,""+r)}break;case"className":ti(e,"class",r);break;case"tabIndex":ti(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":ti(e,n,r);break;case"style":tT(e,r,o);return;case"data":if("object"!==t){ti(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tI(r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==t&&cr(e,t,"name",a.name,a,null),
494cr(e,t,"formEncType",a.formEncType,a,null),cr(e,t,"formMethod",a.formMethod,a,null),cr(e,t,"formTarget",a.formTarget,a,null)):(cr(e,t,"encType",a.encType,a,null),cr(e,t,"method",a.method,a,null),cr(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tI(r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=tC);return;case"onScroll":null!=r&&uZ("scroll",e);return;case"onScrollEnd":null!=r&&uZ("scrollend",e);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tI(r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":uZ("beforetoggle",e),uZ("toggle",e),to(e,"popover",r);break;case"xlinkActuate":ts(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":ts(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":ts(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":ts(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":ts(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":ts(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":ts(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":ts(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":ts(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":to(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;to(e,n=tR.get(n)||n,r)}tr=!0}function ca(e,t,n,r,a,o){switch(n){case"style":tT(e,r,o);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"children":if("string"==typeof r)tS(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;tS(e,""+r)}break;case"onScroll":null!=r&&uZ("scroll",e);return;case"onScrollEnd":null!=r&&uZ("scrollend",e);return;case"onClick":null!=r&&(e.onclick=tC);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:if(!e8.hasOwnProperty(n))t:{if("o"===n[0]&&"n"===n[1]&&(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(o=null!=(o=e[eV]||null)?o[n]:null)&&e.removeEventListener(t,o,a),"function"==typeof r)){"function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break t}tr=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):to(e,n,r)}return}tr=!0}function co(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":uZ("error",e),uZ("load",e);var r,a=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)switch(r){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:cr(e,t,r,i,n,null)}}o&&cr(e,t,"srcSet",n.srcSet,n,null),a&&cr(e,t,"src",n.src,n,null);return;case"input":uZ("invalid",e);var s=r=i=o=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":o=d;break;case"type":i=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:cr(e,t,a,d,n,null)}}tg(e,r,s,u,c,i,o,!1);return;case"select":for(o in uZ("invalid",e),a=i=r=null,n)if(n.hasOwnProperty(o)&&null!=(s=n[o]))switch(o){case"value":r=s;break;case"defaultValue":i=s;break;case"multiple":a=s;default:cr(e,t,o,s,n,null)}t=r,n=i,e.multiple=!!a,null!=t?t_(e,!!a,t,!1):null!=n&&t_(e,!!a,n,!0);return;case"textarea":for(i in uZ("invalid",e),r=o=a=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":a=s;break;case"defaultValue":o=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(l(91));break;default:cr(e,t,i,s,n,null)}tb(e,a,o,r);return;case"option":for(u in n)n.hasOwnProperty(u)&&null!=(a=n[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:cr(e,t,u,a,n,null));return;case"dialog":uZ("beforetoggle",e),uZ("toggle",e),uZ("cancel",e),uZ("close",e);break;case"iframe":case"object":uZ("load",e);break;case"video":case"audio":for(a=0;a<uX.length;a++)uZ(uX[a],e);break;case"image":uZ("error",e),uZ("load",e);break;case"details":uZ("toggle",e);break;case"embed":case"source":case"link":uZ("error",e),uZ("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:cr(e,t,c,a,n,null)}return;default:if(tk(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&ca(e,t,d,a,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(a=n[s])&&cr(e,t,s,a,n,null)}function ci(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var cs=null,cl=null;
494function cu(e){return 9===e.nodeType?e:e.ownerDocument}function cc(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function cp(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var cf=null,ch="function"==typeof setTimeout?setTimeout:void 0,cm="function"==typeof clearTimeout?clearTimeout:void 0,cg="function"==typeof Promise?Promise:void 0,cy="function"==typeof queueMicrotask?queueMicrotask:void 0!==cg?function(e){return cg.resolve(null).then(e).catch(c_)}:ch;function c_(e){setTimeout(function(){throw e})}function cv(e){return"head"===e}function cb(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)||"/&"===n){if(0===r){e.removeChild(a),d0(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)cZ(e.ownerDocument.documentElement);else if("head"===n){cZ(n=e.ownerDocument.head);for(var o=n.firstChild;o;){var i=o.nextSibling,s=o.nodeName;o[eZ]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=i}}else"body"===n&&cZ(e.ownerDocument.body);n=a}while(n)d0(t)}function cS(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function cE(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var a=r=0;a<t.length;a++){var o=t[a];0<o.width&&0<o.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function cw(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function cT(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function ck(e){return cT(e.getBoundingClientRect(),getComputedStyle(e),e)}function cR(e){var t=e.getBoundingClientRect();return cT(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function cx(e){this.addEventListener("load",e),this.addEventListener("error",e)}function cI(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function cC(e){return{name:e,group:new cI("group",e),imagePair:new cI("image-pair",e),old:new cI("old",e),new:new cI("new",e)}}function cN(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function cP(e,t,n,r){return g(e).addEventListener(t,n,r),!1}function cO(e,t,n,r){return g(e).removeEventListener(t,n,r),!1}function cA(e){return null==e?"0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")+"&o="+(e.once?"1":"0")+"&p="+(e.passive?"1":"0")}function cM(e,t,n,r){if(0===e.length)return -1;r=cA(r);for(var a=0;a<e.length;a++){var o=e[a];if(o.type===t&&o.listener===n&&cA(o.optionsOrUseCapture)===r)return a}return -1}function cL(e,t){return 6!==e.tag&&function(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focu
vendor: 16,015 bytes, line 494
494s).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return r}(e=g(e),t)}function cD(e,t){return t.push(e),!1}function cU(e,t){return 6!==e.tag&&(e=g(e))===t&&(e.blur(),!0)}function cj(e,t){return 6!==e.tag&&(e=g(e),t.observe(e),!1)}function cB(e,t){return 6!==e.tag&&(e=g(e),t.unobserve(e),!1)}function cF(e,t){if(6===e.tag){var n=(e=e.stateNode).ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=g(e),t.push.apply(t,e.getClientRects());return!1}function c$(e,t){return null!=(e=g(e))&&cz(e,t),!1}function cz(e,t){null==e.reactFragments&&(e.reactFragments=new Set),e.reactFragments.add(t)}function cH(e,t){if(3!==e.nodeType){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];e.addEventListener(a.type,a.listener,a.optionsOrUseCapture)}null!==t._observers&&t._observers.forEach(function(t){t.observe(e)}),cz(e,t)}}function cW(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":cW(n),e0(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function cq(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=cY(e.nextSibling)))return null;return e}function cG(e){return"$?"===e.data||"$~"===e.data}function cV(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function cY(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}cI.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:T({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},cI.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],a=0;a<n.length;a++){var o=n[a].effect;null!==o&&o.target===e&&o.pseudoElement===t&&r.push(n[a])}return r},cI.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},cN.prototype.addEventListener=function(e,t,n){null===this._eventListeners&&(this._eventListeners=[]);var r=this._eventListeners;-1===cM(r,e,t,n)&&(r.push({type:e,listener:t,optionsOrUseCapture:n}),h(this._fragmentFiber.child,!1,cP,e,t,n)),this._eventListeners=r},cN.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;null!=r&&0<r.length&&(h(this._fragmentFiber.child,!1,cO,e,t,n),e=cM(r,e,t,n),null!==this._eventListeners&&this._eventListeners.splice(e,1))},cN.prototype.dispatchEvent=function(e){var t=m(this._fragmentFiber);if(null===t)return!0;t=g(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=document.createTextNode("");if(n)for(var a=0;a<n.length;a++){var o=n[a];r.addEventListener(o.type,o.listener,o.optionsOrUseCapture)}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(a=0;a<n.length;a++)o=n[a],r.removeEventListener(o.type,o.listener,o.optionsOrUseCapture);return t.removeChild(r),e}return t.dispatchEvent(e)},cN.prototype.focus=function(e){h(this._fragmentFiber.child,!0,cL,e,void 0,void 0)},cN.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,cD,t,void 0,void 0);for(var n=t.length-1;0<=n&&!cL(t[n],e);n--);},cN.prototype.blur=function(){var e=m(this._fragmentFiber);if(null!==e){var t=(e=g(e)).ownerDocument.activeElement;null!==t&&e.contains(t)&&h(this._fragmentFiber.child,!1,cU,t,void 0,void 0)}},cN.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,cj,e,void 0,void 0)},cN.prototype.unobserveUsing=function(e){var t=this._observers;null!==t&&t.has(e)&&(t.delete(e),h(this._fragmentFiber.child,!1,cB,e,void 0,void 0))},cN.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,cF,e,void 0,void 0),e},cN.prototype.getRootNode=function(e){var t=m(this._fragmentFiber);return null===t?this:g(t).getRootNode(e)},cN.prototype.compareDocumentPosition=function(e){var t=m(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,cD,n,void 0,void 0);var r=g(t);if(0===n.length){n=this._fragmentFiber;var a=r.compareDocumentPosition(e);return t=a,r===e?t=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(h(n.sibling,!1,v),n=y,y=null,t=null===n?Node.DOCUMENT_POSITION_PRECEDING:0===(e=g(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),t|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=g(n[0]),a=g(n[n.length-1]);for(var o=!1,i=this._fragmentFiber.return;null!==i&&(4===i.tag&&(o=!0),3!==i.tag&&5!==i.tag);)i=i.return;if(null==(o=o?t.parentElement:r))return Node.DOCUMENT_POSITION_DISCONNECTED;r=o.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,o=o.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=t.compareDocumentPosition(e);var s=a.compareDocumentPosition(e),l=i&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&o&&i&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||o&&a===e||l||s?Node.DOCUMENT_POSITION_CONTAINED_BY:(r||t!==e)&&(o||a!==e)?i:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,a){var o=e1(a);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!o)t:{for(;null!==o;){if(7===o.tag&&(o===t||o.alternate===t)){n=!0;break t}o=o.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===o)return o=a.ownerDocument,a===o||a===o.body;t:{for(o=t,t=m(t);null!==o;){if((5===o.tag||3===o.tag)&&(o===t||o.alternate===t)){o=!0;break t}o=o.return}o=!1}return o}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!o)&&!(t=o===n)&&(null===(t=w(n,o,E))?t=!1:(h(t,!0,b,o,n),o=y,y=null,t=null!==o)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!o)&&!(t=o===r)&&(null===(t=w(r,o,E))?t=!1:(h(t,!0,S,o,r),o=y,_=y=null,t=null!==o)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},cN.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(l(566));var t=[];h(this._fragmentFiber.child,!1,cD,t,void 0,void 0);var n=!1!==e;if(0===t.length){t=this._fragmentFiber;var r=[null,null],a=m(t);null!==a&&function e(t,n,r){for(var a=3<arguments.length&&void 0!==arguments[3]&&arguments[3];null!==r;){if(r===n)if(a=!0,!r.sibling)return!0;else r=r.sibling;if(5===r.tag){if(a)return t[1]=r,!0;t[0]=r}else if((22!==r.tag||null===r.memoizedState)&&e(t,n,r.child,a))return!0;r=r.sibling}return!1}(r,t,a.child),null!==(n=n?r[1]||r[0]||m(this._fragmentFiber):r[0]||r[1])&&g(n).scrollIntoView(e)}else for(r=n?t.length-1:0;r!==(n?-1:t.length);){if(6===(a=t[r]).tag){var o=(a=a.stateNode).ownerDocument.createRange();o.selectNodeContents(a),a=o.getBoundingClientRect(),window.scrollTo(window.scrollX+a.left,n?window.scrollY+a.top:window.scrollY+a.bottom-window.innerHeight)}else g(a).scrollIntoView(e);r+=n?-1:1}};var cJ=null;function cX(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return cY(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function cK(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function cQ(e,t,n){switch(t=cu(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}function cZ(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);e0(e)}var c0=new Map,c1=new Set;function c2(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var c3=V.d;V.d={f:function(){var e=c3.f(),t=ur();return e||t},r:function(e){var t=e2(e);null!==t&&5===t.tag&&"form"===t.type?ip(t):c3.r(e)},D:function(e){c3.D(e),c4("dns-prefetch",e,null)},C:function(e,t){c3.C(e,t),c4("preconnect",e,t)},L:function(e,t,n){if(c3.L(e,t,n),c5&&e&&t){var r='link[rel="preload"][as="'+th(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+th(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+th(n.imageSizes)+'"]')):r+='[href="'+th(e)+'"]';var a=r;switch(t){case"style":a=c8(e);break;case"script":a=de(e)}c0.has(a)||(e=T({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),c0.set(a,e),null!==c5.querySelector(r)||"style"===t&&c5.querySelector(c7(a))||"script"===t&&c5.querySelector(dt(a))||(co(t=c5.createElement("link"),"link",e),e4(t),c5.head.appendChild(t)))}},m:function(e,t){if(c3.m(e,t),c5&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+th(n)+'"][href="'+th(e)+'"]',a=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=de(e)}if(!c0.has(a)&&(e=T({rel:"modulepreload",href:e},t),c0.set(a,e),null===c5.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c5.querySelector(dt(a)))return}co(n=c5.createElement("link"),"link",e),e4(n),c5.head.appendChild(n)}}},X:function(e,t){if(c3.X(e,t),c5&&e){var n=e5(c5).hoistableScripts,r=de(e),a=n.get(r);a||((a=c5.querySelector(dt(r)))||(e=T({src:e,async:!0},t),(t=c0.get(r))&&di(e,t),e4(a=c5.createElement("script")),co(a,"link",e),c5.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}},S:function(e,t,n){if(c3.S(e,t,n),c5&&e){var r=e5(c5).hoistableStyles,a=c8(e);t=t||"default";var o=r.get(a);if(!o){var i={loading:0,preload:null};if(o=c5.querySelector(c7(a)))i.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":t},n),(n=c0.get(a))&&da(e,n);var s=o=c5.createElement("link");e4(s),co(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){i.loading|=1}),s.addEventListener("error",function(){i.loading|=2}),i.loading|=4,dr(o,t,c5)}o={type:"stylesheet",instance:o,count:1,state:i},r.set(a,o)}}},M:function(e,t){if(c3.M(e,t),c5&&e){var n=e5(c5).hoistableScripts,r=de(e),a=n.get(r);a||((a=c5.querySelector(dt(r)))||(e=T({src:e,async:!0,type:"module"},t),(t=c0.get(r))&&di(e,t),e4(a=c5.createElement("script")),co(a,"link",e),c5.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}}};var c5="u"<typeof document?null:document;function c4(e,t,n){if(c5&&"string"==typeof t&&t){var r=th(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),c1.has(r)||(c1.add(r),e={rel:e,crossOrigin:n,href:t},null===c5.querySelector(r)&&(co(t=c5.createElement("link"),"link",e),e4(t),c5.head.appendChild(t)))}}function c6(e,t,n,r){var a=(a=en.current)?c2(a):null;if(!a)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=c8(n.href),(r=(n=e5(a).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=c8(n.href);var o,i,s,u,c=e5(a).hoistableStyles,d=c.get(e);if(d||(a=a.ownerDocument||a,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=a.querySelector(c7(e)))&&!c._p&&(d.instance=c,d.state.loading=5),c0.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},c0.set(e,n),c||(o=a,i=e,s=n,u=d.state,o.querySelector('link[rel="preload"][as="style"]['+i+"]")?u.loading=1:(u.preload=i=o.createElement("link"),i.addEventListener("load",function(){return u.loading|=1}),i.addEventListener("error",function(){return u.loading|=2}),co(i,"link",s),e4(i),o.head.appendChild(i))))),t&&null===r)throw Error(l(528,""));return d}if(t&&null!==r)throw Error(l(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=de(n),(r=(n=e5(a).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function c8(e){return'href="'+th(e)+'"'}function c7(e){return'link[rel="stylesheet"]['+e+"]"}function c9(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function de(e){return'[src="'+th(e)+'"]'}function dt(e){return"script[async]"+e}function dn(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+th(n.href)+'"]');if(r)return t.instance=r,e4(r),r;var a=T({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return e4(r=(e.ownerDocument||e).createElement("style")),co(r,"style",a),dr(r,n.precedence,e),t.instance=r;case"stylesheet":a=c8(n.href);var o=e.querySelector(c7(a));if(o)return t.state.loading|=4,t.instance=o,e4(o),o;r=c9(n),(a=c0.get(a))&&da(r,a),e4(o=(e.ownerDocument||e).createElement("link"));var i=o;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),co(o,"link",r),t.state.loading|=4,dr(o,n.precedence,e),t.instance=o;case"script":if(o=de(n.src),a=e.querySelector(dt(o)))return t.instance=a,e4(a),a;return r=n,(a=c0.get(o))&&di(r=T({},n),a),e4(a=(e=e.ownerDocument||e).createElement("script")),co(a,"link",r),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(l(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,dr(r,n.precedence,e)),t.instance}function dr(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=r.length?r[r.length-1]:null,o=a,i=0;i<r.length;i++){var s=r[i];if(s.dataset.precedence===t)o=s;else if(o!==a)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function da(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function di(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var ds=null;function dl(e,t,n){if(null===ds){var r=new Map,a=ds=new Map;a.set(n,r)}else(r=(a=ds).get(n))||(r=new Map,a.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var o=n[a];if(!(o[eZ]||o[eG]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var i=o.getAttribute(t)||"";i=e+i;var s=r.get(i);s?s.push(o):r.set(i,[o])}}return r}function du(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function dc(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function dd(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function dp(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function df(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=dp(t),e.suspenseyImages.push(t)),e=dy.bind(e),t.decode().then(e,e))}var dh=0;function dm(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)dv(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function dg(){this.count--,dm(this)}function dy(){this.imgCount--,dm(this)}var d_=null;function dv(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,d_=new Map,t.forEach(db,e),d_=null,dg.call(e))}function db(e,t){if(!(4&t.state.loading)){var n=d_.get(e);
vendor: 5,955 bytes, line 494
494if(n)var r=n.get(null);else{n=new Map,d_.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var i=a[o];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(a=t.instance).getAttribute("data-precedence"),(o=n.get(i)||r)===r&&n.set(null,a),n.set(i,a),this.count++,r=dg.bind(this),a.addEventListener("load",r),a.addEventListener("error",r),o?o.parentNode.insertBefore(a,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var dS={$$typeof:O,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function dE(e,t,n,r,a,o,i,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eD(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eD(0),this.hiddenUpdates=eD(null),this.identifierPrefix=r,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.transitionTypes=null,this.incompleteTransitions=new Map}function dw(e,t,n,r,a,o,i,s,l,u,c,d){return e=new dE(e,t,n,i,l,u,c,d,s),t=1,!0===o&&(t|=24),o=r_(3,null,null,t),e.current=o,o.stateNode=e,t=au(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},az(o),e}function dT(e,t,n,r,a,o){a=a?rg:rg,null===r.context?r.context=a:r.pendingContext=a,(r=aW(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=aq(e,r,t))&&(l9(n,e,t),aG(n,e,t))}function dk(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function dR(e,t){dk(e,t),(e=e.alternate)&&dk(e,t)}function dx(e){if(13===e.tag||31===e.tag){var t=rf(e,0x4000000);null!==t&&l9(t,e,0x4000000),dR(e,0x4000000)}}function dI(e){if(13===e.tag||31===e.tag){var t=l6(),n=rf(e,t=e$(t));null!==n&&l9(n,e,t),dR(e,t)}}var dC=!0;function dN(e,t,n,r){var a=G.T;G.T=null;var o=V.p;try{V.p=2,dO(e,t,n,r)}finally{V.p=o,G.T=a}}function dP(e,t,n,r){var a=G.T;G.T=null;var o=V.p;try{V.p=8,dO(e,t,n,r)}finally{V.p=o,G.T=a}}function dO(e,t,n,r){if(dC){var a=dA(r);if(null===a)u5(e,t,r,dM,n),dq(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return dj=dG(dj,e,t,n,r,a),!0;case"dragenter":return dB=dG(dB,e,t,n,r,a),!0;case"mouseover":return dF=dG(dF,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return d$.set(o,dG(d$.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,dz.set(o,dG(dz.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(dq(e,r),4&t&&-1<dW.indexOf(e)){for(;null!==a;){var o=e2(a);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var i=eO(o.pendingLanes);if(0!==i){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var l=1<<31-eR(i);s.entanglements[1]|=l,i&=~l}uB(o),0==(6&lT)&&(lq=ey()+500,uF(0,!1))}}break;case 31:case 13:null!==(s=rf(o,2))&&l9(s,o,2),ur(),dR(o,2)}if(null===(o=dA(r))&&u5(e,t,r,dM,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else u5(e,t,r,null,n)}}function dA(e){return dL(e=tP(e))}var dM=null;function dL(e){if(dM=null,null!==(e=e1(e))){var t=c(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=d(t)))return e;e=null}else if(31===n){if(null!==(e=p(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return dM=e,null}function dD(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(e_()){case ev:return 2;case eb:return 8;case eS:case eE:return 32;case ew:return 0x10000000;default:return 32}default:return 32}}var dU=!1,dj=null,dB=null,dF=null,d$=new Map,dz=new Map,dH=[],dW="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function dq(e,t){switch(e){case"focusin":case"focusout":dj=null;break;case"dragenter":case"dragleave":dB=null;break;case"mouseover":case"mouseout":dF=null;break;case"pointerover":case"pointerout":d$.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dz.delete(t.pointerId)}}function dG(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=e2(t))&&dx(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.pu
vendor: 4,097 bytes, line 494
494sh(a)),e}function dV(e){var t=e1(e.target);if(null!==t){var n=c(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=d(n))){e.blockedOn=t,eW(e.priority,function(){dI(n)});return}}else if(31===t){if(null!==(t=p(n))){e.blockedOn=t,eW(e.priority,function(){dI(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function dY(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=dA(e.nativeEvent);if(null!==n)return null!==(t=e2(n))&&dx(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tN=r,n.target.dispatchEvent(r),tN=null,t.shift()}return!0}function dJ(e,t,n){dY(e)&&n.delete(t)}function dX(){dU=!1,null!==dj&&dY(dj)&&(dj=null),null!==dB&&dY(dB)&&(dB=null),null!==dF&&dY(dF)&&(dF=null),d$.forEach(dJ),dz.forEach(dJ)}function dK(e,t){e.blockedOn===t&&(e.blockedOn=null,dU||(dU=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,dX)))}var dQ=null;function dZ(e){dQ!==e&&(dQ=e,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){dQ===e&&(dQ=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],a=e[t+2];if("function"!=typeof r)if(null===dL(r||n))continue;else break;var o=e2(n);null!==o&&(e.splice(t,3),t-=3,ic(o,{pending:!0,data:a,method:n.method,action:r},r,a))}}))}function d0(e){function t(t){return dK(t,e)}null!==dj&&dK(dj,e),null!==dB&&dK(dB,e),null!==dF&&dK(dF,e),d$.forEach(t),dz.forEach(t);for(var n=0;n<dH.length;n++){var r=dH[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<dH.length&&null===(n=dH[0]).blockedOn;)dV(n),null===n.blockedOn&&dH.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var a=n[r],o=n[r+1],i=a[eV]||null;if("function"==typeof o)i||dZ(n);else if(i){var s=null;if(o&&o.hasAttribute("formAction")){if(a=o,i=o[eV]||null)s=i.formAction;else if(null!==dL(a))continue}else s=i.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),dZ(n)}}}function d1(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function d2(e){this._internalRoot=e}function d3(e){this._internalRoot=e}d3.prototype.render=d2.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));dT(t.current,l6(),e,t,null,null)},d3.prototype.unmount=d2.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dT(e.current,2,null,e,null,null),ur(),t[eY]=null}},d3.prototype.unstable_scheduleHydration=function(e){if(e){var t=eH();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dH.length&&0!==t&&t<dH[n].priority;n++);dH.splice(n,0,e),0===n&&dV(e)}};var d5=i.version;if("19.3.0-canary-3f0b9e61-20260317"!==d5)throw Error(l(527,d5,"19.3.0-canary-3f0b9e61-20260317"));if(V.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=c(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return f(a),e;if(o===r)return f(a),t;o=o.sibling}throw Error(l(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,s=a.child;s;
494){if(s===n){i=!0,n=a,r=o;break}if(s===r){i=!0,r=a,n=o;break}s=s.sibling}if(!i){for(s=o.child;s;){if(s===n){i=!0,n=o,r=a;break}if(s===r){i=!0,r=o,n=a;break}s=s.sibling}if(!i)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var d4=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!d4.isDisabled&&d4.supportsFiber)try{eT=d4.inject({bundleType:0,version:"19.3.0-canary-3f0b9e61-20260317",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.3.0-canary-3f0b9e61-20260317"}),ek=d4}catch(e){}}n.createRoot=function(e,t){if(!u(e))throw Error(l(299));var n=!1,r="",a=iM,o=iL,i=iD;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(o=t.onCaughtError),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=dw(e,1,!1,null,null,n,r,null,a,o,i,d1),e[eY]=t.current,u2(e),new d2(t)},n.hydrateRoot=function(e,t,n){if(!u(e))throw Error(l(299));var r,a=!1,o="",i=iM,s=iL,c=iD,d=null;return null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onUncaughtError&&(i=n.onUncaughtError),void 0!==n.onCaughtError&&(s=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(d=n.formState)),(t=dw(e,1,!0,t,null!=n?n:null,a,o,d,i,s,c,d1)).context=(r=null,rg),n=t.current,(o=aW(a=e$(a=l6())
494)).callback=null,aq(n,o,a),n=a,t.current.lanes=n,eU(t,n),uB(t),e[eY]=t.current,u2(e),new d3(t)},n.version="19.3.0-canary-3f0b9e61-20260317"},88014,(e,t,n)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(146480)},18576,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={WarningIcon:function(){return l},errorStyles:function(){return i},errorThemeCss:function(){return s}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});e.r(555682);let o=e.r(843476);e.r(271645);let i={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},s=` 495:root { 496 --next-error-bg: #fff; 497 --next-error-text: #171717; 498 --next-error-title: #171717; 499 --next-error-message: #171717; 500 --next-error-digest: #666666; 501 --next-error-btn-text: #fff; 502 --next-error-btn-bg: #171717; 503 --next-error-btn-border: none; 504 --next-error-btn-secondary-text: #171717; 505 --next-error-btn-secondary-bg: transparent; 506 --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08); 507} 508@media (prefers-color-scheme: dark) { 509 :root { 510 --next-error-bg: #0a0a0a; 511 --next-error-text: #ededed; 512 --next-error-title: #ededed; 513 --next-error-message: #ededed; 514 --next-error-digest: #a0a0a0; 515 --next-error-btn-text: #0a0a0a; 516 --next-error-btn-bg: #ededed; 517 --next-error-btn-border: none; 518 --next-error-btn-secondary-text: #ededed; 519 --next-error-btn-secondary-bg: transparent; 520 --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14); 521 } 522} 523body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); } 524`.replace(/\n\s*/g,"");function l(){return(0,o.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:i.icon,children:(0,o.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},168027,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}}),e.r(555682);let r=e.r(843476);e.r(271645);let a=e.r(912354),o=e.r(18576),i=function({error:e}){let t=e?.digest,n=!!t;return(0,a.handleISRError)({error:e}),(0,r.jsxs)("html",{id:"__next_error__",children:[(0,r.jsx)("head",{children:(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:o.errorThemeCss}})}),(0,r.jsxs)("body",{children:[(0,r.jsx)("div",{style:o.errorStyles.container,children:(0,r.jsxs)("div",{style:o.errorStyles.card,children:[(0,r.jsx)(o.WarningIcon,{}),(0,r.jsx)("h1",{style:o.errorStyles.title,children:"This page couldnât load"}),(0,r.jsx)("p",{style:o.errorStyles.message,children:n?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,r.jsxs)("div",{style:o.errorStyles.buttonGroup,children:[(0,r.jsx)("form",{style:o.errorStyles.form,children:(0,r.jsx)("button",{type:"submit",style:o.errorStyles.button,children:"Reload"})}),!n&&(0,r.jsx)("button",{type:"button",style:o.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),t&&(0,r.jsxs)("p",{style:o.errorStyles.digestFooter,children:["ERROR ",t]})]})]})};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
524dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},851323,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={onCaughtError:function(){return p},onUncaughtError:function(){return f}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(555682),i=e.r(265713),s=e.r(132061),l=e.r(528279),u=e.r(972383),c=o._(e.r(168027)),d={decorateDevError:e=>e,handleClientError:()=>{},originConsoleError:console.error.bind(console)};function p(e,t){let n,r=t.errorBoundary?.constructor;if(n=n||r===u.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===c.default)return f(e);(0,s.isBailoutToCSRError)(e)||(0,i.isNextRouterError)(e)||d.originConsoleError(e)}function f(e){(0,s.isBailoutToCSRError)(e)||(0,i.isNextRouterError)(e)||(0,l.reportGlobalError)(e)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},762634,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AppRouterAnnouncer",{enumerable:!0,get:function(){return i}});let r=e.r(271645),a=e.r(174080),o="next-route-announcer";function i({tree:e}){let[t,n]=(0,r.useState)(null);(0,r.useEffect)(()=>(n(function(){let e=document.getElementsByName(o)[0];if(e?.shadowRoot?.childNodes[0])return e.shadowRoot.childNodes[0];{let e=document.createElement(o);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(o)[0];e?.isConnected&&document.body.removeChild(e)}),[]);let[s,l]=(0,r.useState)(""),u=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==u.current&&u.current!==e&&l(e),u.current=e},[e]),t?(0,a.createPortal)(s,t):null}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},425018,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"findHeadInCache",{enumerable:!0,get:function(){return o}});let r=e.r(813258),a=e.r(270725);function o(e,t){return function e(t,n,o,i){if(0===Object.keys(n).length)return[t,o,i];let s=Object.keys(n).filter(e=>"children"!==e);"children"in n&&s.unshift("children");let l=t.slots;if(null!==l)for(let t of s){let[i,s]=n[t];if(i===r.DEFAULT_SEGMENT_KEY)continue;let u=l[t];if(!u)continue;let c=e(u,s,o+"/"+(0,a.createRouterCacheKey)(i),o+"/"+(0,a.createRouterCacheKey)(i,!0));if(c)return c}return null}(e,t,"","")}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},241624,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={GracefulDegradeBoundary:function(){return s},default:function(){return l}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(843476),i=e.r(271645);class s extends i.Component{constructor(e){super(e),this.state={hasError:!1},this.rootHtml="",this.htmlAttributes={},this.htmlRef=(0,i.createRef)()}static getDerivedStateFromError(e){return{hasError:!0}}componentDidMount(){let e=this.htmlRef.current;this.state.hasError&&e&&Object.entries(this.htmlAttributes).forEach(([t,n])=>{e.setAttribute(t,n)})}render(){let{hasError:e}=this.state;return("u">typeof window&&!this.rootHtml&&(this.rootHtml=document.documentElement.innerHTML,this.htmlAttributes=function(e){let t={};for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}(document.documentElement)),e)?(0,o.jsx)("html",{ref:this.htmlRef,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:this.rootHtml}}):this.props.children}}let l=s;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
524dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},794109,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(555682),a=e.r(843476);e.r(271645);let o=r._(e.r(241624)),i=e.r(972383),s=e.r(82604),l="u">typeof window&&(0,s.isBot)(window.navigator.userAgent);function u({children:e,errorComponent:t,errorStyles:n,errorScripts:r}){return l?(0,a.jsx)(o.default,{children:e}):(0,a.jsx)(i.ErrorBoundary,{errorComponent:t,errorStyles:n,errorScripts:r,children:e})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},875530,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return A}});let r=e.r(555682),a=e.r(190809),o=e.r(843476),i=a._(e.r(271645)),s=e.r(8372),l=e.r(388540),u=e.r(451191),c=e.r(47790),d=e.r(941538),p=e.r(494272),f=e.r(762634),h=e.r(358442),m=e.r(425018),g=e.r(201244),y=e.r(387250),_=e.r(652817),v=e.r(734727),b=e.r(178377),S=e.r(699781),E=e.r(124063),w=e.r(968391),T=e.r(769688),k=r._(e.r(794109)),R=r._(e.r(168027)),x=e.r(897367);e.r(543369);let I={};function C({appRouterState:e}){return(0,i.useInsertionEffect)(()=>{let{tree:t,pushRef:n,canonicalUrl:r,renderedSearch:a}=e,o={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:{tree:t,renderedSearch:a}};n.pendingPush&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==r?(n.pendingPush=!1,window.history.pushState(o,"",r)):window.history.replaceState(o,"",r),(0,p.setLastCommittedTree)(t)},[e]),(0,i.useEffect)(()=>{(0,T.pingVisibleLinks)(e.nextUrl,e.tree)},[e.nextUrl,e.tree]),null}function N(e){null==e&&(e={});let t=window.history.state,n=t?.__NA;n&&(e.__NA=n);let r=t?.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function P({headCacheNode:e}){let t=null!==e?e.head:null,n=null!==e?e.prefetchHead:null,r=null!==n?n:t;return(0,i.useDeferredValue)(t,r)}function O({actionQueue:e,globalError:t,webSocket:n,staticIndicatorState:r}){let a,u=(0,d.useActionQueue)(e),{canonicalUrl:p}=u,{searchParams:b,pathname:T}=(0,i.useMemo)(()=>{let e=new URL(p,"u"<typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,_.hasBasePath)(e.pathname)?(0,y.removeBasePath)(e.pathname):e.pathname}},[p]);(0,i.useEffect)(()=>{let e=(0,v.extractSourcePageFromFlightRouterState)(u.tree);void 0!==e?window.next.__internal_src_page=e:delete window.next.__internal_src_page},[u.tree]),(0,i.useEffect)(()=>{function e(e){e.persisted&&window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE&&(I.pendingMpaPath=void 0,(0,d.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(window.location.href),historyState:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,i.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,w.isRedirectError)(t)){e.preventDefault();let n=(0,E.getURLFromRedirectError)(t);"push"===(0,E.getRedirectTypeFromError)(t)?S.publicAppRouterInstance.push(n,{}):S.publicAppRouterInstance.replace(n,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[]);let{pushRef:R}=u;if(R.mpaNavigation){if(I.pendingMpaPath!==p){let e=window.location;R.pendingPush?e.assign(p):e.replace(p),I.pendingMpaPath=p}throw g.unresolvedThenable}(0,i.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{let t=window.location.href,n=window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,i.startTransition)(()=>{(0,d.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(e??t,t),historyState:n})})};window.history.pushState=function(t,r,a){return t?.__NA||t?._N||(t=N(t),a&&n(a)),e(t,r,a)},window.history.replaceState=function(e,r,a){return e?.__NA||e?._N||(e=N(e),a&&n(a)),t(e,r,a)};let r=e=>{if(e.state){if(!e.state.__NA)return void window.location.reload();(0,i.startTransition)(()=>{(0,S.dispatchTraverseAction)(window.location.href,e.state.__PRIVATE_NEXTJS_INTERNALS_TREE)})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[]);let{cache:A,tree:M,nextUrl:L,focusAndScrollRef:D,previousNextUrl:U}=u,j=(0,i.useMemo)(()=>(0,m.findHeadInCache)(A,M[1]),[A,M]),B=(0,i.useMemo)(()=>(0,v.getSelectedParams)(M),[M]),F=(0,i.useMemo)(()=>({parentTree:M,parentCacheNode:A,parentSegmentPath:null,parentParam
524s:{},parentLoadingData:null,debugNameContext:"/",url:p,isActive:!0}),[M,A,p]),$=(0,i.useMemo)(()=>({tree:M,focusAndScrollRef:D,nextUrl:L,previousNextUrl:U}),[M,D,L,U]);if(null!==j){let[e,t,n]=j;a=(0,o.jsx)(P,{headCacheNode:e},"u"<typeof window?n:t)}else a=null;let z=(0,o.jsxs)(h.RedirectBoundary,{children:[a,(0,o.jsx)(x.RootLayoutBoundary,{children:A.rsc}),(0,o.jsx)(f.AppRouterAnnouncer,{tree:M})]});return z=(0,o.jsx)(k.default,{errorComponent:t[0],errorStyles:t[1],children:z}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(C,{appRouterState:u}),null,(0,o.jsx)(c.NavigationPromisesContext.Provider,{value:null,children:(0,o.jsx)(c.PathParamsContext.Provider,{value:B,children:(0,o.jsx)(c.PathnameContext.Provider,{value:T,children:(0,o.jsx)(c.SearchParamsContext.Provider,{value:b,children:(0,o.jsx)(s.GlobalLayoutRouterContext.Provider,{value:$,children:(0,o.jsx)(s.AppRouterContext.Provider,{value:S.publicAppRouterInstance,children:(0,o.jsx)(s.LayoutRouterContext.Provider,{value:F,children:z})})})})})})})]})}function A({actionQueue:e,globalErrorState:t,webSocket:n,staticIndicatorState:r}){(0,b.useNavFailureHandler)();let a=(0,o.jsx)(O,{actionQueue:e,globalError:t,webSocket:n,staticIndicatorState:r});return(0,o.jsx)(k.default,{errorComponent:R.default,children:a})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},665716,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"createInitialRouterState",{enumerable:!0,get:function(){return p}});let r=e.r(451191),a=e.r(734727),o=e.r(450590),i=e.r(595871),s=e.r(620896),l=e.r(509396),u=e.r(179027),c=e.r(787288),d=e.r(496167);function p({navigatedAt:e,initialRSCPayload:t,initialFlightStreamForCache:n,location:f}){let{c:h,f:m,q:g,i:y,S:_,s:v,l:b,h:S,p:E,d:w}=t,T=h.join("/"),{tree:k,seedData:R,head:x}=(0,o.getFlightDataPartsFromPath)(m[0]),I=f?(0,r.createHrefFromUrl)(f):T,C={metadataVaryPath:null},N=(0,s.convertRootFlightRouterStateToRouteTree)(k,g,C),P=C.metadataVaryPath,O=(0,i.createInitialCacheNodeForHydration)(e,
524N,R,x,(0,u.computeDynamicStaleAt)(e,w??u.UnknownDynamicStaleTime));if(null!==f&&null!==P){if((0,d.discoverKnownRoute)(Date.now(),f.pathname,null,null,N,P,y,I,_,!1),null!==R&&void 0!==v)if(void 0!==b&&null!=n)(0,c.decodeStaticStage)(n,b,void 0).then(async e=>{let t=Date.now(),n=await (0,s.getStaleAt)(t,e.s);(0,s.writeStaticStageResponseIntoCache)(t,e.f,void 0,e.h,n,k,g,!0)}).catch(()=>{});else{let e=Date.now();(0,s.getStaleAt)(e,v).then(t=>{(0,s.writeStaticStageResponseIntoCache)(e,m,void 0,S,t,k,g,!1)}).catch(()=>{}),n?.cancel()}else n?.cancel();null!=E&&(0,s.processRuntimePrefetchStream)(Date.now(),E,k,g).then(e=>{null!==e&&(0,s.writeDynamicRenderResponseIntoCache)(Date.now(),l.FetchStrategy.PPRRuntime,e.flightDatas,e.buildId,e.isResponsePartial,e.headVaryParams,e.staleAt,e.navigationSeed,null)}).catch(()=>{})}return{tree:O.route,cache:O.node,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{scrollRef:null,forceScroll:!1,onlyHashChange:!1,hashFragment:null},canonicalUrl:I,renderedSearch:g,nextUrl:((0,a.extractPathFromFlightRouterState)(k)||f?.pathname)??null,previousNextUrl:null,debugInfo:null}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},198569,(e,t,n)=>{"use strict";let r,a,o,i;Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"hydrate",{enumerable:!0,get:function(){return B}});let s=e.r(555682),l=e.r(843476);e.r(523911);let u=s._(e.r(88014)),c=s._(e.r(271645)),d=e.r(235326),p=e.r(742732),f=e.r(597238),h=e.r(851323),m=e.r(132120),g=e.r(92245),y=e.r(699781),_=s._(e.r(875530)),v=e.r(665716);e.r(8372);let b=e.r(450590),S=e.r(543369),E=e.r(732992),w=d.createFromReadableStream,T=d.createFromFetch,k=document,R=self.__next_instant_test?self.__next_instant_test:void 0,x=new TextEncoder,I=!1,C=!1,N=null;function P(e){if(0===e[0])o=[];else if(1===e[0]){if(!o)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});i?i.enqueue(x.encode(e[1])):o.push(e[1])}else if(2===e[0])N=e[1];else if(3===e[0]){if(!o)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});let n=atob(e[1]),r=new Uint8Array(n.length);for(var t=0;t<n.length;t++)r[t]=n.charCodeAt(t);i?i.enqueue(r):o.push(r)}}let O=function(){i&&!C&&(i.close(),C=!0,o=void 0),I=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",O,!1):setTimeout(O);let A=self.__next_f=self.__next_f||[];A.forEach(P),A.length=0,A.push=P;let M=new ReadableStream({start(e){o&&(o.forEach(t=>{e.enqueue("string"==typeof t?x.encode(t):t)}),I&&!C)&&(null===e.desiredSize||e.desiredSize<0?R||e.error(Object.defineProperty(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection."),"__NEXT_ERROR_CODE",{value:"E117",enumerable:!1,configurable:!0})):e.close(),C=!0,o=void 0),i=e}});if(R)a=Promise.resolve(T(R,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,unstable_allowPartialStream:!0})).then(async e=>(0,b.createInitialRSCPayloadFromFallbackPrerender)(await R,e));else if(window.__NEXT_CLIENT_RESUME){let e=window.__NEXT_CLIENT_RESUME;a=Promise.resolve(T(e,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r})).then(async t=>(0,b.createInitialRSCPayloadFromFallbackPrerender)(await e,t))}else a=w(M,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,startTime:0});function L({initialRSCPayload:e,actionQueue:t,webSocket:n,staticIndicatorState:r}){return(0,l.jsx)(_.default,{actionQueue:t,globalErrorState:e.G,webSocket:n,staticIndicatorState:r})}let D=c.default.StrictMode;function U({children:e}){return e}let j={onDefaultTransitionIndicator:function(){return()=>{}},onRecoverableError:f.onRecoverableError,onCaughtError:h.onCaughtError,onUncaughtError:h.onUncaughtError};async function B(e,t){let n,r,o=await a;o.b?(0,E.setNavigationBuildId)(o.b):(0,E.setNavigationBuildId)((0,S.getDeploymentId)());let i=Date.now(),s=(0,y.createMutableActionQueue)((0,v.createInitialRouterState)({navigatedAt:i,initialRSCPayload:o,initialFlightStreamForCache:null,location:window.location}),e),d=(0,l.jsx)(D,{children:(0,l.jsx)(p.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,l.jsx)(U,{children:(0,l.jsx)(L,{initialRSCPayload:o,actionQueue:s,webSocket:r,staticIndicatorState:n})})})});"__next_error__"===document.documentElement.id?u.default.createRoot(k,j).render(d):c.default.startTransition(()=>{u.default.hydrateRoot(k,d,{...j,formState:N})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
524dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},494553,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(423755);let r=e.r(396517);e.r(597238),window.next.turbopack=!0,self.__webpack_hash__="";let a=e.r(5526);(0,r.appBootstrap)(t=>{let{hydrate:n}=e.r(198569);n(a,t)}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}]); 525 526//# debugId=75030ccf-1363-92cc-b6d5-f07651a58bf0
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.