1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58552],{1336:(t,e,n)=>{n.d(e,{N:()=>o,p:()=>i});let r=!1;function i(t){r=t}function o(){return r}},1659:(t,e,n)=>{n.d(e,{Y:()=>o});var r=n(65752),i=n(38197);function o(t){let e=(0,i.j)();for(let n in t)e[n]={...e[n],...t[n]};(0,r.lr)(e)}},4454:(t,e,n)=>{let r;n.d(e,{Bd:()=>c,Dx:()=>u,dm:()=>a,um:()=>l});var i=n(91359),o=n(1336);let s=function(t,e){function n(t){return function(...e){return r(t,this,e)}}function r(t,e,n){try{return t.apply(e,n)}catch(t){i(t)}}function i(n){let r=e=>{(0,o.N)()&&t.error("[MONITOR]",e)};r(n);try{e(n)}catch(t){r(t)}}return{monitored:function(t,e,r){r.value=n(r.value)},monitor:n,callMonitored:r,monitorError:i}}((0,i.XH)("Datadog SDK:"),t=>r?.(t)),a=s.monitor,l=s.callMonitored,u=s.monitorError;function c(t){return!r&&(r=t,!0)}},4564:(t,e,n)=>{let r,i,o,s,a,l;n.d(e,{eT:()=>t0,o:()=>tZ,Rg:()=>tu,$m:()=>tY,NT:()=>tQ,Wd:()=>tJ,bb:()=>u,K:()=>c,do:()=>tI,xC:()=>ea,DL:()=>p,K$:()=>el,wP:()=>rw,wI:()=>tT,W3:()=>ta,PJ:()=>t3,dT:()=>t4,$4:()=>tk,Gn:()=>en,zL:()=>er,dx:()=>ry,rf:()=>et,pB:()=>eo,g1:()=>ei,nS:()=>tx,XS:()=>tC,p_:()=>tA,AB:()=>rm,jR:()=>t5,ei:()=>tS,ap:()=>t8,Ie:()=>t6});let u={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",VIEW_UPDATE:"view_update",RESOURCE:"resource",VITAL:"vital"},c={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},d={INITIAL_LOAD:"initial_load",ROUTE_CHANGE:"route_change",SESSION_RENEWAL:"session_renewal",BF_CACHE:"bf_cache"},f={CLICK:"click",CUSTOM:"custom"},h={RAGE_CLICK:"rage_click",ERROR_CLICK:"error_click",DEAD_CLICK:"dead_click"},p={DURATION:"duration",OPERATION_STEP:"operation_step"};function m(t,e){e.lastIndex=0;let n=e.exec(t);if(!n)return;let[r,i]=n;return i||r}let g=/[a-zA-Z_$]/,y=/[a-zA-Z0-9_$]/,v=/[0-9]/,b=/[a-fA-F0-9]/,w={0:()=>!1,1:()=>!1,2:t=>g.test(t),3:t=>y.test(t),4:t=>"."===t,5:t=>"["===t,6:t=>"]"===t,7:t=>v.test(t),8:t=>"'\"".includes(t),9:(t,e)=>t===e.quote,10:()=>!0,11:t=>"\\"===t,12:(t,e)=>void 0===e.escapeSequence?`${e.quote}/\\bfnrtu`.includes(t):!!e.escapeSequence.startsWith("u")&&e.escapeSequence.length<5&&b.test(t)},_={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},S=[2,3,7,10],E=[4,5,6],x={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:" "};var C=n(73208),A=n(44666),T=n(80865),k=n(28491);let R={hit:"success",miss:"missing",error:"failure"};function P(t,e){try{localStorage.setItem(t,JSON.stringify(e))}catch{}}var O=n(30257),I=n(5076),M=n(49442),N=n(40790),D=n(4454),L=n(31240);let V=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","telemetrySampleRate","trackAnonymousUser","trackUserInteractions","trackResources","trackLongTasks","traceContextInjection","actionNameAttribute","defaultPrivacyLevel","enablePrivacyForActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function B(t,e){let n,r=$(),i=await j(t);return i.ok?(r.increment("fetch","success"),n=U(t,i.value,e,r)):(r.increment("fetch","failure"),O.V.error(i.error)),(0,I.Gk)(I.Xf.REMOTE_CONFIGURATION_METRIC_NAME,{metrics:r.get()}),n}function U(t,e,n,r){let i={...t};if(e.rum){let t=e.rum;V.forEach(e=>{e in t&&(i[e]=o(t[e]))}),Object.keys(n).forEach(e=>{var r;void 0!==t[e]&&(r=n[e],t[e].forEach(({key:t,value:e})=>{r.setContextProperty(t,o(e))}))})}return e.profiling?.sampleRate!==void 0&&(i.profilingSampleRate=e.profiling.sampleRate),i;function o(t){if(Array.isArray(t))return t.map(o);if((0,A.OE)(t)){if("rcSerializedType"in t){let n=t.rcSerializedType;switch(n){case"string":return t.value;case"regex":return F(t.value);case"dynamic":let i;var e=t;let o=e.strategy;switch(o){case"cookie":i=function({name:t}){let e=(0,M.Ri)(t);return r.increment("cookie",void 0!==e?"success":"missing"),e}(e);break;case"dom":i=function({selector:t,attribute:e}){var n,i;let o;try{o=document.querySelector(t)}catch{O.V.error(`Invalid selector in the remote configuration: '${t}'`),r.increment("dom","failure");return}if(!o)return void r.increment("dom","missing");if(n=o,i=e,"password"===n.getAttribute("type")&&"value"===i){O.V.error(`Forbidden element selected by the remote configuration: '${t}'`),r.increment("dom","failure");return}let s=void 0!==e?o.getAttribute(e):o.textContent;return null===s?void r.increment("dom","missing"):(r.increment("dom","success"),s)}(e);break;case"js":i=function({path:t}){let e=window,n=function(t){let e,n=[],r=0,i={quote:void 0,escapeSequence:void 0},o="";for(let l of t){if(!(e=_[r].find(t=>w[t](l,i))))return[];if(void 0!==i.escapeSequence&&12!==e){var s,a;if(s=i.escapeSequence,!("\"'/\\bfnrt".includes(s)||s.startsWith("u")&&5===s.length))return[];o+=(a=i.escapeSequence).startsWith("u")?String.fromCharCode(parseInt(a.slice(1),16)):x[a],i.escapeSequence=void 0}S.includes(e)?o+=l:E.includes(e)&&""!==o?(n.push(o),o=""):12===e?i.escapeSequence=i.escapeSequence?`${i.escapeSequence}${l}`:l:8===e?i.quote=l:9===e&&(i.quote=void 0),r=e}return _[r].includes(1)?(""!==o&&n.push(o),n):[]}(t);if(0===n.length){O.V.error(`Invalid JSON path in the remote configuration: '${t}'`),r.increment("js","failure");return}for(let i of n){if(!(i in e))return void r.increment("js","missing");try{e=e[i]}catch(e){O.V.error(`Error accessing: '${t}'`,e),r.increment("js","failure");return}}return r.increment("js","success"),e}(e);break;case"localStorage":i=function({key:t}){let e;try{e=localStorage.getItem(t)}catch{r.increment("localStorage","failure");return}return r.increment("localStorage",null!==e?"success":"missing"),e??void 0}(e);break;default:O.V.error(`Unsupported remote configuration: "strategy": "${o}"`);return}let s=e.extractor;return void 0!==s&&"string"==typeof i?function(t,e){let n=F(t.value);if(void 0!==n)return m(e,n)}(s,i):i;default:O.V.error(`Unsupported remote configuration: "rcSerializedType": "${n}"`);return}}return(0,T.LG)(t,o)}return t}}function $(){let t={fetch:{}};return{get:()=>t,increment:(e,n)=>{t[e]||(t[e]={}),t[e][n]||(t[e][n]=0),t[e][n]=t[e][n]+1}}}function F(t){try{return new RegExp(t)}catch{O.V.error(`Invalid regex in the remote configuration: '${t}'`)}}async function j(t){let e;try{e=await (0,N.h)(function(t){if(t.remoteConfigurationProxy)return t.remoteConfigurationProxy;let e=G(t);return(0,L.Hg)({site:t.site,path:`/v1/${encodeURIComponent(e)}.json`,subdomain:"sdk-configuration"})}(t))}catch{e=void 0}if(!e?.ok)return{ok:!1,error:Error("Error fetching the remote configuration.")};let n=await e.json();return n.rum||n.profiling?{ok:!0,value:n,lastModified:function(t){let e=t.headers?.get("last-modified");if(!e)return;let n=new Date(e).getTime();return isNaN(n)?void 0:n}(e)}:{ok:!1,error:Error("No remote configuration for RUM.")}}function G(t){return t.remoteConfiguration?.id??t.remoteConfigurationId}var W=n(47931),q=n(60094),H=n(99520),z=n(93938);function K(t,e){return+t.toFixed(e)}function X(t){return"number"==typeof t}var Y=n(71155),Q=n(13981);let J=["tracecontext","datadog"],Z=["cache-control","etag","age","expires","content-type","content-encoding","vary","content-length","server-timing","x-cache","cf-cache-status","x-vercel-cache"],tt
1={...W.hF,applicationId:{type:"string",required:!0},actionNameAttribute:{type:"string"},workerUrl:{type:"string"},subdomain:{type:"string"},sessionReplaySampleRate:{type:"percentage",default:0},traceSampleRate:{type:"percentage",default:100},profilingSampleRate:{type:"percentage",default:0},compressIntakeRequests:{type:"boolean",default:!1},trackUserInteractions:{type:"boolean",default:!0,strict:!1},trackResources:{type:"boolean",default:!0,strict:!1},trackLongTasks:{type:"boolean",default:!0,strict:!1},trackViewsManually:{type:"boolean",default:!1,strict:!1},betaEnableViewUpdates:{type:"boolean"},betaTrackWebSockets:{type:"boolean",default:!1,strict:!1},enablePrivacyForActionName:{type:"boolean",default:!0},propagateTraceBaggage:{type:"boolean",default:!0},startSessionReplayRecordingManually:{type:"boolean",default:!1,strict:!1},sessionReplayCanvasRecording:{type:"schema",schema:{enable:{type:"boolean",required:!0},maxFramesPerSecond:{type:"number",min:0,max:5,default:1},hashingMaxDimension:{type:"number",min:1,max:100,default:100},maxImageDimension:{type:"number",min:1,max:1e3,default:1e3}}},defaultPrivacyLevel:{type:"enum",values:W.WA,default:W.WA.MASK_USER_INPUT,strict:!1},traceContextInjection:{type:"enum",values:W.uT,default:W.uT.SAMPLED,strict:!1},excludedActivityUrls:{type:"match-option",multiple:!0,default:[]},allowedTracingUrls:{type:"union",multiple:!0,strict:!1,default:[],variants:[{type:"match-option"},{type:"schema",schema:{match:{type:"match-option",required:!0},propagatorTypes:{type:"enum",values:["datadog","b3","b3multi","tracecontext"],multiple:!0,strict:!1,default:J}}}]},plugins:{type:"schema",multiple:!0,strict:!1,default:[],schema:{name:{type:"string",required:!0},getConfigurationTelemetry:{type:"function",strict:!1,signature:void 0},onInit:{type:"function",strict:!1,signature:void 0},onRumStart:{type:"function",strict:!1,signature:void 0}}},trackFeatureFlagsForEvents:{type:"enum",values:["vital","action","long_task","resource"],multiple:!0,strict:!1,default:[]}};function te(t,e,n){return!(0,q.d0)()&&(t??!1)}function tn(t){return(0,A.Vl)(t)?{match:t,propagatorTypes:J}:(0,A.OE)(t)&&(0,A.Vl)(t.match)&&(null===t.propagatorTypes||void 0===t.propagatorTypes||Array.isArray(t.propagatorTypes))?{match:t.match,propagatorTypes:t.propagatorTypes||J}:void 0}let tr=["request","response","any"];var ti=n(96976),to=n(89166),ts=n(52654);function ta(){let t,e=window;if(e.Zone&&(t=(0,to.W)(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){let n=new e.MutationObserver(ts.l);t=(0,to.W)(n,"originalInstance")?.constructor}return t||(t=e.MutationObserver),t}var tl=n(85154);let tu=function(t){return t[t.AUTO_ACTION_COMPLETED=0]="AUTO_ACTION_COMPLETED",t[t.BEFORE_VIEW_CREATED=1]="BEFORE_VIEW_CREATED",t[t.VIEW_CREATED=2]="VIEW_CREATED",t[t.BEFORE_VIEW_UPDATED=3]="BEFORE_VIEW_UPDATED",t[t.VIEW_UPDATED=4]="VIEW_UPDATED",t[t.VIEW_ENDED=5]="VIEW_ENDED",t[t.AFTER_VIEW_ENDED=6]="AFTER_VIEW_ENDED",t[t.REQUEST_STARTED=7]="REQUEST_STARTED",t[t.REQUEST_COMPLETED=8]="REQUEST_COMPLETED",t[t.WEBSOCKET_COMPLETED=9]="WEBSOCKET_COMPLETED",t[t.SESSION_EXPIRED=10]="SESSION_EXPIRED",t[t.SESSION_RENEWED=11]="SESSION_RENEWED",t[t.PREPARE_URGENT_FLUSH=12]="PREPARE_URGENT_FLUSH",t[t.RAW_RUM_EVENT_COLLECTED=13]="RAW_RUM_EVENT_COLLECTED",t[t.RUM_EVENT_COLLECTED=14]="RUM_EVENT_COLLECTED",t[t.RAW_ERROR_COLLECTED=15]="RAW_ERROR_COLLECTED",t[t.ACTION_STARTED=16]="ACTION_STARTED",t[t.DURATION_VITAL_STARTED=17]="DURATION_VITAL_STARTED",t}({}),tc=tl.D;var td=n(25608),tf=n(31714);let th=td.AQ;var tp=n(90275),tm=n(40641),tg=n(26464);let ty=[[tm.v.DOCUMENT,t=>"navigation"===t],[tm.v.XHR,t=>"xmlhttprequest"===t],[tm.v.FETCH,t=>"fetch"===t],[tm.v.BEACON,t=>"beacon"===t],[tm.v.CSS,(t,e)=>/\.css$/i.test(e)],[tm.v.JS,(t,e)=>/\.js$/i.test(e)],[tm.v.IMAGE,(t,e)=>["image","img","icon"].includes(t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)],[tm.v.FONT,(t,e)=>null!==/\.(woff|eot|woff2|ttf)$/i.exec(e)],[tm.v.MEDIA,(t,e)=>["audio","video"].includes(t)||null!==/\.(mp3|mp4)$/i.exec(e)]];function tv(...t){for(let e=1;e<t.length;e+=1)if(t[e-1]>t[e])return!1;return!0}function tb(t,e,n){if(t<=e&&e<=n)return{duration:(0,C.Zj)((0,C.vk)(e,n)),start:(0,C.Zj)((0,C.vk)(t,e))}}function tw(t){return t&&(!(0,tg.wo)(t)||(0,H.sr)(H.R9.TRACK_INTAKE_REQUESTS))}let t_=/data:(.+)?(;base64)?,/g;function tS(t,e=24e3){if(t.length<=e||!t.startsWith("data:"))return t;let n=t.substring(0,100).match(t_);return n?`${n[0]}[...]`:t}function tE(t){return t.nodeType===Node.TEXT_NODE}function tx(t){return t.nodeType===Node.ELEMENT_NODE}function tC(t){return tx(t)&&!!t.shadowRoot}function tA(t){return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&tx(t.host)}function tT(t,e){let n=t.firstChild;for(;n;)e(n),n=n.nextSibling;tC(t)&&e(t.shadowRoot)}function tk(t){return tA(t)?t.host:t.parentNode}function tR(t){if(t.parentElement)return t.parentElement;let e=t.parentNode;return e&&tA(e)?e.host:null}var tP=n(62304),tO=n(36867);let tI=function(t){return t.EVENT="event",t.FIRST_INPUT="first-input",t.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",t.LAYOUT_SHIFT="layout-shift",t.LONG_TASK="longtask",t.LONG_ANIMATION_FRAME="long-animation-frame",t.NAVIGATION="navigation",t.PAINT="paint",t.RESOURCE="resource",t.VISIBILITY_STATE="visibility-state",t}({});function tM(t){return new ti.cP(e=>{let n,i=t=>{let n=t.filter(t=>{var e;return!("resource"===(e=t).entryType&&(!tw(e.name)||!(e.duration>=0)))});n.length>0&&e.notify(n)},o=!0,s=new PerformanceObserver((0,D.dm)(t=>{o?n=(0,tP.wg)(()=>i(t.getEntries())):i(t.getEntries())}));return s.observe(t),o=!1,!r&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(r=(0,tO.q2)(performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()}
1)),()=>{s.disconnect(),(0,tP.DJ)(n)}})}function tN(t){return PerformanceObserver.supportedEntryTypes.includes(t)}let tD="Masked Element",tL=["data-dd-action-name","data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],tV=[tG,tF],tB=[tG,function(t){if("BODY"===t.tagName)return;let e=t.classList;for(let n=0;n<e.length;n+=1){let r=e[n];if(!t$(r))return`${CSS.escape(t.tagName)}.${CSS.escape(r)}`}},tj];function tU(t,e){if(!t.isConnected)return;let n=function(t){let e=[],n=t;for(;n;){let t=n.getRootNode();if(e.push({rootNode:t,target:n}),tA(t))n=t.host;else break}return e.reverse()}(t),r=[];for(let{rootNode:t,target:i}of n){let n=function(t,e,n){let r,i=t;for(;i&&"HTML"!==i.nodeName;){let t=tH(i,e,tV,tz,n,r);if(t)return tX(t,r);r=tX(tH(i,e,tB,tK,n,r)||function(t){let e=tq(t);return`${CSS.escape(t.tagName)}:nth-of-type(${e})`}(i),r),i=i.parentElement}return r}(i,t,e);if(!n)return;r.push(n)}return r.join("::shadow ")}function t$(t){return/[0-9]/.test(t)}function tF(t){if(t.id&&!t$(t.id))return`#${CSS.escape(t.id)}`}function tj(t){return CSS.escape(t.tagName)}function tG(t,e){if(e){let t=n(e);if(t)return t}for(let t of tL){let e=n(t);if(e)return e}function n(e){if(t.hasAttribute(e))return`${CSS.escape(t.tagName)}${tW(e,t.getAttribute(e))}`}}function tW(t,e){return`[${t}="${CSS.escape(e)}"]`}function tq(t){let e=t.parentNode.firstElementChild,n=1;for(;e&&e!==t;)e.tagName===t.tagName&&(n+=1),e=e.nextElementSibling;return n}function tH(t,e,n,r,i,o){for(let s of n){let n=s(t,i);if(n&&r(t,e,n,o))return n}}function tz(t,e,n,r){return 1===e.querySelectorAll(tX(n,r)).length}function tK(t,e,n,r){let i;if(void 0===r)i=t=>t.matches(n);else{let t=tX(`${n}:scope`,r);i=e=>null!==e.querySelector(t)}let o=t.previousElementSibling;for(;o;){if(i(o))return!1;o=o.previousElementSibling}for(o=t.nextElementSibling;o;){if(i(o))return!1;o=o.nextElementSibling}return!0}function tX(t,e){return e?`${t}>${e}`:t}let tY={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:W.WA.ALLOW,MASK:W.WA.MASK,MASK_USER_INPUT:W.WA.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:W.WA.MASK_UNLESS_ALLOWLISTED},tQ="data-dd-privacy",tJ="hidden",tZ="***",t0="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",t1={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function t2(t){return`[${tQ}="${t}"], .dd-privacy-${t}`}function t3(t,e,n){if(n?.has(t))return n.get(t);let r=tk(t),i=r?t3(r,e,n):e,o=t5(t4(t),i);return n&&n.set(t,o),o}function t5(t,e){switch(e){case tY.HIDDEN:case tY.IGNORE:return e}switch(t){case tY.ALLOW:case tY.MASK:case tY.MASK_USER_INPUT:case tY.MASK_UNLESS_ALLOWLISTED:case tY.HIDDEN:case tY.IGNORE:return t;default:return e}}function t4(t){if(tx(t)){if("BASE"===t.tagName)return tY.ALLOW;if("INPUT"===t.tagName){if("password"===t.type||"email"===t.type||"tel"===t.type||"hidden"===t.type)return tY.MASK;let e=t.getAttribute("autocomplete");if(e&&(e.startsWith("cc-")||e.endsWith("-password")))return tY.MASK}if(t.matches(t2(tY.HIDDEN)))return tY.HIDDEN;if(t.matches(t2(tY.MASK)))return tY.MASK;if(t.matches(t2(tY.MASK_UNLESS_ALLOWLISTED)))return tY.MASK_UNLESS_ALLOWLISTED;if(t.matches(t2(tY.MASK_USER_INPUT)))return tY.MASK_USER_INPUT;if(t.matches(t2(tY.ALLOW)))return tY.ALLOW;if(function(t){if("SCRIPT"===t.nodeName)return!0;if("LINK"===t.nodeName){let t=e("rel");return/preload|prefetch/i.test(t)&&"script"===e("as")||"shortcut icon"===t||"icon"===t}if("META"===t.nodeName){let n=e("name"),r=e("rel"),i=e("property");return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===r||"apple-touch-icon"===r||"shortcut icon"===r||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(i)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||t.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(i)||/^product:/.test(i)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}function e(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t))return tY.IGNORE}}function t6(t,e){switch(e){case tY.MASK:case tY.HIDDEN:case tY.IGNORE:return!0;case tY.MASK_UNLESS_ALLOWLISTED:if(tE(t))return!!t9(t.parentNode)||!ee(t.textContent||"");return t9(t);case tY.MASK_USER_INPUT:return tE(t)?t9(t.parentNode):t9(t);default:return!1}}function t8(t,e,n,r,i){if(r!==tY.MASK&&r!==tY.MASK_UNLESS_ALLOWLISTED||"data-dd-privacy"===e||tL.includes(e)||e===i.actionNameAttribute)return!1;switch(e){case"title":case"alt":case"placeholder":case"aria-label":case"name":return!0}return!!("A"===t&&"href"===e||"IFRAME"===t&&"srcdoc"===e||n&&e.startsWith("data-"))||("IMG"===t||"SOURCE"===t)&&("src"===e||"srcset"===e)}
1function t9(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!t1[t.tagName]}function t7(t){return t.replace(/\S/g,"x")}function et(t,e){let n=t.parentElement?.tagName,r=t.textContent||"";return("SCRIPT"===n||e===tY.HIDDEN?r="***":t6(t,e)&&("DATALIST"===n||"SELECT"===n||"OPTGROUP"===n||(r="OPTION"===n?"***":t7(r))),"HEAD"!==n||r.trim())?r:""}function ee(t){return!t?.trim()||window.$DD_ALLOW?.has(t.toLocaleLowerCase())||!1}function en(){let t=window.visualViewport;return Math.round(t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function er(){let t=window.visualViewport;return Math.round(t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function ei(){return i||(i=new ti.cP(t=>{let{throttled:e}=(0,ts.n)(()=>{t.notify(eo())},200);return(0,tO.q2)(window,tO.gX.RESIZE,e,{capture:!0,passive:!0}).stop})),i}function eo(){let t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var es=n(21990);let ea=function(t){return t[t.OFF=0]="OFF",t[t.SAMPLED=1]="SAMPLED",t[t.FORCED=2]="FORCED",t}({});function el(t,e){return(0,q.d0)()?+!!(0,q.Ww)(q.oc.RECORDS):(0,es.$5)(t.id,(0,es.it)(e.sessionSampleRate,e.sessionReplaySampleRate))?1:2*!!t.isReplayForced}var eu=n(88695);function ec(t){let e=crypto.getRandomValues(new Uint32Array(2)),n=BigInt(e[0])+(BigInt(e[1])<<32n);return 63===t&&(n&=0x7fffffffffffffffn),n}function ed(t){return t.toString(16).padStart(16,"0")}var ef=n(5009),eh=n(73467);function ep(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function em(t,e,n,r,i,o){let s=n.findTrackedSession();if(!s)return;let a=t.allowedTracingUrls.find(t=>(0,eh.K)([t.match],e.url,!0));if(!a)return;let l=(0,es.$5)(s.id,(0,es.it)(t.sessionSampleRate,t.traceSampleRate)),u=(0,q.d0)()?(0,q.Y9)()?.getIsTraceSampled()??l:l;(u||t.traceContextInjection===W.uT.ALL)&&(e.traceSampled=u,e.traceId=ec(64),e.spanId=ec(63),o(function(t,e,n,r,i,o,s,a){let l={};if(i.forEach(r=>{switch(r){case"datadog":Object.assign(l,{"x-datadog-origin":"rum","x-datadog-parent-id":e.toString(),"x-datadog-sampling-priority":n?"1":"0","x-datadog-trace-id":t.toString()});break;case"tracecontext":Object.assign(l,{traceparent:`00-0000000000000000${ed(t)}-${ed(e)}-0${n?"1":"0"}`,tracestate:`dd=s:${n?"1":"0"};o:rum`});break;case"b3":Object.assign(l,{b3:`${ed(t)}-${ed(e)}-${n?"1":"0"}`});break;case"b3multi":Object.assign(l,{"X-B3-TraceId":ed(t),"X-B3-SpanId":ed(e),"X-B3-Sampled":n?"1":"0"})}}),a.propagateTraceBaggage){let t={"session.id":r},e=o.getContext().id;"string"==typeof e&&(t["user.id"]=e);let n=s.getContext().id;"string"==typeof n&&(t["account.id"]=n);let i=Object.entries(t).map(([t,e])=>`${t}=${encodeURIComponent(e)}`).join(",");i&&(l.baggage=i)}return l}(e.traceId,e.spanId,e.traceSampled,s.id,a.propagatorTypes,r,i,t)))}var eg=n(23512);let ey=32*eg._m;function ev(t,e){return e.allowedGraphQlUrls.find(e=>(0,eh.K)([e.match],t))}var eb=n(49023),ew=n(16336),e_=n(11845);let eS=1;function eE(t){t.requestIndex||(t.requestIndex=eS++)}var ex=n(32121);function eC(t){return"string"==typeof t?(0,eg.WW)(t):t instanceof ArrayBuffer||ArrayBuffer.isView(t)?t.byteLength:"undefined"!=typeof Blob&&t instanceof Blob?t.size:0}var eA=n(69828);function eT(t,e,n){if(void 0===t.openClocks)return;let r=(0,C.vk)(t.openClocks.timeStamp,e.timeStamp);if("in"===n&&void 0===t.firstMessageInOffset?t.firstMessageInOffset=r:"out"===n&&void 0===t.firstMessageOutOffset&&(t.firstMessageOutOffset=r),"in"===n){if(void 0!==t.lastMessageInAt){let n=(0,C.vk)(t.lastMessageInAt,e.timeStamp);n>t.longestInboundSilence&&(t.longestInboundSilence=n)}t.lastMessageInAt=e.timeStamp}}function ek(t){return X(t)&&t<0?void 0:t}var eR=n(52157);function eP(t,e,n,r,i,o){let s,a=(0,eR.B)(eO)(t,e,n,r),l=!1,u=(0,tP.wg)((0,D.dm)(()=>h({hadActivity:!1})),100),c=void 0!==o?(0,tP.wg)((0,D.dm)(()=>h({hadActivity:!0,end:(0,C.nx)()})),o):void 0,d=a.subscribe(({isBusy:t})=>{(0,tP.DJ)(u),(0,tP.DJ)(s);let e=(0,C.nx)();t||(s=(0,tP.wg)((0,D.dm)(()=>h({hadActivity:!0,end:e})),100))}),f=()=>{l=!0,(0,tP.DJ)(u),(0,tP.DJ)(s),(0,tP.DJ)(c),d.unsubscribe()};function h(t){l||(f(),i(t))}return{stop:f}}function eO(t,e,n,r){return new ti.cP(i=>{let o,s=[],a=0;return s.push(e.subscribe(t=>{t.every(eM)||l()}),n.subscribe(l),tM({type:"resource"}).subscribe(t=>{t.some(t=>!eI(r,t.name))&&l()}),t.subscribe(7,t=>{eI(r,t.url)||(void 0===o&&(o=t.requestIndex),a+=1,l())}),t.subscribe(8,t=>{eI(r,t.url)||void 0===o||t.requestIndex<o||(a-=1,l())})),()=>
1{s.forEach(t=>t.unsubscribe())};function l(){i.notify({isBusy:a>0})}})}function eI(t,e){return(0,eh.K)(t.excludedActivityUrls,e)}function eM(t){let e="characterData"===t.type?t.target.parentElement:t.target;return!!(e&&tx(e)&&e.matches("[data-dd-excluded-activity-mutations], [data-dd-excluded-activity-mutations] *"))}function eN({lifeCycle:t,isChildEvent:e,onChange:n=ts.l}){let r={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},i=t.subscribe(14,t=>{if("view"!==t.type&&"vital"!==t.type&&e(t))switch(t.type){case u.ERROR:r.errorCount+=1,n();break;case u.ACTION:r.actionCount+=1,t.action.frustration&&(r.frustrationCount+=t.action.frustration.type.length),n();break;case u.LONG_TASK:r.longTaskCount+=1,n();break;case u.RESOURCE:t._dd?.discarded||(r.resourceCount+=1,n())}});return{stop:()=>{i.unsubscribe()},eventCounts:r}}var eD=n(91451);let eL=5*C.iW;function eV(t){let e=(0,tf.q)({expireDelay:eL}),n=new Map;function r(t){n.delete(t.key),t.eventCounts?.stop()}function i(){n.forEach(t=>{r(t)}),e.reset()}let o=t.subscribe(11,i);return{start:function(i,o,s,a){let l=(0,k.lk)(),u=e.add(l,o.relative),c=n.get(i);c&&r(c);let d={id:l,key:i,startClocks:o,data:s,historyEntry:u,eventCounts:a?.isChildEvent?eN({lifeCycle:t,isChildEvent:a.isChildEvent(l)}):void 0};return n.set(i,d),d},stop:function(t,e,i){let o=n.get(t);if(!o)return;let s=i?(0,eD.kg)(o.data,i):o.data;o.historyEntry.close(e.relative);let a=(0,C.vk)(o.startClocks.timeStamp,e.timeStamp),l=o.eventCounts?.eventCounts;return r(o),{...s,id:o.id,startClocks:o.startClocks,duration:a,counts:l}},discard:function(t){let e=n.get(t);if(!e)return;let i=e.eventCounts?.eventCounts;return r(e),e.historyEntry.remove(),{...e.data,id:e.id,startClocks:e.startClocks,counts:i}},getCounts:function(t){return n.get(t)?.eventCounts?.eventCounts},findId:function(t){return e.findAll(t)},stopAll:function(){o.unsubscribe(),i(),e.stop()}}}let eB=["HTML","BODY"],eU=2*eg._m,e$=tL.concat(["role","type","disabled","readonly","tabindex","draggable","target","rel","download","method","action","enctype","autocomplete"]),eF=C.OY;function ej(t,e){let n=function(t,e){let n=t;for(;n;){if(n.matches(e))return n;n=tR(n)}return null}(t,`[${e}]`);if(n)return ez(eH(n.getAttribute(e).trim()))}let eG=[(t,e,n)=>{if("labels"in t&&t.labels&&t.labels.length>0)return eX(t.labels[0],e,n)},t=>{if("INPUT"===t.nodeName){let e=t.getAttribute("type");if("button"===e||"submit"===e||"reset"===e)return{name:t.value,nameSource:"text_content"}}},(t,e,n)=>{if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return eX(t,e,n)},(t,e,n)=>eK(t,"aria-label",e,n),(t,e,n)=>{let r=t.getAttribute("aria-labelledby");if(r)return{name:r.split(/\s+/).map(e=>(function(t,e){let n=t.getRootNode();if(n instanceof ShadowRoot){let t=n.getElementById(e);if(t)return t}return t.ownerDocument?t.ownerDocument.getElementById(e):null})(t,e)).filter(t=>!!t).map(t=>eY(t,e,n)).join(" "),nameSource:"text_content"}},(t,e,n)=>eK(t,"alt",e,n),(t,e,n)=>eK(t,"name",e,n),(t,e,n)=>eK(t,"title",e,n),(t,e,n)=>eK(t,"placeholder",e,n),(t,e,n)=>{if("options"in t&&t.options.length>0)return eX(t.options[0],e,n)}],eW=[(t,e,n)=>eX(t,e,n)];function eq(t,e,n,r){let i=t,o=0;for(;o<=10&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(let t of e){let e=t(i,n,r);if(e){let{name:t,nameSource:n}=e,r=t?.trim();if(r)return{name:ez(eH(r)),nameSource:n}}}if("FORM"===i.nodeName)break;i=tR(i),o+=1}}function eH(t){return t.replace(/\s+/g," ")}function ez(t){return t.length>100?`${(0,k._R)(t,100)} [...]`:t}function eK(t,e,n,r){let{enablePrivacyForActionName:i,defaultPrivacyLevel:o}=n,s=t.getAttribute(e);if(s&&i){var a;let i=t3(t,o,r);t8(t.tagName,e,s,i,n)&&(s=ee(a=s)?a:tD||t7(a))}else s||(s="");return{name:s,nameSource:"standard_attribute"}}function eX(t,e,n){return{name:eY(t,e,n)||"",nameSource:"text_content"}}function eY(t,e,n){if(t.isContentEditable)return;let{enablePrivacyForActionName:r,actionNameAttribute:i,defaultPrivacyLevel:o}=e,s=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(t){let e=t3(t,o,n);if(r&&e&&t6(t,e))return NodeFilter.FILTER_REJECT;if(tx(t)){if(t.hasAttribute("data-dd-action-name")||i&&t.hasAttribute(i))return NodeFilter.FILTER_REJECT;let e=getComputedStyle(t);if("visible"!==e.visibility||"none"===e.display||e.contentVisibility&&"visible"!==e.contentVisibility)return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}),a="";for(;s.nextNode();){let t=s.currentNode;if(tx(t)){("BR"===t.nodeName||"P"===t.nodeName||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(t).display))&&(a+=" ");continue}a+=t.textContent||""}return a.replace(/\s+/g," ").trim()}function eQ(){let t=window.getSelection();return!t||t.isCollapsed}function eJ(t){return t.target instanceof Element&&!1!==t.isPrimary}function eZ(t){if((2&t.ignore)!=0||t.hasPageActivity||t.getUserActivity().input||t.getUserActivity().scroll)return!1;let e=t.event.target;return"LABEL"===e.tagName&&e.hasAttribute("for")&&(e=document.getElementById(e.getAttribute("for"))),!e?.matches('input
1:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *')}let e0=10*C.OY,e1=new Map;function e2(t,e){e1.set(t,e),e1.forEach((t,e)=>{(0,C.vk)(e,(0,C.$S)())>e0&&e1.delete(e)})}function e3(t){return e=>e.action?.id?.includes(t)??!1}function e5(t){if(t.composed&&tC(t.target)&&"function"==typeof t.composedPath){let e=t.composedPath();if(e.length>0&&e[0]instanceof Element)return e[0]}return t.target}var e4=n(8828);function e6(t){let e="events"in t,n=ek((0,C.Zj)(t.duration));return{rawRumEvent:{type:u.ACTION,date:t.startClocks.timeStamp,action:{id:t.id,target:{name:t.name},type:t.type,...void 0!==n&&{loading_time:n},...t.counts&&{error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},frustration:{type:t.frustrationTypes}},...e?{_dd:{action:{target:{selector:t.target?.selector||void 0,width:t.target?.width||void 0,height:t.target?.height||void 0,composed_path_selector:t.target?.composedPathSelector},position:t.position,name_source:t.nameSource}}}:{context:t.context}},duration:t.duration,startClocks:t.startClocks,domainContext:e?{events:t.events}:{handlingStack:t.handlingStack}}}var e8=n(73814),e9=n(91359),e7=n(7727),nt=n(63574);function ne(){if(tN("navigation")){let t=performance.getEntriesByType("navigation")[0];if(t&&!(t.loadEventEnd>0&&t.domComplete<=0))return t}let t=function(){let t={},e=performance.timing;for(let n in e)if(X(e[n])){let r=e[n];t[n]=0===r?0:(0,C.d6)(r)}return t}(),e={entryType:"navigation",initiatorType:"navigation",name:window.location.href,startTime:0,duration:t.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...e,toJSON:void 0}),...t};return e}function nn(t){return t.responseStart>=0&&t.responseStart<=(0,C.$S)()?t.responseStart:void 0}let nr=2*C.iW;function ni(t){let e=function(t){let e=t.querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]");return no(e?.content,n?.content)}(t)||function(t){let e=function(t){for(let e=0;e<t.childNodes.length;e+=1){let n=ns(t.childNodes[e]);if(n)return n}if(t.body)for(let e=t.body.childNodes.length-1;e>=0;e-=1){let n=t.body.childNodes[e],r=ns(n);if(r)return r;if(!tE(n))break}}(t);if(e)return no((0,k.rx)(e,"trace-id"),(0,k.rx)(e,"trace-time"))}(t);if(!(!e||e.traceTime<=(0,C.uc)()-nr))return e.traceId}function no(t,e){let n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function ns(t){if(t&&t.nodeType===Node.COMMENT_NODE){let e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}var na=n(65259);let nl=C.OY;function nu(){let t=[];function e(e){let r;if(!e||e.didTimeout){let t=performance.now();r=()=>30-(performance.now()-t)}else r=e.timeRemaining.bind(e);for(;r()>0&&t.length;)t.shift()();t.length&&n()}function n(){(0,na.B)(e,{timeout:nl})}return{push(e){1===t.push(e)&&n()},stop(){t.length=0}}}var nc=n(11370);function nd(t,e,n){var r,i;let o=e?function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toString(),trace_id:t.traceId.toString(),rule_psr:e.rulePsr}}}(e,n):function(t,e){if("navigation"!==t.initiatorType)return;let n=(0,eR.B)(ni)(document);if(n)return{_dd:{trace_id:n,span_id:ec(63).toString(),rule_psr:e.rulePsr}}}(t,n);if(!n.trackResources&&!o)return;let s=(0,C.FR)(t.startTime),a=function(t){let{duration:e,startTime:n,responseEnd:r}=t;return"navigation"===t.initiatorType||0===e&&n<r?(0,C.vk)(n,r):e}(t),l=function(t,e){let n=e.trackResourceHeaders;if(0===n.length||!t)return;let r=n.filter(e=>void 0===e.url||(0,eh.K)([e.url],t.url,!0));if(0===r.length)return;let i=r.filter(t=>void 0===t.location||"any"===t.location||"response"===t.location),o=r.filter(t=>void 0===t.location||"any"===t.location||"request"===t.location),s=i.length>0?function(t,e){if(t.type===tm.Y.FETCH&&t.response)return np(t.response.headers,e);if(t.type===tm.Y.XHR&&t.xhr){let n=t.xhr.getAllResponseHeaders();if(n)try{return np(new Headers(function(t){let e=[];for(let n of t.trim().split(/\r\n/)){let t=n.indexOf(":");t>0&&e.push([n.substring(0,t).trim(),n.substring(t+1).trim()])}return e}(n)),e)}catch{}}}(t,i):void 0,a=o.length>0?function(t,e){let n;if(t.type===tm.Y.FETCH)return t.init?.headers?n=new Headers(t.init.headers):t.
1input instanceof Request&&(n=t.input.headers),n?np(n,e):void 0}(t,o):void 0;if(s||a)return{resource:{request:a?{headers:a}:void 0,response:s?{headers:s}:void 0}}}(e,n);return{startClocks:s,duration:a,rawRumEvent:(0,eD.kg)({date:s.timeStamp,resource:{id:(0,k.lk)(),duration:(0,C.Zj)(a),type:function(t){let e=t.name;if(!(0,tp.AY)(e))return tm.v.OTHER;let n=(0,tp.L2)(e);for(let[e,r]of ty)if(r(t.initiatorType,n))return e;return tm.v.OTHER}(t),method:e?.method,status_code:e?e.status:0===(r=t.responseStatus)?void 0:r,url:e?tS(e.url):t.name,protocol:""===t.nextHopProtocol?void 0:t.nextHopProtocol,delivery_type:""===t.deliveryType?"other":t.deliveryType,graphql:e&&function(t,e){let n=ev(t.url,e);if(n){let e=function(t,e=!1){let n;if("POST"===t.method?n=function(t){if(!t||"string"!=typeof t)return;let e=(0,T.XU)(t);if(e)return{query:e.query,operationName:e.operationName,variables:e.variables?JSON.stringify(e.variables):void 0,operationType:e.operationType}}(t.requestBody):"GET"===t.method&&(n=function(t){let e=(0,tp.c$)(t).searchParams,n=e.get("variables"),r=n&&void 0!==(0,T.XU)(n)?n:void 0;return{query:e.get("query")||void 0,operationName:e.get("operationName")||void 0,variables:r,operationType:e.get("operationType")||void 0}}(t.url)),n)return function(t,e){let n,r,i;if(t.query){var o;let i=t.query.trim();o=i,n=o.match(/^\s*(query|mutation|subscription)\b/i)?.[1],e&&(r=(0,k._R)(i,ey,"..."))}if(!n){let e=t.operationType;("query"===e||"mutation"===e||"subscription"===e)&&(n=e)}return t.variables&&(i=t.variables),{operationType:n,operationName:t.operationName,variables:i,payload:r}}(n,e)}(t,n.trackPayload);if(e){if(n.trackResponseErrors&&t.responseBody){let n=function(t){let e=(0,T.XU)(t);if(e&&"object"==typeof e&&(0,Y.EI)(e.errors))return e.errors.map(t=>({message:t.message,path:t.path,locations:t.locations,code:t.extensions?.code}))}(t.responseBody);n&&(e.error_count=n.length,e.errors=n)}return e}return}}(e,n),render_blocking_status:t.renderBlockingStatus,...function(t){if(t.startTime<t.responseStart){let{encodedBodySize:e,decodedBodySize:n,transferSize:r}=t;return{size:n,encoded_body_size:e,decoded_body_size:n,transfer_size:r}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}(t),...function(t){if(!function(t){var e;let n=tv(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),r=!((e=t).redirectEnd>e.startTime)||tv(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart);return n&&r}(t))return;let{startTime:e,fetchStart:n,workerStart:r,redirectStart:i,redirectEnd:o,domainLookupStart:s,domainLookupEnd:a,connectStart:l,secureConnectionStart:u,connectEnd:c,requestStart:d,responseStart:f,responseEnd:h}=t,p={download:tb(e,f,h),first_byte:tb(e,d,f)};return 0<r&&r<n&&(p.worker=tb(e,r,n)),n<c&&(p.connect=tb(e,l,c),l<=u&&u<=c&&(p.ssl=tb(e,u,c))),n<a&&(p.dns=tb(e,s,a)),e<o&&(p.redirect=tb(e,i,o)),p}(t)},type:u.RESOURCE,_dd:{discarded:!n.trackResources}},o,function(t){let e=t.contentType;if(e)return{resource:{response:{headers:{"content-type":e}}}}}(t),l),domainContext:{performanceEntry:t,isManual:!1,isAborted:!!(i=e)&&i.isAborted,isWebSocket:!1,handlingStack:i?.handlingStack,requestInit:i?.init,requestInput:i?.input,response:i?.response,error:i?.error,xhr:i?.xhr}}}let nf=/(token|cookie|secret|authorization|(api|secret|access|app).?key|(client|connecting|real).?ip|forwarded)/,nh=t=>Z.includes(t);function np(t,e){let n={},r=0,i=!1;return t.forEach((t,o)=>{if(r>=100){i||(O.V.warn("Maximum number of headers (100) has been reached. Further headers are dropped."),i=!0);return}let s=o.toLowerCase();if(nf.test(s))return;let a=e.find(t=>(0,eh.K)([t.name??nh],s));if(!a)return;let{extractor:l}=a,u=l?m(t,l):t;void 0!==u&&(u.length>128&&O.V.warn(`Header "${s}" value was truncated from ${u.length} to 128 characters.`),n[s]=(0,k._R)(u,128),r++)}),r>0?n:void 0}let nm=10*C.iW,ng=10*C.iW;function ny(t,e=window){if("hidden"===document.visibilityState)return{timeStamp:0,stop:ts.l};if(tN("visibility-state")){let e=performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name).find(e=>e.startTime>=t.relative);if(e)return{timeStamp:e.startTime,stop:ts.l}}let n=1/0,{stop:r}=(0,tO.lQ)(e,[tO.gX.PAGE_HIDE,tO.gX.VISIBILITY_CHANGE],t=>{(t.type===tO.gX.PAGE_HIDE||"hidden"===document.visibilityState)&&(n=t.timeStamp,r())},{capture:!0});return{get timeStamp(){return n},stop:r}}let nv=t=>{let e=t.previousRect.width*t.previousRect.height;return e+t.currentRect.width*t.currentRect.height-((t,e)=>{let n=Math.max(t.left,e.left),r=Math.max(t.top,e.top),i=Math.min(t.right,e.right),o=Math.min(t.bottom,e.bottom);return n>=i||r>=o?0:(i-n)*(o-r)})(t.previousRect,t.currentRect)};function nb({x:t,y:e,width:n,height:r}){return{x:t,y:e,width:n,height:r}}let nw=5*C.OY,n_=C.OY,nS=0,nE=1/0,nx=0,nC=()=>s?nS:window.performance.interactionCount||0,nA=+C.iW;function nT(t){return Math.min(t,nA)}let nk=C.OY;var nR=n(51219),nP=n(5917);let nO=5*C.iW,nI=5*C.iW;function nM(t){let e=t.indexOf("?");return e<0?t:t.slice(0,e)}function nN(t,e){let n=new Set;for(let r of t)r.startsWith(`${e}.`)&&n.add(r.slice(e.length+1));return n}var nD=n(28423),nL=n(53408),nV=n(98610);let nB=td.AQ;function nU(){return(0,eR.B)(ex.J.location)}function n$(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}let nF=td.AQ,nj=10*C.OY;function nG(){0!==a.batchCount&&((0,I.Gk)(I.Xf.CUSTOMER_DATA_METRIC_NAME,a),nH())}function nW(){return{min:1/0,max:0,sum:0}}function nq(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function nH(){a={batchCount:0,batchBytesCount:nW(),batchMessagesCount:nW()}}let nz=td.AQ;function nK(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function nX(t){let{startClocks:e,type:n,name:r,description:i,context:o,handlingStack:s}=t,a={id:(t.type===p.DURATION?t.id:void 0)??(0,k.lk)(),type:n,name:r,description:i,...n===p.DURATION?{duration:(0,C.Zj)(t.duration)}:{step_type:t.stepType,operation_key:t.operationKey,failure_reason:t.failureReason}};return{rawRumEvent:{date:e.timeStamp,vital:a,type:u.VITAL,context:o},startClocks:e,duration:n===p.DURATION?t.duration:void 0,domainContext:s?{handlingStack:s}:{}}}var nY=n(81496);let nQ=C.OY;
1function nJ(t,e){let n=(0,M.Ri)(t),r=(0,tP.yb)(()=>{let r=(0,M.Ri)(t);r!==n&&(n=r,e(r))},nQ);return()=>{(0,tP.vG)(r)}}var nZ=n(49607),n0=n(85741);function n1(t){return"object"===(0,A.Pw)(t)}var n2=n(58013),n3=n(83675);let n5={"view.name":"string","view.url":"string","view.referrer":"string",context:"object",service:"string",version:"string"},n4={[u.VIEW]:{...n5,"view.performance.lcp.resource_url":"string"},[u.ERROR]:{...n5,"error.message":"string","error.stack":"string","error.handling_stack":"string","error.resource.url":"string","error.fingerprint":"string","_dd.debug_ids":"array"},[u.RESOURCE]:{...n5,"resource.url":"string","resource.graphql.variables":"string","resource.request.headers":"object","resource.response.headers":"object","resource.websocket.close_reason":"string","resource.websocket.protocol":"string"},[u.ACTION]:{...n5,"action.target.name":"string"},[u.LONG_TASK]:{...n5,"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string","_dd.debug_ids":"array"},[u.VITAL]:n5};var n6=n(11823);let n8=[u.ACTION,u.ERROR,u.LONG_TASK,u.RESOURCE,u.VITAL];var n9=n(52909),n7=n(63087),rt=n(11795),re=n(51515),rn=n(78891);function rr(t,e,n,r,i,m,g,y,v,b){let w=[],_=new tc;_.subscribe(14,t=>(0,nD.b)("rum",t)),e.expireObservable.subscribe(()=>_.notify(10,{endClocks:(0,C.M8)()})),e.renewObservable.subscribe(()=>_.notify(11));let S=t=>{_.notify(15,{error:{message:t,source:nt.gf.AGENT,startClocks:(0,C.M8)()}}),(0,I.A2)("Error reported to customer",{"error.message":t})};if((0,q.d0)()){var E;let t=(0,q.Y9)();_.subscribe(14,e=>{t.send("rum",e)});let e=(0,nP._T)().subscribe(t=>{_.notify(12,t.reason)});w.push(()=>e.unsubscribe())}else{let n=function(t,e,n,r,i){let o=[(0,L.ns)(t,"rum")],s=(0,L.np)(t,"rum");s&&o.push(s);let a=(0,nL.X)({encoder:i(nV.j.RUM),endpoints:o,reportError:n});r.subscribe(()=>a.forceFlush("session_expire"));let{dispatch:l,stop:c}=function(t,e){let n,r,i=!1,o=0,{unsubscribe:s}=t.flushObservable.subscribe(()=>{i=!1,r=n});return{dispatch:s=>{if(s.type!==u.VIEW)return void t.add(s);if(!e)return void t.upsert(s,s.view.id);let a=s.view.id;if(!s.view.is_active){a===n?.view.id&&(n=void 0,r=void 0,i=!1,o=0),t.upsert(s,a);return}if(a!==n?.view.id){o=0,t.upsert(s,a),n=s,i=!t.isEmpty;return}if(n=s,i)return void t.upsert(s,a);if((o+=1)>=100){o=0,t.upsert(s,a),i=!t.isEmpty;return}if(r){let e=function(t,e){let n=function t(e,n,r){let i={},o=r?.replaceKeys??new Set,s=r?.appendKeys??new Set,a=r?.ignoreKeys??new Set;for(let r of Object.keys(e)){if(a.has(r))continue;let l=e[r],u=n[r];if(!o.has(r)&&(0,A.OE)(l)&&(0,A.OE)(u)){let e=t(l,u,{replaceKeys:nN(o,r),appendKeys:nN(s,r),ignoreKeys:nN(a,r)});e&&(i[r]=e)}else s.has(r)&&Array.isArray(l)&&Array.isArray(u)?l.length>u.length&&(i[r]=l.slice(u.length)):!function t(e,n){if(e===n)return!0;if(null===e||"object"!=typeof e||null===n||"object"!=typeof n)return e===n;if(Array.isArray(e)&&Array.isArray(n))return e.length===n.length&&e.every((e,r)=>t(e,n[r]));if(Array.isArray(e)||Array.isArray(n))return!1;let r=Object.keys(e),i=Object.keys(n);return r.length===i.length&&r.every(r=>i.includes(r)&&t(e[r],n[r]))}(l,u)&&(i[r]=l)}for(let t of Object.keys(n))t in e||(i[t]=null);return Object.keys(i).length>0?i:void 0}(t,e,{replaceKeys:new Set(["view.custom_timings","context","connectivity","usr","device","privacy"]),appendKeys:new Set(["_dd.page_states"]),ignoreKeys:new Set(["date","type","application","session","view.id","view.url","_dd.document_version","_dd.format_version"])});if(n)return(0,eD.kg)(n,{type:u.VIEW_UPDATE,date:t.date,application:t.application,session:t.session,view:{id:t.view.id,url:t.view.url},_dd:{document_version:t._dd.document_version,format_version:t._dd.format_version}})}(s,r);e&&((0,nD.b)("rum",e),t.upsert(e,a))}},stop:s}}(a,t.betaEnableViewUpdates);e.subscribe(14,l);let d=a.stop.bind(a);return a.stop=()=>{c(),d()},a}(t,_,S,e.expireObservable,m),r=n.prepareUrgentFlushObservable.subscribe(t=>{_.notify(12,t)});w.push(()=>r.unsubscribe()),w.push(()=>n.stop()),E=n.flushObservable,y.metricsEnabled&&(nH(),l=!1,_.subscribe(14,()=>{l=!0}),E.subscribe(({bytesCount:t,messagesCount:e})=>{l&&(l=!1,a.batchCount+=1,nq(a.batchBytesCount,t),nq(a.batchMessagesCount,e))}),(0,tP.yb)(nG,nj))}let{stop:x,...R}=function(t,e,n,r,i,a,l,m,g){var y,v,b;let w,_=[],S=function(){let t=ta();return new ti.cP(e=>{let n=new t((0,D.dm)(t=>e.notify(t)));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>n.disconnect()})}(),E=(w=(0,T.yG)(nU()),new ti.cP(t=>{var e;let{stop:n}=function(t){let{stop:e}=(0,eu.H7)(n$("pushState"),"pushState",({onPostCall:e})=>{e(t)}),{stop:n}=(0,eu.H7)(n$("replaceState"),"replaceState",({onPostCall:e})=>{e(t)}),{stop:r}=(0,tO.q2)(window,tO.gX.POP_STATE,t);return{stop:()=>{e(),n(),r()}}}(i),{stop:r}=(e=i,(0,tO.q2)(window,tO.gX.HASH_CHANGE,e));function i(){if(w.href===nU().href)return;let e=(0,T.yG)(nU());t.notify({newLocation:e,oldLocation:w}),w=e}return()=>{n(),r()}})),{observable:x,stop:R}=function(){let t=new ti.cP,{stop:e}=(0,eu.H7)(window,"open",()=>t.notify());return{observable:t,stop:e}}();_.push(R);let{assembleEventDefaults:P}=e;P.register(({eventType:t})=>{let e=n.source;return{type:t,_dd:{format_version:2,drift:(0,C._O)(),configuration:{session_sample_rate:K(n.sessionSampleRate,3),session_replay_sample_rate:K(n.sessionReplaySampleRate,3),profiling_sample_rate:K(n.profilingSampleRate,3),trace_sample_rate:K(n.traceSampleRate,3)},browser_sdk_version:(0,q.d0)()?"7.13.0":void 0,sdk_name:m},application:{id:n.applicationId},date:(0,C.nx)(),source:e}});let I=function(t,e=500){let n,r=(0,tf.q)({expireDelay:nz,maxEntries:4e3});tN("visibility-state")&&performance.getEntriesByType("visibility-state").forEach(t=>{o("hidden"===t.name?"hidden":"active",t.startTime)}),o(nK(),(0,C.$S)());let{stop:i}=(0,tO.lQ)(window,[tO.gX.PAGE_SHOW,tO.gX.FOCUS,tO.gX.BLUR,tO.gX.VISIBILITY_CHANGE,tO.gX.RESUME,tO.gX.FREEZE,tO.gX.PAGE_HIDE],t=>{var e;o((e=t).type===tO.gX.FREEZE?"frozen":e.type===tO.gX.PAGE_HIDE?e.persisted?"frozen":"terminated":nK(),t.timeStamp)},{capture:!0});function o(t,e=(0,C.$S)()){t!==n&&(n=t,r.closeActive(e),r.add({state:n,startTime:e},e))}function s(t,e,n){return r.findAll(e,n).some(e=>e.state===t)}return t.register(({startTime:t,duration:n=0,eventType:i})=>i===u.VIEW?{type:i,_dd:{page_states:function(t,e,n){if(0!==t.length)return t.slice(-n).reverse().map(({state:t,startTime:n})=>({state:t,start:(0,C.Zj)((0,C.vk)(e,n))}))}(r.findAll(t,n),t,e)}}:i===u.ACTION||i===u.ERROR?{type:i,view:{in_foreground:s("active",t,0)}}:e4.$O),{wasInPageStateDuringPeriod:s,addPageState:o,stop:()=>{i(),r.stop()}}}(P);_.push(()=>I.stop());let N=function(t){let e=(0,tf.q)({expireDelay:th});return t.subscribe(1,t=>{var n;e.add({service:(n=t).service,version:n.version,context:n.context,id:n.id,name:n.name,startClocks:n.startClocks},t.startClocks.relative)}),t.subscribe(6,({endClocks:t})=>{e.closeActive(t.relative)}),t.subscribe(3,t=>{let n=e.find(t.startClocks.relative);n&&(t.name&&(n.name=t.name),t.context&&(n.context=t.context),n.sessionIsActive=t.sessionIsActive)}),t.subscribe(11,()=>{e.reset()}),{findView:(t,n)=>e.find(t,n),stop:()=>{e.stop()}}}(t);_.push(()=>N.stop());let L=function(t,e,n){let r,i=(0,tf.q)({expireDelay:nB});t.subscribe(1,({startClocks:t,url:e})=>{let n=(0,eR.B)(ex.J.location).href,o=void 0!==e?(0,tp.c$)(e,n).href:n;i.add(s({url:o,referrer:r||document.referrer}),t.relative),r=o}),t.subscribe(6,({endClocks:t})=>{i.closeActive(t.relative)});let o=n.subscribe(({newLocation:t})=>{let e=i.find();if(e){let n=(0,C.$S)();i.closeActive(n),i.add(s({url:t.href,referrer:e.referrer}),n)}});function s({url:t,referrer:e}){return{url:t,referrer:e}}return e.register(({startTime:t,eventType:e})=>{let n=i.find(t);return n?{type:e,view:{url:n.url,referrer:n.referrer}}:e4.ug}),{findUrl:t=>i.find(t),stop:()=>{o.unsubscribe(),i.stop()}}}(t,P,E);_.push(()=>L.stop());let V=function(t,e,n){let r=(0,tf.q)({expireDelay:nF});return t.subscribe(1,({startClocks:t})=>{r.add({},t.relative)}),t.subscribe(6,({endClocks:t})=>{r.closeActive(t.relative)}),e.register(({startTime:t,eventType:e})=>
1{if(!n.trackFeatureFlagsForEvents.concat([u.VIEW,u.ERROR]).includes(e))return e4.$O;let i=r.find(t);return!i||(0,T.RI)(i)?e4.$O:{type:e,feature_flags:i}}),{addFeatureFlagEvaluation:(t,e)=>{let n=r.find();n&&(n[t]=e)}}}(t,P,n);P.register(({eventType:t,startTime:e})=>{let o,s,a,l=r.findTrackedSession(e),c=N.findView(e);return l&&c?(t===u.VIEW?(o=!!i.getReplayStats(c.id)||void 0,s=1===el(l,n),a=!!c.sessionIsActive&&void 0):o=!!i.isRecording()||void 0,{type:t,session:{id:l.id,type:"user",has_replay:o,sampled_for_replay:s,is_active:a}}):e4.ug}),P.register(({eventType:t})=>({type:t,connectivity:(0,n6.q)()})),(0,n7.j)(P);let B=(0,rt.F)(P,n,"rum",!0),U=(0,re.$)(P,n,r,"rum"),$=(0,rn.B)(P,n,"rum"),F=function(t,e,n,r,i){let o,{unsubscribe:s}=t.subscribe(0,e=>{t.notify(13,e6(e))}),a=ts.l;i.trackUserInteractions&&(o=function(t,e,n,r){let i,o=eV(t),s=new ti.cP;t.subscribe(5,u),t.subscribe(12,u);let{stop:a}=function({onPointerDown:t,onPointerUp:e}){let n,r,i={selection:!1,input:!1,scroll:!1},o=[(0,tO.q2)(window,tO.gX.POINTER_DOWN,e=>{eJ(e)&&(n=eQ(),i={selection:!1,input:!1,scroll:!1},r=t(e))},{capture:!0}),(0,tO.q2)(window,tO.gX.SELECTION_CHANGE,()=>{n&&eQ()||(i.selection=!0)},{capture:!0}),(0,tO.q2)(window,tO.gX.SCROLL,()=>{i.scroll=!0},{capture:!0,passive:!0}),(0,tO.q2)(window,tO.gX.POINTER_UP,t=>{if(eJ(t)&&r){let n=i;e(r,t,()=>n),r=void 0}},{capture:!0}),(0,tO.q2)(window,tO.gX.INPUT,()=>{i.input=!0},{capture:!0})];return{stop:()=>{o.forEach(t=>t.stop())}}}({onPointerDown:i=>(function(t,e,n,r,i){let o;if((o=t.enablePrivacyForActionName?t3(e5(r),t.defaultPrivacyLevel):tY.ALLOW)===tY.HIDDEN)return;let s=function(t,e,n){let r=e5(t),i=r.getBoundingClientRect(),o=tU(r,n.actionNameAttribute),s=function(t,e){let n=t.filter(t=>t instanceof Element&&!eB.includes(t.tagName));if(0===n.length)return"";let r=e?[e].concat(e$):e$,i="";for(let t of n)if((i+=function(t,e){let n=tj(t),r=tF(t),i=Array.from(t.classList).filter(t=>!t$(t)).sort().map(t=>`.${CSS.escape(t)}`).join(""),o=function(t,e){let n=[];for(let r of Array.from(t.attributes))e.includes(r.name)&&n.push(tW(r.name,r.value));return n.sort().join("")}(t,e),s=function(t){let e=Array.from(t.parentNode.children);if(e.length<=1)return"";let n=e.filter(e=>e.tagName===t.tagName),r=e.indexOf(t),i=tq(t);return`:nth-child(${r+1})${n.length>1?`:nth-of-type(${i})`:""}`}(t);return`${n}${r||""}${o}${i}${s};`}(t,r)).length>=eU)return(0,k._R)(i,eU);return i}(t.composedPath(),n.actionNameAttribute);o&&e2(t.timeStamp,o);let{name:a,nameSource:l}=function(t,e,n=tY.ALLOW){let r=new Map,{actionNameAttribute:i}=e,o=ej(t,"data-dd-action-name")||i&&ej(t,i);return o?{name:o,nameSource:"custom_attribute"}:n===tY.MASK?{name:tD,nameSource:"mask_placeholder"}:eq(t,eG,e,r)||eq(t,eW,e,r)||{name:"",nameSource:"blank"}}(r,n,e);return{type:f.CLICK,target:{width:Math.round(i.width),height:Math.round(i.height),selector:o,composedPathSelector:s||void 0},position:{x:Math.round(t.clientX-i.left),y:Math.round(t.clientY-i.top)},name:a,nameSource:l}}(r,o,t),a=!1;return eP(e,n,i,t,t=>{a=t.hadActivity},100),{clickActionBase:s,ignore:function(t){let e=0,n=t;for(;n;){let t=n.getAttribute("data-dd-ignore-frustration");if(null!==t){let n=t.split(/\s+/);if(""===t.trim()||n.includes("all"))return 7;n.includes("rage-click")&&(e|=1),n.includes("dead-click")&&(e|=2),n.includes("error-click")&&(e|=4)}if(7===e)break;n=tR(n)}return e}(e5(r)),hadActivityOnPointerDown:()=>a}})(r,t,e,i,n),onPointerUp:({clickActionBase:i,ignore:a,hadActivityOnPointerDown:u},c,d)=>{!function(t,e,n,r,i,o,s,a,l,u,c,d){let f=function t(e,n,r,i,o,s){let a,l=(0,k.lk)(),u=(0,C.FR)(s.timeStamp),c=n.start(l,u,i,{isChildEvent:e3});e.notify(16,c);let d=0,f=[],h=new ti.cP;function p(t){0===d&&(d=1,a=t?n.stop(l,(0,C.jR)(t)):n.discard(l),h.notify())}return{event:s,ignore:o,stop:p,stopObservable:h,get hasError(){let t=a?.counts??n.getCounts(l);return!!t&&t.errorCount>0},get hasPageActivity(){return a&&"duration"in a},getUserActivity:r,addFrustration:t=>{f.push(t)},get startClocks(){return u},isStopped:()=>1===d||2===d,clone:()=>t(e,n,r,i,o,s),validate:t=>{if(p(),1!==d||!a)return;let n={frustrationTypes:f,events:t??[s],event:s,...a,counts:a.counts};e.notify(0,n),d=2},discard:()=>{p(),d=2}}}(e,i,c,a,l,u);s(f);let h=a?.target?.selector;h&&e2(u.timeStamp,h);let{stop:p}=eP(e,n,r,t,t=>{t.hadActivity&&t.end<f.startClocks.timeStamp?f.discard():t.hadActivity?f.stop(t.end):d()?f.stop(f.startClocks.timeStamp):f.stop()},e0),m=e.subscribe(5,({endClocks:t})=>{f.stop(t.timeStamp)}),g=e.subscribe(12,()=>{f.stop((0,C.nx)())}),y=o.subscribe(()=>{f.stop()});f.stopObservable.subscribe(()=>{g.unsubscribe(),m.unsubscribe(),p(),y.unsubscribe()})}(r,t,e,n,o,s,l,i,a,c,d,u)}});return{stop:()=>{u(),s.notify(),a(),o.stopAll()},findActionId:o.findId};function l(t){if(!i?.tryAppend(t)){let e=t.clone(),n=function(t,e){let n,r=[],i=0;function o(t){t.stopObservable.subscribe(s),r.push(t),(0,tP.DJ)(n),n=(0,tP.wg)(a,eF)}function s(){1===i&&r.every(t=>t.isStopped())&&(i=2,e(r))}function a(){(0,tP.DJ)(n),0===i&&(i=1,s())}return o(t),{tryAppend:t=>{var e,n,s,l;return 0===i&&(!(r.length>0)||(e=r[r.length-1],n=t,(1&e.ignore)!=0==((1&n.ignore)!=0)&&e.event.target===n.event.target&&100>=(s=e.event,l=n.event,Math.sqrt(Math.pow(s.clientX-l.clientX,2)+Math.pow(s.clientY-l.clientY,2)))&&e.event.timeStamp-n.event.timeStamp<=eF)?(o(t),!0):(a(),!1))},stop:()=>{a()}}}(t,t=>{(function(t,e){let{isRage:n}=function(t,e){if(function(t){if(t.some(t=>(1&t.ignore)!=0||t.getUserActivity().selection||t.getUserActivity().scroll))return!1;for(let e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=C.OY)return!0;return!1}(t))return e.addFrustration(h.RAGE_CLICK),t.some(eZ)&&e.addFrustration(h.DEAD_CLICK),e.hasError&&(4&e.ignore)==0&&e.addFrustration(h.ERROR_CLICK),{isRage:!0};let n=t.some(t=>t.getUserActivity().selection);return t.forEach(t=>{t.hasError&&(4&t.ignore)==0&&t.addFrustration(h.ERROR_CLICK),eZ(t)&&!n&&t.addFrustration(h.DEAD_CLICK)}),{isRage:!1}}(t,e);n?(t.forEach(t=>t.discard()),e.stop((0,C.nx)()),e.validate(t.map(t=>t.event))):(e.discard(),t.forEach(t=>t.validate()))})(t,e),i===n&&(i=void 0)});i=n}}function u(){i&&i.stop()}}(t,n,r,i));let l=function(t,e){let n=eV(t);return{addAction:function(t){e({id:(0,k.lk)(),frustrationTypes:[],...t})},startAction:function(e,r={},i=(0,C.M8)()){let o=r.actionKey??e,s=n.start(o,i,{name:e,...r},{isChildEvent:e3});t.notify(16,s)},stopAction:function(t,r={},i=(0,C.M8)()){let o=r.actionKey??t,s=n.stop(o,i,r);if(!s)return;let a=[];s.counts&&s.counts.errorCount>0&&a.push(h.ERROR_CLICK),e({...s,type:s.type||f.CUSTOM,frustrationTypes:a})},findActionId:n.findId,stop:n.stopAll}}(t,e=>{t.notify(13,e6(e))}),c={findActionId:t=>{let e=l.findActionId(t),n=o?.findActionId(t)??[];return e.concat(n)}};return e.assembleEventDefaults.register(({startTime:t,eventType:e})=>
1{if(e!==u.ERROR&&e!==u.RESOURCE&&e!==u.LONG_TASK)return e4.$O;let n=e===u.LONG_TASK?(0,C.Gw)(t,1):t,r=c.findActionId(n);return r.length?{type:e,action:{id:r}}:e4.$O}),e.assembleTelemetry.register(({startTime:t})=>({action:{id:c.findActionId(t)}})),{addAction:l.addAction,startAction:l.startAction,stopAction:l.stopAction,actionContexts:c,stop:()=>{s(),a(),l.stop(),o?.stop()}}}(t,e,S,x,n);_.push(F.stop);let j={addEvent:(e,n,r,i)=>{n8.includes(n.type)&&t.notify(13,{startClocks:(0,C.FR)(e),rawRumEvent:n,domainContext:r,duration:i})}},G=function(t){let e,n=requestAnimationFrame((0,D.dm)(()=>{e=eo()})),r=ei().subscribe(t=>{e=t}).unsubscribe;return t.register(({eventType:t})=>({type:t,display:e?{viewport:e}:void 0})),{stop:()=>{r(),n&&cancelAnimationFrame(n)}}}(P);_.push(G.stop);let W=function(t,e=function(t){let e=(0,nY.gU)()?(t,e)=>(0,tO.q2)(ex.J.cookieStore,tO.gX.CHANGE,n=>{let r=n.changed.find(e=>e.name===t)||n.deleted.find(e=>e.name===t);r&&e(r.value)}).stop:nJ;return new ti.cP(n=>e(t,t=>n.notify(t)))}("datadog-ci-visibility-test-execution-id")){let n=(0,M.B9)("datadog-ci-visibility-test-execution-id")||function(){let t=window.Cypress;if(t)try{return t.env("traceId")}catch{O.V.warn("Failed to read Cypress test execution id via Cypress.env(). Upgrade dd-trace-js to >= 5.88.0 to keep RUM ↔ test correlation working.");return}}(),r=e.subscribe(t=>{n=t});return t.register(({eventType:t})=>"string"!=typeof n?e4.$O:{type:t,session:{type:"ci_test"},ci_test:{test_execution_id:n}}),{stop:()=>{r.unsubscribe()}}}(P);_.push(W.stop),P.register(({eventType:t})=>(0,n0.Fs)()?{type:t,session:{type:"synthetics"},synthetics:{...(0,n0.IM)(),injected:(0,n0.ao)()}}:e4.$O);let z={[u.ERROR]:(0,n2.$)(u.ERROR,g,void 0),[u.ACTION]:(0,n2.$)(u.ACTION,g,b),[u.VITAL]:(0,n2.$)(u.VITAL,g,b)};t.subscribe(13,({startClocks:r,duration:i,rawRumEvent:o,domainContext:s})=>{let a={eventType:o.type,rawRumEvent:o,domainContext:s,startTime:r.relative,duration:i},l=e.assembleEventDefaults.trigger(a);if(l===e4.ug)return;let c=e.assembleEvent.trigger(a);if(c===e4.ug)return;let d=(0,eD.kg)(l,o,c,{ddtags:(0,n3.m5)(n).join(",")});(function(t,e,n,r){if(e){let r=function(t,e,n){let r=(0,eD.Go)(t),i=n(r);return(0,ef.WP)(e).forEach(([e,n])=>(function t(e,n,r,i){let[o,...s]=r;if("[]"===o){Array.isArray(e)&&Array.isArray(n)&&e.forEach((e,r)=>t(e,n[r],s,i));return}if(n1(e)&&n1(n)){if(s.length>0)return t(e[o],n[o],s,i);!function(t,e,n,r){if(t[e]===n)return;let i=(0,A.Pw)(n);i===r?t[e]=(0,eA.a)(n):"object"===r&&("undefined"===i||"null"===i)?t[e]={}:"array"===r&&("undefined"===i||"null"===i)&&(t[e]=[])}(e,o,n[o],i)}})(t,r,e.split(/\.|(?=\[\])/),n)),i}(t,n4[t.type],t=>e(t,n));if(!1===r&&t.type!==u.VIEW)return!1;!1===r&&O.V.warn("Can't dismiss view events using beforeSend!")}return!r[t.type]?.isLimitReached()})(d,n.beforeSend,s,z)&&((0,T.RI)(d.context)&&delete d.context,t.notify(14,d))});let{addTiming:X,setLoadingTime:Y,startView:Q,setViewName:J,setViewContext:Z,setViewContextProperty:tt,getViewContext:te,stop:tn}=(t.subscribe(4,e=>t.notify(13,function(t,e,n){let r=n.getReplayStats(t.id),i=t.commonViewMetrics?.cumulativeLayoutShift?.devicePixelRatio,o={_dd:{document_version:t.documentVersion,replay_stats:r,cls:i?{device_pixel_ratio:i}:void 0,configuration:{start_session_replay_recording_manually:e.startSessionReplayRecordingManually,remote_configuration_id:e.remoteConfigurationId}},date:t.startClocks.timeStamp,type:u.VIEW,view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:t.commonViewMetrics.cumulativeLayoutShift?.value,cumulative_layout_shift_time:(0,C.Zj)(t.commonViewMetrics.cumulativeLayoutShift?.time),cumulative_layout_shift_target_selector:t.commonViewMetrics.cumulativeLayoutShift?.targetSelector,first_byte:(0,C.Zj)(t.initialViewMetrics.navigationTimings?.firstByte),dom_complete:(0,C.Zj)(t.initialViewMetrics.navigationTimings?.domComplete),dom_content_loaded:(0,C.Zj)(t.initialViewMetrics.navigationTimings?.domContentLoaded),dom_interactive:(0,C.Zj)(t.initialViewMetrics.navigationTimings?.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:(0,C.Zj)(t.initialViewMetrics.firstContentfulPaint),interaction_to_next_paint:(0,C.Zj)(t.commonViewMetrics.interactionToNextPaint?.value),interaction_to_next_paint_time:(0,C.Zj)(t.commonViewMetrics.interactionToNextPaint?.time),interaction_to_next_paint_target_selector:t.commonViewMetrics.interactionToNextPaint?.targetSelector,is_active:t.isActive,name:t.name,largest_contentful_paint:(0,C.Zj)(t.initialViewMetrics.largestContentfulPaint?.value),largest_contentful_paint_target_selector:t.initialViewMetrics.largestContentfulPaint?.targetSelector,load_event:(0,C.Zj)(t.initialViewMetrics.navigationTimings?.loadEvent),loading_time:ek((0,C.Zj)(t.commonViewMetrics.loadingTime)),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},performance:function({cumulativeLayoutShift:t,interactionToNextPaint:e},{firstContentfulPaint:n,largestContentfulPaint:r}){return{cls:t&&{score:t.value,timestamp:(0,C.Zj)(t.time),target_selector:t.targetSelector,previous_rect:t.previousRect,current_rect:t.currentRect},fcp:n&&{timestamp:(0,C.Zj)(n)},inp:e&&{duration:(0,C.Zj)(e.value),timestamp:(0,C.Zj)(e.time),target_selector:e.targetSelector,sub_parts:e.subParts?{input_delay:(0,C.Zj)(e.subParts.inputDelay),processing_duration:(0,C.Zj)(e.subParts.processingDuration),presentation_delay:(0,C.Zj)(e.subParts.presentationDelay)}:void 0},lcp:r&&{timestamp:(0,C.Zj)(r.value),target_selector:r.targetSelector,resource_url:r.resourceUrl,sub_parts:r.subParts?{load_delay:(0,C.Zj)(r.subParts.loadDelay),load_time:(0,C.Zj)(r.subParts.loadTime),render_delay:(0,C.Zj)(r.subParts.renderDelay)}:void 0}}}(t.commonViewMetrics,t.initialViewMetrics),resource:{count:t.eventCounts.resourceCount},time_spent:(0,C.Zj)(t.duration)},display:t.commonViewMetrics.scroll?{scroll:{max_depth:t.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:t.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:t.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,C.Zj)(t.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:e.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:function(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}()}};return(0,T.RI)(t.customTimings)||(o.view.custom_timings=(0,T.LG)(t.customTimings,C.Zj)),{rawRumEvent:o,startClocks:t.startClocks,duration:t.duration,domainContext:{location:t.location,handlingStack:t.handlingStack}}}(e,n,i))),e.assembleEventDefaults.register(({startTime:t,eventType:e})=>{let n=N.findView(t);return n?{type:e,service:n.service,version:n.version,context:n.context,view:{id:n.id,name:n.name}}:e4.ug}),e.assembleTelemetry.register(({startTime:t})=>({view:{id:N.findView(t)?.id}})),function(t,e,n,r,i,o,a){let l,u,c=new Set,f=h(d.INITIAL_LOAD,(0,C.Oc)(),a);function h(i,o,a){let l=function(t,e,n,r,i,o=(0,C.M8)(),a){var l;let u,c=(0,k.lk)(),f=new ti.cP,h={},p=0,m=(0,T.yG)((0,eR.B)(window.location)),g=(0,nR.D)(),y=!0,v=a?.name,b=a?.service||r.service,w=a?.version||r.version,_=a?.context,S=a?.handlingStack;_&&g.setContext(_);let E={id:c,name:v,startClocks:o,service:b,version:w,context:_,url:a?.url};t.notify(1,E),t.notify(2,E);let{throttled:x,cancel:A}=(0,ts.n)(q,3e3,{leading:!1}
1),{setLoadEvent:R,setViewEnd:P,stop:I,stopINPTracking:M,getCommonViewMetrics:N,setLoadingTime:L}=function(t,e,n,r,i,o,a){let l={},u=!1,c=!1,{stop:f,setLoadEvent:h}=function(t,e,n,r,i,o,s){let a=i===d.INITIAL_LOAD,l=!0,u=[],c=ny(o);function f(){if(!l&&!a&&u.length>0){let t=Math.max(...u);t<c.timeStamp-o.relative&&s(t)}}let{stop:h}=eP(t,e,n,r,t=>{l&&(l=!1,t.hadActivity&&u.push((0,C.vk)(o.timeStamp,t.end)),f())});return{stop:()=>{h(),c.stop()},setLoadEvent:t=>{a&&(a=!1,u.push(t),f())}}}(t,e,n,r,o,a,t=>{u||(l.loadingTime=t,i())}),{stop:p}=function(t,e,n=function(t=nk){return new ti.cP(e=>{let n=(0,ts.n)(function(){e.notify(function(){let t=er(),{height:e}=eo();return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(e+t),scrollTop:t}}())},t,{leading:!1,trailing:!0}),r=document.scrollingElement||document.documentElement,i=new ResizeObserver((0,D.dm)(n.throttled));r&&i.observe(r);let o=(0,tO.q2)(window,tO.gX.SCROLL,n.throttled,{passive:!0});return()=>{n.cancel(),i.disconnect(),o.stop()}})}()){let r=0,i=0,o=0,s=n.subscribe(({scrollDepth:n,scrollTop:s,scrollHeight:a})=>{let l=!1;if(n>r&&(r=n,l=!0),a>i){i=a;let e=(0,C.$S)();o=(0,C.vk)(t.relative,e),l=!0}l&&e({maxDepth:Math.min(r,i),maxDepthScrollTop:s,maxScrollHeight:i,maxScrollHeightTime:o})});return{stop:()=>s.unsubscribe()}}(a,t=>{l.scroll=t}),{stop:m}=function(t,e,n){let r,i,o,s,a;if(!(tN("layout-shift")&&"WeakRef"in window))return{stop:ts.l};let l=0;n({value:0});let u=(s=0,a=0,{update:t=>{let e;return void 0===i||t.startTime-o>=n_||t.startTime-i>=nw?(i=o=t.startTime,a=s=t.value,e=!0):(s+=t.value,o=t.startTime,(e=t.value>a)&&(a=t.value)),{cumulatedValue:s,isMaxValue:e}}}),c=tM({type:"layout-shift",buffered:!0}).subscribe(i=>{for(let o of i){if(o.hadRecentInput||o.startTime<e)continue;let{cumulatedValue:i,isMaxValue:s}=u.update(o);if(s){let t=function(t){let e;for(let n of t)if(n.node&&tx(n.node)){let t=nv(n);(!e||nv(e)<t)&&(e=n)}return e}(o.sources);r={target:t?.node?new WeakRef(t.node):void 0,time:(0,C.vk)(e,o.startTime),previousRect:t?.previousRect,currentRect:t?.currentRect,devicePixelRatio:window.devicePixelRatio}}if(i>l){l=i;let e=r?.target?.deref();n({value:K(l,4),targetSelector:e&&tU(e,t.actionNameAttribute),time:r?.time,previousRect:r?.previousRect?nb(r.previousRect):void 0,currentRect:r?.currentRect?nb(r.currentRect):void 0,devicePixelRatio:r?.devicePixelRatio})}}});return{stop:()=>{c.unsubscribe()}}}(r,a.relative,t=>{l.cumulativeLayoutShift=t,i()}),{stop:g,getInteractionToNextPaint:y,setViewEnd:v}=function(t,e,n){let r;if(!(tN("event")&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:()=>void 0,setViewEnd:ts.l,stop:ts.l};let i=1/0,{getViewInteractionCount:o,stopViewInteractionCount:a}=function(t){"interactionCount"in performance||s||(s=new window.PerformanceObserver((0,D.dm)(t=>{t.getEntries().forEach(t=>{t.interactionId&&(nE=Math.min(nE,t.interactionId),nS=((nx=Math.max(nx,t.interactionId))-nE)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0});let e=t===d.INITIAL_LOAD?0:nC(),n={stopped:!1};return{getViewInteractionCount:()=>n.stopped?n.interactionCount:nC()-e,stopViewInteractionCount:()=>{n={stopped:!0,interactionCount:nC()-e}}}}(n),l=function(t){let e=[];function n(){e.sort((t,e)=>e.duration-t.duration).splice(10)}return{process(t){let r=e.findIndex(e=>t.interactionId===e.interactionId),i=e[e.length-1];-1!==r?t.duration>e[r].duration&&(e[r]=t,n()):(e.length<10||t.duration>i.duration)&&(e.push(t),n())},estimateP98Interaction(){let n=Math.min(e.length-1,Math.floor(t()/50));return e[n]},isTracked:t=>e.some(e=>e.interactionId===t)}}(o),u=function(t){let e=new Map;function n(t,e){t.startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd)}return{process(t){if(void 0===t.interactionId||!t.processingStart||!t.processingEnd)return;let r=t.startTime+t.duration,i=e.get(t.interactionId);if(i)return void n(i,t);for(let[,i]of e.entries())if(8>=Math.abs(r-i.referenceRenderTime)){n(i,t),e.set(t.interactionId,i);return}e.set(t.interactionId,{startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,referenceRenderTime:r})},pruneUntracked(){for(let[n]of e)t.isTracked(n)||e.delete(n)},computeSubParts(t,n){if(!t.processingStart||!t.processingEnd||void 0===t.interactionId)return;let r=e.get(t.interactionId);if(!r)return;let i=Math.max(r.startTime+n,r.processingStart),o=Math.min(r.processingEnd,i);return{inputDelay:(0,C.vk)(r.startTime,r.processingStart),processingDuration:(0,C.vk)(r.processingStart,o),presentationDelay:(0,C.vk)(o,i)}},stop(){e.clear()}}}(l),c=tM({type:"first-input",buffered:!0}).subscribe(h),f=tM({type:"event",durationThreshold:40,buffered:!0}).subscribe(h);function h(n){for(let t of n)t.interactionId&&t.startTime>=e&&t.startTime<=i&&(l.process(t),u.process(t));u.pruneUntracked();let o=l.estimateP98Interaction();o&&function(n){let i=(0,C.vk)(e,n.startTime);if(n.duration!==r?.duration||i!==r.startTime){let e=function(t){let e=e1.get(t);return e1.delete(t),e}(n.startTime);!e&&n.target&&tx(n.target)&&(e=tU(n.target,t.actionNameAttribute)),r={duration:n.duration,startTime:i,targetSelector:e}}r.subParts=u.computeSubParts(n,nT(r.duration))}(o)}return{getInteractionToNextPaint:()=>r?{value:nT(r.duration),targetSelector:r.targetSelector,time:r.startTime,subParts:r.subParts}:o()?{value:0}
1:void 0,setViewEnd:t=>{i=t,a()},stop:()=>{f.unsubscribe(),c.unsubscribe(),u.stop()}}}(r,a.relative,o);return{stop:()=>{f(),m(),p()},stopINPTracking:g,setLoadEvent:h,setViewEnd:t=>{c=!0,v(t)},getCommonViewMetrics:()=>(l.interactionToNextPaint=y(),l),setLoadingTime:t=>{if(c)return;let e=(0,C.vk)(a.timeStamp,t??(0,C.nx)());u||f(),u=!0,l.loadingTime=e,i()}}}(t,e,n,r,W,i,o),{stop:V,initialViewMetrics:B}=i===d.INITIAL_LOAD?function(t,e,n,r){var i,o;let s={},{stop:a}=(i=t=>{n(t.loadEvent),s.navigationTimings=t,r()},function(t){let e,{stop:n}=(0,nc.H)("complete",()=>{e=(0,tP.wg)(()=>t())});return{stop:()=>{n(),(0,tP.DJ)(e)}}}(()=>{var t;let e=(0,eR.B)(ne)();e.loadEventEnd<=0||i({domComplete:(t=e).domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:nn(t)})})),l=ny(e),{stop:u}=(o=t=>{s.firstContentfulPaint=t,r()},{stop:tM({type:"paint",buffered:!0}).subscribe(t=>{let e=t.find(t=>"first-contentful-paint"===t.name&&t.startTime<l.timeStamp&&t.startTime<nm);e&&o(e.startTime)}).unsubscribe}),{stop:c}=function(t,e,n,r){let i=1/0,{stop:o}=(0,tO.lQ)(n,[tO.gX.POINTER_DOWN,tO.gX.KEY_DOWN],t=>{i=t.timeStamp},{capture:!0,once:!0}),s=0,a=tM({type:"largest-contentful-paint",buffered:!0}).subscribe(n=>{let o=(0,ef.Uk)(n,t=>"largest-contentful-paint"===t.entryType&&t.startTime<i&&t.startTime<e.timeStamp&&t.startTime<ng&&t.size>s);if(o){var a;let e;o.element&&(e=tU(o.element,t.actionNameAttribute));let n=""===(a=o).url?void 0:a.url,i=o.startTime,l=function(t,e){let n=nn(ne());if(void 0===n)return;let r=t?function(t,e){let n=function(){if(tN("resource"))return performance.getEntriesByType("resource")}();if(n)return(0,ef.Uk)(n,n=>n.name===t&&n.startTime<=e)}(t,e):void 0,i=r?Math.max(n,r.requestStart||r.startTime):n,o=Math.min(e,Math.max(i,r?.responseEnd||0));return{loadDelay:i-n,loadTime:o-i,renderDelay:e-o}}(n,i);r({value:i,targetSelector:e,resourceUrl:n,subParts:l}),s=o.size}}
1);return{stop:()=>{o(),a.unsubscribe()}}}(t,l,window,t=>{s.largestContentfulPaint=t,r()});return{stop:function(){a(),u(),c(),l.stop()},initialViewMetrics:s}}(r,o,R,W):{stop:ts.l,initialViewMetrics:{}};i===d.BF_CACHE&&(l=o.relative,requestAnimationFrame(()=>{requestAnimationFrame(()=>{(t=>{B.firstContentfulPaint=t,B.largestContentfulPaint={value:t},W()})((0,C.vk)(l,(0,C.$S)()))})}));let{stop:U,eventCounts:$}=function(t,e,n){let{stop:r,eventCounts:i}=eN({lifeCycle:t,isChildEvent:t=>t.view.id===e,onChange:n});return{stop:r,eventCounts:i}}(t,c,W),F=(0,tP.yb)(q,nO),j=t.subscribe(12,t=>{t===nP.y5.UNLOADING&&q()});function G(){t.notify(3,{id:c,name:v,context:g.getContext(),startClocks:o,sessionIsActive:y})}function W(){G(),x()}function q(){A(),G(),p+=1;let e=void 0===u?(0,C.nx)():u.timeStamp;t.notify(4,{customTimings:h,documentVersion:p,id:c,name:v,service:b,version:w,context:g.getContext(),loadingType:i,location:m,handlingStack:S,startClocks:o,commonViewMetrics:N(),initialViewMetrics:B,duration:(0,C.vk)(o.timeStamp,e),isActive:void 0===u,sessionIsActive:y,eventCounts:$})}return q(),g.changeObservable.subscribe(W),{get name(){return v},service:b,version:w,contextManager:g,stopObservable:f,end(e={}){u||(u=e.endClocks??(0,C.M8)(),y=e.sessionIsActive??!0,t.notify(5,{endClocks:u}),t.notify(6,{endClocks:u}),(0,tP.vG)(F),P(u.relative),I(),j.unsubscribe(),q(),(0,tP.wg)(()=>{this.stop()},nI))},stop(){V(),U(),M(),f.notify()},addTiming(t,e){if(u)return;let n=(0,C.A3)(e)?e:(0,C.vk)(o.timeStamp,e);h[function(t){let e=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return e!==t&&O.V.warn(`Invalid timing name: ${t}, sanitized to: ${e}`),e}(t)]=n,W()},setLoadingTime:L,setViewName(t){v=t,q()}}}(t,e,n,r,i,o,a);return c.add(l),l.stopObservable.subscribe(()=>{c.delete(l)}),l}return t.subscribe(11,()=>{f=h(d.SESSION_RENEWAL,void 0,{name:f.name,service:f.service,version:f.version,context:f.contextManager.getContext()})}),t.subscribe(10,({endClocks:t})=>{f.end({sessionIsActive:!1,endClocks:t})}),o&&(u=i.subscribe(({oldLocation:t,newLocation:e})=>{var n,r;n=t,r=e,(n.pathname!==r.pathname||!function(t){let e=t.substring(1);return""!==e&&!!document.getElementById(e)}(r.hash)&&nM(r.hash)!==nM(n.hash))&&(f.end(),f=h(d.ROUTE_CHANGE))}),l=function(t){let{stop:e}=(0,tO.q2)(window,tO.gX.PAGE_SHOW,e=>{e.persisted&&t(e)},{capture:!0});return e}(t=>{f.end();let e=(0,C.FR)(t.timeStamp);f=h(d.BF_CACHE,e,void 0)})),{addTiming:(t,e=(0,C.nx)())=>{f.addTiming(t,e)},setLoadingTime:t=>f.setLoadingTime(t),startView:(t,e)=>{f.end({endClocks:e}),f=h(d.ROUTE_CHANGE,e,t)},setViewContext:t=>{f.contextManager.setContext(t)},setViewContextProperty:(t,e)=>{f.contextManager.setContextProperty(t,e)},setViewName:t=>{f.setViewName(t)},getViewContext:()=>f.contextManager.getContext(),stop:()=>{u&&u.unsubscribe(),l&&l(),f.end(),c.forEach(t=>t.stop())}}}(t,S,x,n,E,!n.trackViewsManually,a));P.register(({domainContext:t,rawRumEvent:e})=>{var n,r;let i,o=(n=t,"long_task"===(r=e).type&&"long-animation-frame"===r.long_task.entry_type?r.long_task.scripts[0]?.source_url:("handlingStack"in n&&(i=n.handlingStack),"error"===r.type&&r.error.stack&&(i=r.error.stack),(0,n9.T)({stack:i}).stack[0]?.url));if(!o)return e4.$O;let s=(0,nZ.y)(o);return s?{type:e.type,service:s.service,version:s.version}:e4.$O}),_.push(tn);let tr=function(t,e){let n=(0,eR.B)(nu)(),r=function(t){let e=new Set,n=t.subscribe(8,t=>{e.add(t),e.size>1e3&&e.delete(e.values().next().value)});return{getMatchingRequest(t){let n,r=1/0;for(let i of e){let e=t.startTime-i.startClocks.relative;0<=e&&e<r&&i.url===t.name&&(r=Math.abs(e),n=i)}return n&&e.delete(n),n},stop(){n.unsubscribe()}}}(t);t.subscribe(9,n=>{let r=function(t,e){let n=(0,C.vk)(t.startClocks.timeStamp,t.endClocks.timeStamp),r={date:t.startClocks.timeStamp,type:u.RESOURCE,resource:{id:(0,k.lk)(),type:tm.v.WEBSOCKET,url:t.url,duration:(0,C.Zj)(n),websocket:{connection_id:t.connectionId,handshake_succeeded:t.handshakeSucceeded,start_time:t.startClocks.timeStamp,end_time:t.endClocks.timeStamp,start_view_id:t.startViewId,end_view_id:t.endViewId,tracking_end_reason:t.trackingEndReason,close_code:t.closeCode,close_reason:t.closeReason,was_clean:t.wasClean,messages_in:t.messagesIn,messages_out:t.messagesOut,time_to_first_message_in:(0,C.Zj)(t.firstMessageInOffset),time_to_first_message_out:(0,C.Zj)(t.firstMessageOutOffset),last_message_in_at:t.lastMessageInAt,longest_inbound_silence:(0,C.Zj)(t.longestInboundSilence),inbound_idle_duration_before_close:(0,C.Zj)(t.inboundIdleDurationBeforeClose),buffered_amount_max:t.bufferedAmountMax,protocol:t.protocol,setup_duration:(0,C.Zj)(t.setupDuration)}},_dd:{discarded:!e.trackResources}};return{startClocks:t.startClocks,duration:n,rawRumEvent:r,domainContext:{isWebSocket:!0,isManual:!1,webSocket:t.webSocket}}}(n,e);r&&t.notify(13,r)});let i=tM({type:"resource",buffered:!0}).subscribe(n=>{for(let i of n)"xmlhttprequest"===i.initiatorType||"fetch"===i.initiatorType?(0,tP.wg)(()=>{let n=nd(i,r.getMatchingRequest(i),e);n&&t.notify(13,n)},50):s(()=>nd(i,void 0,e))}),{stop:o}=(0,nc.H)("interactive",()=>{s(()=>nd(ne(),void 0,e))});function s(e){n.push(()=>{let n=e();n&&t.notify(13,n)})}let a=eV(t),l={startResource:function(t,e={},n=(0,C.M8)()){let r=e.resourceKey??t;a.start(r,n,{url:t,...e})},stopResource:function(e,n={},r=(0,C.M8)()){let i=n.resourceKey??e,o=a.stop(i,r,{context:n.context,type:n.type});if(!o)return;let s=(0,C.vk)(o.startClocks.relative,r.relative),l={date:o.startClocks.timeStamp,type:u.RESOURCE,resource:{id:o.id,type:o.type||tm.v.OTHER,url:tS(o.url),duration:(0,C.Zj)(s),method:o.method,status_code:n.statusCode,size:n.size},_dd:{},context:o.context};t.notify(13,{rawRumEvent:l,startClocks:o.startClocks,duration:s,domainContext:{isManual:!0}})}};return{startResource:l.startResource,stopResource:l.stopResource,stop:()=>{o(),n.stop(),i.unsubscribe(),a.stopAll()}}}(t,n);_.push(tr.stop);let{stop:to}=function(t,e){let n=tM({type:tN("long-animation-frame")?"long-animation-frame":"longtask",buffered:!0}).subscribe(n=>{for(let r of n){if(!e.trackLongTasks)break;let n=(0,C.FR)(r.startTime),i=function(t,e){let n=(0,k.lk)(),r=(0,C.Zj)(t.duration),i={date:e.timeStamp,type:u.LONG_TASK,_dd:{discarded:!1}};if("longtask"===t.entryType)return{...i,long_task:{id:n,entry_type:c.LONG_TASK,duration:r}};let o=t.scripts.map(t=>t.sourceURL).filter(t=>!!t),s=(0,nZ.J)(o);return{...i,_dd:{discarded:!1,debug_ids:s},long_task:{id:n,entry_type:c.LONG_ANIMATION_FRAME,duration:r,blocking_duration:(0,C.Zj)(t.blockingDuration),first_ui_event_timestamp:(0,C.Zj)(t.firstUIEventTimestamp),render_start:(0,C.Zj)(t.render
1Start),style_and_layout_start:(0,C.Zj)(t.styleAndLayoutStart),start_time:(0,C.Zj)(t.startTime),scripts:t.scripts.map(t=>({duration:(0,C.Zj)(t.duration),pause_duration:(0,C.Zj)(t.pauseDuration),forced_style_and_layout_duration:(0,C.Zj)(t.forcedStyleAndLayoutDuration),start_time:(0,C.Zj)(t.startTime),execution_start:(0,C.Zj)(t.executionStart),source_url:t.sourceURL,source_function_name:t.sourceFunctionName,source_char_position:t.sourceCharPosition,invoker:t.invoker,invoker_type:t.invokerType,window_attribution:t.windowAttribution}))}}}(r,n);t.notify(13,{rawRumEvent:i,startClocks:n,duration:r.duration,domainContext:{performanceEntry:r}})}});return{stop:()=>n.unsubscribe()}}(t,n);_.push(to);let{addError:tl}=function(t,e){var n,r;let i=new ti.cP;return e.subscribe(({data:t,type:e})=>{e===ew.o.RUNTIME_ERROR?i.notify(t):e===ew.o.CONSOLE&&t.api===e9.bP.error&&i.notify(t.error)}),n=i,(0,e8.u)([e8.V.cspViolation,e8.V.intervention]).subscribe(t=>n.notify(t)),i.subscribe(e=>t.notify(15,{error:e})),(r=t).subscribe(15,({error:t})=>{r.notify(13,function(t){let e={date:t.startClocks.timeStamp,error:{id:(0,k.lk)(),message:t.message,source:t.source,stack:t.stack,handling_stack:t.handlingStack,component_stack:t.componentStack,type:t.type,handling:t.handling,causes:t.causes,source_type:"browser",fingerprint:t.fingerprint,csp:t.csp},_dd:{debug_ids:t.debugIds},type:u.ERROR,context:t.context},n={error:t.originalError,handlingStack:t.handlingStack};return{rawRumEvent:e,startClocks:t.startClocks,domainContext:n}}(t))}),{addError:({error:t,handlingStack:e,componentStack:n,startClocks:i,context:o})=>{let s=(0,e7.As)({originalError:t,handlingStack:e,componentStack:n,startClocks:i,nonErrorPrefix:nt.O7.PROVIDED,source:nt.gf.CUSTOM,handling:nt.aC.HANDLED});s.context=(0,eD.kg)(s.context,o),r.notify(15,{error:s})}}}(t,l);!function(t,e,n,r,i,o){let s={clearTracingIfNeeded:ep,traceFetch:t=>em(e,t,n,r,i,e=>{if(t.input instanceof Request&&!t.init?.headers)t.input=new Request(t.input),Object.keys(e).forEach(n=>{t.input.headers.append(n,e[n])});else{t.init=(0,T.yG)(t.init);let n=[];t.init.headers instanceof Headers?t.init.headers.forEach((t,e)=>{n.push([e,t])}):Array.isArray(t.init.headers)?t.init.headers.forEach(t=>{n.push(t)}):t.init.headers&&Object.keys(t.init.headers).forEach(e=>{n.push([e,t.init.headers[e]])}),t.init.headers=n.concat((0,ef.WP)(e))}}),traceXhr:(t,o)=>em(e,t,n,r,i,t=>{try{Object.keys(t).forEach(e=>{o.setRequestHeader(e,t[e])})}catch{}})};(function(t,e,n){let r=[];r.push((0,eb.G)().subscribe(t=>{"start"===t.state&&tw(t.url)&&(e.traceXhr(t,t.xhr),eE(t))})),r.push(n.subscribe(({data:n,type:r})=>{if(r===ew.o.XHR&&tw(n.url))switch(n.state){case"start":eE(n),t.notify(7,{requestIndex:n.requestIndex,url:n.url});break;case"complete":e.clearTracingIfNeeded(n),t.notify(8,{...n,type:tm.Y.XHR,isAbortedOnStart:!1})}}))})(t,s,o),function(t,e,n,r){let i=[];i.push((0,e_.i)({responseBodyAction:t=>ev(t.url,e)?.trackResponseErrors?e_.C.COLLECT:e_.C.IGNORE}).subscribe(t=>{"start"===t.state&&tw(t.url)&&(n.traceFetch(t),eE(t))})),i.push(r.subscribe(({data:e,type:r})=>{if(r===ew.o.FETCH&&tw(e.url))switch(e.state){case"start":eE(e),t.notify(7,{requestIndex:e.requestIndex,url:e.url});break;case"resolve":n.clearTracingIfNeeded(e),t.notify(8,{...e,duration:(0,C.vk)(e.startClocks.timeStamp,(0,C.nx)()),type:tm.Y.FETCH,requestBody:e.init?.body})}}))}(t,e,s,o)}(t,n,r,U,$,l);let tu=function(t,e){let n=eV(t);function r(n){e.wasInPageStateDuringPeriod("frozen",n.startClocks.relative,n.duration)||t.notify(13,nX(n))}return{addOperationStepVital:function(e,n,r,i){let{operationKey:o,context:s,description:a,handlingStack:l}=r||{},u={name:e,type:p.OPERATION_STEP,operationKey:o,failureReason:i,stepType:n,startClocks:(0,C.M8)(),context:(0,eA.a)(s),description:a,handlingStack:l};t.notify(13,nX(u))},addDurationVital:r,startDurationVital:function(e,r={},i=(0,C.M8)()){let{id:o}=n.start(r.vitalKey??e,i,{name:e,...r});t.notify(17,{id:o,name:e,startClocks:i,...r})},stopDurationVital:function(t,e={},i=(0,C.M8)()){let o=n.stop(e.vitalKey??t,i,e);o&&r({type:p.DURATION,...o})}}}(t,I);if(n.trackResources&&(n.betaTrackWebSockets||(0,H.sr)(H.R9.TRACK_WEBSOCKETS))){let e=function(t,e,n){let r=function(t,e,n,r){let i=new Map;function o(e,i,o){let s=function(t,e,n,r){let i=e.at,o="session_end"===n?r.findView(i.relative,{returnInactive:!0})?.id:r.findView(i.relative)?.id,s=void 0!==t.lastMessageInAt?(0,C.vk)(t.lastMessageInAt,i.timeStamp):void 0,{openClocks:a,...l}=t;return{...l,endClocks:i,endViewId:o,inboundIdleDurationBeforeClose:s,trackingEndReason:n,handshakeSucceeded:void 0!==a,setupDuration:t.setupDuration??(0,C.vk)(t.startClocks.timeStamp,i.timeStamp),closeCode:e.code,closeReason:e.reason,wasClean:e.wasClean}}(e,i,o,n);t.notify(9,s),r({id:(0,k.lk)(),name:"websocket-closed",type:p.DURATION,startClocks:s.endClocks,duration:0,
1context:(0,eA.a)({url:s.url,connection_id:s.connectionId})})}let s=e.subscribe(t=>{switch(t.state){case"connecting":{let e=(0,k.lk)(),o=n.findView(t.startClocks.relative)?.id,s=function(t){let e=(0,tp.c$)(t);return e.search="",e.href}(t.url),a={webSocket:t.instance,connectionId:e,url:s,startClocks:t.startClocks,startViewId:o,messagesIn:{count:0,size:0},messagesOut:{count:0,size:0},longestInboundSilence:0,bufferedAmountMax:0};i.set(t.instance,a),r({id:(0,k.lk)(),name:"websocket-connecting",type:p.DURATION,startClocks:t.startClocks,duration:0,context:(0,eA.a)({url:s,connection_id:e})});return}case"open":{let e=i.get(t.instance);if(!e)return;e.openClocks=t.openClocks,e.protocol=t.protocol,e.setupDuration=(0,C.vk)(e.startClocks.timeStamp,t.openClocks.timeStamp);return}case"message-in":{let e=i.get(t.instance);if(!e)return;e.messagesIn.count+=1,e.messagesIn.size+=t.size,eT(e,t.at,"in");return}case"message-out":{let e=i.get(t.instance);if(!e)return;t.bufferedAmountPreSend>e.bufferedAmountMax&&(e.bufferedAmountMax=t.bufferedAmountPreSend),e.messagesOut.count+=1,e.messagesOut.size+=t.size,eT(e,t.at,"out");return}case"closed":{let e=i.get(t.instance);if(!e)return;i.delete(t.instance),o(e,t,"close_event");return}}});return{flushOpenConnections:(t,e=(0,C.M8)())=>{i.forEach(n=>{o(n,{at:e},t)}),i.clear()},stop:()=>{s.unsubscribe(),i.clear()}}}(t,(o||(o=new ti.cP(t=>{if("function"!=typeof ex.J.WebSocket)return;let{stop:e}=(0,eu.my)(ex.J,"WebSocket",({parameters:e,onPostCall:n})=>{let r=Array.isArray(e[1])?[].concat(e[1]):e[1],i=(0,C.M8)();n(e=>{t.notify({state:"connecting",instance:e,url:e.url,protocols:r,startClocks:i}),function(t,e){let{stop:n}=(0,tO.q2)(t,"open",()=>{e.notify({state:"open",instance:t,openClocks:(0,C.M8)(),protocol:t.protocol||""}),n()}),{stop:r}=(0,tO.q2)(t,"message",n=>{e.notify({state:"message-in",instance:t,size:eC(n.data),at:(0,C.M8)()})}),{stop:i}=(0,tO.q2)(t,"close",n=>{e.notify({state:"closed",instance:t,code:n.code,reason:n.reason,wasClean:n.wasClean,at:(0,C.M8)()}),r(),i()})}(e,t)})}),{stop:n}=(0,eu.H7)(ex.J.WebSocket.prototype,"send",({target:e,parameters:[n],onPostCall:r})=>{let i=eC(n),o=e.bufferedAmount;r(()=>{t.notify({state:"message-out",instance:e,size:i,bufferedAmountPreSend:o,at:(0,C.M8)()})})});return()=>{e(),n()}})),o),e,n),i=t.subscribe(10,({endClocks:t})=>{r.flushOpenConnections("session_end",t)});return{stop:()=>{i.unsubscribe(),r.flushOpenConnections("session_end"),r.stop()}}}(t,N,tu.addDurationVital);_.push(e.stop)}let tc=(y=n.applicationId,v=F.actionContexts,{get:t=>{let e=N.findView(t),n=L.findUrl(t),i=r.findTrackedSession(t);if(i&&e&&n){let r=v.findActionId(t);return{application_id:y,session_id:i.id,user_action:r?{id:r}:void 0,view:{id:e.id,name:e.name,referrer:n.referrer,url:n.url}}}}});return{addAction:F.addAction,startAction:F.startAction,stopAction:F.stopAction,startResource:tr.startResource,stopResource:tr.stopResource,addEvent:j.addEvent,addError:tl,addTiming:X,setLoadingTime:Y,addFeatureFlagEvaluation:V.addFeatureFlagEvaluation,startView:Q,setViewContext:Z,setViewContextProperty:tt,getViewContext:te,setViewName:J,viewHistory:N,sessionManager:r,stopSession:()=>r.expire(),getInternalContext:tc.get,startDurationVital:tu.startDurationVital,stopDurationVital:tu.stopDurationVital,addDurationVital:tu.addDurationVital,addOperationStepVital:tu.addOperationStepVital,globalContext:B,userContext:U,accountContext:$,stop:()=>_.forEach(t=>t())}}(_,v,t,e,n,i,g,b,S);return w.push(x),g.unbuffer(),w.push(()=>r.stop()),{...R,lifeCycle:_,sessionManager:e,stopSession:()=>e.expire(),telemetry:y,stop:()=>{w.forEach(t=>t())},hooks:v}}function ri(t){return!!t&&"function"==typeof t.then}var ro=n(47647),rs=n(99644),ra=n(13454),rl=n(38615),ru=n(16155),rc=n(68921),rd=n(88569),rf=n(14211),rh=n(92072),rp=n(30702);function rm(t,e,n={}){let r=(0,rd.D)(),i=(0,ew.t)(),o=function({ignoreInitIfSyntheticsWillInjectRum:t=!0,startDeflateWorker:e,sdkName:n},r,i){let o,s,a,l,u,c,d=new ti.dX(500,t=>{(0,I.A2)("preStartRum buffer data lost",{count:t})}),f=(0,rt.s)();(0,ro.P)(f,rs.Nr.globalContext,d);let h=(0,re.Y)();(0,ro.P)(h,rs.Nr.userContext,d);let p=(0,rn.K)();
1(0,ro.P)(p,rs.Nr.accountContext,d);let m={assembleEventDefaults:(0,e4.ab)(),assembleTelemetry:(0,e4.ab)(),assembleEvent:(0,e4.ab)()},g=r.observable.subscribe(b),y={},v=!1;function b(){let t;if(v||!a||!l||!u||!c)return;if(g.unsubscribe(),l.trackViewsManually){if(!o)return;t=o.options}let e=l.trackViewsManually?o?.callback:void 0,n=i(l,u,s,t,c,m);v=!0,d.subscribe(t=>{t!==e&&t(n)}),d.unbuffer()}function w(t,i,o){var d;let f=(0,q.d0)();if(f&&(t={...d=t,service:d.service||d.applicationId,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:d.defaultPrivacyLevel??(0,q.Y9)()?.getPrivacyLevel()}),a=t,l)return void(0,ra.$)("DD_RUM",t);let h=function(t,e){let n=(0,Q.S)(t,tt,O.V);if(!n)return;let r=n.allowedTracingUrls.map(tn).filter(Boolean);if(r.length>0&&!n.service)return void O.V.error("Service needs to be configured when tracing is enabled");let i=(0,H.sr)(H.R9.SESSION_REPLAY_RECORD_CANVAS)?n.sessionReplayCanvasRecording:void 0;return{...n,service:n.service||n.applicationId,sessionReplayCanvasRecording:i,betaEnableViewUpdates:te(n.betaEnableViewUpdates,n.proxy,e),allowedTracingUrls:r,beforeSend:n.beforeSend?(0,z.y)(n.beforeSend,"beforeSend threw an error:"):void 0,rulePsr:X(t.traceSampleRate)?t.traceSampleRate/100:void 0,trackResourceHeaders:function(t){let e=t.trackResourceHeaders;if(void 0===e||!1===e)return[];if(!0===e)return Z.map(t=>({name:t}));if(!Array.isArray(e))return O.V.warn("trackResourceHeaders should be true or an array of MatchHeader"),[];if(0===e.length)return O.V.warn("trackResourceHeaders is an empty array, no headers will be captured"),[];let n=[];return e.forEach((t,e)=>{if(!(0,A.OE)(t))return void O.V.warn(`trackResourceHeaders[${e}] should be a MatchHeader object`);if(void 0!==t.name&&!(0,A.Vl)(t.name))return void O.V.warn(`trackResourceHeaders[${e}].name should be a MatchOption`);if(void 0!==t.url&&!(0,A.Vl)(t.url))return void O.V.warn(`trackResourceHeaders[${e}].url should be a MatchOption`);if(void 0!==t.extractor&&!(t.extractor instanceof RegExp))return void O.V.warn(`trackResourceHeaders[${e}].extractor should be a RegExp`);if(void 0!==t.location&&("string"!=typeof t.location||!tr.includes(t.location)))return void O.V.warn(`trackResourceHeaders[${e}].location should be 'request', 'response', or 'any'`);let{name:r,...i}=t;n.push({...i,...void 0!==r?{name:"string"==typeof r?r.toLowerCase():r}:{}})}),n}(t),allowedGraphQlUrls:function(t){if(!t.allowedGraphQlUrls)return[];if(!Array.isArray(t.allowedGraphQlUrls))return O.V.warn("allowedGraphQlUrls should be an array"),[];let e=[];
1return t.allowedGraphQlUrls.forEach(t=>{(0,A.Vl)(t)?e.push({match:t,trackPayload:!1,trackResponseErrors:!1}):(0,A.OE)(t)&&(0,A.Vl)(t.match)&&e.push({match:t.match,trackPayload:!!t.trackPayload,trackResponseErrors:!!t.trackResponseErrors})}),e}(t),remoteConfigurationId:G(t)}}(t,n);if(h&&(0,rl.tG)(h,i??"")){if(h.compressIntakeRequests&&!f&&e&&!(s=e(h,"Datadog RUM",ts.l)))return;l=h,r.tryToInit(h.trackingConsent),r.onGrantedOnce(()=>{let{assembleTelemetry:e}=m;if(e.register(()=>r.isGranted()?e4.$O:e4.ug),c=(0,eR.B)(I.a5)(I.H0.RUM,h,e,n),ex.W)return void O.V.warn("The RUM SDK is not supported in a web or service worker environment.");((0,q.d0)()?(0,ru.Ql)():(0,eR.B)(ru.ox)(h,r)).then(r=>{r&&(u=r,(0,rc.l)(e,u,{application:{id:h.applicationId}}),(0,I.Rr)(function(t,e,n){var r,i,o;let s=(0,W.hO)(t);return{session_replay_sample_rate:t.sessionReplaySampleRate,start_session_replay_recording_manually:t.startSessionReplayRecordingManually,trace_sample_rate:t.traceSampleRate,trace_context_injection:t.traceContextInjection,propagate_trace_baggage:t.propagateTraceBaggage,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_urls:(0,Y.EI)(t.allowedTracingUrls),use_allowed_graph_ql_urls:(0,Y.EI)(t.allowedGraphQlUrls),use_track_graph_ql_payload:(r=t.allowedGraphQlUrls,(0,Y.EI)(r)&&r.some(t=>(0,A.OE)(t)&&t.trackPayload)),use_track_graph_ql_response_errors:(i=t.allowedGraphQlUrls,(0,Y.EI)(i)&&i.some(t=>(0,A.OE)(t)&&t.trackResponseErrors)),selected_tracing_propagators:function(t){let e=new Set;return(0,Y.EI)(t.allowedTracingUrls)&&t.allowedTracingUrls.forEach(t=>{tn(t)?.propagatorTypes.forEach(t=>e.add(t))}),Array.from(e)}(t),default_privacy_level:t.defaultPrivacyLevel,enable_privacy_for_action_name:t.enablePrivacyForActionName,use_excluded_activity_urls:(0,Y.EI)(t.excludedActivityUrls),use_worker_url:!!t.workerUrl,compress_intake_requests:t.compressIntakeRequests,track_views_manually:t.trackViewsManually,track_user_interactions:t.trackUserInteractions,track_resources:t.trackResources,track_long_task:t.trackLongTasks,plugins:t.plugins?.map(t=>({name:t.name,...t.getConfigurationTelemetry?.()})),track_feature_flags_for_events:t.trackFeatureFlagsForEvents,remote_configuration_id:G(t),remote_configuration:n&&{last_modified:n.lastModified,last_synced:n.lastSynced,first_applied:n.firstApplied,sync_id:n.syncId},profiling_sample_rate:t.profilingSampleRate,use_remote_configuration_proxy:!!t.remoteConfigurationProxy,track_resource_headers:!0===(o=t.trackResourceHeaders)?"default_headers":Array.isArray(o)?"custom":void 0,beta_enable_view_updates:te(t.betaEnableViewUpdates,t.proxy,e),beta_track_web_sockets:t.betaTrackWebSockets,...s}}(t,n,o)),b())}).catch(D.Dx)})}}return{init(e,n,r){if(!e)return void O.V.error("Missing configuration");if((0,H.Aq)(e.enableExperimentalFeatures),(0,tO.fK)(e.allowUntrustedEvents),a=e,t&&(0,n0.ao)())return;let i=function(t,e){if(!t)return!0;let n=t.map(t=>t.onInit?.(e));return n.some(ri)?Promise.all(n).then(t=>!t.includes(!1)):!n.includes(!1)}(e.plugins,{initConfiguration:e,publicApi:n,registerAssembleEventHook:m.assembleEvent.register});function o(){if(G(e)){let t={user:h,context:f};if(e.remoteConfigurationId||e.remoteConfiguration?.sync)B(e,t).then(t=>{t&&w(t,r)}).catch(D.Dx);else{let n=function(t,e){let n=function({remoteConfigurationId:t}){let e=`dd_rc_${t}`;return{read(){let t;try{t=localStorage.getItem(e)}catch{return{status:"error"}}if(null===t)return{status:"miss"};let n=(0,T.XU)(t);return void 0===n||!function(t){if("object"!=typeof t||null===t)return!1;let e="version"in t&&3===t.version,n="config"in t&&"object"==typeof t.config&&null!==t.config,r="metadata"in t&&(0,A.OE)(t.metadata)&&"string"==typeof t.metadata.syncId&&"number"==typeof t.metadata.lastSynced;return e&&n&&r}(n)?(this.remove(),{status:"error"}):{status:"hit",config:n.config,metadata:n.metadata}},remove(){try{localStorage.removeItem(e)}catch{}},write(t,n){let r=this.read();("hit"!==r.status||JSON.stringify(r.config)!==JSON.stringify(t))&&P(e,{version:3,config:t,metadata:{lastModified:n,lastSynced:(0,C.nx)(),syncId:(0,k.lk)()}})},stampFirstApplied(t){if(void 0!==t.metadata.firstApplied)return t.metadata;let n={...t.metadata,firstApplied:(0,C.nx)()};return P(e,{version:3,config:t.config,metadata:n}),n}}}({remoteConfigurationId:G(t)}),r=$(),i=n.read();return(r.increment("cache",R[i.status]),j(t).then(t=>{t.ok?(r.increment("fetch","success"),n.write(t.value,t.lastModified)):(r.increment("fetch","failure"),O.V.error(t.error))}).catch(D.Dx).finally(()=>{(0,I.Gk)(I.Xf.REMOTE_CONFIGURATION_METRIC_NAME,{metrics:r.get()})}
1),"hit"===i.status)?{metadata:n.stampFirstApplied(i),initConfiguration:U(t,i.config,e,r)}:t.remoteConfiguration?.required?void 0:{initConfiguration:t}}(e,t);n&&w(n.initConfiguration,r,n.metadata)}}else w(e,r)}"boolean"==typeof i?i&&o():i.then(t=>{t&&o()}).catch(D.Dx)},get initConfiguration(){return a},getInternalContext:ts.l,stopSession:ts.l,addTiming(t,e=(0,C.nx)()){d.notify(n=>n.addTiming(t,e))},setLoadingTime:t=>{d.notify(e=>e.setLoadingTime(t))},startView(t,e=(0,C.M8)()){let n=n=>{n.startView(t,e)};d.notify(n),o||(o={options:t,callback:n},b())},setViewName(t){d.notify(e=>e.setViewName(t))},setViewContext(t){d.notify(e=>e.setViewContext(t))},setViewContextProperty(t,e){d.notify(n=>n.setViewContextProperty(t,e))},getViewContext:()=>y,globalContext:f,userContext:h,accountContext:p,addAction(t){d.notify(e=>e.addAction(t))},startAction(t,e){let n=(0,C.M8)();d.notify(r=>r.startAction(t,e,n))},stopAction(t,e){let n=(0,C.M8)();d.notify(r=>r.stopAction(t,e,n))},startResource(t,e){let n=(0,C.M8)();d.notify(r=>r.startResource(t,e,n))},stopResource(t,e){let n=(0,C.M8)();d.notify(r=>r.stopResource(t,e,n))},addError(t){d.notify(e=>e.addError(t))},addFeatureFlagEvaluation(t,e){d.notify(n=>n.addFeatureFlagEvaluation(t,e))},startDurationVital(t,e){let n=(0,C.M8)();d.notify(r=>r.startDurationVital(t,e,n))},stopDurationVital(t,e){let n=(0,C.M8)();d.notify(r=>r.stopDurationVital(t,e,n))},addDurationVital(t){d.notify(e=>e.addDurationVital(t))},addOperationStepVital:(t,e,n,r)=>{d.notify(i=>i.addOperationStepVital((0,eA.a)(t),e,(0,eA.a)(n),(0,eA.a)(r)))}}}(n,r,(r,s,a,l,u,c)=>{let d=a&&n.createDeflateEncoder?t=>n.createDeflateEncoder(a,t):rf.N,f=(0,eR.B)(rr)(r,s,t,e,l,d,i.observable,u,c,n.sdkName);t.onRumStart(f.lifeCycle,r,s,f.viewHistory,a,f.telemetry),e.onRumStart(f.lifeCycle,f.hooks,r,s,f.viewHistory,d),h=o,p=f,o={...h,init:t=>{(0,ra.$)("DD_RUM",t)},getInternalContext:p.getInternalContext,stopSession:p.stopSession,getViewContext:p.getViewContext,globalContext:p.globalContext,userContext:p.userContext,accountContext:p.accountContext};var h,p,m=r.plugins,g={addEvent:f.addEvent,addError:f.addError};for(let t of m??[])t.onRumStart?.(g);return f}),s=()=>o,a=(t,e)=>{let n=(0,rh.uC)("vital");(0,D.um)(()=>{(0,I.Q6)({feature:"add-operation-step-vital",action_type:"start"}),o.addOperationStepVital(t,"start",{...e,handlingStack:n})})},l=(0,D.dm)((t,e)=>{(0,I.Q6)({feature:"add-operation-step-vital",action_type:"succeed"}),o.addOperationStepVital(t,"end",e)}),u=(0,D.dm)((t,e,n)=>{(0,I.Q6)({feature:"add-operation-step-vital",action_type:"fail"}),o.addOperationStepVital(t,"end",n,e)}),c=(0,rp.m)({init:t=>{let e=Error().stack;(0,D.um)(()=>o.init(t,c,e))},setTrackingConsent:(0,D.dm)(t=>{r.update(t),(0,I.Q6)({feature:"set-tracking-consent",tracking_consent:t})}),setViewName:(0,D.dm)(t=>{o.setViewName(rg(t,"view name")),(0,I.Q6)({feature:"set-view-name"})}),setViewContext:(0,D.dm)(t=>{o.setViewContext(t),(0,I.Q6)({feature:"set-view-context"})}),setViewContextProperty:(0,D.dm)((t,e)=>{o.setViewContextProperty(t,e),(0,I.Q6)({feature:"set-view-context-property"})}),getViewContext:(0,D.dm)(()=>((0,I.Q6)({feature:"set-view-context-property"}),o.getViewContext())),getInternalContext:(0,D.dm)(t=>o.getInternalContext(t)),getInitConfiguration:(0,D.dm)(()=>(0,eD.Go)(o.initConfiguration)),addAction:(t,e)=>{let n=(0,rh.uC)("action");(0,D.um)(()=>{o.addAction({name:(0,eA.a)(t),context:(0,eA.a)(e),startClocks:(0,C.M8)(),type:f.CUSTOM,handlingStack:n}),(0,I.Q6)({feature:"add-action"})})},startAction:(0,D.dm)((t,e)=>{(0,I.Q6)({feature:"start-action"}),o.startAction((0,eA.a)(t),{type:(0,eA.a)(e?.type),context:(0,eA.a)(e?.context),actionKey:e?.actionKey})}),stopAction:(0,D.dm)((t,e)=>{(0,I.Q6)({feature:"stop-action"}),o.stopAction((0,eA.a)(t),{type:(0,eA.a)(e?.type),context:(0,eA.a)(e?.context),actionKey:e?.actionKey})}),startResource:(0,D.dm)((t,e)=>{(0,I.Q6)({feature:"start-resource"}),o.startResource((0,eA.a)(t),{type:(0,eA.a)(e?.type),method:(0,eA.a)(e?.method),context:(0,eA.a)(e?.context),resourceKey:e?.resourceKey})}),stopResource:(0,D.dm)((t,e)=>{(0,I.Q6)({feature:"stop-resource"}),o.stopResource((0,eA.a)(t),{type:(0,eA.a)(e?.type),statusCode:e?.statusCode,size:e?.size,context:(0,eA.a)(e?.context),resourceKey:e?.resourceKey})}),addError:(t,e)=>{let n=(0,rh.uC)("error");(0,D.um)(()=>{o.addError({error:t,handlingStack:n,context:(0,eA.a)(e),startClocks:(0,C.M8)()}),(0,I.Q6)({feature:"add-error"})})},addTiming:(0,D.dm)((t,e)=>{o.addTiming((0,eA.a)(t),e)}
1),setViewLoadingTime:(0,D.dm)(()=>{let t=(0,C.nx)();o.setLoadingTime(t),(0,I.Q6)({feature:"addViewLoadingTime"})}),setGlobalContext:(0,ro.q)(s,rs.Nr.globalContext,rs.QQ.setContext,"set-global-context"),getGlobalContext:(0,ro.q)(s,rs.Nr.globalContext,rs.QQ.getContext,"get-global-context"),setGlobalContextProperty:(0,ro.q)(s,rs.Nr.globalContext,rs.QQ.setContextProperty,"set-global-context-property"),removeGlobalContextProperty:(0,ro.q)(s,rs.Nr.globalContext,rs.QQ.removeContextProperty,"remove-global-context-property"),clearGlobalContext:(0,ro.q)(s,rs.Nr.globalContext,rs.QQ.clearContext,"clear-global-context"),setUser:(0,ro.q)(s,rs.Nr.userContext,rs.QQ.setContext,"set-user"),getUser:(0,ro.q)(s,rs.Nr.userContext,rs.QQ.getContext,"get-user"),setUserProperty:(0,ro.q)(s,rs.Nr.userContext,rs.QQ.setContextProperty,"set-user-property"),removeUserProperty:(0,ro.q)(s,rs.Nr.userContext,rs.QQ.removeContextProperty,"remove-user-property"),clearUser:(0,ro.q)(s,rs.Nr.userContext,rs.QQ.clearContext,"clear-user"),setAccount:(0,ro.q)(s,rs.Nr.accountContext,rs.QQ.setContext,"set-account"),getAccount:(0,ro.q)(s,rs.Nr.accountContext,rs.QQ.getContext,"get-account"),setAccountProperty:(0,ro.q)(s,rs.Nr.accountContext,rs.QQ.setContextProperty,"set-account-property"),removeAccountProperty:(0,ro.q)(s,rs.Nr.accountContext,rs.QQ.removeContextProperty,"remove-account-property"),clearAccount:(0,ro.q)(s,rs.Nr.accountContext,rs.QQ.clearContext,"clear-account"),startView:t=>{let e=(0,rh.uC)("view");(0,D.um)(()=>{let n="object"==typeof t?t:{name:t};o.startView({...n,name:rg(n.name,"view name"),service:rg(n.service,"view service"),version:rg(n.version,"view version"),handlingStack:e}),(0,I.Q6)({feature:"start-view"})})},stopSession:(0,D.dm)(()=>{o.stopSession(),(0,I.Q6)({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,D.dm)((t,e)=>{o.addFeatureFlagEvaluation((0,eA.a)(t),(0,eA.a)(e)),(0,I.Q6)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,D.dm)(()=>t.getSessionReplayLink()),startSessionReplayRecording:(0,D.dm)(e=>{t.start(e),(0,I.Q6)({feature:"start-session-replay-recording",force:e?.force})}),stopSessionReplayRecording:(0,D.dm)(()=>t.stop()),addDurationVital:(t,e)=>{let n=(0,rh.uC)("vital");(0,D.um)(()=>{(0,I.Q6)({feature:"add-duration-vital"}),o.addDurationVital({id:(0,k.lk)(),name:(0,eA.a)(t),type:p.DURATION,startClocks:(0,C.jR)(e.startTime),duration:e.duration,context:(0,eA.a)(e?.context),description:(0,eA.a)(e?.description),handlingStack:n})})},startDurationVital:(t,e)=>{let n=(0,rh.uC)("vital");(0,D.um)(()=>{(0,I.Q6)({feature:"start-duration-vital"}),o.startDurationVital((0,eA.a)(t),{vitalKey:e?.vitalKey,context:(0,eA.a)(e?.context),description:(0,eA.a)(e?.description),handlingStack:n})})},stopDurationVital:(0,D.dm)((t,e)=>{(0,I.Q6)({feature:"stop-duration-vital"}),o.stopDurationVital((0,eA.a)(t),{vitalKey:e?.vitalKey,context:(0,eA.a)(e?.context),description:(0,eA.a)(e?.description)})}),startOperation:a,succeedOperation:l,failOperation:u,startFeatureOperation:a,succeedFeatureOperation:l,failFeatureOperation:u,DEFAULT_TRACKED_RESOURCE_HEADERS:Z});return c}function rg(t,e){if(void 0!==t)return"string"!=typeof t?void O.V.warn(`Invalid ${e} provided (expected a string, got ${typeof t}). Ignoring.`):(0,eA.a)(t)}function ry(t,{session:e,viewContext:n,errorType:r}){let i=e?e.id:"no-session-id",o=[];return void 0!==r&&o.push(`error-type=${r}`),n&&(o.push(`seed=${n.id}`),o.push(`from=${n.startClocks.timeStamp}`)),`${function(t){let e=t.site,n=t.subdomain||function(t){switch(t.site){case tg.NW:case tg.dV:return"app";case tg.Bb:return"dd";default:return}}(t);return`https://${n?`${n}.`:""}${e}`}(t)}/rum/replay/sessions/${i}?${o.join("&")}`}var rv=n(37164),rb=n(70204);function rw(t,e,n,r){let i=(0,rv.sA)([(0,L.ns)(t,"profile")],t=>{e.notify(15,{error:{message:t,source:nt.gf.AGENT,startClocks:(0,C.M8)()}}),(0,I.A2)("Error reported to customer",{"error.message":t})}),o=n(r);return{async send({event:t,...e}){let n=new FormData,r=(0,rb.s)(t);if(!r)throw Error("Failed to serialize event");n.append("event",new Blob([r],{type:"application/json"}),"event.json");let s=r.length;for(let[t,r]of(0,ef.WP)(e)){let e=(0,rb.s)(r);if(!e)throw Error("Failed to serialize attachment");let i=await function(t,e){return new Promise(n=>{t.write(e),t.finish(t=>{n(t)})})}(o,e);s+=i.outputBytesCount,n.append(t,new Blob([i.output]),t)}i.send({data:n,bytesCount:s})}}}},5009:(t,e,n)=>{function r(t,e){for(let n=t.length-1;n>=0;n-=1){let r=t[n];if(e(r,n,t))return r}}function i(t){return Object.values(t)}function o(t){return Object.entries(t)}n.d(e,{KQ:()=>i,Uk:()=>r,WP:()=>o})},5076:(t,e,n)=>{let r;n.d(e,{Xf:()=>R,H0:()=>k,Rr:()=>D,A2:()=>M,VJ:()=>N,Gk:()=>L,Q6:()=>V,a5:()=>I});var i=n(96976),o=n(30257),s=n(99520),a=n(52654),l=n(52909),u=n(92072),c=n(70204),d=n(45507),f=n(83675),h=n(28423),p=n(11823),m=n(60094),g=n(53408);let y={LOG:"log",CONFIGURATION:"configuration",USAGE:"usage"};var v=n(26464),b=n(31240),w=n(91451),_=n(32121),S=n(1336),E=n(4454),x=n(73208),C=n(8828);function A(t){return 0!==t&&100*Math.random()<=t}let T=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],k=function(t){return t.LOGS="browser-logs-sdk",t.RUM="browser-rum-sdk",t}({}),R=function(t){return t.CUSTOMER_DATA_METRIC_NAME="Customer data measures",t.REMOTE_CONFIGURATION_METRIC_NAME="remote configuration metrics",t.RECORDER_INIT_METRICS_TELEMETRY_NAME="Recorder init metrics",t.SEGMENT_METRICS_TELEMETRY_NAME="Segment network request metrics",t.SESSION_MANAGER_INIT_METRICS_TELEMETRY_NAME="Session manager init metrics",t}({}),P=[v.R8,v.KG];function O(){return r||(r=new i.dX(100)),r}function I(t,e,n,r){let o=new i.cP,{enabled:l,metricsEnabled:u}=function(t,e,n,r,i,o=1,a=15){let l={},u=!P.includes(e.site)&&A(e.telemetrySampleRate),d={[y.LOG]:u,[y.CONFIGURATION]:u&&A(e.telemetryConfigurationSampleRate),[y.USAGE]:u&&A(e.telemetryUsageSampleRate),metric:u&&A(o)},m={is_local_file:_.J.location?.protocol==="file:",is_worker:_.W},g=O();return g.subscribe(({rawEvent:o,metricName:u})=>
1{if(u&&!d.metric||!d[o.type])return;let g=u||o.status||o.type,y=l[g];if(y||(y=l[g]=new Set),y.size>=a)return;let v=(0,c.s)(o);if(y.has(v))return;let b=n.trigger({startTime:(0,x.M8)().relative});if(b===C.ug)return;let _=function(t,n,r,o){let a={type:"telemetry",date:(0,x.M8)().timeStamp,service:n,version:"7.13.0",source:"browser",_dd:{format_version:2},telemetry:(0,w.kg)(r,{runtime_env:o,connectivity:(0,p.q)(),sdk_setup:"npm",sdk_name:i}),ddtags:(0,f.m5)(e).join(","),experimental_features:Array.from((0,s.q7)())};return(0,w.kg)(a,t)}(b,t,o,m);r.notify(_),(0,h.b)("telemetry",_),y.add(v)}),g.unbuffer(),(0,E.Bd)(N),{enabled:u,metricsEnabled:d.metric}}(t,e,n,o,r),{stop:d}=function(t,e){let n=[];if((0,m.d0)()){let t=(0,m.Y9)(),r=e.subscribe(e=>t.send("internal_telemetry",e));n.push(r.unsubscribe)}else{let r=[(0,b.ns)(t,"rum")],i=(0,b.np)(t,"rum");i&&t.site===v.Bb&&r.push(i);let o=(0,g.X)({endpoints:r,reportError:a.l});n.push(o.stop);let s=e.subscribe(o.add);n.push(s.unsubscribe)}return{stop:()=>n.forEach(t=>t())}}(e,o);return{stop:d,enabled:l,metricsEnabled:u}}function M(t,e){(0,S.N)()&&o.V.debug("[Telemetry]",t,e),O().notify({rawEvent:{type:y.LOG,message:t,status:"debug",...e}})}function N(t,e){O().notify({rawEvent:{type:y.LOG,status:"error",...function(t){if((0,d.b)(t)){var e;let n=(0,l.T)(t);return{error:{kind:n.name,stack:(0,u.Yn)(((e=n).stack=e.stack.filter(t=>!t.url||T.some(e=>t.url.startsWith(e))),e))},message:n.message}}return{error:{stack:d.e},message:`Uncaught ${(0,c.s)(t)}`}}(t),...e}})}function D(t){O().notify({rawEvent:{type:y.CONFIGURATION,configuration:t}})}function L(t,e){O().notify({rawEvent:{type:y.LOG,message:t,status:"debug",...e},metricName:t})}function V(t){O().notify({rawEvent:{type:y.USAGE,usage:t}})}},5917:(t,e,n)=>{n.d(e,{Kp:()=>u,_T:()=>l,y5:()=>a});var r=n(96976),i=n(36867),o=n(5009),s=n(32121);let a={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function l(){return new r.cP(t=>{let e=s.J.window;if(!e)return;let{stop:n}=(0,i.lQ)(e,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:a.HIDDEN}):"freeze"===e.type&&t.notify({reason:a.FROZEN})},{capture:!0}),r=(0,i.q2)(e,"beforeunload",()=>{t.notify({reason:a.UNLOADING})}).stop;return()=>{n(),r()}})}function u(t){return(0,o.KQ)(a).includes(t)}},6500:(t,e,n)=>{n.d(e,{l:()=>r});let r=t=>t},7051:(t,e,n)=>{n.d(e,{d:()=>r});let r=t=>{throw Error("Didn't expect to get here")}},7170:(t,e,n)=>{n.d(e,{u:()=>i});var r=n(33182);function i(t){return(0,r.S)(t)?t.get():t}},7727:(t,e,n)=>{n.d(e,{$X:()=>h,As:()=>f,MF:()=>d});var r=n(52909),i=n(92072),o=n(70204),s=n(69828),a=n(45507),l=n(49607),u=n(44666);function c({originalError:t,stackTrace:e,source:n,useFallbackStack:r=!0,nonErrorPrefix:l}){var u,c,d,f;let h=(0,a.b)(t);return{source:n,type:e?e.name:void 0,message:(u=e,c=h,d=l,f=t,u?.message&&u?.name?u.message:c?"Empty message":d?`${d} ${(0,o.s)((0,s.a)(f))}`:(0,o.s)((0,s.a)(f))),stack:e?(0,i.Yn)(e):r?a.e:void 0}}function d(t){return t?.stack.map(t=>t.url).filter(t=>!!t)??[]}function f({stackTrace:t,originalError:e,handlingStack:n,componentStack:i,startClocks:o,nonErrorPrefix:s,useFallbackStack:f=!0,source:h,handling:p}){var m;let g=t??((0,a.b)(e)?(0,r.T)(e):void 0),y=(0,a.b)(e)?function(t){let e=[],n=t.cause;for(;null!=n&&e.length<10;){let t=(0,a.b)(n),i=t?(0,r.T)(n):void 0;e.push({originalError:n,stackTrace:i}),n=t?n.cause:void 0}return e}(e):[],v=c({originalError:e,stackTrace:g,source:h,useFallbackStack:f,nonErrorPrefix:s}),b=y.map(({originalError:t,stackTrace:e})=>c({originalError:t,stackTrace:e,source:h,useFallbackStack:!1}));return{startClocks:o,handling:p,handlingStack:n,componentStack:i,originalError:e,...v,debugIds:function(t,e){let n=e.flatMap(({stackTrace:t})=>d(t));return(0,l.J)(d(t).concat(n))}(g,y),causes:b.length?b:void 0,fingerprint:(m=e,(0,a.b)(m)&&"dd_fingerprint"in m?String(m.dd_fingerprint):void 0),context:function(t){if((0,u.OE)(t))return t.dd_context}(e)}}function h(t){return/@ (.+)/.exec(t)?.[1]}},8453:(t,e,n)=>{n.d(e,{v:()=>i});var r=n(16105);class i{constructor(){this.subscriptions=[]}add(t){return(0,r.Kq)(this.subscriptions,t),()=>(0,r.Ai)(this.subscriptions,t)}notify(t,e,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},8828:(t,e,n)=>{n.d(e,{$O:()=>s,ab:()=>i,ug:()=>o});var r=n(91451);function i(){let t=[];return{register:e=>(t.push(e),{unregister(){t=t.filter(t=>t!==e)}}),trigger(e){let n=[];for(let r of t){let t=r(e);if("DISCARDED"===t)return o;
1"SKIPPED"!==t&&n.push(t)}return(0,r.kg)(...n)}}}let o="DISCARDED",s="SKIPPED"},9150:(t,e,n)=>{n.d(e,{a:()=>r});let r=t=>Math.round(1e5*t)/1e5},9763:(t,e,n)=>{n.d(e,{Y:()=>i});let r=["BALAY","BOSCH","COLDEX","CONSTRUCTA","GAGGENAU","JUNKER","NEFF","PITSOS","PROFILO","SIEMENS","SOLITAIRE","THERMADOR","CROSS","HOME_CONNECT"],i=t=>o(t)?t:"BRAND_FALLBACK",o=t=>r.includes(t)},10503:(t,e,n)=>{n.d(e,{Ck:()=>a});var r=n(80865),i=n(36867),o=n(91451);let s=[];function a(t,e,n){var a,l;if("undefined"==typeof window||"undefined"==typeof localStorage)return;let u=(a=e,l=n,`_dd_c_${a}_${l}`);s.push((0,i.q2)(window,"storage",({key:e})=>{u===e&&t.setContext(d())})),t.changeObservable.subscribe(function(){localStorage.setItem(u,JSON.stringify(t.getContext()))});let c=(0,o.kg)(d(),t.getContext());function d(){let t=localStorage.getItem(u);return t?(0,r.XU)(t)??{}:{}}(0,r.RI)(c)||t.setContext(c)}},10883:(t,e,n)=>{function r(t){let e=[{},{}];return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function i(t,e,n,i){if("function"==typeof e){let[o,s]=r(i);e=e(void 0!==n?n:t.custom,o,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[o,s]=r(i);e=e(void 0!==n?n:t.custom,o,s)}return e}n.d(e,{a:()=>i})},11370:(t,e,n)=>{n.d(e,{H:()=>o,N:()=>s});var r=n(52654),i=n(36867);function o(t,e){return document.readyState===t||"complete"===document.readyState?(e(),{stop:r.l}):(0,i.q2)(window,"complete"===t?"load":"DOMContentLoaded",e,{once:!0})}function s(t){return new Promise(e=>{o(t,e)})}},11795:(t,e,n)=>{n.d(e,{F:()=>o,s:()=>s});var r=n(51219),i=n(10503);function o(t,e,n,r){let o=s();return e.storeContextsAcrossPages&&(0,i.Ck)(o,n,2),t.register(()=>{let t=o.getContext();return r?{context:t}:t}),o}function s(){return(0,r.D)("global context")}},11823:(t,e,n)=>{n.d(e,{q:()=>i});var r=n(32121);function i(){let{navigator:t}=r.J;return{status:t?.onLine?"connected":"not_connected",interfaces:t?.connection?.type?[t.connection.type]:void 0,effective_type:t?.connection?.effectiveType}}},11845:(t,e,n)=>{let r;n.d(e,{C:()=>p,i:()=>g});var i=n(96976),o=n(88695),s=n(91885),a=n(52654),l=n(23512);async function u(t){let e=t.getReader(),n=[];for(;;){let t=await e.read();if(t.done)break;n.push(t.value)}return e.cancel().catch(a.l),(0,l.wh)(n)}var c=n(32121),d=n(90275),f=n(4454),h=n(73208);let p=function(t){return t[t.IGNORE=0]="IGNORE",t[t.COLLECT=1]="COLLECT",t}({}),m=[];function g({responseBodyAction:t}={}){return t&&m.push(t),r||(r=new i.cP(t=>{if(!c.J.fetch)return;let{stop:e}=(0,o.H7)(c.J,"fetch",e=>(function({parameters:t,onPostCall:e,handlingStack:n},r){let[i,o]=t,s=o?.method;void 0===s&&i instanceof Request&&(s=i.method);let a=void 0!==s?String(s).toUpperCase():"GET",l=i instanceof Request?i.url:(0,d.l2)(String(i)),u={state:"start",init:o,input:i,method:a,startClocks:(0,h.M8)(),url:l,handlingStack:n,isAbortedOnStart:i instanceof Request&&i.signal?.aborted||o?.signal?.aborted||!1};r.notify(u),t[0]=u.input,t[1]=u.init,e(t=>{y(r,t,u).catch(f.Dx)})})(e,t),{computeHandlingStack:!0});return e})),r}async function y(t,e,n){let r;try{r=await e}catch(e){t.notify({...n,state:"resolve",status:0,isAborted:n.init?.signal?.aborted||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,error:e});return}if(n.response=r,n.status=r.status,n.responseType=r.type,n.isAborted=!1,1===m.reduce((t,e)=>Math.max(t,e(n)),0)){let t=(0,s.i)(r);if(t?.body)try{let e=await u(t.body);n.responseBody=new TextDecoder().decode(e)}catch{}}t.notify({...n,state:"resolve"})}},12020:(t,e,n)=>{n.d(e,{l:()=>o});var r=n(9763),i=n(7051);let o=t=>{let e=(0,r.Y)(t);switch(e){case"BOSCH":return"bosch";case"SIEMENS":return"siemens";case"GAGGENAU":return"gaggenau";case"NEFF":return"neff";case"CONSTRUCTA":return"constructa";case"JUNKER":return"junker";case"CROSS":return"crossBrand";case"BALAY":case"COLDEX":case"HOME_CONNECT":case"PITSOS":case"PROFILO":case"SOLITAIRE":case"THERMADOR":case"BRAND_FALLBACK":return"base";default:return(0,i.d)(e)}}},12205:(t,e,n)=>{n.d(e,{w:()=>r});let r=t=>e=>e.test(t)},13454:(t,e,n)=>{n.d(e,{$:()=>i});var r=n(30257);function i(t,e){e.silentMultipleInit||r.V.error(`${t} is already initialized.`)}},13981:(t,e,n)=>{n.d(e,{S:()=>s});var r=n(44666),i=n(91451),o=n(91359);function s(t,e,n){return t&&"object"==typeof t?a(e,t,n):void n.error("Configuration must be an object")}function a(t,e,n){let r={};for(let[s,a]of Object.entries(t)){let t=e[s],l=a.multiple?function(t,e,n){if(null==e)return;if("enum"===t.type&&t.allowAll&&"all"===e)return c(t.values).slice();let r=Array.isArray(e)?e:[e],i=[];for(let e of r){let r=u(t,e,n);if(void 0===r){if(!1!==t.strict)return}else i.push(r)}if(!1!==t.strict||0!==i.length||!(r.length>0))return i}(a,t,n):u(a,t,n);if(void 0===l){if(null!=t&&""!==t){if(n.error(function(t,e){switch(e.type){case"string":return`"${t}" must be a non-empty string`;case"number":if(void 0!==e.min&&void 0!==e.max)return`"${t}" must be a number between ${e.min} and ${e.max}`;if(void 0!==e.min)return`"${t}" must be a number greater than or equal to ${e.min}`;if(void 0!==e.max)return`"${t}" must be a number less than or equal to ${e.max}`;return`"${t}" must be a finite number`;case"percentage":return`"${t}" must be a number between 0 and 100`;case"boolean":return`"${t}" must be a boolean`;case"site":return`"${t}" must be a valid Datadog site. ${o.xG} ${o.fH}/getting_started/site/.`;case"match-option":return`"${t}" must be a string, RegExp, or function`;case"enum":return`"${t}" must be one of: "${c(e.values).join('", "')}"`;case"union":return`"${t}" does not match any expected type`;case"schema":return`"${t}" is not a valid object`;case"function":return`"${t}" must be a function`}}(s,a)),a.required||!1!==a.strict)return}else if(a.required)return void n.error(`"${s}" is required`);r[s]="default"in a?(0,i.Go)(a.default):void 0}else r[s]=l}return r}let l=/(datadog|ddog|datad0g|dd0g)/;function u(t,e,n){if("schema"===t.type){if("object"!=typeof e||null===e)return;
1return a(t.schema,e,n)}if("union"===t.type){if(null==e)return;for(let r of t.variants){let t=u(r,e,n);if(void 0!==t)return t}return}if(null!=e)switch(t.type){case"function":return"function"==typeof e?e:void 0;case"string":return"string"==typeof e&&e.length>0?e:void 0;case"number":return"number"==typeof e&&Number.isFinite(e)&&(void 0===t.min||e>=t.min)&&(void 0===t.max||e<=t.max)?e:void 0;case"percentage":return(0,r.fp)(e)?e:void 0;case"boolean":return"boolean"==typeof e?e:!1===t.strict?!!e:void 0;case"site":if("string"!=typeof e||!l.test(e))return;return e;case"match-option":return(0,r.Vl)(e)?e:void 0;case"enum":return"string"==typeof e&&c(t.values).includes(e)?e:void 0}}function c(t){return Array.isArray(t)?t:Object.values(t)}},13999:(t,e)=>{var n,r,i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),e.ConsentAcceptance=e.CONSENT_MANAGER_VENDOR_MAP=e.CMP_Vendor=e.Vendor=e.CONSENT_MANAGER_PURPOSE_MAP=e.CMP_Purpose=e.Purpose=void 0,function(t){t.FUNCTIONAL="FUNCTIONAL",t.MARKETING="MARKETING",t.WEB_ANALYTICS="WEB_ANALYTICS",t.PERSISTENT_WEB_ANALYTICS="PERSISTENT_WEB_ANALYTICS",t.THIRD_PARTY="THIRD_PARTY",t.PERFORMANCE="PERFORMANCE"}(n||(e.Purpose=n={})),function(t){t.FUNCTIONAL="c51",t.MARKETING="c52",t.WEB_ANALYTICS="c54",t.PERSISTENT_WEB_ANALYTICS="c1",t.THIRD_PARTY="c55",t.PERFORMANCE="c2"}(r||(e.CMP_Purpose=r={})),e.CONSENT_MANAGER_PURPOSE_MAP={[n.FUNCTIONAL]:r.FUNCTIONAL,[n.MARKETING]:r.MARKETING,[n.WEB_ANALYTICS]:r.WEB_ANALYTICS,[n.PERSISTENT_WEB_ANALYTICS]:r.PERSISTENT_WEB_ANALYTICS,[n.THIRD_PARTY]:r.THIRD_PARTY,[n.PERFORMANCE]:r.PERFORMANCE},function(t){t.YOUTUBE="YOUTUBE",t.DATADOG="DATADOG",t.KORE_AI="KORE_AI",t.EMPATHY="EMPATHY"}(i||(e.Vendor=i={})),function(t){t.YOUTUBE="s30",t.DATADOG="s2621",t.KORE_AI="c63435",t.EMPATHY="c66109"}(o||(e.CMP_Vendor=o={})),e.CONSENT_MANAGER_VENDOR_MAP={[i.YOUTUBE]:o.YOUTUBE,[i.DATADOG]:o.DATADOG,[i.KORE_AI]:o.KORE_AI,[i.EMPATHY]:o.EMPATHY},function(t){t[t.REJECT=0]="REJECT",t[t.ACCEPT=1]="ACCEPT"}(s||(e.ConsentAcceptance=s={}))},14211:(t,e,n)=>{n.d(e,{N:()=>i});var r=n(23512);function i(){let t="",e=0;return{isAsync:!1,get isEmpty(){return!t},write(n,i){let o=(0,r.WW)(n);e+=o,t+=n,i&&i(o)},finish(t){t(this.finishSync())},finishSync(){let n={output:t,outputBytesCount:e,rawBytesCount:e,pendingData:""};return t="",e=0,n},estimateEncodedBytesCount:t=>t.length}}},15075:(t,e,n)=>{n.d(e,{$:()=>r});let r=t=>/^0[^.\s]+$/u.test(t)},16105:(t,e,n)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{Ai:()=>i,Kq:()=>r})},16155:(t,e,n)=>{let r;n.d(e,{ox:()=>q,Ql:()=>H});var i=n(96976),o=n(28491),s=n(30257),a=n(52157),l=n(62304),u=n(52654),c=n(36867),d=n(5076),f=n(31714),h=n(21990),p=n(80865),m=n(5009),g=n(25608);let y=/^([a-zA-Z]+)=([a-z0-9-]+)$/;var v=n(73208);function b(t){return t.created?Number(t.created):void 0}function w(t){let e=t.expire&&Number(t.expire),n=b(t);if(e&&n)return Math.min(e,n+g.AQ)}function _(t,e){let n={isExpired:"1"};return e.trackAnonymousUser&&t?.anonymousId&&(n.anonymousId=t?.anonymousId),n}function S(t){return(0,p.RI)(t)}function E(t){return void 0!==t.isExpired||!function(t){let e=w(t);return!!e&&(0,v.x3)()<e}(t)}function x(t){t.expire=String((0,v.x3)()+g.HB)}function C(t){return(0,m.WP)(t).map(([t,e])=>"anonymousId"===t?`aid=${e}`:`${t}=${e}`).join("&")}function A(t){let e={};return t&&(-1!==t.indexOf("&")||y.test(t))&&t.split("&").forEach(t=>{let n=y.exec(t);if(null!==n){let[,t,r]=n;"aid"===t?e.anonymousId=r:e[t]=r}}),e}
1function T(t,e){return S(t)?(e.trackAnonymousUser&&(t.anonymousId=(0,o.lk)()),_(t,e)):t}function k(t,e){if(S(t))return t;let n=t;return E(t)&&(n=_(t,e)),n.id||(n.id=(0,o.lk)(),n.created=String((0,v.x3)())),e.trackAnonymousUser&&!n.anonymousId&&(n.anonymousId=(0,o.lk)()),delete n.isExpired,x(n),n}var R=n(49442),P=n(81496);let O="_dd_s_v2",I="_dd_s";var M=n(4454);async function N(t){let e=(0,R.fJ)(t);if(e){if((0,P.gU)()&&await (0,P.z$)(P.i1,e))return{type:g.Q_.COOKIE,cookieOptions:e,cookieApi:1};if(await (0,P.z$)(P.yA,e))return{type:g.Q_.COOKIE,cookieOptions:e,cookieApi:0}}}function D(t,e){return 1===t?(0,P.i1)(O,e):(0,P.yA)(O,e)}function L(t,e){let n;for(let r of t.slice().reverse())if((n=A(r)).c===e)break;return delete n?.c,n??{}}function V(t){return((t.domain?t.domain.split(".").length-1:0)<<1|!!t.crossSite).toString(16)}var B=n(32121);let U="_DD_SESSION";async function $(t){var e;for(let n of void 0!==(e=t.sessionPersistence)?e:B.W?[g.Q_.MEMORY]:[g.Q_.COOKIE]){let e=await function(t,e){switch(t){case g.Q_.COOKIE:return N(e);case g.Q_.LOCAL_STORAGE:try{let t=(0,o.lk)(),e=`_dd_test_${t}`;localStorage.setItem(e,t);let n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:g.Q_.LOCAL_STORAGE}:void 0}catch{return}case g.Q_.MEMORY:return{type:g.Q_.MEMORY};default:s.V.error(`Invalid session persistence '${String(t)}'`);return}}(n,t);if(void 0!==e)return e}}function F(t,e){switch(t.type){case g.Q_.COOKIE:return function(t,e){let{cookieOptions:n,cookieApi:o}=t,s=new i.cP,l=!!e.trackAnonymousUser,u=V(n),c=(0,a.B)(D)(o,n),d=!0;function f(t){return c.getAllAndSet(e=>{var r,i;let o=L(e,u);return d&&(0,p.RI)(o)&&(o=L((0,R.OR)(I),u)),d=!1,{value:(r=t(o),i=n,C((0,p.RI)(r)?r:{...r,c:V(i)})),expireDelay:l?g._P:g.AQ}})}return c.observable.subscribe(()=>{c.getAll().then(t=>{s.notify(L(t,u))}).catch(t=>(0,M.Dx)(Error(`Error while reading session cookies on change: ${t}`)))}),{async setSessionState(t,e){"undefined"!=typeof navigator&&navigator.locks?await navigator.locks.request(O,()=>f(t)).catch(t=>{var e;if(!((e=t)instanceof Error&&("AbortError"===e.name||e.message.includes("no longer runnable"))))throw t}):(r=(r??Promise.resolve()).then(()=>f(t)),await r)},sessionObservable:s}}(t,e);case g.Q_.LOCAL_STORAGE:let n=new i.cP(t=>(0,c.q2)(window,"storage",e=>{"_dd_s_v2"===e.key&&e.storageArea===localStorage&&t.notify(A(e.newValue))}).stop),o=!0;return{async setSessionState(t,e){let r=A(localStorage.getItem(O));o&&S(r)&&(r=A(localStorage.getItem(I))),o=!1;let i=t(r);localStorage.setItem(O,C(i)),await Promise.resolve(),n.notify(i)},sessionObservable:n};case g.Q_.MEMORY:let s=B.J;s._DD_SESSION||(s[U]={});let l=s[U],u=new i.cP,d=l.onChange;return l.onChange=t=>{d?.(t),u.notify(t)},{async setSessionState(t,e){let n=l.state??{},r=(0,p.yG)(t(n));l.state=r,await Promise.resolve(),l.onChange?.(r)},sessionObservable:u}}}let j=v.iW,G=12*v.MA,W=[];async function q(t,e){let n,r=(0,v.$S)(),o=new i.cP,p=new i.cP,m=await (0,a.B)($)(t);if(!m)return void s.V.warn("No storage available for session. We will not send any data.");let g=(0,a.B)(F)(m,t),y=(0,f.q)({maxEntries:1e3});W.push(()=>y.stop());let C=!1,{throttled:A,cancel:R}=(0,u.n)(()=>{C=!1,g.setSessionState(e=>k(e,t),"expandOrRenewOnActivity").catch(M.Dx)},v.OY);W.push(R),W.push(()=>(0,l.DJ)(n));let P=!1;W.push(()=>{P=!0});let O=await I().catch(t=>(0,M.Dx)(Error(`Error while resolving initial session state: ${t}`)));if(O&&!P){for(;!e.isGranted();)if(L(),await new Promise(t=>e.onGrantedOnce(t)),P||!(O=await I().catch(M.Dx))||P)return;return y.add(V(O),(0,v.Oc)().relative),N(O),function(){let t=g.sessionObservable.subscribe(t=>{N(t),D(t)});W.push(()=>t.unsubscribe())}(),e.observable.subscribe(()=>{e.isGranted()?(C=!1,g.setSessionState(e=>k(e,t),"expandOrRenewOnConsent").catch(M.Dx)):L()}),B.W||(function(t){let{stop:e}=(0,c.lQ)(window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});W.push(e)}(()=>{e.isGranted()&&A()}),function(t){let e=()=>{"visible"===document.visibilityState&&t()},{stop:n}=(0,c.q2)(document,"visibilitychange",e);W.push(n);let r=(0,l.yb)(e,j);W.push(()=>{(0,l.vG)(r)})}(()=>{C||g.setSessionState(t=>(E(t)||S(t)||!t.id||x(t),t),"expandOnVisibility").catch(M.Dx)}),function(t){let{stop:e}=(0,c.q2)(window,"resume",t,{capture:!0});W.push(e)}(()=>{g.setSessionState(e=>T(e,t),"initializeOnResume").catch(M.Dx)})),(0,d.Gk)("Session manager init metrics",{metrics:{duration:(0,v.vk)(r,(0,v.$S)())}}),{findSession:(t,e)=>y.find(t,e),findTrackedSession:(e,{returnInactive:n=!1,maxAge:r=G}={})=>{let i=y.find(e,{returnInactive:n});if(i&&"invalid"!==i.id&&(0,h.$5)(i.id,t.sessionSampleRate)&&!((0,v.x3)()-i.createdAt>r))return i},renewObservable:o,expireObservable:p,expire:L,updateSessionState:t=>{g.setSessionState(e=>({...e,...t}),"updateState").catch(M.Dx)}}}async function I(){let e={};return await g.setSessionState(n=>e=k(T(n,t),t),"initialize"),e}function N(r){(0,l.DJ)(n);let i=w(r);if(i){let r=i-(0,v.x3)();n=(0,l.wg)(()=>{g.setSessionState(n=>E(n)?(e.isGranted()||delete n.anonymousId,_(n,t)):n,"expireOnTimeout").catch(M.Dx)},r)}}function D(t){let e=y.find(),n=e?.id!==void 0,r=void 0!==t.id,i=n&&r&&e.id!==t.id;if(n&&(!r||i)&&(C=!0,p.notify(),y.closeActive((0,v.$S)())),r&&(!n||i)){if(C)return;y.add(V(t),(0,v.$S)()),o.notify()}else n&&r&&!i&&(e.isReplayForced=!!t.forcedReplay)}function L(){R();let n=_(y.find(),t);e.isGranted()||delete n.anonymousId,D(n),g.setSessionState(n=>
1(e.isGranted()||delete n.anonymousId,_(n,t)),"expire").catch(M.Dx)}function V(t){let e=b(t)??(0,v.nx)();return t.id?{id:t.id,isReplayForced:!!t.forcedReplay,anonymousId:t.anonymousId,createdAt:e}:{id:"invalid",isReplayForced:!1,anonymousId:void 0,createdAt:e}}}function H(){let t={id:(0,o.lk)(),isReplayForced:!1,anonymousId:void 0,createdAt:(0,v.nx)()};return Promise.resolve({findSession:()=>t,findTrackedSession:()=>t,renewObservable:new i.cP,expireObservable:new i.cP,expire:u.l,updateSessionState:e=>{t={...t,...e}}})}},16336:(t,e,n)=>{n.d(e,{o:()=>x,t:()=>C});var r=n(96976),i=n(52157),o=n(5076),s=n(52654),a=n(52909),l=n(88695),u=n(36867),c=n(45507),d=n(63574),f=n(7727),h=n(32121),p=n(73208);function m(){return new r.cP(t=>{var e,n;let r=(e,n)=>{let r=(0,f.As)({stackTrace:n,originalError:e,startClocks:(0,p.M8)(),nonErrorPrefix:"Uncaught",source:d.gf.SOURCE,handling:"unhandled"});t.notify(r)},{stop:i}=(e=r,(0,l.H7)(h.J,"onerror",({parameters:[t,n,r,i,o]})=>{let s;(0,c.b)(o)||(s=(0,a.h)(t,n,r,i)),e(o??t,s)})),{stop:o}=(n=r,(0,u.BX)(h.J.window,"unhandledrejection")?(0,l.H7)(h.J,"onunhandledrejection",({parameters:[t]})=>{n(t.reason||"Empty reason")}):{stop:s.l});return()=>{i(),o()}})}var g=n(49023),y=n(11845),v=n(92072),b=n(70204),w=n(69828),_=n(91359),S=n(4454);let E={},x=function(t){return t[t.RUNTIME_ERROR=0]="RUNTIME_ERROR",t[t.FETCH=1]="FETCH",t[t.XHR=2]="XHR",t[t.CONSOLE=3]="CONSOLE",t}({});function C(){let t=new r.dX(500,t=>{(0,o.A2)("Early data collection dropped data on unbuffer",{count:t})}),e=[];function n(n,r){e.push(r.subscribe(e=>{t.notify({type:n,data:e})}))}return n(0,(0,i.B)(m)()),n(1,(0,y.i)()),n(2,(0,g.G)()),n(3,function(t){let e=t.map(t=>{var e;return E[t]||(E[t]=(e=t,new r.cP(t=>{let n=_.JZ[e];return _.JZ[e]=(...r)=>{n.apply(console,r);let i=(0,v.uC)("console error");(0,S.um)(()=>{t.notify(function(t,e,n){let r=t.map(t=>{var e;return"string"==typeof(e=t)?(0,w.a)(e):(0,c.b)(e)?(0,v.NR)((0,a.T)(e)):(0,b.s)((0,w.a)(e),void 0,2)}).join(" ");if(e===_.bP.error){let i=t.find(c.b),o=(0,f.As)({originalError:i,handlingStack:n,startClocks:(0,p.M8)(),source:d.gf.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return o.message=r,{api:e,message:r,handlingStack:n,error:o}}return{api:e,message:r,error:void 0,handlingStack:n}}(r,e,i))})},()=>{_.JZ[e]=n}}))),E[t]});return(0,r.Fx)(...e)}(Object.values(_.bP))),{observable:t,stop:()=>e.forEach(t=>t.unsubscribe())}}},19461:(t,e,n)=>{n.d(e,{w:()=>r});function r(t){return"string"==typeof t||Array.isArray(t)}},20091:(t,e,n)=>{n.d(e,{T:()=>s,n:()=>a});var r=n(37822),i=n(92419),o=n(12205);let s=[r.ai,i.px,i.KN,i.uj,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>s.find((0,o.w)(t))},21391:(t,e,n)=>{n.d(e,{j4:()=>i,pG:()=>s,rm:()=>l});let r=t=>e=>"string"==typeof e&&e.startsWith(t),i=r("--"),o=r("var(--"),s=t=>!!o(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},21990:(t,e,n)=>{function r(t,e){return t*e/100}n.d(e,{$5:()=>o,it:()=>r});let i=new Map;function o(t,e){if(100===e)return!0;if(0===e)return!1;let n=i.get(e);if(t===n?.sessionId)return n.decision;let r=function(t,e){let n=1n<<64n;return Number(0xf6b75ab2bc471c7n*t%n)<=e/100*Number(n)}(BigInt(`0x${t.split("-")[4]}`),e);return i.set(e,{sessionId:t,decision:r}),r}},22039:(t,e,n)=>{n.d(e,{OQ:()=>u});var r=n(8453),i=n(45242),o=n(27424),s=n(73934);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=o.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.v);let n=this.events[t].add(e);return"change"===t?()=>{n(),s.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}
1getVelocity(){let t=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},23512:(t,e,n)=>{n.d(e,{WW:()=>s,_m:()=>r,iH:()=>i,wh:()=>a});let r=1024,i=1048576,o=/[^\u0000-\u007F]/;function s(t){return o.test(t)?new TextEncoder().encode(t).length:t.length}function a(t){if(1===t.length)return t[0];let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}},23863:(t,e,n)=>{n.d(e,{i:()=>r});let r=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},23919:(t,e,n)=>{n.d(e,{$:()=>o,q:()=>s});var r=n(24531);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(t,e)=>n=>!!("string"==typeof n&&i.test(n)&&n.startsWith(t)||e&&null!=n&&Object.prototype.hasOwnProperty.call(n,e)),s=(t,e,n)=>i=>{if("string"!=typeof i)return i;let[o,s,a,l]=i.match(r.S);return{[t]:parseFloat(o),[e]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},24531:(t,e,n)=>{n.d(e,{S:()=>r});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},24888:(t,e,n)=>{n.d(e,{V:()=>c,f:()=>f});var r=n(55389);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=n(24531),s=n(9150);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function c(t){let e=t.toString(),n=[],i={color:[],number:[],var:[]},o=[],s=0,c=e.replace(u,t=>(r.y.test(t)?(i.color.push(s),o.push(l),n.push(r.y.parse(t))):t.startsWith("var(")?(i.var.push(s),o.push("var"),n.push(t)):(i.number.push(s),o.push(a),n.push(parseFloat(t))),++s,"${}")).split("${}");return{values:n,split:c,indexes:i,types:o}}function d({split:t,types:e}){let n=t.length;return i=>{let o="";for(let u=0;u<n;u++)if(o+=t[u],void 0!==i[u]){let t=e[u];t===a?o+=(0,s.a)(i[u]):t===l?o+=r.y.transform(i[u]):o+=i[u]}return o}}let f={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(o.S)?.length||0)+(t.match(i)?.length||0)>0},parse:function(t){return c(t).values},createTransformer:function(t){return d(c(t))},getAnimatableNone:function(t){let e=c(t);return d(e)(e.values.map((t,n)=>{var i;let o;return i=e.split[n],"number"==typeof t?i?.trim().endsWith("/")?t:0:"number"==typeof(o=t)?0:r.y.test(o)?r.y.getAnimatableNone(o):o}))}}},25608:(t,e,n)=>{n.d(e,{AQ:()=>i,HB:()=>o,Q_:()=>a,_P:()=>s});var r=n(73208);let i=4*r.MA,o=15*r.iW,s=r.$H,a={COOKIE:"cookie",MEMORY:"memory",LOCAL_STORAGE:"local-storage"}},26464:(t,e,n)=>{n.d(e,{Bb:()=>r,KG:()=>a,NW:()=>i,R8:()=>s,dV:()=>o,wo:()=>u});let r="datad0g.com",i="datadoghq.com",o="datadoghq.eu",s="ddog-gov.com",a="us2.ddog-gov.com",l=["ddsource","dd-api-key","dd-request-id"];function u(t){return l.every(e=>t.includes(e))}},26767:(t,e,n)=>{function r(t,e,n){let r=n.getHandler(),i=Array.isArray(r)?r:[r];return o[t]>=o[n.getLevel()]&&i.includes(e)}n.d(e,{yf:()=>tg});let i={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},o={[i.ok]:0,[i.debug]:1,[i.info]:2,[i.notice]:4,[i.warn]:5,[i.error]:6,[i.critical]:7,[i.alert]:8,[i.emerg]:9};function s(t,{includeMessage:e=!1}={}){return{stack:t.stack,kind:t.type,message:e?t.message:void 0,causes:t.causes,fingerprint:t.fingerprint,handling:t.handling}}var a=n(91451),l=n(51219),u=n(69828),c=n(7727),d=n(63574),f=n(92072),h=n(83675),p=n(4454),m=n(73208);let g={console:"console",http:"http"},y=Object.keys(i);var v=class{constructor(t,e,n=g.http,r=i.debug,o={}){this.handleLogStrategy=t,this.handlerType=n,this.level=r,this.contextManager=(0,l.D)("logger"),this.tags=[],this.contextManager.setContext(o),e&&this.contextManager.setContextProperty("logger",{name:e})}logImplementation(t,e,n=i.info,r,o){(0,p.um)(()=>{let i,l,f=(0,u.a)(e);if(null!=r){let t=(0,c.As)({originalError:r,nonErrorPrefix:d.O7.PROVIDED,source:d.gf.LOGGER,handling:d.aC.HANDLED,startClocks:(0,m.M8)()});l=t.debugIds,i=(0,a.kg)({error:s(t,{includeMessage:!0})},t.context,f)}else i=f;
1this.handleLogStrategy({message:(0,u.a)(t),context:i,status:n,...l?{debugIds:l}:{}},this,o)})}log(t,e,n=i.info,o){let s;r(n,g.http,this)&&(s=(0,f.uC)("log")),this.logImplementation(t,e,n,o,s)}setContext(t){this.contextManager.setContext(t)}getContext(){return this.contextManager.getContext()}setContextProperty(t,e){this.contextManager.setContextProperty(t,e)}removeContextProperty(t){this.contextManager.removeContextProperty(t)}clearContext(){this.contextManager.clearContext()}addTag(t,e){this.tags.push((0,h.NQ)(t,e))}removeTagsWithKey(t){let e=(0,h.iP)(t);this.tags=this.tags.filter(t=>t!==e&&!t.startsWith(`${e}:`))}getTags(){return this.tags.slice()}setHandler(t){this.handlerType=t}getHandler(){return this.handlerType}setLevel(t){this.level=t}getLevel(){return this.level}};function b(t){return function(e,n,i){let o;r(t,g.http,this)&&(o=(0,f.uC)("log")),this.logImplementation(e,n,t,i,o)}}v.prototype.ok=b(i.ok),v.prototype.debug=b(i.debug),v.prototype.info=b(i.info),v.prototype.notice=b(i.notice),v.prototype.warn=b(i.warn),v.prototype.error=b(i.error),v.prototype.critical=b(i.critical),v.prototype.alert=b(i.alert),v.prototype.emerg=b(i.emerg);var w=n(32121);function _(){return w.W?{}:{view:{referrer:document.referrer,url:window.location.href}}}function S(t,e,n){if(t)for(let r of t){let t=r[e];t&&t(n)}}let E=n(85154).D;var x=n(58013),C=n(8828),A=n(91359),T=n(16336);let k={[A.bP.log]:i.info,[A.bP.debug]:i.debug,[A.bP.info]:i.info,[A.bP.warn]:i.warn,[A.bP.error]:i.error};var R=n(73814),P=n(23512),O=n(52654),I=n(11845),M=n(40641),N=n(91885),D=n(52909),L=n(49607),V=n(28491),B=n(26464);let U=32*P._m,$={[i.ok]:A.bP.debug,[i.debug]:A.bP.debug,[i.info]:A.bP.info,[i.notice]:A.bP.info,[i.warn]:A.bP.warn,[i.error]:A.bP.error,[i.critical]:A.bP.error,[i.alert]:A.bP.error,[i.emerg]:A.bP.error};var F=n(53408),j=n(31240),G=n(60094),W=n(5076),q=n(85741),H=n(28423),z=n(78891),K=n(51515),X=n(11795),Y=n(63087);let Q="logs";function J(t,e,n,o,l){var u,p,v,b;let _=new E,S=[];_.subscribe(1,t=>(0,H.b)("logs",t));let P=t=>{_.notify(0,{rawLogsEvent:{message:t,date:(0,m.nx)(),origin:d.gf.AGENT,status:i.error}}),(0,W.A2)("Error reported to customer",{"error.message":t})},{assembleEventDefaults:J}=l;J.register(({startTime:n})=>{let r=e.findTrackedSession(n);return e.findTrackedSession(n,{returnInactive:!0,maxAge:1/0})?{service:t.service,session_id:r?r.id:void 0,session:r?{id:r.id}:void 0}:C.ug});let Z=(0,z.B)(J,t,Q),tt=(0,K.$)(J,t,e,Q),te=(0,X.F)(J,t,Q,!1),tn=w.J;function tr(t){let e=function(t,e){if(e?.getInternalContext)return e.getInternalContext(t)}(t,(0,q.ao)()?tn.DD_RUM_SYNTHETICS:tn.DD_RUM);if(e)return e}l.assembleEventDefaults.register(({startTime:t})=>{let e=tr(t);return e||C.$O}),l.assembleTelemetry.register(({startTime:t})=>{let e=tr(t);return e?{application:{id:e.application_id},view:{id:e.view?.id},action:{id:e.user_action?.id}}:C.$O}),(0,Y.j)(J),function(t,e,n){if(!t.forwardErrorsToLogs)return O.l;function r(t){var e;return!(0,B.wo)(t.url)&&!t.isAborted&&(0===(e=t).status&&"opaque"!==e.responseType||(0,N.G)(t.status))}function o(t,n){var o;if(!r(n))return;let s="error"in n&&n.error?(0,D.T)(n.error):void 0,a=s?(0,f.Yn)(s):n.responseBody||"Failed to load",l=s?(0,L.J)((0,c.MF)(s)):void 0,u={handlingStack:n.handlingStack};e.notify(0,{rawLogsEvent:{message:`${(o=t,M.Y.XHR===o?"XHR":"Fetch")} error ${n.method} ${n.url}`,date:n.startClocks.timeStamp,error:{stack:(0,V._R)(a,U,"..."),handling:void 0},_dd:{debug_ids:l},http:{method:n.method,status_code:n.status,url:n.url},status:i.error,origin:d.gf.NETWORK},domainContext:u})}(0,I.i)({responseBodyAction:t=>r(t)?I.C.COLLECT:I.C.IGNORE}),n.subscribe(({data:t,type:e})=>{e===T.o.FETCH&&"resolve"===t.state?o(M.Y.FETCH,t):e===T.o.XHR&&"complete"===t.state&&o(M.Y.XHR,t)})}(t,_,o),function(t,e,n){if(!t.forwardErrorsToLogs)return O.l;n.subscribe(t=>{if(t.type===T.o.RUNTIME_ERROR){let n=t.data;e.notify(0,{rawLogsEvent:(0,a.kg)({message:n.message,date:n.startClocks.timeStamp,error:s(n),_dd:{debug_ids:n.debugIds},origin:d.gf.SOURCE,status:i.error},n.context)})}})}(t,_,o),u=t,p=_,o.subscribe(({data:t,type:e})=>
1{if(e!==T.o.CONSOLE||!u.forwardConsoleLogs.includes(t.api))return;let n={rawLogsEvent:(0,a.kg)({date:(0,m.nx)(),message:t.message,origin:d.gf.CONSOLE,error:t.error&&s(t.error),_dd:t.error&&{debug_ids:t.error.debugIds},status:k[t.api]},t.error?.context),domainContext:{handlingStack:t.handlingStack}};p.notify(0,n)}),o.unbuffer(),v=t,b=_,(0,R.u)(v.forwardReports).subscribe(t=>{let e,n=t.message,r="deprecation"===t.originalError.type?i.warn:i.error;r===i.error?e=s(t):t.stack&&(n+=` Found in ${(0,c.$X)(t.stack)}`),b.notify(0,{rawLogsEvent:{date:(0,m.nx)(),message:n,origin:d.gf.REPORT,error:e,_dd:{debug_ids:t.debugIds},status:r}})});let{handleLog:ti}={handleLog:function(t,e,n,i,o){let s=(0,a.kg)(e.getContext(),t.context);if(r(t.status,g.console,e)&&function({status:t,message:e},n){A.Z9[$[t]].call(A.JZ,e,n)}(t,s),r(t.status,g.http,e)){let r={rawLogsEvent:(0,a.kg)({date:o||(0,m.nx)(),message:t.message,status:t.status,origin:d.gf.LOGGER,_dd:{debug_ids:t.debugIds}},s),savedCommonContext:i,ddtags:e.getTags()};n&&(r.domainContext={handlingStack:n}),_.notify(0,r)}}},to=y.concat(["custom"]),ts={};if(to.forEach(t=>{ts[t]=(0,x.$)(t,P,void 0)}),_.subscribe(0,({rawLogsEvent:e,savedCommonContext:r,domainContext:i,ddtags:o=[]})=>{let s=(0,m.d6)(e.date),u=r||n(),c={startTime:s,rawLogsEvent:e,domainContext:i},f=l.assembleEventDefaults.trigger(c);if(f===C.ug)return;let p=l.assembleEvent.trigger(c);if(p===C.ug)return;let g=(0,h.m5)(t),y=(0,a.kg)({view:u.view},f,e,p,{ddtags:g.concat(o).join(",")});t.beforeSend?.(y,i)===!1||y.origin!==d.gf.AGENT&&(ts[y.status]??ts.custom).isLimitReached()||_.notify(1,y)}),(0,G.d0)()){let t=(0,G.Y9)();_.subscribe(1,e=>{t.send("log",e)})}else{let{stop:n}=function(t,e,n,r){let i=[(0,j.ns)(t,"logs")],o=(0,j.np)(t,"logs");o&&i.push(o);let s=(0,F.X)({endpoints:i,reportError:n});return r.expireObservable.subscribe(()=>s.forceFlush("session_expire")),e.subscribe(1,t=>{s.add(t)}),s}(t,_,P,e);S.push(()=>n())}return{handleLog:ti,getInternalContext:({get:t=>{let n=e.findTrackedSession(t);if(n)return{session_id:n.id}}}).get,accountContext:Z,globalContext:te,userContext:tt,stop:()=>{S.forEach(t=>t())}}}var Z=n(47931),tt=n(30257),te=n(93938),tn=n(13981);let tr={...Z.hF,forwardErrorsToLogs:{type:"boolean",default:!0,strict:!1},forwardConsoleLogs:{type:"enum",values:A.bP,multiple:!0,allowAll:!0,default:[]},forwardReports:{type:"enum",values:R.V,multiple:!0,allowAll:!0,default:[]},plugins:{type:"schema",multiple:!0,strict:!1,default:[],schema:{name:{type:"string",required:!0},getConfigurationTelemetry:{type:"function",strict:!1,signature:void 0},onInit:{type:"function",strict:!1,signature:void 0},onLogsStart:{type:"function",strict:!1,signature:void 0}}}};var ti=n(96976),to=n(47647),ts=n(99644),ta=n(99520),tl=n(36867),tu=n(13454),tc=n(38615),td=n(52157),tf=n(16155),th=n(68921),tp=n(88569),tm=n(30702);let tg=function(t={}){let e=(0,tp.D)(),n=(0,T.t)().observable,r=function(t,e,n,r){let i,o,s,a=new ti.dX(500,t=>{(0,W.A2)("preStartLogs buffer data lost",{count:t})}),l=(0,X.s)();(0,to.P)(l,ts.Nr.globalContext,a);let u=(0,z.K)();(0,to.P)(u,ts.Nr.accountContext,a);let c=(0,K.Y)();(0,to.P)(c,ts.Nr.userContext,a);let d={assembleEventDefaults:(0,C.ab)(),assembleTelemetry:(0,C.ab)(),assembleEvent:(0,C.ab)()},f=e.observable.subscribe(h);function h(){if(!o||!i||!s)return;f.unsubscribe();let t=n(o,s,d);a.subscribe(e=>e(t)),a.unbuffer()}return{init(t,n,a){if(!t)return void tt.V.error("Missing configuration");if((0,ta.Aq)(t.enableExperimentalFeatures),(0,tl.fK)(t.allowUntrustedEvents),(0,G.d0)()&&(t={...t,clientToken:"empty"}),i=t,o)return void(0,tu.$)("DD_LOGS",t);S(t.plugins,"onInit",{initConfiguration:t,publicApi:n,registerAssembleEventHook:d.assembleEvent.register});let l=function(t){let e=(0,tn.S)(t,tr,tt.V);if(e)return{...e,beforeSend:e.beforeSend?(0,te.y)(e.beforeSend,"beforeSend threw an error:"):void 0}}(t);l&&(0,tc.tG)(l,a??"")&&(o=l,e.tryToInit(l.trackingConsent),e.onGrantedOnce(()=>{function n(){return e.isGranted()?C.$O:C.ug}d.assembleEventDefaults.register(n),d.assembleTelemetry.register(n),(0,td.B)(W.a5)(W.H0.LOGS,l,d.assembleTelemetry,r),((0,G.d0)()?(0,tf.Ql)():(0,td.B)(tf.ox)(l,e)).then(e=>{e&&(s=e,(0,th.l)(d.assembleTelemetry,s),(0,W.Rr)(function(t){let e=(0,Z.hO)(t);return{forward_errors_to_logs:t.forwardErrorsToLogs,forward_console_logs:t.forwardConsoleLogs,forward_reports:t.forwardReports,plugins:t.plugins?.map(t=>({name:t.name,...t.getConfigurationTelemetry?.()})),...e}}(t)),h())}).catch(p.Dx)}))},get initConfiguration(){return i},globalContext:l,accountContext:u,userContext:c,getInternalContext:O.l,handleLog(e,n,r,i=t(),o=(0,m.nx)()){a.notify(t=>t.handleLog(e,n,r,i,o))}}}(_,e,(t,e,i)=>{var o,s;let a=(0,td.B)(J)(t,e,_,n,i);return o=r,s=a,r={...o,init:t=>{(0,tu.$)("DD_LOGS",t)},getInternalContext:s.getInternalContext,globalContext:s.globalContext,userContext:s.userContext,accountContext:s.accountContext},S(t.plugins,"onLogsStart",{handleLog:a.handleLog}),a},t.sdkName),i=()=>r,o={},s=new v((...t)=>r.handleLog(...t)),l=(0,tm.m)({logger:s,init:t=>{let e=Error().stack;(0,p.um)(()=>r.init(t,l,e))},setTrackingConsent:(0,p.dm)(t=>{e.update(t),(0,W.Q6)({feature:"set-tracking-consent",tracking_consent:t})}),getGlobalContext:(0,to.q)(i,ts.Nr.globalContext,ts.QQ.getContext),setGlobalContext:(0,to.q)(i,ts.Nr.globalContext,ts.QQ.setContext),setGlobalContextProperty:(0,to.q)(i,ts.Nr.globalContext,ts.QQ.setContextProperty),removeGlobalContextProperty:(0,to.q)(i,ts.Nr.globalContext,ts.QQ.removeContextProperty),clearGlobalContext:(0,to.q)(i,ts.Nr.globalContext,ts.QQ.clearContext),createLogger:(0,p.dm)((t,e={})=>(o[t]=new v((...t)=>r.handleLog(...t),(0,u.a)(t),e.handler,e.level,(0,u.a)(e.context)),o[t])),getLogger:(0,p.dm)(t=>o[t]),getInitConfiguration:(0,p.dm)(()=>(0,a.Go)(r.initConfiguration)),getInternalContext:(0,p.dm)(t=>r.getInternalContext(t)),setUser:(0,to.q)(i,ts.Nr.userContext,ts.QQ.setContext),getUser:(0,to.q)(i,ts.Nr.userContext,ts.QQ.getContext),setUserProperty:(0,to.q)(i,ts.Nr.userContext,ts.QQ.setContextProperty),removeUserProperty:(0,to.q)(i,ts.Nr.userContext,ts.QQ.removeContextProperty),clearUser:(0,to.q)(i,ts.Nr.userContext,ts.QQ.clearContext),setAccount:(0,to.q)(i,ts.Nr.accountContext,ts.QQ.setContext),getAccount:(0,to.q)(i,ts.Nr.accountContext,ts.QQ.getContext),setAccountProperty:(0,to.q)(i,ts.Nr.accountContext,ts.QQ.setContextProperty),removeAccountProperty:(0,to.q)(i,ts.Nr.accountContext,ts.QQ.removeContextProperty),clearAccount:(0,to.q)(i,ts.Nr.accountContext,ts.QQ.clearContext)});return l}({sdkName:"logs"});(0,tm.Z)(w.J,"DD_LOGS",tg)},27290:(t,e,n)=>{n.d(e,{X:()=>i,f:()=>r});let r=t=>1e3*t,i=t=>t/1e3},27424:(t,e,n)=>{let r;n.d(e,{k:()=>a});var i=n(40042),o=n(73934);function s(){r=void 0}let a={now:()=>(void 0===r&&a.set(o.uv.isProcessing||i.W.useManualTiming?o.uv.timestamp:performance.now()),r),set:t=>{r=t,queueMicrotask(s)}}},28033:(t,e,n)=>{n.d(e,{O:()=>a,e:()=>s});var r=n(36874),i=n(19461),o=n(52036);function s(t){return(0,r.N)(t.animate)||o._.some(e=>(0,i.w)(t[e]))}function a(t){return!!(s(t)||t.variants)}},28423:(t,e,n)=>{n.d(e,{b:()=>i});var r=n(32121);function i(t,e){let n=r.J.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}},28491:(t,e,n)=>{function r(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,r)}n.d(e,{Dh:()=>s,_R:()=>l,it:()=>a,lk:()=>r,rx:()=>o});let i=/(\S+?)\s*=\s*(.*?)(?:;|$)/g;function o(t,e){for(i.lastIndex=0;;){let n=i.exec(t);if(n){if(n[1]===e)return n[2]}else break}}function s(t){let e=new Map;for(i.lastIndex=0;;){let n=i.exec(t);if(n){let t=n[1],r=n[2];e.has(t)?e.get(t).push(r):e.set(t,[r])}else break}return e}function a(t){let e=new Map;for(i.lastIndex=0;;){let n=i.exec(t);if(n)e.set(n[1],n[2]);else break}return e}function l(t,e,n=""){let r=t.charCodeAt(e-1),i=r>=55296&&r<=56319?e+1:e;return t.length<=i?t:`${t.slice(0,i)}${n}`}},28972:(t,e,n)=>{n.d(e,{X:()=>a});var r=n(71450),i=n(20622),o=n(82855),s=n(4932),a=function(t){var e=t.client,n=t.children,a=(0,s.l)(),l=o.useContext(a),u=o.useMemo(function(){return(0,r.Cl)((0,r.Cl)({},l),{client:e||l.client})},[l,e]);return(0,i.V1)(u.client,71),o.createElement(a.Provider,{value:u},n)}},30257:(t,e,n)=>{n.d(e,{V:()=>i,X:()=>o});var r=n(91359);let i=(0,r.XH)("Datadog Browser SDK:"),o=`${r.fH}/real_user_monitoring/browser/troubleshooting`},30702:(t,e,n)=>{n.d(e,{Z:()=>a,m:()=>s});var r=n(30257),i=n(93938),o=n(1336);function s(t){let e={version:"7.13.0",onReady(t){t()},...t};return Object.defineProperty(e,"_setDebug",{get:()=>o.p,enumerable:!1}),e}function a(t,e,n){let o=t[e];o&&!o.q&&o.version&&r.V.warn("SDK is loaded more than once. This is unsupported and might have unex
1pected behavior."),t[e]=n,o?.q&&o.q.forEach(t=>(0,i.y)(t,"onReady callback threw an error:")())}},31240:(t,e,n)=>{n.d(e,{Hg:()=>l,np:()=>a,ns:()=>s});var r=n(90275),i=n(73208),o=n(26464);function s(t,e,n){return{build:(r,o)=>l({proxy:t.proxy,site:t.site,path:`/api/v2/${e}`,parameters:function({clientToken:t,source:e="browser"},n,r,{retry:o,encoding:s},a=[]){let l=[`ddsource=${e}`,`dd-api-key=${t}`,`dd-evp-origin-version=${encodeURIComponent("7.13.0")}`,"dd-evp-origin=browser",`dd-request-id=${function t(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,t)}()}`].concat(a);return s&&l.push(`dd-evp-encoding=${s}`),"rum"===n&&(l.push(`batch_time=${(0,i.nx)()}`,`_dd.api=${r}`),o&&l.push(`_dd.retry_count=${o.count}`,`_dd.retry_after=${o.lastFailureStatus}`)),l.join("&")}(t,e,r,o,n)}),trackType:e}}function a({replica:t,proxy:e,source:n},r){if(t)return s({clientToken:t.clientToken,proxy:e,source:n,site:o.NW},r,"rum"===r?[`application.id=${t.applicationId}`]:void 0)}function l({proxy:t,site:e=o.NW,path:n,parameters:i="",subdomain:s}){let a=n;if(i&&(a+=`?${i}`),"string"==typeof t){let e=`${(0,r.l2)(t)}?ddforward=${encodeURIComponent(a)}`;return s&&(e+=`&ddforwardSubdomain=${s}`),e}if("function"==typeof t)return t({path:n,parameters:i,subdomain:s});let l=e.split("."),u=l.pop(),c=`browser-intake-${l.join("-")}.${u}`;return s&&(c=`${s}.${c}`),`https://${c}${a}`}},31439:(t,e,n)=>{n.d(e,{B:()=>a,W:()=>s});var r=n(38708);let i={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"},s=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function a(t,{attrX:e,attrY:n,attrScale:a,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...d},f,h,p){if((0,r.O)(t,d,h),f){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:g}=t;for(let t of s)void 0!==m[t]&&(g[t]=m[t],delete m[t]);(g.transform||m.transformOrigin)&&(g.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),g.transform&&(g.transformBox=p?.transformBox??"fill-box",delete m.transformBox),void 0!==e&&(m.x=e),void 0!==n&&(m.y=n),void 0!==a&&(m.scale=a),void 0!==l&&function(t,e,n=1,r=0,s=!0){t.pathLength=1;let a=s?i:o;t[a.offset]=`${-r}`,t[a.array]=`${e} ${n}`}(m,l,u,c,!1)}},31714:(t,e,n)=>{let r;n.d(e,{q:()=>c});var i=n(62304),o=n(71155),s=n(73208);let a=1/0,l=s.iW,u=new Set;function c({expireDelay:t,maxEntries:e}){let n=[],c=()=>{if(!t)return;let e=(0,s.$S)()-t;for(;n.length>0&&n[n.length-1].endTime<e;)n.pop()};return t&&(r||(r=(0,i.yb)(()=>void u.forEach(t=>t()),l)),u.add(c)),{add:function(t,r){let i={value:t,startTime:r,endTime:a,remove:()=>{(0,o.Ai)(n,i)},close:t=>{i.endTime=t}};return e&&n.length>=e&&n.pop(),n.unshift(i),i},find:function(t=a,e={returnInactive:!1}){for(let r of n)if(r.startTime<=t){if(e.returnInactive||t<=r.endTime)return r.value;break}},closeActive:function(t){let e=n[0];e?.endTime===a&&e.close(t)},findAll:function(t=a,e=0){let r=(0,s.Gw)(t,e);return n.filter(e=>e.startTime<=r&&t<=e.endTime).map(t=>t.value)},findAllEntries:function(t=a,e=0){let r=(0,s.Gw)(t,e);return n.filter(e=>e.startTime<=r&&t<=e.endTime)},getEntries:function(t){return n.filter(e=>e.startTime===t)},reset:function(){n=[]},stop:function(){u.delete(c),0===u.size&&r&&((0,i.vG)(r),r=void 0)}}}},31739:(t,e,n)=>{n.d(e,{B:()=>l});var r=n(48895),i=n(37822),o=n(9150),s=n(23919);let a={...i.ai,transform:t=>Math.round((0,r.q)(0,255,t))},l={test:(0,s.$)("rgb","red"),parse:(0,s.q)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(n)+", "+(0,o.a)(i.X4.transform(r))+")"}},32121:(t,e,n)=>{n.d(e,{J:()=>r,W:()=>i});let r=globalThis,i="WorkerGlobalScope"in r},32246:(t,e,n)=>{n.d(e,{I:()=>r});function r(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}},33182:(t,e,n)=>{n.d(e,{S:()=>r});let r=t=>!!(t&&t.getVelocity)},33754:(t,e,n)=>{n.d(e,{K:()=>r});let r=(t,e,n=10)=>{let r="",i=Math.max(Math.round(e/n),2);for(let e=0;e<i;e++)r+=Math.round(1e4*t(e/(i-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`}},33855:(t,e,n)=>{n.d(e,{X:()=>i});let r=t=>null!==t;function i(t,{repeat:e,repeatType:n="loop"},o,s=1){let a=t.filter(r),l=s<0||e&&"loop"!==n&&e%2==1?0:a.length-1;return l&&void 0!==o?o:a[l]}},34324:(t,e,n)=>{n.d(e,{D:()=>r});let r=t=>Array.isArray(t)&&"number"==typeof t[0]},35043:(t,e,n)=>{n.d(e,{x:()=>s});var r=n(33182),i=n(40479),o=n(76066);function s(t,e,n){let s=(0,o.x)(t,e,n);for(let n in t)((0,r.S)(t[n])||(0,r.S)(e[n]))&&(s[-1!==i.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return s}},36619:(t,e,n)=>{n.d(e,{Q:()=>i});let r=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function i(t){if("string"!=typeof t||t.includes("-"));else if(r.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},36795:(t,e,n)=>{n.d(e,{n:()=>r});let r=t=>"string"==typeof t&&"svg"===t.toLowerCase()},36867:(t,e,n)=>{let r;n.d(e,{BX:()=>c,fK:()=>d,gX:()=>a,lQ:()=>u,q2:()=>l});var i=n(89166),o=n(52654),s=n(4454);let a=function(t){return t.BEFORE_UNLOAD="beforeunload",t.CLICK="click",t.DBL_CLICK="dblclick",t.KEY_DOWN="keydown",t.LOAD="load",t.POP_STATE="popstate",t.SCROLL="scroll",t.TOUC
1H_START="touchstart",t.TOUCH_END="touchend",t.TOUCH_MOVE="touchmove",t.VISIBILITY_CHANGE="visibilitychange",t.PAGE_SHOW="pageshow",t.FREEZE="freeze",t.RESUME="resume",t.DOM_CONTENT_LOADED="DOMContentLoaded",t.POINTER_DOWN="pointerdown",t.POINTER_UP="pointerup",t.POINTER_CANCEL="pointercancel",t.HASH_CHANGE="hashchange",t.PAGE_HIDE="pagehide",t.MOUSE_DOWN="mousedown",t.MOUSE_UP="mouseup",t.MOUSE_MOVE="mousemove",t.FOCUS="focus",t.BLUR="blur",t.CONTEXT_MENU="contextmenu",t.RESIZE="resize",t.CHANGE="change",t.INPUT="input",t.PLAY="play",t.PAUSE="pause",t.SECURITY_POLICY_VIOLATION="securitypolicyviolation",t.SELECTION_CHANGE="selectionchange",t.STORAGE="storage",t.UNHANDLED_REJECTION="unhandledrejection",t}({});function l(t,e,n,r){return u(t,[e],n,r)}function u(t,e,n,{once:o,capture:a,passive:l}={}){let c=(0,s.dm)(t=>{(t.isTrusted||t.__ddIsTrusted||!1!==r)&&(o&&p(),n(t))}),d=l?{capture:a,passive:l}:a,f=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,h=(0,i.W)(f,"addEventListener");function p(){let n=(0,i.W)(f,"removeEventListener");e.forEach(e=>n.call(t,e,c,d))}return e.forEach(e=>h.call(t,e,c,d)),{stop:p}}function c(t,e){if(!t)return!1;try{return l(t,e,o.l).stop(),!0}catch{return!1}}function d(t){!0!==r&&(r=t??!1)}},36874:(t,e,n)=>{n.d(e,{N:()=>r});function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},37164:(t,e,n)=>{n.d(e,{AK:()=>v,sA:()=>b});var r=n(96976),i=n(23512),o=n(40790),s=n(62304),a=n(91885),l=n(73208);let u=80*i._m,c=20*i.iH,d=l.iW,f=l.OY;function h(t,e,n,r,i,o){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?p(t,e,n,o,{onSuccess:()=>m(0,e,n,r,i,o),onFailure:()=>{e.queuedPayloads.enqueue(t)||o.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t}),function t(e,n,r,i,o){2===e.transportStatus&&(0,s.wg)(()=>{p(e.queuedPayloads.first(),e,n,o,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=f,m(1,e,n,r,i,o)},onFailure:()=>{e.currentBackoffTime=Math.min(d,2*e.currentBackoffTime),t(e,n,r,i,o)}})},e.currentBackoffTime)}(e,n,r,i,o)}}):e.queuedPayloads.enqueue(t)||o.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t})}function p(t,e,n,r,{onSuccess:i,onFailure:o}){e.bandwidthMonitor.add(t),n(t,n=>{var s;e.bandwidthMonitor.remove(t),"opaque"!==(s=n).type&&(0===s.status&&!navigator.onLine||408===s.status||429===s.status||(0,a.G)(s.status))?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:n.status},r.notify({type:"failure",bandwidth:e.bandwidthMonitor.stats(),payload:t}),o()):(e.transportStatus=0,r.notify({type:"success",bandwidth:e.bandwidthMonitor.stats(),payload:t}),i())})}function m(t,e,n,r,o,s){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(o(`Reached max ${r} events size queued for upload: ${c/i.iH}MiB`),e.queueFullReported=!0);let a=e.queuedPayloads;for(e.queuedPayloads=g();a.size()>0;)h(a.dequeue(),e,n,r,o,s)}function g(){let t=[];return{bytesCount:0,enqueue(e){return!this.isFull()&&(t.push(e),this.bytesCount+=e.bytesCount,!0)},first:()=>t[0],dequeue(){let e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:()=>t.length,isFull(){return this.bytesCount>=c}}}var y=n(4454);let v=16*i._m;function b(t,e,n=v){let i=new r.cP,o={transportStatus:0,currentBackoffTime:f,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=u&&this.ongoingRequestCount<32},add(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:g(),queueFullReported:!1};return{observable:i,send:n=>{for(let r of t)h(n,o,(t,e)=>{_(r,t,e)},r.trackType,e,i)},sendOnExit:e=>{for(let r of t)!function(t,e,n){if(n.bytesCount<e)try{let e=t.build("beacon",n);if(navigator.sendBeacon(e,n.data))return}catch(t){var r;r=t,w||(w=!0,(0,y.Dx)(r))}_(t,n)}(r,n,e)}}}let w=!1;function _(t,e,n){let r=t.build("fetch",e);(0,o.h)(r,{method:"POST",body:e.data,mode:"cors"}).then((0,y.dm)(t=>n?.({status:t.status,type:t.type}))).catch((0,y.dm)(()=>n?.({status:0})))}},37822:(t,e,n)=>{n.d(e,{X4:()=>o,ai:()=>i,hs:()=>s});var r=n(48895);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...i,transform:t=>(0,r.q)(0,1,t)},s={...i,default:1}},37899:(t,e,n)=>{n.d(e,{Ib:()=>f,ry:()=>d,zs:()=>c});let r=t=>180*t/Math.PI,i=t=>s(r(Math.atan2(t[1],t[0]))),o={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:i,rotateZ:i,skewX:t=>r(Math.atan(t[1])),skewY:t=>r(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},s=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>s(r(Math.atan2(t[6],t[5]))),rotateY:t=>s(r(Math.atan2(-t[2],t[0]))),rotateZ:i,rotate:i,skewX:t=>r(Math.atan(t[4])),skewY:t=>r(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function c(t){return+!!t.includes("scale")}function d(t,e){let n,r;if(!t||"none"===t)return c(e);let i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=u,r=i;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=o,r=e}if(!r)return c(e);let s=n[e],a=r[1].split(",").map(h);return"function"==typeof s?s(a):a[s]}let f=(t,e)=>{let{transform:n="none"}=getComputedStyle(t);return d(n,e)};function h(t){return parseFloat(t.trim())}},38197:(t,e,n)=>{n.d(e,{j:()=>s});var r=n(65752);let i={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},o=!1;function s(){return!function(){if(o)return;let t={};for(let e in i)t[e]={isEnabled:t=>i[e].some(e=>!!t[e])};(0,r.lr)(t),o=!0}(),(0,r.vK)()}},38358:(t,e,n)=>{n.d(e,{k:()=>r});let{schedule:r}=(0,n(44300).I)(queueMicrotask,!1)},38615:(t,e,n)=>{n.d(e,{tG:()=>u});var r=n(30257),i=n(73467),o=n(52157);let s=["chrome-extension://","moz-extension://"];function a(t){return s.some(e=>t.includes(e))}var l=n(32121);function u(t,e){let n=(0,o.B)(l.J.location),s=n?n.origin:"",u=t.allowedTrackingOrigins;if(!u)return!function(t,e=""){return!a(t)&&a(e.split("\n").filter(t=>{let e=t.trim();return e.length&&/^at\s+|@/.test(e)})[1]||"")}(s,e)||(r.V.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);let c=(0,i.K)(u,s);return c||r.V.error("SDK initialized on a non-allowed domain."),c}},38708:(t,e,n)=>{n.d(e,{O:()=>u});let r=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var i=n(96868),o=n(40479),s=n(21391);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=o.U.length;function u(t,e,n){let{style:u,vars:c,transformOrigin:d}=t,f=!1,h=!1;for(let t in e){let n=e[t];if(o.f.has(t)){f=!0;continue}if((0,s.j4)(t)){c[t]=n;continue}{let e=r(n,i.W[t]);t.startsWith("origin")?(h=!0,d[t]=e):u[t]=e}}if(!e.transform&&(f||n?u.transform=function(t,e,n){let s="",u=!0;for(let c=0;c<l;c++){let l=o.U[c],d=t[l];if(void 0===d)continue;let f=!0;if("number"==typeof d)f=d===+!!l.startsWith("scale");else{let t=parseFloat(d);f=l.startsWith("scale")?1===t:0===t}if(!f||n){let t=r(d,i.W[l]);if(!f){u=!1;let e=a[l]||l;s+=`${e}(${t}) `}n&&(e[l]=t)}}let c=t.pathRotation;return c&&(u=!1,s+=`rotate(${r(c,i.W.pathRotation)}) `),s=s.trim(),n?s=n(e,u?"":s):u&&(s="none"),s}(e,t.transform,n):u.transform&&(u.transform="none")),h){let{originX:t="50%",originY:e="50%",originZ:n=0}=d;u.transformOrigin=`${t} ${e} ${n}`}}},39361:(t,e,n)=>{n.d(e,{k:()=>r});let r=(t,e,n)=>t+(e-t)*n},39622:(t,e,n)=>{n.d(e,{ge:()=>s,xU:()=>i});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:r(),y:r()}),o=()=>({min:0,max:0}),s=()=>({x:o(),y:o()})},40042:(t,e,n)=>{n.d(e,{W:()=>r});let r={}},40479:(t,e,n)=>{n.d(e,{U:()=>r,f:()=>i});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set([...r,"pathRotation"])},40641:(t,e,n)=>{n.d(e,{Y:()=>i,v:()=>r});let r={DOCUMENT:"document",XHR:"xhr",BEACON:"beacon",FETCH:"fetch",CSS:"css",JS:"js",IMAGE:"image",FONT:"font",MEDIA:"media",WEBSOCKET:"websocket",OTHER:"other"},i={FETCH:r.FETCH,XHR:r.XHR}},40790:(t,e,n)=>{n.d(e,{h:()=>o});var r=n(89166),i=n(32121);function o(t,e){return(0,r.W)(i.J,"fetch")(t,e)}},44300:(t,e,n)=>{n.d(e,{I:()=>o});var r=n(40042);let i=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function o(t,e){let n=!1,o=!0,s={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,l=i.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(s)}let l={schedule:(t,i=!1,s=!1)=>{let a=s&&r?e:n;return i&&o.add(t),a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(s=t,r){i=!0;return}r=!0;let o=e;e=n,n=o,e.forEach(a),e.clear(),r=!1,i&&(i=!1,l.process(t))}};return l}(a),t),{}),{setup:u,read:c,resolveKeyframes:d,preUpdate:f,update:h,preRender:p,render:m,postRender:g}=l,y=()=>{let i=r.W.useManualTiming,a=i?s.timestamp:performance.now();n=!1,i||(s.delta=o?1e3/60:Math.max(Math.min(a-s.timestamp,40),1)),s.timestamp=a,s.isProcessing=!0,u.process(s),c.process(s),d.process(s),f.process(s),h.process(s),p.process(s),m.process(s),g.process(s),s.isProcessing=!1,n&&e&&(o=!1,t(y))};return{schedule:i.reduce((e,r)=>{let i=l[r];return e[r]=(e,r=!1,a=!1)=>(!n&&(n=!0,o=!0,s.isProcessing||t(y)),i.schedule(e,r,a)),e},{}),cancel:t=>{for(let e=0;e<i.length;
1e++)l[i[e]].cancel(t)},state:s,steps:l}}},44666:(t,e,n)=>{function r(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function i(t){return"object"===r(t)}function o(t){return"number"==typeof t&&t>=0&&t<=100}function s(t){return"string"==typeof t||t instanceof RegExp||"function"==typeof t}n.d(e,{OE:()=>i,Pw:()=>r,Vl:()=>s,fp:()=>o})},44807:(t,e,n)=>{n.d(e,{V:()=>a});var r=n(37822),i=n(92419),o=n(9150),s=n(23919);let a={test:(0,s.$)("hsl","hue"),parse:(0,s.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+i.KN.transform((0,o.a)(e))+", "+i.KN.transform((0,o.a)(n))+", "+(0,o.a)(r.X4.transform(s))+")"}},45242:(t,e,n)=>{n.d(e,{f:()=>r});let r=(t,e)=>e?1e3/e*t:0},45311:(t,e,n)=>{let r;function i(t){return u(t).segments_count}function o(t){u(t).segments_count+=1}function s(t){u(t).records_count+=1}function a(t,e){u(t).segments_total_raw_size+=e}function l(t){return r?.get(t)}function u(t){let e;return r||(r=new Map),r.has(t)?e=r.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},r.set(t,e),r.size>1e3&&function(){if(!r)return;let t=r.keys().next().value;t&&r.delete(t)}()),e}n.d(e,{$1:()=>s,H5:()=>o,K_:()=>i,L7:()=>a,lv:()=>l})},45385:(t,e,n)=>{n.d(e,{H:()=>u});var r=n(81666),i=n(92419);function o(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let s={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!i.px.test(t))return t;else t=parseFloat(t);let n=o(t,e.target.x),r=o(t,e.target.y);return`${n}% ${r}%`}};var a=n(24888),l=n(39361);let u={borderRadius:{...s,applyTo:[...r.S]},borderTopLeftRadius:s,borderTopRightRadius:s,borderBottomLeftRadius:s,borderBottomRightRadius:s,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let r=a.f.parse(t);if(r.length>5)return t;let i=a.f.createTransformer(t),o=+("number"!=typeof r[0]),s=n.x.scale*e.x,u=n.y.scale*e.y;r[0+o]/=s,r[1+o]/=u;let c=(0,l.k)(s,u,.5);return"number"==typeof r[2+o]&&(r[2+o]/=c),"number"==typeof r[3+o]&&(r[3+o]/=c),i(r)}}}},45507:(t,e,n)=>{n.d(e,{b:()=>i,e:()=>r});let r="No stack, consider using an instance of Error";function i(t){try{return t instanceof Error||"[object Error]"===Object.prototype.toString.call(t)}catch{return!1}}},46934:(t,e,n)=>{n.d(e,{e:()=>r});function r(t,e,n){e.startsWith("--")?t.style.setProperty(e,n):t.style[e]=n}},47647:(t,e,n)=>{n.d(e,{P:()=>s,q:()=>o});var r=n(5076),i=n(4454);function o(t,e,n,o){return(0,i.dm)((...i)=>(o&&(0,r.Q6)({feature:o}),t()[e][n](...i)))}function s(t,e,n){t.changeObservable.subscribe(()=>{let r=t.getContext();n.notify(t=>t[e].setContext(r))})}},47931:(t,e,n)=>{n.d(e,{WA:()=>o,hF:()=>a,hO:()=>l,uT:()=>s});var r=n(88569),i=n(26464);let o={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},s={ALL:"all",SAMPLED:"sampled"},a={clientToken:{type:"string",required:!0},service:{type:"string"},env:{type:"string"},version:{type:"string"},site:{type:"site",default:i.NW},proxy:{type:"union",variants:[{type:"string"},{type:"function",signature:void 0}]},sessionSampleRate:{type:"percentage",default:100},telemetrySampleRate:{type:"percentage",default:20},telemetryConfigurationSampleRate:{type:"percentage",default:5},telemetryUsageSampleRate:{type:"percentage",default:5},silentMultipleInit:{type:"boolean",default:!1,strict:!1},storeContextsAcrossPages:{type:"boolean",default:!1,strict:!1},trackAnonymousUser:{type:"boolean",default:!0,strict:!1},useSecureSessionCookie:{type:"boolean",default:!1,strict:!1},usePartitionedCrossSiteSessionCookie:{type:"boolean",default:!1,strict:!1},trackSessionAcrossSubdomains:{type:"boolean",default:!1,strict:!1},allowedTrackingOrigins:{type:"match-option",multiple:!0,strict:!1},trackingConsent:{type:"enum",values:r.w,default:r.w.GRANTED},beforeSend:{type:"function",signature:void 0},source:{type:"enum",values:["browser","flutter","unity"],default:"browser",strict:!1},sessionPersistence:{type:"enum",values:["cookie","local-storage","memory"],multiple:!0,strict:!1},replica:{type:"schema",schema:{clientToken:{type:"string",required:!0},applicationId:{type:"string"}}},datacenter:{type:"string"},sdkVersion:{type:"string"},variant:{type:"string"}};function l(t){return{session_sample_rate:t.sessionSampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:t.telemetryUsageSampleRate,use_before_send:!!t.beforeSend,use_partitioned_cross_site_session_cookie:t.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:!!t.proxy,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,track_anonymous_user:t.trackAnonymousUser,session_persistence:Array.isArray(t.sessionPersistence)?t.sessionPersistence[0]:t.sessionPersistence,store_contexts_across_pages:!!t.storeContextsAcrossPages,allow_untrusted_events:!!t.allowUntrustedEvents,tracking_consent:t.trackingConsent,use_allowed_tracking_origins:Array.isArray(t.allowedTrackingOrigins),source:t.source,sdk_version:t.sdkVersion,variant:t.variant}}},48895:(t,e,n)=>{n.d(e,{q:()=>r});let r=(t,e,n)=>n>e?e:n<t?t:n},49023:(t,e,n)=>{let r;n.d(e,{G:()=>d});var i=n(96976),o=n(88695),s=n(36867),a=n(32121),l=n(90275),u=n(73208);let c=new WeakMap;function d(){return r||(r="XMLHttpRequest"in a.J?new i.cP(t=>{let{stop:e}=(0,o.H7)(XMLHttpRequest.prototype,"open",f),{stop:n}=(0,o.H7)(XMLHttpRequest.prototype,"send",e=>{!function({target:t,parameters:[e],handlingStack:n},r){let i=c.get(t);if(!i)return;i.state="start",i.startClocks=(0,u.M8)(),i.isAborted=!1,i.xhr=t,
1i.handlingStack=n,i.requestBody=e;let a=!1,{stop:l}=(0,o.H7)(t,"onreadystatechange",()=>{t.readyState===XMLHttpRequest.DONE&&d()}),d=()=>{f(),l(),a||(a=!0,i.duration=(0,u.vk)(i.startClocks.timeStamp,(0,u.nx)()),i.status=t.status,"string"==typeof t.response&&(i.responseBody=t.response),r.notify({...i,state:"complete"}))},{stop:f}=(0,s.q2)(t,"loadend",d);r.notify(i)}(e,t)},{computeHandlingStack:!0}),{stop:r}=(0,o.H7)(XMLHttpRequest.prototype,"abort",h);return()=>{e(),n(),r()}}):new i.cP),r}function f({target:t,parameters:[e,n]}){c.set(t,{state:"open",method:String(e).toUpperCase(),url:(0,l.l2)(String(n))})}function h({target:t}){let e=c.get(t);e&&(e.isAborted=!0)}},49442:(t,e,n)=>{let r,i;n.d(e,{B9:()=>f,OR:()=>d,Ri:()=>c,TV:()=>u,Yj:()=>h,fJ:()=>p});var o=n(28491),s=n(32121),a=n(90275),l=n(73208);function u(t,e,n=0,r){let i=new Date;i.setTime(i.getTime()+n);let o=`expires=${i.toUTCString()}`,s=r?.crossSite?"none":"strict",a=r?.domain?`;domain=${r.domain}`:"",l=r?.secure?";secure":"",c=r?.partitioned?";partitioned":"";document.cookie=`${t}=${e};${o};path=/;samesite=${s}${a}${l}${c}`}function c(t){let e=(0,o.rx)(document.cookie,t);if(""!==e)return e}function d(t){return(0,o.Dh)(document.cookie).get(t)||[]}function f(t){return r||(r=(0,o.it)(document.cookie)),r.get(t)}function h(t,e){u(t,"",0,e)}function p(t){let e={};if(e.secure=t.useSecureSessionCookie||t.usePartitionedCrossSiteSessionCookie,e.crossSite=t.usePartitionedCrossSiteSessionCookie,e.partitioned=t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains){let t=function(t=s.J.location?.hostname??"",e="undefined"!=typeof document?document.referrer:""){if("undefined"!=typeof document){if(void 0===i){let n=function(t,e){try{return t||(0,a.c$)(e).hostname}catch{}}(t,e);if(n){let t=`dd_site_test_${(0,o.lk)()}`,e=n.split("."),r=e.pop();for(;e.length&&!c(t);)r=`${e.pop()}.${r}`,u(t,"test",l.OY,{domain:r});h(t,{domain:r}),i=r}}return i}}();if(!t)return;e.domain=t}return e}},49607:(t,e,n)=>{n.d(e,{J:()=>c,y:()=>d});var r=n(52909),i=n(5076),o=n(32121);let s=new Map,a=new Set,l=!1;function u(){let t=o.J.window?.DD_SOURCE_CODE_CONTEXT;if(!t)return;let e=!1,n=!1,u=!1;for(let[i,o]of Object.entries(t)){if(e=e||void 0!==o.ddDebugId,n=n||void 0!==o.service,u=u||void 0!==o.version,a.has(i))continue;a.add(i);let t=(0,r.T)({stack:i}).stack[0]?.url;t&&!s.has(t)&&s.set(t,o)}l||(l=!0,(0,i.Q6)({feature:"source-code-context",use_debug_id:e,use_service:n,use_version:u}))}function c(t){u();let e=new Set,n=[];for(let r of t){if(e.has(r))continue;e.add(r);let t=s.get(r)?.ddDebugId;void 0!==t&&n.push({url:r,id:t})}return n.length?n:void 0}function d(t){return u(),s.get(t)}},51219:(t,e,n)=>{n.d(e,{D:()=>c});var r=n(96976),i=n(30257),o=n(69828),s=n(44666),a=n(91451);function l(t,e,n){let r={...t};for(let[t,{required:o,type:s}]of Object.entries(e))"string"!==s||u(r[t])||(r[t]=String(r[t])),o&&u(r[t])&&i.V.warn(`The property ${t} of ${n} is required; context will not be sent to the intake.`);return r}function u(t){return null==t||""===t}function c(t="",{propertiesConfig:e={}}={}){let n={},u=new r.cP,d={getContext:()=>(0,a.Go)(n),setContext:r=>{!function(t){let e="object"===(0,s.Pw)(t);return e||i.V.error("Unsupported context:",t),e}(r)?d.clearContext():n=(0,o.a)(l(r,e,t)),u.notify()},setContextProperty:(r,i)=>{n=(0,o.a)(l({...n,[r]:i},e,t)),u.notify()},removeContextProperty:r=>{delete n[r],l(n,e,t),u.notify()},clearContext:()=>{n={},u.notify()},changeObservable:u};return d}},51515:(t,e,n)=>{n.d(e,{$:()=>a,Y:()=>l});var r=n(80865),i=n(51219),o=n(10503),s=n(8828);function a(t,e,n,i){let a=l();return e.storeContextsAcrossPages&&(0,o.Ck)(a,i,1),t.register(({eventType:t,startTime:i})=>{let o=a.getContext(),l=n.findTrackedSession(i);return(l?.anonymousId&&!o.anonymous_id&&e.trackAnonymousUser&&(o.anonymous_id=l.anonymousId),(0,r.RI)(o))?s.$O:{type:t,usr:o}}),a}function l(){return(0,i.D)("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}},52036:(t,e,n)=>{n.d(e,{U:()=>r,_:()=>i});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...r]},52157:(t,e,n)=>{n.d(e,{B:()=>r});function r(t){return t}},52654:(t,e,n)=>{n.d(e,{l:()=>o,n:()=>i});var r=n(62304);function i(t,e,n){let i,o,s=n?.leading===void 0||n.leading,a=n?.trailing===void 0||n.trailing,l=!1;return{throttled:(...n)=>{if(l){i=n;return}s?t(...n):i=n,l=!0,o=(0,r.wg)(()=>{a&&i&&t(...i),l=!1,i=void 0},e)},cancel:()=>{(0,r.DJ)(o),l=!1,i=void 0}}}function o(){}},52909:(t,e,n)=>{let r;n.d(e,{T:()=>
1o,h:()=>m});var i=n(44666);function o(t){let e=[],n=p(t,"stack"),i=String(t);if(n?.startsWith(i)&&(n=n.slice(i.length)),n&&n.split("\n").forEach(t=>{let n=function(t){let e=l.exec(t);if(!e)return;let n=e[2]?.indexOf("native")===0,r=e[2]?.indexOf("eval")===0,i=u.exec(e[2]);return r&&i&&(e[2]=i[1],e[3]=i[2],e[4]=i[3]),{args:n?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:n?void 0:e[2]}}(t)||function(t){let e=c.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:e[2]}}(t)||function(t){let e=d.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:+e[3],url:e[2]}}(t)||function(t){let e=f.exec(t);if(!e)return;let n=e[3]&&e[3].indexOf(" > eval")>-1,r=h.exec(e[3]);return n&&r&&(e[3]=r[1],e[4]=r[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||"?",line:e[4]?+e[4]:void 0,url:e[3]}}(t);n&&(!n.func&&n.line&&(n.func="?"),e.push(n))}),e.length>0&&function(){if(void 0!==r)return r;class t extends Error{constructor(){super(),this.name="Error"}}let[e,n]=[t,Error].map(t=>new t);return r=y(Object.getPrototypeOf(e))&&n.stack!==e.stack}()&&t instanceof Error){let n=[],r=t;for(;(r=Object.getPrototypeOf(r))&&y(r);){let t=r.constructor?.name||"?";n.push(t)}for(let t=n.length-1;t>=0&&e[0]?.func===n[t];t--)e.shift()}return{message:p(t,"message"),name:p(t,"name"),stack:e}}let s="((?:blob|native|eval|<anonymous>|[a-zA-Z][a-zA-Z0-9+.-]*:\\/\\/|\\w+\\.|\\/).*?)",a="(?::(\\d+))",l=RegExp(`^\\s*at (.*?) ?\\(${s}${a}?${a}?\\)?\\s*$`,"i"),u=RegExp(`\\((\\S*)${a}${a}\\)`),c=RegExp(`^\\s*at\\s*(?:(.*)?(?: @))?\\s*${s}${a}?${a}??\\s*$`,"i"),d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,f=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,h=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function p(t,e){return(0,i.OE)(t)&&"string"==typeof t[e]?t[e]:void 0}function m(t,e,n,r){var i;let o,s;if(void 0===e)return;let{name:a,message:l}=(i=t,"[object String]"===({}).toString.call(i)&&([,o,s]=g.exec(i)),{name:o,message:s});return{name:a,message:l,stack:[{url:e,column:r,line:n}]}}let g=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function y(t){return String(t.constructor).startsWith("class ")}},53408:(t,e,n)=>{n.d(e,{X:()=>b});var r=n(30257),i=n(52157),o=n(23512),s=n(70204),a=n(37164),l=n(5009),u=n(5917),c=n(14211),d=n(96976),f=n(62304),h=n(32121);let p=30*n(73208).OY,m=h.W?1:50;function g({pageMayExitObservable:t}){let e,n,r=new d.cP,i=t.subscribe(t=>{e=t.reason;try{r.notify(t.reason)}finally{e=void 0}u(t.reason)}),o=new d.cP(()=>()=>{i.unsubscribe()}),s=0,l=0;function u(t){if(0===l)return;let e=l,r=s;l=0,s=0,(0,f.DJ)(n),n=void 0,o.notify({reason:t,messagesCount:e,bytesCount:r})}return{flushObservable:o,prepareUrgentFlushObservable:r,forceFlush:u,get messagesCount(){return l},notifyBeforeAddMessage(t){s+t>=a.AK&&u(e??"bytes_limit"),l+=1,s+=t,void 0===n&&(n=(0,f.wg)(()=>{u("duration_limit")},p))},notifyAfterAddMessage(t=0){s+=t,l>=m?u(e??"messages_limit"):s>=a.AK&&u(e??"bytes_limit")}}}var y=n(91359);let v=256*o._m;function b({encoder:t=(0,c.N)(),endpoints:e,reportError:n}){let d=(0,i.B)(a.sA)(e,n),f=(0,i.B)(u._T)(),h=(0,i.B)(g)({pageMayExitObservable:f}),p={},m=h.flushObservable.subscribe(e=>(function(e){let n=(0,l.KQ)(p).join("\n");p={};let r=(0,u.Kp)(e.reason),i=r?d.sendOnExit:d.send;if(r&&t.isAsync){let e=t.finishSync();e.outputBytesCount&&i(w(e));let r=[e.pendingData,n].filter(Boolean).join("\n");r&&i({data:r,bytesCount:(0,o.WW)(r)})}else n&&t.write(t.isEmpty?n:` 2${n}`),t.finish(t=>{i(w(t))})})(e));function b(e,n){let i=(0,s.s)(e),a=t.estimateEncodedBytesCount(i);if(a>=v)return void r.V.warn(`Discarded a message whose size was bigger than the maximum allowed size ${v/o._m}KiB. ${y.xG} ${r.X}/#technical-limitations`);if(void 0!==n){let e;void 0!==p[n]?e=a-t.estimateEncodedBytesCount(p[n]):(h.notifyBeforeAddMessage(a),e=0),p[n]=i,h.notifyAfterAddMessage(e)}else h.notifyBeforeAddMessage(a),t.write(t.isEmpty?i:` 3${i}`,t=>{h.notifyAfterAddMessage(t-a)})}return{get isEmpty(){return 0===h.messagesCount},add:b,upsert:b,prepareUrgentFlushObservable:h.prepareUrgentFlushObservable,forceFlush:h.forceFlush,flushObservable:h.flushObservable,stop:m.unsubscribe}}function w(t){return{data:"string"==typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),bytesCount:t.outputBytesCount,encoding:t.encoding}}},55389:(t,e,n)=>{n.d(e,{y:()=>s});var r=n(68894),i=n(44807),o=n(31739);let s={test:t=>o.B.test(t)||r.u.test(t)||i.V.test(t),parse:t=>o.B.test(t)?o.B.parse(t):i.V.test(t)?i.V.parse(t):r.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?o.B.transform(t):i.V.transform(t),getAnimatableNone:t=>{let e=s.parse(t);return e.alpha=0,s.transform(e)}}},57201:(t,e,n)=>
3{Object.defineProperty(e,"__esModule",{value:!0}),e.ConsentAcceptance=e.Purpose=e.Vendor=e.openPrivacyPage=e.openImprintPage=e.onConsentManagerLoaded=e.setVendorConsent=e.addConsentDecisionListener=e.addVendorConsentListener=e.addPurposeConsentListener=void 0;var r=n(85319);Object.defineProperty(e,"addPurposeConsentListener",{enumerable:!0,get:function(){return r.addPurposeConsentListener}}),Object.defineProperty(e,"addVendorConsentListener",{enumerable:!0,get:function(){return r.addVendorConsentListener}}),Object.defineProperty(e,"addConsentDecisionListener",{enumerable:!0,get:function(){return r.addConsentDecisionListener}}),Object.defineProperty(e,"setVendorConsent",{enumerable:!0,get:function(){return r.setVendorConsent}}),Object.defineProperty(e,"onConsentManagerLoaded",{enumerable:!0,get:function(){return r.onConsentManagerLoaded}}),Object.defineProperty(e,"openImprintPage",{enumerable:!0,get:function(){return r.openImprintPage}}),Object.defineProperty(e,"openPrivacyPage",{enumerable:!0,get:function(){return r.openPrivacyPage}});var i=n(13999);Object.defineProperty(e,"Vendor",{enumerable:!0,get:function(){return i.Vendor}}),Object.defineProperty(e,"Purpose",{enumerable:!0,get:function(){return i.Purpose}}),Object.defineProperty(e,"ConsentAcceptance",{enumerable:!0,get:function(){return i.ConsentAcceptance}})},58013:(t,e,n)=>{n.d(e,{$:()=>o});var r=n(62304),i=n(73208);function o(t,e,n=3e3){let s=0,a=!1;return{isLimitReached(){if(0===s&&(0,r.wg)(()=>{s=0},i.iW),(s+=1)<=n||a)return a=!1,!1;if(s===n+1){a=!0;try{e(`Reached max number of ${t}s by minute: ${n}`)}finally{a=!1}
3}return!0}}}},59686:(t,e,n)=>{n.d(e,{t:()=>r});let r=(0,n(12115).createContext)(null)},60094:(t,e,n)=>{n.d(e,{Ww:()=>a,Y9:()=>s,d0:()=>l,oc:()=>o});var r=n(30257),i=n(32121);let o=function(t){return t.RECORDS="records",t.PROFILES="profiles",t}({});function s(){let t=i.J.DatadogEventBridge;if(t)return{getCapabilities:()=>JSON.parse(t.getCapabilities?.()||"[]"),getPrivacyLevel:()=>t.getPrivacyLevel?.(),getIsTraceSampled:()=>JSON.parse(t.getIsTraceSampled?.()||"null"),getAllowedWebViewHosts:()=>JSON.parse(t.getAllowedWebViewHosts()),send(e,n,r){t.send(JSON.stringify({eventType:e,event:n,view:r?{id:r}:void 0}))}}}function a(t){let e=s();return!!e&&e.getCapabilities().includes(t)}function l(t=i.J.location?.hostname){return s()?.getAllowedWebViewHosts().some(e=>(function(t,e){if(!e.includes("*"))return t===e||t.endsWith(`.${e}`);let n=e.split("*");if(2!==n.length)return r.V.error(`Invalid WebView host pattern "${e}": only one wildcard (*) is supported.`),!1;let[i,o]=n;return t.length>i.length+o.length&&t.startsWith(i)&&t.endsWith(o)})(t,e))??!1}},60178:(t,e,n)=>{n.d(e,{p:()=>r});function r(t){let e;return()=>(void 0===e&&(e=t()),e)}},60296:(t,e,n)=>{n.d(e,{L:()=>r});let r=(0,n(12115).createContext)({})},62304:(t,e,n)=>{n.d(e,{DJ:()=>a,vG:()=>u,wg:()=>s,yb:()=>l});var r=n(89166),i=n(32121),o=n(4454);function s(t,e){return(0,r.W)(i.J,"setTimeout")((0,o.dm)(t),e)}function a(t){(0,r.W)(i.J,"clearTimeout")(t)}function l(t,e){return(0,r.W)(i.J,"setInterval")((0,o.dm)(t),e)}function u(t){(0,r.W)(i.J,"clearInterval")(t)}},63087:(t,e,n)=>{let r;n.d(e,{j:()=>s});var i=n(28491);let o="_dd_tab_id";function s(t){let e=(r||(r=function(){try{let t=sessionStorage.getItem(o);if(t)return t;let e=(0,i.lk)();return sessionStorage.setItem(o,e),e}catch{return}}()??(0,i.lk)()),r);t.register(()=>({tab:{id:e}}))}},63574:(t,e,n)=>{n.d(e,{O7:()=>i,aC:()=>o,gf:()=>r});let r={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"},i=function(t){return t.UNCAUGHT="Uncaught",t.PROVIDED="Provided",t}({}),o=function(t){return t.HANDLED="handled",t.UNHANDLED="unhandled",t}({})},63946:(t,e,n)=>{n.d(e,{h:()=>f,q:()=>d});var r=n(78617),i=n(73934);let o=new Set,s=!1,a=!1,l=!1;function u(){if(a){let t=Array.from(o).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{let e=(0,r.W9)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,s=!1,o.forEach(t=>t.complete(l)),o.clear()}function c(){o.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function d(){l=!0,c(),u(),l=!1}class f{constructor(t,e,n,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(o.add(this),s||(s=!0,i.Gt.read(c),i.Gt.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:r}=this;if(null===t[0]){let i=r?.get(),o=t[t.length-1];if(void 0!==i)t[0]=i;else if(n&&e){let r=n.readValue(e,o);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=o),r&&void 0===i&&r.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),o.delete(this)}cancel(){"scheduled"===this.state&&(o.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},64209:(t,e,n)=>{n.d(e,{Y:()=>r});let r=(0,n(12115).createContext)({strict:!1})},65181:(t,e,n)=>{n.d(e,{W:()=>r});function r(t){return"function"==typeof t&&"applyToOptions"in t}},65259:(t,e,n)=>{n.d(e,{B:()=>s});var r=n(62304),i=n(4454),o=n(73208);function s(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){let n=window.requestIdleCallback((0,i.dm)(t),e);return()=>window.cancelIdleCallback(n)}var n=t;let s=(0,o.x3)(),a=(0,r.wg)(()=>{n({didTimeout:!1,timeRemaining:()=>Math.max(0,50-((0,o.x3)()-s))})},0);return()=>(0,r.DJ)(a)}},65752:(t,e,n)=>{n.d(e,{BX:()=>M,vK:()=>I,lr:()=>O});var r=n(27290),i=n(23863),o=n(15075),s=n(8453),a=n(63946),l=n(82617),u=n(87913),c=n(38358),d=n(27424),f=n(39622),h=n(22039),p=n(24888),m=n(82264),g=n(55389),y=n(20091),v=n(12205);let b=[...y.T,g.y,p.f];var w=n(33182);let _=new WeakMap;var S=n(28033),E=n(40479);let x={current:null},C={current:!1},A="undefined"!=typeof window;var T=n(10883),k=n(73934);let R=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],P={};function O(t){P=t}function I(){return P}class M{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:o,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=a.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=d.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,k.Gt.render(this.render,!1,!0))};let{latestValues:u,renderState:c}=s;this.latestValues=u,this.baseTarget={...u},this.initialValues=e.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=(0,S.e)(e),this.isVariantNode=(0,S.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:f,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==u[t]&&(0,w.S)(e)&&e.set(u[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,_.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
3h((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(C.current||function(){if(C.current=!0,A)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>x.current=t.matches;t.addEventListener("change",e),e()}else x.current=!1}(),this.shouldReduceMotion=x.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,k.WG)(this.notifyUpdate),(0,k.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let n;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&u.M.has(t)&&this.current instanceof HTMLElement){let{factory:n,keyframes:i,times:o,ease:s,duration:a}=e.accelerate,u=new l.m({element:this.current,name:t,keyframes:i,times:o,ease:s,duration:(0,r.f)(a)}),c=n(u);this.valueSubscriptions.set(t,()=>{c(),u.cancel()});return}let i=E.f.has(t);i&&this.onBindTransform&&this.onBindTransform();let o=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&k.Gt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{o(),n&&n()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in P){let e=P[t];if(!e)continue;let{isEnabled:n,Feature:r}=e;if(!this.features[t]&&r&&n(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,f.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<R.length;e++){let n=R[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=t["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(t,e,n){for(let r in e){let i=e[r],o=n[r];if((0,w.S)(i))t.addValue(r,i);else if((0,w.S)(o))t.addValue(r,(0,h.OQ)(i,{owner:t}));else if(o!==i)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(i):e.hasAnimated||e.set(i)}else{let e=t.getStaticValue(r);t.addValue(r,(0,h.OQ)(void 0!==e?e:i,{owner:t}))}}for(let r in n)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,h.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];
3if(null!=n){if("string"==typeof n&&((0,i.i)(n)||(0,o.$)(n)))n=parseFloat(n);else{let r;r=n,!b.find((0,v.w)(r))&&p.f.test(e)&&(n=(0,m.J)(t,e))}this.setBaseTarget(t,(0,w.S)(n)?n.get():n)}return(0,w.S)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=(0,T.a)(this.props,n,this.presenceContext?.custom);r&&(e=r[t])}if(n&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,w.S)(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new s.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){c.k.render(this.render)}}},68894:(t,e,n)=>{n.d(e,{u:()=>i});var r=n(31739);let i={test:(0,n(23919).$)("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.B.transform}},68921:(t,e,n)=>{n.d(e,{l:()=>i});var r=n(8828);function i(t,e,n){t.register(({startTime:t})=>{let i=e.findTrackedSession(t);return i?{session:{id:i.id},anonymous_id:i.anonymousId,...n}:r.$O})}},69828:(t,e,n)=>{n.d(e,{a:()=>a});var r=n(30257),i=n(23512),o=n(70204);let s=220*i._m;function a(t,e=s){let n=(0,o.M)(Object.prototype),r=(0,o.M)(Array.prototype);try{let n=[],r=new WeakMap,i=l(t,"$",void 0,n,r),o=JSON.stringify(i),s=o?o.length:0;if(s>e)return void u(e,"discarded",t);for(;n.length>0&&s<e;){let i=n.shift(),o=0;if(Array.isArray(i.source))for(let a=0;a<i.source.length;a++){let c=l(i.source[a],i.path,a,n,r);if(void 0!==c?s+=JSON.stringify(c).length:s+=4,s+=o,o=1,s>e){u(e,"truncated",t);break}i.target[a]=c}else for(let a in i.source)if(Object.prototype.hasOwnProperty.call(i.source,a)){let c=l(i.source[a],i.path,a,n,r);if(void 0!==c&&(s+=JSON.stringify(c).length+o+a.length+3,o=1),s>e){u(e,"truncated",t);break}i.target[a]=c}}return i}finally{n(),r()}}function l(t,e,n,r,i){let o=function(t){if(("object"!=typeof t||null===t)&&"function"!=typeof t)return t;if("function"==typeof t.toJSON)try{return t.toJSON()}catch{}return t}(t);if(!o||"object"!=typeof o){var s;return"bigint"==typeof(s=o)?`[BigInt] ${s.toString()}`:"function"==typeof s?`[Function] ${s.name||"unknown"}`:"symbol"==typeof s?`[Symbol] ${s.description||s.toString()}`:s}let a=function t(e){try{if(e instanceof Event){var n;return{type:(n=e).type,isTrusted:n.isTrusted,currentTarget:n.currentTarget?t(n.currentTarget):null,target:n.target?t(n.target):null}}if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;let r=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(r?.[1])return`[${r[1]}]`}catch{}return"[Unserializable]"}(o);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;if(i.has(t))return`[Reference seen at ${i.get(t)}]`;let l=void 0!==n?`${e}.${n}`:e,u=Array.isArray(o)?[]:{};return i.set(t,l),r.push({source:o,target:u,path:l}),u}function u(t,e,n){r.V.warn(`The data provided has been ${e} as it is over the limit of ${t} characters:`,n)}},70204:(t,e,n)=>{n.d(e,{M:()=>o,s:()=>i});var r=n(52654);function i(t,e,n){if("object"!=typeof t||null===t)return JSON.stringify(t);let r=o(Object.prototype),i=o(Array.prototype),s=o(Object.getPrototypeOf(t)),a=o(t);try{return JSON.stringify(t,e,n)}catch{return"<error: unable to serialize object>"}finally{r(),i(),s(),a()}}function o(t){let e=t.toJSON;return e?(delete t.toJSON,()=>{t.toJSON=e}):r.l}},71155:(t,e,n)=>{function r(t,e){let n=t.indexOf(e);n>=0&&t.splice(n,1)}function i(t){return Array.isArray(t)&&t.length>0}n.d(e,{Ai:()=>r,EI:()=>i})},73136:(t,e,n)=>{n.d(e,{F:()=>a});var r=n(95155),i=n(12115),o=n(64209),s=n(1659);function a(t){let{children:e,features:n,strict:a=!1}=t,[,u]=(0,i.useState)(!l(n)),c=(0,i.useRef)(void 0);if(!l(n)){let{renderer:t,...e}=n;c.current=t,(0,s.Y)(e)}return(0,i.useEffect)(()=>
3{l(n)&&n().then(t=>{let{renderer:e,...n}=t;(0,s.Y)(n),c.current=e,u(!0)})},[]),(0,r.jsx)(o.Y.Provider,{value:{renderer:c.current,strict:a},children:e})}function l(t){return"function"==typeof t}},73142:(t,e,n)=>{n.d(e,{G:()=>r});let r=t=>"object"==typeof t&&null!==t},73208:(t,e,n)=>{let r;n.d(e,{$H:()=>a,$S:()=>h,A3:()=>b,FR:()=>g,Gw:()=>f,M8:()=>p,MA:()=>s,OY:()=>i,Oc:()=>m,Zj:()=>d,_O:()=>w,d6:()=>v,iW:()=>o,jR:()=>y,nx:()=>u,uc:()=>_,vk:()=>c,x3:()=>l});let i=1e3,o=6e4,s=36e5,a=31536e6;function l(){return new Date().getTime()}function u(){return l()}function c(t,e){return e-t}function d(t){return"number"!=typeof t?t:Math.round(1e6*t)}function f(t,e){return t+e}function h(){return performance.now()}function p(){return{relative:h(),timeStamp:u()}}function m(){return{relative:0,timeStamp:_()}}function g(t){return{relative:t,timeStamp:function(t){let e=l()-performance.now();return e>_()?Math.round(e+t):Math.round(_()+t)}(t)}}function y(t){return{relative:v(t),timeStamp:t}}function v(t){return t-_()}function b(t){return t<a}function w(){return Math.round(l()-(_()+performance.now()))}function _(){return void 0===r&&(r=performance.timing?.navigationStart??performance.timeOrigin),r}},73467:(t,e,n)=>{n.d(e,{K:()=>i});var r=n(30257);function i(t,e,n=!1){return t.some(t=>{try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.lastIndex=0,t.test(e);if("string"==typeof t)return n?e.startsWith(t):t===e}catch(t){r.V.error(t)}return!1})}},73814:(t,e,n)=>{n.d(e,{V:()=>d,u:()=>f});var r=n(96976),i=n(28491),o=n(92072),s=n(36867),a=n(63574),l=n(49607),u=n(4454),c=n(73208);let d={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function f(t){var e;let n=[];t.includes(d.cspViolation)&&n.push(new r.cP(t=>{if(!(0,s.BX)(document,"securitypolicyviolation"))return;let{stop:e}=(0,s.q2)(document,"securitypolicyviolation",e=>{t.notify(function(t){let e=`'${t.blockedURI}' blocked by '${t.effectiveDirective}' directive`;return h({type:t.effectiveDirective,message:`${d.cspViolation}: ${e}`,originalError:t,csp:{disposition:t.disposition},stack:p(t.effectiveDirective,t.originalPolicy?`${e} of the policy "${(0,i._R)(t.originalPolicy,100,"...")}"`:"no policy",t.sourceFile,t.lineNumber,t.columnNumber),debugIds:t.sourceFile?(0,l.J)([t.sourceFile]):void 0})}(e))});return e}));let o=t.filter(t=>t!==d.cspViolation);return o.length&&n.push((e=o,new r.cP(t=>{if(!window.ReportingObserver)return;let n=(0,u.dm)((e,n)=>e.forEach(e=>t.notify(function(t){let{type:e,body:n}=t;return h({type:n.id,message:`${e}: ${n.message}`,originalError:t,stack:p(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber),debugIds:n.sourceFile?(0,l.J)([n.sourceFile]):void 0})}(e)))),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),()=>{r.disconnect()}}))),(0,r.Fx)(...n)}function h(t){return{startClocks:(0,c.M8)(),source:a.gf.REPORT,handling:"unhandled",...t}}function p(t,e,n,r,i){return n?(0,o.Yn)({name:t,message:e,stack:[{func:"?",url:n,line:r??void 0,column:i??void 0}]}):void 0}},73934:(t,e,n)=>{n.d(e,{Gt:()=>i,PP:()=>a,WG:()=>o,uv:()=>s});var r=n(6500);let{schedule:i,cancel:o,state:s,steps:a}=(0,n(44300).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},75601:(t,e,n)=>{n.d(e,{xQ:()=>o});var r=n(12115),i=n(59686);function o(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,r.useContext)(i.t);if(null===e)return[!0,null];let{isPresent:n,onExitComplete:o,register:s}=e,a=(0,r.useId)();(0,r.useEffect)(()=>{if(t)return s(a)},[t]);let l=(0,r.useCallback)(()=>t&&o&&o(a),[a,o,t]);return!n&&o?[!1,l]:[!0]}},76066:(t,e,n)=>{n.d(e,{x:()=>o});var r=n(33182),i=n(93709);function o(t,e,n){let o=t.style,s=e?.style,a={};if(!o)return a;for(let e in o)((0,r.S)(o[e])||s&&(0,r.S)(s[e])||(0,i.zK)(e,t)||n?.getValue(e)?.liveStyle!==void 0)&&(a[e]=o[e]);return a}},78041:(t,e,n)=>{n.d(e,{$:()=>r,V:()=>i}),n(87358);let r=()=>{},i=()=>{}},78617:(t,e,n)=>{n.d(e,{E4:()=>a,Hr:()=>d,W9:()=>c});var r=n(37899),i=n(40479),o=n(37822),s=n(92419);let a=t=>t===o.ai||t===s.px,l=new Set(["x","y","z"]),u=i.U.filter(t=>!l.has(t));function c(t){let e=[];return u.forEach(n=>{let r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:n="0",boxSizing:r})=>{let i=t.max-t.min;return"border-box"===r?i:i-parseFloat(e)-parseFloat(n)},height:({y:t},{paddingTop:e="0",paddingBottom:n="0",boxSizing:r})=>{let i=t.max-t.min;return"border-box"===r?i:i-parseFloat(e)-parseFloat(n)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,r.ry)(e,"x"),y:(t,{transform:e})=>(0,r.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},78891:(t,e,n)=>{n.d(e,{B:()=>a,K:()=>l});var r=n(80865),i=n(51219),o=n(10503),s=n(8828);function a(t,e,n){let i=l();return e.storeContextsAcrossPages&&(0,o.Ck)(i,n,4),t.register(()=>{let t=i.getContext();return(0,r.RI)(t)||!t.id?s.$O:{account:t}}),i}function l(){return(0,i.D)("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}},79268:(t,e,n)=>{n.d(e,{Cw:()=>ed,Gl:()=>ec});var r=n(95155),i=n(12115),o=n(10225);
3let s=n.p+"static/fonts/GoogleSansCode-Bold-484a0eb8b6242748.ttf",a=n.p+"static/fonts/GoogleSansCode-Bold-8b99d79543b9554b.woff",l=n.p+"static/fonts/GoogleSansCode-Bold-c5f35c497649cb27.woff2",u=n.p+"static/fonts/GoogleSansCode-BoldItalic-aa290ed1a3133edd.ttf",c=n.p+"static/fonts/GoogleSansCode-BoldItalic-32f6fc46b3f818ef.woff",d=n.p+"static/fonts/GoogleSansCode-BoldItalic-7ad2474877fd2fa1.woff2",f=n.p+"static/fonts/GoogleSansCode-Italic-52be4c33950cb9cd.ttf",h=n.p+"static/fonts/GoogleSansCode-Italic-6f7166d1c43e30da.woff",p=n.p+"static/fonts/GoogleSansCode-Italic-979201d1a72403f7.woff2",m=n.p+"static/fonts/GoogleSansCode-Regular-bbaf039137f2aba6.ttf",g=[{ttf:m,woff:n.p+"static/fonts/GoogleSansCode-Regular-a6a40010aebc32a4.woff",woff2:n.p+"static/fonts/GoogleSansCode-Regular-207219e0a8eb25ee.woff2",family:"Google Sans Code",weight:"400",style:"normal"},{ttf:f,woff:h,woff2:p,family:"Google Sans Code",weight:"400",style:"italic"},{ttf:s,woff:a,woff2:l,family:"Google Sans Code",weight:"700",style:"normal"},{ttf:u,woff:c,woff2:d,family:"Google Sans Code",weight:"700",style:"italic"}],y=n.p+"static/fonts/Wallop-Medium-8a938b9a924c59bc.ttf",v=n.p+"static/fonts/Wallop-Medium-d22140a52380ca3c.woff",b=n.p+"static/fonts/Wallop-Medium-98c09eac118de17d.woff2",w=n.p+"static/fonts/Wallop-Regular-7431217abdabaca0.ttf",_=n.p+"static/fonts/Wallop-Regular-6906bf3d354d62d8.woff",S=n.p+"static/fonts/Wallop-Regular-0e59e2b7aedd31c4.woff2",E=n.p+"static/fonts/Wallop-SemiBold-91d95b9d00f1a506.ttf",x=[{ttf:w,woff:_,woff2:S,family:"Wallop",weight:"normal",style:"normal"},{ttf:E,woff:n.p+"static/fonts/Wallop-SemiBold-bec1be77be76e59f.woff",woff2:n.p+"static/fonts/Wallop-SemiBold-52ff119c730b3991.woff2",family:"Wallop",weight:"600",style:"normal"},{ttf:y,woff:v,woff2:b,family:"Wallop",weight:"500",style:"normal"},...g],C=n.p+"static/fonts/BoschSans-Bold-6222f0701150d7a4.ttf",A=n.p+"static/fonts/BoschSans-Bold-572c74bd35a1df5c.woff",T=n.p+"static/fonts/BoschSans-Bold-95245a91774920a0.woff2",k=n.p+"static/fonts/BoschSans-Regular-9a2c22b73f950ae8.ttf",R=[{ttf:C,woff:A,woff2:T,family:"Bosch Sans",weight:"bold",style:"normal"},{ttf:k,woff:n.p+"static/fonts/BoschSans-Regular-54c9df4efca83fd4.woff",woff2:n.p+"static/fonts/BoschSans-Regular-c0ce221b9691ce51.woff2",family:"Bosch Sans",weight:"normal",style:"normal"},...g],P=n.p+"static/fonts/montserrat-v31-latin-700-bc58876ec6564dce.ttf",O=n.p+"static/fonts/montserrat-v31-latin-700-7deef806abcb32c7.woff",I=n.p+"static/fonts/montserrat-v31-latin-700-d4df281bd2c98884.woff2",M=n.p+"static/fonts/montserrat-v31-latin-regular-1688f73f4c3a9c73.ttf",N=[{ttf:P,woff:O,woff2:I,family:"Montserrat",weight:"bold",style:"normal"},{ttf:M,woff:n.p+"static/fonts/montserrat-v31-latin-regular-90b3e81d816bc12f.woff",woff2:n.p+"static/fonts/montserrat-v31-latin-regular-c050c0dd427d93a6.woff2",family:"Montserrat",weight:"normal",style:"normal"},...g],D=n.p+"static/fonts/NotoSans-Light-4bfcef997c8129af.ttf",L=n.p+"static/fonts/NotoSans-Light-080f3e358a4aa5bb.woff",V=n.p+"static/fonts/NotoSans-Light-3442048ba7e3c4bb.woff2",B=n.p+"static/fonts/NotoSans-SemiBold-4f9347b5675a6319.ttf",U=[{ttf:D,woff:L,woff2:V,family:"Noto Sans",weight:"300",style:"normal"},{ttf:B,woff:n.p+"static/fonts/NotoSans-SemiBold-13ecfb11b08668a6.woff",woff2:n.p+"static/fonts/NotoSans-SemiBold-8582835d129acd9b.woff2",family:"Noto Sans",weight:"600",style:"normal"},...g],$=n.p+"static/fonts/GaggenauDisplay-Bold-9bb5645b1824bc30.ttf",F=n.p+"static/fonts/GaggenauDisplay-Bold-4865ff2da81f5187.woff",j=n.p+"static/fonts/GaggenauDisplay-Bold-eda76fcdfad42551.woff2",G=n.p+"static/fonts/GaggenauDisplay-Regular-bddb4fcce48a227c.ttf",W=n.p+"static/fonts/GaggenauDisplay-Regular-f7494832772cbe1b.woff",q=n.p+"static/fonts/GaggenauDisplay-Regular-207155fe395e7d56.woff2",H=n.p+"static/fonts/GaggenauText-Bold-cf8b94dcee320a3a.ttf",z=n.p+"static/fonts/GaggenauText-Bold-245d35b28129605c.woff",K=n.p+"static/fonts/GaggenauText-Bold-fdbe74ccdf400f60.woff2",X=n.p+"static/fonts/GaggenauText-Regular-2209f441b49d80df.ttf",Y=[{ttf:H,woff:z,woff2:K,family:"GaggenauText",weight:"bold",style:"normal"},{ttf:X,woff:n.p+"static/fonts/GaggenauText-Regular-fed7e79ba8eca9b8.woff",woff2:n.p+"static/fonts/GaggenauText-Regular-b39a89f998cbfab0.woff2",family:"GaggenauText",weight:"normal",style:"normal"},{ttf:$,woff:F,woff2:j,family:"GaggenauDisplay",weight:"bold",style:"normal"},{ttf:G,woff:W,woff2:q,family:"GaggenauDisplay",weight:"normal",style:"normal"},...g],Q=n.p+"static/fonts/NotoSans-44217457db2a3eee.ttf",J=n.p+"static/fonts/NotoSans-90bd69d0f388463a.woff",Z=n.p+"static/fonts/NotoSans-3c4cbc6dc84b87e5.woff2",tt=n.p+"static/fonts/NotoSans-Bold-510b4cfc170ea1f8.ttf",te=[{ttf:Q,woff:J,woff2:Z,family:"Noto Sans",weight:"normal",style:"normal"},{ttf:tt,woff:n.p+"static/fonts/NotoSans-Bold-abfc5db92ffbbf10.woff",woff2:n.p+"static/fonts/NotoSans-Bold-8796dc0758ca87c1.woff2",family:"Noto Sans",weight:"bold",style:"normal"},...g],tn=n.p+"static/fonts/Archivo-Bold-69d074fe44bf0950.ttf",tr=n.p+"static/fonts/Archivo-Bold-cd658d635edfebbb.woff",ti=n.p+"static/fonts/Archivo-Bold-aa30bfe5acbdfe6a.woff2",to=n.p+"static/fonts/archivo-narrow-v35-latin-700-f22f89ad3dc639aa.ttf",ts=n.p+"static/fonts/archivo-narrow-v35-latin-700-fddba9e7590fd475.woff",ta=n.p+"static/fonts/archivo-narrow-v35-latin-700-31f26dcc598f03b1.woff2",tl=n.p+"static/fonts/archivo-narrow-v35-latin-regular-1f066c72df38ca7e.ttf",tu=n.p+"static/fonts/archivo-narrow-v35-latin-regular-2d5a33b6f8191b84.woff",tc=n.p+"static/fonts/archivo-narrow-v35-latin-regular-89a91cb3f9be465b.woff2",td=n.p+"static/fonts/Archivo-Regular-ecb89c07daed8367.ttf",tf=[{ttf:tl,woff:tu,woff2:tc,family:"Archivo Narrow",weight:"normal",style:"normal"},{ttf:to,woff:ts,woff2:ta,family:"Archivo Narrow",weight:"bold",style:"normal"},{ttf:td,woff:n.p+"static/fonts/Archivo-Regular-8792b8599292768c.woff",woff2:n.p+"static/fonts/Archivo-Regular-2d99375c073a10b3.woff2",family:"Archivo",weight:"normal",style:"normal"},{ttf:tn,woff:tr,woff2:ti,family:"Archivo",weight:"bold",style:"normal"},...g],th=n.p+"static/fonts/NeffSans-Bold-cd2a39f9b1814ecc.ttf",tp=n.p+"static/fonts/NeffSans-Bold-51c0cf382ccc3ded.woff",tm=n.p+"static/fonts/NeffSans-Bold-2523ce67b26f305b.woff2",tg=n.p+"static/fonts/NeffSans-Regular-f75df8dadc29715d.ttf",ty=n.p+"static/fonts/NeffSans-Regular-6e8b24d1ce42a7ec.woff",tv=n.p+"static/fonts/NeffSans-Regular-4dbd16929d42be6b.woff2",tb=n.p+"static/fonts/SourceSerif4-Bold-fcea5e2e34d12421.ttf",tw=[{ttf:th,woff:tp,woff2:tm,family:"Neff Sans",weight:"bold",style:"normal"},{ttf:tg,woff:ty,woff2:tv,family:"Neff Sans",weight:"normal",style:"normal"},{ttf:tb,woff:n.p+"static/fonts/SourceSerif4-Bold-70cb04ae69d21906.woff",woff2:n.p+"static/fonts/SourceSerif4-Bold-e7206c1e1e33ddcf.woff2",family:"Source Serif 4",weight:"700",style:"normal"},...g],t_=n.p+"static/fonts/PFPaperback-143639881b5e1608.ttf",tS=n.p+"static/fonts/PFPaperback-e7ed5f1419729b52.woff",tE=n.p+"static/fonts/PFPaperback-e676668056cbea43.woff2",tx=n.p+"static/fonts/PFPaperback-Bold-0768c4e3757af6b1.ttf",tC=[{ttf:tx,woff:n.p+"static/fonts/PFPaperback-Bold-068ede3098a43576.woff",woff2:n.p+"static/fonts/PFPaperback-Bold-f676d1600c72c489.woff2",family:"PFPaperback",weight:"bold",style:"normal"},{ttf:t_,woff:tS,woff2:tE,family:"PFPaperback",weight:"normal",style:"normal"},...g],tA=n.p+"static/fonts/SourceSans3-Regular-1dbb528e72ba7469.ttf",tT=n.p+"static/fonts/SourceSans3-Regular-42574517547bdc32.woff",tk=n.p+"static/fonts/SourceSans3-Regular-9d8ee3e338e3d7be.woff2",tR=n.p+"static/fonts/SourceSans3-SemiBold-76eea0352c302c56.ttf",tP=[{ttf:tR,woff:n.p+"static/fonts/SourceSans3-SemiBold-b00970749f68d78f.woff",woff2:n.p+"static/fonts/SourceSans3-SemiBold-bee53f7f5351fc16.woff2",family:"Source Sans 3",weight:"600",style:"normal"},{ttf:tA,woff:tT,woff2:tk,family:"Source Sans 3",weight:"normal",style:"normal"},...g],tO=n.p+"static/fonts/SiemensProgress-Bol-master-221ce244c8207115.ttf",tI=n.p+"static/fonts/SiemensProgress-Bol-master-2c28f4e91fac272d.woff",tM=n.p+"static/fonts/SiemensProgress-Bol-master-f13329e1e23d3465.woff2",tN=n.p+"static/fonts/SiemensProgress-Regula-master-331c5f38d3c758cb.ttf",tD=n.p+"static/fonts/SiemensProgress-Regula-master-fa0cc44b6eca5926.woff",tL=n.p+"static/fonts/SiemensProgress-Regula-master-2edf09958b9088aa.woff2",tV=n.p+"static/fonts/SiemensSansPro-Roman-0462e1723d1cf6c5.ttf",tB=n.p+"static/fonts/SiemensSansPro-Roman-863daccb20f441c9.woff",tU=n.p+"static/fonts/SiemensSansPro-Roman-259f282175378988.woff2",t$=n.p+"static/fonts/SiemensSansPro-SBold-4fbf847458e3ac0d.ttf",tF=[{ttf:tO,woff:tI,woff2:tM,family:"Siemens Progress",weight:"bold",style:"normal"},{ttf:tN,woff:tD,woff2:tL,family:"Siemens Progress",weight:"normal",style:"normal"},{ttf:t$,woff:n.p+"static/fonts/SiemensSansPro-SBold-c2d86cdec5ad2e10.woff",woff2:n.p+"static/fonts/SiemensSansPro-SBold-457795a0e1284c48.woff2",family:"SiemensSans Pro",weight:"bold",style:"normal"},{ttf:tV,woff:tB,woff2:tU,family:"SiemensSans Pro",weight:"normal",style:"normal"},...g],tj=n.p+"static/fonts/ThSa1000-Bd-5328fada6b2bda10.ttf",tG=n.p+"static/fonts/ThSa1000-Bd-c09ffb948fd68b3f.woff",tW=n.p+"static/fonts/ThSa1000-Bd-dd509f5799e193b5.woff2",tq=n.p+"static/fonts/ThSa1000-Md-d842870ba4b07c62.ttf",tH=n.p+"static/fonts/ThSa1000-Md-c8e7db40c17a29db.woff",tz=n.p+"static/fonts/ThSa1000-Md-4c457cd700caf6fa.woff2",tK=n.p+"static/fonts/ThSa1000-Rg-b4c136a60bbe93ab.ttf",tX=n.p+"static/fonts/ThSa1000-Rg-edb5103f18d51206.woff",tY=n.p+"static/fonts/ThSa1000-Rg-d4213333156cb92c.woff2",tQ=n.p+"static/fonts/ThSa1000-SmBd-eb2d2f87c63fa5c1.ttf",tJ=n.p+"static/fonts/ThSa1000-SmBd-d1c04f2eef28be26.woff",tZ=n.p+"static/fonts/ThSa1000-SmBd-e3cbb8215a3576ef.woff2",t0=n.p+"static/fonts/URWBaskervilleW01Bold-edc86e8176971d76.ttf",t1=n.p+"static/fonts/URWBaskervilleW01Bold-83f096139c5addad.woff",t2=n.p+"static/fonts/URWBaskervilleW01Bold-58fa39abb9bf8acb.woff2",t3=n.p+"static/fonts/URWBaskervilleW01Regular-c01d0fb3f318f809.ttf",t5=[{ttf:tj,woff:tG,woff2:tW,family:"Thermador Sans",weight:"bold",style:"normal"},{ttf:tq,woff:tH,woff2:tz,family:"Thermador Sans",weight:"500",style:"normal"},{ttf:tQ,woff:tJ,woff2:tZ,family:"Thermador Sans",weight:"600",style:"normal"}
3,{ttf:tK,woff:tX,woff2:tY,family:"Thermador Sans",weight:"normal",style:"normal"},{ttf:t3,woff:n.p+"static/fonts/URWBaskervilleW01Regular-44ad50dcbaec81b5.woff",woff2:n.p+"static/fonts/URWBaskervilleW01Regular-d5ffda0fe169e9da.woff2",family:"URW Baskerville",weight:"normal",style:"normal"},{ttf:t0,woff:t1,woff2:t2,family:"URW Baskerville",weight:"bold",style:"normal"},...g],t4=()=>(0,r.jsx)(ea,{fonts:x}),t6=()=>(0,r.jsx)(ea,{fonts:R}),t8=()=>(0,r.jsx)(ea,{fonts:N}),t9=()=>(0,r.jsx)(ea,{fonts:Y}),t7=()=>(0,r.jsx)(ea,{fonts:tf}),et=()=>(0,r.jsx)(ea,{fonts:tw}),ee=()=>(0,r.jsx)(ea,{fonts:tC}),en=()=>(0,r.jsx)(ea,{fonts:tP}),er=()=>(0,r.jsx)(ea,{fonts:tF}),ei=()=>(0,r.jsx)(ea,{fonts:t5}),eo=()=>(0,r.jsx)(ea,{fonts:U}),es=()=>(0,r.jsx)(ea,{fonts:te});function ea({fonts:t}){return(0,r.jsx)(o.mL,{styles:t.map(t=>` 4 @font-face { 5 font-family: '${t.family}'; 6 src: url(${t.woff2}) format('woff2'), 7 url(${t.woff}) format('woff'), 8 url(${t.ttf}) format('truetype'); 9 font-weight: ${t.weight}; 10 font-style: ${t.style}; 11 font-display: swap; 12 } 13 `).join("")})}var el=n(9763),eu=n(7051);let ec=t=>(0,i.useMemo)(()=>(t=>{let e=(0,el.Y)(t);switch(e){case"BOSCH":return t6;case"SIEMENS":return er;case"GAGGENAU":return t9;case"BALAY":return t4;case"PITSOS":return ee;case"JUNKER":return t7;case"NEFF":return et;case"CONSTRUCTA":return t8;case"PROFILO":return en;case"THERMADOR":return ei;case"CROSS":return eo;case"HOME_CONNECT":return es;case"COLDEX":case"SOLITAIRE":case"BRAND_FALLBACK":return()=>null;default:return(0,eu.d)(e)}})(t),[t]),ed=t=>{let e=(0,el.Y)(t),n=t=>(0,r.jsx)("link",{href:t.woff2,rel:"preload",as:"font",type:"font/woff2",crossOrigin:"anonymous"},t.woff2);switch(e){case"BOSCH":return R.map(n);case"SIEMENS":return tF.map(n);case"GAGGENAU":return Y.map(n);case"BALAY":return x.map(n);case"PITSOS":return tC.map(n);case"NEFF":return tw.map(n);case"CONSTRUCTA":return N.map(n);case"JUNKER":return tf.map(n);case"PROFILO":return tP.map(n);case"THERMADOR":return t5.map(n);case"CROSS":return U.map(n);case"HOME_CONNECT":return te.map(n);case"COLDEX":case"SOLITAIRE":case"BRAND_FALLBACK":return[];default:return(0,eu.d)(e)}}},80284:(t,e,n)=>{n.d(e,{ThemeDataContextProvider:()=>s,WF:()=>l,lb:()=>u});var r=n(95155),i=n(12115);let o=(0,i.createContext)(void 0),s=t=>{let{value:e,children:n}=t;return(0,r.jsx)(o.Provider,{value:e,children:n})},a=t=>{let e=(0,i.useContext)(o);if(!e)throw Error("Could not retrieve theme data. Did you forget to wrap the component in a <ThemeDataProvider />?");return e[t]||e.default},l=()=>a("default"),u=()=>a("alternate")},80865:(t,e,n)=>{n.d(e,{LG:()=>l,RI:()=>a,Rj:()=>s,XU:()=>i,yG:()=>o});let r=(t,e)=>"__proto__"===t?void 0:e;function i(t){try{return JSON.parse(t,r)}catch{}}function o(t){return{...t}}function s(t,e){return Object.keys(t).some(n=>t[n]===e)}function a(t){return 0===Object.keys(t).length}function l(t,e){let n={};for(let r of Object.keys(t))n[r]=e(t[r]);return n}},81288:(t,e,n)=>{n.d(e,{p:()=>l});var r=n(24888),i=n(24531);let o=new Set(["brightness","contrast","saturate","opacity"]);function s(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(i.S)||[];if(!r)return t;let s=n.replace(r,""),a=+!!o.has(e);return r!==n&&(a*=100),e+"("+a+s+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...r.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(s).join(" "):t}}},81402:(t,e,n)=>{n.d(e,{s:()=>i});var r=n(73142);function i(t){return(0,r.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},81496:(t,e,n)=>{n.d(e,{gU:()=>y,i1:()=>p,yA:()=>g,z$:()=>h});var r=n(96976),i=n(28491),o=n(49442),s=n(30257),a=n(52157),l=n(62304),u=n(36867),c=n(5076),d=n(32121),f=n(73208);async function h(t,e){let n=`dd_cookie_test_${(0,i.lk)()}`,r="test",o=t(n,e);try{return await o.getAllAndSet(()=>({value:r,expireDelay:f.iW})),(await o.getAll()).includes(r)}catch(t){return s.V.error(t),!1}finally{try{await o.delete()}catch{}}}function p(t,e){let n=(0,a.B)(d.J.cookieStore),i=new r.cP(()=>(0,u.q2)(n,"change",e=>{(e.changed.some(e=>
13e.name===t)||e.deleted.some(e=>e.name===t))&&i.notify()}).stop);return{getAll:async()=>(await n.getAll(t)).map(t=>t.value),delete:()=>n.delete({name:t,domain:e.domain,path:"/",partitioned:e.partitioned}),async getAllAndSet(r){let i=await n.getAll(t),{value:s,expireDelay:a}=r(i.map(t=>t.value));try{await n.set({name:t,value:s,expires:(0,f.x3)()+a,path:"/",sameSite:e.crossSite?"none":"strict",domain:e.domain,secure:e.secure,partitioned:e.partitioned})}catch(n){if(!t.startsWith("dd_cookie_test_")){let r=(0,o.OR)(t);(0,c.A2)("Failed to set cookie using Cookie Store API",{"error.message":n.message,newValue:s,cookieOptions:{...e},cookies:i.map(t=>({...t})),cookieCount:i.length,documentCookies:r})}}},observable:i}}let m=f.OY;function g(t,e){let n=(0,o.OR)(t),i=new r.cP(()=>{let e=(0,l.yb)(()=>{s((0,o.OR)(t))},m);return()=>{(0,l.vG)(e)}});function s(t){String(t)!==String(n)&&(n=t,i.notify())}return{getAll:()=>Promise.resolve((0,o.OR)(t)),async getAllAndSet(n){let{value:r,expireDelay:i}=n((0,o.OR)(t));(0,o.TV)(t,r,i,e),await Promise.resolve(),s([r])},async delete(){(0,o.Yj)(t,e),await Promise.resolve(),s([])},observable:i}}function y(){let t=(0,a.B)(d.J.cookieStore);return!!(t&&(0,u.BX)(t,"change"))}},81666:(t,e,n)=>{n.d(e,{S:()=>r});let r=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]},82264:(t,e,n)=>{n.d(e,{J:()=>l});var r=n(24888),i=n(81288),o=n(83370),s=n(98387);let a=new Set([i.p,o.d]);function l(t,e){let n=(0,s.D)(t);return a.has(n)||(n=r.f),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},82617:(t,e,n)=>{n.d(e,{m:()=>b});var r=n(78041),i=n(27290),o=n(6500),s=n(46934),a=n(60178);let l={};function u(t,e){let n=(0,a.p)(t);return()=>l[e]??n()}let c=u(()=>void 0!==window.ScrollTimeline,"scrollTimeline");var d=n(33855),f=n(87671),h=n(34324);let p=u(()=>{try{document.createElement("div").animate({opacity:0}
13,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var m=n(33754);let g=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,y={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:g([0,.65,.55,1]),circOut:g([.55,0,1,.45]),backIn:g([.31,.01,.66,-.59]),backOut:g([.33,1.53,.69,.99])};var v=n(65181);class b extends f.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:n,keyframes:i,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:l,onComplete:u}=t;this.isPseudoElement=!!o,this.allowFlatten=a,this.options=t,(0,r.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let c=function({type:t,...e}){return(0,v.W)(t)&&p()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u){let c={[e]:n};l&&(c.offset=l);let d=function t(e,n){if(e)return"function"==typeof e?p()?(0,m.K)(e,n):"ease-out":(0,h.D)(e)?g(e):Array.isArray(e)?e.map(e=>t(e,n)||y.easeOut):y[e]}(a,i);Array.isArray(d)&&(c.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};return u&&(f.pseudoElement=u),t.animate(c,f)}(e,n,i,c,o),!1===c.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){let t=(0,d.X)(i,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,s.e)(e,n,t),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,i.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,i.X)(t)}get time(){return(0,i.X)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,i.f)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:n,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&c())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),n&&(this.animation.rangeEnd=n),o.l):r(this)}}},83370:(t,e,n)=>{n.d(e,{d:()=>i});var r=n(24888);let i={...r.f,getAnimatableNone:t=>{let e=r.f.parse(t);return r.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}}},83675:(t,e,n)=>{n.d(e,{NQ:()=>s,iP:()=>a,m5:()=>o});var r=n(30257),i=n(91359);function o(t){let{env:e,service:n,version:r,datacenter:i,sdkVersion:o,variant:a}=t,l=[s("sdk_version",o??"7.13.0")];return e&&l.push(s("env",e)),n&&l.push(s("service",n)),r&&l.push(s("version",r)),i&&l.push(s("datacenter",i)),a&&l.push(s("variant",a)),l}function s(t,e){var n;let o=e?`${t}:${e}`:t;return(o.length>200||(n=o,RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(n)))&&r.V.warn(`Tag ${o} doesn't meet tag requirements and will be sanitized. ${i.xG} ${i.fH}/getting_started/tagging/#defining-tags`),a(o)}function a(t){return t.replace(/,/g,"_")}},85154:(t,e,n)=>{n.d(e,{D:()=>r});var r=class{constructor(){this.callbacks={}}notify(t,e){let n=this.callbacks[t];
13n&&n.forEach(t=>t(e))}subscribe(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:()=>{this.callbacks[t]=this.callbacks[t].filter(t=>e!==t)}}}}},85319:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.openPrivacyPage=e.openImprintPage=e.onConsentManagerLoaded=e.setVendorConsent=e.addConsentDecisionListener=e.addVendorConsentListener=e.addPurposeConsentListener=void 0;let r=n(13999),i=t=>{if(!window.__cmp)return console.error("addConsentEventListener was called without consent manager being loaded"),()=>{};let e=window.__cmp("consentStatus");return e&&e.consentExists&&t(),window.__cmp("addEventListener",["consent",t,!1],null),()=>{window.__cmp?.("removeEventListener",["consent",t,!1],null)}},o=t=>{let e=()=>{window.__cmp&&t(window.__cmp("getCMPData"))};return window.__cmp?i(e):(window.__cmpFutureEventListeners=window.__cmpFutureEventListeners||[],window.__cmpFutureEventListeners.push(e),()=>{window.__cmpFutureEventListeners&&(window.__cmpFutureEventListeners=window.__cmpFutureEventListeners.filter(t=>t!==e)),window.__cmp?.("removeEventListener",["consent",e,!1],null)})};e.addPurposeConsentListener=(t,e)=>"undefined"==typeof window?(console.error("addPurposeConsentListener was not called in a browser"),()=>{}):window.__consentManagerEnabled?o(n=>{e({purpose:t,accepted:n.purposeConsents[r.CONSENT_MANAGER_PURPOSE_MAP[t]]??!1})}):(e({purpose:t,accepted:!0}),()=>{}),e.addVendorConsentListener=(t,e)=>"undefined"==typeof window?(console.error("addVendorConsentListener was not called in a browser"),()=>{}):window.__consentManagerEnabled?o(n=>{e({vendor:t,accepted:n.vendorConsents[r.CONSENT_MANAGER_VENDOR_MAP[t]]??!1})}):(e({vendor:t,accepted:!0}),()=>{}),e.addConsentDecisionListener=t=>"undefined"==typeof window?(console.error("addConsentDecisionListener was not called in a browser"),()=>{}):window.__consentManagerEnabled?o(e=>{t({userChoiceExists:e.userChoiceExists})}):(t({userChoiceExists:!0}),()=>{}),e.setVendorConsent=(t,e)=>"undefined"==typeof window?void console.error("setVendorConsent was not called in a browser"):window.__cmp?void window.__cmp("setVendorConsent",[r.CONSENT_MANAGER_VENDOR_MAP[t],e]):void console.error("setVendorConsent was called before the consent manager was loaded"),e.onConsentManagerLoaded=()=>{window.__cmp?(window.dispatchEvent(new CustomEvent("consentManagerLoaded")),window.__cmpFutureEventListeners?.forEach(t=>i(t))):console.error("onConsentManagerLoaded was called without consent manager being loaded")},e.openImprintPage=()=>{"undefined"!=typeof window&&window.__cmp?.("imprintLink")},e.openPrivacyPage=()=>{"undefined"!=typeof window&&window.__cmp?.("privacyLink")}},85741:(t,e,n)=>{n.d(e,{Fs:()=>h,IM:()=>f,ao:()=>d});var r=n(49442),i=n(80865),o=n(32121);let s="datadog-synthetics-",a=`${s}public-id`,l=`${s}result-id`,u=`${s}injects-rum`,c=`${s}rum-context`;function d(){return!o.W&&!!(o.J._DATADOG_SYNTHETICS_INJECTS_RUM||(0,r.B9)(u))}function f(){var t;let e=function(){let t=o.J._DATADOG_SYNTHETICS_RUM_CONTEXT;if(t)return t;let e=(0,r.B9)(c);return e?(0,i.XU)(decodeURIComponent(e)):{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,r.B9)(a),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||(0,r.B9)(l)}}();return"object"==typeof(t=e)&&null!==t&&"string"==typeof t.test_id&&"string"==typeof t.result_id?e:void 0}function h(){return!!f()}},86906:(t,e,n)=>{let r,i;n.d(e,{z:()=>rH});class o{constructor(t){this.isMounted=!1,this.node=t}update(){}}var s=n(6500),a=n(39622);let l={x:!1,y:!1};function u(t){return[t("x"),t("y")]}var c=n(92419),d=n(39361);function f(t){return t.max-t.min}function h(t,e,n,r=.5){t.origin=r,t.originPoint=(0,d.k)(e.min,e.max,t.origin),t.scale=f(n)/f(e),t.translate=(0,d.k)(n.min,n.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function p(t,e,n,r){h(t.x,e.x,n.x,r?r.originX:void 0),h(t.y,e.y,n.y,r?r.originY:void 0)}function m(t,e,n,r=0){t.min=(r?(0,d.k)(n.min,n.max,r):n.min)+e.min,t.max=t.min+f(e)}function g(t,e,n,r=0){let i=r?(0,d.k)(n.min,n.max,r):n.min;t.min=e.min-i,t.max=t.min+f(e)}function y(t,e,n,r){g(t.x,e.x,n.x,r?.x),g(t.y,e.y,n.y,r?.y)}var v=n(73934),b=n(40042),w=n(33182);function _(t,e){let n=t.getValue("willChange");if((0,w.S)(n)&&n.add)return n.add(e);
13if(!n&&b.W.WillChange){let n=new b.W.WillChange("auto");t.addValue("willChange",n),n.add(e)}}function S({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function E(t){return void 0===t||1===t}function x({scale:t,scaleX:e,scaleY:n}){return!E(t)||!E(e)||!E(n)}function C(t){return x(t)||A(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function A(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}function T(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function k(t,e=0,n=1,r,i){t.min=T(t.min,e,n,r,i),t.max=T(t.max,e,n,r,i)}function R(t,{x:e,y:n}){k(t.x,e.translate,e.scale,e.originPoint),k(t.y,n.translate,n.scale,n.originPoint)}function P(t,e){t.min+=e,t.max+=e}function O(t,e,n,r,i=.5){let o=(0,d.k)(t.min,t.max,i);k(t,e,n,o,r)}function I(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function M(t,e,n){let r=n??t;O(t.x,I(e.x,r.x),e.scaleX,e.scale,e.originX),O(t.y,I(e.y,r.y),e.scaleY,e.scale,e.originY)}function N(t,e){return S(function(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var D=n(27290),L=n(27424);let V=(...t)=>t.reduce((t,e)=>n=>e(t(n)));var B=n(48895),U=n(78041),$=n(21391),F=n(55389),j=n(24888),G=n(68894),W=n(44807);function q(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var H=n(31739);function z(t,e){return n=>n>0?e:t}let K=(t,e,n)=>{let r=t*t,i=n*(e*e-r)+r;return i<0?0:Math.sqrt(i)},X=[G.u,H.B,W.V];function Y(t){let e=X.find(e=>e.test(t));if((0,U.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let n=e.parse(t);return e===W.V&&(n=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,o=0,s=0;if(e/=100){let r=n<.5?n*(1+e):n+e-n*e,a=2*n-r;i=q(a,r,t+1/3),o=q(a,r,t),s=q(a,r,t-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}let Q=(t,e)=>{let n=Y(t),r=Y(e);if(!n||!r)return z(t,e);let i={...n};return t=>(i.red=K(n.red,r.red,t),i.green=K(n.green,r.green,t),i.blue=K(n.blue,r.blue,t),i.alpha=(0,d.k)(n.alpha,r.alpha,t),H.B.transform(i))},J=new Set(["none","hidden"]);function Z(t,e){return n=>(0,d.k)(t,e,n)}function tt(t){return"number"==typeof t?Z:"string"==typeof t?(0,$.pG)(t)?z:F.y.test(t)?Q:tr:Array.isArray(t)?te:"object"==typeof t?F.y.test(t)?Q:tn:z}function te(t,e){let n=[...t],r=n.length,i=t.map((t,n)=>tt(t)(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}}function tn(t,e){let n={...t,...e},r={};for(let i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=tt(t[i])(t[i],e[i]));return t=>{for(let e in r)n[e]=r[e](t);return n}}let tr=(t,e)=>{let n=j.f.createTransformer(e),r=(0,j.V)(t),i=(0,j.V)(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?J.has(t)&&!i.values.length||J.has(e)&&!r.values.length?function(t,e){return J.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):V(te(function(t,e){let n=[],r={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){let o=e.types[i],s=t.indexes[o][r[o]],a=t.values[s]??0;n[i]=a,r[o]++}return n}(r,i),i.values),n):((0,U.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),z(t,e))};function ti(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?(0,d.k)(t,e,n):tt(t)(t,e)}let to=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>v.Gt.update(e,t),stop:()=>(0,v.WG)(e),now:()=>v.uv.isProcessing?v.uv.timestamp:L.k.now()}};var ts=n(33754);function ta(t,e=50,n=2e4,r){let i=0,o=t.next(i);for(r?.push(o.value);!o.done&&i<n;)i+=e,o=t.next(i),r?.push(o.value);return i>=n?1/0:i}let tl={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function tu(t,e){return t*Math.sqrt(1-e*e)}let tc=["duration","bounce"],td=["stiffness","damping","mass"];function tf(t,e){return e.some(e=>void 0!==t[e])}function th(t=tl.visualDuration,e=tl.bounce){let n,r,i="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:o,restDelta:s}=i,a=i.keyframes[0],l=i.keyframes[i.keyframes.length-1],u={done:!1,value:a},{stiffness:c,damping:d,mass:f,duration:h,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:tl.velocity,stiffness:tl.stiffness,damping:tl.damping,mass:tl.mass,isResolvedFromDuration:!1,...t};if(!tf(t,td)&&tf(t,tc))if(e.velocity=0,t.visualDuration){let n=2*Math.PI/(1.2*t.visualDuration),r=n*n,i=2*(0,B.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:tl.mass,stiffness:r,damping:i}}else{let n=function({duration:t=tl.duration,bounce:e=tl.bounce,velocity:n=tl.velocity,mass:r=tl.mass}){let i,o;(0,U.$)(t<=(0,D.f)(tl.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-e;s=(0,B.q)(tl.minDamping,tl.maxDamping,s),t=(0,B.q)(tl.minDuration,tl.maxDuration,(0,D.X)(t)),s<1?(i=e=>{let r=e*s,i=r*t;return .001-(r-n)/tu(e,s)*Math.exp(-i)},o=e=>{let r=e*s*t,o=s*s*e*e*t,a=Math.exp(-r),l=tu(e*e,s);return(r*n+n-o)*a*(-i(e)+.001>0?-1:1)/l}):(i=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),o=e=>t*t*(n-e)*Math.exp(-e*t));let a=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(i,o,5/t);if(t=(0,D.f)(t),isNaN(a))return{stiffness:tl.stiffness,damping:tl.damping,duration:t};
13{let e=a*a*r;return{stiffness:e,damping:2*s*Math.sqrt(r*e),duration:t}}}({...t,velocity:0});(e={...e,...n,mass:tl.mass}).isResolvedFromDuration=!0}return e}({...i,velocity:-(0,D.X)(i.velocity||0)}),g=p||0,y=d/(2*Math.sqrt(c*f)),v=l-a,b=(0,D.X)(Math.sqrt(c/f)),w=y*b,_=5>Math.abs(v);if(o||(o=_?tl.restSpeed.granular:tl.restSpeed.default),s||(s=_?tl.restDelta.granular:tl.restDelta.default),y<1){let t=tu(b,y),e=(g+w*v)/t,i=w*e+v*t,o=w*v-e*t,s=-1,a=0,u=0,c=n=>{if(n!==s){s=n;let r=Math.exp(-w*n),c=Math.sin(t*n),d=Math.cos(t*n);a=l-r*(e*c+v*d),u=r*(i*c+o*d)}};n=t=>(c(t),a),r=t=>(c(t),u)}else if(1===y){n=t=>l-Math.exp(-b*t)*(v+(g+b*v)*t);let t=g+b*v;r=e=>Math.exp(-b*e)*(b*t*e-g)}else{let t=b*Math.sqrt(y*y-1);n=e=>{let n=Math.exp(-w*e),r=Math.min(t*e,300);return l-n*((g+w*v)*Math.sinh(r)+t*v*Math.cosh(r))/t};let e=(g+w*v)/t,i=w*e-v*t,o=w*v-e*t;r=e=>{let n=Math.exp(-w*e),r=Math.min(t*e,300);return n*(i*Math.sinh(r)+o*Math.cosh(r))}}let S={calculatedDuration:m&&h||null,velocity:t=>(0,D.f)(r(t)),next:t=>{let e=n(t);return m?u.done=t>=h:u.done=Math.abs((0,D.f)(r(t)))<=o&&Math.abs(l-e)<=s,u.value=u.done?l:e,u},toString:()=>{let t=Math.min(ta(S),2e4),e=(0,ts.K)(e=>S.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return S}function tp({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,f,h=t[0],p={done:!1,value:h},m=n*e,g=h+m,y=void 0===s?g:s(g);y!==g&&(m=y-h);let v=t=>-m*Math.exp(-t/r),b=t=>{let e=v(t);p.done=Math.abs(e)<=u,p.value=p.done?y:y+e},w=t=>{let e;if((e=p.value)<a||e>l){var n;d=t,f=th({keyframes:[p.value,(n=p.value,void 0===a?l:void 0===l||Math.abs(a-n)<Math.abs(l-n)?a:l)],velocity:-v(t)/r*1e3,damping:i,stiffness:o,restDelta:u,restSpeed:c})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(f||void 0!==d||(e=!0,b(t),w(t)),void 0!==d&&t>=d)?f.next(t-d):(e||b(t),p)}}}th.applyToOptions=t=>{let e=function(t,e=100,n){let r=n({...t,keyframes:[0,e]}),i=Math.min(ta(r),2e4);return{type:"keyframes",ease:t=>r.next(i*t).value/e,duration:(0,D.X)(i)}}(t,100,th);return t.ease=e.ease,t.duration=(0,D.f)(e.duration),t.type="keyframes",t};let tm=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function tg(t,e,n,r){return t===e&&n===r?s.l:i=>0===i||1===i?i:tm(function(t,e,n,r,i){let o,s,a=0;do(o=tm(s=e+(n-e)/2,r,i)-t)>0?n=s:e=s;while(Math.abs(o)>1e-7&&++a<12);return s}(i,0,1,t,n),e,r)}let ty=tg(.42,0,1,1),tv=tg(0,0,.58,1),tb=tg(.42,0,.58,1),tw=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,t_=t=>e=>1-t(1-e),tS=tg(.33,1.53,.69,.99),tE=t_(tS),tx=tw(tE),tC=t=>t>=1?1:(t*=2)<1?.5*tE(t):.5*(2-Math.pow(2,-10*(t-1))),tA=t=>1-Math.sin(Math.acos(t)),tT=t_(tA),tk=tw(tA);var tR=n(34324);let tP={linear:s.l,easeIn:ty,easeInOut:tb,easeOut:tv,circIn:tA,circInOut:tk,circOut:tT,backIn:tE,backInOut:tx,backOut:tS,anticipate:tC},tO=t=>{if((0,tR.D)(t)){(0,U.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,n,r,i]=t;return tg(e,n,r,i)}return"string"==typeof t?((0,U.V)(void 0!==tP[t],`Invalid easing type '${t}'`,"invalid-easing-type"),tP[t]):t},tI=(t,e,n)=>{let r=e-t;return r?(n-t)/r:1};function tM({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){var i;let o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(tO):tO(r),a={done:!1,value:e[0]},l=function(t,e,{clamp:n=!0,ease:r,mixer:i}={}){let o=t.length;if((0,U.V)(o===e.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,n){let r=[],i=n||b.W.mix||ti,o=t.length-1;for(let n=0;n<o;n++){let o=i(t[n],t[n+1]);e&&(o=V(Array.isArray(e)?e[n]||s.l:e,o)),r.push(o)}return r}(e,r,i),u=l.length,c=n=>{if(a&&n<t[0])return e[0];let r=0;if(u>1)for(;r<t.length-2&&!(n<t[r+1]);r++);let i=tI(t[r],t[r+1],n);return l[r](i)};return n?e=>c((0,B.q)(t[0],t[o-1],e)):c}((i=n&&n.length===e.length?n:function(t){let e=[0];return!function(t,e){let n=t[t.length-1];for(let r=1;r<=e;r++){let i=tI(0,e,r);t.push((0,d.k)(n,1,i))}}(e,t.length-1),e}(e),i.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||tb).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}var tN=n(45242),tD=n(33855);let tL={decay:tp,inertia:tp,tween:tM,keyframes:tM,spring:th};function tV(t){"string"==typeof t.type&&(t.type=tL[t.type])}var tB=n(87671);let tU=t=>t/100;class t$ extends tB.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==L.k.now()&&this.tick(L.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tV(t);let{type:e=tM,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=t,{keyframes:s}=t,a=e||tM;a!==tM&&"number"!=typeof s[0]&&(this.mixKeyframes=V(tU,ti(s[0],s[1])),s=[0,100]);let l=a({...t,keyframes:s}
13);"mirror"===i&&(this.mirroredGenerator=a({...t,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=ta(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let n,{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return r.next(0);let{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:h,type:p,onUpdate:m,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>i;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let b=this.currentTime,w=r;if(d){let t=Math.min(this.currentTime,i)/a,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,(e=Math.min(e,d+1))%2&&("reverse"===f?(n=1-n,h&&(n-=h/a)):"mirror"===f&&(w=s)),b=(0,B.q)(0,1,n)*a}v?(this.delayState.value=c[0],n=this.delayState):n=w.next(b),o&&!v&&(n.value=o(n.value));let{done:_}=n;v||null===l||(_=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&_);return S&&p!==tp&&(n.value=(0,tD.X)(c,this.options,g,this.speed)),m&&m(n.value),S&&this.finish(),n}then(t,e){return this.finished.then(t,e)}get duration(){return(0,D.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,D.X)(t)}get time(){return(0,D.X)(this.currentTime)}set time(t){t=(0,D.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;var n=t=>this.generator.next(t).value;let r=Math.max(t-5,0);return(0,tN.f)(e-n(r),t-r)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(L.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,D.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=to,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(L.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var tF=n(63946),tj=n(46934),tG=n(82617);let tW={anticipate:tC,backInOut:tx,circInOut:tk};class tq extends tG.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tW&&(t.ease=tW[t.ease])}(t),tV(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let s=new t$({...o,autoplay:!1}),a=Math.max(10,L.k.now()-this.startTime),l=(0,B.q)(0,10,a-10),u=s.sample(a).value,{name:c}=this.options;
13i&&c&&(0,tj.e)(i,c,u),e.setWithVelocity(s.sample(Math.max(0,a-l)).value,u,l),s.stop()}}var tH=n(65181);let tz=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(j.f.test(t)||"0"===t)&&!t.startsWith("url("));function tK(t){t.duration=0,t.type="keyframes"}var tX=n(60178),tY=n(87913);let tQ=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,tJ=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tZ=(0,tX.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class t0 extends tB.q{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=L.k.now();let d={autoplay:t,delay:e,type:n,repeat:r,repeatDelay:i,repeatType:o,name:a,motionValue:l,element:u,...c},f=u?.KeyframeResolver||tF.h;this.keyframeResolver=new f(s,(t,e,n)=>this.onKeyframesResolved(t,e,d,!n),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,r){let i;this.keyframeResolver=void 0;let{name:o,type:a,velocity:l,delay:u,isHandoff:c,onUpdate:d}=n;this.resolvedAt=L.k.now();let f=!0;!function(t,e,n,r){let i=t[0];if(null===i)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],s=tz(i,e),a=tz(o,e);return(0,U.$)(s===a,`You are trying to animate ${e} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||(0,tH.W)(n))&&r)}(t,o,a,l)&&(f=!1,(b.W.instantAnimations||!u)&&d?.((0,tD.X)(t,n,e)),t[0]=t[t.length-1],tK(n),n.repeat=0);let h={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},p=f&&!c&&function(t){let{motionValue:e,name:n,repeatDelay:r,repeatType:i,damping:o,type:s,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:c}=e.owner.getProps();return tZ()&&n&&(tY.M.has(n)||tJ.has(n)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&tQ.test(t[e]))return!0;return!1}(a))&&("transform"!==n||!c)&&!u&&!r&&"mirror"!==i&&0!==o&&"inertia"!==s}(h),m=h.motionValue?.owner?.current;if(p)try{i=new tq({...h,element:m})}catch{i=new t$(h)}else i=new t$(h);i.finished.then(()=>{this.notifyFinished()}).catch(s.l),this.pendingTimeline&&(this.stopTimeline=i.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=i}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,tF.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function t1(t,e){if(t?.inherit&&e){let{inherit:n,...r}=t;return{...e,...r}}return t}function t2(t,e){let n=t?.[e]??t?.default??t;return n!==t?t1(n,t):n}var t3=n(40479);let t5={type:"spring",stiffness:500,damping:25,restSpeed:10},t4={type:"keyframes",duration:.8},t6={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},t8=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),t9=(t,e,n,r={},i,o)=>s=>{let a=t2(r,t)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=(0,D.f)(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};!function(t){for(let e in t)if(!t8.has(e))return!0;return!1}(a)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?t4:t3.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:t5:t6)(t,c)),c.duration&&(c.duration=(0,D.f)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,D.f)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(tK(c),0===c.delay&&(d=!0)),(b.W.instantAnimations||b.W.ski
13pAnimations||i?.shouldSkipAnimations||a.skipAnimations)&&(d=!0,tK(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!o&&void 0!==e.get()){let t=(0,tD.X)(c.keyframes,a);if(void 0!==t)return void v.Gt.update(()=>{c.onUpdate(t),c.onComplete()})}return a.isSync?new t$(c):new t0(c)},t7=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),et=new Set(["INPUT","SELECT","TEXTAREA"]);function ee(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}var en=n(73142);function er(t){return(0,en.G)(t)&&"ownerSVGElement"in t}function ei(t,e,n){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let i=n?.[t]??r.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(t=>null!=t)}let eo=new WeakMap,es=(t,e,n)=>(r,i)=>i&&i[0]?i[0][t+"Size"]:er(r)&&"getBBox"in r?r.getBBox()[e]:r[n],ea=es("inline","width","offsetWidth"),el=es("block","height","offsetHeight");function eu({target:t,borderBoxSize:e}){eo.get(t)?.forEach(n=>{n(t,{get width(){return ea(t,e)},get height(){return el(t,e)}})})}function ec(t){t.forEach(eu)}let ed=new Set;function ef(t,e){return"function"==typeof t?(ed.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};ed.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{ed.delete(t),ed.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):function(t,e){r||"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(ec));let n=ei(t);return n.forEach(t=>{let n=eo.get(t);n||(n=new Set,eo.set(t,n)),n.add(e),r?.observe(t)}),()=>{n.forEach(t=>{let n=eo.get(t);n?.delete(e),n?.size||r?.unobserve(t)})}}(t,e)}let eh=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function ep(t){return{point:{x:t.pageX,y:t.pageY}}}function em(t,e,n,r){return ee(t,e,t=>eh(t)&&n(t,ep(t)),r)}let eg=({current:t})=>t?t.ownerDocument.defaultView:null;var ey=n(96344);let ev=(t,e)=>Math.abs(t-e),eb=new Set(["auto","scroll"]);class ew{constructor(t,e,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=e_(this.lastRawMoveEventInfo,this.transformPagePoint));let t=eE(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){return Math.sqrt(ev(t.x,e.x)**2+ev(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;let{point:r}=t,{timestamp:i}=v.uv;this.history.push({...r,timestamp:i});let{onStart:o,onMove:s}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=e_(e,this.transformPagePoint),v.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=eE("pointercancel"===t.type?this.lastMoveEventInfo:e_(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),r&&r(t,o)},!eh(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=r||window;let a=e_(ep(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=v.uv;this.history=[{...l,timestamp:u}];let{onSessionStart:c}=e;c&&c(t,eE(a,this.history));let d={passive:!0,capture:!0};this.removeListeners=V(em(this.contextWindow,"pointermove",this.handlePointerMove,d),em(this.contextWindow,"pointerup",this.handlePointerUp,d),em(this.contextWindow,"pointercancel",this.handlePointerUp,d)),s&&this.startScrollTracking(s)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(eb.has(t.overflowX)||eb.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let n=t===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:r.x-e.x,y:r.y-e.y};(0!==i.x||0!==i.y)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,r),v.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,v.WG)(this.updatePoint)}}function e_(t,e){return e?{point:e(t.point)}:t}function eS(t,e){return{x:t.x-e.x,y:t.y-e.y}}function eE({point:t},e){return{point:t,delta:eS(t,ex(e)),offset:eS(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null,i=ex(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>(0,D.f)(.1)));)n--;if(!r)return{x:0,y:0};r===t[0]&&t.length>2&&i.timestamp-r.timestamp>2*(0,D.f)(e)&&(r=t[1]);let o=(0,D.X)(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};let s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,.1)}}function ex(t){return t[t.length-1]}function eC(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function eA(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function eT(t,e,n){return{min:ek(t,e),max:ek(t,n)}}function ek(t,e){return"number"==typeof t?t:t[e]||0}let eR=new WeakMap;class eP{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,a.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let i=t=>{e&&this.snapToCursor(ep(t).point),this.stopAnimation()},o=(t,e)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(l[t])return null;else return l[t]=!0,()=>{l[t]=!1};return l.x||l.y?null:(l.x=l.y=!0,()=>{l.x=l.y=!1})}(n),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),u(t=>{let e=this.getAxisMotionValue(t).get()||0;if(c.KN.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[t];r&&(e=f(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),i&&v.Gt.update(()=>i(t,e),!1,!0),_(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},s=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:s}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),o&&v.Gt.update(()=>o(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();
13this.panSession=new ew(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:n,contextWindow:eg(this.visualElement),element:this.visualElement.current})}stop(t,e){let n=t||this.latestPointerEvent,r=e||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&v.Gt.postRender(()=>s(n,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,n){let{drag:r}=this.getProps();if(!n||!eI(t,r,this.currentDirection))return;let i=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},r){return void 0!==e&&t<e?t=r?(0,d.k)(e,t,r.min):Math.max(t,e):void 0!==n&&t>n&&(t=r?(0,d.k)(n,t,r.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&(0,ey.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(t,{top:e,left:n,bottom:r,right:i}){return{x:eC(t.x,n,i),y:eC(t.y,e,r)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:eT(t,"left","right"),y:eT(t,"top","bottom")}}(e),r!==this.constraints&&!(0,ey.X)(t)&&n&&this.constraints&&!this.hasMutatedConstraints&&u(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!(0,ey.X)(e))return!1;let r=e.current;(0,U.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());let o=function(t,e,n){let r=N(t,n),{scroll:i}=e;return i&&(P(r.x,i.offset.x),P(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),s=(t=i.layout.layoutBox,{x:eA(t.x,o.x),y:eA(t.y,o.y)});if(n){let t=n(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(s));this.hasMutatedConstraints=!!t,t&&(s=S(t))}return s}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(u(s=>{if(!eI(s,e,this.currentDirection))return;let l=a&&a[s]||{};(!0===o||o===s)&&(l={min:0,max:0});let u={type:"inertia",velocity:n?t[s]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return _(this.visualElement,t),n.start(t9(t,n,0,e,this.visualElement,!1))}stopAnimation(){u(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){u(e=>{let{drag:n}=this.getProps();if(!eI(e,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(e);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[e],s=i.get()||0;i.set(t[e]-(0,d.k)(n,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!(0,ey.X)(e)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};u(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let n=e.get();
13r[t]=function(t,e){let n=.5,r=f(t),i=f(e);return i>r?n=tI(e.min,e.max-r,t.min):r>i&&(n=tI(t.min,t.max-i,e.min)),(0,B.q)(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),u(e=>{if(!eI(e,t,null))return;let n=this.getAxisMotionValue(e),{min:i,max:o}=this.constraints[e];n.set((0,d.k)(i,o,r[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;eR.set(this.visualElement,this);let e=this.visualElement.current,n=em(e,"pointerdown",t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,o=i!==e&&(et.has(i.tagName)||!0===i.isContentEditable);n&&r&&!o&&this.start(t)}),r=()=>{let{dragConstraints:n}=this.getProps();(0,ey.X)(n)&&n.current&&(this.constraints=this.resolveRefConstraints(),t||(t=function(t,e,n){let r=ef(t,eO(n)),i=ef(e,eO(n));return()=>{r(),i()}}(e,n.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),v.Gt.read(r);let s=ee(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(u(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function eO(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function eI(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}class eM extends o{constructor(t){super(t),this.removeGroupControls=s.l,this.removeListeners=s.l,this.controls=new eP(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.l}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let eN=t=>(e,n)=>{t&&v.Gt.update(()=>t(e,n),!1,!0)};class eD extends o{constructor(){super(...arguments),this.removePointerDownListener=s.l}onPointerDown(t){this.session=new ew(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:eg(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:eN(t),onStart:eN(e),onMove:eN(n),onEnd:(t,e)=>{delete this.session,r&&v.Gt.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=em(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var eL=n(95155);let eV={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var eB=n(38358),eU=n(12115),e$=n(75601),eF=n(60296),ej=n(98860);let eG=!1;class eW extends eU.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=t;i&&(e.group&&e.group.add(i),n&&n.register&&r&&n.register(i),eG&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),eV.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:r,isPresent:i}=this.props,{projection:o}=n;return o&&(o.isPresent=i,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),eG=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||v.Gt.postRender(()=>
13{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:n}=t;n&&(n.options.layoutAnchor=e,n.root.didUpdate(),eB.k.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:r}=t;eG=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function eq(t){let[e,n]=(0,e$.xQ)(),r=(0,eU.useContext)(eF.L);return(0,eL.jsx)(eW,{...t,layoutGroup:r,switchLayoutGroup:(0,eU.useContext)(ej.N),isPresent:e,safeToRemove:n})}var eH=n(8453),ez=n(22039),eK=n(99256);function eX(t){return t.props[eK.n]}var eY=n(45385);let eQ={value:null,addProjectionMetrics:null};var eJ=n(7170),eZ=n(81666);let e0=eZ.S.length,e1=t=>"string"==typeof t?parseFloat(t):t,e2=t=>"number"==typeof t||c.px.test(t);function e3(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let e5=e6(0,.5,tT),e4=e6(.5,.95,s.l);function e6(t,e,n){return r=>r<t?0:r>e?1:n(tI(t,e,r))}function e8(t,e){t.min=e.min,t.max=e.max}function e9(t,e){e8(t.x,e.x),e8(t.y,e.y)}function e7(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nt(t,e,n,r,i){return t-=e,t=r+1/n*(t-r),void 0!==i&&(t=r+1/i*(t-r)),t}function ne(t,e,[n,r,i],o,s){!function(t,e=0,n=1,r=.5,i,o=t,s=t){if(c.KN.test(e)&&(e=parseFloat(e),e=(0,d.k)(s.min,s.max,e/100)-s.min),"number"!=typeof e)return;let a=(0,d.k)(o.min,o.max,r);t===o&&(a-=e),t.min=nt(t.min,e,n,a,i),t.max=nt(t.max,e,n,a,i)}(t,e[n],e[r],e[i],e.scale,o,s)}let nn=["x","scaleX","originX"],nr=["y","scaleY","originY"];function ni(t,e,n,r){ne(t.x,e,nn,n?n.x:void 0,r?r.x:void 0),ne(t.y,e,nr,n?n.y:void 0,r?r.y:void 0)}function no(t){return 0===t.translate&&1===t.scale}function ns(t){return no(t.x)&&no(t.y)}function na(t,e){return t.min===e.min&&t.max===e.max}function nl(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nu(t,e){return nl(t.x,e.x)&&nl(t.y,e.y)}function nc(t){return f(t.x)/f(t.y)}function nd(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var nf=n(16105);class nh{constructor(){this.members=[]}add(t){(0,nf.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let n=this.members[e];if(n===t||n===this.lead||n===this.prevLead)continue;let r=n.instance;r&&!1!==r.isConnected||n.snapshot||((0,nf.Ai)(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if((0,nf.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=t.options;(void 0===r||r!==i)&&(t.resumeFrom=n,e&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let np=(t,e)=>t.depth-e.depth;class nm{constructor(){this.children=[],this.isDirty=!1}add(t){(0,nf.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,nf.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(np),this.isDirty=!1,this.children.forEach(t)}}let ng={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ny=["","X","Y","Z"],nv=0;function nb(t,e,n,r){let{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),r&&(r[t]=0))}function nw({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(t={},n=e?.()){this.id=nv++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,eQ.value&&(ng.nodes=ng.calculatedTargetDeltas=ng.calculatedProjections=0),this.nodes.forEac
13h(nE),this.nodes.forEach(nI),this.nodes.forEach(nM),this.nodes.forEach(nx),eQ.addProjectionMetrics&&eQ.addProjectionMetrics(ng)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new nm)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new eH.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=er(e)&&!(er(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),t){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;v.Gt.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==r&&(r=t,this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=L.k.now(),r=({timestamp:e})=>{let i=e-n;i>=250&&((0,v.WG)(r),t(i-250))};return v.Gt.setup(r,!0),()=>(0,v.WG)(r)}(i,250),eV.hasAnimatedSinceResize&&(eV.hasAnimatedSinceResize=!1,this.nodes.forEach(nO)))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||nU,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!nu(this.targetLayout,r),u=!e&&n;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...t2(o,"layout"),onPlay:s,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||nO(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,v.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(nN),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:n}=e.options;if(!n)return;let r=eX(n);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",v.Gt,!(t||n))}let{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&t(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
13h(nT),this.nodes.forEach(nA);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(nk);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nR),this.nodes.forEach(nP),this.nodes.forEach(n_),this.nodes.forEach(nS)):this.nodes.forEach(nk),this.clearAllSnapshots();let t=L.k.now();v.uv.delta=(0,B.q)(0,1e3/60,t-v.uv.timestamp),v.uv.timestamp=t,v.uv.isProcessing=!0,v.PP.update.process(v.uv),v.PP.preRender.process(v.uv),v.PP.render.process(v.uv),v.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,eB.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nC),this.sharedNodes.forEach(nD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,v.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){v.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||f(this.snapshot.measuredBox.x)||f(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,a.ge)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!ns(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||C(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let n=this.measurePageBox(),r=this.removeElementScroll(n);return t&&(r=this.removeTransform(r)),nj((e=r).x),nj(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,a.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nW))){let{scroll:t}=this.root;t&&(P(e.x,t.offset.x),P(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,a.ge)();if(e9(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&e9(e,t),P(e.x,i.offset.x),P(e.y,i.offset.y))}return e}applyTransform(t,e=!1,n){let r=n||(0,a.ge)();e9(r,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(P(r.x,-n.scroll.offset.x),P(r.y,-n.scroll.offset.y)),C(n.latestValues)&&M(r,n.latestValues,n.layout?.layoutBox)}return C(this.latestValues)&&M(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(t){let e=(0,a.ge)();e9(e,t);for(let t=0;t<this.path.length;t++){let n,r=this.path[t];C(r.latestValues)&&(r.instance&&(x(r.latestValues)&&r.updateSnapshot(),e9(n=(0,a.ge)(),r.measurePageBox())),ni(e,r.latestValues,r.snapshot?.layoutBox,n))}return C(this.latestValues)&&ni(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==v.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
13if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=v.uv.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,a.ge)(),this.targetWithTransforms=(0,a.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,l,u,c;this.forceRelativeParentToResolveTarget(),s=this.target,l=this.relativeTarget,u=this.relativeParent.target,c=this.options.layoutAnchor||void 0,m(s.x,l.x,u.x,c?.x),m(s.y,l.y,u.y,c?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):e9(this.target,this.layout.layoutBox),R(this.target,this.targetDelta)):e9(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),eQ.value&&ng.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||x(this.parent.latestValues)||A(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,a.ge)(),this.relativeTargetOrigin=(0,a.ge)(),y(this.relativeTargetOrigin,e,n,this.options.layoutAnchor||void 0),e9(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===v.uv.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;e9(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(t,e,n,r=!1){let i,o,s=n.length;if(s){e.x=e.y=1;for(let a=0;a<s;a++){o=(i=n[a]).projectionDelta;let{visualElement:s}=i.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(P(t.x,-i.scroll.offset.x),P(t.y,-i.scroll.offset.y)),o&&(e.x*=o.x.scale,e.y*=o.y.scale,R(t,o)),r&&C(i.latestValues)&&M(t,i.latestValues,i.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,a.ge)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(e7(this.prevProjectionDelta.x,this.projectionDelta.x),e7(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),p(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&nd(this.projectionDelta.x,this.prevProjectionDelta.x)&&nd(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),eQ.value&&ng.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,a.xU)(),this.projectionDelta=(0,a.xU)(),this.projectionDeltaWithTransform=(0,a.xU)()}setAnimationOrigin(t,e=!1,n){let r,i=this.snapshot,o=i?i.latestValues:{},s={...this.latestValues},l=(0,a.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let u=(0,a.ge)(),f=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),p=!h||h.members.length<=1,m=!!(f&&!p&&!0===this.options.crossfade&&!this.path.some(nB));this.animationProgress=0;let g=n?.interpolateProjection(t);this.mixTargetDelta=e=>{let n=e/1e3,i=g?.(n);if(i?(l.x.translate=i.x,l.x.scale=(0,d.k)(t.x.scale,1,n),l.x.origin=t.x.origin,l.x.originPoint=t.x.originPoint,l.y.translate=i.y,l.y.scale=(0,d.k)(t.y.scale,1,n),l.y.origin=t.y.origin,l.y.originPoint=t.y.originPoint):(nL(l.x,t.x,n),nL(l.y,t.y,n)),this.setTargetDelta(l),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,v,b,w,_,S;y(u,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),b=this.relativeTarget,w=this.relativeTargetOrigin,_=u,S=n,nV(b.x,w.x,_.x,S),nV(b.y,w.y,_.y,S),r&&(h=this.relativeTarget,v=r,na(h.x,v.x)&&na(h.y,v.y))&&(this.isProjectionDirty=!1),r||(r=(0,a.ge)()),e9(r,this.relativeTarget)}f&&(this.animationValues=s,function(t,e,n,r,i,o){i?(t.opacity=(0,d.k
13)(0,n.opacity??1,e5(r)),t.opacityExit=(0,d.k)(e.opacity??1,0,e4(r))):o&&(t.opacity=(0,d.k)(e.opacity??1,n.opacity??1,r));for(let i=0;i<e0;i++){let o=eZ.S[i],s=e3(e,o),a=e3(n,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||e2(s)===e2(a)?(t[o]=Math.max((0,d.k)(e1(s),e1(a),r),0),(c.KN.test(a)||c.KN.test(s))&&(t[o]+="%")):t[o]=a)}(e.rotate||n.rotate)&&(t.rotate=(0,d.k)(e.rotate||0,n.rotate||0,r))}(s,o,this.latestValues,n,m,p)),i&&void 0!==i.rotate&&(this.animationValues||(this.animationValues=s),this.animationValues.pathRotation=i.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,v.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=v.Gt.update(()=>{eV.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,ez.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,n){let r=(0,w.S)(t)?t:(0,ez.OQ)(t);return r.start(t9("",r,e,n)),r.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:n,layout:r,latestValues:i}=t;if(e&&n&&r){if(this!==t&&this.layout&&r&&nG(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,a.ge)();let e=f(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let r=f(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+r}e9(e,n),M(e,i),p(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nh),this.sharedNodes.get(t).add(e);let n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
13return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;let r={};n.z&&nb("z",t,r,this.animationValues);for(let e=0;e<ny.length;e++)nb(`rotate${ny[e]}`,t,r,this.animationValues),nb(`skew${ny[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,eJ.u)(e?.pointerEvents)||"",t.transform=n?n(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,eJ.u)(e?.pointerEvents)||""),this.hasProjected&&!C(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1);return}t.visibility="";let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let o=function(t,e,n){let r="",i=t.x.translate/e.x,o=t.y.translate/e.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){let{transformPerspective:t,rotate:e,pathRotation:i,rotateX:o,rotateY:s,skewX:a,skewY:l}=n;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),i&&(r+=`rotate(${i}deg) `),o&&(r+=`rotateX(${o}deg) `),s&&(r+=`rotateY(${s}deg) `),a&&(r+=`skewX(${a}deg) `),l&&(r+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);n&&(o=n(i,o)),t.transform=o;let{x:s,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:t.opacity=r===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,eY.H){if(void 0===i[e])continue;let{correct:n,applyTo:s,isCSSVariable:a}=eY.H[e],l="none"===o?i[e]:n(i[e],r);if(s){let e=s.length;for(let n=0;n<e;n++)t[s[n]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?(0,eJ.u)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nA),this.root.sharedNodes.clear()}}}function n_(t){t.updateLayout()}function nS(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:r}=t.layout,{animationType:i}=t.options,o=e.source!==t.layout.source;if("size"===i)u(t=>{let r=o?e.measuredBox[t]:e.layoutBox[t],i=f(r);r.min=n[t].min,r.max=r.min+i});else if("x"===i||"y"===i){let t="x"===i?"y":"x";e8(o?e.measuredBox[t]:e.layoutBox[t],n[t])}else nG(i,e.layoutBox,n)&&u(r=>{let i=o?e.measuredBox[r]:e.layoutBox[r],s=f(n[r]);i.max=i.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+s)});let s=(0,a.xU)();p(s,n,e.layoutBox);let l=(0,a.xU)();o?p(l,t.applyTransform(r,!0),e.measuredBox):p(l,n,e.layoutBox);let c=!ns(s),d=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let s=t.options.layoutAnchor||void 0,l=(0,a.ge)();y(l,e.layoutBox,i.layoutBox,s);let u=(0,a.ge)();
13y(u,n,o.layoutBox,s),nu(l,u)||(d=!0),r.options.layoutRoot&&(t.relativeTarget=u,t.relativeTargetOrigin=l,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeLayoutChanged:d})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function nE(t){eQ.value&&ng.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nx(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nC(t){t.clearSnapshot()}function nA(t){t.clearMeasurements()}function nT(t){t.isLayoutDirty=!0,t.updateLayout()}function nk(t){t.isLayoutDirty=!1}function nR(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function nP(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nO(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nI(t){t.resolveTargetDelta()}function nM(t){t.calcProjection()}function nN(t){t.resetSkewAndRotation()}function nD(t){t.removeLeadSnapshot()}function nL(t,e,n){t.translate=(0,d.k)(e.translate,0,n),t.scale=(0,d.k)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function nV(t,e,n,r){t.min=(0,d.k)(e.min,n.min,r),t.max=(0,d.k)(e.max,n.max,r)}function nB(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nU={duration:.45,ease:[.4,0,.1,1]},n$=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),nF=n$("applewebkit/")&&!n$("chrome/")?Math.round:s.l;function nj(t){t.min=nF(t.min),t.max=nF(t.max)}function nG(t,e,n){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nc(e)-nc(n)))}function nW(t){return t!==t.root&&t.scroll?.wasRoot}let nq=nw({attachResizeListener:(t,e)=>ee(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),nH={current:void 0},nz=nw({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nH.current){let t=new nq({});t.mount(window),t.setOptions({layoutScroll:!0}),nH.current=t}return nH.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var nK=n(10883);function nX(t,e,n){let r=t.getProps();return(0,nK.a)(r,e,void 0!==n?n:r.custom,t)}let nY=new Set(["width","height","top","left","right","bottom",...t3.U]),nQ=t=>Array.isArray(t),nJ="undefined"!=typeof window;function nZ(t,e,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:s,...a}=e,l=t.getDefaultTransition();o=o?t1(o,l):l;let u=o?.reduceMotion,c=o?.skipAnimations;r&&(o=r);let d=[],f=i&&t.animationState&&t.animationState.getState()[i],h=o?.path;for(let e in h&&h.animateVisualElement(t,a,o,n,d),a){let r=t.getValue(e,t.latestValues[e]??null),i=a[e];if(void 0===i||f&&function({protectedKeys:t,needsAnimating:e},n){let r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}(f,e))continue;let s={delay:n,...t2(o||{},e)};c&&(s.skipAnimations=!0);let l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(i)&&i===l&&!s.velocity){v.Gt.update(()=>r.set(i));continue}let h=!1;if(nJ&&window.MotionHandoffAnimation){let n=eX(t);if(n){let t=window.MotionHandoffAnimation(n,e,v.Gt);null!==t&&(s.startTime=t,h=!0)}}_(t,e);let p=u??t.shouldReduceMotion;r.start(t9(e,r,i,p&&nY.has(e)?{type:!1}:s,t,h));let m=r.animation;m&&d.push(m)}if(s){let e=()=>v.Gt.update(()=>{s&&function(t,e){let{transitionEnd:n={},transition:r={},...i}=nX(t,e)||{};for(let e in i={...i,...n}){var o;let n=nQ(o=i[e])?o[o.length-1]||0:o;t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,ez.OQ)(n))}}(t,s)});d.length?Promise.all(d).then(e):e()}return d}function n0(t,e,n,r=0,i=1){let o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),s=t.size,a=(s-1)*r;return"function"==typeof n?n(o,s):1===i?o*r:a-o*r}function n1(t,e,n={}){let r=nX(t,e,"exit"===n.type?t.presenceContext?.custom:void 0),{transition:i=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(nZ(t,r,n)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(t,e,n=0,r=0,i=0,o=1,s){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(n1(l,e,{...s,delay:n+("function"==typeof r?0:r)+n0(t.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,o,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(n.delay)]);{let[t,e]="beforeChildren"===a?[o,s]:[s,o];return t().then(()=>e())}}var n2=n(19461),n3=n(52036);let n5=n3._.length;var n4=n(36874);function n6(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}let n8=[...n3.U].reverse(),n9=n3.U.length;function n7(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rt(){return{animate:n7(!0),whileInView:n7(),whileHover:n7(),whileTap:n7(),whileDrag:n7(),whileFocus:n7(),exit:n7()}}class re extends o{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>n1(t,e,n)));else if("string"==typeof e)r=n1(t,e,n);else{let i="function"==typeof e?nX(t,e,n.custom):e;r=Promise.all(nZ(t,i,n))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,n))),n=rt(),r=!0,i=!1,o=e=>(n,r)=>{let i=nX(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(i){let{transition:t,transitionEnd:e,...r}=i;
13n={...n,...r,...e}}return n};function s(s){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}let n={};for(let t=0;t<n5;t++){let r=n3._[t],i=e.props[r];((0,n2.w)(i)||!1===i)&&(n[r]=i)}return n}(t.parent)||{},u=[],c=new Set,d={},f=1/0;for(let e=0;e<n9;e++){var h,p;let m=n8[e],g=n[m],y=void 0!==a[m]?a[m]:l[m],v=(0,n2.w)(y),b=m===s?g.isActive:null;!1===b&&(f=e);let w=y===l[m]&&y!==a[m]&&v;if(w&&(r||i)&&t.manuallyAnimateOnMount&&(w=!1),g.protectedKeys={...d},!g.isActive&&null===b||!y&&!g.prevProp||(0,n4.N)(y)||"boolean"==typeof y)continue;if("exit"===m&&g.isActive&&!0!==b){g.prevResolvedValues&&(d={...d,...g.prevResolvedValues});continue}let _=(h=g.prevProp,"string"==typeof(p=y)?p!==h:!!Array.isArray(p)&&!n6(p,h)),S=_||m===s&&g.isActive&&!w&&v||e>f&&v,E=!1,x=Array.isArray(y)?y:[y],C=x.reduce(o(m),{});!1===b&&(C={});let{prevResolvedValues:A={}}=g,T={...A,...C},k=e=>{S=!0,c.has(e)&&(E=!0,c.delete(e)),g.needsAnimating[e]=!0;let n=t.getValue(e);n&&(n.liveStyle=!1)};for(let t in T){let e=C[t],n=A[t];if(!d.hasOwnProperty(t))(nQ(e)&&nQ(n)?!n6(e,n)||_:e!==n)?null!=e?k(t):c.add(t):void 0!==e&&c.has(t)?k(t):g.protectedKeys[t]=!0}g.prevProp=y,g.prevResolvedValues=C,g.isActive&&(d={...d,...C}),(r||i)&&t.blockInitialAnimation&&(S=!1);let R=w&&_,P=!R||E;S&&P&&u.push(...x.map(e=>{let n={type:m};if("string"==typeof e&&(r||i)&&!R&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,i=nX(r,e);if(r.enteringChildren&&i){let{delayChildren:e}=i.transition||{};n.delay=n0(r.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(c.size){let e={};if("boolean"!=typeof a.initial){let n=nX(t,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(e.transition=n.transition)}c.forEach(n=>{let r=t.getBaseTarget(n),i=t.getValue(n);i&&(i.liveStyle=!0),e[n]=r??null}),u.push({animation:e})}let m=!!u.length;return r&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(m=!1),r=!1,i=!1,m?e(u):Promise.resolve()}return{animateChanges:s,setActive:function(e,r){if(n[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),n[e].isActive=r;let i=s(e);for(let t in n)n[t].protectedKeys={};return i},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=rt(),i=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,n4.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let rn=0;class rr extends o{constructor(){super(...arguments),this.id=rn++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&!1===n){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let n=nX(this.node,t,e);if(n){let{transition:t,transitionEnd:e,...r}=n;for(let t in r)this.node.getValue(t)?.jump(r[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
13e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}function ri(t,e){let n=ei(t),r=new AbortController;return[n,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function ro(t,e,n){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&v.Gt.postRender(()=>i(e,ep(e)))}class rs extends o{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[r,i,o]=ri(t,n);return r.forEach(t=>{let n,r=!1,o=!1,s=e=>{n&&(n(e),n=void 0),t.removeEventListener("pointerleave",u)},a=t=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,s(t))},u=t=>{if("touch"!==t.pointerType){if(r){o=!0;return}s(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||l.x||l.y)return;o=!1;let s=e(t,r);"function"==typeof s&&(n=s,t.addEventListener("pointerleave",u,i))},i),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",a,i)},i)}),o}(t,(t,e)=>(ro(this.node,e,"Start"),t=>ro(this.node,t,"End"))))}unmount(){}}class ra extends o{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=V(ee(this.node.current,"focus",()=>this.onFocus()),ee(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var rl=n(81402);let ru=(t,e)=>!!e&&(t===e||ru(t,e.parentElement)),rc=new WeakSet;function rd(t){return e=>{"Enter"===e.key&&t(e)}}function rf(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function rh(t){return eh(t)&&!(l.x||l.y)}let rp=new WeakSet;function rm(t,e,n){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&v.Gt.postRender(()=>i(e,ep(e)))}class rg extends o{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=function(t,e,n={}){let[r,i,o]=ri(t,n),s=t=>{let r=t.currentTarget;if(!rh(t)||rp.has(t))return;rc.add(r),n.stopPropagation&&rp.add(t);let o=e(r,t),s={...i,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,s),window.removeEventListener("pointercancel",u,s),rc.has(r)&&rc.delete(r),rh(t)&&"function"==typeof o&&o(t,{success:e})},l=t=>{a(t,r===window||r===document||n.useGlobalTarget||ru(r,t.target))},u=t=>{a(t,!1)};window.addEventListener("pointerup",l,s),window.addEventListener("pointercancel",u,s)};return r.forEach(t=>{((n.useGlobalTarget?window:t).addEventListener("pointerdown",s,i),(0,rl.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let n=t.currentTarget;if(!n)return;let r=rd(()=>{if(rc.has(n))return;rf(n,"down");let t=rd(()=>{rf(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>rf(n,"cancel"),e)});n.addEventListener("keydown",r,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),e)})(t,i)),t7.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(t,(t,e)=>(rm(this.node,e,"Start"),(t,{success:e})=>rm(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:n?.tap===!1})}unmount(){}}let ry=new WeakMap,rv=new WeakMap,rb=t=>{let e=ry.get(t.target);e&&e(t)},rw=t=>{t.forEach(rb)},r_={some:0,all:1};class rS extends o{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:i}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:r_[r]},s=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=e?n:r;o&&o(t)};this.stopObserver=function(t,e,n){let r=function({root:t,...e}){let n=t||document;rv.has(n)||rv.set(n,{});let r=rv.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(rw,{root:t,...e})),r[i]}(e);return ry.set(t,n),r.observe(t),()=>{ry.delete(t),r.unobserve(t)}}(this.node.current,o,s)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}var rE=n(98387),rx=n(20091),rC=n(23863);let rA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var rT=n(15075),rk=n(82264);
13let rR=new Set(["auto","none","0"]);var rP=n(78617);class rO extends tF.h{constructor(t,e,n,r,i){super(t,e,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let r=t[n];if("string"==typeof r&&(r=r.trim(),(0,$.pG)(r))){let i=function t(e,n,r=1){(0,U.V)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(t){let e=rA.exec(t);if(!e)return[,];let[,n,r,i]=e;return[`--${n??r}`,i]}(e);if(!i)return;let s=window.getComputedStyle(n).getPropertyValue(i);if(s){let t=s.trim();return(0,rC.i)(t)?parseFloat(t):t}return(0,$.pG)(o)?t(o,n,r+1):o}(r,e.current);void 0!==i&&(t[n]=i),n===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!nY.has(n)||2!==t.length)return;let[r,i]=t,o=(0,rx.n)(r),s=(0,rx.n)(i);if((0,$.rm)(r)!==(0,$.rm)(i)&&rP.Hr[n]){this.needsMeasurement=!0;return}if(o!==s)if((0,rP.E4)(o)&&(0,rP.E4)(s))for(let e=0;e<t.length;e++){let n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else rP.Hr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++){var r;(null===t[e]||("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||(0,rT.$)(r)))&&n.push(e)}n.length&&function(t,e,n){let r,i=0;for(;i<t.length&&!r;){let e=t[i];"string"==typeof e&&!rR.has(e)&&(0,j.V)(e).values.length&&(r=t[i]),i++}if(r&&n)for(let i of e)t[i]=(0,rk.J)(n,r)}(t,n,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=rP.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(n,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,o=n[i];n[i]=rP.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
13h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}var rI=n(65752);class rM extends rI.BX{constructor(){super(...arguments),this.KeyframeResolver=rO}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,w.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var rN=n(32246),rD=n(31439);let rL=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var rV=n(36795);function rB(t,{style:e,vars:n},r,i){let o,s=t.style;for(o in e)s[o]=e[o];for(o in i?.applyProjectionStyles(s,r),n)s.setProperty(o,n[o])}var rU=n(35043);class r$ extends rM{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=a.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(t3.f.has(e)){let t=(0,rE.D)(e);return t&&t.default||0}if(rD.W.includes(e)){let n=getComputedStyle(t)[e];if("string"==typeof n&&n)return n.trim()}return e=rL.has(e)?e:(0,rN.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return(0,rU.x)(t,e,n)}
13build(t,e,n){(0,rD.B)(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,r){for(let n in rB(t,e,void 0,r),e.attrs)t.setAttribute(rL.has(n)?n:(0,rN.I)(n),e.attrs[n])}mount(t){this.isSVGTag=(0,rV.n)(t.tagName),super.mount(t)}}var rF=n(37899),rj=n(38708),rG=n(76066);class rW extends rM{constructor(){super(...arguments),this.type="html",this.renderInstance=rB}mount(t){(0,U.V)(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(t3.f.has(e))return this.projection?.isProjecting?(0,rF.zs)(e):(0,rF.Ib)(t,e);{let n=window.getComputedStyle(t),r=((0,$.j4)(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return N(t,e)}build(t,e,n){(0,rj.O)(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return(0,rG.x)(t,e,n)}}var rq=n(36619);let rH={renderer:(t,e)=>e.isSVG??(0,rq.Q)(t)?new r$(e):new rW(e,{allowProjection:t!==eU.Fragment}),animation:{Feature:re},exit:{Feature:rr},inView:{Feature:rS},tap:{Feature:rg},focus:{Feature:ra},hover:{Feature:rs},pan:{Feature:eD},drag:{Feature:eM,ProjectionNode:nz,MeasureLayout:eq},layout:{ProjectionNode:nz,MeasureLayout:eq}}},87073:(t,e,n)=>{n.d(e,{L2:()=>B});var r=n(36867),i=n(23512);function o(t,e){let n,o=0,s=[],a=!0,l=0,u=[],{stop:c}=(0,r.q2)(t,"message",({data:t})=>{if("wrote"!==t.type||t.streamId!==e)return;let r=u[0];r&&(r.id===t.id?(u.shift(),o+=t.additionalBytesCount,s.push(t.result),n=t.trailer,r.writeCallback?r.writeCallback(t.result.byteLength):r.finishCallback&&r.finishCallback()):r.id<t.id&&c())});function d(){let t=0===s.length?new Uint8Array(0):(0,i.wh)(s.concat(n)),e={rawBytesCount:o,output:t,outputBytesCount:t.byteLength,encoding:"deflate"};return o=0,s=[],e}function f(){a||(t.postMessage({action:"reset",streamId:e}),a=!0)}return{isAsync:!0,get isEmpty(){return a},write(n,r){t.postMessage({action:"write",id:l,data:n,streamId:e}),u.push({id:l,writeCallback:r,data:n}),a=!1,l+=1},finish(t){f(),u.length?(u.forEach(t=>{delete t.writeCallback}),u[u.length-1].finishCallback=()=>t(d())):t(d())},finishSync(){f();let t=u.map(t=>t.data).join("");return u.length=0,{...d(),pendingData:t}},estimateEncodedBytesCount:t=>t.length/8,stop(){c()}}}var s=n(30257),a=n(5076),l=n(91359);function u({configuredUrl:t,error:e,source:n,scriptType:r}){var i;if(s.V.error(`${n} failed to start: an error occurred while initializing the ${r}:`,e),e instanceof Event||e instanceof Error&&((i=e.message).includes("Content Security Policy")||i.includes("requires 'TrustedScriptURL'"))){let e;e=t?`Please make sure the ${r} URL ${t} is correct and CSP is correctly configured.`:"Please make sure CSP is correctly configured.",s.V.error(`${e} See documentation at ${l.fH}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else"worker"===r&&(0,a.VJ)(e)}var c=n(52157),d=n(62304),f=n(73208);let h=30*f.OY;function p(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t?.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;
13for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},D=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},M=!1,j=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},C=j,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),O=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},T={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=C,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=T[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;
vendor: 8,957 bytes, line 13
13for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?j(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);D(t,t.dyn_ltree,e-1),D(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=O(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t?.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){M||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),M=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t?.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra?.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=O(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>
13=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t?.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(T[n]);if(t.header&&(e=this.strm,a=t.header,e?.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t?.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
13i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(T[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch{t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"7.13.0"};case"write":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=(new TextEncoder).encode(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();'])))}let m={status:0};function g(t,e,n){switch(0===m.status&&function(t,e){try{let n=(0,c.B)(p)(t),{stop:i}=(0,r.q2)(n,"error",n=>{y(t,e,n)}),{stop:o}=(0,r.q2)(n,"message",({data:n})=>{var r;"errored"===n.type?y(t,e,n.error,n.streamId):"initialized"===n.type&&(r=n.version,1===m.status&&(m={status:3,worker:m.worker,stop:m.stop,version:r}))});n.postMessage({action:"init"}),(0,d.wg)(()=>{var t;return t=e,void(1===m.status&&(s.V.error(`${t} failed to start: a timeout occurred while initializing the Worker`),m.initializationFailureCallbacks.forEach(t=>t()),m={status:2}))},h),m={status:1,worker:n,stop:()=>{i(),o()},initializationFailureCallbacks:[]}}catch(n){y(t,e,n)}}(t,e),m.status){case 1:return m.initializationFailureCallbacks.push(n),m.worker;case 3:return m.worker}}function y(t,e,n,r){1===m.status||0===m.status?(u({configuredUrl:t.workerUrl,error:n,source:e,scriptType:"worker"}),1===m.status&&m.initializationFailureCallbacks.forEach(t=>t()),m={status:2}):(0,a.VJ)(n,{worker_version:3===m.status&&m.version,stream_id:r})}var v=n(45311),b=n(4564),w=n(52654);async function _(){try{return await (0,c.B)(S)()}catch(t){u({error:t,source:"Recorder",scriptType:"module"})}}async function S(){return(await n.e(13581).then(n.bind(n,96811))).startRecording}var E=n(96976),x=n(11370),C=n(4454);async function A(t,e,n){try{return await n}finally{t.notify(e)}}var T=n(60094),k=n(98610),R=n(32121);function P(){return void 0!==R.J.Profiler}var O=n(8828);async function I(){try{return await (0,c.B)(M)()}catch(t){u({error:t,source:"Profiler",scriptType:"module"})}}async function M(){return(await n.e(12440).then(n.bind(n,76452))).createRumProfiler}var N=n(21990),D=n(30702);let L=function(){let t;if((0,T.d0)()&&!(0,T.Ww)(T.oc.RECORDS))return{start:w.l,stop:w.l,getReplayStats:()=>void 0,onRumStart:w.l,isRecording:()=>!1,getSessionReplayLink:()=>void 0};let{strategy:e,shouldStartImmediately:n}=(t=0,{strategy:{start(){t=1},stop(){t=2},isRecording:()=>!1,getSessionReplayLink:w.l},shouldStartImmediately:e=>1===t||0===t&&!e.startSessionReplayRecordingManually});return{start:t=>e.start(t),stop:()=>e.stop(),getSessionReplayLink:()=>e.getSessionReplayLink(),onRumStart:function(t,r,i,s,l,u){let c;e=function(t,e,n,r,i,o){let s,l=0;e.subscribe(b.Rg.SESSION_EXPIRED,()=>{(2===l||3===l)&&(h(),l=1)}),e.subscribe(b.Rg.SESSION_RENEWED,()=>{1===l&&d()});let u=new E.cP;!function(t,e){let n,r,i;if(!t.metricsEnabled)return w.l;let{unsubscribe:o}=e.subscribe(t=>{switch(t.type){case"start":n={forced:t.forced,timestamp:(0,f.nx)()},r=void 0,i=void 0;break;case"document-ready":n&&(r=(0,f.vk)(n.timestamp,(0,f.nx)()));break;
13case"recorder-settled":n&&(i=(0,f.vk)(n.timestamp,(0,f.nx)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":var e,s,l,u;o(),n&&(0,a.Gk)(a.Xf.RECORDER_INIT_METRICS_TELEMETRY_NAME,{metrics:(e=n.forced,s=i,l=(0,f.vk)(n.timestamp,(0,f.nx)()),u=t.type,{forced:e,loadRecorderModuleDuration:s,recorderInitDuration:l,result:u,waitForDocReadyDuration:r})})}})}(o,u);let c=async a=>{u.notify({type:"start",forced:a});let[c]=await Promise.all([A(u,{type:"recorder-settled"},_()),A(u,{type:"document-ready"},(0,x.N)("interactive"))]);if(2!==l)return void u.notify({type:"aborted"});if(!c){l=0,u.notify({type:"recorder-load-failed"});return}let d=i();if(!d){l=0,u.notify({type:"deflate-encoder-load-failed"});return}({stop:s}=c(e,t,n,r,d,o)),l=3,u.notify({type:"succeeded"})};function d(e){var r,i,o,s,a;let u=n.findTrackedSession(),d=u?(0,b.K$)(u,t):void 0;if(r=d,i=e,!(void 0!==r&&(r!==b.xC.OFF||i?.force))){l=1;return}if(2===(o=l)||3===o)return;l=2;let f=(s=d,(a=e)&&a.force&&s===b.xC.OFF||!1);c(f).catch(C.Dx),f&&n.updateSessionState({forcedReplay:"1"})}function h(){3===l&&s?.(),l=0}return{start:d,stop:h,getSessionReplayLink:()=>(function(t,e,n,r){var i,o,s;let a=e.findTrackedSession(),l=(i=t,o=a,s=r,o?(0,b.K$)(o,i)===b.xC.OFF?"incorrect-session-plan":s?void 0:"replay-not-started":"rum-not-tracked"),u=n.findView();return(0,b.dx)(t,{viewContext:u,errorType:l,session:a})})(t,n,r,0!==l),isRecording:()=>3===l}}(r,t,i,s,function(){return!c&&(l??=g(r,"Datadog Session Replay",()=>e.stop()))&&(c=o(l,k.j.REPLAY)),c},u),n(r)&&e.start()},isRecording:()=>3===m.status&&e.isRecording(),getReplayStats:t=>3===m.status?(0,v.lv)(t):void 0}}(),V=function(){let t;return{onRumStart:function(e,n,r,i,o,s){var a,l;let u,d=i.findTrackedSession();if(!d||(a=r,l=d,(0,T.d0)()?!(0,T.Ww)(T.oc.PROFILES):!(0,N.$5)(l.id,(0,N.it)(a.sessionSampleRate,a.profilingSampleRate))))return;let f=(u={status:"starting"},n.assembleEventDefaults.register(({eventType:t})=>t!==b.bb.VIEW&&t!==b.bb.LONG_TASK&&t!==b.bb.ACTION&&t!==b.bb.VITAL?O.$O:{type:t,_dd:{profiling:u}}),{get:()=>u,set:t=>{u=t}});if(!(0,c.B)(P)())return void f.set({status:"error",error_reason:"not-supported-by-browser"});(0,c.B)(I)().then(n=>{if(!n)return void f.set({status:"error",error_reason:"failed-to-lazy-load"});(t=n(r,e,i,f,s,o,void 0)).start()}).catch(C.Dx)},stop:()=>{t?.stop()}}}(),B=(0,b.AB)(L,V,{startDeflateWorker:g,createDeflateEncoder:o,sdkName:"rum"});(0,D.Z)(R.J,"DD_RUM",B)},87671:(t,e,n)=>{n.d(e,{q:()=>r});class r{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},87913:(t,e,n)=>{n.d(e,{M:()=>r});let r=new Set(["opacity","clipPath","filter","transform","backgroundColor"])},88569:(t,e,n)=>{n.d(e,{D:()=>o,w:()=>i});var r=n(96976);let i={GRANTED:"granted",NOT_GRANTED:"not-granted"};function o(t){let e=new r.cP;function n(){return t===i.GRANTED}return{tryToInit(e){t||(t=e)},onGrantedOnce(t){if(n())t();else{let r=e.subscribe(()=>{n()&&(t(),r.unsubscribe())})}},update(n){t=n,e.notify()},isGranted:n,observable:e}}},88695:(t,e,n)=>{n.d(e,{H7:()=>a,my:()=>l,tv:()=>d});var r=n(62304),i=n(52654),o=n(92072),s=n(4454);function a(t,e,n,{computeHandlingStack:r}={}){let s=t[e];if("function"!=typeof s)if(!(e in t&&"string"==typeof e&&e.startsWith("on")))return{stop:i.l};else s=i.l;let l=!1,{stop:d}=u(t,e,s,function(){if(l)return s.apply(this,arguments);let t=Array.from(arguments);return c(n,{target:this,parameters:t,handlingStack:r?(0,o.uC)("instrumented method"):void 0},()=>s.apply(this,t))});return{stop:()=>{l=!0,d()}}}function l(t,e,n,{computeHandlingStack:r}={}){let s=t[e];if("function"!=typeof s)return{stop:i.l};let a=!1,d=function(){if(!new.target)return Reflect.apply(s,this,Array.from(arguments));let t=new.target===d?s:new.target;if(a)return Reflect.construct(s,arguments,t);let e=Array.from(arguments);return c(n,{parameters:e,handlingStack:r?(0,o.uC)("instrumented constructor"):void 0},()=>Reflect.construct(s,e,t))},f=function(t,e){for(let n of[].concat(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e))){let r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}let{stop:n}=u(e.prototype,"constructor",e.prototype.constructor,t);return n}(d,s),{stop:h}=u(t,e,s,d);return{stop:()=>{a=!0,f(),h()}}}function u(t,e,n,r){return t[e]=r,{stop:()=>{t[e]===r&&(t[e]=n)}}}function c(t,e,n){let r;(0,s.um)(t,null,[{...e,onPostCall:t=>{r=t}}]);let i=n();return r&&(0,s.um)(r,null,[i]),i}function d(t,e,n){let o=Object.getOwnPropertyDescriptor(t,e);if(!o?.set||!o.configurable)return{stop:i.l};let s=i.l,a=(t,e)=>{(0,r.wg)(()=>{a!==s&&n(t,e)},0)},l=function(t){o.set.call(this,t),a(this,t)};return Object.defineProperty(t,e,{set:l}),{stop:()=>{Object.getOwnPropertyDescriptor(t,e)?.set===l&&Object.defineProperty(t,e,o),a=s}}}},89166:(t,e,n)=>{n.d(e,{W:()=>i});var r=n(32121);function i(t,e){let n,i=r.J;return i.Zone&&"function"==typeof i.Zone.__symbol__&&(n=t[i.Zone.__symbol__(e)]),n||(n=t[e]),n}},90275:(t,e,n)=>{let r,i;n.d(e,{AY:()=>a,L2:()=>l,c$:()=>u,l2:()=>s});var o=n(32121);function s(t){return u(t,o.J.document?.baseURI??o.J.location?.href).href}function a(t){try{return!!u(t)}catch{return!1}}function l(t){let e=u(t).pathname;return"/"===e[0]?e:`/${e}`}function u(t,e){let n=function(){if(!r){let t=!1;try{t="http://a/b"===new o.J.URL("b","http://a").href}catch{}r=t?o.J.URL:function(){if(!i){let t,e;try{(t=document.createElement("iframe")).style.display="none",document.body.appendChild(t),e=t.contentWindow??o.J}catch{e=o.J}i={URL:e.URL},t?.remove()}return i}().URL}return r}();try{return void 0!==e?new n(t,e):new n(t)}catch(t){throw Error(`Failed to construct URL: ${String(t)}`)}}},90320:(t,e,n)=>{n.d(e,{Lp:()=>a,XX:()=>u,tX:()=>s,wt:()=>l});var r=n(95155),i=n(12115);let o=i.createContext({footnotes:{},setFootnotes:()=>{}}),s=({children:t})=>{let[e,n]=(0,i.useState)({});return(0,r.jsx)(o.Provider,{value:{footnotes:e,setFootnotes:n},children:t})},a=()=>(0,i.useContext)(o),l=t=>{let{setFootnotes:e}=a();(0,i.useEffect)(()=>{t&&e(t)},[t,e])},u=()=>{let{footnotes:t}=a();return e=>t[e]}},91359:(t,e,n)=>{n.d(e,{JZ:()=>s,XH:()=>l,Z9:()=>a,bP:()=>o,fH:()=>r,xG:()=>i});let r="https://docs.datadoghq.com",i="More details:",o={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},s=console,a={log:s.log,debug:s.debug,info:s.info,warn:s.warn,error:s.error};function l(t){return{debug:a.debug.bind(s,t),log:a.log.bind(s,t),info:a.info.bind(s,t),warn:a.warn.bind(s,t),error:a.error.bind(s,t)}}},91451:(t,e,n)=>{n.d(e,{Go:()=>o,kg:()=>s});var r=n(44666);function i(t,e,n){if(void 0===e)return t;if("object"!=typeof e||null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e.source,e.flags);if(n.hasAlreadyBeenSeen(e))return;if(Array.isArray(e)){let r=Array.isArray(t)?t:[];for(let t=0;t<e.length;++t)r[t]=i(r[t],e[t],n);return r}let o="object"===(0,r.Pw)(t)?t:{};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&"__proto__"!==t&&(o[t]=i(o[t],e[t],n));return o}function o(t){return i(void 0,t,a())}function s(...t){let e;for(let n of t)null!=n&&(e=i(e,n,a()));return e}function a(){let t=new WeakSet;return{hasAlreadyBeenSeen(e){let n=t.has(e);return n||t.add(e),n}}}},91885:(t,e,n)=>{function r(t){return t>=500}function i(t){try{return t.clone()}catch{return}}n.d(e,{G:()=>r,i:()=>i})},92072:(t,e,n)=>{n.d(e,{NR:()=>a,Yn:()=>s,uC:()=>o});var r=n(52909),i=n(4454);function o(t){let e,n=Error(t);return n.name="HandlingStack",(0,i.um)(()=>{let t=(0,r.T)(n);t.stack=t.stack.slice(2),e=s(t)}),e}function s(t){let e=a(t);return t.stack.forEach(t=>{let n="?"===t.func?"<anonymous>":t.func,r=t.args&&t.args.length>0?`(${t.args.join(", ")})`:"",i=t.line?`:${t.line}`:"",o=t.line&&t.column?`:${t.column}`:"";e+=` 14 at ${n}${r} @ ${t.url}${i}${o}`}),e}function a(t){return`${t.name||"Error"}: ${t.message}`}},92419:(t,e,n)=>{n.d(e,{KN:()=>o,gQ:()=>u,px:()=>s,uj:()=>i,vh:()=>a,vw:()=>l});let r=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}
14),i=r("deg"),o=r("%"),s=r("px"),a=r("vh"),l=r("vw"),u={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},93709:(t,e,n)=>{n.d(e,{zK:()=>o});var r=n(40479),i=n(45385);function o(t,{layout:e,layoutId:n}){return r.f.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!i.H[t]||"opacity"===t)}},93938:(t,e,n)=>{n.d(e,{y:()=>i});var r=n(30257);function i(t,e){return(...n)=>{try{return t(...n)}catch(t){r.V.error(e,t)}}}},96344:(t,e,n)=>{n.d(e,{X:()=>r});function r(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}},96868:(t,e,n)=>{n.d(e,{W:()=>a});var r=n(37822);let i={...r.ai,transform:Math.round};var o=n(92419);let s={rotate:o.uj,pathRotation:o.uj,rotateX:o.uj,rotateY:o.uj,rotateZ:o.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:o.uj,skewX:o.uj,skewY:o.uj,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:r.X4,originX:o.gQ,originY:o.gQ,originZ:o.px},a={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius:o.px,borderTopLeftRadius:o.px,borderTopRightRadius:o.px,borderBottomRightRadius:o.px,borderBottomLeftRadius:o.px,width:o.px,maxWidth:o.px,height:o.px,maxHeight:o.px,top:o.px,right:o.px,bottom:o.px,left:o.px,inset:o.px,insetBlock:o.px,insetBlockStart:o.px,insetBlockEnd:o.px,insetInline:o.px,insetInlineStart:o.px,insetInlineEnd:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,paddingBlock:o.px,paddingBlockStart:o.px,paddingBlockEnd:o.px,paddingInline:o.px,paddingInlineStart:o.px,paddingInlineEnd:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,marginBlock:o.px,marginBlockStart:o.px,marginBlockEnd:o.px,marginInline:o.px,marginInlineStart:o.px,marginInlineEnd:o.px,fontSize:o.px,backgroundPositionX:o.px,backgroundPositionY:o.px,...s,zIndex:i,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:i}},96976:(t,e,n)=>{n.d(e,{dX:()=>l,cP:()=>s,Fx:()=>a});var r=n(32121),i=n(4454);function o(t){let e=r.J.queueMicrotask;"function"==typeof e?e((0,i.dm)(t)):Promise.resolve().then((0,i.dm)(t))}var s=class{constructor(t){this.onFirstSubscribe=t,this.observers=[]}subscribe(t){return this.addObserver(t),{unsubscribe:()=>this.removeObserver(t)}}notify(t){this.observers.forEach(e=>e(t))}addObserver(t){this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(t){this.observers=this.observers.filter(e=>t!==e),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}};function a(...t){return new s(e=>{let n=t.map(t=>t.subscribe(t=>e.notify(t)));return()=>n.forEach(t=>t.unsubscribe())})}var l=class extends s{constructor(t,e){super(),this.maxBufferSize=t,this.onDrop=e,this.buffer=[],this.droppedCount=0}notify(t){this.buffer.push(t),this.buffer.length>this.maxBufferSize&&(this.buffer.shift(),this.droppedCount++),super.notify(t)}subscribe(t){let e=!1;return o(()=>{for(let n of this.buffer){if(e)return;t(n)}e||this.addObserver(t)}),{unsubscribe:()=>{e=!0,this.removeObserver(t)}}}unbuffer(){o(()=>{this.droppedCount>0&&this.onDrop&&this.onDrop(this.droppedCount),this.maxBufferSize=this.buffer.length=0})}}},98387:(t,e,n)=>{n.d(e,{D:()=>a});var r=n(55389),i=n(81288),o=n(83370);let s={...n(96868).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:i.p,WebkitFilter:i.p,mask:o.d,WebkitMask:o.d},a=t=>s[t]},98610:(t,e,n)=>{n.d(e,{j:()=>r});let r=function(t){return t[t.REPLAY=1]="REPLAY",t[t.RUM=2]="RUM",t[t.TELEMETRY=4]="TELEMETRY",t[t.PROFILING=6]="PROFILING",t}({})},98860:(t,e,n)=>{n.d(e,{N:()=>r});let r=(0,n(12115).createContext)({})},99256:(t,e,n)=>{n.d(e,{n:()=>r});let r="data-"+(0,n(32246).I)("framerAppearId")},99520:(t,e,n)=>{n.d(e,{Aq:()=>s,R9:()=>i,q7:()=>l,sr:()=>a});var r=n(80865);let i=function(t){return t.SESSION_REPLAY_RECORD_CANVAS="session_replay_record_canvas",t.TRACK_INTAKE_REQUESTS="track_intake_requests",t.TRACK_WEBSOCKETS="track_websockets",t}({}),o=new Set;function s(t){Array.isArray(t)&&t.filter(t=>
14(0,r.Rj)(i,t)).forEach(t=>{o.add(t)})}function a(t){return o.has(t)}function l(){return o}},99644:(t,e,n)=>{n.d(e,{Nr:()=>r,QQ:()=>i});let r={userContext:"userContext",globalContext:"globalContext",accountContext:"accountContext"},i={getContext:"getContext",setContext:"setContext",setContextProperty:"setContextProperty",removeContextProperty:"removeContextProperty",clearContext:"clearContext"}}}]);
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.