1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1079],{3232:(t,e,n)=>{"use strict";n.d(e,{N:()=>s});var r=n(60163),i=n(36292),a=n(23807),o=!1;function s(){return(0,r.C6)()?((0,i.M)(),a.w.bootstrapTime=(0,r.tB)(),o=!0):r.Bd,o}},62323:(t,e,n)=>{"use strict";n.d(e,{$A:()=>u,$G:()=>N,$U:()=>$,A8:()=>_,B0:()=>p,CC:()=>v,E8:()=>s,El:()=>E,Ex:()=>w,Fw:()=>o,Ii:()=>J,LA:()=>d,NK:()=>l,P2:()=>I,RY:()=>x,Rt:()=>j,Sr:()=>G,Td:()=>S,Us:()=>b,V1:()=>B,V9:()=>it,VK:()=>i,V_:()=>q,Vl:()=>rt,Vv:()=>k,XQ:()=>y,Xu:()=>c,ZB:()=>U,Zy:()=>H,_M:()=>Y,_z:()=>D,bD:()=>z,bi:()=>g,c7:()=>r,dD:()=>m,e6:()=>X,ff:()=>R,ft:()=>f,g$:()=>nt,gW:()=>et,jw:()=>Q,kl:()=>V,lf:()=>C,ll:()=>K,oM:()=>O,p5:()=>Z,r:()=>tt,rq:()=>W,tH:()=>L,tO:()=>P,wE:()=>F,wP:()=>a,x2:()=>T,z:()=>M,z0:()=>h,zt:()=>A});var r="schedule",i="invoke",a="addEventListener",o=["link","css","script","img","xmlhttprequest","fetch","beacon","iframe"],s=5e3,c=3e5,u=1e3,d="page-load",f="custom",l="user-interaction",v="http-request",p="temporary",h="Unknown",g="page-exit",m=[d,"route-change",l,v,f,p],y="success",b="failure",_="unknown",S=60,w="transaction:start",T="transaction:end",E="config:change",x="queue:flush",I="queue:add_transaction",O="transaction:ignore",C="xmlhttprequest",L="fetch",k="history",A="eventtarget",j="click",R="error",q=":before",F=":after",N="elastic_apm_config",P="longtask",M="paint",B="measure",$="navigation",z="resource",H="first-contentful-paint",U="largest-contentful-paint",D="first-input",V="layout-shift",K="event",G="errors",X="transactions",W="ConfigService",J="LoggingService",Z="TransactionService",Q="ApmServer",Y="PerformanceMonitoring",tt="ErrorLogging",et=".truncated",nt=1024,rt=18e5,it=1e4},91437:(t,e,n)=>{"use strict";n.d(e,{ll:()=>g,rc:()=>p,tx:()=>h});var r=n(80163),i=n(62323),a=n(60163),o=["tags"];var s=91,c=93,u="external",d="resource",f="hard-navigation";function l(t){var e=t.transferSize,n=t.encodedBodySize,r=t.decodedBodySize,i=t.serverTiming,o={transfer_size:e,encoded_body_size:n,decoded_body_size:r},s=(0,a.gc)(i);return s&&(o.headers={"server-timing":s}),o}function v(t){var e=t.port,n=t.protocol,r=t.hostname,i=function(t,e){return""===t&&(t="http:"===e?"80":"https:"===e?"443":""),t}(e,n),a=r.charCodeAt(0)===s&&r.charCodeAt(r.length-1)===c,o=r;return a&&(o=r.slice(1,-1)),{service:{resource:r+":"+i,name:"",type:""},address:o,port:Number(i)}}function p(){return{page:{referer:document.referrer,url:location.href}}}function h(t,e){if(e){var n;switch(t.type){case u:n=function(t){var e,n=t.url,i=t.method,a=t.target,o=t.response,s=new r.s(n),c=v(s),u={http:{method:i,url:s.href},destination:c};return a&&void 0!==a.status?e=a.status:o&&(e=o.status),u.http.status_code=e,u}(e);break;case d:n=function(t){var e=t.entry,n=t.url,i=v(new r.s(n));return{http:{url:n,response:l(e)},destination:i}}(e);break;case f:n=function(t){var e=t.url;return{destination:v(new r.s(e))}}(e)}t.addContext(n)}}function g(t,e){var n=void 0===e?{}:e,r=(n.tags,function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}(n,o)),s=p(),c={};if(t.type===i.bi)t.ensureContext(),t.context.page&&t.context.page.url&&(s.page.url=t.context.page.url);else if(t.type===i.LA&&(0,a.DH)()){var u=a.Uo.getEntriesByType(i.$U);u&&u.length>0&&(c={response:l(u[0])})}t.addContext(s,c,r)}},35247:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(62323);const i=function(){function t(){this.observers={}}var e=t.prototype;return e.observe=function(t,e){var n=this;if("function"==typeof e)return this.observers[t]||(this.observers[t]=[]),this.observers[t].push(e),function(){var r=n.observers[t].indexOf(e);r>-1&&n.observers[t].splice(r,1)}},e.sendOnly=function(t,e){var n=this.observers[t];n&&n.forEach((function(t){try{t.apply(void 0,e)}catch(t){}}))},e.send=function(t,e){this.sendOnly(t+r.V_,e),this.sendOnly(t,e),this.sendOnly(t+r.wE,e)},t}()},99059:(t,e,n)=>{"use strict";n.d(e,{AG:()=>c,R7:()=>u,l5:()=>s});var r=n(62323),i=n(29123);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a.apply(null,arguments)}var o=6e4;function s(t,e){if(!u())return!1;
1if(!("keepalive"in new Request("")))return!1;var n=function(t){if(!t)return 0;if(t instanceof Blob)return t.size;return new Blob([t]).size}(e);return"POST"===t&&n<o}function c(t,e,n){var o,s=n.keepalive,c=void 0!==s&&s,u=n.timeout,d=void 0===u?r.V9:u,f=n.payload,l=n.headers,v=n.sendCredentials,p={};if("function"==typeof AbortController){var h=new AbortController;p.signal=h.signal,setTimeout((function(){return h.abort()}),d)}return window.fetch(e,a({body:f,headers:l,method:t,keepalive:c,credentials:v?"include":"omit"},p)).then((function(t){return(o=t).text()})).then((function(t){var n={url:e,status:o.status,responseText:t};if(!(0,i.W)(o.status))throw n;return n}))}function u(){return"function"==typeof window.fetch&&"function"==typeof window.Request}},29123:(t,e,n)=>{"use strict";function r(t){return!(0===t||t>399&&t<600)}n.d(e,{W:()=>r})},60193:(t,e,n)=>{"use strict";n.d(e,{o:()=>i});var r=n(62323);function i(t,e){var n,i=((n={})[r.lf]=!1,n[r.tH]=!1,n[r.Vv]=!1,n[r.LA]=!1,n[r.ff]=!1,n[r.zt]=!1,n[r.Rt]=!1,n);return t?(Object.keys(i).forEac
1h((function(t){-1===e.indexOf(t)&&(i[t]=!0)})),i):i}},43237:(t,e,n)=>{"use strict";n.d(e,{z:()=>a});var r=n(62323),i="a[data-transaction-name], button[data-transaction-name]";function a(t){var e=function(e){e.target instanceof Element&&function(t,e){var n=function(t){var e={transactionName:null,context:null};e.transactionName=function(t){var e=function(t){var e="data-transaction-name",n=t.getAttribute(e);if(t.closest){var r=t.closest(i);return r?r.getAttribute(e):n}return n}(t);if(e)return e;var n=t.tagName.toLowerCase(),r=t.getAttribute("name");if(r)return n+'["'+r+'"]';return n}(t);var n=t.getAttribute("class");n&&(e.context={custom:{classes:n}});return e}(e),a=n.transactionName,o=n.context,s=t.startTransaction("Click - "+a,r.NK,{managed:!0,canReuse:!0,reuseThreshold:300});s&&o&&s.addContext(o)}(t,e.target)},n="click",a=!0;return window.addEventListener(n,e,a),function(){window.removeEventListener(n,e,a)}}},15371:(t,e,n)=>{"use strict";n.d(e,{E:()=>s});var r=n(62323),i=n(23807),a=n(60163),o=n(41273);function s(t,e){"hidden"===document.visibilityState&&(i.w.lastHiddenStart=0);var n=function(){"hidden"===document.visibilityState&&c(t,e)},r=function(){return c(t,e)},a=!0;return window.addEventListener("visibilitychange",n,a),window.addEventListener("pagehide",r,a),function(){window.removeEventListener("visibilitychange",n,a),window.removeEventListener("pagehide",r,a)}}function c(t,e){var n=function(t){var e=(0,o.oj)();if(e>=0){var n=(0,a.tB)(),i=t.startTransaction(r.bi,r.bi,{startTime:n}),s=performance.getEntriesByType("navigation");if(s.length>0){var c=s[0].name;i.addContext({page:{url:c}})}i.addLabels({inp_value:e});var u=n+e+1;return i.end(u),(0,o.z0)(),i}}(e);if(n)var i=t.observeEvent(r.P2,(function(){u(t,e),i()}));else u(t,e)}function u(t,e){var n=e.getCurrentTransaction();if(n){var o=t.observeEvent(r.oM,(function(){i.w.lastHiddenStart=(0,a.tB)(),o(),s()})),s=t.observeEvent(r.P2,(function(){t.dispatchEvent(r.RY),i.w.lastHiddenStart=(0,a.tB)(),s(),o()}));n.end()}else t.dispatchEvent(r.RY),i.w.lastHiddenStart=(0,a.tB)()}},36292:(t,e,n)=>{"use strict";n.d(e,{M:()=>l,H:()=>d});var r=n(60855),i=n(62323);function a(t){var e=XMLHttpRequest.prototype;if(e&&e[i.wP])var n="readystatechange",a="load",o="error",s=(0,r.iQ)(e,"open",(function(){return function(t,e){return t[r.yO]||(t[r.Lk]=e[0],t[r.F5]=(e[1]||"").toString(),t[r.Js]=!1===e[2]),s.apply(t,e)}})),c=(0,r.iQ)(e,"send",(function(){return function(e,s){if(e[r.yO])return c.apply(e,s);var d={source:i.lf,state:"",type:"macroTask",data:{target:e,method:e[r.Lk],sync:e[r.Js],url:e[r.F5],status:""}};try{return function(e){if(e.state!==i.c7){e.state=i.c7,t(i.c7,e);var r=e.data.target;s(n),s(a),s("timeout"),s(o),s("abort")}function s(t){r[i.wP](t,(function(t){var i=t.type;i===n?4===r.readyState&&0!==r.status&&u(e,"success"):u(e,i===a?"success":i)}))}}(d),c.apply(e,s)}catch(t){throw u(d,o),t}}}));function u(e,n){e.state!==i.VK&&(e.state=i.VK,e.data.status=n,t(i.VK,e))}}var o=n(55910),s=n(60163),c=n(99059);function u(t){if((0,c.R7)()){var e=window.fetch;window.fetch=function(c,u){var d,f,l=this,v=arguments,p=c instanceof URL;if("string"==typeof c||p)d=new Request(c,u),f=p?d.url:c;else{if(!c)return e.apply(l,v);f=(d=new Request(c,u)).url}var h={source:i.tH,state:"",type:"macroTask",data:{target:d,method:d.method,url:f,aborted:!1}};return new o.K((function(o,c){var u;r.dr.fetchInProgress=!0,function(e){e.state=i.c7,t(i.c7,e)}(h);try{u=e.apply(l,[d])}catch(t){return c(t),h.data.error=t,n(h),void(r.dr.fetchInProgress=!1)}u.then((function(t){var e=t.clone?t.clone():{};o(t),(0,s.Fi)((function(){h.data.response=t;var r=e.body;r?function(t,e){var r=t.getReader(),i=function(){r.read().then((function(t){t.done?n(e):i()}),(function(t){a(e,t)}))};i()}(r,h):n(h)}))}),(function(t){c(t),(0,s.Fi)((function(){a(h,t)}))})),r.dr.fetchInProgress=!1}))}}function n(e){e.state=i.VK,t(i.VK,e)}function a(t,e){t.data.aborted=function(t){return t&&"AbortError"===t.name}(e),t.data.error=e,n(t)}}var d=new(n(35247).A),f=!1;function l(){return f||(f=!0,a((function(t,e){d.send(i.lf,[t,e])})),u((function(t,e){d.send(i.tH,[t,e])})),function(t){if(window.history){var e=history.pushState;"function"==typeof e&&(history.pushState=function(n,r,a){var o={source:i.Vv,data:{state:n,title:r,url:a}};t(i.VK,o),e.apply(this,arguments)})}}((function(t,e){d.send(i.Vv,[t,e])}))),d}},60855:(t,e,n)=>{"use strict";n.d(e,{F5:()=>c,Js:()=>s,Lk:()=>u,dr:()=>r,iQ:()=>a,yO:()=>o});var r={fetchInProgress:!1};function i(t){return"__apm_symbol__"+t}function a(t,e,n){for(var r=t;r&&!r.hasOwnProperty(e);)r=Object.getPrototypeOf(r);!r&&t[e]&&(r=t);var a,o,s,c,u=i(e);if(r&&!(a=r[u])){a=r[u]=r[e];var d=r&&Object.getOwnPropertyDescriptor(r,e);if(!(c=d)||!1!==c.writable&&("function"!=typeof c.get||void 0!==c.set)){var f=n(a,u,e);r[e]=function(){return f(this,arguments)},o=r[e],s=a,o[i("OriginalDelegate")]=s}}return a}var o=i("xhrIgnore"),s=i("xhrSync"),c=i("xhrURL"),u=i("xhrMethod")},55910:(t,e,n)=>{"use strict";n.d(e,{K:()=>a});var r=n(87087),i={};n(60163).Bd?i=window:"undefined"!=typeof self&&(i=self);var a="Promise"in i?i.Promise:r.A},80163:(t,e,n)=>{"use strict";n.d(e,{D:()=>s,s:()=>o});var r=n(60163);var i=[["#","hash"],["?","query"],["/","path"],["@","auth",1],[NaN,"host",void 0,1]],a=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,o=function(){function t(t){var e,n=this.extractProtocol(t||""),r=n.protocol,a=n.address,o=n.slashes,s=!r&&!o,c=this.getLocation(),u=i.slice();a=a.replace("\\","/"),o||(u[2]=[NaN,"path"]);for(var d=0;d<u.length;d++){var f=u[d],l=f[0],v=f[1];if("string"==typeof l){if(~(e=a.indexOf(l))){var p=f[2];if(p){var h=a.lastIndexOf(l);e=Math.max(e,h),this[v]=a.slice(0,e),a=a.slice(e+p)}else this[v]=a.slice(e),a=a.slice(0,e)}}else this[v]=a,a="";this[v]=this[v]||s&&f[3]&&c[v]||"",f[3]&&(this[v]=this[v].toLowerCase())}if(s&&"/"!==this.path.charAt(0)&&(this.path="/"+this.path),this.relative=s,this.protocol=r||c.protocol,this.hostname=this.host,this.port="",/:\d+$/.test(this.host)){var g=this.host.split(":"),m=g.pop(),y=g.join(":");!function(t,e){switch(e){case"http:":return"80"===t;case"https:":return"443"===t}return!0}(m,this.protocol)?this.port=m:this.host=y,this.hostname=y}
1this.origin=this.protocol&&this.host&&"file:"!==this.protocol?this.protocol+"//"+this.host:"null",this.href=this.toString()}var e=t.prototype;return e.toString=function(){var t=this.protocol;if(t+="//",this.auth){var e="[REDACTED]",n=this.auth.split(":");t+=(n[0]?e:"")+(n[1]?":"+e:"")+"@"}return t+=this.host,t+=this.path,t+=this.query,t+=this.hash},e.getLocation=function(){var t={};return r.Bd&&(t=window),t.location},e.extractProtocol=function(t){var e=a.exec(t);return{protocol:e[1]?e[1].toLowerCase():"",slashes:!!e[2],address:e[3]}},t}();function s(t,e){void 0===e&&(e=2);for(var n=new o(t),r=n.query,i=n.path.substring(1).split("/"),a=":id",s=/\W|_/g,c=/[0-9]/g,u=/[a-z]/g,d=/[A-Z]/g,f=[],l=!1,v=0;v<i.length;v++){var p=i[v];if(l||v>e-1){p&&f.push("*");break}if((p.match(s)||[]).length>=2)f.push(a),l=!0;else{var h=(p.match(c)||[]).length;if(h>3||p.length>3&&h/p.length>=.3)f.push(a),l=!0;else{var g=(p.match(d)||[]).length,m=(p.match(u)||[]).length/p.length,y=g/p.length;p.length>5&&(y>.3&&y<.6||m>.3&&m<.6)?(f.push(a),l=!0):p&&f.push(p)}}}return"/"+(f.length>=2?f.join("/"):f.join(""))+(r?"?{query}":"")}},60163:(t,e,n)=>{"use strict";n.d(e,{Bd:()=>a,C6:()=>m,DH:()=>P,DP:()=>B,Ds:()=>F,Fi:()=>N,G2:()=>M,GJ:()=>j,GQ:()=>p,Ih:()=>z,MZ:()=>d,OB:()=>l,RO:()=>h,U0:()=>v,Uo:()=>o,WB:()=>q,X$:()=>E,b0:()=>I,bC:()=>k,dr:()=>g,fh:()=>C,gc:()=>b,h1:()=>x,hV:()=>T,i9:()=>A,je:()=>y,lQ:()=>O,nW:()=>f,tB:()=>R,ue:()=>$,vG:()=>_});var r=n(55910),i=[].slice,a="undefined"!=typeof window,o=a&&"undefined"!=typeof performance?performance:{};for(var s=[],c=0;c<256;++c)s[c]=(c+256).toString(16).substr(1);var u=new Uint8Array(16);function d(t){return function(t){for(var e=[],n=0;n<t.length;n++)e.push(s[t[n]]);return e.join("")}("undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues?crypto.getRandomValues(u):"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues?msCrypto.getRandomValues(u):u).substr(0,t)}function f(t){if(t&&t.traceId&&t.id&&t.parentId){var e=t.sampled?"01":"00",n=t.sampled?t.id:t.parentId;return"00-"+t.traceId+"-"+n+"-"+e}}function l(t){var e=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})$/.exec(t);if(e){var n="00"!==e[4];return{traceId:e[2],id:e[3],sampled:n}}}function v(t){return/^[\da-f]{2}-[\da-f]{32}-[\da-f]{16}-[\da-f]{2}$/.test(t)&&"00000000000000000000000000000000"!==t.slice(3,35)&&"0000000000000000"!==t.slice(36,52)}function p(t){var e=t.sampleRate;if(!("number"!=typeof e||String(e).length>
1256)){return"es=s:"+e}}function h(t,e,n){"function"==typeof t.setRequestHeader?t.setRequestHeader(e,n):t.headers&&"function"==typeof t.headers.append?t.headers.append(e,n):t[e]=n}function g(t,e){var n=!1;return"string"==typeof e?n=t===e:e&&"function"==typeof e.test?n=e.test(t):Array.isArray(e)&&e.forEach((function(e){n||(n=g(t,e))})),n}function m(){return a&&"function"==typeof Set&&"function"==typeof JSON.stringify&&o&&"function"==typeof o.now&&"withCredentials"in new window.XMLHttpRequest}function y(t,e,n){if(n&&t){var r=C(t),i=typeof e;return null!=e&&"boolean"!==i&&"number"!==i&&(e=String(e)),n[r]=e,n}}function b(t){void 0===t&&(t=[]);for(var e=[],n=0;n<t.length;n++){var r=t[n],i=r.name,a=r.duration,o=r.description,s=i;o&&(s+=";desc="+o),a&&(s+=";dur="+a),e.push(s)}return e.join(", ")}function _(t){return t&&t.split("?")[0]}function S(t){return null!==t&&"object"==typeof t}function w(t,e,n){for(var r=0,i=e.length;r<i;++r){var a=e[r];if(S(a)||"function"==typeof a)for(var o=Object.keys(a),s=0,c=o.length;s<c;s++){var u=o[s],d=a[u];n&&S(d)?(S(t[u])||(t[u]=Array.isArray(d)?[]:{}),w(t[u],[d],!1)):t[u]=d}}return t}function T(){if("undefined"!=typeof document){var t=document.currentScript;return t||function(){if("undefined"!=typeof document)for(var t=document.getElementsByTagName("script"),e=0,n=t.length;e<n;e++){var r=t[e];if(r.src.indexOf("elastic")>0)return r}}()}}function E(){return w(Object.create(null),i.call(arguments),!1)}function x(){return w(Object.create(null),i.call(arguments),!0)}function I(t){return void 0===t}function O(){}function C(t){return t.replace(/[.*"]/g,"_")}function L(t,e){for(var n=null,r=0;r<t.length;r++){var i=t[r];e&&e(i.type)&&(!n||n._end<i._end)&&(n=i)}return n}function k(t){return L(t,(function(t){return-1===String(t).indexOf("external")}))}function A(t){return L(t,(function(t){return-1!==String(t).indexOf("external")}))}function j(t){for(var e=t[0],n=1;n<t.length;n++){var r=t[n];e._start>r._start&&(e=r)}return e}function R(){return o.now()}function q(t){return"number"==typeof t&&t>=0?t:R()}function F(t,e){return I(e)||I(t)?null:parseInt(e-t)}function N(t){r.K.resolve().then(t)}function P(){return"function"==typeof o.getEntriesByType}function M(t){return"undefined"!=typeof PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.indexOf(t)>=0}function B(){return"interactionCount"in performance}function $(){var t="_elastic_inspect_beacon_";if(null!=sessionStorage.getItem(t))return!0;if(!window.URL||!window.URLSearchParams)return!1;try{var e=new URL(window.location.href).searchParams.has(t);return e&&sessionStorage.setItem(t,!0),e}catch(t){}return!1}function z(t){return t.redirectStart>0}},56334:(t,e,n)=>{"use strict";function r(t,e){var n=e.error,r=e.filename,i=e.lineno,a=e.colno,o=[];if(n)try{o=t.parse(n)}catch(t){}return function(t){return 0!==t.length&&(1!==t.length||"lineNumber"in t[0])}(o)||(o=[{fileName:r,lineNumber:i,columnNumber:a}]),o.map((function(t){return t.functionName&&(t.functionName=(e=t.functionName,n=e.split("/"),e=n.length>1?["Object",n[n.length-1]].join("."):n[0],e=(n=(e=(e=e.replace(/.<$/gi,".<anonymous>")).replace(/^Anonymous function$/,"<anonymous>")).split(".")).length>1?n[n.length-1]:n[0])),t;var e,n})).map((function(t){var e=t.fileName,n=t.lineNumber,r=t.columnNumber,i=t.functionName,a=void 0===i?"<anonymous>":i;if(!e&&!n)return{};if(!r&&!n)return{};var o,s,c=function(t){return void 0===t&&(t=""),"<anonymous>"===t&&(t=""),t}(e),u=(o=c,s=window.location.origin||window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),o.indexOf(s)>-1&&(o=o.replace(s+"/","")),o);return function(t){return!!t&&0===window.location.href.indexOf(t)}(c)&&(u="(inline script)"),{abs_path:e,filename:u,function:a,lineno:n,colno:r}}))}n.d(e,{eF:()=>ft});var i=n(60163),a=n(91437),o=n(62323),s={service:{name:[o.g$,!0],version:!0,agent:{version:[o.g$,!0]},environment:!0},labels:{"*":!0}},c={"*":!0,headers:{"*":!0}},u={user:{id:!0,email:!0,username:!0},tags:{"*":!0},http:{response:c},destination:{address:[o.g$],service:{"*":[o.g$,!0]}},response:c},d={name:[o.g$,!0],type:[o.g$,!0],id:[o.g$,!0],trace_id:[o.g$,!0],parent_id:[o.g$,!0],transaction_id:[o.g$,!0],subtype:!0,action:!0,context:u},f={name:!0,parent_id:!0,type:[o.g$,!0],id:[o.g$,!0],trace_id:[o.g$,!0],span_count:{started:[o.g$,!0]},context:u}
1,l={id:[o.g$,!0],trace_id:!0,transaction_id:!0,parent_id:!0,culprit:!0,exception:{type:!0},transaction:{type:!0},context:u};function v(t){return null==t||""===t||void 0===t}function p(t,e,n){var r=function(t,e,n,r){return void 0===e&&(e=o.g$),void 0===n&&(n=!1),void 0===r&&(r="N/A"),n&&v(t)&&(t=r),"string"==typeof t?t.substring(0,e):t}(t[e],n[0],n[1]);v(r)?delete t[e]:t[e]=r}function h(t,e,n){void 0===t&&(t={}),void 0===n&&(n=e);for(var r=Object.keys(t),i=[],a=function(){var a=r[o],s=!0===t[a]?i:t[a];Array.isArray(s)?"*"===a?Object.keys(n).forEach((function(t){return p(n,t,s)})):p(n,a,s):h(s,e,n[a])},o=0;o<r.length;o++)a();return e}var g=n(96636),m=n.n(g),y=["tags"];var b=["stack","message"],_="Unhandled promise rejection: ";const S=function(){function t(t,e,n){this._apmServer=t,this._configService=e,this._transactionService=n}var e=t.prototype;return e.createErrorDataModel=function(t,e){var n=function(t){return t.filter((function(t){var e=t.filename,n=t.lineno;return void 0!==e&&void 0!==n}))}(r(m(),t)),o="(inline script)",s=n[n.length-1];s&&s.filename&&(o=s.filename);var c=t.message,u=t.error,d=c,f="",v={};if(u&&"object"==typeof u){d=d||u.message,f=u.name;var p=function(t){var e=!1,n={};if(Object.keys(t).forEach((function(r){if(!(b.indexOf(r)>=0)){var i=t[r];if(null!=i&&"function"!=typeof i){if("object"==typeof i){if("function"!=typeof i.toISOString)return;i=i.toISOString()}n[r]=i,e=!0}}})),e)return n}(u);p&&(v.custom=p)}if(e&&e.labels){var g=Object.keys(e.labels);v.tags={},g.forEach((function(t){return(0,i.je)(t,e.labels[t],v.tags)}))}f||d&&d.indexOf(":")>-1&&(f=d.split(":")[0]);var _=this._transactionService.getCurrentTransaction(),S=_?_.context:{},w=this._configService.get("context"),T=(w.tags,function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}(w,y)),E=(0,a.rc)(),x=(0,i.h1)({},E,S,T,v),I={id:(0,i.MZ)(),culprit:o,exception:{message:d,stacktrace:n,type:f},context:x};return _&&(I=(0,i.X$)(I,{trace_id:_.traceId,parent_id:_.id,transaction_id:_.id,transaction:{type:_.type,sampled:_.sampled}})),h(l,I)},e.logErrorEvent=function(t,e){if(void 0!==t){var n=this.createErrorDataModel(t,e);void 0!==n.exception.message&&this._apmServer.addError(n)}},e.registerListeners=function(){var t=this;window.addEventListener("error",(function(e){return t.logErrorEvent(e)})),window.addEventListener("unhandledrejection",(function(e){return t.logPromiseEvent(e)}))},e.logPromiseEvent=function(t){var e,n=t.reason;if(null==n&&(n="<no reason specified>"),"string"==typeof n.message){var r=n.name?n.name+": ":"";e={error:n,message:_+r+n.message}}else e=this._parseRejectReason(n);this.logErrorEvent(e)},e.logError=function(t,e){var n={};return"string"==typeof t?n.message=t:n.error=t,this.logErrorEvent(n,e)},e._parseRejectReason=function(t){var e={message:_};if(Array.isArray(t))e.message+="<object>";else if("object"==typeof t)try{e.message+=JSON.stringify(t),e.error=t}catch(t){e.message+="<object>"}else e.message+="function"==typeof t?"<function>":t;return e},t}();const w=function(){function t(t,e){void 0===e&&(e={}),this.onFlush=t,this.items=[],this.queueLimit=e.queueLimit||-1,this.flushInterval=e.flushInterval||0,this.timeoutId=void 0}var e=t.prototype;return e._setTimer=function(){var t=this;this.timeoutId=setTimeout((function(){return t.flush()}),this.flushInterval)},e._clear=function(){void 0!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0),this.items=[]},e.flush=function(){this.onFlush(this.items),this._clear()},e.add=function(t){this.items.push(t),-1!==this.queueLimit&&this.items.length>=this.queueLimit?this.flush():void 0===this.timeoutId&&this._setTimer()},t}();const T=function(){function t(){}return t.stringify=function(t){return JSON.stringify(t)+"\n"},t}();var E=n(55910),x=["fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd"],I=["fs","ls","le","cs","ce","qs","rs","re","dl","di","ds","de","dc","es","ee"];function O(t){var e=function(t){var e=t.redirectStart,n=t.fetchStart,r=t.navigationStart,a=t.responseStart,o=t.responseEnd;if(n>=r&&a>=n&&o>=a){var s={};return x.forEach((function(r){var a=t[r];a&&a>=n&&((0,i.Ih)(t)?s[r]=parseInt(a-e):s[r]=parseInt(a-n))})),s}return null}(t);return null==e?null:{navigationTiming:e,agent:{timeToFirstByte:e.responseStart,domInteractive:e.domInteractive,domComplete:e.domComplete}}}function C(t){return{ts:t.transfer_size,ebs:t.encoded_body_size,dbs:t.decoded_body_size}}function L(t){if(!t)return null;var e={},n=t.page,r=t.http,i=t.response,a=t.destination,o=t.user,s=t.custom,c=t.tags;if(n&&(e.p={rf:n.referer,url:n.url}),r&&(e.h=function(t){var e={},n=t.method,r=t.status_code,i=t.url,a=t.response;return e.url=i,n&&(e.mt=n),r&&(e.sc=r),a&&(e.r=C(a)),e}(r)),i&&(e.r=C(i)),a){var u=a.service;e.dt={se:{n:u.name,t:u.type,rc:u.resource},ad:a.address,po:a.port}}return o&&(e.u={id:o.id,un:o.username,em:o.email}),s&&(e.cu=s),c&&(e.g=c),e}function k(t){if(!t)return null;var e=function(t){if(!t)return null;var e={};return I.forEach((function(n,r){var i=x[r];e[n]=t[i]})),e}(t.navigationTiming);return{nt:e,a:A(e,t.agent)}}function A(t,e){var n={};if(t&&(n={fb:t.rs,di:t.di,dc:t.dc}),e){var r=e.firstContentfulPaint,i=e.largestContentfulPaint;r&&(n.fp=r),i&&(n.lp=i)}return 0===Object.keys(n).length?null:n}var j=n(23807),R=n(99059),q=n(60855),F=n(29123);function N(t,e,n){var r=n.timeout,i=void 0===r?HTTP_REQUEST_TIMEOUT:r,a=n.payload,o=n.headers,s=n.beforeSend,c=n.sendCredentials;return new E.K((function(n,r){var u=new window.XMLHttpRequest;if(u[q.yO]=!0,u.open(t,e,!0),u.timeout=i,u.withCredentials=c,o)for(var d in o)o.hasOwnProperty(d)&&u.setRequestHeader(d,o[d]);u.onreadystatechange=function(){if(4===u.readyState){var t=u.status,i=u.responseText;(0,F.W)(t)?n(u):r({url:e,status:t,responseText:i})}},u.onerror=function(){var t=u.status,n=u.responseText;r({url:e,status:t,responseText:n})};var f=!0;"function"==typeof s&&(f=s({url:e,method:t,headers:o,payload:a,xhr:u})),f?u.send(a):r({url:e,status:0,responseText:"Request rejected by user configuration."})}))}var P=function(){function t(t,e){this._configService=t,this._loggingService=e,this.queue=void 0,this.throttleEvents=i.lQ}var e=t.prototype;return e.init=function(){var t=this,e=this._configService.get("queueLimit"),n=this._configService.get("flushInterval"),r=this._configService.get("eventsLimit");this.queue=new w((function(e){var n=t.sendEvents(e);n&&n.catch((function(e){t._loggingService.warn("Failed sending events!",t._constructError(e))}))}),{queueLimit:e,flushInterval:n}),this.throttleEvents=function(t,e,n){var r,i=this,a=n.limit,o=n.interval,s=0;return function(){return s++,void 0===r&&(r=setTimeout((function(){s=0,r=void 0}),o)),s>a&&"function"==typeof e?e.apply(i,arguments):t.apply(i,arguments)}}(this.queue.add.bind(this.queue),(function(){return t._loggingService.warn("Dropped events due to throttling!")}),{limit:r,interval:6e4}),this._configService.observeEvent(o.RY,(function(){t.queue.flush()}))},e._postJson=function(t,e){var n=this,r={payload:e,headers:{"Content-Type":"application/x-ndjson"},beforeSend:this._configService.get("apmRequest")};return function(t,e){void 0===e&&(e="gzip");var n="function"==typeof CompressionStream;return new E.K((function(r){if(!n)return r(t);if((0,i.ue)())return r(t);var a=t.payload,o=t.headers,s=t.beforeSend,c=new Blob([a]).stream().pipeThrough(new CompressionStream(e));return new Response(c).blob().then((function(t){return o["Content-Encoding"]=e,r({payload:t,headers:o,beforeSend:s})}))}))}(r).catch((function(t){return j.g&&n._loggingService.debug("Compressing the payload using CompressionStream API failed",t.message),r})).then((function(e){return n._makeHttpRequest("POST",t,e)})).then((function(t){return t.responseText}))},e._constructError=function(t){var e=t.url,n=t.status,r=t.responseText;if(void 0===n)return t;var i=e+" HTTP status: "+n;if(j.g&&r)try{var a=[],o=JSON.parse(r);o.errors&&o.errors.length>
vendor: 6,331 bytes, line 1
10&&(o.errors.forEach((function(t){return a.push(t.message)})),i+=" "+a.join(","))}catch(t){this._loggingService.debug("Error parsing response from APM server",t)}return new Error(i)},e._makeHttpRequest=function(t,e,n){var r=void 0===n?{}:n,i=r.timeout,a=void 0===i?o.V9:i,s=r.payload,c=r.headers,u=r.beforeSend,d=this._configService.get("sendCredentials");return!u&&(0,R.l5)(t,s)?(0,R.AG)(t,e,{keepalive:!0,timeout:a,payload:s,headers:c,sendCredentials:d}).catch((function(n){if(n instanceof TypeError)return N(t,e,{timeout:a,payload:s,headers:c,beforeSend:u,sendCredentials:d});throw n})):N(t,e,{timeout:a,payload:s,headers:c,beforeSend:u,sendCredentials:d})},e.fetchConfig=function(t,e){var n=this,r=this.getEndpoints().configEndpoint;if(!t)return E.K.reject("serviceName is required for fetching central config.");r+="?service.name="+t,e&&(r+="&service.environment="+e);var i=this._configService.getLocalConfig();i&&(r+="&ifnonematch="+i.etag);var a=this._configService.get("apmRequest");return this._makeHttpRequest("GET",r,{timeout:5e3,beforeSend:a}).then((function(t){var e=t.status,r=t.responseText;if(304===e)return i;var a=JSON.parse(r),o=t.getResponseHeader("etag");return o&&(a.etag=o.replace(/["]/g,""),n._configService.setLocalConfig(a,!0)),a})).catch((function(t){var e=n._constructError(t);return E.K.reject(e)}))},e.createMetaData=function(){var t=this._configService,e={service:{name:t.get("serviceName"),version:t.get("serviceVersion"),agent:{name:"rum-js",version:t.version},language:{name:"javascript"},environment:t.get("environment")},labels:t.get("context.tags")};return h(s,e)},e.addError=function(t){var e;this.throttleEvents(((e={})[o.Sr]=t,e))},e.addTransaction=function(t){var e;this.throttleEvents(((e={})[o.e6]=t,e))},e.ndjsonErrors=function(t,e){var n=e?"e":"error";return t.map((function(t){var r;return T.stringify(((r={})[n]=e?function(t){var e,n=t.exception,r={id:t.id,cl:t.culprit,ex:{mg:n.message,st:(e=n.stacktrace,e.map((function(t){return{ap:t.abs_path,f:t.filename,fn:t.function,li:t.lineno,co:t.colno}}))),t:t.type},c:L(t.context)},i=t.transaction;return i&&(r.tid=t.trace_id,r.pid=t.parent_id,r.xid=t.transaction_id,r.x={t:i.type,sm:i.sampled}),r}(t):t,r))}))},e.ndjsonMetricsets=function(t){return t.map((function(t){return T.stringify({metricset:t})})).join("")},e.ndjsonTransactions=function(t,e){var n=this,r=e?"x":"transaction";return t.map((function(t){var i,a="",o="";return e||(t.spans&&(a=t.spans.map((function(t){return T.stringify({span:t})})).join(""),delete t.spans),t.breakdown&&(o=n.ndjsonMetricsets(t.breakdown),delete t.breakdown)),T.stringify(((i={})[r]=e?function(t){var e,n=t.spans.map((function(e){var n={id:e.id,n:e.name,t:e.type,s:e.start,d:e.duration,c:L(e.context),o:e.outcome,sr:e.sample_rate};return e.parent_id!==t.id&&(n.pid=e.parent_id),!0===e.sync&&(n.sy=!0),e.subtype&&(n.su=e.subtype),e.action&&(n.ac=e.action),n})),r={id:t.id,pid:t.parent_id,tid:t.trace_id,n:t.name,t:t.type,d:t.duration,c:L(t.context),k:k(t.marks),me:(e=t.breakdown,e.map((function(t){var e=t.span,n=t.samples;return{y:{t:e.type},sa:{ysc:{v:n["span.self_time.count"].value},yss:{v:n["span.self_time.sum.us"].value}}}}))),y:n,yc:{sd:n.length},sm:t.sampled,sr:t.sample_rate,o:t.outcome};if(t.experience){var i=t.experience,a=i.cls,o=i.fid,s=i.tbt,c=i.longtask;r.exp={cls:a,fid:o,tbt:s,lt:c}}if(t.session){var u=t.session,d=u.id,f=u.sequence;r.ses={id:d,seq:f}}return r}(t):t,i))+a+o}))},e.sendEvents=function(t){var e,n;if(0!==t.length){for(var r=[],i=[],a=0;a<t.length;a++){var s=t[a];s[o.e6]&&r.push(s[o.e6]),s[o.Sr]&&i.push(s[o.Sr])}if(0!==r.length||0!==i.length){var c=this._configService,u=((e={})[o.e6]=r,e[o.Sr]=i,e),d=c.applyFilters(u);if(d){var f=c.get("apiVersion")>2,l=[],v=this.createMetaData(),p=f?"m":"metadata";l.push(T.stringify(((n={})[p]=f?function(t){var e=t.service,n=t.labels,r=e.agent,i=e.language;return{se:{n:e.name,ve:e.version,a:{n:r.name,ve:r.version},la:{n:i.name},en:e.environment},l:n}}(v):v,n)));var h=(l=l.concat(this.ndjsonErrors(d[o.Sr],f),this.ndjsonTransactions(d[o.e6],f))).join(""),g=this.getEndpoints().intakeEndpoint;return this._postJson(g,h)}this._loggingService.warn("Dropped payload due to filtering!")}}},e.getEndpoints=function(){var t=this._configService.get("serverUrl"),e=this._configService.get("apiVersion");return{intakeEndpoint:t+(this._configService.get("serverUrlPrefix")||"/intake/v"+e+"/rum/events"),configEndpoint:t+"/config/v1/rum/agents"}},t}();const M=P;var B=n(35247);function $(){return $=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$.apply(null,arguments)}const z=function(){function t(){this.config={serviceName:"",serviceVersion:"",environment:"",serverUrl:"http://localhost:8200",serverUrlPrefix:"",active:!0,instrument:!0,disableInstrumentations:[],logLevel:"warn",breakdownMetrics:!1,ignoreTransactions:[],eventsLimit:80,queueLimit:-1,flushInterval:500,distributedTracing:!0,distributedTracingOrigins:[],distributedTracingHeaderName:"traceparent",pageLoadTraceId:"",pageLoadSpanId:"",pageLoadSampled:!1,pageLoadParentId:"",pageLoadTransactionName:"",propagateTracestate:!1,transactionSampleRate:1,centralConfig:!1,monitorLongtasks:!0,apiVersion:2,context:{},session:!1,apmRequest:null,sendCredentials:!1,reportTransactionsWithoutSpans:!1},this.events=new B.A,this.filters=[],this.version=""}var e=t.prototype;return e.init=function(){var t=function(t){if(!t)return{};for(var e={},n=/^data-([\w-]+)$/,r=t.attributes,i=0;i<r.length;i++){var a=r[i];n.test(a.nodeName)&&(e[a.nodeName.match(n)[1].split("-").map((function(t,e){return e>0?t.charAt(0).toUpperCase()+t.substring(1):t})).join("")]=a.value||a.nodeValue)}return e}((0,i.hV)());this.setConfig(t)},e.setVersion=function(t){this.version=t},e.addFilter=function(t){if("function"!=typeof t)throw new Error("Argument to must be function");this.filters.push(t)},e.applyFilters=function(t){try{for(var e=0;e<this.filters.length;e++)if(!(t=this.filters[e](t)))return;if(t.transactions=t.transactions.filter((function(t){return t})),t.errors=t.errors.filter((function(t){return t})),0===t.transactions.length&&0===t.errors.length)return}catch(t){return void j.g}return t},e.get=function(t){return t.split(".").reduce((function(t,e){return t&&t[e]}
1),this.config)},e.setUserContext=function(t){void 0===t&&(t={});var e={},n=t,r=n.id,a=n.username,o=n.email;"number"!=typeof r&&"string"!=typeof r||(e.id=r),"string"==typeof a&&(e.username=a),"string"==typeof o&&(e.email=o),this.config.context.user=(0,i.X$)(this.config.context.user||{},e)},e.setCustomContext=function(t){void 0===t&&(t={}),this.config.context.custom=(0,i.X$)(this.config.context.custom||{},t)},e.addLabels=function(t){var e=this;this.config.context.tags||(this.config.context.tags={}),Object.keys(t).forEach((function(n){return(0,i.je)(n,t[n],e.config.context.tags)}))},e.setConfig=function(t){void 0===t&&(t={});var e=t,n=e.transactionSampleRate,r=e.serverUrl;r&&(t.serverUrl=r.replace(/\/+$/,"")),(0,i.b0)(n)||(n<1e-4&&n>0&&(n=1e-4),t.transactionSampleRate=Math.round(1e4*n)/1e4),this.config=(0,i.h1)(this.config,t),this.events.send(o.El,[this.config])},e.validate=function(t){void 0===t&&(t={});var e=["serviceName","serverUrl"],n=Object.keys(this.config),r={missing:[],invalid:[],unknown:[]};Object.keys(t).forEach((function(i){-1===e.indexOf(i)||t[i]||r.missing.push(i),-1===n.indexOf(i)&&r.unknown.push(i)})),t.serviceName&&!/^[a-zA-Z0-9 _-]+$/.test(t.serviceName)&&r.invalid.push({key:"serviceName",value:t.serviceName,allowed:"a-z, A-Z, 0-9, _, -, <space>"});var i=t.transactionSampleRate;return void 0!==i&&("number"!=typeof i||isNaN(i)||i<0||i>1)&&r.invalid.push({key:"transactionSampleRate",value:i,allowed:"Number between 0 and 1"}),r},e.getLocalConfig=function(){var t=sessionStorage;this.config.session&&(t=localStorage);var e=t.getItem(o.$G);if(e)return JSON.parse(e)},e.setLocalConfig=function(t,e){if(t){if(e)t=$({},this.getLocalConfig(),t);var n=sessionStorage;this.config.session&&(n=localStorage),n.setItem(o.$G,JSON.stringify(t))}},e.dispatchEvent=function(t,e){this.events.send(t,e)},e.observeEvent=function(t,e){return this.events.observe(t,e)},t}();const H=function(){function t(t){void 0===t&&(t={}),this.levels=["trace","debug","info","warn","error"],this.level=t.level||"warn",this.prefix=t.prefix||"",this.resetLogMethods()}var e=t.prototype;return e.shouldLog=function(t){return this.levels.indexOf(t)>=this.levels.indexOf(this.level)},e.setLevel=function(t){t!==this.level&&(this.level=t,this.resetLogMethods())},e.resetLogMethods=function(){var t=this;this.levels.forEach((function(e){t[e]=t.shouldLog(e)?function(){var t=e;"trace"!==e&&"debug"!==e||(t="info");var n=arguments;if(n[0]=this.prefix+n[0],console){var r=console[t]||console.log;"function"==typeof r&&r.apply(console,n)}}:i.lQ}))},t}();var U,D=((U={})[o.rq]=function(){return new z},U[o.Ii]=function(){return new H({prefix:"[Elastic APM] "})},U[o.jw]=function(t){var e=t.getService([o.rq,o.Ii]),n=e[0],r=e[1];return new M(n,r)},U),V=function(){function t(){this.instances={},this.initialized=!1}var e=t.prototype;return e.init=function(){if(!this.initialized){this.initialized=!0;var t=this.getService(o.rq);t.init();var e=this.getService([o.Ii,o.jw]),n=e[0],r=e[1];t.events.observe(o.El,(function(){var e=t.get("logLevel");n.setLevel(e)})),r.init()}},e.getService=function(t){var e=this;return"string"==typeof t?(this.instances[t]||("function"==typeof D[t]?this.instances[t]=D[t](this):j.g),this.instances[t]):Array.isArray(t)?t.map((function(t){return e.getService(t)})):void 0},t}();var K=n(80163),G=n(36292);var X=function(){function t(t,e,n,r){this._apmServer=t,this._configService=e,this._logginService=n,this._transactionService=r}var e=t.prototype;return e.init=function(t){var e=this;void 0===t&&(t={}),this._configService.events.observe(o.x2+o.wE,(function(t){var n=e.createTransactionPayload(t);n&&(e._apmServer.addTransaction(n),e._configService.dispatchEvent(o.P2))})),t[o.Vv]&&G.H.observe(o.Vv,this.getHistorySub()),t[o.lf]&&G.H.observe(o.lf,this.getXHRSub()),t[o.tH]&&G.H.observe(o.tH,this.getFetchSub())},e.getHistorySub=function(){var t=this._transactionService;
1return function(e,n){n.source===o.Vv&&e===o.VK&&t.startTransaction(n.data.title,"route-change",{managed:!0,canReuse:!0})}},e.getXHRSub=function(){var t=this;return function(e,n){n.source!==o.lf||q.dr.fetchInProgress||t.processAPICalls(e,n)}},e.getFetchSub=function(){var t=this;return function(e,n){n.source===o.tH&&t.processAPICalls(e,n)}},e.processAPICalls=function(t,e){var n=this._configService,r=this._transactionService;if(e.data&&e.data.url){var a=this._apmServer.getEndpoints();if(Object.keys(a).some((function(t){return-1!==e.data.url.indexOf(a[t])})))return}if(t===o.c7&&e.data){var s=e.data,c=new K.s(s.url),u=s.method+" "+(c.relative?c.path:(0,i.vG)(c.href));r.getCurrentTransaction()||r.startTransaction(u,o.CC,{managed:!0});var d=r.startSpan(u,"external.http",{blocking:!0});if(!d)return;var f=n.get("distributedTracing"),l=n.get("distributedTracingOrigins"),v=new K.s(window.location.href),p=(0,i.dr)(c.origin,v.origin)||(0,i.dr)(c.origin,l),h=s.target;if(f&&p&&h)this.injectDtHeader(d,h),n.get("propagateTracestate")&&this.injectTSHeader(d,h);else j.g&&this._logginService.debug("Could not inject distributed tracing header to the request origin ('"+c.origin+"') from the current origin ('"+v.origin+"')");s.sync&&(d.sync=s.sync),s.span=d}else if(t===o.VK){var g=e.data;if(g&&g.span){var m,y,b=g.span,_=g.response,S=g.target;m=_?_.status:S.status,y="abort"==g.status||g.aborted?o.A8:m>=400||0==m?o.Us:o.XQ,b.outcome=y;var w=r.getCurrentTransaction();w&&w.type===o.CC&&(w.outcome=y),r.endSpan(b,g)}}},e.injectDtHeader=function(t,e){var n=this._configService.get("distributedTracingHeaderName"),r=(0,i.nW)(t);(0,i.U0)(r)&&r&&n&&(0,i.RO)(e,n,r)},e.injectTSHeader=function(t,e){var n=(0,i.GQ)(t);n&&(0,i.RO)(e,"tracestate",n)},e.extractDtHeader=function(t){var e=this._configService.get("distributedTracingHeaderName");if(t)return(0,i.OB)(t[e])},e.filterTransaction=function(t){var e=t.duration();if(!e){if(j.g){var n="transaction("+t.id+", "+t.name+") was discarded! ";n+=0===e?"Transaction duration is 0":"Transaction wasn't ended",this._logginService.debug(n)}return!1}if(t.isManaged()){if(e>6e4)return j.g&&this._logginService.debug("transaction("+t.id+", "+t.name+") was discarded! Transaction duration ("+e+") is greater than managed transaction threshold (60000)"),!1;var r=this._configService.get("reportTransactionsWithoutSpans");if(t.sampled&&0===t.spans.length&&!r)return j.g&&this._logginService.debug("transaction("+t.id+", "+t.name+") was discarded! Transaction does not have any spans"),!1}return!0},e.createTransactionDataModel=function(t){var e=t._start,n=t.spans.map((function(n){var r={id:n.id,transaction_id:t.id,parent_id:n.parentId||t.id,trace_id:t.traceId,name:n.name,type:n.type,subtype:n.subtype,action:n.action,sync:n.sync,start:parseInt(n._start-e),duration:n.duration(),context:n.context,outcome:n.outcome,sample_rate:n.sampleRate};return h(d,r)})),r={id:t.id,parent_id:t.parentId,trace_id:t.traceId,session:t.session,name:t.name,type:t.type,duration:t.duration(),spans:n,context:t.context,marks:t.marks,breakdown:t.breakdownTimings,span_count:{started:n.length},sampled:t.sampled,sample_rate:t.sampleRate,experience:t.experience,outcome:t.outcome};return h(f,r)},e.createTransactionPayload=function(t){var e=function(t){if(t.sampled){var e=t.spans.filter((function(e){return e.duration()>0&&e._start>=t._start&&e._end<=t._end}));if(t.isManaged()){var n=function(t,e,n){t.sort((function(t,e){return t._start-e._start}));var r=[],i=1;return t.forEach((function(a,o){if(0===r.length)r.push(a);else{var s=r[r.length-1],c=s.type===a.type&&s.subtype===a.subtype&&s.action===a.action&&s.name===a.name&&a.duration()/e<n&&(a._start-s._end)/e<n,u=t.length===o+1;c&&(i++,s._end=a._end),i>1&&(!c||u)&&(s.name=i+"x "+s.name,i=1),c||r.push(a)}})),r}(e,t.duration(),.05);t.spans=n}else t.spans=e}else t.resetFields();return t}(t);if(this.filterTransaction(e))return this.createTransactionDataModel(t);this._configService.dispatchEvent(o.oM)},t}(),W=n(50454),J=n(96198),Z=[["domainLookupStart","domainLookupEnd","DNS"],["connectStart","connectEnd","TCP"],["requestStart","responseStart","Request"],["responseStart","responseEnd","Re
1sponse"],["domLoading","domComplete","Processing"],["loadEventStart","loadEventEnd","Load"]];function Q(t){return{value:t}}function Y(t,e){var n=e.details,r=e.count,i=void 0===r?1:r,a=e.duration;return{transaction:t,span:n,samples:{"span.self_time.count":Q(i),"span.self_time.sum.us":Q(1e3*a)}}}function tt(t,e){void 0===e&&(e=i.Uo.timing);var n=[],r=t.name,a=t.type,s=t.sampled,c={name:r,type:a};if(!s)return n;if(a===o.LA&&e)for(var u=0;u<Z.length;u++){var d=Z[u],f=e[d[0]],l=e[d[1]],v=(0,i.Ds)(f,l);0!==v&&null!=v&&n.push(Y(c,{details:{type:d[2]},duration:v}))}else{var p=function(t){var e={},n=function(t){var e=t.spans,n=t._start,r=t._end;if(0===e.length)return t.duration();e.sort((function(t,e){return t._start-e._start}));for(var i=e[0],a=i._end,o=i._start,s=a,c=o-n,u=1;u<e.length;u++)o=(i=e[u])._start,a=i._end,o>s?(c+=o-s,s=a):a>s&&(s=a);return s<r&&(c+=r-s),c}(t);e.app={count:1,duration:n};for(var r=t.spans,i=0;i<r.length;i++){var a=r[i],s=a.duration();if(0!==s&&null!=s){var c=a.type,u=a.subtype,d=c.replace(o.gW,"");u&&(d+="."+u),e[d]||(e[d]={duration:0,count:0}),e[d].count++,e[d].duration+=s}}return e}(t);Object.keys(p).forEach((function(t){var e=t.split("."),r=e[0],i=e[1],a=p[t],o=a.duration,s=a.count;n.push(Y(c,{details:{type:r,subtype:i},duration:o,count:s}))}))}return n}function et(t,e){return et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},et(t,e)}const nt=function(t){function e(e,n,r){var a;return(a=t.call(this,e,n,r)||this).traceId=(0,i.MZ)(),a.marks=void 0,a.spans=[],a._activeSpans={},a._activeTasks=new Set,a.blocked=!1,a.captureTimings=!1,a.breakdownTimings=[],a.sampleRate=a.options.transactionSampleRate,a.sampled=Math.random()<=a.sampleRate,a}var n,r;r=t,(n=e).prototype=Object.create(r.prototype),n.prototype.constructor=n,et(n,r);var a=e.prototype;return a.addMarks=function(t){this.marks=(0,i.h1)(this.marks||{},t)},a.mark=function(t){var e=(0,i.fh)(t),n=(0,i.tB)()-this._start,r={};r[e]=n,this.addMarks({custom:r})},a.canReuse=function(){var t=this.options.reuseThreshold||o.E8;return!!this.options.canReuse&&!this.ended&&(0,i.tB)()-this._start<t},a.redefine=function(t,e,n){t&&(this.name=t),e&&(this.type=e),n&&(this.options.reuseThreshold=n.reuseThreshold,this.options=(0,i.X$)(this.options,n))},a.startSpan=function(t,e,n){var r=this;if(!this.ended){var a=(0,i.X$)({},n);a.onEnd=function(t){r._onSpanEnd(t)},a.traceId=this.traceId,a.sampled=this.sampled,a.sampleRate=this.sampleRate,a.parentId||(a.parentId=this.id);var o=new W.A(t,e,a);return this._activeSpans[o.id]=o,a.blocking&&this.addTask(o.id),o}},a.isFinished=function(){return!this.blocked&&0===this._activeTasks.size},a.detectFinish=function(){this.isFinished()&&this.end()},a.end=function(t){if(!this.ended){for(var e in this.ended=!0,this._end=(0,i.WB)(t),this._activeSpans){var n=this._activeSpans[e];n.type=n.type+o.gW,n.end(t)}this.callOnEnd()}},a.captureBreakdown=function(){this.breakdownTimings=tt(this)},a.block=function(t){this.blocked=t,this.blocked||this.detectFinish()},a.addTask=function(t){return t||(t="task-"+(0,i.MZ)(16)),this._activeTasks.add(t),t},a.removeTask=function(t){this._activeTasks.delete(t)&&this.detectFinish()},a.resetFields=function(){this.spans=[],this.sampleRate=0},a._onSpanEnd=function(t){this.spans.push(t),delete this._activeSpans[t.id],this.removeTask(t.id)},a.isManaged=function(){return!!this.options.managed},e}(J.A);var rt=n(37599);function it(t,e,n,r,i){return void 0===i&&(i=0),"number"==typeof t&&"number"==typeof e&&t>=i&&e>t&&t-i>=n&&e-i<=r&&e-t<o.Xu&&t-i<o.Xu&&e-i<o.Xu}var at=[["redirectStart","redirectEnd","Redirect"],["domainLookupStart","domainLookupEnd","Domain lookup"],["connectStart","connectEnd","Making a connection to the server"],["requestStart","responseEnd","Requesting and receiving the document"],["domLoading","domInteractive","Parsing the document, executing sync. scripts"],["domContentLoadedEventStart","domContentLoadedEventEnd",'Fire "DOMContentLoaded" event'],["loadEventStart","loadEventEnd",'Fire "load" event']];function ot(t){var e=t.name,n=t.initiatorType,r=t.startTime,a=t.responseEnd,o="resource";n&&(o+="."+n);var s=(0,i.vG)(e),c=new W.A(s,o);return c._start=r,c.end(a,{url:e,entry:t}),c}function st(t,e){return null!=e&&t>e}function ct(t){return/intake\/v\d+\/rum\/events/.test(t)}function ut(t){if(t.captureTimings){var e=t._end;if(t.type===o.LA){if(t.marks&&t.marks.custom){var n=t.marks.custom;
1Object.keys(n).forEach((function(e){n[e]+=t._start}))}t._start=0;var r=i.Uo.timing;(function(t,e,n,r){for(var i=[],a=0;a<at.length;a++){var o=t[at[a][0]],s=t[at[a][1]];if(it(o,s,n,r,e)){var c=new W.A(at[a][2],"hard-navigation.browser-timing"),u=null;"requestStart"===at[a][0]&&(c.pageResponse=!0,u={url:location.origin}),c._start=o-e,c.end(s-e,u),i.push(c)}}return i})(r,(0,i.Ih)(r)?r.redirectStart:r.fetchStart,0,e).forEach((function(e){e.traceId=t.traceId,e.sampled=t.sampled,e.pageResponse&&t.options.pageLoadSpanId&&(e.id=t.options.pageLoadSpanId),t.spans.push(e)})),t.options.pageLoadParentId&&(t.parentId=t.options.pageLoadParentId),t.addMarks(O(r))}if((0,i.DH)()){var a=t._start;(function(t,e,n,r){for(var i=[],a=0;a<t.length;a++){var s=t[a],c=s.initiatorType,u=s.name,d=s.startTime,f=s.responseEnd;-1!==o.Fw.indexOf(c)&&null!=u&&("xmlhttprequest"!==c&&"fetch"!==c||!ct(u)&&!st(d,e))&&it(d,f,n,r)&&i.push(ot(t[a]))}return i})(i.Uo.getEntriesByType(o.bD),j.w.bootstrapTime,a,e).forEach((function(e){return t.spans.push(e)})),function(t,e,n){for(var r=[],i=0;i<t.length;i++){var a=t[i],s=a.name,c=a.startTime,u=a.duration,d=c+u;if(!(u<=o.Td)&&it(c,d,e,n)){var f=new W.A(s,"app");f._start=c,f.end(d),r.push(f)}}return r}(i.Uo.getEntriesByType(o.V1),a,e).forEach((function(e){return t.spans.push(e)}))}}else t.type===o.LA&&(t._start=0)}const dt=function(){function t(t,e){var n=this;this._config=e,this._logger=t,this.currentTransaction=void 0,this.respIntervalId=void 0,this.recorder=new rt.kT((function(t){var e=n.getCurrentTransaction();if(e&&e.captureTimings){var r,i=e.type===o.LA,a=(0,rt.dy)(t,{isHardNavigation:i,trStart:i?0:e._start}),s=a.spans,c=a.marks;(r=e.spans).push.apply(r,s),e.addMarks({agent:c})}}))}var e=t.prototype;return e.createCurrentTransaction=function(t,e,n){var r=new nt(t,e,n);return this.currentTransaction=r,r},e.getCurrentTransaction=function(){if(this.currentTransaction&&!this.currentTransaction.ended)return this.currentTransaction},e.createOptions=function(t){var e=this._config.config,n={transactionSampleRate:e.transactionSampleRate},r=(0,i.X$)(n,t);return r.managed&&(r=(0,i.X$)({pageLoadTraceId:e.pageLoadTraceId,pageLoadSampled:e.pageLoadSampled,pageLoadSpanId:e.pageLoadSpanId,pageLoadTransactionName:e.pageLoadTransactionName,pageLoadParentId:e.pageLoadParentId},r)),r},e.startManagedTransaction=function(t,e,n){var r=this.getCurrentTransaction(),i=!1;if(r)if(r.canReuse()&&n.canReuse){var a=r.type,s=o.dD.indexOf(r.type),c=o.dD.indexOf(e);s>=0&&c<s&&(a=e),j.g&&this._logger.debug("redefining transaction("+r.id+", "+r.name+", "+r.type+")","to","("+(t||r.name)+", "+a+")",r),r.redefine(t,a,n),i=!0}else j.g&&this._logger.debug("ending previous transaction("+r.id+", "+r.name+")",r),r.end(),r=this.createCurrentTransaction(t,e,n);else r=this.createCurrentTransaction(t,e,n);return r.type===o.LA&&(i||(this.recorder.start(o.ZB),this.recorder.start(o.z),this.recorder.start(o._z),this.recorder.start(o.kl)),n.pageLoadTraceId&&(r.traceId=n.pageLoadTraceId),n.pageLoadSampled&&(r.sampled=n.pageLoadSampled),r.name===o.z0&&n.pageLoadTransactionName&&(r.name=n.pageLoadTransactionName)),!i&&this._config.get("monitorLongtasks")&&this.recorder.start(o.tO),r.sampled&&(r.captureTimings=!0),r},e.startTransaction=function(t,e,n){var r,i=this,a=this.createOptions(n),s=!0;a.managed?this.currentTransaction===(r=this.startManagedTransaction(t,e,a))&&(s=!1):r=new nt(t,e,a);return r.onEnd=function(){return i.handleTransactionEnd(r)},s&&(j.g&&this._logger.debug("startTransaction("+r.id+", "+r.name+", "+r.type+")"),this._config.events.send(o.Ex,[r])),r},e.handleTransactionEnd=function(t){var e=this;this.recorder.stop();var n=window.location.href;return E.K.resolve().then((function(){var r=t.name,s=t.type;if(j.w.lastHiddenStart>=t._start)return j.g&&e._logger.debug("transaction("+t.id+", "+r+", "+s+") was discarded! The page was hidden during the transaction!"),void e._config.dispatchEvent(o.oM);if(e.shouldIgnoreTransaction(r)||s===o.B0)return j.g&&e._logger.debug("transaction("+t.id+", "+r+", "+s+") is ignored"),void e._config.dispatchEvent(o.oM);if(s===o.LA){var c=e._config.get("pageLoadTransactionName");if(r===o.z0&&c&&(t.name=c),t.captureTimings){var u=rt.qd.cls,d=rt.qd.fid,f=rt.qd.tbt,l=rt.qd.longtask;f.duration>
10&&t.spans.push((0,rt.B9)(f)),t.experience={},(0,i.G2)(o.tO)&&(t.experience.tbt=f.duration),(0,i.G2)(o.kl)&&(t.experience.cls=u.score),d>0&&(t.experience.fid=d),l.count>0&&(t.experience.longtask={count:l.count,sum:l.duration,max:l.max})}e.setSession(t)}t.name===o.z0&&(t.name=(0,K.D)(n)),ut(t),e.adjustTransactionTime(t),e._config.get("breakdownMetrics")&&t.captureBreakdown();var v=e._config.get("context");(0,a.ll)(t,v),e._config.events.send(o.x2,[t]),j.g&&e._logger.debug("end transaction("+t.id+", "+t.name+", "+t.type+")",t)}),(function(n){j.g&&e._logger.debug("error ending transaction("+t.id+", "+t.name+")",n)}))},e.setSession=function(t){var e=this._config.get("session");if(e){"boolean"==typeof e||e.timestamp&&Date.now()-e.timestamp>o.Vl?t.session={id:(0,i.MZ)(16),sequence:1}:t.session={id:e.id,sequence:e.sequence?e.sequence+1:1};var n={session:{id:t.session.id,sequence:t.session.sequence,timestamp:Date.now()}};this._config.setConfig(n),this._config.setLocalConfig(n,!0)}},e.adjustTransactionTime=function(t){var e=t.spans,n=(0,i.GJ)(e);n&&n._start<t._start&&(t._start=n._start);var r=((0,i.bC)(e)||{})._end||0;if(t.type===o.LA){var a=t._end-o.$A,s=rt.qd.lcp||0,c=((0,i.i9)(e)||{})._end||0;t._end=Math.max(r,c,s,a)}else r>t._end&&(t._end=r);this.truncateSpans(e,t._end)},e.truncateSpans=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];r._end>e&&(r._end=e,r.type+=o.gW),r._start>e&&(r._start=e)}},e.shouldIgnoreTransaction=function(t){var e=this._config.get("ignoreTransactions");if(e&&e.length)for(var n=0;n<e.length;n++){var r=e[n];if("function"==typeof r.test){if(r.test(t))return!0}else if(r===t)return!0}return!1},e.startSpan=function(t,e,n){var r=this.getCurrentTransaction();r||(r=this.createCurrentTransaction(void 0,o.B0,this.createOptions({canReuse:!0,managed:!0})));var i=r.startSpan(t,e,n);return j.g&&this._logger.debug("startSpan("+t+", "+i.type+")","on transaction("+r.id+", "+r.name+")"),i},e.endSpan=function(t,e){if(t){if(j.g){var n=this.getCurrentTransaction();n&&this._logger.debug("endSpan("+t.name+", "+t.type+")","on transaction("+n.id+", "+n.name+")")}t.end(null,e)}},t}();function ft(){return D[o.p5]=function(t){var e=t.getService([o.Ii,o.rq]),n=e[0],r=e[1];return new dt(n,r)},D[o._M]=function(t){var e=t.getService([o.jw,o.rq,o.Ii,o.p5]),n=e[0],r=e[1],i=e[2],a=e[3];return new X(n,r,i,a)},D[o.r]=function(t){var e=t.getService([o.jw,o.rq,o.p5]),n=e[0],r=e[1],i=e[2];return new S(n,r,i)},new V}},41273:(t,e,n)=>{"use strict";n.d(e,{Bs:()=>u,oj:()=>f,z0:()=>v});var r=n(62323),i=n(60163),a=n(37599),o=40,s=10,c={minInteractionId:1/0,maxInteractionId:0,interactionCount:0,longestInteractions:[]};function u(t){void 0===t&&(t=new a.kT(d));var e=(0,i.DP)(),n=e?o:16;t.start(r.ll,{buffered:!0,durationThreshold:n}),e||t.start(r._z)}function d(t){t.getEntries().forEach((function(t){t.interactionId&&(function(t){if((0,i.DP)())return;c.minInteractionId=Math.min(c.minInteractionId,t.interactionId),c.maxInteractionId=Math.max(c.maxInteractionId,t.interactionId),c.interactionCount=(c.maxInteractionId-c.minInteractionId)/7+1}(t),t.duration<o||function(t){var e=c.longestInteractions[c.longestInteractions.length-1];if(void 0!==e&&t.duration<=e.duration&&t.interactionId!=e.id)return;var n=c.longestInteractions.filter((function(e){return e.id===t.interactionId}));if(n.length>0){var r=n[0];r.duration=Math.max(r.duration,t.duration)}else c.longestInteractions.push({id:t.interactionId,duration:t.duration});c.longestInteractions.sort((function(t,e){return e.duration-t.duration})),c.longestInteractions.splice(s)}(t))}))}function f(){if(0===c.longestInteractions.length)return l()>0?0:void 0;var t=Math.min(c.longestInteractions.length-1,Math.floor(l()/50));return c.longestInteractions[t].duration}function l(){return performance.interactionCount||c.interactionCount}function v(){c.minInteractionId=1/0,c.maxInteractionId=0,c.interactionCount=0,c.longestInteractions=[]}},37599:(t,e,n)=>{"use strict";n.d(e,{B9:()=>u,dy:()=>d,kT:()=>f,qd:()=>s});var r=n(62323),i=n(60163),a=n(50454);function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(null,arguments)}var s={fid:0,fcp:0,tbt:{start:1/0,duration:0},cls:{score:0,firstEntryTime:Number.NEGATIVE_INFINITY,prevEntryTime:Number.NEGATIVE_INFINITY,currentSessionScore:0},longtask:{count:0,duration:0,max:0}},c=50;function u(t){var e=t.start,n=t.duration,i=new a.A("Total Blocking Time",r.tO,{startTime:e});return i.end(e+n),i}function d(t,e){var n=e.isHardNavigation,o=e.trStart,u=t.getEntriesByType(r.tO).filter((function(t){return t.startTime>=o})),d={spans:function(t,e){for(var n=[],i=0;i<t.length;i++){var o=t[i],s=o.name,c=o.startTime,u=o.duration,d=o.attribution,f=c+u,l=new a.A("Longtask("+s+")",r.tO,{startTime:c});if(e.count++,e.duration+=u,e.max=Math.max(u,e.max),d.length>0){var v=d[0],p=v.name,h=v.containerType,g=v.containerName,m=v.containerId,y={attribution:p,type:h};g&&(y.name=g),m&&(y.id=m),l.addContext({custom:y})}l.end(f),n.push(l)}return n}(u,s.longtask),marks:{}};if(!n)return d;var f=t.getEntriesByType(r.ZB),l=f[f.length-1];if(l){var v=parseInt(l.startTime);s.lcp=v,d.marks.largestContentfulPaint=v}var p=i.Uo.timing,h=p.fetchStart-p.navigationStart;
1(0,i.Ih)(p)&&(h=0);var g=t.getEntriesByName(r.Zy)[0];if(g){var m=parseInt(h>=0?g.startTime-h:g.startTime);s.fcp=m,d.marks.firstContentfulPaint=m}var y=function(t){var e=t[0];if(e){var n=e.startTime,i=e.processingStart,o=new a.A("First Input Delay",r._z,{startTime:n});return o.end(i),o}}(t.getEntriesByType(r._z));return y&&(s.fid=y.duration(),d.spans.push(y)),function(t){t.forEach((function(t){var e=t.name,n=t.startTime,r=t.duration;if(!(n<s.fcp||"self"!==e&&-1===e.indexOf("same-origin"))){s.tbt.start=Math.min(s.tbt.start,n);var i=r-c;i>0&&(s.tbt.duration+=i)}}))}(u),function(t){t.forEach((function(t){!t.hadRecentInput&&t.value&&((t.startTime-s.cls.firstEntryTime>5e3||t.startTime-s.cls.prevEntryTime>1e3)&&(s.cls.firstEntryTime=t.startTime,s.cls.currentSessionScore=0),s.cls.prevEntryTime=t.startTime,s.cls.currentSessionScore+=t.value,s.cls.score=Math.max(s.cls.score,s.cls.currentSessionScore))}))}(t.getEntriesByType(r.kl)),d}var f=function(){function t(t){this.po={observe:i.lQ,disconnect:i.lQ},window.PerformanceObserver&&(this.po=new PerformanceObserver(t))}var e=t.prototype;return e.start=function(t,e){void 0===e&&(e={buffered:!0});try{if(!(0,i.G2)(t))return;this.po.observe(o({type:t},e))}catch(t){}},e.stop=function(){this.po.disconnect()},t}()},96198:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(60163),i=n(62323);const a=function(){function t(t,e,n){void 0===n&&(n={}),t||(t=i.z0),e||(e=i.ft),this.name=t,this.type=e,this.options=n,this.id=n.id||(0,r.MZ)(16),this.traceId=n.traceId,this.sampled=n.sampled,this.sampleRate=n.sampleRate,this.timestamp=n.timestamp,this._start=(0,r.WB)(n.startTime),this._end=void 0,this.ended=!1,this.outcome=void 0,this.onEnd=n.onEnd}var e=t.prototype;return e.ensureContext=function(){this.context||(this.context={})},e.addLabels=function(t){this.ensureContext();var e=this.context;e.tags||(e.tags={}),Object.keys(t).forEach((function(n){return(0,r.je)(n,t[n],e.tags)}))},e.addContext=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];0!==e.length&&(this.ensureContext(),this.context=r.h1.apply(void 0,[this.context].concat(e)))},e.end=function(t){this.ended||(this.ended=!0,this._end=(0,r.WB)(t),this.callOnEnd())},e.callOnEnd=function(){"function"==typeof this.onEnd&&this.onEnd(this)},e.duration=function(){return(0,r.Ds)(this._start,this._end)},t}()},50454:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(96198),i=n(91437);function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}const o=function(t){function e(e,n,r){var i;if((i=t.call(this,e,n,r)||this).parentId=i.options.parentId,i.subtype=void 0,i.action=void 0,-1!==i.type.indexOf(".")){var a=i.type.split(".",3);i.type=a[0],i.subtype=a[1],i.action=a[2]}return i.sync=i.options.sync,i}var n,r;return r=t,(n=e).prototype=Object.create(r.prototype),n.prototype.constructor=n,a(n,r),e.prototype.end=function(e,n){t.prototype.end.call(this,e),(0,i.tx)(this,n)},e}(r.A)},23807:(t,e,n)=>{"use strict";n.d(e,{g:()=>r,w:()=>i});var r=!1,i={bootstrapTime:null,lastHiddenStart:Number.MIN_SAFE_INTEGER}},96636:function(t,e,n){var r,i,a;!function(o,s){"use strict";i=[n(40343)],void 0===(a="function"==typeof(r=function(t){var e=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;function i(t,e,n){if("function"==typeof Array.prototype.map)return t.map(e,n);for(var r=new Array(t.length),i=0;i<t.length;i++)r[i]=e.call(n,t[i]);return r}function a(t,e,n){if("function"==typeof Array.prototype.filter)return t.filter(e,n);for(var r=[],i=0;i<t.length;i++)e.call(n,t[i])&&r.push(t[i]);return r}function o(t,e){if("function"==typeof Array.prototype.indexOf)return t.indexOf(e);for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1}return{parse:function(t){if(void 0!==t.stacktrace||void 0!==t["opera#sourceloc"])return this.parseOpera(t);if(t.stack&&t.stack.match(n))return this.parseV8OrIE(t);if(t.stack)return this.parseFFOrSafari(t);throw new Error("Cannot parse given Error object")},extractLocation:function(t){if(-1===t.indexOf(":"))return[t];var e=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(t.replace(/[\(\)]/g,""));return[e[1],e[2]||void 0,e[3]||void 0]},parseV8OrIE:function(e){return i(a(e.stack.split("\n"),(function(t){return!!t.match(n)}),this),(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=e.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),r=this.extractLocation(n.pop()),i=n.join(" ")||void 0,a=o(["eval","<anonymous>"],r[0])>-1?void 0:r[0];return new t(i,void 0,a,r[1],r[2],e)}),this)},parseFFOrSafari:function(e){return i(a(e.stack.split("\n"),(function(t){return!t.match(r)}),this),(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new t(e);var n=e.split("@"),r=this.extractLocation(n.pop()),i=n.join("@")||void 0;return new t(i,void 0,r[0],r[1],r[2],e)}),this)},parseOpera:function(t){return!t.stacktrace||t.message.indexOf("\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)},parseOpera9:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),i=[],a=2,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new t(void 0,void 0,s[2],s[1],void 0,r[a]))}return i},parseOpera10:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),i=[],a=0,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new t(s[3]||void 0,void 0,s[2],s[1],void 0,r[a]))}return i},parseOpera11:function(n){return i(a(n.stack.split("\n"),(function(t){return!!t.match(e)&&!t.match(/^Error created at/)}),this),(function(e){var n,r=e.split("@"),i=this.extractLocation(r.pop()),a=r.shift()||"",o=a.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;a.match(/\(([^\)]*)\)/)&&(n=a.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new t(o,s,i[0],i[1],i[2],e)}),this)}}})?r.apply(e,i):r)||(t.exports=a)}()},15059:(t,e,n)=>{"use strict";n.d(e,{r:()=>I});var r=n(60163),i=n(3232),a=n(56334),o=n(62323),s=n(60193),c=n(15371),u=n(43237),d=n(41273),f=function(){function t(t,e){this._disable=e,this.serviceFactory=t,this._initialized=!1}var e=t.prototype;return e.isEnabled=function(){return!this._disable},e.isActive=function(){var t=this.serviceFactory.getService(o.rq);return this.isEnabled()&&this._initialized&&t.get("active")}
1,e.init=function(t){var e=this;if(this.isEnabled()&&!this._initialized){this._initialized=!0;var n=this.serviceFactory.getService([o.rq,o.Ii,o.p5]),r=n[0],i=n[1],a=n[2];r.setVersion("5.17.5"),this.config(t);var f=r.get("logLevel");if(i.setLevel(f),r.get("active")){this.serviceFactory.init();var l=(0,s.o)(r.get("instrument"),r.get("disableInstrumentations"));if(this.serviceFactory.getService(o._M).init(l),l[o.ff])this.serviceFactory.getService(o.r).registerListeners();if(r.get("session")){var v=r.getLocalConfig();v&&v.session&&r.setConfig({session:v.session})}var p=function(){return l[o.LA]&&e._sendPageLoadMetrics()};r.get("centralConfig")?this.fetchCentralConfig().then(p):p(),(0,c.E)(r,a),l[o.zt]&&l[o.Rt]&&(0,u.z)(a),(0,d.Bs)()}else this._disable=!0,i.warn("RUM agent is inactive")}return this},e.fetchCentralConfig=function(){var t=this.serviceFactory.getService([o.jw,o.Ii,o.rq]),e=t[0],n=t[1],r=t[2];return e.fetchConfig(r.get("serviceName"),r.get("environment")).then((function(t){var e=t.transaction_sample_rate;if(e){var i={transactionSampleRate:e=Number(e)},a=r.validate(i).invalid;if(0===a.length)r.setConfig(i);else{var o=a[0],s=o.key,c=o.value,u=o.allowed;n.warn('invalid value "'+c+'" for '+s+". Allowed: "+u+".")}}return t})).catch((function(t){n.warn("failed fetching config:",t)}))},e._sendPageLoadMetrics=function(){var t=this.startTransaction(void 0,o.LA,{managed:!0,canReuse:!0});if(t){t.addTask(o.LA);var e=function(){setTimeout((function(){return t.removeTask(o.LA)}),o.$A)};"complete"===document.readyState?e():window.addEventListener("load",e)}},e.observe=function(t,e){this.serviceFactory.getService(o.rq).events.observe(t,e)},e.config=function(t){var e=this.serviceFactory.getService([o.rq,o.Ii]),n=e[0],r=e[1],i=n.validate(t),a=i.missing,s=i.invalid,c=i.unknown;if(c.length>0){var u="Unknown config options are specified for RUM agent: "+c.join(", ");r.warn(u)}if(0===a.length&&0===s.length)n.setConfig(t);else{var d=", ",f="RUM agent isn't correctly configured. ";a.length>0&&(f+=a.join(d)+" is missing",s.length>0&&(f+=d)),s.forEach((function(t,e){var n=t.key,r=t.value,i=t.allowed;f+=n+' "'+r+'" contains invalid characters! (allowed: '+i+")"+(e!==s.length-1?d:"")})),r.error(f),n.setConfig({active:!1})}},e.setUserContext=function(t){this.serviceFactory.getService(o.rq).setUserContext(t)},e.setCustomContext=function(t){this.serviceFactory.getService(o.rq).setCustomContext(t)},e.addLabels=function(t){this.serviceFactory.getService(o.rq).addLabels(t)},e.setInitialPageLoadName=function(t){this.serviceFactory.getService(o.rq).setConfig({pageLoadTransactionName:t})},e.startTransaction=function(t,e,n){if(this.isEnabled())return this.serviceFactory.getService(o.p5).startTransaction(t,e,n)},e.startSpan=function(t,e,n){if(this.isEnabled())return this.serviceFactory.getService(o.p5).startSpan(t,e,n)},e.getCurrentTransaction=function(){if(this.isEnabled())return this.serviceFactory.getService(o.p5).getCurrentTransaction()},e.captureError=function(t,e){if(this.isEnabled())return this.serviceFactory.getService(o.r).logError(t,e)},e.addFilter=function(t){this.serviceFactory.getService(o.rq).addFilter(t)},t}();var l=function(){if(r.Bd&&window.elasticApm)return window.elasticApm;var t=(0,i.N)(),e=(0,a.eF)(),n=new f(e,!t);return r.Bd&&(window.elasticApm=n),n}();l.init.bind(l);var v=n(96540),p=n(4146),h=n.n(p),g=100;function m(t){var e=function(){clearTimeout(n),cancelAnimationFrame(r),setTimeout(t)},n=setTimeout(e,g),r=requestAnimationFrame(e)}function y(t,e){return y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},y(t,e)}function b(){return b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},b.apply(this,arguments)}function _(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);o=!0);}catch(t){s=!0,i=t}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return S(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(t,e)}
1(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function w(t){return function(e,n,r){return void 0===r&&(r=function(){}),function(i){if(!t.isActive())return i;if(!i)return t.serviceFactory.getService(o.Ii).warn(e+" is not instrumented since component property is not provided"),i;var a=null;return(a=function(t){var e=t.prototype;return!(!e||!e.isReactComponent)}(i)||"function"!=typeof v.useEffect||"function"!=typeof v.useState?function(a){var o,s;function c(i){var o;return(o=a.call(this,i)||this).transaction=t.startTransaction(e,n,{managed:!0,canReuse:!0}),r(o.transaction,i),o}s=a,(o=c).prototype=Object.create(s.prototype),o.prototype.constructor=o,y(o,s);var u=c.prototype;return u.componentDidMount=function(){var t=this;m((function(){return t.transaction&&t.transaction.detectFinish()}))},u.componentWillUnmount=function(){this.transaction&&this.transaction.detectFinish()},u.render=function(){return v.createElement(i,b({transaction:this.transaction},this.props))},c}(v.Component):function(a){var o=_(v.useState((function(){var i=t.startTransaction(e,n,{managed:!0,canReuse:!0});return r(i,a),i})),1)[0];return v.useEffect((function(){return m((function(){return o&&o.detectFinish()})),function(){o&&o.detectFinish()}}),[]),v.createElement(i,b({transaction:o},a))}).displayName="withTransaction("+(i.displayName||i.name)+")",a.WrappedComponent=i,h()(a,i)}}}var T=n(56347);function E(){return E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},E.apply(this,arguments)}function x(t,e){return x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},x(t,e)}var I=w(l);!function(t){var e=w(t);(function(t){var n,r;function i(e){var n;return(n=t.call(this,e)||this).state={},n}r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,x(n,r),i.getDerivedStateFromProps=function(t,n){var r=null==n.apmComponent,i=t.path,a=t.component,o=i!=n.path;return r||o?{path:i,apmComponent:e(i,"route-change",(function(t,e){if(t){var n=function(t,e){var n=e.match,r=void 0===n?{}:n;return Array.isArray(t)&&r.path?r.path:t}(i,e);n&&(t.name=n)}}))(a)}:null},i.prototype.render=function(){return v.createElement(T.qh,E({},this.props,{component:this.state.apmComponent}))}})(v.Component)}(l)},29301:(t,e,n)=>{"use strict";n.d(e,{Ts:()=>l});var r=n(60163),i=n(3232),a=n(56334),o=n(62323),s=n(60193),c=n(15371),u=n(43237),d=function(){function t(t,e){this._disable=e,this.serviceFactory=t,this._initialized=!1}var e=t.prototype;return e.isEnabled=function(){return!this._disable},e.isActive=function(){var t=this.serviceFactory.getService(o.rq);return this.isEnabled()&&this._initialized&&t.get("active")},e.init=function(t){var e=this;if(this.isEnabled()&&!this._initialized){this._initialized=!0;var n=this.serviceFactory.getService([o.rq,o.Ii,o.p5]),r=n[0],i=n[1],a=n[2];r.setVersion("5.14.0"),this.config(t);var d=r.get("logLevel");if(i.setLevel(d),r.get("active")){this.serviceFactory.init();var f=(0,s.o)(r.get("instrument"),r.get("disableInstrumentations"));if(this.serviceFactory.getService(o._M).init(f),f[o.ff])this.serviceFactory.getService(o.r).registerListeners();if(r.get("session")){var l=r.getLocalConfig();l&&l.session&&r.setConfig({session:l.session})}var v=function(){return f[o.LA]&&e._sendPageLoadMetrics()};r.get("centralConfig")?this.fetchCentralConfig().then(v):v(),(0,c.E)(r,a),f[o.zt]&&f[o.Rt]&&(0,u.z)(a)}else this._disable=!0,i.warn("RUM agent is inactive")}return this},e.fetchCentralConfig=function(){var t=this.serviceFactory.getService([o.jw,o.Ii,o.rq]),e=t[0],n=t[1],r=t[2];return e.fetchConfig(r.get("serviceName"),r.get("environment")).then((function(t){var e=t.transaction_sample_rate;if(e){var i={transactionSampleRate:e=Number(e)},a=r.validate(i).invalid;if(0===a.length)r.setConfig(i);else{var o=a[0],s=o.key,c=o.value,u=o.allowed;n.warn('invalid value "'+c+'" for '+s+". Allowed: "+u+".")}}return t})).catch((function(t){n.warn("failed fetching config:",t)}))},e._sendPageLoadMetrics=function(){var t=this.startTransaction(void 0,o.LA,{managed:!0,canReuse:!0});if(t){t.addTask(o.LA);var e=function(){setTimeout((function(){return t.removeTask(o.LA)}),o.$A)};"complete"===document.readyState?e():window.addEventListener("load",e)}},e.observe=function(t,e){this.serviceFactory.getService(o.rq).events.observe(t,e)},e.config=function(t){var e=this.serviceFactory.getService([o.rq,o.Ii]),n=e[0],r=e[1],i=n.validate(t),a=i.missing,s=i.invalid,c=i.unknown;if(c.length>0){var u="Unknown config options are specified for RUM agent: "+c.join(", ");r.warn(u)}if(0===a.length&&0===s.length)n.setConfig(t);else{var d=", ",f="RUM agent isn't correctly configured. ";a.length>0&&(f+=a.join(d)+" is missing",s.length>
10&&(f+=d)),s.forEach((function(t,e){var n=t.key,r=t.value,i=t.allowed;f+=n+' "'+r+'" contains invalid characters! (allowed: '+i+")"+(e!==s.length-1?d:"")})),r.error(f),n.setConfig({active:!1})}},e.setUserContext=function(t){this.serviceFactory.getService(o.rq).setUserContext(t)},e.setCustomContext=function(t){this.serviceFactory.getService(o.rq).setCustomContext(t)},e.addLabels=function(t){this.serviceFactory.getService(o.rq).addLabels(t)},e.setInitialPageLoadName=function(t){this.serviceFactory.getService(o.rq).setConfig({pageLoadTransactionName:t})},e.startTransaction=function(t,e,n){if(this.isEnabled())return this.serviceFactory.getService(o.p5).startTransaction(t,e,n)},e.startSpan=function(t,e,n){if(this.isEnabled())return this.serviceFactory.getService(o.p5).startSpan(t,e,n)},e.getCurrentTransaction=function(){if(this.isEnabled())return this.serviceFactory.getService(o.p5).getCurrentTransaction()},e.captureError=function(t){if(this.isEnabled())return this.serviceFactory.getService(o.r).logError(t)},e.addFilter=function(t){this.serviceFactory.getService(o.rq).addFilter(t)},t}();var f=function(){if(r.Bd&&window.elasticApm)return window.elasticApm;var t=(0,i.N)(),e=(0,a.eF)(),n=new d(e,!t);return r.Bd&&(window.elasticApm=n),n}(),l=f.init.bind(f)}}]); 2//# sourceMappingURL=1079.c0b86ef17a68f36bcbaf.js.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.