PageSourceSearch

https://demo.sonraisecurity.com/_next/static/chunks/pages/_app-f2f3d5a41be2d36d.js

js sonraisecurity.com collected 2026-09-24 09:23:26 UTC 551,335 bytes, 27 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="af46923a-4af0-5707-90d1-d93b69d630e6")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8255],{8:(e,t,r)=>{"use strict";function i(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return i}}),r(52272).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91:(e,t,r)=>{"use strict";r.d(t,{p:()=>l});var i=r(32264),n=r(10714);let s=new Set(["brightness","contrast","saturate","opacity"]);function a(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=r.match(n.S)||[];if(!i)return e;let a=r.replace(i,""),o=+!!s.has(t);return i!==r&&(o*=100),t+"("+o+a+")"}let o=/\b([a-z-]*)\(.*?\)/gu,l={...i.f,getAnimatableNone:e=>{let t=e.match(o);return t?t.map(a).join(" "):e}}},116:(e,t,r)=>{"use strict";r.d(t,{V:()=>i});let i=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},531:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var i=r(27102),n=r(38925),s=r(4871),a=r(33601);let{CX_DEV:o,CAPTURE_DEV:l,COPILOT_DEV:u,AGENT_DEMO_DEV:c,IMAGE_RESIZER_DEV:d}=i.$,h={...s.A,DISABLE_FRONT_CHAT:!1,CAPTURE_EMBED_URL:n.AA.CAPTURE_EMBED_URL.DEV,CAPTURE_PLAYER_URL:l?n.AA.CAPTURE_PLAYER_URL.DEV:n.AA.CAPTURE_PLAYER_URL.STAGING,COPILOT_URL:u?n.AA.COPILOT_URL.DEV:n.AA.COPILOT_URL.STAGING,NAVATTIC_AGENTS_URL:c?n.AA.NAVATTIC_AGENTS_URL.DEV:n.AA.NAVATTIC_AGENTS_URL.STAGING,IMAGE_RESIZER_URL:d?n.AA.IMAGE_RESIZER_URL.DEV:n.AA.IMAGE_RESIZER_URL.STAGING,CAPTURE_SCREENSHOT_URL:l?n.AA.CAPTURE_SCREENSHOT_URL.DEV:n.AA.CAPTURE_SCREENSHOT_URL.STAGING,APP_URL:n.AA.APP_URL.DEV,DESKTOP_PROTOCOL:n.AA.DESKTOP_PROTOCOL.DEV,RIDE_ALONG_PROTOCOL:n.AA.RIDE_ALONG_PROTOCOL.DEV,EXTENSION:{id:o?n.qt.EXTENSION_ID:n.ce.EXTENSION_ID,webStoreLink:"https://chrome.google.com/webstore/detail/navattic/".concat(n.ce.EXTENSION_ID)},LAUNCHPAD_EXTENSION:{id:o?n.qt.LAUNCHPAD_EXTENSION_ID:n.ce.LAUNCHPAD_EXTENSION_ID,webStoreLink:"https://chrome.google.com/webstore/detail/navattic-launchpad/".concat(n.ce.LAUNCHPAD_EXTENSION_ID)},FRONT_CLIENT_CHAT_ID:"0a14b9495363a430d50ce7b48bdb17e7",HELP_CALENDLY_URL:"https://calendly.com/randy-navattic/15min",DOCS_URL:"https://docs.navattic.com",LAUNCHPAD_DOCS_URL:"https://launchpad.navattic.com",POSTHOG_KEY:"phc_AVVkVrnhqE1iXUQ9bAojCdSE6Y9O1EwWB52l0HBb6c3",BETTERSTACK_ERRORS_DSN:"https://[email protected]/2723546",VITALLY_KEY:"ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SmhkV1FpT2lKbU9ESm1aRFptWmkwNE1XWXhMVFEyTlRndFltSXhOUzAzT0dNMk9HTTVaR015TlRjaUxDSmhjR2tpT2lKa05ESTFZbUU1TnkweE1qQTJMVFEzTldFdE9XSmhPUzA0WWpWaFpXRTNNV1U0TnpjaUxDSnpaV01pT2lJMk5qVTNOR1ZqWmlKOS5ReTFoQm5pNndWQ1h3SGVyaDF2TmRQZDdGbV9rUTVfZlFGSDcwWlJsbW5rOg",CUSTOMER_IO_KEY:a.env.NEXT_PUBLIC_CUSTOMER_IO_KEY,UNIFY_INTENT_KEY:void 0,STRIPE_PUBLIC_KEY:"pk_live_wibgu66sopqdGCfWdtKn311d00a9YR4UyZ",EMBED_WIDGET_URL:a.env.NEXT_PUBLIC_EMBED_WIDGET_URL||"https://js.navattic.dev/embeds.js",EMBED_EVENTS_URL:"https://js.navattic.dev/embed-events.js",DEMOS:{ABE_OVERVIEW:"https://navattic-website.navattic.com/il1vk0u1h",AUDIENCES:"https://navattic-website.navattic.com/ua203yi",ADVANCED_ANALYTICS:"https://navattic-website.navattic.com/h81w0mmy",CAPTURES:"https://navattic-website.navattic.com/48t0bjl",LAUNCHPAD:"https://navattic-website.navattic.com/zh170a5e"},INSTALL_TRACKING_SDK:!1,TRACKING_SDK_URL:"https://js.navattic.dev/sdk.js",TRACKING_SDK_KEY:"pkey_cm0ubn8kp000003labh5t4w4d",SLACK_CLIENT_ID:"857395639702.6025657743809",SALESFORCE_APP_CLIENT_ID:"3MVG9LBJLApeX_PCM_Vy30.bYlU9GK26jQFRT4htzWgNmhI9u0MzQYzwnsd0epMvFmq9w3PM6QE.PoYtxvw_5",HUBSPOT_APP_CLIENT_ID:"ac6816bb-831b-4c0f-946a-3894df197760",GONG_CLIENT_ID:"douud2r5lh",SEISMIC_IFRAME:{REDIRECT_URI:"https://app.navattic.com/oauth/seismic-iframe",CLIENT_ID:"68a79116-5619-42d0-a55d-fefe15287382"},INCIDENT_INFO:(0,s.x)('{"show":"false","message":"Cloudflare is experiencing an outage which is causing problems with viewing demos"}'),AZURE_CLIENT_ID:"f36e6228-3121-4f1d-9f04-539f385f5c00",AZURE_REDI
3RECT_URI:"https://app.navattic.com/office/redirect.html",STATIC_IP_PROXY_HOST:n.cW.DEV},p={...h,APP_URL:n.AA.APP_URL.PROD,DESKTOP_PROTOCOL:n.AA.DESKTOP_PROTOCOL.PROD,RIDE_ALONG_PROTOCOL:n.AA.RIDE_ALONG_PROTOCOL.PROD,CAPTURE_EMBED_URL:n.AA.CAPTURE_EMBED_URL.PROD,CAPTURE_PLAYER_URL:n.AA.CAPTURE_PLAYER_URL.PROD,COPILOT_URL:n.AA.COPILOT_URL.PROD,NAVATTIC_AGENTS_URL:n.AA.NAVATTIC_AGENTS_URL.PROD,IMAGE_RESIZER_URL:n.AA.IMAGE_RESIZER_URL.PROD,CAPTURE_SCREENSHOT_URL:n.AA.CAPTURE_SCREENSHOT_URL.PROD,VITALLY_KEY:n.ce.VITALLY_KEY,UNIFY_INTENT_KEY:"wk_GutqPFQL_7NyMJ8dZC197bRsp8PRPupAWFrGgdWmJ",CUSTOMER_IO_KEY:"1237301613cd105278c8",EXTENSION:{...h.EXTENSION,id:n.ce.EXTENSION_ID},LAUNCHPAD_EXTENSION:{...h.LAUNCHPAD_EXTENSION,id:n.ce.LAUNCHPAD_EXTENSION_ID},EMBED_WIDGET_URL:"https://js.navattic.com/embeds.js",EMBED_EVENTS_URL:"https://js.navattic.com/embed-events.js",INSTALL_TRACKING_SDK:!0,TRACKING_SDK_URL:"https://js.navattic.com/sdk.js",STATIC_IP_PROXY_HOST:n.cW.PROD},f={...p,APP_URL:n.AA.APP_URL.STAGING,DESKTOP_PROTOCOL:n.AA.DESKTOP_PROTOCOL.STAGING,RIDE_ALONG_PROTOCOL:n.AA.RIDE_ALONG_PROTOCOL.STAGING,CAPTURE_EMBED_URL:n.AA.CAPTURE_EMBED_URL.STAGING,CAPTURE_PLAYER_URL:n.AA.CAPTURE_PLAYER_URL.STAGING,IMAGE_RESIZER_URL:n.AA.IMAGE_RESIZER_URL.STAGING,CAPTURE_SCREENSHOT_URL:n.AA.CAPTURE_SCREENSHOT_URL.STAGING,COPILOT_URL:n.AA.COPILOT_URL.STAGING,NAVATTIC_AGENTS_URL:n.AA.NAVATTIC_AGENTS_URL.STAGING,EMBED_WIDGET_URL:"https://js.navattic.dev/embeds.js",EMBED_EVENTS_URL:"https://js.navattic.dev/embed-events.js",TRACKING_SDK_URL:"https://js.navattic.dev/sdk.js",EXTENSION:{id:n.C4.EXTENSION_ID,webStoreLink:"https://chrome.google.com/webstore/detail/navattic/".concat(n.C4.EXTENSION_ID)},LAUNCHPAD_EXTENSION:{id:n.C4.LAUNCHPAD_EXTENSION_ID,webStoreLink:"https://chrome.google.com/webstore/detail/navattic/".concat(n.C4.LAUNCHPAD_EXTENSION_ID)},STATIC_IP_PROXY_HOST:n.cW.STAGING},v="staging"===s.A.NODE_ENV?f:"production"!==s.A.NODE_ENV||a.env.NEXT_PUBLIC_LOCAL_BUILD?h:p;"production"!==s.A.NODE_ENV&&(console.groupCollapsed("Config Keys"),console.log(v),console.groupEnd());let g=v},655:(e,t,r)=>{"use strict";r.d(t,{X:()=>n,f:()=>i});let i=e=>1e3*e,n=e=>e/1e3},2926:()=>{},3376:(e,t,r)=>{"use strict";r.d(t,{m:()=>x});var i=r(95413),n=r(69622),s=r(4588),a=r(87940),o=r(64870);let l={};function u(e,t){let r=(0,o.p)(e);return()=>l[t]??r()}let c=u(()=>void 0!==window.ScrollTimeline,"scrollTimeline");var d=r(31766),h=r(89602),p=r(78416),f=r(21224),v=r(17988);let g=u(()=>{try{document.createElement("div").animate({opacity:0}
3,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var m=r(89933);let _=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,b={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_([0,.65,.55,1]),circOut:_([.55,0,1,.45]),backIn:_([.31,.01,.66,-.59]),backOut:_([.33,1.53,.69,.99])};var y=r(97880);class x extends h.q{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:r,keyframes:n,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:l,onComplete:u}=e;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=e,(0,i.V)("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let c=function({type:e,...t}){return(0,y.W)(e)&&g()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let d=function e(t,r){if(t)return"function"==typeof t?g()?(0,m.K)(t,r):"ease-out":(0,v.D)(t)?_(t):Array.isArray(t)?t.map(t=>e(t,r)||b.easeOut):b[t]}(o,n);Array.isArray(d)&&(c.easing=d),f.Q.value&&p.q.waapi++;let h={delay:i,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};u&&(h.pseudoElement=u);let y=e.animate(c,h);return f.Q.value&&y.finished.finally(()=>{p.q.waapi--}),y}(t,r,n,c,s),!1===c.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let e=(0,d.X)(n,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(e),(0,a.e)(t,r,e),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(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return(0,n.X)(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,n.X)(e)}get time(){return(0,n.X)(Number(this.animation.currentTime)||0)}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,n.f)(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:i}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&c())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),s.l):i(this)}}},3524:(e,t,r)=>{"use strict";r.d(t,{$:()=>s,q:()=>a});var i=r(10714);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(e,t)=>r=>!!("string"==typeof r&&n.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),a=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[s,a,o,l]=n.match(i.S);return{[e]:parseFloat(s),[t]:parseFloat(a),[r]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},4132:()=>{},4588:(e,t,r)=>{"use strict";r.d(t,{l:()=>i});let i=e=>e},4871:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,x:()=>n});var i=r(33601);let n=e=>{try{return JSON.parse(e)}catch(e){}},s={NODE_ENV:i.env.NEXT_PUBLIC_NODE_ENV||"production"}},5169:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});let i=e=>Math.round(1e5*e)/1e5},5410:(e,t,r)=>{"use strict";r.d(t,{O:()=>u});var i=r(91916),n=r(85569),s=r(40574),a=r(47130);let o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=s.U.length;function u(e,t,r){let{style:u,vars:c,transformOrigin:d}=e,h=!1,p=!1;for(let e in t){let r=t[e];if(s.f.has(e)){h=!0;continue}if((0,a.j4)(e)){c[e]=r;continue}{let t=(0,i.e)(r,n.W[e]);e.startsWith("origin")?(p=!0,d[e]=t):u[e]=t}}if(!t.transform&&(h||r?u.transform=function(e,t,r){let a="",u=!0;for(let c=0;c<l;c++){let l=s.U[c],d=e[l];
3if(void 0===d)continue;let h=!0;if("number"==typeof d)h=d===+!!l.startsWith("scale");else{let e=parseFloat(d);h=l.startsWith("scale")?1===e:0===e}if(!h||r){let e=(0,i.e)(d,n.W[l]);if(!h){u=!1;let t=o[l]||l;a+=`${t}(${e}) `}r&&(t[l]=e)}}return a=a.trim(),r?a=r(t,u?"":a):u&&(a="none"),a}(t,e.transform,r):u.transform&&(u.transform="none")),p){let{originX:e="50%",originY:t="50%",originZ:r=0}=d;u.transformOrigin=`${e} ${t} ${r}`}}},5770:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var i=r(4588);let n=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function s(e,t,r,s){return e===t&&r===s?i.l:i=>0===i||1===i?i:n(function(e,t,r,i,s){let a,o,l=0;do(a=n(o=t+(r-t)/2,i,s)-e)>0?r=o:t=o;while(Math.abs(a)>1e-7&&++l<12);return o}(i,0,1,e,r),t,s)}},5885:(e,t,r)=>{"use strict";function i(e,t){-1===e.indexOf(t)&&e.push(t)}function n(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}r.d(t,{Ai:()=>n,Kq:()=>i})},6500:(e,t,r)=>{"use strict";r.d(t,{a:()=>a,c:()=>n});let i=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function n(e){return i.has(e.tagName)||!0===e.isContentEditable}let s=new Set(["INPUT","SELECT","TEXTAREA"]);function a(e){return s.has(e.tagName)||!0===e.isContentEditable}},6655:(e,t,r)=>{"use strict";r.d(t,{U:()=>i,_:()=>n});let i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],n=["initial",...i]},6914:(e,t,r)=>{"use strict";r.d(t,{V:()=>n});var i=r(32138);function n(e,t){let r=(0,i.K)(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}},10013:(e,t,r)=>{"use strict";r.d(t,{z:()=>n});var i=r(17334);function n(e,t,r){let n=Math.max(t-5,0);return(0,i.f)(r-e(n),t-n)}},10481:(e,t,r)=>{"use strict";r.d(t,{Uu:()=>s});var i=r(91590);let n="undefined"!=typeof window;function s(){if(i.r.current=!0,n)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i.O.current=e.matches;e.addEventListener("change",t),t()}else i.O.current=!1}},10634:(e,t,r)=>{"use strict";r.d(t,{K:()=>v});var i=r(36457),n=r(86938),s=r(95413),a=r(51455),o=r(47130);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var u=r(57672),c=r(46971),d=r(32264),h=r(39017);let p=new Set(["auto","none","0"]);var f=r(61184);class v extends u.h{constructor(e,t,r,i,n){super(e,t,r,i,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let i=e[r];if("string"==typeof i&&(i=i.trim(),(0,o.pG)(i))){let n=function e(t,r,i=1){(0,s.V)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,u]=function(e){let t=l.exec(e);if(!t)return[,];let[,r,i,n]=t;return[`--${r??i}`,n]}(t);if(!n)return;let c=window.getComputedStyle(r).getPropertyValue(n);if(c){let e=c.trim();return(0,a.i)(e)?parseFloat(e):e}return(0,o.pG)(u)?e(u,r,i+1):u}(i,t.current);void 0!==n&&(e[r]=n),r===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!i.$.has(r)||2!==e.length)return;let[u,c]=e,d=(0,n.n)(u),h=(0,n.n)(c);if((0,o.rm)(u)!==(0,o.rm)(c)&&f.Hr[r]){this.needsMeasurement=!0;return}if(d!==h)if((0,f.E4)(d)&&(0,f.E4)(h))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else f.Hr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var i;(null===e[t]||("number"==typeof(i=e[t])?0===i:null===i||"none"===i||"0"===i||(0,c.$)(i)))&&r.push(t)}r.length&&function(e,t,r){let i,n=0;for(;n<e.length&&!i;){let t=e[n];"string"==typeof t&&!p.has(t)&&(0,d.V)(t).values.length&&(i=e[n]),n++}if(i&&r)for(let n of t)e[n]=(0,h.J)(r,i)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f.Hr[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];void 0!==i&&e.getValue(r,i).jump(i,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let i=e.getValue(t);i&&i.jump(this.measuredOrigin,!1);let n=r.length-1,s=r[n];r[n]=f.Hr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
3h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}},10714:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});let i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},10854:(e,t,r)=>{"use strict";r.d(t,{D:()=>o});var i=r(73768),n=r(91),s=r(35861);let a={...r(85569).W,color:i.y,backgroundColor:i.y,outlineColor:i.y,fill:i.y,stroke:i.y,borderColor:i.y,borderTopColor:i.y,borderRightColor:i.y,borderBottomColor:i.y,borderLeftColor:i.y,filter:n.p,WebkitFilter:n.p,mask:s.d,WebkitMask:s.d},o=e=>a[e]},11137:(e,t,r)=>{"use strict";r.d(t,{o:()=>f});var i=r(95413),n=r(69622),s=r(51095),a=r(89933),o=r(38158),l=r(17120);let u={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 c(e,t){return e*Math.sqrt(1-t*t)}let d=["duration","bounce"],h=["stiffness","damping","mass"];function p(e,t){return t.some(t=>void 0!==e[t])}function f(e=u.visualDuration,t=u.bounce){let r,l,v,g,m,_,b="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:y,restDelta:x}=b,w=b.keyframes[0],E=b.keyframes[b.keyframes.length-1],A={done:!1,value:w},{stiffness:S,damping:$,mass:T,duration:k,velocity:P,isResolvedFromDuration:C}=function(e){let t={velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1,...e};if(!p(e,h)&&p(e,d))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),i=r*r,n=2*(0,s.q)(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:u.mass,stiffness:i,damping:n}}else{let r=function({duration:e=u.duration,bounce:t=u.bounce,velocity:r=u.velocity,mass:a=u.mass}){let o,l;(0,i.$)(e<=(0,n.f)(u.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let d=1-t;d=(0,s.q)(u.minDamping,u.maxDamping,d),e=(0,s.q)(u.minDuration,u.maxDuration,(0,n.X)(e)),d<1?(o=t=>{let i=t*d,n=i*e;return .001-(i-r)/c(t,d)*Math.exp(-n)},l=t=>{let i=t*d*e,n=Math.pow(d,2)*Math.pow(t,2)*e,s=Math.exp(-i),a=c(Math.pow(t,2),d);return(i*r+r-n)*s*(-o(t)+.001>0?-1:1)/a}):(o=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),l=t=>e*e*(r-t)*Math.exp(-t*e));let h=function(e,t,r){let i=r;for(let r=1;r<12;r++)i-=e(i)/t(i);return i}(o,l,5/e);if(e=(0,n.f)(e),isNaN(h))return{stiffness:u.stiffness,damping:u.damping,duration:e};{let t=Math.pow(h,2)*a;return{stiffness:t,damping:2*d*Math.sqrt(a*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:u.mass}).isResolvedFromDuration=!0}return t}({...b,velocity:-(0,n.X)(b.velocity||0)}),R=P||0,I=$/(2*Math.sqrt(S*T)),V=E-w,O=(0,n.X)(Math.sqrt(S/T)),L=5>Math.abs(V);if(y||(y=L?u.restSpeed.granular:u.restSpeed.default),x||(x=L?u.restDelta.granular:u.restDelta.default),I<1)v=c(O,I),g=(R+I*O*V)/v,r=e=>E-Math.exp(-I*O*e)*(g*Math.sin(v*e)+V*Math.cos(v*e)),m=I*O*g+V*v,_=I*O*V-g*v,l=e=>Math.exp(-I*O*e)*(m*Math.sin(v*e)+_*Math.cos(v*e));else if(1===I){r=e=>E-Math.exp(-O*e)*(V+(R+O*V)*e);let e=R+O*V;l=t=>Math.exp(-O*t)*(O*e*t-R)}else{let e=O*Math.sqrt(I*I-1);r=t=>{let r=Math.exp(-I*O*t),i=Math.min(e*t,300);return E-r*((R+I*O*V)*Math.sinh(i)+e*V*Math.cosh(i))/e};let t=(R+I*O*V)/e,i=I*O*t-V*e,n=I*O*V-t*e;l=t=>{let r=Math.exp(-I*O*t),s=Math.min(e*t,300);return r*(i*Math.sinh(s)+n*Math.cosh(s))}}let N={calculatedDuration:C&&k||null,velocity:e=>(0,n.f)(l(e)),next:e=>{if(!C&&I<1){let t=Math.exp(-I*O*e),r=Math.sin(v*e),i=Math.cos(v*e),s=E-t*(g*r+V*i);return A.done=Math.abs((0,n.f)(t*(m*r+_*i)))<=y&&Math.abs(E-s)<=x,A.value=A.done?E:s,A}let t=r(e);return C?A.done=e>=k:A.done=Math.abs((0,n.f)(l(e)))<=y&&Math.abs(E-t)<=x,A.value=A.done?E:t,A},toString:()=>{let e=Math.min((0,o.t)(N),o.Y),t=(0,a.K)(t=>N.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return N}f.applyToOptions=e=>{let t=(0,l.X)(e,100,f);return e.ease=t.ease,e.duration=(0,n.f)(t.duration),e.type="keyframes",e}},12366:(e,t,r)=>{"use strict";r.d(t,{n:()=>i});let i=e=>"string"==typeof e&&"svg"===e.toLowerCase()},12563:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});let i=(0,r(55729).createContext)({})},12998:(e,t,r)=>{"use strict";r.d(t,{L:()=>a,m:()=>s});var i=r(75399),n=r(14934);function s(e,t){return(0,i.FY)((0,i.bS)(e.getBoundingClientRect(),t))}function a(e,t,r){let i=s(e,r),{scroll:a}=t;return a&&((0,n.Ql)(i.x,a.offset.x),(0,n.Ql)(i.y,a.offset.y)),i}},14344:(e,t,r)=>{"use strict";
3Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return c},RedirectType:function(){return n.RedirectType},forbidden:function(){return a.forbidden},notFound:function(){return s.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},unauthorized:function(){return o.unauthorized},unstable_isUnrecognizedActionError:function(){return d},unstable_rethrow:function(){return l.unstable_rethrow}});let i=r(62263),n=r(12632),s=r(82837),a=r(8),o=r(92361),l=r(45673);class u extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class c extends URLSearchParams{append(){throw new u}delete(){throw new u}set(){throw new u}sort(){throw new u}}function d(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14893:(e,t,r)=>{"use strict";function i(e){return[e("x"),e("y")]}r.d(t,{X:()=>i})},14934:(e,t,r)=>{"use strict";r.d(t,{OU:()=>u,Ql:()=>c,Ww:()=>p,hq:()=>s,o4:()=>l});var i=r(22942),n=r(75157);function s(e,t,r){return r+t*(e-r)}function a(e,t,r,i,n){return void 0!==n&&(e=i+n*(e-i)),i+r*(e-i)+t}function o(e,t=0,r=1,i,n){e.min=a(e.min,t,r,i,n),e.max=a(e.max,t,r,i,n)}function l(e,{x:t,y:r}){o(e.x,t.translate,t.scale,t.originPoint),o(e.y,r.translate,r.scale,r.originPoint)}function u(e,t,r,i=!1){let s,a,o=r.length;if(o){t.x=t.y=1;for(let u=0;u<o;u++){a=(s=r[u]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(c(e.x,-s.scroll.offset.x),c(e.y,-s.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,l(e,a)),i&&(0,n.HD)(s.latestValues)&&p(e,s.latestValues,s.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function c(e,t){e.min+=t,e.max+=t}function d(e,t,r,n,s=.5){let a=(0,i.k)(e.min,e.max,s);o(e,t,r,a,n)}function h(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function p(e,t,r){let i=r??e;d(e.x,h(t.x,i.x),t.scaleX,t.scale,t.originX),d(e.y,h(t.y,i.y),t.scaleY,t.scale,t.originY)}},15418:(e,t,r)=>{"use strict";function i(e){e.duration=0,e.type="keyframes"}r.d(t,{_:()=>i})},15650:(e,t,r)=>{"use strict";r.d(t,{KN:()=>s,gQ:()=>u,px:()=>a,uj:()=>n,vh:()=>o,vw:()=>l});let i=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),n=i("deg"),s=i("%"),a=i("px"),o=i("vh"),l=i("vw"),u={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)}},15973:(e,t,r)=>{"use strict";r.d(t,{X:()=>i});class i{constructor(e){this.isMounted=!1,this.node=e}update(){}}},16746:(e,t)=>{"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16819:(e,t,r)=>{"use strict";r.d(t,{L:()=>v});var i=r(55426),n=r(55559);function s(e,t,r,i=0,n=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,l=(o-1)*i;return"function"==typeof r?r(a,o):1===n?a*i:l-a*i}function a(e,t,r={}){let o=(0,i.K)(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:l=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(l=r.transitionOverride);let u=o?()=>Promise.all((0,n.$)(e,o,r)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:u}=l;return function(e,t,r=0,i=0,n=0,o=1,l){let u=[];for(let c of e.variantChildren)c.notify("AnimationStart",t),u.push(a(c,t,{...l,delay:r+("function"==typeof i?0:i)+s(e.variantChildren,c,i,n,o)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(u)}(e,t,i,n,o,u,r)}:()=>Promise.resolve(),{when:d}=l;if(!d)return Promise.all([u(),c(r.delay)]);{let[e,t]="beforeChildren"===d?[u,c]:[c,u];return e().then(()=>t())}}var o=r(98936),l=r(6655);let u=l._.length;var c=r(17665),d=r(70831);function h(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}let p=[...l.U].reverse(),f=l.U.length;function v(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let s;if(e.notify("AnimationStart",t),Array.isArray(t))s=Promise.all(t.map(t=>a(e,t,r)));else if("string"==typeof t)s=a(e,t,r);else{let a="function"==typeof t?(0,i.K)(e,t,r.custom):t;s=Promise.all((0,n.$)(e,a,r))}return s.then(()=>
3{e.notify("AnimationComplete",t)})})(e,t,r))),r=m(),v=!0,g=!1,_=t=>(r,n)=>{let s=(0,i.K)(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(s){let{transition:e,transitionEnd:t,...i}=s;r={...r,...i,...t}}return r};function b(n){let{props:a}=e,m=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<u;e++){let i=l._[e],n=t.props[i];((0,o.w)(n)||!1===n)&&(r[i]=n)}return r}(e.parent)||{},b=[],y=new Set,x={},w=1/0;for(let t=0;t<f;t++){var E,A;let l=p[t],u=r[l],f=void 0!==a[l]?a[l]:m[l],S=(0,o.w)(f),$=l===n?u.isActive:null;!1===$&&(w=t);let T=f===m[l]&&f!==a[l]&&S;if(T&&(v||g)&&e.manuallyAnimateOnMount&&(T=!1),u.protectedKeys={...x},!u.isActive&&null===$||!f&&!u.prevProp||(0,c.N)(f)||"boolean"==typeof f)continue;if("exit"===l&&u.isActive&&!0!==$){u.prevResolvedValues&&(x={...x,...u.prevResolvedValues});continue}let k=(E=u.prevProp,"string"==typeof(A=f)?A!==E:!!Array.isArray(A)&&!h(A,E)),P=k||l===n&&u.isActive&&!T&&S||t>w&&S,C=!1,R=Array.isArray(f)?f:[f],I=R.reduce(_(l),{});!1===$&&(I={});let{prevResolvedValues:V={}}=u,O={...V,...I},L=t=>{P=!0,y.has(t)&&(C=!0,y.delete(t)),u.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in O){let t=I[e],r=V[e];if(!x.hasOwnProperty(e))((0,d.p)(t)&&(0,d.p)(r)?h(t,r):t===r)?void 0!==t&&y.has(e)?L(e):u.protectedKeys[e]=!0:null!=t?L(e):y.add(e)}u.prevProp=f,u.prevResolvedValues=I,u.isActive&&(x={...x,...I}),(v||g)&&e.blockInitialAnimation&&(P=!1);let N=T&&k,M=!N||C;P&&M&&b.push(...R.map(t=>{let r={type:l};if("string"==typeof t&&(v||g)&&!N&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,a=(0,i.K)(n,t);if(n.enteringChildren&&a){let{delayChildren:t}=a.transition||{};r.delay=s(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(y.size){let t={};if("boolean"!=typeof a.initial){let r=(0,i.K)(e,Array.isArray(a.initial)?a.initial[0]:a.initial);r&&r.transition&&(t.transition=r.transition)}y.forEach(r=>{let i=e.getBaseTarget(r),n=e.getValue(r);n&&(n.liveStyle=!0),t[r]=i??null}),b.push({animation:t})}let S=!!b.length;return v&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(S=!1),v=!1,g=!1,S?t(b):Promise.resolve()}return{animateChanges:b,setActive:function(t,i){if(r[t].isActive===i)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,i)),r[t].isActive=i;let n=b(t);for(let e in r)r[e].protectedKeys={};return n},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=m(),g=!0}}}function g(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function m(){return{animate:g(!0),whileInView:g(),whileHover:g(),whileTap:g(),whileDrag:g(),whileFocus:g(),exit:g()}}},17120:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var i=r(69622),n=r(38158);function s(e,t=100,r){let a=r({...e,keyframes:[0,t]}),o=Math.min((0,n.t)(a),n.Y);return{type:"keyframes",ease:e=>a.next(o*e).value/t,duration:(0,i.X)(o)}}},17203:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});let i=e=>!!(e&&e.getVelocity)},17334:(e,t,r)=>{"use strict";function i(e,t){return t?1e3/t*e:0}r.d(t,{f:()=>i})},17377:(e,t,r)=>{"use strict";r.d(t,{A:()=>P});var i=r(77118),n=r(4588),s=r(78737),a=r(48539),o=r(31766),l=r(57672),u=r(51095),c=r(87940),d=r(3376),h=r(41296),p=r(67408),f=r(71769),v=r(93685);let g={anticipate:p.b,backInOut:f.ZZ,circInOut:v.tn};class m extends d.m{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in g&&(e.ease=g[e.ease])}(e),(0,h.E)(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:i,element:n,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let l=new a.s({...o,autoplay:!1}),d=Math.max(10,s.k.now()-this.startTime),h=(0,u.q)(0,10,d-10),p=l.sample(d).value,{name:f}=this.options;n&&f&&(0,c.e)(n,f,p),t.setWithVelocity(l.sample(Math.max(0,d-h)).value,p,h),l.stop()}}var _=r(95413),b=r(97880),y=r(32264);let x=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(y.f.test(e)||"0"===e)&&!e.startsWith("url("));var w=r(15418),E=r(89602),A=r(64870),S=r(91982);let $=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,T=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),k=(0,A.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));
3class P extends E.q{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:a="loop",keyframes:o,name:u,motionValue:c,element:d,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=s.k.now();let p={autoplay:e,delay:t,type:r,repeat:i,repeatDelay:n,repeatType:a,name:u,motionValue:c,element:d,...h},f=d?.KeyframeResolver||l.h;this.keyframeResolver=new f(o,(e,t,r)=>this.onKeyframesResolved(e,t,p,!r),u,c,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,l){let u;this.keyframeResolver=void 0;let{name:c,type:d,velocity:h,delay:p,isHandoff:f,onUpdate:v}=r;this.resolvedAt=s.k.now();let g=!0;!function(e,t,r,i){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],a=x(n,t),o=x(s,t);return(0,_.$)(a===o,`You are trying to animate ${t} from "${n}" to "${s}". "${a?s:n}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||(0,b.W)(r))&&i)}(e,c,d,h)&&(g=!1,(i.W.instantAnimations||!p)&&v?.((0,o.X)(e,r,t)),e[0]=e[e.length-1],(0,w._)(r),r.repeat=0);let y={startTime:l?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},E=g&&!f&&function(e){let{motionValue:t,name:r,repeatDelay:i,repeatType:n,damping:s,type:a,keyframes:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return k()&&r&&(S.M.has(r)||T.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&$.test(e[t]))return!0;return!1}(o))&&("transform"!==r||!u)&&!l&&!i&&"mirror"!==n&&0!==s&&"inertia"!==a}(y),A=y.motionValue?.owner?.current;if(E)try{u=new m({...y,element:A})}catch{u=new a.s(y)}else u=new a.s(y);u.finished.then(()=>{this.notifyFinished()}).catch(n.l),this.pendingTimeline&&(this.stopTimeline=u.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=u}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,l.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}},17665:(e,t,r)=>{"use strict";function i(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}r.d(t,{N:()=>i})},17988:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});let i=e=>Array.isArray(e)&&"number"==typeof e[0]},19255:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});var i=r(96426);function n(e){return(0,i.x)(e)&&"svg"===e.tagName}},19837:()=>{},19841:()=>{},21224:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});let i={value:null,addProjectionMetrics:null}},22288:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});let i={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},22942:(e,t,r)=>{"use strict";r.d(t,{k:()=>i});let i=(e,t,r)=>e+(t-e)*r},23397:(e,t,r)=>{"use strict";r.d(t,{$NA:()=>eW,$hZ:()=>q,$id:()=>m,ALf:()=>Z,Anu:()=>l,DPg:()=>el,Drb:()=>eX,DwN:()=>th,Eor:()=>eK,FzR:()=>e_,GUG:()=>eh,GiY:()=>eJ,GyS:()=>eq,H2z:()=>eg,HFm:()=>tc,HvV:()=>H,I1b:()=>b,III:()=>eE,INz:()=>eY,IkC:()=>er,KO:()=>to,KU$:()=>et,NBN:()=>M,NLd:()=>eS,NLi:()=>D,NS7:()=>T,NSP:()=>e9,NjR:()=>ec,NsQ:()=>tl,O30:()=>e6,O39:()=>ez,OIN:()=>L,Of6:()=>c,OmC:()=>u,PIt:()=>e7,PPI:()=>eU,PS_:()=>eV,PbY:()=>w,Q8V:()=>j,QBM:()=>F,SF8:()=>Q,SLT:()=>eG,SRk:()=>tn,SS4:()=>ep,T9t:()=>k,TLI:()=>ei,T_Z:()=>p,Teh:()=>eZ,Tib:()=>N,UF2:()=>ee,V4U:()=>R,VHu:()=>B,VQz:()=>A,W16:()=>e$,W1G:()=>eo,Wsf:()=>I,YkS:()=>te,Z6A:()=>eP,Zyu:()=>ey,_qV:()=>ew,aJu:()=>h,auQ:()=>X,bUR:()=>ev,bvq:()=>ek,c17:()=>en,c5G:()=>eb,dFP:()=>e3,dfN:()=>ts,dod:()=>V,duI:()=>K,dvG:()=>y,eSu:()=>eI,el5:()=>em,fOQ:()=>tt,fSD:()=>Y,fie:()=>e4,fjI:()=>eC,gG6:()=>tu,gRN:()=>eH,h1K:()=>ti,h6u:()=>eB,h9w:()=>eQ,hU7:()=>ex,he8:()=>$,hxu:()=>a,iVK:()=>O,jcE:()=>ed,kVd:()=>W,mGR:()=>e0,mTC:()=>e8,nCV:()=>
3s,o0m:()=>eL,od1:()=>ef,on3:()=>f,piy:()=>G,plD:()=>tr,pmK:()=>e1,pw_:()=>g,pxP:()=>ej,q1:()=>eF,qij:()=>eN,r8n:()=>d,rQt:()=>o,sZc:()=>x,t7I:()=>v,tK1:()=>ea,th2:()=>eM,uCb:()=>J,uhl:()=>P,uhw:()=>e2,v1S:()=>td,v6D:()=>eO,vYy:()=>z,w7u:()=>es,wLh:()=>U,wgS:()=>eT,xHy:()=>eu,xLx:()=>eA,xMQ:()=>E,xUp:()=>eD,xih:()=>_,yFu:()=>S,yQ8:()=>n,ynR:()=>e5,zUB:()=>C,zYL:()=>eR,zp2:()=>ta});var i=r(63966);let n=92,s=["_","w"],a=0x7fffffff,o="/offline/player-frame",l="__nv_message_id",u="x-nv-log-db-queries",c="nv:log-db-queries",d="nv_id",h="nv_tether",p="nv_scroll_sync",f="nv_dynamic_iframe",v="nv_personalization_variable",g="nv_personalization_fallback",m="nv_personalization_background",_="nv_animate_text",b="nv_hover",y="nv_personalization_input_value",x="nv_personalization_style",w="nv_date_format",E="nv_date_offset",A="nv_date_original",S="nv_date_offset_type",$="nv_date_text",T="nv_date_offset_count",k="nv_date_range";var P=function(e){return e.TodaysDate="TODAYS_DATE",e.Hour="HOUR",e.Day="DAY",e.Week="WEEK",e.Month="MONTH",e.Year="YEAR",e.CaptureDate="CAPTURE_DATE",e}({}),C=function(e){return e.Past="PAST",e.Future="FUTURE",e}({});let R=["HOUR","DAY","WEEK","MONTH","YEAR"],I=1e3,V=0x3b9ac9ff,O="nv_overlay",L="nv_find_replace",N="nv_hide_edit",M="data-nv-active-media",D="nv_scroll_ready",F="#navattic-player:not([nv_id])",j="[".concat(w,"]"),U="#nv_viewport",B="nv_backdrop_parent",G="data-navattic-demo-id",z="Interactive demo",H="navattic-container",W="data-nv-media-capture",q="__nv_dynamic_style_text",X="__nv_dynamic_style_updates",K="__nv_dynamic_sheet_dirty",Y="__nv_add_window_listeners",Q="data-nv-animation-element-id",Z="data-nv-modal-state",J="data-nv-shadow-id",ee="__nv_native_functions",et="__nv_added_fonts",er="__nv_injected_fonts",ei="__nv_serialized_injected_fonts",en="__nv_animation_map",es="__nv_inject_main_world_globals",ea="__nv_id_map",eo="__nv_defined_custom_element_names",el="__nv_is_salesforce",eu=/^[a-zA-Z0-9]{15,18}$/;"".concat(i.EP,"o1").concat(i.FQ);let ec="__nv_node_ref_sym",ed="__nv_stylesheet_id",eh="#1738fa",ep={type:"spring",stiffness:320,damping:34,mass:.9},ef=56,ev="h-14",eg=50,em="2px dashed var(--blue-500, #266DF0)",e_="2px dashed #b3c7f7",eb="0 0 4px 0 rgba(124, 148, 166, 0.4)",ey={border:em,background:"rgba(38, 109, 240, 0.30)",pointerEvents:"none",borderRadius:"8px"},ex={company_name:"company.name",company_domain:"company.domain",company_logo:"company.logo",company_industry:"company.industry",user_fullName:"user.fullName",user_email:"user.email",user_acceptedTerms:"user.acceptedTerms",cta_url:"ctaUrl"},ew="nvRecipient",eE="nvTracking",eA="nvEventTarget",eS=["s","p","g","n","a","hideMobileAlert","scale","no-menu",ew,eE,eA,""],e$=/{{(.+?)(\|(.+?))}}/g,eT=/{{(.+?)(\|(.+?))?}}/g,ek="cmderktr30000pvpj0x11ge3b",eP={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,Comment:5,Group:6,0:"Document",1:"DocumentType",2:"Element",3:"Text",4:"CDATA",5:"Comment",6:"Group"},eC="nv_saved_passcode_",eR="nv_visitor_consent",eI="nv_uid";var eV=function(e){return e.Capture="Capture",e.Launchpad="Launchpad",e}({}),eO=function(e){return e.Storylane="storylane",e.Saleo="saleo",e.Reprise="reprise",e}({}),eL=function(e){return e.HoverStyles="HoverStyles",e}({});let eN="".concat(i.EP,"f1");i.EP,i.EP,i.EP,i.EP;let eM="launchpad-create-presentation-advanced-open",eD="video-tab-selection",eF="video-selection-external-type",ej="launchpad",eU="Admin",eB="Builder",eG="Viewer",ez="Launchpad Rep",eH=[eU,eB,eG,ez],eW=[eU,ez],eq=.35,eX=200,eK=191,eY=25,eQ=20,eZ="[email protected]",eJ="[email protected]",e0=600,e1={50:"baseMivS3rg6T381Jku",75:"baseGMmC5U0Eq4o5pFf"},e2={TEAMS_MEMBERS_UPSELL:"teams-members-upsell",BOARDS_DEMOS_UPSELL:"boards-demos-upsell",G2_REVIEW:"g2-review",CUSTOMER_SHOWCASE:"customer-showcase-announcement",TEMPLATES:"templates-announcement",STARTER_UPGRADE_DISCOUNT:"starter-upgrade-discount",EASE_OF_USE:"ease-of-use",OFFLINE_MODE:"offline-mode-announcement",COPILOT_PROMPT:"copilot-prompt",DEMO_BUILDER:"demo-builder",SANDBOX_BUILDER:"sandbox-builder",WORKSPACE_CAPTURES:"workspace-captures",INLINE_CAPTURE_EDITOR:"inline-capture-editor",TRY_AGENT_DEMO_BANNER:"try-agent-demo-banner",BULK_EDIT_DISCOVERY:"bulk-edit-discovery",SHARED_THEME_EDIT_WARNING:"shared-theme-edit-warning",BLUR_DATA_WARNING:"blur-data-warning",AGENTS_DISCOVERY_TILE:"agents-discovery-tile",AGENT_DEMO_BUILDER_TOUR_PREFIX:"agent-demo-builder-tour",DEMO_BUILDER_TOUR_PREFIX:"demo-builder-tour",AGENT_DEMO_SETUP_GUIDE_PREFIX:"agent-demo-setup-guide",THEME_BUILDER_TOUR_PREFIX:"theme-builder
3-tour",INTEGRATIONS_TOUR:"integrations-tour",BRAIN_URL_AUTO_REFRESH:"brain-url-auto-refresh"};function e3(){return e2.AGENT_DEMO_BUILDER_TOUR_PREFIX}function e5(){return e2.DEMO_BUILDER_TOUR_PREFIX}function e4(){return e2.AGENT_DEMO_SETUP_GUIDE_PREFIX}function e6(){return e2.THEME_BUILDER_TOUR_PREFIX}let e7=["Feature Launches","Upsell","Nudges"],e9=[{slug:e2.TEAMS_MEMBERS_UPSELL,name:"Teams Upsell Card",icon:"team",description:"Upsell teams and members",group:"Upsell"},{slug:e2.BOARDS_DEMOS_UPSELL,name:"Boards Upsell Card",icon:"grid3x3",description:"Upsell boards and demos",group:"Upsell"},{slug:e2.G2_REVIEW,name:"G2 Review Announcement",icon:"logo-g2",description:"Request review with $50 incentive",group:"Nudges"},{slug:e2.CUSTOMER_SHOWCASE,name:"Customer Showcase Card",icon:"star",description:"Show showcase starter card",group:"Nudges"},{slug:e2.TEMPLATES,name:"Templates Card",icon:"file-text",description:"Show templates starter card",group:"Nudges"},{slug:e2.STARTER_UPGRADE_DISCOUNT,name:"Starter Discount Announcement",icon:"tag",description:"Show discount for starter plan upgrade",group:"Upsell"},{slug:e2.EASE_OF_USE,name:"Ease of Use Survey",icon:"lightbulb",description:"Survey about product ease of use",group:"Nudges"},{slug:e2.OFFLINE_MODE,name:"Offline demos Broadcast",icon:"wifi-off",description:"Announce offline mode",group:"Feature Launches"},{slug:e2.COPILOT_PROMPT,name:"Copilot Prompt Modal",icon:"wand-sparkles",description:"Announce Copilot Prompt",group:"Feature Launches"},{slug:e2.DEMO_BUILDER,name:"Demo Builder Modal",icon:"layout-grid",description:"Announce new demo builder",group:"Feature Launches"},{slug:e2.SANDBOX_BUILDER,name:"Sandbox Builder Modal",icon:"layout-grid",description:"Announce sandbox builder",group:"Feature Launches"},{slug:e2.WORKSPACE_CAPTURES,name:"Workspace Captures Modal",icon:"library",description:"Announce workspace captures",group:"Feature Launches"},{slug:e2.INLINE_CAPTURE_EDITOR,name:"Inline Capture Editor Modal",icon:"square-mouse-pointer",description:"Announce the inline capture editor",group:"Feature Launches"},{slug:e2.TRY_AGENT_DEMO_BANNER,name:"Try Navattic Agent Banner",icon:"globe-pointer",description:"Convert demo into a Navattic Agent",group:"Nudges"},{slug:e2.BULK_EDIT_DISCOVERY,name:"Bulk Edit Discovery Toast",icon:"layers",description:"Suggest bulk editor after repeated step edits",group:"Nudges"},{slug:e2.BLUR_DATA_WARNING,name:"Blur Data Warning Toast",icon:"droplet",description:"Warn that blur hides text visually but keeps it in the capture",group:"Nudges"},{slug:e2.AGENTS_DISCOVERY_TILE,name:"Agents Discovery Tile",icon:"globe-pointer",description:"Surface Navattic Agents in the product demos grid",group:"Nudges"}],e8=3,te=15e3,tt=0,tr={ENTITY_TAG_MISMATCH:"ENTITY_TAG_MISMATCH",DANGLING_FLOW_REF:"DANGLING_FLOW_REF",FORBIDDEN:"FORBIDDEN",NOT_FOUND:"NOT_FOUND",BAD_INPUT:"BAD_INPUT",PLAN_LIMIT:"PLAN_LIMIT",CREDITS_EXHAUSTED:"CREDITS_EXHAUSTED",SLUG_CONFLICT:"SLUG_CONFLICT",SLUG_REDIRECT_CONFLICT:"SLUG_REDIRECT_CONFLICT",SLUG_RESERVED:"SLUG_RESERVED",SLUG_INVALID:"SLUG_INVALID",SHARE_LINK_PATH_CONFLICT:"SHARE_LINK_PATH_CONFLICT",UNAUTHENTICATED:"UNAUTHENTICATED",NOT_AUTHORIZED:"NOT_AUTHORIZED",RATE_LIMITED:"RATE_LIMITED",CAPTURE_LOCKED:"CAPTURE_LOCKED",INTEGRATION_AUTH_EXPIRED:"INTEGRATION_AUTH_EXPIRED",INTEGRATION_CONFIG_INVALID:"INTEGRATION_CONFIG_INVALID",INTEGRATION_FIELD_MISSING:"INTEGRATION_FIELD_MISSING",INTEGRATION_FIELD_VALIDATION:"INTEGRATION_FIELD_VALIDATION",INTEGRATION_OBJECT_MISSING:"INTEGRATION_OBJECT_MISSING",INTEGRATION_PERMISSION_MISSING:"INTEGRATION_PERMISSION_MISSING",INTEGRATION_RATE_LIMITED:"INTEGRATION_RATE_LIMITED",INTEGRATION_RECORD_CONVERTED:"INTEGRATION_RECORD_CONVERTED",SLACK_CHANNEL_UNAVAILABLE:"SLACK_CHANNEL_UNAVAILABLE",WEBHOOK_DESTINATION_NOT_FOUND:"WEBHOOK_DESTINATION_NOT_FOUND",WEBHOOK_DESTINATION_UNAVAILABLE:"WEBHOOK_DESTINATION_UNAVAILABLE"},ti="Something went wrong. Please try again.",tn="Connection problem. Please check your internet connection and try again.",ts="[email protected]",ta=Symbol("nv_node_ref");var to=function(e){return e.Annie="Annie_expressive12_public",e.Caroline="Caroline_expressive_public",e.Brandon="Brandon_expressive_public",e.Bruce="Bruce_public",e.Judith="Judith_expressive_2024120201",e.Shirley="Shirley_Casual_Front_2_public",e.Gabriel="Gabriel_public_20240308",e.Hada="Hada_Casual_Front_public",e.Neil="Neil_public_20240328",e.Armando="Armando_Suit_Front_public",e.Darnell="Darnell_Blue_Shirt_Front",e.Nico="Nico_public",e.Yola="Yola_Casual_Front_public",e.Bastien="Bastien_public_3",e.Sloane="Sloane_public_5",e.Aiko="Aiko_public",e}({}),tl=function(e){return e.FemaleVoice1="330290724a1b470fb63153f34d4c0183",e.FemaleVoice2="41332f3d53e148aab6956b92d3e5503e",e.FemaleVoice3="35beeb3d933343e4baa764c8349b391b",e.FemaleVoice4="4754e1ec667544b0bd18cdf4bec7d6a7",e.FemaleVoice5="825cad60ec2b4a60af3c3623a092e97c",e.FemaleVoice6="77a8b81df32f482f851684c5e2ebb0d2",e.MaleVoice1="c089f9832fd04922b34b3d2f3661d113",e.MaleVoice2="488e985a7bd249968612390c4e89f06c",e.MaleVoice3="d2f4f24783d04e22ab49ee8fdc3715e0",e.MaleVoice4="5d8c378ba8c3434586081a52ac368738",e.MaleVoice5="828b59f834fd4c7188da322b6d9b6c75",e.MaleVoice6="897d6a9b2c844f56aa077238768fe10a",e}({});let tu="Annie_expressive12_public",tc="330290724a1b470fb63153f34d4c0183",td=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),th=1e3},25125:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var i=r(32113);function n(e,t){let r=e?.[t]??e?.default??e;return r!==e?(0,i.K)(r,e):r}},25903:(e,t,r)=>{"use strict";r.d(t,{s:()=>n});var i=r(27626);function n(e){return(0,i.G)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}},27102:(e,t,r)=>{"use strict";r.d(t,{$:()=>s});var i=r(33601);function n(e){return"1"===e||"true"===e||"0"!==e&&"false"!==e&&void 0}let s=Object.assign({},{API_DEV:!0,NEXT_API_DEV:!0,CX_DEV:!0,CAPTURE_DEV:!1,COPILOT_DEV:!1,AGENT_DEMO_DEV:!1,IMAGE_RESIZER_DEV:!1},{...void 0!==i&&n(i.env.API_DEV)&&{API_DEV:!0},...void 0!==i&&n(i.env.NEXT_API_DEV)&&{NEXT_API_DEV:!0},...void 0!==i&&n(i.env.CX_DEV)&&{CX_DEV:!0},...void 0!==i&&n(i.env.CAPTURE_DEV)&&{CAPTURE_DEV:!0},...void 0!==i&&(n(i.env.NEXT_PUBLIC_COPILOT_DEV)||n(i.env.COPILOT_DEV))&&{COPILOT_DEV:!0},...void 0!==i&&(n(i.env.NEXT_PUBLIC_AGENT_DEMO_DEV)||n(i.env.AGENT_DEMO_DEV))&&{AGENT_DEMO_DEV:!0},...void 0!==i&&n(i.env.IMAGE_RESIZER_DEV)&&{IMAGE_RESIZER_DEV:!0}})},27185:(e,t,r)=>{"use strict";function i(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}r.d(t,{k:()=>i})},27626:(e,t,r)=>{"use strict";function i(e){return"object"==typeof e&&null!==e}r.d(t,{G:()=>i})},29810:(e,t)=>{"use strict";
3Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{UnrecognizedActionError:function(){return r},unstable_isUnrecognizedActionError:function(){return i}});class r extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function i(e){return!!(e&&"object"==typeof e&&e instanceof r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31766:(e,t,r)=>{"use strict";r.d(t,{X:()=>n});let i=e=>null!==e;function n(e,{repeat:t,repeatType:r="loop"},s,a=1){let o=e.filter(i),l=a<0||t&&"loop"!==r&&t%2==1?0:o.length-1;return l&&void 0!==s?s:o[l]}},32113:(e,t,r)=>{"use strict";function i(e,t){if(e?.inherit&&t){let{inherit:r,...i}=e;return{...t,...i}}return e}r.d(t,{K:()=>i})},32138:(e,t,r)=>{"use strict";function i(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);let n=r?.[e]??i.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(e=>null!=e)}r.d(t,{K:()=>i})},32264:(e,t,r)=>{"use strict";r.d(t,{V:()=>c,f:()=>h});var i=r(73768);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=r(10714),a=r(5169);let o="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(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},s=[],a=0,c=t.replace(u,e=>(i.y.test(e)?(n.color.push(a),s.push(l),r.push(i.y.parse(e))):e.startsWith("var(")?(n.var.push(a),s.push("var"),r.push(e)):(n.number.push(a),s.push(o),r.push(parseFloat(e))),++a,"${}")).split("${}");return{values:r,split:c,indexes:n,types:s}}function d({split:e,types:t}){let r=e.length;return n=>{let s="";for(let u=0;u<r;u++)if(s+=e[u],void 0!==n[u]){let e=t[u];e===o?s+=(0,a.a)(n[u]):e===l?s+=i.y.transform(n[u]):s+=n[u]}return s}}let h={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(s.S)?.length||0)+(e.match(n)?.length||0)>0},parse:function(e){return c(e).values},createTransformer:function(e){return d(c(e))},getAnimatableNone:function(e){let t=c(e);return d(t)(t.values.map((e,r)=>{var n;let s;return n=t.split[r],"number"==typeof e?n?.trim().endsWith("/")?e:0:"number"==typeof(s=e)?0:i.y.test(s)?i.y.getAnimatableNone(s):s}))}}},33784:(e,t,r)=>{"use strict";r.d(t,{M:()=>i});let i=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary},34281:(e,t,r)=>{"use strict";r.d(t,{P:()=>e6});var i=r(83787),n=r(88888),s=r(55729);let a=["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 o(e){if("string"!=typeof e||e.includes("-"));else if(a.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var l=r(6029),u=r(12563);let c=(0,s.createContext)({strict:!1});var d=r(76634);let h=(0,s.createContext)({});var p=r(74682),f=r(98936);function v(e){return Array.isArray(e)?e.join(" "):e}var g=r(17203),m=r(45104),_=r(5410);let b=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function y(e,t,r){for(let i in t)(0,g.S)(t[i])||(0,m.zK)(i,r)||(e[i]=t[i])}var x=r(56061),w=r(12366);let E=()=>({...b(),attrs:{}});var A=r(72784),S=r(41977),$=r(69745),T=r(17665),k=r(99606),P=r(42711),C=r(90028);let R=e=>(t,r)=>{let i=(0,s.useContext)(h),n=(0,s.useContext)(P.t),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,i,n){return{latestValues:function(e,t,r,i){let n={},s=i(e,{});for(let e in s)n[e]=(0,$.u)(s[e]);let{initial:a,animate:o}=e,l=(0,p.e)(e),u=(0,p.O)(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===o&&(o=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===a)?o:a;if(d&&"boolean"!=typeof d&&!(0,T.N)(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let i=(0,k.a)(e,t[r]);if(i){let{transitionEnd:e,transition:t,...r}=i;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(n[e]=t)}for(let t in e)n[t]=e[t]}}}return n}(r,i,n,e),renderState:t()}})(e,t,i,n);return r?a():(0,C.M)(a)}
3,I=R({scrapeMotionValuesFromProps:S.x,createRenderState:b}),V=R({scrapeMotionValuesFromProps:r(40194).x,createRenderState:E});var O=r(46729);let L={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"]},N=!1;function M(){return!function(){if(N)return;let e={};for(let t in L)e[t]={isEnabled:e=>L[t].some(t=>!!e[t])};(0,O.lr)(e),N=!0}(),(0,O.vK)()}let D=Symbol.for("motionComponentSymbol");var F=r(56475);let j=(0,s.createContext)({});function U(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var B=r(36083);function G(e,{forwardMotionProps:t=!1,type:r}={},i,n){i&&function(e){let t=M();for(let r in e)t[r]={...t[r],...e[r]};(0,O.lr)(t)}(i);let a=r?"svg"===r:o(e),m=a?V:I;function S(r,i){let S,$={...(0,s.useContext)(d.Q),...r,layoutId:function({layoutId:e}){let t=(0,s.useContext)(u.L).id;return t&&void 0!==e?t+"-"+e:e}(r)},{isStatic:T}=$,k=function(e){let{initial:t,animate:r}=function(e,t){if((0,p.e)(e)){let{initial:t,animate:r}=e;return{initial:!1===t||(0,f.w)(t)?t:void 0,animate:(0,f.w)(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,s.useContext)(h));return(0,s.useMemo)(()=>({initial:t,animate:r}),[v(t),v(r)])}(r),C=m(r,T);if(!T&&"undefined"!=typeof window){(0,s.useContext)(c).strict;let t=function(e){let{drag:t,layout:r}=M();if(!t&&!r)return{};let i={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}($);S=t.MeasureLayout,k.visualElement=function(e,t,r,i,n,a){let{visualElement:o}=(0,s.useContext)(h),l=(0,s.useContext)(c),u=(0,s.useContext)(P.t),p=(0,s.useContext)(d.Q),f=p.reducedMotion,v=p.skipAnimations,g=(0,s.useRef)(null),m=(0,s.useRef)(!1);i=i||l.renderer,!g.current&&i&&(g.current=i(e,{visualState:t,parent:o,props:r,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:f,skipAnimations:v,isSVG:a}),m.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let _=g.current,b=(0,s.useContext)(j);_&&!_.projection&&n&&("html"===_.type||"svg"===_.type)&&function(e,t,r,i){let{layoutId:n,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!a||o&&U(o),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(g.current,r,n,b);let y=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{_&&y.current&&_.update(r,u)});let x=r[F.n],w=(0,s.useRef)(!!x&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(x)&&window.MotionHasOptimisedAnimation?.(x));return(0,B.E)(()=>{m.current=!0,_&&(y.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),_.scheduleRenderMicrotask(),w.current&&_.animationState&&_.animationState.animateChanges())}),(0,s.useEffect)(()=>{_&&(!w.current&&_.animationState&&_.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(x)}),w.current=!1),_.enteringChildren=void 0)}),_}(e,C,$,n,t.ProjectionNode,a)}return(0,l.jsxs)(h.Provider,{value:k,children:[S&&k.visualElement?(0,l.jsx)(S,{visualElement:k.visualElement,...$}):null,function(e,t,r,{latestValues:i},n,a=!1,l){let u=(l??o(e)?function(e,t,r,i){let n=(0,s.useMemo)(()=>{let r=E();return(0,x.B)(r,t,(0,w.n)(i),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};y(t,e.style,e),n.style={...t,...n.style}}return n}:function(e,t){let r={},i=function(e,t){let r=e.style||{},i={};return y(i,r,e),Object.assign(i,function({transformTemplate:e},t){return(0,s.useMemo)(()=>
3{let r=b();return(0,_.O)(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),i}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r})(t,i,n,e),c=(0,A.J)(t,"string"==typeof e,a),d=e!==s.Fragment?{...c,...u,ref:r}:{},{children:h}=t,p=(0,s.useMemo)(()=>(0,g.S)(h)?h.get():h,[h]);return(0,s.createElement)(e,{...d,children:p})}(e,r,function(e,t,r){let i=(0,s.useRef)(r);(0,s.useInsertionEffect)(()=>{i.current=r});let n=(0,s.useRef)(null);return(0,s.useCallback)(r=>{r&&e.onMount?.(r);let s=i.current;if("function"==typeof s)if(r){let e=s(r);"function"==typeof e&&(n.current=e)}else n.current?(n.current(),n.current=null):s(r);else s&&(s.current=r);t&&(r?t.mount(r):t.unmount())},[t])}(C,k.visualElement,i),C,T,t,a)]})}S.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let $=(0,s.forwardRef)(S);return $[D]=e,$}var z=r(15973),H=r(16819);class W extends z.X{constructor(e){super(e),e.animationState||(e.animationState=(0,H.L)(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,T.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var q=r(55426);let X=0;class K extends z.X{constructor(){super(...arguments),this.id=X++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;if(e&&!1===r){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){let r=(0,q.K)(this.node,e,t);if(r){let{transition:e,transitionEnd:t,...i}=r;for(let e in i)this.node.getValue(e)?.jump(i[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let Y=e=>e;var Q=r(73525),Z=r(62667),J=r(14893),ee=r(15650),et=r(47223),er=r(50891),ei=r(94229),en=r(12998),es=r(75399),ea=r(93384),eo=r(22942),el=r(6500),eu=r(27185),ec=r(80601),ed=r(60386),eh=r(33784);function ep(e){return{point:{x:e.pageX,y:e.pageY}}}function ef(e,t,r,i){return(0,eu.k)(e,t,e=>(0,eh.M)(e)&&r(e,ep(e)),i)}let ev=({current:e})=>e?e.ownerDocument.defaultView:null,eg=(e,t)=>r=>t(e(r)),em=(...e)=>e.reduce(eg);var e_=r(655);let eb=(e,t)=>Math.abs(e-t),ey=new Set(["auto","scroll"]);class ex{constructor(e,t,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:a}={}){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=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ew(this.lastRawMoveEventInfo,this.transformPagePoint));let e=eA(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){return Math.sqrt(eb(e.x,t.x)**2+eb(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!r)return;let{point:i}=e,{timestamp:n}=er.uv;this.history.push({...i,timestamp:n});let{onStart:s,onMove:a}=this.handlers;t||(s&&s(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=ew(t,this.transformPagePoint),er.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=eA("pointercancel"===e.type?this.lastMoveEventInfo:ew(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,s),i&&i(e,s)},!(0,eh.M)(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;let o=ew(ep(e),this.transformPagePoint),{point:l}=o,{timestamp:u}=er.uv;this.history=[{...l,timestamp:u}];let{onSessionStart:c}=t;c&&c(e,eA(o,this.history)),this.removeListeners=em(ef(this.contextWindow,"pointermove",this.handlePointerMove),ef(this.contextWindow,"pointerup",this.handlePointerUp),ef(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ey.has(e.overflowX)||ey.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.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(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},n={x:i.x-t.x,y:i.y-t.y};(0!==n.x||0!==n.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(e,i),er.Gt.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,er.WG)(this.updatePoint)}}function ew(e,t){return t?{point:t(e.point)}:e}function eE(e,t){return{x:e.x-t.x,y:e.y-t.y}}function eA({point:e},t){return{point:e,delta:eE(e,eS(t)),offset:eE(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null,n=eS(e);for(;r>=0&&(i=e[r],!(n.timestamp-i.timestamp>(0,e_.f)(.1)));)r--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&n.timestamp-i.timestamp>2*(0,e_.f)(t)&&(i=e[1]);let s=(0,e_.X)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let a={x:(n.x-i.x)/s,y:(n.y-i.y)/s}
3;return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,.1)}}function eS(e){return e[e.length-1]}var e$=r(61006);function eT(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function ek(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function eP(e,t,r){return{min:eC(e,t),max:eC(e,r)}}function eC(e,t){return"number"==typeof e?e:e[t]||0}let eR=new WeakMap;class eI{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,Q.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let n=e=>{t&&this.snapToCursor(ep(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,Z.W)(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,J.X)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ee.KN.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[e];i&&(t=(0,et.CQ)(i)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&er.Gt.update(()=>n(e,t),!1,!0),(0,ei.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:s}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:a}=t;if(i&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),s&&er.Gt.update(()=>s(e,t),!1,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new ex(e,{onSessionStart:n,onStart:s,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:ev(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,i=t||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!i||!r)return;let{velocity:s}=i;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&er.Gt.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:i}=this.getProps();if(!r||!eO(e,i,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:r},i){return void 0!==t&&e<t?e=i?(0,eo.k)(t,e,i.min):Math.max(e,t):void 0!==r&&e>r&&(e=i?(0,eo.k)(r,e,i.max):Math.min(e,r)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;e&&U(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:i,right:n}){return{x:eT(e.x,r,n),y:eT(e.y,t,i)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:eP(e,"left","right"),y:eP(e,"top","bottom")}}(t),i!==this.constraints&&!U(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&(0,J.X)(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!U(t))return!1;let i=t.current;(0,ed.V)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=(0,en.L)(i,n.root,this.visualElement.getTransformPagePoint()),a=(e=n.layout.layoutBox,{x:ek(e.x,s.x),y:ek(e.
3y,s.y)});if(r){let e=r((0,es.pA)(a));this.hasMutatedConstraints=!!e,e&&(a=(0,es.FY)(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all((0,J.X)(a=>{if(!eO(a,t,this.currentDirection))return;let l=o&&o[a]||{};(!0===s||s===a)&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return(0,ei.g)(this.visualElement,e),r.start((0,ea.f)(e,r,0,t,this.visualElement,!1))}stopAnimation(){(0,J.X)(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){(0,J.X)(t=>{let{drag:r}=this.getProps();if(!eO(t,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(t);if(i&&i.layout){let{min:r,max:s}=i.layout.layoutBox[t],a=n.get()||0;n.set(e[t]-(0,eo.k)(r,s,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!U(t)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};(0,J.X)(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();i[e]=function(e,t){var r;let i=.5,n=(0,et.CQ)(e),s=(0,et.CQ)(t);return s>n?i=(0,e$.q)(t.min,t.max-n,e.min):n>s&&(i=(0,e$.q)(e.min,e.max-s,t.min)),(r=i)>1?1:r<0?0:r}({min:r,max:r},this.constraints[e])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,J.X)(t=>{if(!eO(t,e,null))return;let r=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];r.set((0,eo.k)(n,s,i[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;eR.set(this.visualElement,this);let t=this.visualElement.current,r=ef(t,"pointerdown",e=>{let{drag:r,dragListener:i=!0}=this.getProps(),n=e.target,s=n!==t&&(0,el.a)(n);r&&i&&!s&&this.start(e)}),i=()=>{let{dragConstraints:r}=this.getProps();U(r)&&r.current&&(this.constraints=this.resolveRefConstraints(),e||(e=function(e,t,r){let i=(0,ec.X)(e,eV(r)),n=(0,ec.X)(t,eV(r));return()=>{i(),n()}}(t,r.current,()=>this.scalePositionWithinConstraints())))},{projection:n}=this.visualElement,s=n.addEventListener("measure",i);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),er.Gt.read(i);let a=(0,eu.k)(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,J.X)(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),r(),s(),o&&o(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:s,dragMomentum:a}}}function eV(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function eO(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class eL extends z.X{constructor(e){super(e),this.removeGroupControls=Y,this.removeListeners=Y,this.controls=new eI(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Y}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let eN=e=>(t,r)=>{e&&er.Gt.update(()=>e(t,r),!1,!0)};class eM extends z.X{constructor(){super(...arguments),this.removePointerDownListener=Y}onPointerDown(e){this.session=new ex(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ev(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:eN(e),onStart:eN(t),onMove:eN(r),onEnd:(e,t)=>{delete this.session,i&&er.Gt.postRender(()=>i(e,t))}}}mount(){this.removePointerDownListener=ef(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var eD=r(22288),eF=r(68275),ej=r(34704);let eU=!1;class eB extends s.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=e;n&&(t.group&&t.group.add(n),r&&r.register&&i&&r.register(n),eU&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),eD.w.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:i,isPresent:n}=this.props,{projection:s}=r;return s&&(s.isPresent=n,e.layoutDependency!==t&&s.setOptions({...s.options,layoutDependency:t}),eU=!0,i||e.layoutDependency!==t||void 0===t||e.isPresent!==n?s.willUpdate():this.safeToRemove(),e.isPresent!==n&&(n?s.promote():s.relegate()||er.Gt.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:r}=e;r&&(r.options.layoutAnchor=t,r.root.didUpdate(),eF.k.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:i}=e;eU=!0,i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function eG(e){let[t,r]=(0,ej.xQ)(),i=(0,s.useContext)(u.L);return(0,l.jsx)(eB,{...e,layoutGroup:i,switchLayoutGroup:(0,s.useContext)(j),isPresent:t,safeToRemove:r})}var ez=r(90831);let eH={pan:{Feature:eM},drag:{Feature:eL,ProjectionNode:ez.P,MeasureLayout:eG}};var eW=r(57597);function eq(e,t,r){let{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover","Start"===r);let n=i["onHover"+r];n&&er.Gt.postRender(()=>n(t,ep(t)))}class eX extends z.X{mount(){let{current:e}=this.node;e&&(this.unmount=(0,eW.P)(e,(e,t)=>(eq(this.node,t,"Start"),e=>eq(this.node,e,"End"))))}unmount(){}}class eK extends z.X{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&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=em((0,eu.k)(this.node.current,"focus",()=>this.onFocus()),(0,eu.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var eY=r(63400);function eQ(e,t,r){let{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap","Start"===r);let n=i["onTap"+("End"===r?"":r)];n&&er.Gt.postRender(()=>n(t,ep(t)))}class eZ extends z.X{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=(0,eY.c)(e,(e,t)=>(eQ(this.node,t,"Start"),(e,{success:t})=>eQ(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}let eJ=new WeakMap,e0=new WeakMap,e1=e=>{let t=eJ.get(e.target);t&&t(e)},e2=e=>{e.forEach(e1)},e3={some:0,all:1};class e5 extends z.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:i="some",once:n}=e,s={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:e3[i]},a=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,n&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),s=t?r:i;s&&s(e)};this.stopObserver=function(e,t,r){let i=function({root:e,...t}){let r=e||document;e0.has(r)||e0.set(r,{});let i=e0.get(r),n=JSON.stringify(t);return i[n]||(i[n]=new IntersectionObserver(e2,{root:e,...t})),i[n]}(t);return eJ.set(e,r),i.observe(e),()=>{eJ.delete(e),i.unobserve(e)}}(this.node.current,s,a)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let e4={layout:{ProjectionNode:ez.P,MeasureLayout:eG}},e6=function(e,t){if("undefined"==typeof Proxy)return G;let r=new Map,i=(r,i)=>G(r,i,e,t);return new Proxy((e,t)=>i(e,t),{get:(n,s)=>"create"===s?i:(r.has(s)||r.set(s,G(s,void 0,e,t)),r.get(s))})}({animation:{Feature:W},exit:{Feature:K},inView:{Feature:e5},tap:{Feature:eZ},focus:{Feature:eK},hover:{Feature:eX},...eH,...e4},(e,t)=>t.isSVG??o(e)?new i.l(t):new n.M(t,{allowProjection:e!==s.Fragment}))},34584:(e,t,r)=>{"use strict";r.d(t,{$J4:()=>eS,CPk:()=>f,CnI:()=>el,DBA:()=>ep,DK4:()=>ev,DX7:()=>Y,Dal:()=>q,F3k:()=>ei,FN3:()=>u,GCk:()=>G,Gh8:()=>eO,H17:()=>b,Ie4:()=>C,JaZ:()=>F,Js3:()=>w,KK1:()=>eN,KhD:()=>_,Mmx:()=>Q,Ncw:()=>eh,OzC:()=>en,P4S:()=>eL,P_H:()=>K,PsK:()=>eP,QpO:()=>W,Qu7:()=>H,R9y:()=>c,RAL:()=>D,S82:()=>eF,SCv:()=>em,SMX:()=>j,TH1:()=>Z,TTc:()=>T,Te6:()=>L,TiA:()=>l,Tuc:()=>x,Ugl:()=>eo,VlF:()=>z,XLb:()=>y,XiH:()=>n,Xze:()=>v,Y2s:()=>R,YrJ:()=>B,YuK:()=>s,ZbV:()=>ek,a5g:()=>h,a9w:()=>ec,au6:()=>S,bz$:()=>P,cXU:()=>et,clU:()=>ew,d4O:()=>eu,d8p:()=>ex,dmn:()=>p,e9y:()=>M,eBH:()=>e$,ep9:()=>eg,fii:()=>e_,gEL:()=>$,gkt:()=>ee,h4v:()=>eM,hfK:()=>ea,iTE:()=>eb,jjS:()=>i,kNL:()=>d,kaB:()=>er,lTD:()=>eD,nK9:()=>X,nLk:()=>J,nnY:()=>eC,oEE:()=>eT,ofV:()=>g,pvt:()=>ey,pxB:()=>E,qR8:()=>k,rIc:()=>O,rY1:()=>eV,s3G:()=>U,s9F:()=>es,sJP:()=>a,sQ8:()=>eA,srS:()=>eE,t7T:()=>eR,ut3:()=>N,vel:()=>I,vf$:()=>o,vwo:()=>ed,wwE:()=>A,wzY:()=>m,xPy:()=>eI,xVY:()=>V,zKK:()=>ef});let i=()=>"/presenter-notes",n=()=>"/expired-link",s=()=>"/api/liveblocks-auth",a=()=>"/api",o=()=>"/api/feedback",l=e=>{let{interest_flow_id:t}=e;return"/preview/interest-flow/".concat(t)},u=e=>{let{id:t}=e;return"/preview/capture/".concat(t)},c=e=>{let{flow_id:t}=e;return"/preview/flow/".concat(t)},d=()=>"/integration/salesloft/link-account",h=()=>"/integration/outreach/link-account",p=()=>"/integration/office/link-account",f=()=>"/integration/office/dialog",v=()=>"/integration/highspot/link-account",g=()=>"/integration/gong/link-account",m=()=>"/integration/front/link-account",_=e=>{let{agentDemoId:t}=e;return"/agent/preview/".concat(t)},b=()=>"/api/video-export",y=()=>"/api/visitors/session",x=()=>"/api/share",w=()=>"/api/recipient-gate/validate-otp",E=()=>"/api/recipient-gate/request",A=()=>"/api/recipient-gate",S=()=>"/api/recipient-gate/generate-otp",$=e=>{let{id:t}=e;return"/api/project-version/".concat(t)},T=()=>"/api/project",k=()=>"/api/pdf-export",P=()=>"/api/onboarding/workspace-slug",C=()=>"/api/mcp",R=()=>"/api/form/validate-email",I=()=>"/api/flow/create-sandbox",V=()=>"/api/flow/create-sandbox-from-graph",O=()=>"/api/export/visitors",L=()=>"/api/export/submissions",N=()=>"/api/export/share-links",M=()=>"/api/export/rep-activity",D=()=>"/api/export/members",F=()=>"/api/export/launchpad-visitors",j=()=>"/api/export/launchpad-accounts",U=()=>"/api/export/demos",B=()=>"/api/export/demo-activity",G=()=>"/api/export/analytics",z=()=>"/api/export/agent-conversations",H=()=>"/api/export/accounts",W=()=>"/api/events/page-close",q=()=>"/api/events/ingest",X=()=>"/api/enrichment",K=()=>"/api/auth/token",Y=()=>"/api/auth/front",Q=()=>"/api/auth/exists",Z=()=>"/api/agent-demos/session",J=()=>"/api/agent-demos/identify",ee=()=>"/api/agent-demos/enrich",et=()=>"/api/_log/ingest",er=e=>{let{workspace_slug:t}=e;return"/".concat(t,"/workspace/members")},ei=e=>{let{workspace_slug:t}=e;return"/".concat(t,"/workspace/general")},en=e=>{let{workspace_slug:t,id:r}=e;return"/".concat(t,"/templates/").concat(r)},es=e=>{let{workspace_slug:t}=e;return"/".concat(t,"/settings/labels")},ea=e=>{let{workspace_slug:t}=e;return"/".concat(t,"/settings/defaults")},eo=e=>{let{workspace_slug:t}=e;return"/".concat(t,"/settings/boards")},el=e=>{let{workspace_slug:t}=e;return"/".concat(t,"/my-demos")},eu=e=>{let{workspace_slug:t}=e;return"/".concat(t,"/launchpad/profile")},ec=e=>{let{id:t}=e;return"/preview/project/".concat(t)},ed=e=>{let{slug:t}=e;return"/api/workspace/".concat(t,"/request-access")},eh=e=>{let{shareLinkId:t}=e;return"/api/share-link/".concat(t,"/passcode")},ep=e=>{let{id:t}=e;return"/api/project/".concat(t,"/serve")},ef=e=>{let{id:t}=e;return"/api/project/".concat(t,"/export-draft")},ev=()=>"/api/mcp/oauth/consent",eg=e=>{let{id:t}=e;return"/api/knowledge-source/".concat(t,"/download")},em=()=>"/api/integration/slack/users",e_=()=>"/api/integration/slack/user",eb=()=>"/api/integration/slack/channels",ey=()=>"/api/integration/salesloft/create-session",ex=()=>"/api/integration/outreach/create-session",ew=()=>"/api/integration/office/exchange-token",eE=()=>"/api/integration/office/create-session-with-microsoft",eA=()=>"/api/integration/marketo/programs",eS=()=>"/api/integration/marketo/program",e$=()=>"/api/integration/marketo/fields",eT=()=>"/api/integration/highspot/create-session",ek=()=>"/api/integration/gong/create-session",eP=()=>"/api/integration/front-internal/workspace-lookup",eC=()=>"/api/integration/front-internal/request-membership",eR=()=>"/api/integration/front/create-session",eI=()=>"/api/capture/web/extract-hrefs",eV=()=>"/api/auth/sso/portal",eO=()=>"/api/agent-demos/replay/re-execute",eL=e=>{let{workspace_slug:t}=e;return"/".concat(t,"/settings/teams")},eN=e=>{let{workspace_slug:t}=e;return"/".concat(t,"/settings/integrations")},eM=e=>{let{id:t,custom_path:r}=e;return"/preview/project/".concat(t,"/share/").concat(r)},eD=e=>{let{agentDemoId:t,custom_path:r}=e;return"/preview/agent/".concat(t,"/share/").concat(r)},eF=e=>{let{workspace_slug:t,id:r,collection_id:i,capture_id:n}=e;return"/".concat(t,"/product-demos/").concat(r,"/collections/").concat(i,"/captures/").concat(n,"/edit")}},34704:(e,t,r)=>{"use strict";r.d(t,{xQ:()=>s});var i=r(55729),n=r(42711);function s(e=!0){let t=(0,i.useContext)(n.t);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:a,register:o}=t,l=(0,i.useId)();(0,i.useEffect)(()=>
3{if(e)return o(l)},[e]);let u=(0,i.useCallback)(()=>e&&a&&a(l),[l,a,e]);return!r&&a?[!1,u]:[!0]}},35861:(e,t,r)=>{"use strict";r.d(t,{d:()=>n});var i=r(32264);let n={...i.f,getAnimatableNone:e=>{let t=i.f.parse(e);return i.f.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}}},36021:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(67598)}])},36083:(e,t,r)=>{"use strict";r.d(t,{E:()=>n});var i=r(55729);let n="undefined"!=typeof window?i.useLayoutEffect:i.useEffect},36321:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});var i=r(56475);function n(e){return e.props[i.n]}},36457:(e,t,r)=>{"use strict";r.d(t,{$:()=>i});let i=new Set(["width","height","top","left","right","bottom",...r(40574).U])},38158:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i,t:()=>n});let i=2e4;function n(e){let t=0,r=e.next(t);for(;!r.done&&t<i;)t+=50,r=e.next(t);return t>=i?1/0:t}},38925:(e,t,r)=>{"use strict";r.d(t,{AA:()=>v,C4:()=>m,cW:()=>b,ce:()=>g,qt:()=>_});var i,n,s=r(33601);let a=RegExp("^http[s]?://((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])"),o=function(){let e="http://localhost:3000";if(a.test(window.location.origin))return window.location.origin;if("/offline"===window.location.pathname)return e;let{hostname:t,protocol:r,port:i}
3=window.location;return"localhost"===t||t.endsWith(".localhost")?"".concat(r,"//localhost").concat(i?":".concat(i):""):e}();function l(e,t){return"http://127.0.0.1:".concat(e||t)}let u=void 0!==s,c=l(u?s.env.NEXT_PUBLIC_DEV_CF_CDN_PORT:void 0,8787),d=l(u?s.env.NEXT_PUBLIC_DEV_CF_IMG_PORT:void 0,8788),h=l(u?s.env.NEXT_PUBLIC_DEV_CF_COPILOT_PORT:void 0,8789),p=(void 0!==s?null==s||null==(i=s.env)?void 0:i.NEXT_PUBLIC_AUTH_URL:void 0)||void 0,f=void 0!==(null==(n=globalThis.process)?void 0:n.env)&&null!=p?p:o,v={CAPTURE_PLAYER_URL:{PROD:"https://c.navattic.com",STAGING:"https://c.navattic.dev",DEV:c},COPILOT_URL:{PROD:"https://copilot.navattic.com",STAGING:"https://copilot.navattic.dev",DEV:h},NAVATTIC_AGENTS_URL:{PROD:"https://agents.navattic.com",STAGING:"https://agents.navattic.dev",DEV:"http://127.0.0.1:8790"},CAPTURE_EMBED_URL:{PROD:"https://capture.navattic.com",STAGING:"https://capture.navattic.dev",DEV:"http://capture.localhost:3000"},CAPTURE_SCREENSHOT_URL:{PROD:"https://c.navattic.com",STAGING:"https://c.navattic.dev",DEV:c},APP_URL:{PROD:"https://app.navattic.com",STAGING:null!=p?p:"https://app.navattic.dev",DEV:f},NEXT_API:{PROD:"https://app.navattic.com/api",STAGING:p?"".concat(p,"/api"):"https://app.navattic.dev/api",DEV:"".concat(f,"/api")},IMAGE_RESIZER_URL:{PROD:"https://image.navattic.media",STAGING:"https://image-dev.navattic.media",DEV:d},DESKTOP_PROTOCOL:{PROD:"navattic",STAGING:"navattic-staging",DEV:"navattic-dev"},RIDE_ALONG_PROTOCOL:{PROD:"navattic-ride-along",STAGING:"navattic-ride-along-staging",DEV:"navattic-ride-along-dev"}},g={EXTENSION_ID:"lbecioncobbndebbfdopnpinnibemoon",LAUNCHPAD_EXTENSION_ID:"niekkpiejdapnjipjciadeddkpnpbbik",POSTHOG_KEY:"phc_AVVkVrnhqE1iXUQ9bAojCdSE6Y9O1EwWB52l0HBb6c3",VITALLY_KEY:"ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SmhkV1FpT2lKbU9ESm1aRFptWmkwNE1XWXhMVFEyTlRndFltSXhOUzAzT0dNMk9HTTVaR015TlRjaUxDSmhjR2tpT2lKa05ESTFZbUU1TnkweE1qQTJMVFEzTldFdE9XSmhPUzA0WWpWaFpXRTNNV1U0TnpjaUxDSnpaV01pT2lJMk5qVTNOR1ZqWmlKOS5ReTFoQm5pNndWQ1h3SGVyaDF2TmRQZDdGbV9rUTVfZlFGSDcwWlJsbW5rOg=="},m={EXTENSION_ID:"ehkhmdnjkhdhhchnacphceeikbmknjlk",LAUNCHPAD_EXTENSION_ID:"ogbpobodfhpacjdkdadmobchnfejfkcn",POSTHOG_KEY:"phc_HNdXAIsKlR3USsTF2u7ydnBJTVLttjqavHmp2uoS04o",VITALLY_KEY:void 0},_={EXTENSION_ID:"hchehodiojmocahamgljagkgjgfmoiga",LAUNCHPAD_EXTENSION_ID:"ogbpobodfhpacjdkdadmobchnfejfkcn",POSTHOG_KEY:"phc_HNdXAIsKlR3USsTF2u7ydnBJTVLttjqavHmp2uoS04o",VITALLY_KEY:void 0},b={PROD:"34.24.117.106",STAGING:"34.23.133.32",DEV:"34.23.133.32"}},39017:(e,t,r)=>{"use strict";r.d(t,{J:()=>l});var i=r(32264),n=r(91),s=r(35861),a=r(10854);let o=new Set([n.p,s.d]);function l(e,t){let r=(0,a.D)(e);return o.has(r)||(r=i.f),r.getAnimatableNone?r.getAnimatableNone(t):void 0}},40041:(e,t,r)=>{"use strict";r.d(t,{s:()=>a,t:()=>s});var i=r(55729);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():n(e[t],null)}}}}function a(...e){return i.useCallback(s(...e),e)}},40194:(e,t,r)=>{"use strict";r.d(t,{x:()=>a});var i=r(17203),n=r(40574),s=r(41977);function a(e,t,r){let a=(0,s.x)(e,t,r);for(let r in e)((0,i.S)(e[r])||(0,i.S)(t[r]))&&(a[-1!==n.U.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return a}},40318:(e,t,r)=>{"use strict";r.d(t,{OQ:()=>u,bt:()=>o});var i=r(81537),n=r(17334),s=r(78737),a=r(50891);let o={current:void 0};class l{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=s.k.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new i.v);let r=this.events[e].add(t);return"change"===e?()=>{r(),a.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return o.current&&o.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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(e,t){return new l(e,t)}},40574:(e,t,r)=>{"use strict";r.d(t,{U:()=>i,f:()=>n});let i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(i)},41296:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var i=r(97566),n=r(84270),s=r(11137);let a={decay:i.B,inertia:i.B,tween:n.i,keyframes:n.i,spring:s.o};function o(e){"string"==typeof e.type&&(e.type=a[e.type])}},41977:(e,t,r)=>{"use strict";r.d(t,{x:()=>s});var i=r(17203),n=r(45104);function s(e,t,r){let s=e.style,a=t?.style,o={};if(!s)return o;for(let t in s)((0,i.S)(s[t])||a&&(0,i.S)(a[t])||(0,n.zK)(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(o[t]=s[t]);return o}},42711:(e,t,r)=>{"use strict";r.d(t,{t:()=>i});let i=(0,r(55729).createContext)(null)},43224:(e,t,r)=>{"use strict";r.d(t,{Ib:()=>h,ry:()=>d,zs:()=>c});let i=e=>180*e/Math.PI,n=e=>a(i(Math.atan2(e[1],e[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:n,rotateZ:n,skewX:e=>i(Math.atan(e[1])),skewY:e=>i(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},a=e=>((e%=360)<0&&(e+=360),e),o=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),l=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:o,scaleY:l,scale:e=>(o(e)+l(e))/2,rotateX:e=>a(i(Math.atan2(e[6],e[5]))),rotateY:e=>a(i(Math.atan2(-e[2],e[0]))),rotateZ:n,rotate:n,skewX:e=>i(Math.atan(e[4])),skewY:e=>i(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function c(e){return+!!e.includes("scale")}function d(e,t){let r,i;if(!e||"none"===e)return c(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)r=u,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=s,i=t}if(!i)return c(t);let a=r[t],o=i[1].split(",").map(p);return"function"==typeof a?a(o):o[a]}let h=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return d(r,t)};function p(e){return parseFloat(e.trim())}},44214:(e,t,r)=>{"use strict";r.d(t,{R:()=>s,Y:()=>n});var i=function(){try{if("undefined"==typeof localStorage)return!1;let e="nuqs-localStorage-test";localStorage.setItem(e,e);let t=localStorage.getItem(e)===e;if(localStorage.removeItem(e),!t)return!1}catch(e){return console.error("[nuqs]: debug mode is disabled (localStorage unavailable).",e),!1}return(localStorage.getItem("debug")??"").includes("nuqs")}();function n(e,...t){if(!i)return;let r=function(e,...t){return e.replace(/%[sfdO]/g,e=>{let r=t.shift();return"%O"===e&&r?JSON.stringify(r).replace(/"([^"]+)":/g,"$1:"):String(r)})}(e,...t);performance.mark(r),console.log(e,...t)}function s(e,...t){i&&console.warn(e,...t)}},45104:(e,t,r)=>{"use strict";r.d(t,{zK:()=>s});var i=r(40574),n=r(73864);function s(e,{layout:t,layoutId:r}){return i.f.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!n.H[e]||"opacity"===e)}},45673:(e,t,r)=>{"use strict";
3Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return i}});let i=r(56947).unstable_rethrow;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46164:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var i=r(50151),n=r(15650),s=r(5169),a=r(3524);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:a=1})=>"hsla("+Math.round(e)+", "+n.KN.transform((0,s.a)(t))+", "+n.KN.transform((0,s.a)(r))+", "+(0,s.a)(i.X4.transform(a))+")"}},46729:(e,t,r)=>{"use strict";r.d(t,{BX:()=>P,vK:()=>k,lr:()=>T});var i=r(69622),n=r(51455),s=r(46971),a=r(81537),o=r(57672),l=r(3376),u=r(91982),c=r(68275),d=r(78737),h=r(73525),p=r(40318),f=r(32264),v=r(39017),g=r(80345),m=r(17203),_=r(46848),b=r(74682),y=r(40574),x=r(10481),w=r(99606),E=r(91590),A=r(50891);let S=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],$={};function T(e){$=e}function k(){return $}class P{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:i,skipAnimations:n,blockInitialAnimation:s,visualState:a},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=o.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 e=d.k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,A.Gt.render(this.render,!1,!0))};let{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=t.initial?{...u}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=n,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,b.e)(t),this.isVariantNode=(0,b.O)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:h,...p}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in p){let t=p[e];void 0!==u[e]&&(0,m.S)(t)&&t.set(u[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,_.C.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(E.r.current||(0,x.Uu)(),this.shouldReduceMotion=E.O.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),(0,A.WG)(this.notifyUpdate),(0,A.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&u.M.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:s,ease:a,duration:o}=t.accelerate,u=new l.m({element:this.current,name:e,keyframes:n,times:s,ease:a,duration:(0,i.f)(o)}),c=r(u);this.valueSubscriptions.set(e,()=>{c(),u.cancel()});return}let n=y.f.has(e);n&&this.onBindTransform&&this.onBindTransform();let s=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&A.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{s(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in $){let t=$[e];if(!t)continue;let{isEnabled:r,Feature:i}=t;if(!this.features[e]&&i&&r(this.props)&&(this.features[e]=new i(this)),this.features[e]){let t=this.features[e];
3t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,h.ge)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<S.length;t++){let r=S[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=e["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(e,t,r){for(let i in t){let n=t[i],s=r[i];if((0,m.S)(n))e.addValue(i,n);else if((0,m.S)(s))e.addValue(i,(0,p.OQ)(n,{owner:e}));else if(s!==n)if(e.hasValue(i)){let t=e.getValue(i);!0===t.liveStyle?t.jump(n):t.hasAnimated||t.set(n)}else{let t=e.getStaticValue(i);e.addValue(i,(0,p.OQ)(void 0!==t?t:n,{owner:e}))}}for(let i in r)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=(0,p.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&((0,n.i)(r)||(0,s.$)(r))?r=parseFloat(r):!(0,g.t)(r)&&f.f.test(t)&&(r=(0,v.J)(e,t)),this.setBaseTarget(e,(0,m.S)(r)?r.get():r)),(0,m.S)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=(0,w.a)(this.props,r,this.presenceContext?.custom);i&&(t=i[e])}if(r&&void 0!==t)return t;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,m.S)(i)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new a.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){c.k.render(this.render)}}},46848:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});let i=new WeakMap},46971:(e,t,r)=>{"use strict";r.d(t,{$:()=>i});let i=e=>/^0[^.\s]+$/u.test(e)},47130:(e,t,r)=>{"use strict";r.d(t,{j4:()=>n,pG:()=>a,rm:()=>l});let i=e=>t=>"string"==typeof t&&t.startsWith(e),n=i("--"),s=i("var(--"),a=e=>!!s(e)&&o.test(e.split("/*")[0].trim()),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}},47223:(e,t,r)=>{"use strict";r.d(t,{CQ:()=>n,HQ:()=>s,N:()=>u,jA:()=>d,vb:()=>o});var i=r(22942);function n(e){return e.max-e.min}function s(e,t,r){return Math.abs(e-t)<=r}function a(e,t,r,s=.5){e.origin=s,e.originPoint=(0,i.k)(t.min,t.max,e.origin),e.scale=n(r)/n(t),e.translate=(0,i.k)(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function o(e,t,r,i){a(e.x,t.x,r.x,i?i.originX:void 0),a(e.y,t.y,r.y,i?i.originY:void 0)}function l(e,t,r,s=0){e.min=(s?(0,i.k)(r.min,r.max,s):r.min)+t.min,e.max=e.min+n(t)}
3function u(e,t,r,i){l(e.x,t.x,r.x,i?.x),l(e.y,t.y,r.y,i?.y)}function c(e,t,r,s=0){let a=s?(0,i.k)(r.min,r.max,s):r.min;e.min=t.min-a,e.max=e.min+n(t)}function d(e,t,r,i){c(e.x,t.x,r.x,i?.x),c(e.y,t.y,r.y,i?.y)}},47527:(e,t,r)=>{"use strict";r.d(t,{ns:()=>C,SY:()=>w,Rm:()=>T,RQ:()=>x});var i=r(6029);let n=(0,r(34584).cXU)();r(33601);let s={debug:0,info:1,warn:2,error:3},a={red:"\x1b[31m",yellow:"\x1b[33m",cyan:"\x1b[36m",gray:"\x1b[90m"};a.red,a.yellow,a.cyan,a.gray;let o={red:"color: #ef4444; font-weight: bold",yellow:"color: #f59e0b; font-weight: bold",cyan:"color: #06b6d4; font-weight: bold",gray:"color: #6b7280; font-weight: bold",reset:"color: inherit; font-weight: normal"},l={error:o.red,warn:o.yellow,info:o.cyan,debug:o.gray};function u(e){return l[e]??o.reset}function c(e){return e.replace(/%/g,"%%")}function d(e){return"debug"===e?"log":e}let h=!0,p=!0,f=!0,v="debug",g="client",m=!1,_="/api/_evlog/ingest",b="same-origin",y={};function x(e){y={...e}}function w(){y={}}async function E(e){if(m)try{await fetch(_,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e),keepalive:!0,credentials:b})}catch{}}function A(e,t){var r;if(!h||(r=v,!(s[e]>=s[r])))return;let i={timestamp:new Date().toISOString(),level:e,service:g,...y,...t};if(p){let t=d(e);if(f){let{level:e,service:r,...n}=i;console[t](`%c[${c(String(r))}]%c ${e}`,u(e),o.reset,n)}else console[t](JSON.stringify(i))}E(i)}function S(e,t,r){var i;h&&(i=v,s[e]>=s[i]&&(f?(p&&console[d(e)](`%c[${c(t)}]%c ${c(r)}`,u(e),o.reset),E({timestamp:new Date().toISOString(),level:e,service:g,...y,tag:t,message:r})):A(e,{tag:t,message:r})))}function $(e){return function(t,r){"undefined"!=typeof window&&("string"==typeof t&&void 0!==r?S(e,t,r):"object"==typeof t?A(e,t):S(e,"log",String(t)))}}let T={info:$("info"),error:$("error"),warn:$("warn"),debug:$("debug")};var k=r(55729);function P({service:e,pretty:t,transport:r,enabled:i,console:n,minLevel:s,children:a}){return(0,k.useEffect)(()=>{!function(e={}){h="boolean"!=typeof e.enabled||e.enabled,p="boolean"!=typeof e.console||e.console,f="boolean"!=typeof e.pretty||e.pretty,v=e.minLevel??"debug",g=e.service??"client",m=e.transport?.enabled??!1,_=e.transport?.endpoint??"/api/_evlog/ingest",b=e.transport?.credentials??"same-origin"}({enabled:i,console:n,pretty:t,minLevel:s,service:e,transport:r})},[i,n,t,s,e,r]),a}function C(e){let{children:t}=e;return(0,i.jsx)(P,{service:"web",transport:{enabled:!0,endpoint:n},children:t})}},48539:(e,t,r)=>{"use strict";r.d(t,{s:()=>b});var i=r(65848),n=r(51095),s=r(69622),a=r(78737),o=r(78416),l=r(50192),u=r(50891);let c=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>u.Gt.update(t,e),stop:()=>(0,u.WG)(t),now:()=>u.uv.isProcessing?u.uv.timestamp:a.k.now()}};var d=r(97566),h=r(84270),p=r(38158),f=r(10013),v=r(31766),g=r(41296),m=r(89602);let _=e=>e/100;class b extends m.q{constructor(e){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:e}=this.options;e&&e.updatedAt!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},o.q.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;(0,g.E)(e);let{type:t=h.i,repeat:r=0,repeatDelay:n=0,repeatType:s,velocity:a=0}=e,{keyframes:o}=e,u=t||h.i;u!==h.i&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,i.F)(_,(0,l.j)(o[0],o[1])),o=[0,100]);let c=u({...e,keyframes:o});"mirror"===s&&(this.mirroredGenerator=u({...e,keyframes:[...o].reverse(),velocity:-a})),null===c.calculatedDuration&&(c.calculatedDuration=(0,p.t)(c));let{calculatedDuration:d}=c;this.calculatedDuration=d,this.resolvedDuration=d+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:i,totalDuration:s,mixKeyframes:a,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return i.next(0);let{delay:c=0,keyframes:h,repeat:p,repeatType:f,repeatDelay:g,type:m,onUpdate:_,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-s/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?y<0:y>s;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let w=this.currentTime,E=i;if(p){let e=Math.min(this.currentTime,s)/l,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,p+1))%2&&("reverse"===f?(r=1-r,g&&(r-=g/l)):"mirror"===f&&(E=o)),w=(0,n.q)(0,1,r)*l}x?(this.delayState.value=h[0],r=this.delayState):r=E.next(w),a&&!x&&(r.value=a(r.value));let{done:A}=r;x||null===u||(A=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&A);return S&&m!==d.B&&(r.value=(0,v.X)(h,this.options,b,this.speed)),_&&_(r.value),S&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return(0,s.X)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,s.X)(e)}get time(){return(0,s.X)(this.currentTime)}set time(e){e=(0,s.f)(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return(0,f.z)(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(a.k.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=c,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"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(a.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,o.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}},50151:(e,t,r)=>{"use strict";r.d(t,{X4:()=>s,ai:()=>n,hs:()=>a});var i=r(51095);let n={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},s={...n,transform:e=>(0,i.q)(0,1,e)},a={...n,default:1}},50192:(e,t,r)=>{"use strict";r.d(t,{j:()=>A});var i=r(65848),n=r(95413),s=r(47130),a=r(73768),o=r(32264),l=r(59943),u=r(46164);function c(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var d=r(78072);function h(e,t){return r=>r>0?t:e}var p=r(22942);let f=(e,t,r)=>{let i=e*e,n=r*(t*t-i)+i;return n<0?0:Math.sqrt(n)},v=[l.u,d.B,u.V];function g(e){let t=v.find(t=>t.test(e));if((0,n.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===u.V&&(r=function({hue:e,saturation:t,lightness:r,alpha:i}
3){e/=360,r/=100;let n=0,s=0,a=0;if(t/=100){let i=r<.5?r*(1+t):r+t-r*t,o=2*r-i;n=c(o,i,e+1/3),s=c(o,i,e),a=c(o,i,e-1/3)}else n=s=a=r;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*a),alpha:i}}(r)),r}let m=(e,t)=>{let r=g(e),i=g(t);if(!r||!i)return h(e,t);let n={...r};return e=>(n.red=f(r.red,i.red,e),n.green=f(r.green,i.green,e),n.blue=f(r.blue,i.blue,e),n.alpha=(0,p.k)(r.alpha,i.alpha,e),d.B.transform(n))},_=new Set(["none","hidden"]);function b(e,t){return r=>(0,p.k)(e,t,r)}function y(e){return"number"==typeof e?b:"string"==typeof e?(0,s.pG)(e)?h:a.y.test(e)?m:E:Array.isArray(e)?x:"object"==typeof e?a.y.test(e)?m:w:h}function x(e,t){let r=[...e],i=r.length,n=e.map((e,r)=>y(e)(e,t[r]));return e=>{for(let t=0;t<i;t++)r[t]=n[t](e);return r}}function w(e,t){let r={...e,...t},i={};for(let n in r)void 0!==e[n]&&void 0!==t[n]&&(i[n]=y(e[n])(e[n],t[n]));return e=>{for(let t in i)r[t]=i[t](e);return r}}let E=(e,t)=>{let r=o.f.createTransformer(t),s=(0,o.V)(e),a=(0,o.V)(t);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?_.has(e)&&!a.values.length||_.has(t)&&!s.values.length?function(e,t){return _.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}(e,t):(0,i.F)(x(function(e,t){let r=[],i={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let s=t.types[n],a=e.indexes[s][i[s]],o=e.values[a]??0;r[n]=o,i[s]++}return r}(s,a),a.values),r):((0,n.$)(!0,`Complex values '${e}' and '${t}' 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"),h(e,t))};function A(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?(0,p.k)(e,t,r):y(e)(e,t)}},50891:(e,t,r)=>{"use strict";r.d(t,{Gt:()=>n,PP:()=>o,WG:()=>s,uv:()=>a});var i=r(4588);let{schedule:n,cancel:s,state:a,steps:o}=(0,r(86246).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.l,!0)},51095:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});let i=(e,t,r)=>r>t?t:r<e?e:r},51455:(e,t,r)=>{"use strict";r.d(t,{i:()=>i});let i=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)},51809:(e,t,r)=>{"use strict";r.d(t,{x:()=>o});var i=r(6029),n=r(55613),s=r(23397),a=r(98077);function o(e){let{title:t,body:r,children:o}=e;return(0,i.jsxs)("div",{className:"bg-muted mx-auto flex h-screen w-full flex-col items-center justify-center pt-10 pb-12 text-center",children:[(0,i.jsx)("a",{href:"/",className:"mb-7 inline-flex",children:(0,i.jsx)(a.ys,{height:"27px"})}),(0,i.jsx)("h1",{className:"text-default text-xl font-semibold",children:t}),(0,i.jsx)("p",{className:"mt-2 text-sm leading-5 text-gray-600",children:r}),(0,i.jsxs)("div",{className:"mt-6 flex justify-center space-x-3 sm:border-l sm:border-transparent sm:pl-6",children:[o,(0,i.jsx)("a",{href:"mailto:".concat(s.Teh),children:(0,i.jsx)(n.$,{size:"sm",variant:"outline",children:"Contact support"})})]})]})}},51943:(e,t,r)=>{"use strict";r.d(t,{z:()=>a});var i=r(93384),n=r(40318),s=r(17203);function a(e,t,r){let a=(0,s.S)(e)?e:(0,n.OQ)(e);return a.start((0,i.f)("",a,t,r)),a.animation}},52229:(e,t,r)=>{e.exports=r(85433)},52239:(e,t,r)=>{"use strict";function i(e,{style:t,vars:r},i,n){let s,a=e.style;for(s in t)a[s]=t[s];for(s in n?.applyProjectionStyles(a,i),r)a.setProperty(s,r[s])}r.d(t,{e:()=>i})},53455:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});let i=e=>t=>1-e(1-t)},54482:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return n},useServerInsertedHTML:function(){return s}});let i=r(78963)._(r(55729)),n=i.default.createContext(null);function s(e){let t=(0,i.useContext)(n);t&&t(e)}},54540:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});var i=r(17203),n=r(10634),s=r(46729);class a extends s.BX{constructor(){super(...arguments),this.KeyframeResolver=n.K}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,i.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}},55426:(e,t,r)=>{"use strict";r.d(t,{K:()=>n});var i=r(99606);function n(e,t,r){let n=e.getProps();return(0,i.a)(n,t,void 0!==r?r:n.custom,e)}},55559:(e,t,r)=>{"use strict";r.d(t,{$:()=>p});var i=r(25125),n=r(32113),s=r(36457),a=r(40318),o=r(55426),l=r(70831),u=r(94229),
3c=r(36321),d=r(93384),h=r(50891);function p(e,t,{delay:r=0,transitionOverride:f,type:v}={}){let{transition:g,transitionEnd:m,..._}=t,b=e.getDefaultTransition();g=g?(0,n.K)(g,b):b;let y=g?.reduceMotion;f&&(g=f);let x=[],w=v&&e.animationState&&e.animationState.getState()[v];for(let t in _){let n=e.getValue(t,e.latestValues[t]??null),a=_[t];if(void 0===a||w&&function({protectedKeys:e,needsAnimating:t},r){let i=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,i}(w,t))continue;let o={delay:r,...(0,i.r)(g||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(a)&&a===l&&!o.velocity){h.Gt.update(()=>n.set(a));continue}let p=!1;if(window.MotionHandoffAnimation){let r=(0,c.P)(e);if(r){let e=window.MotionHandoffAnimation(r,t,h.Gt);null!==e&&(o.startTime=e,p=!0)}}(0,u.g)(e,t);let f=y??e.shouldReduceMotion;n.start((0,d.f)(t,n,a,f&&s.$.has(t)?{type:!1}:o,e,p));let v=n.animation;v&&x.push(v)}if(m){let t=()=>h.Gt.update(()=>{m&&function(e,t){let{transitionEnd:r={},transition:i={},...n}=(0,o.K)(e,t)||{};for(let t in n={...n,...r}){var s;let r=(s=n[t],(0,l.p)(s)?s[s.length-1]||0:s);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,(0,a.OQ)(r))}}(e,m)});x.length?Promise.all(x).then(t):t()}return x}},55613:(e,t,r)=>{"use strict";r.d(t,{$:()=>v,r:()=>d});var i=r(6029),n=r(95632),s=r(95678),a=r(97628),o=r(67827),l=r(34281),u=r(87173),c=r(55729);let d=(0,o.F)(["relative flex items-center justify-center whitespace-nowrap transition-all border outline-hidden focus-visible:outline-hidden group shrink-0 w-fit","disabled:opacity-50 disabled:cursor-not-allowed","font-medium leading-none"],{variants:{variant:{solid:"light text-white",outline:"bg-default",ghost:"border-transparent bg-transparent text-gray-600"},colorScheme:{gray:"",brand:"",red:""},size:{xs:"h-6 rounded-lg text-xs",sm:"h-7 rounded-lg text-sm",md:"h-8 rounded-lg text-sm",lg:"h-10 rounded-[10px] text-md"}},defaultVariants:{variant:"solid",size:"md"},compoundVariants:[{variant:"solid",colorScheme:"gray",className:(0,n.cn)(["border-gray-900 bg-gray-800 shadow-solid-gray-button-default","enabled:hover:bg-gray-700","enabled:active:shadow-solid-button-gray-active enabled:data-[active=true]:shadow-solid-button-gray-active data-[state=on]:shadow-solid-button-gray-active","focus-visible:shadow-solid-button-gray-focus focus-outline-emphasized"])},{variant:"solid",colorScheme:"brand",className:(0,n.cn)(["bg-blue-500 border-blue-600 shadow-solid-blue-button-default","enabled:hover:bg-blue-600","enabled:active:shadow-solid-button-active enabled:data-[active=true]:shadow-solid-button-active data-[state=on]:shadow-solid-button-active","focus-visible:shadow-solid-button-blue-focus focus-visible:outline-1 focus-visible:outline-offset-1 focus-visible:outline-blue-500/50"])},{variant:"solid",colorScheme:"red",className:(0,n.cn)(["bg-red-500 border-red-600 shadow-solid-red-button-default","enabled:hover:bg-red-600","enabled:active:shadow-solid-button-active enabled:data-[active=true]:shadow-solid-button-active data-[state=on]:shadow-solid-button-active","focus-visible:shadow-solid-button-red-focus focus-visible:outline-1 focus-visible:outline-offset-1 focus-visible:outline-red-500/50"])},{variant:"outline",colorScheme:"gray",className:(0,n.cn)(["border-gray-300 shadow-button-elevated text-gray-700","enabled:hover:bg-gray-50 enabled:hover:text-gray-900","enabled:active:text-gray-900 enabled:data-[active=true]:text-gray-900 enabled:active:shadow-button-shallow-inset-indented enabled:data-[active=true]:shadow-button-shallow-inset-indented data-[state=on]:shadow-button-shallow-inset-indented data-[state=on]:text-gray-900 data-[state=on]:bg-gray-50","focus-visible:text-gray-900 focus-outline"])},{variant:"outline",colorScheme:"red",className:(0,n.cn)(["text-red-900 border-gray-300 shadow-button-elevated","enabled:hover:bg-red-200/50 enabled:hover:border-red-200","enabled:active:bg-red-200/50 enabled:data-[active=true]:bg-red-200/50 enabled:active:border-red-200 enabled:data-[active=true]:border-red-200 enabled:active:shadow-button-shallow-inset-indented enabled:data-[active=true]:shadow-button-shallow-inset-indented data-[state=on]:shadow-button-shallow-inset-indented data-[state=on]:text-red-900 data-[state=on]:border-red-200 data-[state=on]:bg-red-200/50","focus-visible:bg-red-200/50 focus-visible:border-red-200 focus-visible:outline-1 focus-visible:outline-offset-1 focus-visible:outline-red-500/10"])},{variant:"ghost",colorScheme:"gray",className:(0,n.cn)(["enabled:hover:text-gray-900 enabled:hover:border-gray-200 enabled:hover:bg-gray-100","enabled:active:text-gray-900 enabled:data-[active=true]:text-gray-900 enabled:active:border-gray-100 enabled:data-[active=true]:border-gray-100 enabled:active:bg-gray-200 enabled:data-[active=true]:bg-gray-200 enabled:active:shadow-ghost-button-active enabled:data-[active=true]:shadow-ghost-button-active data-[state=on]:shadow-ghost-button-active data-[state=on]:text-gray-900 data-[state=on]:border-gray-100 data-[state=on]:bg-gray-200","focus-visible:text-gray-900 focus-visible:bg-gray-100 focus-outline"])},{variant:"ghost",colorScheme:"red",className:(0,n.cn)(["text-red-900","enabled:hover:text-red-900 enabled:hover:border-red-200 enabled:hover:bg-red-200/50","enabled:active:text-red-900 enabled:data-[active=true]:text-red-900 enabled:active:border-red-100 enabled:data-[active=true]:border-red-100 enabled:active:bg-red-200/50 enabled:data-[active=true]:bg-red-200/50 enabled:active:shadow-ghost-button-active enabled:data-[active=true]:shadow-ghost-button-active data-[state=on]:shadow-ghost-button-active data-[state=on]:text-red-900 data-[state=on]:border-red-100 data-[state=on]:bg-red-200/50","focus-visible:text-red-900 focus-visible:bg-red-200/50 focus-visible:outline-1 focus-visible:outline-offset-1 focus-visible:outline-red-500/10"])}]}),h=(0,o.F)("flex items-center justify-center",{variants:{size:{xs:"gap-x-1.5 px-2.5",sm:"gap-x-1.5 px-2.5",md:"gap-x-1.5 px-3",lg:"gap-x-2 px-3.5"},icon:{left:"pl-2.5",right:"pr-2.5",both:"px-2.5"}},defaultVariants:{size:"md",icon:null},compoundVariants:[{size:"xs",icon:"left",className:"pl-2"},{size:"xs",icon:"right",className:"pr-2"},{size:"xs",icon:"both",className:"px-2"},{size:"sm",icon:"left",className:"pl-2"},{size:"sm",icon:"right",className:"pr-2"},{size:"sm",icon:"both",className:"px-2"},{size:"lg",icon:"left",className:"pl-3"},{size:"lg",icon:"right",className:"pr-3"},{size:"lg",icon:"both",className:"px-3"}]}),p=(0,o.F)([],{variants:{variant:{solid:"text-white",outline:"",ghost:"text-gray-600 group-hover:enabled:text-gray-900 group-active:enabled:text-gray-900 group-data-[active=true]:enabled:text-gray-900 group-focus-visible:enabled:text-gray-900"},colorScheme:{gray:"",brand:"",red:""}},compoundVariants:[{variant:"outline",colorScheme:"gray",className:"text-gray-600 group-hover:enabled:text-gray-800 group-active:enabled:text-gray-800 group-data-[active=true]:enabled:text-gray-800 group-focus-visible:enabled:text-gray-800"},{variant:"outline",colorScheme:"red",className:"text-red-800 group-hover:enabled:text-red-900 group-active:enabled:text-red-900 group-data-[active=true]:enabled:text-red-900 group-focus-visible:enabled:text-red-900"},{variant:"ghost",colorScheme:"red",className:"text-red-800 group-hover:enabled:text-red-900 group-active:enabled:text-red-900 group-data-[active=true]:enabled:text-red-900 group-focus-visible:enabled:text-red-900"}]}),f=e=>{let{iconLeft:t,iconRight:r,children:a,size:o,variant:l,colorScheme:u,iconLeftClassName:c,iconRightClassName:d}=e;return(0,i.jsxs)(i.Fragment,{children:["string"==typeof t?(0,i.jsx)(s.I,{name:t,size:o,className:(0,n.cn)(p({variant:l,colorScheme:u}),c)}):t,a,"string"==typeof r?(0,i.jsx)(s.I,{name:r,size:o,className:(0,n.cn)(p({variant:l,colorScheme:u}),d)}):r]})},v=(0,c.forwardRef)((e,t)=>{let{variant:r="solid",iconLeft:o,iconRight:p,children:v,size:g="md",colorScheme:m="gray",asChild:_=!1,isLoading:b=!1,isDisabled:y=!1,loadingText:x,isActive:w,className:E,"aria-label":A,"data-test-id":S,...$}=e,T=_?a.DX:l.P.button,k=o&&p?"both":o?"left":p?"right":void 0,P=(0,c.useRef)(null),C=(0,c.useRef)(null),[R,I]=(0,c.useState)(void 0);(0,c.useEffect)(()=>{C.current&&I(Math.floor(C.current.getBoundingClientRect().width)+2)},[v,o,p,g]);let V=(0,c.useMemo)(()=>{let e=(0,n.Ah)(v);return"".concat(e,"-").concat(o,"-").concat(p,"-").concat(r,"-").concat(m,"-").concat(g)}
3,[v,o,p,r,m,g]),O="string"==typeof E?{root:E}:E||{},L=(0,c.useMemo)(()=>{switch(!0){case b:return"Loading";case y:return"Disabled";default:return"Idle"}},[y,b]),N={initial:{opacity:0,scale:.96,filter:"blur(2px)",transition:{duration:.15}},animate:{opacity:1,scale:1,filter:"blur(0px)",transition:{duration:.15}},exit:{opacity:0,scale:.96,filter:"blur(2px)",transition:{duration:.15}},disabled:{opacity:.5,transition:{duration:.3}},enabled:{opacity:1,transition:{duration:.3}}};return(0,i.jsxs)(T,{className:(0,n.cn)(d({variant:r,size:g,colorScheme:m}),O.root),style:{minWidth:R?"".concat(R,"px"):void 0},disabled:y||b,"data-active":w,"aria-label":A||("string"==typeof v?v:null==v?void 0:v.toString()),ref:t,"data-test-id":S,...!_&&{initial:{minWidth:R?"".concat(R,"px"):void 0},animate:{minWidth:R?"".concat(R,"px"):void 0},transition:{duration:.2,ease:[.4,0,.2,1]}},...$,children:[(0,i.jsx)(u.N,{mode:"wait",initial:!1,children:b?(0,i.jsxs)(l.P.span,{className:(0,n.cn)("absolute inset-0 flex items-center justify-center",O.loader),variants:N,initial:"initial",animate:"animate",exit:"exit",children:[(0,i.jsx)(s.I,{name:"loader",className:"animate-spin",size:g}),x&&(0,i.jsx)("span",{className:"ml-2",children:x})]},"loader-".concat(L)):(0,i.jsx)(l.P.span,{ref:P,className:(0,n.cn)("absolute inset-0 overflow-hidden",h({size:g,icon:k}),O.contentWrapper),variants:N,initial:"initial",animate:"animate",exit:"exit",children:(0,i.jsx)(f,{iconLeft:o,iconRight:p,size:g,variant:r,colorScheme:m,iconLeftClassName:O.iconLeft,iconRightClassName:O.iconRight,children:v})},"content-".concat(V))}),(0,i.jsx)("span",{ref:C,className:(0,n.cn)("invisible overflow-hidden opacity-0",h({size:g,icon:k}),O.contentWrapper),"aria-hidden":"true",children:(0,i.jsx)(f,{iconLeft:o,iconRight:p,size:g,variant:r,colorScheme:m,iconLeftClassName:O.iconLeft,iconRightClassName:O.iconRight,children:v})})]})});v.displayName="Button"},55657:(e,t,r)=>{"use strict";let i,n,s,a,o,l,u,c,d,h,p,f,v;r.d(t,{Cp:()=>io,aL:()=>iu,Yy:()=>ia,hU:()=>il});var g=r(531);let m="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,_="10.72.0",b=globalThis;function y(){return x(b),b}function x(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||_,t[_]=t[_]||{}}function w(e,t,r=b){let i=r.__SENTRY__=r.__SENTRY__||{},n=i[_]=i[_]||{};return n[e]||(n[e]=t())}let E=["debug","info","warn","error","log","assert","trace"],A={};function S(e){if(!("console"in b))return e();let t=b.console,r={},i=Object.keys(A);i.forEach(e=>{let i=A[e];r[e]=t[e],t[e]=i});try{return e()}finally{i.forEach(e=>{t[e]=r[e]})}}function $(){return k().enabled}function T(e,...t){m&&$()&&S(()=>{b.console[e](`Sentry Logger [${e}]:`,...t)})}function k(){return m?w("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let P={enable:function(){k().enabled=!0},isEnabled:$,log:function(...e){T("log",...e)},warn:function(...e){T("warn",...e)},error:function(...e){T("error",...e)}},C=[];function R(e,t){for(let r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function I(e,t,r){if(r[t.name]){m&&P.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,C.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),C.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,i)=>r(t,i,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),i=Object.assign((t,i)=>r(t,i,e),{id:t.name});e.addEventProcessor(i)}["processSpan","processSegmentSpan"].forEach(r=>{let i=t[r];"function"==typeof i&&e.on(r,r=>i.call(t,r,e))}),m&&P.log(`Integration installed: ${t.name}`)}function V(e){let t=[];e.message&&t.push(e.message);try{let r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}let O=Object.prototype.toString;function L(e){switch(O.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return W(e,Error)}}function N(e,t){return O.call(e)===`[object ${t}]`}function M(e){return N(e,"ErrorEvent")}function D(e){return N(e,"DOMError")}function F(e){return N(e,"String")}function j(e){return"object"==typeof e&&null!==e&&"__sentry_template_str
3ing__"in e&&"__sentry_template_values__"in e}function U(e){return null===e||j(e)||"object"!=typeof e&&"function"!=typeof e}function B(e){return N(e,"Object")}function G(e){return"object"==typeof e&&null!==e}function z(e){return"undefined"!=typeof Event&&W(e,Event)}function H(e){return!!(e?.then&&"function"==typeof e.then)}function W(e,t){try{return e instanceof t}catch{return!1}}function q(e){return"undefined"!=typeof Request&&W(e,Request)}function X(e,t,r){if(!(t in e))return;let i=e[t];if("function"!=typeof i)return;let n=r(i);"function"==typeof n&&Y(n,i);try{e[t]=n}catch{m&&P.log(`Failed to replace method "${t}" in object`,e)}}function K(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{m&&P.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function Y(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,K(e,"__sentry_original__",t)}catch{}}function Q(e){return e.__sentry_original__}function Z(e){if(L(e))return{message:e.message,name:e.name,stack:e.stack,...J(e)};if(z(e)){let{type:t,target:r,currentTarget:i,detail:n}=e;return{type:t,target:r,currentTarget:i,...n?{detail:n}:{},...J(e)}}return e}function J(e){return G(e)?Object.fromEntries(Object.entries(e)):{}}function ee(e){if(void 0!==i)return i?i(e):e();let t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return t in b&&"function"==typeof b[t]?(i=b[t])(e):(i=null,e())}function et(){return ee(()=>Math.random())}function er(){return ee(()=>Date.now())}function ei(e=b.crypto||b.msCrypto){try{if(e?.randomUUID)return ee(()=>e.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,e=>(e^(15&16*et())>>e/4).toString(16))}function en(e){return e.exception?.values?.[0]}function es(e){let{message:t,event_id:r}=e;if(t)return t;let i=en(e);return i?i.type&&i.value?`${i.type}: ${i.value}`:i.type||i.value||r||"<unknown>":r||"<unknown>"}function ea(e,t,r){let i=e.exception=e.exception||{},n=i.values=i.values||[],s=n[0]=n[0]||{};s.value||(s.value=t||""),s.type||(s.type=r||"Error")}function eo(e,t){let r=en(e);if(!r)return;let i=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...i,...t},t&&"data"in t){let e={...i?.data,...t.data};r.mechanism.data=e}}function el(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{K(e,"__sentry_captured__",!0)}catch{}return!1}let eu=Symbol.for("sentry.skipNormalization"),ec=Symbol.for("sentry.overrideNormalizationDepth"),ed=/\(error: (.*)\)/,eh=/captureMessage|captureException/;function ep(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,i=0)=>{let n=[],s=e.split("\n");for(let e=r;e<s.length;e++){let r=s[e];r.length>1024&&(r=r.slice(0,1024));let a=ed.test(r)?r.replace(ed,"$1"):r;if(!a.includes("Error: ")){for(let e of t){let t=e(a);if(t){n.push(t);break}}if(n.length>=50+i)break}}var a=n.slice(i);if(!a.length)return[];let o=Array.from(a);return/sentryWrapped/.test(ef(o).function||"")&&o.pop(),o.reverse(),eh.test(ef(o).function||"")&&(o.pop(),eh.test(ef(o).function||"")&&o.pop()),o.slice(0,50).map(e=>({...e,filename:e.filename||ef(o).filename,function:e.function||"?"}))}}function ef(e){return e[e.length-1]||{}}let ev="<anonymous>";function eg(e){try{if(!e||"function"!=typeof e)return ev;return e.name||ev}catch{return ev}}function em(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}}function e_(e,t=100,r=1/0){try{return function e(t,r,i=1/0,n=1/0,s=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[a,o]=s;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let l=eb(t,r);if(!l.startsWith("[object "))return l;if(r[eu])return r;let u=function(e){let t=e[ec];return"number"==typeof t?t:void 0}(r),c=void 0!==u?u:i;if(0===c)return l.replace("object ","");if(a(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,c-1,n,s)}catch{}let d=Array.isArray(r)?[]:{},h=0,p=Z(r);for(let t in p){if(!Object.prototype.hasOwnProperty.call(p,t))continue;if(h>=n){d[t]="[MaxProperties ~]";break}let r=p[t];d[t]=e(t,r,c-1,n,s),h++}return o(r),d}("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function eb(e,t){try{if(s){let e=s(t);if(e)return e}if("undefined"!=typeof global&&t===global)return"[Global]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${eg(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let e=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return`[object ${e}]`}catch(e){return`**non-serializable** (${e})`}}function ey(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function ex(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let i=e[t];U(i)?r.push(String(i)):i instanceof Error?r.push(i.message?`${i.name}: ${i.message}`:i.name):r.push(eb(void 0,i))}return r.join(t)}function ew(e,t,r=!1){return!!F(e)&&(N(t,"RegExp")?t.test(e):F(t)?r?e===t:e.includes(t):"function"==typeof t&&t(e))}function eE(e,t=[],r=!1){for(let i of t)if(ew(e,i,r))return!0;return!1}let eA=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/];function eS(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:eA],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function e$(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),r=t?.stacktrace?.frames;return r?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(r):null}catch{return m&&P.error(`Cannot extract url for event ${es(e)}`),null}}function eT(){return er()/1e3}function ek(){return(a??(a=function(){let{performance:e}=b;if(!e?.now||!e.timeOrigin)return eT;let t=e.timeOrigin;return()=>(t+ee(()=>e.now()))/1e3}()))()}function eP(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ek(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:ei()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function eC(e,t,r=2){if(!t||"object"!=typeof t||r<=0)return t;if(e&&0===Object.keys(t).length)return e;let i={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=eC(i[e],t[e],r-1));return i}function eR(){return ei().substring(16)}function eI(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}let eV="_sentrySpan";function eO(e,t){t?K(e,eV,function(e){try{let t=b.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(t)):delete e[eV]}class eL{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:ei(),sampleRand:et()}}clone(){let e=new eL;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,eO(e,eI(this[eV])),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&eP(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:r,attributes:i,extra:n,user:s,contexts:a,level:o,fingerprint:l=[],propagationContext:u,conversationId:c}=(t instanceof eL?t.getScopeData():B(t)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...n},this._contexts={...this._contexts,...a},s&&Object.keys(s).length&&(this._user=s),o&&(this._level=o),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),c&&(this._conversationId=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,eO(this,void 0),this._attachments=[],this.setPropagationContext({traceId:ei(),sampleRand:et()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let i={timestamp:eT(),...e,message:e.message?ey(e.message,2048):e.message};return this._breadcrumbs.push(i),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:eI(this[eV]),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=eC(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let r=t?.event_id||ei();if(!this._client)return m&&P.warn("No client configured on scope - will not capture exception!"),r;let i=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:r},this),r}captureMessage(e,t,r){let i=r?.event_id||ei();if(!this._client)return m&&P.warn("No client configured on scope - will not capture message!"),i;let n=r?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:n,...r,event_id:i},this),i}captureEvent(e,t){let r=e.event_id||t?.event_id||ei();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):m&&P.warn("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
3h(e=>{e(this)}),this._notifyingListeners=!1)}}let eN=e=>e instanceof Promise&&!e[eM],eM=Symbol("chained PromiseLike");class eD{constructor(e,t){let r,i;r=e||new eL,i=t||new eL,this._stack=[{scope:r}],this._isolationScope=i}withScope(e){let t,r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return H(t)?((e,t,r)=>{let i=e.then(e=>(t(e),e),e=>{throw r(e),e});return eN(i)&&eN(e)?i:((e,t)=>{if(!t)return e;let r=!1;for(let i in e){if(i in t)continue;r=!0;let n=e[i];"function"==typeof n?Object.defineProperty(t,i,{value:(...t)=>n.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[i]=n}return r&&Object.assign(t,{[eM]:!0}),t})(e,i)})(t,()=>this._popScope(),()=>this._popScope()):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function eF(){let e=x(y());return e.stack=e.stack||new eD(w("defaultCurrentScope",()=>new eL),w("defaultIsolationScope",()=>new eL))}function ej(e){return eF().withScope(e)}function eU(e,t){let r=eF();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function eB(e){return eF().withScope(()=>e(eF().getIsolationScope()))}function eG(e){let t=x(e);return t.acs?t.acs:{withIsolationScope:eB,withScope:ej,withSetScope:eU,withSetIsolationScope:(e,t)=>eB(t),getCurrentScope:()=>eF().getScope(),getIsolationScope:()=>eF().getIsolationScope()}}function ez(){return eG(y()).getCurrentScope()}function eH(){return eG(y()).getIsolationScope()}function eW(){return ez().getClient()}let eq=new WeakMap,eX="sentry.op",eK="sentry.profile_id",eY="sentry.exclusive_time";function eQ(e,t=!1){let r={};for(let[i,n]of Object.entries(e??{})){let e=function(e,t){let{value:r,unit:i}="object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},n=function(e){if(Array.isArray(e))return{value:e,type:"array"};let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(r),s=i&&"string"==typeof i?{unit:i}:{};if(n)return{...n,...s};if(!t||"skip-undefined"===t&&void 0===r)return;let a="";try{a=JSON.stringify(r)??""}catch{}return{value:a,type:"string",...s}}(n,t);e&&(r[i]=e)}return r}function eZ(e){return{scope:e._sentryScope,isolationScope:eI(e._sentryIsolationScope)}}let eJ=!1;function e0(e){return"number"==typeof e?e1(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?e1(e.getTime()):ek()}function e1(e){return e>0x2540be3ff?e/1e3:e}function e2(e){var t,r;if("function"==typeof e.getSpanJSON)return e.getSpanJSON();let{spanId:i,traceId:n}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:s,name:a,endTime:o,status:l,links:u}=e;return{span_id:i,trace_id:n,data:t,description:a,parent_span_id:"parentSpanId"in(r=e)?r.parentSpanId:"parentSpanContext"in r?r.parentSpanContext?.spanId:void 0,start_timestamp:e0(s),timestamp:e0(o)||void 0,status:function(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}(l),op:t[eX],origin:t["sentry.origin"],links:u&&u.length>0?u.map(({context:{spanId:e,traceId:t,traceFlags:r,...i},attributes:n})=>({span_id:e,trace_id:t,sampled:1===r,attributes:n,...i})):void 0}}return{span_id:i,trace_id:n,start_timestamp:0,data:{}}}let e3=function(e){return e._sentryRootSpan||e};function e5(){eJ||(S(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),eJ=!0)}function e4(e,t){let r=em(e),i=em(t);if(!r&&!i)return!0;if(r&&!i||!r&&i||i.length!==r.length)return!1;for(let e=0;e<i.length;e++){let t=i[e],n=r[e];if(t.filename!==n.filename||t.lineno!==n.lineno||t.colno!==n.colno||t.function!==n.function)return!1}return!0}function e6(e,t){let r=e.fingerprint,i=t.fingerprint;if(!r&&!i)return!0;
3if(r&&!i||!r&&i)return!1;try{return r.join("")===i.join("")}catch{return!1}}function e7(e){return e.exception?.values?.[0]}let e9="production",e8=/^o(\d+)\./,te=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function tt(e,t=!1){let{host:r,path:i,pass:n,port:s,projectId:a,protocol:o,publicKey:l}=e;return`${o}://${l}${t&&n?`:${n}`:""}@${r}${s?`:${s}`:""}/${i?`${i}/`:i}${a}`}function tr(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function ti(e,t=[]){return[e,t]}function tn(e,t){let[r,i]=e;return[r,[...i,t]]}function ts(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function ta(e){let t=x(b);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let to={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function tl(e){return e in to?to[e]:e}function tu(e){if(!e?.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}var tc=r(33601);function td(){return"undefined"!=typeof window&&(!(!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==tc?tc:0))||function(){let e=b.process;return e?.type==="renderer"}())}function th(e,t){var r;let i=t??(r=e,tp().get(r))??[];if(0===i.length)return;let n=e.getOptions(),s=function(e,t,r,i,n){let s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),r&&i&&(s.dsn=tt(i)),ti(s,[function(e,t){let r=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...td()&&{ingest_settings:{infer_ip:r,infer_user_agent:r}},items:e}]}(e,n)])}(i,n._metadata,n.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);tp().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function tp(){return w("clientToLogBufferMap",()=>new WeakMap)}function tf(e,t){var r;let i=t??(r=e,tv().get(r))??[];if(0===i.length)return;let n=e.getOptions(),s=function(e,t,r,i,n){let s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),r&&i&&(s.dsn=tt(i)),ti(s,[function(e,t){let r=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...td()&&{ingest_settings:{infer_ip:r,infer_user_agent:r}},items:e}]}(e,n)])}(i,n._metadata,n.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);tv().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(s)}function tv(){return w("clientToMetricBufferMap",()=>new WeakMap)}let tg="sentry-";function tm(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}function t_(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||eW()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}let tb=Symbol.for("sentry.nonRecordingSpan");function ty(e,t){let r=t.getOptions(),{publicKey:i}=t.getDsn()||{},n={environment:r.environment||e9,release:r.release,public_key:i,trace_id:e,org_id:function(e){let t,r=e.getOptions(),{host:i}=e.getDsn()||{};return r.orgId?t=String(r.orgId):i&&(t=function(e){let t=e.match(e8);return t?.[1]}(i)),t}(t)};return t.emit("createDsc",n),n}function tx(e,t){let r=t.getPropagationContext();return r.dsc||ty(r.traceId,e)}function tw(e){return new tA(t=>{t(e)})}function tE(e){return new tA((t,r)=>{r(e)})}class tA{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new tA((r,i)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){i(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){i(e)}else i(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new tA((t,r)=>{let i,n;return this.then(t=>{n=!1,i=t,e&&e()},t=>{n=!0,i=t,e&&e()}).then(()=>{if(n)return void r(i);t(i)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();
3this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if(H(t))return void t.then(r,i);this._state=e,this._value=t,this._executeHandlers()}},r=e=>{t(1,e)},i=e=>{t(2,e)};try{e(r,i)}catch(e){i(e)}}}function tS(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let t$=Symbol.for("SentryBufferFullError");function tT(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return tE(t$);let i=r();return t.add(i),i.then(()=>{t.delete(i)},()=>{t.delete(i)}),i},drain:function(e){if(!t.size)return tw(!0);let r=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([r,new Promise(t=>tS(setTimeout(()=>t(!1),e)))]):r}}}function tk(e,t){let{extra:r,tags:i,attributes:n,user:s,contexts:a,level:o,sdkProcessingMetadata:l,breadcrumbs:u,fingerprint:c,eventProcessors:d,attachments:h,propagationContext:p,transactionName:f,span:v}=t;tP(e,"extra",r),tP(e,"tags",i),tP(e,"attributes",n),tP(e,"user",s),tP(e,"contexts",a),e.sdkProcessingMetadata=eC(e.sdkProcessingMetadata,l,2),o&&(e.level=o),f&&(e.transactionName=f),v&&(e.span=v),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),h.length&&(e.attachments=[...e.attachments,...h]),e.propagationContext={...e.propagationContext,...p}}function tP(e,t,r){e[t]=eC(e[t],r,1)}function tC(e,t){let r=w("globalScope",()=>new eL).getScopeData();return e&&tk(r,e.getScopeData()),t&&tk(r,t.getScopeData()),r}let tR=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function tI(e){P.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function tV(e,t){if(!t?.length)return!1;for(let i of t){var r;if("string"==typeof(r=i)||r instanceof RegExp){if(e.description&&ew(e.description,i))return m&&tI(e),!0;continue}let t=!!i.attributes&&Object.keys(i.attributes).length>0;if(!i.name&&!i.op&&!t)continue;let n=!i.name||e.description&&ew(e.description,i.name),s=!i.op||e.op&&ew(e.op,i.op),a=!i.attributes||Object.entries(i.attributes).every(([t,r])=>(function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?ew(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,r)=>e===t[r]):e===t})(e.attributes?.[t],r));if(n&&s&&a)return m&&tI(e),!0}return!1}let tO=["forwarded","-ip","remote-","via","-user"],tL={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5},tN="Not capturing exception because it's already been captured.",tM="Discarded session because of missing or non-string release",tD=Symbol.for("SentryInternalError"),tF=Symbol.for("SentryDoNotSendEventError");function tj(e){return{message:e,[tD]:!0}}function tU(e){return{message:e,[tF]:!0}}function tB(e){return G(e)&&tD in e}function tG(e){return G(e)&&tF in e}function tz(e,t,r,i,n){let s,a=0,o=!1;e.on(r,()=>{a=0,clearTimeout(s),o=!1}),e.on(t,t=>{if((a+=i(t))>=8e5)n(e);else if(!o){let t=e.getOptions()._flushInterval??5e3;t>0&&(o=!0,s=tS(setTimeout(()=>{n(e)},t)))}}),e.on("flush",()=>{n(e)})}class tH{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=tT(e.transportOptions?.bufferSize??64),this._dataCollection=function(e){let t=null!=e.dataCollection?tL:!0===e.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:tO},httpHeaders:{request:{deny:tO},response:{deny:tO}},httpBodies:[],urlQueryParams:{deny:tO},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1}
3,databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7},r=e.dataCollection??{};return{userInfo:r.userInfo??t.userInfo,cookies:r.cookies??t.cookies,httpHeaders:{request:r.httpHeaders?.request??t.httpHeaders.request,response:r.httpHeaders?.response??t.httpHeaders.response},httpBodies:r.httpBodies??t.httpBodies,urlQueryParams:r.urlQueryParams??r.queryParams??t.urlQueryParams,graphQL:{document:r.graphQL?.document??t.graphQL.document,variables:r.graphQL?.variables??t.graphQL.variables},genAI:{inputs:r.genAI?.inputs??t.genAI.inputs,outputs:r.genAI?.outputs??t.genAI.outputs},databaseQueryData:r.databaseQueryData??t.databaseQueryData,stackFrameVariables:r.stackFrameVariables??t.stackFrameVariables,frameContextLines:r.frameContextLines??t.frameContextLines}}(e),e.dsn?this._dsn=function(e){let t="string"==typeof e?function(e){let t=te.exec(e);if(!t)return void S(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[r,i,n="",s="",a="",o=""]=t.slice(1),l="",u=o,c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return tr({host:s,pass:n,path:l,projectId:u,port:a,protocol:r,publicKey:i})}(e):tr(e);if(t&&function(e){if(!m)return!0;let{port:t,projectId:r,protocol:i}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(P.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"!==i&&"https"!==i?(P.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):!(t&&isNaN(parseInt(t,10)))||(P.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(P.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}(e.dsn):m&&P.warn("No DSN provided, client will not send events."),this._dsn){let t=function(e,t,r){return t||`${function(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/?${function(e,t){let r={sentry_version:"7"};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}(e,r)}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&tz(this,"afterCaptureLog","flushLogs",tY,th),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&tz(this,"afterCaptureMetric","flushMetrics",tK,tf)}captureException(e,t,r){let i=ei();if(el(e))return m&&P.log(tN),i;let n={event_id:i,...t};return this._process(()=>this.eventFromException(e,n).then(e=>this._captureEvent(e,n,r)).then(e=>e),"error"),n.event_id}captureMessage(e,t,r,i){let n={event_id:ei(),...r},s=j(e)?e:String(e),a=U(e),o=a?this.eventFromMessage(s,t,n):this.eventFromException(e,n);return this._process(()=>o.then(e=>this._captureEvent(e,n,i)),a?"unknown":"error"),n.event_id}captureEvent(e,t,r){let i=ei();if(t?.originalException&&el(t.originalException))return m&&P.log(tN),i;let n={event_id:i,...t},s=e.sdkProcessingMetadata||{},a=s.capturedSpanScope,o=s.capturedSpanIsolationScope,l=tW(e.type);return this._process(()=>this._captureEvent(e,n,a||r,o),l),n.event_id}captureSession(e){this.sendSession(e),eP(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit("flush"),!t)return!0;let r=await this._isClientDoneProcessing(e),i=await t.flush(e);return r&&i}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),I(this,e,this._integrations),t||R(this,[e])}sendEvent(e,t={}
3){this.emit("beforeSendEvent",e,t);let r=function(e,t){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!1===t.getOptions().streamGenAiSpans||"stream"===t.getOptions().traceLifecycle)return;let r=[],i=[];for(let t of e.spans)t.op?.startsWith("gen_ai.")?r.push(function(e){var t;return{...t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links},attributes:eQ(t.attributes),links:t.links?.map(e=>({...e,attributes:eQ(e.attributes)}))}}(t)):i.push(t);if(0===r.length)return;e.spans=i;let n=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:r.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...td()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:r}]}(e,this),i=function(e,t,r,i){let n=tu(r),s=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return;let r=e.sdk||{};e.sdk={...r,name:r.name||t.name,version:r.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,r?.sdk);let a=function(e,t,r,i){let n=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(er()).toISOString(),...t&&{sdk:t},...!!r&&i&&{dsn:tt(i)},...n&&{trace:n}}}(e,n,i,t);return delete e.sdkProcessingMetadata,ti(a,[[{type:s},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])i=tn(i,function(e){let t="string"==typeof e.data?ta(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(e));r&&(i=tn(i,r)),this.sendEnvelope(i).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:r=e9}=this._options;if("aggregates"in e){let i=e.attrs||{};if(!i.release&&!t){m&&P.warn(tM);return}i.release=i.release||t,i.environment=i.environment||r,e.attrs=i}else{if(!e.release&&!t){m&&P.warn(tM);return}e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);let i=function(e,t,r,i){let n=tu(r);return ti({sent_at:new Date(er()).toISOString(),...n&&{sdk:n},...!!i&&t&&{dsn:tt(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(i)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){let i=`${e}:${t}`;m&&P.log(`Recording outcome: "${i}"${r>1?` (${r} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+r}}on(e,t){let r=this._hooks[e]=this._hooks[e]||new Set,i=(...e)=>t(...e);return r.add(i),()=>{r.delete(i)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return m&&P.error("Error while sending envelope:",e),{}}return m&&P.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let r={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&I(e,t,r)}),r}(this,e),R(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,i=!1,n=t.exception?.values;if(n){for(let e of(i=!0,r=!1,n))if(e.mechanism?.handled===!1){r=!0;break}}let s="ok"===e.status;(s&&0===e.errors||s&&r)&&(eP(e,{...r&&{status:"crashed"},errors:e.errors||Number(i||r)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r,i){let n=this.getOptions(),s=this.getIntegrationNames();
3return!t.integrations&&s.length&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||i.setLastEventId(e.event_id||t.event_id),(function(e,t,r,i,n,s){var a,o,h,p,f,v;let{normalizeDepth:g=3,normalizeMaxBreadth:_=1e3}=e,y={...t,event_id:t.event_id||r.event_id||ei(),timestamp:t.timestamp||eT()},x=r.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:r,release:i,dist:n,maxValueLength:s}=t;e.environment=e.environment||r||e9,!e.release&&i&&(e.release=i),!e.dist&&n&&(e.dist=n);let a=e.request;a?.url&&s&&(a.url=ey(a.url,s)),s&&e.exception?.values?.forEach(e=>{e.value&&(e.value=ey(e.value,s))})})(y,e),a=y,(o=x).length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...o]),n&&n.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let r=function(e){let t=b._sentryDebugIds,r=b._debugIds;if(!t&&!r)return{};let i=t?Object.keys(t):[],n=r?Object.keys(r):[];if(d&&i.length===u&&n.length===c)return d;u=i.length,c=n.length,d={},l||(l={});let s=(t,r)=>{for(let i of t){let t=r[i],n=l?.[i];if(n&&d&&t)d[n[0]]=t,l&&(l[i]=[n[0],t]);else if(t){let r=e(i);for(let e=r.length-1;e>=0;e--){let n=r[e],s=n?.filename;if(s&&d&&l){d[s]=t,l[i]=[s,t];break}}}}};return t&&s(i,t),r&&s(n,r),d}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=r[e.filename])})})}(y,e.stackParser);let w=function(e,t){if(!t)return e;let r=e?e.clone():new eL;return r.update(t),r}(i,r.captureContext);r.mechanism&&eo(y,r.mechanism);let E=n?n.getEventProcessors():[],A=tC(s,w),S=[...r.attachments||[],...A.attachments];S.length&&(r.attachments=S);let{fingerprint:$,span:T,breadcrumbs:k,sdkProcessingMetadata:C}=A;(function(e,t){let{extra:r,tags:i,user:n,contexts:s,level:a,transactionName:o}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(i).length&&(e.tags={...i,...e.tags}),Object.keys(n).length&&(e.user={...n,...e.user}),Object.keys(s).length&&(e.contexts={...s,...e.contexts}),a&&(e.level=a),o&&"transaction"!==e.type&&(e.transaction=o)})(y,A),T&&function(e,t){e.contexts={trace:function(e){let{spanId:t,traceId:r,isRemote:i}=e.spanContext(),n=i?t:e2(e).parent_span_id,s=eZ(e).scope;return{parent_span_id:n,span_id:i?s?.getPropagationContext().propagationSpanId||eR():t,trace_id:r}}(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:function(e){let t=eW();if(!t)return{};let r=e3(e),i=e2(r),n=i.data,s=r.spanContext().traceState,a=s?.get("sentry.sample_rate")??n["sentry.sample_rate"]??n["sentry.previous_trace_sample_rate"];function o(e){return("number"==typeof a||"string"==typeof a)&&(e.sample_rate=`${a}`),e}let l=r._frozenDsc;if(l)return o(l);let u=!!r&&!0===r[tb],c=u&&"ignored"===r.dropReason;if(u&&(!t_(t.getOptions())||c)){let e=eZ(r).scope;if(e){let r={...tx(t,e)};return c&&(r.sampled="false"),o(r)}}let d=s?.get("sentry.dsc"),h=d&&function(e){let t=function(e){if(e&&(F(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(tm(t)).forEach(([t,r])=>{e[t]=r}),e),{}):tm(e)}(e);if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.startsWith(tg)&&(e[t.slice(tg.length)]=r),e),{});return Object.keys(r).length>0?r:void 0}(d);if(h)return o(h);let p=ty(e.spanContext().traceId,t),f=n["sentry.source"]??n["sentry.segment.name.source"],v=i.description;return"url"!==f&&v&&(p.transaction=v),t_()&&(p.sampled=String(function(e){let{traceFlags:t}=e.spanContext();return 1===t}(r)),p.sample_rand=s?.get("sentry.sample_rand")??eZ(r).scope?.getPropagationContext().sampleRand.toString()),o(p),t.emit("createDsc",p,r),p}(t),...e.sdkProcessingMetadata};let r=e2(e3(t)).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(y,T),h=y,p=$,h.fingerprint=h.fingerprint?Array.isArray(h.fingerprint)?h.fingerprint:[h.fingerprint]:[],p&&(h.fingerprint=h.fingerprint.concat(p)),h.fingerprint.length||delete h.fingerprint,function(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}(y,k),f=y,v=C,f.sdkProcessingMetadata={...f.sdkProcessingMetadata,...v};let R=[...E,...A.eventProcessors];return(r.data&&!0===r.data.__sentry__?tw(y):function(e,t,r,i=0){try{let n=function e(t,r,i,n){let s=i[n];if(!t||!s)return t;let a=s({...t},r);return(m&&null===a&&P.log(`Event processor "${s.id||"?"}" dropped event`),H(a))?a.then(t=>e(t,r,i,n+1)):e(a,r,i,n+1)}(t,r,e,i);return H(n)?n:tw(n)}catch(e){return tE(e)}}(R,y,r)).then(e=>(e&&function(e){let t={};
3if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof g&&g>0)?function(e,t,r){if(!e)return null;let i={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:e_(e.data,t,r)}}))},...e.user&&{user:e_(e.user,t,r)},...e.contexts&&{contexts:e_(e.contexts,t,r)},...e.extra&&{extra:e_(e.extra,t,r)}};return e.contexts?.trace&&i.contexts&&(i.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(i.contexts.trace.data=e_(e.contexts.trace.data,t,r))),e.spans&&(i.spans=e.spans.map(e=>({...e,...e.data&&{data:e_(e.data,t,r)}}))),e.contexts?.flags&&i.contexts&&(i.contexts.flags=e_(e.contexts.flags,3,r)),i}(e,g,_):e)})(n,e,t,r,this,i).then(e=>
3(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...function(e){let t=o?.();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:r,parentSpanId:i,propagationSpanId:n}=e.getPropagationContext(),s={trace_id:r,span_id:n||eR()};return i&&(s.parent_span_id=i),s}(r)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:tx(this,r),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},r=ez(),i=eH()){return m&&tq(e)&&P.log(`Captured error event \`${V(e)[0]||"<unknown>"}\``),this._processEvent(e,t,r,i).then(e=>e.event_id,e=>{m&&(tG(e)?P.log(e.message):tB(e)?P.warn(e.message):P.warn(e))})}_processEvent(e,t,r,i){let n=this.getOptions(),{sampleRate:s}=n,a=tX(e),o=tq(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===s?void 0:function(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}(s),d=tW(e.type);return this._prepareEvent(e,t,r,i).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),tU("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if(H(e))return e.then(e=>{if(!B(e)&&null!==e)throw tj(r);return e},e=>{throw tj(`${t} rejected with ${e}`)});if(!B(e)&&null!==e)throw tj(r);return e}(function(e,t,r,i){let{beforeSend:n,beforeSendTransaction:s,ignoreSpans:a}=t,o=!((u=t.beforeSendSpan)&&"function"==typeof u&&"_streamed"in u&&u._streamed)&&t.beforeSendSpan,l=r;if(tq(l)&&n)return n(l,i);if(tX(l)){if(o||a){let t=function(e){let{trace_id:t,parent_span_id:r,span_id:i,status:n,origin:s,data:a,op:o}=e.contexts?.trace??{};return{data:a??{},description:e.transaction,op:o,parent_span_id:r,span_id:i??"",start_timestamp:e.start_timestamp??0,status:n,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:a?.[eK],exclusive_time:a?.[eY],measurements:e.measurements,is_segment:!0}}(l);if(a?.length&&tV({description:t.description,op:t.op,attributes:t.data},a))return null;if(o){let e=o(t);e?l=eC(r,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[eK]:e.profile_id},...e.exclusive_time&&{[eY]:e.exclusive_time}}}},measurements:e.measurements}):e5()}if(l.spans){let t=[],r=l.spans;for(let e of r){if(a?.length&&tV({description:e.description,op:e.op,attributes:e.data},a)){var u;let t=e.parent_span_id,i=e.span_id;if(t)for(let e of r)e.parent_span_id===i&&(e.parent_span_id=t);continue}if(o){let r=o(e);r?t.push(r):(e5(),t.push(e))}else t.push(e)}let i=l.spans.length-t.length;i&&e.recordDroppedEvent("before_send","span",i),l.spans=t}}if(s){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return s(l,i)}}return l}(this,n,e,t),u)}).then(n=>{if(null===n){if(this.recordDroppedEvent("before_send",d),a){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw tU(`${u} returned \`null\`, will not send event.`)}let l=r.getSession()||i.getSession();if(o&&l&&this._updateSessionFromEvent(l,n),o&&"number"==typeof c&&et()>c)throw this.recordDroppedEvent("sample_rate","error"),tU(`Discarding event because it's not included in the random sample (sampling rate = ${s})`);if(a){let e=(n.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(n.spans?n.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let h=n.transaction_info;return a&&h&&n.transaction!==e.transaction&&(n.transaction_info={...h,source:"custom"}),this.sendEvent(n,t),n}).then(null,e=>{if(tG(e)||tB(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),tj(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
4Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===t$&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,i]=e.split(":");return{reason:r,category:i,quantity:t}})}_flushOutcomes(){var e;m&&P.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){m&&P.log("No outcomes to send");return}if(!this._dsn){m&&P.log("No dsn provided, will not send outcomes");return}m&&P.log("Sending outcomes:",t);let r=ti((e=this._options.tunnel&&tt(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:eT(),discarded_events:t}]]);this.sendEnvelope(r)}}function tW(e){return"replay_event"===e?"replay":e||"error"}function tq(e){return void 0===e.type}function tX(e){return"transaction"===e.type}function tK(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+tQ(e.attributes)}function tY(e){let t=0;return e.message&&(t+=2*e.message.length),t+tQ(e.attributes)}function tQ(e){if(!e)return 0;let t=0;
4return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*tZ(e[0]):U(e)?t+=tZ(e):t+=100}),t}function tZ(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function tJ(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function t0(e){return L(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function t1(e,t){let r=t3(e,t),i={type:function(e){let t=e?.name;return!t&&t4(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e?.message;return t4(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t0(t.error):t0(e):"No error message"}(t)};return r.length&&(i.stacktrace={frames:r}),void 0===i.type&&""===i.value&&(i.value="Unrecoverable error caught"),i}function t2(e,t){return{exception:{values:[t1(e,t)]}}}function t3(e,t){var r,i;let n=t.stacktrace||t.stack||"",s=(r=t)&&t5.test(r.message)?1:0,a="number"==typeof(i=t).framesToPop?i.framesToPop:0;try{return e(n,s,a)}catch{}return[]}let t5=/Minified React error #\d+;/i;function t4(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function t6(e,t,r,i,n){let s;if(M(t)&&t.error)return t2(e,t.error);if(D(t)||N(t,"DOMException")){if("stack"in t){s=t2(e,t);let n=s.exception?.values?.[0];if(i&&r&&n&&!n.stacktrace){let t=t3(e,r);t.length&&(n.stacktrace={frames:t},eo(s,{synthetic:!0}))}}else{let n=t.name||(D(t)?"DOMError":"DOMException"),a=t.message?`${n}: ${t.message}`:n;ea(s=t7(e,a,r,i),a)}return"code"in t&&(s.tags={...s.tags,"DOMException.code":`${t.code}`}),s}return L(t)?t2(e,t):(B(t)||z(t)?eo(s=function(e,t,r,i){let n=eW(),s=n?.getOptions().normalizeDepth,a=Object.values(t).find(L),o={__serialized__:function e(t,r=3,i=102400){let n=e_(t,r);return~-encodeURI(JSON.stringify(n)).split(/%..|./).length>i?e(t,r-1,i):n}(t,s)};if(a)return{exception:{values:[t1(e,a)]},extra:o};let l={exception:{values:[{type:z(t)?t.constructor.name:i?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r=function(e){let t=Object.keys(Z(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}(e),i=t?"promise rejection":"exception";if(M(e))return`Event \`ErrorEvent\` captured as ${i} with message \`${e.message}\``;if(z(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${i}`}return`Object captured as ${i} with keys: ${r}`}(t,{isUnhandledRejection:i})}]},extra:o};if(r){let t=t3(e,r);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,r,n),{synthetic:!0}):(ea(s=t7(e,t,r,i),`${t}`,void 0),eo(s,{synthetic:!0})),s)}function t7(e,t,r,i){let n={};if(i&&r){let i=t3(e,r);i.length&&(n.exception={values:[{value:t,stacktrace:{frames:i}}]}),eo(n,{synthetic:!0})}if(j(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return n.logentry={message:e,params:r},n}return n.message=t,n}function t9(e,t){return ez().captureException(e,function(e){if(e){var t;return(t=e)instanceof eL||"function"==typeof t||Object.keys(e).some(e=>tR.includes(e))?{captureContext:e}:e}}(t))}function t8(e,t){return ez().captureEvent(e,t)}function re(e){eH().setUser(e)}function rt(e){let t=eH(),{user:r}=tC(t,ez()),{userAgent:i}=b.navigator||{},n=function(e){let t=ek(),r={sid:ei(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=r,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}};return e&&eP(r,e),r}({user:r,...i&&{userAgent:i},...e}),s=t.getSession();return s?.status==="ok"&&eP(s,{status:"exited"}),rr(),t.setSession(n),n}function rr(){let e,t=eH(),r=ez().getSession()||t.getSession();r&&(e={},"ok"===r.status&&(e={status:"exited"}),eP(r,e)),ri(),t.setSession()}function ri(){let e=eH(),t=eW(),r=e.getSession();r&&t&&t.captureSession(r)}function rn(e=!1){if(e)return void rr();ri()}function rs(){try{return b.document.location.href}catch{return""}}let ra=0;function ro(e,t={}){if("function"!=typeof e)return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){let t=e.__sentry_wrapped__;if("function"==typeof t)return t;return e}if(Q(e))return e}catch{return e}let r=function(...r){b._sentryWrappedDepth=(b._sentryWrappedDepth||0)+1;try{let i=r.map(e=>ro(e,t));return e.apply(this,i)}catch(e){throw ra++,setTimeout(()=>{ra--}),!function(...e){let t=eG(y());if(2===e.length){let[r,i]=e;return r?t.withSetScope(r,i):t.withScope(i)}t.withScope(e[0])}(i=>{i.addEventProcessor(e=>(t.mechanism&&(ea(e,void 0,void 0),eo(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),t9(e)}
4),e}finally{b._sentryWrappedDepth=(b._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}Y(r,e),K(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch{}return r}function rl(){let e=rs(),{referrer:t}=b.document||{},{userAgent:r}=b.navigator||{};return{url:e,headers:{...t&&{Referer:t},...r&&{"User-Agent":r}}}}class ru extends tH{constructor(e){var t;let r=(t=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:b.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t});!function(e,t,r=[t],i="npm"){let n=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};n.name||(n.name=`sentry.javascript.${t}`,n.packages=r.map(e=>({name:`${i}:@sentry/${e}`,version:_})),n.version=_)}(r,"browser",["browser"],b.SENTRY_SDK_SOURCE||"npm"),super(r);let{userInfo:i}=this.getDataCollectionOptions();r._metadata?.sdk&&(r._metadata.sdk.settings={infer_ip:i?"auto":"never",...r._metadata.sdk.settings});let{sendClientReports:n}=this._options;b.document&&b.document.addEventListener("visibilitychange",()=>{"hidden"===b.document.visibilityState&&(n&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),i&&this.on("beforeSendSession",tJ)}eventFromException(e,t){return function(e,t,r,i){let n=t6(e,t,r?.syntheticException||void 0,i);return eo(n),n.level="error",r?.event_id&&(n.event_id=r.event_id),tw(n)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return function(e,t,r="info",i,n){let s=t7(e,t,i?.syntheticException||void 0,n);return s.level=r,i?.event_id&&(s.event_id=i.event_id),tw(s)}(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,i){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,i)}}let rc={},rd={};function rh(e,t){return rc[e]=rc[e]||[],rc[e].push(t),()=>{let r=rc[e];if(r){let e=r.indexOf(t);-1!==e&&r.splice(e,1)}}}function rp(e,t){if(!rd[e]){rd[e]=!0;try{t()}catch(t){m&&P.error(`Error while instrumenting ${e}`,t)}}}function rf(e,t){let r=e&&rc[e];if(r)for(let i of r)try{i(t)}catch(t){m&&P.error(`Error while triggering instrumentation handler.
5Type: ${e}
6Name: ${eg(i)}
7Error:`,t)}}let rv=new Set([]),rg=new Set;function rm(){"console"in b&&E.forEach(function(e){!rg.has(e)&&e in b.console&&(rg.add(e),X(b.console,e,function(t){return A[e]=t,function(...t){let r=t[0],i=A[e],n=rv.size&&"string"==typeof r&&eE(r,rv);n||rf("console",{args:t,level:e}),(!n||m&&P.isEnabled())&&i?.apply(b.console,t)}}))})}function r_(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function rb(e,t){return G(e)&&!!e[t]}function ry(e){return"string"==typeof e?e:e?rb(e,"url")?e.url:e.toString?e.toString():"":""}function rx(e,t){let r=eW(),i=eH();if(!r)return;let{beforeBreadcrumb:n=null,maxBreadcrumbs:s=100}=r.getOptions();if(s<=0)return;let a={timestamp:eT(),...e},o=n?S(()=>n(a,t)):a;null!==o&&(r.emit&&r.emit("beforeAddBreadcrumb",o,t),i.addBreadcrumb(o,s))}function rw(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function rE(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",i=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:i,relative:t[5]+r+i}}function rA(){if(!b.document)return;let e=rf.bind(null,"dom"),t=rS(e,!0);b.document.addEventListener("click",t,!1),b.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=b[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(X(r,"addEventListener",function(t){return function(r,i,n){if("click"===r||"keypress"==r)try{let i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=i[r]=i[r]||{refCount:0};if(!s.handler){let i=rS(e);s.handler=i,t.call(this,r,i,n)}s.refCount++}catch{}return t.call(this,r,i,n)}}),X(r,"removeEventListener",function(e){return function(t,r,i){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},n=r[t];n&&(n.refCount--,n.refCount<=0&&(e.call(this,t,n.handler,i),n.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,r,i)}}))})}function rS(e,t=!1){return r=>{var i;if(!r||r._sentryCaptured)return;let n=function(e){try{return e.target}catch{return null}}(r);if(i=r.type,"keypress"===i&&(!n?.tagName||"INPUT"!==n.tagName&&"TEXTAREA"!==n.tagName&&!n.isContentEditable&&1))return;K(r,"_sentryCaptured",!0),n&&!n._sentryId&&K(n,"_sentryId",ei());let s="keypress"===r.type?"input":r.type;!function(e){if(e.type!==p)return!1;try{if(!e.target||e.target._sentryId!==f)return!1}catch{}return!0}(r)&&(e({event:r,name:s,global:t}),p=r.type,f=n?n._sentryId:void 0),clearTimeout(h),h=b.setTimeout(()=>{f=void 0,p=void 0},1e3)}}let r$="__sentry_xhr_v3__";function rT(){if(!b.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){let i=Error(),n=1e3*ek(),s=F(r[0])?r[0].toUpperCase():void 0,a=function(e){if(F(e))return e;try{return e.toString()}catch{}}(r[1]);if(!s||!a)return e.apply(t,r);t[r$]={method:s,url:a,request_headers:{}}
7,"POST"===s&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let o=()=>{let e=t[r$];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}rf("xhr",{endTimestamp:1e3*ek(),startTimestamp:n,xhr:t,virtualError:i}),t.removeEventListener("readystatechange",o)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(o(),e.apply(t,r))}):t.addEventListener("readystatechange",o),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){let[i,n]=r,s=t[r$];return s&&F(i)&&F(n)&&(s.request_headers[i.toLowerCase()]=n),e.apply(t,r)}}),e.apply(t,r)}}),e.send=new Proxy(e.send,{apply(e,t,r){let i=t[r$];return i&&(void 0!==r[0]&&(i.body=r[0]),rf("xhr",{startTimestamp:1e3*ek(),xhr:t})),e.apply(t,r)}})}function rk(e){let t="history";rh(t,e),rp(t,rP)}function rP(){function e(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let i=v,n=function(e){try{return new URL(e,b.location.origin).toString()}catch{return e}}(String(r));if(v=n,i===n)return e.apply(this,t);rf("history",{from:i,to:n})}return e.apply(this,t)}}b.addEventListener("popstate",()=>{let e=b.location.href,t=v;v=e,t!==e&&rf("history",{from:t,to:e})}),"history"in b&&b.history&&(X(b.history,"pushState",e),X(b.history,"replaceState",e))}let rC={};try{"undefined"!=typeof Node&&(rC.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"undefined"!=typeof Element&&(rC.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,rC.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,rC.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,rC.getAttribute=Element.prototype.getAttribute),"undefined"!=typeof HTMLElement&&(rC.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function rR(e,t,r){let i=rC[t];if(i)try{return i.call(e,r)}catch{}let n=e[t];return"function"==typeof n?n.call(e,r):n}function rI(e,t={}){if(!e)return"<unknown>";try{let r,i=e,n=[],s=0,a=0,o=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;i&&s++<5&&(r=function(e,t){let r=[],i=rR(e,"tagName");if(!i)return"";if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement){let t=rR(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}r.push(i.toLowerCase());let n=t?.length?t.filter(t=>rR(e,"getAttribute",t)).map(t=>[t,rR(e,"getAttribute",t)]):null;if(n?.length)n.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{let t=rR(e,"id");t&&r.push(`#${t}`);let i=rR(e,"className");if(i&&F(i))for(let e of i.split(/\s+/))r.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let i=rR(e,"getAttribute",t);i&&r.push(`[${t}="${i}"]`)}return r.join("")}(i,o),"html"!==r&&(!(s>1)||!(a+3*n.length+r.length>=l)));)n.push(r),a+=r.length,i=rR(i,"parentNode");return n.reverse().join(" > ")}catch{return"<unknown>"}}let rV="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,rO="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");function rL(e){return function(...t){let r=t[0];return t[0]=ro(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${eg(e)}`}}),e.apply(this,t)}}function rN(e){return function(t){return e.apply(this,[ro(t,{mechanism:{data:{handler:eg(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function rM(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&X(r,e,function(t){let r={mechanism:{data:{handler:eg(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},i=Q(t);return i&&(r.mechanism.data.handler=eg(i)),ro(t,r)})}),e.apply(this,t)}}function rD(e,t,r){b.document&&b.addEventListener(e,t,r)}function rF(e,t,r){b.document&&b.removeEventListener(e,t,r)}function rj(e,t){let r=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in r||(r[e]=t)})}function rU(){try{let e=b.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}let rB=null;function rG(){rB=b.onerror,b.onerror=function(e,t,r,i,n){return rf("error",{column:i,error:n,line:r,msg:e,url:t}),!!rB&&rB.apply(this,arguments)},b.onerror.__SENTRY_INSTRUMENTED__=!0}let rz=null;function rH(){rz=b.onunhandledrejection,b.onunhandledrejection=function(e){return rf("unhandledrejection",e),!rz||rz.apply(this,arguments)},b.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function rW(e){rV&&P.log(`Global Handler attached: ${e}`)}function rq(){let e=eW();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function rX(e){return Array.isArray(e.errors)}function rK(e,t,r){e.mechanism={handled:!0,type:"auto.core.linked_errors",...rX(r)&&{is_exception_group:!0}
7,...e.mechanism,exception_id:t}}function rY(e,t,r,i){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:i}}function rQ(e,t,r,i){let n={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==r&&(n.lineno=r),void 0!==i&&(n.colno=i),n}let rZ=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,rJ=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,r0=/\((\S*)(?::(\d+))(?::(\d+))\)/,r1=/at (.+?) ?\(data:(.+?),/,r2=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,r3=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,r5=ep([30,e=>{let t=e.match(r1);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let r=rZ.exec(e);if(r){let[,e,t,i]=r;return rQ(e,"?",+t,+i)}let i=rJ.exec(e);if(i){if(i[2]?.indexOf("eval")===0){let e=r0.exec(i[2]);e&&(i[2]=e[1],i[3]=e[2],i[4]=e[3])}let[e,t]=r4(i[1]||"?",i[2]);return rQ(t,e,i[3]?+i[3]:void 0,i[4]?+i[4]:void 0)}}],[50,e=>{let t=r2.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=r3.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||"?";return[r,e]=r4(r,e),rQ(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),r4=(e,t)=>{let r=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return r||i?[-1!==e.indexOf("@")?e.split("@")[0]:"?",r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},r6="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,r7={};function r9(e,t=function(e){let t=r7[e];if(t)return t;let r=b[e];if(r_(r))return r7[e]=r.bind(b);let i=b.document;if(i&&"function"==typeof i.createElement)try{let t=i.createElement("iframe");t.hidden=!0,i.head.appendChild(t);let n=t.contentWindow;n?.[e]&&(r=n[e]),i.head.removeChild(t)}catch(t){r6&&P.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return r?r7[e]=r.bind(b):r}("fetch")){let r=0,i=0;async function n(n){let s=n.body.length;r+=s,i++;let a={body:n.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&i<15,...e.fetchOptions};try{let r=await t(e.url,a);return{statusCode:r.status,headers:{"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")}}}catch(e){throw r7.fetch=void 0,e}finally{r-=s,i--}}return function(e,t,r=tT(e.bufferSize||64)){let i={};return{send:function(n){let s=[];if(ts(n,(t,r)=>{let n=tl(r);!function(e,t,r=er()){return(e[t]||e.all||0)>r}(i,n)?s.push(t):e.recordDroppedEvent("ratelimit_backoff",n)}),0===s.length)return Promise.resolve({});let a=ti(n[0],s),o=t=>{var r;if(r=["client_report"],ts(a,(e,t)=>r.includes(t))){m&&P.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}ts(a,(r,i)=>{e.recordDroppedEvent(t,tl(i))})};return r.add(()=>t({body:function(e){let[t,r]=e,i=JSON.stringify(t);function n(e){"string"==typeof i?i="string"==typeof e?i+e:[ta(i),e]:i.push("string"==typeof e?ta(e):e)}for(let e of r){let[t,r]=e;if(n(`
8${JSON.stringify(t)}
9`),"string"==typeof r||r instanceof Uint8Array)n(r);else{let e;try{e=JSON.stringify(r)}catch{e=JSON.stringify(e_(r))}n(e)}}return"string"==typeof i?i:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let i of e)t.set(i,r),r+=i.length;return t}(i)}(a)}).then(e=>(413===e.statusCode?(m&&P.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),o("send_error")):(m&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&P.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),i=function(e,{statusCode:t,headers:r},i=er()){let n={...e},s=r?.["x-sentry-rate-limits"],a=r?.["retry-after"];if(s)for(let e of s.trim().split(",")){let[t,r,,,s]=e.split(":",5),a=parseInt(t,10),o=(isNaN(a)?60:a)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!s||s.split(";").includes("custom"))&&(n[e]=i+o):n[e]=i+o;else n.all=i+o}else a?n.all=i+function(e,t=er()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let i=Date.parse(`${e}`);return isNaN(i)?6e4:i-t}(a,i):429===t&&(n.all=i+6e4);return n}(i,e)),e),e=>{throw o("network_error"),m&&P.error("Encountered error running transport request:",e),e})).then(e=>e,e=>
9{if(e===t$)return m&&P.error("Skipped sending event because buffer is full."),o("queue_overflow"),Promise.resolve({});throw e})},flush:e=>r.drain(e)}}(e,n,tT(e.bufferSize||40))}let r8=/^HTML(\w*)Element$/;function ie(e){if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if(function(e){if("undefined"==typeof Element)return!1;try{return e instanceof Element}catch{return!1}}(e)){let t=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(e);if(r8.test(t))return`[HTMLElement: ${rI(e)}]`}}var it=r(71513);let ir=["ResizeObserver loop completed with undelivered notifications","ResizeObserver loop limit exceeded","The user aborted a request","signal is aborted without reason","routeChange aborted","Object Not Found Matching Id"],ii=!1;function is(e){if(!g.A.POSTHOG_KEY)return e;try{let t=it.Ay.get_session_replay_url({withTimestamp:!0});if(!t)return e;return{...e,contexts:{...e.contexts,posthog:{sessionReplayUrl:t}}}}catch(t){return e}}function ia(){if(!ii&&g.A.BETTERSTACK_ERRORS_DSN)try{!function(e={}){var t,r;let i,n=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===b.window||b.nw)return!1;let e=b.chrome||b.browser;if(!e?.runtime?.id)return!1;let t=rs();return!(b===b.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}()&&(rV&&S(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),a=null==e.defaultIntegrations?[((e={})=>({...((e={})=>{let t;return{name:"EventFilters",setup(r){t=eS(e,r.getOptions())},processEvent:(r,i,n)=>(t||(t=eS(e,n.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let r=e.transaction;return!!r&&eE(r,t)}(e,t.ignoreTransactions))return m&&P.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
10Event: ${es(e)}`),!0}else{var r,i,n;if(r=e,i=t.ignoreErrors,i?.length&&V(r).some(e=>eE(e,i)))return m&&P.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
11Event: ${es(e)}`),!0;if(n=e,n.exception?.values?.length&&!n.message&&!n.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return m&&P.warn(`Event dropped due to not having an error message, error type or stacktrace.
12Event: ${es(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let r=e$(e);return!!r&&eE(r,t)}(e,t.denyUrls))return m&&P.warn(`Event dropped due to being matched by \`denyUrls\` option.
13Event: ${es(e)}.
14Url: ${e$(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let r=e$(e);return!r||eE(r,t)}(e,t.allowUrls))return m&&P.warn(`Event dropped due to not being matched by \`allowUrls\` option.
15Event: ${es(e)}.
16Url: ${e$(e)}`),!0}return!1}(r,t)?r:null)}})(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let r,i=Q(this);try{eq.has(eW())&&void 0!==i&&(r=i)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){eq.set(e,!0)}},{name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=ez().getScopeData(),r=eH().getScopeData(),i=t.conversationId||r.conversationId;if(i){let{op:t,data:r,description:n}=e2(e);if(!t?.startsWith("gen_ai.")&&!r["ai.operationId"]&&!n?.startsWith("ai."))return;e.setAttribute("gen_ai.conversation.id",i)}})}},((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&X(b,"setTimeout",rL),t.setInterval&&X(b,"setInterval",rL),t.requestAnimationFrame&&X(b,"requestAnimationFrame",rN),t.XMLHttpRequest&&"XMLHttpRequest"in b&&X(XMLHttpRequest.prototype,"send",rM);let e=t.eventTarget;e&&(Array.isArray(e)?e:rO).forEach(e=>(function(e,t){let r=b[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(X(r,"addEventListener",function(r){return function(i,n,s){var a,o,l,u;try{a=n,"function"==typeof a.handleEvent&&(n.handleEvent=ro(n.handleEvent,{mechanism:{data:{handler:eg(n),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&(o=this,l=i,u=n,o&&"object"==typeof o&&"removeEventListener"in o&&"function"==typeof o.removeEventListener&&o.removeEventListener(l,u)),r.apply(this,[i,ro(n,{mechanism:{data:{handler:eg(n),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),s])}}),X(r,"removeEventListener",function(e){return function(t,r,i){try{if(Object.prototype.hasOwnProperty.call(r,"__sentry_wrapped__")){let n=r.__sentry_wrapped__;n&&e.call(this,t,n,i)}}catch{}return e.call(this,t,r,i)}}))})(e,t))}}})(),((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var r,i,n,s,a,o,l;t.console&&function(e){let t="console";rh(t,e),rp(t,rm)}((r=e,function(e){var t;if(eW()!==r)return;let i={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:ex(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else i.message=`Assertion failed: ${ex(e.args.slice(1)," ")||"console.assert"}`,i.data.arguments=e.args.slice(1);rx(i,{input:e.args,level:e.level})})),t.dom&&(rh("dom",(i=e,n=t.dom,function(e){let t,r;if(eW()!==i)return;let s="object"==typeof n?n.serializeAttribute:void 0,a="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;a&&a>1024&&(rV&&P.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof s&&(s=[s]);try{var o;let i=e.event,n=(o=i)&&o.target?i.target:i;t=rI(n,{keyAttrs:s,maxStringLength:a}),r=function(e,t=5){if(!b.HTMLElement)return null;let r=e;for(let e=0;e<t&&r;e++){if(r instanceof HTMLElement){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}r=r.parentNode}return null}(n)}catch{t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};r&&(l.data={"ui.component_name":r}),rx(l,{event:e.event,name:e.name,global:e.global})})),rp("dom",rA)),t.xhr&&(rh("xhr",(s=e,function(e){if(eW()!==s)return;let{startTimestamp:t,endTimestamp:r}
16=e,i=e.xhr[r$];if(!t||!r||!i)return;let{method:n,url:a,status_code:o,body:l}=i,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:r},c={category:"xhr",data:{method:n,url:a,status_code:o},type:"http",level:rw(o)};s.emit("beforeOutgoingRequestBreadcrumb",c,u),rx(c,u)})),rp("xhr",rT)),t.fetch&&function(e,t){let r="fetch";rh(r,e),rp(r,()=>(function(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in b))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(r_(b.fetch))return!0;let e=!1,t=b.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=r_(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){m&&P.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&X(b,"fetch",function(t){return function(...r){let i=Error(),{method:n,url:s}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:ry(t),method:rb(r,"method")?String(r.method).toUpperCase():q(t)&&rb(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:ry(t),method:rb(t,"method")?String(t.method).toUpperCase():"GET"}}(r),a={args:r,fetchData:{method:n,url:s},startTimestamp:1e3*ek(),virtualError:i,headers:function(e){let[t,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if(q(t))return new Headers(t.headers)}catch{}}(r)};return e||rf("fetch",{...a}),t.apply(b,r).then(async t=>(e?e(t):rf("fetch",{...a,endTimestamp:1e3*ek(),response:t}),t),e=>{rf("fetch",{...a,endTimestamp:1e3*ek(),error:e}),L(e)&&void 0===e.stack&&(e.stack=i.stack,K(e,"framesToPop",1));let t=eW(),r=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==r&&L(e)&&"TypeError"===e.name&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(a.fetchData.url).host;"always"===r?e.message=`${e.message} (${t})`:K(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})})(void 0,void 0))}((a=e,function(e){if(eW()!==a)return;let{startTimestamp:t,endTimestamp:r}=e;if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let i={data:e.error,input:e.args,startTimestamp:t,endTimestamp:r},n={category:"fetch",data:e.fetchData,level:"error",type:"http"};a.emit("beforeOutgoingRequestBreadcrumb",n,i),rx(n,i)}else{let i=e.response,n={...e.fetchData,status_code:i?.status},s={input:e.args,response:i,startTimestamp:t,endTimestamp:r},o={category:"fetch",data:n,type:"http",level:rw(n.status_code)};a.emit("beforeOutgoingRequestBreadcrumb",o,s),rx(o,s)}})),t.history&&rk((o=e,function(e){if(eW()!==o)return;let t=e.from,r=e.to,i=rE(b.location.href),n=t?rE(t):void 0,s=rE(r);n?.path||(n=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===n.protocol&&i.host===n.host&&(t=n.relative),rx({category:"navigation",data:{from:t,to:r}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){eW()===l&&rx({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:es(e)},{event:e})}))}}})(),((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){let t="error";rh(t,t=>{let{stackParser:r,attachStacktrace:i}=rq();if(eW()!==e||ra>0)return;let{msg:n,url:s,line:a,column:o,error:l}=t,u=function(e,t,r,i){let n=e.exception=e.exception||{},s=n.values=n.values||[],a=s[0]=s[0]||{},o=a.stacktrace=a.stacktrace||{},l=o.frames=o.frames||[];return 0===l.length&&l.push({colno:i,lineno:r,filename:function(e){if(F(e)&&0!==e.length)return e.startsWith("data:")?`<${function(e,t=!0){if(e.startsWith("data:")){let r=e.match(/^data:([^;,]+)/),i=r?r[1]:"text/plain",n=e.includes(";base64,"),s=e.indexOf(","),a="";if(t&&-1!==s){let t=e.slice(s+1);a=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${i}${n?",base64":""}${a?`,${a}`:""}`}return e}(e,!1)}>`:e}(t)??rs(),function:"?",in_app:!0}),e}(t6(r,l||n,void 0,i,!1),s,a,o);u.level="error",t8(u,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),rp(t,rG)}(e),rW("onerror")),t.onunhandledrejection&&(function(e){let t="unhandledrejection";rh(t,t=>{var r;let{stackParser:i,attachStacktrace:n}=rq();if(eW()!==e||ra>0)return;let s=function(e){if(U(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),a=U(s)?(r=s,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(r)}`}]}}):t6(i,s,void 0,n,!0);a.level="error",t8(a,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),rp(t,rH)}(e),rW("onunhandledrejection"))}}})(),((e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,i,n){!function(e,t,r,i,n,s){if(!n.exception?.values||!s||!L(s.originalException))return;let a=n.exception.values.length>0?n.exception.values[n.exception.values.length-1]:void 0;a&&(n.exception.values=function e(t,r,i,n,s,a,o,l){if(a.length>=i+1)return a;let u=[...a];if(L(n[s])){rK(o,l,n);let a=t(r,n[s]),c=u.length;rY(a,s,c,l),u=e(t,r,i,n[s],s,[a,...u],a,c)}
16return rX(n)&&n.errors.forEach((a,c)=>{if(L(a)){rK(o,l,n);let d=t(r,a),h=u.length;rY(d,`errors[${c}]`,h,l),u=e(t,r,i,a,s,[d,...u],d,h)}}),u}(e,t,i,s.originalException,r,n.exception.values,a,0))}(t1,n.getOptions().stackParser,r,t,e,i)}}})(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var t,r;if(t=e,(r=i)&&(function(e,t){let r=e.message,i=t.message;return(!!r||!!i)&&(!r||!!i)&&(!!r||!i)&&r===i&&!!e6(e,t)&&!!e4(e,t)&&!0}(t,r)||function(e,t){let r=e7(t),i=e7(e);return!!r&&!!i&&r.type===i.type&&r.value===i.value&&!!e6(e,t)&&!!e4(e,t)}(t,r)))return m&&P.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return i=e}},{name:"HttpContext",preprocessEvent(e){if(!b.navigator&&!b.location&&!b.document)return;let t=rl(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}},processSegmentSpan(e){let t=e.attributes?.[eX];if(!b.navigator&&!b.location&&!b.document)return;let r=rl();rj(e,{"url.full":"http.client"!==t?r.url:void 0,"http.request.header.user_agent":r.headers["User-Agent"],"http.request.header.referer":r.headers.Referer})}},{name:"CultureContext",preprocessEvent(e){let t=rU();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=rU();t&&rj(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}},((e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){let e;if(void 0===b.document){rV&&P.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}rt({ignoreDuration:!0});let r=!1;var i,n=()=>{r||(rn(),r=!0)};let s=b.requestIdleCallback||b.setTimeout;b.document?.visibilityState==="hidden"?n():(rD("visibilitychange",(i=n,e=!1,n=()=>{e||(i(),e=!0)}),{once:!0,capture:!0}),rD("pagehide",n,{once:!0,capture:!0}),s(()=>{n(),rF("visibilitychange",n,{capture:!0}),rF("pagehide",n,{capture:!0})}));let a=eH(),o=a.getUser();a.addScopeListener(e=>{let t=e.getUser();
16(o?.id!==t?.id||o?.ip_address!==t?.ip_address)&&(o=t,r&&rn())}),"route"===t&&rk(({from:e,to:t})=>{e!==t&&(rt({ignoreDuration:!0}),rn(),r=!0)})}}})()]:e.defaultIntegrations,o={...e,enabled:!n&&e.enabled,stackParser:Array.isArray(t=e.stackParser||r5)?ep(...t):t,integrations:function(e){let t,r=e.defaultIntegrations||[],i=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(i))t=[...r,...i];else if("function"==typeof i){let e=i(r);t=Array.isArray(e)?e:[e]}else t=r;var n=t;let s={};return n.forEach(e=>{let{name:t}=e,r=s[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(s[t]=e)}),Object.values(s)}({integrations:e.integrations,defaultIntegrations:a}),transport:e.transport||r9};s=ie,!0===o.debug&&(m?P.enable():S(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),ez().update(o.initialScope);let l=new ru(o);r=l,ez().setClient(r),l.init()}({dsn:g.A.BETTERSTACK_ERRORS_DSN,release:"44e526118679e0dcc88f148d0f6db566d020ede0",environment:g.A.NODE_ENV,ignoreErrors:ir,beforeSend:is}),ii=!0}catch(e){console.error("better stack error tracking init error:",e)}}function io(e){let{level:t,tags:r,context:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ii&&t9(e,{...t&&{level:t},...r&&{tags:r},...i&&{extra:i}})}function il(e){ii&&re(e)}function iu(){ii&&re(null)}},56061:(e,t,r)=>{"use strict";r.d(t,{B:()=>o});var i=r(5410);let n={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"},a=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function o(e,{attrX:t,attrY:r,attrScale:o,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...d},h,p,f){if((0,i.O)(e,d,p),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:v,style:g}=e;for(let e of(v.transform&&(g.transform=v.transform,delete v.transform),(g.transform||v.transformOrigin)&&(g.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),g.transform&&(g.transformBox=f?.transformBox??"fill-box",delete v.transformBox),a))void 0!==v[e]&&(g[e]=v[e],delete v[e]);void 0!==t&&(v.x=t),void 0!==r&&(v.y=r),void 0!==o&&(v.scale=o),void 0!==l&&function(e,t,r=1,i=0,a=!0){e.pathLength=1;let o=a?n:s;e[o.offset]=`${-i}`,e[o.array]=`${t} ${r}`}(v,l,u,c,!1)}},56475:(e,t,r)=>{"use strict";r.d(t,{n:()=>i});let i="data-"+(0,r(78777).I)("framerAppearId")},56947:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,n.isNextRouterError)(t)||(0,i.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let i=r(87372),n=r(79744);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57597:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var i=r(78189),n=r(6914);function s(e,t,r={}){let[a,o,l]=(0,n.V)(e,r);return a.forEach(e=>{let r,n=!1,s=!1,a=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",u)},l=e=>{n=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),s&&(s=!1,a(e))},u=e=>{if("touch"!==e.pointerType){if(n){s=!0;return}a(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,i.D)())return;s=!1;let a=t(e,n);"function"==typeof a&&(r=a,e.addEventListener("pointerleave",u,o))},o),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",l,o)},o)}),l}},57672:(e,t,r)=>{"use strict";r.d(t,{h:()=>h,q:()=>d});var i=r(61184),n=r(50891);let s=new Set,a=!1,o=!1,l=!1;function u(){if(o){let e=Array.from(s).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=(0,i.W9)(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}
16o=!1,a=!1,s.forEach(e=>e.complete(l)),s.clear()}function c(){s.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(o=!0)})}function d(){l=!0,c(),u(),l=!1}class h{constructor(e,t,r,i,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),a||(a=!0,n.Gt.read(c),n.Gt.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:i}=this;if(null===e[0]){let n=i?.get(),s=e[e.length-1];if(void 0!==n)e[0]=n;else if(r&&t){let i=r.readValue(t,s);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=s),i&&void 0===n&&i.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},58509:(e,t,r)=>{"use strict";r.d(t,{f:()=>s});var i=r(98669),n=r(22942);function s(e,t){let r=e[e.length-1];for(let s=1;s<=t;s++){let a=(0,i.q)(0,t,s);e.push((0,n.k)(r,1,a))}}},59943:(e,t,r)=>{"use strict";r.d(t,{u:()=>n});var i=r(78072);let n={test:(0,r(3524).$)("#"),parse:function(e){let t="",r="",i="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,i+=i,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}},transform:i.B.transform}},60386:(e,t,r)=>{"use strict";r.d(t,{V:()=>i}),r(33601);let i=()=>{}},61006:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});let i=(e,t,r)=>{let i=t-e;return 0===i?1:(r-e)/i}},61184:(e,t,r)=>{"use strict";r.d(t,{E4:()=>o,Hr:()=>d,W9:()=>c});var i=r(43224),n=r(40574),s=r(50151),a=r(15650);let o=e=>e===s.ai||e===a.px,l=new Set(["x","y","z"]),u=n.U.filter(e=>!l.has(e));function c(e){let t=[];return u.forEach(r=>{let i=e.getValue(r);void 0!==i&&(t.push([r,i.get()]),i.set(+!!r.startsWith("scale")))}),t}let d={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:i})=>{let n=e.max-e.min;return"border-box"===i?n:n-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:i})=>{let n=e.max-e.min;return"border-box"===i?n:n-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>(0,i.ry)(t,"x"),y:(e,{transform:t})=>(0,i.ry)(t,"y")};d.translateX=d.x,d.translateY=d.y},62263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRedirectError:function(){return a},getRedirectStatusCodeFromError:function(){return d},getRedirectTypeFromError:function(){return c},getURLFromRedirectError:function(){return u},permanentRedirect:function(){return l},redirect:function(){return o}});let i=r(83246),n=r(12632),s=void 0;function a(e,t,r){void 0===r&&(r=i.RedirectStatusCode.TemporaryRedirect);let s=Object.defineProperty(Error(n.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return s.digest=n.REDIRECT_ERROR_CODE+";"+t+";"+e+";"+r+";",s}function o(e,t){var r;throw null!=t||(t=(null==s||null==(r=s.getStore())?void 0:r.isAction)?n.RedirectType.push:n.RedirectType.replace),a(e,t,i.RedirectStatusCode.TemporaryRedirect)}function l(e,t){throw void 0===t&&(t=n.RedirectType.replace),a(e,t,i.RedirectStatusCode.PermanentRedirect)}function u(e){return(0,n.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function c(e){if(!(0,n.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function d(e){if(!(0,n.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,
16configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62667:(e,t,r)=>{"use strict";r.d(t,{W:()=>n});var i=r(78189);function n(e){if("x"===e||"y"===e)if(i.I[e])return null;else return i.I[e]=!0,()=>{i.I[e]=!1};return i.I.x||i.I.y?null:(i.I.x=i.I.y=!0,()=>{i.I.x=i.I.y=!1})}},63400:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var i=r(25903),n=r(78189);let s=(e,t)=>!!t&&(e===t||s(e,t.parentElement));var a=r(33784),o=r(6914),l=r(6500);let u=new WeakSet;function c(e){return t=>{"Enter"===t.key&&e(t)}}function d(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function h(e){return(0,a.M)(e)&&!(0,n.D)()}let p=new WeakSet;function f(e,t,r={}){let[n,a,v]=(0,o.V)(e,r),g=e=>{let i=e.currentTarget;if(!h(e)||p.has(e))return;u.add(i),r.stopPropagation&&p.add(e);let n=t(i,e),o=(e,t)=>{window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",c),u.has(i)&&u.delete(i),h(e)&&"function"==typeof n&&n(e,{success:t})},l=e=>{o(e,i===window||i===document||r.useGlobalTarget||s(i,e.target))},c=e=>{o(e,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",c,a)};return n.forEach(e=>{(r.useGlobalTarget?window:e).addEventListener("pointerdown",g,a),(0,i.s)(e)&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let i=c(()=>{if(u.has(r))return;d(r,"down");let e=c(()=>{d(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>d(r,"cancel"),t)});r.addEventListener("keydown",i,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",i),t)})(e,a)),(0,l.c)(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),v}},63966:(e,t,r)=>{"use strict";r.d(t,{EP:()=>i,FQ:()=>n,T0:()=>s});let i="__sc_",n="";"".concat("".concat(i,"x1")).concat(n);let s="navattic:salesforce"},64870:(e,t,r)=>{"use strict";function i(e){let t;return()=>(void 0===t&&(t=e()),t)}r.d(t,{p:()=>i})},65735:(e,t,r)=>{"use strict";r.d(t,{G:()=>c});var i=r(77118),n=r(4588),s=r(65848),a=r(95413),o=r(98669),l=r(51095),u=r(50192);function c(e,t,{clamp:r=!0,ease:d,mixer:h}={}){let p=e.length;if((0,a.V)(p===t.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>t[0];if(2===p&&t[0]===t[1])return()=>t[1];let f=e[0]===e[1];e[0]>e[p-1]&&(e=[...e].reverse(),t=[...t].reverse());let v=function(e,t,r){let a=[],o=r||i.W.mix||u.j,l=e.length-1;for(let r=0;r<l;r++){let i=o(e[r],e[r+1]);if(t){let e=Array.isArray(t)?t[r]||n.l:t;i=(0,s.F)(e,i)}a.push(i)}return a}(t,d,h),g=v.length,m=r=>{if(f&&r<e[0])return t[0];let i=0;if(g>1)for(;i<e.length-2&&!(r<e[i+1]);i++);let n=(0,o.q)(e[i],e[i+1],r);return v[i](n)};return r?t=>m((0,l.q)(e[0],e[p-1],t)):m}},65848:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});let i=(e,t)=>r=>t(e(r)),n=(...e)=>e.reduce(i)},67408:(e,t,r)=>{"use strict";r.d(t,{b:()=>n});var i=r(71769);let n=e=>e>=1?1:(e*=2)<1?.5*(0,i.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))},67598:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>_});var i=r(6029);r(92503),r(2926),r(4132),r(19841),r(19837);var n=r(55657),s=r(51809),a=r(55613),o=r(47527),l=r(81278),u=r.n(l),c=r(55729);class d extends c.Component{static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){(0,n.Cp)(e,{level:"fatal",tags:{crash:"react"},context:{componentStack:t.componentStack}}),o.Rm.error({message:"page_crash",route:u().pathname,pathname:window.location.pathname,error:{name:e.name,message:e.message,stack:e.stack},componentStack:t.componentStack})}render(){return this.state.hasError?(0,i.jsx)(s.x,{title:"Something went wrong",body:"This page ran into an unexpected error. Our engineering team has been notified, and will have a fix shortly.",children:(0,i.jsx)(a.$,{size:"sm",onClick:()=>window.location.reload(),children:"Reload page"})}):this.props.children}constructor(e){super(e),this.state={hasError:!1}}}var h=r(74881),p=r(76838),f=r(44214),v=r(52229);function g(){return{searchParams:(0,v.useSearchParams)(),updateUrl:(0,c.useCallback)((e,t)=>{let r=window.next?.router,i=function(e,t){let r=e.split("#")[0]??"";return r+(0,p.OB)(t)+location.hash}(r.state.asPath.split("?")[0]??"",e);(0,f.Y)("[nuqs queue (pages)] Updating url: %s",i),("push"===t.history?r.push:r.replace).call(r,i,i,{scroll:t.scroll,shallow:t.shallow})},[]),rateLimitFactor:2}}(0,p.Hx)(g);var m=(0,p.Hx)(g);let _=function(e){let{Component:t,pageProps:r}=e,{pathname:n,asPath:s}=(0,l.useRouter)(),a=(0,c.useRef)(null),o=(0,c.useRef)(s);o.current=s;let u=t.getLayout||(e=>e);return(0,c.useEffect)(()=>{(0,h.l)(a.current),a.current=o.current},[n]),(0,i.jsx)(d,{children:u((0,i.jsx)(m,{children:(0,i.jsx)(t,{...r})}))})}},67827:(e,t,r)=>{"use strict";r.d(t,{F:()=>s});let i=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,t,r=0,i="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,i,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(i=e(t[r]))&&(n&&(n+=" "),n+=i);else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}(e))&&(i&&(i+=" "),i+=t);return i},s=(e,t)=>r=>{var s;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===t)return null;let s=i(t)||i(n);return a[e][s]}),u=r&&Object.entries(r).reduce((e,t)=>
16{let[r,i]=t;return void 0===i||(e[r]=i),e},{});return n(e,l,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:r,className:i,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...u}[t]):({...o,...u})[t]===r})?[...e,r,i]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},68275:(e,t,r)=>{"use strict";r.d(t,{k:()=>i});let{schedule:i}=(0,r(86246).I)(queueMicrotask,!1)},69622:(e,t,r)=>{"use strict";r.d(t,{X:()=>n,f:()=>i});let i=e=>1e3*e,n=e=>e/1e3},69745:(e,t,r)=>{"use strict";r.d(t,{u:()=>n});var i=r(17203);function n(e){return(0,i.S)(e)?e.get():e}},70831:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});let i=e=>Array.isArray(e)},71513:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s1});var i="undefined"!=typeof window?window:void 0,n="undefined"!=typeof globalThis?globalThis:i;"undefined"==typeof self&&(n.self=n),"undefined"==typeof File&&(n.File=function(){});var s=null==n?void 0:n.navigator,a=null==n?void 0:n.document,o=null==n?void 0:n.location,l=null==n?void 0:n.fetch,u=null!=n&&n.XMLHttpRequest&&"withCredentials"in new n.XMLHttpRequest?n.XMLHttpRequest:void 0,c=null==n?void 0:n.AbortController,d=null==n?void 0:n.CompressionStream,h=null==s?void 0:s.userAgent,p=null!=i?i:{},f="1.372.8",v={DEBUG:!1,LIB_VERSION:f,LIB_NAME:"web",JS_SDK_VERSION:f};function g(e,t,r,i,n,s,a){try{var o=e[s](a),l=o.value}catch(e){return void r(e)}o.done?t(l):Promise.resolve(l).then(i,n)}function m(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var s=e.apply(t,r);function a(e){g(s,i,n,a,o,"next",e)}function o(e){g(s,i,n,a,o,"throw",e)}a(void 0)})}}function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var r=arguments[t];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(null,arguments)}function b(e,t){if(null==e)return{};var r={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;r[i]=e[i]}return r}function y(){return(y=m(function*(e,t,r){void 0===t&&(t=!0);try{var i,n=new CompressionStream("gzip"),s=n.writable.getWriter(),a=s.write((new TextEncoder).encode(e)).then(()=>s.close()).catch((i=m(function*(e){try{yield s.abort(e)}catch(e){}throw e}),function(e){return i.apply(this,arguments)})),o=new Response(n.readable).blob(),[l]=yield Promise.all([o,a]);return l}catch(e){if(null!=r&&r.rethrow)throw e;return t&&console.error("Failed to gzip compress data",e),null}})).apply(this,arguments)}var x=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],w=function(e,t){if(void 0===t&&(t=[]),!e)return!1;var r=e.toLowerCase();return x.concat(t).some(e=>{var t=e.toLowerCase();return -1!==r.indexOf(t)})},E=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"];function A(e,t){return -1!==e.indexOf(t)}var S=function(e){return e.trim()},$=function(e){return e.replace(/^\$/,"")},T=Object.prototype,k=T.hasOwnProperty,P=T.toString,C=Array.isArray||function(e){return"[object Array]"===P.call(e)},R=e=>"function"==typeof e,I=e=>e===Object(e)&&!C(e),V=e=>{if(I(e)){for(var t in e)if(k.call(e,t))return!1;return!0}return!1},O=e=>void 0===e,L=e=>"[object String]"==P.call(e),N=e=>L(e)&&0===e.trim().length,M=e=>null===e,D=e=>O(e)||M(e),F=e=>"[object Number]"==P.call(e)&&e==e,j=e=>F(e)&&e>0,U=e=>"[object Boolean]"===P.call(e),B=e=>A(E,e);function G(e){return null===e||"object"!=typeof e}function z(e,t){return({}).toString.call(e)==="[object "+t+"]"}function H(e){return"undefined"!=typeof Event&&function(e,t){try{return e instanceof t}catch(e){return!1}}(e,Event)}var W=[!0,"true",1,"1","yes"],q=e=>
16A(W,e),X=[!1,"false",0,"0","no"];function K(e,t,r,i,n){return t>r&&(i.warn("min cannot be greater than max."),t=r),F(e)?e>r?(i.warn(" cannot be  greater than max: "+r+". Using max value instead."),r):t>e?(i.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(i.warn(" must be a number. using max or fallback. max: "+r+", fallback: "+n),K(n||r,t,r,i))}class Y{constructor(e){this.$t={},this.zt=e.zt,this.Ut=K(e.bucketSize,0,100,e.Gt),this.Wt=K(e.refillRate,0,this.Ut,e.Gt),this.Xt=K(e.refillInterval,0,864e5,e.Gt)}Jt(e,t){var r=Math.floor((t-e.lastAccess)/this.Xt);r>0&&(e.tokens=Math.min(e.tokens+r*this.Wt,this.Ut),e.lastAccess=e.lastAccess+r*this.Xt)}consumeRateLimit(e){var t,r=Date.now(),i=String(e),n=this.$t[i];return n?this.Jt(n,r):this.$t[i]=n={tokens:this.Ut,lastAccess:r},0===n.tokens||(n.tokens--,0===n.tokens&&(null==(t=this.zt)||t.call(this,e)),0===n.tokens)}stop(){this.$t={}}}var Q,Z,J,ee="Mobile",et="Android",er="Tablet",ei=et+" "+er,en="iPad",es="Apple",ea=es+" Watch",eo="Safari",el="BlackBerry",eu="Samsung",ec=eu+"Browser",ed=eu+" Internet",eh="Chrome",ep=eh+" OS",ef=eh+" iOS",ev="Internet Explorer",eg=ev+" "+ee,em="Opera",e_=em+" Mini",eb="Edge",ey="Microsoft "+eb,ex="Firefox",ew=ex+" iOS",eE="Nintendo",eA="PlayStation",eS="Xbox",e$=et+" "+ee,eT=ee+" "+eo,ek="Windows",eP=ek+" Phone",eC="Nokia",eR="Ouya",eI="Generic",eV=eI+" "+ee.toLowerCase(),eO=eI+" "+er.toLowerCase(),eL="Konqueror",eN="(\\d+(\\.\\d+)?)",eM=RegExp("Version/"+eN),eD=RegExp(eS,"i"),eF=RegExp(eA+" \\w+","i"),ej=RegExp(eE+" \\w+","i"),eU=RegExp(el+"|PlayBook|BB10","i"),eB={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},eG=function(e,t){var r;return t=t||"",A(e," OPR/")&&A(e,"Mini")?e_:A(e," OPR/")?em:eU.test(e)?el:A(e,"IE"+ee)||A(e,"WPDesktop")?eg:A(e,ec)?ed:A(e,eb)||A(e,"Edg/")?ey:A(e,"FBIOS")?"Facebook "+ee:A(e,"UCWEB")||A(e,"UCBrowser")?"UC Browser":A(e,"CriOS")?ef:A(e,"CrMo")||A(e,eh)?eh:A(e,et)&&A(e,eo)?e$:A(e,"FxiOS")?ew:A(e.toLowerCase(),eL.toLowerCase())?eL:(r=t)&&A(r,es)||A(e,eo)&&!A(e,eh)&&!A(e,et)?A(e,ee)?eT:eo:A(e,ex)?ex:A(e,"MSIE")||A(e,"Trident/")?ev:A(e,"Gecko")?ex:""},ez={[eg]:[RegExp("rv:"+eN)],[ey]:[RegExp(eb+"?\\/"+eN)],[eh]:[RegExp("("+eh+"|CrMo)\\/"+eN)],[ef]:[RegExp("CriOS\\/"+eN)],"UC Browser":[RegExp("(UCBrowser|UCWEB)\\/"+eN)],[eo]:[eM],[eT]:[eM],[em]:[RegExp("(Opera|OPR)\\/"+eN)],[ex]:[RegExp(ex+"\\/"+eN)],[ew]:[RegExp("FxiOS\\/"+eN)],[eL]:[RegExp("Konqueror[:/]?"+eN,"i")],[el]:[RegExp(el+" "+eN),eM],[e$]:[RegExp("android\\s"+eN,"i")],[ed]:[RegExp(ec+"\\/"+eN)],[ev]:[RegExp("(rv:|MSIE )"+eN)],Mozilla:[RegExp("rv:"+eN)]},eH=function(e,t){var r=ez[eG(e,t)];if(O(r))return null;for(var i=0;r.length>i;i++){var n=e.match(r[i]);if(n)return parseFloat(n[n.length-2])}return null},eW=[[RegExp(eS+"; "+eS+" (.*?)[);]","i"),e=>[eS,e&&e[1]||""]],[RegExp(eE,"i"),[eE,""]],[RegExp(eA,"i"),[eA,""]],[eU,[el,""]],[RegExp(ek,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[eP,""];if(new RegExp(ee).test(t)&&!/IEMobile\b/.test(t))return[ek+" "+ee,""];
16var r=/Windows NT ([0-9.]+)/i.exec(t);if(r&&r[1]){var i=eB[r[1]]||"";return/arm/i.test(t)&&(i="RT"),[ek,i]}return[ek,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?["iOS",[e[3],e[4],e[5]||"0"].join(".")]:["iOS",""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=O(e[2])?e[3]:e[2]),["watchOS",t]}],[RegExp("("+et+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+et+")","i"),e=>e&&e[2]?[et,[e[2],e[3],e[4]||"0"].join(".")]:[et,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];return e&&e[1]&&(t[1]=[e[1],e[2],e[3]||"0"].join(".")),t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[ep,""]],[/Linux|debian/i,["Linux",""]]],eq=function(e){return ej.test(e)?eE:eF.test(e)?eA:eD.test(e)?eS:RegExp(eR,"i").test(e)?eR:RegExp("("+eP+"|WPDesktop)","i").test(e)?eP:/iPad/.test(e)?en:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?ea:eU.test(e)?el:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":RegExp(eC,"i").test(e)?eC:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(ee).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?et:ei:RegExp("(pda|"+ee+")","i").test(e)?eV:RegExp(er,"i").test(e)&&!RegExp(er+" pc","i").test(e)?eO:""},eX=e=>e instanceof Error,eK={trace:{text:"TRACE",number:1},debug:{text:"DEBUG",number:5},info:{text:"INFO",number:9},warn:{text:"WARN",number:13},error:{text:"ERROR",number:17},fatal:{text:"FATAL",number:21}},eY=eK.info;function eQ(e){var t=[];for(var r in e){var i=e[r];M(i)||O(i)||t.push({key:r,value:function e(t){if(U(t))return{boolValue:t};if("number"==typeof t)return Number.isFinite(t)?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:{stringValue:String(t)};if("string"==typeof t)return{stringValue:t};if(C(t))return{arrayValue:{values:t.map(t=>e(t))}};try{return{stringValue:JSON.stringify(t)}}catch(e){return{stringValue:String(t)}}}(i)})}return t}class eZ{constructor(e,t,r){void 0===r&&(r=[]),this.coercers=e,this.stackParser=t,this.modifiers=r}buildFromUnknown(e,t){void 0===t&&(t={});var r=t&&t.mechanism||{handled:!0,type:"generic"},i=this.buildCoercingContext(r,t,0).apply(e),n=this.buildParsingContext(t),s=this.parseStacktrace(i,n);return{$exception_list:this.convertToExceptionList(s,r),$exception_level:"error"}}modifyFrames(e){var t=this;return m(function*(){for(var r of e)r.stacktrace&&r.stacktrace.frames&&C(r.stacktrace.frames)&&(r.stacktrace.frames=yield t.applyModifiers(r.stacktrace.frames));return e})()}coerceFallback(e){var t;return{type:"Error",value:"Unknown error",stack:null==(t=e.syntheticException)?void 0:t.stack,synthetic:!0}}parseStacktrace(e,t){var r,i;return null!=e.cause&&(r=this.parseStacktrace(e.cause,t)),""!=e.stack&&null!=e.stack&&(i=this.applyChunkIds(this.stackParser(e.stack,e.synthetic?t.skipFirstLines:0),t.chunkIdMap)),_({},e,{cause:r,stack:i})}applyChunkIds(e,t){return e.map(e=>(e.filename&&t&&(e.chunk_id=t[e.filename]),e))}applyCoercers(e,t){for(var r of this.coercers)if(r.match(e))return r.coerce(e,t);return this.coerceFallback(t)}applyModifiers(e){var t=this;return m(function*(){var r=e;for(var i of t.modifiers)r=yield i(r);return r})()}convertToExceptionList(e,t){var r,i,n,s={type:e.type,value:e.value,mechanism:{type:null!=(r=t.type)?r:"generic",handled:null==(i=t.handled)||i,synthetic:null!=(n=e.synthetic)&&n}};e.stack&&(s.stacktrace={type:"raw",frames:e.stack});var a=[s];return null!=e.cause&&a.push(...this.convertToExceptionList(e.cause,_({},t,{handled:!0}))),a}buildParsingContext(e){var t;return{chunkIdMap:function(e){var t=globalThis._posthogChunkIds;if(t){var r=Object.keys(t);return J&&r.length===Z||(Z=r.length,J=r.reduce((r,i)=>{Q||(Q={});var n=Q[i];if(n)r[n[0]]=n[1];else for(var s=e(i),a=s.length-1;a>=0;a--){var o=s[a],l=null==o?void 0:o.filename,u=t[i];if(l&&u){r[l]=u,Q[i]=[l,u];break}}return r},{})),J}}(this.stackParser),skipFirstLines:null!=(t=e.skipFirstLines)?t:1}}buildCoercingContext(e,t,r){void 0===r&&(r=0);var i=(r,i)=>{if(4>=i){var n=this.buildCoercingContext(e,t,i);return this.applyCoercers(r,n)}};return _({},t,{syntheticException:0==r?t.syntheticException:void 0,mechanism:e,apply:e=>i(e,r),next:e=>i(e,r+1)})}}function eJ(e,t,r,i,n){var s={platform:e,filename:t,function:"<anonymous>
16"===r?"?":r,in_app:!0};return O(i)||(s.lineno=i),O(n)||(s.colno=n),s}var e0=(e,t)=>{var r=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return r||i?[-1!==e.indexOf("@")?e.split("@")[0]:"?",r?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},e1=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,e2=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,e3=/\((\S*)(?::(\d+))(?::(\d+))\)/,e5=(e,t)=>{var r=e1.exec(e);if(r){var[,i,n,s]=r;return eJ(t,i,"?",+n,+s)}var a=e2.exec(e);if(a){if(a[2]&&0===a[2].indexOf("eval")){var o=e3.exec(a[2]);o&&(a[2]=o[1],a[3]=o[2],a[4]=o[3])}var[l,u]=e0(a[1]||"?",a[2]);return eJ(t,u,l,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}},e4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,e6=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,e7=(e,t)=>{var r=e4.exec(e);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){var i=e6.exec(r[3]);i&&(r[1]=r[1]||"eval",r[3]=i[1],r[4]=i[2],r[5]="")}var n=r[3],s=r[1]||"?";return[s,n]=e0(s,n),eJ(t,n,s,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},e9=/\(error: (.*)\)/;class e8{match(e){return this.isDOMException(e)||this.isDOMError(e)}coerce(e,t){var r=L(e.stack);return{type:this.getType(e),value:this.getValue(e),stack:r?e.stack:void 0,cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return this.isDOMError(e)?"DOMError":"DOMException"}getValue(e){var t=e.name||(this.isDOMError(e)?"DOMError":"DOMException");return e.message?t+": "+e.message:t}isDOMException(e){return z(e,"DOMException")}isDOMError(e){return z(e,"DOMError")}}class te{match(e){return e instanceof Error}coerce(e,t){return{type:this.getType(e),value:this.getMessage(e,t),stack:this.getStack(e),cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return e.name||e.constructor.name}getMessage(e,t){var r=e.message;return String(r.error&&"string"==typeof r.error.message?r.error.message:r)}getStack(e){return e.stacktrace||e.stack||void 0}}class tt{constructor(){}match(e){return z(e,"ErrorEvent")&&null!=e.error}coerce(e,t){var r;return t.apply(e.error)||{type:"ErrorEvent",value:e.message,stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}}}var tr=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class ti{match(e){return"string"==typeof e}coerce(e,t){var r,[i,n]=this.getInfos(e);return{type:null!=i?i:"Error",value:null!=n?n:e,stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}}getInfos(e){var t="Error",r=e,i=e.match(tr);return i&&(t=i[1],r=i[2]),[t,r]}}var tn=["fatal","error","warning","log","info","debug"];function ts(e,t){void 0===t&&(t=40);var r=Object.keys(e);if(r.sort(),!r.length)return"[object has no keys]";for(var i=r.length;i>0;i--){var n=r.slice(0,i).join(", ");if(t>=n.length)return i===r.length?n:n.length>t?n.slice(0,t)+"...":n}return""}class ta{match(e){return"object"==typeof e&&null!==e}coerce(e,t){var r,i=this.getErrorPropertyFromObject(e);return i?t.apply(i):{type:this.getType(e),value:this.getValue(e),stack:null==(r=t.syntheticException)?void 0:r.stack,level:this.isSeverityLevel(e.level)?e.level:"error",synthetic:!0}}getType(e){return H(e)?e.constructor.name:"Error"}getValue(e){if("name"in e&&"string"==typeof e.name){var t="'"+e.name+"' captured as exception";return"message"in e&&"string"==typeof e.message&&(t+=" with message: '"+e.message+"'"),t}if("message"in e&&"string"==typeof e.message)return e.message;var r=this.getObjectClassName(e);return(r&&"Object"!==r?"'"+r+"'":"Object")+" captured as exception with keys: "+ts(e)}isSeverityLevel(e){return L(e)&&!N(e)&&tn.indexOf(e)>=0}getErrorPropertyFromObject(e){for(var t in e)if(({}).hasOwnProperty.call(e,t)){var r=e[t];if(eX(r))return r}}getObjectClassName(e){try{var t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){return}}}class to{match(e){return H(e)}coerce(e,t){var r,i=e.constructor.name;return{type:i,value:i+" captured as exception with keys: "+ts(e),stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}}}class tl{match(e){return G(e)}coerce(e,t){var r;return{type:"Error",value:"Primitive value captured as exception: "+String(e),stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}}}class tu{match(e){return z(e,"PromiseRejectionEvent")||this.isCu
16stomEventWrappingRejection(e)}isCustomEventWrappingRejection(e){if(!H(e))return!1;try{var t=e.detail;return null!=t&&"object"==typeof t&&"reason"in t}catch(e){return!1}}coerce(e,t){var r,i=this.getUnhandledRejectionReason(e);return G(i)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(i),stack:null==(r=t.syntheticException)?void 0:r.stack,synthetic:!0}:t.apply(i)}getUnhandledRejectionReason(e){try{if("reason"in e)return e.reason;if("detail"in e&&null!=e.detail&&"object"==typeof e.detail&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}}var tc="$message",td="$timestamp",th=new Set([tc,td]),tp={enabled:!0,max_bytes:32768};function tf(e){var t;return e?{enabled:null!=(t=e.enabled)?t:tp.enabled,max_bytes:function(e,t){if(!F(e)||e===1/0||e===-1/0)return t;var r=Math.floor(e);return 0>r?t:r}(e.max_bytes,tp.max_bytes)}:_({},tp)}class tv{constructor(e){this.Kt=[],this.Qt=0,this.Bt=tf(e)}setConfig(e){this.Bt=tf(e),this.er()}add(e){var t=function(e){var t=function(e){var t=new WeakSet;try{return JSON.stringify(e,(e,r)=>{if("bigint"==typeof r)return r.toString();if("function"!=typeof r&&"symbol"!=typeof r){if(r instanceof Date)return r.toISOString();if(r instanceof Error)return{name:r.name,message:r.message,stack:r.stack};if(r&&"object"==typeof r){if(t.has(r))return"[Circular]";t.add(r)}return r}})}catch(e){return}}(e);if(t)try{var r=JSON.parse(t);if(!I(r))return;var i=r[tc],n=r[td];if(!L(i)||0===i.trim().length||!L(n)&&!F(n))return;return{step:r,json:t}}catch(e){return}}(e);if(t){var r=function(e){if("undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e).length;for(var t=encodeURIComponent(e),r=0,i=0;t.length>i;i++)"%"===t[i]?(r+=1,i+=2):r+=1;return r}(t.json);r>this.Bt.max_bytes||(this.Kt.push({step:t.step,bytes:r}),this.Qt+=r,this.er())}}getAttachable(){return this.Kt.map(e=>e.step)}clear(){this.Kt=[],this.Qt=0}size(){return this.Kt.length}er(){for(;this.Qt>this.Bt.max_bytes&&this.Kt.length>0;){var e=this.Kt.shift();e&&(this.Qt-=e.bytes)}}}var tg=function(e,t){var{debugEnabled:r}=void 0===t?{}:t,n={C(t){if(i&&(v.DEBUG||p.POSTHOG_DEBUG||r)&&!O(i.console)&&i.console){for(var n=("__rrweb_original__"in i.console[t])?i.console[t].__rrweb_original__:i.console[t],s=arguments.length,a=Array(s>1?s-1:0),o=1;s>o;o++)a[o-1]=arguments[o];n(e,...a)}},debug(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];n.C("debug",...t)},info(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];n.C("log",...t)},warn(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];n.C("warn",...t)},error(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];n.C("error",...t)},critical(){for(var t=arguments.length,r=Array(t),i=0;t>i;i++)r[i]=arguments[i];console.error(e,...r)},uninitializedWarning(e){n.error("You must initialize PostHog before calling "+e)},createLogger:(t,r)=>tg(e+" "+t,r)};return n},tm=tg("[PostHog.js]"),t_=tm.createLogger,tb=t_("[ExternalScriptsLoader]"),ty=(e,t,r)=>{if(e.config.disable_external_dependency_loading)return tb.warn(t+" was requested but loading of external scripts is disabled."),r("Loading of external scripts is disabled");var i=null==a?void 0:a.querySelectorAll("script");if(i){for(var n,s=0;i.length>s;s++)if(n=function(){if(i[s].src===t){var e=i[s];return e.__posthog_loading_callback_fired?{v:r()}:(e.addEventListener("load",t=>{e.__posthog_loading_callback_fired=!0,r(void 0,t)}),e.onerror=e=>r(e),{v:void 0})}}())return n.v}var o=()=>{if(!a)return r("document not found");var i=a.createElement("script");if(i.type="text/javascript",i.crossOrigin="anonymous",i.src=t,i.onload=e=>{i.__posthog_loading_callback_fired=!0,r(void 0,e)},i.onerror=e=>r(e),e.config.prepare_external_dependency_script&&(i=e.config.prepare_external_dependency_script(i)),!i)return r("prepare_external_dependency_script returned null");if("head"===e.config.external_scripts_inject_target)a.head.appendChild(i);else{var n,s=a.querySelectorAll("body > script");s.length>0?null==(n=s[0].parentNode)||n.insertBefore(i,s[0]):a.body.appendChild(i)}};null!=a&&a.body?o():null==a||a.addEventListener("DOMContentLoaded",o)};p.__PosthogExtensions__=p.__PosthogExtensions__||{},p.__PosthogExtensions__.loadExternalDependency=(e,t,r)=>{if("remote-config"!==t){var i;if(e.config.__preview_external_dependency_versioned_paths)i=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var n="/static/"+t+".js?v="+e.version;"toolbar"===t&&(n=n+"&t="+3e5*Math.floor(Date.now()/3e5)),i=e.requestRouter.endpointFor("assets",n)}ty(e,i,r)}else{var s=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");ty(e,s,r)}},p.__PosthogExtensions__.loadSiteApp=(e,t,r)=>{var i=e.requestRouter.endpointFor("api",t);ty(e,i,r)};var tx="$people_distinct_id",tw="$device_id",tE="__alias",tA="__timers",tS="$autocapture_disabled_server_side",t$="$heatmaps_enabled_server_side",tT="$exception_capture_enabled_server_side",tk="$error_tracking_suppression_rules",tP="$error_tracking_capture_extension_exceptions",tC="$web_vitals_enabled_server_side",tR="$dead_clicks_enabled_server_side",tI="$product_tours_enabled_server_side",tV="$web_vitals_allowed_metrics",tO="$session_recording_remote_config",tL="$replay_override_sampling",tN="$replay_override_linked_flag",tM="$replay_override_url_trigger",tD="$replay_override_event_trigger",tF="$sesid",tj="$session_is_sampled",tU="$enabled_feature_flags",tB="$active_feature_flags",tG="$early_access_features",tz="$feature_flag_details",tH="$feature_flag_payloads",tW="$feature_flag_request_id",tq="$override_feature_flags",tX="$override_feature_flag_payloads",tK="$stored_person_properties",tY="$stored_group_properties",tQ="$surveys",tZ="$surveys_activated",tJ="ph_product_tours",t0="$flag_call_reported",t1="$flag_call_reported_session_id",t2="$feature_flag_errors",t3="$feature_flag_evaluated_at",t5="$user_state",t4="$client_session_props",t6="$capture_rate_limit",t7="$initial_campaign_params",t9="$initial_referrer_info",t8="$initial_person_info",re="$epp",rt="__POSTHOG_TOOLBAR__",rr="$posthog_cookieless",ri="$sdk_debug_extensions_init_method",rn="$sdk_debug_extensions_init_time_ms",rs="$sdk_debug_recording_script_not_loaded",ra="PostHog loadExternalDependency extension not found.",ro="on_reject",rl="always",ru="anonymous",rc="identified",rd="identified_only",rh="visibilitychange",rp="beforeunload",rf="$pageview",rv="$pageleave",rg="$identify",rm="$groupidentify";function r_(e,t){C(e)&&e.forEach(t)}function rb(e,t){if(!D(e))if(C(e))e.forEach(t);else if(e instanceof FormData)e.forEach((e,r)=>t(e,r));else for(var r in e)k.call(e,r)&&t(e[r],r)}var ry=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;t>i;i++)r[i-1]=arguments[i];for(var n of r)for(var s in n)void 0!==n[s]&&(e[s]=n[s]);return e};function rx(e){for(var t=Object.keys(e),r=t.length,i=Array(r);r--;)i[r]=[t[r],e[t[r]]];return i}var rw=function(e){try{return e()}catch(e){return}},rE=function(e){return function(){try{for(var t=arguments.length,r=Array(t),i=0;t>i;i++)r[i]=arguments[i];return e.apply(this,r)}catch(e){tm.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),tm.critical(e)}}},rA=function(e){var t={};return rb(e,function(e,r){(L(e)&&e.length>0||F(e))&&(t[r]=e)}),t},rS=["herokuapp.com","vercel.app","netlify.app"];
16function r$(e,t,r,i){var{capture:n=!1,passive:s=!0}=null!=i?i:{};null==e||e.addEventListener(t,r,{capture:n,passive:s})}function rT(e){return"ph_toolbar_internal"===e.name}Math.trunc||(Math.trunc=function(e){return 0>e?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return F(e)&&isFinite(e)&&Math.floor(e)===e});class rk{constructor(e){if(this.bytes=e,16!==e.length)throw TypeError("not 128-bit length")}static fromFieldsV7(e,t,r,i){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(r)||!Number.isInteger(i)||0>e||0>t||0>r||0>i||e>0xffffffffffff||t>4095||r>0x3fffffff||i>0xffffffff)throw RangeError("invalid field value");var n=new Uint8Array(16);return n[0]=e/0x10000000000,n[1]=e/0x100000000,n[2]=e/0x1000000,n[3]=e/65536,n[4]=e/256,n[5]=e,n[6]=112|t>>>8,n[7]=t,n[8]=128|r>>>24,n[9]=r>>>16,n[10]=r>>>8,n[11]=r,n[12]=i>>>24,n[13]=i>>>16,n[14]=i>>>8,n[15]=i,new rk(n)}toString(){for(var e="",t=0;this.bytes.length>t;t++)e=e+(this.bytes[t]>>>4).toString(16)+(15&this.bytes[t]).toString(16),3!==t&&5!==t&&7!==t&&9!==t||(e+="-");if(36!==e.length)throw Error("Invalid UUIDv7 was generated");return e}clone(){return new rk(this.bytes.slice(0))}equals(e){return 0===this.compareTo(e)}compareTo(e){for(var t=0;16>t;t++){var r=this.bytes[t]-e.bytes[t];if(0!==r)return Math.sign(r)}return 0}}class rP{constructor(){this.I=0,this.S=0,this.k=new rI}generate(){var e=this.generateOrAbort();if(O(e)){this.I=0;var t=this.generateOrAbort();if(O(t))throw Error("Could not generate UUID after timestamp reset");return t}return e}generateOrAbort(){var e=Date.now();if(e>this.I)this.I=e,this.A();else{if(this.I>=e+1e4)return;this.S++,this.S>0x3ffffffffff&&(this.I++,this.A())}return rk.fromFieldsV7(this.I,Math.trunc(this.S/0x40000000),0x3fffffff&this.S,this.k.nextUint32())}A(){this.S=1024*this.k.nextUint32()+(1023&this.k.nextUint32())}}var rC,rR=e=>{if("undefined"!=typeof UUIDV7_DENY_WEAK_RNG&&UUIDV7_DENY_WEAK_RNG)throw Error("no cryptographically strong RNG available");for(var t=0;e.length>t;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};i&&!O(i.crypto)&&crypto.getRandomValues&&(rR=e=>crypto.getRandomValues(e));class rI{constructor(){this.T=new Uint32Array(8),this.N=1/0}nextUint32(){return this.T.length>this.N||(rR(this.T),this.N=0),this.T[this.N++]}}var rV=()=>rO().toString(),rO=()=>(rC||(rC=new rP)).generate(),rL="",rN=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,rM={R:()=>!!a,B(e){tm.error("cookieStore error: "+e)},O(e){if(a){try{for(var t=e+"=",r=a.cookie.split(";").filter(e=>e.length),i=0;r.length>i;i++){for(var n=r[i];" "==n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(t))return decodeURIComponent(n.substring(t.length,n.length))}}catch(e){}return null}},Z(e){var t;try{t=JSON.parse(rM.O(e))||{}}catch(e){}return t},M(e,t,r,i,n){if(a)try{var s="",o="",l=function(e,t){if(t){var r=function(e,t){if(void 0===t&&(t=a),rL)return rL;if(!t||["localhost","127.0.0.1"].includes(e))return"";for(var r=e.split("."),i=Math.min(r.length,8),n="dmn_chk_"+rV();!rL&&i--;){var s=r.slice(i).join("."),o=n+"=1;domain=."+s+";path=/";t.cookie=o+";max-age=3",t.cookie.includes(n)&&(t.cookie=o+";max-age=0",rL=s)}return rL}(e);if(!r){var i,n=(i=e.match(rN))?i[0]:"";n!==r&&tm.info("Warning: cookie subdomain discovery mismatch",n,r),r=n}return r?"; domain=."+r:""}return""}(a.location.hostname,i);if(r){var u=new Date;u.setTime(u.getTime()+864e5*r),s="; expires="+u.toUTCString()}n&&(o="; secure");var c=e+"="+encodeURIComponent(JSON.stringify(t))+s+"; SameSite=Lax; path=/"+l+o;return c.length>3686.4&&tm.warn("cookieStore warning: large cookie, len="+c.length),a.cookie=c,c}catch(e){return}},F(e,t){if(null!=a&&a.cookie)try{rM.M(e,"",-1,t)}catch(e){return}}},rD=null,rF={R(){if(!M(rD))return rD;var e=!0;if(O(i))e=!1;else try{var t="__mplssupport__";rF.M(t,"xyz"),'"xyz"'!==rF.O(t)&&(e=!1),rF.F(t)}catch(t){e=!1}return e||tm.error("localStorage unsupported; falling back to cookie store"),rD=e,e},B(e){tm.error("localStorage error: "+e)},O(e){try{return null==i?void 0:i.localStorage.getItem(e)}catch(e){rF.B(e)}return null},Z(e){try{return JSON.parse(rF.O(e))||{}}catch(e){}return null},M(e,t){try{null==i||i.localStorage.setItem(e,JSON.stringify(t))}catch(e){rF.B(e)}},F(e){try{null==i||i.localStorage.removeItem(e)}catch(e){rF.B(e)}}},rj=[tw,"distinct_id",tF,tj,re,t8,t5],rU={},rB={R:()=>!0,B(e){tm.error("memoryStorage error: "+e)},O:e=>rU[e]||null,Z:e=>rU[e]||null,M(e,t){rU[e]=t},F(e){delete rU[e]}},rG=null,rz={R(){if(!M(rG))return rG;if(rG=!0,O(i))rG=!1;else try{var e="__support__";rz.M(e,"xyz"),'"xyz"'!==rz.O(e)&&(rG=!1),rz.F(e)}catch(e){rG=!1}return rG},B(e){tm.error("sessionStorage error: ",e)},O(e){try{return null==i?void 0:i.sessionStorage.getItem(e)}catch(e){rz.B(e)}return null},Z(e){try{return JSON.parse(rz.O(e))||null}catch(e){}return null},M(e,t){try{null==i||i.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){rz.B(e)}},F(e){try{null==i||i.sessionStorage.removeItem(e)}catch(e){rz.B(e)}}};class rH{constructor(e){this._instance=e}get Bt(){return this._instance.config}get consent(){return this.rr()?0:this.ir}isOptedOut(){return this.Bt.cookieless_mode===rl||this.isRejected()||-1===this.consent&&this.Bt.cookieless_mode===ro}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return 0===this.consent}isRejected(){return 0===this.consent||-1===this.consent&&this.Bt.opt_out_capturing_by_default}optInOut(e){this.nr.M(this.sr,+!!e,this.Bt.cookie_expiration,this.Bt.cross_subdomain_cookie,this.Bt.secure_cookie)}reset(){this.nr.F(this.sr,this.Bt.cross_subdomain_cookie)}get sr(){var{token:e,opt_out_capturing_cookie_prefix:t,consent_persistence_name:r}=this._instance.config;return r||(t?t+e:"__ph_opt_in_out_"+e)}get ir(){var e=this.nr.O(this.sr);return q(e)?1:A(X,e)?0:-1}get nr(){var e=this.Bt.opt_out_capturing_persistence_type,t="localStorage"===e?rF:rM;if(!this.ar||this.ar!==t){this.ar=t;var r="localStorage"===e?rM:rF;r.O(this.sr)&&(this.ar.O(this.sr)||this.optInOut(q(r.O(this.sr))),r.F(this.sr,this.Bt.cross_subdomain_cookie))}return this.ar}rr(){return!!this.Bt.respect_dnt&&[null==s?void 0:s.doNotTrack,null==s?void 0:s.msDoNotTrack,p.doNotTrack].some(e=>q(e))}}var rW=t_("[Dead Clicks]"),rq=()=>!0,rX=e=>{var t,r=!(null==(t=e.instance.persistence)||!t.get_property(tR)),i=e.instance.config.capture_dead_clicks;return U(i)?i:!!I(i)||r};class rK{get lazyLoadedDeadClicksAutocapture(){return this.lr}constructor(e,t,r){this.instance=e,this.isEnabled=t,this.onCapture=r,this.startIfEnabledOrStop()}onRemoteConfig(e){"captureDeadClicks"in e&&(this.instance.persistence&&this.instance.persistence.register({[tR]:e.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.ur(()=>{this.hr()}):this.stop()}ur(e){var t,r;null!=(t=p.__PosthogExtensions__)&&t.initDeadClicksAutocapture&&e(),null==(r=p.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this.instance,"dead-clicks-autocapture",t=>{t?rW.error("failed to load script",t):e()})}hr(){var e;if(a){if(!this.lr&&null!=(e=p.__PosthogExtensions__)&&e.initDeadClicksAutocapture){var t=I(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};t.__onCapture=this.onCapture,this.lr=p.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,t),this.lr.start(a),rW.info("starting...")}}else rW.error("`document` not found. Cannot start.")}stop(){this.lr&&(this.lr.stop(),this.lr=void 0,rW.info("stopping..."))}}var rY=t_("[SegmentIntegration]"),rQ="posthog-js";function rZ(e,t){var{organization:r,projectId:i,prefix:n,severityAllowList:s=["error"],sendExceptionsToPostHog:a=!0}=void 0===t?{}:t;return t=>{if("*"!==s&&!s.includes(t.level)||!e.__loaded)return t;t.tags||(t.tags={});var o=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/pers
16on/"+e.get_distinct_id());t.tags["PostHog Person URL"]=o,e.sessionRecordingStarted()&&(t.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var l,u,c,d,h,p,f=(null==(l=t.exception)?void 0:l.values)||[],v=f.map(e=>_({},e,{stacktrace:e.stacktrace?_({},e.stacktrace,{type:"raw",frames:(e.stacktrace.frames||[]).map(e=>_({},e,{platform:"web:javascript"}))}):void 0})),g={$exception_message:(null==(u=f[0])?void 0:u.value)||t.message,$exception_type:null==(c=f[0])?void 0:c.type,$exception_level:t.level,$exception_list:v,$sentry_event_id:t.event_id,$sentry_exception:t.exception,$sentry_exception_message:(null==(d=f[0])?void 0:d.value)||t.message,$sentry_exception_type:null==(h=f[0])?void 0:h.type,$sentry_tags:t.tags};return r&&i&&(g.$sentry_url=(n||"https://sentry.io/organizations/")+r+"/issues/?project="+i+"&query="+t.event_id),a&&(null==(p=e.exceptions)||p.sendExceptionEvent(g)),t}}class rJ{constructor(e,t,r,i,n,s){this.name=rQ,this.setupOnce=function(a){a(rZ(e,{organization:t,projectId:r,prefix:i,severityAllowList:n,sendExceptionsToPostHog:null==s||s}))}}}class r0{constructor(e){this.cr=(e,t,r)=>{r&&(r.noSessionId||r.activityTimeout||r.sessionPastMaximumLength)&&(tm.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:e,changeReason:r}),this.dr=void 0,this._instance.scrollManager.resetContext())},this._instance=e,this.vr()}vr(){var e;this.pr=null==(e=this._instance.sessionManager)?void 0:e.onSessionId(this.cr)}destroy(){var e;null==(e=this.pr)||e.call(this),this.pr=void 0}doPageView(e,t){var r,n=this.gr(e,t);return this.dr={pathname:null!=(r=null==i?void 0:i.location.pathname)?r:"",pageViewId:t,timestamp:e},this._instance.scrollManager.resetContext(),n}doPageLeave(e){var t;return this.gr(e,null==(t=this.dr)?void 0:t.pageViewId)}doEvent(){var e;return{$pageview_id:null==(e=this.dr)?void 0:e.pageViewId}}gr(e,t){var r=this.dr;if(!r)return{$pageview_id:t};var i={$pageview_id:t,$prev_pageview_id:r.pageViewId},n=this._instance.scrollManager.getContext();if(n&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:s,lastScrollY:a,maxScrollY:o,maxContentHeight:l,lastContentY:u,maxContentY:c}=n;if(!(O(s)||O(a)||O(o)||O(l)||O(u)||O(c))){s=Math.ceil(s),a=Math.ceil(a),o=Math.ceil(o),l=Math.ceil(l),u=Math.ceil(u),c=Math.ceil(c);var d=s>1?K(a/s,0,1,tm):1,h=s>1?K(o/s,0,1,tm):1,p=l>1?K(u/l,0,1,tm):1,f=l>1?K(c/l,0,1,tm):1;i=ry(i,{$prev_pageview_last_scroll:a,$prev_pageview_last_scroll_percentage:d,$prev_pageview_max_scroll:o,$prev_pageview_max_scroll_percentage:h,$prev_pageview_last_content:u,$prev_pageview_last_content_percentage:p,$prev_pageview_max_content:c,$prev_pageview_max_content_percentage:f})}}return r.pathname&&(i.$prev_pageview_pathname=r.pathname),r.timestamp&&(i.$prev_pageview_duration=(e.getTime()-r.timestamp.getTime())/1e3),i}}var r1={[tx]:{exposure:"hidden"},[tE]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[tA]:{exposure:"hidden"},[tS]:{exposure:"event"},[t$]:{exposure:"hidden"},[tT]:{exposure:"event"},[tk]:{exposure:"hidden"},[tP]:{exposure:"event"},[tC]:{exposure:"event"},[tR]:{exposure:"event"},[tI]:{exposure:"hidden"},[tV]:{exposure:"event"},[tO]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[tF]:{exposure:"hidden"},[tj]:{exposure:"event"},$session_past_minimum_duration:{exposure:"event"},$session_recording_url_trigger_activated_session:{exposure:"event"},$session_recording_event_trigger_activated_session:{exposure:"event"},$debug_first_full_snapshot_timestamp:{exposure:"event"},[tU]:{exposure:"derived",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!I(e))return{};for(var t={},r=Object.keys(e),i=0;r.length>i;i++)t["$feature/"+r[i]]=e[r[i]];return t}},[tB]:{exposure:"event"},[tG]:{exposure:"hidden"},[tz]:{exposure:"hidden"},[tH]:{exposure:"event"},[tW]:{exposure:"event"},[tq]:{exposure:"event"},[tX]:{exposure:"hidden"},[tK]:{exposure:"hidden"},[tY]:{exposure:"hidden"},[tQ]:{exposure:"hidden"},[tZ]:{exposure:"event"},[tJ]:{exposure:"hidden"},$product_tours_activated:{exposure:"hidden"},$conversations_widget_session_id:{exposure:"event"},$conversations_ticket_id:{exposure:"event"},$conversations_widget_state:{exposure:"event"}
16,$conversations_user_traits:{exposure:"event"},[t0]:{exposure:"hidden"},[t1]:{exposure:"hidden"},[t2]:{exposure:"hidden"},[t3]:{exposure:"hidden"},[t5]:{exposure:"hidden"},[t4]:{exposure:"hidden"},[t6]:{exposure:"hidden"},[t7]:{exposure:"hidden"},[t9]:{exposure:"hidden"},[t8]:{exposure:"hidden"},[re]:{exposure:"hidden"},[tL]:{exposure:"event"},[tN]:{exposure:"event"},[tM]:{exposure:"event"},[tD]:{exposure:"event"},[ri]:{exposure:"event"},[rn]:{exposure:"event"},[rs]:{exposure:"event"},$sdk_debug_replay_event_trigger_status:{exposure:"event"},$sdk_debug_replay_linked_flag_trigger_status:{exposure:"event"},$sdk_debug_replay_matched_recording_trigger_groups:{exposure:"event"},$sdk_debug_replay_remote_trigger_matching_config:{exposure:"event"},$sdk_debug_replay_trigger_groups_count:{exposure:"event"},$sdk_debug_replay_url_trigger_status:{exposure:"event"},$session_recording_start_reason:{exposure:"event"}},r2=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],r3=e=>{var t=null==a?void 0:a.createElement("a");return O(t)?null:(t.href=e,t)},r5=function(e,t){for(var r,i=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),n=0;i.length>n;n++){var s=i[n].split("=");if(s[0]===t){r=s;break}}if(!C(r)||2>r.length)return"";var a=r[1];try{a=decodeURIComponent(a)}catch(e){tm.error("Skipping decoding for malformed query param: "+a)}return a.replace(/\+/g," ")},r4=function(e,t,r){if(!e||!t||!t.length)return e;for(var i=e.split("#"),n=i[1],s=(i[0]||"").split("?"),a=s[1],o=s[0],l=(a||"").split("&"),u=[],c=0;l.length>c;c++){var d=l[c].split("=");C(d)&&(t.includes(d[0])?u.push(d[0]+"="+r):u.push(l[c]))}var h=o;return null!=a&&(h+="?"+u.join("&")),null!=n&&(h+="#"+n),h},r6=function(e,t){var r=e.match(RegExp(t+"=([^&]*)"));return r?r[1]:null},r7="https?://(.*)",r9=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],r8=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...r9],ie="<masked>",it=["li_fat_id"];function ir(e,t,r){if(!a)return{};var i,n=t?[...r9,...r||[]]:[],s=ii(r4(a.URL,n,ie),e);return ry((i={},rb(it,function(e){var t=rM.O(e);i[e]=t||null}),i),s)}function ii(e,t){var r=r8.concat(t||[]),i={};return rb(r,function(t){var r=r5(e,t);i[t]=r||null}),i}function is(e){var t=e?0===e.search(r7+"google.([^/?]*)")?"google":0===e.search(r7+"bing.com")?"bing":0===e.search(r7+"yahoo.com")?"yahoo":0===e.search(r7+"duckduckgo.com")?"duckduckgo":null:null,r={};if(!M(t)){r.$search_engine=t;var i=a?r5(a.referrer,"yahoo"!=t?"q":"p"):"";i.length&&(r.ph_keyword=i)}return r}function ia(){return navigator.language||navigator.userLanguage}var io="$direct";function il(){return(null==a?void 0:a.referrer)||io}function iu(e,t){var r=e?[...r9,...t||[]]:[],i=null==o?void 0:o.href.substring(0,1e3);return{r:il().substring(0,1e3),u:i?r4(i,r,ie):void 0}}function ic(e){var t,{r:r,u:i}=e,n={$referrer:r,$referring_domain:null==r?void 0:r==io?io:null==(t=r3(r))?void 0:t.host};if(i){n.$current_url=i;var s=r3(i);n.$host=null==s?void 0:s.host,n.$pathname=null==s?void 0:s.pathname,ry(n,ii(i))}return r&&ry(n,is(r)),n}function id(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return}}var ih=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class ip{constructor(e,t){this.Bt=e,this.props={},this.mr=!1,this.yr=(e=>{var t="";return e.token&&(t=e.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),e.persistence_name?"ph_"+e.persistence_name:"ph_"+t+"_posthog"})(e),this.nr=this.br(e),this.load(),e.debug&&tm.info("Persistence loaded",e.persistence,_({},this.props)),this.update_config(e,e,t),this.save()}isDisabled(){return!!this._r}br(e){-1===ih.indexOf(e.persistence.toLowerCase())&&(tm.critical("Unknown persistence type "+e.persistence+"; falling back to localStorage+cookie"),e.persistence="localStorage+cookie");var t,r,n=(void 0===(t=e.cookie_persisted_properties||[])&&(t=[]),r=[...rj,...t],_({},rF,{Z(e){try{var t={};try{t=rM.Z(e)||{}}catch(e){}var r=ry(t,JSON.parse(rF.O(e)||"{}"));return rF.M(e,r),r}catch(e){}return null},M(e,t,i,n,s,a){try{rF.M(e,t,void 0,void 0,a);var o={};
16r.forEach(e=>{t[e]&&(o[e]=t[e])}),Object.keys(o).length&&rM.M(e,o,i,n,s,a)}catch(e){rF.B(e)}},F(e,t){try{null==i||i.localStorage.removeItem(e),rM.F(e,t)}catch(e){rF.B(e)}}})),s=e.persistence.toLowerCase();return"localstorage"===s&&rF.R()?rF:"localstorage+cookie"===s&&n.R()?n:"sessionstorage"===s&&rz.R()?rz:"memory"===s?rB:"cookie"===s?rM:n.R()?n:rM}wr(e){var t=null!=e?e:this.Bt.feature_flag_cache_ttl_ms;if(!t||0>=t)return!1;var r=this.props[t3];return!r||"number"!=typeof r||Date.now()-r>t}properties(){var e={};return rb(this.props,(t,r)=>{var i=(e=>{var t=r1[e];if(t)return t;for(var[r,i]of r2)if(0===e.indexOf(r))return i})(r);if("derived"===(null==i?void 0:i.exposure)){if(null!=i.shouldSkipFromEventProperties&&i.shouldSkipFromEventProperties(t,r===tU?()=>this.wr():()=>!1))return;i.transformToEventProperties&&ry(e,i.transformToEventProperties(t))}else i&&"event"!==i.exposure||(e[r]=t)}),e}load(){if(!this._r){var e=this.nr.Z(this.yr);e&&(this.props=ry({},e))}}save(){this._r||this.nr.M(this.yr,this.props,this.Ir,this.Cr,this.Sr,this.Bt.debug)}remove(){this.nr.F(this.yr,!1),this.nr.F(this.yr,!0)}clear(){this.remove(),this.props={}}register_once(e,t,r){if(I(e)){O(t)&&(t="None"),this.Ir=O(r)?this.kr:r;var i=!1;if(rb(e,(e,r)=>{this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.Tr(r,e),i=!0)}),i)return this.save(),!0}return!1}register(e,t){if(I(e)){this.Ir=O(t)?this.kr:t;var r=!1;if(rb(e,(t,i)=>{e.hasOwnProperty(i)&&this.props[i]!==t&&(this.Tr(i,t),r=!0)}),r)return this.save(),!0}return!1}unregister(e){e in this.props&&(this.Ar(e),this.save())}update_campaign_params(){if(!this.mr){var e=ir(this.Bt.custom_campaign_params,this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties);V(rA(e))||this.register(e),this.mr=!0}}update_search_keyword(){var e;this.register((e=null==a?void 0:a.referrer)?is(e):{})}update_referrer_info(){var e;this.register_once({$referrer:il(),$referring_domain:null!=a&&a.referrer&&(null==(e=r3(a.referrer))?void 0:e.host)||io},void 0)}set_initial_person_info(){this.props[t7]||this.props[t9]||this.register_once({[t8]:iu(this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties)},void 0)}get_initial_props(){var e={};rb([t9,t7],t=>{var r=this.props[t];r&&rb(r,function(t,r){e["$initial_"+$(r)]=t})});var t,r,i=this.props[t8];return i&&ry(e,(t=ic(i),r={},rb(t,function(e,t){r["$initial_"+$(t)]=e}),r)),e}safe_merge(e){return rb(this.props,function(t,r){r in e||(e[r]=t)}),e}update_config(e,t,r){if(this.kr=this.Ir=e.cookie_expiration,this.set_disabled(e.disable_persistence||!!r),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie),e.persistence!==t.persistence||!((e,t)=>{if(e.length!==t.length)return!1;var r=[...e].sort(),i=[...t].sort();return r.every((e,t)=>e===i[t])})(e.cookie_persisted_properties||[],t.cookie_persisted_properties||[])){var i=this.br(e),n=this.props;this.clear(),this.nr=i,this.props=n,this.save()}}set_disabled(e){this._r=e,this._r?this.remove():this.save()}set_cross_subdomain(e){e!==this.Cr&&(this.Cr=e,this.remove(),this.save())}set_secure(e){e!==this.Sr&&(this.Sr=e,this.remove(),this.save())}set_event_timer(e,t){var r=this.props[tA]||{};r[e]=t,this.Tr(tA,r),this.save()}remove_event_timer(e){var t=this.props[tA]||{},r=t[e];return O(r)||(delete t[e],this.Tr(tA,t),this.save()),r}get_property(e){return this.props[e]}set_property(e,t){this.Tr(e,t),this.save()}Tr(e,t){this.props[e]=t}Ar(e){delete this.props[e]}}var iv={Activation:"events",Cancellation:"cancelEvents"},ig={Popover:"popover",API:"api",Widget:"widget"},im={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},i_={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},ib={Popover:"popover",Inline:"inline"},iy={SHOWN:"product tour shown"},ix={TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},iw=t_("[RateLimiter]");class iE{constructor(e){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=e=>{var t=e.text;
16if(t&&t.length)try{(JSON.parse(t).quota_limited||[]).forEach(e=>{iw.info((e||"events")+" is quota limited."),this.serverLimits[e]=(new Date).getTime()+6e4})}catch(e){return void iw.warn('could not rate limit - continuing. Error: "'+(null==e?void 0:e.message)+'"',{text:t})}},this.instance=e,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var e;return(null==(e=this.instance.config.rate_limiting)?void 0:e.events_per_second)||10}get captureEventsBurstLimit(){var e;return Math.max((null==(e=this.instance.config.rate_limiting)?void 0:e.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(e){void 0===e&&(e=!1);var t,r,i,{captureEventsBurstLimit:n,captureEventsPerSecond:s}=this,a=(new Date).getTime(),o=null!=(t=null==(r=this.instance.persistence)?void 0:r.get_property(t6))?t:{tokens:n,last:a};o.tokens+=(a-o.last)/1e3*s,o.last=a,o.tokens>n&&(o.tokens=n);var l=1>o.tokens;return l||e||(o.tokens=Math.max(0,o.tokens-1)),!l||this.lastEventRateLimited||e||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+s+" events per second and "+n+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=l,null==(i=this.instance.persistence)||i.set_property(t6,o),{isRateLimited:l,remainingTokens:o.tokens}}isServerRateLimited(e){var t=this.serverLimits[e||"events"]||!1;return!1!==t&&(new Date).getTime()<t}}var iA=t_("[RemoteConfig]");class iS{constructor(e){this._instance=e}get remoteConfig(){var e;return null==(e=p._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.config}Er(e){var t,r;null!=(t=p.__PosthogExtensions__)&&t.loadExternalDependency?null==(r=p.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,"remote-config",()=>e(this.remoteConfig)):e()}Rr(e){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(t){e(t.json)}})}load(){try{if(this.remoteConfig)return iA.info("Using preloaded remote config",this.remoteConfig),this.Nr(this.remoteConfig),void this.Mr();if(this._instance.Fr())return void iA.warn("Remote config is disabled. Falling back to local config.");this.Er(e=>{if(!e)return iA.info("No config found after loading remote JS config. Falling back to JSON."),void this.Rr(e=>{this.Nr(e),this.Mr()});this.Nr(e),this.Mr()})}catch(e){iA.error("Error loading remote config",e)}}stop(){this.Or&&(clearInterval(this.Or),this.Or=void 0)}refresh(){this._instance.Fr()||"hidden"===(null==a?void 0:a.visibilityState)||this._instance.reloadFeatureFlags()}Mr(){var e;if(!this.Or){var t=null!=(e=this._instance.config.remote_config_refresh_interval_ms)?e:3e5;0!==t&&(this.Or=setInterval(()=>{this.refresh()},t))}}Nr(e){var t;e||iA.error("Failed to fetch remote config from PostHog."),this._instance.Nr(null!=e?e:{}),!1!==(null==e?void 0:e.hasFeatureFlags)&&(this._instance.config.advanced_disable_feature_flags_on_first_load||null==(t=this._instance.featureFlags)||t.ensureFlagsLoaded())}}var i$={GZipJS:"gzip-js",Base64:"base64"},iT=Uint8Array,ik=Uint16Array,iP=Uint32Array,iC=new iT([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,0,0,0]),iR=new iT([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,0,0]),iI=new iT([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),iV=function(e,t){for(var r=new ik(31),i=0;31>i;++i)r[i]=t+=1<<e[i-1];var n=new iP(r[30]);for(i=1;30>i;++i)for(var s=r[i];r[i+1]>s;++s)n[s]=s-r[i]<<5|i;return[r,n]},iO=iV(iC,2),iL=iO[1];iO[0][28]=258,iL[258]=28;for(var iN=iV(iR,0)[1],iM=new ik(32768),iD=0;32768>iD;++iD){var iF=(43690&iD)>>>1|(21845&iD)<<1;iM[iD]=((65280&(iF=(61680&(iF=(52428&iF)>>>2|(13107&iF)<<2))>>>4|(3855&iF)<<4))>>>8|(255&iF)<<8)>>>1}var ij=function(e,t,r){for(var i=e.length,n=0,s=new ik(t);i>n;++n)++s[e[n]-1];var a,o=new ik(t);for(n=0;t>n;++n)o[n]=o[n-1]+s[n-1]<<1;if(r){a=new ik(1<<t);var l=15-t;for(n=0;i>n;++n)if(e[n])for(var u=n<<4|e[n],c=t-e[n],d=o[e[n]-1]++<<c,h=d|(1<<c)-1;h>=d;++d)a[iM[d]>>>l]=u}else for(a=new ik(i),n=0;i>n;++n)a[n]=iM[o[e[n]-1]++]>>>15-e[n];return a},iU=new iT(288);for(iD=0;144>iD;++iD)iU[iD]=8;for(iD=144;256>iD;++iD)iU[iD]=9;for(iD=256;280>iD;++iD)iU[iD]=7;for(iD=280;288>iD;++iD)iU[iD]=8;var iB=new iT(32);for(iD=0;32>iD;++iD)iB[iD]=5;var iG=ij(iU,9,0),iz=ij(iB,5,0),iH=function(e){return(e/8|0)+(7&e&&1)},iW=function(e,t,r){(null==r||r>e.length)&&(r=e.length);var i=new(e instanceof ik?ik:e instanceof iP?iP:iT)(r-t);return i.set(e.subarray(t,r)),i},iq=function(e,t,r){var i=t/8|0;e[i]|=r<<=7&t,e[i+1]|=r>>>8},iX=function(e,t,r){var i=t/8|0;e[i]|=r<<=7&t,e[i+1]|=r>>>8,e[i+2]|=r>>>16},iK=function(e,t){for(var r=[],i=0;e.length>i;++i)e[i]&&r.push({s:i,f:e[i]});var n=r.length,s=r.slice();if(!n)return[new iT(0),0];if(1==n){var a=new iT(r[0].s+1);return a[r[0].s]=1,[a,1]}r.sort(function(e,t){return e.f-t.f}),r.push({s:-1,f:25001});var o=r[0],l=r[1],u=0,c=1,d=2;for(r[0]={s:-1,f:o.f+l.f,l:o,r:l};c!=n-1;)o=r[r[d].f>r[u].f?u++:d++],l=r[u!=c&&r[d].f>r[u].f?u++:d++],r[c++]={s:-1,f:o.f+l.f,l:o,r:l};var h=s[0].s;for(i=1;n>i;++i)s[i].s>h&&(h=s[i].s);var p=new ik(h+1),f=iY(r[c-1],p,0);if(f>t){i=0;var v=0,g=f-t,m=1<<g;for(s.sort(function(e,t){return p[t.s]-p[e.s]||e.f-t.f});n>i;++i){var _=s[i].s;if(t>=p[_])break;v+=m-(1<<f-p[_]),p[_]=t}for(v>>>=g;v>0;){var b=s[i].s;t>p[b]?v-=1<<t-p[b]++-1:++i}for(;i>=0&&v;--i){var y=s[i].s;p[y]==t&&(--p[y],++v)}f=t}return[new iT(p),f]},iY=function(e,t,r){return -1==e.s?Math.max(iY(e.l,t,r+1),iY(e.r,t,r+1)):t[e.s]=r},iQ=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new ik(++t),i=0,n=e[0],s=1,a=function(e){r[i++]=e},o=1;t>=o;++o)if(e[o]==n&&o!=t)++s;else{if(!n&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(n),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}for(;s--;)a(n);s=1,n=e[o]}return[r.subarray(0,i),t]},iZ=function(e,t){for(var r=0,i=0;t.length>i;++i)r+=e[i]*t[i];return r},iJ=function(e,t,r){var i=r.length,n=iH(t+2);e[n]=255&i,e[n+1]=i>>>8,e[n+2]=255^e[n],e[n+3]=255^e[n+1];for(var s=0;i>s;++s)e[n+s+4]=r[s];return 8*(n+4+i)},i0=function(e,t,r,i,n,s,a,o,l,u,c){iq(t,c++,r),++n[256];
16for(var d=iK(n,15),h=d[0],p=d[1],f=iK(s,15),v=f[0],g=f[1],m=iQ(h),_=m[0],b=m[1],y=iQ(v),x=y[0],w=y[1],E=new ik(19),A=0;_.length>A;++A)E[31&_[A]]++;for(A=0;x.length>A;++A)E[31&x[A]]++;for(var S=iK(E,7),$=S[0],T=S[1],k=19;k>4&&!$[iI[k-1]];--k);var P,C,R,I,V=u+5<<3,O=iZ(n,iU)+iZ(s,iB)+a,L=iZ(n,h)+iZ(s,v)+a+14+3*k+iZ(E,$)+(2*E[16]+3*E[17]+7*E[18]);if(O>=V&&L>=V)return iJ(t,c,e.subarray(l,l+u));if(iq(t,c,1+(O>L)),c+=2,O>L){P=ij(h,p,0),C=h,R=ij(v,g,0),I=v;var N=ij($,T,0);for(iq(t,c,b-257),iq(t,c+5,w-1),iq(t,c+10,k-4),c+=14,A=0;k>A;++A)iq(t,c+3*A,$[iI[A]]);c+=3*k;for(var M=[_,x],D=0;2>D;++D){var F=M[D];for(A=0;F.length>A;++A)iq(t,c,N[j=31&F[A]]),c+=$[j],j>15&&(iq(t,c,F[A]>>>5&127),c+=F[A]>>>12)}}else P=iG,C=iU,R=iz,I=iB;for(A=0;o>A;++A)if(i[A]>255){iX(t,c,P[257+(j=i[A]>>>18&31)]),c+=C[j+257],j>7&&(iq(t,c,i[A]>>>23&31),c+=iC[j]);var j,U=31&i[A];iX(t,c,R[U]),c+=I[U],U>3&&(iX(t,c,i[A]>>>5&8191),c+=iR[U])}else iX(t,c,P[i[A]]),c+=C[i[A]];return iX(t,c,P[256]),c+C[256]},i1=new iP([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),i2=function(){for(var e=new iP(256),t=0;256>t;++t){for(var r=t,i=9;--i;)r=(1&r&&0xedb88320)^r>>>1;e[t]=r}return e}(),i3=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},i5=!!u||!!l,i4="text/plain",i6=!1,i7=function(e,t,r){void 0===r&&(r=!0);var i,n,s,a,o,[l,u]=e.split("?"),c=_({},t),d=null!=(o=null==u?void 0:u.split("&").map(e=>{var t,[i,n]=e.split("="),s=r&&null!=(t=c[i])?t:n;return delete c[i],i+"="+s}))?o:[],h=(void 0===i&&(i="&"),a=[],rb(c,function(e,t){O(e)||O(t)||"undefined"===t||(n=encodeURIComponent(e instanceof File?e.name:e.toString()),s=encodeURIComponent(t),a[a.length]=s+"="+n)}),a.join(i));return h&&d.push(h),l+"?"+d.join("&")},i9=(e,t)=>JSON.stringify(e,(e,t)=>"bigint"==typeof t?t.toString():t,t),i8=e=>{if(e.tr)return e.tr;var{data:t,compression:r}=e;if(t){if(r===i$.GZipJS){var i=function(e,t){void 0===t&&(t={});var r=(n=0xffffffff,{p(e){for(var t=n,r=0;e.length>r;++r)t=i2[255&t^e[r]]^t>>>8;n=t},d:()=>0xffffffff^n}),i=e.length;r.p(e);var n,s,a,o,l=(o=10+((s=t).filename&&s.filename.length+1||0),function(e,t,r,i,n,s){var a=e.length,o=new iT(i+a+5*(1+Math.floor(a/7e3))+8),l=o.subarray(i,o.length-8),u=0;if(!t||8>a)for(var c=0;a>=c;c+=65535){var d=c+65535;a>d?u=iJ(l,u,e.subarray(c,d)):(l[c]=!0,u=iJ(l,u,e.subarray(c,a)))}else{for(var h=i1[t-1],p=h>>>13,f=8191&h,v=(1<<r)-1,g=new ik(32768),m=new ik(v+1),_=Math.ceil(r/3),b=2*_,y=function(t){return(e[t]^e[t+1]<<_^e[t+2]<<b)&v},x=new iP(25e3),w=new ik(288),E=new ik(32),A=0,S=0,$=(c=0,0),T=0,k=0;a>c;++c){var P=y(c),C=32767&c,R=m[P];if(g[C]=R,m[P]=C,c>=T){var I=a-c;if((A>7e3||$>24576)&&I>423){u=i0(e,l,0,x,w,E,S,$,k,c-k,u),$=A=S=0,k=c;for(var V=0;286>V;++V)w[V]=0;for(V=0;30>V;++V)E[V]=0}var O=2,L=0,N=f,M=C-R&32767;if(I>2&&P==y(c-M))for(var D=Math.min(p,I)-1,F=Math.min(32767,c),j=Math.min(258,I);F>=M&&--N&&C!=R;){if(e[c+O]==e[c+O-M]){for(var U=0;j>U&&e[c+U]==e[c+U-M];++U);if(U>O){if(O=U,L=M,U>D)break;var B=Math.min(M,U-2),G=0;for(V=0;B>V;++V){var z=c-M+V+32768&32767,H=z-g[z]+32768&32767;H>G&&(G=H,R=z)}}}M+=(C=R)-(R=g[C])+32768&32767}if(L){x[$++]=0x10000000|iL[O]<<18|iN[L];var W=31&iL[O],q=31&iN[L];S+=iC[W]+iR[q],++w[257+W],++E[q],T=c+O,++A}else x[$++]=e[c],++w[e[c]]}}u=i0(e,l,!0,x,w,E,S,$,k,c-k,u)}return iW(o,0,i+iH(u)+n)}(e,null==(a=t).level?6:a.level,null==a.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+a.mem,o,8)),u=l.length;return function(e,t){var r=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=2>t.level?4:2*(9==t.level),e[9]=3,0!=t.mtime&&i3(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),r){e[3]=8;for(var i=0;r.length>=i;++i)e[i+10]=r.charCodeAt(i)}}(l,t),i3(l,u-8,r.d()),i3(l,u-4,i),l}(function(e,t){var r=e.length;if("undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var i=new iT(e.length+(e.length>>>1)),n=0,s=function(e){i[n++]=e},a=0;r>a;++a){if(n+5>i.length){var o=new iT(n+8+(r-a<<1));o.set(i),i=o}var l=e.charCodeAt(a);128>l?s(l):(2048>l?s(192|l>>>6):(l>55295&&57344>l?(s(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++a))>>>18),s(128|l>>>12&63)):s(224|l>>>12),s(128|l>>>6&63)),s(128|63&l))}return iW(i,0,n)}(i9(t)),{mtime:0});return{contentType:i4,body:i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength),estimatedSize:i.byteLength}}if(r===i$.Base64){var n=(e=>"data="+encodeURIComponent("string"==typeof e?e:i9(e)))(function(e){return e?btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(e,t)=>
16String.fromCharCode(parseInt(t,16)))):e}(i9(t)));return{contentType:"application/x-www-form-urlencoded",body:n,estimatedSize:new Blob([n]).size}}var s=i9(t);return{contentType:"application/json",body:s,estimatedSize:new Blob([s]).size}}},ne=function(){var e=m(function*(e){var t=i9(e.data),r=yield function(e,t,r){return y.apply(this,arguments)}(t,v.DEBUG,{rethrow:!0});if(!r)return e;var i=yield r.arrayBuffer();return _({},e,{tr:{contentType:i4,body:i,estimatedSize:i.byteLength}})});return function(t){return e.apply(this,arguments)}}(),nt=(e,t)=>i7(e,{_:(new Date).getTime().toString(),ver:v.JS_SDK_VERSION,compression:t}),nr=[];l&&nr.push({transport:"fetch",method(e){var t,r,{contentType:i,body:n,estimatedSize:s}=null!=(t=i8(e))?t:{},a=new Headers;rb(e.headers,function(e,t){a.append(t,e)}),i&&a.append("Content-Type",i);var o=e.url,u=null;if(c){var d=new c;u={signal:d.signal,timeout:setTimeout(()=>d.abort(),e.timeout)}}l(o,_({method:(null==e?void 0:e.method)||"GET",headers:a,keepalive:"POST"===e.method&&52428.8>(s||0),body:n,signal:null==(r=u)?void 0:r.signal},e.fetchOptions)).then(t=>t.text().then(r=>{var i={statusCode:t.status,text:r};if(200===t.status)try{i.json=JSON.parse(r)}catch(e){tm.error(e)}null==e.callback||e.callback(i)})).catch(t=>{tm.error(t),null==e.callback||e.callback({statusCode:0,error:t})}).finally(()=>u?clearTimeout(u.timeout):null)}}),u&&nr.push({transport:"XHR",method(e){var t,r=new u;r.open(e.method||"GET",e.url,!0);var{contentType:i,body:n}=null!=(t=i8(e))?t:{};rb(e.headers,function(e,t){r.setRequestHeader(t,e)}),i&&r.setRequestHeader("Content-Type",i),e.timeout&&(r.timeout=e.timeout),e.disableXHRCredentials||(r.withCredentials=!0),r.onreadystatechange=()=>{if(4===r.readyState){var t={statusCode:r.status,text:r.responseText};if(200===r.status)try{t.json=JSON.parse(r.responseText)}catch(e){}null==e.callback||e.callback(t)}},r.send(n)}}),null!=s&&s.sendBeacon&&nr.push({transport:"sendBeacon",method(e){var t=i7(e.url,{beacon:"1"});try{var r,{contentType:i,body:n}=null!=(r=i8(e))?r:{};if(!n)return;var a=n instanceof Blob?n:new Blob([n],{type:i});s.sendBeacon(t,a)}catch(e){}}});
16class ni{constructor(e,t){this.Pr=!0,this.Lr=[],this.Dr=K((null==t?void 0:t.flush_interval_ms)||3e3,250,5e3,tm.createLogger("flush interval"),3e3),this.Br=e}enqueue(e){this.Lr.push(e),this.jr||this.$r()}unload(){this.qr();var e=Object.values(this.Lr.length>0?this.Zr():{});[...e.filter(e=>0===e.url.indexOf("/e")),...e.filter(e=>0!==e.url.indexOf("/e"))].map(e=>{this.Br(_({},e,{transport:"sendBeacon"}))})}enable(){this.Pr=!1,this.$r()}$r(){var e=this;this.Pr||(this.jr=setTimeout(()=>{if(this.qr(),this.Lr.length>0){var t=this.Zr();for(var r in t)!function(){var i=t[r],n=(new Date).getTime();i.data&&C(i.data)&&rb(i.data,e=>{e.offset=Math.abs(e.timestamp-n),delete e.timestamp}),e.Br(i)}()}},this.Dr))}qr(){clearTimeout(this.jr),this.jr=void 0}Zr(){var e={};return rb(this.Lr,t=>{var r,i=(t?t.batchKey:null)||t.url;O(e[i])&&(e[i]=_({},t,{data:[]})),null==(r=e[i].data)||r.push(t.data)}),this.Lr=[],e}}var nn=["retriesPerformedSoFar"];class ns{constructor(e){this.Hr=!1,this.Vr=3e3,this.Lr=[],this._instance=e,this.Lr=[],this.zr=!0,!O(i)&&"onLine"in i.navigator&&(this.zr=i.navigator.onLine,this.Ur=()=>{this.zr=!0,this.Yr()},this.Gr=()=>{this.zr=!1},r$(i,"online",this.Ur),r$(i,"offline",this.Gr))}get length(){return this.Lr.length}retriableRequest(e){var{retriesPerformedSoFar:t}=e,r=b(e,nn);j(t)&&(r.url=i7(r.url,{retry_count:t})),this._instance._send_request(_({},r,{callback:e=>{200===e.statusCode||e.statusCode>=400&&500>e.statusCode||(null!=t?t:0)>=10?null==r.callback||r.callback(e):this.Wr(_({retriesPerformedSoFar:t},r))}}))}Wr(e){var t,r,i=e.retriesPerformedSoFar||0;e.retriesPerformedSoFar=i+1;var n=Math.ceil((r=Math.min(18e5,t=3e3*Math.pow(2,i)))+(Math.random()-.5)*(r-t/2)),s=Date.now()+n;this.Lr.push({retryAt:s,requestOptions:e});var a="Enqueued failed request for retry in "+n;navigator.onLine||(a+=" (Browser is offline)"),tm.warn(a),this.Hr||(this.Hr=!0,this.Xr())}Xr(){if(this.Jr&&clearTimeout(this.Jr),0===this.Lr.length)return this.Hr=!1,void(this.Jr=void 0);this.Jr=setTimeout(()=>{this.zr&&this.Lr.length>0&&this.Yr(),this.Xr()},this.Vr)}Yr(){var e=Date.now(),t=[],r=this.Lr.filter(r=>e>r.retryAt||(t.push(r),!1));if(this.Lr=t,r.length>0)for(var{requestOptions:i}of r)this.retriableRequest(i)}unload(){for(var{requestOptions:e}of(this.Jr&&(clearTimeout(this.Jr),this.Jr=void 0),this.Hr=!1,O(i)||(this.Ur&&(i.removeEventListener("online",this.Ur),this.Ur=void 0),this.Gr&&(i.removeEventListener("offline",this.Gr),this.Gr=void 0)),this.Lr))try{this._instance._send_request(_({},e,{transport:"sendBeacon"}))}catch(e){tm.error(e)}this.Lr=[]}}class na{constructor(e){this.Kr=()=>{this.Qr||(this.Qr={});var e,t,r,i,n=this.scrollElement(),s=this.scrollY(),a=n?Math.max(0,n.scrollHeight-n.clientHeight):0,o=s+((null==n?void 0:n.clientHeight)||0),l=(null==n?void 0:n.scrollHeight)||0;this.Qr.lastScrollY=Math.ceil(s),this.Qr.maxScrollY=Math.max(s,null!=(e=this.Qr.maxScrollY)?e:0),this.Qr.maxScrollHeight=Math.max(a,null!=(t=this.Qr.maxScrollHeight)?t:0),this.Qr.lastContentY=o,this.Qr.maxContentY=Math.max(o,null!=(r=this.Qr.maxContentY)?r:0),this.Qr.maxContentHeight=Math.max(l,null!=(i=this.Qr.maxContentHeight)?i:0)},this._instance=e}get ei(){return this._instance.config.scroll_root_selector}getContext(){return this.Qr}resetContext(){var e=this.Qr;return setTimeout(this.Kr,0),e}startMeasuringScrollPosition(){r$(i,"scroll",this.Kr,{capture:!0}),r$(i,"scrollend",this.Kr,{capture:!0}),r$(i,"resize",this.Kr)}scrollElement(){if(!this.ei)return null==i?void 0:i.document.documentElement;for(var e of C(this.ei)?this.ei:[this.ei]){var t=null==i?void 0:i.document.querySelector(e);if(t)return t}}scrollY(){if(this.ei){var e=this.scrollElement();return e&&e.scrollTop||0}return i&&(i.scrollY||i.pageYOffset||i.document.documentElement.scrollTop)||0}scrollX(){if(this.ei){var e=this.scrollElement();return e&&e.scrollLeft||0}return i&&(i.scrollX||i.pageXOffset||i.document.documentElement.scrollLeft)||0}}var no=e=>iu(null==e?void 0:e.config.mask_personal_data_properties,null==e?void 0:e.config.custom_personal_data_properties);
16class nl{constructor(e,t,r,i){this.ti=e=>{var t=this.ri();if(!t||t.sessionId!==e){var r={sessionId:e,props:this.ii(this._instance)};this.ni.register({[t4]:r})}},this._instance=e,this.si=t,this.ni=r,this.ii=i||no,this.si.onSessionId(this.ti)}ri(){return this.ni.props[t4]}getSetOnceProps(){var e,t=null==(e=this.ri())?void 0:e.props;return t?"r"in t?ic(t):{$referring_domain:t.referringDomain,$pathname:t.initialPathName,utm_source:t.utm_source,utm_campaign:t.utm_campaign,utm_medium:t.utm_medium,utm_content:t.utm_content,utm_term:t.utm_term}:{}}getSessionProps(){var e={};return rb(rA(this.getSetOnceProps()),(t,r)=>{"$current_url"===r&&(r="url"),e["$session_entry_"+$(r)]=t}),e}}class nu{constructor(){this.oi={}}on(e,t){return this.oi[e]||(this.oi[e]=[]),this.oi[e].push(t),()=>{this.oi[e]=this.oi[e].filter(e=>e!==t)}}emit(e,t){for(var r of this.oi[e]||[])r(t);for(var i of this.oi["*"]||[])i(e,t)}}var nc=t_("[SessionId]");class nd{on(e,t){return this.ai.on(e,t)}constructor(e,t,r){if(this.li=[],this.ui=void 0,this.ai=new nu,this.hi=(e,t)=>!(!j(e)||!j(t))&&Math.abs(e-t)>this.sessionTimeoutMs,!e.persistence)throw Error("SessionIdManager requires a PostHogPersistence instance");if(e.config.cookieless_mode===rl)throw Error('SessionIdManager cannot be used with cookieless_mode="always"');this.Bt=e.config,this.ni=e.persistence,this.ci=void 0,this.di=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.vi=t||rV,this.fi=r||rV;var i,n=this.Bt.persistence_name||this.Bt.token;if(this._sessionTimeoutMs=1e3*K(this.Bt.session_idle_timeout_seconds||1800,60,36e3,nc.createLogger("session_idle_timeout_seconds"),1800),e.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.pi(),this.gi="ph_"+n+"_window_id",this.mi="ph_"+n+"_primary_window_exists",this.yi()){var s=rz.Z(this.gi),a=rz.Z(this.mi);s&&!a?this.ci=s:rz.F(this.gi),rz.M(this.mi,!0)}if(null!=(i=this.Bt.bootstrap)&&i.sessionID)try{var o=(e=>{var t=this.Bt.bootstrap.sessionID.replace(/-/g,"");if(32!==t.length)throw Error("Not a valid UUID");if("7"!==t[12])throw Error("Not a UUIDv7");return parseInt(t.substring(0,12),16)})();this.bi(this.Bt.bootstrap.sessionID,(new Date).getTime(),o)}catch(e){nc.error("Invalid sessionID in bootstrap",e)}this.wi()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(e){return O(this.li)&&(this.li=[]),this.li.push(e),this.di&&e(this.di,this.ci),()=>{this.li=this.li.filter(t=>t!==e)}}yi(){return"memory"!==this.Bt.persistence&&!this.ni._r&&rz.R()}Ii(e){e!==this.ci&&(this.ci=e,this.yi()&&rz.M(this.gi,e))}Ci(){return this.ci?this.ci:this.yi()?rz.Z(this.gi):null}bi(e,t,r){e===this.di&&t===this._sessionActivityTimestamp&&r===this._sessionStartTimestamp||(this._sessionStartTimestamp=r,this._sessionActivityTimestamp=t,this.di=e,this.ni.register({[tF]:[t,e,r]}))}Si(){var e=this.ni.props[tF];return C(e)&&2===e.length&&e.push(e[0]),e||[0,null,0]}resetSessionId(){this.bi(null,null,null)}destroy(){clearTimeout(this.xi),this.xi=void 0,this.ui&&i&&(i.removeEventListener(rp,this.ui,{capture:!1}),this.ui=void 0),this.li=[]}wi(){this.ui=()=>{this.yi()&&rz.F(this.mi)},r$(i,rp,this.ui,{capture:!1})}checkAndGetSessionAndWindowId(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=null),this.Bt.cookieless_mode===rl)throw Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var r=t||(new Date).getTime(),[i,n,s]=this.Si(),a=this.Ci(),o=j(s)&&Math.abs(r-s)>864e5,l=!1,u=!n,c=!u&&!e&&this.hi(r,i);u||c||o?(n=this.vi(),a=this.fi(),nc.info("new session ID generated",{sessionId:n,windowId:a,changeReason:{noSessionId:u,activityTimeout:c,sessionPastMaximumLength:o}}),s=r,l=!0):a||(a=this.fi(),l=!0);var d=j(i)&&e&&!o?i:r,h=j(s)?s:(new Date).getTime();return this.Ii(a),this.bi(n,d,h),e||this.pi(),l&&this.li.forEach(e=>e(n,a,l?{noSessionId:u,activityTimeout:c,sessionPastMaximumLength:o}:void 0)),{sessionId:n,windowId:a,sessionStartTimestamp:h,changeReason:l?{noSessionId:u,activityTimeout:c,sessionPastMaximumLength:o}:void 0,lastActivityTimestamp:i}}pi(){clearTimeout(this.xi),this.xi=setTimeout(()=>{var[e]=this.Si();if(this.hi((new Date).getTime(),e)){var t=this.di;this.resetSessionId(),this.ai.emit("forcedIdleReset",{idleSessionId:t})}},1.1*this.sessionTimeoutMs)}}var nh=function(e,t){if(!e)return!1;var r=e.userAgent;if(r&&w(r,t))return!0;try{var i=null==e?void 0:e.userAgentData;if(null!=i&&i.brands&&i.brands.some(e=>w(null==e?void 0:e.brand,t)))return!0}catch(e){}return!!e.webdriver},np=function(e,t){if(!function(e){try{new RegExp(e)}catch(e){return!1}return!0}(t))return!1;try{return new RegExp(t).test(e)}catch(e){return!1}};function nf(e,t,r){return i9({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:r})}var nv={exact:(e,t)=>
16t.some(t=>e.some(e=>t===e)),is_not:(e,t)=>t.every(t=>e.every(e=>t!==e)),regex:(e,t)=>t.some(t=>e.some(e=>np(t,e))),not_regex:(e,t)=>t.every(t=>e.every(e=>!np(t,e))),icontains:(e,t)=>t.map(ng).some(t=>e.map(ng).some(e=>t.includes(e))),not_icontains:(e,t)=>t.map(ng).every(t=>e.map(ng).every(e=>!t.includes(e))),gt:(e,t)=>t.some(t=>{var r=parseFloat(t);return!isNaN(r)&&e.some(e=>r>parseFloat(e))}),lt:(e,t)=>t.some(t=>{var r=parseFloat(t);return!isNaN(r)&&e.some(e=>r<parseFloat(e))})},ng=e=>e.toLowerCase();function nm(e,t){return!e||Object.entries(e).every(e=>{var[r,i]=e,n=null==t?void 0:t[r];if(O(n)||M(n))return!1;var s=[String(n)],a=nv[i.operator];return!!a&&a(i.values,s)})}var n_="custom",nb="i.posthog.com",ny=/^\/static\//;class nx{constructor(e){this.ki={},this.instance=e}get apiHost(){var e=this.instance.config.api_host.trim().replace(/\/$/,"");return"https://app.posthog.com"===e?"https://us.i.posthog.com":e}get flagsApiHost(){var e=this.instance.config.flags_api_host;return e?e.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var e,t=null==(e=this.instance.config.ui_host)?void 0:e.replace(/\/$/,"");return t||(t=this.apiHost.replace("."+nb,".posthog.com")),"https://app.posthog.com"===t?"https://us.posthog.com":t}get region(){return this.ki[this.apiHost]||(this.ki[this.apiHost]=/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"us":/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"eu":n_),this.ki[this.apiHost]}Ti(e){var t=this.instance.config.__preview_external_dependency_versioned_paths;if("string"==typeof t&&ny.test(e))return t.trim().replace(/\/$/,"")||void 0}endpointFor(e,t){if(void 0===t&&(t=""),t&&(t="/"===t[0]?t:"/"+t),"ui"===e)return this.uiHost+t;if("flags"===e)return this.flagsApiHost+t;if("assets"===e){var r=this.Ti(t);if(r)return""+r+t}if(this.region===n_)return this.apiHost+t;var i=nb+t;switch(e){case"assets":return"https://"+this.region+"-assets."+i;case"api":return"https://"+this.region+"."+i}}}var nw=t_("[Surveys]"),nE="seenSurvey_",nA=[ig.Popover,ig.Widget,ig.API],nS={ignoreConditions:!1,ignoreDelay:!1,displayType:ib.Popover},n$=t_("[PostHog ExternalIntegrations]"),nT={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class nk{constructor(e){this._instance=e}ur(e,t){var r;null==(r=p.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,e,e=>{if(e)return n$.error("failed to load script",e);t()})}startIfEnabledOrStop(){var e,t=this,r=function(e){var r,i,s;!n||null!=(r=p.__PosthogExtensions__)&&null!=(r=r.integrations)&&r[e]||t.ur(nT[e],()=>{var r;null==(r=p.__PosthogExtensions__)||null==(r=r.integrations)||null==(r=r[e])||r.start(t._instance)}),!n&&null!=(i=p.__PosthogExtensions__)&&null!=(i=i.integrations)&&i[e]&&(null==(s=p.__PosthogExtensions__)||null==(s=s.integrations)||null==(s=s[e])||s.stop())};for(var[i,n]of Object.entries(null!=(e=this._instance.config.integrations)?e:{}))r(i)}}var nP,nC={},nR=0,nI=()=>{},nV='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',nO="Surveys module not available",nL="sanitize_properties is deprecated. Use before_send instead",nN="Invalid value for property_denylist config: ",nM="posthog",nD=!i5&&-1===(null==h?void 0:h.indexOf("MSIE"))&&-1===(null==h?void 0:h.indexOf("Mozilla")),nF=e=>{var t;return _({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:function(e){var t=null==e?void 0:e.hostname;if(!L(t))return!1;var r=t.split(".").slice(-2).join(".");for(var i of rS)if(r===i)return!1;return!0}(null==a?void 0:a.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:nI,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:null!=e?e:"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,debug:o&&L(null==o?void 0:o.search)&&-1!==o.search.indexOf("__posthog_debug=true")||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:"https:"===(null==i||null==(t=i.location)?void 0:t.protocol),ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_feature_flags_dedup_per_session:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error(e){tm.error("Bad HTTP status: "+e.statusCode+" "+e.text)},get_device_id:e=>e,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:rd,before_send:void 0,request_queue_config:{flush_interval_ms:3e3},error_tracking:{},_onCapture:nI,__preview_eager_load_replay:!1},(e=>({rageclick:!e||"2025-11-30">e||{content_ignorelist:!0},capture_pageview:!e||"2025-05-24">e||"history_change",session_recording:e&&e>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:e&&e>="2026-01-30"?"head":"body",internal_or_test_user_hostname:e&&e>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0}))(e))},nj=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],nU=e=>{var t={};for(var[r,i]of nj)O(e[r])||(t[i]=e[r]);var n=ry({},t,e);return C(e.property_blacklist)&&(O(e.property_denylist)?n.property_denylist=e.property_blacklist:C(e.property_denylist)?n.property_denylist=[...e.property_blacklist,...e.property_denylist]:tm.error(nN+e.property_denylist)),n};
16class nB{constructor(){this.__forceAllowLocalhost=!1}get Ai(){return this.__forceAllowLocalhost}set Ai(e){tm.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=e}}class nG{Ei(e,t){if(e){var r=this.Ri.indexOf(e);-1!==r&&this.Ri.splice(r,1)}return this.Ri.push(t),null==t.initialize||t.initialize(),t}Ni(){return this.config.cookieless_mode===rl||this.config.cookieless_mode===ro&&this.consent.isRejected()}get decideEndpointWasHit(){var e,t;return null!=(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&e}get flagsEndpointWasHit(){var e,t;return null!=(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&e}constructor(){this.webPerformance=new nB,this.Mi=!1,this.version=v.LIB_VERSION,this.Fi=new nu,this.Ri=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=nF(),this.SentryIntegration=rJ,this.sentryIntegration=e=>(function(e,t){var r=rZ(e,t);return{name:rQ,processEvent:e=>r(e)}})(this,e),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Oi=!1,this.Pi=null,this.Li=null,this.Di=null,this.scrollManager=new na(this),this.pageViewManager=new r0(this),this.rateLimiter=new iE(this),this.requestRouter=new nx(this),this.consent=new rH(this),this.externalIntegrations=new nk(this);var e,t=null!=(e=nG.__defaultExtensionClasses)?e:{};this.featureFlags=t.featureFlags&&new t.featureFlags(this),this.toolbar=t.toolbar&&new t.toolbar(this),this.surveys=t.surveys&&new t.surveys(this),this.conversations=t.conversations&&new t.conversations(this),this.logs=t.logs&&new t.logs(this),this.experiments=t.experiments&&new t.experiments(this),this.exceptions=t.exceptions&&new t.exceptions(this),this.people={set:(e,t,r)=>{var i=L(e)?{[e]:t}:e;this.setPersonProperties(i),null==r||r({})},set_once:(e,t,r)=>{var i=L(e)?{[e]:t}:e;this.setPersonProperties(void 0,i),null==r||r({})}},this.on("eventCaptured",e=>tm.info('send "'+(null==e?void 0:e.event)+'"',e))}init(e,t,r){if(r&&r!==nM){var i,n=null!=(i=nC[r])?i:new nG;return n._init(e,t,r),nC[r]=n,nC[nM][r]=n,n}return this._init(e,t,r)}_init(e,t,r){if(void 0===t&&(t={}),O(e)||N(e))return tm.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},t.debug=this.Bi(t.debug),this.ji=t,this.$i=[],t.person_profiles?this.Li=t.person_profiles:t.process_person&&(this.Li=t.process_person),this.set_config(ry({},nF(t.defaults),nU(t),{name:r,token:e})),this.config.on_xhr_error&&tm.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=t.disable_compression?void 0:i$.GZipJS;var n,s,a=this.qi();this.persistence=new ip(this.config,a),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new ip(_({},this.config,{persistence:"sessionStorage"}),a);var o=_({},this.persistence.props),l=_({},this.sessionPersistence.props);this.register({$initialization_time:(new Date).toISOString()}),this.Zi=new ni(e=>this.Hi(e),this.config.request_queue_config),this.Vi=new ns(this),this.__request_queue=[];var u=this.Ni();if(u||(this.sessionManager=new nd(this),this.sessionPropsManager=new nl(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(tm.info("Deferring extension initialization to improve startup performance"),setTimeout(()=>{this.zi(u)},0)):(tm.info("Initializing extensions synchronously"),this.zi(u)),v.DEBUG=v.DEBUG||this.config.debug,v.DEBUG&&tm.info("Starting in debug mode",{this:this,config:t,thisC:_({},this.config),p:o,s:l}),!this.config.identity_distinct_id||null!=(n=t.bootstrap)&&n.distinctID||(t.bootstrap=_({},t.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),void 0!==(null==(s=t.bootstrap)?void 0:s.distinctID)){var c=t.bootstrap.distinctID,d=this.get_distinct_id(),h=this.persistence.get_property(t5);if(t.bootstrap.isIdentifiedID&&null!=d&&d!==c&&h===ru)this.identify(c);else if(t.bootstrap.isIdentifiedID&&null!=d&&d!==c&&h===rc)tm.warn("Bootstrap distinctID differs from an already-identified user. The existing identity is preserved. Call reset() before reinitializing if you intend to switch users.");else{var p=this.config.get_device_id(rV()),f=t.bootstrap.isIdentifiedID?p:c;this.persistence.set_property(t5,t.bootstrap.isIdentifiedID?rc:ru),this.register({distinct_id:c,$device_id:f})}}if(u)this.register_once({distinct_id:rr,$device_id:null},"");else if(!this.get_distinct_id()){var g=this.config.get_device_id(rV());this.register_once({distinct_id:g,$device_id:g},""),this.persistence.set_property(t5,ru)}return r$(i,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),t.segment?function(e,t){var r=e.config.segment;if(!r)return t();!function(e,t){var r=e.config.segment;if(!r)return t();var i=r=>{var i=()=>r.anonymousId()||rV();e.config.get_device_id=i,r.id()&&(e.register({distinct_id:r.id(),$device_id:i()}),e.persistence.set_property(t5,rc)),t()},n=r.user();"then"in n&&R(n.then)?n.then(i):i(n)}(e,()=>{var i;r.register((Promise&&Promise.resolve||rY.warn("This browser does not have Promise support, and can not use the segment integration"),i=(t,r)=>{if(!r)return t;t.event.userId||t.event.anonymousId===e.get_distinct_id()||(rY.info("No userId set, resetting PostHog"),e.reset()),t.event.userId&&t.event.userId!==e.get_distinct_id()&&(rY.info("UserId set, identifying with PostHog"),e.identify(t.event.userId)
16);var i=e.calculateEventProperties(r,t.event.properties);return t.event.properties=Object.assign({},i,t.event.properties),t},{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:e=>i(e,e.event.event),page:e=>i(e,rf),identify:e=>i(e,rg),screen:e=>i(e,"$screen")})).then(()=>{t()})})}(this,()=>this.Ui()):this.Ui(),R(this.config._onCapture)&&this.config._onCapture!==nI&&(tm.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",e=>this.config._onCapture(e.event,e))),this.config.ip&&tm.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}zi(e){var t,r,i,n,s,a,o,l=performance.now(),u=_({},nG.__defaultExtensionClasses,this.config.__extensionClasses),c=[];u.featureFlags&&this.Ri.push(this.featureFlags=null!=(t=this.featureFlags)?t:new u.featureFlags(this)),u.exceptions&&this.Ri.push(this.exceptions=null!=(r=this.exceptions)?r:new u.exceptions(this)),u.historyAutocapture&&this.Ri.push(this.historyAutocapture=new u.historyAutocapture(this)),u.tracingHeaders&&this.Ri.push(new u.tracingHeaders(this)),u.siteApps&&this.Ri.push(this.siteApps=new u.siteApps(this)),u.sessionRecording&&!e&&this.Ri.push(this.sessionRecording=new u.sessionRecording(this)),this.config.disable_scroll_properties||c.push(()=>{this.scrollManager.startMeasuringScrollPosition()}),u.autocapture&&this.Ri.push(this.autocapture=new u.autocapture(this)),u.surveys&&this.Ri.push(this.surveys=null!=(i=this.surveys)?i:new u.surveys(this)),u.logs&&this.Ri.push(this.logs=null!=(n=this.logs)?n:new u.logs(this)),u.conversations&&this.Ri.push(this.conversations=null!=(s=this.conversations)?s:new u.conversations(this)),u.productTours&&this.Ri.push(this.productTours=new u.productTours(this)),u.heatmaps&&this.Ri.push(this.heatmaps=new u.heatmaps(this)),u.webVitalsAutocapture&&this.Ri.push(this.webVitalsAutocapture=new u.webVitalsAutocapture(this)),u.exceptionObserver&&this.Ri.push(this.exceptionObserver=new u.exceptionObserver(this)),u.deadClicksAutocapture&&this.Ri.push(this.deadClicksAutocapture=new u.deadClicksAutocapture(this,rX)),u.toolbar&&this.Ri.push(this.toolbar=null!=(a=this.toolbar)?a:new u.toolbar(this)),u.experiments&&this.Ri.push(this.experiments=null!=(o=this.experiments)?o:new u.experiments(this)),this.Ri.forEach(e=>{e.initialize&&c.push(()=>{null==e.initialize||e.initialize()})}),c.push(()=>{if(this.Yi){var e=this.Yi;this.Yi=void 0,this.Nr(e)}}),this.Gi(c,l)}Gi(e,t){for(;e.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-t>=30&&e.length>0)return void setTimeout(()=>{this.Gi(e,t)},0);var r=e.shift();if(r)try{r()}catch(e){tm.error("Error initializing extension:",e)}}var i=Math.round(performance.now()-t);this.register_for_session({[ri]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[rn]:i}),this.config.__preview_deferred_init_extensions&&tm.info("PostHog extensions initialized ("+i+"ms)")}Nr(e){var t;if(!a||!a.body)return tm.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(()=>{this.Nr(e)},500);this.config.__preview_deferred_init_extensions&&(this.Yi=e),this.Wi=e,this.compression=void 0,e.supportedCompression&&!this.config.disable_compression&&(this.compression=A(e.supportedCompression,i$.GZipJS)?i$.GZipJS:A(e.supportedCompression,i$.Base64)?i$.Base64:void 0),null!=(t=e.analytics)&&t.endpoint&&(this.analyticsDefaultEndpoint=e.analytics.endpoint),this.set_config({person_profiles:this.Li?this.Li:rd}),this.Ri.forEach(t=>null==t.onRemoteConfig?void 0:t.onRemoteConfig(e))}Ui(){try{this.config.loaded(this)}catch(e){tm.critical("`loaded` function failed",e)}if(this.Xi(),this.config.internal_or_test_user_hostname&&null!=o&&o.hostname){var e=o.hostname,t=this.config.internal_or_test_user_hostname;("string"==typeof t?e===t:t.test(e))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout(()=>{(this.consent.isOptedIn()||this.Ni())&&this.Ji()},1),this.Ki=new iS(this),this.Ki.load()}Xi(){var e;this.is_capturing()&&this.config.request_batching&&(null==(e=this.Zi)||e.enable())}_dom_loaded(){this.is_capturing()&&r_(this.__request_queue,e=>this.Hi(e)),this.__request_queue=[],this.Xi()}_handle_unload(){var e,t,r,i;null==(e=this.surveys)||e.handlePageUnload(),this.config.request_batching?(this.Qi()&&this.capture(rv),null==(t=this.logs)||t.flushLogs("sendBeacon"),null==(r=this.Zi)||r.unload(),null==(i=this.Vi)||i.unload()):this.Qi()&&this.capture(rv,null,{transport:"sendBeacon"})}_send_request(e){this.__loaded&&(nD?this.__request_queue.push(e):this.rateLimiter.isServerRateLimited(e.batchKey)||(e.transport=e.transport||this.config.api_transport,e.url=i7(e.url,{ip:+!!this.config.ip}),e.headers=_({},this.config.request_headers,e.headers),e.compression="best-available"===e.compression?this.compression:e.compression,e.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(e.disableTransport=["sendBeacon"]),e.fetchOptions=e.fetchOptions||this.config.fetch_options,
16(e=>{var t,r,i,n=_({},e);n.timeout=n.timeout||6e4,n.url=nt(n.url,n.compression);var s=null!=(t=n.transport)?t:"fetch",a=nr.filter(e=>!n.disableTransport||!e.transport||!n.disableTransport.includes(e.transport)),o=null!=(r=null==(i=function(e,t){for(var r=0;e.length>r;r++)if(e[r].transport===s)return e[r]}(a))?void 0:i.method)?r:a[0].method;if(!o)throw Error("No available transport method");"sendBeacon"!==s&&n.data&&n.compression===i$.GZipJS&&d&&!i6?ne(n).then(e=>{o(e)}).catch(t=>{if(!(!t||"object"!=typeof t)&&"NotReadableError"===("name"in t?String(t.name):""))return i6=!0,void o(_({},n,{compression:void 0,url:nt(e.url,void 0)}));o(n)}):o(n)})(_({},e,{callback:t=>{var r,i;this.rateLimiter.checkForLimiting(t),400>t.statusCode||null==(r=(i=this.config).on_request_error)||r.call(i,t),null==e.callback||e.callback(t)}}))))}Hi(e){this.Vi?this.Vi.retriableRequest(e):this._send_request(e)}_execute_array(e){nR++;try{var t,r=[],i=[],n=[];r_(e,e=>{e&&(C(t=e[0])?n.push(e):R(e)?e.call(this):C(e)&&"alias"===t?r.push(e):C(e)&&-1!==t.indexOf("capture")&&R(this[t])?n.push(e):i.push(e))});var s=function(e,t){r_(e,function(e){if(C(e[0])){var r=t;rb(e,function(e){r=r[e[0]].apply(r,e.slice(1))})}else t[e[0]].apply(t,e.slice(1))})};s(r,this),s(i,this),s(n,this)}finally{nR--}}push(e){if(nR>0&&C(e)&&L(e[0])){var t=nG.prototype[e[0]];R(t)&&t.apply(this,e.slice(1))}else this._execute_array([e])}capture(e,t,r){var i,n,s,a,o;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Zi){if(this.is_capturing())if(!O(e)&&L(e)){var l=!this.config.opt_out_useragent_filter&&this._is_bot();if(!l||this.config.__preview_capture_bot_pageviews){var u=null!=r&&r.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(null==u||!u.isRateLimited){null!=t&&t.$current_url&&!L(null==t?void 0:t.$current_url)&&(tm.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),null==t||delete t.$current_url),"$exception"!==e||null!=r&&r.en||tm.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var c=new Date,d=(null==r?void 0:r.timestamp)||c,h=rV(),p={uuid:h,event:e,properties:this.calculateEventProperties(e,t||{},d,h)};e===rf&&this.config.__preview_capture_bot_pageviews&&l&&(p.event="$bot_pageview",p.properties.$browser_type="bot"),u&&(p.properties.$lib_rate_limit_remaining_tokens=u.remainingTokens),(null==r?void 0:r.$set)&&(p.$set=null==r?void 0:r.$set);var f,v,g,m=this.tn(null==r?void 0:r.$set_once,e!==rm,e===rg);if(m&&(p.$set_once=m),null!=r&&r._noTruncate||(n=this.config.properties_string_max_length,s=p,a=e=>L(e)?e.slice(0,n):e,o=new Set,p=function e(t,r){var i;return t!==Object(t)?a?a(t):t:o.has(t)?void 0:(o.add(t),C(t)?(i=[],r_(t,t=>{i.push(e(t))})):(i={},rb(t,(t,r)=>{o.has(t)||(i[r]=e(t,r))})),i)}(s)),p.timestamp=d,O(null==r?void 0:r.timestamp)||(p.properties.$event_time_override_provided=!0,p.properties.$event_time_override_system_time=c),e===im.DISMISSED||e===im.SENT){var b=null==t?void 0:t[i_.SURVEY_ID],y=null==t?void 0:t[i_.SURVEY_ITERATION];(e=>{try{var t,r=(t=""+nE+e.id,e.current_iteration&&e.current_iteration>0&&(t=""+nE+e.id+"_"+e.current_iteration),t);
16if(localStorage.getItem(r))return;localStorage.setItem(r,"true")}catch(e){nw.error("Failed to persist survey seen state",e)}})({id:b,current_iteration:y}),p.$set=_({},p.$set,{[(f={id:b,current_iteration:y},g="$survey_"+(v=e===im.SENT?"responded":"dismissed")+"/"+f.id,f.current_iteration&&f.current_iteration>0&&(g="$survey_"+v+"/"+f.id+"/"+f.current_iteration),g)]:!0})}else e===im.SHOWN&&(p.$set=_({},p.$set,{[i_.SURVEY_LAST_SEEN_DATE]:(new Date).toISOString()}));if(e===iy.SHOWN){var x=null==t?void 0:t[ix.TOUR_TYPE];x&&(p.$set=_({},p.$set,{[ix.TOUR_LAST_SEEN_DATE+"/"+x]:(new Date).toISOString()}))}var w=_({},p.properties.$set,p.$set);if(V(w)||this.setPersonPropertiesForFlags(w),!D(this.config.before_send)){var E=this.rn(p);if(!E)return;p=E}this.Fi.emit("eventCaptured",p);var A={method:"POST",url:null!=(i=null==r?void 0:r._url)?i:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:p,compression:"best-available",batchKey:null==r?void 0:r._batchKey};return!this.config.request_batching||r&&(null==r||!r._batchKey)||null!=r&&r.send_instantly?this.Hi(A):this.Zi.enqueue(A),p}tm.critical("This capture call is ignored due to client rate limiting.")}}else tm.error("No event name provided to posthog.capture")}else tm.uninitializedWarning("posthog.capture")}_addCaptureHook(e){return this.on("eventCaptured",t=>e(t.event,t))}calculateEventProperties(e,t,r,n,s){if(r=r||new Date,!this.persistence||!this.sessionPersistence)return t;var l,u=s?void 0:this.persistence.remove_event_timer(e),c=_({},t);if(c.token=this.config.token,c.$config_defaults=this.config.defaults,this.Ni()&&(c.$cookieless_mode=!0),"$snapshot"===e){var d=_({},this.persistence.properties(),this.sessionPersistence.properties());return c.distinct_id=d.distinct_id,(!L(c.distinct_id)&&!F(c.distinct_id)||N(c.distinct_id))&&tm.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),c}var p,f=function(e,t){if(!h)return{};var r,n,s,a,l,u,c,d,p,f,g,m=e?[...r9,...t||[]]:[],[_,b]=function(e){for(var t=0;eW.length>t;t++){var[r,i]=eW[t],n=r.exec(e),s=n&&(R(i)?i(n,e):i);if(s)return s}return["",""]}(h);return ry(rA({$os:_,$os_version:b,$browser:eG(h,navigator.vendor),$device:eq(h),$device_type:(u={userAgentDataPlatform:null==(r=navigator)||null==(r=r.userAgentData)?void 0:r.platform,maxTouchPoints:null==(n=navigator)?void 0:n.maxTouchPoints,screenWidth:null==i||null==(s=i.screen)?void 0:s.width,screenHeight:null==i||null==(a=i.screen)?void 0:a.height,devicePixelRatio:null==i?void 0:i.devicePixelRatio},(g=eq(h))===en||g===ei||"Kobo"===g||"Kindle Fire"===g||g===eO?er:g===eE||g===eS||g===eA||g===eR?"Console":g===ea?"Wearable":g?ee:"Android"===(null==u?void 0:u.userAgentDataPlatform)&&(null!=(c=null==u?void 0:u.maxTouchPoints)?c:0)>0?600>Math.min(null!=(d=null==u?void 0:u.screenWidth)?d:0,null!=(p=null==u?void 0:u.screenHeight)?p:0)/(null!=(f=null==u?void 0:u.devicePixelRatio)?f:1)?ee:er:"Desktop"),$timezone:id(),$timezone_offset:function(){try{return(new Date).getTimezoneOffset()}catch(e){return}}()}),{$current_url:r4(null==o?void 0:o.href,m,ie),$host:null==o?void 0:o.host,$pathname:null==o?void 0:o.pathname,$raw_user_agent:h.length>1e3?h.substring(0,997)+"...":h,$browser_version:eH(h,navigator.vendor),$browser_language:ia(),$browser_language_prefix:"string"==typeof(l=ia())?l.split("-")[0]:void 0,$screen_height:null==i?void 0:i.screen.height,$screen_width:null==i?void 0:i.screen.width,$viewport_height:null==i?void 0:i.innerHeight,$viewport_width:null==i?void 0:i.innerWidth,$lib:v.LIB_NAME,$lib_version:v.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:g,windowId:m}=this.sessionManager.checkAndGetSessionAndWindowId(s,r.getTime());c.$session_id=g,c.$window_id=m}this.sessionPropsManager&&ry(c,this.sessionPropsManager.getSessionProps());try{this.sessionRecording&&ry(c,this.sessionRecording.sdkDebugProperties),c.$sdk_debug_retry_queue_size=null==(l=this.Vi)?void 0:l.length}catch(e){c.$sdk_debug_error_capturing_properties=String(e)}if(this.requestRouter.region===n_&&(c.$lib_custom_api_host=this.config.api_host),p=e!==rf||s?e!==rv||s?this.pageViewM
16anager.doEvent():this.pageViewManager.doPageLeave(r):this.pageViewManager.doPageView(r,n),c=ry(c,p),e===rf&&a&&(c.title=a.title),!O(u)){var b=r.getTime()-u;c.$duration=parseFloat((b/1e3).toFixed(3))}h&&this.config.opt_out_useragent_filter&&(c.$browser_type=this._is_bot()?"bot":"browser"),(c=ry({},f,this.persistence.properties(),this.sessionPersistence.properties(),c)).$is_identified=this._isIdentified(),C(this.config.property_denylist)?rb(this.config.property_denylist,function(e){delete c[e]}):tm.error(nN+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var y=this.config.sanitize_properties;y&&(tm.error(nL),c=y(c,e));var x=this.nn();return c.$process_person_profile=x,x&&!s&&this.sn("_calculate_event_properties"),c}tn(e,t,r){if(void 0===t&&(t=!0),void 0===r&&(r=!1),!this.persistence||!this.nn()||this.Mi&&!r)return e;var i,n=ry({},this.persistence.get_initial_props(),(null==(i=this.sessionPropsManager)?void 0:i.getSetOnceProps())||{},e||{}),s=this.config.sanitize_properties;return s&&(tm.error(nL),n=s(n,"$set_once")),t&&(this.Mi=!0),V(n)?void 0:n}register(e,t){var r;null==(r=this.persistence)||r.register(e,t)}register_once(e,t,r){var i;null==(i=this.persistence)||i.register_once(e,t,r)}register_for_session(e){var t;null==(t=this.sessionPersistence)||t.register(e)}unregister(e){var t;null==(t=this.persistence)||t.unregister(e)}unregister_for_session(e){var t;null==(t=this.sessionPersistence)||t.unregister(e)}an(e,t){this.register({[e]:t})}getFeatureFlag(e,t){var r;return null==(r=this.featureFlags)?void 0:r.getFeatureFlag(e,t)}getFeatureFlagPayload(e){var t;return null==(t=this.featureFlags)?void 0:t.getFeatureFlagPayload(e)}getFeatureFlagResult(e,t){var r;return null==(r=this.featureFlags)?void 0:r.getFeatureFlagResult(e,t)}isFeatureEnabled(e,t){var r;return null==(r=this.featureFlags)?void 0:r.isFeatureEnabled(e,t)}reloadFeatureFlags(){var e;null==(e=this.featureFlags)||e.reloadFeatureFlags()}updateFlags(e,t,r){var i;null==(i=this.featureFlags)||i.updateFlags(e,t,r)}updateEarlyAccessFeatureEnrollment(e,t,r){var i;null==(i=this.featureFlags)||i.updateEarlyAccessFeatureEnrollment(e,t,r)}getEarlyAccessFeatures(e,t,r){var i;return void 0===t&&(t=!1),null==(i=this.featureFlags)?void 0:i.getEarlyAccessFeatures(e,t,r)}on(e,t){return this.Fi.on(e,t)}onFeatureFlags(e){return this.featureFlags?this.featureFlags.onFeatureFlags(e):(e([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(e){return this.surveys?this.surveys.onSurveysLoaded(e):(e([],{isLoaded:!1,error:nO}),()=>{})}onSessionId(e){var t,r;return null!=(t=null==(r=this.sessionManager)?void 0:r.onSessionId(e))?t:()=>{}}getSurveys(e,t){void 0===t&&(t=!1),this.surveys?this.surveys.getSurveys(e,t):e([],{isLoaded:!1,error:nO})}getActiveMatchingSurveys(e,t){void 0===t&&(t=!1),this.surveys?this.surveys.getActiveMatchingSurveys(e,t):e([],{isLoaded:!1,error:nO})}renderSurvey(e,t){var r;null==(r=this.surveys)||r.renderSurvey(e,t)}displaySurvey(e,t){var r;void 0===t&&(t=nS),null==(r=this.surveys)||r.displaySurvey(e,t)}cancelPendingSurvey(e){var t;null==(t=this.surveys)||t.cancelPendingSurvey(e)}canRenderSurvey(e){var t,r;return null!=(t=null==(r=this.surveys)?void 0:r.canRenderSurvey(e))?t:{visible:!1,disabledReason:nO}}canRenderSurveyAsync(e,t){var r,i;return void 0===t&&(t=!1),null!=(r=null==(i=this.surveys)?void 0:i.canRenderSurveyAsync(e,t))?r:Promise.resolve({visible:!1,disabledReason:nO})}ln(e){return!e||N(e)?(tm.critical("Unique user id has not been set in posthog.identify"),!1):e===rr?(tm.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(e.toLowerCase())&&!["undefined","null"].includes(e.toLowerCase())||(tm.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'),!1)}identify(e,t,r){if(!this.__loaded||!this.persistence)return tm.uninitializedWarning("posthog.identify");if(F(e)&&(e=e.toString(),tm.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.ln(e)&&this.sn("posthog.identify")){var i=this.get_distinct_id();this.register({$user_id:e}),this.get_property(tw)||this.register_once({$had_persisted_distinct_id:!0,$device_id:i},""),e!==i&&e!==this.get_property(tE)&&(this.unregister(tE),this.register({distinct_id:e}));var n,s=(this.persistence.get_property(t5)||ru)===ru;e!==i&&s?(this.persistence.set_property(t5,rc),this.setPersonPropertiesForFlags({$set:t||{},$set_once:r||{}},!1),this.capture(rg,{distinct_id:e,$anon_distinct_id:i},{$set:t||{},$set_once:r||{}}),this.Di=nf(e,t,r),null==(n=this.featureFlags)||n.setAnonymousDistinctId(i)):(t||r)&&this.setPersonProperties(t,r),e!==i&&(this.reloadFeatureFlags(),this.unregister(t0))}}setPersonProperties(e,t){if((e||t)&&this.sn("posthog.setPersonProperties")){var r=nf(this.get_distinct_id(),e,t);this.Di!==r?(this.setPersonPropertiesForFlags({$set:e||{},$set_once:t||{}},!0),this.capture("$set",{$set:e||{},$set_once:t||{}}),this.Di=r):tm.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(e,t,r){if(e&&t){var i=this.getGroups(),n=i[e]!==t;if(n&&this.resetGroupPropertiesForFlags(e),this.register({$groups:_({},i,{[e]:t})}),n||r){var s={$group_type:e,$group_key:t};r&&(s.$group_set=r),this.capture(rm,s)}r&&this.setGroupPropertiesForFlags({[e]:r}),n&&!r&&this.reloadFeatureFlags()}else tm.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(e,t){var r;void 0===t&&(t=!0),null==(r=this.featureFlags)||r.setPersonPropertiesForFlags(e,t)}resetPersonPropertiesForFlags(){var e;null==(e=this.featureFlags)||e.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(e,t){var r;void 0===t&&(t=!0),this.sn("posthog.setGroupPropertiesForFlags")&&(null==(r=this.featureFlags)||r.setGroupPropertiesForFlags(e,t))}resetGroupPropertiesForFlags(e){var t;null==(t=this.featureFlags)||t.resetGroupPropertiesForFlags(e)}reset(e){if(tm.info("reset"),!this.__loaded)return tm.uninitializedWarning("posthog.reset");var t,r,i,n,s,a,o,l,u=this.get_property(tw);if(this.consent.reset(),null==(t=this.persistence)||t.clear(),null==(r=this.sessionPersistence)||r.clear(),null==(i=this.surveys)||i.reset(),null==(n=this.Ki)||n.stop(),null==(s=this.featureFlags)||s.reset(),null==(a=this.conversations)||a.reset(),null==(o=this.persistence)||o.set_property(t5,ru),null==(l=this.sessionManager)||l.resetSessionId(),this.Di=null,this.config.cookieless_mode===rl)this.register_once({distinct_id:rr,$device_id:null},"");else{var c=this.config.get_device_id(rV());this.register_once({distinct_id:c,$device_id:e?c:u},"")}this.register({$last_posthog_reset:(new Date).toISOString()},1),delete this.config.identity_distinct_id,delete this.config.identity_hash,this.reloadFeatureFlags()}setIdentity(e,t){var r;this.config.identity_distinct_id=e,this.config.identity_hash=t,this.alias(e),null==(r=this.conversations)||r.un()}clearIdentity(){var e;delete this.config.identity_distinct_id,delete this.config.identity_hash,null==(e=this.conversations)||e.hn()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var e,t;return null!=(e=null==(t=this.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0).sessionId)?e:""}get_session_replay_url(e){if(!this.sessionManager)return"";var{sessionId:t,sessionStartTimestamp:r}=this.sessionManager.checkAndGetSessionAndWindowId(!0),i=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+t);if(null!=e&&e.withTimestamp&&r){var n,s=null!=(n=e.timestampLookBack)?n:10;if(!r)return i;i+="?t="+Math.max(Math.floor(((new Date).getTime()-r)/1e3)-s,0)}return i}alias(e,t){return e===this.get_property(tx)?(tm.critical("Attempting to create alias for existing People user - aborting."),-2):this.sn("posthog.alias")?(O(t)&&(t=this.get_distinct_id()),e!==t?(this.an(tE,e),this.capture("$create_alias",{alias:e,distinct_id:t})):(tm.warn("alias matches current distinct_id - skipping api call."),this.identify(e),-1)):void 0}set_config(e){var t=_({},this.config);if(I(e)){ry(this.config,nU(e));var r,i,n,s,a,o,l,u,c,d,h=this.qi();null==(r=this.persistence)||r.update_config(this.config,t,h),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new ip(_({},this.config,{persistence:"sessionStorage"}),h);var p=this.Bi(this.config.debug);U(p)&&(this.config.debug=p),U(this.config.debug)&&(this.config.debug?(v.DEBUG=!0,rF.R()&&rF.M("ph_debug",!0),tm.info("set_config",{config:e,oldConfig:t,newConfig:_({},this.config)})):(v.DEBUG=!1,rF.R()&&rF.F("ph_debug"))),null==(i=this.exceptionObserver)||i.onConfigChange(),null==(n=this.exceptions)||n.onConfigChange(),null==(s=this.sessionRecording)||s.startIfEnabledOrStop(),null==(a=this.autocapture)||a.startIfEnabled(),null==(o=this.heatmaps)||o.startIfEnabled(),null==(l=this.exceptionObserver)||l.startIfEnabledOrStop(),null==(u=this.deadClicksAutocapture)||u.startIfEnabledOrStop(),null==(c=this.surveys)||c.loadIfEnabled(),this.cn(),null==(d=this.externalIntegrations)||d.startIfEnabledOrStop()}}_overrideSDKInfo(e,t){v.LIB_NAME=e,v.LIB_VERSION=t}startSessionRecording(e){var t,r,i,n,s,a=!0===e,o={sampling:a||!(null==e||!e.sampling),linked_flag:a||!(null==e||!e.linked_flag),url_trigger:a||!(null==e||!e.url_trigger),event_trigger:a||!(null==e||!e.event_trigger)};Object.values(o).some(Boolean)&&(null==(t=this.sessionManager)||t.checkAndGetSessionAndWindowId(),o.sampling&&(null==(r=this.sessionRecording)||r.overrideSampling()),o.linked_flag&&(null==(i=this.sessionRecording)||i.overrideLinkedFlag()),o.url_trigger&&(null==(n=this.sessionRecording)||n.overrideTrigger("url")),o.event_trigger&&(null==(s=this.sessionRecording)||s.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var e;return!(null==(e=this.sessionRecording)||!e.started)}captureException(e,t){if(this.exceptions){var r=Error("PostHog syntheticException"),i=this.exceptions.buildProperties(e,{handled:!0,syntheticException:r});return this.exceptions.sendExceptionEvent(_({},i,t))}}addExceptionStep(e,t){var r;null==(r=this.exceptions)||r.addExceptionStep(e,t)}captureLog(e){var t;null==(t=this.logs)||t.captureLog(e)}get logger(){var e,t;return null!=(e=null==(t=this.logs)?void 0:t.logger)?e:nG.dn}startExceptionAutocapture(e){this.set_config({capture_exceptions:null==e||e})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(e){var t,r;return null!=(t=null==(r=this.toolbar)?void 0:r.loadToolbar(e))&&t}get_property(e){var t;return null==(t=this.persistence)?void 0:t.props[e]}getSessionProperty(e){var t;return null==(t=this.sessionPersistence)?void 0:t.props[e]}toString(){var e,t=null!=(e=this.config.name)?e:nM;return t!==nM&&(t=nM+"."+t),t}_isIdentified(){var e,t;return(null==(e=this.persistence)?void 0:e.get_property(t5))===rc||(null==(t=this.sessionPersistence)?void 0:t.get_property(t5))===rc}nn(){var e,t;return!("never"===this.config.person_profiles||this.config.person_profiles===rd&&!this._isIdentified()&&V(this.getGroups())&&(null==(e=this.persistence)||null==(e=e.props)||!e[tE])&&(null==(t=this.persistence)||null==(t=t.props)||!t[re]))}Qi(){return!0===this.config.capture_pageleave||"if_capture_pageview"===this.config.capture_pageleave&&(!0===this.config.capture_pageview||"history_change"===this.config.capture_pageview)}createPersonProfile(){this.nn()||this.sn("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.sn("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}sn(e){return"never"===this.config.person_profiles?(tm.error(e+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.an(re,!0),!0)}qi(){if("always"===this.config.cookieless_mode)return!0;var e=this.consent.isOptedOut();return this.config.disable_persistence||e&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==ro)}cn(){var e,t,r,i,n=this.qi();return(null==(e=this.persistence)?void 0:e._r)!==n&&(null==(r=this.persistence)||r.set_disabled(n)),(null==(t=this.sessionPersistence)?void 0:t._r)!==n&&(null==(i=this.sessionPersistence)||i.set_disabled(n)),n}opt_in_capturing(e){var t;if(this.config.cookieless_mode!==rl){if(this.Ni()){this.reset(!0),null==(n=this.sessionManager)||n.destroy(),null==(s=this.pageViewM
16anager)||s.destroy(),this.sessionManager=new nd(this),this.pageViewManager=new r0(this),this.persistence&&(this.sessionPropsManager=new nl(this,this.sessionManager,this.persistence));var r,i,n,s,a,o,l,u,c=null!=(a=null==(o=this.config.__extensionClasses)?void 0:o.sessionRecording)?a:null==(l=nG.__defaultExtensionClasses)?void 0:l.sessionRecording;c&&(this.sessionRecording=this.Ei(this.sessionRecording,new c(this)),this.Wi&&(null==(u=this.sessionRecording)||null==u.onRemoteConfig||u.onRemoteConfig(this.Wi)))}this.consent.optInOut(!0),this.cn(),this.Xi(),null==(t=this.sessionRecording)||t.startIfEnabledOrStop(),this.config.cookieless_mode==ro&&(null==(r=this.surveys)||r.loadIfEnabled()),(O(null==e?void 0:e.captureEventName)||null!=e&&e.captureEventName)&&this.capture(null!=(i=null==e?void 0:e.captureEventName)?i:"$opt_in",null==e?void 0:e.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Ji()}else tm.warn(nV)}opt_out_capturing(){var e,t,r;this.config.cookieless_mode!==rl?(this.config.cookieless_mode===ro&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.cn(),this.config.cookieless_mode===ro&&(this.register({distinct_id:rr,$device_id:null}),null==(e=this.sessionManager)||e.destroy(),null==(t=this.pageViewManager)||t.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,null==(r=this.sessionRecording)||r.stopRecording(),this.sessionRecording=void 0,this.Ji())):tm.warn(nV)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var e=this.consent.consent;return 1===e?"granted":0===e?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===rl||(this.config.cookieless_mode===ro?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.cn()}_is_bot(){return s?nh(s,this.config.custom_blocked_useragents):void 0}Ji(){a&&("visible"===a.visibilityState?this.Oi||(this.Oi=!0,this.capture(rf,{title:a.title},{send_instantly:!0}),this.Pi&&(a.removeEventListener(rh,this.Pi),this.Pi=null)):this.Pi||(this.Pi=this.Ji.bind(this),r$(a,rh,this.Pi)))}debug(e){!1===e?(null==i||i.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(null==i||i.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}Fr(){var e,t,r,i,n=this.ji||{};return"advanced_disable_flags"in n?!!n.advanced_disable_flags:!1!==this.config.advanced_disable_flags?!!this.config.advanced_disable_flags:!0===this.config.advanced_disable_decide?(tm.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(t="advanced_disable_decide",r=(e="advanced_disable_flags")in n&&!D(n[e]),i=t in n&&!D(n[t]),r?n[e]:!!i&&(tm&&tm.warn("Config field '"+t+"' is deprecated. Please use '"+e+"' instead. The old field will be removed in a future major version."),n[t]))}rn(e){if(D(this.config.before_send))return e;var t=C(this.config.before_send)?this.config.before_send:[this.config.before_send],r=e;for(var i of t){if(D(r=i(r))){var n="Event '"+e.event+"' was rejected in beforeSend function";return B(e.event)?tm.warn(n+". This can cause unexpected behavior."):tm.info(n),null}r.properties&&!V(r.properties)||tm.warn("Event '"+e.event+"' has no properties after beforeSend function, this is likely an error.")}return r}getPageViewId(){var e;return null==(e=this.pageViewManager.dr)?void 0:e.pageViewId}captureTraceFeedback(e,t){this.capture("$ai_feedback",{$ai_trace_id:String(e),$ai_feedback_text:t})}captureTraceMetric(e,t,r){this.capture("$ai_metric",{$ai_trace_id:String(e),$ai_metric_name:t,$ai_metric_value:String(r)})}Bi(e){var t=U(e)&&!e,r=rF.R()&&"true"===rF.O("ph_debug");return!t&&(!!r||e)}}function nz(e){return e instanceof Element&&(e.id===rt||!(null==e.closest||!e.closest(".toolbar-global-fade-container")))}function nH(e){return!!e&&1===e.nodeType}function nW(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}
16function nq(e){return!!e&&3===e.nodeType}function nX(e){return!!e&&11===e.nodeType&&nH(e.host)}function nK(e){return e?S(e).split(/\s+/):[]}function nY(e){var t=null==i?void 0:i.location.href;return!!(t&&e&&e.some(e=>t.match(e)))}function nQ(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return nK(t)}function nZ(e){return D(e)?null:S(e).split(/(\s+)/).filter(e=>sa(e)).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function nJ(e){var t="";return n9(e)&&!n8(e)&&e.childNodes&&e.childNodes.length&&rb(e.childNodes,function(e){var r;nq(e)&&e.textContent&&(t+=null!=(r=nZ(e.textContent))?r:"")}),S(t)}function n0(e){var t;return O(e.target)?e.srcElement||null:null!=(t=e.target)&&t.shadowRoot?e.composedPath()[0]||null:e.target||null}nG.__defaultExtensionClasses={},nG.dn={trace:nP=()=>{},debug:nP,info:nP,warn:nP,error:nP,fatal:nP},function(e,t){for(var r=0;t.length>r;r++)e.prototype[t[r]]=rE(e.prototype[t[r]])}(nG,["identify"]);var n1=["a","button","form","input","select","textarea","label"];function n2(e,t){if(O(t))return!0;var r,i=function(e){if(t.some(t=>e.matches(t)))return{v:!0}};for(var n of e)if(r=i(n))return r.v;return!1}function n3(e){var t=e.parentNode;return!(!t||!nH(t))&&t}var n5=["next","previous","prev",">","<"],n4=[".ph-no-rageclick",".ph-no-capture"],n6=e=>!e||nW(e,"html")||!nH(e),n7=(e,t)=>{if(!i||n6(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var r=!1,n=[e],s=e;s.parentNode&&!nW(s,"body");)if(nX(s.parentNode))n.push(s.parentNode.host),s=s.parentNode.host;else{var a=n3(s);if(!a)break;if(t||n1.indexOf(a.tagName.toLowerCase())>-1)r=!0;else{var o=i.getComputedStyle(a);o&&"pointer"===o.getPropertyValue("cursor")&&(r=!0)}n.push(a),s=a}return{parentIsUsefulElement:r,targetElementList:n}};function n9(e){for(var t=e;t.parentNode&&!nW(t,"body");t=t.parentNode){var r=nQ(t);if(A(r,"ph-sensitive")||A(r,"ph-no-capture"))return!1}if(A(nQ(e),"ph-include"))return!0;var i=e.type||"";if(L(i))switch(i.toLowerCase()){case"hidden":case"password":return!1}var n=e.name||e.id||"";return!L(n)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(n.replace(/[^a-zA-Z0-9]/g,""))}function n8(e){return!!(nW(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||nW(e,"select")||nW(e,"textarea")||"true"===e.getAttribute("contenteditable"))}var se="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",st=RegExp("^(?:"+se+")$"),sr=new RegExp(se),si="\\d{3}-?\\d{2}-?\\d{4}",sn=RegExp("^("+si+")$"),ss=RegExp("("+si+")");function sa(e,t){return void 0===t&&(t=!0),!(D(e)||L(e)&&(e=S(e),(t?st:sr).test((e||"").replace(/[- ]/g,""))||(t?sn:ss).test(e)))&&!0}function so(e){var t=nJ(e);return sa(t=(t+" "+function e(t){var r="";return t&&t.childNodes&&t.childNodes.length&&rb(t.childNodes,function(t){var i;if(t&&"span"===(null==(i=t.tagName)?void 0:i.toLowerCase()))try{var n=nJ(t);r=(r+" "+n).trim(),t.childNodes&&t.childNodes.length&&(r=(r+" "+e(t)).trim())}catch(e){tm.error("[AutoCapture]",e)}}),r}(e)).trim())?t:""}function sl(e){return e.replace(/"|\\"/g,'\\"')}class su{constructor(e){this.disabled=!1===e;var t=I(e)?e:{};this.thresholdPx=t.threshold_px||30,this.timeoutMs=t.timeout_ms||1e3,this.clickCount=t.click_count||3,this.clicks=[]}isRageClick(e,t,r){if(this.disabled)return!1;var i=this.clicks[this.clicks.length-1];if(i&&Math.abs(e-i.x)+Math.abs(t-i.y)<this.thresholdPx&&this.timeoutMs>r-i.timestamp){if(this.clicks.push({x:e,y:t,timestamp:r}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:e,y:t,timestamp:r}];return!1}}var sc="$copy_autocapture",sd=t_("[AutoCapture]");function sh(e,t){return t.length>e?t.slice(0,e)+"...":t}var sp=t_("[ExceptionAutocapture]");function sf(e,t,r){try{if(!(t in e))return()=>{};var i=e[t],n=r(i);return R(n)&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=n,()=>{e[t]=i}}catch(e){return()=>{}}}var sv=t_("[TracingHeaders]"),sg=t_("[Web Vitals]"),sm="disabled",s_="lazy_loading",sb="awaiting_config",sy="missing_config";t_("[SessionRecording]"),t_("[SessionRecording]");var sx="[SessionRecording]",sw=t_(sx),sE=t_("[Heatmaps]");function sA(e){return I(e)&&"clientX"in e&&"clientY"in e&&F(e.clientX)&&F(e.clientY)}var sS=t_("[Product Tours]"),s$=["$set_once","$set"],sT=t_("[SiteApps]"),sk="Error while initializing PostHog app with config id ";function sP(e,t,r){if(D(e))return!1;switch(r){case"exact":return e===t;case"contains":return RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*"),"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch(e){return!1}default:return!1}}class sC{constructor(e){this.vn=new nu,this.fn=(e,t)=>this.pn(e,t)&&this.gn(e,t)&&this.mn(e,t)&&this.yn(e,t),this.pn=(e,t)=>null==t||!t.event||(null==e?void 0:e.event)===(null==t?void 0:t.event),this._instance=e,this.bn=new Set,this._n=new Set}init(){var e,t;O(null==(e=this._instance)?void 0:e._addCaptureHook)||null==(t=this._instance)||t._addCaptureHook((e,t)=>{this.on(e,t)})}register(e){var t,r;if(!O(null==(t=this._instance)?void 0:t._addCaptureHook)&&(e.forEach(e
16=>{var t,r;null==(t=this._n)||t.add(e),null==(r=e.steps)||r.forEach(e=>{var t;null==(t=this.bn)||t.add((null==e?void 0:e.event)||"")})}),null!=(r=this._instance)&&r.autocapture)){var i,n=new Set;e.forEach(e=>{var t;null==(t=e.steps)||t.forEach(e=>{null!=e&&e.selector&&n.add(null==e?void 0:e.selector)})}),null==(i=this._instance)||i.autocapture.setElementSelectors(n)}}on(e,t){var r;null!=t&&0!=e.length&&(this.bn.has(e)||this.bn.has(null==t?void 0:t.event))&&this._n&&(null==(r=this._n)?void 0:r.size)>0&&this._n.forEach(e=>{this.wn(t,e)&&this.vn.emit("actionCaptured",e.name)})}In(e){this.onAction("actionCaptured",t=>e(t))}wn(e,t){if(null==(null==t?void 0:t.steps))return!1;for(var r of t.steps)if(this.fn(e,r))return!0;return!1}onAction(e,t){return this.vn.on(e,t)}gn(e,t){if(null!=t&&t.url){var r,i=null==e||null==(r=e.properties)?void 0:r.$current_url;if(!i||"string"!=typeof i||!sP(i,t.url,t.url_matching||"contains"))return!1}return!0}mn(e,t){return!!this.Cn(e,t)&&!!this.Sn(e,t)&&!!this.xn(e,t)}Cn(e,t){if(null==t||!t.href)return!0;var r=this.kn(e);if(r.length>0)return r.some(e=>sP(e.href,t.href,t.href_matching||"exact"));var i,n,s=(null==e||null==(i=e.properties)?void 0:i.$elements_chain)||"";return!!s&&sP((n=s.match(/(?::|")href="(.*?)"/))?n[1]:"",t.href,t.href_matching||"exact")}Sn(e,t){if(null==t||!t.text)return!0;var r=this.kn(e);if(r.length>0)return r.some(e=>sP(e.text,t.text,t.text_matching||"exact")||sP(e.$el_text,t.text,t.text_matching||"exact"));var i,n,s,a,o=(null==e||null==(i=e.properties)?void 0:i.$elements_chain)||"";return!!o&&(n=function(e){for(var t,r=[],i=/(?::|")text="(.*?)"/g;!D(t=i.exec(e));)r.includes(t[1])||r.push(t[1]);return r}(o),s=t.text,a=t.text_matching||"exact",n.some(e=>sP(e,s,a)))}xn(e,t){if(null==t||!t.selector)return!0;var r,i,n=null==e||null==(r=e.properties)?void 0:r.$element_selectors;if(null!=n&&n.includes(t.selector))return!0;var s=(null==e||null==(i=e.properties)?void 0:i.$elements_chain)||"";if(t.selector_regex&&s)try{return new RegExp(t.selector_regex).test(s)}catch(e){}return!1}kn(e){var t;return null==(null==e||null==(t=e.properties)?void 0:t.$elements)?[]:null==e?void 0:e.properties.$elements}yn(e,t){return null==t||!t.properties||0===t.properties.length||nm(t.properties.reduce((e,t)=>{var r=C(t.value)?t.value.map(String):null!=t.value?[String(t.value)]:[];return e[t.key]={values:r,operator:t.operator||"exact"},e},{}),null==e?void 0:e.properties)}}class sR{constructor(e){this._instance=e,this.Tn=new Map,this.An=new Map,this.En=new Map}Rn(e,t){return!!e&&nm(e.propertyFilters,null==t?void 0:t.properties)}Nn(e,t){var r=new Map;return e.forEach(e=>{var i;null==(i=e.conditions)||null==(i=i[t])||null==(i=i.values)||i.forEach(t=>{if(null!=t&&t.name){var i=r.get(t.name)||[];i.push(e.id),r.set(t.name,i)}})}),r}Mn(e,t,r){var i=(r===iv.Activation?this.Tn:this.An).get(e),n=[];return this.Fn(e=>{n=e.filter(e=>null==i?void 0:i.includes(e.id))}),n.filter(i=>{var n,s=null==(n=i.conditions)||null==(n=n[r])||null==(n=n.values)?void 0:n.find(t=>t.name===e);return this.Rn(s,t)})}register(e){var t;O(null==(t=this._instance)?void 0:t._addCaptureHook)||(this.On(e),this.Pn(e))}Pn(e){var t=e.filter(e=>{var t,r;return(null==(t=e.conditions)?void 0:t.actions)&&(null==(r=e.conditions)||null==(r=r.actions)||null==(r=r.values)?void 0:r.length)>0});0!==t.length&&(null==this.Ln&&(this.Ln=new sC(this._instance),this.Ln.init(),this.Ln.In(e=>{this.onAction(e)})),t.forEach(e=>{var t,r,i,n,s;e.conditions&&null!=(t=e.conditions)&&t.actions&&null!=(r=e.conditions)&&null!=(r=r.actions)&&r.values&&(null==(i=e.conditions)||null==(i=i.actions)||null==(i=i.values)?void 0:i.length)>0&&(null==(n=this.Ln)||n.register(e.conditions.actions.values),null==(s=e.conditions)||null==(s=s.actions)||null==(s=s.values)||s.forEach(t=>{if(t&&t.name){var r=this.En.get(t.name);r&&r.push(e.id),this.En.set(t.name,r||[e.id])}}))}))}On(e){var t,r=e.filter(e=>{var t,r;return(null==(t=e.conditions)?void 0:t.events)&&(null==(r=e.conditions)||null==(r=r.events)||null==(r=r.values)?void 0:r.length)>0}),i=e.filter(e=>{var t,r;return(null==(t=e.conditions)?void 0:t.cancelEvents)&&(null==(r=e.conditions)||null==(r=r.cancelEvents)||null==(r=r.values)?void 0:r.length)>0});0===r.length&&0===i.length||(null==(t=this._instance)||t._addCaptureHook((e,t)=>{this.onEvent(e,t)}),this.Tn=this.Nn(e,iv.Activation),this.An=this.Nn(e,iv.Cancellation))}onEvent(e,t){var r,i=this.le(),n=this.Dn(),s=this.Bn(),a=(null==(r=this._instance)||null==(r=r.persistence)?void 0:r.props[n])||[];if(s===e&&t&&a.length>0){i.info("event matched, removing item from activated items",{event:e,eventPayload:t,existingActivatedItems:a});var o,l,u=(null==t||null==(o=t.properties)?void 0:o.$survey_id)||(null==t||null==(l=t.properties)?void 0:l.$product_tour_id);if(u){var c=a.indexOf(u);0>c||(a.splice(c,1),this.jn(a))}}else{if(this.An.has(e)){var d=this.Mn(e,t,iv.Cancellation);d.length>0&&(i.info("cancel event matched, cancelling items",{event:e,itemsToCancel:d.map(e=>e.id)}
16),d.forEach(e=>{var t=a.indexOf(e.id);0>t||a.splice(t,1),this.$n(e.id)}),this.jn(a))}if(this.Tn.has(e)){i.info("event name matched",{event:e,eventPayload:t,items:this.Tn.get(e)});var h=this.Mn(e,t,iv.Activation);this.jn(a.concat(h.map(e=>e.id)||[]))}}}onAction(e){var t,r=this.Dn(),i=(null==(t=this._instance)||null==(t=t.persistence)?void 0:t.props[r])||[];this.En.has(e)&&this.jn(i.concat(this.En.get(e)||[]))}jn(e){var t=this.le(),r=[...new Set(e)].filter(e=>!this.qn(e));t.info("updating activated items",{activatedItems:r}),this.Zn(r)}getActivatedIds(){var e,t=this.Dn();return(null==(e=this._instance)||null==(e=e.persistence)?void 0:e.props[t])||[]}getEventToItemsMap(){return this.Tn}Hn(){return this.Ln}}class sI extends sR{constructor(e){super(e)}Dn(){return tZ}Bn(){return im.SHOWN}Fn(e){var t;null==(t=this._instance)||t.getSurveys(e)}$n(e){var t;null==(t=this._instance)||t.cancelPendingSurvey(e)}le(){return nw}Zn(e){var t;null==(t=this._instance)||null==(t=t.persistence)||t.register({[tZ]:e})}qn(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var sV="SDK is not enabled or survey functionality is not yet loaded",sO="Disabled. Not loading surveys.",sL=null!=i&&i.location?r6(i.location.hash,"__posthog")||r6(location.hash,"state"):null,sN="_postHogToolbarParams",sM=t_("[Toolbar]"),sD=t_("[FeatureFlags]"),sF=t_("[FeatureFlags]",{debugEnabled:!0}),sj="\" failed. Feature flags didn't load in time.",sU=e=>{for(var t={},r=0;e.length>r;r++)t[e[r]]=!0;return t},sB=e=>{var t={};for(var[r,i]of rx(e||{}))i&&(t[r]=i);return t},sG=t_("[Error tracking]"),sz="Refusing to render web experiment since the viewer is a likely bot",sH={icontains:(e,t)=>!!i&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!i&&-1===t.href.toLowerCase().indexOf(e.toLowerCase()),regex:(e,t)=>!!i&&np(t.href,e),not_regex:(e,t)=>!!i&&!np(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class sW{get Bt(){return this._instance.config}constructor(e){var t=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(e){void 0===e&&(e=!1),t.getWebExperiments(e=>{sW.Vn("retrieved web experiments from the server"),t.zn=new Map,e.forEach(e=>{if(e.feature_flag_key){t.zn&&(sW.Vn("setting flag key ",e.feature_flag_key," to web experiment ",e),null==(r=t.zn)||r.set(e.feature_flag_key,e));var r,i=t._instance.getFeatureFlag(e.feature_flag_key);L(i)&&e.variants[i]&&t.Un(e.name,i,e.variants[i].transforms)}else if(e.variants)for(var n in e.variants){var s=e.variants[n];sW.Yn(s)&&t.Un(e.name,n,s.transforms)}})},e)},this._instance=e,this._instance.onFeatureFlags(e=>{this.onFeatureFlags(e)})}initialize(){}onFeatureFlags(e){if(this._is_bot())sW.Vn(sz);else if(!this.Bt.disable_web_experiments){if(D(this.zn))return this.zn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();sW.Vn("applying feature flags",e),e.forEach(e=>{var t;if(this.zn&&null!=(t=this.zn)&&t.has(e)){var r,i=this._instance.getFeatureFlag(e),n=null==(r=this.zn)?void 0:r.get(e);i&&null!=n&&n.variants[i]&&this.Un(n.name,i,n.variants[i].transforms)}})}}previewWebExperiment(){var e=sW.getWindowLocation();if(null!=e&&e.search){var t=r5(null==e?void 0:e.search,"__experiment_id"),r=r5(null==e?void 0:e.search,"__experiment_variant");t&&r&&(sW.Vn("previewing web experiments "+t+" && "+r),this.getWebExperiments(e=>{this.Gn(parseInt(t),r,e)},!1,!0))}}loadIfEnabled(){this.Bt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(e,t,r){if(this.Bt.disable_web_experiments&&!r)return e([]);var i=this._instance.get_property("$web_experiments");if(i&&!t)return e(i);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.Bt.token),method:"GET",callback:t=>e(200===t.statusCode&&t.json&&t.json.experiments||[])})}Gn(e,t,r){var i=r.filter(t=>t.id===e);i&&i.length>0&&(sW.Vn("Previewing web experiment ["+i[0].name+"] with variant ["+t+"]"),this.Un(i[0].name,t,i[0].variants[t].transforms))}static Yn(e){return!D(e.conditions)&&sW.Wn(e)&&sW.Xn(e)}static Wn(e){if(D(e.conditions)||D(null==(t=e.conditions)?void 0:t.url))return!0;var t,r,i,n,s=sW.getWindowLocation();return!!s&&(null==(r=e.conditions)||!r.url||sH[null!=(i=null==(n=e.conditions)?void 0:n.urlMatchType)?i:"icontains"](e.conditions.url,s))}
16static getWindowLocation(){return null==i?void 0:i.location}static Xn(e){if(D(e.conditions)||D(null==(r=e.conditions)?void 0:r.utm))return!0;var t=ir();if(t.utm_source){var r,i,n,s,a,o,l,u,c,d=null==(i=e.conditions)||null==(i=i.utm)||!i.utm_campaign||(null==(n=e.conditions)||null==(n=n.utm)?void 0:n.utm_campaign)==t.utm_campaign,h=null==(s=e.conditions)||null==(s=s.utm)||!s.utm_source||(null==(a=e.conditions)||null==(a=a.utm)?void 0:a.utm_source)==t.utm_source,p=null==(o=e.conditions)||null==(o=o.utm)||!o.utm_medium||(null==(l=e.conditions)||null==(l=l.utm)?void 0:l.utm_medium)==t.utm_medium,f=null==(u=e.conditions)||null==(u=u.utm)||!u.utm_term||(null==(c=e.conditions)||null==(c=c.utm)?void 0:c.utm_term)==t.utm_term;return d&&p&&f&&h}return!1}static Vn(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;t>i;i++)r[i-1]=arguments[i];tm.info("[WebExperiments] "+e,r)}Un(e,t,r){this._is_bot()?sW.Vn(sz):"control"!==t?r.forEach(r=>{if(r.selector){sW.Vn("applying transform of variant "+t+" for experiment "+e+" ",r);var i,n=null==(i=document)?void 0:i.querySelectorAll(r.selector);null==n||n.forEach(e=>{r.html&&(e.innerHTML=r.html),r.css&&e.setAttribute("style",r.css)})}}):sW.Vn("Control variants leave the page unmodified.")}_is_bot(){return s&&this._instance?nh(s,this.Bt.custom_blocked_useragents):void 0}}var sq=t_("[Conversations]"),sX="Conversations not available yet.",sK={featureFlags:class{constructor(e){this.Jn=!1,this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.ns=!1,this.ss=!1,this._instance=e,this.featureFlagEventHandlers=[]}get Bt(){return this._instance.config}get ni(){return this._instance.persistence}os(e){return this._instance.get_property(e)}ls(){var e,t;return null!=(e=null==(t=this.ni)?void 0:t.wr(this.Bt.feature_flag_cache_ttl_ms))&&e}us(){return!!this.ls()&&(this.ss||this.Qn||(this.ss=!0,sD.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}hs(){var e,t=null!=(e=this.Bt.evaluation_contexts)?e:this.Bt.evaluation_environments;return!this.Bt.evaluation_environments||this.Bt.evaluation_contexts||this.ns||(sD.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.ns=!0),null!=t&&t.length?t.filter(e=>{var t=e&&"string"==typeof e&&e.trim().length>0;return t||sD.error("Invalid evaluation context found:",e,"Expected non-empty string"),t}):[]}cs(){return this.hs().length>0}initialize(){var e,t,{config:r}=this._instance,i=null!=(e=null==(t=r.bootstrap)?void 0:t.featureFlags)?e:{};if(Object.keys(i).length){var n,s,a=null!=(n=null==(s=r.bootstrap)?void 0:s.featureFlagPayloads)?n:{},o=Object.keys(i).filter(e=>!!i[e]).reduce((e,t)=>(e[t]=i[t]||!1,e),{}),l=Object.keys(a).filter(e=>o[e]).reduce((e,t)=>(a[t]&&(e[t]=a[t]),e),{});this.receivedFeatureFlags({featureFlags:o,featureFlagPayloads:l})}}updateFlags(e,t,r){var i=null!=r&&r.merge?this.getFlagVariants():{},n=null!=r&&r.merge?this.getFlagPayloads():{},s=_({},i,e),a=_({},n,t),o={};for(var[l,u]of Object.entries(s)){var c="string"==typeof u;o[l]={key:l,enabled:!!c||!!u,variant:c?u:void 0,reason:void 0,metadata:O(null==a?void 0:a[l])?void 0:{id:0,version:void 0,description:void 0,payload:a[l]}}}this.receivedFeatureFlags({flags:o})}get hasLoadedFlags(){return this.Kn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.os(tz),t=this.os(tq),r=this.os(tX);if(!r&&!t)return e||{};var i=ry({},e||{});for(var n of[...new Set([...Object.keys(r||{}),...Object.keys(t||{})])]){var s,a,o=i[n],l=null==t?void 0:t[n],u=O(l)?null!=(s=null==o?void 0:o.enabled)&&s:!!l,c=O(l)?o.variant:"string"==typeof l?l:void 0,d=null==r?void 0:r[n],h=_({},o,{enabled:u,variant:u?null!=c?c:null==o?void 0:o.variant:void 0});u!==(null==o?void 0:o.enabled)&&(h.original_enabled=null==o?void 0:o.enabled),c!==(null==o?void 0:o.variant)&&(h.original_variant=null==o?void 0:o.variant),d&&(h.metadata=_({},null==o?void 0:o.metadata,{payload:d,original_payload:null==o||null==(a=o.metadata)?void 0:a.payload})),i[n]=h}return this.Jn||(sD.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:r,finalDetails:i}
16),this.Jn=!0),i}getFlagVariants(){var e=this.os(tU),t=this.os(tq);if(!t)return e||{};for(var r=ry({},e),i=Object.keys(t),n=0;i.length>n;n++)r[i[n]]=t[i[n]];return this.Jn||(sD.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:r}),this.Jn=!0),r}getFlagPayloads(){var e=this.os(tH),t=this.os(tX);if(!t)return e||{};for(var r=ry({},e||{}),i=Object.keys(t),n=0;i.length>n;n++)r[i[n]]=t[i[n]];return this.Jn||(sD.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:r}),this.Jn=!0),r}reloadFeatureFlags(){this.es||this.Bt.advanced_disable_feature_flags||this.ds||(this._instance.Fi.emit("featureFlagsReloading",!0),this.ds=setTimeout(()=>{this.vs()},5))}fs(){clearTimeout(this.ds),this.ds=void 0}ensureFlagsLoaded(){this.Kn||this.Qn||this.ds||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.es=e}vs(e){var t;if(this.fs(),!this._instance.Fr())if(this.Qn)this.ts=!0;else{var r=this.Bt.token,i=this.os(tw),n={token:r,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:_({},(null==(t=this.ni)?void 0:t.get_initial_props())||{},this.os(tK)||{}),group_properties:this.os(tY),timezone:id()};M(i)||O(i)||(n.$device_id=i),(null!=e&&e.disableFlags||this.Bt.advanced_disable_feature_flags)&&(n.disable_flags=!0),this.cs()&&(n.evaluation_contexts=this.hs());var s=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+(this.Bt.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":""));this.Qn=!0,this._instance._send_request({method:"POST",url:s,data:n,compression:this.Bt.disable_compression?void 0:i$.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback:e=>{var t,r,i,s=!0;if(200===e.statusCode&&(this.ts||(this.$anon_distinct_id=void 0),s=!1),this.Qn=!1,!n.disable_flags||this.ts){this.rs=!s;var a=[];e.error?e.error instanceof Error?a.push("AbortError"===e.error.name?"timeout":"connection_error"):a.push("unknown_error"):200!==e.statusCode&&a.push("api_error_"+e.statusCode),null!=(t=e.json)&&t.errorsWhileComputingFlags&&a.push("errors_while_computing_flags");var o,l=!(null==(r=e.json)||null==(r=r.quotaLimited)||!r.includes("feature_flags"));(l&&a.push("quota_limited"),null==(i=this.ni)||i.register({[t2]:a}),l)?sD.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset.  Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(n.disable_flags||this.receivedFeatureFlags(null!=(o=e.json)?o:{},s,{partialResponse:!!this.Bt.advanced_only_evaluate_survey_feature_flags}),this.ts&&(this.ts=!1,this.vs()))}}})}}getFeatureFlag(e,t){var r;if(void 0===t&&(t={}),!t.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var i=this.getFeatureFlagResult(e,t);return null!=(r=null==i?void 0:i.variant)?r:null==i?void 0:i.enabled}}else sD.warn('getFeatureFlag for key "'+e+sj)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return null==t?void 0:t.payload}getFeatureFlagResult(e,t){if(void 0===t&&(t={}),!t.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var r=this.getFlagVariants(),i=e in r,n=r[e],s=this.getFlagPayloads()[e],a=String(n),o=this.os(tW)||void 0,l=this.os(t3)||void 0,u=this.os(t0)||{};if(this.Bt.advanced_feature_flags_dedup_per_session){var c,d=this._instance.get_session_id(),h=this.os(t1);d&&d!==h&&(u={},null==(c=this.ni)||c.register({[t0]:u,[t1]:d}))}if((t.send_event||!("send_event"in t))&&(!(e in u)||!u[e].includes(a))){C(u[e])?u[e].push(a):u[e]=[a],null==(g=this.ni)||g.register({[t0]:u});var p=this.getFeatureFlagDetails(e),f=[...null!=(m=this.os(t2))?m:[]];O(n)&&f.push("flag_missing");var v={$feature_flag:e,$feature_flag_response:n,$feature_flag_payload:s||null,$feature_flag_request_id:o,$feature_flag_evaluated_at:l,$feature_flag_bootstrapped_response:(null==(_=this.Bt.bootstrap)||null==(_=_.featureFlags)?void 0:_[e])||null,$feature_flag_bootstrapped_payload:(null==(b=this.Bt.bootstrap)||null==(b=b.featureFlagPayloads)?void 0:b[e])||null,$used_bootstrap_value:!this.rs};O(null==p||null==(y=p.metadata)?void 0:y.version)||(v.$feature_flag_version=p.metadata.version);var g,m,_,b,y,x,w,E,A,S,$,T=null!=(x=null==p||null==(w=p.reason)?void 0:w.description)?x:null==p||null==(E=p.reason)?void 0:E.
16code;T&&(v.$feature_flag_reason=T),null!=p&&null!=(A=p.metadata)&&A.id&&(v.$feature_flag_id=p.metadata.id),O(null==p?void 0:p.original_variant)&&O(null==p?void 0:p.original_enabled)||(v.$feature_flag_original_response=O(p.original_variant)?p.original_enabled:p.original_variant),null!=p&&null!=(S=p.metadata)&&S.original_payload&&(v.$feature_flag_original_payload=null==p||null==($=p.metadata)?void 0:$.original_payload),f.length&&(v.$feature_flag_error=f.join(",")),this._instance.capture("$feature_flag_called",v)}if(i){var k=s;if(!O(s))try{k=JSON.parse(s)}catch(e){}return{key:e,enabled:!!n,variant:"string"==typeof n?n:void 0,payload:k}}}}else sD.warn('getFeatureFlagResult for key "'+e+sj)}getRemoteConfigPayload(e,t){var r=this.Bt.token,i={distinct_id:this._instance.get_distinct_id(),token:r};this.cs()&&(i.evaluation_contexts=this.hs()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:i,compression:this.Bt.disable_compression?void 0:i$.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback(r){var i,n=null==(i=r.json)?void 0:i.featureFlagPayloads;t((null==n?void 0:n[e])||void 0)}})}isFeatureEnabled(e,t){if(void 0===t&&(t={}),!t.fresh||this.rs){if(this.Kn||this.getFlags()&&this.getFlags().length>0){var r=this.getFeatureFlag(e,t);return O(r)?void 0:!!r}sD.warn('isFeatureEnabled for key "'+e+sj)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(t=>t!==e)}receivedFeatureFlags(e,t,r){if(this.ni){this.Kn=!0;var i=this.getFlagVariants(),n=this.getFlagPayloads(),s=this.getFlagsWithDetails();!function(e,t,r,i,n,s){void 0===r&&(r={}),void 0===i&&(i={}),void 0===n&&(n={});var a,o=((a=e.flags)?(e.featureFlags=Object.fromEntries(Object.keys(a).map(e=>{var t;return[e,null!=(t=a[e].variant)?t:a[e].enabled]})),e.featureFlagPayloads=Object.fromEntries(Object.keys(a).filter(e=>a[e].enabled).filter(e=>{var t;return null==(t=a[e].metadata)?void 0:t.payload}).map(e=>{var t;return[e,null==(t=a[e].metadata)?void 0:t.payload]}))):sD.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),e),l=o.flags,u=o.featureFlags,c=o.featureFlagPayloads;if(u){var d=e.requestId,h=e.evaluatedAt;if(C(u)){sD.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var p={};if(u)for(var f=0;u.length>f;f++)p[u[f]]=!0;t&&t.register({[tB]:u,[tU]:p})}else{var v=u,g=c,m=l;if(null!=s&&s.partialResponse)v=_({},r,v),g=_({},i,g),m=_({},n,m);else if(e.errorsWhileComputingFlags)if(l){var b=new Set(Object.keys(l).filter(e=>{var t;return!(null!=(t=l[e])&&t.failed)}));v=_({},r,Object.fromEntries(Object.entries(v).filter(e=>{var[t]=e;return b.has(t)}))),g=_({},i,Object.fromEntries(Object.entries(g||{}).filter(e=>{var[t]=e;return b.has(t)}))),m=_({},n,Object.fromEntries(Object.entries(m||{}).filter(e=>{var[t]=e;return b.has(t)})))}else v=_({},r,v),g=_({},i,g),m=_({},n,m);t&&t.register(_({[tB]:Object.keys(sB(v)),[tU]:v||{},[tH]:g||{},[tz]:m||{}},d?{[tW]:d}:{},h?{[t3]:h}:{}))}}}(e,this.ni,i,n,s,r),t||(this.ss=!1),this.ps(t)}}override(e,t){void 0===t&&(t=!1),sD.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.ni)return sD.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(!1===e)return this.ni.unregister(tq),this.ni.unregister(tX),this.ps(),sF.info("All overrides cleared");if(C(e)){var t,r=sU(e);return this.ni.register({[tq]:r}),this.ps(),sF.info("Flag overrides set",{flags:e})}if(e&&"object"==typeof e&&("flags"in e||"payloads"in e)){if(this.Jn=!!(null!=(t=e.suppressWarning)&&t),"flags"in e){if(!1===e.flags)this.ni.unregister(tq),sF.info("Flag overrides cleared");else if(e.flags){if(C(e.flags)){var i=sU(e.flags);this.ni.register({[tq]:i})}else this.ni.register({[tq]:e.flags});sF.info("Flag overrides set",{flags:e.flags})}}return"payloads"in e&&(!1===e.payloads?(this.ni.unregister(tX),sF.info("Payload overrides cleared")):e.payloads&&(this.ni.register({[tX]:e.payloads}),sF.info("Payload overrides set",{payloads:e.payloads}))),void this.ps()}if(e&&"object"==typeof e)return this.ni.register({[tq]:e}),this.ps(),sF.info("Flag overrides set",{flags:e});sD.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Kn){var{flags:t,flagVariants:r}=this.gs();e(t,r)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,r){var i,n=(this.os(tG)||[]).find(t=>t.flagKey===e),s={["$feature_enrollment/"+e]:t},a={$feature_flag:e,$feature_enrollment:t,$set:s};n&&(a.$early_access_feature_name=n.name),r&&(a.$feature_enrollment_stage=r),this._instance.capture("$feature_enrollment_update",a),this.setPersonPropertiesForFlags(s,!1);var o=_({},this.getFlagVariants(),{[e]:t});null==(i=this.ni)||i.register({[tB]:Object.keys(sB(o)),[tU]:o}),this.ps()}getEarlyAccessFeatures(e,t,r){void 0===t&&(t=!1);var i=this.os(tG),n=r?"&"+r.map(e=>"stage="+e).join("&"):"";if(i&&!t)return e(i);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Bt.token+n),method:"GET",callback:t=>{var r,i;if(t.json){var n=t.json.earlyAccessFeatures;return null==(r=this.ni)||r.unregister(tG),null==(i=this.ni)||i.register({[tG]:n}),e(n)}}})}gs(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter(e=>t[e]),flagVariants:Object.keys(t).filter(e=>t[e]).reduce((e,r)=>(e[r]=t[r],e),{})}}ps(e){var{flags:t,flagVariants:r}=this.gs();
16this.featureFlagEventHandlers.forEach(i=>i(t,r,{errorsLoading:e}))}setPersonPropertiesForFlags(e,t){void 0===t&&(t=!0);var r=this.os(tK)||{},i=(null==e?void 0:e.$set)||(null!=e&&e.$set_once?{}:e),n=null==e?void 0:e.$set_once,s={};if(n)for(var a in n)({}).hasOwnProperty.call(n,a)&&(a in r||(s[a]=n[a]));this._instance.register({[tK]:_({},r,s,i)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(tK)}setGroupPropertiesForFlags(e,t){void 0===t&&(t=!0);var r=this.os(tY)||{};0!==Object.keys(r).length&&Object.keys(r).forEach(t=>{r[t]=_({},r[t],e[t]),delete e[t]}),this._instance.register({[tY]:_({},r,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.os(tY)||{};this._instance.register({[tY]:_({},t,{[e]:{}})})}else this._instance.unregister(tY)}reset(){this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.$anon_distinct_id=void 0,this.fs(),this.Jn=!1}}},sY=_({productTours:class{get ni(){return this._instance.persistence}constructor(e){this.Ao=null,this.Eo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ni&&this.ni.register({[tI]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||null==(t=e.persistence)||!t.get_property(tI)||this.ur(()=>this.Ro())}ur(e){var t,r;null!=(t=p.__PosthogExtensions__)&&t.generateProductTours?e():null==(r=p.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,"product-tours",t=>{t?sS.error("Could not load product tours script",t):e()})}Ro(){var e;!this.Ao&&null!=(e=p.__PosthogExtensions__)&&e.generateProductTours&&(this.Ao=p.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(void 0===t&&(t=!1),!C(this.Eo)||t){var r=this.ni;if(r){var i=r.props[tJ];if(C(i)&&!t)return this.Eo=i,void e(i,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:t=>{var i=t.statusCode;if(200!==i||!t.json){var n="Product Tours API could not be loaded, status: "+i;return sS.error(n),void e([],{isLoaded:!1,error:n})}var s=C(t.json.product_tours)?t.json.product_tours:[];this.Eo=s,r&&r.register({[tJ]:s}),e(s,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){D(this.Ao)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Ao.getActiveProductTours(e)}showProductTour(e){var t;null==(t=this.Ao)||t.showTourById(e)}previewTour(e){this.Ao?this.Ao.previewTour(e):this.ur(()=>{var t;this.Ro(),null==(t=this.Ao)||t.previewTour(e)})}dismissProductTour(){var e;null==(e=this.Ao)||e.dismissTour("user_clicked_skip")}nextStep(){var e;null==(e=this.Ao)||e.nextStep()}previousStep(){var e;null==(e=this.Ao)||e.previousStep()}clearCache(){var e;this.Eo=null,null==(e=this.ni)||e.unregister(tJ)}resetTour(e){var t;null==(t=this.Ao)||t.resetTour(e)}resetAllTours(){var e;null==(e=this.Ao)||e.resetAllTours()}cancelPendingTour(e){var t;null==(t=this.Ao)||t.cancelPendingTour(e)}}},sK),sQ=_({surveys:class{get Bt(){return this._instance.config}constructor(e){this.jo=void 0,this._surveyManager=null,this.$o=!1,this.qo=[],this.Zo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Bt.disable_surveys){var t=e.surveys;if(D(t))return nw.warn("Flags not loaded yet. Not loading surveys.");var r=C(t);this.jo=r?t.length>0:t,nw.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var r=localStorage.key(t);(null!=r&&r.startsWith(nE)||null!=r&&r.startsWith("inProgressSurvey_"))&&e.push(r)}e.forEach(e=>localStorage.removeItem(e))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)nw.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)nw.info(sO);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())nw.info("Not loading surveys in cookieless mode without consent.");else{var e=null==p?void 0:p.__PosthogExtensions__;if(e){if(!O(this.jo)||this.Bt.advanced_enable_surveys){var t=this.jo||this.Bt.advanced_enable_surveys;this.$o=!0;try{var r=e.generateSurveys;if(r)return void this.Ho(r,t);var i=e.loadExternalDependency;if(!i)return void this.Vo(ra);i(this._instance,"surveys",r=>{r||!e.generateSurveys?this.Vo("Could not load surveys script",r):this.Ho(e.generateSurveys,t)})}catch(e){throw this.Vo("Error initializing surveys",e),e}finally{this.$o=!1}}}else nw.error("PostHog Extensions not found.")}}Ho(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new sI(this._instance),nw.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Vo(e,t){nw.error(e,t),this.zo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.qo.push(e),this._surveyManager&&this.zo({isLoaded:!0}),()=>{this.qo=this.qo.filter(t=>t!==e)}}getSurveys(e,t){if(void 0===t&&(t=!1),this.Bt.disable_surveys)return nw.info(sO),e([]);var r,i=this._instance.get_property(tQ);if(i&&!t)return e(i,{isLoaded:!0});"undefined"!=typeof Promise&&this.Zo?this.Zo.then(t=>{var{surveys:r,context:i}=t;return e(r,i)}):("undefined"!=typeof Promise&&(this.Zo=new Promise(e=>{r=e})),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Bt.token),method:"GET",timeout:this.Bt.surveys_request_timeout_ms,callback:t=>{this.Zo=null;var i=t.statusCode;if(200!==i||!t.json){var n="Surveys API could not be loaded, status: "+i;nw.error(n);var s={isLoaded:!1,error:n};return e([],s),void(null==r||r({surveys:[],context:s}))}var a,o,l=t.json.surveys||[],u=l.filter(e=>{var t,r;return!(!e.start_date||e.end_date)&&(!(null==(t=e.conditions)||null==(t=t.events)||null==(t=t.values)||!t.length)||!(null==(r=e.conditions)||null==(r=r.actions)||null==(r=r.values)||!r.length))});u.length>0&&(null==(o=this._surveyEventReceiver)||o.register(u)),null==(a=this._instance.persistence)||a.register({[tQ]:l});var c={isLoaded:!0};e(l,c),null==r||r({surveys:l,context:c})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);
16this.getSurveys(t)}catch(e){nw.error("Error in survey callback",e)}}getActiveMatchingSurveys(e,t){if(void 0===t&&(t=!1),!D(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);nw.warn("init was not called")}Uo(e){var t=null;return this.getSurveys(r=>{var i;t=null!=(i=r.find(t=>t.id===e))?i:null}),t}Yo(e){if(D(this._surveyManager))return{eligible:!1,reason:sV};var t="string"==typeof e?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(D(this._surveyManager))return nw.warn("init was not called"),{visible:!1,disabledReason:sV};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return D(this._surveyManager)?(nw.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:sV})):new Promise(r=>{this.getSurveys(t=>{var i,n=null!=(i=t.find(t=>t.id===e))?i:null;if(n){var s=this.Yo(n);r({visible:s.eligible,disabledReason:s.reason})}else r({visible:!1,disabledReason:"Survey not found"})},t)})}renderSurvey(e,t,r){var i;if(D(this._surveyManager))nw.warn("init was not called");else{var n="string"==typeof e?this.Uo(e):e;if(null!=n&&n.id)if(nA.includes(n.type)){var s=null==a?void 0:a.querySelector(t);if(s)return null!=(i=n.appearance)&&i.surveyPopupDelaySeconds?(nw.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout(()=>{var e,t;nw.info("Rendering survey "+n.id+" with delay of "+(null==(e=n.appearance)?void 0:e.surveyPopupDelaySeconds)+" seconds"),null==(t=this._surveyManager)||t.renderSurvey(n,s,r),nw.info("Survey "+n.id+" rendered")},1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,s,r);nw.warn("Survey element not found")}else nw.warn("Surveys of type "+n.type+" cannot be rendered in the app");else nw.warn("Survey not found")}}displaySurvey(e,t){var r;if(D(this._surveyManager))nw.warn("init was not called");else{var i=this.Uo(e);if(i){var n=i;if(null!=(r=i.appearance)&&r.surveyPopupDelaySeconds&&t.ignoreDelay&&(n=_({},i,{appearance:_({},i.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==ib.Popover&&t.initialResponses&&nw.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),!1===t.ignoreConditions){var s=this.canRenderSurvey(i);if(!s.visible)return void nw.warn("Survey is not eligible to be displayed: ",s.disabledReason)}t.displayType!==ib.Inline?this._surveyManager.handlePopoverSurvey(n,t):this.renderSurvey(n,t.selector,t.properties)}else nw.warn("Survey not found")}}cancelPendingSurvey(e){D(this._surveyManager)?nw.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;null==(e=this._surveyManager)||e.handlePageUnload()}}},sK),sZ=_({experiments:sW},sK),sJ=_({},sK,{sessionRecording:class{get Bt(){return this._instance.config}get ni(){return this._instance.persistence}get started(){var e;return!(null==(e=this.ys)||!e.isStarted)}get status(){var e,t;return this.bs===sb||this.bs===sy?this.bs:null!=(e=null==(t=this.ys)?void 0:t.status)?e:this.bs}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.bs=sm,this._s=void 0,this._instance=e,!this._instance.sessionManager)throw sw.error("started without valid sessionManager"),Error(sx+" started without valid sessionManager. This is a bug.");if(this.Bt.cookieless_mode===rl)throw Error(sx+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get ws(){var e,t=!(null==(e=this._instance.get_property(tO))||!e.enabled),r=!this.Bt.disable_session_recording,n=this.Bt.disable_session_recording||this._instance.consent.isOptedOut();return i&&t&&r&&!n}startIfEnabledOrStop(e){var t;if(!this.ws||null==(t=this.ys)||!t.isStarted){var r=!O(Object.assign)&&!O(Array.from);this.ws&&r?(this.Is(e),sw.info("starting")):(this.bs=sm,this.stopRecording())}}Is(e){var t,r,i;this.ws&&(this.bs!==sb&&this.bs!==sy&&(this.bs=s_),null!=p&&null!=(t=p.__PosthogExtensions__)&&null!=(t=t.rrweb)&&t.record&&null!=(r=p.__PosthogExtensions__)&&r.initSessionRecording?this.Cs(e):null==(i=p.__PosthogExtensions__)||null==i.loadExternalDependency||i.loadExternalDependency(this._instance,this.Ss,t=>{if(t)return sw.error("could not load recorder",t);this.Cs(e)}))}stopRecording(){var e,t;null==(e=this._s)||e.call(this),this._s=void 0,null==(t=this.ys)||t.stop()}xs(){var e,t;null==(e=this._s)||e.call(this),this._s=void 0,null==(t=this.ys)||t.discard()}ks(){var e;null==(e=this.ni)||e.unregister(tj)}Ts(e,t){if(D(e))return null;var r=F(e)?e:parseFloat(e);return"number"!=typeof r||!Number.isFinite(r)||0>r||r>1?(sw.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):r}As(e){if(this.ni){var t,r,i=this.ni,n=()=>{var t,r=!1===e.sessionRecording?void 0:e.sessionRecording,n=this.Ts(null==(t=this.Bt.session_recording)?void 0:t.sampleRate,"session_recording.sampleRate"),s=this.Ts(null==r?void 0:r.sampleRate,"remote config sampleRate"),a=null!=n?n:s;D(a)&&this.ks();var o=null==r?void 0:r.minimumDurationMilliseconds;i.register({[tO]:_({cache_timestamp:Date.now(),enabled:!!r},r,{networkPayloadCapture:_({capturePerformance:e.capturePerformance},null==r?void 0:r.networkPayloadCapture),canvasRecording:{enabled:null==r?void 0:r.recordCanvas,fps:null==r?void 0:r.canvasFps,quality:null==r?void 0:r.canvasQuality},sampleRate:a,minimumDurationMilliseconds:O(o)?null:o,endpoint:null==r?void 0:r.endpoint,triggerMatchType:null==r?void 0:r.triggerMatchType,masking:null==r?void 0:r.masking,urlTriggers:null==r?void 0:r.urlTriggers,version:null==r?void 0:r.version,triggerGroups:null==r?void 0:r.triggerGroups})})};n(),null==(t=this._s)||t.call(this),this._s=null==(r=this._instance.sessionManager)?void 0:r.onSessionId(n)}}onRemoteConfig(e){return"sessionRecording"in e?!1===e.sessionRecording?(this.As(e),void this.xs()):(this.As(e),void this.startIfEnabledOrStop()):(this.bs===sb&&(this.bs=sy,sw.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var r;void 0===t&&(t="log"),null!=(r=this.ys)&&r.log?this.ys.log(e,t):sw.warn("log called before recorder was ready")}get Ss(){var e,t,r=null==(e=this._instance)||null==(e=e.persistence)?void 0:e.get_property(tO);return(null==r||null==(t=r.scriptConfig)?void 0:t.script)||"lazy-recorder"}Es(){var e,t=this._instance.get_property(tO);if(!t)return!1;var r=null!=(e=("object"==typeof t?t:JSON.parse(t)).cache_timestamp)?e:Date.now();return 36e5>=Date.now()-r}Cs(e){var t,r;if(null==(t=p.__PosthogExtensions__)||!t.initSessionRecording)return sw.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[rs]:!0});if(this.ys||(this.ys=null==(r=p.__PosthogExtensions__)?void 0:r.initSessionRecording(this._instance),this.ys._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Es()){if
16(this.bs===sy||this.bs===sb)return;return this.bs=sb,sw.info("persisted remote config is stale, requesting fresh config before starting"),void new iS(this._instance).load()}this.bs=s_,this.ys.start(e)}onRRwebEmit(e){var t;null==(t=this.ys)||null==t.onRRwebEmit||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.ys||null==(t=this.ni)||t.register({[tN]:!0}),null==(e=this.ys)||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.ys||null==(t=this.ni)||t.register({[tL]:!0}),null==(e=this.ys)||e.overrideSampling()}overrideTrigger(e){var t,r;this.ys||null==(r=this.ni)||r.register({["url"===e?tM:tD]:!0}),null==(t=this.ys)||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return(null==(e=this.ys)?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var r;return!(null==(r=this.ys)||!r.tryAddCustomEvent(e,t))}}},{autocapture:class{constructor(e){this.Rs=!1,this.Ns=null,this.Ms=!1,this.instance=e,this.rageclicks=new su(e.config.rageclick),this.Fs=null}initialize(){this.startIfEnabled()}get Bt(){var e,t,r=I(this.instance.config.autocapture)?this.instance.config.autocapture:{};return r.url_allowlist=null==(e=r.url_allowlist)?void 0:e.map(e=>new RegExp(e)),r.url_ignorelist=null==(t=r.url_ignorelist)?void 0:t.map(e=>new RegExp(e)),r}Os(){if(this.isBrowserSupported()){if(i&&a){var e=e=>{e=e||(null==i?void 0:i.event);try{this.Ps(e)}catch(e){sd.error("Failed to capture event",e)}};if(r$(a,"submit",e,{capture:!0}),r$(a,"change",e,{capture:!0}),r$(a,"click",e,{capture:!0}),this.Bt.capture_copied_text){var t=e=>{e=e||(null==i?void 0:i.event);try{this.Ps(e,sc)}catch(e){sd.error("Failed to capture copy/cut event",e)}};r$(a,"copy",t,{capture:!0}),r$(a,"cut",t,{capture:!0})}}}else sd.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.Rs&&(this.Os(),this.Rs=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.Ms=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[tS]:!!e.autocapture_opt_out}),this.Ns=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.Fs=e}getElementSelectors(e){var t,r=[];return null==(t=this.Fs)||t.forEach(t=>{var i=null==a?void 0:a.querySelectorAll(t);null==i||i.forEach(i=>{e===i&&r.push(t)})}),r}get isEnabled(){var e,t,r=null==(e=this.instance.persistence)?void 0:e.props[tS];if(M(this.Ns)&&!U(r)&&!this.instance.Fr())return!1;var i=null!=(t=this.Ns)?t:!!r;return!!this.instance.config.autocapture&&!i}Ps(e,t){if(void 0===t&&(t="$autocapture"),this.isEnabled){var r,n=n0(e);nq(n)&&(n=n.parentNode||null),"$autocapture"===t&&"click"===e.type&&e instanceof MouseEvent&&this.instance.config.rageclick&&null!=(r=this.rageclicks)&&r.isRageClick(e.clientX,e.clientY,e.timeStamp||(new Date).getTime())&&function(e,t){if(!i||n6(e)||(U(t)?(r=!!t&&n4,n=void 0):(r=null!=(s=null==t?void 0:t.css_selector_ignorelist)?s:n4,n=null==t?void 0:t.content_ignorelist),!1===r))return!1;var r,n,s,{targetElementList:a}=n7(e,!1);return!function(e,t){var r;if(!1===e||O(e))return!1;if(!0===e)r=n5;else{if(!C(e))return!1;if(e.length>10)return tm.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;r=e.map(e=>e.toLowerCase())}return t.some(e=>{var{safeText:t,ariaLabel:i}=e;return r.some(e=>t.includes(e)||i.includes(e))})}(n,a.map(e=>{var t;return{safeText:nJ(e).toLowerCase(),ariaLabel:(null==(t=e.getAttribute("aria-label"))?void 0:t.toLowerCase().trim())||""}}))&&!n2(a,r)}(n,this.instance.config.rageclick)&&this.Ps(e,"$rageclick");var s=t===sc;if(n&&function(e,t,r,n,s){if(void 0===r&&(r=void 0),!i||n6(e)||null!=(a=r)&&a.url_allowlist&&!nY(r.url_allowlist)||null!=(o=r)&&o.url_ignorelist&&nY(r.url_ignorelist))return!1;if(null!=(l=r)&&l.dom_event_allowlist){var a,o,l,u,c=r.dom_event_allowlist;if(c&&!c.some(e=>t.type===e))return!1}var{parentIsUsefulElement:d,targetElementList:h}=n7(e,n);if(!function(e,t){var r=null==t?void 0:t.element_allowlist;if(O(r))return!0;var i,n=function(e){if(r.some(t=>e.tagName.toLowerCase()===t))return{v:!0}};for(var s of e)if(i=n(s))return i.v;return!1}(h,r)||!n2(h,null==(u=r)?void 0:u.css_selector_allowlist))return!1;var p=i.getComputedStyle(e);
16if(p&&"pointer"===p.getPropertyValue("cursor")&&"click"===t.type)return!0;var f=e.tagName.toLowerCase();switch(f){case"html":return!1;case"form":return(s||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(s||["change","click"]).indexOf(t.type)>=0;default:return d?(s||["click"]).indexOf(t.type)>=0:(s||["click"]).indexOf(t.type)>=0&&(n1.indexOf(f)>-1||"true"===e.getAttribute("contenteditable"))}}(n,e,this.Bt,s,s?["copy","cut"]:void 0)){var{props:a,explicitNoCapture:o}=function(e,t){var r,n,{e:s,maskAllElementAttributes:a,maskAllText:o,elementAttributeIgnoreList:l,elementsChainAsString:u}=t;if(!nH(e))return{props:{}};for(var c=[e],d=e;d.parentNode&&!nW(d,"body");)if(nX(d.parentNode))c.push(d.parentNode.host),d=d.parentNode.host;else{if(!nH(d.parentNode))break;c.push(d.parentNode),d=d.parentNode}var h,p=[],f={},v=!1,g=!1;if(rb(c,e=>{var t=n9(e);if(nW(e,"a")){var r=e.getAttribute("href");v=t&&!!r&&sa(r)&&r}A(nQ(e),"ph-no-capture")&&(g=!0),p.push(function(e,t,r,i){var n=e.tagName.toLowerCase(),s={tag_name:n};n1.indexOf(n)>-1&&!r&&(s.$el_text="a"===n.toLowerCase()||"button"===n.toLowerCase()?sh(1024,so(e)):sh(1024,nJ(e)));var a=nQ(e);a.length>0&&(s.classes=a.filter(function(e){return""!==e})),rb(e.attributes,function(r){var n;if((!n8(e)||-1!==["name","id","class","aria-label"].indexOf(r.name))&&(null==i||!i.includes(r.name))&&!t&&sa(r.value)&&(!L(n=r.name)||"_ngcontent"!==n.substring(0,10)&&"_nghost"!==n.substring(0,7))){var a=r.value;"class"===r.name&&(a=nK(a).join(" ")),s["attr__"+r.name]=sh(1024,a)}});for(var o=1,l=1,u=e;u=function(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!nH(t));return t}(u);)o++,u.tagName===e.tagName&&l++;return s.nth_child=o,s.nth_of_type=l,s}(e,a,o,l)),ry(f,function(e){if(!n9(e))return{};var t={};return rb(e.attributes,function(e){if(e.name&&0===e.name.indexOf("data-ph-capture-attribute")){var r=e.name.replace("data-ph-capture-attribute-",""),i=e.value;r&&i&&sa(i)&&(t[r]=i)}}),t}(e))}),g)return{props:{},explicitNoCapture:g};if(o||(p[0].$el_text=nW(e,"a")||nW(e,"button")?so(e):nJ(e)),v){p[0].attr__href=v;var m,b,y=null==(m=r3(v))?void 0:m.host,x=null==i||null==(b=i.location)?void 0:b.host;y&&x&&y!==x&&(h=v)}return{props:ry({$event_type:s.type,$ce_version:1},u?{}:{$elements:p},{$elements_chain:p.map(e=>{var t,r,i,n={text:null==(r=e.$el_text)?void 0:r.slice(0,400),tag_name:e.tag_name,href:null==(i=e.attr__href)?void 0:i.slice(0,2048),attr_class:(t=e.attr__class)?C(t)?t:nK(t):void 0,attr_id:e.attr__id,nth_child:e.nth_child,nth_of_type:e.nth_of_type,attributes:{}};return rx(e).filter(e=>{var[t]=e;return 0===t.indexOf("attr__")}).forEach(e=>{var[t,r]=e;return n.attributes[t]=r}),n}).map(e=>{var t,r,i="";if(e.tag_name&&(i+=e.tag_name),e.attr_class)for(var n of(e.attr_class.sort(),e.attr_class))i+="."+n.replace(/"/g,"");var s=_({},e.text?{text:e.text}:{},{"nth-child":null!=(t=e.nth_child)?t:0,"nth-of-type":null!=(r=e.nth_of_type)?r:0},e.href?{href:e.href}:{},e.attr_id?{attr_id:e.attr_id}:{},e.attributes),a={};return rx(s).sort((e,t)=>{var[r]=e,[i]=t;return r.localeCompare(i)}).forEach(e=>{var[t,r]=e;return a[sl(t.toString())]=sl(r.toString())}),(i+=":")+rx(a).map(e=>{var[t,r]=e;return t+'="'+r+'"'}).join("")}).join(";")},null!=(r=p[0])&&r.$el_text?{$el_text:null==(n=p[0])?void 0:n.$el_text}:{},h&&"click"===s.type?{$external_click_url:h}:{},f)}}(n,{e:e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.Bt.element_attribute_ignorelist,elementsChainAsString:this.Ms});if(o)return!1;var l=this.getElementSelectors(n);if(l&&l.length>0&&(a.$element_selectors=l),t===sc){var u,c=nZ(null==i||null==(u=i.getSelection())?void 0:u.toString()),d=e.type||"clipboard";if(!c)return!1;a.$selected_content=c,a.$copy_type=d}return this.instance.capture(t,a),!0}}}isBrowserSupported(){return R(null==a?void 0:a.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.Ls=(null==i||null==(t=i.location)?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return"history_change"===this._instance.config.capture_pageview}startIfEnabled(){this.isEnabled&&(tm.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.Ds&&this.Ds(),this.Ds=void 0,tm.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(i&&i.history){var r=this;null!=(e=i.history.pushState)&&e.__posthog_wrapped__||sf(i.history,"pushState",e=>function(t,i,n){e.call(this,t,i,n),r.Bs("pushState")}),null!=(t=i.history.replaceState)&&t.__posthog_wrapped__||sf(i.history,"replaceState",e=>function(t,i,n){e.call(this,t,i,n),r.Bs("replaceState")}),this.js()}}Bs(e){try{var t,r=null==i||null==(t=i.location)?void 0:t.pathname;if(!r)return;r!==this.Ls&&this.isEnabled&&this._instance.capture(rf,{navigation_type:e}),this.Ls=r}catch(t){tm.error("Error capturing "+e+" pageview",t)}}js(){if(!this.Ds){var e=()=>{this.Bs("popstate")};r$(i,"popstate",e),this.Ds=()=>{i&&i.removeEventListener("popstate",e)}}}},heatmaps:class{get Bt(){return this.instance.config}constructor(e){var t;this.$s=!1,this.Rs=!1,this.qs=null,this.instance=e,this.$s=!(null==(t=this.instance.persistence)||!t.props[t$]),this.rageclicks=new su(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return I(this.Bt.capture_heatmaps)&&this.Bt.capture_heatmaps.flush_interval_milliseconds&&(e=this.Bt.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return D(this.Bt.capture_heatmaps)?D(this.Bt.enable_heatmaps)?this.$s:this.Bt.enable_heatmaps:!1!==this.Bt.capture_heatmaps}startIfEnabled(){if(this.isEnabled)this.Rs||(sE.info("starting..."),this.Zs(),this.Ft());else{var e;clearInterval(null!=(e=this.qs)?e:void 0),this.Hs(),this.getAndClearBuffer()}}onRemoteConfig(e){if("heatmaps"in e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[t$]:t}),this.$s=t,this.startIfEnabled()}}getAndClearBuffer(){var e=this.T;return this.T=void 0,e}Vs(e){this.Tt(e.originalEvent,"deadclick")}Ft(){this.qs&&clearInterval(this.qs),this.qs="visible"===(null==a?void 0:a.visibilityState)?setInterval(this.Yr.bind(this),this.flushIntervalMilliseconds):null}Zs(){i&&a&&(this.zs=this.Yr.bind(this),r$(i,rp,this.zs),this.Us=e=>this.Tt(e||(null==i?void 0:i.event)),r$(a,"click",this.Us,{capture:!0}),this.Ys=e=>this.Gs(e||(null==i?void 0:i.event)),r$(a,"mousemove",this.Ys,{capture:!0}),this.Ws=new rK(this.instance,rq,this.Vs.bind(this)),this.Ws.startIfEnabledOrStop(),this.Xs=this.Ft.bind(this),r$(a,rh,this.Xs),this.Rs=!0)}Hs(){var e;i&&a&&(this.zs&&i.removeEventListener(rp,this.zs),this.Us&&a.removeEventListener("click",this.Us,{capture:!0}),this.Ys&&a.removeEventListener("mousemove",this.Ys,{capture:!0}),this.Xs&&a.removeEventListener(rh,this.Xs),clearTimeout(this.Js),null==(e=this.Ws)||e.stop(),this.Rs=!1)}Ks(e,t){var r=this.instance.scrollManager.scrollY(),n=this.instance.scrollManager.scrollX(),s=this.instance.scrollManager.scrollElement(),a=function(e,t,r){for(var n=e;n&&nH(n)&&!nW(n,"body")&&n!==r;){if(A(t,null==i?void 0:i.getComputedStyle(n).position))return!0;n=n3(n)}return!1}(n0(e),["fixed","sticky"],s);return{x:e.clientX+(a?0:n),y:e.clientY+(a?0:r),target_fixed:a,type:t}}Tt(e,t){var r;if(void 0===t&&(t="click"),!nz(e.target)&&sA(e)){var i=this.Ks(e,t);null!=(r=this.rageclicks)&&r.isRageClick(e.clientX,e.clientY,(new Date).getTime())&&this.Qs(_({},i,{type:"rageclick"})),this.Qs(i)}}Gs(e){!nz(e.target)&&sA(e)&&(clearTimeout(this.Js),this.Js=setTimeout(()=>{this.Qs(this.Ks(e,"mousemove"))},500))}Qs(e){if(i){var t=i.location.href,r=this.Bt.custom_personal_data_properties,n=r4(t,this.Bt.mask_personal_data_properties?[...r9,...r||[]]:[],ie);this.T=this.T||{},this.T[n]||(this.T[n]=[]),this.T[n].push(e)}}Yr(){this.T&&!V(this.T)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:rK,webVitalsAutocapture:class{constructor(e){var t;this.$s=!1,this.Rs=!1,this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.eo=()=>{clearTimeout(this.ro),0!==this.T.metrics.length&&(this._instance.capture("$web_vitals",this.T.metrics.reduce((e,t)=>
16_({},e,{["$web_vitals_"+t.name+"_event"]:_({},t),["$web_vitals_"+t.name+"_value"]:t.value}),{})),this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.ht=e=>{var t,r=null==(t=this._instance.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0);if(O(r))sg.error("Could not read session ID. Dropping metrics!");else{this.T=this.T||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var i=this.io();O(i)||(D(null==e?void 0:e.name)||D(null==e?void 0:e.value)?sg.error("Invalid metric received",e):!this.no||this.no>e.value?(this.T.url!==i&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),O(this.T.url)&&(this.T.url=i),this.T.firstMetricTimestamp=O(this.T.firstMetricTimestamp)?Date.now():this.T.firstMetricTimestamp,e.attribution&&e.attribution.interactionTargetElement&&(e.attribution.interactionTargetElement=void 0),this.T.metrics.push(_({},e,{$current_url:i,$session_id:r.sessionId,$window_id:r.windowId,timestamp:Date.now()})),this.T.metrics.length===this.allowedMetrics.length&&this.eo()):sg.error("Ignoring metric with value >= "+this.no,e))}},this.so=()=>{if(!this.Rs){var e,t,r,i,n=p.__PosthogExtensions__;O(n)||O(n.postHogWebVitalsCallbacks)||({onLCP:e,onCLS:t,onFCP:r,onINP:i}=n.postHogWebVitalsCallbacks),e&&t&&r&&i?(this.allowedMetrics.indexOf("LCP")>-1&&e(this.ht.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&t(this.ht.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&r(this.ht.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&i(this.ht.bind(this)),this.Rs=!0):sg.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.$s=!(null==(t=this._instance.persistence)||!t.props[tC]),this.startIfEnabled()}get oo(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,r=I(this.oo)?null==(e=this.oo)?void 0:e.web_vitals_allowed_metrics:void 0;return D(r)?(null==(t=this._instance.persistence)?void 0:t.props[tV])||["CLS","FCP","INP","LCP"]:r}get flushToCaptureTimeoutMs(){return(I(this.oo)?this.oo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=I(this.oo)?this.oo.web_vitals_attribution:void 0;return null!=e&&e}get no(){var e=I(this.oo)&&F(this.oo.__web_vitals_max_value)?this.oo.__web_vitals_max_value:9e5;return e>0&&6e4>=e?9e5:e}get isEnabled(){var e=null==o?void 0:o.protocol;if("http:"!==e&&"https:"!==e)return sg.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=I(this.oo)?this.oo.web_vitals:U(this.oo)?this.oo:void 0;return U(t)?t:this.$s}startIfEnabled(){this.isEnabled&&!this.Rs&&(sg.info("enabled, starting..."),this.ur(this.so))}onRemoteConfig(e){if("capturePerformance"in e){var t=I(e.capturePerformance)&&!!e.capturePerformance.web_vitals,r=I(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[tC]:t}),this._instance.persistence.register({[tV]:r})),this.$s=t,this.startIfEnabled()}}ur(e){var t,r;null!=(t=p.__PosthogExtensions__)&&t.postHogWebVitalsCallbacks?e():null==(r=p.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",t=>{t?sg.error("failed to load script",t):e()})}io(){var e=i?i.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties;return r4(e,this._instance.config.mask_personal_data_properties?[...r9,...t||[]]:[],ie)}sg.error("Could not determine current URL")}}},{exceptionObserver:class{constructor(e){var t,r,n;this.so=()=>{var e;if(i&&this.isEnabled&&null!=(e=p.__PosthogExtensions__)&&e.errorWrappingFunctions){var t=p.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,r=p.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,n=p.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ao&&this.Bt.capture_unhandled_errors&&(this.ao=t(this.captureException.bind(this))),!this.lo&&this.Bt.capture_unhandled_rejections&&(this.lo=r(this.captureException.bind(this))),!this.uo&&this.Bt.capture_console_errors&&(this.uo=n(this.captureException.bind(this)))}catch(e){sp.error("failed to start",e),this.ho()}}},this._instance=e,this.co=!(null==(t=this._instance.persistence)||!t.props[tT]),this.do=new Y({refillRate:null!=(r=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)?r:1,bucketSize:null!=(n=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)?n:10,refillInterval:1e4,Gt:sp}),this.Bt=this.vo(),this.startIfEnabledOrStop()}vo(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return I(e)?t=_({},t,e):(O(e)?this.co:e)&&(t=_({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.Bt.capture_console_errors||this.Bt.capture_unhandled_errors||this.Bt.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(sp.info("enabled"),this.ho(),this.ur(this.so)):this.ho()}ur(e){var t,r;
16null!=(t=p.__PosthogExtensions__)&&t.errorWrappingFunctions&&e(),null==(r=p.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,"exception-autocapture",t=>{if(t)return sp.error("failed to load script",t);e()})}ho(){var e,t,r;null==(e=this.ao)||e.call(this),this.ao=void 0,null==(t=this.lo)||t.call(this),this.lo=void 0,null==(r=this.uo)||r.call(this),this.uo=void 0}onRemoteConfig(e){"autocaptureExceptions"in e&&(this.co=!!e.autocaptureExceptions,this._instance.persistence&&this._instance.persistence.register({[tT]:this.co}),this.Bt=this.vo(),this.startIfEnabledOrStop())}onConfigChange(){this.Bt=this.vo()}captureException(e){var t,r,i,n=null!=(t=null==e||null==(r=e.$exception_list)||null==(r=r[0])?void 0:r.type)?t:"Exception";this.do.consumeRateLimit(n)?sp.info("Skipping exception capture because of client rate limiting.",{exception:n}):null==(i=this._instance.exceptions)||i.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,r;this.fo=[],this.po=new eZ([new e8,new tu,new tt,new te,new to,new ta,new ti,new tl],function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;t>i;i++)r[i-1]=arguments[i];return function(t,i){void 0===i&&(i=0);for(var n=[],s=t.split("\n"),a=i;s.length>a;a++){var o=s[a];if(1024>=o.length){var l=e9.test(o)?o.replace(e9,"$1"):o;if(!l.match(/\S*Error: /)){for(var u of r){var c=u(l,e);if(c){n.push(c);break}}if(n.length>=50)break}}}if(!n.length)return[];var d=Array.from(n);return d.reverse(),d.slice(0,50).map(e=>_({},e,{filename:e.filename||(d[d.length-1]||{}).filename,function:e.function||"?"}))}}("web:javascript",e5,e7)),this._instance=e,this.fo=null!=(t=null==(r=this._instance.persistence)?void 0:r.get_property(tk))?t:[],this.mo=tf(this.yo()),this.bo=new tv(this.mo)}onConfigChange(){this.mo=tf(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,r,i;if("errorTracking"in e){var n=null!=(t=null==(r=e.errorTracking)?void 0:r.suppressionRules)?t:[],s=null==(i=e.errorTracking)?void 0:i.captureExtensionExceptions;this.fo=n,this._instance.persistence&&this._instance.persistence.register({[tk]:this.fo,[tP]:s})}}get _o(){var e,t=!!this._instance.get_property(tP),r=this._instance.config.error_tracking.captureExtensionExceptions;return null!=(e=null!=r?r:t)&&e}buildProperties(e,t){return this.po.buildFromUnknown(e,{syntheticException:null==t?void 0:t.syntheticException,mechanism:{handled:null==t?void 0:t.handled}})}addExceptionStep(e,t){if(this.mo.enabled)try{if(!L(e)||0===e.trim().length)return void sG.warn("Ignoring exception step because message must be a non-empty string");var r=this.wo(t),{sanitizedProperties:i,droppedKeys:n}=function(e){if(!e)return{sanitizedProperties:{},droppedKeys:[]};var t=[];return{sanitizedProperties:Object.keys(e).reduce((r,i)=>(th.has(i)?t.push(i):r[i]=e[i],r),{}),droppedKeys:t}}(r);n.length>0&&sG.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.bo.add(_({[tc]:e,[td]:(new Date).toISOString()},i))}catch(e){sG.error("Failed to add exception step. Ignoring breadcrumb.",e)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.Io(t)){if(this.Co(t))return this.So("Exception dropped: matched a suppression rule"),void sG.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.xo(t))return this.So("Exception dropped: thrown by a browser extension"),void sG.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ko(t))return this.So("Exception dropped: thrown by the PostHog SDK"),void sG.info("Skipping exception capture because it was thrown by the PostHog SDK")}var r=this.mo.enabled&&D(e.$exception_steps)?this.To(e):e;try{var i=this._instance.capture("$exception",r,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return i&&this.bo.clear(),i}catch(e){return sG.error("Failed to capture exception event. Dropping this exception.",e),void this.bo.clear()}}catch(e){return void sG.error("Failed to process exception event. Ignoring this exception.",e)}}To(e){try{var t=this.bo.getAttachable();return 0===t.length?e:_({},e,{$exception_steps:t})}catch(t){return sG.error("Failed to read buffered exception steps. Capturing exception without steps.",t),e}}So(e){this.mo.enabled&&this.bo.add({[tc]:e,[td]:(new Date).toISOString()})}wo(e){return I(e)?_({},e):{}}yo(){var e,t;return null!=(e=null==(t=this._instance.config.error_tracking)?void 0:t.exception_steps)?e:{}}Co(e){if(0===e.length)return!1;var t=e.reduce((e,t)=>
16{var{type:r,value:i}=t;return L(r)&&r.length>0&&e.$exception_types.push(r),L(i)&&i.length>0&&e.$exception_values.push(i),e},{$exception_types:[],$exception_values:[]});return this.fo.some(e=>{var r=e.values.map(e=>{var r,i=nv[e.operator],n=C(e.value)?e.value:[e.value],s=null!=(r=t[e.key])?r:[];return n.length>0&&i(n,s)});return"OR"===e.type?r.some(Boolean):r.every(Boolean)})}xo(e){return e.flatMap(e=>{var t,r;return null!=(t=null==(r=e.stacktrace)?void 0:r.frames)?t:[]}).some(e=>e.filename&&e.filename.startsWith("chrome-extension://"))}ko(e){if(e.length>0){var t,r,i,n,s=null!=(t=null==(r=e[0].stacktrace)?void 0:r.frames)?t:[],a=s[s.length-1];return null!=(i=null==a||null==(n=a.filename)?void 0:n.includes("posthog.com/static"))&&i}return!1}Io(e){return!D(e)&&C(e)}}},sY,{siteApps:class{constructor(e){this._instance=e,this.No=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Mo(e,t){if(t){var r=this.globalsForEvent(t);this.No.push(r),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var e;return null==(e=p._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Mo.bind(this));this.Fo=()=>{e(),this.No=[],this.Fo=void 0}}}globalsForEvent(e){if(!e)throw Error("Event payload is required");var t,r,i,n,s,a,o,l={},u=this._instance.get_property("$groups")||[];for(var[c,d]of Object.entries(this._instance.get_property("$stored_group_properties")||{}))l[c]={id:u[c],type:c,properties:d};var{$set_once:h,$set:p}=e;return{event:_({},b(e,s$),{properties:_({},e.properties,p?{$set:_({},null!=(t=null==(r=e.properties)?void 0:r.$set)?t:{},p)}:{},h?{$set_once:_({},null!=(i=null==(n=e.properties)?void 0:n.$set_once)?i:{},h)}:{}),elements_chain:null!=(s=null==(a=e.properties)?void 0:a.$elements_chain)?s:"",distinct_id:null==(o=e.properties)?void 0:o.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:l}}setupSiteApp(e){var t=this.apps[e.id],r=()=>{var r;!t.errored&&this.No.length&&(sT.info("Processing "+this.No.length+" events for site app with id "+e.id),this.No.forEach(e=>null==t.processEvent?void 0:t.processEvent(e)),t.processedBuffer=!0),Object.values(this.apps).every(e=>e.processedBuffer||e.errored)&&(null==(r=this.Fo)||r.call(this))},i=!1,n=n=>{t.errored=!n,t.loaded=!0,sT.info("Site app with id "+e.id+" "+(n?"loaded":"errored")),i&&r()};try{var{processEvent:s}=e.init({posthog:this._instance,callback(e){n(e)}});s&&(t.processEvent=s),i=!0}catch(t){sT.error(sk+e.id,t),n(!1)}if(i&&t.loaded)try{r()}catch(r){sT.error("Error while processing buffered events PostHog app with config id "+e.id,r),t.errored=!0}}Oo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var r of e)this.setupSiteApp(r)}Po(e){if(0!==Object.keys(this.apps).length){var t=this.globalsForEvent(e);for(var r of Object.values(this.apps))try{null==r.processEvent||r.processEvent(t)}catch(t){sT.error("Error while processing event "+e.event+" for site app "+r.id,t)}}}onRemoteConfig(e){var t,r,i,n=this;if(null!=(t=this.siteAppLoaders)&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",e=>this.Po(e))):void sT.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if(null==(r=this.Fo)||r.call(this),null!=(i=e.siteApps)&&i.length)if(this.isEnabled){var s=function(e){var t;p["__$$ph_site_app_"+e]=n._instance,null==(t=p.__PosthogExtensions__)||null==t.loadSiteApp||t.loadSiteApp(n._instance,o,t=>{if(t)return sT.error(sk+e,t)})};for(var{id:a,url:o}of e.siteApps)s(a)}else sT.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},sQ,{tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var e,t,r=this.Bo()||[];O(this.Lo)&&(null==(e=p.__PosthogExtensions__)||null==(e=e.tracingHeadersPatchFns)||e._patchXHR(r,this._instance.get_distinct_id(),this._instance.sessionManager)),O(this.Do)&&(null==(t=p.__PosthogExtensions__)||null==(t=t.tracingHeadersPatchFns)||t._patchFetch(r,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,r;null!=(t=p.__PosthogExtensions__)&&t.tracingHeadersPatchFns&&e(),null==(r=p.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,"tracing-headers",t=>{if(t)return sv.error("failed to load script",t);e()})}Bo(){var e;return null!=(e=this._instance.config.addTracingHeaders)?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Bo()?this.ur(this.so):(null==(e=this.Lo)||e.call(this),null==(t=this.Do)||t.call(this),this.Lo=void 0,this.Do=void 0)}}},{toolbar:class{constructor(e){this.instance=e}Go(e){p.ph_toolbar_state=e}Wo(){var e;return null!=(e=p.ph_toolbar_state)?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,r){if(void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===r&&(r=void 0),rT(this.instance.config)||!i||!a)return!1;e=null!=e?e:i.location,r=null!=r?r:i.history;try{if(!t){try{i.localStorage.setItem("test","test"),i.localStorage.removeItem("test")}catch(e){return!1}t=null==i?void 0:i.localStorage}var n,s=sL||r6(e.hash,"__posthog")||r6(e.hash,"state"),o=s?rw(()=>JSON.parse(atob(decodeURIComponent(s))))||rw(()=>JSON.parse(decodeURIComponent(s))):null;return o&&"ph_authorize"===o.action?((n=o).source="url",n&&Object.keys(n).length>0&&(o.desiredHash?e.hash=o.desiredHash:r?r.replaceState(r.state,"",e.pathname+e.search):e.hash="")):((n=JSON.parse(t.getItem(sN)||"{}")).source="localstorage",delete n.userIntent),!(!n.token||this.instance.config.token!==n.token||(this.loadToolbar(n),0))}catch(e){return!1}}Xo(e){var t=p.ph_load_toolbar||p.ph_load_editor;!D(t)&&R(t)?t(e,this.instance):sM.warn("No toolbar load function found")}loadToolbar(e){var t,r=!(null==a||!a.getElementById(rt));if(!i||r)return!1;var n="custom"===this.instance.requestRouter.region&&this.instance.config.advanced_disable_toolbar_metrics,s=_({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},n?{instrument:!1}:{});return(i.localStorage.setItem(sN,JSON.stringify(_({},s,{source:void 0}))),2===this.Wo())?this.Xo(s):0===this.Wo()&&(this.Go(1),null==(t=p.__PosthogExtensions__)||null==t.loadExternalDependency||t.loadExternalDependency(this.instance,"toolbar",e=>{if(e)return sM.error("[Toolbar] Failed to load",e),void this.Go(0);this.Go(2),this.Xo(s)}),r$(i,"turbolinks:load",()=>{this.Go(0),this.loadToolbar(s)})),!0}Jo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,r){return void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===r&&(r=void 0),this.maybeLoadToolbar(e,t,r)}}},sZ,{conversations:class{constructor(e){this.Ko=void 0,this._conversationsManager=null,this.Qo=!1,this.ea=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;D(t)||(U(t)?this.Ko=t:(this.Ko=t.enabled,this.ea=t),this.loadIfEnabled())}}reset(){var e;null==(e=this._conversationsManager)||e.reset(),this._conversationsManager=null,this.Ko=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Qo||this._instance.config.disable_conversations||rT(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=null==p?void 0:p.__PosthogExtensions__;if(e&&!O(this.Ko)&&this.Ko)if(this.ea&&this.ea.token){this.Qo=!0;try{var t=e.initConversations;if(t)return this.ta(t),void(this.Qo=!1);var r=e.loadExternalDependency;if(!r)return void this.ra(ra);r(this._instance,"conversations",t=>{t||!e.initConversations?this.ra("Could not load conversations script",t):this.ta(e.initConversations),this.Qo=!1})}catch(e){this.ra("Error initializing conversations",e),this.Qo=!1}}else sq.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),sq.info("Conversations loaded successfully")}catch(e){this.ra("Error completing conversations initialization",e)}else sq.error("Cannot complete initialization: remote config is null")}ra(e,t){sq.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():sq.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return!0===this.Ko&&!M(this._conversationsManager)}isVisible(){var e,t;return null!=(e=null==(t=this._conversationsManager)?void 0:t.isVisible())&&e}sendMessage(e,t,r){var i=this;return m(function*(){return i._conversationsManager?i._conversationsManager.sendMessage(e,t,r):(sq.warn(sX),null)})()}getMessages(e,t){var r=this;return m(function*(){return r._conversationsManager?r._conversationsManager.getMessages(e,t):(sq.warn(sX),null)})()}markAsRead(e){var t=this;return m(function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(sq.warn(sX),null)})()}getTickets(e){var t=this;return m(function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(sq.warn(sX),null)})()}requestRestoreLink(e){var t=this;return m(function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(sq.warn(sX),null)})()}restoreFromToken(e){var t=this;return m(function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(sq.warn(sX),null)})()}restoreFromUrlToken(){var e=this;return m(function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(sq.warn(sX),null)})()}getCurrentTicketId(){var e,t;return null!=(e=null==(t=this._conversationsManager)?void 0:t.getCurrentTicketId())?e:null}getWidgetSessionId(){var e,t;return null!=(e=null==(t=this._conversationsManager)?void 0:t.getWidgetSessionId())?e:null}un(){var e;null==(e=this._conversationsManager)||e.setIdentity()}hn(){var e;null==(e=this._conversationsManager)||e.clearIdentity()}}},{logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=t_("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.la=!1,this._instance=e,this._instance&&null!=(t=this._instance.config.logs)&&t.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,r=null==(t=e.logs)?void 0:t.captureConsoleLogs;!D(r)&&r&&(this.ia=!0,this.loadIfEnabled())}reset(){this.sa=[],this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.oa=0,this.aa=0,this.la=!1}loadIfEnabled(){if(this.ia&&!this.na){var e=null==p?void 0:p.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",t=>{var r;t||null==(r=e.logs)||!r.initializeLogs?this.Gt.error("Could not load logs script",t):(e.logs.initializeLogs(this._instance),this.na=!0)}):this.Gt.error(ra)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,r,i,n,s,a;if(this._instance.is_capturing())if(e&&e.body){var o=null!=(t=null==(r=this._instance.config.logs)?void 0:r.flushIntervalMs)?t:3e3,l=null!=(i=null==(n=this._instance.config.logs)?void 0:n.maxLogsPerInterval)?i:1e3,u=Date.now();if(o>u-this.aa||(this.aa=u,this.oa=0,this.la=!1),l>this.oa){this.oa++;var c=function(e,t){var{text:r,number:i}=eK[e.level||"info"]||eY,n=String(Date.now())+"000000",s={};t.distinctId&&(s.posthogDistinctId=t.distinctId),t.sessionId&&(s.sessionId=t.sessionId),t.currentUrl&&(s["url.full"]=t.currentUrl),t.screenName&&(s["screen.name"]=t.screenName),t.appState&&(s["app.state"]=t.appState),t.activeFeatureFlags&&t.activeFeatureFlags.length>0&&(s.feature_flags=t.activeFeatureFlags);var a=_({},s,e.attributes||{}),o={timeUnixNano:n,observedTimeUnixNano:n,severityNumber:i,severityText:r,body:{stringValue:e.body},attributes:eQ(a)};return e.trace_id&&(o.traceId=e.trace_id),e.span_id&&(o.spanId=e.span_id),O(e.trace_flags)||(o.flags=e.trace_flags),o}(e,this.ua());this.sa.push({record:c}),(null!=(s=null==(a=this._instance.config.logs)?void 0:a.maxBufferSize)?s:100)>this.sa.length?this.ha():this.flushLogs()}else this.la||(this.Gt.warn("captureLog dropping logs: exceeded "+l+" logs per "+o+"ms"),this.la=!0)}else this.Gt.warn("captureLog requires a body")}get logger(){return this.ca||(this.ca={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>
16this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ca}flushLogs(e){if(this.jr&&(clearTimeout(this.jr),this.jr=void 0),0!==this.sa.length){var t,r,i,n=this.sa;this.sa=[];var s=this._instance.config.logs,a=_({"service.name":(null==s?void 0:s.serviceName)||"unknown_service"},(null==s?void 0:s.environment)&&{"deployment.environment":s.environment},(null==s?void 0:s.serviceVersion)&&{"service.version":s.serviceVersion},null==s?void 0:s.resourceAttributes),o=(t=n.map(e=>e.record),r=v.LIB_NAME,i=v.LIB_VERSION,{resourceLogs:[{resource:{attributes:eQ(a)},scopeLogs:[{scope:{name:r,version:i},logRecords:t}]}]}),l=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Hi({method:"POST",url:l,data:o,compression:"best-available",batchKey:"logs",transport:e})}}ha(){var e,t;this.jr||(this.jr=setTimeout(()=>{this.jr=void 0,this.flushLogs()},null!=(e=null==(t=this._instance.config.logs)?void 0:t.flushIntervalMs)?e:3e3))}ua(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:r}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=r}if(null!=p&&null!=(e=p.location)&&e.href&&(t.currentUrl=p.location.href),this._instance.featureFlags){var i=this._instance.featureFlags.getFlags();i&&i.length>0&&(t.activeFeatureFlags=i)}return t}}});nG.__defaultExtensionClasses=_({},sJ);var s0,s1=(s0=nC[nM]=new nG,function(){function e(){e.done||(e.done=!0,nD=!1,rb(nC,function(e){e._dom_loaded()}))}null!=a&&a.addEventListener?"complete"===a.readyState?e():r$(a,"DOMContentLoaded",e,{capture:!1}):i&&tm.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),s0)},71769:(e,t,r)=>{"use strict";r.d(t,{Sz:()=>a,ZZ:()=>l,dg:()=>o});var i=r(5770),n=r(116),s=r(53455);let a=(0,i.A)(.33,1.53,.69,.99),o=(0,s.G)(a),l=(0,n.V)(o)},72784:(e,t,r)=>{"use strict";r.d(t,{J:()=>l,D:()=>o});var i=r(17203);let n=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function s(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||n.has(e)}let a=e=>!s(e);function o(e){"function"==typeof e&&(a=t=>t.startsWith("on")?!s(t):e(t))}try{o(require("@emotion/is-prop-valid").default)}catch{}function l(e,t,r){let n={};for(let o in e)("values"!==o||"object"!=typeof e.values)&&!(0,i.S)(e[o])&&(a(o)||!0===r&&s(o)||!t&&!s(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}},73525:(e,t,r)=>{"use strict";r.d(t,{ge:()=>a,xU:()=>n});let i=()=>({translate:0,scale:1,origin:0,originPoint:0}),n=()=>({x:i(),y:i()}),s=()=>({min:0,max:0}),a=()=>({x:s(),y:s()})},73768:(e,t,r)=>{"use strict";r.d(t,{y:()=>a});var i=r(59943),n=r(46164),s=r(78072);let a={test:e=>s.B.test(e)||i.u.test(e)||n.V.test(e),parse:e=>s.B.test(e)?s.B.parse(e):n.V.test(e)?n.V.parse(e):i.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?s.B.transform(e):n.V.transform(e),getAnimatableNone:e=>{let t=a.parse(e);return t.alpha=0,a.transform(t)}}},73864:(e,t,r)=>{"use strict";r.d(t,{H:()=>l});var i=r(15650);function n(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let s={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!i.px.test(e))return e;else e=parseFloat(e);let r=n(e,t.target.x),s=n(e,t.target.y);return`${r}% ${s}%`}};var a=r(32264),o=r(22942);let l={borderRadius:{...s,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:s,borderTopRightRadius:s,borderBottomLeftRadius:s,borderBottomRightRadius:s,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let i=a.f.parse(e);if(i.length>5)return e;let n=a.f.createTransformer(e),s=+("number"!=typeof i[0]),l=r.x.scale*t.x,u=r.y.scale*t.y;i[0+s]/=l,i[1+s]/=u;let c=(0,o.k)(l,u,.5);return"number"==typeof i[2+s]&&(i[2+s]/=c),"number"==typeof i[3+s]&&(i[3+s]/=c),n(i)}}}},74682:(e,t,r)=>{"use strict";r.d(t,{O:()=>o,e:()=>a});var i=r(17665),n=r(98936),s=r(6655);function a(e){return(0,i.N)(e.animate)||s._.some(t=>(0,n.w)(e[t]))}function o(e){return!!(a(e)||e.variants)}},74862:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});let i=e=>t=>t.test(e)},74881:(e,t,r)=>{"use strict";r.d(t,{R:()=>l,l:()=>o});var i=r(81278),n=r(55729);let s=null,a=!1;function o(e){if(a){a=!1;return}s=e}function l(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=(0,i.useRouter)(),o=r.query.workspace_slug;return(0,n.useCallback)(()=>{null===s?r.push({pathname:"/[workspace_slug]".concat(e),query:{workspace_slug:o}}):t?r.back():(a=!0,r.replace(s))},[e,r,t,o])}},75157:(e,t,r)=>{"use strict";function i(e){return void 0===e||1===e}function n({scale:e,scaleX:t,scaleY:r}){return!i(e)||!i(t)||!i(r)}function s(e){return n(e)||a(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function a(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}r.d(t,{HD:()=>s,vF:()=>a,vk:()=>n})},75399:(e,t,r)=>{"use strict";function i({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function n({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function s(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}r.d(t,{FY:()=>i,bS:()=>s,pA:()=>n})},76387:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var i=r(58509);function n(e){let t=[0];return(0,i.f)(t,e.length-1),t}},76634:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});let i=(0,r(55729).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},76838:(e,t,r)=>{"use strict";r.d(t,{Hx:()=>l,OB:()=>a,V7:()=>u,z3:()=>s});var i=r(55729),n={404:"nuqs requires an adapter to work with your framework.",409:"Multiple versions of the library are loaded. This may lead to unexpected behavior. Currently using `%s`, but `%s` was about to load on top.",414:"Max safe URL length exceeded. Some browsers may not be able to accept this URL. Consider limiting the amount of state stored in the URL.",429:"URL update rate-limited by the browser. Consider increasing `throttleMs` for key(s) `%s`. %O",500:"Empty search params cac
16he. Search params can't be accessed in Layouts.",501:"Search params cache already populated. Have you called `parse` twice?"};function s(e){return`[nuqs] ${n[e]}
17  See https://err.47ng.com/NUQS-${e}`}function a(e){if(0===e.size)return"";let t=[];for(let[r,i]of e.entries()){let e=r.replace(/#/g,"%23").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/=/g,"%3D").replace(/\?/g,"%3F");t.push(`${e}=${i.replace(/%/g,"%25").replace(/\+/g,"%2B").replace(/ /g,"+").replace(/#/g,"%23").replace(/&/g,"%26").replace(/"/g,"%22").replace(/'/g,"%27").replace(/`/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E")}`)}return"?"+t.join("&")}var o=(0,i.createContext)({useAdapter(){throw Error(s(404))}});function l(e){return({children:t,...r})=>(0,i.createElement)(o.Provider,{...r,value:{useAdapter:e}},t)}function u(){let e=(0,i.useContext)(o);if(!("useAdapter"in e))throw Error(s(404));return e.useAdapter()}o.displayName="NuqsAdapterContext"},77118:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});let i={}},78072:(e,t,r)=>{"use strict";r.d(t,{B:()=>l});var i=r(51095),n=r(50151),s=r(5169),a=r(3524);let o={...n.ai,transform:e=>Math.round((0,i.q)(0,255,e))},l={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+o.transform(e)+", "+o.transform(t)+", "+o.transform(r)+", "+(0,s.a)(n.X4.transform(i))+")"}},78189:(e,t,r)=>{"use strict";r.d(t,{D:()=>n,I:()=>i});let i={x:!1,y:!1};function n(){return i.x||i.y}},78416:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});let i={layout:0,mainThread:0,waapi:0}},78737:(e,t,r)=>{"use strict";let i;r.d(t,{k:()=>o});var n=r(77118),s=r(50891);function a(){i=void 0}let o={now:()=>(void 0===i&&o.set(s.uv.isProcessing||n.W.useManualTiming?s.uv.timestamp:performance.now()),i),set:e=>{i=e,queueMicrotask(a)}}},78777:(e,t,r)=>{"use strict";function i(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}r.d(t,{I:()=>i})},80345:(e,t,r)=>{"use strict";r.d(t,{t:()=>l});var i=r(73768),n=r(32264),s=r(86938),a=r(74862);let o=[...s.T,i.y,n.f],l=e=>o.find((0,a.w)(e))},80601:(e,t,r)=>{"use strict";let i,n;r.d(t,{X:()=>f});var s=r(96426),a=r(32138);let o=new WeakMap,l=(e,t,r)=>(i,n)=>n&&n[0]?n[0][e+"Size"]:(0,s.x)(i)&&"getBBox"in i?i.getBBox()[t]:i[r],u=l("inline","width","offsetWidth"),c=l("block","height","offsetHeight");function d({target:e,borderBoxSize:t}){o.get(e)?.forEach(r=>{r(e,{get width(){return u(e,t)},get height(){return c(e,t)}})})}function h(e){e.forEach(d)}let p=new Set;function f(e,t){return"function"==typeof e?(p.add(e),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};p.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{p.delete(e),p.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):function(e,t){i||"undefined"!=typeof ResizeObserver&&(i=new ResizeObserver(h));let r=(0,a.K)(e);return r.forEach(e=>{let r=o.get(e);r||(r=new Set,o.set(e,r)),r.add(t),i?.observe(e)}),()=>{r.forEach(e=>{let r=o.get(e);r?.delete(t),r?.size||i?.unobserve(e)})}}(e,t)}},81278:(e,t,r)=>{e.exports=r(43727)},81537:(e,t,r)=>{"use strict";r.d(t,{v:()=>n});var i=r(5885);class n{constructor(){this.subscriptions=[]}add(e){return(0,i.Kq)(this.subscriptions,e),()=>(0,i.Ai)(this.subscriptions,e)}notify(e,t,r){let i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,r);else for(let n=0;n<i;n++){let i=this.subscriptions[n];i&&i(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},82837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return n}});let i=""+r(52272).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function n(){let e=Object.defineProperty(Error(i),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=i,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83787:(e,t,r)=>{"use strict";r.d(t,{l:()=>p});var i=r(40574),n=r(10854),s=r(73525),a=r(54540),o=r(78777),l=r(56061);let u=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 c=r(12366),d=r(52239),h=r(40194);class p extends a.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(i.f.has(t)){let e=(0,n.D)(t);return e&&e.default||0}return t=u.has(t)?t:(0,o.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return(0,h.x)(e,t,r)}build(e,t,r){(0,l.B)(e,t,this.isSVGTag,r.transformTemplate,r.style)}
17renderInstance(e,t,r,i){for(let r in(0,d.e)(e,t,void 0,i),t.attrs)e.setAttribute(u.has(r)?r:(0,o.I)(r),t.attrs[r])}mount(e){this.isSVGTag=(0,c.n)(e.tagName),super.mount(e)}}},84270:(e,t,r)=>{"use strict";r.d(t,{i:()=>m});var i=r(5770);let n=(0,i.A)(.42,0,1,1),s=(0,i.A)(0,0,.58,1),a=(0,i.A)(.42,0,.58,1);var o=r(95413),l=r(4588),u=r(67408),c=r(71769),d=r(93685),h=r(17988);let p={linear:l.l,easeIn:n,easeInOut:a,easeOut:s,circIn:d.po,circInOut:d.tn,circOut:d.yT,backIn:c.dg,backInOut:c.ZZ,backOut:c.Sz,anticipate:u.b},f=e=>{if((0,h.D)(e)){(0,o.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,s]=e;return(0,i.A)(t,r,n,s)}return"string"==typeof e?((0,o.V)(void 0!==p[e],`Invalid easing type '${e}'`,"invalid-easing-type"),p[e]):e};var v=r(65735),g=r(76387);function m({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){var n;let s=Array.isArray(i)&&"number"!=typeof i[0]?i.map(f):f(i),o={done:!1,value:t[0]},l=(n=r&&r.length===t.length?r:(0,g.Z)(t),n.map(t=>t*e)),u=(0,v.G)(l,t,{ease:Array.isArray(s)?s:t.map(()=>s||a).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=u(t),o.done=t>=e,o)}}},85433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return u.ServerInsertedHTMLContext},forbidden:function(){return l.forbidden},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},unauthorized:function(){return l.unauthorized},unstable_isUnrecognizedActionError:function(){return c.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return l.unstable_rethrow},useParams:function(){return v},usePathname:function(){return p},useRouter:function(){return f},useSearchParams:function(){return h},useSelectedLayoutSegment:function(){return m},useSelectedLayoutSegments:function(){return g},useServerInsertedHTML:function(){return u.useServerInsertedHTML}});let i=r(55729),n=r(30673),s=r(43788),a=r(16746),o=r(77169),l=r(14344),u=r(54482),c=r(29810),d=void 0;function h(){let e=(0,i.useContext)(s.SearchParamsContext);return(0,i.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function p(){return null==d||d("usePathname()"),(0,i.useContext)(s.PathnameContext)}function f(){let e=(0,i.useContext)(n.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function v(){return null==d||d("useParams()"),(0,i.useContext)(s.PathParamsContext)}function g(e){void 0===e&&(e="children"),null==d||d("useSelectedLayoutSegments()");let t=(0,i.useContext)(n.LayoutRouterContext);return t?function e(t,r,i,n){let s;if(void 0===i&&(i=!0),void 0===n&&(n=[]),i)s=t[1][r];else{var l;let e=t[1];s=null!=(l=e.children)?l:Object.values(e)[0]}if(!s)return n;let u=s[0],c=(0,a.getSegmentValue)(u);return!c||c.startsWith(o.PAGE_SEGMENT_KEY)?n:(n.push(c),e(s,r,!1,n))}(t.parentTree,e):null}function m(e){void 0===e&&(e="children"),null==d||d("useSelectedLayoutSegment()");let t=g(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===o.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85569:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var i=r(50151);let n={...i.ai,transform:Math.round};var s=r(15650);let a={rotate:s.uj,rotateX:s.uj,rotateY:s.uj,rotateZ:s.uj,scale:i.hs,scaleX:i.hs,scaleY:i.hs,scaleZ:i.hs,skew:s.uj,skewX:s.uj,skewY:s.uj,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:i.X4,originX:s.gQ,originY:s.gQ,originZ:s.px},o={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,inset:s.px,insetBlock:s.px,insetBlockStart:s.px,insetBlockEnd:s.px,insetInline:s.px,insetInlineStart:s.px,insetInlineEnd:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,paddingBlock:s.px,paddingBlockStart:s.px,paddingBlockEnd:s.px,paddingInline:s.px,paddingInlineStart:s.px,paddingInlineEnd:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,marginBlock:s.px,marginBlockStart:s.px,marginBlockEnd:s.px,marginInline:s.px,marginInlineStart:s.px,marginInlineEnd:s.px,fontSize:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...a,zIndex:n,fillOpacity:i.X4,strokeOpacity:i.X4,numOctaves:n}},86246:(e,t,r)=>{"use strict";r.d(t,{I:()=>a});var i=r(77118);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=r(21224);function a(e,t){let r=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=n.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,i=new Set,n=!1,a=!1,o=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;
17function c(t){o.has(t)&&(d.schedule(t),e()),u++,t(l)}let d={schedule:(e,t=!1,s=!1)=>{let a=s&&n?r:i;return t&&o.add(e),a.add(e),e},cancel:e=>{i.delete(e),o.delete(e)},process:e=>{if(l=e,n){a=!0;return}n=!0;let o=r;r=i,i=o,r.forEach(c),t&&s.Q.value&&s.Q.value.frameloop[t].push(u),u=0,r.clear(),n=!1,a&&(a=!1,d.process(e))}};return d}(l,t?r:void 0),e),{}),{setup:c,read:d,resolveKeyframes:h,preUpdate:p,update:f,preRender:v,render:g,postRender:m}=u,_=()=>{let n=i.W.useManualTiming,s=n?o.timestamp:performance.now();r=!1,n||(o.delta=a?1e3/60:Math.max(Math.min(s-o.timestamp,40),1)),o.timestamp=s,o.isProcessing=!0,c.process(o),d.process(o),h.process(o),p.process(o),f.process(o),v.process(o),g.process(o),m.process(o),o.isProcessing=!1,r&&t&&(a=!1,e(_))};return{schedule:n.reduce((t,i)=>{let n=u[i];return t[i]=(t,i=!1,s=!1)=>(!r&&(r=!0,a=!0,o.isProcessing||e(_)),n.schedule(t,i,s)),t},{}),cancel:e=>{for(let t=0;t<n.length;t++)u[n[t]].cancel(e)},state:o,steps:u}}},86938:(e,t,r)=>{"use strict";r.d(t,{T:()=>a,n:()=>o});var i=r(50151),n=r(15650),s=r(74862);let a=[i.ai,n.px,n.KN,n.uj,n.vw,n.vh,{test:e=>"auto"===e,parse:e=>e}],o=e=>a.find((0,s.w)(e))},87173:(e,t,r)=>{"use strict";r.d(t,{N:()=>b});var i=r(6029),n=r(55729),s=r(12563),a=r(90028),o=r(36083),l=r(42711),u=r(25903),c=r(76634);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class h extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,u.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,u.s)(e)&&e.offsetWidth||0,i=(0,u.s)(e)&&e.offsetHeight||0,n=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(n.height),s.width=parseFloat(n.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=r-s.width-s.left,s.bottom=i-s.height-s.top}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:t,anchorX:r,anchorY:s,root:a,pop:o}){let l=(0,n.useId)(),u=(0,n.useRef)(null),p=(0,n.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:f}=(0,n.useContext)(c.Q),v=function(...e){return n.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=d(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():d(e[t],null)}}}}(...e),e)}(u,e.props?.ref??e?.ref);return(0,n.useInsertionEffect)(()=>{let{width:e,height:i,top:n,left:c,right:d,bottom:h}=p.current;if(t||!1===o||!u.current||!e||!i)return;let v="left"===r?`left: ${c}`:`right: ${d}`,g="bottom"===s?`bottom: ${h}`:`top: ${n}`;u.current.dataset.motionPopId=l;let m=document.createElement("style");f&&(m.nonce=f);let _=a??document.head;return _.appendChild(m),m.sheet&&m.sheet.insertRule(`
18          [data-motion-pop-id="${l}"] {
19            position: absolute !important;
20            width: ${e}px !important;
21            height: ${i}px !important;
22            ${v}px !important;
23            ${g}px !important;
24          }
25        `),()=>{u.current?.removeAttribute("data-motion-pop-id"),_.contains(m)&&_.removeChild(m)}},[t]),(0,i.jsx)(h,{isPresent:t,childRef:u,sizeRef:p,pop:o,children:!1===o?e:n.cloneElement(e,{ref:v})})}let f=({children:e,initial:t,isPresent:r,onExitComplete:s,custom:o,presenceAffectsLayout:u,mode:c,anchorX:d,anchorY:h,root:f})=>{let g=(0,a.M)(v),m=(0,n.useId)(),_=!0,b=(0,n.useMemo)(()=>(_=!1,{id:m,initial:t,isPresent:r,custom:o,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;s&&s()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[r,g,s]);return u&&_&&(b={...b}),(0,n.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[r]),n.useEffect(()=>{r||g.size||!s||s()},[r]),e=(0,i.jsx)(p,{pop:"popLayout"===c,isPresent:r,anchorX:d,anchorY:h,root:f,children:e}),(0,i.jsx)(l.t.Provider,{value:b,children:e})};function v(){return new Map}var g=r(34704);let m=e=>e.key||"";function _(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:t,initial:r=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:h="left",anchorY:p="top",root:v})=>{let[b,y]=(0,g.xQ)(d),x=(0,n.useMemo)(()=>_(e),[e]),w=d&&!b?[]:x.map(m),E=(0,n.useRef)(!0),A=(0,n.useRef)(x),S=(0,a.M)(()=>
25new Map),$=(0,n.useRef)(new Set),[T,k]=(0,n.useState)(x),[P,C]=(0,n.useState)(x);(0,o.E)(()=>{E.current=!1,A.current=x;for(let e=0;e<P.length;e++){let t=m(P[e]);w.includes(t)?(S.delete(t),$.current.delete(t)):!0!==S.get(t)&&S.set(t,!1)}},[P,w.length,w.join("-")]);let R=[];if(x!==T){let e=[...x];for(let t=0;t<P.length;t++){let r=P[t],i=m(r);w.includes(i)||(e.splice(t,0,r),R.push(r))}return"wait"===c&&R.length&&(e=R),C(_(e)),k(x),null}let{forceRender:I}=(0,n.useContext)(s.L);return(0,i.jsx)(i.Fragment,{children:P.map(e=>{let n=m(e),s=(!d||!!b)&&(x===P||w.includes(n));return(0,i.jsx)(f,{isPresent:s,initial:(!E.current||!!r)&&void 0,custom:t,presenceAffectsLayout:u,mode:c,root:v,onExitComplete:s?void 0:()=>{if($.current.has(n)||!S.has(n))return;$.current.add(n),S.set(n,!0);let e=!0;S.forEach(t=>{t||(e=!1)}),e&&(I?.(),C(A.current),d&&y?.(),l&&l())},anchorX:h,anchorY:p,children:e},n)})})}},87940:(e,t,r)=>{"use strict";function i(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}r.d(t,{e:()=>i})},88888:(e,t,r)=>{"use strict";r.d(t,{M:()=>d});var i=r(47130),n=r(40574),s=r(43224),a=r(12998),o=r(54540),l=r(5410),u=r(52239),c=r(41977);class d extends o.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(e,t){if(n.f.has(t))return this.projection?.isProjecting?(0,s.zs)(t):(0,s.Ib)(e,t);{let r=window.getComputedStyle(e),n=((0,i.j4)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,a.m)(e,t)}build(e,t,r){(0,l.O)(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return(0,c.x)(e,t,r)}}},89602:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});class i{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}},89933:(e,t,r)=>{"use strict";r.d(t,{K:()=>i});let i=(e,t,r=10)=>{let i="",n=Math.max(Math.round(t/r),2);for(let t=0;t<n;t++)i+=Math.round(1e4*e(t/(n-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`}},90028:(e,t,r)=>{"use strict";r.d(t,{M:()=>n});var i=r(55729);function n(e){let t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}},90831:(e,t,r)=>{"use strict";r.d(t,{P:()=>eO});var i=r(81537),n=r(51095),s=r(4588),a=r(51943),o=r(36321),l=r(25125),u=r(68275),c=r(78737),d=r(73864),h=r(78416),p=r(21224),f=r(50891),v=r(96426),g=r(19255),m=r(22942),_=r(40318),b=r(69745),y=r(15650),x=r(93685),w=r(98669);let E=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],A=E.length,S=e=>"string"==typeof e?parseFloat(e):e,$=e=>"number"==typeof e||y.px.test(e);function T(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let k=C(0,.5,x.yT),P=C(.5,.95,s.l);function C(e,t,r){return i=>i<e?0:i>t?1:r((0,w.q)(e,t,i))}function R(e,t){e.min=t.min,e.max=t.max}function I(e,t){R(e.x,t.x),R(e.y,t.y)}function V(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var O=r(14934),L=r(47223);function N(e,t,r,i,n){return e-=t,e=(0,O.hq)(e,1/r,i),void 0!==n&&(e=(0,O.hq)(e,1/n,i)),e}function M(e,t,[r,i,n],s,a){!function(e,t=0,r=1,i=.5,n,s=e,a=e){if(y.KN.test(t)&&(t=parseFloat(t),t=(0,m.k)(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let o=(0,m.k)(s.min,s.max,i);e===s&&(o-=t),e.min=N(e.min,t,r,o,n),e.max=N(e.max,t,r,o,n)}(e,t[r],t[i],t[n],t.scale,s,a)}let D=["x","scaleX","originX"],F=["y","scaleY","originY"];function j(e,t,r,i){M(e.x,t,D,r?r.x:void 0,i?i.x:void 0),M(e.y,t,F,r?r.y:void 0,i?i.y:void 0)}var U=r(73525);function B(e){return 0===e.translate&&1===e.scale}function G(e){return B(e.x)&&B(e.y)}function z(e,t){return e.min===t.min&&e.max===t.max}function H(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function W(e,t){return H(e.x,t.x)&&H(e.y,t.y)}function q(e){return(0,L.CQ)(e.x)/(0,L.CQ)(e.y)}function X(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var K=r(5885);class Y{constructor(){this.members=[]}add(e){(0,K.Kq)(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let i=r.instance;i&&!1!==i.isConnected||r.snapshot||((0,K.Ai)(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if((0,K.Ai)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:i}=r.options,{layoutDependency:n}=e.options;(void 0===i||i!==n)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isU
25pdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var Q=r(14893);let Z=(e,t)=>e.depth-t.depth;class J{constructor(){this.children=[],this.isDirty=!1}add(e){(0,K.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,K.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Z),this.isDirty=!1,this.children.forEach(e)}}var ee=r(75157),et=r(22288);let er={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ei=["","X","Y","Z"],en=0;function es(e,t,r,i){let{latestValues:n}=t;n[e]&&(r[e]=n[e],t.setStaticValue(e,0),i&&(i[e]=0))}function ea({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:s,resetTransform:x}){return class{constructor(e={},r=t?.()){this.id=en++,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,p.Q.value&&(er.nodes=er.calculatedTargetDeltas=er.calculatedProjections=0),this.nodes.forEach(eu),this.nodes.forEach(e_),this.nodes.forEach(eb),this.nodes.forEach(ec),p.Q.addProjectionMetrics&&p.Q.addProjectionMetrics(er)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new J)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new i.v),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=(0,v.x)(t)&&!(0,g.h)(t),this.instance=t;let{layoutId:r,layout:i,visualElement:n}=this.options;if(n&&!n.current&&n.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||r)&&(this.isLayoutDirty=!0),e){let r,i=0,n=()=>this.root.updateBlockedByResize=!1;f.Gt.read(()=>{i=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==i&&(i=e,this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=c.k.now(),i=({timestamp:t})=>{let n=t-r;n>=250&&((0,f.WG)(i),e(n-250))};return f.Gt.setup(i,!0),()=>(0,f.WG)(i)}(n,250),et.w.hasAnimatedSinceResize&&(et.w.hasAnimatedSinceResize=!1,this.nodes.forEach(em)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&n&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||eS,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=n.getProps(),u=!this.targetLayout||!W(this.targetLayout,i),c=!t&&r;if(this.options.layoutRoot||this.resumeFrom||c||t&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,l.r)(s,"layout"),onPlay:a,onComplete:o};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else t||em(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,f.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.forEac
25h(ey),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let i=(0,o.P)(r);if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",f.Gt,!(e||r))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(ep),this.nodes.forEach(eh);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ef);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ev),this.nodes.forEach(eg),this.nodes.forEach(eo),this.nodes.forEach(el)):this.nodes.forEach(ef),this.clearAllSnapshots();let e=c.k.now();f.uv.delta=(0,n.q)(0,1e3/60,e-f.uv.timestamp),f.uv.timestamp=e,f.uv.isProcessing=!0,f.PP.update.process(f.uv),f.PP.preRender.process(f.uv),f.PP.render.process(f.uv),f.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,u.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ed),this.sharedNodes.forEach(ex)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,f.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){f.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,L.CQ)(this.snapshot.measuredBox.x)||(0,L.CQ)(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,U.ge)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=s(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!x)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!G(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,n=i!==this.prevTransformTemplateValue;e&&this.instance&&(t||(0,ee.HD)(this.latestValues)||n)&&(x(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),i=this.removeElementScroll(r);return e&&(i=this.removeTransform(i)),ek((t=i).x),ek(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return(0,U.ge)();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eC))){let{scroll:e}=this.root;e&&((0,O.Ql)(t.x,e.offset.x),(0,O.Ql)(t.y,e.offset.y))}return t}removeElementScroll(e){let t=(0,U.ge)();if(I(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let i=this.path[r],{scroll:n,options:s}=i;i!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&I(t,e),(0,O.Ql)(t.x,n.offset.x),(0,O.Ql)(t.y,n.offset.y))}return t}applyTransform(e,t=!1,r){let i=r||(0,U.ge)();I(i,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&((0,O.Ql)(i.x,-r.scroll.offset.x),(0,O.Ql)(i.y,-r.scroll.offset.y)),(0,ee.HD)(r.latestValues)&&(0,O.Ww)(i,r.latestValues,r.layout?.layoutBox)}return(0,ee.HD)(this.latestValues)&&(0,O.Ww)(i,this.latestValues,this.layout?.layoutBox),i}removeTransform(e){let t=(0,U.ge)();I(t,e);for(let e=0;e<this.path.length;e++){let r,i=this.path[e];(0,ee.HD)(i.latestValues)&&(i.instance&&((0,ee.vk)(i.latestValues)&&i.updateSnapshot(),I(r=(0,U.ge)(),i.measurePageBox())),j(t,i.latestValues,i.snapshot?.layoutBox,r))}return(0,ee.HD)(this.latestValues)&&j(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.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!==f.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
25isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:i,layoutId:n}=this.options;if(!this.layout||!(i||n))return;this.resolvedRelativeTargetAt=f.uv.timestamp;let s=this.getClosestProjectingParent();s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,U.ge)(),this.targetWithTransforms=(0,U.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,L.N)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):I(this.target,this.layout.layoutBox),(0,O.o4)(this.target,this.targetDelta)):I(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),p.Q.value&&er.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,ee.vk)(this.parent.latestValues)||(0,ee.vF)(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(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,U.ge)(),this.relativeTargetOrigin=(0,U.ge)(),(0,L.jA)(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),I(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===f.uv.timestamp&&(r=!1),r)return;let{layout:i,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||n))return;I(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;(0,O.OU)(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,U.ge)());let{target:o}=e;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(V(this.prevProjectionDelta.x,this.projectionDelta.x),V(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,L.vb)(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&X(this.projectionDelta.x,this.prevProjectionDelta.x)&&X(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o)),p.Q.value&&er.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,U.xU)(),this.projectionDelta=(0,U.xU)(),this.projectionDeltaWithTransform=(0,U.xU)()}setAnimationOrigin(e,t=!1){let r,i=this.snapshot,n=i?i.latestValues:{},s={...this.latestValues},a=(0,U.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=(0,U.ge)(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(eA));this.animationProgress=0,this.mixTargetDelta=t=>{let i=t/1e3;if(ew(a.x,e.x,i),ew(a.y,e.y,i),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,f,v,g;(0,L.jA)(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,f=this.relativeTargetOrigin,v=o,g=i,eE(p.x,f.x,v.x,g),eE(p.y,f.y,v.y,g),r&&(u=this.relativeTarget,h=r,z(u.x,h.x)&&z(u.y,h.y))&&(this.isProjectionDirty=!1),r||(r=(0,U.ge)()),I(r,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,r,i,n,s){n?(e.opacity=(0,m.k)(0,r.opacity??1,k(i)),e.opacityExit=(0,m.k)(t.opacity??1,0,P(i))):s&&(e.opacity=(0,m.k)(t.opacity??1,r.opacity??1,i));for(let n=0;n<A;n++){let s=E[n],a=T(t,s),o=T(r,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||$(a)===$(o)?(e[s]=Math.max((0,m.k)(S(a),S(o),i),0),(y.KN.test(o)||y.KN.test(a))&&(e[s]+="
25%")):e[s]=o)}(t.rotate||r.rotate)&&(e.rotate=(0,m.k)(t.rotate||0,r.rotate||0,i))}(s,n,this.latestValues,i,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,f.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=f.Gt.update(()=>{et.w.hasAnimatedSinceResize=!0,h.q.layout++,this.motionValue||(this.motionValue=(0,_.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,a.z)(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{h.q.layout--},onComplete:()=>{h.q.layout--,e.onComplete&&e.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 e=this.getStack();e&&e.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 e=this.getLead(),{targetWithTransforms:t,target:r,layout:i,latestValues:n}=e;if(t&&r&&i){if(this!==e&&this.layout&&i&&eP(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||(0,U.ge)();let t=(0,L.CQ)(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let i=(0,L.CQ)(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+i}I(t,r),(0,O.Ww)(t,n),(0,L.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Y),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let i={};r.z&&es("z",e,i,this.animationValues);for(let t=0;t<ei.length;t++)es(`rotate${ei[t]}`,e,i,this.animationValues),es(`skew${ei[t]}`,e,i,this.animationValues);for(let t in e.render(),i)e.setStaticValue(t,i[t]),this.animationValues&&(this.animationValues[t]=i[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=(0,b.u)(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,b.u)(t?.pointerEvents)||""),this.hasProjected&&!(0,ee.HD)(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let n=i.animationValues||i.latestValues;this.applyTransformsToTarget();let s=function(e,t,r){let i="",n=e.x.translate/t.x,s=e.y.translate/t.y,a=r?.z||0;if((n||s||a)&&(i=`translate3d(${n}px, ${s}px, ${a}px) `),(1!==t.x||1!==t.y)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:n,rotateY:s,skewX:a,skewY:o}=r;e&&(i=`perspective(${e}px) ${i}`),t&&(i+=`rotate(${t}deg) `),n&&(i+=`rotateX(${n}deg) `),s&&(i+=`rotateY(${s}deg) `),a&&(i+=`skewX(${a}deg) `),o&&(i+=`skewY(${o}deg) `)}let o=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==o||1!==l)&&(i+=`scale(${o}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);r&&(s=r(n,s)),e.transform=s;let{x:a,y:o}=this.projectionDelta;for(let t in e.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,i.animationValues?e.opacity=i===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=i===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,d.H){if(void 0===n[t])continue;let{correct:r,applyTo:a,isCSSVariable:o}=d.H[t],l="none"===s?n[t]:r(n[t],i);if(a){let t=a.length;for(let r=0;r<t;r++)e[a[r]]=l}
25else o?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=i===this?(0,b.u)(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(eh),this.root.sharedNodes.clear()}}}function eo(e){e.updateLayout()}function el(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=e.layout,{animationType:n}=e.options,s=t.source!==e.layout.source;if("size"===n)(0,Q.X)(e=>{let i=s?t.measuredBox[e]:t.layoutBox[e],n=(0,L.CQ)(i);i.min=r[e].min,i.max=i.min+n});else if("x"===n||"y"===n){let e="x"===n?"y":"x";R(s?t.measuredBox[e]:t.layoutBox[e],r[e])}else eP(n,t.layoutBox,r)&&(0,Q.X)(i=>{let n=s?t.measuredBox[i]:t.layoutBox[i],a=(0,L.CQ)(r[i]);n.max=n.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+a)});let a=(0,U.xU)();(0,L.vb)(a,r,t.layoutBox);let o=(0,U.xU)();s?(0,L.vb)(o,e.applyTransform(i,!0),t.measuredBox):(0,L.vb)(o,r,t.layoutBox);let l=!G(a),u=!1;if(!e.resumeFrom){let i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:s}=i;if(n&&s){let a=e.options.layoutAnchor||void 0,o=(0,U.ge)();(0,L.jA)(o,t.layoutBox,n.layoutBox,a);let l=(0,U.ge)();(0,L.jA)(l,r,s.layoutBox,a),W(o,l)||(u=!0),i.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=o,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function eu(e){p.Q.value&&er.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ec(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ed(e){e.clearSnapshot()}function eh(e){e.clearMeasurements()}function ep(e){e.isLayoutDirty=!0,e.updateLayout()}function ef(e){e.isLayoutDirty=!1}function ev(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function eg(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function em(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function e_(e){e.resolveTargetDelta()}function eb(e){e.calcProjection()}function ey(e){e.resetSkewAndRotation()}function ex(e){e.removeLeadSnapshot()}function ew(e,t,r){e.translate=(0,m.k)(t.translate,0,r),e.scale=(0,m.k)(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function eE(e,t,r,i){e.min=(0,m.k)(t.min,r.min,i),e.max=(0,m.k)(t.max,r.max,i)}function eA(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let eS={duration:.45,ease:[.4,0,.1,1]},e$=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eT=e$("applewebkit/")&&!e$("chrome/")?Math.round:s.l;function ek(e){e.min=eT(e.min),e.max=eT(e.max)}function eP(e,t,r){return"position"===e||"preserve-aspect"===e&&!(0,L.HQ)(q(t),q(r),.2)}function eC(e){return e!==e.root&&e.scroll?.wasRoot}var eR=r(27185);let eI=ea({attachResizeListener:(e,t)=>(0,eR.k)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),eV={current:void 0},eO=ea({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eV.current){let e=new eI({});e.mount(window),e.setOptions({layoutScroll:!0}),eV.current=e}return eV.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position})},91590:(e,t,r)=>{"use strict";r.d(t,{O:()=>i,r:()=>n});let i={current:null},n={current:!1}},91916:(e,t,r)=>{"use strict";r.d(t,{e:()=>i});let i=(e,t)=>t&&"number"==typeof e?t.transform(e):e},91982:(e,t,r)=>{"use strict";r.d(t,{M:()=>i});let i=new Set(["opacity","clipPath","filter","transform"])},92361:(e,t,r)=>{"use strict";function i(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,
25configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return i}}),r(52272).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},92503:()=>{},93384:(e,t,r)=>{"use strict";r.d(t,{f:()=>g});var i=r(69622),n=r(77118),s=r(17377),a=r(48539),o=r(25125),l=r(15418),u=r(40574);let c={type:"spring",stiffness:500,damping:25,restSpeed:10},d={type:"keyframes",duration:.8},h={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var p=r(31766);let f=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);var v=r(50891);let g=(e,t,r,g={},m,_)=>b=>{let y=(0,o.r)(g,e)||{},x=y.delay||g.delay||0,{elapsed:w=0}=g;w-=(0,i.f)(x);let E={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...y,delay:-w,onUpdate:e=>{t.set(e),y.onUpdate&&y.onUpdate(e)},onComplete:()=>{b(),y.onComplete&&y.onComplete()},name:e,motionValue:t,element:_?void 0:m};!function(e){for(let t in e)if(!f.has(t))return!0;return!1}(y)&&Object.assign(E,((e,{keyframes:t})=>t.length>2?d:u.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:c:h)(e,E)),E.duration&&(E.duration=(0,i.f)(E.duration)),E.repeatDelay&&(E.repeatDelay=(0,i.f)(E.repeatDelay)),void 0!==E.from&&(E.keyframes[0]=E.from);let A=!1;if(!1!==E.type&&(0!==E.duration||E.repeatDelay)||((0,l._)(E),0===E.delay&&(A=!0)),(n.W.instantAnimations||n.W.skipAnimations||m?.shouldSkipAnimations)&&(A=!0,(0,l._)(E),E.delay=0),E.allowFlatten=!y.type&&!y.ease,A&&!_&&void 0!==t.get()){let e=(0,p.X)(E.keyframes,y);if(void 0!==e)return void v.Gt.update(()=>{E.onUpdate(e),E.onComplete()})}return y.isSync?new a.s(E):new s.A(E)}},93685:(e,t,r)=>{"use strict";r.d(t,{po:()=>s,tn:()=>o,yT:()=>a});var i=r(116),n=r(53455);let s=e=>1-Math.sin(Math.acos(e)),a=(0,n.G)(s),o=(0,i.V)(s)},94229:(e,t,r)=>{"use strict";r.d(t,{g:()=>s});var i=r(77118),n=r(17203);function s(e,t){let r=e.getValue("willChange");if((0,n.S)(r)&&r.add)return r.add(t);if(!r&&i.W.WillChange){let r=new i.W.WillChange("auto");e.addValue("willChange",r),r.add(t)}}},95413:(e,t,r)=>{"use strict";r.d(t,{$:()=>i,V:()=>n}),r(33601);let i=()=>{},n=()=>{}},95632:(e,t,r)=>{"use strict";r.d(t,{cn:()=>ed,mK:()=>eh,pj:()=>ev,Ah:()=>ep,pT:()=>ef});var i=Object.defineProperty,n=((e,t)=>{let r={};for(var n in e)i(r,n,{get:e[n],enumerable:!0});return t||i(r,Symbol.toStringTag,{value:"Module"}),r})({isAny:()=>_,isAnyNonArbitrary:()=>E,isArbitraryFamilyName:()=>j,isArbitraryImage:()=>B,isArbitraryLength:()=>M,isArbitraryNumber:()=>D,isArbitraryPosition:()=>U,isArbitraryShadow:()=>G,isArbitrarySize:()=>L,isArbitraryValue:()=>N,isArbitraryVariable:()=>z,isArbitraryVariableFamilyName:()=>W,isArbitraryVariableImage:()=>K,isArbitraryVariableLength:()=>H,isArbitraryVariablePosition:()=>q,isArbitraryVariableShadow:()=>Y,isArbitraryVariableSize:()=>X,isArbitraryVariableWeight:()=>Q,isArbitraryWeight:()=>F,isFraction:()=>p,isInteger:()=>v,isNamedContainerQuery:()=>A,isNumber:()=>f,isPercent:()=>g,isTshirtSize:()=>m});let s=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,a=/^\((?:(\w[\w-]*):)?(.+)\)$/i,o=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,l=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,u=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,c=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,d=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,h=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,p=e=>o.test(e),f=e=>!!e&&!Number.isNaN(Number(e)),v=e=>!!e&&Number.isInteger(Number(e)),g=e=>e.endsWith("%")&&f(e.slice(0,-1)),m=e=>l.test(e),_=()=>!0,b=e=>u.test(e)&&!c.test(e),y=()=>!1,x=e=>d.test(e),w=e=>h.test(e),E=e=>!N(e)&&!z(e),A=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),S=(e,t,r)=>{let i=s.exec(e);return!!i&&(i[1]?t(i[1]):r(i[2]))},$=(e,t,r=!1)=>{let i=a.exec(e);return!!i&&(i[1]?t(i[1]):r)},T=e=>"position"===e||"percentage"===e,k=e=>"image"===e||"url"===e,P=e=>"length"===e||"size"===e||"bg-size"===e,C=e=>"length"===e,R=e=>"number"===e,I=e=>"family-name"===e,V=e=>"number"===e||"weight"===e,O=e=>"shadow"===e,L=e=>S(e,P,y),N=e=>s.test(e),M=e=>S(e,C,b),D=e=>S(e,R,f),F=e=>S(e,V,_),j=e=>S(e,I,y),U=e=>S(e,T,y),B=e=>S(e,k,w),G=e=>S(e,O,x),z=e=>a.test(e),H=e=>$(e,C),W=e=>$(e,I),q=e=>$(e,T),X=e=>$(e,P),K=e=>$(e,k),Y=e=>$(e,O,!0),Q=e=>$(e,V,!0),Z=(e,t)=>{let r=Object.keys(e);return 1===r.length&&r[0]===t&&"string"==typeof e[t]},J={isAny:0,isAnyNonArbitrary:1,isArbitraryValue:2,isArbitraryVariable:3,isFraction:4,isNumber:5,isInteger:6,isPercent:7,isTshirtSize:8,isNamedContainerQuery:9,isArbitraryLength:10,isArbitraryNumber:11,isArbitraryWeight:12,isArbitraryFamilyName:13,isArbitraryPosition:14,
25isArbitrarySize:15,isArbitraryImage:16,isArbitraryShadow:17,isArbitraryVariableLength:18,isArbitraryVariableFamilyName:19,isArbitraryVariablePosition:20,isArbitraryVariableSize:21,isArbitraryVariableImage:22,isArbitraryVariableShadow:23,isArbitraryVariableWeight:24},ee=(e,t,r)=>{let i=e.idByName.get(t);return void 0===i&&(i=e.names.length,e.names.push(t),e.idByName.set(t,i),e.classifierFns.set(t,r)),i},et=(e,t)=>{if("function"==typeof t){let r=e.fnName.get(t);return void 0===r&&(r="$c"+e.fnName.size,e.fnName.set(t,r),e.impls[r]=t),ee(e,r,t)}let r=t.$v,i=n[r];if(void 0===J[r]||!i)throw Error(`cn: unknown validator "${r}"`);return ee(e,r,i)},er=()=>({nextPart:new Map,validators:null,classGroupId:-1,lit:[]}),ei=e=>{let t=new Int32Array(e.length+1);for(let r=0;r<e.length;r++)t[r+1]=t[r]+e[r];return t},en="line"in Error(),es=(e,t,r)=>{let i=0x811c9dc5;for(let n=t;n<r;n++)i=Math.imul(i^e.charCodeAt(n),0x1000193);return i},ea=(e,t,r)=>{let i=r-t,n=Math.imul(i,0x9e3779b1)^e.charCodeAt(t);if(i>3){let s=i>>2,a=i>>1;n=Math.imul((n=Math.imul(n^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+s),0x85ebca6b))^e.charCodeAt(t+a)<<8^e.charCodeAt(t+a+s)<<16^e.charCodeAt(r-3),0xc2b2ae35)^(e.charCodeAt(r-2)<<8^e.charCodeAt(r-1)<<16);for(let i=t+3,s=r-4;i<t+8&&i<s;i++,s--)n=Math.imul(n^e.charCodeAt(i)^e.charCodeAt(s)<<8,0x1000193)}return n^n>>>15},eo=(e,t)=>{if(!e)return"";if("string"==typeof e)return e;let r="";if("number"==typeof e.length&&(!t||Array.isArray(e))){for(let i=0;i<e.length;i++){let n=e[i];if(!n)continue;let s="string"==typeof n?n:eo(n,t);s&&(r&&(r+=" "),r+=s)}return r}if(t){if("number"==typeof e)return""+e;if("object"==typeof e)for(let t in e)e[t]&&(r&&(r+=" "),r+=t)}return r},el=function(){return((e,t)=>{let r="";for(let i=0;i<e.length;i++){let n=e[i];if(!n)continue;let s="string"==typeof n?n:eo(n,t);s&&(r&&(r+=" "),r+=s)}return r})(arguments,!1)},eu=()=>JSON.parse('{"theme":{"animate":[{"$v":"isAny"}],"aspect":["video"],"blur":[{"$v":"isTshirtSize"}],"breakpoint":[{"$v":"isTshirtSize"}],"color":[{"$v":"isAny"}],"container":[{"$v":"isTshirtSize"}],"drop-shadow":[{"$v":"isTshirtSize"}],"ease":["in","out","in-out"],"font":[{"$v":"isAnyNonArbitrary"}],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[{"$v":"isTshirtSize"}],"leading":["none","tight","snug","normal","relaxed","loose"],"perspective":["dramatic","near","normal","midrange","distant","none"],"radius":[{"$v":"isTshirtSize"}],"shadow":[{"$v":"isTshirtSize"}],"spacing":["px",{"$v":"isNumber"}],"text":[{"$v":"isTshirtSize"}],"text-shadow":[{"$v":"isTshirtSize"}],"tracking":["tighter","tight","normal","wide","wider","widest"]},"classGroups":{"aspect":[{"aspect":["auto","square",{"$v":"isFraction"},{"$v":"isArbitraryValue"},{"$v":"isArbitraryVariable"},{"$t":"aspect"}]}],"container":["container"],"container-type":[{"@container":["","normal","size",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"container-named":[{"$v":"isNamedContainerQuery"}],"columns":[{"columns":[{"$v":"isNumber"},{"$v":"isArbitraryValue"},{"$v":"isArbitraryVariable"},{"$t":"container"}]},"columns-auto"],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],"box":[{"box":["border","content"]}],"display":["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],"sr":["sr-only","not-sr-only"],"float":[{"float":["right","left","none","start","end"]}],"clear":[{"clear":["left","right","both","none","start","end"]}],"isolation":["isolate","isolation-auto"],"object-fit":[{"object":["contain","cover","fill","none","scale-down"]}],"object-position":[{"object":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"overflow":[{"overflow":["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],"overscroll":[{"overscroll":["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],"position":["static","fixed","absolute","relative","sticky"],"inset":[{"inset":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-x":[{"inset-x":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-y":[{"inset-y":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"start":[{"inset-s":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}],"start":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"end":[{"inset-e":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}],"end":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-bs":[{"inset-bs":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inset-be":[{"inset-be":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"top":[{"top":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"right":[{"right":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"bottom":[{"bottom":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}
25],"left":[{"left":[{"$v":"isFraction"},"full","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"visibility":["visible","invisible","collapse"],"z":[{"z":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"basis":[{"basis":[{"$v":"isFraction"},"full","auto",{"$t":"container"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"flex-direction":[{"flex":["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{"flex":["nowrap","wrap","wrap-reverse"]}],"flex":[{"flex":[{"$v":"isNumber"},{"$v":"isFraction"},"auto","initial","none",{"$v":"isArbitraryValue"}]}],"grow":[{"grow":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"shrink":[{"shrink":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"order":[{"order":[{"$v":"isInteger"},"first","last","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grid-cols":[{"grid-cols":[{"$v":"isInteger"},"none","subgrid",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"col-start-end":[{"col":["auto",{"span":["full",{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"col-start":[{"col-start":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"col-end":[{"col-end":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grid-rows":[{"grid-rows":[{"$v":"isInteger"},"none","subgrid",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"row-start-end":[{"row":["auto",{"span":["full",{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"row-start":[{"row-start":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"row-end":[{"row-end":[{"$v":"isInteger"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"auto-cols":[{"$t":"spacing"}]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"auto-rows":[{"$t":"spacing"}]}],"gap":[{"gap":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"gap-x":[{"gap-x":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"gap-y":[{"gap-y":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"justify-content":[{"justify":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{"content":["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{"items":["start","end","center","stretch","center-safe","end-safe",{"baseline":["","last"]}]}],"align-self":[{"self":["auto","start","end","center","stretch","center-safe","end-safe",{"baseline":["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"p":[{"p":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"px":[{"px":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"py":[{"py":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"ps":[{"ps":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pe":[{"pe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pbs":[{"pbs":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pbe":[{"pbe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pt":[{"pt":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pr":[{"pr":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pb":[{"pb":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"pl":[{"pl":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"m":[{"m":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mx":[{"mx":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"my":[{"my":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"ms":[{"ms":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"me":[{"me":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mbs":[{"mbs":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mbe":[{"mbe":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mt":[{"mt":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mr":[{"mr":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"mb":[{"mb":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"ml":[{"ml":["auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"space-x":[{"space-x":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"space-y-reverse":["space-y-reverse"],"size":[{"size":[{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"inline-size":[{"inline":["auto",{"$v":"isFraction"},"screen","full","dvw","lvw","svw","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},{"inline":[{"$t":"container"}]}],"min-inline-size":[{"min-inline":["auto",{"$v":"isFraction"},"screen","full","dvw","lvw","svw","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},{"min-inline":[{"$t":"container"}]}],"max-inline-size":[{"max-inline":["none",{"$v":"isFraction"},"screen","full","dvw","lvw","svw","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},{"max-inline":[{"$t":"container"}]}],"block-size":[{"block":["auto",{"$v":"isFraction"},"screen","full","lh","dvh","lvh","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"min-block-size":[{"min-block":["auto",{"$v":"isFraction"},"screen","full","lh","dvh","lvh","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"max-block-size":[{"max-block":["none",{"$v":"isFraction"},"screen","full","lh","dvh","lvh","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"w":[{"w":[{"$t":"container"},"screen",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"min-w":[{"min-w":[{"$t":"container"},"screen","none",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"max-w":[{"max-w":[{"$t":"container"},"screen","none","prose",{"screen":[{"$t":"breakpoint"}]},{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"h":[{"h":["screen","lh",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"min-h":[{"min-h":["screen","lh","none",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"max-h":[{"max-h":["screen","lh",{"$v":"isFraction"},"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]},"max-h-none"],"font-size":[{"text":["base",{"$t":"text"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{"font":[{"$t":"font-weight"},{"$v":"isArbitraryVariableWeight"},{"$v":"isArbitraryWeight"}]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",{"$v":"isPercent"},{"$v":"isArbitraryValue"}]}],"font-family":[{"font":[{"$v":"isArbitraryVariableFamilyName"},{"$v":"isArbitraryFamilyName"},{"$t":"font"}]}],"font-features":[{"font-features":[{"$v":"isArbitraryValue"}]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],"tracking":[{"tracking":[{"$t":"tracking"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"line-clamp":[{"line-clamp":[{"$v":"isNumber"},"none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryNumber"}]}],"leading":[{"leading":[{"$t":"leading"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"list-image":[{"list-image":["none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"list-style-position":[{"list":["inside","outside"]}],"list-style-type":[{"list":["disc","decimal","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-alignment":[{"text":["left","center","right","justify","start","end"]}],"placeholder-color":[{"placeholder":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-color":[{"text":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{"decoration":["solid","dashed","dotted","double","
25wavy"]}],"text-decoration-thickness":[{"decoration":[{"$v":"isNumber"},"from-font","auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryLength"}]}],"text-decoration-color":[{"decoration":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"underline-offset":[{"underline-offset":[{"$v":"isNumber"},"auto",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{"text":["wrap","nowrap","balance","pretty"]}],"indent":[{"indent":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"tab-size":[{"tab":[{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"vertical-align":[{"align":["baseline","top","middle","bottom","text-top","text-bottom","sub","super",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"whitespace":[{"whitespace":["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],"break":[{"break":["normal","words","all","keep"]}],"wrap":[{"wrap":["break-word","anywhere","normal"]}],"hyphens":[{"hyphens":["none","manual","auto"]}],"content":[{"content":["none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"bg-attachment":[{"bg":["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{"bg":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"},{"position":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"bg-repeat":[{"bg":["no-repeat",{"repeat":["","x","y","space","round"]}]}],"bg-size":[{"bg":["auto","cover","contain",{"$v":"isArbitraryVariableSize"},{"$v":"isArbitrarySize"},{"size":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"bg-image":[{"bg":["none",{"linear":[{"to":["t","tr","r","br","b","bl","l","tl"]},{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}],"radial":["",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}],"conic":[{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]},{"$v":"isArbitraryVariableImage"},{"$v":"isArbitraryImage"}]},{"bg-gradient-to":["t","tr","r","br","b","bl","l","tl"]},"bg-conic"],"bg-color":[{"bg":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"gradient-from-pos":[{"from":[{"$v":"isPercent"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"gradient-via-pos":[{"via":[{"$v":"isPercent"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"gradient-to-pos":[{"to":[{"$v":"isPercent"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"gradient-from":[{"from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"gradient-via":[{"via":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"gradient-to":[{"to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded":[{"rounded":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-s":[{"rounded-s":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-e":[{"rounded-e":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-t":[{"rounded-t":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-r":[{"rounded-r":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-b":[{"rounded-b":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-l":[{"rounded-l":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-ss":[{"rounded-ss":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-se":[{"rounded-se":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-ee":[{"rounded-ee":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-es":[{"rounded-es":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-tl":[{"rounded-tl":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-tr":[{"rounded-tr":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-br":[{"rounded-br":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rounded-bl":[{"rounded-bl":["","none","full",{"$t":"radius"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-w":[{"border":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-x":[{"border-x":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-y":[{"border-y":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-s":[{"border-s":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-e":[{"border-e":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-bs":[{"border-bs":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-be":[{"border-be":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-t":[{"border-t":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-r":[{"border-r":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"border-w-b":[{"border-b":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}
25],"border-w-l":[{"border-l":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"divide-x":[{"divide-x":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{"border":["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{"divide":["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{"border":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-x":[{"border-x":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-y":[{"border-y":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-s":[{"border-s":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-e":[{"border-e":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-bs":[{"border-bs":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-be":[{"border-be":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-t":[{"border-t":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-r":[{"border-r":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-b":[{"border-b":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-color-l":[{"border-l":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"divide-color":[{"divide":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"outline-style":[{"outline":["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"outline-w":[{"outline":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"outline-color":[{"outline":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"shadow":[{"shadow":["","none",{"$t":"shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]},"shadow-inner"],"shadow-color":[{"shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"inset-shadow":[{"inset-shadow":["none",{"$t":"inset-shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]}],"inset-shadow-color":[{"inset-shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"ring-w":[{"ring":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"ring-w-inset":["ring-inset"],"ring-color":[{"ring":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"ring-offset-w":[{"ring-offset":[{"$v":"isNumber"},{"$v":"isArbitraryLength"}]}],"ring-offset-color":[{"ring-offset":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"inset-ring-w":[{"inset-ring":["",{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"}]}],"inset-ring-color":[{"inset-ring":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"text-shadow":[{"text-shadow":["none",{"$t":"text-shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]}],"text-shadow-color":[{"text-shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"opacity":[{"opacity":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{"mask":["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[{"$v":"isNumber"}]}],"mask-image-linear-from-pos":[{"mask-linear-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-linear-to-pos":[{"mask-linear-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-linear-from-color":[{"mask-linear-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-linear-to-color":[{"mask-linear-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-t-from-pos":[{"mask-t-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-t-to-pos":[{"mask-t-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-t-from-color":[{"mask-t-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-t-to-color":[{"mask-t-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-r-from-pos":[{"mask-r-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-r-to-pos":[{"mask-r-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-r-from-color":[{"mask-r-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-r-to-color":[{"mask-r-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-b-from-pos":[{"mask-b-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-b-to-pos":[{"mask-b-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-b-from-color":[{"mask-b-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-b-to-color":[{"mask-b-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-l-from-pos":[{"mask-l-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-l-to-pos":[{"mask-l-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-l-from-color":[{"mask-l-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-l-to-color":[{"mask-l-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-x-from-pos":[{"mask-x-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-x-to-pos":[{"mask-x-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-x-from-color":[{"mask-x-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-x-to-color":[{"mask-x-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-y-from-pos":[{"mask-y-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-y-to-pos":[{"mask-y-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-y-from-color":[{"mask-y-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-y-to-color":[{"mask-y-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial":[{"mask-radial":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial-from-pos":[{"mask-radial-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-radial-to-pos":[{"mask-radial-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-radial-from-color":[{"mask-radial-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial-to-color":[{"mask-radial-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{"closest":["side","corner"],"farthest":["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[{"$v":"isNumber"}]}],"mask-image-conic-from-pos":[{"mask-conic-from":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-conic-to-pos":[{"mask-conic-to":[{"$v":"isNumber"},{"$v":"isPercent"},{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"}]}],"mask-image-conic-from-color":[{"mask-conic-from":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-image-conic-to-color":[{"mask-conic-to":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"mask-mode":[{"mask":["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{"mask":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariablePosition"},{"$v":"isArbitraryPosition"},{"position":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"mask-repeat":[{"mask":["no-repeat",{"repeat":["","x","y","space","round"]}]}],"mask-size":[{"mask":["auto","cover","contain",{"$v":"isArbitraryVariableSize"},{"$v":"isArbitrarySize"},{"size":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}]}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{"mask":["none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"filter":[{"filter":["","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"blur":[{"blur":["","none",{"$t":"blur"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"brightness":[{"brightness":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"contrast":[{"contrast":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"drop-shadow":[{"drop-shadow":["","none",{"$t":"drop-shadow"},{"$v":"isArbitraryVariableShadow"},{"$v":"isArbitraryShadow"}]}],"drop-shadow-color":[{"drop-shadow":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"grayscale":[{"grayscale":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"hue-rotate":[{"hue-rotate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"invert":[{"invert":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"saturate":[{"saturate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"sepia":[{"sepia":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-filter":[{"backdrop-filter":["","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-blur":[{"backdrop-blur":["","none",{"$t":"blur"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-brightness":[{"backdrop-brightness":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-contrast":[{"backdrop-contrast":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-grayscale":[{"backdrop-grayscale":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-invert":[{"backdrop-invert":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-opacity":[{"backdrop-opacity":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-saturate":[{"backdrop-saturate":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backdrop-sepia":[{"backdrop-sepia":["",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"border-collapse":[{"border":["collapse","separate"]}],"border-spacing":[{"border-spacing":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"border-spacing-x":[{"border-spacing-x":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"border-spacing-y":[{"border-spacing-y":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"table-layout":[{"table":["auto","fixed"]}],"caption":[{"caption":["top","bottom"]}],"transition":[{"transition":["","all","colors","opacity","shadow","transform","none",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"transition-behavior":[{"transition":["normal","discrete"]}],"duration":[{"duration":[{"$v":"isNumber"},"initial",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"ease":[{"ease":["linear","initial",{"$t":"ease"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"delay":[{"delay":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"animate":[{"animate":["none",{"$t":"animate"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"backface":[{"backface":["hidden","visible"]}],"perspective":[{"perspective":[{"$t":"perspective"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"perspective-origin":[{"perspective-origin":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate":[{"rotate":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate-x":[{"rotate-x":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate-y":[{"rotate-y":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"rotate-z":[{"rotate-z":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale":[{"scale":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-x":[{"scale-x":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-y":[{"scale-y":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-z":[{"scale-z":["none",{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scale-3d":["scale-3d"],"skew":[{"skew":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"skew-x":[{"skew-x":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"skew-y":[{"skew-y":[{"$v":"isNumber"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"transform":[{"transform":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},"","none","gpu","cpu"]}],"transform-origin":[{"origin":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"transform-style":[{"transform":["3d","flat"]}],"translate":[{"translate":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-x":[{"translate-x":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-y":[{"translate-y":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"translate-z":[{"translate-z":[{"$v":"isFraction"},"full",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"tran
25slate-none":["translate-none"],"zoom":[{"zoom":[{"$v":"isInteger"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"accent":[{"accent":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"appearance":[{"appearance":["none","auto"]}],"caret-color":[{"caret":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"color-scheme":[{"scheme":["normal","dark","light","light-dark","only-dark","only-light"]}],"cursor":[{"cursor":["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],"resize":[{"resize":["none","","y","x"]}],"scroll-behavior":[{"scroll":["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scrollbar-track-color":[{"scrollbar-track":[{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{"scrollbar":["auto","thin","none"]}],"scroll-m":[{"scroll-m":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mx":[{"scroll-mx":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-my":[{"scroll-my":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-ms":[{"scroll-ms":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-me":[{"scroll-me":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mbs":[{"scroll-mbs":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mbe":[{"scroll-mbe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mt":[{"scroll-mt":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mr":[{"scroll-mr":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-mb":[{"scroll-mb":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-ml":[{"scroll-ml":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-p":[{"scroll-p":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-px":[{"scroll-px":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-py":[{"scroll-py":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-ps":[{"scroll-ps":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pe":[{"scroll-pe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pbs":[{"scroll-pbs":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pbe":[{"scroll-pbe":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pt":[{"scroll-pt":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pr":[{"scroll-pr":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pb":[{"scroll-pb":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"scroll-pl":[{"scroll-pl":[{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"},{"$t":"spacing"}]}],"snap-align":[{"snap":["start","end","center","align-none"]}],"snap-stop":[{"snap":["normal","always"]}],"snap-type":[{"snap":["none","x","y","both"]}],"snap-strictness":[{"snap":["mandatory","proximity"]}],"touch":[{"touch":["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],"select":[{"select":["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"fill":[{"fill":["none",{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"stroke-w":[{"stroke":[{"$v":"isNumber"},{"$v":"isArbitraryVariableLength"},{"$v":"isArbitraryLength"},{"$v":"isArbitraryNumber"}]}],"stroke":[{"stroke":["none",{"$t":"color"},{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}
25],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}],"contain":[{"contain":["none","content","strict",{"$v":"isArbitraryVariable"},{"$v":"isArbitraryValue"}]}],"contain-size":[{"contain":["size","inline-size"]}],"contain-layout":["contain-layout"],"contain-paint":["contain-paint"],"contain-style":["contain-style"]},"conflictingClassGroups":{"container-named":["container-type"],"overflow":["overflow-x","overflow-y"],"overscroll":["overscroll-x","overscroll-y"],"inset":["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],"flex":["basis","grow","shrink"],"gap":["gap-x","gap-y"],"p":["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],"px":["pr","pl"],"py":["pt","pb"],"m":["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],"mx":["mr","ml"],"my":["mt","mb"],"size":["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],"rounded":["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"translate":["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],"touch":["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"],"contain":["contain-size","contain-layout","contain-paint","contain-style"],"contain-size":["contain"],"contain-layout":["contain"],"contain-paint":["contain"],"contain-style":["contain"]},"conflictingClassGroupModifiers":{"font-size":["leading"]},"orderSensitiveModifiers":["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"],"postfixLookupClassGroups":["container-type"]}');var ec=r(55729);let ed=(e=>{let t=null,r=()=>t??(t=(e=>{let{config:t,cacheSize:r}=(e=>void 0===e?{config:eu()}:"function"==typeof e?{config:e(eu())}:(e=>"classGroups"in e&&"theme"in e&&"conflictingClassGroups"in e)(e)?{config:e}:{config:((e,t)=>{let r=(e=>({...e,theme:{...e.theme},classGroups:{...e.classGroups},conflictingClassGroups:{...e.conflictingClassGroups},conflictingClassGroupModifiers:{...e.conflictingClassGroupModifiers},orderSensitiveModifiers:[...e.orderSensitiveModifiers],postfixLookupClassGroups:[...e.postfixLookupClassGroups??[]]}))(e);void 0!==t.prefix&&(r.prefix=t.prefix);let i=(e,t)=>{if(t)for(let r in t)void 0!==t[r]&&(e[r]=t[r])},n=t.override;n&&(n.orderSensitiveModifiers&&(r.orderSensitiveModifiers=[...n.orderSensitiveModifiers]),i(r.theme,n.theme),i(r.classGroups,n.classGroups),i(r.conflictingClassGroups,n.conflictingClassGroups),i(r.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers));let s=(e,t)=>{if(t)for(let r in t){let i=t[r];
25i&&(e[r]=(e[r]??[]).concat(i))}},a=t.extend;return a&&(a.orderSensitiveModifiers&&(r.orderSensitiveModifiers=[...r.orderSensitiveModifiers,...a.orderSensitiveModifiers]),s(r.theme,a.theme),s(r.classGroups,a.classGroups),s(r.conflictingClassGroups,a.conflictingClassGroups),s(r.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers)),r})(eu(),e),cacheSize:e.cacheSize})(e),{tables:i,validatorImpls:n,prefix:s}=(e=>{let t=(e=>{let t={names:[],idByName:new Map,impls:{},fnName:new Map,classifierFns:new Map},r=[],i=new Map,n=e=>{let t=i.get(e);return void 0===t&&(t=r.length,r.push(e),i.set(e,t)),t},s=((e,t,r)=>{let i=er(),n=(e,t)=>{for(let r of t.split("-")){let t=e.nextPart.get(r);t||(t=er(),e.nextPart.set(r,t)),e=t}return e},s=(r,i,a)=>{if("string"==typeof r){(""===r?i:n(i,r)).classGroupId=a;return}if("function"==typeof r){if((e=>"function"==typeof e&&!0===e.isThemeGetter)(r)){for(let t of r(e.theme))s(t,i,a);return}(i.validators??=[]).push({validatorId:et(t,r),groupId:a});return}if(Z(r,"$t")){let t;for(let n of(t=r.$t,e.theme[t]??[]))s(n,i,a);return}if(Z(r,"$v"))return void(i.validators??=[]).push({validatorId:et(t,r),groupId:a});for(let[e,t]of Object.entries(r)){let r=n(i,e);for(let e of t)s(e,r,a)}};for(let[t,n]of Object.entries(e.classGroups)){let e=r(t);for(let t of n)s(t,i,e)}return i})(e,t,n),a=e=>{if(e.validators)return!1;for(let t of e.nextPart.values())if(!a(t))return!1;return!0},o=(e,t,r)=>{for(let[i,n]of(e.classGroupId>=0&&r.push({tail:t,gid:e.classGroupId}),e.nextPart))o(n,t+"-"+i,r)},l=e=>{for(let[t,r]of[...e.nextPart])a(r)?(o(r,t,e.lit),e.nextPart.delete(t)):l(r)};l(s);let u=[{edges:new Map,groupId:-1,vlist:-1}],c=()=>(u.push({edges:new Map,groupId:-1,vlist:-1}),u.length-1),d=[],h=new Map,p=(e,t)=>{let r=e;for(let e=0;e<t.length;e++){let i=t.charCodeAt(e),n=u[r].edges.get(i);void 0===n&&(n=c(),u[r].edges.set(i,n)),r=n}return r},f=[],v=(e,t,r)=>{for(let{tail:r,gid:i}of(e.classGroupId>=0&&(u[t].groupId=e.classGroupId),e.validators&&(u[t].vlist=(e=>{let t=e.map(e=>e.validatorId+":"+e.groupId).join(","),r=h.get(t);return void 0===r&&(r=d.length,d.push(e.map(e=>[e.validatorId,e.groupId])),h.set(t,r)),r})(e.validators)),e.lit))f.push({anchor:t,tail:r,gid:i});for(let[i,n]of e.nextPart){let e=t;if(!r){let r=u[t].edges.get(45);void 0===r&&(r=c(),u[t].edges.set(45,r)),e=r}v(n,p(e,i),!1)}};v(s,0,!0);let g=new Set(f.map(e=>e.anchor)),m=e=>u[e].groupId>=0||u[e].vlist>=0||g.has(e),_=new Map,b=[],y=e=>{let t=b.length;_.set(e,t);let r={edges:[],groupId:u[e].groupId,vlist:u[e].vlist};for(let[t,i]of(b.push(r),[...u[e].edges.entries()].sort((e,t)=>e[0]-t[0]))){let e=String.fromCharCode(t),n=i;for(;1===u[n].edges.size&&!m(n);){let[[t,r]]=u[n].edges.entries();e+=String.fromCharCode(t),n=r}r.edges.push({label:e,oldTarget:n})}for(let e of r.edges)y(e.oldTarget);return t};y(0);let x=b.length,w=0;for(let e of b)w+=e.edges.length;let E=new Int32Array(x),A=new Int32Array(w),S="",$=new Int32Array(x),T=new Int32Array(x),k=[];{let e=0;for(let t=0;t<x;t++){let r=b[t];for(let i of(E[t]=r.edges.length,r.edges))A[e]=i.label.length,S+=i.label,k.push(_.get(i.oldTarget)),e++;$[t]=r.groupId,T[t]=r.vlist}}{let e=new Int32Array(x);for(let t=x-1;t>=0;t--){let r=1,i=t+1;for(let n=0;n<E[t];n++)r+=e[i],i+=e[i];e[t]=r}let t=0;for(let r=0;r<x;r++){let i=r+1;for(let n=0;n<E[r];n++){if(i!==k[t])throw Error(`cn compiler: edge target mismatch at ${t}`);i+=e[i],t++}}}for(let e of f)e.anchor=_.get(e.anchor);{let e=new Int32Array(d.length).fill(-1),t=[];for(let r=0;r<x;r++){let i=T[r];i>=0&&(-1===e[i]&&(e[i]=t.length,t.push(d[i])),T[r]=e[i])}d.length=0,d.push(...t)}let P=0;for(let e of d)P+=e.length;let C=new Int32Array(P),R=new Int32Array(P);{let e=0;for(let t of d)for(let[r,i]of t)C[e]=r,R[e]=i,e++}f.sort((e,t)=>e.anchor-t.anchor||e.gid-t.gid||(e.tail<t.tail?-1:1));let I=[];for(let e of f){let t=I[I.length-1];t&&t.anchor===e.anchor&&t.gid===e.gid?t.tails.push(e.tail):I.push({anchor:e.anchor,gid:e.gid,tails:[e.tail],set:-1})}let V=new Map,O=[];for(let e of I){let t=e.tails.join(" "),r=V.get(t);void 0===r&&(r=O.length,V.set(t,r),O.push(e.tails)),e.set=r}for(let e of O.flat())if(e.includes("|")||e.includes(" "))throw Error("cn compiler: tail contains delimiter: "+e);let L=new Set(O.flat()).size;
25for(let t of(I.sort((e,t)=>e.anchor-t.anchor||e.set-t.set),Object.values(e.conflictingClassGroups)))for(let e of t)n(e);for(let t of Object.values(e.conflictingClassGroupModifiers))for(let e of t)n(e);for(let t of e.postfixLookupClassGroups??[])n(t);let N=r.length,M=new Int32Array(N).fill(-1),D=0,F=e=>(-1===M[e]&&(M[e]=D++),M[e]);for(let e=0;e<R.length;e++)R[e]=F(R[e]);for(let e of I)e.gid=F(e.gid);for(let e=0;e<$.length;e++)$[e]>=0&&($[e]=F($[e]));for(let e=0;e<N;e++)-1===M[e]&&(M[e]=D++);let j=Array(N);for(let e=0;e<N;e++)j[M[e]]=r[e];let U=[],B=[],G=[],z=[],H=[];for(let t=0;t<N;t++){let r=j[t],n=(e.conflictingClassGroups[r]??[]).map(e=>M[i.get(e)]),s=(e.conflictingClassGroupModifiers[r]??[]).map(e=>M[i.get(e)]);for(let e of(n.length&&(U.push(t),B.push(n.length),G.push(...n)),s))z.push(t),H.push(e)}let W=(e.postfixLookupClassGroups??[]).map(e=>M[i.get(e)]),q=[],X=new Int32Array(C.length);for(let e=0;e<C.length;e++){let r=t.names[C[e]],i=J[r];if(void 0!==i)X[e]=i;else{let t=q.indexOf(r);-1===t&&(t=q.length,q.push(r)),X[e]=25+t}}let K=new Map,Y=[],Q=[],ee=[];{let e=0;for(let t of d){let r=[];for(let i=0;i<t.length;i++)r.push(X[e++]);let i=r.join(","),n=K.get(i);void 0===n&&(n=Y.length,K.set(i,n),Y.push(r.length),Q.push(...r)),ee.push(n)}}let ei={};for(let e of q)ei[e]=t.classifierFns.get(e);return{G:N,customNames:q,impls:ei,edgeCounts:E,edgeLabelLen:A,labelText:S,edgeTargetActual:k,nodeGroup:$,nodeVlist:T,nodeCount:x,totalEdges:w,patCounts:Y,patOps:Q,listPat:ee,vlistGroup:R,litEntries:f,sets:O,attachments:I,uniqueTailCount:L,adjGid:U,adjCnt:B,adjTgt:G,patGid:z,patTgt:H,postfixLookup:W,orderSensitiveModifiers:e.orderSensitiveModifiers.join(" "),prefix:e.prefix}})(e),r=t.litEntries.length,i=new Int32Array(r),n=new Int32Array(r),s=new Int32Array(r),a="",o=new Int32Array(2*t.uniqueTailCount);{let e=new Map,r=0,l=0;for(let u of t.attachments)for(let c of t.sets[u.set]){let t=e.get(c);void 0===t&&(t=r++,e.set(c,t),o[2*t]=a.length,o[2*t+1]=c.length,a+=c),i[l]=u.anchor,n[l]=u.gid,s[l]=t,l++}}return{tables:{GROUP_COUNT:t.G,edgeStart:ei(t.edgeCounts),labelStart:ei(t.edgeLabelLen),labelText:t.labelText,edgeTarget:Int32Array.from(t.edgeTargetActual),nodeGroup:t.nodeGroup,nodeVlist:t.nodeVlist,vlistPat:ei(t.patCounts),vlistOps:Int32Array.from(t.patOps),vlistRef:Int32Array.from(t.listPat),vlistGroup:t.vlistGroup,litAnchor:i,litGroup:n,litPool:s,poolOffsets:o,poolText:a,adjGid:Int32Array.from(t.adjGid),adjStart:ei(t.adjCnt),adjTgt:Int32Array.from(t.adjTgt),patGid:Int32Array.from(t.patGid),patTgt:Int32Array.from(t.patTgt),postfixLookupGroups:Int32Array.from(t.postfixLookup),customValidatorNames:t.customNames,orderSensitiveModifiers:t.orderSensitiveModifiers},validatorImpls:t.impls,prefix:t.prefix}})(t);return((e,t,r={})=>{let{GROUP_COUNT:i,edgeStart:n,labelStart:s,labelText:a,edgeTarget:o,nodeGroup:l,nodeVlist:u,vlistPat:c,vlistOps:d,vlistRef:h,vlistGroup:p,litAnchor:f,litGroup:v,litPool:g,poolOffsets:m,poolText:_,adjGid:b,adjStart:y,adjTgt:x,patGid:w,patTgt:E,postfixLookupGroups:A,customValidatorNames:S,orderSensitiveModifiers:$}=e,T=new Int32Array(i).fill(-1);for(let e=0;e<b.length;e++)T[b[e]]=e;let k=0;for(let e=0;e+1<y.length;e++){let t=y[e+1]-y[e];t>k&&(k=t)}let P=32;for(;P<2*(1+k+w.length);)P<<=1;let C=new Int32Array(h.length+1);for(let e=0;e<h.length;e++)C[e+1]=C[e]+c[h[e]+1]-c[h[e]];let R=new Uint8Array(i);for(let e=0;e<A.length;e++)R[A[e]]=1;let I=new Uint8Array(n.length-1),V=0,O=!0;for(let e=0;e<f.length;e++){I[f[e]]=1;let t=m[2*g[e]+1];t>V&&(V=t);let r=_.charCodeAt(m[2*g[e]]);(91===r||40===r)&&(O=!1)}let L=1;for(;L<2*f.length;)L<<=1;let N=new Int32Array(L).fill(-1);for(let e=0;e<f.length;e++){let t=m[2*g[e]],r=(es(_,t,t+m[2*g[e]+1])^Math.imul(f[e],0x9e3779b1))&L-1;for(;-1!==N[r];)r=r+1&L-1;N[r]=e}let M=(e,t,r,i)=>{let n=(es(t,r,i)^Math.imul(e,0x9e3779b1))&L-1,s=i-r;for(;;){let i=N[n];if(-1===i)return -1;if(f[i]===e&&m[2*g[i]+1]===s){let e=m[2*g[i]],n=!0;for(let i=0;i<s;i++)if(_.charCodeAt(e+i)!==t.charCodeAt(r+i)){n=!1;break}if(n)return v[i]}n=n+1&L-1}},D=r.cacheSize??8192,F=r.prefix??e.prefix??"",j=""===F?"":F+":",U=j.length,B=(S??[]).map(e=>{let r=t&&t[e];if(!r)throw Error("cn: missing validator "+e);return r}),G=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,z=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,H=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,W=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,q=0,X=-1,K=-1,Y=-1,Q=-1,Z=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e,J=e=>/\s/.test(String.fromCharCode(e)),ee=(e,t,r)=>
25{if(q=0,X=-1,r-t<3)return;let i=e.charCodeAt(t),n=e.charCodeAt(r-1);if(91===i&&93===n)q=1;else{if(40!==i||41!==n)return;q=2}Y=t+1,Q=r-1;let s=t+1;if(Z(e.charCodeAt(s))){for(s++;s<r-1;){let t=e.charCodeAt(s);if(!Z(t)&&45!==t)break;s++}s<r-2&&58===e.charCodeAt(s)&&(X=t+1,K=s,Y=s+1)}},et=(e,t,r,i)=>{if(r-t!==i.length)return!1;for(let r=0;r<i.length;r++)if(e.charCodeAt(t+r)!==i.charCodeAt(r))return!1;return!0},er=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ei=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eo=e=>!!e&&!Number.isNaN(Number(e)),eu=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],ec="length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight".split("|").map(e=>e.split(" ")),ed=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],eh=(e,t,r,i)=>{if(e>=10){if(e>=25)return B[e-25](t.slice(r,i));let n=e-10;if(q!==eu[n])return!1;if(X>=0){for(let e of ec[n])if(et(t,X,K,e))return!0;return!1}switch(ed[n]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(Y,Q);return G.test(e)&&!z.test(e)}case 3:return eo(t.slice(Y,Q));case 4:return W.test(t.slice(Y,Q));default:return H.test(t.slice(Y,Q))}}switch(e){case 0:return!0;case 1:return 0===q;case 2:return 1===q;case 3:return 2===q;case 4:return er.test(t.slice(r,i));case 5:return eo(t.slice(r,i));case 6:{let e=t.slice(r,i);return!!e&&Number.isInteger(Number(e))}case 7:return i>r&&37===t.charCodeAt(i-1)&&eo(t.slice(r,i-1));case 8:return ei.test(t.slice(r,i));default:return((e,t,r)=>{if(r-t<11||!et(e,t,t+10,"@container"))return!1;if(47===e.charCodeAt(t+10))return r-t>=12;let i=e.charCodeAt(t+11);return 115===i&&r-t>=17&&et(e,t+10,t+16,"-size/")||110===i&&r-t>=19&&et(e,t+10,t+18,"-normal/")})(t,r,i)}},ep=new Set("string"==typeof $?$.split(" "):$),ef=(e,t,r,i,n,s)=>{let a=es(t,r,i)^0x9e3779b9*!!n,o=e.get(a);if(void 0!==o)e:for(let e=0;e<o.length;e++){let s=o[e];if(s.imp===n&&s.k.length===i-r){for(let e=0;e<s.k.length;e++)if(s.k.charCodeAt(e)!==t.charCodeAt(r+e))continue e;return s.id}}else e.set(a,o=[]);let l=t.slice(r,i),u=s(l);return o.push({k:l,imp:n,id:u}),u},ev=new Map,eg=new Map,em=2,e_=(e,t)=>{let r=[],i=0,n=0,s=0;for(let t=0;t<e.length;t++){let a=e.charCodeAt(t);0===i&&0===n&&58===a?(r.push(e.slice(s,t)),s=t+1):91===a?i++:93===a?i--:40===a?n++:41===a&&n--}r.push(e.slice(s));let a=r[0];if(r.length>1){let e=[],t=[];for(let i of r)91===i.charCodeAt(0)||ep.has(i)?(t.length&&(e.push(...t.sort()),t=[]),e.push(i)):t.push(i);t.length&&e.push(...t.sort()),a=e.join(":")}let o=t?a+" !":a,l=eg.get(o);return void 0===l&&eg.set(o,l=em++),l},eb=new Map,ey=i,ex=i+4096,ew=()=>ey++,eE=new Int32Array(8192),eA=Array(8192).fill(null),eS=new Int32Array(8192),e$=new Int32Array(8192),eT=new Uint8Array(8192),ek=0,eP=(e,t,r,i,n,s,a,o)=>{let l=e;if(null!==eA[e])if(null===eA[1|e])l=1|e;else{if((3&ek++)!=0)return;l=e|ek>>2&1}eA[l]=t.slice(r,i),eE[l]=n,eS[l]=s,e$[l]=a,eT[l]=o},eC=()=>eA.fill(null),eR=256,eI=[new Int32Array(256),new Int32Array(eR),new Int32Array(eR),new Int32Array(eR)],[eV,eO,eL,eN]=eI,eM=new Uint8Array(eR),eD=new Uint8Array(eR),eF=()=>{eR*=2,eI=eI.map(e=>{let t=new Int32Array(eR);return t.set(e),t}),[eV,eO,eL,eN]=eI;let e=new Uint8Array(eR);e.set(eM),eM=e,eD=new Uint8Array(eR)},ej=64,eU=new Int32Array(64),eB=new Int32Array(ej),eG=new Int32Array(i),ez=2048,eH=21,eW=new Float64Array(2048),eq=new Int32Array(ez),eX=0,eK=(e,t)=>{if(0===e&&t<i)return eG[t]===eX?1:(eG[t]=eX,0);let r=2097152*e+t+1,n=Math.imul(r,0x9e3779b1)>>>eH;for(;eq[n]===eX;){if(eW[n]===r)return 1;n=n+1&ez-1}return eW[n]=r,eq[n]=eX,0},eY=(e,t,r,i,n)=>{if(r-t>=2&&91===e.charCodeAt(t)&&93===e.charCodeAt(r-1)){let i=-1;for(let n=t+1;n<r-1;n++)if(58===e.charCodeAt(n)){i=n;break}return -1===i||i===t+1?-1:ef(eb,e,t+1,i,0,ew)}if(i>=0&&l[i]>=0)return l[i];for(let t=n-1;t>=0;t--){let i=eB[t];if(i>r)continue;let n=eU[t],s=r-i;if(1===I[n]&&s>0&&s<=V){let t=e.charCodeAt(i);if(!1===O||91!==t&&40!==t){let t=M(n,e,i,r);if(t>=0)return t}}let a=u[n];if(a<0)continue;let o=h[a],l=c[o],f=c[o+1];if(l===f)continue;ee(e,i,r);let v=C[a]-l;for(let t=l;t<f;t++)if(eh(d[t],e,i,r))return p[v+t]}return -1},eQ=e=>{let t=e.length,r=0,l=0,c=!1;(em>4096||ev.size>4096)&&(ev=new Map,eg=new Map,em=2,eC()),ey>ex&&(eb=new Map,ey=i,eC());let d=0;for(;d<t;){let h,p=e.charCodeAt(d);if(32===p||p>=9&&p<=13||p>
25=160&&J(p)){32!==p&&(c=!0),d++;continue}let f=d,v=0;for(;d<t;){if((p=e.charCodeAt(d))<=32){if(32===p)break;if(p>=9&&p<=13){c=!0;break}}else if(p>=160&&J(p)){c=!0;break}v=Math.imul(v^p,0x1000193),d++}let g=d,m=g-f;r===eR&&eF();let _=r++;eV[_]=f,eO[_]=g,l+=m;let b=(v^=Math.imul(m,0x9e3779b1))^v>>>15,y=8190&b;{let t=-1;if(eE[y]===b&&null!==eA[y]&&eA[y].length===m?t=y:eE[1|y]===b&&null!==eA[1|y]&&eA[1|y].length===m&&(t=1|y),t>=0){let r=eA[t],i=!0;for(let t=0;t<m;t++)if(r.charCodeAt(t)!==e.charCodeAt(f+t)){i=!1;break}if(i){eL[_]=eS[t],eN[_]=e$[t],eM[_]=eT[t];continue}}}let x=f;if(0!==U){if(g-f<=U||!e.startsWith(j,f)){eL[_]=-1,eP(y,e,f,g,b,-1,0,0);continue}x=f+U}let w=0,E=0,A=-1,S=-1;for(let t=x;t<g;t++){let r=e.charCodeAt(t);if(0===w&&0===E){if(58===r){A=t;continue}if(47===r){S=t;continue}}91===r?w++:93===r?w--:40===r?E++:41===r&&E--}let $=A>=x?A+1:x,T=$,k=g,P=!1,C=0;k>T&&33===e.charCodeAt(k-1)?(P=!0,k--):k>T&&33===e.charCodeAt(T)&&(P=!0,T++,C=1);let V=-1;S>$&&(V=S+C)>=k&&(V=-1);let O=T;k-T>1&&45===e.charCodeAt(T)&&(O=T+1);let L=0,N=0,M=0,D=-1,F=0;(u[0]>=0||1===I[0])&&(eU[0]=0,eB[0]=O,F=1);let B=-1,G=0;for(let t=O;t<k;t++)if(t===V&&(B=N<M?-1:L,G=F),-1!==L){let r=e.charCodeAt(t),i=-1;if(N<M)a.charCodeAt(N)===r?++N===M&&(i=L=D):L=-1;else{let e=n[L],t=n[L+1],l=-1;for(let n=e;n<t;n++){let e=s[n];if(a.charCodeAt(e)===r){s[n+1]-e==1?i=l=o[n]:(N=e+1,M=s[n+1],D=o[n],l=L);break}}L=l}if(i>=0&&(u[i]>=0||1===I[i])&&t+1<k&&45===e.charCodeAt(t+1)){if(F===ej){let e=new Int32Array(ej*=2);e.set(eU),eU=e;let t=new Int32Array(ej);t.set(eB),eB=t}eU[F]=i,eB[F]=t+2,F++}}V===k&&(B=N<M?-1:L,G=F);let z=N<M?-1:L,H=!1;if(V>=0)if(H=!0,-1!==(h=eY(e,T,V,B,G))&&h<i&&R[h]){let t=eY(e,T,k,z,F);-1!==t&&t!==h&&(h=t,H=!1)}else -1===h&&(h=eY(e,T,k,z,F),H=!1);else h=eY(e,T,k,z,F);let W=0,q=0;-1===h?eL[_]=-1:(q=+!!H,W=x>=A?+!!P:ef(ev,e,x,A,+!!P,e=>e_(e,P)),eL[_]=h,eM[_]=q,eN[_]=W),eP(y,e,f,g,b,h,W,q)}if(0===r)return"";if(1===r)return 0===eV[0]&&eO[0]===t?e:e.slice(eV[0],eO[0]);if(r*P>ez){for(;r*P>ez;)ez<<=1,eH--;eW=new Float64Array(ez),eq=new Int32Array(ez)}if(em>=2097152||ey>=2097152)throw Error("cn: too many distinct classes in one merge");0==(eX=eX+1|0)&&(eG.fill(0),eq.fill(0),eX=1);let h=!1;for(let e=r-1;e>=0;e--){let t=eL[e];if(-1===t){eD[e]=1;continue}let r=eN[e];if(1===eK(r,t)){eD[e]=0,h=!0;continue}if(eD[e]=1,t<i){let i=T[t];if(i>=0)for(let e=y[i];e<y[i+1];e++)eK(r,x[e]);if(1&eM[e])for(let e=0;e<w.length;e++)w[e]===t&&eK(r,E[e])}}if(!h&&!c&&t===l+r-1)return e;let p="",f=0;for(;f<r;){if(!eD[f]){f++;continue}let t=eV[f],i=eO[f],n=f+1;for(;n<r&&eD[n]&&eV[n]===i+1&&32===e.charCodeAt(i);)i=eO[n],n++;p.length>0&&(p+=" "),p+=e.slice(t,i),f=n}return p},eZ=new Int32Array(32768),eJ=0,e0=1,e1=Object.create(null),e2=Object.create(null),e3=new Map,e5=new Map,e4=0,e6=0,e7=()=>{eJ^=16384,e0=e0+1|0,e6=0},e9=0===D?eQ:en?e=>{let t=e3.get(e);return void 0!==t?t:(e=>{let t=e3.get(e);if(void 0!==t)return t;let r=ea(e,0,e.length),i=(16383&r)+eJ,n=eZ[i]===(r^e0)||eZ[16384^i]===(r^e0-1);return n&&void 0!==(t=e5.get(e))?(e3.set(e,t),t):(t=eQ(e),n?(e3.set(e,t),++e4>D&&(e4=0,e5=e3,e3=new Map,e7())):(eZ[i]=r^e0,++e6>16384&&e7()),t)})(e)}:e=>{let t=e1[e];if(void 0!==t)return t;let r=ea(e,0,e.length),i=(16383&r)+eJ,n=eZ[i]===(r^e0)||eZ[16384^i]===(r^e0-1);return n&&void 0!==(t=e2[e])?(e1[e]=t,t):(t=eQ(e),n?(e1[e]=t,++e4>D&&(e4=0,e2=e1,e1=Object.create(null),e7())):(eZ[i]=r^e0,++e6>16384&&e7()),t)};return{merge:function(){return 1==arguments.length&&"string"==typeof arguments[0]?e9(arguments[0]):e9(el.apply(null,arguments))},mergeString:e9,seenBefore:0===D?()=>!1:e=>{let t=ea(e,0,e.length),r=(16383&t)+eJ;return eZ[r]===(t^e0)||eZ[16384^r]===(t^e0-1)||(eZ[r]=t^e0,++e6>16384&&e7(),!1)},mergeUncached:eQ}})(i,n,{cacheSize:r,prefix:s})})(e));return((e,t)=>{let r=void 0===t?()=>!0:t.seenBefore,i=void 0===t?e:t.mergeUncached,n=new Map,s=new Map,a=0,o=null,l=(e,t,r,i)=>{let n=0;if(t){if(t!==e.a0)return!1;n=1}if(r){if(r!==(0===n?e.a0:e.a1))return!1;n++}if(i){if(i!==(0===n?e.a0:1===n?e.a1:e.a2))return!1;n++}return n===e.t},u=(e,t)=>{let r=e.a,i=0;for(let e=0;e<t.length;e++){let n=t[e];if(n){if(n!==r[i])return!1;i++}}return i===e.t},c=(t,l)=>{let c=t.length,d=null===o?null:o.n;if(!l){if(null!==d&&u(d,t))return o=d,d.r;if(null!==o&&o!==d&&u(o,t))return o.r}let h="",p=-1,f=0,v=!1;for(let e=0;e<c;e++){let r=t[e];if(r){if("string"!=typeof r){if(!(r=t[e]=eo(r,!0)))continue;v=!0}p<0&&(h=r,p=e),f++}}if(0===f)return"";if(1===f)return e(h);if(v){if(null!==d&&u(d,t))return o=d,d.r;if(null!==o&&o!==d&&u(o,t))return o.r}let g=n.get(h);void 0===g&&void 0!==(g=s.get(h))&&n.set(h,g);let m=null;if(void 0!==g)e:for(let e=0;e<g.length;e++){let r=g[e];if(r.t!==f)continue;let i=r.a,n=1;for(let e=p+1;e<c;e++){let r=t[e];if(r&&r!==i[n++])continue e}m=r;break}if(null===m){let o=h,l=[h];for(let e=p+1;e<c;e++){let r=t[e];r&&(o+=" "+r,l.push(r))}if(!r(o))return i(o);m={r:e(o),t:l.length,a0:l[0],a1:l[1],a2:l[2]??"",a:l,n:null},void 0===g&&n.set(h,g=[]),g.length>
25=256&&g.shift(),g.push(m),++a>1e3&&(a=0,s=n,n=new Map)}return null!==o&&o!==m&&(o.n=m),o=m,m.r};return function(t,r,i){let n=arguments.length;if((1|n)==3){let e=o;if(null!==e){let n=e.n;if(null!==n&&l(n,t,r,i))return o=n,n.r;if(e!==n&&l(e,t,r,i))return e.r}return c([t,r,i],!0)}if(1===n)return"string"==typeof t?e(t):Array.isArray(t)?c(t.slice(),!1):e(eo(t,!0));let s=o;if(null!==s){let e=s.n;if(null!==e){let t=e.a,r=0,i=!0;for(let e=0;e<n;e++){let n=arguments[e];if(n){if(n!==t[r]){i=!1;break}r++}}if(i&&r===e.t)return o=e,e.r}if(s!==e){let e=s.a,t=0,r=!0;for(let i=0;i<n;i++){let n=arguments[i];if(n){if(n!==e[t]){r=!1;break}t++}}if(r&&t===s.t)return s.r}}let a=[];for(let e=0;e<n;e++)a.push(arguments[e]);return c(a,!0)}})(e=>r().mergeString(e),{seenBefore:e=>r().seenBefore(e),mergeUncached:e=>r().mergeUncached(e)})})({extend:{theme:{color:["ct-primary","ct-close","ct-dialog-text","ct-dialog-bg","ct-dialog-border","ct-progress-bar","ct-checkmark-bg","ct-focus-ring-color","ct-button-bg","ct-button-bg-hover","ct-button-bg-active","ct-button-text","ct-button-text-hover","ct-button-border","ct-button-border-hover","ct-button-border-active","ct-button-secondary-bg","ct-button-secondary-bg-hover","ct-button-secondary-bg-active","ct-button-secondary-text","ct-button-secondary-text-hover","ct-button-secondary-border","ct-button-secondary-border-hover","ct-button-secondary-border-active","ct-launcher-bg","ct-launcher-bg-hover","ct-launcher-bg-active","ct-launcher-text","ct-banner-button-bg","ct-banner-button-bg-hover","ct-banner-button-bg-active","ct-banner-button-text","ct-banner-button-text-hover"],spacing:["ct-button-padding-h","ct-button-padding-v","ct-button-secondary-padding-h","ct-button-secondary-padding-v","ct-launcher-padding-h","ct-launcher-padding-v","ct-dialog-px","ct-dialog-py"]},classGroups:{"font-weight":[{font:["ct-button-weight","ct-button-secondary-weight","ct-launcher-weight"]}],animate:[{animate:["accordion-down","accordion-up","collapsible-down","collapsible-up"]}]}}});function eh(e){let{checkForDefaultPrevented:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){for(let i of e)if(null==i||i(r),t&&r.defaultPrevented)return}}let ep=e=>"string"==typeof e||"number"==typeof e?e.toString():(0,ec.isValidElement)(e)?ep(e.props.children):Array.isArray(e)?e.map(ep).join(""):"";function ef(e){if(!e||""===e.trim())return[];let t=[];return(function(e){let t=[],r="",i=0;for(let n=0;n<e.length;n++){let s=e[n];if("("===s)i++;else if(")"===s)i--;else if(","===s&&0===i){t.push(r.trim()),r="";continue}r+=s}return r.trim()&&t.push(r.trim()),t})(e).forEach((e,r)=>{if(!e)return;let i=e.includes("inset"),n=e.replace(/inset\s+/,"").trim().match(/^(-?\d+(?:\.\d+)?(?:px|em|rem|%)?)\s+(-?\d+(?:\.\d+)?(?:px|em|rem|%)?)\s*(?:(-?\d+(?:\.\d+)?(?:px|em|rem|%)?))?\s*(?:(-?\d+(?:\.\d+)?(?:px|em|rem|%)?))?\s*(.+)?$/);if(n){let[,e,s,a,o,l]=n;t.push({id:(r+1).toString(),offsetX:parseFloat(e)||0,offsetY:parseFloat(s)||0,blurRadius:parseFloat(a)||0,spreadRadius:parseFloat(o)||0,color:(null==l?void 0:l.trim())||"rgba(0, 0, 0, 0.15)",inset:i})}}),t}function ev(){return"shadow-".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9))}},95678:(e,t,r)=>{"use strict";r.d(t,{I:()=>u});var i=r(6029),n=r(95632),s=r(67827),a=r(55729);let o=(0,s.F)(["inline shrink-0 self-center"],{variants:{size:{xs:"w-3 h-3",sm:"w-3.5 h-3.5",md:"w-4 h-4",lg:"w-5 h-5"}}}),l={xs:"1.25px",sm:"1.5px",md:"1.5px",lg:"1.5px"},u=(0,a.forwardRef)((e,t)=>{let{size:r="md",name:s,strokeWidth:a,className:u,style:c,"aria-label":d,"data-test-id":h,slot:p,...f}=e,v=l[null!=r?r:"md"];return(0,i.jsx)("svg",{...f,ref:t,"aria-label":d||void 0,"aria-hidden":!d||void 0,"data-test-id":h,className:(0,n.cn)(o({size:r}),"spinner"===s&&"animate-spin",u),style:{strokeWidth:a?"number"==typeof a?"".concat(a,"px"):a:v,...c},slot:p,children:(0,i.jsx)("use",{href:"/icons/sprite.svg#".concat(s)})})});u.displayName="Icon"},96426:(e,t,r)=>{"use strict";r.d(t,{x:()=>n});var i=r(27626);function n(e){return(0,i.G)(e)&&"ownerSVGElement"in e}},97566:(e,t,r)=>{"use strict";r.d(t,{B:()=>s});var i=r(11137),n=r(10013);
25function s({keyframes:e,velocity:t=0,power:r=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:l,min:u,max:c,restDelta:d=.5,restSpeed:h}){let p,f,v=e[0],g={done:!1,value:v},m=r*t,_=v+m,b=void 0===l?_:l(_);b!==_&&(m=b-v);let y=e=>-m*Math.exp(-e/s),x=e=>b+y(e),w=e=>{let t=y(e),r=x(e);g.done=Math.abs(t)<=d,g.value=g.done?b:r},E=e=>{let t;if(t=g.value,void 0!==u&&t<u||void 0!==c&&t>c){var r;p=e,f=(0,i.o)({keyframes:[g.value,(r=g.value,void 0===u?c:void 0===c||Math.abs(u-r)<Math.abs(c-r)?u:c)],velocity:(0,n.z)(x,e,g.value),damping:a,stiffness:o,restDelta:d,restSpeed:h})}};return E(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==p||(t=!0,w(e),E(e)),void 0!==p&&e>=p)?f.next(e-p):(t||w(e),g)}}}},97628:(e,t,r)=>{"use strict";r.d(t,{DX:()=>o,Dc:()=>u,TL:()=>a});var i=r(55729),n=r(40041),s=r(6029);function a(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:r,...s}=e;if(i.isValidElement(r)){var a;let e,o,l=(a=r,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let i in t){let n=e[i],s=t[i];/^on[A-Z]/.test(i)?n&&s?r[i]=(...e)=>{let t=s(...e);return n(...e),t}:n&&(r[i]=n):"style"===i?r[i]={...n,...s}:"className"===i&&(r[i]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}(s,r.props);return r.type!==i.Fragment&&(u.ref=t?(0,n.t)(t,l):l),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=i.forwardRef((e,r)=>{let{children:n,...a}=e,o=i.Children.toArray(n),l=o.find(c);if(l){let e=l.props.children,n=o.map(t=>t!==l?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...a,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,n):null})}return(0,s.jsx)(t,{...a,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var o=a("Slot"),l=Symbol("radix.slottable");function u(e){let t=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=l,t}function c(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}},97880:(e,t,r)=>{"use strict";function i(e){return"function"==typeof e&&"applyToOptions"in e}r.d(t,{W:()=>i})},98077:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>o,ff:()=>l,ys:()=>a});var i=r(6029),n=r(95632),s=r(55729);let a=e=>{let{white:t=!1,height:r="25px",className:s,hasBlur:a=!1,...o}=e;return(0,i.jsxs)("svg",{...o,height:r,viewBox:"0 0 120 105",fill:"none",className:(0,n.cn)(s,t&&"text-white",a&&"overflow-visible"),children:[a&&(0,i.jsxs)("filter",{id:"navattic-logo-glyph-blur",x:"-50%",y:"-50%",width:"200%",height:"200%",children:[(0,i.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"5",result:"blur"}),(0,i.jsx)("feOffset",{in:"blur",dx:"0",dy:"8",result:"offsetBlur"})]}),(0,i.jsx)("g",{id:"navattic-logo-glyph",children:(0,i.jsx)("path",{d:"M40.7053 85.136L38.0569 89.4779C32.0644 99.3022 21.1018 104.976 9.61895 104.196L6.09945 103.946C2.14821 103.65 0.122758 103.43 0.0231049 103.288C-0.195132 102.977 1.13264 97.23 4.00642 86.0471C18.6707 79.5357 30.9037 79.2319 40.7053 85.136ZM106.572 57.6965L101.404 79.7382C101.408 79.9112 101.318 80.075 101.166 80.158C71.9355 96.3303 35.7515 61.6904 6.50861 77.3742C6.19598 77.5427 5.90986 77.484 5.90075 77.126L10.9407 56.6613C10.9363 56.4859 11.0268 56.3246 11.1784 56.2415C40.4088 40.0692 77.6559 75.2497 105.531 57.2712C105.803 57.0954 106.563 57.3385 106.572 57.6965ZM113.457 27.8977L108.288 49.9394C108.293 50.1124 108.202 50.2761 108.05 50.3592C78.82 66.5315 42.6361 31.8915 13.3932 47.5754C13.0805 47.7439 12.7944 47.6852 12.7853 47.3272L17.8253 26.8625C17.8208 26.6871 17.9113 26.5258 18.063 26.4427C47.2934 10.2704 84.5404 45.4509 112.415 27.4724C112.688 27.2966 113.448 27.5397 113.457 27.8977ZM119.165 0.0654184C119.41 0.356418 117.81 6.45056 114.366 18.3478C100.473 26.0205 88.387 27.343 78.108 22.3156L80.9672 16.9707C85.9479 7.65988 95.3449 1.54212 105.876 0.754121L113.352 0.231126C117.122 -0.00493336 119.06 -0.0601692 119.165 0.0654184Z",fill:"currentColor"})}
25),a&&(0,i.jsx)("use",{href:"#navattic-logo-glyph",filter:"url(#navattic-logo-glyph-blur)",opacity:"0.3"}),(0,i.jsx)("use",{href:"#navattic-logo-glyph"})]})},o=e=>{let{white:t,height:r,className:s}=e;return(0,i.jsx)("svg",{height:r||"25px",viewBox:"0 0 221 41",className:(0,n.cn)(s,t&&"text-white"),children:(0,i.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,i.jsxs)("g",{fill:"currentColor",fillRule:"nonzero",children:[(0,i.jsx)("path",{d:"M68.384374,11.2934631 C68.4500579,11.8776107 68.49932,12.5347669 68.5321619,13.2649513 L68.5621814,14.0350648 C68.5750102,14.4343818 68.5814245,14.7861598 68.5814245,15.0904033 L68.7292124,15.0904033 C69.0247897,14.4738031 69.4270971,13.8977773 69.9361468,13.3623088 C70.4451966,12.8268402 71.0281318,12.3562839 71.6849702,11.9506259 C72.3418085,11.5449679 73.0643199,11.2285593 73.8525259,11.0013908 C74.6407319,10.7742223 75.4617675,10.6606398 76.3156574,10.6606398 C77.8263859,10.6606398 79.123622,10.912144 80.2074051,11.4151599 C81.2911882,11.9181759 82.1943279,12.5915581 82.9168497,13.4353268 C83.6393722,14.2790955 84.1730448,15.2688863 84.5178852,16.4047288 C84.8627255,17.5405712 85.0351428,18.7575271 85.0351428,20.0556328 L85.0351428,34.3671766 L80.4044556,34.3671766 L80.4044556,21.5646732 C80.4044556,20.6235465 80.3305623,19.7311122 80.1827738,18.8873435 C80.0349852,18.0435748 79.7640414,17.2971752 79.3699404,16.6481224 C78.9758374,15.9990695 78.4339537,15.479835 77.7442736,15.0904033 C77.0545935,14.7009716 76.1678747,14.5062587 75.0840916,14.5062587 C73.2449443,14.5062587 71.7424491,15.195867 70.576561,16.5751043 C69.410673,17.9543416 68.8277377,19.7960014 68.8277377,22.1001391 L68.8277377,34.3671766 L64.1970505,34.3671766 L64.1970505,16.2586926 C64.1970505,15.6420924 64.1806298,14.8470146 64.1477879,13.8734353 C64.114946,12.8998561 64.0656838,12.039874 64,11.2934631 L68.384374,11.2934631 Z M105.429871,19.4228095 C105.429871,17.7028194 104.904409,16.4290723 103.853467,15.6015299 C102.802526,14.7739875 101.406765,14.3602225 99.6661437,14.3602225 C98.352467,14.3602225 97.1127033,14.6117267 95.9468152,15.1147427 C94.780927,15.6177587 93.8038947,16.2586887 93.0156887,17.0375522 L90.5525573,14.1168289 C91.7020245,
2513.0458917 93.105995,12.2021356 94.7645121,11.5855355 C96.4230291,10.9689353 98.2046765,10.6606398 100.109507,10.6606398 C101.784445,10.6606398 103.237678,10.8959179 104.46925,11.3664812 C105.700822,11.8370445 106.710696,12.4779746 107.498902,13.2892907 C108.287108,14.1006068 108.878255,15.0579453 109.272356,16.1613352 C109.666459,17.264725 109.863508,18.449235 109.863508,19.7148818 L109.863508,29.7913769 C109.863508,30.5702403 109.888139,31.3896573 109.937402,32.2496523 C109.986665,33.1096473 110.076979,33.8154817 110.208346,34.3671766 L106.021023,34.3671766 C105.758288,33.2637868 105.626922,32.1604135 105.626922,31.0570236 L105.479134,31.0570236 C104.625244,32.2902241 103.549688,33.2475626 102.252432,33.9290682 C100.955176,34.6105737 99.4198398,34.9513213 97.6463759,34.9513213 C96.7268068,34.9513213 95.7661908,34.8296257 94.7645121,34.5862309 C93.7628334,34.342836 92.8514839,33.9452971 92.0304361,33.3936022 C91.2093884,32.8419073 90.5279286,32.1117338 89.986037,31.2030598 C89.4441455,30.2943858 89.1732036,29.1747865 89.1732036,27.8442281 C89.1732036,26.0917854 89.6494045,24.7044558 90.6018199,23.6821975 C91.5542353,22.6599392 92.8022095,21.8810875 94.3457797,21.3456189 C95.88935,20.8101503 97.6299452,20.4612897 99.5676184,20.2990264 C101.505292,20.1367632 103.459356,20.0556328 105.429871,20.0556328 L105.429871,19.4228095 Z M104.296831,23.3657858 C103.147364,23.3657858 101.956862,23.4144641 100.72529,23.511822 C99.4937186,23.6091799 98.3771102,23.8038928 97.3754314,24.0959666 C96.3737527,24.3880404 95.5445037,24.8261445 94.8876687,25.4102921 C94.2308336,25.9944396 93.9024161,26.7732914 93.9024161,27.7468707 C93.9024161,28.4283761 94.0419922,28.9962889 94.3211484,29.4506259 C94.6003046,29.9049629 94.9697711,30.2781627 95.4295576,30.5702364 C95.8893447,30.8623103 96.3983867,31.0651362 96.9566991,31.1787204 C97.5150089,31.2923047 98.0897369,31.349096 98.6808911,31.349096 C100.848458,31.349096 102.51516,30.7081659 103.681048,29.4262865 C104.846936,28.1444071 105.429871,26.5299124 105.429871,24.5827538 L105.429871,23.3657858 L104.296831,23.3657858 Z M126.612802,34.3671766 L121.588014,34.3671766 L112.080326,11.2934631 L117.20364,11.2934631 L124.051145,29.4506259 L124.149671,29.4506259 L131.046439,11.2934631 L135.972702,11.2934631 L126.612802,34.3671766 Z M153.017571,19.4228095 C153.017571,17.7028194 152.492109,16.4290723 151.441167,15.6015299 C150.390226,14.7739875 148.994465,14.3602225 147.253844,14.3602225 C145.940167,14.3602225 144.700403,14.6117267 143.534515,15.1147427 C142.368627,15.6177587 141.391595,16.2586887 140.603389,17.0375522 L138.140257,14.1168289 C139.289725,13.0458917 140.693695,12.2021356 142.352212,11.5855355 C144.010729,10.9689353 145.792377,10.6606398 147.697207,10.6606398 C149.372145,10.6606398 150.825378,10.8959179 152.05695,11.3664812 C153.288522,11.8370445 154.298396,12.4779746 155.086602,13.2892907 C155.874808,14.1006068 156.465955,15.0579453 156.860056,16.1613352 C157.254159,17.264725 157.451208,18.449235 157.451208,19.7148818 L157.451208,29.7913769 C157.451208,30.5702403 157.475839,31.3896573 157.525102,32.2496523 C157.574365,33.1096473 157.664679,33.8154817 157.796046,34.3671766 L153.608723,34.3671766 C153.345988,33.2637868 153.214622,32.1604135 153.214622,31.0570236 L153.066834,31.0570236 C152.212944,32.2902241 151.137388,33.2475626 149.840132,33.9290682 C148.542876,34.6105737 147.00754,34.9513213 145.234076,34.9513213 C144.314507,34.9513213 143.353891,34.8296257 142.352212,34.5862309 C141.350533,34.342836 140.439184,33.9452971 139.618136,33.3936022 C138.797088,32.8419073 138.115629,32.1117338 137.573737,31.2030598 C137.031846,30.2943858 136.760904,29.1747865 136.760904,27.8442281 C136.760904,26.0917854 137.237104,24.7044558 138.18952,23.6821975 C139.141935,22.6599392 140.389909,21.8810875 141.93348,21.3456189 C143.47705,20.8101503 145.217645,20.4612897 147.155318,20.2990264 C149.092992,20.1367632 151.047056,20.0556328 153.017571,20.0556328 L153.017571,19.4228095 Z M151.884531,23.3657858 C150.735064,23.3657858 149.544562,23.4144641 148.31299,23.511822 C147.081419,23.6091799 145.96481,23.8038928 144.963131,24.0959666 C143.961453,24.3880404 143.132204,24.8261445 142.475369,25.4102921 C141.818534,25.9944396 141.490116,26.7732914 141.490116,27.7468707 C141.490116,28.4283761 141.629692,28.9962889 141.908848,29.4506259 C142.188005,29.9049629 142.557471,30.2781627 143.017258,30.5702364 C143.477045,30.8623103 143.986087,31.0651362 144.544399,31.1787204 C145.102709,31.2923047 145.677437,31.349096 146.268591,31.349096 C148.436158,31.349096 150.10286,30.7081659 151.268748,29.4262865 C152.434636,28.1444071 153.017571,26.5299124 153.017571,24.5827538 L153.017571,23.3657858 L151.884531,23.3657858 Z M174.151239,15.0417246 L167.944148,15.0417246 L167.944148,27.0653686 C167.944148,28.4608322 168.206879,29.458736 168.73235,30.0591099 C169.257821,30.6594837 170.095277,30.9596662 171.244744,30.9596662 C171.671689,30.9596662 172.131469,30.9109879 172.624098,30.81363 C173.116727,30.7162721 173.560086,30.5702374 173.954189,30.3755216 L174.101977,34.123783 C173.543664,34.3184989 172.927887,34.4726466 172.254628,34.5862309 C171.581369,34.6998151 170.883489,34.7566064 170.160966,34.7566064 C167.960558,34.7566064 166.277435,34.1562415 165.111547,32.9554937 C163.945659,31.754746 163.362724,29.9536513 163.362724,27.5521558 L163.362724,15.0417246 L158.879824,15.0417246 L158.879824,11.2934631 L163.362724,11.2934631 L163.362724,4.67315716 L167.944148,4.67315716 L167.944148,11.2934631 L174.151239,11.2934631 L174.151239,15.0417246 Z M187.6492,15.0417246 L181.442109,15.0417246 L181.442109,27.0653686 C181.442109,28.4608322 181.70484,29.458736 182.230311,30.0591099 C182.755781,30.6594837 183.593237,30.9596662 184.742705,30.9596662 C185.169649,30.9596662 185.629429,30.9109879 186.122058,30.81363 C186.614687,30.7162721 187.058046,30.5702374 187.452149,30.3755216 L187.599937,34.123783 C187.041625,34.3184989 186.425848,34.4726466 185.752589,34.5862309 C185.079329,34.6998151 184.381449,34.7566064 183.658927,34.7566064 C181.458518,34.7566064 179.775396,34.1562415 178.609507,32.9554937 C177.443619,31.754746 176.860684,29.9536513 176.860684,27.5521558 L176.860684,15.0417246 L172.377785,15.0417246 L172.377785,11.2934631 L176.860684,11.2934631 L176.860684,4.67315716 L181.442109,4.67315716 L181.442109,11.2934631 L187.6492,11.2934631 L187.6492,15.0417246 Z M195.13712,34.3671766 L190.506432,34.3671766 L190.506432,11.2934631 L195.13712,11.2934631 L195.13712,34.3671766 Z M195.925322,2.96940195 C195.925322,3.81317065 195.621539,4.510892 195.013963,5.06258693 C194.406387,5.61428188 193.675666,5.89012517 192.821776,5.89012517 C191.9
2567886,5.89012517 191.245375,5.60616883 190.65422,5.03824757 C190.063066,4.47032632 189.767493,3.78071801 189.767493,2.96940195 C189.767493,2.12563324 190.063066,1.41979886 190.65422,0.851877608 C191.245375,0.283956366 191.967886,0 192.821776,0 C193.675666,0 194.406387,0.283956366 195.013963,0.851877608 C195.621539,1.41979886 195.925322,2.12563324 195.925322,2.96940195 Z M217.600879,17.1349096 C217.10825,16.3884988 216.369318,15.7637948 215.38406,15.2607789 C214.398803,14.7577629 213.347877,14.5062587 212.231252,14.5062587 C211.016101,14.5062587 209.940544,14.7334238 209.00455,15.1877608 C208.068555,15.6420978 207.272147,16.2505757 206.615312,17.0132128 C205.958477,17.7758499 205.457642,18.6601712 205.112802,19.6662031 C204.767962,20.672235 204.595544,21.72693 204.595544,22.8303199 C204.595544,23.9337097 204.767962,24.9884048 205.112802,25.9944367 C205.457642,27.0004687 205.958477,27.8847899 206.615312,28.647427 C207.272147,29.4100641 208.076766,30.018542 209.029181,30.472879 C209.981596,30.927216 211.065364,31.1543811 212.280515,31.1543811 C213.462824,31.1543811 214.538381,30.927216 215.507217,30.472879 C216.476053,30.018542 217.272458,29.401951 217.896454,28.6230876 L221,31.3977747 C220.014743,32.5336172 218.783189,33.4179384 217.305303,34.050765 C215.827417,34.6835915 214.152504,35 212.280515,35 C210.474209,35 208.807507,34.7079306 207.280358,34.123783 C205.753208,33.5396355 204.431342,32.7202185 203.314716,31.6655076 C202.198091,30.6107968 201.319583,29.3370497 200.679165,27.8442281 C200.038748,26.3514065 199.718544,24.6801205 199.718544,22.8303199 C199.718544,21.0129719 200.030537,19.357912 200.654534,17.8650904 C201.278531,16.3722688 202.148829,15.0904087 203.265453,14.0194715 C204.382079,12.9485343 205.703946,12.1210043 207.231095,11.5368567 C208.758244,10.9527092 210.408526,10.6606398 212.181989,10.6606398 C213.824086,10.6606398 215.457946,10.9851646 217.083621,11.6342142 C218.709296,12.2832638 219.998322,13.2243796 220.950737,14.45758 L217.600879,17.1349096 Z"}),(0,i.jsx)("path",{d:"M14.614,33.379981 L13.669963,34.9279772 C11.5339457,38.4305387 7.62629244,40.4533921 3.53322115,40.1754093 L2.2786895,40.0862393 C0.870261659,39.9805331 0.148287065,39.9023488 0.112765718,39.8516861 C0.0349749176,39.7407364 0.508261246,37.6917844 1.5326247,33.7048302 C6.75974527,31.3833565 11.1202037,31.2750735 14.614,33.379981 Z M38.0924329,23.5972326 L36.2500099,31.4555641 C36.2515807,31.5172581 36.2193196,31.575627 36.1652655,31.6052208 C25.7460424,37.3709987 12.8482089,25.0211147 2.42453508,30.6127501 C2.31309601,30.6728305 2.21111039,30.6518886 2.20786085,30.5242604 L4.00437538,23.2281614 C4.00278278,23.1656108 4.03504015,23.1081069 4.08908452,23.0784792 C14.5083156,17.3127183 27.7850835,29.8553087 37.7211641,23.4456066 C37.8183232,23.3829298 38.0891832,23.4695959 38.0924329,23.5972326 Z M40.5464482,12.9733056 L38.7040252,20.8316371 C38.705596,20.8933311 38.6733348,20.9517001 38.6192807,20.9812938 C28.2000577,26.7470717 15.3022242,14.3971878 4.87855034,19.9888231 C4.76711127,20.0489035 4.66512565,20.0279616 4.6618761,19.9003334 L6.45839063,12.6042344 C6.45679804,12.5416839 6.4890554,12.4841799 6.54309977,12.4545523 C16.9623309,6.68879136 30.2390988,19.2313817 40.1751793,12.8216796 C40.2723384,12.7590029 40.5431984,12.845669 40.5464482,12.9733056 Z M42.5811919,3.05048625 C42.6683566,3.1542339 42.0981531,5.32692733 40.8705814,9.56856655 C35.9183257,12.3040213 31.6102197,12.775552 27.9462636,10.9831587 L28.9654062,9.07760237 C30.7407793,5.75807584 34.0903816,3.57696136 37.8443502,3.29602373 L40.5089833,3.10956477 C41.8528377,3.02540438 42.543574,3.00571154 42.5811919,3.05048625 Z"})]})})})},l=s.forwardRef((e,t)=>{let{height:r=21,...n}=e;return(0,i.jsx)("div",{ref:t,className:"rounded-lg border bg-linear-to-t from-gray-50 to-white p-2 shadow-xs",...n,children:(0,i.jsx)(a,{height:r})})});l.displayName="FramedLogoGlyph"},98669:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});let i=(e,t,r)=>{let i=t-e;return 0===i?1:(r-e)/i}},98936:(e,t,r)=>{"use strict";function i(e){return"string"==typeof e||Array.isArray(e)}r.d(t,{w:()=>i})},99606:(e,t,r)=>{"use strict";function i(e){let t=[{},{}];
25return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function n(e,t,r,n){if("function"==typeof t){let[s,a]=i(n);t=t(void 0!==r?r:e.custom,s,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[s,a]=i(n);t=t(void 0!==r?r:e.custom,s,a)}return t}r.d(t,{a:()=>n})}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(36021),t(43727))),_N_E=e.O()}]);
26//# sourceMappingURL=_app-f2f3d5a41be2d36d.js.map
27//# debugId=af46923a-4af0-5707-90d1-d93b69d630e6

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.