PageSourceSearch

https://ptpp.co.id/_nuxt/86b54a5.js

js ptpp.co.id collected 2026-10-02 11:16:43 UTC 43,105 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[285],{126:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return d}));var r=n(12),o=n(161);function c(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function h(t,e={}){const n="string"==typeof e?e:e.tunnel,o="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${c(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return Object(r.h)({sentry_key:t.publicKey,sentry_version:"7",...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,o)}`}function d(t,e){const n=Object(o.b)(t),r=`${c(n)}embed/error-page/`;let h=`dsn=${Object(o.a)(n)}`;for(const t in e)if("dsn"!==t)if("user"===t){const t=e.user;if(!t)continue;t.name&&(h+=`&name=${encodeURIComponent(t.name)}`),t.email&&(h+=`&email=${encodeURIComponent(t.email)}`)}else h+=`&${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`;return`${r}?${h}`}},128:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(12),o=n(94),c=n(2),h=n(95);class d extends h.a{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,e){super(t),d.prototype.__init.call(this),d.prototype.__init2.call(this),d.prototype.__init3.call(this),this._hub=e||Object(c.b)(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this;const n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(t){this.setName(t)}setName(t,source="custom"){this._name=t,this.metadata.source=source}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new h.b(t)),this.spanRecorder.add(this)}setContext(t,e){null===e?delete this._contexts[t]:this._contexts[t]=e}setMeasurement(t,e,n=""){this._measurements[t]={value:e,unit:n}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(void 0!==this.endTimestamp)return;this.name||(this.name="<unlabeled transaction>"),super.finish(t);const e=this._hub.getClient();if(e&&e.emit&&e.emit("finishTransaction",this),!0!==this.sampled)return void(e&&e.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((s=>s!==this&&s.endTimestamp)):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce(((t,e)=>t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t)).endTimestamp);const r=this.metadata,o={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...r,dynamicSamplingContext:this.getDynamicSamplingContext()},...r.source&&{transaction_info:{source:r.source}}};return Object.keys(this._measurements).length>0&&(o.measurements=this._measurements),this._hub.captureEvent(o)}toContext(){const t=super.toContext();return Object(r.c)({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||Object(c.b)(),e=t&&t.getClient();if(!e)return{};const{environment:n,release:h}=e.getOptions()||{},{publicKey:d}=e.getDsn()||{},_=this.metadata.sampleRate,l=void 0!==_?_.toString():void 0,{segment:f}=t.getScope().getUser()||{},source=this.metadata.source,m=source&&"url"!==source?this.name:void 0,v=Object(r.c)({environment:n||o.a,release:h,transaction:m,user_segment:f,public_key:d,trace_id:this.traceId,sample_rate:l});return e.emit&&e.emit("createDsc",v),v}setHub(t){this._hub=t}}},130:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return _}));var r=n(34),o=n(2),c=n(52);const h=[];function d(t){const e=t.defaultIntegrations||[],n=t.integrations;let o;e.forEach((t=>{t.isDefaultInstance=!0})),o=Array.isArray(n)?[...e,...n]:"function"==typeof n?Object(r.c)(n(e)):e;const c=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.keys(e).map((t=>e[t]))}(o),h=function(t,e){for(let i=0;i<t.length;i++)if(!0===e(t[i]))return i;return-1}(c,(t=>"Debug"===t.name));if(-1!==h){const[t]=c.splice(h,1);c.push(t)}return c}function _(t){const e={};return t.forEach((t=>{t&&l(t,e)})),e}function l(t,e){e[t.name]=t,-1===h.indexOf(t.name)&&(t.setupOnce(c.b,o.b),h.push(t.name))}},132:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="7.45.0"},153:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h}));var r=n(53),o=n(95),c=n(128);const h={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},d=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class _ extends o.b{constructor(t,e,n,r){super(r),this._pushActivity=t,this._popActivity=e,this.transactionSpanId=n}add(span){span.spanId!==this.transactionSpanId&&(span.finish=t=>{span.endTimestamp="number"==typeof t?t:Object(r.d)(),this._popActivity(span.spanId)},void 0===span.endTimestamp&&this._pushActivity(span.spanId)),super.add(span)}}class l extends c.a{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._idleTimeoutCanceledPermanently=!1}__init5(){this._beforeFinishCallbacks=[]}__init6(){this._finishReason=d[4]}constructor(t,e,n=h.idleTimeout,r=h.finalTimeout,o=h.heartbeatInterval,c=!1){super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=o,this._onScope=c,l.prototype.__init.call(this),l.prototype.__init2.call(this),l.prototype.__init3.call(this),l.prototype.__init4.call(this),l.prototype.__init5.call(this),l.prototype.__init6.call(this),c&&(f(e),e.configureScope((t=>t.setSpan(this)))),this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=d[3],this.finish())}),this._finalTimeout)}finish(t=Object(r.d)()){if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((span=>{if(span.spanId===this.spanId)return!0;span.endTimestamp||(span.endTimestamp=t,span.setStatus("cancelled"));const e=span.startTimestamp<t;return e}))}return this._onScope&&f(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const e=t=>{this._finished||this._pushActivity(t)},n=t=>{this._finished||this._popActivity(t)};this.spanRecorder=new _(e,n,this.spanId,t),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:e}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===e,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=d[5],this.finish(t)))}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=d[1],this.finish(t))}),this._idleTimeout)}
1_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),this.activities[t]=!0}_popActivity(t){if(this.activities[t]&&delete this.activities[t],0===Object.keys(this.activities).length){const t=Object(r.d)();this._idleTimeoutCanceledPermanently?(this._finishReason=d[5],this.finish(t)):this._restartIdleTimeout(t+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(this.setStatus("deadline_exceeded"),this._finishReason=d[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function f(t){const e=t.getScope();e.getTransaction()&&e.setSpan(void 0)}},155:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(34),o=n(53),c=n(60),h=n(47),d=n(28),_=n(65),l=n(94),f=n(52);function m(t,e,n,m){const{normalizeDepth:v=3,normalizeMaxBreadth:S=1e3}=t,y={...e,event_id:e.event_id||n.event_id||Object(r.f)(),timestamp:e.timestamp||Object(o.b)()},x=n.integrations||t.integrations.map((i=>i.name));!function(t,e){const{environment:n,release:r,dist:o,maxValueLength:c=250}=e;"environment"in t||(t.environment="environment"in e?n:l.a);void 0===t.release&&void 0!==r&&(t.release=r);void 0===t.dist&&void 0!==o&&(t.dist=o);t.message&&(t.message=Object(h.d)(t.message,c));const d=t.exception&&t.exception.values&&t.exception.values[0];d&&d.value&&(d.value=Object(h.d)(d.value,c));const _=t.request;_&&_.url&&(_.url=Object(h.d)(_.url,c))}(y,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(y,x),function(t,e){const n=d.a._sentryDebugIds;if(!n)return;const r=Object.keys(n).reduce(((t,r)=>{const o=e(r);for(const e of o)if(e.abs_path){t[e.abs_path]=n[r];break}return t}),{}),o=new Set;try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.abs_path&&o.add(t.abs_path)}))}))}catch(t){}t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const c=t.debug_meta.images;o.forEach((t=>{r[t]&&c.push({type:"sourcemap",code_file:t,debug_id:r[t]})}))}(y,t.stackParser);let O=m;n.captureContext&&(O=f.a.clone(O).update(n.captureContext));let j=Object(c.c)(y);if(O){if(O.getAttachments){const t=[...n.attachments||[],...O.getAttachments()];t.length&&(n.attachments=t)}j=O.applyToEvent(y,n)}return j.then((t=>"number"==typeof v&&v>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((b=>({...b,...b.data&&{data:Object(_.a)(b.data,e,n)}})))},...t.user&&{user:Object(_.a)(t.user,e,n)},...t.contexts&&{contexts:Object(_.a)(t.contexts,e,n)},...t.extra&&{extra:Object(_.a)(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=Object(_.a)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((span=>(span.data&&(span.data=Object(_.a)(span.data,e,n)),span))));return r}(t,v,S):t))}},156:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2);function o(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=Object(r.b)().getClient(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},18:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={};n.r(r),n.d(r,"FunctionToString",(function(){return o.a})),n.d(r,"InboundFilters",(function(){return c.a}));var o=n(184),c=n(185)},184:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(12);let o;class c{constructor(){c.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=c.id}setupOnce(){o=Function.prototype.toString,Function.prototype.toString=function(...t){const e=Object(r.f)(this)||this;return o.apply(e,t)}}}c.__initStatic()},185:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(47);const o=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class c{static __initStatic(){this.id="InboundFilters"}__init(){this.name=c.id}constructor(t={}){this._options=t,c.prototype.__init.call(this)}setupOnce(t,e){const n=t=>{const n=e();if(n){const e=n.getIntegration(c);if(e){const c=n.getClient(),d=c?c.getOptions():{},_=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...o],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(e._options,d);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return!0;
1if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:n=""}=t.exception.values&&t.exception.values[0]||{};return[`${n}`,`${e}: ${n}`]}catch(t){return[]}return[]}(t).some((t=>Object(r.c)(t,e)))}(t,e.ignoreErrors))return!0;if(function(t,e){if(!e||!e.length)return!1;const n=h(t);return!!n&&Object(r.c)(n,e)}(t,e.denyUrls))return!0;if(!function(t,e){if(!e||!e.length)return!0;const n=h(t);return!n||Object(r.c)(n,e)}(t,e.allowUrls))return!0;return!1}(t,_)?null:t}}return t};n.id=this.name,t(n)}}function h(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let i=t.length-1;i>=0;i--){const e=t[i];if(e&&"<anonymous>"!==e.filename&&"[native code]"!==e.filename)return e.filename||null}return null}(e):null}catch(t){return null}}c.__initStatic()},192:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2);function o(t){return(t||Object(r.b)()).getScope().getTransaction()}},194:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return x}));var r=n(8),o=n(2),c=n(156),h=n(67),d=n(192);let _=!1;function l(){const t=Object(d.a)();if(t){const e="internal_error";t.setStatus(e)}}l.tag="sentry_tracingErrorCallback";var f=n(153),m=n(128);function v(){const span=this.getScope().getSpan();return span?{"sentry-trace":span.toTraceparent()}:{}}function S(t,e,n){if(!Object(c.a)(e))return t.sampled=!1,t;if(void 0!==t.sampled)return t.setMetadata({sampleRate:Number(t.sampled)}),t;let o;return"function"==typeof e.tracesSampler?(o=e.tracesSampler(n),t.setMetadata({sampleRate:Number(o)})):void 0!==n.parentSampled?o=n.parentSampled:void 0!==e.tracesSampleRate?(o=e.tracesSampleRate,t.setMetadata({sampleRate:Number(o)})):(o=1,t.setMetadata({sampleRate:o})),function(t){if(Object(r.h)(t)||"number"!=typeof t&&"boolean"!=typeof t)return!1;if(t<0||t>1)return!1;return!0}(o)&&o?(t.sampled=Math.random()<o,t.sampled,t):(t.sampled=!1,t)}function y(t,e){const n=this.getClient(),r=n&&n.getOptions()||{};(r.instrumenter||"sentry")!==(t.instrumenter||"sentry")&&(t.sampled=!1);let o=new m.a(t,this);return o=S(o,r,{parentSampled:t.parentSampled,transactionContext:t,...e}),o.sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",o),o}function x(t,e,n,r,o,c,h){const d=t.getClient(),_=d&&d.getOptions()||{};let l=new f.a(e,t,n,r,h,o);return l=S(l,_,{parentSampled:e.parentSampled,transactionContext:e,...c}),l.sampled&&l.initSpanRecorder(_._experiments&&_._experiments.maxSpans),d&&d.emit&&d.emit("startTransaction",l),l}function O(){const t=Object(o.d)();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=y),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=v),_||(_=!0,Object(h.a)("error",l),Object(h.a)("unhandledrejection",l)))}},2:function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return x})),n.d(e,"c",(function(){return j})),n.d(e,"d",(function(){return S})),n.d(e,"e",(function(){return y}));var r=n(34),o=n(53),c=n(154),h=n(28),d=n(42),_=n(94),l=n(52),f=n(59);const m=100;class v{constructor(t,e=new l.a,n=4){this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=l.a.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){const e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){const n=this._lastEventId=e&&e.event_id?e.event_id:Object(r.f)(),o=new Error("Sentry syntheticException");return this._withClient(((r,c)=>{r.captureException(t,{originalException:t,syntheticException:o,...e,event_id:n},c)})),n}captureMessage(t,e,n){const o=this._lastEventId=n&&n.event_id?n.event_id:Object(r.f)(),c=new Error(t);return this._withClient(((r,h)=>{r.captureMessage(t,e,{originalException:t,syntheticException:c,...n,event_id:o},h)})),o}captureEvent(t,e){const n=e&&e.event_id?e.event_id:Object(r.f)();return t.type||(this._lastEventId=n),this._withClient(((r,o)=>{r.captureEvent(t,{...e,event_id:n},o)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:h=null,maxBreadcrumbs:d=m}=r.getOptions&&r.getOptions()||{};if(d<=0)return;
1const _={timestamp:Object(o.b)(),...t},l=h?Object(c.b)((()=>h(_,e))):_;null!==l&&(r.emit&&r.emit("beforeAddBreadcrumb",l,e),n.addBreadcrumb(l,d))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){const e=y(this);try{t(this)}finally{y(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(t){return null}}startTransaction(t,e){return this._callExtensionMethod("startTransaction",t,e)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&Object(f.a)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:o=_.a}=n&&n.getOptions()||{},{userAgent:c}=h.a.navigator||{},d=Object(f.b)({release:r,environment:o,user:e.getUser(),...c&&{userAgent:c},...t}),l=e.getSession&&e.getSession();return l&&"ok"===l.status&&Object(f.c)(l,{status:"exited"}),this.endSession(),e.setSession(d),d}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop();if(!t)return;const n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=S().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e)}}function S(){return h.a.__SENTRY__=h.a.__SENTRY__||{extensions:{},hub:void 0},h.a}function y(t){const e=S(),n=j(e);return T(e,t),n}function x(){const t=S();return O(t)&&!j(t).isOlderThan(4)||T(t,new v),Object(d.b)()?function(t){try{const e=S().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return j(t);if(!O(n)||j(n).isOlderThan(4)){const e=j(t).getStackTop();T(n,new v(e.client,l.a.clone(e.scope)))}return j(n)}catch(e){return j(t)}}(t):j(t)}function O(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function j(t){return Object(h.c)("hub",(()=>new v),t)}function T(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}},238:function(t,e,n){"use strict";n.d(e,"a",(function(){return _}));var r=n(550),o=n(66),c=n(263),h=n(60),d=n(87);function _(t,e,n=Object(r.a)(t.bufferSize||30)){let _={};function f(r){const f=[];
1if(Object(o.g)(r,((e,n)=>{const r=Object(o.f)(n);if(Object(c.a)(_,r)){const o=l(e,n);t.recordDroppedEvent("ratelimit_backoff",r,o)}else f.push(e)})),0===f.length)return Object(h.c)();const m=Object(o.c)(r[0],f),v=e=>{Object(o.g)(m,((n,r)=>{const c=l(n,r);t.recordDroppedEvent(e,Object(o.f)(r),c)}))};return n.add((()=>e({body:Object(o.j)(m,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode),_=Object(c.c)(_,t),t)),(t=>{throw v("network_error"),t})))).then((t=>t),(t=>{if(t instanceof d.a)return v("queue_overflow"),Object(h.c)();throw t}))}return f.__sentry__baseTransport__=!0,{send:f,flush:t=>n.drain(t)}}function l(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}},239:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2);function o(t,e){!0===e.debug&&console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");const n=Object(r.b)();n.getScope().update(e.initialScope);const o=new t(e);n.bindClient(o)}},240:function(t,e,n){"use strict";n.d(e,"a",(function(){return S}));var r=n(161),o=n(34),c=n(8),h=n(60),d=n(66),_=n(87),l=n(126);var f=n(130),m=n(59),v=n(155);class S{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(t){if(S.prototype.__init.call(this),S.prototype.__init2.call(this),S.prototype.__init3.call(this),S.prototype.__init4.call(this),S.prototype.__init5.call(this),this._options=t,t.dsn){this._dsn=Object(r.b)(t.dsn);const e=Object(l.a)(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){if(Object(o.d)(t))return;let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let o=n&&n.event_id;const h=Object(c.j)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(h.then((t=>this._captureEvent(t,n,r))).then((t=>{o=t}))),o}captureEvent(t,e,n){if(e&&e.originalException&&Object(o.d)(e.originalException))return;let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){this._isEnabled()&&("string"!=typeof t.release||(this.sendSession(t),Object(m.c)(t,{init:!1})))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):Object(h.c)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=Object(f.c)(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(t){return null}}addIntegration(t){Object(f.b)(t,this._integrations)}sendEvent(t,e={}){if(this._dsn){let n=function(t,e,n,r){const o=Object(d.h)(n),c=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const h=Object(d.d)(t,o,r,e);delete t.sdkProcessingMetadata;const _=[{type:c},t];return Object(d.c)(h,[_])}(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=Object(d.a)(n,Object(d.b)(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}}sendSession(t){if(this._dsn){const e=function(t,e,n,o){const c=Object(d.h)(n),h={sent_at:(new Date).toISOString(),...c&&{sdk:c},...!!o&&{dsn:Object(r.a)(e)}},_="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t];return Object(d.c)(h,[_])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach((t=>t(...e)))}_updateSessionFromEvent(t,e){let n=!1,r=!1;const o=e.exception&&e.exception.values;if(o){r=!0;for(const t of o){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const c="ok"===t.status;
1(c&&0===t.errors||c&&n)&&(Object(m.c)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new h.a((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(t,e,n){const r=this.getOptions(),o=Object.keys(this._integrations);return!e.integrations&&o.length>0&&(e.integrations=o),Object(v.a)(r,t,e,n)}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{0}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:o}=r;if(!this._isEnabled())return Object(h.b)(new _.a("SDK not enabled, will not capture event.","log"));const d=x(t),l=y(t),f=t.type||"error",m=`before send for type \`${f}\``;if(l&&"number"==typeof o&&Math.random()>o)return this.recordDroppedEvent("sample_rate","error",t),Object(h.b)(new _.a(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const v="replay_event"===f?"replay":f;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",v,t),new _.a("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const o=function(t,e,n){const{beforeSend:r,beforeSendTransaction:o}=t;if(y(e)&&r)return r(e,n);if(x(e)&&o)return o(e,n);return e}(r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if(Object(c.n)(t))return t.then((t=>{if(!Object(c.i)(t)&&null!==t)throw new _.a(n);return t}),(t=>{throw new _.a(`${e} rejected with ${t}`)}));if(!Object(c.i)(t)&&null!==t)throw new _.a(n);return t}(o,m)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",v,t),new _.a(`${m} returned \`null\`, will not send event.`,"log");const o=n&&n.getSession();!d&&o&&this._updateSessionFromEvent(o,r);const c=r.transaction_info;if(d&&c&&r.transaction!==t.transaction){const source="custom";r.transaction_info={...c,source:source}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof _.a)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new _.a(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",t),this._transport.send(t).then(null,(t=>{}))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}function y(t){return void 0===t.type}function x(t){return"transaction"===t.type}},318:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(8),o=n(2);function c(t,e,n=(()=>{})){const c={...t};void 0!==c.name&&void 0===c.description&&(c.description=c.name);const h=Object(o.b)(),d=h.getScope(),_=d.getSpan(),l=_?_.startChild(c):h.startTransaction(c);function f(){l&&l.finish(),h.getScope().setSpan(_)}let m;d.setSpan(l);try{m=e(l)}catch(t){throw l&&l.setStatus("internal_error"),n(t),f(),t}return Object(r.n)(m)?Promise.resolve(m).then((()=>{f()}),(t=>{l&&l.setStatus("internal_error"),n(t),f()})):f(),m}},322:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(66),o=n(263);function c(t){return e=>{const n=t(e),c=e.createStore?e.createStore(e):void 0;let h,d=5e3;function _(t){c&&(h&&clearTimeout(h),h=setTimeout((async()=>{h=void 0;const t=await c.pop();t&&f(t).catch((t=>{}))}),t),"number"!=typeof h&&h.unref&&h.unref())}function l(){h||(_(d),d=Math.min(2*d,36e5))}async function f(t){try{const e=await n.send(t);let r=100;if(e)if(e.headers&&e.headers["retry-after"])r=Object(o.b)(e.headers["retry-after"]);else if((e.statusCode||0)>=400)return e;return _(r),d=5e3,e}catch(n){if(c&&await function(t,n,o){return!Object(r.e)(t,["replay_event","replay_recording","client_report"])&&(!e.shouldStore||e.shouldStore(t,n,o))}
1(t,n,d))return await c.insert(t),l(),{};throw n}}return e.flushAtStartup&&l(),{send:f,flush:t=>n.flush(t)}}}},41:function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return m})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return S})),n.d(e,"j",(function(){return v})),n.d(e,"k",(function(){return y})),n.d(e,"l",(function(){return O})),n.d(e,"m",(function(){return x}));var r=n(2);function o(t,e){return Object(r.b)().captureException(t,{captureContext:e})}function c(t,e){const n="string"==typeof e?e:void 0,o="string"!=typeof e?{captureContext:e}:void 0;return Object(r.b)().captureMessage(t,n,o)}function h(t,e){return Object(r.b)().captureEvent(t,e)}function d(t){Object(r.b)().configureScope(t)}function _(t){Object(r.b)().addBreadcrumb(t)}function l(t,e){Object(r.b)().setContext(t,e)}function f(t){Object(r.b)().setExtras(t)}function m(t,e){Object(r.b)().setExtra(t,e)}function v(t){Object(r.b)().setTags(t)}function S(t,e){Object(r.b)().setTag(t,e)}function y(t){Object(r.b)().setUser(t)}function x(t){Object(r.b)().withScope(t)}function O(t,e){return Object(r.b)().startTransaction({...t},e)}},52:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return m}));var r=n(8),o=n(53),c=n(60),h=n(34),d=n(28),_=n(59);class l{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const e=new l;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&Object(_.c)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...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}setSpan(span){return this._span=span,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const span=this.getSpan();return span&&span.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof l?e:this}return t instanceof l?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):Object(r.i)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:Object(o.b)(),...t};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),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}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction&&this._span.transaction.name;e&&(t.tags={transaction:e,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...f(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,e,n,o=0){return new c.a(((c,h)=>{const d=t[o];if(null===e||"function"!=typeof d)c(e);else{const _=d({...e},n);Object(r.n)(_)?_.then((e=>this._notifyEventProcessors(t,e,n,o+1).then(c))).then(null,h):this._notifyEventProcessors(t,_,n,o+1).then(c).then(null,h)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
1h((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Object(h.c)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function f(){return Object(d.c)("globalEventProcessors",(()=>[]))}function m(t){f().push(t)}},547:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(8),o=n(65),c=n(12);class h{static __initStatic(){this.id="ExtraErrorData"}__init(){this.name=h.id}constructor(t){h.prototype.__init.call(this),this._options={depth:3,...t}}setupOnce(t,e){t(((t,n)=>{const r=e().getIntegration(h);return r?r.enhanceEventWithErrorData(t,n):t}))}enhanceEventWithErrorData(t,e={}){if(!e.originalException||!Object(r.d)(e.originalException))return t;const n=e.originalException.name||e.originalException.constructor.name,h=this._extractErrorData(e.originalException);if(h){const e={...t.contexts},d=Object(o.a)(h,this._options.depth);return Object(r.i)(d)&&(Object(c.a)(d,"__sentry_skip_normalization__",!0),e[n]=d),{...t,contexts:e}}return t}_extractErrorData(t){try{const e=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],n={};for(const o of Object.keys(t)){if(-1!==e.indexOf(o))continue;const c=t[o];n[o]=Object(r.d)(c)?c.toString():c}if("function"==typeof t.toJSON){const e=t.toJSON();for(const t of Object.keys(e)){const o=e[t];n[t]=Object(r.d)(o)?o.toString():o}}return n}catch(t){}return null}}h.__initStatic()},548:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(363);class o{static __initStatic(){this.id="RewriteFrames"}__init(){this.name=o.id}__init2(){this._prefix="app:///"}constructor(t={}){o.prototype.__init.call(this),o.prototype.__init2.call(this),o.prototype.__init3.call(this),t.root&&(this._root=t.root),t.prefix&&(this._prefix=t.prefix),t.iteratee&&(this._iteratee=t.iteratee)}setupOnce(t,e){t((t=>{const n=e().getIntegration(o);return n?n.process(t):t}))}process(t){let e=t;return t.exception&&Array.isArray(t.exception.values)&&(e=this._processExceptionsEvent(e)),e}__init3(){this._iteratee=t=>{if(!t.filename)return t;const e=/^[a-zA-Z]:\\/.test(t.filename),n=/^\//.test(t.filename);if(e||n){const n=e?t.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):t.filename,base=this._root?Object(r.b)(this._root,n):Object(r.a)(n);t.filename=`${this._prefix}${base}`}return t}}_processExceptionsEvent(t){try{return{...t,exception:{...t.exception,values:t.exception.values.map((t=>({...t,...t.stacktrace&&{stacktrace:this._processStacktrace(t.stacktrace)}})))}}}catch(e){return t}}_processStacktrace(t){return{...t,frames:t&&t.frames&&t.frames.map((t=>this._iteratee(t)))}}}o.__initStatic()},59:function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return d}));var r=n(53),o=n(34),c=n(12);function h(t){const e=Object(r.c)(),n={sid:Object(o.f)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return Object(c.c)({sid:`${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?`${t.did}`:void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&d(n,t),n}function d(t,e={}){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||Object(r.c)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:Object(o.f)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${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{const 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 _(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),d(t,n)}},94:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="production"},95:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return _}));var r=n(34),o=n(53),c=n(12);class h{__init(){this.spans=[]}constructor(t=1e3){h.prototype.__init.call(this),this._maxlen=t}add(span){this.spans.length>this._maxlen?span.spanRecorder=void 0:this.spans.push(span)}}class d{__init2(){this.traceId=Object(r.f)()}__init3(){this.spanId=Object(r.f)().substring(16)}__init4(){this.startTimestamp=Object(o.d)()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(d.prototype.__init2.call(this),d.prototype.__init3.call(this),d.prototype.__init4.call(this),d.prototype.__init5.call(this),d.prototype.__init6.call(this),d.prototype.__init7.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&
1(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const e=new d({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});return e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e),e.transaction=this.transaction,e}setTag(t,e){return this.tags={...this.tags,[t]:e},this}setData(t,e){return this.data={...this.data,[t]:e},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));const e=_(t);return"unknown_error"!==e&&this.setStatus(e),this}isSuccess(){return"ok"===this.status}finish(t){this.endTimestamp="number"==typeof t?t:Object(o.d)()}toTraceparent(){let t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return Object(c.c)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this}getTraceContext(){return Object(c.c)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return Object(c.c)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function _(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}}}]);

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.