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]="194cbb56-e2e3-e877-c05e-83d530f617f8")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,804805,468933,488050,111315,138474,675005,126104,934966,792800,950177,84253,630760,362058,935193,113653,136039,55441,978995,542664,460673,524501,236179,275488,323116,663468,762971,356360,732381,614049,39030,838415,713370,724021,104923,957295,370768,434606,562447,923708,201037,654589,615484,370018,383754,900213,t=>{"use strict";let e,n,r,a,s,i,o,u,c;var d=t.i(364356);try{var l="u">typeof window?window:t.g;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[(new l.Error).stack]=Object.assign({},l._sentryModuleMetadata[(new l.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let p="10.55.0";t.s(["SDK_VERSION",0,p],468933);try{var _="u">typeof window?window:t.g;_._sentryModuleMetadata=_._sentryModuleMetadata||{},_._sentryModuleMetadata[(new _.Error).stack]=Object.assign({},_._sentryModuleMetadata[(new _.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let y=globalThis;t.s(["GLOBAL_OBJ",0,y],488050);try{var f="u">typeof window?window:t.g;f._sentryModuleMetadata=f._sentryModuleMetadata||{},f._sentryModuleMetadata[(new f.Error).stack]=Object.assign({},f._sentryModuleMetadata[(new f.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function g(){return h(y),y}function h(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||p,e[p]=e[p]||{}}function m(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y,r=n.__SENTRY__=n.__SENTRY__||{},a=r[p]=r[p]||{};return a[t]||(a[t]=e())}t.s(["getGlobalSingleton",0,m,"getMainCarrier",0,g,"getSentryCarrier",0,h],111315);var M=t.i(482862);try{var S="u">typeof window?window:t.g;S._sentryModuleMetadata=S._sentryModuleMetadata||{},S._sentryModuleMetadata[(new S.Error).stack]=Object.assign({},S._sentryModuleMetadata[(new S.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let w="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,w],138474);try{var v="u">typeof window?window:t.g;v._sentryModuleMetadata=v._sentryModuleMetadata||{},v._sentryModuleMetadata[(new v.Error).stack]=Object.assign({},v._sentryModuleMetadata[(new v.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let E={};function b(t){if(!("console"in y))return t();let e=y.console,n={},r=Object.keys(E);r.forEach(t=>{let r=E[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function T(){return A().enabled}function k(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];w&&T()&&b(()=>{y.console[t]("".concat("Sentry Logger ","[").concat(t,"]:"),...n)})}function A(){return w?m("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let I={enable:function(){A().enabled=!0},disable:function(){A().enabled=!1},isEnabled:T,log:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];k("log",...e)},warn:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];k("warn",...e)},error:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];k("error",...e)}};t.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,b,"debug",0,I,"originalConsoleMethods",0,E],675005);try{var O="u">typeof window?window:t.g;O._sentryModuleMetadata=O._sentryModuleMetadata||{},O._sentryModuleMetadata[(new O.Error).stack]=Object.assign({},O._sentryModuleMetadata[(new O.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let x=Object.prototype.toString;function j(t){switch(x.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return L(t,Error)}}function N(t,e){return x.call(t)==="[object ".concat(e,"]")}function P(t){return N(t,"String")}function R(t){return"object"==typeof t&&null!==t&&"__sentry_template_str
2ing__"in t&&"__sentry_template_values__"in t}function C(t){return null===t||R(t)||"object"!=typeof t&&"function"!=typeof t}function B(t){return N(t,"Object")}function D(t){return"u">typeof Event&&L(t,Event)}function K(t){return N(t,"RegExp")}function U(t){return!!((null==t?void 0:t.then)&&"function"==typeof t.then)}function L(t,e){try{return t instanceof e}catch(t){return!1}}t.s(["isDOMError",0,function(t){return N(t,"DOMError")},"isDOMException",0,function(t){return N(t,"DOMException")},"isError",0,j,"isErrorEvent",0,function(t){return N(t,"ErrorEvent")},"isEvent",0,D,"isInstanceOf",0,L,"isParameterizedString",0,R,"isPlainObject",0,B,"isPrimitive",0,C,"isRegExp",0,K,"isRequest",0,function(t){return"u">typeof Request&&L(t,Request)},"isString",0,P,"isThenable",0,U],126104);try{var F="u">typeof window?window:t.g;F._sentryModuleMetadata=F._sentryModuleMetadata||{},F._sentryModuleMetadata[(new F.Error).stack]=Object.assign({},F._sentryModuleMetadata[(new F.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function Y(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){w&&I.log('Failed to add non-enumerable property "'.concat(String(e),'" to object'),t)}}function J(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,Y(t,"__sentry_original__",e)}catch(t){}}function G(t){if(j(t))return(0,d._)({message:t.message,name:t.name,stack:t.stack},H(t));if(D(t)){let{type:e,target:n,currentTarget:r,detail:a}=t;return(0,d._)({type:e,target:n,currentTarget:r},a?{detail:a}:{},H(t))}return t}function H(t){return"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t)):{}}t.s(["addNonEnumerableProperty",0,Y,"convertToPlainObject",0,G,"extractExceptionKeysForMessage",0,function(t){let e=Object.keys(G(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"},"fill",0,function(t,e,n){if(!(e in t))return;let r=t[e];if("function"!=typeof r)return;let a=n(r);"function"==typeof a&&J(a,r);try{t[e]=a}catch(n){w&&I.log('Failed to replace method "'.concat(e,'" in object'),t)}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,J],934966);try{var z="u">typeof window?window:t.g;z._sentryModuleMetadata=z._sentryModuleMetadata||{},z._sentryModuleMetadata[(new z.Error).stack]=Object.assign({},z._sentryModuleMetadata[(new z.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function W(t){if(void 0!==e)return e?e(t):t();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in y&&"function"==typeof y[n]?(e=y[n])(t):(e=null,t())}function V(){return W(()=>Math.random())}function q(){return W(()=>Date.now())}t.s(["safeDateNow",0,q,"safeMathRandom",0,V,"withRandomSafeContext",0,W],792800);try{var X="u">typeof window?window:t.g;X._sentryModuleMetadata=X._sentryModuleMetadata||{},X._sentryModuleMetadata[(new X.Error).stack]=Object.assign({},X._sentryModuleMetadata[(new X.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let $=Symbol.for("sentry.skipNormalization"),Q=Symbol.for("sentry.overrideNormalizationDepth");function Z(t){return!!t[$]}function tt(t){let e=t[Q];return"number"==typeof e?e:void 0}t.s(["getNormalizationDepthOverrideHint",0,tt,"hasSkipNormalizationHint",0,Z,"setSkipNormalizationHint",0,function(t){Y(t,$,!0)}],950177);try{var te="u">typeof window?window:t.g;te._sentryModuleMetadata=te._sentryModuleMetadata||{},te._sentryModuleMetadata[(new te.Error).stack]=Object.assign({},te._sentryModuleMetadata[(new te.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let tn=/\(error: (.*)\)/,tr=/captureMessage|captureException/;function ta(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=e.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=[],s=t.split("\n");for(let t=e;t<s.length;t++){let e=s[t];e.length>1024&&(e=e.slice(0,1024));let i=tn.test(e)?e.replace(tn,"$1"):e;if(!i.includes("Error: ")){for(let t of r){let e=t(i);if(e){a.push(e);break}}if(a.length>=50+n)break}}var i=a.slice(n);if(!i.length)return[];let o=Array.from(i);return/sentryWrapped/.test(ts(o).function||"")&&o.pop(),o.reverse(),tr.test(ts(o).function||"")&&(o.pop(),tr.test(ts(o).function||"")&&o.pop()),o.slice(0,50).map(t=>(0,M._)((0,d._)({},t),{filename:t.filename||ts(o).filename,function:t.function||"?"}))}}function ts(t){return t[t.length-1]||{}}let ti="<anonymous>";function to(t){try{if(!t||"function"!=typeof t)return ti;return t.name||ti}catch(t){return ti}}t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,ta,"getFramesFromEvent",0,function(t){let e=t.exception;if(e){let t=[];
2try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch(t){}}},"getFunctionName",0,to,"normalizeStackTracePath",0,function(t){let e=(null==t?void 0:t.startsWith("file://"))?t.slice(7):t;return(null==e?void 0:e.match(/\/[A-Z]:/))&&(e=e.slice(1)),e},"stackParserFromStackParserOptions",0,function(t){return Array.isArray(t)?ta(...t):t}],84253);try{var tu="u">typeof window?window:t.g;tu._sentryModuleMetadata=tu._sentryModuleMetadata||{},tu._sentryModuleMetadata[(new tu.Error).stack]=Object.assign({},tu._sentryModuleMetadata[(new tu.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function tc(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return function t(e,n){let r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(r=new WeakSet,[function(t){return!!r.has(t)||(r.add(t),!1)},function(t){r.delete(t)}]),[o,u]=i;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let c=td(e,n);if(!c.startsWith("[object "))return c;if(Z(n))return n;let d=tt(n),l=void 0!==d?d:a;if(0===l)return c.replace("object ","");if(o(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,l-1,s,i)}catch(t){}let p=Array.isArray(n)?[]:{},_=0,y=G(n);for(let e in y){if(!Object.prototype.hasOwnProperty.call(y,e))continue;if(_>=s){p[e]="[MaxProperties ~]";break}let n=y[e];p[e]=t(e,n,l-1,s,i),_++}return u(n),p}("",t,e,n)}catch(t){return{ERROR:"**non-serializable** (".concat(t,")")}}}function td(e,r){try{var a;let e;if(n){let t=n(r);if(t)return t}if(r===t.g)return"[Global]";if("number"==typeof r&&!Number.isFinite(r))return"[".concat(r,"]");if("function"==typeof r)return"[Function: ".concat(to(r),"]");if("symbol"==typeof r)return"[".concat(String(r),"]");if("bigint"==typeof r)return"[BigInt: ".concat(String(r),"]");let s=(a=r,e=Object.getPrototypeOf(a),(null==e?void 0:e.constructor)?e.constructor.name:"null prototype");return"[object ".concat(s,"]")}catch(t){return"**non-serializable** (".concat(t,")")}}t.s(["normalize",0,tc,"normalizeToSize",0,function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,a=tc(e,n);return~-encodeURI(JSON.stringify(a)).split(/%..|./).length>r?t(e,n-1,r):a},"setNormalizeStringifier",0,function(t){n=t},"stringifyValue",0,td],630760);try{var tl="u">typeof window?window:t.g;tl._sentryModuleMetadata=tl._sentryModuleMetadata||{},tl._sentryModuleMetadata[(new tl.Error).stack]=Object.assign({},tl._sentryModuleMetadata[(new tl.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function tp(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof t||0===e||t.length<=e?t:"".concat(t.slice(0,e),"...")}function t_(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!P(t)&&(K(e)?e.test(t):P(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}t.s(["isMatchingPattern",0,t_,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];C(r)?n.push(String(r)):r instanceof Error?n.push(r.message?"".concat(r.name,": ").concat(r.message):r.name):n.push(td(void 0,r))}return n.join(e)},"snipLine",0,function(t,e){let n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);let a=Math.max(e-60,0);a<5&&(a=0);let s=Math.min(a+140,r);return s>r-5&&(s=r),s===r&&(a=Math.max(s-140,0)),n=n.slice(a,s),a>0&&(n="'{snip} ".concat(n)),s<r&&(n+=" {snip}"),n},"stringMatchesSomePattern",0,function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(let r of e)if(t_(t,r,n))return!0;return!1},"truncate",0,tp],362058);try{var ty="u">typeof window?window:t.g;ty._sentryModuleMetadata=ty._sentryModuleMetadata||{},ty._sentryModuleMetadata[(new ty.Error).stack]=Object.assign({},ty._sentryModuleMetadata[(new ty.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function tf(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.crypto||y.msCrypto;try{if(null==t?void 0:t.randomUUID)return W(()=>t.randomUUID()).replace(/-/g,"")}catch(t){}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,t=>(t^(15&16*V())>>t/4).toString(16))}function tg(t){var e,n;return null==(n=t.exception)||null==(e=n.values)?void 0:e[0]}function th(t,e){let n=tg(t);if(!n)return;let r=n.mechanism;if(n.mechanism=(0,d._)({},{type:"generic",handled:!0},r,e),e&&"data"in e){let t=(0,d._)({},null==r?void 0:r.data,e.data);n.mechanism.data=t}}function tm(t){try{return t.__sentry_captured__}catch(t){}}t.s(["addExceptionMechanism",0,th,"addExceptionTypeValue",0,function(t,e,n){let r=t.exception=t.exception||{},a=r.values=r.values||[],s=a[0]=a[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")},"checkOrSetAlreadyCaught",0,function(t){if(tm(t))return!0;try{Y(t,"__sentry_captured__",!0)}catch(t){}return!1},"getEventDescription",0,function(t){let{message:e,event_id:n}=t;if(e)return e;let r=tg(t);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"},"isAlreadyCaptured",0,tm,"uuid4",0,tf],935193);try{var tM="u">typeof window?window:t.g;tM._sentryModuleMetadata=tM._sentryModuleMetadata||{},tM._sentryModuleMetadata[(new tM.Error).stack]=Object.assign({},tM._sentryModuleMetadata[(new tM.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function tS(){return q()/1e3}function tw(){return(null!=a?a:a=function(){let{performance:t}=y;if(!(null==t?void 0:t.now)||!t.timeOrigin)return tS;let e=t.timeOrigin;return()=>(e+W(()=>t.now()))/1e3}())()}let tv=null;t.s(["browserPerformanceTimeOrigin",0,function(){return null===tv&&(tv=function(){var t;let{performance:e}=y;if(!(null==e?void 0:e.now))return;let n=W(()=>e.now()),r=q(),a=e.timeOrigin;if("number"==typeof a&&3e5>Math.abs(a+n-r))return a;let s=null==(t=e.timing)?void 0:t.navigationStart;return"number"==typeof s&&3e5>Math.abs(s+n-r)?s:r-n}()),tv},"dateTimestampInSeconds",0,tS,"timestampInSeconds",0,tw],113653);try{var tE="u">typeof window?window:t.g;tE._sentryModuleMetadata=tE._sentryModuleMetadata||{},tE._sentryModuleMetadata[(new tE.Error).stack]=Object.assign({},tE._sentryModuleMetadata[(new tE.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function tb(t){let e=tw(),n={sid:tf(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var t;return t=n,{sid:"".concat(t.sid),init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?"".concat(t.did):void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}};return t&&tT(n,t),n}function tT(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||tw(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:tf()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did="".concat(e.did)),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function tk(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),tT(t,n)}t.s(["closeSession",0,tk,"makeSession",0,tb,"updateSession",0,tT],136039);try{var tA="u">typeof window?window:t.g;tA._sentryModuleMetadata=tA._sentryModuleMetadata||{},tA._sentryModuleMetadata[(new tA.Error).stack]=Object.assign({},tA._sentryModuleMetadata[(new tA.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function tI(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if(!e||"object"!=typeof e||n<=0)return e;if(t&&0===Object.keys(e).length)return t;let r=(0,d._)({},t);for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=tI(r[t],e[t],n-1));return r}t.s(["merge",0,tI],55441);try{var tO="u">typeof window?window:t.g;tO._sentryModuleMetadata=tO._sentryModuleMetadata||{},tO._sentryModuleMetadata[(new tO.Error).stack]=Object.assign({},tO._sentryModuleMetadata[(new tO.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function tx(){return tf()}function tj(){return tf().substring(16)}t.s(["generateSpanId",0,tj,"generateTraceId",0,tx],978995);try{var tN="u">typeof window?window:t.g;tN._sentryModuleMetadata=tN._sentryModuleMetadata||{},tN._sentryModuleMetadata[(new tN.Error).stack]=Object.assign({},tN._sentryModuleMetadata[(new tN.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let tP="_sentrySpan";function tR(t,e){e?Y(t,tP,e):delete t[tP]}function tC(t){return t[tP]}t.s(["_getSpanForScope",0,tC,"_setSpanForScope",0,tR],542664);try{var tB="u">typeof window?window:t.g;tB._sentryModuleMetadata=tB._sentryModuleMetadata||{},tB._sentryModuleMetadata[(new tB.Error).stack]=Object.assign({},tB._sentryModuleMetadata[(new tB.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}class tD{clone(){let t=new tD;return t._breadcrumbs=[...this._breadcrumbs],t._tags=(0,d._)({},this._tags),t._attributes=(0,d._)({},this._attributes),t._extra=(0,d._)({},this._extra),t._contexts=(0,d._)({},this._contexts),this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata=(0,d._)({},this._sdkProcessingMetadata),t._propagationContext=(0,d._)({},this._propagationContext),t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,tR(t,tC(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&tT(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags=(0,d._)({},this._tags,t),this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes=(0,d._)({},this._attributes,t),this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra=(0,d._)({},this._extra,t),this._notifyScopeListeners(),this}setExtra(t,e){return this._extra=(0,M._)((0,d._)({},this._extra),{[t]:e}),this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let e="function"==typeof t?t(this):t,{tags:n,attributes:r,extra:a,user:s,contexts:i,level:o,fingerprint:u=[],propagationContext:c,conversationId:l}=(e instanceof tD?e.getScopeData():B(e)?t:void 0)||{};return this._tags=(0,d._)({},this._tags,n),this._attributes=(0,d._)({},this._attributes,r),this._extra=(0,d._)({},this._extra,a),this._contexts=(0,d._)({},this._contexts,i),s&&Object.keys(s).length&&(this._user=s),o&&(this._level=o),u.length&&(this._fingerprint=u),c&&(this._propagationContext=c),l&&(this._conversationId=l),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,tR(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tx(),sampleRand:V()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r=(0,M._)((0,d._)({timestamp:tS()},t),{message:t.message?tp(t.message,2048):t.message});if(this._breadcrumbs.push(r),this._breadcrumbs.length>n){var a;this._breadcrumbs=this._breadcrumbs.slice(-n),null==(a=this._client)||a.recordDroppedEvent("buffer_overflow","log_item")}return this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:tC(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=tI(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=(null==e?void 0:e.event_id)||tf();if(!this._client)return w&&I.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(t,(0,M._)((0,d._)({originalException:t,syntheticException:r},e),{event_id:n}),this),n}captureMessage(t,e,n){var r;let a=(null==n?void 0:n.event_id)||tf();if(!this._client)return w&&I.warn("No client configured on scope - will not capture message!"),a;let s=null!=(r=null==n?void 0:n.syntheticException)?r:Error(t);return this._client.captureMessage(t,e,(0,M._)((0,d._)({originalException:t,syntheticException:s},n),{event_id:a}),this),a}
2captureEvent(t,e){let n=t.event_id||(null==e?void 0:e.event_id)||tf();return this._client?this._client.captureEvent(t,(0,M._)((0,d._)({},e),{event_id:n}),this):w&&I.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:tx(),sampleRand:V()}}}try{var tK="u">typeof window?window:t.g;tK._sentryModuleMetadata=tK._sentryModuleMetadata||{},tK._sentryModuleMetadata[(new tK.Error).stack]=Object.assign({},tK._sentryModuleMetadata[(new tK.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}try{var tU="u">typeof window?window:t.g;tU._sentryModuleMetadata=tU._sentryModuleMetadata||{},tU._sentryModuleMetadata[(new tU.Error).stack]=Object.assign({},tU._sentryModuleMetadata[(new tU.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let tL=t=>t instanceof Promise&&!t[tF],tF=Symbol("chained PromiseLike");try{var tY="u">typeof window?window:t.g;tY._sentryModuleMetadata=tY._sentryModuleMetadata||{},tY._sentryModuleMetadata[(new tY.Error).stack]=Object.assign({},tY._sentryModuleMetadata[(new tY.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}class tJ{withScope(t){let e,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}if(U(e)){var r,a,s;let t;return r=e,a=()=>this._popScope(),s=()=>this._popScope(),tL(t=r.then(t=>(a(),t),t=>{throw s(),t}))&&tL(r)?t:((t,e)=>{if(!e)return t;let n=!1;for(let r in t){if(r in e)continue;n=!0;let a=t[r];"function"==typeof a?Object.defineProperty(e,r,{value:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return a.apply(t,n)},enumerable:!0,configurable:!0,writable:!0}):e[r]=a}return n&&Object.assign(e,{[tF]:!0}),e})(r,t)}return this._popScope(),e}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}constructor(t,e){let n,r;n=t||new tD,r=e||new tD,this._stack=[{scope:n}],this._isolationScope=r}}function tG(){let t=h(g());return t.stack=t.stack||new tJ(m("defaultCurrentScope",()=>new tD),m("defaultIsolationScope",()=>new tD))}function tH(t){return tG().withScope(t)}function tz(t,e){let n=tG();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tW(t){return tG().withScope(()=>t(tG().getIsolationScope()))}try{var tV="u">typeof window?window:t.g;tV._sentryModuleMetadata=tV._sentryModuleMetadata||{},tV._sentryModuleMetadata[(new tV.Error).stack]=Object.assign({},tV._sentryModuleMetadata[(new tV.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function tq(t){let e=h(t);return e.acs?e.acs:{withIsolationScope:tW,withScope:tH,withSetScope:tz,withSetIsolationScope:(t,e)=>tW(e),getCurrentScope:()=>tG().getScope(),getIsolationScope:()=>tG().getIsolationScope()}}t.s(["getAsyncContextStrategy",0,tq],460673);try{var tX="u">typeof window?window:t.g;tX._sentryModuleMetadata=tX._sentryModuleMetadata||{},tX._sentryModuleMetadata[(new tX.Error).stack]=Object.assign({},tX._sentryModuleMetadata[(new tX.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function t$(){return tq(g()).getCurrentScope()}function tQ(){return tq(g()).getIsolationScope()}function tZ(){return m("globalScope",()=>new tD)}function t0(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=tq(g());if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function t1(){return t$().getClient()}t.s(["getClient",0,t1,"getCurrentScope",0,t$,"getGlobalScope",0,tZ,"getIsolationScope",0,tQ,"getTraceContextFromScope",0,function(t){let e=null==s?void 0:s();if(e)return{trace_id:e.traceId,span_id:e.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:a}=t.getPropagationContext(),i={trace_id:n,span_id:a||tj()};return r&&(i.parent_span_id=r),i},"hasExternalPropagationContext",0,function(){return void 0!==s},"withIsolationScope",0,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=tq(g());if(2===e.length){let[t,n]=e;return t?r.withSetIsolationScope(t,n):r.withIsolationScope(n)}return r.withIsolationScope(e[0])},"withScope",0,t0],524501);try{var t3="u">typeof window?window:t.g;t3._sentryModuleMetadata=t3._sentryModuleMetadata||{},t3._sentryModuleMetadata[(new t3.Error).stack]=Object.assign({},t3._sentryModuleMetadata[(new t3.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let t2="sentry.source",t4="sentry.sample_rate",t5="sentry.previous_trace_sample_rate",t6="sentry.op",t8="sentry.origin",t7="sentry.measurement_unit",t9="sentry.measurement_value",et="sentry.custom_span_name",ee="sentry.profile_id",en="sentry.exclusive_time";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,en,"
2SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,ee,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,et,"SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT",0,"sentry.environment","SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",0,"sentry.idle_span_finish_reason","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",0,t7,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,t9,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,t6,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,t8,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,t5,"SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,t4,"SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS",0,"sentry.sdk.integrations","SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME",0,"sentry.sdk.name","SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION",0,"sentry.sdk.version","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID",0,"sentry.segment.id","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_NAME",0,"sentry.segment.name","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,t2,"SEMANTIC_ATTRIBUTE_URL_FULL",0,"url.full","SEMANTIC_ATTRIBUTE_USER_EMAIL",0,"user.email","SEMANTIC_ATTRIBUTE_USER_ID",0,"user.id","SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS",0,"user.ip_address","SEMANTIC_ATTRIBUTE_USER_USERNAME",0,"user.name","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",0,"sentry.link.type"],236179);try{var er="u">typeof window?window:t.g;er._sentryModuleMetadata=er._sentryModuleMetadata||{},er._sentryModuleMetadata[(new er.Error).stack]=Object.assign({},er._sentryModuleMetadata[(new er.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let ea="sentry-";function es(t){let e=ei(t);if(!e)return;let n=Object.entries(e).reduce((t,e)=>{let[n,r]=e;return n.startsWith(ea)&&(t[n.slice(ea.length)]=r),t},{});return Object.keys(n).length>0?n:void 0}function ei(t){if(t&&(P(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>(Object.entries(eo(e)).forEach(e=>{let[n,r]=e;t[n]=r}),t),{}):eo(t)}function eo(t){return t.split(",").map(t=>{let e=t.indexOf("=");return -1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch(t){return}})}).reduce((t,e)=>{let[n,r]=e;return n&&r&&(t[n]=r),t},{})}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,ea,"baggageHeaderToDynamicSamplingContext",0,es,"dynamicSamplingContextToSentryBaggageHeader",0,function(t){if(t){var e=Object.entries(t).reduce((t,e)=>{let[n,r]=e;return r&&(t["".concat(ea).concat(n)]=r),t},{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,e,n)=>{let[r,a]=e,s="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(a)),i=0===n?s:"".concat(t,",").concat(s);return i.length>8192?(w&&I.warn("Not adding key: ".concat(r," with val: ").concat(a," to baggage header due to exceeding baggage size limits.")),t):i},""):void 0}},"parseBaggageHeader",0,ei],275488);try{var eu="u">typeof window?window:t.g;eu._sentryModuleMetadata=eu._sentryModuleMetadata||{},eu._sentryModuleMetadata[(new eu.Error).stack]=Object.assign({},eu._sentryModuleMetadata[(new eu.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}try{var ec="u">typeof window?window:t.g;ec._sentryModuleMetadata=ec._sentryModuleMetadata||{},ec._sentryModuleMetadata[(new ec.Error).stack]=Object.assign({},ec._sentryModuleMetadata[(new ec.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function ed(t){var e;if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let n=t||(null==(e=t1())?void 0:e.getOptions());return!!n&&(null!=n.tracesSampleRate||!!n.tracesSampler)}t.s(["hasSpansEnabled",0,ed],323116);try{var el="u">typeof window?window:t.g;el._sentryModuleMetadata=el._sentryModuleMetadata||{},el._sentryModuleMetadata[(new el.Error).stack]=Object.assign({},el._sentryModuleMetadata[(new el.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function ep(t){I.log("Ignoring span ".concat(t.op," - ").concat(t.description," because it matches `ignoreSpans`."))}function e_(t,e){if(!(null==e?void 0:e.length))return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(t.description&&t_(t.description,r))return w&&ep(t),!0;continue}let e=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!e)continue;let a=!r.name||t.description&&t_(t.description,r.name),s=!r.op||t.op&&t_(t.op,r.op),i=!r.attributes||Object.entries(r.attributes).every(e=>{var n;let[r,a]=e;return function(t,e){return"string"==typeof t&&("string"==typeof e||e instanceof RegExp)?t_(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):t===e}(null==(n=t.attributes)?void 0:n[r],a)});if(a&&s&&i)return w&&ep(t),!0}return!1}t.s(["reparentChildSpans",0,function(t,e){let n=e.parent_span_id,r=e.span_id;if(n)for(let e of t)e.parent_span_id===r&&(e.parent_span_id=n)},"shouldIgnoreSpan",0,e_],663468);try{var ey="u">typeof window?window:t.g;ey._sentryModuleMetadata=ey._sentryModuleMetadata||{},ey._sentryModuleMetadata[(new ey.Error).stack]=Object.assign({},ey._sentryModuleMetadata[(new ey.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function ef(t){return"stream"===t.getOptions().traceLifecycle}t.s(["hasSpanStreamingEnabled",0,ef],762971);try{var eg="u">typeof window?window:t.g;eg._sentryModuleMetadata=eg._sentryModuleMetadata||{},eg._sentryModuleMetadata[(new eg.Error).stack]=Object.assign({},eg._sentryModuleMetadata[(new eg.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function eh(t){if("boolean"==typeof t)return Number(t);let e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e))&&!(e<0)&&!(e>1))return e}t.s(["parseSampleRate",0,eh],356360);var em=t.i(770483);try{var eM="u">typeof window?window:t.g;eM._sentryModuleMetadata=eM._sentryModuleMetadata||{},eM._sentryModuleMetadata[(new eM.Error).stack]=Object.assign({},eM._sentryModuleMetadata[(new eM.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function eS(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={};for(let[r,a]of Object.entries(null!=t?t:{})){let t=function(t,e){var n;let{value:r,unit:a}="object"==typeof t&&null!=t&&!Array.isArray(t)&&Object.keys(t).includes("value")?t:{value:t,unit:void 0},s=function(t){if(Array.isArray(t))return{value:t,type:"array"};let e="string"==typeof t?"string":"boolean"==typeof t?"boolean":"number"!=typeof t||Number.isNaN(t)?null:Number.isInteger(t)?"integer":"double";if(e)return{value:t,type:e}}(r),i=a&&"string"==typeof a?{unit:a}:{};if(s)return(0,d._)({},s,i);if(!e||"skip-undefined"===e&&void 0===r)return;let o="";try{o=null!=(n=JSON.stringify(r))?n:""}catch(t){}return(0,d._)({value:o,type:"string"},i)}(a,e);t&&(n[r]=t)}return n}t.s(["serializeAttributes",0,eS],732381);try{var ew="u">typeof window?window:t.g;ew._sentryModuleMetadata=ew._sentryModuleMetadata||{},ew._sentryModuleMetadata[(new ew.Error).stack]=Object.assign({},ew._sentryModuleMetadata[(new ew.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}t.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"setHttpStatus",0,function(t,e){t.setAttribute("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return{code:1};if(t>=400&&t<500)switch(t){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}],614049);try{var ev="u">typeof window?window:t.g;ev._sentryModuleMetadata=ev._sentryModuleMetadata||{},ev._sentryModuleMetadata[(new ev.Error).stack]=Object.assign({},ev._sentryModuleMetadata[(new ev.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}try{var eE="u">typeof window?window:t.g;eE._sentryModuleMetadata=eE._sentryModuleMetadata||{},eE._sentryModuleMetadata[(new eE.Error).stack]=Object.assign({},eE._sentryModuleMetadata[(new eE.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let eb="_sentryScope",eT="_sentryIsolationScope";function ek(t,e,n){t&&(Y(t,eT,function(t){try{let e=y.WeakRef;if("function"==typeof e)return new e(t)}catch(t){}return t}(n)),Y(t,eb,e))}function eA(t){return{scope:t[eb],isolationScope:function(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch(t){return}return t}}(t[eT])}}t.s(["getCapturedScopesOnSpan",0,eA,"setCapturedScopesOnSpan",0,ek],39030);try{var eI="u">typeof window?window:t.g;eI._sentryModuleMetadata=eI._sentryModuleMetadata||{},eI._sentryModuleMetadata[(new eI.Error).stack]=Object.assign({},eI._sentryModuleMetadata[(new eI.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let eO=/^o(\d+)\./,ex=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function ej(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{host:n,path:r,pass:a,port:s,projectId:i,protocol:o,publicKey:u}=t;
2return"".concat(o,"://").concat(u).concat(e&&a?":".concat(a):"","@").concat(n).concat(s?":".concat(s):"","/").concat(r?"".concat(r,"/"):r).concat(i)}function eN(t){let e=ex.exec(t);if(!e)return void b(()=>{console.error("Invalid Sentry Dsn: ".concat(t))});let[n,r,a="",s="",i="",o=""]=e.slice(1),u="",c=o,d=c.split("/");if(d.length>1&&(u=d.slice(0,-1).join("/"),c=d.pop()),c){let t=c.match(/^\d+/);t&&(c=t[0])}return eP({host:s,pass:a,path:u,projectId:c,port:i,protocol:n,publicKey:r})}function eP(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function eR(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(e=null==(t=r.match(eO))?void 0:t[1])}return e}t.s(["dsnFromString",0,eN,"dsnToString",0,ej,"extractOrgIdFromClient",0,eR,"makeDsn",0,function(t){let e="string"==typeof t?eN(t):eP(t);if(e&&function(t){if(!w)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(I.error("Invalid Sentry Dsn: ".concat(e," missing")),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(I.error("Invalid Sentry Dsn: Invalid protocol ".concat(r)),!1):!(e&&isNaN(parseInt(e,10)))||(I.error("Invalid Sentry Dsn: Invalid port ".concat(e)),!1):(I.error("Invalid Sentry Dsn: Invalid projectId ".concat(n)),!1))}(e))return e}],838415);try{var eC="u">typeof window?window:t.g;eC._sentryModuleMetadata=eC._sentryModuleMetadata||{},eC._sentryModuleMetadata[(new eC.Error).stack]=Object.assign({},eC._sentryModuleMetadata[(new eC.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let eB=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function eD(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tx(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tj(),n=arguments.length>2?arguments[2]:void 0,r="";return void 0!==n&&(r=n?"-1":"-0"),"".concat(t,"-").concat(e).concat(r)}function eK(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tx(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tj(),n=arguments.length>2?arguments[2]:void 0;return"00-".concat(t,"-").concat(e,"-").concat(n?"01":"00")}t.s(["TRACEPARENT_REGEXP",0,eB,"generateSentryTraceHeader",0,eD,"generateTraceparentHeader",0,eK,"propagationContextFromHeaders",0,function(t,e){let n=function(t){let e;if(!t)return;let n=t.match(eB);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),r=es(e);if(!(null==n?void 0:n.traceId))return{traceId:tx(),sampleRand:V()};let a=function(t,e){let n=eh(null==e?void 0:e.sample_rand);if(void 0!==n)return n;let r=eh(null==e?void 0:e.sample_rate);return r&&(null==t?void 0:t.parentSampled)!==void 0?t.parentSampled?V()*r:r+V()*(1-r):V()}(n,r);r&&(r.sample_rand=a.toString());let{traceId:s,parentSpanId:i,parentSampled:o}=n;return{traceId:s,parentSpanId:i,sampled:o,dsc:r||{},sampleRand:a}},"shouldContinueTrace",0,function(t,e){let n=eR(t);return e&&n&&e!==n?(I.log("Won't continue trace because org IDs don't match (incoming baggage: ".concat(e,", SDK options: ").concat(n,")")),!1):!t.getOptions().strictTraceContinuation||(!e||!!n)&&(!!e||!n)||(I.log("Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ".concat(e,", Sentry client: ").concat(n,")")),!1)}],713370);try{var eU="u">typeof window?window:t.g;eU._sentryModuleMetadata=eU._sentryModuleMetadata||{},eU._sentryModuleMetadata[(new eU.Error).stack]=Object.assign({},eU._sentryModuleMetadata[(new eU.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let eL=!1;function eF(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:a,parent_span_id:s,status:i,origin:o,links:u}=eW(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:a,status:i,origin:o,links:u}}function eY(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),a=r?e:eW(t).parent_span_id,s=eA(t).scope;return{parent_span_id:a,span_id:r?(null==s?void 0:s.getPropagationContext().propagationSpanId)||tj():e,trace_id:n}}function eJ(t){return t&&t.length>0?t.map(t=>{let{context:e}=t,{spanId:n,traceId:r,traceFlags:a}=e,s=(0,em._)(e,["spanId","traceId","traceFlags"]),{attributes:i}=t;return(0,d._)({span_id:n,trace_id:r,sampled:1===a,attributes:i},s)}):void 0}function eG(t){return(null==t?void 0:t.length)?t.map(t=>{let{context:{spanId:e,traceId:n,traceFlags:r},attributes:a}=t;return{span_id:e,trace_id:n,sampled:1===r,attributes:a}}):void 0}function eH(t){return"number"==typeof t?ez(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?ez(t.getTime()):tw()}function ez(t){return t>0x2540be3ff?t/1e3:t}function eW(t){if(eX(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(eq(t)){let{attributes:r,startTime:a,name:s,endTime:i,status:o,links:u}=t;return{span_id:e,trace_id:n,data:r,description:s,parent_span_id:eV(t),start_timestamp:eH(a),timestamp:eH(i)||void 0,status:eQ(o),op:r[t6],origin:r[t8],links:eJ(u)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function eV(t){var e;return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?null==(e=t.parentSpanContext)?void 0:e.spanId:void 0}function eq(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function eX(t){return"function"==typeof t.getSpanJSON}function e$(t){let{traceFlags:e}=t.spanContext();return 1===e}function eQ(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function eZ(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}let e0="_sentryChildSpans",e1="_sentryRootSpan";function e3(t,e){let n=t[e1]||t;Y(e,e1,n),t[e0]?t[e0].add(e):Y(t,e0,new Set([e]))}function e2(t){let e=new Set;return!function t(n){if(!e.has(n)&&e$(n))for(let r of(e.add(n),n[e0]?Array.from(n[e0]):[]))t(r)}(t),Array.from(e)}let e4=e5;function e5(t){return t[e1]||t}function e6(){let t=tq(g());return t.getActiveSpan?t.getActiveSpan():tC(t$())}function e8(){eL||(b(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),eL=!0)}t.s(["INTERNAL_getSegmentSpan",0,e5,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,e3,"convertSpanLinksForEnvelope",0,eJ,"getActiveSpan",0,e6,"getRootSpan",0,e4,"getSimpleStatusMessage",0,eZ,"getSpanDescendants",0,e2,"getStatusMessage",0,eQ,"getStreamedSpanLinks",0,eG,"removeChildSpanFromSpan",0,function(t,e){t[e0]&&t[e0].delete(e)},"showSpanDropWarning",0,e8,"spanIsSampled",0,e$,"spanTimeInputToSeconds",0,eH,"spanToJSON",0,eW,"spanToStreamedSpanJSON",0,function(t){if(eX(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(eq(t)){let{attributes:r,startTime:a,name:s,endTime:i,status:o,links:u}=t;return{name:s,span_id:e,trace_id:n,parent_span_id:eV(t),start_timestamp:eH(a),end_timestamp:eH(i),is_segment:t===e5(t),status:eZ(o),attributes:r,links:eG(u)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===e5(t)}},"spanToTraceContext",0,eY,"spanToTraceHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return eD(e,n,e$(t))},"spanToTraceparentHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return eK(e,n,e$(t))},"spanToTransactionTraceContext",0,eF,"streamedSpanJsonToSerializedSpan",0,function(t){var e;return(0,M._)((0,d._)({},t),{attributes:eS(t.attributes),links:null==(e=t.links)?void 0:e.map(t=>(0,M._)((0,d._)({},t),{attributes:eS(t.attributes)}))})}],724021);try{var e7="u">typeof window?window:t.g;e7._sentryModuleMetadata=e7._sentryModuleMetadata||{},e7._sentryModuleMetadata[(new e7.Error).stack]=Object.assign({},e7._sentryModuleMetadata[(new e7.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let e9="production";t.s(["DEFAULT_ENVIRONMENT",0,e9],104923);try{var nt="u">typeof window?window:t.g;nt._sentryModuleMetadata=nt._sentryModuleMetadata||{},nt._sentryModuleMetadata[(new nt.Error).stack]=Object.assign({},nt._sentryModuleMetadata[(new nt.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}let ne="_frozenDsc";function nn(t,e){Y(t,ne,e)}function nr(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},a={environment:n.environment||e9,release:n.release,public_key:r,trace_id:t,org_id:eR(e)};return e.emit("createDsc",a),a}function na(t){var e,n,r,a,s;let i=t1();if(!i)return{};let o=e4(t),u=eW(o),c=u.data,d=o.spanContext().traceState,l=null!=(e=null!=(n=null==d?void 0:d.get("sentry.sample_rate"))?n:c[t4])?e:c[t5];function p(t){return("number"==typeof l||"string"==typeof l)&&(t.sample_rate="".concat(l)),t}let _=o[ne];if(_)return p(_);let y=null==d?void 0:d.get("sentry.dsc"),f=y&&es(y);if(f)return p(f);let g=nr(t.spanContext().traceId,i),h=null!=(r=c[t2])?r:c["sentry.span.source"],m=u.description;return"url"!==h&&m&&(g.transaction=m),ed()&&(g.sampled=String(e$(o)),g.sample_rand=null!=(a=null==d?void 0:d.get("sentry.sample_rand"))?a:null==(s=eA(o).scope)?void 0:s.getPropagationContext().sampleRand.toString()),p(g),i.emit("createDsc",g,o),g}t.s(["freezeDscOnSpan",0,nn,"getDynamicSamplingContextFromScope",0,function(t,e){let n=e.getPropagationContext();return n.dsc||nr(n.traceId,t)},"getDynamicSamplingContextFromSpan",0,na],957295);try{var ns="u">typeof window?window:t.g;ns._sentryModuleMetadata=ns._sentryModuleMetadata||{},ns._sentryModuleMetadata[(new ns.Error).stack]=Object.assign({},ns._sentryModuleMetadata[(new ns.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}try{var ni="u">typeof window?window:t.g;ni._sentryModuleMetadata=ni._sentryModuleMetadata||{},ni._sentryModuleMetadata[(new ni.Error).stack]=Object.assign({},ni._sentryModuleMetadata[(new ni.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}try{var no="u">typeof window?window:t.g;no._sentryModuleMetadata=no._sentryModuleMetadata||{},no._sentryModuleMetadata[(new no.Error).stack]=Object.assign({},no._sentryModuleMetadata[(new no.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}class nu{spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
2addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}constructor(t={}){this._traceId=t.traceId||tx(),this._spanId=t.spanId||tj(),this.dropReason=t.dropReason}}t.s(["SentryNonRecordingSpan",0,nu],370768);try{var nc="u">typeof window?window:t.g;nc._sentryModuleMetadata=nc._sentryModuleMetadata||{},nc._sentryModuleMetadata[(new nc.Error).stack]=Object.assign({},nc._sentryModuleMetadata[(new nc.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function nd(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}t.s(["isStreamedBeforeSendSpanCallback",0,nd],434606);try{var nl="u">typeof window?window:t.g;nl._sentryModuleMetadata=nl._sentryModuleMetadata||{},nl._sentryModuleMetadata[(new nl.Error).stack]=Object.assign({},nl._sentryModuleMetadata[(new nl.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function np(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[t,e]}function n_(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function ny(t){let e=h(y);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function nf(t){return[{type:"span"},t]}let ng={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function nh(t){if(!(null==t?void 0:t.sdk))return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function nm(t,e,n,r){var a;let s=null==(a=t.sdkProcessingMetadata)?void 0:a.dynamicSamplingContext;return(0,d._)({event_id:t.event_id,sent_at:new Date().toISOString()},e&&{sdk:e},!!n&&r&&{dsn:ej(r)},s&&{trace:s})}t.s(["addItemToEnvelope",0,function(t,e){let[n,r]=t;return[n,[...r,e]]},"createAttachmentEnvelopeItem",0,function(t){let e="string"==typeof t.data?ny(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]},"createEnvelope",0,np,"createEventEnvelopeHeaders",0,nm,"createSpanEnvelopeItem",0,nf,"envelopeContainsItemType",0,function(t,e){return n_(t,(t,n)=>e.includes(n))},"envelopeItemTypeToDataCategory",0,function(t){return t in ng?ng[t]:t},"forEachEnvelopeItem",0,n_,"getSdkMetadataForEnvelopeHeader",0,nh,"serializeEnvelope",0,function(t){let[e,n]=t,r=JSON.stringify(e);function a(t){"string"==typeof r?r="string"==typeof t?r+t:[ny(r),t]:r.push("string"==typeof t?ny(t):t)}for(let t of n){let[e,n]=t;if(a("\n".concat(JSON.stringify(e),"\n")),"string"==typeof n||n instanceof Uint8Array)a(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify(tc(n))}a(t)}}return"string"==typeof r?r:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(r)}],562447);try{var nM="u">typeof window?window:t.g;nM._sentryModuleMetadata=nM._sentryModuleMetadata||{},nM._sentryModuleMetadata[(new nM.Error).stack]=Object.assign({},nM._sentryModuleMetadata[(new nM.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function nS(t,e){let n=na(t[0]),r=null==e?void 0:e.getDsn(),a=null==e?void 0:e.getOptions().tunnel,s=(0,d._)({sent_at:new Date().toISOString()},!!n.trace_id&&!!n.public_key&&{trace:n},!!a&&r&&{dsn:ej(r)}),{beforeSendSpan:i,ignoreSpans:o}=(null==e?void 0:e.getOptions())||{},u=(null==o?void 0:o.length)?t.filter(t=>{let e=eW(t);return!e_({description:e.description,op:e.op,attributes:e.data},o)}):t,c=t.length-u.length;c&&(null==e||e.recordDroppedEvent("before_send","span",c));let l=i?t=>{let e=eW(t),n=nd(i)?e:i(e);return n||(e8(),e)}:eW,p=[];for(let t of u){let e=l(t);e&&p.push(nf(e))}return np(s,p)}t.s(["createEventEnvelope",0,function(t,e,n,r){let a=nh(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){var n,r,a,s;if(!e)return;let i=t.sdk||{};t.sdk=(0,M._)((0,d._)({},i),{name:i.name||e.name,version:i.version||e.version,integrations:[...(null==(n=t.sdk)?void 0:n.integrations)||[],...e.integrations||[]],packages:[...(null==(r=t.sdk)?void 0:r.packages)||[],...e.packages||[]],settings:(null==(a=t.sdk)?void 0:a.settings)||e.settings?(0,d._)({},null==(s=t.sdk)?void 0:s.settings,e.settings):void 0})}
2(t,null==n?void 0:n.sdk);let i=nm(t,a,r,e);return delete t.sdkProcessingMetadata,np(i,[[{type:s},t]])},"createSessionEnvelope",0,function(t,e,n,r){let a=nh(n);return np((0,d._)({sent_at:new Date().toISOString()},a&&{sdk:a},!!r&&e&&{dsn:ej(e)}),["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])},"createSpanEnvelope",0,nS],923708);try{var nw="u">typeof window?window:t.g;nw._sentryModuleMetadata=nw._sentryModuleMetadata||{},nw._sentryModuleMetadata[(new nw.Error).stack]=Object.assign({},nw._sentryModuleMetadata[(new nw.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function nv(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[t7],a=n[t9];"string"==typeof r&&"number"==typeof a&&(e[t.name]={value:a,unit:r})}),e}t.s(["setMeasurement",0,function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e6(),a=r&&e4(r);a&&(w&&I.log("[Measurement] Setting measurement on root span: ".concat(t," = ").concat(e," ").concat(n)),a.addEvent(t,{[t9]:e,[t7]:n}))},"timedEventsToMeasurements",0,nv],201037);try{var nE="u">typeof window?window:t.g;nE._sentryModuleMetadata=nE._sentryModuleMetadata||{},nE._sentryModuleMetadata[(new nE.Error).stack]=Object.assign({},nE._sentryModuleMetadata[(new nE.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}class nb{addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,e){}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:+!!n}}setAttribute(t,e){return void 0===e?delete this._attributes[t]:this._attributes[t]=e,this}setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._startTime=eH(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(t2,"custom"),this}end(t){this._endTime||(this._endTime=eH(t),function(t){if(!w)return;let{description:e="< unknown name >",op:n="< unknown op >"}=eW(t),{spanId:r}=t.spanContext(),a=e4(t)===t,s='[Tracing] Finishing "'.concat(n,'" ').concat(a?"root ":"",'span "').concat(e,'" with ID ').concat(r);I.log(s)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[t6],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:eQ(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[t8],profile_id:this._attributes[ee],exclusive_time:this._attributes[en],measurements:nv(this._events),is_segment:this._isStandaloneSpan&&e4(this)===this||void 0,segment_id:this._isStandaloneSpan?e4(this).spanContext().spanId:void 0,links:eJ(this._links)}}getStreamedSpanJSON(){var t,e;return{name:null!=(t=this._name)?t:"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:null!=(e=this._endTime)?e:this._startTime,is_segment:this._isStandaloneSpan||this===e4(this),status:eZ(this._status),attributes:this._attributes,links:eG(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){w&&I.log("[Tracing] Adding an event to span:",t);let r=nT(e)?e:n||tw(),a=nT(e)?{}:e||{},s={name:t,time:eH(r),attributes:a};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=t1();if(t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===e4(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=t1();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(nS([this],t)):(w&&I.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));if(t&&ef(t))return void t.emit("afterSegmentSpanEnd",this);let e=this._convertSpanToTransaction();e&&(eA(this).scope||t$()).captureEvent(e)}_convertSpanToTransaction(){var t;if(!nk(eW(this)))return;this._name||(w&&I.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:n}=eA(this),r=null==e||null==(t=e.getScopeData().sdkProcessingMetadata)?void 0:t.normalizedRequest;if(!0!==this._sampled)return;let a=e2(this).filter(t=>{var e;return t!==this&&!((e=t)instanceof nb&&e.isStandaloneSpan())}).map(t=>eW(t)).filter(nk),s=this._attributes[t2];delete this._attributes[et];let i=!1;a.forEach(t=>{var e;delete t.data[et],(null==(e=t.op)?void 0:e.startsWith("gen_ai."))&&(i=!0)});let o=(0,d._)({contexts:{trace:eF(this)},spans:a.length>1e3?a.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):a,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:n,dynamicSamplingContext:na(this),hasGenAiSpans:i},request:r},s&&{transaction_info:{source:s}}),u=nv(this._events);return u&&Object.keys(u).length&&(w&&I.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),o.measurements=u),o}constructor(t={}){this._traceId=t.traceId||tx(),this._spanId=t.spanId||tj(),this._startTime=t.startTimestamp||tw(),this._links=t.links,this._attributes={},this.setAttributes((0,d._)({[t8]:"manual",[t6]:t.op},t.attributes)),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}}function nT(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function nk(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}t.s(["SentrySpan",0,nb],654589);try{var nA="u">typeof window?window:t.g;nA._sentryModuleMetadata=nA._sentryModuleMetadata||{},nA._sentryModuleMetadata[(new nA.Error).stack]=Object.assign({},nA._sentryModuleMetadata[(new nA.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function nI(t,e){let n=tq(g());return n.withActiveSpan?n.withActiveSpan(t,e):t0(n=>(tR(n,t||void 0),e(n)))}function nO(t,e,n){var r,a;let s=t1(),i=(null==s?void 0:s.getOptions())||{},{name:o=""}=t,u={spanAttributes:(0,d._)({},t.attributes),spanName:o,parentSampled:n};null==s||s.emit("beforeSampling",u,{decision:!1});let c=null!=(r=u.parentSampled)?r:n,l=u.spanAttributes,p=e.getPropagationContext(),_=nx(e),[y,f,g]=_?[!1]:function(t,e,n){let r,a;
2if(!ed(t))return[!1];"function"==typeof t.tracesSampler?(r=t.tracesSampler((0,M._)((0,d._)({},e),{inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t})),a=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,a=!0);let s=eh(r);if(void 0===s)return w&&I.warn("[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(r)," of type ").concat(JSON.stringify(typeof r),".")),[!1];if(!s)return w&&I.log("[Tracing] Discarding transaction because ".concat("function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,s,a];let i=n<s;return!i&&w&&I.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(r),")")),[i,s,a]}(i,{name:o,parentSampled:c,attributes:l,parentSampleRate:eh(null==(a=p.dsc)?void 0:a.sample_rate)},p.sampleRand),h=new nb((0,M._)((0,d._)({},t),{attributes:(0,d._)({[t2]:"custom",[t4]:void 0!==f&&g?f:void 0},l),sampled:y}
2));return y||!s||_||(w&&I.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),s.recordDroppedEvent("sample_rate",ef(s)?"span":"transaction")),s&&s.emit("spanStart",h),h}function nx(t){return!0===t.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}t.s(["startInactiveSpan",0,function(t){let e=tq(g());if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=function(t){let e=t.experimental||{},n=(0,d._)({isStandalone:e.standalone},t);if(t.startTime){let e=(0,d._)({},n);return e.startTimestamp=eH(t.startTime),delete e.startTime,e}return n}(t),{forceTransaction:r,parentSpan:a}=t;return(t.scope?e=>t0(t.scope,e):void 0!==a?t=>nI(a,t):t=>t())(()=>{let e=t$(),s=function(t,e){if(e)return e;if(null===e)return;let n=tC(t);if(!n)return;let r=t1();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?e4(n):n}(e,a),i=t1();return t.onlyIfParent&&!s?(null==i||i.recordDroppedEvent("no_parent_span","span"),new nu):function(t){var e,n,r,a;let s,i,{parentSpan:o,spanArguments:u,forceTransaction:c,scope:l}=t;if(!ed()){let t=new nu;if(c||!o){let e=(0,d._)({sampled:"false",sample_rate:"0",transaction:u.name},na(t));nn(t,e)}return t}let p=t1();if(e=p,n=u,s=null==e?void 0:e.getOptions().ignoreSpans,e&&ef(e)&&(null==s?void 0:s.length)&&e_({description:n.name||"",op:(null==(r=n.attributes)?void 0:r[t6])||n.op,attributes:n.attributes},s)){return nx(l)||null==p||p.recordDroppedEvent("ignored","span"),new nu({dropReason:"ignored",traceId:null!=(a=null==o?void 0:o.spanContext().traceId)?a:l.getPropagationContext().traceId})}let _=tQ();if(o&&!c)i=function(t,e,n){let{spanId:r,traceId:a}=t.spanContext(),s=nx(e),i=!s&&e$(t),o=i?new nb((0,M._)((0,d._)({},n),{parentSpanId:r,traceId:a,sampled:i})):new nu({traceId:a});e3(t,o);let u=t1();return u&&(ef(u)&&o instanceof nu&&(t instanceof nu&&t.dropReason?(o.dropReason=t.dropReason,u.recordDroppedEvent(t.dropReason,"span")):s||(o.dropReason="sample_rate",u.recordDroppedEvent("sample_rate","span"))),u.emit("spanStart",o),n.endTimestamp&&(u.emit("spanEnd",o),u.emit("afterSpanEnd",o))),o}(o,l,u),e3(o,i);else if(o){let t=na(o),{traceId:e,spanId:n}=o.spanContext(),r=e$(o);nn(i=nO((0,d._)({traceId:e,parentSpanId:n},u),l,r),t)}else{let{traceId:t,dsc:e,parentSpanId:n,sampled:r}=(0,d._)({},_.getPropagationContext(),l.getPropagationContext());i=nO((0,d._)({traceId:t,parentSpanId:n},u),l,r),e&&nn(i,e)}return!function(t){if(!w)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=eW(t),{spanId:a}=t.spanContext(),s=e$(t),i=e4(t),o=i===t,u="[Tracing] Starting ".concat(s?"sampled":"unsampled"," ").concat(o?"root ":"","span"),c=["op: ".concat(n),"name: ".concat(e),"ID: ".concat(a)];if(r&&c.push("parent ID: ".concat(r)),!o){let{op:t,description:e}=eW(i);c.push("root ID: ".concat(i.spanContext().spanId)),t&&c.push("root op: ".concat(t)),e&&c.push("root description: ".concat(e))}I.log("".concat(u,"\n ").concat(c.join("\n ")))}(i),ek(i,l,_),i}({parentSpan:s,spanArguments:n,forceTransaction:r,scope:e})})},"startNewTrace",0,function(t){let e=tq(g());return e.startNewTrace?e.startNewTrace(t):t0(e=>(e.setPropagationContext({traceId:tx(),sampleRand:V()}),w&&I.log("Starting a new trace with id ".concat(e.getPropagationContext().traceId)),nI(null,t)))},"withActiveSpan",0,nI],615484);try{var nj="u">typeof window?window:t.g;nj._sentryModuleMetadata=nj._sentryModuleMetadata||{},nj._sentryModuleMetadata[(new nj.Error).stack]=Object.assign({},nj._sentryModuleMetadata[(new nj.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function nN(t){return new nR(e=>{e(t)})}function nP(t){return new nR((e,n)=>{n(t)})}class nR{then(t,e){return new nR((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new nR((e,n)=>{let r,a;return this.then(e=>{a=!1,r=e,t&&t()},e=>{a=!0,r=e,t&&t()}).then(()=>{a?n(r):e(r)})})}_executeHandlers(){if(0===this._state)return;let t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)})}_runExecutor(t){let e=(t,e)=>{if(0===this._state){if(U(e))return void e.then(n,r);this._state=t,this._value=e,this._executeHandlers()}},n=t=>{e(1,t)},r=t=>{e(2,t)};try{t(n,r)}catch(t){r(t)}}constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}}t.s(["rejectedSyncPromise",0,nP,"resolvedSyncPromise",0,nN],370018);try{var nC="u">typeof window?window:t.g;nC._sentryModuleMetadata=nC._sentryModuleMetadata||{},nC._sentryModuleMetadata[(new nC.Error).stack]=Object.assign({},nC._sentryModuleMetadata[(new nC.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}try{var nB="u">typeof window?window:t.g;nB._sentryModuleMetadata=nB._sentryModuleMetadata||{},nB._sentryModuleMetadata[(new nB.Error).stack]=Object.assign({},nB._sentryModuleMetadata[(new nB.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}try{var nD="u">typeof window?window:t.g;nD._sentryModuleMetadata=nD._sentryModuleMetadata||{},nD._sentryModuleMetadata[(new nD.Error).stack]=Object.assign({},nD._sentryModuleMetadata[(new nD.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function nK(t,e){var n,r,a,s,i,o,u,c;
2let l,p,{fingerprint:_,span:y,breadcrumbs:f,sdkProcessingMetadata:g}=e;(function(t,e){let{extra:n,tags:r,user:a,contexts:s,level:i,transactionName:o}=e;Object.keys(n).length&&(t.extra=(0,d._)({},n,t.extra)),Object.keys(r).length&&(t.tags=(0,d._)({},r,t.tags)),Object.keys(a).length&&(t.user=(0,d._)({},a,t.user)),Object.keys(s).length&&(t.contexts=(0,d._)({},s,t.contexts)),i&&(t.level=i),o&&"transaction"!==t.type&&(t.transaction=o)})(t,e),y&&(n=t,r=y,n.contexts=(0,d._)({trace:eY(r)},n.contexts),n.sdkProcessingMetadata=(0,d._)({dynamicSamplingContext:na(r)},n.sdkProcessingMetadata),(l=eW(e4(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=l)),a=t,s=_,a.fingerprint=a.fingerprint?Array.isArray(a.fingerprint)?a.fingerprint:[a.fingerprint]:[],s&&(a.fingerprint=a.fingerprint.concat(s)),a.fingerprint.length||delete a.fingerprint,i=t,o=f,p=[...i.breadcrumbs||[],...o],i.breadcrumbs=p.length?p:void 0,u=t,c=g,u.sdkProcessingMetadata=(0,d._)({},u.sdkProcessingMetadata,c)}function nU(t,e){let{extra:n,tags:r,attributes:a,user:s,contexts:i,level:o,sdkProcessingMetadata:u,breadcrumbs:c,fingerprint:l,eventProcessors:p,attachments:_,propagationContext:y,transactionName:f,span:g}=e;nL(t,"extra",n),nL(t,"tags",r),nL(t,"attributes",a),nL(t,"user",s),nL(t,"contexts",i),t.sdkProcessingMetadata=tI(t.sdkProcessingMetadata,u,2),o&&(t.level=o),f&&(t.transactionName=f),g&&(t.span=g),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),_.length&&(t.attachments=[...t.attachments,..._]),t.propagationContext=(0,d._)({},t.propagationContext,y)}function nL(t,e,n){t[e]=tI(t[e],n,1)}function nF(t,e){let n=tZ().getScopeData();return t&&nU(n,t.getScopeData()),e&&nU(n,e.getScopeData()),n}t.s(["applyScopeDataToEvent",0,nK,"getCombinedScopeData",0,nF],383754);try{var nY="u">typeof window?window:t.g;nY._sentryModuleMetadata=nY._sentryModuleMetadata||{},nY._sentryModuleMetadata[(new nY.Error).stack]=Object.assign({},nY._sentryModuleMetadata[(new nY.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}function nJ(t){if(t){var e;return(e=t)instanceof tD||"function"==typeof e||Object.keys(t).some(t=>nG.includes(t))?{captureContext:t}:t}}let nG=["user","level","extra","contexts","tags","fingerprint","propagationContext"];t.s(["parseEventHintOrCaptureContext",0,nJ,"prepareEvent",0,function(t,e,n,r,a,s){var l,p,_,f,g;let h,{normalizeDepth:m=3,normalizeMaxBreadth:S=1e3}=t,v=(0,M._)((0,d._)({},e),{event_id:e.event_id||n.event_id||tf(),timestamp:e.timestamp||tS()}),E=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:a,maxValueLength:s}=e;t.environment=t.environment||n||e9,!t.release&&r&&(t.release=r),!t.dist&&a&&(t.dist=a);let i=t.request;if((null==i?void 0:i.url)&&s&&(i.url=tp(i.url,s)),s){var o,u;null==(u=t.exception)||null==(o=u.values)||o.forEach(t=>{t.value&&(t.value=tp(t.value,s))})}})(v,t),l=v,(p=E).length>0&&(l.sdk=l.sdk||{},l.sdk.integrations=[...l.sdk.integrations||[],...p]),a&&a.emit("applyFrameMetadata",e),void 0===e.type&&(_=v,h=function(t){let e=y._sentryDebugIds,n=y._debugIds;if(!e&&!n)return{};let r=e?Object.keys(e):[],a=n?Object.keys(n):[];if(c&&r.length===o&&a.length===u)return c;o=r.length,u=a.length,c={},i||(i={});let s=(e,n)=>{for(let r of e){let e=n[r],a=null==i?void 0:i[r];if(a&&c&&e)c[a[0]]=e,i&&(i[r]=[a[0],e]);else if(e){let n=t(r);for(let t=n.length-1;t>=0;t--){let a=n[t],s=null==a?void 0:a.filename;if(s&&c&&i){c[s]=e,i[r]=[s,e];break}}}}};return e&&s(r,e),n&&s(a,n),c}(t.stackParser),null==(g=_.exception)||null==(f=g.values)||f.forEach(t=>{var e,n;null==(n=t.stacktrace)||null==(e=n.frames)||e.forEach(t=>{t.filename&&(t.debug_id=h[t.filename])})}));let b=function(t,e){if(!e)return t;let n=t?t.clone():new tD;return n.update(e),n}(r,n.captureContext);n.mechanism&&th(v,n.mechanism);let T=a?a.getEventProcessors():[],k=nF(s,b),A=[...n.attachments||[],...k.attachments];A.length&&(n.attachments=A),nK(v,k);let O=[...T,...k.eventProcessors];return(n.data&&!0===n.data.__sentry__?nN(v):function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;try{let a=function t(e,n,r,a){let s=r[a];if(!e||!s)return e;let i=s((0,d._)({},e),n);return(w&&null===i&&I.log('Event processor "'.concat(s.id||"?",'" dropped event')),U(i))?i.then(e=>t(e,n,r,a+1)):t(i,n,r,a+1)}(e,n,t,r);return U(a)?a:nN(a)}catch(t){return nP(t)}}(O,v,n)).then(t=>(t&&function(t){var e,n;let r={};if(null==(n=t.exception)||null==(e=n.values)||e.forEach(t=>{var e,n;null==(n=t.stacktrace)||null==(e=n.frames)||e.forEach(t=>{t.debug_id&&(t.abs_path?r[t.abs_path]=t.debug_id:t.filename&&(r[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(r).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let a=t.debug_meta.images;Object.entries(r).forEach(t=>{let[e,n]=t;a.push({type:"sourcemap",code_file:e,debug_id:n})})}(t),"number"==typeof m&&m>0)?function(t,e,n){var r,a;if(!t)return null;let s=(0,d._)({},t,t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>(0,d._)({}
2,t,t.data&&{data:tc(t.data,e,n)}))},t.user&&{user:tc(t.user,e,n)},t.contexts&&{contexts:tc(t.contexts,e,n)},t.extra&&{extra:tc(t.extra,e,n)});return(null==(r=t.contexts)?void 0:r.trace)&&s.contexts&&(s.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(s.contexts.trace.data=tc(t.contexts.trace.data,e,n))),t.spans&&(s.spans=t.spans.map(t=>(0,d._)({},t,t.data&&{data:tc(t.data,e,n)}))),(null==(a=t.contexts)?void 0:a.flags)&&s.contexts&&(s.contexts.flags=tc(t.contexts.flags,3,n)),s}(t,m,S):t)}],900213);try{var nH="u">typeof window?window:t.g;nH._sentryModuleMetadata=nH._sentryModuleMetadata||{},nH._sentryModuleMetadata[(new nH.Error).stack]=Object.assign({},nH._sentryModuleMetadata[(new nH.Error).stack],{"_sentryBundlerPluginAppKey:junyi-frontend":!0})}catch(t){}async function nz(t){let e=t1();return e?e.flush(t):(w&&I.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function nW(){let t=tQ(),e=t$().getSession()||t.getSession();e&&tk(e),nV(),t.setSession()}function nV(){let t=tQ(),e=t1(),n=t.getSession();n&&e&&e.captureSession(n)}t.s(["addEventProcessor",0,function(t){tQ().addEventProcessor(t)},"captureEvent",0,function(t,e){return t$().captureEvent(t,e)},"captureException",0,function(t,e){return t$().captureException(t,nJ(e))},"captureSession",0,function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?nW():nV()},"flush",0,nz,"isEnabled",0,function(){let t=t1();return(null==t?void 0:t.getOptions().enabled)!==!1&&!!(null==t?void 0:t.getTransport())},"lastEventId",0,function(){return tQ().lastEventId()},"setContext",0,function(t,e){tQ().setContext(t,e)},"setUser",0,function(t){tQ().setUser(t)},"startSession",0,function(t){let e=tQ(),{user:n}=nF(e,t$()),{userAgent:r}=y.navigator||{},a=tb((0,d._)({user:n},r&&{userAgent:r},t)),s=e.getSession();return(null==s?void 0:s.status)==="ok"&&tT(s,{status:"exited"}),nW(),e.setSession(a),a}],804805)}]); 3 4//# debugId=194cbb56-e2e3-e877-c05e-83d530f617f8
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.