PageSourceSearch

https://greenmade.promo/assets/chunk.425.fd54d853e1714907afbd.js

js greenmade.promo collected 2026-10-04 22:43:56 UTC 35,805 bytes, 197 lines download raw bytes

1/*! For license information please see chunk.425.fd54d853e1714907afbd.js.LICENSE.txt */
2"use strict";(globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]).push([[425],{5457:(t,e,n)=>{n.d(e,{d:()=>i,x:()=>r})
3var i="finishReason",r=["heartbeatFailed","idleTimeout","documentHidden"]},347:(t,e,n)=>{n.d(e,{h:()=>i})
4var i="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},5098:(t,e,n)=>{n.d(e,{ro:()=>_,lb:()=>v})
5var i=n(3378),r=n(7643),a=n(190),s=n(8146),o=n(8029),c=n(5670),d=n(347),u=n(2741)
6function p(){var t=(0,u.x1)()
7if(t){var e="internal_error"
8d.h&&a.kg.log("[Tracing] Transaction: "+e+" -> Global error occured"),t.setStatus(e)}}var l=n(3771),h=n(2012)
9function m(){var t=this.getScope()
10if(t){var e=t.getSpan()
11if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function f(t,e,n){return(0,u.zu)(e)?void 0!==t.sampled?(t.setMetadata({transactionSampling:{method:"explicitly_set"}}),t):("function"==typeof e.tracesSampler?(r=e.tracesSampler(n),t.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):void 0!==n.parentSampled?(r=n.parentSampled,t.setMetadata({transactionSampling:{method:"inheritance"}})):(r=e.tracesSampleRate,t.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),i=r,((0,s.i2)(i)||"number"!=typeof i&&"boolean"!=typeof i?(d.h&&a.kg.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got "+JSON.stringify(i)+" of type "+JSON.stringify(typeof i)+"."),0):!(i<0||i>1)||(d.h&&a.kg.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got "+i+"."),0))?r?(t.sampled=Math.random()<r,t.sampled?(d.h&&a.kg.log("[Tracing] starting "+t.op+" transaction - "+t.name),t):(d.h&&a.kg.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = "+Number(r)+")"),t)):(d.h&&a.kg.log("[Tracing] Discarding transaction because "+("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),t.sampled=!1,t):(d.h&&a.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)):(t.sampled=!1,t)
12var i,r}function g(t,e){var n=this.getClient(),r=n&&n.getOptions()||{},a=new h.Y(t,this)
13return(a=f(a,r,(0,i.pi)({parentSampled:t.parentSampled,transactionContext:t},e))).sampled&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),a}function v(t,e,n,r,a){var s=t.getClient(),o=s&&s.getOptions()||{},c=new l.io(e,t,n,r)
14return(c=f(c,o,(0,i.pi)({parentSampled:e.parentSampled,transactionContext:e},a))).sampled&&c.initSpanRecorder(o._experiments&&o._experiments.maxSpans),c}function _(){var e;(e=(0,r.cu)()).__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=g),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=m)),(0,o.KV)()&&function(){var e=(0,r.cu)()
15if(e.__SENTRY__){var n={mongodb:function(){return new((0,o.l$)(t,"./integrations/node/mongo").Mongo)},mongoose:function(){return new((0,o.l$)(t,"./integrations/node/mongo").Mongo)({mongoose:!0})},mysql:function(){return new((0,o.l$)(t,"./integrations/node/mysql").Mysql)},pg:function(){return new((0,o.l$)(t,"./integrations/node/postgres").Postgres)}},a=Object.keys(n).filter(function(t){return!!(0,o.$y)(t)}).map(function(t){try{return n[t]()}catch(t){return}}).filter(function(t){return t})
16a.length>0&&(e.__SENTRY__.integrations=(0,i.fl)(e.__SENTRY__.integrations||[],a))}}(),(0,c.o)("error",p),(0,c.o)("unhandledrejection",p)}t=n.hmd(t)},3771:(t,e,n)=>{n.d(e,{nT:()=>u,io:()=>l})
17var i=n(3378),r=n(8505),a=n(190),s=n(5457),o=n(347),c=n(2538),d=n(2012),u=1e3,p=function(t){function e(e,n,i,r){void 0===i&&(i="")
18var a=t.call(this,r)||this
19return a._pushActivity=e,a._popActivity=n,a.transactionSpanId=i,a}return(0,i.ZT)(e,t),e.prototype.add=function(e){var n=this
20e.spanId!==this.transactionSpanId&&(e.finish=function(t){e.endTimestamp="number"==typeof t?t:(0,r._I)(),n._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),t.prototype.add.call(this,e)},e}(c.gB),l=function(t){function e(e,n,i,r){void 0===i&&(i=u),void 0===r&&(r=!1)
21var s=t.call(this,e,n)||this
22return s._idleHub=n,s._idleTimeout=i,s._onScope=r,s.activities={},s._heartbeatCounter=0,s._finished=!1,s._beforeFinishCallbacks=[],n&&r&&(h(n),o.h&&a.kg.log("Setting idle transaction on scope. Span ID: "+s.spanId),n.configureScope(function(t){return t.setSpan(s)})),s._initTimeout=setTimeout(function(){s._finished||s.finish()},s._idleTimeout),s}return(0,i.ZT)(e,t),e.prototype.finish=function(e){var n,s,c=this
23if(void 0===e&&(e=(0,r._I)()),this._finished=!0,this.activities={},this.spanRecorder){o.h&&a.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*e).toISOString(),this.op)
24try{for(var d=(0,i.XA)(this._beforeFinishCallbacks),u=d.next();!u.done;u=d.next())(0,u.value)(this,e)}catch(t){n={error:t}}finally{try{u&&!u.done&&(s=d.return)&&s.call(d)}finally{if(n)throw n.error}}this.spanRecorder.spans=this.spanRecorder.spans.filter(function(t){if(t.spanId===c.spanId)return!0
25t.endTimestamp||(t.endTimestamp=e,t.setStatus("cancelled"),o.h&&a.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)))
26var n=t.startTimestamp<e
27return n||o.h&&a.kg.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(t,void 0,2)),n}),o.h&&a.kg.log("[Tracing] flushing IdleTransaction")}else o.h&&a.kg.log("[Tracing] No active IdleTransaction")
28return this._onScope&&h(this._idleHub),t.prototype.finish.call(this,e)},e.prototype.registerBeforeFinishCallback=function(t){this._beforeFinishCallbacks.push(t)},e.prototype.initSpanRecorder=function(t){var e=this
29this.spanRecorder||(this.spanRecorder=new p(function(t){e._finished||e._pushActivity(t)},function(t){e._finished||e._popActivity(t)},this.spanId,t),o.h&&a.kg.log("Starting heartbeat"),this._pingHeartbeat()),this.spanRecorder.add(this)},e.prototype._pushActivity=function(t){this._initTimeout&&(clearTimeout(this._initTimeout),this._initTimeout=void 0),o.h&&a.kg.log("[Tracing] pushActivity: "+t),this.activities[t]=!0,o.h&&a.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)},e.prototype._popActivity=function(t){var e=this
30if(this.activities[t]&&(o.h&&a.kg.log("[Tracing] popActivity "+t),delete this.activities[t],o.h&&a.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var n=this._idleTimeout,i=(0,r._I)()+n/1e3
31setTimeout(function(){e._finished||(e.setTag(s.d,s.x[1]),e.finish(i))},n)}},e.prototype._beat=function(){if(!this._finished){var t=Object.keys(this.activities).join("")
32t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(o.h&&a.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.setTag(s.d,s.x[0]),this.finish()):this._pingHeartbeat()}},e.prototype._pingHeartbeat=function(){var t=this
33o.h&&a.kg.log("pinging Heartbeat -> current counter: "+this._heartbeatCounter),setTimeout(function(){t._beat()},5e3)},e}(d.Y)
34function h(t){if(t){var e=t.getScope()
35e&&e.getTransaction()&&e.setSpan(void 0)}}},8425:(t,e,n)=>{n.r(e),n.d(e,{BrowserTracing:()=>J,IdleTransaction:()=>y.io,Integrations:()=>i,Span:()=>G.Dr,SpanStatus:()=>B,TRACEPARENT_REGEXP:()=>b.K,Transaction:()=>W.Y,addExtensionMethods:()=>r.ro,defaultRequestInstrumentationOptions:()=>X,extractTraceparentData:()=>b.q,getActiveTransaction:()=>T.x1,hasTracingEnabled:()=>T.zu,registerRequestInstrumentation:()=>j,spanStatusfromHttpCode:()=>G.Zd,startIdleTransaction:()=>r.lb,stripUrlQueryAndFragment:()=>Z.rt})
36var i={}
37n.r(i),n.d(i,{BrowserTracing:()=>J,Express:()=>c,Mongo:()=>v,Mysql:()=>m,Postgres:()=>h})
38var r=n(5098),a=n(3378),s=n(190),o=n(347),c=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._router=e.router||e.app,this._methods=(Array.isArray(e.methods)?e.methods:[]).concat("use")}return t.prototype.setupOnce=function(){var t,e
39this._router?(t=this._router,void 0===(e=this._methods)&&(e=[]),e.forEach(function(e){return function(t,e){var n=t[e]
40return t[e]=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i]
41return n.call.apply(n,(0,a.fl)([this],function(t,e){return t.map(function(t){return"function"==typeof t?d(t,e):Array.isArray(t)?t.map(function(t){return"function"==typeof t?d(t,e):t}):t})}(t,e)))},t}(t,e)})):o.h&&s.kg.error("ExpressIntegration is missing an Express instance")}
41,t.id="Express",t}()
42function d(t,e){var n=t.length
43switch(n){case 2:return function(n,i){var r=i.__sentry_transaction
44if(r){var a=r.startChild({description:t.name,op:"express.middleware."+e})
45i.once("finish",function(){a.finish()})}return t.call(this,n,i)}
46case 3:return function(n,i,r){var s,o=null===(s=i.__sentry_transaction)||void 0===s?void 0:s.startChild({description:t.name,op:"express.middleware."+e})
47t.call(this,n,i,function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n]
48null===(t=o)||void 0===t||t.finish(),r.call.apply(r,(0,a.fl)([this],e))})}
49case 4:return function(n,i,r,s){var o,c=null===(o=r.__sentry_transaction)||void 0===o?void 0:o.startChild({description:t.name,op:"express.middleware."+e})
50t.call(this,n,i,r,function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n]
51null===(t=c)||void 0===t||t.finish(),s.call.apply(s,(0,a.fl)([this],e))})}
52default:throw new Error("Express middleware takes 2-4 arguments. Got: "+n)}}var u=n(8029),p=n(7927),l=n(8146),h=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._usePgNative=!!e.usePgNative}return t.prototype.setupOnce=function(t,e){var n,i=(0,u.$y)("pg")
53if(i)if(!this._usePgNative||(null===(n=i.native)||void 0===n?void 0:n.Client)){var r=(this._usePgNative?i.native:i).Client;(0,p.hl)(r.prototype,"query",function(t){return function(n,i,r){var a,s,o,c=null===(s=null===(a=e().getScope())||void 0===a?void 0:a.getSpan())||void 0===s?void 0:s.startChild({description:"string"==typeof n?n:n.text,op:"db"})
54if("function"==typeof r)return t.call(this,n,i,function(t,e){var n
55null===(n=c)||void 0===n||n.finish(),r(t,e)})
56if("function"==typeof i)return t.call(this,n,function(t,e){var n
57null===(n=c)||void 0===n||n.finish(),i(t,e)})
58var d=void 0!==i?t.call(this,n,i):t.call(this,n)
59return(0,l.J8)(d)?d.then(function(t){var e
60return null===(e=c)||void 0===e||e.finish(),t}):(null===(o=c)||void 0===o||o.finish(),d)}})}else o.h&&s.kg.error("Postgres Integration was unable to access 'pg-native' bindings.")
61else o.h&&s.kg.error("Postgres Integration was unable to require `pg` package.")},t.id="Postgres",t}(),m=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(t,e){var n=(0,u.$y)("mysql/lib/Connection.js")
62n?(0,p.hl)(n,"createQuery",function(t){return function(n,i,r){var a,s,o=null===(s=null===(a=e().getScope())||void 0===a?void 0:a.getSpan())||void 0===s?void 0:s.startChild({description:"string"==typeof n?n:n.sql,op:"db"})
63return"function"==typeof r?t.call(this,n,i,function(t,e,n){var i
64null===(i=o)||void 0===i||i.finish(),r(t,e,n)}):"function"==typeof i?t.call(this,n,function(t,e,n){var r
65null===(r=o)||void 0===r||r.finish(),i(t,e,n)}):t.call(this,n,i,r)}}):o.h&&s.kg.error("Mysql Integration was unable to require `mysql` package.")},t.id="Mysql",t}(),f=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],g={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]},v=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._operations=Array.isArray(e.operations)?e.operations:f,this._describeOperations=!("describeOperations"in e)||e.describeOperations,this._useMongoose=!!e.useMongoose}return t.prototype.setupOnce=function(t,e){var n=this._useMongoose?"mongoose":"mongodb",i=(0,u.$y)(n)
66i?this._instrumentOperations(i.Collection,this._operations,e):o.h&&s.kg.error("Mongo Integration was unable to require `"+n+"` package.")},t.prototype._instrumentOperations=function(t,e,n){var i=this
67e.forEach(function(e){return i._patchOperation(t,e,n)})},t.prototype._patchOperation=function(t,e,n){if(e in t.prototype){var i=this._getSpanContextFromOperationArguments.bind(this);(0,p.hl)(t.prototype,e,function(t){return function(){for(var r,s,o,c,d=[],u=0;u<arguments.length;u++)d[u]=arguments[u]
68var p=d[d.length-1],h=null===(r=n().getScope())||void 0===r?void 0:r.getSpan()
69if("function"!=typeof p||"mapReduce"===e&&2===d.length){var m=null===(s=h)||void 0===s?void 0:s.startChild(i(this,e,d)),f=t.call.apply(t,(0,a.fl)([this],d))
70return(0,l.J8)(f)?f.then(function(t){var e
71return null===(e=m)||void 0===e||e.finish(),t}):(null===(o=m)||void 0===o||o.finish(),f)}var g=null===(c=h)||void 0===c?void 0:c.startChild(i(this,e,d.slice(0,-1)))
72return t.call.apply(t,(0,a.fl)([this],d.slice(0,-1),[function(t,e){var n
73null===(n=g)||void 0===n||n.finish(),p(t,e)}]))}})}},t.prototype._getSpanContextFromOperationArguments=function(t,e,n){var i={collectionName:t.collectionName,dbName:t.dbName,namespace:t.namespace},r={op:"db",description:e,data:i},s=g[e],o=Array.isArray(this._describeOperations)?this._describeOperations.includes(e):this._describeOperations
74if(!s||!o)return r
75try{if("mapReduce"===e){var c=(0,a.CR)(n,2),d=c[0],u=c[1]
76i[s[0]]="string"==typeof d?d:d.name||"<anonymous>",i[s[1]]="string"==typeof u?u:u.name||"<anonymous>"}else for(var p=0;p<s.length;p++)i[s[p]]=JSON.stringify(n[p])}catch(t){}return r},t.id="Mongo",t}(),_=n(4387),y=n(3771),T=n(2741),b=n(7976),S=n(5457),k=(0,_.R)(),x=n(8505),O=n(7809),I=function(t,e,n){var i
77return function(r){e.value>=0&&(r||n)&&(e.delta=e.value-(i||0),(e.delta||void 0===i)&&(i=e.value,t(e)))}},C=function(t,e){return{name:t,value:null!=e?e:-1,delta:0,entries:[],id:"v2-"+Date.now()+"-"+(Math.floor(8999999999999*Math.random())+1e12)}},E=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if("first-input"===t&&!("PerformanceEventTiming"in self))return
78var n=new PerformanceObserver(function(t){return t.getEntries().map(e)})
79return n.observe({type:t,buffered:!0}),n}}catch(t){}}
79,w=function(t,e){var n=function(i){"pagehide"!==i.type&&"hidden"!==(0,_.R)().document.visibilityState||(t(i),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))}
80addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},R=-1,A=function(){return R<0&&(R="hidden"===(0,_.R)().document.visibilityState?0:1/0,w(function(t){var e=t.timeStamp
81R=e},!0)),{get firstHiddenTime(){return R}}},L={},M=(0,_.R)(),D=function(){function t(t){void 0===t&&(t=!1),this._reportAllChanges=t,this._measurements={},this._performanceCursor=0,!(0,u.KV)()&&M&&M.performance&&M.document&&(M.performance.mark&&M.performance.mark("sentry-tracing-init"),this._trackCLS(),this._trackLCP(),this._trackFID())}return t.prototype.addPerformanceEntries=function(t){var e=this
82if(M&&M.performance&&M.performance.getEntries&&x.Z1){o.h&&s.kg.log("[Tracing] Adding & adjusting spans using Performance API")
83var n,i,r=(0,T.XL)(x.Z1)
84if(M.performance.getEntries().slice(this._performanceCursor).forEach(function(a){var c=(0,T.XL)(a.startTime),d=(0,T.XL)(a.duration)
85if(!("navigation"===t.op&&r+c<t.startTimestamp))switch(a.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(function(i){N(t,e,i,n)}),N(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),N(t,e,"fetch",n,"cache","domainLookupStart"),N(t,e,"domainLookup",n,"DNS"),function(t,e,n){P(t,{op:"browser",description:"request",startTimestamp:n+(0,T.XL)(e.requestStart),endTimestamp:n+(0,T.XL)(e.responseEnd)}),P(t,{op:"browser",description:"response",startTimestamp:n+(0,T.XL)(e.responseStart),endTimestamp:n+(0,T.XL)(e.responseEnd)})}(t,e,n)}(t,a,r),n=r+(0,T.XL)(a.responseStart),i=r+(0,T.XL)(a.requestStart)
86break
87case"mark":case"paint":case"measure":var u=function(t,e,n,i,r){var a=r+n,s=a+i
88return P(t,{description:e.name,endTimestamp:s,op:e.entryType,startTimestamp:a}),a}(t,a,c,d,r),p=A(),l=a.startTime<p.firstHiddenTime
89"first-paint"===a.name&&l&&(o.h&&s.kg.log("[Measurements] Adding FP"),e._measurements.fp={value:a.startTime},e._measurements["mark.fp"]={value:u}),"first-contentful-paint"===a.name&&l&&(o.h&&s.kg.log("[Measurements] Adding FCP"),e._measurements.fcp={value:a.startTime},e._measurements["mark.fcp"]={value:u})
90break
91case"resource":var h=a.name.replace(M.location.origin,"")
92!function(t,e,n,i,r,a){if("xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType){var s={}
93"transferSize"in e&&(s["Transfer Size"]=e.transferSize),"encodedBodySize"in e&&(s["Encoded Body Size"]=e.encodedBodySize),"decodedBodySize"in e&&(s["Decoded Body Size"]=e.decodedBodySize)
94var o=a+i
95P(t,{description:n,endTimestamp:o+r,op:e.initiatorType?"resource."+e.initiatorType:"resource",startTimestamp:o,data:s})}}(t,a,h,c,d,r)}}),this._performanceCursor=Math.max(performance.getEntries().length-1,0),this._trackNavigator(t),"pageload"===t.op){var a=(0,T.XL)(x.Z1)
96"number"==typeof n&&(o.h&&s.kg.log("[Measurements] Adding TTFB"),this._measurements.ttfb={value:1e3*(n-t.startTimestamp)},"number"==typeof i&&i<=n&&(this._measurements["ttfb.requestTime"]={value:1e3*(n-i)})),["fcp","fp","lcp"].forEach(function(n){if(e._measurements[n]&&!(a>=t.startTimestamp)){var i=e._measurements[n].value,r=a+(0,T.XL)(i),c=Math.abs(1e3*(r-t.startTimestamp)),d=c-i
97o.h&&s.kg.log("[Measurements] Normalized "+n+" from "+i+" to "+c+" ("+d+")"),e._measurements[n].value=c}}),this._measurements["mark.fid"]&&this._measurements.fid&&P(t,{description:"first input delay",endTimestamp:this._measurements["mark.fid"].value+(0,T.XL)(this._measurements.fid.value),op:"web.vitals",startTimestamp:this._measurements["mark.fid"].value}),"fcp"in this._measurements||delete this._measurements.cls,t.setMeasurements(this._measurements),function(t,e,n){e&&(o.h&&s.kg.log("[Measurements] Adding LCP Data"),e.element&&t.setTag("lcp.element",(0,O.R)(e.element)),e.id&&t.setTag("lcp.id",e.id),e.url&&t.setTag("lcp.url",e.url.trim().slice(0,200)),t.setTag("lcp.size",e.size)),n&&n.sources&&(o.h&&s.kg.log("[Measurements] Adding CLS Data"),n.sources.forEach(function(e,n){return t.setTag("cls.source."+(n+1),(0,O.R)(e.n
97ode))}))}(t,this._lcpEntry,this._clsEntry),t.setTag("sentry_reportAllChanges",this._reportAllChanges)}}},t.prototype._trackNavigator=function(t){var e=M.navigator
98if(e){var n=e.connection
99n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),q(n.rtt)&&(this._measurements["connection.rtt"]={value:n.rtt}),q(n.downlink)&&(this._measurements["connection.downlink"]={value:n.downlink})),q(e.deviceMemory)&&t.setTag("deviceMemory",String(e.deviceMemory)),q(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}},t.prototype._trackCLS=function(){var t,e,n,i,r,a,c,d=this
100t=function(t){var e=t.entries.pop()
101e&&(o.h&&s.kg.log("[Measurements] Adding CLS"),d._measurements.cls={value:t.value},d._clsEntry=e)},n=C("CLS",0),i=0,r=[],(c=E("layout-shift",a=function(t){if(t&&!t.hadRecentInput){var a=r[0],s=r[r.length-1]
102i&&0!==r.length&&t.startTime-s.startTime<1e3&&t.startTime-a.startTime<5e3?(i+=t.value,r.push(t)):(i=t.value,r=[t]),i>n.value&&(n.value=i,n.entries=r,e&&e())}}))&&(e=I(t,n,void 0),w(function(){c.takeRecords().map(a),e(!0)}))},t.prototype._trackLCP=function(){var t=this
103!function(e,n){var i,r=A(),a=C("LCP"),c=function(t){var e=t.startTime
104e<r.firstHiddenTime&&(a.value=e,a.entries.push(t)),i&&i()},d=E("largest-contentful-paint",c)
105if(d){i=I(function(e){var n=e.entries.pop()
106if(n){var i=(0,T.XL)(x.Z1),r=(0,T.XL)(n.startTime)
107o.h&&s.kg.log("[Measurements] Adding LCP"),t._measurements.lcp={value:e.value},t._measurements["mark.lcp"]={value:i+r},t._lcpEntry=n}},a,n)
108var u=function(){L[a.id]||(d.takeRecords().map(c),d.disconnect(),L[a.id]=!0,i(!0))};["keydown","click"].forEach(function(t){addEventListener(t,u,{once:!0,capture:!0})}),w(u,!0)}}(0,this._reportAllChanges)},t.prototype._trackFID=function(){var t,e,n,i,r,a,c=this
109t=function(t){var e=t.entries.pop()
110if(e){var n=(0,T.XL)(x.Z1),i=(0,T.XL)(e.startTime)
111o.h&&s.kg.log("[Measurements] Adding FID"),c._measurements.fid={value:t.value},c._measurements["mark.fid"]={value:n+i}}},n=A(),i=C("FID"),(a=E("first-input",r=function(t){e&&t.startTime<n.firstHiddenTime&&(i.value=t.processingStart-t.startTime,i.entries.push(t),e(!0))}))&&(e=I(t,i,void 0),w(function(){a.takeRecords().map(r),a.disconnect()},!0))},t}()
112function N(t,e,n,i,r,a){var s=a?e[a]:e[n+"End"],o=e[n+"Start"]
113o&&s&&P(t,{op:"browser",description:null!=r?r:n,startTimestamp:i+(0,T.XL)(o),endTimestamp:i+(0,T.XL)(s)})}function P(t,e){var n=e.startTimestamp,i=(0,a._T)(e,["startTimestamp"])
114return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild((0,a.pi)({startTimestamp:n},i))}function q(t){return"number"==typeof t&&isFinite(t)}var H=n(9399),F=n(5670),X={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]}
115function j(t){var e=(0,a.pi)((0,a.pi)({},X),t),n=e.traceFetch,i=e.traceXHR,r=e.tracingOrigins,s=e.shouldCreateSpanForRequest,o={},c=function(t){if(o[t])return o[t]
116var e=r
117return o[t]=e.some(function(e){return(0,H.zC)(t,e)})&&!(0,H.zC)(t,"sentry_key"),o[t]},d=c
118"function"==typeof s&&(d=function(t){return c(t)&&s(t)})
119var u={}
120n&&(0,F.o)("fetch",function(t){!function(t,e,n){if((0,T.zu)()&&t.fetchData&&e(t.fetchData.url))if(t.endTimestamp){var i=t.fetchData.__span
121if(!i)return;(s=n[i])&&(t.response?s.setHttpStatus(t.response.status):t.error&&s.setStatus("internal_error"),s.finish(),delete n[i])}else{var r=(0,T.x1)()
122if(r){var s=r.startChild({data:(0,a.pi)((0,a.pi)({},t.fetchData),{type:"fetch"}),description:t.fetchData.method+" "+t.fetchData.url,op:"http.client"})
123t.fetchData.__span=s.spanId,n[s.spanId]=s
124var o=t.args[0]=t.args[0],c=t.args[1]=t.args[1]||{},d=c.headers;(0,l.V9)(o,Request)&&(d=o.headers),d?"function"==typeof d.append?d.append("sentry-trace",s.toTraceparent()):d=Array.isArray(d)?(0,a.fl)(d,[["sentry-trace",s.toTraceparent()]]):(0,a.pi)((0,a.pi)({},d),{"sentry-trace":s.toTraceparent()}):d={"sentry-trace":s.toTraceparent()},c.headers=d}}}(t,d,u)}),i&&(0,F.o)("xhr",function(t){!function(t,e,n){if(!(!(0,T.zu)()||t.xhr&&t.xhr.__sentry_own_request__)&&t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)){var i=t.xhr.__sentry_xhr__
125if(t.endTimestamp){var r=t.xhr.__sentry_xhr_span_id__
126if(!r)return;(o=n[r])&&(o.setHttpStatus(i.status_code),o.finish(),delete n[r])}else{var s=(0,T.x1)()
127if(s){var o=s.startChild({data:(0,a.pi)((0,a.pi)({}
127,i.data),{type:"xhr",method:i.method,url:i.url}),description:i.method+" "+i.url,op:"http.client"})
128if(t.xhr.__sentry_xhr_span_id__=o.spanId,n[t.xhr.__sentry_xhr_span_id__]=o,t.xhr.setRequestHeader)try{t.xhr.setRequestHeader("sentry-trace",o.toTraceparent())}catch(t){}}}}}(t,d,u)})}var B,z=(0,_.R)(),Y=(0,a.pi)({idleTimeout:y.nT,markBackgroundTransactions:!0,maxTransactionDuration:600,routingInstrumentation:function(t,e,n){if(void 0===e&&(e=!0),void 0===n&&(n=!0),z&&z.location){var i,r=z.location.href
129e&&(i=t({name:z.location.pathname,op:"pageload"})),n&&(0,F.o)("history",function(e){var n=e.to,a=e.from
130void 0===a&&r&&-1!==r.indexOf(n)?r=void 0:a!==n&&(r=void 0,i&&(o.h&&s.kg.log("[Tracing] Finishing current transaction with op: "+i.op),i.finish()),i=t({name:z.location.pathname,op:"navigation"}))})}else o.h&&s.kg.warn("Could not initialize routing instrumentation due to invalid location")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},X),J=function(){function t(e){this.name=t.id,this._configuredIdleTimeout=void 0
131var n=X.tracingOrigins
132e&&(this._configuredIdleTimeout=e.idleTimeout,e.tracingOrigins&&Array.isArray(e.tracingOrigins)&&0!==e.tracingOrigins.length?n=e.tracingOrigins:o.h&&(this._emitOptionsWarning=!0)),this.options=(0,a.pi)((0,a.pi)((0,a.pi)({},Y),e),{tracingOrigins:n})
133var i=this.options._metricOptions
134this._metrics=new D(i&&i._reportAllChanges)}return t.prototype.setupOnce=function(t,e){var n=this
135this._getCurrentHub=e,this._emitOptionsWarning&&(o.h&&s.kg.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),o.h&&s.kg.warn("[Tracing] We added a reasonable default for you: "+X.tracingOrigins))
136var i=this.options,r=i.routingInstrumentation,a=i.startTransactionOnLocationChange,c=i.startTransactionOnPageLoad,d=i.markBackgroundTransactions,u=i.traceFetch,p=i.traceXHR,l=i.tracingOrigins,h=i.shouldCreateSpanForRequest
137r(function(t){return n._createRouteTransaction(t)},c,a),d&&(k&&k.document?k.document.addEventListener("visibilitychange",function(){var t=(0,T.x1)()
138if(k.document.hidden&&t){var e="cancelled"
139o.h&&s.kg.log("[Tracing] Transaction: "+e+" -> since tab moved to the background, op: "+t.op),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.setTag(S.d,S.x[2]),t.finish()}}):o.h&&s.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),j({traceFetch:u,traceXHR:p,tracingOrigins:l,shouldCreateSpanForRequest:h})},t.prototype._createRouteTransaction=function(t){var e=this
140if(this._getCurrentHub){var n=this.options,i=n.beforeNavigate,c=n.idleTimeout,d=n.maxTransactionDuration,u="pageload"===t.op?function(){var t,e=(t=(0,_.R)().document.querySelector("meta[name=sentry-trace]"))?t.getAttribute("content"):null
141if(e)return(0,b.q)(e)}():void 0,p=(0,a.pi)((0,a.pi)((0,a.pi)({},t),u),{trimEnd:!0}),l="function"==typeof i?i(p):p,h=void 0===l?(0,a.pi)((0,a.pi)({},p),{sampled:!1}):l
142!1===h.sampled&&o.h&&s.kg.log("[Tracing] Will not send "+h.op+" transaction because of beforeNavigate."),o.h&&s.kg.log("[Tracing] Starting "+h.op+" transaction on scope")
143var m=this._getCurrentHub(),f=(0,_.R)().location,g=(0,r.lb)(m,h,c,!0,{location:f})
144return g.registerBeforeFinishCallback(function(t,n){e._metrics.addPerformanceEntries(t),function(t,e,n){var i=n-e.startTimestamp
145n&&(i>t||i<0)&&(e.setStatus("deadline_exceeded"),e.setTag("maxTransactionDurationExceeded","true"))}((0,T.WB)(d),t,n)}),g.setTag("idleTimeout",this._configuredIdleTimeout),g}o.h&&s.kg.warn("[Tracing] Did not create "+t.op+" transaction because _getCurrentHub is invalid.")},t.id="BrowserTracing",t}(),G=n(2538)
146!function(t){t.Ok="ok",t.DeadlineExceeded="deadline_exceeded",t.Unauthenticated="unauthenticated",t.PermissionDenied="permission_denied",t.NotFound="not_found",t.ResourceExhausted="resource_exhausted",t.InvalidArgument="invalid_argument",t.Unimplemented="unimplemented",t.Unavailable="unavailable",t.InternalError="internal_error",t.UnknownError="unknown_error",t.Cancelled="cancelled",t.AlreadyExists="already_exists",t.FailedPrecondition="failed_precondition",t.Aborted="aborted",t.OutOfRange="out_of_range",t.DataLoss="data_loss"}(B||(B={}))
147var W=n(2012),Z=n(6438);(0,r.ro)()},2538:(t,e,n)=>{n.d(e,{gB:()=>o,Dr:()=>c,Zd:()=>d})
148var i=n(3378),r=n(6438),a=n(8505),s=n(7927),o=function(){function t(t){void 0===t&&(t=1e3),this.spans=[],this._maxlen=t}return t.prototype.add=function(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)},t}(),c=function(){function t(t){if(this.traceId=(0,r.DM)(),this.spanId=(0,r.DM)().substring(16),this.startTimestamp=(0,a._I)(),this.tags={},this.data={},!t)return this
149t.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&&
149(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}return t.prototype.child=function(t){return this.startChild(t)},t.prototype.startChild=function(e){var n=new t((0,i.pi)((0,i.pi)({},e),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}))
150return n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,n},t.prototype.setTag=function(t,e){var n
151return this.tags=(0,i.pi)((0,i.pi)({},this.tags),((n={})[t]=e,n)),this},t.prototype.setData=function(t,e){var n
152return this.data=(0,i.pi)((0,i.pi)({},this.data),((n={})[t]=e,n)),this},t.prototype.setStatus=function(t){return this.status=t,this},t.prototype.setHttpStatus=function(t){this.setTag("http.status_code",String(t))
153var e=d(t)
154return"unknown_error"!==e&&this.setStatus(e),this},t.prototype.isSuccess=function(){return"ok"===this.status},t.prototype.finish=function(t){this.endTimestamp="number"==typeof t?t:(0,a._I)()},t.prototype.toTraceparent=function(){var t=""
155return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),this.traceId+"-"+this.spanId+t},t.prototype.toContext=function(){return(0,s.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})},t.prototype.updateWithContext=function(t){var e,n,i,r,a
156return this.data=null!=(e=t.data)?e:{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=null!=(n=t.spanId)?n:this.spanId,this.startTimestamp=null!=(i=t.startTimestamp)?i:this.startTimestamp,this.status=t.status,this.tags=null!=(r=t.tags)?r:{},this.traceId=null!=(a=t.traceId)?a:this.traceId,this},t.prototype.getTraceContext=function(){return(0,s.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})},t.prototype.toJSON=function(){return(0,s.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})},t}()
157function d(t){if(t<400&&t>=100)return"ok"
158if(t>=400&&t<500)switch(t){case 401:return"unauthenticated"
159case 403:return"permission_denied"
160case 404:return"not_found"
161case 409:return"already_exists"
162case 413:return"failed_precondition"
163case 429:return"resource_exhausted"
164default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented"
165case 503:return"unavailable"
166case 504:return"deadline_exceeded"
167default:return"internal_error"}return"unknown_error"}},2012:(t,e,n)=>{n.d(e,{Y:()=>u})
168var i=n(3378),r=n(7643),a=n(8146),s=n(190),o=n(7927),c=n(347),d=n(2538),u=function(t){function e(e,n){var i=t.call(this,e)||this
169return i._measurements={},i._hub=(0,r.Gd)(),(0,a.V9)(n,r.Xb)&&(i._hub=n),i.name=e.name||"",i.metadata=e.metadata||{},i._trimEnd=e.trimEnd,i.transaction=i,i}return(0,i.ZT)(e,t),e.prototype.setName=function(t){this.name=t},e.prototype.initSpanRecorder=function(t){void 0===t&&(t=1e3),this.spanRecorder||(this.spanRecorder=new d.gB(t)),this.spanRecorder.add(this)},e.prototype.setMeasurements=function(t){this._measurements=(0,i.pi)({},t)},e.prototype.setMetadata=function(t){this.metadata=(0,i.pi)((0,i.pi)({},this.metadata),t)},e.prototype.finish=function(e){var n=this
170if(void 0===this.endTimestamp){if(this.name||(c.h&&s.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),t.prototype.finish.call(this,e),!0===this.sampled){var i=this.spanRecorder?this.spanRecorder.spans.filter(function(t){return t!==n&&t.endTimestamp}):[]
171this._trimEnd&&i.length>0&&(this.endTimestamp=i.reduce(function(t,e){return t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t}).endTimestamp)
172var r={contexts:{trace:this.getTraceContext()},spans:i,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:this.metadata}
173return Object.keys(this._measurements).length>0&&(c.h&&s.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),r.measurements=this._measurements),c.h&&s.kg.log("[Tracing] Finishing "+this.op+" transaction: "+this.name+"."),this._hub.captureEvent(r)}c.h&&s.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.")
174var a=this._hub.getClient(),o=a&&a.getTransport&&a.getTransport()
175o&&o.recordLostEvent&&o.recordLostEvent("sample_rate","transaction")}},e.prototype.toContext=function(){var e=t.prototype.toContext.call(this)
176return(0,o.Jr)((0,i.pi)((0,i.pi)({},e),{name:this.name,trimEnd:this._trimEnd}))},e.prototype.updateWithContext=function(e){var n
177return t.prototype.updateWithContext.call(this,e),this.name=null!=(n=e.name)?n:"",this._trimEnd=e.trimEnd,this},e}(d.Dr)},2741:(t,e,n)=>{n.d(e,{zu:()=>r,x1:()=>a,XL:()=>s,WB:()=>o})
178var i=n(7643)
179function r(t){var e=(0,i.Gd)().getClient(),n=t||e&&e.getOptions()
180return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function a(t){var e=(t||(0,i.Gd)()).getScope()
181return e&&e.getTransaction()}function s(t){return t/1e3}function o(t){return 1e3*t}},3378:(t,e,n)=>{n.d(e,{ZT:()=>r,pi:()=>a,_T:()=>s,XA:()=>o,CR:()=>c,fl:()=>d})
182var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},i(t,e)}
183function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])
184return t},a.apply(this,arguments)}
185function s(t,e){var n={}
186for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i])
187if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0
188for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}function o(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0
189if(n)return n.call(t)
190if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}
191throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator]
192if(!n)return t
193var i,r,a=n.call(t),s=[]
194try{for(;(void 0===e||e-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return s}function d(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]))
195return t}}}])
196
197//# sourceMappingURL=chunk.425.fd54d853e1714907afbd.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.