PageSourceSearch

https://iterate-campsite.vercel.app/_next/static/chunks/pages/_app-5c21857ccd3b4f13.js

js iterate-campsite.vercel.app collected 2026-10-03 07:08:28 UTC 485,703 bytes, 206 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="019e7484-30a8-4ffb-a24c-8b47d6e4a95e",e._sentryDebugIdIdentifier="sentry-dbid-019e7484-30a8-4ffb-a24c-8b47d6e4a95e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6922:function(e,t){"use strict";/*!
2 * cookie
3 * Copyright(c) 2012-2014 Roman Shtylman
4 * Copyright(c) 2015 Douglas Christopher Wilson
5 * MIT Licensed
6 */t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},i=e.split(";"),o=(t||{}).decode||n,a=0;a<i.length;a++){var s=i[a],l=s.indexOf("=");if(!(l<0)){var u=s.substring(0,l).trim();if(void 0==r[u]){var c=s.substring(l+1,s.length).trim();'"'===c[0]&&(c=c.slice(1,-1)),r[u]=function(e,t){try{return t(e)}catch(t){return e}}(c,o)}}}return r},t.serialize=function(e,t,n){var o=n||{},a=o.encode||r;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(o.domain){if(!i.test(o.domain))throw TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invali
6d");l+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(l+="; HttpOnly"),o.secure&&(l+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var n=decodeURIComponent,r=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},79712:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.checkCookies=t.hasCookie=t.removeCookies=t.deleteCookie=t.setCookies=t.setCookie=t.getCookie=t.getCookies=void 0;var o=n(6922),a=function(){return"undefined"!=typeof window},s=function(e){void 0===e&&(e="");try{var t=JSON.stringify(e);return/^[\{\[]/.test(t)?t:e}catch(t){return e}};t.getCookies=function(e){if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers&&t.headers.cookie?(0,o.parse)(t.headers.cookie):{};for(var t,n={},r=document.cookie?document.cookie.split("; "):[],i=0,s=r.length;i<s;i++){var l=r[i].split("="),u=l.slice(1).join("=");n[l[0]]=u}return n},t.getCookie=function(e,n){var r,i=(0,t.getCookies)(n)[e];if(void 0!==i)return"true"===(r=i?i.replace(/(%[0-9A-Z]{2}
6)+/g,decodeURIComponent):i)||"false"!==r&&("undefined"!==r?"null"===r?null:r:void 0)},t.setCookie=function(e,t,n){if(n){var l,u,c,d=n.req,p=n.res,f=i(n,["req","res"]);u=d,c=p,l=f}var h=(0,o.serialize)(e,s(t),r({path:"/"},l));if(a())document.cookie=h;else if(c&&u){var m=c.getHeader("Set-Cookie");if(Array.isArray(m)||(m=m?[String(m)]:[]),c.setHeader("Set-Cookie",m.concat(h)),u&&u.cookies){var g=u.cookies;""===t?delete g[e]:g[e]=s(t)}if(u&&u.headers&&u.headers.cookie){var g=(0,o.parse)(u.headers.cookie);""===t?delete g[e]:g[e]=s(t),u.headers.cookie=Object.entries(g).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.setCookies=function(e,n,r){return console.warn("[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead."),(0,t.setCookie)(e,n,r)},t.deleteCookie=function(e,n){return(0,t.setCookie)(e,"",r(r({},n),{maxAge:-1}))},t.removeCookies=function(e,n){return console.warn("[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead."),(0,t.deleteCookie)(e,n)},t.hasCookie=function(e,n){return!!e&&(0,t.getCookies)(n).hasOwnProperty(e)},t.checkCookies=function(e,n){return console.warn("[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead."),(0,t.hasCookie)(e,n)}},10228:function(e,t,n){"use strict";n.d(t,{PB:function(){return m},lX:function(){return h}});var r=n(52983),i=n(81483),o=n.n(i);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var l=["keyOverride"],u=["crossOrigin"],c={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},d=function(e,t,n){void 0===t&&(t=[]);var i=void 0===n?{}:n,o=i.defaultWidth,a=i.defaultHeight;return t.reduce(function(t,n,i){return t.push(r.createElement("meta",{key:"og:"+e+":0"+i,property:"og:"+e,content:n.url})),n.alt&&t.push(r.createElement("meta",{key:"og:"+e+":alt0"+i,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(r.createElement("meta",{key:"og:"+e+":secure_url0"+i,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(r.createElement("meta",{key:"og:"+e+":type0"+i,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(r.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:n.width.toString()})):o&&t.push(r.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:o.toString()})),n.height?t.push(r.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(r.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:a.toString()})),t},[])},p=function(e){var t,n,i,o,p,f=[];e.titleTemplate&&(c.templateTitle=e.titleTemplate);var h="";e.title?(h=e.title,c.templateTitle&&(h=c.templateTitle.replace(/%s/g,function(){return h}))):e.defaultTitle&&(h=e.defaultTitle),h&&f.push(r.createElement("title",{key:"title"},h));var m=void 0===e.noindex?c.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,g=void 0===e.nofollow?c.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,v="";if(e.robotsProps){var y=e.robotsProps,b=y.nosnippet,w=y.maxSnippet,x=y.maxImagePreview,_=y.maxVideoPreview,k=y.noarchive,S=y.noimageindex,E=y.notranslate,C=y.unavailableAfter;v=(b?",nosnippet":"")+(w?",max-snippet:"+w:"")+(x?",max-image-preview:"+x:"")+(k?",noarchive":"")+(C?",unavailable_after:"+C:"")+(S?",noimageindex":"")+(_?",max-video-preview:"+_:"")+(E?",notranslate":"")}if(m||g?(e.dangerouslySetAllPagesToNoIndex&&(c.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(c.nofollow=!0),f.push(r.createElement("meta",{key:"robots",name:"robots",content:(m?"noindex":"index")+","+(g?"nofollow":"follow")+v}))):f.push(r.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+v})),e.description&&f.push(r.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&f.push(r.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor}
6)),e.mobileAlternate&&f.push(r.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){f.push(r.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&f.push(r.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&f.push(r.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&f.push(r.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&f.push(r.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||h)&&f.push(r.createElement("meta",{key:"og:title",property:"og:title",content:(null==(o=e.openGraph)?void 0:o.title)||h})),(null!=(n=e.openGraph)&&n.description||e.description)&&f.push(r.createElement("meta",{key:"og:description",property:"og:description",content:(null==(p=e.openGraph)?void 0:p.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&f.push(r.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var T=e.openGraph.type.toLowerCase();f.push(r.createElement("meta",{key:"og:type",property:"og:type",content:T})),"profile"===T&&e.openGraph.profile?(e.openGraph.profile.firstName&&f.push(r.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&f.push(r.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&f.push(r.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&f.push(r.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===T&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){f.push(r.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&f.push(r.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&f.push(r.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEac
6h(function(e,t){f.push(r.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===T&&e.openGraph.article?(e.openGraph.article.publishedTime&&f.push(r.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&f.push(r.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&f.push(r.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){f.push(r.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&f.push(r.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){f.push(r.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===T||"video.episode"===T||"video.tv_show"===T||"video.other"===T)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&f.push(r.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&f.push(r.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){f.push(r.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){f.push(r.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&f.push(r.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&f.push(r.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEac
6h(function(e,t){f.push(r.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&f.push(r.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(c.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(c.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&f.push.apply(f,d("image",e.openGraph.images,{defaultWidth:c.defaultOpenGraphImageWidth,defaultHeight:c.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(c.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(c.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&f.push.apply(f,d("video",e.openGraph.videos,{defaultWidth:c.defaultOpenGraphVideoWidth,defaultHeight:c.defaultOpenGraphVideoHeight})),e.openGraph.audio&&f.push.apply(f,d("audio",e.openGraph.audio)),e.openGraph.locale&&f.push(r.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&f.push(r.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&f.push(r.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,n,i=e.keyOverride,o=s(e,l);f.push(r.createElement("meta",a({key:"meta:"+(null!=(t=null!=(n=null!=i?i:o.name)?n:o.property)?t:o.httpEquiv)},o)))}),null!=(i=e.additionalLinkTags)&&i.length&&e.additionalLinkTags.forEach(function(e){var t,n=e.crossOrigin,i=s(e,u);f.push(r.createElement("link",a({key:"link"+(null!=(t=i.keyOverride)?t:i.href)+i.rel},i,{crossOrigin:"anonymous"===n||"use-credentials"===n||""===n?n:void 0})))}),f},f=function(e){return r.createElement(o(),null,p(e))},h=function(e){var t=e.title,n=e.titleTemplate,i=e.defaultTitle,o=e.themeColor,a=e.dangerouslySetAllPagesToNoIndex,s=e.dangerouslySetAllPagesToNoFollow,l=e.description,u=e.canonical,c=e.facebook,d=e.openGraph,p=e.additionalMetaTags,h=e.twitter,m=e.defaultOpenGraphImageWidth,g=e.defaultOpenGraphImageHeight,v=e.defaultOpenGraphVideoWidth,y=e.defaultOpenGraphVideoHeight,b=e.mobileAlternate,w=e.languageAlternates,x=e.additionalLinkTags,_=e.robotsProps;return r.createElement(f,{title:t,titleTemplate:n,defaultTitle:i,themeColor:o,dangerouslySetAllPagesToNoIndex:void 0!==a&&a,dangerouslySetAllPagesToNoFollow:void 0!==s&&s,description:l,canonical:u,facebook:c,openGraph:d,additionalMetaTags:p,twitter:h,defaultOpenGraphImageWidth:m,defaultOpenGraphImageHeight:g,defaultOpenGraphVideoWidth:v,defaultOpenGraphVideoHeight:y,mobileAlternate:b,languageAlternates:w,additionalLinkTags:x,robotsProps:_})},m=function(e){var t=e.title,n=e.themeColor,i=e.noindex,o=e.nofollow,a=e.robotsProps,s=e.description,l=e.canonical,u=e.openGraph,c=e.facebook,d=e.twitter,p=e.additionalMetaTags,h=e.titleTemplate,m=e.defaultTitle,g=e.mobileAlternate,v=e.languageAlternates,y=e.additionalLinkTags;return r.createElement(r.Fragment,null,r.createElement(f,{title:t,themeColor:n,noindex:i,nofollow:o,robotsProps:a,description:s,canonical:l,facebook:c,openGraph:u,additionalMetaTags:p,twitter:d,titleTemplate:h,defaultTitle:m,mobileAlternate:g,languageAlternates:v,additionalLinkTags:y}))};RegExp("["+Object.keys(Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"})).join("")+"]","g")},31493:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(54694)}])},4027:function(e,t,n){"use strict";n.d(t,{d:function(){return s}});var r=n(97458),i=n(17297),o=n.n(i),a=n(74992);function s(e){let{className:t,appIcon:n=!1}=e;return(0,r.jsx)("span",{"aria-hidden":"true",className:(0,a.cn)("relative inline-flex flex-none overflow-hidden bg-white ring-1 ring-black/[0.06] dark:ring-white/10",n?"h-10 w-10 rounded-lg":"h-6 w-6 rounded-md",t),children:(0,r.jsx)(o(),{src:"/img/brand/iterate-physician-icon.png",alt:"",width:1254,height:1254,priority:n,className:"h-full w-full object-cover"})})}},34919:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(97458),i=n(74992);function o(e){let{children:t,className:n}=e;return(0,r.jsx)("div",{className:(0,i.cn)("mx-auto flex w-full max-w-7xl flex-col px-4 md:px-6 lg:px-8",n),children:t})}},54694:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{default:function(){return r9},reportWebVitals:function(){return r6}});var i=n(97458),o=n(80327),a=n.n(o),s=n(42905),l=n.n(s);n(45140),n(19397);var u=n(52983);let c=(0,u.createContext)({strict:!1}),d={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"]},p={};for(let e in d)p[e]={isEnabled:t=>d[e].some(e=>!!t[e])};function f(e){for(let t in e)p[t]={...p[t],...e[t]}}function h({children:e,features:t,strict:n=!1}){let[,r]=(0,u.useState)(!m(t)),o=(0,u.useRef)(void 0);if(!m(t)){let{renderer:e,...n}=t;o.current=e,f(n)}return(0,u.useEffect)(()=>{m(t)&&t().then(({renderer:e,...t})=>{f(t),o.current=e,r(!0)})},[]),(0,i.jsx)(c.Provider,{value:{renderer:o.current,strict:n},children:e})}function m(e){return"function"==typeof e}function g(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let v=e=>Array.isArray(e);function y(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function b(e){return"string"==typeof e||Array.isArray(e)}function w(e){let t=[{},{}];
6return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function x(e,t,n,r){if("function"==typeof t){let[i,o]=w(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=w(r);t=t(void 0!==n?n:e.custom,i,o)}return t}function _(e,t,n){let r=e.getProps();return x(r,t,void 0!==n?n:r.custom,e)}let k=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],S=["initial",...k],E=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],C=new Set(E),T=e=>1e3*e,j=e=>e/1e3,L={type:"spring",stiffness:500,damping:25,restSpeed:10},A=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),O={type:"keyframes",duration:.8},P={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},R=(e,{keyframes:t})=>t.length>2?O:C.has(e)?e.startsWith("scale")?A(t[1]):L:P;function M(e,t){return e?e[t]||e.default||e:void 0}let N={skipAnimations:!1,useManualTiming:!1},I={current:!1},D=e=>null!==e;function $(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(D),o=t&&"loop"!==n&&t%2==1?0:i.length-1;return o&&void 0!==r?r:i[o]}let F=e=>e,B=["read","resolveKeyframes","update","preRender","render","postRender"],{schedule:W,cancel:U,state:V,steps:z}=function(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=B.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function s(t){o.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:(e,i=!1,a=!1)=>{let s=a&&r?t:n;return i&&o.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(a=e,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(s),r=!1,i&&(i=!1,l.process(e))}};return l}(o),e),{}),{read:s,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:p}=a,f=()=>{let o=N.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,40),1),i.timestamp=o,i.isProcessing=!0,s.process(i),l.process(i),u.process(i),c.process(i),d.process(i),p.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(f))},h=()=>{n=!0,r=!0,i.isProcessing||e(f)};return{schedule:B.reduce((e,t)=>{let r=a[t];return e[t]=(e,t=!1,i=!1)=>(n||h(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<B.length;t++)a[B[t]].cancel(e)},state:i,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:F,!0),H=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function G(e,t,n,r){if(e===t&&n===r)return F;let i=t=>(function(e,t,n,r,i){let o,a;let s=0;do(o=H(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a})(t,0,1,e,n);return e=>0===e||1===e?e:H(i(e),t,r)}let q=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,X=e=>t=>1-e(1-t),Y=G(.33,1.53,.69,.99),J=X(Y),Z=q(J),K=e=>(e*=2)<1?.5*J(e):.5*(2-Math.pow(2,-10*(e-1))),Q=e=>1-Math.sin(Math.acos(e)),ee=X(Q),et=q(Q),en=e=>/^0[^.\s]+$/u.test(e),er=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ei=e=>t=>"string"==typeof t&&t.startsWith(e),eo=ei("--"),ea=ei("var(--"),es=e=>!!ea(e)&&el.test(e.split("/*")[0].trim()),el=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,eu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ec=(e,t,n)=>n>t?t:n<e?e:n,ed={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},ep={...ed,transform:e=>ec(0,1,e)},ef={...ed,default:1},eh=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),em=eh("deg"),eg=eh("%"),ev=eh("px"),ey=eh("vh"),eb=eh("vw"),ew={...eg,parse:e=>eg.parse(e)/100,transform:e=>eg.transform(100*e)},ex=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),e_=e=>e===ed||e===ev,ek=(e,t)=>parseFloat(e.split(", ")[t]),eS=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return ek(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?ek(t[1],e):0}},eE=new Set(["x","y","z"]),eC=E.filter(e=>!eE.has(e)),eT={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),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:eS(4,13),y:eS(5,14)};eT.translateX=eT.x,eT.translateY=eT.y;let ej=e=>t=>t.test(e),eL=[ed,ev,eg,em,eb,ey,{test:e=>"auto"===e,parse:e=>e}],eA=e=>eL.find(ej(e)),eO=new Set,eP=!1,eR=!1;function eM(){if(eR){let e=Array.from(eO).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;
6t.forEach(e=>{let t=function(e){let t=[];return eC.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eR=!1,eP=!1,eO.forEach(e=>e.complete()),eO.clear()}function eN(){eO.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eR=!0)})}class eI{constructor(e,t,n,r,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(eO.add(this),eP||(eP=!0,W.read(eN),W.resolveKeyframes(eM))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(null===e[i]){if(0===i){let i=null==r?void 0:r.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}else e[i]=e[i-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),eO.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,eO.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let eD=e=>Math.round(1e5*e)/1e5,e$=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,eF=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eB=(e,t)=>n=>!!("string"==typeof n&&eF.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),eW=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[i,o,a,s]=r.match(e$);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},eU=e=>ec(0,255,e),eV={...ed,transform:e=>Math.round(eU(e))},ez={test:eB("rgb","red"),parse:eW("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+eV.transform(e)+", "+eV.transform(t)+", "+eV.transform(n)+", "+eD(ep.transform(r))+")"},eH={test:eB("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:ez.transform},eG={test:eB("hsl","hue"),parse:eW("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+eg.transform(eD(t))+", "+eg.transform(eD(n))+", "+eD(ep.transform(r))+")"},eq={test:e=>ez.test(e)||eH.test(e)||eG.test(e),parse:e=>ez.test(e)?ez.parse(e):eG.test(e)?eG.parse(e):eH.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ez.transform(e):eG.transform(e)},eX=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eY="number",eJ="color",eZ=/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 eK(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,a=t.replace(eZ,e=>(eq.test(e)?(r.color.push(o),i.push(eJ),n.push(eq.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(eY),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:a,indexes:r,types:i}}function eQ(e){return eK(e).values}function e0(e){let{split:t,types:n}=eK(e),r=t.length;return e=>{let i="";for(let o=0;o<r;o++)if(i+=t[o],void 0!==e[o]){let t=n[o];t===eY?i+=eD(e[o]):t===eJ?i+=eq.transform(e[o]):i+=e[o]}return i}}let e1=e=>"number"==typeof e?0:e,e5={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(e$))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(eX))||void 0===n?void 0:n.length)||0)>0},parse:eQ,createTransformer:e0,getAnimatableNone:function(e){let t=eQ(e);return e0(e)(t.map(e1))}},e2=new Set(["brightness","contrast","saturate","opacity"]);function e4(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(e$)||[];if(!r)return e;let i=n.replace(r,""),o=e2.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}let e3=/\b([a-z-]*)\(.*?\)/gu,e7={...e5,getAnimatableNone:e=>{let t=e.match(e3);return t?t.map(e4).join(" "):e}},e9={...ed,transform:Math.round},e6={borderWidth:ev,borderTopWidth:ev,borderRightWidth:ev,borderBottomWidth:ev,borderLeftWidth:ev,borderRadius:ev,radius:ev,borderTopLeftRadius:ev,borderTopRightRadius:ev,borderBottomRightRadius:ev,borderBottomLeftRadius:ev,width:ev,maxWidth:ev,height:ev,maxHeight:ev,top:ev,right:ev,bottom:ev,left:ev,padding:ev,paddingTop:ev,paddingRight:ev,paddingBottom:ev,paddingLeft:ev,margin:ev,marginTop:ev,marginRight:ev,marginBottom:ev,marginLeft:ev,backgroundPositionX:ev,backgroundPositionY:ev,rotate:em,rotateX:em,rotateY:em,rotateZ:em,scale:ef,scaleX:ef,scaleY:ef,scaleZ:ef,skew:em,skewX:em,skewY:em,distance:ev,translateX:ev,translateY:ev,translateZ:ev,x:ev,y:ev,z:ev,perspective:ev,transformPerspective:ev,opacity:ep,originX:ew,originY:ew,originZ:ev,zIndex:e9,
6size:ev,fillOpacity:ep,strokeOpacity:ep,numOctaves:e9},e8={...e6,color:eq,backgroundColor:eq,outlineColor:eq,fill:eq,stroke:eq,borderColor:eq,borderTopColor:eq,borderRightColor:eq,borderBottomColor:eq,borderLeftColor:eq,filter:e7,WebkitFilter:e7},te=e=>e8[e];function tt(e,t){let n=te(e);return n!==e7&&(n=e5),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let tn=new Set(["auto","none","0"]);class tr extends eI{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&es(r=r.trim())){let i=function e(t,n,r=1){F(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,o]=function(e){let t=eu.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${null!=n?n:r}`,i]}(t);if(!i)return;let a=window.getComputedStyle(n).getPropertyValue(i);if(a){let e=a.trim();return er(e)?parseFloat(e):e}return es(o)?e(o,n,r+1):o}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!ex.has(n)||2!==e.length)return;let[r,i]=e,o=eA(r),a=eA(i);if(o!==a){if(e_(o)&&e_(a))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||en(r))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!tn.has(t)&&eK(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=tt(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eT[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);let o=r.length-1,a=r[o];r[o]=eT[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
6h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}function ti(e){return"function"==typeof e}function to(){r=void 0}let ta={now:()=>(void 0===r&&ta.set(V.isProcessing||N.useManualTiming?V.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(to)}},ts=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(e5.test(e)||"0"===e)&&!e.startsWith("url("));class tl{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=ta.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(eN(),eM()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=ta.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],a=ts(i,t),s=ts(o,t);return F(a===s,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||ti(n))&&r)}(e,n,r,i)){if(I.current||!o){null==s||s($(e,this.options,t)),null==a||a(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function tu(e,t,n){var r,i;let o=Math.max(t-5,0);return r=n-e(o),(i=t-o)?1e3/i*r:0}function tc(e,t){return e*Math.sqrt(1-t*t)}let td=["duration","bounce"],tp=["stiffness","damping","mass"];function tf(e,t){return t.some(t=>void 0!==e[t])}function th({keyframes:e,restDelta:t,restSpeed:n,...r}){let i;let o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:p,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tf(e,tp)&&tf(e,td)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;F(e<=T(10),"Spring duration must be 10 seconds or less");let a=1-t;a=ec(.05,1,a),e=ec(.01,10,j(e)),a<1?(i=t=>{let r=t*a,i=r*e;return .001-(r-n)/tc(t,a)*Math.exp(-i)},o=t=>{let r=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=tc(Math.pow(t,2),a);return(r*n+n-o)*Math.exp(-r)*(-i(t)+.001>0?-1:1)/s}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),o=t=>e*e*(n-t)*Math.exp(-t*e));let s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=T(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...r,velocity:-j(r.velocity||0)}),h=p||0,m=u/(2*Math.sqrt(l*c)),g=a-o,v=j(Math.sqrt(l/c)),y=5>Math.abs(g);if(n||(n=y?.01:2),t||(t=y?.005:.5),m<1){let e=tc(v,m);i=t=>a-Math.exp(-m*v*t)*((h+m*v*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===m)i=e=>a-Math.exp(-v*e)*(g+(h+v*g)*e);else{let e=v*Math.sqrt(m*m-1);i=t=>{let n=Math.exp(-m*v*t),r=Math.min(e*t,300);return a-n*((h+m*v*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}return{calculatedDuration:f&&d||null,next:e=>{let r=i(e);if(f)s.done=e>=d;else{let o=0;m<1&&(o=0===e?T(h):tu(i,e,r));let l=Math.abs(o)<=n,u=Math.abs(a-r)<=t;s.done=l&&u}return s.value=s.done?a:r,s}}}function tm({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,p;let f=e[0],h={done:!1,value:f},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,v=n*t,y=f+v,b=void 0===a?y:a(y);b!==y&&(v=b-f);let w=e=>-v*Math.exp(-e/r),x=e=>b+w(e),_=e=>{let t=w(e),n=x(e);h.done=Math.abs(t)<=u,h.value=h.done?b:n},k=e=>{m(h.value)&&(d=e,p=th({keyframes:[h.value,g(h.value)],velocity:tu(x,e,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return(p||void 0!==d||(t=!0,_(e),k(e)),void 0!==d&&e>
6=d)?p.next(e-d):(t||_(e),h)}}}let tg=G(.42,0,1,1),tv=G(0,0,.58,1),ty=G(.42,0,.58,1),tb=e=>Array.isArray(e)&&"number"!=typeof e[0],tw=e=>Array.isArray(e)&&"number"==typeof e[0],tx={linear:F,easeIn:tg,easeInOut:ty,easeOut:tv,circIn:Q,circInOut:et,circOut:ee,backIn:J,backInOut:Z,backOut:Y,anticipate:K},t_=e=>{if(tw(e)){F(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return G(t,n,r,i)}return"string"==typeof e?(F(void 0!==tx[e],`Invalid easing type '${e}'`),tx[e]):e},tk=(e,t)=>n=>t(e(n)),tS=(...e)=>e.reduce(tk),tE=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},tC=(e,t,n)=>e+(t-e)*n;function tT(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tj(e,t){return n=>n>0?t:e}let tL=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},tA=[eH,ez,eG],tO=e=>tA.find(t=>t.test(e));function tP(e){let t=tO(e);if(F(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===eG&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=tT(s,r,e+1/3),o=tT(s,r,e),a=tT(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(n)),n}let tR=(e,t)=>{let n=tP(e),r=tP(t);if(!n||!r)return tj(e,t);let i={...n};return e=>(i.red=tL(n.red,r.red,e),i.green=tL(n.green,r.green,e),i.blue=tL(n.blue,r.blue,e),i.alpha=tC(n.alpha,r.alpha,e),ez.transform(i))},tM=new Set(["none","hidden"]);function tN(e,t){return n=>tC(e,t,n)}function tI(e){return"number"==typeof e?tN:"string"==typeof e?es(e)?tj:eq.test(e)?tR:tF:Array.isArray(e)?tD:"object"==typeof e?eq.test(e)?tR:t$:tj}function tD(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>tI(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function t$(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=tI(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let tF=(e,t)=>{let n=e5.createTransformer(t),r=eK(e),i=eK(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?tM.has(e)&&!i.values.length||tM.has(t)&&!r.values.length?tM.has(e)?n=>n<=0?e:t:n=>n>=1?t:e:tS(tD(function(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let a=t.types[o],s=e.indexes[a][i[a]],l=null!==(n=e.values[s])&&void 0!==n?n:0;r[o]=l,i[a]++}return r}(r,i),i.values),n):(F(!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.`),tj(e,t))};function tB(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?tC(e,t,n):tI(e)(e,t)}function tW({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=tb(r)?r.map(t_):t_(r),o={done:!1,value:t[0]},a=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;if(F(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];if(2===o&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],i=n||tB,o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);t&&(o=tS(Array.isArray(t)?t[n]||F:t,o)),r.push(o)}return r}(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let r=tE(e[n],e[n+1],t);return a[n](r)};return n?t=>l(ec(e[0],e[o-1],t)):l}((n&&n.length===t.length?n:function(e){let t=[0];return function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=tE(0,t,r);e.push(tC(n,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(i)?i:t.map(()=>i||ty).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}let tU=e=>{let t=({timestamp:t})=>e(t);return{start:()=>W.update(t,!0),stop:()=>U(t),now:()=>V.isProcessing?V.timestamp:ta.now()}},tV={decay:tm,inertia:tm,tween:tW,keyframes:tW,spring:th},tz=e=>e/100;class tH extends tl{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
6{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,o=(null==r?void 0:r.KeyframeResolver)||eI;this.resolver=new o(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let t,n;let{type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:a,velocity:s=0}=this.options,l=ti(r)?r:tV[r]||tW;l!==tW&&"number"!=typeof e[0]&&(t=tS(tz,tB(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(n=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:c}=u,d=c+o;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(i+1)-o}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return i.next(0);let{delay:d,repeat:p,repeatType:f,repeatDelay:h,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=i;if(p){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,p+1))%2&&("reverse"===f?(n=1-n,h&&(n-=h/c)):"mirror"===f&&(b=o)),y=ec(0,1,n)*c}let w=v?{done:!1,value:s[0]}:b.next(y);a&&(w.value=a(w.value));let{done:x}=w;v||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let _=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return _&&void 0!==r&&(w.value=$(s,this.options,r)),m&&m(w.value),_&&this.finish(),w}get duration(){let{resolved:e}=this;return e?j(e.calculatedDuration):0}get time(){return j(this.currentTime)}set time(e){e=T(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=j(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=tU,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}
6let tG=new Set(["opacity","clipPath","filter","transform"]),tq=(e,t)=>{let n="",r=Math.max(Math.round(t/10),2);for(let t=0;t<r;t++)n+=e(tE(0,r-1,t))+", ";return`linear(${n.substring(0,n.length-2)})`};function tX(e){let t;return()=>(void 0===t&&(t=e()),t)}let tY={linearEasing:void 0},tJ=function(e,t){let n=tX(e);return()=>{var e;return null!==(e=tY[t])&&void 0!==e?e:n()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tZ=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,tK={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tZ([0,.65,.55,1]),circOut:tZ([.55,0,1,.45]),backIn:tZ([.31,.01,.66,-.59]),backOut:tZ([.33,1.53,.69,.99])};function tQ(e,t){e.timeline=t,e.onfinish=null}let t0=tX(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),t1={anticipate:K,backInOut:Z,circInOut:et};class t5 extends tl{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new tr(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n,r;let{duration:i=300,times:o,ease:a,type:s,motionValue:l,name:u,startTime:c}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("string"==typeof a&&tJ()&&a in t1&&(a=t1[a]),ti((r=this.options).type)||"spring"===r.type||!function e(t){return!!("function"==typeof t&&tJ()||!t||"string"==typeof t&&(t in tK||tJ())||tw(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:n,motionValue:r,element:l,...u}=this.options,c=function(e,t){let n=new tH({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],o=0;for(;!r.done&&o<2e4;)i.push((r=n.sample(o)).value),o+=10;return{times:void 0,keyframes:i,duration:o-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),i=c.duration,o=c.times,a=c.ease,s="keyframes"}let d=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let u={[t]:n};l&&(u.offset=l);let c=function e(t,n){if(t)return"function"==typeof t&&tJ()?tq(t,n):tw(t)?tZ(t):Array.isArray(t)?t.map(t=>e(t,n)||tK.easeOut):tK[t]}(s,i);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:i,times:o,ease:a});return d.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?(tQ(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:n}=this.options;l.set($(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:i,times:o,type:s,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return j(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return j(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=T(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return F;let{animation:n}=t;tQ(n,e)}else this.pendingTimeline=e;return F}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:o,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,element:l,...u}=this.options,c=new tH({...u,keyframes:n,duration:r,type:i,ease:o,times:a,isGenerator:!0}),d=T(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:s}=this.options;s&&s(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}
6static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:a}=e;return t0()&&n&&tG.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==i&&0!==o&&"inertia"!==a}}let t2=tX(()=>void 0!==window.ScrollTimeline);class t4{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>t2()&&n.attachTimeline?n.attachTimeline(e):t(n));return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let t3=(e,t,n,r={},i,o)=>a=>{let s=M(r,e)||{},l=s.delay||r.delay||0,{elapsed:u=0}=r;u-=T(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(c={...c,...R(e,c)}),c.duration&&(c.duration=T(c.duration)),c.repeatDelay&&(c.repeatDelay=T(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(d=!0)),(I.current||N.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),d&&!o&&void 0!==t.get()){let e=$(c.keyframes,s);if(void 0!==e)return W.update(()=>{c.onUpdate(e),c.onComplete()}),new t4([])}return!o&&t5.supports(c)?new t5(c):new tH(c)},t7=e=>v(e)?e[e.length-1]||0:e;class t9{constructor(){this.subscriptions=[]}add(e){var t;return -1===(t=this.subscriptions).indexOf(e)&&t.push(e),()=>(function(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)})(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let t6=e=>!isNaN(parseFloat(e)),t8={current:void 0};class ne{constructor(e,t={}){this.version="11.11.11",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=ta.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=ta.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=t6(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 t9);let n=this.events[e].add(t);return"change"===e?()=>{n(),W.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return t8.current&&t8.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=ta.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function nt(e,t){return new ne(e,t)}let nn=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),nr="data-"+nn("framerAppearId"),ni=e=>!!(e&&e.getVelocity);function no(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;r&&(a=r);let u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let t in l){let r=e.getValue(t,null!==(o=e.latestValues[t])&&void 0!==o?o:null),i=l[t];if(void 0===i||c&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(c,t))continue;let s={delay:n,...M(a||{},t)},d=!1;if(window.MotionHandoffAnimation){let n=e.props[nr];if(n){let e=window.MotionHandoffAnimation(n,t,W);null!==e&&(s.startTime=e,d=!0)}}(function(e,t){let n=e.getValue("willChange");ni(n)&&n.add&&n.add(t)})(e,t),r.start(t3(t,r,i,e.shouldReduceMotion&&C.has(t)?{type:!1}:s,e,d));let p=r.animation;p&&u.push(p)}return s&&Promise.all(u).then(()=>{W.update(()=>{s&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=_(e,t)||{};for(let t in i={...i,...n}){let n=t7(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,nt(n))}}(e,s)})}),u}function na(e,t,n={}){var r;let i=_(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};
6n.transitionOverride&&(o=n.transitionOverride);let a=i?()=>Promise.all(no(e,i,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(ns).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(na(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(n.delay)]);{let[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(()=>t())}}function ns(e,t){return e.sortNodePosition(t)}let nl=S.length,nu=[...k].reverse(),nc=k.length;function nd(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function np(){return{animate:nd(!0),whileInView:nd(),whileHover:nd(),whileTap:nd(),whileDrag:nd(),whileFocus:nd(),exit:nd()}}class nf{constructor(e){this.isMounted=!1,this.node=e}update(){}}class nh extends nf{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>
6na(e,t,n)));else if("string"==typeof t)r=na(e,t,n);else{let i="function"==typeof t?_(e,t,n.custom):t;r=Promise.all(no(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=np(),r=!0,i=t=>(n,r)=>{var i;let o=_(e,r,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(o){let{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function o(o){let{props:a}=e,s=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<nl;e++){let r=S[e],i=t.props[r];(b(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},l=[],u=new Set,c={},d=1/0;for(let t=0;t<nc;t++){var p;let f=nu[t],h=n[f],m=void 0!==a[f]?a[f]:s[f],w=b(m),x=f===o?h.isActive:null;!1===x&&(d=t);let _=m===s[f]&&m!==a[f]&&w;if(_&&r&&e.manuallyAnimateOnMount&&(_=!1),h.protectedKeys={...c},!h.isActive&&null===x||!m&&!h.prevProp||g(m)||"boolean"==typeof m)continue;let k=(p=h.prevProp,"string"==typeof m?m!==p:!!Array.isArray(m)&&!y(m,p)),S=k||f===o&&h.isActive&&!_&&w||t>d&&w,E=!1,C=Array.isArray(m)?m:[m],T=C.reduce(i(f),{});!1===x&&(T={});let{prevResolvedValues:j={}}=h,L={...j,...T},A=t=>{S=!0,u.has(t)&&(E=!0,u.delete(t)),h.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in L){let t=T[e],n=j[e];if(!c.hasOwnProperty(e))(v(t)&&v(n)?y(t,n):t===n)?void 0!==t&&u.has(e)?A(e):h.protectedKeys[e]=!0:null!=t?A(e):u.add(e)}h.prevProp=m,h.prevResolvedValues=T,h.isActive&&(c={...c,...T}),r&&e.blockInitialAnimation&&(S=!1);let O=!(_&&k)||E;S&&O&&l.push(...C.map(e=>({animation:e,options:{type:f}})))}if(u.size){let t={};u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),l.push({animation:t})}let f=!!l.length;return r&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(l):Promise.resolve()}return{animateChanges:o,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let a=o(t);for(let e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=np(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();g(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(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let nm=0;class ng extends nf{constructor(){super(...arguments),this.id=nm++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}function nv(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}let ny=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function nb(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let nw=e=>t=>ny(t)&&e(t,nb(t));function nx(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let n_=nx("dragHorizontal"),nk=nx("dragVertical");function nS(){let e=function(e){let t=!1;if("y"===e)t=nk();else if("x"===e)t=n_();else{let e=n_(),n=nk();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}(!0);return!e||(e(),!1)}function nE(e,t){var n,r,i;let o=t?"pointerenter":"pointerleave",a=t?"onHoverStart":"onHoverEnd";return n=e.current,r=(n,r)=>{if("touch"===n.pointerType||nS())return;let i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);let o=i[a];o&&W.postRender(()=>o(n,r))},i={passive:!e.getProps()[a]},nv(n,o,nw(r),i)}class nC extends nf{mount(){this.unmount=tS(nE(this.node,!0),nE(this.node,!1))}unmount(){}}class nT extends nf{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=tS(nv(this.node.current,"focus",()=>this.onFocus()),nv(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let nj=(e,t)=>!!t&&(e===t||nj(e,t.parentElement));function nL(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,nb(n))}class nA extends nf{constructor(){super(...arguments),this.removeStartListeners=F,this.removeEndListeners=F,this.removeAccessibleListeners=F,this.startPointerPress=(e,t)=>{var n,r,i,o,a,s,l,u;if(this.isPressing)return;this.removeEndListeners();let c=this.node.getProps(),d=(n=window,r="pointerup",i=(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:i}=this.node.getProps(),o=i||nj(this.node.current,e.target)?n:r;o&&W.update(()=>o(e,t))},o={passive:!(c.onTap||c.onPointerUp)},nv(n,r,nw(i),o)),p=(a=window,s="pointercancel",l=(e,t)=>
6this.cancelPress(e,t),u={passive:!(c.onTapCancel||c.onPointerCancel)},nv(a,s,nw(l),u));this.removeEndListeners=tS(d,p),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=nv(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=nv(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&nL("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&W.postRender(()=>n(e,t))})}),nL("down",(e,t)=>{this.startPress(e,t)}))}),t=nv(this.node.current,"blur",()=>{this.isPressing&&nL("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=tS(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&W.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!nS()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&W.postRender(()=>n(e,t))}mount(){var e,t,n,r;let i=this.node.getProps(),o=(e=i.globalTapTarget?window:this.node.current,t="pointerdown",n=this.startPointerPress,r={passive:!(i.onTapStart||i.onPointerStart)},nv(e,t,nw(n),r)),a=nv(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tS(o,a)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let nO=new WeakMap,nP=new WeakMap,nR=e=>{let t=nO.get(e.target);t&&t(e)},nM=e=>{e.forEach(nR)},nN={some:0,all:1};
6class nI extends nf{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:nN[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;nP.has(n)||nP.set(n,{});let r=nP.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(nM,{root:e,...t})),r[i]}(t);return nO.set(e,n),r.observe(e),()=>{nO.delete(e),r.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}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 n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}let nD=(e,t)=>t&&"number"==typeof e?t.transform(e):e,n$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nF=E.length;function nB(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,a=!1,s=!1;for(let e in t){let n=t[e];if(C.has(e)){a=!0;continue}if(eo(e)){i[e]=n;continue}{let t=nD(n,e6[e]);e.startsWith("origin")?(s=!0,o[e]=t):r[e]=t}}if(!t.transform&&(a||n?r.transform=function(e,t,n){let r="",i=!0;for(let o=0;o<nF;o++){let a=E[o],s=e[a];if(void 0===s)continue;let l=!0;if(!(l="number"==typeof s?s===(a.startsWith("scale")?1:0):0===parseFloat(s))||n){let e=nD(s,e6[a]);if(!l){i=!1;let t=n$[a]||a;r+=`${t}(${e}) `}n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}let nW={};function nU(e,t,n){var r;let{style:i}=e,o={};for(let a in i)(ni(i[a])||t.style&&ni(t.style[a])||function(e,{layout:t,layoutId:n}){return C.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!nW[e]||"opacity"===e)}(a,e)||(null===(r=null==n?void 0:n.getValue(a))||void 0===r?void 0:r.liveStyle)!==void 0)&&(o[a]=i[a]);return o}function nV(e,{style:t,vars:n},r,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}var nz=n(74185);let nH={current:null},nG={current:!1};function nq(e){return g(e.animate)||S.some(t=>b(e[t]))}let nX=new WeakMap,nY=[...eL,eq,e5],nJ=e=>nY.find(ej(e)),nZ=()=>({min:0,max:0}),nK=()=>({x:nZ(),y:nZ()}),nQ=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class n0{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eI,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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=ta.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,W.render(this.render,!1,!0))};let{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=nq(t),this.isVariantNode=!!(nq(t)||t.variants),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==s[e]&&ni(t)&&t.set(s[e],!1)}}mount(e){this.current=e,nX.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.forEac
6h((e,t)=>this.bindToMotionValue(t,e)),nG.current||function(){if(nG.current=!0,nz.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nH.current=e.matches;e.addListener(t),t()}else nH.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nH.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in nX.delete(this.current),this.projection&&this.projection.unmount(),U(this.notifyUpdate),U(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(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}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=C.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&W.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),o(),n&&n(),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 p){let t=p[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.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):nK()}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<nQ.length;t++){let n=nQ[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],o=n[r];if(ni(i))e.addValue(r,i);else if(ni(o))e.addValue(r,nt(i,{owner:e}));else if(o!==i){if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,nt(void 0!==t?t:i,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);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 n=this.values.get(e);t!==n&&(n&&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 n=this.values.get(e);return void 0===n&&void 0!==t&&(n=nt(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(er(r)||en(r))?r=parseFloat(r):!nJ(r)&&e5.test(t)&&(r=tt(e,t)),this.setBaseTarget(e,ni(r)?r.get():r)),ni(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=x(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(n=i[e])}if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||ni(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new t9),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class n1 extends n0{constructor(){super(...arguments),this.KeyframeResolver=tr}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}}class n5 extends n1{constructor(){super(...arguments),this.type="html",this.renderInstance=nV}readValueFromInstance(e,t){if(C.has(t)){let e=te(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=(eo(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}build(e,t,n){nB(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return nU(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;ni(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function n2(e,t,n){return"string"==typeof e?e:ev.transform(t+n*e)}let n4={offset:"stroke-dashoffset",array:"stroke-dasharray"},n3={offset:"strokeDashoffset",array:"strokeDasharray"},n7=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"]),n9=e=>"string"==typeof e&&"svg"===e.toLowerCase();
6class n6 extends n1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nK}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(C.has(t)){let e=te(t);return e&&e.default||0}return t=n7.has(t)?t:nn(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return function(e,t,n){let r=nU(e,t,n);for(let n in e)(ni(e[n])||ni(t[n]))&&(r[-1!==E.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}(e,t,n)}build(e,t,n){!function(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d){if(nB(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:f,dimensions:h}=e;p.transform&&(h&&(f.transform=p.transform),delete p.transform),h&&(void 0!==i||void 0!==o||f.transform)&&(f.transformOrigin=function(e,t,n){let r=n2(t,e.x,e.width),i=n2(n,e.y,e.height);return`${r} ${i}`}(h,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==r&&(p.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?n4:n3;e[o.offset]=ev.transform(-r);let a=ev.transform(t),s=ev.transform(n);e[o.array]=`${a} ${s}`}(p,a,s,l,!1)}
6(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){!function(e,t,n,r){for(let n in nV(e,t,void 0,r),t.attrs)e.setAttribute(n7.has(n)?n:nn(n),t.attrs[n])}(e,t,0,r)}mount(e){this.isSVGTag=n9(e.tagName),super.mount(e)}}let n8=["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"],re={renderer:(e,t)=>!function(e){if("string"!=typeof e||e.includes("-"));else if(n8.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}(e)?new n5(t,{allowProjection:e!==u.Fragment}):new n6(t),animation:{Feature:nh},exit:{Feature:ng},inView:{Feature:nI},tap:{Feature:nA},focus:{Feature:nT},hover:{Feature:nC}},rt=["light","dark"],rn="(prefers-color-scheme: dark)",rr="undefined"==typeof window,ri=(0,u.createContext)(void 0),ro=e=>(0,u.useContext)(ri)?u.createElement(u.Fragment,null,e.children):u.createElement(rs,e),ra=["light","dark"],rs=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:o=ra,defaultTheme:a=n?"system":"light",attribute:s="data-theme",value:l,children:c,nonce:d})=>{let[p,f]=(0,u.useState)(()=>ru(i,a)),[h,m]=(0,u.useState)(()=>ru(i)),g=l?Object.values(l):o,v=(0,u.useCallback)(e=>{let i=e;if(!i)return;"system"===e&&n&&(i=rd());let o=l?l[i]:i,u=t?rc():null,c=document.documentElement;if("class"===s?(c.classList.remove(...g),o&&c.classList.add(o)):o?c.setAttribute(s,o):c.removeAttribute(s),r){let e=rt.includes(a)?a:null,t=rt.includes(i)?i:e;c.style.colorScheme=t}null==u||u()},[]),y=(0,u.useCallback)(e=>{f(e);try{localStorage.setItem(i,e)}catch(e){}},[e]),b=(0,u.useCallback)(t=>{m(rd(t)),"system"===p&&n&&!e&&v("system")},[p,e]);(0,u.useEffect)(()=>{let e=window.matchMedia(rn);return e.addListener(b),b(e),()=>e.removeListener(b)},[b]),(0,u.useEffect)(()=>{let e=e=>{e.key===i&&y(e.newValue||a)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[y]),(0,u.useEffect)(()=>{v(null!=e?e:p)},[e,p]);let w=(0,u.useMemo)(()=>({theme:p,setTheme:y,forcedTheme:e,resolvedTheme:"system"===p?h:p,themes:n?[...o,"system"]:o,systemTheme:n?h:void 0}),[p,y,e,h,n,o]);return u.createElement(ri.Provider,{value:w},u.createElement(rl,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:r,storageKey:i,themes:o,defaultTheme:a,attribute:s,value:l,children:c,attrs:g,nonce:d}),c)},rl=(0,u.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:a,attrs:s,nonce:l})=>{let c="system"===o,d="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${s.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=i?rt.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(e,t=!1,r=!0)=>{let o=a?a[e]:e,s=t?e+"|| ''":`'${o}'`,l="";return i&&r&&!t&&rt.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||o?`c.add(${s})`:"null":o&&(l+=`d[s](n,${s})`),l},h=e?`!function(){${d}${f(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${rn}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}${c?"":"else{"+f(o,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}else{${f(o,!1,!1)};}${p}}catch(t){}}();`;return u.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})},()=>!0),ru=(e,t)=>{let n;if(!rr){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},rc=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}}
6,rd=e=>(e||(e=window.matchMedia(rn)),e.matches?"dark":"light");"undefined"==typeof window?u.useEffect:u.useLayoutEffect;var rp=((e,t,n)=>{let r=(n=n||document.querySelector(`[data-br="${e}"]`)).parentElement,i=e=>n.style.maxWidth=e+"px";n.style.maxWidth="";let o=r.clientWidth,a=r.clientHeight,s=o/2-.25,l=o+.5,u;if(o){for(i(s),s=Math.max(n.scrollWidth,s);s+1<l;)i(u=Math.round((s+l)/2)),r.clientHeight===a?l=u:s=u;i(l*t+o*(1-t))}n.__wrap_o||"undefined"!=typeof ResizeObserver&&(n.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+n.dataset.brr,n)})).observe(r)}).toString(),rf=(e,t,n="")=>u.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(e?"":`self.__wrap_b=${rp};`)+n},nonce:t}),rh=u.createContext(!1),rm=({nonce:e,children:t})=>u.createElement(rh.Provider,{value:!0},rf(!1,e),t),rg=n(63730),rv=e=>{switch(e){case"success":return rw;case"info":return r_;case"warning":return rx;case"error":return rk;default:return null}},ry=Array(12).fill(0),rb=({visible:e})=>u.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},u.createElement("div",{className:"sonner-spinner"},ry.map((e,t)=>u.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),rw=u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},u.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),rx=u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},u.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),r_=u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},u.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),rk=u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},u.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),rS=()=>{let[e,t]=u.useState(document.hidden);return u.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e},rE=1,rC=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:rE++,o=this.toasts.find(e=>e.id===i),a=void 0===e.dismissible||e.dismissible;return o?this.toasts=this.toasts.map(t=>t.id===i?(this.publish({...t,...e,id:i,title:n}),{...t,...e,id:i,dismissible:a,title:n}):t):this.addToast({title:n,...r,dismissible:a,id:i}),i},this.dismiss=e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
6this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let n;if(!t)return;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let r=e instanceof Promise?e:e(),i=void 0!==n;return r.then(async e=>{if(rT(e)&&!e.ok){i=!1;let r="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,o="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:"error",message:r,description:o})}else if(void 0!==t.success){i=!1;let r="function"==typeof t.success?await t.success(e):t.success,o="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"success",message:r,description:o})}}).catch(async e=>{if(void 0!==t.error){i=!1;let r="function"==typeof t.error?await t.error(e):t.error,o="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"error",message:r,description:o})}}).finally(()=>{var e;i&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)}),n},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||rE++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},rT=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status;function rj(e){return void 0!==e.label}function rL(...e){return e.filter(Boolean).join(" ")}Object.assign((e,t)=>{let n=(null==t?void 0:t.id)||rE++;return rC.addToast({title:e,...t,id:n}),n},{success:rC.success,info:rC.info,warning:rC.warning,error:rC.error,custom:rC.custom,message:rC.message,promise:rC.promise,dismiss:rC.dismiss,loading:rC.loading},{getHistory:()=>rC.toasts}),function(e,{insertAt:t}={}){if(!e||"undefined"==typeof document)return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===t&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
6left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
6:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
7`);var rA=e=>{var t,n,r,i,o,a,s,l,c,d;let{invert:p,toast:f,unstyled:h,interacting:m,setHeights:g,visibleToasts:v,heights:y,index:b,toasts:w,expanded:x,removeToast:_,defaultRichColors:k,closeButton:S,style:E,cancelButtonStyle:C,actionButtonStyle:T,className:j="",descriptionClassName:L="",duration:A,position:O,gap:P,loadingIcon:R,expandByDefault:M,classNames:N,icons:I,closeButtonAriaLabel:D="Close toast",pauseWhenPageIsHidden:$,cn:F}=e,[B,W]=u.useState(!1),[U,V]=u.useState(!1),[z,H]=u.useState(!1),[G,q]=u.useState(!1),[X,Y]=u.useState(0),[J,Z]=u.useState(0),K=u.useRef(null),Q=u.useRef(null),ee=0===b,et=b+1<=v,en=f.type,er=!1!==f.dismissible,ei=f.className||"",eo=f.descriptionClassName||"",ea=u.useMemo(()=>y.findIndex(e=>e.toastId===f.id)||0,[y,f.id]),es=u.useMemo(()=>{var e;return null!=(e=f.closeButton)?e:S},[f.closeButton,S]),el=u.useMemo(()=>f.duration||A||4e3,[f.duration,A]),eu=u.useRef(0),ec=u.useRef(0),ed=u.useRef(0),ep=u.useRef(null),[ef,eh]=O.split("-"),em=u.useMemo(()=>
7y.reduce((e,t,n)=>n>=ea?e:e+t.height,0),[y,ea]),eg=rS(),ev=f.invert||p,ey="loading"===en;ec.current=u.useMemo(()=>ea*P+em,[ea,em]),u.useEffect(()=>{W(!0)},[]),u.useLayoutEffect(()=>{if(!B)return;let e=Q.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,Z(n),g(e=>e.find(e=>e.toastId===f.id)?e.map(e=>e.toastId===f.id?{...e,height:n}:e):[{toastId:f.id,height:n,position:f.position},...e])},[B,f.title,f.description,g,f.id]);let eb=u.useCallback(()=>{V(!0),Y(ec.current),g(e=>e.filter(e=>e.toastId!==f.id)),setTimeout(()=>{_(f)},200)},[f,_,g,ec]);return u.useEffect(()=>{if(f.promise&&"loading"===en||f.duration===1/0||"loading"===f.type)return;let e,t=el;return x||m||$&&eg?(()=>{if(ed.current<eu.current){let e=new Date().getTime()-eu.current;t-=e}ed.current=new Date().getTime()})():t!==1/0&&(eu.current=new Date().getTime(),e=setTimeout(()=>{var e;null==(e=f.onAutoClose)||e.call(f,f),eb()},t)),()=>clearTimeout(e)},[x,m,M,f,el,eb,f.promise,en,$,eg]),u.useEffect(()=>{let e=Q.current;if(e){let t=e.getBoundingClientRect().height;return Z(t),g(e=>[{toastId:f.id,height:t,position:f.position},...e]),()=>g(e=>e.filter(e=>e.toastId!==f.id))}},[g,f.id]),u.useEffect(()=>{f.delete&&eb()},[eb,f.delete]),u.createElement("li",{"aria-live":f.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Q,className:F(j,ei,null==N?void 0:N.toast,null==(t=null==f?void 0:f.classNames)?void 0:t.toast,null==N?void 0:N.default,null==N?void 0:N[en],null==(n=null==f?void 0:f.classNames)?void 0:n[en]),"data-sonner-toast":"","data-rich-colors":null!=(r=f.richColors)?r:k,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":B,"data-promise":!!f.promise,"data-removed":U,"data-visible":et,"data-y-position":ef,"data-x-position":eh,"data-index":b,"data-front":ee,"data-swiping":z,"data-dismissible":er,"data-type":en,"data-invert":ev,"data-swipe-out":G,"data-expanded":!!(x||M&&B),style:{"--index":b,"--toasts-before":b,"--z-index":w.length-b,"--offset":`${U?X:ec.current}px`,"--initial-height":M?"auto":`${J}px`,...E,...f.style},onPointerDown:e=>{ey||!er||(K.current=new Date,Y(ec.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(H(!0),ep.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,r;if(G||!er)return;ep.current=null;let i=Number((null==(e=Q.current)?void 0:e.style.getPropertyValue("--swipe-amount").replace("px",""))||0),o=new Date().getTime()-(null==(t=K.current)?void 0:t.getTime());if(Math.abs(i)>=20||Math.abs(i)/o>.11){Y(ec.current),null==(n=f.onDismiss)||n.call(f,f),eb(),q(!0);return}null==(r=Q.current)||r.style.setProperty("--swipe-amount","0px"),H(!1)},onPointerMove:e=>{var t;if(!ep.current||!er)return;let n=e.clientY-ep.current.y,r=e.clientX-ep.current.x,i=("top"===ef?Math.min:Math.max)(0,n),o="touch"===e.pointerType?10:2;Math.abs(i)>o?null==(t=Q.current)||t.style.setProperty("--swipe-amount",`${n}px`):Math.abs(r)>o&&(ep.current=null)}},es&&!f.jsx?u.createElement("button",{"aria-label":D,"data-disabled":ey,"data-close-button":!0,onClick:ey||!er?()=>{}:()=>{var e;eb(),null==(e=f.onDismiss)||e.call(f,f)},className:F(null==N?void 0:N.closeButton,null==(i=null==f?void 0:f.classNames)?void 0:i.closeButton)},u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},u.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),u.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,f.jsx||u.isValidElement(f.title)?f.jsx||f.title:u.createElement(u.Fragment,null,en||f.icon||f.promise?u.createElement("div",{"data-icon":"",className:F(null==N?void 0:N.icon,null==(o=null==f?void 0:f.classNames)?void 0:o.icon)},f.promise||"loading"===f.type&&!f.icon?f.icon||(null!=I&&I.loading?u.createElement("div",{className:"sonner-loader","data-visible":"loading"===en},I.loading):R?u.createElement("div",{className:"sonner-loader","data-visible":"loading"===en},R):u.createElement(rb,{visible:"loading"===en})):null,"loading"!==f.type?f.icon||(null==I?void 0:I[en])||rv(en):null):null,u.createElement("div",{"data-content":"",className:F(null==N?void 0:N.content,null==(a=null==f?void 0:f.classNames)?void 0:a.content)},u.createElement("div",{"data-title":"",className:F(null==N?void 0:N.title,null==(s=null==f?void 0:f.classNames)?void 0:s.title)},f.title),f.description?u.createElement("div",{"data-description":"",className:F(L,eo,null==N?void 0:N.description,null==(l=null==f?void 0:f.classNames)?void 0:l.description)},f.description):null),u.isValidElement(f.cancel)?f.cancel:f.cancel&&rj(f.cancel)?u.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||C,onClick:e=>{var t,n;rj(f.cancel)&&er&&(null==(n=(t=f.cancel).onClick)||n.call(t,e),eb())},className:F(null==N?void 0:N.cancelButton,null==(c=null==f?void 0:f.classNames)?void 0:c.cancelButton)},f.cancel.label):null,u.isValidElement(f.action)?f.action:f.action&&rj(f.action)?u.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||T,onClick:e=>{var t,n;rj(f.action)&&(e.defaultPrevented||(null==(n=(t=f.action).onClick)||n.call(t,e),eb()))},className:F(null==N?void 0:N.actionButton,null==(d=null==f?void 0:f.classNames)?void 0:d.actionButton)},f.action.label):null))};
7function rO(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var rP=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:i,closeButton:o,className:a,offset:s,theme:l="light",richColors:c,duration:d,style:p,visibleToasts:f=3,toastOptions:h,dir:m=rO(),gap:g=14,loadingIcon:v,icons:y,containerAriaLabel:b="Notifications",pauseWhenPageIsHidden:w,cn:x=rL}=e,[_,k]=u.useState([]),S=u.useMemo(()=>Array.from(new Set([n].concat(_.filter(e=>e.position).map(e=>e.position)))),[_,n]),[E,C]=u.useState([]),[T,j]=u.useState(!1),[L,A]=u.useState(!1),[O,P]=u.useState("system"!==l?l:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),R=u.useRef(null),M=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=u.useRef(null),I=u.useRef(!1),D=u.useCallback(e=>{var t;null!=(t=_.find(t=>t.id===e.id))&&t.delete||rC.dismiss(e.id),k(t=>t.filter(({id:t})=>t!==e.id))},[_]);return u.useEffect(()=>rC.subscribe(e=>{if(e.dismiss){k(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t));return}setTimeout(()=>{rg.flushSync(()=>{k(t=>{let n=t.findIndex(t=>t.id===e.id);return -1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[]),u.useEffect(()=>{if("system"!==l){P(l);return}"system"===l&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?P("dark"):P("light")),"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:e})=>{P(e?"dark":"light")})},[l]),u.useEffect(()=>{_.length<=1&&j(!1)},[_]),u.useEffect(()=>{let e=e=>{var t,n;r.every(t=>e[t]||e.code===t)&&(j(!0),null==(t=R.current)||t.focus()),"Escape"===e.code&&(document.activeElement===R.current||null!=(n=R.current)&&n.contains(document.activeElement))&&j(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[r]),u.useEffect(()=>{if(R.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,I.current=!1)}},[R.current]),_.length?u.createElement("section",{"aria-label":`${b} ${M}`,tabIndex:-1},S.map((e,n)=>{var r;let[l,b]=e.split("-");return u.createElement("ol",{key:e,dir:"auto"===m?rO():m,tabIndex:-1,ref:R,className:a,"data-sonner-toaster":!0,"data-theme":O,"data-y-position":l,"data-x-position":b,style:{"--front-toast-height":`${(null==(r=E[0])?void 0:r.height)||0}px`,"--offset":"number"==typeof s?`${s}px`:s||"32px","--width":"356px","--gap":`${g}px`,...p},onBlur:e=>{I.current&&!e.currentTarget.contains(e.relatedTarget)&&(I.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||I.current||(I.current=!0,N.current=e.relatedTarget)},onMouseEnter:()=>j(!0),onMouseMove:()=>j(!0),onMouseLeave:()=>{L||j(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||A(!0)},onPointerUp:()=>A(!1)},_.filter(t=>!t.position&&0===n||t.position===e).map((n,r)=>{var a,s;return u.createElement(rA,{key:n.id,icons:y,index:r,toast:n,defaultRichColors:c,duration:null!=(a=null==h?void 0:h.duration)?a:d,className:null==h?void 0:h.className,descriptionClassName:null==h?void 0:h.descriptionClassName,invert:t,visibleToasts:f,closeButton:null!=(s=null==h?void 0:h.closeButton)?s:o,interacting:L,position:e,style:null==h?void 0:h.style,unstyled:null==h?void 0:h.unstyled,classNames:null==h?void 0:h.classNames,cancelButtonStyle:null==h?void 0:h.cancelButtonStyle,actionButtonStyle:null==h?void 0:h.actionButtonStyle,removeToast:D,toasts:_.filter(e=>e.position==n.position),heights:E.filter(e=>e.position==n.position),setHeights:C,expandByDefault:i,gap:g,loadingIcon:v,expanded:T,pauseWhenPageIsHidden:w,cn:x})}))})):null},rR=n(79712);function rM(){return(0,u.useEffect)(()=>{if(!(0,rR.hasCookie)("referrer")){let e=document.referrer||"direct",t=window.location.href,n=new Date(Date.now()+2592e6),r=".".concat(window.location.hostname.replace("www.",""));(0,rR.setCookie)("referrer",e,{path:"/",sameSite:"lax",secure:!0,expires:n,domain:r}),(0,rR.setCookie)("landing_url",t,{path:"/",sameSite:"lax",secure:!0,expires:n,domain:r})}},[]),null}var rN=n(10228),rI=n(81483),rD=n.n(rI),r$=n(90304);function rF(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(rN.lX,{...r$.DEFAULT_SEO}),(0,i.jsxs)(rD(),{children:[(0,i.jsx)("link",{rel:"icon",href:"/meta/favicon-32x32.png",type:"image/png",sizes:"32x32"}),(0,i.jsx)("link",{rel:"icon",href:"/meta/favicon-16x16.png",type:"image/png",sizes:"16x16"}),(0,i.jsx)("link",{rel:"apple-touch-icon",href:"/meta/apple-touch-icon.png"}),(0,i.jsx)("link",{rel:"manifest",href:"/meta/manifest.webmanifest"}),(0,i.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,i.jsx)("meta",{name:"theme-color",content:"rgb(23, 23, 23)",media:"(prefers-color-scheme: dark)"})]})]})}var rB=n(74992);function rW(e){let{children:t,className:n}=e;return(0,i.jsx)("div",{className:(0,rB.cn)("flex flex-1 flex-col",n),children:t})}var rU=n(41511),rV=n.n(rU),rz=n(61904),rH=n(4027),rG=n(34919);function rq(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"relative hidden dark:block",children:(0,i.jsx)("div",{className:"dark:via-gray-750 absolute bottom-0 left-0 right-0 z-30 h-px bg-gradient-to-r from-white via-neutral-200 to-white dark:from-gray-950 dark:to-gray-950"})}),(0,i.jsx)("div",{className:"flex w-full justify-center border-t py-12 md:py-16 lg:py-20 2xl:py-24 dark:border-transparent",children:(0,i.jsxs)(rG.U,{className:"grid grid-cols-1 gap-12 sm:grid-cols-4 sm:gap-6",children:[(0,i.jsxs)("div",{className:"flex flex-col gap-6 sm:col-span-2",children:[(0,i.jsx)(rV(),{href:"/","aria-label":"Iterate home",className:"text-primary select-none",children:(0,i.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,i.jsx)(rH.d,{}),(0,i.jsx)("span",{className:"text-primary text-lg font-semibold",children:"Iterate"})]})}),(0,i.jsxs)("div",{className:"flex items-center gap-4",children:[(0,i.jsxs)(rV(),{className:"text-tertiary hover:text-primary flex h-11 w-11 items-center justify-center rounded-md text-sm",href:"https://x.com/iteratehealth",target:"_blank",rel:"noopener noreferrer",children:[(0,i.jsx)("span",{className:"sr-only",children:"Iterate on X"}),(0,i.jsx)(rz.b0D,{})]}),(0,i.jsxs)(rV(),{className:"text-tertiary hover:text-primary flex h-11 w-11 items-center justify-center rounded-md text-sm",href:"https://www.linkedin.com/company/iteratehealth",target:"_blank",rel:"noopener noreferrer",children:[(0,i.jsx)("span",{className:"sr-only",children:"Iterate on LinkedIn"}),(0,i.jsx)(rz.nIU,{})]})]})]}),(0,i.jsxs)(rX,{children:[(0,i.jsx)(rY,{children:"Product"}),(0,i.jsxs)(rJ,{children:[(0,i.jsx)(rZ,{href:"/blog",children:"Blog"}),(0,i.jsx)(rZ,{href:"/changelog",children:"Changelog"})]})]}),(0,i.jsxs)(rX,{children:[(0,i.jsx)(rY,{children:"About"}),(0,i.jsxs)(rJ,{children:[(0,i.jsx)(rZ,{href:"/contact",children:"Contact"}),(0,i.jsx)(rZ,{href:"/privacy",children:"Privacy"})]})]})]})})]})}function rX(e){return(0,i.jsx)("div",{className:"col-span-1 flex flex-col gap-1",...e})}function rY(e){return(0,i.jsx)(rz.smZ,{weight:"font-medium py-1 col-span-1",primary:!0,...e})}function rJ(e){return(0,i.jsx)("div",{className:"col-span-2 -mx-1 flex flex-wrap gap-2 sm:flex-col",...e})}function rZ(e){let{href:t,className:n,...r}=e;return t?(0,i.jsx)(rV(),{href:t,className:(0,rz.cn)("text-tertiary hover:text-primary p-1 text-sm",n),...r}):null}var rK=Object.defineProperty,rQ=new Map,r0=new WeakMap,r1=0,r5=void 0;function r2(){let{ref:e,inView:t}=function({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:i,triggerOnce:o,skip:a,initialInView:s,fallbackInView:l,onChange:c}={}){var d;let[p,f]=u.useState(null),h=u.useRef(),[m,g]=u.useState({inView:!!s,entry:void 0});h.current=c,u.useEffect(()=>{let s;if(!a&&p)return s=function(e,t,n={},r=r5){if(void 0===window.IntersectionObserver&&void 0!==r){let i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:o,elements:a}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?(n=e.root)?(r0.has(n)||(r1+=1,r0.set(n,r1.toString())),r0.get(n)):"0":e[t]}`}).toString(),n=rQ.get(t);if(!n){let r;let i=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var n;let o=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=i.get(t.target))||n.forEac
7h(e=>{e(o,t)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:i},rQ.set(t,n)}return n}(n),s=a.get(e)||[];return a.has(e)||a.set(e,s),s.push(t),o.observe(e),function(){s.splice(s.indexOf(t),1),0===s.length&&(a.delete(e),o.unobserve(e)),0===a.size&&(o.disconnect(),rQ.delete(i))}}(p,(e,t)=>{g({inView:e,entry:t}),h.current&&h.current(e,t),t.isIntersecting&&o&&s&&(s(),s=void 0)},{root:i,rootMargin:r,threshold:e,trackVisibility:n,delay:t},l),()=>{s&&s()}},[Array.isArray(e)?e.toString():e,p,i,r,o,a,n,l,t]);let v=null==(d=m.entry)?void 0:d.target,y=u.useRef();p||!v||o||a||y.current===v||(y.current=v,g({inView:!!s,entry:void 0}));let b=[f,m.inView,m.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{ref:e,className:"absolute left-0 top-0 h-px w-px bg-transparent"}),(0,i.jsx)("div",{className:"h-14"}),(0,i.jsx)("header",{className:(0,rB.cn)("bg-primary fixed inset-x-0 top-0 z-50 border-b py-2 dark:bg-neutral-950",{"border-transparent":t,"border-black/5 dark:border-white/5":!t}),children:(0,i.jsx)("div",{className:"mx-auto flex w-full px-4",children:(0,i.jsx)(rV(),{href:"/","aria-label":"Iterate home",className:"-ml-1 flex h-10 w-10 items-center justify-center rounded-lg",children:(0,i.jsx)(rH.d,{appIcon:!0})})})})]})}function r4(e){let{children:t}=e;return(0,i.jsxs)("div",{className:"relative flex flex-1 flex-col",children:[(0,i.jsx)(r2,{}),(0,i.jsx)(rW,{children:t}),(0,i.jsx)("div",{className:"flex-1"}),(0,i.jsx)(rq,{})]})}function r3(e){let{children:t,router:n}=e;return(0,i.jsxs)(i.Fragment,{children:["pages"===n&&(0,i.jsx)(rF,{}),(0,i.jsx)(h,{features:re,children:(0,i.jsx)(ro,{attribute:"class",children:(0,i.jsxs)(rm,{children:[(0,i.jsx)(r4,{children:t}),(0,i.jsxs)(u.Suspense,{children:[(0,i.jsx)(rP,{}),(0,i.jsx)(rM,{})]})]})})})]})}u.Component;var r7=n(73656);function r9(e){let{Component:t,pageProps:{...n}}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l(),{id:"43685febc4050d48",dynamic:[a().style.fontFamily],children:":root{--font-inter:".concat(a().style.fontFamily,"}")}),(0,i.jsx)(r3,{router:"pages",children:(0,i.jsx)(t,{...n,className:l().dynamic([["43685febc4050d48",[a().style.fontFamily]]])+" "+(n&&null!=n.className&&n.className||"")})})]})}function r6(e){let t=r7.env.NEXT_PUBLIC_AXIOM_INGEST_ENDPOINT;if(!t)return;let n=JSON.stringify({route:window.__NEXT_DATA__.page,...e});function r(e){fetch(e,{body:n,method:"POST",keepalive:!0})}if(navigator.sendBeacon)try{navigator.sendBeacon.bind(navigator)(t,n)}catch(e){r(t)}else r(t)}},26865:function(e,t,n){"use strict";let r,i,o,a,s,l,u,c,d,p,f,h,m;var g=n(7076);function v(e,t,n=[t],r="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:g.J})),version:g.J}),e._metadata=i}var y=n(53901),b=n(9495);function w(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||function(){let e=(0,b.s3)();return e&&e.getOptions()}();return!!t&&(t.enableTracing||"tracesSampleRate"in t||"tracesSampler"in t)}var x=n(78073),_=n(27945),k=n(42499),S=n(56844);let E=[];function C(e,t){for(let n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function T(e,t,n){if(n[t.name]){S.X&&x.kg.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===E.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),E.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}S.X&&x.kg.log(`Integration installed: ${t.name}`)}let j=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],L=(e={})=>({name:"InboundFilters",processEvent:(t,n,r)=>{var i,o;return((i=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:j],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,r.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(t)?(S.X&&x.kg.warn(`Event dropped due to being internal Sentry Error.
8Event: ${(0,_.jH)(t)}`),0):(o=i.ignoreErrors,!t.type&&o&&o.length&&(function(e){let t;let n=[];e.message&&n.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(n.push(t.value),t.type&&n.push(`${t.type}: ${t.value}`)),n})(t).some(e=>(0,k.U0)(e,o)))?(S.X&&x.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
9Event: ${(0,_.jH)(t)}`),0):t.type||!t.exception||!t.exception.values||0===t.exception.values.length||t.message||t.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)?!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let n=e.transaction;return!!n&&(0,k.U0)(n,t)}(t,i.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let n=A(e);return!!n&&(0,k.U0)(n,t)}(t,i.denyUrls)?function(e,t){if(!t||!t.length)return!0;let n=A(e);return!n||(0,k.U0)(n,t)}(t,i.allowUrls)||(S.X&&x.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.
10Event: ${(0,_.jH)(t)}.
11Url: ${A(t)}`),0):(S.X&&x.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.
12Event: ${(0,_.jH)(t)}.
13Url: ${A(t)}`),0):(S.X&&x.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
14Event: ${(0,_.jH)(t)}`),0):(S.X&&x.kg.warn(`Event dropped due to not having an error message, error type or stacktrace.
15Event: ${(0,_.jH)(t)}`),0))?t:null}});function A(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return S.X&&x.kg.error(`Cannot extract url for event ${(0,_.jH)(e)}`),null}}var O=n(77788);let P=new WeakMap,R=()=>({name:"FunctionToString",setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,O.HK)(this),n=P.has((0,b.s3)())&&void 0!==t?t:this;return r.apply(n,e)}}catch(e){}},setup(e){P.set(e,!0)}});var M=n(58722);let N=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n;if((n=e)&&(function(e,t){let n=e.message,r=t.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&D(e,t)&&I(e,t))}(t,n)||function(e,t){let n=$(t),r=$(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&D(e,t)&&I(e,t))}(t,n)))return S.X&&x.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function I(e,t){let n=(0,M.Fr)(e),r=(0,M.Fr)(t);
15if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function D(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function $(e){return e.exception&&e.exception.values&&e.exception.values[0]}var F=n(87743),B=n(86331);let W=B.GLOBAL_OBJ;function U(){if(!("fetch"in W))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function V(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}let z={},H={};function G(e,t){z[e]=z[e]||[],z[e].push(t)}function q(e,t){H[e]||(t(),H[e]=!0)}function X(e,t){let n=e&&z[e];if(n)for(let r of n)try{r(t)}catch(t){F.X&&x.kg.error(`Error while triggering instrumentation handler.
16Type: ${e}
17Name: ${(0,M.$P)(r)}
18Error:`,t)}}let Y=B.GLOBAL_OBJ,J=B.GLOBAL_OBJ;function Z(e){let t="history";G(t,e),q(t,K)}function K(){if(!function(){let e=Y.chrome,t=e&&e.app&&e.app.runtime,n="history"in Y&&!!Y.history.pushState&&!!Y.history.replaceState;return!t&&n}())return;let e=J.onpopstate;function t(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=i,t=String(n);i=t,X("history",{from:e,to:t})}return e.apply(this,t)}}J.onpopstate=function(...t){let n=J.location.href,r=i;if(i=n,X("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},(0,O.hl)(J.history,"pushState",t),(0,O.hl)(J.history,"replaceState",t)}let Q=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ee(e,t=!1){let{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function et(e){let t=Q.exec(e);if(!t){(0,x.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i="",o="",a="",s=""]=t.slice(1),l="",u=s,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 en({host:o,pass:i,path:l,projectId:u,port:a,protocol:n,publicKey:r})}function en(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}var er=n(56133),ei=n(17771),eo=n(32484);function ea(e,t=[]){return[e,t]}function es(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function el(e){return B.GLOBAL_OBJ.__SENTRY__&&B.GLOBAL_OBJ.__SENTRY__.encodePolyfill?B.GLOBAL_OBJ.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}let eu={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function ec(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}
18class ed extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}var ep=n(81557),ef=n(42141),eh=n(44469);function em(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){S.X&&x.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}var eg=n(31850);let ev="Not capturing exception because it's already been captured.";class ey{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){let t="string"==typeof e?et(e):en(e);if(t&&function(e){if(!F.X)return!0;let{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(x.kg.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"===r||"https"===r?!(t&&isNaN(parseInt(t,10)))||(x.kg.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(x.kg.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(x.kg.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}(e.dsn):S.X&&x.kg.warn("No DSN provided, client will not send events."),this._dsn){var t,n,r;let i=(t=this._dsn,n=e.tunnel,r=e._metadata?e._metadata.sdk:void 0,n||`${function(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(t)}${t.projectId}/envelope/?${(0,O._j)({sentry_key:t.publicKey,sentry_version:"7",...r&&{sentry_client:`${r.name}/${r.version}`}})}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:i})}}captureException(e,t,n){let r=(0,_.DM)();if((0,_.YO)(e))return S.X&&x.kg.log(ev),r;let i={event_id:r,...t};return this._process(this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n))),i.event_id}captureMessage(e,t,n,r){let i={event_id:(0,_.DM)(),...n},o=(0,er.Le)(e)?e:String(e),a=(0,er.pt)(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(a.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,n){let r=(0,_.DM)();if(t&&t.originalException&&(0,_.YO)(t.originalException))return S.X&&x.kg.log(ev),r;let i={event_id:r,...t},o=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,o||n)),i.event_id}captureSession(e){"string"!=typeof e.release?S.X&&x.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,eh.CT)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
18return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):(0,ei.WD)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];T(this,e,this._integrations),t||C(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){var i;let o=ec(n),a=e.type&&"replay_event"!==e.type?e.type:"event";(i=n&&n.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let s=function(e,t,n,r){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:ee(r)},...i&&{trace:(0,O.Jr)({...i})}}}(e,o,r,t);return delete e.sdkProcessingMetadata,ea(s,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=function(e,t){let[n,r]=e;return[n,[...r,t]]}(n,function(e){let t="string"==typeof e.data?el(e.data):e.data;return[(0,O.Jr)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}(e));let r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=function(e,t,n,r){let i=ec(n);return ea({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:ee(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let n=`${e}:${t}`;S.X&&x.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=(this._outcomes[n]||0)+1}}on(e,t){return this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t),()=>{let n=this._hooks[e];if(n){let e=n.indexOf(t);n.splice(e,1)}}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(S.X&&x.kg.error("Error while sending event:",e),e)):(S.X&&x.kg.error("Transport disabled"),(0,ei.WD)({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let n={};return t.forEach(t=>{t&&T(e,t,n)}),n}(this,e),C(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1,i=t.exception&&t.exception.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,eh.CT)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new ei.cW(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=(0,b.aF)()){let i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,eg.R)(i,e,t,n,this,r).then(e=>{if(null===e)return e;let t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){let{traceId:n,spanId:r,parentSpanId:i,dsc:o}=t;e.contexts={trace:(0,O.Jr)({trace_id:n,span_id:r,parent_span_id:i}),...e.contexts};let a=o||(0,ep._l)(n,this);e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata}}return e})}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{S.X&&("log"===e.logLevel?x.kg.log(e.message):x.kg.warn(e))})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:i}=r,o=ew(e),a=eb(e),s=e.type||"error",l=`before send for type \`${s}\``,u=void 0===i?void 0:em(i);if(a&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",e),(0,ei.$2)(new ed(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let c="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",c,e),new ed("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,er.J8)(e))return e.then(e=>{if(!(0,er.PO)(e)&&null!==e)throw new ed(n);return e},e=>{throw new ed(`${t} rejected with ${e}`)});if(!(0,er.PO)(e)&&null!==e)throw new ed(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:a}=t;if(eb(n)&&i)return i(n,r);if(ew(n)){if(n.spans&&a){let t=[];for(let r of n.spans){let n=a(r);n?t.push(n):e.recordDroppedEvent("before_send","span")}n.spans=t}if(o)return o(n,r)}return n}(this,r,n,t),l)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",c,e),ew(e)){let t=1+(e.spans||[]).length;this._outcomes.span=(this._outcomes.span||0)+t}throw new ed(`${l} returned \`null\`, will not send event.`,"log")}let i=n&&n.getSession();!o&&i&&this._updateSessionFromEvent(i,r);let a=r.transaction_info;return o&&a&&r.transaction!==e.transaction&&(r.transaction_info={...a,source:"custom"}),this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof ed)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new ed(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
19Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}}function eb(e){return void 0===e.type}function ew(e){return"transaction"===e.type}var ex=n(333);let e_="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function ek(e,t){let n=eE(e,t),r={type:t&&t.name,value:function(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function eS(e,t){return{exception:{values:[ek(e,t)]}}}function eE(e,t){let n=t.stacktrace||t.stack||"",r=t&&eC.test(t.message)?1:0,i="number"==typeof t.framesToPop?t.framesToPop:0;try{return e(n,r,i)}catch(e){}return[]}let eC=/Minified React error #\d+;/i;function eT(e,t,n,r,i){let o;if((0,er.VW)(t)&&t.error)return eS(e,t.error);if((0,er.TX)(t)||(0,er.fm)(t)){if("stack"in t)o=eS(e,t);else{let i=t.name||((0,er.TX)(t)?"DOMError":"DOMException"),a=t.message?`${i}: ${t.message}`:i;o=ej(e,a,n,r),(0,_.Db)(o,a)}
19return"code"in t&&(o.tags={...o.tags,"DOMException.code":`${t.code}`}),o}return(0,er.VZ)(t)?eS(e,t):((0,er.PO)(t)||(0,er.cO)(t)?o=function(e,t,n,r){let i=(0,b.s3)(),o=i&&i.getOptions().normalizeDepth,a=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),s={__serialized__:(0,eo.Qy)(t,o)};if(a)return{exception:{values:[ek(e,a)]},extra:s};let l={exception:{values:[{type:(0,er.cO)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=(0,O.zf)(e),r=t?"promise rejection":"exception";if((0,er.VW)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,er.cO)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:s};if(n){let t=eE(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,i):(o=ej(e,t,n,r),(0,_.Db)(o,`${t}`,void 0)),(0,_.EG)(o,{synthetic:!0}),o)}function ej(e,t,n,r){let i={};if(r&&n){let r=eE(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if((0,er.Le)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}let eL=B.GLOBAL_OBJ,eA=0;function eO(e,t={},n){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)return t;if((0,O.HK)(e))return e}catch(t){return e}let r=function(){let r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);let i=r.map(e=>eO(e,t));return e.apply(this,i)}catch(e){throw eA++,setTimeout(()=>{eA--}),(0,b.$e)(n=>{n.addEventProcessor(e=>(t.mechanism&&((0,_.Db)(e,void 0,void 0),(0,_.EG)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,y.Tb)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}(0,O.$Q)(r,e),(0,O.xp)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}class eP extends ey{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e};v(t,"browser",["browser"],eL.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&eL.document&&eL.document.addEventListener("visibilitychange",()=>{"hidden"===eL.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return function(e,t,n,r){let i=eT(e,t,n&&n.syntheticException||void 0,r);return(0,_.EG)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,ei.WD)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){let o=ej(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,ei.WD)(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){e_&&x.kg.warn("SDK not enabled, will not capture user feedback.");return}let t=function(e,{metadata:t,tunnel:n,dsn:r}){return ea({event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:ee(r)}},[[{type:"user_report"},e]])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){var e;let t=this._clearOutcomes();if(0===t.length){e_&&x.kg.log("No outcomes to send");return}if(!this._dsn){e_&&x.kg.log("No dsn provided, will not send outcomes");return}e_&&x.kg.log("Sending outcomes:",t);let n=ea((e=this._options.tunnel&&ee(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:(0,ex.yW)(),discarded_events:t}]]);this.sendEnvelope(n)}}function eR(){if(!J.document)return;let e=X.bind(null,"dom"),t=eM(e,!0);J.document.addEventListener("click",t,!1),J.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=J[t]&&J[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,O.hl)(n,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){let r=eM(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch(e){}return t.call(this,n,r,i)}}),(0,O.hl)(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function eM(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=function(e){try{return e.target}catch(e){return null}}(n);if("keypress"===n.type&&(!r||!r.tagName||"INPUT"!==r.tagName&&"TEXTAREA"!==r.tagName&&!r.isContentEditable))return;(0,O.xp)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,O.xp)(r,"_sentryId",(0,_.DM)());let i="keypress"===n.type?"input":n.type;!function(e){if(e.type!==a)return!1;try{if(!e.target||e.target._sentryId!==s)return!1}catch(e){}return!0}(n)&&(e({event:n,name:i,global:t}),a=n.type,s=r?r._sentryId:void 0),clearTimeout(o),o=J.setTimeout(()=>{s=void 0,a=void 0},1e3)}}let eN="__sentry_xhr_v3__";function eI(e){G("xhr",e),q("xhr",eD)}function eD(){if(!J.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;(0,O.hl)(e,"open",function(e){return function(...t){let n=1e3*(0,ex.ph)(),r=(0,er.HD)(t[0])?t[0].toUpperCase():void 0,i=function(e){if((0,er.HD)(e))return e;try{return e.toString()}catch(e){}}(t[1]);if(!r||!i)return e.apply(this,t);this[eN]={method:r,url:i,request_headers:{}}
19,"POST"===r&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let o=()=>{let e=this[eN];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}X("xhr",{endTimestamp:1e3*(0,ex.ph)(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,O.hl)(this,"onreadystatechange",function(e){return function(...t){return o(),e.apply(this,t)}}):this.addEventListener("readystatechange",o),(0,O.hl)(this,"setRequestHeader",function(e){return function(...t){let[n,r]=t,i=this[eN];return i&&(0,er.HD)(n)&&(0,er.HD)(r)&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}}),e.apply(this,t)}}),(0,O.hl)(e,"send",function(e){return function(...t){let n=this[eN];return n&&(void 0!==t[0]&&(n.body=t[0]),X("xhr",{startTimestamp:1e3*(0,ex.ph)(),xhr:this})),e.apply(this,t)}})}function e$(e,t){let n=(0,b.s3)(),r=(0,b.aF)();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=100}=n.getOptions();if(o<=0)return;let a={timestamp:(0,ex.yW)(),...e},s=i?(0,x.Cf)(()=>i(a,t)):a;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,o))}function eF(){"console"in B.GLOBAL_OBJ&&x.RU.forEach(function(e){e in B.GLOBAL_OBJ.console&&(0,O.hl)(B.GLOBAL_OBJ.console,e,function(t){return x.LD[e]=t,function(...t){X("console",{args:t,level:e});let n=x.LD[e];n&&n.apply(B.GLOBAL_OBJ.console,t)}})})}function eB(e){let t="fetch";G(t,e),q(t,eW)}function eW(){(function(){if("string"==typeof EdgeRuntime)return!0;if(!U())return!1;if(V(W.fetch))return!0;let e=!1,t=W.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");
19n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=V(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){F.X&&x.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e})()&&(0,O.hl)(B.GLOBAL_OBJ,"fetch",function(e){return function(...t){let{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:eV(t),method:eU(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:eV(t),method:eU(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:1e3*(0,ex.ph)()};X("fetch",{...i});let o=Error().stack;return e.apply(B.GLOBAL_OBJ,t).then(e=>(X("fetch",{...i,endTimestamp:1e3*(0,ex.ph)(),response:e}),e),e=>{throw X("fetch",{...i,endTimestamp:1e3*(0,ex.ph)(),error:e}),(0,er.VZ)(e)&&void 0===e.stack&&(e.stack=o,(0,O.xp)(e,"framesToPop",1)),e})}})}function eU(e,t){return!!e&&"object"==typeof e&&!!e[t]}function eV(e){return"string"==typeof e?e:e?eU(e,"url")?e.url:e.toString?e.toString():"":""}var ez=n(36249);let eH=["fatal","error","warning","log","info","debug"];function eG(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}let eq=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){let t="console";G(t,e),q(t,eF)}(function(t){var n;if((0,b.s3)()!==e)return;let r={category:"console",data:{arguments:t.args,logger:"console"},level:"warn"===(n=t.level)?"warning":eH.includes(n)?n:"log",message:(0,k.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message=`Assertion failed: ${(0,k.nK)(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}e$(r,{input:t.args,level:t.level})}),t.dom&&(G("dom",(n=t.dom,function(t){let r,i;if((0,b.s3)()!==e)return;let o="object"==typeof n?n.serializeAttribute:void 0,a="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;a&&a>1024&&(e_&&x.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof o&&(o=[o]);try{let e=t.event,n=e&&e.target?e.target:e;r=(0,ez.Rt)(n,{keyAttrs:o,maxStringLength:a}),i=(0,ez.iY)(n)}catch(e){r="<unknown>"}if(0===r.length)return;let s={category:`ui.${t.name}`,message:r};i&&(s.data={"ui.component_name":i}),e$(s,{event:t.event,name:t.name,global:t.global})})),q("dom",eR)),t.xhr&&eI(function(t){if((0,b.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[eN];if(!n||!r||!i)return;let{method:o,url:a,status_code:s,body:l}=i;e$({category:"xhr",data:{method:o,url:a,status_code:s},type:"http"},{xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r})}),t.fetch&&eB(function(t){if((0,b.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error)e$({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{let e=t.response;e$({category:"fetch",data:{...t.fetchData,status_code:e&&e.status},type:"http"},{input:t.args,response:e,startTimestamp:n,endTimestamp:r})}}}),t.history&&Z(function(t){if((0,b.s3)()!==e)return;let n=t.from,r=t.to,i=eG(eL.location.href),o=n?eG(n):void 0,a=eG(r);o&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),e$({category:"navigation",data:{from:n,to:r}})}),t.sentry&&e.on("beforeSendEvent",function(t){(0,b.s3)()===e&&e$({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,_.jH)(t)},{event:t})})}}},eX=["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"],eY=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,O.hl)(eL,"setTimeout",eJ),t.setInterval&&(0,O.hl)(eL,"setInterval",eJ),t.requestAnimationFrame&&(0,O.hl)(eL,"requestAnimationFrame",eZ),t.XMLHttpRequest&&"XMLHttpRequest"in eL&&(0,O.hl)(XMLHttpRequest.prototype,"send",eK);let e=t.eventTarget;
19e&&(Array.isArray(e)?e:eX).forEach(eQ)}}};function eJ(e){return function(...t){let n=t[0];return t[0]=eO(n,{mechanism:{data:{function:(0,M.$P)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function eZ(e){return function(t){return e.apply(this,[eO(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,M.$P)(e)},handled:!1,type:"instrument"}})])}}function eK(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,O.hl)(n,e,function(t){let n={mechanism:{data:{function:e,handler:(0,M.$P)(t)},handled:!1,type:"instrument"}},r=(0,O.HK)(t);return r&&(n.mechanism.data.handler=(0,M.$P)(r)),eO(t,n)})}),e.apply(this,t)}}function eQ(e){let t=eL[e]&&eL[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&((0,O.hl)(t,"addEventListener",function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=eO(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,M.$P)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,eO(r,{mechanism:{data:{function:"addEventListener",handler:(0,M.$P)(r),target:e},handled:!1,type:"instrument"}}),i])}}),(0,O.hl)(t,"removeEventListener",function(e){return function(t,n,r){try{let i=n&&n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}let e0=null;function e1(e){let t="error";G(t,e),q(t,e5)}function e5(){e0=B.GLOBAL_OBJ.onerror,B.GLOBAL_OBJ.onerror=function(e,t,n,r,i){return X("error",{column:r,error:i,line:n,msg:e,url:t}),!!e0&&!e0.__SENTRY_LOADER__&&e0.apply(this,arguments)},B.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}let e2=null;function e4(e){let t="unhandledrejection";G(t,e),q(t,e3)}function e3(){e2=B.GLOBAL_OBJ.onunhandledrejection,B.GLOBAL_OBJ.onunhandledrejection=function(e){return X("unhandledrejection",e),!e2||!!e2.__SENTRY_LOADER__||e2.apply(this,arguments)},B.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let e7=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(e1(t=>{let{stackParser:n,attachStacktrace:r}=e6();if((0,b.s3)()!==e||eA>0)return;let{msg:i,url:o,line:a,column:s,error:l}=t,u=function(e,t,n,r){let i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,d=(0,er.HD)(t)&&t.length>0?t:(0,ez.l4)();return 0===l.length&&l.push({colno:u,filename:d,function:M.Fi,in_app:!0,lineno:c}),e}(eT(n,l||i,void 0,r,!1),o,a,s);u.level="error",(0,y.eN)(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}),e9("onerror")),t.onunhandledrejection&&(e4(t=>{let{stackParser:n,attachStacktrace:r}=e6();if((0,b.s3)()!==e||eA>0)return;let i=function(e){if((0,er.pt)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),o=(0,er.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:eT(n,i,void 0,r,!0);o.level="error",(0,y.eN)(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}),e9("onunhandledrejection"))}}};function e9(e){e_&&x.kg.log(`Global Handler attached: ${e}`)}function e6(){let e=(0,b.s3)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let e8=()=>({name:"HttpContext",preprocessEvent(e){if(!eL.navigator&&!eL.location&&!eL.document)return;let t=e.request&&e.request.url||eL.location&&eL.location.href,{referrer:n}=eL.document||{},{userAgent:r}=eL.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}});function te(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function tt(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}let tn=(e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){let o=i.getOptions();!function(e,t,n=250,r,i,o,a){if(!o.exception||!o.exception.values||!a||!(0,er.V9)(a.originalException,Error))return;let s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;s&&(o.exception.values=(function e(t,n,r,i,o,a,s,l){if(a.length>=r+1)return a;let u=[...a];if((0,er.V9)(i[o],Error)){te(s,l);let a=t(n,i[o]),c=u.length;
19tt(a,o,c,l),u=e(t,n,r,i[o],o,[a,...u],a,c)}return Array.isArray(i.errors)&&i.errors.forEach((i,a)=>{if((0,er.V9)(i,Error)){te(s,l);let c=t(n,i),d=u.length;tt(c,`errors[${a}]`,d,l),u=e(t,n,r,i,o,[c,...u],c,d)}}),u})(e,t,i,a.originalException,r,o.exception.values,s,0).map(e=>(e.value&&(e.value=(0,k.$G)(e.value,n)),e)))}(ek,o.stackParser,o.maxValueLength,n,t,e,r)}}};function tr(e,t,n,r){let i={filename:e,function:"<anonymous>"===t?M.Fi:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let ti=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,to=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ta=/\((\S*)(?::(\d+))(?::(\d+))\)/,ts=[30,e=>{let t=ti.exec(e);if(t){let[,e,n,r]=t;return tr(e,M.Fi,+n,+r)}let n=to.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=ta.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=tp(n[1]||M.Fi,n[2]);return tr(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],tl=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tu=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tc=[50,e=>{let t=tl.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=tu.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||M.Fi;return[n,e]=tp(n,e),tr(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],td=(0,M.pE)(ts,tc),tp=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:M.Fi,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},tf="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,th={};function tm(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function tg(e,t=function(e){let t=th[e];if(t)return t;let n=J[e];if(V(n))return th[e]=n.bind(J);let r=J.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){tf&&x.kg.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?th[e]=n.bind(J):n}("fetch")){let n=0,r=0;return function(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,ei.$2)(new ed("Not adding Promise because buffer limit was reached."));let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new ei.cW((n,r)=>{let i=t.length;if(!i)return n(!0);let o=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{(0,ei.WD)(e).then(()=>{--i||(clearTimeout(o),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(i){let o=[];if(es(i,(t,n)=>{let i=eu[n];if(function(e,t,n=Date.now()){return(e[t]||e.all||0)>n}(r,i)){let r=tm(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(t)}),0===o.length)return(0,ei.WD)({});let a=ea(i[0],o),s=t=>{es(a,(n,r)=>{let i=tm(n,r);e.recordDroppedEvent(t,eu[r],i)})};return n.add(()=>t({body:function(e){let[t,n]=e,r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[el(r),e]:r.push("string"==typeof e?el(e):e)}for(let e of n){let[t,n]=e;if(i(`
20${JSON.stringify(t)}
21`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,eo.Fv)(n))}i(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}(a)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&S.X&&x.kg.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},o=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,n,,,o]=e.split(":",5),a=parseInt(t,10),s=(isNaN(a)?60:a)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!o||o.split(";").includes("custom"))&&(i[e]=r+s):i[e]=r+s;else i.all=r+s}else a?i.all=r+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(a,r):429===t&&(i.all=r+6e4);return i}(r,e),e),e=>{throw s("network_error"),e})).then(e=>e,e=>
21{if(e instanceof ed)return S.X&&x.kg.error("Skipped sending event because buffer is full."),s("queue_overflow"),(0,ei.WD)({});throw e})},flush:e=>n.drain(e)}}(e,function(i){let o=i.body.length;n+=o,r++;let a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return th.fetch=void 0,(0,ei.$2)("No fetch implementation available");try{return t(e.url,a).then(e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return th.fetch=void 0,n-=o,r--,(0,ei.$2)(e)}})}function tv(e){return[L(),R(),eY(),eq(),e7(),tn(),N(),e8()]}var ty=n(52983),tb=n(73656),tw=n(11534),tx=n(80009),t_=n(68575),tk=n(95569);class tS{constructor(e={}){this._traceId=e.traceId||(0,_.DM)(),this._spanId=e.spanId||(0,_.DM)().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:ef.ve}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}}var tE=n(57315);function tC(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[t_.E1],i=n[t_.Wb];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})}),t}let tT="_sentryScope",tj="_sentryIsolationScope";function tL(e){return{scope:e[tT],isolationScope:e[tj]}}class tA{constructor(e={}){this._traceId=e.traceId||(0,_.DM)(),this._spanId=e.spanId||(0,_.DM)().substring(16),this._startTime=e.startTimestamp||(0,ex.ph)(),this._attributes={},this.setAttributes({[t_.S3]:"manual",[t_.$J]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?ef.i0:ef.ve}}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach(t=>this.setAttribute(t,e[t]))}updateStartTime(e){this._startTime=(0,ef.$k)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=(0,ef.$k)(e),function(e){if(!S.X)return;let{description:t="< unknown name >",op:n="< unknown op >"}=(0,ef.XU)(e),{spanId:r}=e.spanContext(),i=(0,ef.Gx)(e)===e,o=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;x.kg.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return(0,O.Jr)({data:this._attributes,description:this._name,op:this._attributes[t_.$J],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,ef._4)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[t_.S3],_metrics_summary:(0,tE.y)(this),profile_id:this._attributes[t_.p6],exclusive_time:this._attributes[t_.JQ],measurements:tC(this._events),is_segment:this._isStandaloneSpan&&(0,ef.Gx)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,ef.Gx)(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){S.X&&x.kg.log("[Tracing] Adding an event to span:",e);let r=tO(t)?t:n||(0,ex.ph)(),i=tO(t)?{}:t||{},o={name:e,time:(0,ef.$k)(r),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,b.s3)();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,ef.Gx)(this)))return;if(this._isStandaloneSpan){this._sampled?function(e){let t=(0,b.s3)();if(!t)return;let n=e[1];if(!n||0===n.length){t.recordDroppedEvent("before_send","span");return}let r=t.getTransport();r&&r.send(e).then(null,e=>{S.X&&x.kg.error("Error while sending span:",e)})}(function(e,t){let n=(0,ep.jC)(e[0]),r=t&&t.getDsn(),i=t&&t.getOptions().tunnel,o={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:ee(r)}},a=t&&t.getOptions().beforeSendSpan,s=a?e=>a((0,ef.XU)(e)):e=>(0,ef.XU)(e),l=[];for(let t of e){let e=s(t);e&&l.push([{type:"span"},e])}return ea(o,l)}([this],e)):(S.X&&x.kg.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}let t=this._convertSpanToTransaction();t&&(tL(this).scope||(0,b.nZ)()).captureEvent(t)}_convertSpanToTransaction(){if(!tP((0,ef.XU)(this)))return;this._name||(S.X&&x.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=tL(this),n=(e||(0,b.nZ)()).getClient()||(0,b.s3)();if(!0!==this._sampled){S.X&&x.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}let r=(0,ef.Dp)(this).filter(e=>
21e!==this&&!(e instanceof tA&&e.isStandaloneSpan())).map(e=>(0,ef.XU)(e)).filter(tP),i=this._attributes[t_.Zj],o={contexts:{trace:(0,ef.HR)(this)},spans:r.length>1e3?r.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...(0,O.Jr)({dynamicSamplingContext:(0,ep.jC)(this)})},_metrics_summary:(0,tE.y)(this),...i&&{transaction_info:{source:i}}},a=tC(this._events);return a&&Object.keys(a).length&&(S.X&&x.kg.log("[Measurements] Adding measurements to transaction event",JSON.stringify(a,void 0,2)),o.measurements=a),o}}function tO(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function tP(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}let tR="__SENTRY_SUPPRESS_TRACING__";function tM(e){let t=tI();if(t.startInactiveSpan)return t.startInactiveSpan(e);let n=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=(0,ef.$k)(e.startTime),delete n.startTime,n}return t}(e),{forceTransaction:r,parentSpan:i}=e;return(e.scope?t=>(0,b.$e)(e.scope,t):i?e=>tN(i,e):e=>e())(()=>{let t=(0,b.nZ)(),i=function(e){let t=(0,tk.Y)(e);if(!t)return;let n=(0,b.s3)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,ef.Gx)(t):t}(t);return e.onlyIfParent&&!i?new tS:function({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){var i;let o;if(!w())return new tS;let a=(0,b.aF)();if(e&&!n)o=function(e,t,n){let{spanId:r,traceId:i}=e.spanContext(),o=!t.getScopeData().sdkProcessingMetadata[tR]&&(0,ef.Tt)(e),a=o?new tA({...n,parentSpanId:r,traceId:i,sampled:o}):new tS({traceId:i});(0,ef.j5)(e,a);let s=(0,b.s3)();return s&&(s.emit("spanStart",a),n.endTimestamp&&s.emit("spanEnd",a)),a}(e,r,t),(0,ef.j5)(e,o);else if(e){let n=(0,ep.jC)(e),{traceId:i,spanId:a}=e.spanContext(),s=(0,ef.Tt)(e);o=tD({traceId:i,parentSpanId:a,...t},r,s),(0,ep.Lh)(o,n)}else{let{traceId:e,dsc:n,parentSpanId:i,sampled:s}={...a.getPropagationContext(),...r.getPropagationContext()};o=tD({traceId:e,parentSpanId:i,...t},r,s),n&&(0,ep.Lh)(o,n)}return function(e){if(!S.X)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=(0,ef.XU)(e),{spanId:i}=e.spanContext(),o=(0,ef.Tt)(e),a=(0,ef.Gx)(e),s=a===e,l=`[Tracing] Starting ${o?"sampled":"unsampled"} ${s?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&u.push(`parent ID: ${r}`),!s){let{op:e,description:t}=(0,ef.XU)(a);u.push(`root ID: ${a.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}x.kg.log(`${l}
22  ${u.join("\n  ")}`)}(o),(i=o)&&((0,O.xp)(i,tj,a),(0,O.xp)(i,tT,r)),o}({parentSpan:i,spanArguments:n,forceTransaction:r,scope:t})})}function tN(e,t){let n=tI();return n.withActiveSpan?n.withActiveSpan(e,t):(0,b.$e)(n=>((0,tk.D)(n,e||void 0),t(n)))}function tI(){let e=(0,tw.c)();return(0,tx.G)(e)}function tD(e,t,n){let r=(0,b.s3)(),i=r&&r.getOptions()||{},{name:o="",attributes:a}=e,[s,l]=t.getScopeData().sdkProcessingMetadata[tR]?[!1]:function(e,t){let n;if(!w(e))return[!1];let r=em(n="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1);return void 0===r?(S.X&&x.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random()<r?[!0,r]:(S.X&&x.kg.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[!1,r]):(S.X&&x.kg.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,r])}(i,{name:o,parentSampled:n,attributes:a,transactionContext:{name:o,parentSampled:n}}),u=new tA({...e,attributes:{[t_.Zj]:"custom",...e.attributes},sampled:s});return void 0!==l&&u.setAttribute(t_.TE,l),r&&r.emit("spanStart",u),u}let t$=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",tF=(e,t,n,r)=>{let i,o;return a=>{t.value>=0&&(a||r)&&((o=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=o,t.rating=t$(t.value,n),e(t))}},tB=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,tW=()=>J.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],tU=()=>{let e=tW();return e&&e.activationStart||0},tV=(e,t)=>{let n=tW(),r="navigate";return n&&(J.document&&J.document.prerendering||tU()>0?r="prerender":J.document&&J.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:tB(),navigationType:r}},tz=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},tH=e=>{let t=t=>{("pagehide"===t.type||J.document&&"hidden"===J.document.visibilityState)&&e(t)};J.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},tG=e=>{let t=!1;return n=>{t||(e(n),t=!0)}},tq=-1,tX=()=>{tq="hidden"!==J.document.visibilityState||J.document.prerendering?1/0:0},tY=e=>{"hidden"===J.document.visibilityState&&tq>-1&&(tq="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("visibilitychange",tY,!0),removeEventListener("prerenderingchange",tY,!0))},tJ=()=>{addEventListener("visibilitychange",tY,!0),addEventListener("prerenderingchange",tY,!0)},tZ=()=>(J.document&&tq<0&&(tX(),tJ()),{get firstHiddenTime(){return tq}}),tK=e=>{J.document&&J.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},tQ=[1800,3e3],t0=(e,t={})=>{tK(()=>{let n;let r=tZ(),i=tV("FCP"),o=tz("paint",e=>
22{e.forEach(e=>{"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-tU(),0),i.entries.push(e),n(!0)))})});o&&(n=tF(e,i,tQ,t.reportAllChanges))})},t1=[.1,.25],t5=(e,t={})=>{t0(tG(()=>{let n;let r=tV("CLS",0),i=0,o=[],a=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=o[0],n=o[o.length-1];i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e])}}),i>r.value&&(r.value=i,r.entries=o,n())},s=tz("layout-shift",a);s&&(n=tF(e,r,t1,t.reportAllChanges),tH(()=>{a(s.takeRecords()),n(!0)}),setTimeout(n,0))}))},t2=[100,300],t4=(e,t={})=>{tK(()=>{let n;let r=tZ(),i=tV("FID"),o=e=>{e.startTime<r.firstHiddenTime&&(i.value=e.processingStart-e.startTime,i.entries.push(e),n(!0))},a=e=>{e.forEach(o)},s=tz("first-input",a);n=tF(e,i,t2,t.reportAllChanges),s&&tH(tG(()=>{a(s.takeRecords()),s.disconnect()}))})},t3=0,t7=1/0,t9=0,t6=e=>{e.forEach(e=>{e.interactionId&&(t7=Math.min(t7,e.interactionId),t3=(t9=Math.max(t9,e.interactionId))?(t9-t7)/7+1:0)})},t8=()=>l?t3:performance.interactionCount||0,ne=()=>{"interactionCount"in performance||l||(l=tz("event",t6,{type:"event",buffered:!0,durationThreshold:0}))},nt=[200,500],nn=()=>t8()-0,nr=[],ni={},no=e=>{let t=nr[nr.length-1],n=ni[e.interactionId];if(n||nr.length<10||t&&e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};ni[t.id]=t,nr.push(t)}nr.sort((e,t)=>t.latency-e.latency),nr.splice(10).forEach(e=>{delete ni[e.id]})}},na=()=>{let e=Math.min(nr.length-1,Math.floor(nn()/50));return nr[e]},ns=(e,t={})=>{tK(()=>{let n;ne();let r=tV("INP"),i=e=>{e.forEach(e=>{e.interactionId&&no(e),"first-input"!==e.entryType||nr.some(t=>t.entries.some(t=>e.duration===t.duration&&e.startTime===t.startTime))||no(e)});let t=na();t&&t.latency!==r.value&&(r.value=t.latency,r.entries=t.entries,n())},o=tz("event",i,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});n=tF(e,r,nt,t.reportAllChanges),o&&("PerformanceEventTiming"in J&&"interactionId"in PerformanceEventTiming.prototype&&o.observe({type:"first-input",buffered:!0}),tH(()=>{i(o.takeRecords()),r.value<0&&nn()>0&&(r.value=0,r.entries=[]),n(!0)}))})},nl=[2500,4e3],nu={},nc=(e,t={})=>{tK(()=>{let n;let r=tZ(),i=tV("LCP"),o=e=>{let t=e[e.length-1];t&&t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-tU(),0),i.entries=[t],n())},a=tz("largest-contentful-paint",o);if(a){n=tF(e,i,nl,t.reportAllChanges);let r=tG(()=>{nu[i.id]||(o(a.takeRecords()),a.disconnect(),nu[i.id]=!0,n(!0))});["keydown","click"].forEach(e=>{J.document&&addEventListener(e,()=>setTimeout(r,0),!0)}),tH(r)}})},nd=[800,1800],np=e=>{J.document&&J.document.prerendering?tK(()=>np(e)):J.document&&"complete"!==J.document.readyState?addEventListener("load",()=>np(e),!0):setTimeout(e,0)},nf=(e,t={})=>{let n=tV("TTFB"),r=tF(e,n,nd,t.reportAllChanges);np(()=>{let e=tW();if(e){let t=e.responseStart;if(t<=0||t>performance.now())return;n.value=Math.max(t-tU(),0),n.entries=[e],r(!0)}})},nh={},nm={};function ng(e,t){return nS(e,t),nm[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),tz(e,t=>{nv(e,{entries:t})},t)}(e),nm[e]=!0),nE(e,t)}function nv(e,t){let n=nh[e];if(n&&n.length)for(let r of n)try{r(t)}catch(t){tf&&x.kg.error(`Error while triggering instrumentation handler.
23Type: ${e}
24Name: ${(0,M.$P)(r)}
25Error:`,t)}}function ny(){return t5(e=>{nv("cls",{metric:e}),u=e},{reportAllChanges:!0})}function nb(){return t4(e=>{nv("fid",{metric:e}),c=e})}function nw(){return nc(e=>{nv("lcp",{metric:e}),d=e},{reportAllChanges:!0})}function nx(){return nf(e=>{nv("ttfb",{metric:e}),p=e})}function n_(){return ns(e=>{nv("inp",{metric:e}),f=e})}function nk(e,t,n,r,i=!1){let o;return nS(e,t),nm[e]||(o=n(),nm[e]=!0),r&&t({metric:r}),nE(e,t,i?o:void 0)}function nS(e,t){nh[e]=nh[e]||[],nh[e].push(t)}function nE(e,t,n){return()=>{n&&n();let r=nh[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function nC(e){return"number"==typeof e&&isFinite(e)}function nT(e,t,n,{...r}){let i=(0,ef.XU)(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),tN(e,()=>{let e=tM({startTime:t,...r});return e&&e.end(n),e})}function nj(){return J&&J.addEventListener&&J.performance}function nL(e){return e/1e3}let nA=0,nO={};function nP(e,t,n,r,i,o){let a=o?t[o]:t[`${n}End`],s=t[`${n}Start`];s&&a&&nT(e,r+nL(s),r+nL(a),{op:"browser",name:i||n,attributes:{[t_.S3]:"auto.ui.browser.metrics"}})}function nR(e,t,n,r){let i=t[n];null!=i&&i<2147483647&&(e[r]=i)}let nM=[],nN=new Map,nI={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};var nD=n(76197);let n$={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function nF(e,t={}){let n;let r=new Map,i=!1,o="externalFinish",a=!t.disableAutoFinish,{idleTimeout:s=n$.idleTimeout,finalTimeout:l=n$.finalTimeout,childSpanTimeout:u=n$.childSpanTimeout,beforeSpanEnd:c}
25=t,d=(0,b.s3)();if(!d||!w())return new tS;let p=(0,b.nZ)(),f=(0,ef.HN)(),h=function(e){let t=tM(e);return(0,tk.D)((0,b.nZ)(),t),S.X&&x.kg.log("[Tracing] Started span is an idle span"),t}(e);function m(){n&&(clearTimeout(n),n=void 0)}function g(e){m(),n=setTimeout(()=>{!i&&0===r.size&&a&&(o="idleTimeout",h.end(e))},s)}function v(e){n=setTimeout(()=>{!i&&a&&(o="heartbeatFailed",h.end(e))},u)}function y(e){i=!0,r.clear(),(0,tk.D)(p,f);let t=(0,ef.XU)(h),{start_timestamp:n}=t;if(!n)return;(t.data||{})[t_.ju]||h.setAttribute(t_.ju,o),x.kg.log(`[Tracing] Idle span "${t.op}" finished`);let a=(0,ef.Dp)(h).filter(e=>e!==h),u=0;a.forEach(t=>{t.isRecording()&&(t.setStatus({code:nD.jt,message:"cancelled"}),t.end(e),S.X&&x.kg.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=(0,ef.XU)(t),i=r<=e,o=n-r<=(l+s)/1e3;if(S.X){let e=JSON.stringify(t,void 0,2);i?o||x.kg.log("[Tracing] Discarding span since it finished after idle span final timeout",e):x.kg.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!o||!i)&&((0,ef.ed)(h,t),u++)}),u>0&&h.setAttribute("sentry.idle_span_discarded_spans",u)}return h.end=new Proxy(h.end,{apply(e,t,n){c&&c(h);let[r,...i]=n,o=r||(0,ex.ph)(),a=(0,ef.$k)(o),s=(0,ef.Dp)(h).filter(e=>e!==h);if(!s.length)return y(a),Reflect.apply(e,t,[a,...i]);let u=s.map(e=>(0,ef.XU)(e).timestamp).filter(e=>!!e),d=u.length?Math.max(...u):void 0,p=(0,ef.XU)(h).start_timestamp,f=Math.min(p?p+l/1e3:1/0,Math.max(p||-1/0,Math.min(a,d||1/0)));return y(f),Reflect.apply(e,t,[f,...i])}}),d.on("spanStart",e=>{if(!i&&e!==h&&!(0,ef.XU)(e).timestamp&&(0,ef.Dp)(h).includes(e)){var t;t=e.spanContext().spanId,m(),r.set(t,!0),v((0,ex.ph)()+u/1e3)}}),d.on("spanEnd",e=>{var t;i||(t=e.spanContext().spanId,r.has(t)&&r.delete(t),0===r.size&&g((0,ex.ph)()+s/1e3))}),d.on("idleSpanEnableAutoFinish",e=>{e===h&&(a=!0,g(),r.size&&v())}),t.disableAutoFinish||g(),setTimeout(()=>{i||(h.setStatus({code:nD.jt,message:"deadline_exceeded"}),o="finalTimeout",h.end())},l),h}let nB=!1;function nW(){let e=(0,ef.HN)(),t=e&&(0,ef.Gx)(e);if(t){let e="internal_error";S.X&&x.kg.log(`[Tracing] Root span: ${e} -> Global error occured`),t.setStatus({code:nD.jt,message:e})}}nW.tag="sentry_tracingErrorCallback";var nU=n(24880),nV=n(98625),nz=n(24764);let nH={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function nG(e){let{url:t}=(0,ef.XU)(e).data||{};if(!t||"string"!=typeof t)return;let n=ng("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(t)&&((function(e){let{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(let i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol),r=[];return(r.push(["network.protocol.version",n],["network.protocol.name",t]),ex.Z1)?[...r,["http.request.redirect_start",nq(e.redirectStart)],["http.request.fetch_start",nq(e.fetchStart)],["http.request.domain_lookup_start",nq(e.domainLookupStart)],["http.request.domain_lookup_end",nq(e.domainLookupEnd)],["http.request.connect_start",nq(e.connectStart)],["http.request.secure_connection_start",nq(e.secureConnectionStart)],["http.request.connection_end",nq(e.connectEnd)],["http.request.request_start",nq(e.requestStart)],["http.request.response_start",nq(e.responseStart)],["http.request.response_end",nq(e.responseEnd)]]:r})(r).forEach(t=>e.setAttribute(...t)),setTimeout(n))})})}function nq(e=0){return((ex.Z1||performance.timeOrigin)+e)/1e3}function nX(e){try{return new URL(e,eL.location.origin).href}catch(e){return}}let nY={...n$,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!0,_experiments:{},...nH},nJ=(e={})=>{nB||(nB=!0,e1(nW),e4(nW));let{enableInp:t,enableLongTask:n,_experiments:{enableInteractions:r},beforeStartSpan:i,idleTimeout:o,finalTimeout:a,childSpanTimeout:s,markBackgroun
25dSpan:l,traceFetch:g,traceXHR:v,shouldCreateSpanForRequest:y,enableHTTPTimings:_,instrumentPageLoad:S,instrumentNavigation:E}={...nY,...e},C=function(){let e=nj();if(e&&ex.Z1){e.mark&&J.performance.mark("sentry-tracing-init");let t=nk("fid",({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let n=nL(ex.Z1),r=nL(t.startTime);tf&&x.kg.log("[Measurements] Adding FID"),nO.fid={value:e.value,unit:"millisecond"},nO["mark.fid"]={value:n+r,unit:"second"}},nb,c),n=function(e,t=!1){return nk("cls",e,ny,u,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(tf&&x.kg.log("[Measurements] Adding CLS"),nO.cls={value:e.value,unit:""},m=t)},!0),r=function(e,t=!1){return nk("lcp",e,nw,d,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(tf&&x.kg.log("[Measurements] Adding LCP"),nO.lcp={value:e.value,unit:"millisecond"},h=t)},!0),i=nk("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(tf&&x.kg.log("[Measurements] Adding TTFB"),nO.ttfb={value:e.value,unit:"millisecond"})},nx,p);return()=>{t(),n(),r(),i()}}return()=>void 0}();t&&function(){if(nj()&&ex.Z1){let e=nk("inp",({metric:e})=>{let t;let n=(0,b.s3)();if(!n||void 0==e.value)return;let r=e.entries.find(t=>t.duration===e.value&&nI[t.name]);if(!r)return;let{interactionId:i}=r,o=nI[r.name],a=n.getOptions(),s=nL(ex.Z1+r.startTime),l=nL(e.value),u=(0,b.nZ)(),c=(0,ef.HN)(),d=c?(0,ef.Gx)(c):void 0,p=(null!=i?nN.get(i):void 0)||(d?(0,ef.XU)(d).description:u.getScopeData().transactionName),f=u.getUser(),h=n.getIntegrationByName("Replay"),m=h&&h.getReplayId(),g=void 0!==f?f.email||f.id||f.ip_address:void 0;try{t=u.getScopeData().contexts.profile.profile_id}catch(e){}let v=tM({name:(0,ez.Rt)(r.target),op:`ui.interaction.${o}`,attributes:(0,O.Jr)({release:a.release,environment:a.environment,transaction:p,[t_.JQ]:e.value,[t_.S3]:"auto.http.browser.inp",user:g||void 0,profile_id:t||void 0,replay_id:m||void 0}),startTime:s,experimental:{standalone:!0}});v.addEvent("inp",{[t_.E1]:"millisecond",[t_.Wb]:e.value}),v.end(s+l)},n_,f)}}(),n&&ng("longtask",({entries:e})=>{for(let t of e){if(!(0,ef.HN)())return;let e=nL(ex.Z1+t.startTime),n=nL(t.duration),r=tM({name:"Main UI thread blocked",op:"ui.long-task",startTime:e,attributes:{[t_.S3]:"auto.ui.browser.metrics"}});r&&r.end(e+n)}}),r&&ng("event",({entries:e})=>{for(let t of e){if(!(0,ef.HN)())return;if("click"===t.name){let e=nL(ex.Z1+t.startTime),n=nL(t.duration),r={name:(0,ez.Rt)(t.target),op:`ui.interaction.${t.name}`,startTime:e,attributes:{[t_.S3]:"auto.ui.browser.metrics"}},i=(0,ez.iY)(t.target);i&&(r.attributes["ui.component_name"]=i);let o=tM(r);o&&o.end(e+n)}}});let T={name:void 0,source:void 0};function j(e,t){let n="pageload"===t.op,r=i?i(t):t,l=r.attributes||{};t.name!==r.name&&(l[t_.Zj]="custom",r.attributes=l),T.name=r.name,T.source=l[t_.Zj];let u=nF(r,{idleTimeout:o,finalTimeout:a,childSpanTimeout:s,disableAutoFinish:n,beforeSpanEnd:e=>{C(),function(e){let t=nj();if(!t||!J.performance.getEntries||!ex.Z1)return;tf&&x.kg.log("[Tracing] Adding & adjusting spans using Performance API");let n=nL(ex.Z1),r=t.getEntries(),{op:i,start_timestamp:o}=(0,ef.XU)(e);if(r.slice(nA).forEach(t=>{let r=nL(t.startTime),a=nL(t.duration);if("navigation"!==i||!o||!(n+r<o))switch(t.entryType){case"navigation":["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{nP(e,t,r,n)}),nP(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),nP(e,t,"fetch",n,"cache","domainLookupStart"),nP(e,t,"domainLookup",n,"DNS"),function(e,t,n){let r=n+nL(t.requestStart),i=n+nL(t.responseEnd),o=n+nL(t.responseStart);t.responseEnd&&(nT(e,r,i,{op:"browser",name:"request",attributes:{[t_.S3]:"auto.ui.browser.metrics"}}),nT(e,o,i,{op:"browser",name:"response",attributes:{[t_.S3]:"auto.ui.browser.metrics"}}))}(e,t,n);break;case"mark":case"paint":case"measure":{(function(e,t,n,r,i){let o=tW(),a=i+Math.max(n,nL(o?o.requestStart:0)),s=i+n,l={[t_.S3]:"auto.resource.browser.metrics"};a!==s&&(l["sentry.browser.measure_happened_before_request"]=!0,l["sentry.browser.measure_start_time"]=a),nT(e,a,s+r,{name:t.name,op:t.entryType,attributes:l})})(e,t,r,a,n);let i=tZ(),o=t.startTime<i.firstHiddenTime;"first-paint"===t.name&&o&&(tf&&x.kg.log("[Measurements] Adding FP"),nO.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&o&&(tf&&x.kg.log("[Measurements] Adding FCP"),nO.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":(function(e,t,n,r,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let a=eG(n),s={[t_.S3]:"auto.resource.browser.metrics"};nR(s,t,"transferSize","http.response_transfer_size"),nR(s,t,"encodedBodySize","http.response_content_length"),nR(s,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(s["url.scheme"]=a.protocol.split(":").pop()),a.host&&(s["server.address"]=a.host),s["url.same_origin"]=n.includes(J.location.origin);let l=o+r;nT(e,l,l+i,{name:n.replace(J.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:s})})(e,t,t.name,r,a,n)}}),nA=Math.max(r.length-1,0),function(e){let t=J.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),nC(n.rtt)&&(nO["connection.rtt"]={value:n.rtt,unit:"millisecond"})),nC(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),nC(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===i){(function(e){let t=tW();if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(tf&&x.kg.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}
25)(nO),["fcp","fp","lcp"].forEach(e=>{let t=nO[e];if(!t||!o||n>=o)return;let r=t.value,i=Math.abs((n+nL(r)-o)*1e3),a=i-r;tf&&x.kg.log(`[Measurements] Normalized ${e} from ${r} to ${i} (${a})`),t.value=i});let t=nO["mark.fid"];t&&nO.fid&&(nT(e,t.value,t.value+nL(nO.fid.value),{name:"first input delay",op:"ui.action",attributes:{[t_.S3]:"auto.ui.browser.metrics"}}),delete nO["mark.fid"]),"fcp"in nO||delete nO.cls,Object.entries(nO).forEach(([e,t])=>{!function(e,t,n){let r=(0,ef.HN)(),i=r&&(0,ef.Gx)(r);i&&i.addEvent(e,{[t_.Wb]:t,[t_.E1]:n})}(e,t.value,t.unit)}),h&&(tf&&x.kg.log("[Measurements] Adding LCP Data"),h.element&&e.setAttribute("lcp.element",(0,ez.Rt)(h.element)),h.id&&e.setAttribute("lcp.id",h.id),h.url&&e.setAttribute("lcp.url",h.url.trim().slice(0,200)),e.setAttribute("lcp.size",h.size)),m&&m.sources&&(tf&&x.kg.log("[Measurements] Adding CLS Data"),m.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,(0,ez.Rt)(t.node))))}h=void 0,m=void 0,nO={}}(e)}});function c(){["interactive","complete"].includes(eL.document.readyState)&&e.emit("idleSpanEnableAutoFinish",u)}return n&&eL.document&&(eL.document.addEventListener("readystatechange",()=>{c()}),c()),u}return{name:"BrowserTracing",afterAllSetup(e){let n,i;let u=eL.location&&eL.location.href;e.on("startNavigationSpan",t=>{(0,b.s3)()===e&&(n&&(e_&&x.kg.log(`[Tracing] Finishing current root span with op: ${(0,ef.XU)(n).op}`),n.end()),n=j(e,{op:"navigation",...t}))}),e.on("startPageLoadSpan",(t,r={})=>{if((0,b.s3)()!==e)return;n&&(e_&&x.kg.log(`[Tracing] Finishing current root span with op: ${(0,ef.XU)(n).op}`),n.end());let i=r.sentryTrace||nQ("sentry-trace"),o=r.baggage||nQ("baggage"),a=(0,nU.pT)(i,o);(0,b.nZ)().setPropagationContext(a),n=j(e,{op:"pageload",...t})}),e.on("spanEnd",e=>{let t=(0,ef.XU)(e).op;if(e!==(0,ef.Gx)(e)||"navigation"!==t&&"pageload"!==t)return;let n=(0,b.nZ)(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:(0,ef.Tt)(e),dsc:r.dsc||(0,ep.jC)(e)})}),eL.location&&(S&&nZ(e,{name:eL.location.pathname,startTime:ex.Z1?ex.Z1/1e3:void 0,attributes:{[t_.Zj]:"url",[t_.S3]:"auto.pageload.browser"}}),E&&Z(({to:t,from:n})=>{if(void 0===n&&u&&-1!==u.indexOf(t)){u=void 0;return}n!==t&&(u=void 0,nK(e,{name:eL.location.pathname,attributes:{[t_.Zj]:"url",[t_.S3]:"auto.navigation.browser"}}))})),l&&(eL&&eL.document?eL.document.addEventListener("visibilitychange",()=>{let e=(0,ef.HN)();if(!e)return;let t=(0,ef.Gx)(e);if(eL.document.hidden&&t){let e="cancelled",{op:n,status:r}=(0,ef.XU)(t);e_&&x.kg.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:nD.jt,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):e_&&x.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),r&&eL.document&&addEventListener("click",()=>{let e="ui.action.click",t=(0,ef.HN)(),n=t&&(0,ef.Gx)(t);if(n&&["navigation","pageload"].includes((0,ef.XU)(n).op)){e_&&x.kg.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(i&&(i.setAttribute(t_.ju,"interactionInterrupted"),i.end(),i=void 0),!T.name){e_&&x.kg.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}i=nF({name:T.name,op:e,attributes:{[t_.Zj]:T.source||"url"}},{idleTimeout:o,finalTimeout:a,childSpanTimeout:s})},{once:!1,capture:!0}),t&&function(e){let t=({entries:t})=>{t.forEach(t=>{if(!("duration"in t)||!e.name)return;let n=t.interactionId;if(!(null==n||nN.has(n))){if(nM.length>10){let e=nM.shift();nN.delete(e)}nM.push(n),nN.set(n,e.name)}})};ng("event",t),ng("first-input",t)}(T),function(e){let{traceFetch:t,traceXHR:n,shouldCreateSpanForRequest:r,enableHTTPTimings:i,tracePropagationTargets:o}={traceFetch:nH.traceFetch,traceXHR:nH.traceXHR,...e},a="function"==typeof r?r:e=>!0,s=e=>(function(e,t){let n=eL.location&&eL.location.href;if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch(e){return!1}let o=r.origin===i;return t?(0,k.U0)(r.toString(),t)||o&&(0,k.U0)(r.pathname,t):o}{let n=!!e.match(/^\/(?!\/)/);return t?(0,k.U0)(e,t):n}})(e,o),l={};t&&eB(e=>{let t=function(e,t,n,r,i="auto.http.browser"){if(!e.fetchData)return;let o=w()&&t(e.fetchData.url);if(e.endTimestamp&&o){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(function(e,t){if(t.response){(0,nD.Q0)(e,t.response.status);let n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:nD.jt,message:"internal_error"});e.end()}(n,e),delete r[t]);return}let a=(0,b.nZ)(),s=(0,b.s3)(),{method:l,url:u}=e.fetchData,c=function(e){try{return new URL(e).href}catch(e){return}}(u),d=c?eG(c).host:void 0,p=!!(0,ef.HN)(),f=o&&p?tM({name:`${l} ${u}`,attributes:{url:u,type:"fetch","http.method":l,"http.url":c,"server.address":d,[t_.S3]:i,[t_.$J]:"http.client"}}):new tS;if(e.fetchData.__span=f.spanContext().spanId,r[f.spanContext().spanId]=f,n(e.fetchData.url)&&s){let t=e.args[0];e.args[1]=e.args[1]||{};let n=e.args[1];n.headers=function(e,t,n,r,i){let{traceId:o,spanId:a,sampled:s,dsc:l}={...(0,b.aF)().getPropagationContext(),...n.getPropagationContext()},u=i?(0,ef.Hb)(i):(0,nU.$p)(o,a,s),c=(0,nz.IQ)(l||(i?(0,ep.jC)(i):(0,ep._l)(o,t))),d=r.headers||("undefined"!=typeof Request&&(0,er.V9)(e,Request)?e.headers:void 0);if(!d)return{"sentry-trace":u,baggage:c};if("undefined"!=typeof Headers&&(0,er.V9)(d,Headers)){let e=new Headers(d);return e.append("sentry-trace",u),c&&e.append(nz.bU,c),e}if(Array.isArray(d)){let e=[...d,["sentry-trace",u]];return c&&e.push([nz.bU,c]),e}{let e="baggage"in d?d.baggage:void 0,t=[];
25return Array.isArray(e)?t.push(...e):e&&t.push(e),c&&t.push(c),{...d,"sentry-trace":u,baggage:t.length>0?t.join(","):void 0}}}(t,s,a,n,w()&&p?f:void 0)}return f}(e,a,s,l);if(t){let n=nX(e.fetchData.url),r=n?eG(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}i&&t&&nG(t)}),n&&eI(e=>{let t=function(e,t,n,r){let i=e.xhr,o=i&&i[eN];if(!i||i.__sentry_own_request__||!o)return;let a=w()&&t(o.url);if(e.endTimestamp&&a){let e=i.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&void 0!==o.status_code&&((0,nD.Q0)(t,o.status_code),t.end(),delete r[e]);return}let s=nX(o.url),l=s?eG(s).host:void 0,u=!!(0,ef.HN)(),c=a&&u?tM({name:`${o.method} ${o.url}`,attributes:{type:"xhr","http.method":o.method,"http.url":s,url:o.url,"server.address":l,[t_.S3]:"auto.http.browser",[t_.$J]:"http.client"}}):new tS;i.__sentry_xhr_span_id__=c.spanContext().spanId,r[i.__sentry_xhr_span_id__]=c;let d=(0,b.s3)();return i.setRequestHeader&&n(o.url)&&d&&function(e,t,n){let r=(0,b.nZ)(),{traceId:i,spanId:o,sampled:a,dsc:s}={...(0,b.aF)().getPropagationContext(),...r.getPropagationContext()};(function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(nz.bU,n)}catch(e){}})(e,n&&w()?(0,ef.Hb)(n):(0,nU.$p)(i,o,a),(0,nz.IQ)(s||(n?(0,ep.jC)(n):(0,ep._l)(i,t))))}(i,d,w()&&u?c:void 0),c}(e,a,s,l);i&&t&&nG(t)})}({traceFetch:g,traceXHR:v,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:y,enableHTTPTimings:_})}}};function nZ(e,t,n){e.emit("startPageLoadSpan",t,n),(0,b.nZ)().setTransactionName(t.name);let r=(0,ef.HN)();return"pageload"===(r&&(0,ef.XU)(r).op)?r:void 0}function nK(e,t){(0,b.aF)().setPropagationContext((0,nV.Q)()),(0,b.nZ)().setPropagationContext((0,nV.Q)()),e.emit("startNavigationSpan",t),(0,b.nZ)().setTransactionName(t.name);let n=(0,ef.HN)();return"navigation"===(n&&(0,ef.XU)(n).op)?n:void 0}function nQ(e){let t=(0,ez.qT)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}var n0=n(66466),n1=n(48839),n5=n(4142);let n2=n1.events?n1:n1.default,n4=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function n3(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function n7(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}let n9=(e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in B.GLOBAL_OBJ&&void 0!==B.GLOBAL_OBJ.window,i=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),o=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(i||o){let e;let o=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,a=t?function(e,t){e=n3(e).slice(1),t=n3(t).slice(1);let n=n7(e.split("/")),r=n7(t.split("/")),i=Math.min(n.length,r.length),o=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){o=e;break}let a=[];for(let e=o;e<n.length;e++)a.push("..");return(a=a.concat(r.slice(o))).join("/")}(t,o):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=n4.exec(t);return n?n.slice(1):[]}(o)[2]||"";r.filename=`${n}${a}`}return r}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t&&t.frames&&t.frames.map(e=>i(e))}}}})}}}catch(t){return e}}(t)),t}}},n6=({assetPrefixPath:e})=>({...n9({iteratee:t=>{try{let{origin:n}=new URL(t.filename);t.filename=(0,n0.x)([t,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(n,"app://"),"access",e=>e.replace,"call",t=>t(e,"")])}catch(e){}return t.filename&&t.filename.startsWith("app:///_next")&&(t.filename=decodeURI(t.filename)),t.filename&&t.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(t.in_app=!1),t}}),name:"NextjsClientStackFrameNormalization"}),n8=B.GLOBAL_OBJ,re=B.GLOBAL_OBJ;var rt=n(73656),rn=window;rn.__sentryRewritesTunnelPath__="/monitoring-tunnel",rn.SENTRY_RELEASE={id:"cf1796caa6a049687aa9f50ecdf1788e8402dacc"},rn.__sentryBasePath=void 0,rn.__rewriteFramesAssetPrefixPath__="",function(e){let t={environment:function(e){let t=e?"production":tb.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=tv(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&w(e)&&t.push(function(e={}){let t=nJ({...e,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){var i;r&&(i=e,eL.document.getElementById("__NEXT_DATA__")?n2.events.on("routeChangeStart",e=>{let t,n;let r=e.split(/[?#]/,1)[0],o=function(e){let t=(eL.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let n=function(e){let t=e.split("/"),n="";(0,n0.x)([t,"access",e=>e[t.length-1],"optionalAccess",e=>e.match,"call",e=>e(/^\[\[\.\.\..+\]\]$/)])&&(t.pop(),n="(?:/(.+?))?");let r=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${n}(?:/)?$`)}(t);return e.match(n)})}(r);o?(t=o,n="route"):(t=r,n="url"),nK(i,{name:t,attributes:{[t_.$J]:"navigation",[t_.S3]:"auto.navigation.nextjs.pages_router_instrumentation",[t_.Zj]:n}})}):eB(e=>{if(void 0!==e.endTimestamp||"GET"!==e.fetchData.method)return;let t=function(e){if(!e[0]||"object"!=typeof e[0]||void 0===e[0].searchParams||!e[1]||"object"!=typeof e[1]||!("headers"in e[1])
25)return null;try{let t=e[0],n=e[1].headers;if("1"!==n.RSC||"1"===n["Next-Router-Prefetch"])return null;return{targetPathname:t.pathname}}catch(e){return null}}(e.args);null!==t&&nK(i,{name:t.targetPathname,attributes:{[t_.$J]:"navigation",[t_.S3]:"auto.navigation.nextjs.app_router_instrumentation",[t_.Zj]:"url"}})})),t.afterAllSetup(e),n&&(eL.document.getElementById("__NEXT_DATA__")?function(e){let{route:t,params:n,sentryTrace:r,baggage:i}=function(){let e;let t=eL.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){n5.X&&x.kg.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:i,props:o}=e;return n.route=r,n.params=i,o&&o.pageProps&&(n.sentryTrace=o.pageProps._sentryTraceData,n.baggage=o.pageProps._sentryBaggage),n}();nZ(e,{name:t||eL.location.pathname,startTime:ex.Z1?ex.Z1/1e3:void 0,attributes:{[t_.$J]:"pageload",[t_.S3]:"auto.pageload.nextjs.pages_router_instrumentation",[t_.Zj]:t?"route":"url",...n&&e.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:r,baggage:i})}(e):nZ(e,{name:eL.location.pathname,startTime:ex.Z1?ex.Z1/1e3:void 0,attributes:{[t_.$J]:"pageload",[t_.S3]:"auto.pageload.nextjs.app_router_instrumentation",[t_.Zj]:"url"}}))}}}());let n=re.__rewriteFramesAssetPrefixPath__||"";return t.push(n6({assetPrefixPath:n})),t}(e),...e};(function(e){let t=n8.__sentryRewritesTunnelPath__;if(t&&e.dsn){let n=et(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],o=r[2],a=`${t}?o=${i}&p=${n.projectId}`;o&&(a+=`&r=${o}`),e.tunnel=a,n5.X&&x.kg.info(`Tunneling events to "${a}"`)}else n5.X&&x.kg.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}})(t),v(t,"nextjs",["nextjs","react"]),function(e){let t={...e};v(t,"react"),(0,y.v)("react",{version:ty.version}),function(e={}){let t=function(e={}){return{defaultIntegrations:tv(),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:eL.SENTRY_RELEASE&&eL.SENTRY_RELEASE.id?eL.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0,...e}}(e);if(function(){let e=eL.chrome?"chrome":"browser",t=eL[e],n=t&&t.runtime&&t.runtime.id,r=eL.location&&eL.location.href||"",i=!!n&&eL===eL.top&&["chrome-extension:","moz-extension:","ms-browser-extension:"].some(e=>r.startsWith(`${e}//`)),o=void 0!==eL.nw;return!!n&&!i&&!o}()){(0,x.Cf)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}e_&&!U()&&x.kg.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."),function(e,t){!0===t.debug&&(S.X?x.kg.enable():(0,x.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,b.nZ)().update(t.initialScope);let n=new e(t);(0,b.nZ)().setClient(n),n.init()}(eP,{...t,stackParser:(0,M.Sq)(t.stackParser||td),integrations:function(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r=function(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(Array.isArray(n)?[...t,...n]:"function"==typeof n?(0,_.lE)(n(t)):t),i=r.findIndex(e=>"Debug"===e.name);if(i>-1){let[e]=r.splice(i,1);r.push(e)}return r}(t),transport:t.transport||tg}),t.autoSessionTracking&&function(){if(void 0===eL.document){e_&&x.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}(0,y.yj)({ignoreDuration:!0}),(0,y.cg)(),Z(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,y.yj)({ignoreDuration:!0}),(0,y.cg)())})}()}(t)}(t),(0,y.YA)("runtime","browser");let n=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;n.id="NextClient404Filter",(0,y.Qy)(n)}({dsn:rt.env.SENTRY_DSN||rt.env.NEXT_PUBLIC_SENTRY_DSN,ignoreErrors:[/Invariant: attempted to hard navigate to the same URL.*/,"ResizeObserver loop limit exceeded","AbortError: The operation was aborted","ResizeObserver loop completed with undelivered notifications","Something unexpected happened, please try again","The fetching process for the media resource was aborted by the user agent at the user's request","AbortError: The play() request was interrupted by a call to pause()","AbortError: The play() request was interrupted because video-only background media","The play() request was interrupted","play() failed because the user","not allowed by the user agent or the platform in the current context, possibly because the user denied permission","top.GLOBALS","originalCreateNotification","canvas.contentDocument","MyApp_RemoveAllHighlights","http://tt.epicplay.com","Can't find variable: ZiteReader","jigsaw is not defined","ComboSearch is not defined","http://loading.retry.widdit.com/","atomicFindClose","fb_xd_fragment","bmi_SafeAddOnload","EBCallBackMessageReceived","conduitPage","Script error.",/.*webkit-masked-url.*/,"window.todesktop._.onNotificationCreated is not a function"],denyUrls:[/graph\.facebook\.com/i,/connect\.facebook\.net\/en_US\/all\.js/i,/eatdifferent\.com\.w
25oopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i],tracesSampleRate:0})},65644:function(e,t){"use strict";var n,r,i,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return p},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return f}});let a="refresh",s="navigate",l="restore",u="server-patch",c="prefetch",d="fast-refresh",p="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=n||(n={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(o=r||(r={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("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)},6756:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(9114),("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)},6093:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(97940),i=n(60273),o=n(97458),a=i._(n(52983)),s=r._(n(63730)),l=r._(n(90824)),u=n(59486),c=n(52284),d=n(91310);n(29623);let p=n(27200),f=r._(n(60305)),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,n,r,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function g(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:p,placeholder:f,loading:h,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:x,setShowAltText:_,sizesInput:k,onLoad:S,onError:E,...C}=e;return(0,o.jsx)("img",{...C,...g(p),loading:h,width:l,height:s,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(E&&(e.src=e.src),e.complete&&m(e,f,b,w,x,v,k))},[n,f,b,w,x,E,v,k,t]),onLoad:e=>{m(e.currentTarget,f,b,w,x,v,k)},onError:e=>{_(!0),"empty"!==f&&x(!0),E&&E(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...g(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let n=(0,a.useContext)(p.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=h||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
25e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[b,w]=(0,a.useState)(!1),[x,_]=(0,a.useState)(!1),{props:k,meta:S}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:b,showAltText:x});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...k,unoptimized:S.unoptimized,placeholder:S.placeholder,fill:S.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:_,sizesInput:e.sizes,ref:t}),S.priority?(0,o.jsx)(y,{isAppRouter:!n,imgAttributes:k}):null]})});("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)},29923:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let r=n(97940),i=n(97458),o=r._(n(52983)),a=n(74179),s=n(71780),l=n(90042),u=n(3410),c=n(6657),d=n(27200),p=n(11936),f=n(7242),h=n(6756),m=n(71335),g=n(65644),v=new Set;function y(e,t,n,r,i,o){if(o||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(v.has(i))return;v.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,n,r))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let w=o.default.forwardRef(function(e,t){let n,r;let{href:l,as:v,children:w,prefetch:x=null,passHref:_,replace:k,shallow:S,scroll:E,locale:C,onClick:T,onMouseEnter:j,onTouchStart:L,legacyBehavior:A=!1,...O}=e;n=w,A&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let P=o.default.useContext(d.RouterContext),R=o.default.useContext(p.AppRouterContext),M=null!=P?P:R,N=!P,I=!1!==x,D=null===x?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:$,as:F}=o.default.useMemo(()=>{if(!P){let e=b(l);return{href:e,as:v?b(v):e}}let[e,t]=(0,a.resolveHref)(P,l,!0);return{href:e,as:v?(0,a.resolveHref)(P,v):t||e}},[P,l,v]),B=o.default.useRef($),W=o.default.useRef(F);A&&(r=o.default.Children.only(n));let U=A?r&&"object"==typeof r&&r.ref:t,[V,z,H]=(0,f.useIntersection)({rootMargin:"200px"}),G=o.default.useCallback(e=>{(W.current!==F||B.current!==$)&&(H(),W.current=F,B.current=$),V(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[F,U,$,H,V]);o.default.useEffect(()=>{M&&z&&I&&y(M,$,F,{locale:C},{kind:D},N)},[F,$,z,C,I,null==P?void 0:P.locale,M,N,D]);let q={ref:G,onClick(e){A||"function"!=typeof T||T(e),A&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),M&&!e.defaultPrevented&&function(e,t,n,r,i,a,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let p=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:a,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?o.default.startTransition(p):p()}(e,M,$,F,k,S,E,C,N)},onMouseEnter(e){A||"function"!=typeof j||j(e),A&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),M&&(I||!N)&&y(M,$,F,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:D},N)},onTouchStart:function(e){A||"function"!=typeof L||L(e),A&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),M&&(I||!N)&&y(M,$,F,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:D},N)}};if((0,u.isAbsoluteUrl)(F))q.href=F;else if(!A||_||"a"===r.type&&!("href"in r.props)){let e=void 0!==C?C:null==P?void 0:P.locale,t=(null==P?void 0:P.isLocaleDomain)&&(0,h.getDomainLocale)(F,e,null==P?void 0:P.locales,null==P?void 0:P.domainLocales);q.href=t||(0,m.addBasePath)((0,c.addLocale)(F,e,null==P?void 0:P.defaultLocale))}return A?o.default.cloneElement(r,q):(0,i.jsx)("a",{...O,...q,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
25dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7242:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(52983),i=n(77711),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!o,[c,d]=(0,r.useState)(!1),p=(0,r.useRef)(null),f=(0,r.useCallback)(e=>{p.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(u||c)return;let e=p.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,p.current]),[f,c,(0,r.useCallback)(()=>{d(!1)},[])]}("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)},59486:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(29623);let r=n(63464),i=n(52284);function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n;let s,l,u,{src:c,sizes:d,unoptimized:p=!1,priority:f=!1,loading:h,className:m,quality:g,width:v,height:y,fill:b=!1,style:w,overrideSrc:x,onLoad:_,onLoadingComplete:k,placeholder:S="empty",blurDataURL:E,fetchPriority:C,layout:T,objectFit:j,objectPosition:L,lazyBoundary:A,lazyRoot:O,...P}=e,{imgConf:R,showAltText:M,blurComplete:N,defaultLoader:I}=t,D=R||i.imageConfigDefault;if("allSizes"in D)s=D;else{let e=[...D.deviceSizes,...D.imageSizes].sort((e,t)=>e-t),t=D.deviceSizes.sort((e,t)=>e-t);s={...D,allSizes:e,deviceSizes:t}}if(void 0===I)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let $=P.loader||I;delete P.loader,delete P.srcSet;let F="__next_img_default"in $;if(F){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=$;$=t=>{let{config:n,...r}=t;return e(r)}}if(T){"fill"===T&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!d&&(d=t)}let B="",W=a(v),U=a(y);if("object"==typeof(n=c)&&(o(n)||void 0!==n.src)){let e=o(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,E=E||e.blurDataURL,B=e.src,!b){if(W||U){if(W&&!U){let t=W/e.width;U=Math.round(e.height*t)}else if(!W&&U){let t=U/e.height;W=Math.round(e.width*t)}}else W=e.width,U=e.height}}let V=!f&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:B)||c.startsWith("data:")||c.startsWith("blob:"))&&(p=!0,V=!1),s.unoptimized&&(p=!0),F&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(p=!0),f&&(C="high");let z=a(g),H=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:j,objectPosition:L}:{},M?{}:{color:"transparent"},w),G=N||"empty"===S?null:"blur"===S?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:W,heightInt:U,blurWidth:l,blurHeight:u,blurDataURL:E||"",objectFit:H.objectFit})+'")':'url("'+S+'")',q=G?{backgroundSize:H.objectFit||"cover",backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{}
25,X=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:o,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:o,width:l[c]})}}({config:s,src:c,unoptimized:p,width:W,quality:z,sizes:d,loader:$});return{props:{...P,loading:V?"lazy":h,fetchPriority:C,width:W,height:U,decoding:"async",className:m,style:{...H,...q},sizes:X.sizes,srcSet:X.srcSet,src:x||X.src},meta:{unoptimized:p,priority:f,placeholder:S,fill:b}}}},63464:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},1247:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(97940),i=n(59486),o=n(6093),a=r._(n(60305));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=o.Image},60305:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},23324:function(e,t,n){"use strict";var r=n(73656);n(47992);var i=n(52983),o=i&&"object"==typeof i&&"default"in i?i:{default:i},a=void 0!==r&&r.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,o=void 0===i?a:i;u(s(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l=document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
25Sheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(u(s(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];u(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
25h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&u(s(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},d={};function p(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return d[r]||(d[r]="jsx-"+c(e+"-"+n)),d[r]}function f(e,t){var n=e+t;return d[n]||(d[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[n]}var h=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=o,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=p(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return f(i,e)}):[f(i,t)]}}return{styleId:p(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var g=o.default.useInsertionEffect||o.default.useLayoutEffect,v=new h;function y(e){var t=v||i.useContext(m);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},t.style=y},42905:function(e,t,n){"use strict";e.exports=n(23324).style},90304:function(e,t,n){"use strict";var r=n(73656),i=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
25(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};Object.defineProperty(t,"__esModule",{value:!0}),t.COUNTED_ROLES=t.CAMPSITE_SCOPE=t.COMMUNITY_SLUG=t.ONE_GB=t.MAX_FILE_NUMBER=t.DEFAULT_SEO=t.WEB_PUSH_PUBLIC_KEY=t.PUSHER_APP_CLUSTER=t.PUSHER_KEY=t.ONBOARDING_SHARED_POSTS_KEY=t.ONBOARDING_STEP_KEY=t.LINEAR_CLIENT_ID=t.LINEAR_PROD_CLIENT_ID=t.LINEAR_DEV_CLIENT_ID=t.LINEAR_CALLBACK_URL=t.CAL_DOT_COM_APP_URL=t.ZAPIER_APP_URL=t.FIGMA_PLUGIN_URL=t.IMGIX_DOMAIN=t.RAILS_AUTH_URL=t.RAILS_API_URL=t.LAST_CLIENT_JS_BUILD_ID_LS_KEY=t.DESKTOP_APP_PROTOCOL=t.SYNC_URL=t.SITE_URL=t.WEB_URL=t.IS_NGROK=t.POLL_OPTION_DESCRIPTION_LENGTH=t.SCOPE_COOKIE_NAME=t.IS_PRODUCTION=void 0,t.IS_PRODUCTION=!0,t.SCOPE_COOKIE_NAME="scope",t.POLL_OPTION_DESCRIPTION_LENGTH=32,t.IS_NGROK=!!r.env.NEXT_PUBLIC_IS_NGROK,t.WEB_URL=t.IS_PRODUCTION?"https://app.campsite.com":r.env.NEXT_PUBLIC_WEB_URL||"http://app.campsite.test:3000",t.SITE_URL=t.IS_PRODUCTION?"https://iterate-campsite.vercel.app":"http://campsite.test:3003",t.SYNC_URL=t.IS_PRODUCTION?"wss://sync.campsite.com":r.env.NEXT_PUBLIC_SYNC_URL||"ws://localhost:9000",t.DESKTOP_APP_PROTOCOL=t.IS_PRODUCTION?"campsite://":"campsite-dev://",t.LAST_CLIENT_JS_BUILD_ID_LS_KEY="latest-js-time",t.RAILS_API_URL=t.IS_PRODUCTION?"https://api.campsite.com":r.env.NEXT_PUBLIC_API_URL||"http://api.campsite.test:3001",t.RAILS_AUTH_URL=t.IS_PRODUCTION?"https://auth.campsite.com":r.env.NEXT_PUBLIC_AUTH_URL||"http://auth.campsite.test:3001",t.IMGIX_DOMAIN=t.IS_PRODUCTION?"https://campsite.imgix.net":"https://campsite-dev.imgix.net",t.FIGMA_PLUGIN_URL="https://www.figma.com/community/plugin/1108886817260186751",t.ZAPIER_APP_URL="https://zapier.com/apps/campsite/integrations",t.CAL_DOT_COM_APP_URL="https://app.cal.com/apps/campsite",t.LINEAR_CALLBACK_URL="".concat(t.RAILS_API_URL,"/v1/integrations/linear/callback"),t.LINEAR_DEV_CLIENT_ID="bc6d5e0c459d67c42ae462f1167736da",t.LINEAR_PROD_CLIENT_ID="1dcf5d89abd0be6367a24637e100e6b8",t.LINEAR_CLIENT_ID=t.IS_PRODUCTION?t.LINEAR_PROD_CLIENT_ID:t.LINEAR_DEV_CLIENT_ID,t.ONBOARDING_STEP_KEY="onboardingStep",t.ONBOARDING_SHARED_POSTS_KEY="onboardingPostIds",t.PUSHER_KEY=t.IS_PRODUCTION?"1301e1180de87095b1c0":"874a1de2f18896929939",t.PUSHER_APP_CLUSTER="us3",t.WEB_PUSH_PUBLIC_KEY="BF151mIoXtZOsN_515tWb1ykezZZn1HIkDP-fwRjhPOyiKl29G4WwEvFWyxwlLuN0YE_TvyIcx5liEctScKX3nI";var o="Iterate — Your health, in one continuous record",a="Iterate brings records, labs, imaging, wearables, and visit conversations together—then shows what changed, why it matters, and what to do next.",s={url:"".concat(t.SITE_URL,"/og/iterate-default.png"),alt:"Iterate"};t.DEFAULT_SEO={metadataBase:new URL(t.SITE_URL),alternates:{canonical:"./"},title:o,description:a,openGraph:{type:"website",locale:"en_US",url:t.SITE_URL,site_name:"Iterate",siteName:"Iterate",images:[s]},twitter:{title:o,description:a,images:[s],handle:"@nmandal",site:"@nmandal",cardType:"summary_large_image"}},t.MAX_FILE_NUMBER=10,t.ONE_GB=1073741824,t.COMMUNITY_SLUG="design",t.CAMPSITE_SCOPE="campsite",t.COUNTED_ROLES=["admin","member"],function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)}(n(38235),t)},38235:function(e,t){"use strict";var n=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_SLACK_SCOPES=t.SLACK_NOTIFICATION_SCOPES=void 0,t.SLACK_NOTIFICATION_SCOPES=["im:write","chat:write"],t.ALL_SLACK_SCOPES=n(n([],t.SLACK_NOTIFICATION_SCOPES,!0),["channels:join","channels:read","chat:write","links:read","links:write","team:read","groups:read"],!1)},16342:function(e,t,n){"use strict";n.d(t,{sm:function(){return a}});var r=n(97458),i=n(52983),o=n(74992);let a=(0,i.forwardRef)(function(e,t){let{id:n,element:i="p",className:a="",weight:s="font-normal",size:l="text-sm",primary:u=!1,secondary:c=!1,tertiary:d=!1,quaternary:p=!1,inherit:f=!1,selectable:h=!1,...m}=e,g=(0,o.cn)(s,l,{"text-inherit":f,"text-primary":u&&!f,"text-secondary":c&&!f,"text-tertiary":d&&!f,"text-quaternary":p&&!f,"select-text":h},a);return(0,r.jsx)(i,{ref:t,id:n,className:g,...m})})},35132:function(e,t,n){"use strict";n.d(t,{P:function(){return d},Gc:function(){return s},m9:function(){return u},f3:function(){return c},Cu:function(){return p}});var r=n(52983);let i=n(74185).j?r.useLayoutEffect:r.useEffect,o={sm:640,md:768,lg:1024,xl
25:1280};function a(e,t){return"max"===t?window.innerWidth<=o[e]:window.innerWidth>=o[e]}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"min",[n,o]=(0,r.useState)(()=>a(e,t));return i(()=>{let n=()=>{o(a(e,t))};return window.addEventListener("resize",n),n(),()=>{window.removeEventListener("resize",n)}},[e,t]),n}async function l(e){return"clipboard"in navigator?await navigator.clipboard.writeText(e):document.execCommand("copy",!0,e)}function u(){let[e,t]=(0,r.useState)(!1);return[(0,r.useCallback)(async e=>(await l(e),t(!0),setTimeout(()=>{t(!1)},1500),!0),[]),e]}function c(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t(!0)},[]),e}function d(){return"todesktop"in window&&!!window.todesktop}function p(){return d()}},61904:function(e,t,n){"use strict";let r,i,o,a,s,l,u;n.d(t,{AHY:function(){return X},Y4O:function(){return M},MLC:function(){return R},LZ3:function(){return Y},Cts:function(){return n5},jrq:function(){return E},zxk:function(){return n7},Que:function(){return J},FS$:function(){return O},nQG:function(){return A},XZJ:function(){return iV},yAY:function(){return ee},XCv:function(){return W},T39:function(){return C},VqE:function(){return ac},aAW:function(){return G},Xq4:function(){return af},h_8:function(){return q},tvw:function(){return I},xx7:function(){return j},YkX:function(){return H},nIU:function(){return V},kLh:function(){return T},THf:function(){return Q},pOD:function(){return F},DuK:function(){return B},W1M:function(){return z},iap:function(){return K},bZv:function(){return en},T$Z:function(){return N},URn:function(){return et},nvn:function(){return s5},ua7:function(){return n1},smZ:function(){return eq.sm},tBG:function(){return $},oyc:function(){return Z},y3v:function(){return P},b0D:function(){return U},cn:function(){return el.cn},Gcp:function(){return es.Gc},f3g:function(){return es.f3}});var c,d,p,f,h,m,g,v,y,b,w,x,_,k=n(97458),S=n(52983);function E(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsx)("svg",{width:t,height:t,...r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,k.jsx)("path",{d:"M10.75 13.25H6.75L13.25 4.75V10.75H17.25L10.75 19.25V13.25Z",stroke:"currentColor",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})})}function C(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsxs)("svg",{width:t,height:t,...r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,k.jsx)("circle",{cx:"12",cy:"12",r:"7.25",stroke:"currentColor",strokeWidth:n}),(0,k.jsx)("path",{stroke:"currentColor",strokeWidth:n,d:"M12 8V12L14 14"})]})}function T(e){let{size:t=20,...n}=e;return(0,k.jsx)("svg",{width:t,height:t,...n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,k.jsx)("path",{d:"M18.25 15.0314C17.7575 15.1436 17.2459 15.2027 16.7209 15.2027C12.8082 15.2027 9.63607 11.9185 9.63607 7.86709C9.63607 6.75253 9.87614 5.69603 10.3057 4.75C7.12795 5.47387 4.75 8.40659 4.75 11.9143C4.75 15.9657 7.9221 19.25 11.8348 19.25C14.6711 19.25 17.1182 17.5242 18.25 15.0314Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function j(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsxs)("svg",{width:t,height:t,...r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M19.25 11.75L17.6644 6.20056C17.4191 5.34195 16.6344 4.75 15.7414 4.75H8.2586C7.36564 4.75 6.58087 5.34196 6.33555 6.20056L4.75 11.75"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M10.2142 12.3689C9.95611 12.0327 9.59467 11.75 9.17085 11.75H4.75V17.25C4.75 18.3546 5.64543 19.25 6.75 19.25H17.25C18.3546 19.25 19.25 18.3546 19.25 17.25V11.75H14.8291C14.4053 11.75 14.0439 12.0327 13.7858 12.3689C13.3745 12.9046 12.7276 13.25 12 13.25C11.2724 13.25 10.6255 12.9046 10.2142 12.3689Z"})]})}function L(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M17.25 6.75L6.75 17.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M6.75 6.75L17.25 17.25"})]})}function A(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsx)("svg",{width:t,height:t,...r,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,k.jsx)("path",{d:"M6 10.8077L8.38235 13.5L15 6.5",stroke:"currentColor",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})})}function O(e){let{size:t=20,...n}=e;return(0,k.jsx)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...n,children:(0,k.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.92487 1 1 5.92487 1 12C1 18.0752 5.92487 23 12 23C18.0752 23 23 18.0752 23 12C23 5.92487 18.0752 1 12 1ZM17.1855 10.3352C17.595 9.93936 17.6061 9.2865 17.2102 8.87701C16.8144 8.46751 16.
251615 8.45645 15.752 8.85229L10.7997 13.6396L8.95617 11.7538C8.55803 11.3465 7.90512 11.3391 7.49786 11.7373C7.09059 12.1354 7.08319 12.7883 7.48133 13.1956L10.0417 15.8146C10.4382 16.2203 11.088 16.2295 11.4958 15.8352L17.1855 10.3352Z",fill:"currentColor"})})}function P(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsx)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"m15.25 10 4-1.25v6.5l-4-1.25M4.75 8.75v6.5a2 2 0 0 0 2 2h8.5V6.75h-8.5a2 2 0 0 0-2 2Z"})})}function R(e){let{size:t=20,...n}=e;return(0,k.jsx)("svg",{width:t,height:t,...n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,k.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.25 19.5C8.2459 19.5 5 16.2541 5 12.25C5 8.24594 8.2459 5 12.25 5C16.2541 5 19.5 8.24594 19.5 12.25C19.5 16.2541 16.2541 19.5 12.25 19.5ZM13.4673 9.2979C13.2176 9.05957 12.822 9.06877 12.5836 9.31845C12.3453 9.56814 12.3545 9.96376 12.6042 10.2021L14.0948 11.625H8.75C8.40482 11.625 8.125 11.9048 8.125 12.25C8.125 12.5952 8.40482 12.875 8.75 12.875H14.0948L12.6042 14.2979C12.3545 14.5362 12.3453 14.9319 12.5836 15.1815C12.822 15.4312 13.2176 15.4404 13.4673 15.2021L16.0863 12.7021C16.2099 12.5842 16.2798 12.4208 16.2798 12.25C16.2798 12.0792 16.2099 11.9158 16.0863 11.7979L13.4673 9.2979Z",fill:"currentColor"})})}function M(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M10.25 6.75L4.75 12L10.25 17.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M19.25 12H5"})]})}function N(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,...n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,k.jsx)("path",{d:"M17 4.75C17 5.89705 15.8971 7 14.75 7C15.8971 7 17 8.10295 17 9.25C17 8.10295 18.1029 7 19.25 7C18.1029 7 17 5.89705 17 4.75Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,k.jsx)("path",{d:"M17 14.75C17 15.8971 15.8971 17 14.75 17C15.8971 17 17 18.1029 17 19.25C17 18.1029 18.1029 17 19.25 17C18.1029 17 17 15.8971 17 14.75Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,k.jsx)("path",{d:"M9 7.75C9 9.91666 6.91666 12 4.75 12C6.91666 12 9 14.0833 9 16.25C9 14.0833 11.0833 12 13.25 12C11.0833 12 9 9.91666 9 7.75Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function I(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...n,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M6.75024 19.2502H17.2502C18.3548 19.2502 19.2502 18.3548 19.2502 17.2502V9.75025L12.0002 4.75024L4.75024 9.75025V17.2502C4.75024 18.3548 5.64568 19.2502 6.75024 19.2502Z"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M9.74963 15.7493C9.74963 14.6447 10.6451 13.7493 11.7496 13.7493H12.2496C13.3542 13.7493 14.2496 14.6447 14.2496 15.7493V19.2493H9.74963V15.7493Z"})]})}function D(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...n,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M9 6.75H7.75C6.64543 6.75 5.75 7.64543 5.75 8.75V17.25C5.75 18.3546 6.64543 19.25 7.75 19.25H16.25C17.3546 19.25 18.25 18.3546 18.25 17.25V8.75C18.25 7.64543 17.3546 6.75 16.25 6.75H15"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M14 8.25H10C9.44772 8.25 9 7.80228 9 7.25V5.75C9 5.19772 9.44772 4.75 10 4.75H14C14.5523 4.75 15 5.19772 15 5.75V7.25C15 7.80228 14.5523 8.25 14 8.25Z"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M9.75 12.25H14.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M9.75 15.25H14.25"})]})}function $(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,...n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,k.jsx)("circle",{cx:"12",cy:"8",r:"3.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M6.8475 19.25H17.1525C18.2944 19.25 19.174 18.2681 18.6408 17.2584C17.8563 15.7731 16.068 14 12 14C7.93201 14 6.14367 15.7731 5.35924 17.2584C4.82597 18.2681 5.70558 19.25 6.8475 19.25Z"})]})}function F(e){let{size:t=20,strokeWidth:n="2",...r}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M12 5.75V18.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M18.25 12L5.75 12"})]})}function B(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:[(0,k.jsx)("path",{d:"M11.25 14.75L8.75 17M8.75 17L11.25 19.25M8.75 17H13.25C16.5637 17 19.25 14.3137 19.25 11V10.75",stroke:"currentColor",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"}),(0,k.jsx)("path",{d:"M15.25 7H10.75C7.43629 7 4.75 9.68629 4.75 13V13.25M15.25 7L12.75 9.25M15.25 7L12.75 4.75",stroke:"currentColor",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})]})}function W(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsx)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:(0,k.jsx)("path",{d:"M10 8L14.375 12.0625L10 16.125",stroke:"currentColor",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})})}function U(e){let{size:t=20,...n}=e;return(0,k.jsx)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...n,children:(0,k.jsx)("path",{d:"M18.3263 1.90393H21.6998L14.3297 10.3274L23 21.7899H16.2112L10.894 14.838L4.80995 21.7899H1.43443L9.31743 12.78L1 1.90393H7.96111L12.7674 8.25826L18.3263 1.90393ZM17.1423 19.770
257H19.0116L6.94539 3.81706H4.93946L17.1423 19.7707Z",fill:"currentColor"})})}function V(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...n,children:[(0,k.jsx)("g",{clipPath:"url(#clip0_5338_376)",children:(0,k.jsx)("path",{d:"M22.2283 0H1.77167C1.30179 0 0.851161 0.186657 0.518909 0.518909C0.186657 0.851161 0 1.30179 0 1.77167V22.2283C0 22.6982 0.186657 23.1488 0.518909 23.4811C0.851161 23.8133 1.30179 24 1.77167 24H22.2283C22.6982 24 23.1488 23.8133 23.4811 23.4811C23.8133 23.1488 24 22.6982 24 22.2283V1.77167C24 1.30179 23.8133 0.851161 23.4811 0.518909C23.1488 0.186657 22.6982 0 22.2283 0ZM7.15333 20.445H3.545V8.98333H7.15333V20.445ZM5.34667 7.395C4.93736 7.3927 4.53792 7.2692 4.19873 7.04009C3.85955 6.81098 3.59584 6.48653 3.44088 6.10769C3.28591 5.72885 3.24665 5.31259 3.32803 4.91145C3.40941 4.51032 3.6078 4.14228 3.89816 3.85378C4.18851 3.56529 4.55782 3.36927 4.95947 3.29046C5.36112 3.21165 5.77711 3.25359 6.15495 3.41099C6.53279 3.56838 6.85554 3.83417 7.08247 4.17481C7.30939 4.51546 7.43032 4.91569 7.43 5.325C7.43386 5.59903 7.38251 5.87104 7.27901 6.1248C7.17551 6.37857 7.02198 6.6089 6.82757 6.80207C6.63316 6.99523 6.40185 7.14728 6.14742 7.24915C5.893 7.35102 5.62067 7.40062 5.34667 7.395ZM20.4533 20.455H16.8467V14.1933C16.8467 12.3467 16.0617 11.7767 15.0483 11.7767C13.9783 11.7767 12.9283 12.5833 12.9283 14.24V20.455H9.32V8.99167H12.79V10.58H12.8367C13.185 9.875 14.405 8.67 16.2667 8.67C18.28 8.67 20.455 9.865 20.455 13.365L20.4533 20.455Z",fill:"currentColor"})}),(0,k.jsx)("defs",{children:(0,k.jsx)("clipPath",{id:"clip0_5338_376",children:(0,k.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})}function z(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsx)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M19.25 19.25L15.5 15.5M4.75 11C4.75 7.54822 7.54822 4.75 11 4.75C14.4518 4.75 17.25 7.54822 17.25 11C17.25 14.4518 14.4518 17.25 11 17.25C7.54822 17.25 4.75 14.4518 4.75 11Z"})})}function H(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...n,children:[(0,k.jsx)("path",{d:"M12 13V15",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,k.jsx)("path",{d:"M12 10C12.5523 10 13 9.55228 13 9C13 8.44772 12.5523 8 12 8C11.4477 8 11 8.44772 11 9C11 9.55228 11.4477 10 12 10Z",fill:"currentColor"}),(0,k.jsx)("path",{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function G(e){let{size:t=20,strokeWidth:n=1.5,...r}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M7.75 19.25H16.25C17.3546 19.25 18.25 18.3546 18.25 17.25V9L14 4.75H7.75C6.64543 4.75 5.75 5.64543 5.75 6.75V17.25C5.75 18.3546 6.64543 19.25 7.75 19.25Z"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M18 9.25H13.75V5"})]})}function q(e){let{size:t=20,...n}=e;return(0,k.jsx)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...n,children:(0,k.jsx)("path",{fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M11.995 7.23319C10.5455 5.60999 8.12832 5.17335 6.31215 6.65972C4.49599 8.14609 4.2403 10.6312 5.66654 12.3892L11.995 18.25L18.3235 12.3892C19.7498 10.6312 19.5253 8.13046 17.6779 6.65972C15.8305 5.18899 13.4446 5.60999 11.995 7.23319Z",clipRule:"evenodd"})})}function X(e){let{size:t=20,...n}=e;return(0,k.jsx)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...n,children:(0,k.jsx)("path",{d:"M4.75 11.75H8.25L10.25 4.75L13.75 19.25L15.75 11.75H19.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function Y(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M13.75 6.75L19.25 12L13.75 17.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M19 12H4.75"})]})}function J(e){let{size:t=20,strokeWidth:n="1.5",...r}=e;return(0,k.jsxs)("svg",{width:t,height:t,fill:"none",viewBox:"0 0 24 24",...r,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M4.75 8.75C4.75 7.64543 5.64543 6.75 6.75 6.75H17.25C18.3546 6.75 19.25 7.64543 19.25 8.75V17.25C19.25 18.3546 18.3546 19.25 17.25 19.25H6.75C5.64543 19.25 4.75 18.3546 4.75 17.25V8.75Z"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:n,d:"M8 4.75V8.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M16 4.75V8.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M7.75 10.75H16.25"})]})}function Z(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",...n,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M5.78168 19.25H13.2183C13.7828 19.25 14.227 18.7817 14.1145 18.2285C13.804 16.7012 12.7897 14 9.5 14C6.21031 14 5.19605 16.7012 4.88549 18.2285C4.773 18.7817 5.21718 19.25 5.78168 19.25Z"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M15.75 14C17.8288 14 18.6802 16.1479 19.0239 17.696C19.2095 18.532 18.5333 19.25 17.6769 19.25H16.75"}),(0,k.jsx)("circle",{cx:"9.5",cy:"7.5",r:"2.75",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M14.75 10.25C16.2688 10.25 17.25 9.01878 17.25 7.5C17.25 5.98122 16.2688 4.75 14.75 4.75"})]})}function K(e){let{size:t=20,...n}=e;return(0,k.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",...n,children:(0,k.jsx)("path",{d:"M10.75 13.25V19.25M10.75 4.75V6.75M4.75 7.75V12.25C4.75 12.8023 5.19772 13.25 5.75 13.25H16.25L19.25 10L16.25 6.75H5.75C5.19772 6.75 4.75 7.19772 4.75 7.75Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function Q(e){let{size:t=20,...n}=e;return(0,k.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",...n,children:(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M4.75 16L7.49619 12.5067C8.2749 11.5161 9.76453 11.4837 10.5856 12.4395L13 15.25M10.915 12.823C11.9522 11.5037 13.3973 9.63455 13.4914 9.51294C13.4947 9.50859 13.4979 9.50448 13.5013 9.50017C14.2815 8.51598 15.7663 8.48581 16.5856 9.43947L19 12.25M6.75 19.25H17.25C18.3546 19.25 19.25 18.3546 19.25 17.25V6.75C19.25 5.64543 18.3546 4.75 17.25 4.75H6.75C5.64543 4.75 4.75 5.64543 4.75 6.75V17.25C4.75 18.3546 5.64543 19.25 6.75 19.25Z"})})}function ee(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",...n,children:[(0,k.jsx)("path",{d:"M5.09961 7.82965L6.15843 8.92855L9.09961 6.07141",stroke:"currentColor",strokeWidth:"1.19048",strokeLinecap:"round",strokeLinejoin:"round"}),(0,k.jsx)("path",{d:"M5.09961 16.3297L6.15843 17.4286L9.09961 14.5714",stroke:"currentColor",strokeWidth:"1.19048",strokeLinecap:"round",strokeLinejoin:"round"}),(0,k.jsx)("path",{d:"M12 8H18.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}
25),(0,k.jsx)("path",{d:"M12 16H18.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function et(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",...n,children:[(0,k.jsx)("path",{d:"M12.75 15.75L16 19.25L19.25 15.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,k.jsx)("path",{d:"M4.75 8.25L8 4.75L11.25 8.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,k.jsx)("path",{d:"M16 8.75V19.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,k.jsx)("path",{d:"M8 4.75V15.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function en(e){let{size:t=20,...n}=e;return(0,k.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",...n,children:[(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M4.75 8H7.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12.75 8H19.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M4.75 16H12.25"}),(0,k.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M17.75 16H19.25"}),(0,k.jsx)("circle",{cx:"10",cy:"8",r:"2.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,k.jsx)("circle",{cx:"15",cy:"16",r:"2.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]})}async function er(e){return window.todesktop.contents.openUrlInBrowser(e)}n(17297);var ei=n(41511),eo=n.n(ei),ea=n(90304),es=n(35132),el=n(74992);let eu=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");function ec(e){let[t,n,r]=e.split(".").map(Number);return{major:t,minor:n,patch:r}}function ed(e,t){return!!function(e,t){let n=ec(e),r=ec(t);return!!(n.major>r.major)||!(n.major<r.major)&&(!!(n.minor>r.minor)||!(n.minor<r.minor)&&(!!(n.patch>r.patch)||!(n.patch<r.patch)))}(ep(),t)||(console.warn(`[todesktop-client] ${e} not called. ${e} was introduced in ${t}. You are running version ${ep()}.`),!1)}let ep=()=>"object"==typeof window.todesktop&&window.todesktop.desktopifyVersion;function ef(e,t){return(n,r=t)=>!ed(`${e}:${n}`,r)}let eh="undefined"!=typeof window&&window.todesktop,em=e=>async(t,n)=>{let r=eu();for(let i of"*"===t?Object.keys(e):[t]){let t=e[i];null==eh||eh.on(t,n,r)}let i=eg(e);return async()=>i(t,n,r)},eg=e=>(t,n,r)=>{for(let i of"*"===t?Object.keys(e):[t]){let t=e[i];null==eh||eh.off(t,n,r)}},{invoke:ev,construct:ey,releaseMemory:eb}=function(e,t){let n={package:{name:e,version:t},invoke:{version:"1.0.0"}};return{invoke:function(e){return window.todesktop.invoke({metadata:n,payload:{command:e}})},construct:function(e){let t={metadata:n,payload:{command:Object.assign(Object.assign({},e),{method:":new"})}};return window.todesktop.invoke(t)},releaseMemory:function(e){if(ed("releaseMemory","4.6.0")){if(!(null==e?void 0:e.length)){console.log("No memory references to release");return}return window.todesktop.releaseMemory(e)}}}}("client-core","1.0.0-dev");i={openProtocolURL:"open-protocol-url"},async(e,t)=>{let n=eu();for(let r of"*"===e?Object.keys(i):[e]){let e=i[r];null==eh||eh.on(e,t,n)}let r=eg(i);return async()=>r(e,t,n)};let ew="undefined"!=typeof window&&window.todesktop,ex=(e,t)=>{let n=async(n,...r)=>{let{eventId:i,ref:o}=r[0]||{};(!t||ed(`${e} removeEventListener`,t))&&(await ev({instanceRef:o,namespace:e,eventName:n,eventId:i}),window.todesktop.off(i))};return{removeAllListeners:async(n,{ref:r}={})=>{(!t||ed(`${e} removeAllListeners`,t))&&(await ev({instanceRef:r,namespace:e,method:"removeAllListeners",args:[n]}),window.todesktop.off(n))},on:async(r,i,{ref:o,preventDefault:a}={})=>{if(t&&!ed(`${e} addEventListener`,t))return;let s=await ev({instanceRef:o,namespace:e,eventName:r,eventOptions:{preventDefault:a}});return window.todesktop.on(s,(e,...t)=>{if(!eS(t[0]))return i(...t);{let[,...e]=t;return i(...e)}}),()=>n(r,{eventId:s,ref:o})}}},e_=(e,t)=>
25(function(e,t){let n=e[0],r=n in t;return r&&console.warn(`[todesktop-client] ${n} is a legacy event and may be removed in future.
26        Contact support or look through our typescript files to find a suitable replacement.`),r})(e,t),ek=(e,t)=>{let n=ex(t);return{removeAllListeners:n.removeAllListeners,on:(...t)=>e_(t,e)?em(e)(...t):n.on(...t)}};null===(b=null==ew?void 0:ew.env)||void 0===b||b.NODE_ENV;let eS=e=>eE(e)&&"preventDefault"in e&&"sender"in e,eE=e=>null!==e&&("function"==typeof e||"object"==typeof e),eC=ex("app"),eT=eC.on;eC.removeAllListeners,ef("electronUpdater","3.24.0");let ej=ex("electronUpdater");ej.on,ej.removeAllListeners,ef("todesktopUpdater","4.49.0");let eL=ex("todesktopUpdater");eL.on,eL.removeAllListeners;let eA=ex("Menu");async function eO(e){return ey({namespace:"BrowserWindow",args:[e]})}async function eP({ref:e}={}){return ev({instanceRef:e,namespace:"BrowserWindow",method:"show",args:[]})}async function eR({ref:e}={}){return await ev({instanceRef:e,namespace:"BrowserWindow",property:"webContents"})}eA.on,eA.removeAllListeners,em({show:"menubar.show",hide:"menubar.hide"});let eM=ek({enterFullscreen:"window.enter-full-screen",exitFullscreen:"window.leave-full-screen"},"BrowserWindow");eM.on,eM.removeAllListeners;let eN=ex("Notification");eN.on,eN.removeAllListeners,em({start:"pushNotifications.start",error:"pushNotifications.error",tokenUpdate:"pushNotifications.tokenUpdate",receive:"pushNotifications.receive"}),ef("safeStorage","4.50.0");let eI=ex("screen");eI.on,eI.removeAllListeners;let eD=ex("Tray");async function e$({ref:e},...t){return ev({instanceRef:e,namespace:"WebContents",method:"loadURL",args:t})}eD.on,eD.removeAllListeners;let eF=ek({navigate:"did-navigate"},"WebContents");eF.on,eF.removeAllListeners;let eB=ex("session","4.17.0");eB.on,eB.removeAllListeners,n(48839);let eW=e=>!!(null==e?void 0:e.startsWith(ea.WEB_URL)),eU=e=>!!(null==e?void 0:e.includes("/p/")),eV=e=>!!(null==e?void 0:e.includes("/calls/join/")),ez=["github.com","linkedin.com","facebook.com","twitter.com","google.com","linear.app","slack.com","figma.com"];async function eH(e){let t=await eO({titleBarStyle:"hiddenInset",autoHideMenuBar:!0,minHeight:350,minWidth:350,trafficLightPosition:{x:20,y:20}}),n=await eT("activate",()=>{eP({ref:t}).catch(()=>{n()})});await e$({ref:await eR({ref:t})},e)}let eG=(0,S.forwardRef)((e,t)=>{var n,r;let{className:i,onClick:o,href:a,forceInternalLinksBlank:s=!1,...l}=e,u=(0,el.cn)("callout-none",i),c=(0,es.Cu)(),d=e.href.toString(),p=eW(n=d)?eU(n)?"public_share":eV(n)?"call":"internal":(0,es.P)()&&(null==(r=n)?void 0:r.includes("oauth"))&&ez.some(e=>null==r?void 0:r.includes(e))?"desktop_oauth":void 0,f=c&&("call"===p||"desktop_oauth"===p||"public_share"===p),h=!s&&"internal"===p&&"_blank"===e.target,m=h?d.replace(ea.WEB_URL,""):a;return(0,k.jsx)(eo(),{...l,ref:t,href:m,className:u,target:h?"_self":e.target,onClick:t=>{f?("call"===p?eH(d):("desktop_oauth"===p||"public_share"===p)&&er(d),t.preventDefault()):c&&s&&"_blank"===e.target&&(t.preventDefault(),er(d)),null==o||o(t)}})});eG.displayName="Link";var eq=n(16342),eX=n(74810),eY=n(73257),eJ=n(23552),eZ=n(74128),eK=n(62669),eQ="dismissableLayer.update",e0=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),e1=S.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,onDismiss:s,...l}=e,u=S.useContext(e0),[c,d]=S.useState(null),p=c?.ownerDocument??globalThis?.document,[,f]=S.useState({}),h=(0,eY.e)(t,e=>d(e)),m=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),v=m.indexOf(g),y=c?m.indexOf(c):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,x=y>=v,_=function(e,t=globalThis?.document){let n=(0,eK.W)(e),r=S.useRef(!1),i=S.useRef(()=>{});return S.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){e2("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...u.branches].some(e=>e.contains(t));!x||n||(i?.(e),a?.(e),e.defaultPrevented||s?.())},p),E=function(e,t=globalThis?.document){let n=(0,eK.W)(e),r=S.useRef(!1);return S.useEffect(()=>{let e=e=>{e.target&&!r.current&&e2("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;[...u.branches].some(e=>e.contains(t))||(o?.(e),a?.(e),e.defaultPrevented||s?.())},p);return function(e,t=globalThis?.document){let n=(0,eK.W)(e);S.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{y!==u.layers.size-1||(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},p),S.useEffect(()=>{if(c)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(w=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),e5(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=w)}},[c,p,n,u]),S.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),e5())},[c,u]),S.useEffect(()=>{let e=()=>f({});return document.addEventListener(eQ,e),()=>document.removeEventListener(eQ,e)},[]),(0,k.jsx)(eZ.WV.div,{...l,ref:h,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:(0,eX.M)(e.onFocusCapture,E.onFocusCapture),onBlurCapture:(0,eX.M)(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:(0,eX.M)(e.onPointerDownCapture,_.onPointerDownCapture)})});function e5(){let e=new CustomEvent(eQ);document.dispatchEvent(e)}function e2(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,eZ.jH)(i,o):i.dispatchEvent(o)}e1.displayName="DismissableLayer",S.forwardRef((e,t)=>
26{let n=S.useContext(e0),r=S.useRef(null),i=(0,eY.e)(t,r);return S.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,k.jsx)(eZ.WV.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var e4=n(75205);let e3=["top","right","bottom","left"],e7=e3.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),e9=Math.min,e6=Math.max,e8=Math.round,te=Math.floor,tt=e=>({x:e,y:e}),tn={left:"right",right:"left",bottom:"top",top:"bottom"},tr={start:"end",end:"start"};function ti(e,t){return"function"==typeof e?e(t):e}function to(e){return e.split("-")[0]}function ta(e){return e.split("-")[1]}function ts(e){return"x"===e?"y":"x"}function tl(e){return"y"===e?"height":"width"}function tu(e){return["top","bottom"].includes(to(e))?"y":"x"}function tc(e,t,n){void 0===n&&(n=!1);let r=ta(e),i=ts(tu(e)),o=tl(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=tp(a)),[a,tp(a)]}function td(e){return e.replace(/start|end/g,e=>tr[e])}function tp(e){return e.replace(/left|right|bottom|top/g,e=>tn[e])}function tf(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function th(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function tm(e,t,n){let r,{reference:i,floating:o}=e,a=tu(t),s=ts(tu(t)),l=tl(s),u=to(t),c="y"===a,d=i.x+i.width/2-o.width/2,p=i.y+i.height/2-o.height/2,f=i[l]/2-o[l]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:p};break;case"left":r={x:i.x-o.width,y:p};break;default:r={x:i.x,y:i.y}}switch(ta(t)){case"start":r[s]-=f*(n&&c?-1:1);break;case"end":r[s]+=f*(n&&c?-1:1)}return r}let tg=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=tm(u,r,l),p=r,f={},h=0;for(let n=0;n<s.length;n++){let{name:o,fn:m}=s[n],{x:g,y:v,data:y,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:f,re
26cts:u,platform:a,elements:{reference:e,floating:t}});if(c=null!=g?g:c,d=null!=v?v:d,f={...f,[o]:{...f[o],...y}},b&&h<=50){h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:d}=tm(u,p,l)),n=-1;continue}}return{x:c,y:d,placement:p,strategy:i,middlewareData:f}};async function tv(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=ti(t,e),h=tf(f),m=s[p?"floating"===d?"reference":"floating":d],g=th(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{...a.floating,x:r,y:i}:a.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},w=th(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-w.top+h.top)/b.y,bottom:(w.bottom-g.bottom+h.bottom)/b.y,left:(g.left-w.left+h.left)/b.x,right:(w.right-g.right+h.right)/b.x}}let ty=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:a,elements:s}=t,{element:l,padding:u=0}=ti(e,t)||{};if(null==l)return{};let c=tf(u),d={x:n,y:r},p=ts(tu(i)),f=tl(p),h=await a.getDimensions(l),m="y"===p,g=m?"clientHeight":"clientWidth",v=o.reference[f]+o.reference[p]-d[p]-o.floating[f],y=d[p]-o.reference[p],b=await (null==a.getOffsetParent?void 0:a.getOffsetParent(l)),w=b?b[g]:0;w&&await (null==a.isElement?void 0:a.isElement(b))||(w=s.floating[g]||o.floating[f]);let x=w/2-h[f]/2-1,_=e9(c[m?"top":"left"],x),k=e9(c[m?"bottom":"right"],x),S=w-h[f]-k,E=w/2-h[f]/2+(v/2-y/2),C=e6(_,e9(E,S)),T=null!=ta(i)&&E!=C&&o.reference[f]/2-(E<_?_:k)-h[f]/2<0?E<_?_-E:S-E:0;return{[p]:d[p]-T,data:{[p]:C,centerOffset:E-C+T}}}});function tb(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function tw(e){return e3.some(t=>e[t]>=0)}async function tx(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=to(n),s=ta(n),l="y"===tu(n),u=["left","top"].includes(a)?-1:1,c=o&&l?-1:1,d=ti(t,e),{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof h&&(f="end"===s?-1*h:h),l?{x:f*c,y:p*u}:{x:p*u,y:f*c}}function t_(e){return tE(e)?(e.nodeName||"").toLowerCase():"#document"}function tk(e){var t;return(null==e?void 0:null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function tS(e){var t;return null==(t=(tE(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function tE(e){return e instanceof Node||e instanceof tk(e).Node}function tC(e){return e instanceof Element||e instanceof tk(e).Element}function tT(e){return e instanceof HTMLElement||e instanceof tk(e).HTMLElement}function tj(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof tk(e).ShadowRoot)}function tL(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=tR(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function tA(e){let t=tO(),n=tR(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function tO(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function tP(e){return["html","body","#document"].includes(t_(e))}function tR(e){return tk(e).getComputedStyle(e)}function tM(e){return tC(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function tN(e){if("html"===t_(e))return e;let t=e.assignedSlot||e.parentNode||tj(e)&&e.host||tS(e);return tj(t)?t.host:t}function tI(e,t){var n;void 0===t&&(t=[]);let r=function e(t){let n=tN(t);return tP(n)?t.ownerDocument?t.ownerDocument.body:t.body:tT(n)&&tL(n)?n:e(n)}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=tk(r);
26return i?t.concat(o,o.visualViewport||[],tL(r)?r:[]):t.concat(r,tI(r))}function tD(e){let t=tR(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=tT(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=e8(n)!==o||e8(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function t$(e){return tC(e)?e:e.contextElement}function tF(e){let t=t$(e);if(!tT(t))return tt(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=tD(t),a=(o?e8(n.width):n.width)/r,s=(o?e8(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let tB=tt(0);function tW(e){let t=tk(e);return tO()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:tB}function tU(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=t$(e),s=tt(1);t&&(r?tC(r)&&(s=tF(r)):s=tF(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===tk(a))&&i)?tW(a):tt(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,d=o.width/s.x,p=o.height/s.y;if(a){let e=tk(a),t=r&&tC(r)?tk(r):r,n=e.frameElement;for(;n&&r&&t!==e;){let e=tF(n),t=n.getBoundingClientRect(),r=tR(n),i=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,p*=e.y,u+=i,c+=o,n=tk(n).frameElement}}return th({width:d,height:p,x:u,y:c})}function tV(e){return tU(tS(e)).left+tM(e).scrollLeft}function tz(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=tk(e),r=tS(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=tO();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){let t=tS(e),n=tM(e),r=e.ownerDocument.body,i=e6(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=e6(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+tV(e),s=-n.scrollTop;return"rtl"===tR(r).direction&&(a+=e6(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(tS(e));else if(tC(t))r=function(e,t){let n=tU(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=tT(e)?tF(e):tt(1),a=e.clientWidth*o.x;return{width:a,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=tW(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return th(r)}function tH(e,t){return tT(e)&&"fixed"!==tR(e).position?t?t(e):e.offsetParent:null}function tG(e,t){let n=tk(e);if(!tT(e))return n;let r=tH(e,t);for(;r&&["table","td","th"].includes(t_(r))&&"static"===tR(r).position;)r=tH(r,t);return r&&("html"===t_(r)||"body"===t_(r)&&"static"===tR(r).position&&!tA(r))?n:r||function(e){let t=tN(e);for(;tT(t)&&!tP(t);){if(tA(t))return t;t=tN(t)}return null}(e)||n}let tq=async function(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||tG,o=this.getDimensions;return{reference:function(e,t,n){let r=tT(t),i=tS(t),o="fixed"===n,a=tU(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=tt(0);if(r||!r&&!o){if(("body"!==t_(t)||tL(i))&&(s=tM(t)),r){let e=tU(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=tV(i))}return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}(t,await i(n),r),floating:{x:0,y:0,...await o(n)}}},tX={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=tT(n),o=tS(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0},s=tt(1),l=tt(0);if((i||!i&&"fixed"!==r)&&(("body"!==t_(n)||tL(o))&&(a=tM(n)),tT(n))){let e=tU(n);s=tF(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:tS,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=tI(e).filter(e=>tC(e)&&"body"!==t_(e)),i=null,o="fixed"===tR(e).position,a=o?tN(e):e;for(;tC(a)&&!tP(a);){let t=tR(a),n=tA(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||tL(a)&&!n&&function e(t,n){let r=tN(t);return!(r===n||!tC(r)||tP(r))&&("fixed"===tR(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=tN(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce((e,n)=>{let r=tz(t,n,i);return e.top=e6(r.top,e.top),e.right=e9(r.right,e.right),e.bottom=e9(r.bottom,e.bottom),e.left=e6(r.left,e.left),e},tz(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:tG,getElementRects:tq,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return tD(e)},getScale:tF,isElement:tC,isRTL:function(e){return"rtl"===tR(e).direction}}
26,tY=(e,t,n)=>{let r=new Map,i={platform:tX,...n},o={...i.platform,_c:r};return tg(e,t,{...i,platform:o})};var tJ=n(63730),tZ="undefined"!=typeof document?S.useLayoutEffect:S.useEffect;function tK(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!tK(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!tK(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function tQ(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function t0(e,t){let n=tQ(e);return Math.round(t*n)/n}function t1(e){let t=S.useRef(e);return tZ(()=>{t.current=e}),t}let t5=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ty({element:n.current,padding:r}).fn(t):{}:n?ty({element:n,padding:r}).fn(t):{}}}),t2=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){let{x:t,y:r}=e,i=await tx(e,n);return{x:t+i.x,y:r+i.y,data:i}}}),options:[e,t]}},t4=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=ti(n,e),u={x:t,y:r},c=await tv(e,l),d=tu(to(i)),p=ts(d),f=u[p],h=u[d];
26if(o){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=f+c[e],r=f-c[t];f=e6(n,e9(f,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=h+c[e],r=h-c[t];h=e6(n,e9(h,r))}let m=s.fn({...e,[p]:f,[d]:h});return{...m,data:{x:m.x-t,y:m.y-r}}}}),options:[e,t]}},t3=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:i,rects:o,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=ti(n,e),c={x:t,y:r},d=tu(i),p=ts(d),f=c[p],h=c[d],m=ti(s,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+g.mainAxis,n=o.reference[p]+o.reference[e]-g.mainAxis;f<t?f=t:f>n&&(f=n)}if(u){var v,y;let e="y"===p?"width":"height",t=["top","left"].includes(to(i)),n=o.reference[d]-o.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[p]:f,[d]:h}}}),options:[e,t]}},t7=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o;let{placement:a,middlewareData:s,rects:l,initialPlacement:u,platform:c,elements:d}=e,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...y}=ti(n,e),b=to(a),w=to(u)===u,x=await (null==c.isRTL?void 0:c.isRTL(d.floating)),_=h||(w||!v?[tp(u)]:function(e){let t=tp(e);return[td(e),t,td(t)]}(u));h||"none"===g||_.push(...function(e,t,n,r){let i=ta(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(to(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(td)))),o}(u,v,g,x));let k=[u,..._],S=await tv(e,y),E=[],C=(null==(t=s.flip)?void 0:t.overflows)||[];if(p&&E.push(S[b]),f){let e=tc(a,l,x);E.push(S[e[0]],S[e[1]])}if(C=[...C,{placement:a,overflows:E}],!E.every(e=>e<=0)){let e=((null==(r=s.flip)?void 0:r.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(i=C.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(m){case"bestFit":{let e=null==(o=C.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=u}if(a!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},t9=(e,t)=>
26{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){let t,r;let{placement:i,rects:o,platform:a,elements:s}=e,{apply:l=()=>{},...u}=ti(n,e),c=await tv(e,u),d=to(i),p=ta(i),f="y"===tu(i),{width:h,height:m}=o.floating;"top"===d||"bottom"===d?(t=d,r=p===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(r=d,t="end"===p?"top":"bottom");let g=m-c[t],v=h-c[r],y=!e.middlewareData.shift,b=g,w=v;if(f){let e=h-c.left-c.right;w=p||y?e9(v,e):e}else{let e=m-c.top-c.bottom;b=p||y?e9(g,e):e}if(y&&!p){let e=e6(c.left,0),t=e6(c.right,0),n=e6(c.top,0),r=e6(c.bottom,0);f?w=h-2*(0!==e||0!==t?e+t:e6(c.left,c.right)):b=m-2*(0!==n||0!==r?n+r:e6(c.top,c.bottom))}await l({...e,availableWidth:w,availableHeight:b});let x=await a.getDimensions(s.floating);return h!==x.width||m!==x.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},t6=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"autoPlacement",options:n,async fn(e){var t,r,i,o;let{rects:a,middlewareData:s,placement:l,platform:u,elements:c}=e,{crossAxis:d=!1,alignment:p,allowedPlacements:f=e7,autoAlignment:h=!0,...m}=ti(n,e),g=void 0!==p||f===e7?((o=p||null)?[...f.filter(e=>ta(e)===o),...f.filter(e=>ta(e)!==o)]:f.filter(e=>to(e)===e)).filter(e=>!o||ta(e)===o||!!h&&td(e)!==e):f,v=await tv(e,m),y=(null==(t=s.autoPlacement)?void 0:t.index)||0,b=g[y];if(null==b)return{};let w=tc(b,a,await (null==u.isRTL?void 0:u.isRTL(c.floating)));if(l!==b)return{reset:{placement:g[0]}};let x=[v[to(b)],v[w[0]],v[w[1]]],_=[...(null==(r=s.autoPlacement)?void 0:r.overflows)||[],{placement:b,overflows:x}],k=g[y+1];if(k)return{data:{index:y+1,overflows:_},reset:{placement:k}};let S=_.map(e=>{let t=ta(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),E=(null==(i=S.filter(e=>e[2].slice(0,ta(e[0])?2:3).every(e=>e<=0))[0])?void 0:i[0])||S[0][0];return E!==l?{data:{index:y+1,overflows:_},reset:{placement:E}}:{}}}),options:[e,t]}},t8=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...i}=ti(n,e);switch(r){case"referenceHidden":{let n=tb(await tv(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:tw(n)}}}case"escaped":{let n=tb(await tv(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:tw(n)}}}default:return{}}}}),options:[e,t]}},ne=(e,t)=>({...t5(e),options:[e,t]});var nt=S.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,k.jsx)(eZ.WV.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,k.jsx)("polygon",{points:"0,0 30,0 15,10"})})});nt.displayName="Arrow";var nn=n(69893),nr=n(46837),ni="Popper",[no,na]=(0,eJ.b)(ni),[ns,nl]=no(ni),nu=e=>{let{__scopePopper:t,children:n}=e,[r,i]=S.useState(null);return(0,k.jsx)(ns,{scope:t,anchor:r,onAnchorChange:i,children:n})};nu.displayName=ni;var nc="PopperAnchor",nd=S.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,o=nl(nc,n),a=S.useRef(null),s=(0,eY.e)(t,a);return S.useEffect(()=>{o.onAnchorChange(r?.current||a.current)}),r?null:(0,k.jsx)(eZ.WV.div,{...i,ref:s})});nd.displayName=nc;var np="PopperContent",[nf,nh]=no(np);function nm(e,t){return e+("center"!==t?"-"+t:"")}var ng=S.forwardRef((e,t)=>{let{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:f="optimized",onPlaced:h,...m}=e,g=nl(np,n),[v,y]=S.useState(null),b=(0,eY.e)(t,e=>y(e)),[w,x]=S.useState(null),_=(0,nr.t)(w),E=_?.width??0,C=_?.height??0,T=nm(r,o),j="number"==typeof c?c:{top:0,right:0,bottom:0,left:0,...c},L=Array.isArray(u)?u:[u],A=L.length>0,O={padding:j,boundary:L.filter(nw),altBoundary:A},{refs:P,floatingStyles:R,placement:M,isPositioned:N,middlewareData:I}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=S.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=S.useState(r);tK(p,r)||f(r);let[h,m]=S.useState(null),[g,v]=S.useState(null),y=S.useCallback(e=>
26{e!==_.current&&(_.current=e,m(e))},[]),b=S.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),w=o||h,x=a||g,_=S.useRef(null),k=S.useRef(null),E=S.useRef(c),C=null!=l,T=t1(l),j=t1(i),L=t1(u),A=S.useCallback(()=>{if(!_.current||!k.current)return;let e={placement:t,strategy:n,middleware:p};j.current&&(e.platform=j.current),tY(_.current,k.current,e).then(e=>{let t={...e,isPositioned:!1!==L.current};O.current&&!tK(E.current,t)&&(E.current=t,tJ.flushSync(()=>{d(t)}))})},[p,t,n,j,L]);tZ(()=>{!1===u&&E.current.isPositioned&&(E.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let O=S.useRef(!1);tZ(()=>(O.current=!0,()=>{O.current=!1}),[]),tZ(()=>{if(w&&(_.current=w),x&&(k.current=x),w&&x){if(T.current)return T.current(w,x,A);A()}},[w,x,A,T,C]);let P=S.useMemo(()=>({reference:_,floating:k,setReference:y,setFloating:b}),[y,b]),R=S.useMemo(()=>({reference:w,floating:x}),[w,x]),M=S.useMemo(()=>{let e={position:n,left:0,top:0};if(!R.floating)return e;let t=t0(R.floating,c.x),r=t0(R.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...tQ(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,R.floating,c.x,c.y]);return S.useMemo(()=>({...c,update:A,refs:P,elements:R,floatingStyles:M}),[c,A,P,R,M])}({strategy:"fixed",placement:T,whileElementsMounted:(...e)=>(function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=t$(e),d=o||a?[...c?tI(c):[],...tI(t)]:[];d.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let p=c&&l?function(e,t){let n,r=null,i=tS(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();let{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;let f=te(c),h=te(i.clientWidth-(u+d)),m={rootMargin:-f+"px "+-h+"px "+-te(i.clientHeight-(c+p))+"px "+-te(u)+"px",threshold:e6(0,e9(1,l))||1},g=!0;function v(e){let t=e[0].intersectionRatio;if(t!==l){if(!g)return a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},100)}g=!1}try{r=new IntersectionObserver(v,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(v,m)}r.observe(e)}(!0),o}(c,n):null,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{h&&h.observe(t)})),n()}),c&&!u&&h.observe(c),h.observe(t));let m=u?tU(e):null;return u&&function t(){let r=tU(e);m&&(r.x!==m.x||r.y!==m.y||r.width!==m.width||r.height!==m.height)&&n(),m=r,i=requestAnimationFrame(t)}(),n(),()=>{d.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===f}),elements:{reference:g.anchor},middleware:[t2({mainAxis:i+C,alignmentAxis:a}),l&&t4({mainAxis:!0,crossAxis:!1,limiter:"partial"===d?t3():void 0,...O}),!0===l||"flip"===l?t7({...O}):"autoPlacement"===l&&t6({...O,allowedPlacements:("top"===r||"bottom"===r?["top","bottom"]:["left","right"]).map(e=>nm(e,o))}),t9({...O,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),w&&ne({element:w,padding:s}),nx({arrowWidth:E,arrowHeight:C}),p&&t8({strategy:"referenceHidden",...O})]}),[D,$]=n_(M),F=(0,eK.W)(h);(0,nn.b)(()=>{N&&F?.()},[N,F]);let B=I.arrow?.x,W=I.arrow?.y,U=I.arrow?.centerOffset!==0,[V,z]=S.useState();return(0,nn.b)(()=>{v&&z(window.getComputedStyle(v).zIndex)},[v]),(0,k.jsx)("div",{ref:P.setFloating,"data-radix-popper-content-wrapper":"",style:{...R,transform:N?R.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:V,"--radix-popper-transform-origin":[I.transformOrigin?.x,I.transformOrigin?.y].join(" "),...I.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,k.jsx)(nf,{scope:n,placedSide:D,onArrowChange:x,arrowX:B,arrowY:W,shouldHideArrow:U,children:(0,k.jsx)(eZ.WV.div,{"data-side":D,"data-align":$,...m,ref:b,style:{...m.style,animation:N?void 0:"none"}})})})});ng.displayName=np;var nv="PopperArrow",ny={top:"bottom",right:"left",bottom:"top",left:"r
26ight"},nb=S.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=nh(nv,n),o=ny[i.placedSide];return(0,k.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,k.jsx)(nt,{...r,ref:t,style:{...r.style,display:"block"}})})});function nw(e){return null!==e}nb.displayName=nv;var nx=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,a=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[l,u]=n_(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+a/2,p=(i.arrow?.y??0)+s/2,f="",h="";return"bottom"===l?(f=o?c:`${d}px`,h=`${-s}px`):"top"===l?(f=o?c:`${d}px`,h=`${r.floating.height+s}px`):"right"===l?(f=`${-s}px`,h=o?c:`${p}px`):"left"===l&&(f=`${r.floating.width+s}px`,h=o?c:`${p}px`),{data:{x:f,y:h}}}});function n_(e){let[t,n="center"]=e.split("-");return[t,n]}var nk=S.forwardRef((e,t)=>{let{container:n,...r}=e,[i,o]=S.useState(!1);(0,nn.b)(()=>o(!0),[]);let a=n||i&&globalThis?.document?.body;return a?tJ.createPortal((0,k.jsx)(eZ.WV.div,{...r,ref:t}),a):null});nk.displayName="Portal";var nS=n(27169),nE=n(9579),nC=n(25863),nT=S.forwardRef((e,t)=>(0,k.jsx)(eZ.WV.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));nT.displayName="VisuallyHidden";var[nj,nL]=(0,eJ.b)("Tooltip",[na]),nA=na(),nO="TooltipProvider",nP="tooltip.open",[nR,nM]=nj(nO),nN=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,[a,s]=S.useState(!0),l=S.useRef(!1),u=S.useRef(0);return S.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,k.jsx)(nR,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:S.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:S.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:S.useCallback(e=>{l.current=e},[]),disableHoverableContent:i,children:o})};nN.displayName=nO;var nI="Tooltip",[nD,n$]=nj(nI),nF=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i=!1,onOpenChange:o,disableHoverableContent:a,delayDuration:s}=e,l=nM(nI,e.__scopeTooltip),u=nA(t),[c,d]=S.useState(null),p=(0,e4.M)(),f=S.useRef(0),h=a??l.disableHoverableContent,m=s??l.delayDuration,g=S.useRef(!1),[v=!1,y]=(0,nC.T)({prop:r,defaultProp:i,onChange:e=>{e?(l.onOpen(),document.dispatchEvent(new CustomEvent(nP))):l.onClose(),o?.(e)}}),b=S.useMemo(()=>v?g.current?"delayed-open":"instant-open":"closed",[v]),w=S.useCallback(()=>{window.clearTimeout(f.current),g.current=!1,y(!0)},[y]),x=S.useCallback(()=>{window.clearTimeout(f.current),y(!1)},[y]),_=S.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{g.current=!0,y(!0)},m)},[m,y]);return S.useEffect(()=>()=>window.clearTimeout(f.current),[]),(0,k.jsx)(nu,{...u,children:(0,k.jsx)(nD,{scope:t,contentId:p,open:v,stateAttribute:b,trigger:c,onTriggerChange:d,onTriggerEnter:S.useCallback(()=>{l.isOpenDelayed?_():w()},[l.isOpenDelayed,_,w]),onTriggerLeave:S.useCallback(()=>{h?x():window.clearTimeout(f.current)},[x,h]),onOpen:w,onClose:x,disableHoverableContent:h,children:n})})};nF.displayName=nI;var nB="TooltipTrigger",nW=S.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=n$(nB,n),o=nM(nB,n),a=nA(n),s=S.useRef(null),l=(0,eY.e)(t,s,i.onTriggerChange),u=S.useRef(!1),c=S.useRef(!1),d=S.useCallback(()=>u.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),(0,k.jsx)(nd,{asChild:!0,...a,children:(0,k.jsx)(eZ.WV.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:(0,eX.M)(e.onPointerMove,e=>{"touch"===e.pointerType||c.current||o.isPointerInTransitRef.current||(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:(0,eX.M)(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:(0,eX.M)(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:(0,eX.M)(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:(0,eX.M)(e.onBlur,i.onClose),onClick:(0,eX.M)(e.onClick,i.onClose)})})});nW.displayName=nB;var nU="TooltipPortal",[nV,nz]=nj(nU,{forceMount:void 0}),nH=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=n$(nU,t);return(0,k.jsx)(nV,{scope:t,forceMount:n,children:(0,k.jsx)(nS.z,{present:n||o.open,children:(0,k.jsx)(nk,{asChild:!0,container:i,children:r})})})};nH.displayName=nU;var nG="TooltipContent",nq=S.forwardRef((e,t)=>
26{let n=nz(nG,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,a=n$(nG,e.__scopeTooltip);return(0,k.jsx)(nS.z,{present:r||a.open,children:a.disableHoverableContent?(0,k.jsx)(nZ,{side:i,...o,ref:t}):(0,k.jsx)(nX,{side:i,...o,ref:t})})}),nX=S.forwardRef((e,t)=>{let n=n$(nG,e.__scopeTooltip),r=nM(nG,e.__scopeTooltip),i=S.useRef(null),o=(0,eY.e)(t,i),[a,s]=S.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,p=S.useCallback(()=>{s(null),d(!1)},[d]),f=S.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());s(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,i),...function(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect())])),d(!0)},[d]);return S.useEffect(()=>()=>p(),[p]),S.useEffect(()=>{if(l&&c){let e=e=>f(e,c),t=e=>f(e,l);return l.addEventListener("pointerleave",e),c.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),c.removeEventListener("pointerleave",t)}}},[l,c,f,p]),S.useEffect(()=>{if(a){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=l?.contains(t)||c?.contains(t),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e].x,s=t[e].y,l=t[o].x,u=t[o].y;s>r!=u>r&&n<(l-a)*(r-s)/(u-s)+a&&(i=!i)}return i}(n,a);r?p():i&&(p(),u())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[l,c,a,u,p]),(0,k.jsx)(nZ,{...e,ref:o})}),[nY,nJ]=nj(nI,{isInside:!1}),nZ=S.forwardRef((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:a,...s}=e,l=n$(nG,n),u=nA(n),{onClose:c}=l;return S.useEffect(()=>(document.addEventListener(nP,c),()=>document.removeEventListener(nP,c)),[c]),S.useEffect(()=>{if(l.trigger){let e=e=>{let t=e.target;t?.contains(l.trigger)&&c()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[l.trigger,c]),(0,k.jsx)(e1,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:c,children:(0,k.jsxs)(ng,{"data-state":l.stateAttribute,...u,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,k.jsx)(nE.A4,{children:r}),(0,k.jsx)(nY,{scope:n,isInside:!0,children:(0,k.jsx)(nT,{id:l.contentId,role:"tooltip",children:i||r})})]})})});nq.displayName=nG;var nK="TooltipArrow";S.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=nA(n);return nJ(nK,n).isInside?null:(0,k.jsx)(nb,{...i,...r,ref:t})}).displayName=nK;var nQ=n(91326);function n0(e){let{shortcut:t}=e,n=(0,S.useMemo)(()=>
26("string"==typeof t?"+"!==t?t.split("+"):["+"]:t).map(e=>{let{text:t,emoji:n}=function(e){switch(e){case"mod":case"meta":if(nQ.Q5)return{text:"⌘",emoji:!0};return{text:"Ctrl"};case"alt":if(nQ.Q5)return{text:"⌥",emoji:!0};return{text:"Alt"};case"shift":return{text:"⇧",emoji:!0};case"comma":return{text:","};case"return":case"enter":return{text:"Enter"};case"backspace":return{text:"⌫",emoji:!0};default:return{text:e.trim().toUpperCase()}}}(e);return(0,k.jsx)(eq.sm,{secondary:!0,size:"text-xs",weight:"font-semibold",className:(0,el.cn)({"font-[emoji]":n,"font-mono":!n}),children:t},e)}),[t]);return nQ.tq?null:(0,k.jsx)("div",{className:"flex items-baseline justify-center gap-1 rounded bg-black/5 px-1.5 py-0.5 align-middle text-[10px] dark:bg-white/10 dark:shadow-[inset_0_0.5px_0_rgba(255,255,255,0.12)]",children:n})}function n1(e){let{label:t,children:n,side:r="top",align:i="center",asChild:o=!0,shortcut:a,disableHoverableContent:s=!1,delayDuration:l=400,hideWhenDetached:u=!0,hideOnKeyboardFocus:c=!0,sideOffset:d=5,alignOffset:p=5}=e,[f,h]=(0,S.useState)(!1);return(0,k.jsx)(nN,{children:(0,k.jsxs)(nF,{disableHoverableContent:s,delayDuration:l,open:f,onOpenChange:h,children:[(0,k.jsx)(nW,{asChild:o,onFocus:e=>{c&&e.preventDefault()},children:n}),(0,k.jsx)(nH,{children:(t||a)&&(0,k.jsxs)(nq,{side:r,align:i,className:(0,el.cn)("text-primary dark:bg-elevated dark pointer-events-none flex max-w-sm flex-row gap-3 break-words rounded-md bg-gray-900 py-1 text-center text-[13px] font-normal shadow-[inset_0px_0px_0px_0.5px_rgb(255_255_255_/_0.02),inset_0px_0.5px_0px_rgb(255_255_255_/_0.04),_inset_0px_0px_0px_1px_rgb(255_255_255_/_0.02),_0px_0px_0px_0.5px_rgb(0_0_0_/_0.24)]",{"px-2":!a,"pl-2.5 pr-1":!!a&&!!t,"px-1":!!a&&!t}),collisionPadding:8,sideOffset:d,alignOffset:p,hideWhenDetached:u,children:[t,a&&(0,k.jsx)(n0,{shortcut:a})]})})]})})}function n5(e){let{children:t,color:n="default",icon:r,className:i,tooltip:o}=e;return(0,k.jsx)(el.Qy,{condition:!!o,wrap:e=>(0,k.jsx)(n1,{label:o,children:e}),children:(0,k.jsxs)("span",{className:(0,el.cn)("min-h-4.5 flex flex-none items-center justify-center rounded px-1.5 pb-px pt-0.5 uppercase",{default:"bg-black/5 dark:bg-white/10",blue:"bg-blue-50 dark:bg-blue-500/20",green:"bg-green-500 dark:bg-green-900/50",brand:"bg-brand-primary dark:bg-brand-primary/20",orange:"bg-orange-50 dark:bg-orange-900/20",amber:"bg-amber-500 dark:bg-amber-900/40"}[n],{default:"text-tertiary",blue:"text-blue-500 dark:text-blue-400",green:"text-white dark:text-green-400",brand:"text-white dark:text-orange-300",orange:"text-orange-800 dark:text-orange-300",amber:"text-white dark:text-amber-300"}[n],r&&"gap-0.5 pl-1",i),children:[r&&r,(0,k.jsx)(eq.sm,{inherit:!0,weight:"font-semibold",size:"text-[10px]",className:"flex-none leading-none",children:t})]})})}let n2=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n4=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(r&&(r+=" "),r+=t);return r},n3=(o=["relative font-medium shrink-0 group inline-flex items-center justify-center select-none transform-gpu initial:border-none disabled:opacity-50","focus:!outline-none focus:!ring-0 active:!outline-none active:!ring-0","after:pointer-events-none after:absolute after:-inset-[3px] after:rounded-lg after:border after:border-blue-500 after:opacity-0 after:ring-2 after:ring-blue-500/20 after:transition-opacity focus-visible:after:opacity-100 active:after:opacity-0","before:pointer-events-none before:bg-gradient-to-b before:transition-opacity before:from-white/[0.12] before:absolute before:inset-0 before:z-[1] before:rounded before:opacity-0"],a={variants:{variant:{base:["bg-white dark:bg-gray-750","text-gray-900 dark:text-gray-50","shadow-button-base","hover:before:opacity-100 dark:hover:before:opacity-50"],primary:["bg-gray-800 dark:bg-gray-100","text-gray-50 dark:text-gray-900","dark:shadow-button-primary","hover:before:opacity-50"],flat:["bg-black/[0.06] hover:bg-black/[0.08] dark:bg-white/[0.08] dark:hover:bg-white/10"],plain:["hover:bg-black/[0.06] dark:hover:bg-white/[0.08]","data-[state=open]:bg-gray-150 dark:data-[state=open]:bg-gray-750","disabled:hover:bg-transparent dark:disabled:hover:bg-transparent"],destructive:["bg-red-500","text-gray-50","hover:before:opacity-100"],important:["bg-blue-500 dark:bg-blue-600","text-white dark:text-gray-50","dark:shadow-[0px_0px_4px_rgba(30,_58,_138,_0.6),_0px_0px_0px_0.5px_rgb(0_0_0_/_0.94),_inset_0px_0.5px_0px_rgba(255,_255,_255,_0.12),_inset_0px_0px_1px_0px_rgba(255,_255,_255,_0.4),_inset_0px_-4px_8px_-4px_rgba(30,_58,_138,_0.4)]","hover:before:opacity-100"],brand:["bg-gradient-to-tl to-brand-primary from-brand-secondary saturate-[105%]","text-white","hover:before:opacity-100","shadow-[inset_0px_0.5px_0px_rgb(255_255_255_/_0.32)]"],onboarding:["bg-green-600","text-gray-50","shadow-[0px_0px_4px_rgba(20,_83,_45,_0.1),_0px_0px_0px_0.5px_rgba(20,_83,_45,_0.6),_inset_0px_0.5px_0px_rgba(255,_255,_255,_0.08),_inset_0px_0px_1px_1px_rgba(255,_255,_255,_0.12),_inset_0px_-1px_1px_rgba(20,_83,_45,_0.24),_inset_0px_-4px_8px_-4px_rgba(20,_83,_45,_0.08)]","dark:shadow-[0px_0px_4px_rgba(20,_83,_45,_0.4),_0px_0px_0px_0.5px_rgba(20,_83,_45,_0.94),_inset_0px_0.5px_0px_rgba(255,_255,_255,_0.24),_inset_0px_0px_1px_0px_rgba(255,_255,_255,_0.4),_inset_0px_-4px_8px_-4px_rgba(20,_83,_45,_0.4)]","hover:before:opacity-100"],text:["!h-auto !p-0 text-blue-600 dar
26k:text-blue-500"],none:""},size:{sm:["h-6.5 text-[13.01px] rounded"],base:["h-7.5 text-[14.01px] rounded-md"],large:["px-10 h-10 py-3 text-[15.01px] rounded-lg"]},fullWidth:{true:"w-full flex-1"},loading:{true:"opacity-50 cursor-wait"},rightSlot:{true:"flex items-center justify-center"},round:{true:"rounded-full after:rounded-full before:rounded-full"}},defaultVariants:{variant:"base"}},e=>{var t;if((null==a?void 0:a.variants)==null)return n4(o,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:n,defaultVariants:r}=a,i=Object.keys(n).map(t=>{let i=null==e?void 0:e[t],o=null==r?void 0:r[t];if(null===i)return null;let a=n2(i)||n2(o);return n[t][a]}),s=e&&Object.entries(e).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return n4(o,i,null==a?void 0:null===(t=a.compoundVariants)||void 0===t?void 0:t.reduce((e,t)=>{let{class:n,className:i,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...r,...s}[t]):({...r,...s})[t]===n})?[...e,n,i]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)}),n7=(0,S.forwardRef)((e,t)=>{let{id:n,align:r="center",accessibilityLabel:i,loading:o,children:a,disabled:s,href:l,iconOnly:u,variant:c,className:d,fullWidth:p,onFocus:f,leftSlot:h,rightSlot:m,onBlur:g,onClick:v,onKeyDownCapture:y,tooltip:b,tooltipShortcut:w,autoFocus:x,externalLink:_,allowOpener:S,type:E="button",download:C,role:T,round:j,size:L="base","aria-pressed":A,title:O,isSelect:P,...R}=e;if(u&&!i)throw Error("You must provide an accessibilityLabel to a button with iconOnly");return l?(0,k.jsx)(n1,{disableHoverableContent:!0,label:b,shortcut:w,children:(0,k.jsxs)(eG,{id:n,href:l,className:(0,el.cn)("relative outline-none transition",n3({variant:c,fullWidth:p,loading:o,size:L,round:j}),{"!pl-1":h&&"sm"===L},{"!pl-2":h&&"base"===L},{"!pl-4":h&&"large"===L},{"!pr-1":m&&"sm"===L},{"!pr-2":m&&"base"===L},{"!pr-4":m&&"large"===L},{"w-6.5 p-0":u&&"sm"===L},{"w-7.5 p-0":u&&"base"===L},{"w-10 p-0":u&&"large"===L},{"px-2":!u&&"sm"===L},{"px-2.5":!u&&"base"===L},{"px-4.5":!u&&"large"===L},{"pointer-events-none opacity-50":s||o},d),ref:t,onFocus:f,onBlur:g,title:b?void 0:null!=O?O:i,"aria-label":i,onClick:e=>{v&&v(e),l&&C&&(e.preventDefault(),n9(l,C))},onKeyDownCapture:y,target:_?"_blank":void 0,rel:_?S?"opener":"noopener noreferrer":void 0,role:T,draggable:!1,...R,children:[u&&u,(0,k.jsxs)("span",{className:(0,el.cn)("relative z-[2] flex items-center",{"gap-2":"large"===L,"gap-1.5":"base"===L,"gap-1":"sm"===L}),children:[h&&(0,k.jsx)("span",{className:"inline-flex flex-none justify-center",children:h}),(0,k.jsx)("span",{children:a}),m&&(0,k.jsx)("span",{className:"inline-flex flex-none justify-center",children:m})]})]})}):(0,k.jsx)(n1,{disableHoverableContent:!0,label:b,shortcut:w,children:(0,k.jsxs)("button",{id:n,className:(0,el.cn)("outline-none",n3({variant:c,fullWidth:p,loading:o,size:L,round:j}),{"!pl-1":h&&"sm"===L},{"!pl-2":h&&"base"===L},{"!pl-4":h&&"large"===L},{"!pr-1":m&&"sm"===L},{"!pr-2":m&&"base"===L},{"!pr-4":m&&"large"===L},{"w-6.5 p-0":u&&"sm"===L},{"w-7.5 p-0":u&&"base"===L},{"w-10 p-0":u&&"large"===L},{"px-2":!u&&"sm"===L},{"px-2.5":!u&&"base"===L},{"px-4.5":!u&&"large"===L},d),ref:t,type:E,onFocus:f,onBlur:g,title:b?void 0:null!=O?O:i,"aria-label":i,onClick:v,disabled:s,autoFocus:x,"aria-pressed":A,"data-autofocus":x,onKeyDownCapture:y,...R,children:[u&&u,(0,k.jsxs)("span",{className:(0,el.cn)("relative z-[2] flex items-center overflow-hidden",{grow:P||"left"===r,"gap-2":"large"===L,"gap-1.5":"base"===L,"gap-1":"sm"===L}),children:[h&&(0,k.jsx)("span",{className:"inline-flex flex-none justify-center",children:h}),(0,k.jsx)("span",{className:(0,el.cn)("truncate leading-normal",{"flex-1 grow text-left":P||"left"===r}),children:a}),m&&(0,k.jsx)("span",{className:"inline-flex flex-none justify-center",children:m})]})]})})});async function n9(e,t){let n=await fetch(e),r=await n.blob(),i=URL.createObjectURL(r),o=document.createElement("a");return o.href=i,o.download=t,o.click(),URL.revokeObjectURL(i),!0}n7.displayName="Button";let n6={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function n8(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let re={date:n8({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:n8({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:n8({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},rt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function rn(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function rr(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;let s=a[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(s)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(s));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}rn({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),rn({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),rn({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),rn({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
26ay","Saturday"]},defaultWidth:"wide"}),rn({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"}),c={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},rr({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),rr({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),rr({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),rr({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),rr({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"});let ri={};function ro(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}function ra(e){let t=ro(e);return t.setHours(0,0,0,0),t}function rs(e){let t=ro(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function rl(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function ru(e,t){var n,r,i,o,a,s,l,u;let c=null!==(u=null!==(l=null!==(s=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t?void 0:null===(r=t.locale)||void 0===r?void 0:null===(n=r.options)||void 0===n?void 0:n.weekStartsOn)&&void 0!==s?s:ri.weekStartsOn)&&void 0!==l?l:null===(o=ri.locale)||void 0===o?void 0:null===(i=o.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==u?u:0,d=ro(e),p=d.getDay();return d.setDate(d.getDate()-((p<c?7:0)+p-c)),d.setHours(0,0,0,0),d}function rc(e){return ru(e,{weekStartsOn:1})}function rd(e){let t=ro(e),n=t.getFullYear(),r=rl(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let i=rc(r),o=rl(e,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let a=rc(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function rp(e,t){var n,r,i,o,a,s,l,u;let c=ro(e),d=c.getFullYear(),p=null!==(u=null!==(l=null!==(s=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t?void 0:null===(r=t.locale)||void 0===r?void 0:null===(n=r.options)||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==s?s:ri.firstWeekContainsDate)&&void 0!==l?l:null===(o=ri.locale)||void 0===o?void 0:null===(i=o.options)||void 0===i?void 0:i.firstWeekContainsDate)&&void 0!==u?u:1,f=rl(e,0);f.setFullYear(d+1,0,p),f.setHours(0,0,0,0);let h=ru(f,t),m=rl(e,0);m.setFullYear(d,0,p),m.setHours(0,0,0,0);let g=ru(m,t);return c.getTime()>=h.getTime()?d+1:c.getTime()>=g.getTime()?d:d-1}function rf(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let rh={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return rf("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):rf(n+1,2)},d:(e,t)=>rf(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];
26default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>rf(e.getHours()%12||12,t.length),H:(e,t)=>rf(e.getHours(),t.length),m:(e,t)=>rf(e.getMinutes(),t.length),s:(e,t)=>rf(e.getSeconds(),t.length),S(e,t){let n=t.length;return rf(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},rm={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function rg(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+rf(o,2)}function rv(e,t){return e%60==0?(e>0?"-":"+")+rf(Math.abs(e)/60,2):ry(e,t)}function ry(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+rf(Math.trunc(n/60),2)+t+rf(n%60,2)}let rb=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},rw=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};var rx=function(){return(rx=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var r_=(0,S.createContext)(void 0);(0,S.createContext)(void 0),(0,S.forwardRef)(function(e,t){var n=function(){var e=(0,S.useContext)(r_);if(!e)throw Error("useDayPicker must be used within a DayPickerProvider.");return e}(),r=n.classNames,i=n.styles,o=[r.button_reset,r.button];e.className&&o.push(e.className);var a=o.join(" "),s=rx(rx({},i.button_reset),i.button);return e.style&&Object.assign(s,e.style),(0,k.jsx)("button",rx({},e,{ref:t,type:"button",className:a,style:s}))}),(0,S.createContext)(void 0),(0,S.createContext)(void 0),(d=x||(x={})).Outside="outside",d.Disabled="disabled",d.Selected="selected",d.Hidden="hidden",d.Today="today",d.RangeStart="range_start",d.RangeEnd="range_end",d.RangeMiddle="range_middle",x.Selected,x.Disabled,x.Hidden,x.Today,x.RangeEnd,x.RangeMiddle,x.RangeStart,x.Outside,(0,S.createContext)(void 0),(0,S.createContext)(void 0),(0,S.createContext)(void 0),"undefined"!=typeof window&&window.document&&window.document.createElement?S.useLayoutEffect:S.useEffect;let rk=0;function rS(e,t){let n=`atom${++rk}`,r={toString:()=>n};return"function"==typeof e?r.read=e:(r.init=e,r.read=function(e){return e(this)},r.write=function(e,t,n){return t(this,"function"==typeof n?n(e(this)):n)}),t&&(r.write=t),r}let rE=e=>"init"in e,rC=e=>!!e.write,rT=new WeakMap,rj=(e,t)=>{rT.set(e,t),e.catch(()=>{}).finally(()=>rT.delete(e))},rL=(e,t)=>{let n=rT.get(e);n&&(rT.delete(e),n(t))},rA=(e,t)=>{e.status="fulfilled",e.value=t},rO=(e,t)=>{e.status="rejected",e.reason=t},rP=e=>"function"==typeof(null==e?void 0:e.then),rR=(e,t)=>!!e&&"v"in e&&"v"in t&&Object.is(e.v,t.v),rM=(e,t)=>!!e&&"e"in e&&"e"in t&&Object.is(e.e,t.e),rN=e=>!!e&&"v"in e&&e.v instanceof Promise,rI=(e,t)=>"v"in e&&"v"in t&&e.v.orig&&e.v.orig===t.v.orig,rD=e=>{if("e"in e)throw e.e;return e.v},r$=()=>{let e,t;let n=new WeakMap,r=new WeakMap,i=new Map;e=new Set,t=new Set;let o=e=>n.get(e),a=(e,t)=>{Object.freeze(t);let r=n.get(e);if(n.set(e,t),i.has(e)||i.set(e,r),rN(r)){let e="v"in t?t.v instanceof Promise?t.v:Promise.resolve(t.v):Promise.reject(t.e);r.v!==e&&rL(r.v,e)}},s=(e,t,n)=>{let r=new Map,i=!1;n.forEach((n,o)=>{n||o!==e||(n=t),n?(r.set(o,n),t.d.get(o)!==n&&(i=!0)):console.warn("[Bug] atom state not found")}),(i||t.d.size!==r.size)&&(t.d=r)},l=(e,t,n)=>{let r=o(e),i={d:(null==r?void 0:r.d)||new Map,v:t};if(n&&s(e,i,n),rR(r,i)&&r.d===i.d)return r;if(rN(r)&&rN(i)&&rI(r,i)){if(r.d===i.d)return r;i.v=r.v}return a(e,i),i},u=(e,t,n,i)=>{if(rP(t)){let a;let s=()=>
26{let t=o(e);if(!rN(t)||t.v!==u)return;let i=l(e,u,n);r.has(e)&&t.d!==i.d&&w(e,i,t.d)},u=new Promise((e,n)=>{let r=!1;t.then(t=>{r||(r=!0,rA(u,t),e(t),s())},e=>{r||(r=!0,rO(u,e),n(e),s())}),a=t=>{r||(r=!0,t.then(e=>rA(u,e),e=>rO(u,e)),e(t))}});return u.orig=t,u.status="pending",rj(u,e=>{e&&a(e),null==i||i()}),l(e,u,n)}return l(e,t,n)},c=(e,t,n)=>{let r=o(e),i={d:(null==r?void 0:r.d)||new Map,e:t};return(n&&s(e,i,n),rM(r,i)&&r.d===i.d)?r:(a(e,i),i)},d=(e,t)=>{let n,i;let a=o(e);if(!t&&a&&(r.has(e)||Array.from(a.d).every(([t,n])=>{if(t===e)return!0;let r=d(t);return r===n||rR(r,n)})))return a;let s=new Map,l=!0;try{let t=e.read(t=>{if(t===e){let e=o(t);if(e)return s.set(t,e),rD(e);if(rE(t))return s.set(t,void 0),t.init;throw Error("no atom init")}let n=d(t);return s.set(t,n),rD(n)},{get signal(){return n||(n=new AbortController),n.signal},get setSelf(){return rC(e)||console.warn("setSelf function cannot be used with read-only atom"),!i&&rC(e)&&(i=(...t)=>{if(l&&console.warn("setSelf function cannot be called in sync"),!l)return v(e,...t)}),i}});return u(e,t,s,()=>null==n?void 0:n.abort())}catch(t){return c(e,t,s)}finally{l=!1}},p=e=>{let t=r.get(e);return t||(t=y(e)),t},f=(e,t)=>!t.l.size&&(!t.t.size||1===t.t.size&&t.t.has(e)),h=e=>{let t=r.get(e);t&&f(e,t)&&b(e)},m=e=>{let t=new Map,n=new WeakMap,a=e=>{var t;let n=new Set(null==(t=r.get(e))?void 0:t.t);return i.forEach((t,r)=>{var i;(null==(i=o(r))?void 0:i.d.has(e))&&n.add(r)}),n},s=e=>{a(e).forEach(r=>{r!==e&&(t.set(r,(t.get(r)||new Set).add(e)),n.set(r,(n.get(r)||0)+1),s(r))})};s(e);let l=e=>{a(e).forEach(r=>{var i;if(r!==e){let e=n.get(r);if(e&&n.set(r,--e),!e){let e=!!(null==(i=t.get(r))?void 0:i.size);e&&(e=!rR(o(r),d(r,!0))),e||t.forEach(e=>e.delete(r))}l(r)}})};l(e)},g=(t,...n)=>{let r=!0,i=t.write(e=>rD(d(e)),(n,...i)=>{let a;if(n===t){if(!rE(n))throw Error("atom not writable");rR(o(n),u(n,i[0]))||m(n)}else a=g(n,...i);if(!r){let t=x();e.forEach(e=>e({type:"async-write",flushed:t}))}return a},...n);return r=!1,i},v=(t,...n)=>{let r=g(t,...n),i=x();return e.forEach(e=>e({type:"write",flushed:i})),r},y=(e,n,i)=>{var a;let s=i||[];null==(a=o(e))||a.d.forEach((t,n)=>{let i=r.get(n);i?i.t.add(e):n!==e&&y(n,e,s)}),d(e);let l={t:new Set(n&&[n]),l:new Set};if(r.set(e,l),t.add(e),rC(e)&&e.onMount){let{onMount:t}=e;s.push(()=>{let n=t((...t)=>v(e,...t));n&&(l.u=n)})}return i||s.forEach(e=>e()),l},b=e=>{var n;let i=null==(n=r.get(e))?void 0:n.u;i&&i(),r.delete(e),t.delete(e);let a=o(e);a?(rN(a)&&rL(a.v),a.d.forEach((t,n)=>{if(n!==e){let t=r.get(n);t&&(t.t.delete(e),f(n,t)&&b(n))}})):console.warn("[Bug] could not find atom state to unmount",e)},w=(e,t,n)=>{let i=new Set(t.d.keys());null==n||n.forEach((t,n)=>{if(i.has(n)){i.delete(n);return}let o=r.get(n);o&&(o.t.delete(e),f(n,o)&&b(n))}
26),i.forEach(t=>{let n=r.get(t);n?n.t.add(e):r.has(e)&&y(t,e)})},x=()=>{let e;for(e=new Set;i.size;){let t=Array.from(i);i.clear(),t.forEach(([t,n])=>{let i=o(t);if(i){let o=r.get(t);o&&i.d!==(null==n?void 0:n.d)&&w(t,i,null==n?void 0:n.d),o&&!(!rN(n)&&(rR(n,i)||rM(n,i)))&&(o.l.forEach(e=>e()),e.add(t))}else console.warn("[Bug] no atom state to flush")})}return e};return{get:e=>rD(d(e)),set:v,sub:(t,n)=>{let r=p(t),i=x(),o=r.l;return o.add(n),e.forEach(e=>e({type:"sub",flushed:i})),()=>{o.delete(n),h(t),e.forEach(e=>e({type:"unsub"}))}},dev_subscribe_store:(t,n)=>{if(2!==n)throw Error("The current StoreListener revision is 2.");return e.add(t),()=>{e.delete(t)}},dev_get_mounted_atoms:()=>t.values(),dev_get_atom_state:e=>n.get(e),dev_get_mounted:e=>r.get(e),dev_restore_atoms:t=>{for(let[e,n]of t)rE(e)&&(u(e,n),m(e));let n=x();e.forEach(e=>e({type:"restore",flushed:n}))}}};"number"==typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__?++globalThis.__NUMBER_OF_JOTAI_INSTANCES__:globalThis.__NUMBER_OF_JOTAI_INSTANCES__=1;let rF=()=>(r||(1!==globalThis.__NUMBER_OF_JOTAI_INSTANCES__&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"),r=r$()),r),rB=(0,S.createContext)(void 0),rW=e=>{let t=(0,S.useContext)(rB);return(null==e?void 0:e.store)||t||rF()},rU=e=>"function"==typeof(null==e?void 0:e.then),rV=S.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e});function rz(e,t){let n=rW(t),[[r,i,o],a]=(0,S.useReducer)(t=>{let r=n.get(e);return Object.is(t[0],r)&&t[1]===n&&t[2]===e?t:[r,n,e]},void 0,()=>[n.get(e),n,e]),s=r;(i!==n||o!==e)&&(a(),s=n.get(e));let l=null==t?void 0:t.delay;return(0,S.useEffect)(()=>{let t=n.sub(e,()=>{if("number"==typeof l){setTimeout(a,l);return}a()});return a(),t},[n,e,l]),(0,S.useDebugValue)(s),rU(s)?rV(s):s}function rH(e,t){let n=rW(t);return(0,S.useCallback)((...t)=>{if(!("write"in e))throw Error("not writable atom");return n.set(e,...t)},[n,e])}let rG=rS(void 0),rq=()=>({activeModality:rz(rG)}),rX=function(){let{modality:e,disablePointerSelection:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,el.cn)("text-primary scroll-m-1 flex cursor-pointer select-none items-center rounded-lg px-2 text-[15px] outline-none ease-in-out will-change-[background,_color]",{"transition-all ease-out duration-150":"cursor"===e,"hover:bg-black/[0.025] group-hover:bg-black/[0.025] hover:dark:bg-white/5 group-hover:dark:bg-white/5":t,"aria-selected:bg-black/[0.04] aria-selected:dark:shadow-select-item aria-disabled:active:cursor-not-allowed aria-selected:active:bg-white/10 aria-selected:dark:bg-white/10 data-[state=open]:bg-black/[0.04] data-[state=open]:dark:bg-white/10":!nQ.tq})},rY=S.forwardRef((e,t)=>{let{className:n,...r}=e,{activeModality:i}=rq(),o=iE();return(0,k.jsx)(iM.Item,{ref:t,className:(0,el.cn)(rX({modality:i,disablePointerSelection:!!(null==o?void 0:o.getDisablePointerSelection())}),n),...r})});function rJ(){return(rJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}rY.displayName="HighlightedCommandItem";var rZ=["shift","alt","meta","mod","ctrl"],rK={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function rQ(e){return(rK[e]||e).trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function r0(e,t){return void 0===t&&(t=","),e.split(t)}function r1(e,t,n){void 0===t&&(t="+");var r=e.toLocaleLowerCase().split(t).map(function(e){return rQ(e)}),i={alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},o=r.filter(function(e){return!rZ.includes(e)});return rJ({},i,{keys:o,description:n})}"undefined"!=typeof document&&(document.addEventListener("keydown",function(e){void 0!==e.ke
26y&&r4([rQ(e.key),rQ(e.code)])}),document.addEventListener("keyup",function(e){void 0!==e.key&&r3([rQ(e.key),rQ(e.code)])})),"undefined"!=typeof window&&window.addEventListener("blur",function(){r5.clear()});var r5=new Set;function r2(e){return Array.isArray(e)}function r4(e){var t=Array.isArray(e)?e:[e];r5.has("meta")&&r5.forEach(function(e){return!rZ.includes(e)&&r5.delete(e.toLowerCase())}),t.forEach(function(e){return r5.add(e.toLowerCase())})}function r3(e){var t=Array.isArray(e)?e:[e];"meta"===e?r5.clear():t.forEach(function(e){return r5.delete(e.toLowerCase())})}function r7(e,t){var n=e.target;void 0===t&&(t=!1);var r=n&&n.tagName;return r2(t)?!!(r&&t&&t.some(function(e){return e.toLowerCase()===r.toLowerCase()})):!!(r&&t&&!0===t)}var r9=function(e,t,n){void 0===n&&(n=!1);var r,i=t.alt,o=t.meta,a=t.mod,s=t.shift,l=t.ctrl,u=t.keys,c=e.key,d=e.code,p=e.ctrlKey,f=e.metaKey,h=e.shiftKey,m=e.altKey,g=rQ(d),v=c.toLowerCase();if(!(null!=u&&u.includes(g))&&!(null!=u&&u.includes(v))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(g))return!1;if(!n){if(!m===i&&"alt"!==v||!h===s&&"shift"!==v)return!1;if(a){if(!f&&!p)return!1}else if(!f===o&&"meta"!==v&&"os"!==v||!p===l&&"ctrl"!==v&&"control"!==v)return!1}return!!(u&&1===u.length&&(u.includes(v)||u.includes(g)))||(u?(void 0===r&&(r=","),(r2(u)?u:u.split(r)).every(function(e){return r5.has(e.trim().toLowerCase())})):!u)},r6=(0,S.createContext)(void 0),r8=(0,S.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),ie=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},it="undefined"!=typeof window?S.useLayoutEffect:S.useEffect;function ir(e){return function(e){var t,n,r,i,o,a,s,l,u,c,d,p,f;let{keys:h,callback:m,options:{repeat:g,skipEscapeWhenDisabled:v,...y}={},dependencies:b}=e,w=ic();t=(e,t)=>{!g&&e.repeat||v&&"Escape"===e.key&&e.target&&e.target instanceof HTMLElement&&e.target.closest("[disable-escape-layered-hotkeys]")||m(e,t)},n={...y,enabled:!!w&&y.enabled},r=(0,S.useRef)(null),i=(0,S.useRef)(!1),o=n instanceof Array?b instanceof Array?void 0:b:n,a=r2(h)?h.join(null==o?void 0:o.splitKey):h,s=n instanceof Array?n:b instanceof Array?b:void 0,l=(0,S.useCallback)(t,null!=s?s:[]),u=(0,S.useRef)(l),s?u.current=l:u.current=t,!function e(t,n){return t&&n&&"object"==typeof t&&"object"==typeof n?Object.keys(t).length===Object.keys(n).length&&Object.keys(t).reduce(function(r,i){return r&&e(t[i],n[i])},!0):t===n}((c=(0,S.useRef)(void 0)).current,o)&&(c.current=o),d=c.current,p=(0,S.useContext)(r8).enabledScopes,f=(0,S.useContext)(r6),it(function(){if((null==d?void 0:d.enabled)!==!1&&(e=null==d?void 0:d.scopes,0===p.length&&e?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):!!(!e||p.some(function(t){return e.includes(t)})||p.includes("*")))){var e,t=function(e,t){var n;if(void 0===t&&(t=!1),!r7(e,["input","textarea","select"])||r7(e,null==d?void 0:d.enableOnFormTags)){if(null!==r.current){var o=r.current.getRootNode();if((o instanceof Document||o instanceof ShadowRoot)&&o.activeElement!==r.current&&!r.current.contains(o.activeElement)){ie(e);return}}(null==(n=e.target)||!n.isContentEditable||null!=d&&d.enableOnContentEditable)&&r0(a,null==d?void 0:d.splitKey).forEach(function(n){var r,o,a,s=r
261(n,null==d?void 0:d.combinationKey);if(r9(e,s,null==d?void 0:d.ignoreModifiers)||null!=(a=s.keys)&&a.includes("*")){if(null!=d&&null!=d.ignoreEventWhen&&d.ignoreEventWhen(e)||t&&i.current)return;if(("function"==typeof(r=null==d?void 0:d.preventDefault)&&r(e,s)||!0===r)&&e.preventDefault(),"function"==typeof(o=null==d?void 0:d.enabled)?!o(e,s):!0!==o&&void 0!==o){ie(e);return}u.current(e,s),t||(i.current=!0)}})}},n=function(e){void 0!==e.key&&(r4(rQ(e.code)),((null==d?void 0:d.keydown)===void 0&&(null==d?void 0:d.keyup)!==!0||null!=d&&d.keydown)&&t(e))},s=function(e){void 0!==e.key&&(r3(rQ(e.code)),i.current=!1,null!=d&&d.keyup&&t(e,!0))},l=r.current||(null==o?void 0:o.document)||document;return l.addEventListener("keyup",s),l.addEventListener("keydown",n),f&&r0(a,null==d?void 0:d.splitKey).forEach(function(e){return f.addHotkey(r1(e,null==d?void 0:d.combinationKey,null==d?void 0:d.description))}),function(){l.removeEventListener("keyup",s),l.removeEventListener("keydown",n),f&&r0(a,null==d?void 0:d.splitKey).forEach(function(e){return f.removeHotkey(r1(e,null==d?void 0:d.combinationKey,null==d?void 0:d.description))})}}},[a,d,p])}(e),null}let ii="root",io=rS([ii]),ia=rS(null,(e,t,n)=>{let r=e(io);r.includes(n)||t(io,[...r,n])}),is=rS(null,(e,t,n)=>{let r=e(io);t(io,r.filter(e=>e!==n))}),il=(0,S.createContext)(ii),iu=S.forwardRef((e,t)=>{let{children:n}=e,r=(0,S.useId)(),i=rH(ia),o=rH(is);return(0,S.useLayoutEffect)(()=>(i(r),()=>{o(r)}),[i,r,o]),(0,k.jsx)(il.Provider,{value:r,children:(0,k.jsx)(nE.g7,{ref:t,children:n})})});iu.displayName="DismissibleLayer";let ic=()=>{let e=(0,S.useContext)(il);return rz((0,S.useMemo)(()=>rS(t=>t(io).at(-1)===e),[e]))},id=/[\\/_+.#"@[({&]/,ip=/[\\/_+.#"@[({&]/g,ih=/[\s-]/,im=/[\s-]/g;function ig(e){return e.toLowerCase().replace(im," ")}let iv='[cmdk-group=""]',iy='[cmdk-group-items=""]',ib='[cmdk-item=""]',iw="".concat(ib,':not([aria-disabled="true"]):not([data-render="false"])'),ix="cmdk-item-select",i_="data-value",ik=(e,t,n)=>{var r;return r=e,function e(t,n,r,i,o,a,s){let l,u,c,d;if(a===n.length)return o===t.length?1:.99;let p="".concat(o,",").concat(a);if(void 0!==s[p])return s[p];let f=i.charAt(a),h=r.indexOf(f,o),m=0;for(;h>=0;)(l=e(t,n,r,i,h+1,a+1,s))>m&&(h===o?l*=1:id.test(t.charAt(h-1))?(l*=.8,(c=t.slice(o,h-1).match(ip))&&o>0&&(l*=Math.pow(.999,c.length))):ih.test(t.charAt(h-1))?(l*=.9,(d=t.slice(o,h-1).match(im))&&o>0&&(l*=Math.pow(.999,d.length))):(l*=.17,o>0&&(l*=Math.pow(.999,h-o))),t.charAt(h)!==n.charAt(a)&&(l*=.9999)),(l<.1&&r.charAt(h-1)===i.charAt(a+1)||i.charAt(a+1)===i.charAt(a)&&r.charAt(h-1)!==i.charAt(a))&&.1*(u=e(t,n,r,i,h+1,a+2,s))>l&&(l=.1*u),l>m&&(m=l),h=r.indexOf(f,h+1);return s[p]=m,m}(r=n&&n.length>0?"".concat(r+" "+n.join(" ")):r,t,ig(r),ig(t),0,0,{})},iS=S.createContext(null),iE=()=>S.useContext(iS),iC=S.createContext({subscribe:()=>()=>{},snapshot:()=>({search:"",value:void 0,filtered:{count:0,items:new Map,groups:new Set}}),setState:()=>{},emit:()=>{}}),iT=()=>S.useContext(iC),ij=S.createContext({id:""}),iL=S.forwardRef(function(e,t){let n=iI(()=>{var t,n;return{search:"",value:null!==(n=null!==(t=e.value)&&void 0!==t?t:e.defaultValue)&&void 0!==n?n:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=iI(()=>new Set),i=iI(()=>new Map),o=iI(()=>new Map),a=iI(()=>void 0),s=iI(()=>new Set),{label:l,value:u,className:c,disablePointerSelection:d=!1,vimBindings:p=!0,focusSelection:f=!1,disableAutoSelect:h=!1,manualInputs:m=!1,minScore:g=-1,shouldFilter:v,filter:y,onValueChange:b,...w}=e,x=S.useRef(e);x.current=e;let _=(0,S.useId)(),E=(0,S.useId)(),C=S.useRef(null),T=S.useRef(null),j=iB(),L=S.useMemo(()=>({subscribe:e=>(s.current.add(e),()=>s.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r,i)=>{if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)M(),P(),j("select-first-item",R);else if("value"===e){var o,a,s;if(r||j("value-change-scroll-selected-into-view",N),(null===(o=x.current)||void 0===o?void 0:o.value)!==void 0){null===(a=(s=x.current).onValueChange)||void 0===a||a.call(s,null!=t?t:"",i);return}}f&&j("focus-selected",I),L.emit()}},emit:()=>
26{s.current.forEach(e=>e())}}),[]),A=S.useMemo(()=>({value:(e,t,r,i)=>{var a;t!==(null===(a=o.current.get(e))||void 0===a?void 0:a.value)&&(o.current.set(e,{value:t,keywords:r,modifier:i}),n.current.filtered.items.set(e,O(t,r,i)),j("mount-value",()=>{P(),L.emit()}))},item:(e,t)=>{if(r.current.add(e),t){if(i.current.has(t)){var a;null===(a=i.current.get(t))||void 0===a||a.add(e)}else i.current.set(t,new Set([e]))}return j("item-register-filter-sort",()=>{M(),P(),n.current.value||h||R(),L.emit()}),()=>{o.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=D();j("unmount",()=>{M(),(null==t?void 0:t.getAttribute("id"))===e&&R(),L.emit()})}},group:e=>(i.current.has(e)||i.current.set(e,new Set),()=>{o.current.delete(e),i.current.delete(e)}),input:e=>(a.current=e,L.emit(),()=>{a.current=void 0,L.emit()}),filter:()=>{var e;return null===(e=x.current.shouldFilter)||void 0===e||e},label:l||e["aria-label"]||"",getDisablePointerSelection:()=>{var e;return null!==(e=x.current.disablePointerSelection)&&void 0!==e&&e},listId:_,inputId:a.current,labelId:E,listInnerRef:T}),[]);function O(e,t,r){var i,o,a;let s=null!==(o=null===(i=x.current)||void 0===i?void 0:i.filter)&&void 0!==o?o:ik,l=(e&&null!==(a=null==s?void 0:s(e,n.current.search,t))&&void 0!==a?a:0)*r;return l>g?l:0}function P(){if(!n.current.search||!1===x.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=i.current.get(n),o=0;null==r||r.forEach(t=>{var n;o=Math.max(null!==(n=e.get(t))&&void 0!==n?n:0,o)}),t.push([n,o])});let r=T.current;$().sort((t,n)=>{var r,i,o,a;let s=null!==(r=t.getAttribute("id"))&&void 0!==r?r:"",l=null!==(i=n.getAttribute("id"))&&void 0!==i?i:"";return(null!==(o=e.get(l))&&void 0!==o?o:0)-(null!==(a=e.get(s))&&void 0!==a?a:0)}).forEach(e=>{let t=e.closest(iy);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(iy," > *"))):null==r||r.appendChild(e.parentElement===r?e:e.closest("".concat(iy," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t,n;let r=null===(t=T.current)||void 0===t?void 0:t.querySelector("".concat(iv,"[").concat(i_,'="').concat(encodeURIComponent(e[0]),'"]'));null==r||null===(n=r.parentElement)||void 0===n||n.appendChild(r)})}function R(){let e=$().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(i_);t&&(L.setState("value",t),queueMicrotask(()=>N()))}function M(){var e,t,a,s,l,u,c;if(!n.current.search||!1===x.current.shouldFilter){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let d=0;for(let i of Array.from(r.current)){let r=O(null!==(s=null===(e=o.current.get(i))||void 0===e?void 0:e.value)&&void 0!==s?s:"",null!==(l=null===(t=o.current.get(i))||void 0===t?void 0:t.keywords)&&void 0!==l?l:[],null!==(u=null===(a=o.current.get(i))||void 0===a?void 0:a.modifier)&&void 0!==u?u:1);n.current.filtered.items.set(i,r),r>0&&d++}for(let[e,t]of Array.from(i.current))for(let r of Array.from(t))if(null!==(c=n.current.filtered.items.get(r))&&void 0!==c&&c){n.current.filtered.groups.add(e);break}n.current.filtered.count=d}function N(){let e=D();if(e){var t,n,r;(null===(t=e.parentElement)||void 0===t?void 0:t.firstChild)===e&&(null===(r=e.closest(iv))||void 0===r||null===(n=r.querySelector('[cmdk-group-heading=""]'))||void 0===n||n.scrollIntoView({block:"nearest"})),e.scrollIntoView({block:"nearest"})}}function I(){let e=D();null==e||e.focus({preventScroll:!0})}function D(){var e;let t=null===(e=T.current)||void 0===e?void 0:e.querySelector("".concat(ib,'[aria-selected="true"]'));return t instanceof HTMLElement?t:null}function $(){var e;return Array.from((null===(e=T.current)||void 0===e?void 0:e.querySelectorAll(iw))||[])}function F(e){var t;let n=null===(t=$().at(e))||void 0===t?void 0:t.getAttribute(i_);n&&L.setState("value",n)}function B(e){var t,n;let r=D(),i=$(),o=i.findIndex(e=>e===r),a=null===(t=i[o+e])||void 0===t?void 0:t.getAttribute(i_);if(null===(n=x.current)||void 0===n?void 0:n.loop){let t=o+e<0?i[i.length-1]:o+e===i.length?i[0]:i[o+e];a=null==t?void 0:t.getAttribute(i_)}a&&L.setState("value",a)}function W(e){let t;let n=D(),r=null==n?void 0:n.closest(iv);for(;r&&!t;){var i;t=null==(r=e>0?function(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}(r,iv):function(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}(r,iv))?void 0:null===(i=r.querySelector(iw))||void 0===i?void 0:i.getAttribute(i_)}t?L.setState("value",t):B(e)}let U=void 0!==a.current,V=e=>{var t;return!U||(null===(t=e.target)||void 0===t?void 0:t.getAttribute("cmdk-input"))!==null},z=()=>
26F($().length-1),H=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";V(e)&&(e.preventDefault(),"meta"===t?z():"alt"===t?W(1):B(1))},G=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";V(e)&&(e.preventDefault(),"meta"===t?F(0):"alt"===t?W(-1):B(-1))},q={enableOnFormTags:!0};return S.useImperativeHandle(t,()=>({next:()=>B(1),nextGroup:()=>W(1),prev:()=>B(-1),prevGroup:()=>W(-1),first:()=>F(0),last:z,onSelect:()=>{let e=D();if(e){let t=new Event(ix);return e.dispatchEvent(t),!0}return!1},bounce:()=>{if(!C.current)return;let e=C.current;e.style.transform="scale(0.99)",setTimeout(()=>{e.style.transform=""},150)}}),[]),iN(()=>{j("initial-scroll-selected-into-view",N)},[]),iN(()=>{if(void 0!==u){let e=u.trim();n.current.value=e,L.emit(),j("controlled-value-change-scroll-selected-into-view",N)}},[u]),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ir,{keys:["ArrowDown"],options:{repeat:!0,enabled:!m,...q},callback:e=>H(e,"none")}),(0,k.jsx)(ir,{keys:["alt+ArrowDown"],options:{repeat:!0,enabled:!m,...q},callback:e=>H(e,"alt")}),(0,k.jsx)(ir,{keys:["mod+ArrowDown"],options:{repeat:!0,enabled:!m,...q},callback:e=>H(e,"meta")}),(0,k.jsx)(ir,{keys:["n","j"],options:{repeat:!0,enabled:!m&&p},callback:e=>H(e,"none")}),(0,k.jsx)(ir,{keys:["alt+n","alt+j"],options:{repeat:!0,enabled:!m&&p},callback:e=>H(e,"alt")}),(0,k.jsx)(ir,{keys:["ArrowUp"],options:{repeat:!0,enabled:!m,...q},callback:e=>G(e,"none")}),(0,k.jsx)(ir,{keys:["alt+ArrowUp"],options:{repeat:!0,enabled:!m,...q},callback:e=>G(e,"alt")}),(0,k.jsx)(ir,{keys:["mod+ArrowUp"],options:{repeat:!0,enabled:!m,...q},callback:e=>G(e,"meta")}),(0,k.jsx)(ir,{keys:["p","k"],options:{repeat:!0,enabled:!m&&p},callback:e=>G(e,"none")}),(0,k.jsx)(ir,{keys:["alt+p","alt+k"],options:{repeat:!0,enabled:!m&&p},callback:e=>G(e,"alt")}),(0,k.jsx)(ir,{keys:["Home"],options:{enabled:!m,...q},callback:e=>{V(e)&&F(0)}}),(0,k.jsx)(ir,{keys:["End"],options:{enabled:!m,...q},callback:e=>{V(e)&&z()}}),(0,k.jsx)(ir,{keys:["Enter"],options:{enabled:!m,...q},callback:e=>{if(V(e)&&!e.isComposing&&229!==e.keyCode){e.preventDefault();let t=D();if(t){let n=new Event(ix,e);t.dispatchEvent(n)}}}}),(0,k.jsxs)("div",{ref:C,tabIndex:-1,className:(0,el.cn)("outline-none",c),...w,"cmdk-root":"",children:[(0,k.jsx)("label",{"cmdk-label":"",htmlFor:A.inputId,id:A.labelId,style:iU,children:l}),iW(e,e=>(0,k.jsx)(iC.Provider,{value:L,children:(0,k.jsx)(iS.Provider,{value:A,children:e})}))]})]})}),iA=S.forwardRef(function(e,t){var n,r;let i=(0,S.useId)(),o=S.useRef(null),a=S.useContext(ij),s=iE(),l=function(e){let t=S.useRef(e);return iN(()=>{t.current=e}),t}(e),u=null!==(r=null===(n=l.current)||void 0===n?void 0:n.forceMount)&&void 0!==r?r:null==a?void 0:a.forceMount;iN(()=>{if(!u)return s.item(i,null==a?void 0:a.id)},[u]);let c=iF(i,o,[e.value,e.children,o],e.keywords,e.scoreModifier),d=iT(),p=i$(e=>e.value&&e.value===c.current),f=i$(e=>!!u||!1===s.filter()||!e.search||(e.filtered.items.get(i)||0)>0);function h(e){c.current&&d.setState("value",c.current,!0,e)}S.useEffect(()=>{let t=o.current;if(t&&!e.disabled)return t.addEventListener(ix,n),()=>t.removeEventListener(ix,n);function n(){var e,t;h(),c.current&&(null===(e=(t=l.current).onSelect)||void 0===e||e.call(t,c.current))}},[f,e.onSelect,e.disabled]);let{disabled:m,disableOnClick:g,style:v,value:y,onSelect:b,forceMount:w,keywords:x,scoreModifier:_,...E}=e,C=e=>{if(!m&&!g&&!e.defaultPrevented&&(h(e),c.current)){var t,n;null===(t=(n=l.current).onSelect)||void 0===t||t.call(n,c.current,e)}};return(0,k.jsx)("div",{ref:iD([o,t]),...E,"data-render":f,style:{...v,display:f?void 0:"none"},id:i,"cmdk-item":"",tabIndex:0,role:"option","aria-disabled":!!m,"aria-selected":!!p,"data-disabled":!!m,"data-selected":!!p,onPointerMove:m||s.getDisablePointerSelection()?void 0:h,onFocus:m||s.getDisablePointerSelection()||p?void 0:()=>h(),onBlur:m||s.getDisablePointerSelection()||!p?void 0:function(){c.current&&d.setState("value",void 0,!0)},onClick:C,onAuxClick:C,children:e.children})}),iO=S.forwardRef(function(e,t){let{heading:n,forceMount:r,...i}=e,o=(0,S.useId)(),a=S.useRef(null),s=S.useRef(null),l=(0,S.useId)(),u=iE(),c=i$(e=>
26!!r||!1===u.filter()||!e.search||e.filtered.groups.has(o));iN(()=>u.group(o),[]),iF(o,a,[e.value,e.heading,s]);let d=S.useMemo(()=>({id:o,forceMount:r}),[r]);return(0,k.jsxs)("div",{ref:iD([a,t]),...i,"cmdk-group":"",role:"presentation",hidden:!c||void 0,children:[n&&(0,k.jsx)("div",{ref:s,"cmdk-group-heading":"","aria-hidden":!0,id:l,children:n}),iW(e,e=>(0,k.jsx)("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?l:void 0,children:(0,k.jsx)(ij.Provider,{value:d,children:e})}))]})}),iP=S.forwardRef(function(e,t){let{alwaysRender:n,...r}=e,i=S.useRef(null),o=i$(e=>!e.search);return n||o?(0,k.jsx)("div",{ref:iD([i,t]),...r,"cmdk-separator":"",role:"separator"}):null}),iR=S.forwardRef(function(e,t){let{onValueChange:n,...r}=e,i=(0,S.useId)(),o=null!=e.value,a=iT(),s=i$(e=>e.search),l=i$(e=>e.value),u=iE(),c=S.useMemo(()=>{var e;if(!l)return;let t=null===(e=u.listInnerRef.current)||void 0===e?void 0:e.querySelector("".concat(ib,"[").concat(i_,'="').concat(encodeURIComponent(l),'"]'));return null==t?void 0:t.getAttribute("id")},[]);return S.useEffect(()=>{null!=e.value&&a.setState("search",e.value)},[e.value]),iN(()=>u.input(i),[]),(0,k.jsx)("input",{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":u.listId,"aria-labelledby":u.labelId,"aria-activedescendant":null!=c?c:void 0,id:i,type:"text",value:o?e.value:s,onChange:e=>{o||a.setState("search",e.target.value),null==n||n(e.target.value)}})}),iM=Object.assign(iL,{List:S.forwardRef(function(e,t){let{label:n="Suggestions",...r}=e,i=iE();return(0,k.jsx)("div",{ref:iD([t,i.listInnerRef]),...r,"cmdk-list":"",role:"listbox","aria-label":n,id:i.listId,children:iW(e,e=>(0,k.jsx)(k.Fragment,{children:e}))})}),Item:iA,Input:iR,Group:iO,Separator:iP,Empty:S.forwardRef(function(e,t){return i$(e=>0===e.filtered.count)?(0,k.jsx)("div",{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null}),Loading:S.forwardRef(function(e,t){let{progress:n,label:r="Loading...",...i}=e;return(0,k.jsx)("div",{ref:t,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":r,children:iW(e,e=>(0,k.jsx)("div",{"aria-hidden":!0,children:e}))})})}),iN=S.useLayoutEffect;function iI(e){let t=S.useRef();return void 0===t.current&&(t.current=e()),t}function iD(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}function i$(e){let t=iT(),n=()=>e(t.snapshot());return S.useSyncExternalStore(null==t?void 0:t.subscribe,n,n)}function iF(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=S.useRef(),a=iE();return iN(()=>{let s=(()=>{for(let t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&t&&"current"in t){if(t.current){var e;return null===(e=t.current.textContent)||void 0===e?void 0:e.trim()}return o.current}}})(),l=r.map(e=>e.trim());if(s){var u;a.value(e,s,l,i),null===(u=t.current)||void 0===u||u.setAttribute(i_,s),o.current=s}}),o}let iB=()=>{let[e,t]=S.useState(),n=iI(()=>new Map);return iN(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function iW(e,t){let{asChild:n,children:r}=e;return n&&S.isValidElement(r)?S.cloneElement(function(e){let t=e.type;return"function"==typeof t?t(e.props):"render"in t?t.render(e.props):e}(r),{ref:r.ref},t(r.props.children)):t(r)}let iU={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function iV(e){let{checked:t,onChange:n,disabled:r,id:i,className:o}=e;return(0,k.jsx)("input",{id:i,className:(0,el.cn)("bg-elevated border-primary h-5 w-5 max-w-xs cursor-pointer rounded border focus:border-blue-500 focus:ring-2 focus:ring-blue-100 focus:ring-offset-0 dark:focus:border-blue-400 dark:focus:ring-blue-600/20",o),type:"checkbox",onChange:e=>null==n?void 0:n(e.target.checked),checked:t,disabled:r})}var iz="focusScope.autoFocusOnMount",iH="focusScope.autoFocusOnUnmount",iG={bubbles:!1,cancelable:!0},iq=S.forwardRef((e,t)=>
26{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=S.useState(null),u=(0,eK.W)(i),c=(0,eK.W)(o),d=S.useRef(null),p=(0,eY.e)(t,e=>l(e)),f=S.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;S.useEffect(()=>{if(r){let e=function(e){if(f.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:iJ(d.current,{select:!0})},t=function(e){if(f.paused||!s)return;let t=e.relatedTarget;null===t||s.contains(t)||iJ(d.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&iJ(s)});return s&&n.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,s,f.paused]),S.useEffect(()=>{if(s){iZ.add(f);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(iz,iG);s.addEventListener(iz,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(iJ(r,{select:t}),document.activeElement!==n)return}(iX(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&iJ(s))}return()=>{s.removeEventListener(iz,u),setTimeout(()=>{let t=new CustomEvent(iH,iG);s.addEventListener(iH,c),s.dispatchEvent(t),t.defaultPrevented||iJ(e??document.body,{select:!0}),s.removeEventListener(iH,c),iZ.remove(f)},0)}}},[s,u,c,f]);let h=S.useCallback(e=>{if(!n&&!r||f.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,o]=function(e){let t=iX(e);return[iY(t,e),iY(t.reverse(),e)]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&iJ(o,{select:!0})):(e.preventDefault(),n&&iJ(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,f.paused]);return(0,k.jsx)(eZ.WV.div,{tabIndex:-1,...a,ref:p,onKeyDown:h})});function iX(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function iY(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function iJ(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}iq.displayName="FocusScope";var iZ=(u=[],{add(e){let t=u[0];e!==t&&t?.pause(),(u=iK(u,e)).unshift(e)},remove(e){u=iK(u,e),u[0]?.resume()}});function iK(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var iQ=0;function i0(){S.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??i1()),document.body.insertAdjacentElement("beforeend",e[1]??i1()),iQ++,()=>{1===iQ&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),iQ--}},[])}function i1(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var i5=function(){return(i5=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i2(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}"function"==typeof SuppressedError&&SuppressedError;var i4="right-scroll-bar-position",i3="width-before-scroll-bar",i7=(void 0===p&&(p={}),(void 0===f&&(f=function(e){return e}),h=[],m=!1,g={read:function(){if(m)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return h.length?h[h.length-1]:null},useMedium:function(e){var t=f(e,m);return h.push(t),function(){h=h.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(m=!0;h.length;){var t=h;h=[],t.forEach(e)}
26h={push:function(t){return e(t)},filter:function(){return h}}},assignMedium:function(e){m=!0;var t=[];if(h.length){var n=h;h=[],n.forEach(e),t=h}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),h={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),h}}}}).options=i5({async:!0,ssr:!1},p),g),i9=function(){},i6=S.forwardRef(function(e,t){var n,r,i,o=S.useRef(null),a=S.useState({onScrollCapture:i9,onWheelCapture:i9,onTouchMoveCapture:i9}),s=a[0],l=a[1],u=e.forwardProps,c=e.children,d=e.className,p=e.removeScrollBar,f=e.enabled,h=e.shards,m=e.sideCar,g=e.noIsolation,v=e.inert,y=e.allowPinchZoom,b=e.as,w=e.gapMode,x=i2(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=(n=[o,t],r=function(e){return n.forEach(function(t){return"function"==typeof t?t(e):t&&(t.current=e),t})},(i=(0,S.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,i.facade),k=i5(i5({},x),s);return S.createElement(S.Fragment,null,f&&S.createElement(m,{sideCar:i7,removeScrollBar:p,shards:h,noIsolation:g,inert:v,setCallbacks:l,allowPinchZoom:!!y,lockRef:o,gapMode:w}),u?S.cloneElement(S.Children.only(c),i5(i5({},k),{ref:_})):S.createElement(void 0===b?"div":b,i5({},k,{className:d,ref:_}),c))});i6.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},i6.classNames={fullWidth:i3,zeroRight:i4};var i8=function(e){var t=e.sideCar,n=i2(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return S.createElement(r,i5({},n))};i8.isSideCarExport=!0;var oe=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=_||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ot=function(){var e=oe();return function(t,n){S.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},on=function(){var e=ot();return function(t){return e(t.styles,t.dynamic),null}},or={left:0,top:0,right:0,gap:0},oi=function(e){return parseInt(e||"",10)||0},oo=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[oi(n),oi(r),oi(i)]},oa=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return or;var t=oo(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},os=on(),ol="data-scroll-locked",ou=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(s,"px ").concat(r,";\n  }\n  body[").concat(ol,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(i4," {\n    right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(i3," {\n    margin-right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(i4," .").concat(i4," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(i3," .").concat(i3," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(ol,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},oc=function(){var e=parseInt(document.body.getAttribute(ol)||"0",10);return isFinite(e)?e:0},od=function(){S.useEffect(function(){return document.body.setAttribute(ol,(oc()+1).toString()),function(){var e=oc()-1;e<=0?document.body.removeAttribute(ol):document.body.setAttribute(ol,e.toString())}},[])},op=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;od();var o=S.useMemo(function(){return oa(i)},[i]);return S.createElement(os,{styles:ou(o,!t,i,n?"":"!important")})},of=!1;if("undefined"!=typeof window)try{var oh=Object.defineProperty({},"passive",{get:function(){return of=!0,!0}});window.addEventListener("test",oh,oh),window.removeEventListener("test",oh,oh)}catch(e){of=!1}var om=!!of&&{passive:!1},og=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},ov=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),oy(e,r)){var i=ob(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},oy=function(e,t){return"v"===e?og(t,"overflowY"):og(t,"overflowX")},ob=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ow=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,l=n.target,u=t.contains(l),c=!1,d=s>0,p=0,f=0;do{var h=ob(e,l),m=h[0],g=h[1]-h[2]-a*m;(m||g)&&oy(e,l)&&(p+=g,f+=m),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(p)||!i&&s>p)?c=!0:!d&&(i&&1>Math.abs(f)||!i&&-s>f)&&(c=!0),c},ox=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},o_=function(e){return[e.deltaX,e.deltaY]},ok=function(e){return e&&"current"in e?e.current:e},oS=0,oE=[],oC=(v=function(e){var t=S.useRef([]),n=S.useRef([0,0]),r=S.useRef(),i=S.useState(oS++)[0],o=S.useState(on)[0],a=S.useRef(e);S.useEffect(function(){a.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
26)([e.lockRef.current],(e.shards||[]).map(ok),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=S.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var i,o=ox(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=ov(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=ov(d,c)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var f=r.current||i;return ow(f,t,e,"h"===f?l:u,!0)},[]),l=S.useCallback(function(e){if(oE.length&&oE[oE.length-1]===o){var n="deltaY"in e?o_(e):ox(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(a.current.shards||[]).map(ok).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=S.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=S.useCallback(function(e){n.current=ox(e),r.current=void 0},[]),d=S.useCallback(function(t){u(t.type,o_(t),t.target,s(t,e.lockRef.current))},[]),p=S.useCallback(function(t){u(t.type,ox(t),t.target,s(t,e.lockRef.current))},[]);S.useEffect(function(){return oE.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,om),document.addEventListener("touchmove",l,om),document.addEventListener("touchstart",c,om),function(){oE=oE.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,om),document.removeEventListener("touchmove",l,om),document.removeEventListener("touchstart",c,om)}},[]);var f=e.removeScrollBar,h=e.inert;return S.createElement(S.Fragment,null,h?S.createElement(o,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,f?S.createElement(op,{gapMode:e.gapMode}):null)},i7.useMedium(v),i8),oT=S.forwardRef(function(e,t){return S.createElement(i6,i5({},e,{ref:t,sideCar:oC}))});oT.classNames=i6.classNames;var oj=new WeakMap,oL=new WeakMap,oA={},oO=0,oP=function(e){return e&&(e.host||oP(e.parentNode))},oR=function(e,t,n,r){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=oP(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});oA[n]||(oA[n]=new WeakMap);var o=oA[n],a=[],s=new Set,l=new Set(i),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(oj.get(e)||0)+1,u=(o.get(e)||0)+1;oj.set(e,l),o.set(e,u),a.push(e),1===l&&i&&oL.set(e,!0),1===u&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}})};return c(t),s.clear(),oO++,function(){a.forEach(function(e){var t=oj.get(e)-1,i=o.get(e)-1;oj.set(e,t),o.set(e,i),t||(oL.has(e)||e.removeAttribute(r),oL.delete(e)),i||e.removeAttribute(n)}),--oO||(oj=new WeakMap,oj=new WeakMap,oL=new WeakMap,oA={})}},oM=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),oR(r,i,n,"aria-hidden")):function(){return null}},oN="Dialog",[oI,oD]=(0,eJ.b)(oN),[o$,oF]=oI(oN),oB=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,s=S.useRef(null),l=S.useRef(null),[u=!1,c]=(0,nC.T)({prop:r,defaultProp:i,onChange:o});return(0,k.jsx)(o$,{scope:t,triggerRef:s,contentRef:l,contentId:(0,e4.M)(),titleId:(0,e4.M)(),descriptionId:(0,e4.M)(),open:u,onOpenChange:c,onOpenToggle:S.useCallback(()=>c(e=>!e),[c]),modal:a,children:n})};oB.displayName=oN;var oW="DialogTrigger",oU=S.forwardRef((e,t)=>
26{let{__scopeDialog:n,...r}=e,i=oF(oW,n),o=(0,eY.e)(t,i.triggerRef);return(0,k.jsx)(eZ.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":o9(i.open),...r,ref:o,onClick:(0,eX.M)(e.onClick,i.onOpenToggle)})});oU.displayName=oW;var oV="DialogPortal",[oz,oH]=oI(oV,{forceMount:void 0}),oG=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=oF(oV,t);return(0,k.jsx)(oz,{scope:t,forceMount:n,children:S.Children.map(r,e=>(0,k.jsx)(nS.z,{present:n||o.open,children:(0,k.jsx)(nk,{asChild:!0,container:i,children:e})}))})};oG.displayName=oV;var oq="DialogOverlay",oX=S.forwardRef((e,t)=>{let n=oH(oq,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=oF(oq,e.__scopeDialog);return o.modal?(0,k.jsx)(nS.z,{present:r||o.open,children:(0,k.jsx)(oY,{...i,ref:t})}):null});oX.displayName=oq;var oY=S.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=oF(oq,n);return(0,k.jsx)(oT,{as:nE.g7,allowPinchZoom:!0,shards:[i.contentRef],children:(0,k.jsx)(eZ.WV.div,{"data-state":o9(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),oJ="DialogContent",oZ=S.forwardRef((e,t)=>{let n=oH(oJ,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=oF(oJ,e.__scopeDialog);return(0,k.jsx)(nS.z,{present:r||o.open,children:o.modal?(0,k.jsx)(oK,{...i,ref:t}):(0,k.jsx)(oQ,{...i,ref:t})})});oZ.displayName=oJ;var oK=S.forwardRef((e,t)=>{let n=oF(oJ,e.__scopeDialog),r=S.useRef(null),i=(0,eY.e)(t,n.contentRef,r);return S.useEffect(()=>{let e=r.current;if(e)return oM(e)},[]),(0,k.jsx)(o0,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,eX.M)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,eX.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,eX.M)(e.onFocusOutside,e=>e.preventDefault())})}),oQ=S.forwardRef((e,t)=>{let n=oF(oJ,e.__scopeDialog),r=S.useRef(!1),i=S.useRef(!1);return(0,k.jsx)(o0,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let o=t.target;n.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),o0=S.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,s=oF(oJ,n),l=S.useRef(null),u=(0,eY.e)(t,l);return i0(),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(iq,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,k.jsx)(e1,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":o9(s.open),...a,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(at,{titleId:s.titleId}),(0,k.jsx)(an,{contentRef:l,descriptionId:s.descriptionId})]})]})}),o1="DialogTitle",o5=S.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=oF(o1,n);return(0,k.jsx)(eZ.WV.h2,{id:i.titleId,...r,ref:t})});o5.displayName=o1;var o2="DialogDescription",o4=S.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=oF(o2,n);return(0,k.jsx)(eZ.WV.p,{id:i.descriptionId,...r,ref:t})});o4.displayName=o2;var o3="DialogClose",o7=S.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=oF(o3,n);return(0,k.jsx)(eZ.WV.button,{type:"button",...r,ref:t,onClick:(0,eX.M)(e.onClick,()=>i.onOpenChange(!1))})});function o9(e){return e?"open":"closed"}o7.displayName=o3;var o6="DialogTitleWarning",[o8,ae]=(0,eJ.k)(o6,{contentName:oJ,titleName:o1,docsSlug:"dialog"}),at=({titleId:e})=>{let t=ae(o6),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
27
28If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
29
30For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return S.useEffect(()=>{e&&!document.getElementById(e)&&console.error(n)},[n,e]),null},an=({contentRef:e,descriptionId:t})=>{let n=ae("DialogDescriptionWarning"),r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return S.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&!document.getElementById(t)&&console.warn(r)},[r,e,t]),null};function ar(e){let t,{children:n,size:r="base",fillHeight:i=!1,align:o="center",open:a,onOpenChange:s,onKeyDown:l,trigger:u,portalContainer:c,onPointerDownOutside:d,onInteractOutside:p,visuallyHiddenTitle:f,visuallyHiddenDescription:h,disableDescribedBy:m=!1}=e,g=(0,es.Cu)(),v=(0,S.useRef)(null);switch(r){case"xs":t="max-w-[calc(100vw-32px)] sm:max-w-xs";break;case"sm":t="max-w-[calc(100vw-32px)] sm:max-w-sm";break;default:case"base":t="max-w-[calc(100vw-32px)] sm:max-w-md";break;case"lg":t="max-w-[calc(100vw-32px)] sm:max-w-lg";break;case"xl":t="max-w-[calc(100vw-32px)] sm:max-w-xl";break;case"2xl":t="max-w-[calc(100vw-32px)] sm:max-w-2xl";break;case"3xl":t="max-w-[calc(100vw-32px)] sm:max-w-3xl";break;case"fit":t="max-w-[calc(100vw-32px)] w-fit";break;case"full":t="max-w-[calc(100vw-32px)] sm:max-w-[calc(100vw-32px)]";break;case"cover":t="w-full"}function y(e){if(s(e),!e){var t;null===(t=document.activeElement)||void 0===t||t.blur()}}let b="full"===r||"cover"===r,w=c?document.getElementById(c):document.body,[x,_]=(0,S.useState)(void 0);return(0,S.useLayoutEffect)(()=>{var e;if("top"!==o||"cover"===r)return;let t=()=>{var e,t;
30(null===(e=window.visualViewport)||void 0===e?void 0:e.height)!==window.innerHeight&&_(null===(t=window.visualViewport)||void 0===t?void 0:t.height)};return null===(e=window.visualViewport)||void 0===e||e.addEventListener("resize",t),()=>{var e;return null===(e=window.visualViewport)||void 0===e?void 0:e.removeEventListener("resize",t)}},[o,_,r]),(0,k.jsxs)(oB,{open:a,onOpenChange:y,modal:!c,children:[u&&(0,k.jsx)(oU,{asChild:!0,children:u}),a&&(0,k.jsxs)(oG,{forceMount:!0,container:w,children:[(0,k.jsx)(oX,{asChild:!0,children:(0,k.jsx)("div",{className:(0,el.cn)("animate-backdrop fixed inset-0 bg-black/20 dark:bg-black/60")})}),(0,k.jsx)(iu,{children:(0,k.jsx)(oZ,{asChild:!0,ref:v,"disable-escape-layered-hotkeys":"",onKeyDown:e=>{null==l||l(e),e.defaultPrevented||"Escape"!==e.key||(e.preventDefault(),y(!1))},onInteractOutside:p,onPointerDownOutside:e=>{var t;if(d)return d(e);if(!v.current)return;let n=null===(t=v.current)||void 0===t?void 0:t.getBoundingClientRect();e.detail.originalEvent.clientX>n.left&&e.detail.originalEvent.clientX<n.left+n.width&&e.detail.originalEvent.clientY>n.top&&e.detail.originalEvent.clientY<n.top+n.height&&e.preventDefault();let r=e.target;r&&r.hasAttribute("data-grammarly-shadow-root")&&e.preventDefault()},onOpenAutoFocus:e=>{if(!v.current)return;let t=v.current.querySelector('[data-autofocus="true"]');t&&"focus"in t&&"function"==typeof t.focus&&(e.preventDefault(),t.focus())},...m?{"aria-describedby":void 0}:{},children:(0,k.jsxs)("div",{onBlur:e=>{e.stopPropagation(),e.preventDefault()},className:(0,el.cn)("transition-all","fixed left-1/2 isolate w-full -translate-x-1/2 focus:outline-0","flex flex-col",t,"top"===o&&"cover"!==r?i?"top-[4dvh] h-full max-h-[calc(100dvh-env(safe-area-inset-bottom,0)-8vh)]":"top-[10vh] max-h-[calc(100dvh-env(safe-area-inset-bottom,0)-20vh)]":"top-1/2 -translate-y-1/2","cover"!==r&&"top"!==o&&(g?"max-h-[calc(100dvh-env(safe-area-inset-bottom,0)-env(safe-area-inset-top,0)-64px)]":"max-h-[calc(100dvh-env(safe-area-inset-bottom,0)-env(safe-area-inset-top,0)-32px)]"),b?"h-screen":i?void 0:"h-auto",{"bg-elevated shadow-popover rounded-lg dark:bg-gray-900 dark:shadow-[inset_0_0.5px_0_rgb(255_255_255_/_0.08),_inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]":"cover"!==r,"pt-8":g&&"full"===r,"bg-primary":"cover"===r}),style:{maxHeight:x?"calc(".concat(x,"px - 12vh)"):void 0},children:[f&&(0,k.jsx)(nT,{asChild:!0,children:(0,k.jsx)(o5,{children:f})}),h&&(0,k.jsx)(nT,{asChild:!0,children:(0,k.jsx)(o4,{children:h})}),n]})})})]})]})}function ai(e){let{className:t,...n}=e;return(0,k.jsx)("header",{className:(0,el.cn)("flex-none rounded-t-lg p-4 text-sm",t),...n})}function ao(e){let{className:t,...n}=e;return(0,k.jsx)(o5,{className:(0,el.cn)("flex-1 font-semibold",t),...n})}function aa(e){let{className:t,...n}=e;return(0,k.jsx)(o4,{className:(0,el.cn)("text-secondary",t),...n})}function as(e){let{className:t,...n}=e;return(0,k.jsx)("div",{className:(0,el.cn)("initial:p-4 initial:pt-0 flex flex-1 flex-col overflow-y-auto",t),...n})}function al(e){let{variant:t="primary",className:n,...r}=e;return(0,k.jsx)("footer",{className:(0,el.cn)("flex items-center rounded-b-lg border-t p-3",n,{"bg-secondary":"secondary"==t}),...r})}function au(e){let{className:t,...n}=e;return(0,k.jsx)("div",{className:(0,el.cn)("flex flex-1 items-center justify-end gap-2",t),...n})}let ac=Object.assign({},{Root:ar,Header:ai,Title:ao,Description:aa,Content:as,Footer:al,LeadingActions:function(e){let{className:t,...n}=e;return(0,k.jsx)("div",{className:(0,el.cn)("flex flex-1 items-center justify-start gap-2",t),...n})},TrailingActions:au,CloseButton:function(e){let{className:t,...n}=e;return(0,k.jsx)(o7,{tabIndex:-1,asChild:!0,children:(0,k.jsx)(n7,{className:(0,el.cn)("absolute right-3 top-3",t),variant:"plain",iconOnly:(0,k.jsx)(L,{strokeWidth:"2"}),accessibilityLabel:"Close",tooltip:"Close",tooltipShortcut:"Esc",...n})})}}),ad=(0,S.createContext)(null);function ap(){let e=(0,S.useContext)(ad);if(!e)throw Error("ConfirmDialog subcomponents must be used within a ConfirmDialog.Root");return e}function af(e){let{children:t}=e;return t?(0,k.jsx)("p",{className:"border-l-2 border-red-600 pl-2 text-left text-sm text-red-600",children:t}):null}Object.assign({},{Root:function(e){let{children:t,onConfirm:n,isLoading:r=!1}=e,[i,o]=(0,S.useState)(!1);return(0,k.jsx)(ad.Provider,{value:{open:i,setOpen:o,onConfirm:n,isLoading:r,handleOpenChange:function(e){o(e)}},children:t})},Trigger:function(e){let{variant:t="base",...n}=e,{setOpen:r}=ap();return(0,k.jsx)(n7,{variant:t,onClick:()=>r(!0),...n})},Dialog:function(e){let{title:t,description:n,confirmLabel:r="Confirm",dialogProps:i={size:"base"}}=e,{open:o,handleOpenChange:a,onConfirm:s,isLoading:l,setOpen:u}=ap();return(0,k.jsxs)(ar,{open:o,onOpenChange:a,...i,children:[(0,k.jsx)(ai,{children:(0,k.jsx)(ao,{children:t})}),(0,k.jsx)(as,{children:(0,k.jsx)(aa,{className:"text-sm",children:n})}),(0,k.jsx)(al,{children:(0,k.jsxs)(au,{children:[(0,k.jsx)(n7,{variant:"flat",onClick:()=>u(!1),disabled:l,children:"Cancel"}),(0,k.jsx)(n7,{variant:"destructive",onClick:()=>s(a),disabled:l,loading:l,autoFocus:!0,children:r})]})})]})}});var ah="Popover",[am,ag]=(0,eJ.b)(ah,[na]),av=na(),[ay,ab]=am(ah),aw="PopoverAnchor";S.forwardRef((e,t)=>
30{let{__scopePopover:n,...r}=e,i=ab(aw,n),o=av(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=i;return S.useEffect(()=>(a(),()=>s()),[a,s]),(0,k.jsx)(nd,{...o,...r,ref:t})}).displayName=aw;var ax="PopoverTrigger";S.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=ab(ax,n),o=av(n),a=(0,eY.e)(t,i.triggerRef),s=(0,k.jsx)(eZ.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":aA(i.open),...r,ref:a,onClick:(0,eX.M)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,k.jsx)(nd,{asChild:!0,...o,children:s})}).displayName=ax;var[a_,ak]=am("PopoverPortal",{forceMount:void 0}),aS="PopoverContent",aE=S.forwardRef((e,t)=>{let n=ak(aS,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=ab(aS,e.__scopePopover);return(0,k.jsx)(nS.z,{present:r||o.open,children:o.modal?(0,k.jsx)(aC,{...i,ref:t}):(0,k.jsx)(aT,{...i,ref:t})})});aE.displayName=aS;var aC=S.forwardRef((e,t)=>{let n=ab(aS,e.__scopePopover),r=S.useRef(null),i=(0,eY.e)(t,r),o=S.useRef(!1);return S.useEffect(()=>{let e=r.current;if(e)return oM(e)},[]),(0,k.jsx)(oT,{as:nE.g7,allowPinchZoom:!0,children:(0,k.jsx)(aj,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,eX.M)(e.onCloseAutoFocus,e=>{e.preventDefault(),o.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,eX.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;o.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,eX.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),aT=S.forwardRef((e,t)=>{let n=ab(aS,e.__scopePopover),r=S.useRef(!1),i=S.useRef(!1);return(0,k.jsx)(aj,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let o=t.target;n.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),aj=S.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=ab(aS,n),f=av(n);return i0(),(0,k.jsx)(iq,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,k.jsx)(e1,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1),children:(0,k.jsx)(ng,{"data-state":aA(p.open),role:"dialog",id:p.contentId,...f,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),aL="PopoverClose";function aA(e){return e?"open":"closed"}S.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=ab(aL,n);return(0,k.jsx)(eZ.WV.button,{type:"button",...r,ref:t,onClick:(0,eX.M)(e.onClick,()=>i.onOpenChange(!1))})}).displayName=aL,S.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=av(n);return(0,k.jsx)(nb,{...i,...r,ref:t})}).displayName="PopoverArrow";let aO=S.createContext({drawerRef:{current:null},overlayRef:{current:null},scaleBackground:()=>{},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,handleOnly:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},visible:!1,closeDrawer:()=>{},setVisible:()=>{},direction:"bottom"}),aP=()=>{let e=S.useContext(aO);if(!e)throw Error("useDrawerContext must be used within a Drawer.Root");return e};!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}("[vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1)}[vaul-drawer][vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[vaul-drawer][vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[vaul-drawer][vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[vaul-drawer][vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}.vaul-dragging .vaul-scrollable [vault-drawer-direction=top]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=bottom]{overflow-y:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=left]{overflow-x:hidden!important}.vaul-dragging .vaul-scrollable [vault-drawer-direction=right]{overflow-x:hidden!important}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[vaul-drawer][vaul-drawer-visible=true][vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[vaul-overlay]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[vaul-overlay][vaul-drawer-visible=true]{opacity:1}[vaul-drawer]::after{content:'';position:absolute;background:inherit;background-color:inherit}[vaul-drawer][vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[vaul-drawer][vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[vaul-drawer][vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[vaul-handle]{display:block;position:relative;opacity:.8;margin-left:auto;margin-right:auto;height:5px;width:56px;border-radius:1rem;touch-action:pan-y;cursor:grab}[vaul-handle]:active,[vaul-handle]:hover{opacity:1}[vaul-handle]:active{cursor:grabbing}[vaul-handle-hitarea]{position:absolute;
30left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}[vaul-overlay][vaul-snap-points=true]:not([vaul-snap-points-overlay=true]):not([data-state=closed]){opacity:0}[vaul-overlay][vaul-snap-points-overlay=true]:not([vaul-drawer-visible=false]){opacity:1}@media (hover:hover) and (pointer:fine){[vaul-drawer]{user-select:none}}@media (pointer:fine){[vaul-handle-hitarea]:{width:100%;height:100%}}"),"undefined"!=typeof window?S.useLayoutEffect:S.useEffect;function aR(e){return"undefined"!=typeof window&&null!=window.navigator?e.test(window.navigator.platform):void 0}function aM(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}"undefined"!=typeof document&&window.visualViewport;let aN=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function aI(...e){return S.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}let aD=new WeakMap,a$=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};S.forwardRef(function({preventCycle:e=!1,children:t,...n},r){let{visible:i,closeDrawer:o,isDragging:a,snapPoints:s,activeSnapPoint:l,setActiveSnapPoint:u,dismissible:c,handleOnly:d,onPress:p,onDrag:f}=aP(),h=S.useRef(null),m=S.useRef(!1);function g(){window.clearTimeout(h.current),m.current=!1}return S.createElement("div",{onClick:function(){if(m.current){g();return}window.setTimeout(()=>{(function(){if(a||e||m.current){g();return}if(g(),(!s||0===s.length)&&c||l===s[s.length-1]&&c){o();return}let t=s.findIndex(e=>e===l);-1!==t&&u(s[t+1])})()},120)},onDoubleClick:()=>{m.current=!0,o()},onPointerCancel:g,onPointerDown:e=>{d&&p(e),h.current=window.setTimeout(()=>{m.current=!0},250)},onPointerMove:e=>{d&&f(e)},ref:r,"vaul-drawer-visible":i?"true":"false","vaul-handle":"","aria-hidden":"true",...n},S.createElement("span",{"vaul-handle-hitarea":"","aria-hidden":"true"},t))}).displayName="Drawer.Handle";let aF=S.forwardRef(function({children:e,...t},n){let{overlayRef:r,snapPoints:i,onRelease:o,shouldFade:a,isOpen:s,visible:l}=aP(),u=aI(n,r),c=i&&i.length>0;return S.createElement(oX,{onMouseUp:o,ref:u,"vaul-drawer-visible":l?"true":"false","vaul-overlay":"","vaul-snap-points":s&&c?"true":"false","vaul-snap-points-overlay":s&&a?"true":"false",...t})});aF.displayName="Drawer.Overlay";let aB=S.forwardRef(function({onOpenAutoFocus:e,onPointerDownOutside:t,onAnimationEnd:n,style:r,...i},o){let{drawerRef:a,onPress:s,onRelease:l,onDrag:u,dismissible:c,keyboardIsOpen:d,snapPointsOffset:p,visible:f,closeDrawer:h,modal:m,openProp:g,onOpenChange:v,setVisible:y,handleOnly:b,direction:w}=aP(),x=aI(o,a),_=S.useRef(null),k=S.useRef(!1),E=(e,t,n=0)=>
30{if(k.current)return!0;let r=Math.abs(e.y),i=Math.abs(e.x),o=i>r,a=["bottom","right"].includes(t)?1:-1;if("left"===t||"right"===t){if(!(e.x*a<0)&&i>=0&&i<=n)return o}else if(!(e.y*a<0)&&r>=0&&r<=n)return!o;return k.current=!0,!0};return S.useEffect(()=>{y(!0)},[]),S.createElement(oZ,{"vaul-drawer":"","vaul-drawer-direction":w,"vaul-drawer-visible":f?"true":"false",...i,ref:x,style:p&&p.length>0?{"--snap-point-height":`${p[0]}px`,...r}:r,onOpenAutoFocus:t=>{if(e)e(t);else{var n;t.preventDefault(),null==(n=a.current)||n.focus()}},onPointerDown:e=>{b||(null==i.onPointerDown||i.onPointerDown.call(i,e),_.current={x:e.clientX,y:e.clientY},s(e))},onPointerDownOutside:e=>{if(null==t||t(e),!m||e.defaultPrevented){e.preventDefault();return}d.current&&(d.current=!1),e.preventDefault(),null==v||v(!1),c&&void 0===g&&h()},onFocusOutside:e=>{if(!m){e.preventDefault();return}},onEscapeKeyDown:e=>{if(!m){e.preventDefault();return}},onPointerMove:e=>{if(b||(null==i.onPointerMove||i.onPointerMove.call(i,e),!_.current))return;let t=e.clientY-_.current.y,n=e.clientX-_.current.x,r="touch"===e.pointerType?10:2;E({x:n,y:t},w,r)?u(e):(Math.abs(n)>r||Math.abs(t)>r)&&(_.current=null)},onPointerUp:e=>{null==i.onPointerUp||i.onPointerUp.call(i,e),_.current=null,k.current=!1,l(e)}})});aB.displayName="Drawer.Content";let aW={Content:aB,Overlay:aF},aU=S.createContext({sheet:!1,open:!1,onOpenChange(){}});function aV(e){let t=new Date(e);if(!Number.isNaN(t.valueOf()))return t;let n=String(e).match(/\d+/g);if(null==n||n.length<=2)return t;{let[e,t,...r]=n.map(e=>parseInt(e));return new Date(Date.UTC(e,t-1,...r))}}function az(e,t,n){return e+" "+(1!==e?t+"s":t)+" "+n}function aH(){return(aH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}S.forwardRef((e,t)=>{let{className:n,align:r="center",sideOffset:i=4,children:o,collisionPadding:a=8,addDismissibleLayer:s=!1,...l}=e,u=S.useContext(aU),c=u.sheet?aW.Content:aE,d=u.sheet?aW.Overlay:e=>{let{children:t}=e;return(0,k.jsx)(S.Fragment,{children:t})};return(0,k.jsxs)(S.Fragment,{children:[(0,k.jsx)(d,{className:"fixed inset-0 bg-black/20 dark:bg-black/60"}),(0,k.jsx)(el.Qy,{condition:s,wrap:e=>(0,k.jsx)(iu,{children:e}),children:(0,k.jsx)(c,{"disable-escape-layered-hotkeys":"",ref:t,align:r,sideOffset:i,className:(0,el.cn)(u.sheet&&"bg-elevated pb-safe-offset-1 fixed inset-x-0 bottom-0 -mb-10 rounded-t-xl",!u.sheet&&"max-h-[--radix-popper-available-height] max-w-[--radix-popper-available-width]",el.ZG.animation,"!outline-none focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0",n),collisionPadding:a,...l,children:(0,k.jsxs)("div",{children:[u.sheet&&(0,k.jsx)("div",{className:"flex cursor-grab justify-center p-3 pt-1",children:(0,k.jsx)("div",{className:"h-1 w-8 rounded-full bg-[--text-primary] opacity-20"})}),o,u.sheet&&(0,k.jsx)("div",{className:"h-10"})]})})})]})}).displayName=aE.displayName;let aG=()=>Date.now();function aq({date:e,formatter:t=az,component:n="time",live:r=!0,minPeriod:i=0,maxPeriod:o=604800,title:a,now:s=aG,...l}){let[u,c]=(0,S.useState)(s());(0,S.useEffect)(()=>{if(!r)return;let t=(()=>{let t=aV(e).valueOf();if(!t)return console.warn("[react-timeago] Invalid Date provided"),0;let n=Math.round(Math.abs(u-t)/1e3),r=Math.min(Math.max(n<60?1e3:n<3600?6e4:n<86400?36e5:6048e5,1e3*i),1e3*o);return r?setTimeout(()=>{c(s())},r):0})();return()=>{t&&clearTimeout(t)}},[e,r,o,i,s,u]);let d=aV(e).valueOf();if(!d)return null;let p=Math.round(Math.abs(u-d)/1e3),f=d<u?"ago":"from now",[h,m]=p<60?[Math.round(p),"second"]:p<3600?[Math.round(p/60),"minute"]:p<86400?[Math.round(p/3600),"hour"]:p<604800?[Math.round(p/86400),"day"]:p<2592e3?[Math.round(p/604800),"week"]:p<31536e3?[Math.round(p/2592e3),"month"]:[Math.round(p/31536e3),"year"],g=void 0===a?"string"==typeof e?e:aV(e).toISOString().substr(0,16).replace("T"," "):a,v="time"===n?{...l,dateTime:aV(e).toISOString()}:l,y=az.bind(null,h,m,f);return S.createElement(n,aH({},v,{title:g}),t(h,m,f,d,y,s))}function aX(e,t){return"second"===t?"Just now":e+t.slice(0,1)}function aY(){return(aY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}S.forwardRef((e,t)=>
30{let{time:n,className:r,...i}=e,[o,a]=(0,S.useState)(Date.now());(0,S.useEffect)(()=>{let e=setInterval(()=>{a(Date.now())},6e4);return()=>clearInterval(e)},[]);let s=Math.floor((o-new Date(n).getTime())/864e5);return(0,k.jsxs)("span",{ref:t,className:(0,el.cn)("whitespace-nowrap",r),...i,children:[s<1&&(0,k.jsx)(aq,{date:n,minPeriod:60,formatter:aX}),s>=1&&function(e){let t=new Date().getFullYear(),n=new Date(e).getFullYear();return new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:t!==n?"numeric":void 0})}(n)]})}).displayName="RelativeTime",S.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,k.jsx)(iM,{ref:t,className:(0,el.cn)("bg-elevated dark:border-primary-opaque rounded-[9px] border border-neutral-400/40 shadow-md dark:shadow-[0px_0px_0px_0.5px_rgba(0,0,0,1),_0px_4px_4px_rgba(0,0,0,0.24)]",n),...r})}).displayName="SelectCommandContainer",S.forwardRef((e,t)=>{let{...n}=e;return(0,k.jsxs)("div",{className:"flex items-center px-2.5 pt-1",children:[(0,k.jsx)("span",{className:"shrink-0 opacity-60",children:(0,k.jsx)(z,{})}),(0,k.jsx)(iM.Input,{ref:t,className:"h-8 w-full border-0 bg-transparent px-2 py-3 text-[15px] text-sm placeholder-gray-400 outline-none focus:border-black/5 focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50",...n})]})}).displayName="SelectCommandInput",S.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,k.jsx)(iM.List,{ref:t,className:(0,el.cn)("scrollbar-hide m-0 flex-1 space-y-1 overflow-y-auto overflow-x-hidden px-1",n),...r})}).displayName="SelectCommandList",S.forwardRef((e,t)=>(0,k.jsx)(iM.Empty,{ref:t,className:"text-tertiary inline-flex h-full w-full select-none items-center justify-center p-4 text-center text-[15px] text-sm",...e})).displayName="SelectCommandEmpty",S.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,k.jsx)(iM.Group,{ref:t,className:(0,el.cn)("m-0 overflow-hidden !outline-none",n),...r})}).displayName="SelectCommandGroup",S.forwardRef((e,t)=>(0,k.jsx)(iM.Loading,{ref:t,...e})).displayName="SelectCommandLoading",S.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,k.jsx)(iM.Separator,{ref:t,className:(0,el.cn)("bg-tertiary relative mx-0 my-0 h-px shrink-0 shadow-[0px_1px_0px_rgb(255_255_255_/_0.05)] dark:bg-gray-900",n),...r})}).displayName="SelectCommandSeparator",S.forwardRef((e,t)=>{let{className:n,...r}=e;return(0,k.jsx)(rY,{ref:t,className:(0,el.cn)("relative h-8 gap-1.5 text-sm font-medium",n),...r})}).displayName="SelectCommandItem";var aJ=S.useLayoutEffect,aZ=function(e){var t=S.useRef(e);return aJ(function(){t.current=e}),t},aK=function(e,t){if("function"==typeof e){e(t);return}e.current=t},aQ=function(e,t){var n=(0,S.useRef)();return(0,S.useCallback)(function(r){e.current=r,n.current&&aK(n.current,null),n.current=t,t&&aK(t,r)},[t])},a0={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"}
30,a1=function(e){Object.keys(a0).forEach(function(t){e.style.setProperty(t,a0[t],"important")})},a5=null,a2=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},a4=function(){},a3=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],a7=!!document.documentElement.currentStyle,a9=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=a3.reduce(function(e,n){return e[n]=t[n],e},{}),r=n.boxSizing;if(""===r)return null;a7&&"border-box"===r&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var i=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),o=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:i,borderSize:o}};function a6(e,t,n){var r=aZ(n);S.useLayoutEffect(function(){var n=function(e){return r.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}var a8=function(e){a6(window,"resize",e)},se=function(e){a6(document.fonts,"loadingdone",e)},st=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],sn=S.forwardRef(function(e,t){var n=e.cacheMeasurements,r=e.maxRows,i=e.minRows,o=e.onChange,a=void 0===o?a4:o,s=e.onHeightChange,l=void 0===s?a4:s,u=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,st),c=void 0!==u.value,d=S.useRef(null),p=aQ(d,t),f=S.useRef(0),h=S.useRef(),m=function(){var e,t,o,a,s,u,c,p,m,g,v,y=d.current,b=n&&h.current?h.current:a9(y);if(b){h.current=b;var w=(e=y.value||y.placeholder||"x",void 0===(t=i)&&(t=1),void 0===(o=r)&&(o=1/0),a5||((a5=document.createElement("textarea")).setAttribute("tabindex","-1"),a5.setAttribute("aria-hidden","true"),a1(a5)),null===a5.parentNode&&document.body.appendChild(a5),a=b.paddingSize,s=b.borderSize,c=(u=b.sizingStyle).boxSizing,Object.keys(u).forEach(function(e){a5.style[e]=u[e]}),a1(a5),a5.value=e,p=a2(a5,b),a5.value=e,p=a2(a5,b),a5.value="x",g=(m=a5.scrollHeight-a)*t,"border-box"===c&&(g=g+a+s),p=Math.max(g,p),v=m*o,"border-box"===c&&(v=v+a+s),[p=Math.min(v,p),m]),x=w[0],_=w[1];f.current!==x&&(f.current=x,y.style.setProperty("height",x+"px","important"),l(x,{rowHeight:_}))}};return S.useLayoutEffect(m),a8(m),se(m),S.createElement("textarea",aY({},u,{onChange:function(e){c||m(),a(e)},ref:p}))});let sr=(0,S.forwardRef)((e,t)=>{let[,n]=(0,S.useState)(!1);return(0,S.useLayoutEffect)(()=>n(!0),[]),(0,k.jsx)(sn,{...e,ref:t})});sr.displayName="TextareaAutosize";let si={data:""},so=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||si,sa=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,ss=/\/\*[^]*?\*\/|  +/g,sl=/\n+/g,su=(e,t)=>{let n="",r="",i="";for(let o in e){let a=e[o];"@"==o[0]?"i"==o[1]?n=o+" "+a+";":r+="f"==o[1]?su(a,o):o+"{"+su(a,"k"==o[1]?"":t)+"}":"object"==typeof a?r+=su(a,t?t.replace(/([^,])+/g,e=>o.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):o):null!=a&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=su.p?su.p(o,a):o+":"+a+";")}return n+(t&&i?t+"{"+i+"}":i)+r},sc={},sd=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+sd(e[n]);return t}return e},sp=(e,t,n,r,i)=>{var o;let a=sd(e),s=sc[a]||(sc[a]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(a));if(!sc[s]){let t=a!==e?e:(e=>{let t,n,r=[{}];for(;t=sa.exec(e.replace(ss,""));)t[4]?r.shift():t[3]?(n=t[3].replace(sl," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(sl," ").trim();return r[0]})(e);sc[s]=su(i?{["@keyframes "+s]:t}:t,n?"":"."+s)}let l=n&&sc.g?sc.g:null;return n&&(sc.g=sc[s]),o=sc[s],l?t.data=t.data.replace(l,o):-1===t.data.indexOf(o)&&(t.data=r?o+t.data:t.data+o),s}
30,sf=(e,t,n)=>e.reduce((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?"."+t:e&&"object"==typeof e?e.props?"":su(e,""):!1===e?"":e}return e+r+(null==o?"":o)},"");function sh(e){let t=this||{},n=e.call?e(t.p):e;return sp(n.unshift?n.raw?sf(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,so(t.target),t.g,t.o,t.k)}sh.bind({g:1});let sm,sg,sv,sy=sh.bind({k:1});function sb(e,t){let n=this||{};return function(){let r=arguments;function i(o,a){let s=Object.assign({},o),l=s.className||i.className;n.p=Object.assign({theme:sg&&sg()},s),n.o=/ *go\d+/.test(l),s.className=sh.apply(n,r)+(l?" "+l:""),t&&(s.ref=a);let u=e;return e[0]&&(u=s.as||e,delete s.as),sv&&u[0]&&sv(s),sm(u,s)}return t?t(i):i}}var sw=e=>"function"==typeof e,sx=(e,t)=>sw(e)?e(t):e,s_=(s=0,()=>(++s).toString()),sk=()=>{if(void 0===l&&"u">typeof window){let e=matchMedia("(prefers-reduced-motion: reduce)");l=!e||e.matches}return l},sS=new Map,sE=e=>{if(sS.has(e))return;let t=setTimeout(()=>{sS.delete(e),sA({type:4,toastId:e})},1e3);sS.set(e,t)},sC=e=>{let t=sS.get(e);t&&clearTimeout(t)},sT=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&sC(t.toast.id),{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:n}=t;return e.toasts.find(e=>e.id===n.id)?sT(e,{type:1,toast:n}):sT(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?sE(r):e.toasts.forEach(e=>{sE(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+i}))}}},sj=[],sL={toasts:[],pausedAt:void 0},sA=e=>{sL=sT(sL,e),sj.forEach(e=>{e(sL)})},sO=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||s_()}),sP=e=>(t,n)=>{let r=sO(t,e,n);return sA({type:2,toast:r}),r.id},sR=(e,t)=>sP("blank")(e,t);sR.error=sP("error"),sR.success=sP("success"),sR.loading=sP("loading"),sR.custom=sP("custom"),sR.dismiss=e=>{sA({type:3,toastId:e})},sR.remove=e=>sA({type:4,toastId:e}),sR.promise=(e,t,n)=>{let r=sR.loading(t.loading,{...n,...null==n?void 0:n.loading});return e.then(e=>(sR.success(sx(t.success,e),{id:r,...n,...null==n?void 0:n.success}),e)).catch(e=>{sR.error(sx(t.error,e),{id:r,...n,...null==n?void 0:n.error})}),e};var sM=sy`
31from {
32  transform: scale(0) rotate(45deg);
33	opacity: 0;
34}
35to {
36 transform: scale(1) rotate(45deg);
37  opacity: 1;
38}`,sN=sy`
39from {
40  transform: scale(0);
41  opacity: 0;
42}
43to {
44  transform: scale(1);
45  opacity: 1;
46}`,sI=sy`
47from {
48  transform: scale(0) rotate(90deg);
49	opacity: 0;
50}
51to {
52  transform: scale(1) rotate(90deg);
53	opacity: 1;
54}`,sD=sb("div")`
55  width: 20px;
56  opacity: 0;
57  height: 20px;
58  border-radius: 10px;
59  background: ${e=>e.primary||"#ff4b4b"};
60  position: relative;
61  transform: rotate(45deg);
62
63  animation: ${sM} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
64    forwards;
65  animation-delay: 100ms;
66
67  &:after,
68  &:before {
69    content: '';
70    animation: ${sN} 0.15s ease-out forwards;
71    animation-delay: 150ms;
72    position: absolute;
73    border-radius: 3px;
74    opacity: 0;
75    background: ${e=>e.secondary||"#fff"};
76    bottom: 9px;
77    left: 4px;
78    height: 2px;
79    width: 12px;
80  }
81
82  &:before {
83    animation: ${sI} 0.15s ease-out forwards;
84    animation-delay: 180ms;
85    transform: rotate(90deg);
86  }
87`,s$=sy`
88  from {
89    transform: rotate(0deg);
90  }
91  to {
92    transform: rotate(360deg);
93  }
94`,sF=sb("div")`
95  width: 12px;
96  height: 12px;
97  box-sizing: border-box;
98  border: 2px solid;
99  border-radius: 100%;
100  border-color: ${e=>e.secondary||"#e0e0e0"};
101  border-right-color: ${e=>e.primary||"#616161"};
102  animation: ${s$} 1s linear infinite;
103`,sB=sy`
104from {
105  transform: scale(0) rotate(45deg);
106	opacity: 0;
107}
108to {
109  transform: scale(1) rotate(45deg);
110	opacity: 1;
111}`,sW=sy`
1120% {
113	height: 0;
114	width: 0;
115	opacity: 0;
116}
11740% {
118  height: 0;
119	width: 6px;
120	opacity: 1;
121}
122100% {
123  opacity: 1;
124  height: 10px;
125}`,sU=sb("div")`
126  width: 20px;
127  opacity: 0;
128  height: 20px;
129  border-radius: 10px;
130  background: ${e=>e.primary||"#61d345"};
131  position: relative;
132  transform: rotate(45deg);
133
134  animation: ${sB} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
135    forwards;
136  animation-delay: 100ms;
137  &:after {
138    content: '';
139    box-sizing: border-box;
140    animation: ${sW} 0.2s ease-out forwards;
141    opacity: 0;
142    animation-delay: 200ms;
143    position: absolute;
144    border-right: 2px solid;
145    border-bottom: 2px solid;
146    border-color: ${e=>e.secondary||"#fff"};
147    bottom: 6px;
148    left: 6px;
149    height: 10px;
150    width: 6px;
151  }
152`,sV=sb("div")`
153  position: absolute;
154`,sz=sb("div")`
155  position: relative;
156  display: flex;
157  justify-content: center;
158  align-items: center;
159  min-width: 20px;
160  min-height: 20px;
161`,sH=sy`
162from {
163  transform: scale(0.6);
164  opacity: 0.4;
165}
166to {
167  transform: scale(1);
168  opacity: 1;
169}`,sG=sb("div")`
170  position: relative;
171  transform: scale(0.6);
172  opacity: 0.4;
173  min-width: 20px;
174  animation: ${sH} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
175    forwards;
176`,sq=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return void 0!==t?"string"==typeof t?S.createElement(sG,null,t):t:"blank"===n?null:S.createElement(sz,null,S.createElement(sF,{...r}),"loading"!==n&&S.createElement(sV,null,"error"===n?S.createElement(sD,{...r}):S.createElement(sU,{...r})))},sX=e=>`
1770% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}
178100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
179`,sY=e=>`
1800% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
181100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}
182`,sJ=sb("div")`
183  display: flex;
184  align-items: center;
185  background: #fff;
186  color: #363636;
187  line-height: 1.3;
188  will-change: transform;
189  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
190  max-width: 350px;
191  pointer-events: auto;
192  padding: 8px 10px;
193  border-radius: 8px;
194`,sZ=sb("div")`
195  display: flex;
196  justify-content: center;
197  margin: 4px 10px;
198  color: inherit;
199  flex: 1 1 auto;
200  white-space: pre-line;
201`,sK=(e,t)=>{let n=e.includes("top")?1:-1,[r,i]=sk()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[sX(n),sY(n)];return{animation:t?`${sy(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${sy(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}};function sQ(e){let{maxLength:t,currentLength:n,charThreshold:r}=e,i=r||.2*t,o=2*Math.PI*5,a=t-n,s=a>0?(i-a)/i*100:100,l=a<=0,u=a<=i;return u?(0,k.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,k.jsx)("span",{className:(0,el.cn)("font-mono text-xs font-medium leading-none text-transparent",{"text-blue-500":u&&!l,"text-red-600":l}),children:a}),(0,k.jsxs)("svg",{className:"h-3.5 w-3.5",children:[(0,k.jsx)("circle",{className:"origin-center -rotate-90 text-gray-300 dark:text-gray-600",strokeWidth:2,stroke:"currentColor",fill:"transparent",r:5,cx:7,cy:7}),(0,k.jsx)("circle",{className:(0,el.cn)("origin-center -rotate-90 text-blue-500",{"text-red-600":l}),strokeWidth:2,strokeDasharray:o,strokeDashoffset:o-s/100*o,strokeLinecap:"round",stroke:"currentColor",fill:"transparent",r:5,cx:7,cy:7})]})]}):null}function s0(e){let{children:t,labelHidden:n,htmlFor:r}=e;return(0,k.jsx)(eq.sm,{element:"label",secondary:!0,weight:"font-medium",className:(0,el.cn)("mb-1.5",{"sr-only":n}),size:"text-xs",htmlFor:r,children:t})}function s1(e){let{children:t}=e;return(0,k.jsx)(eq.sm,{className:"mt-2 border-l-2 border-red-600 pl-3 text-red-600",children:t})}S.memo(({toast:e,position:t,style:n,children:r})=>{let i=e.height?sK(e.position||t||"top-center",e.visible):{opacity:0},o=S.createElement(sq,{toast:e}),a=S.createElement(sZ,{...e.ariaProps},sx(e.message,e));return S.createElement(sJ,{className:e.className,style:{...i,...n,...e.style}},"function"==typeof r?r({icon:o,message:a}):S.createElement(S.Fragment,null,o,a))}),y=S.createElement,su.p=void 0,sm=y,sg=void 0,sv=void 0,sh`
202  z-index: 9999;
203  > * {
204    pointer-events: auto;
205  }
206`;let s5=(0,S.forwardRef)(function(e,t){let{label:n=null,labelHidden:r,inlineError:i,helpText:o,id:a,name:s,type:l="text",value:u,placeholder:c,required:d,minLength:p,maxLength:f,minRows:h,maxRows:m=100,autoComplete:g,autoF
206ocus:v=!1,clickToCopy:y=!1,readOnly:b=!1,onChange:w,onPaste:x,onKeyDown:_,onKeyDownCapture:E,onCommandEnter:C,onFocus:T,onBlur:j,disabled:L,multiline:A,prefix:O,indicatorThreshold:P,additionalClasses:R,containerClasses:M,inputClasses:N}=e,I=(0,S.useRef)(null),$=(0,S.useRef)(null),[F]=(0,es.m9)(),[B,W]=S.useState(0);function U(e){f&&W(e.currentTarget.value.length),w&&w(e.currentTarget.value)}function V(e){null==_||_(e),(e.metaKey||e.ctrlKey)&&"Enter"===e.key&&C&&C(e)}async function z(){let e=A?$.current:I.current;null==e||e.select(),await F(u),sR("Copied to clipboard"),y&&"function"==typeof y&&y()}let H="string"==typeof n?(0,k.jsx)(s0,{labelHidden:r,htmlFor:null!=a?a:s,children:n}):n,G=O?(0,k.jsx)("div",{className:"bg-secondary dark:bg-quaternary relative flex min-h-full items-center rounded-l-md border border-r-0 px-2",children:(0,k.jsx)(eq.sm,{tertiary:!0,children:O})}):null,q=o?(0,k.jsx)("div",{className:"text-tertiary mt-2",children:(0,k.jsx)(eq.sm,{size:"text-xs",inherit:!0,children:o})}):null,X=i?(0,k.jsx)(s1,{children:i}):null,Y=y?(0,k.jsx)(n1,{side:"top",label:"Copy",children:(0,k.jsx)("span",{className:"absolute right-px top-px",children:(0,k.jsx)(n7,{variant:"plain",iconOnly:(0,k.jsx)(D,{}),onClick:z,accessibilityLabel:"Copy to clipboard"})})}):null,J=(0,el.cn)("text-sm no-drag border-primary invalid:text-red-500 relative bg-primary dark:bg-quaternary border pl-2 w-full text-primary rounded-md h-8 placeholder-gray-400 dark:placeholder-gray-500 focus:ring-2 focus:invalid:text-primary focus:invalid:border-blue-600 focus:ring-blue-100 focus:invalid: dark:focus:ring-blue-600/40",{"border-red-600 focus:ring-red-100 bg-red-50 focus:border-red-600":i,"pr-10":y,"text-opacity-50":b,"rounded-md":!O,"rounded-l-none":O,"opacity-50":L,"overflow-y-auto scrollbar-hide":A,truncate:!A,"resize-none":!0,"pb-6":A,"pr-8":f,[null!=R?R:""]:!!R},N),Z=A?(0,k.jsx)(sr,{id:a,name:s,readOnly:b,className:J,style:{fontFeatureSettings:"'calt' 0"},value:u,placeholder:c,onChange:U,onKeyDownCapture:E,onKeyDown:V,onFocus:T,onBlur:j,onClick:y?z:void 0,required:d,autoComplete:g,autoFocus:v,ref:$,disabled:L,minRows:h,maxRows:m,maxLength:f,minLength:p}):(0,k.jsx)("input",{type:l,id:a,name:s,readOnly:b,className:J,style:{fontFeatureSettings:"'calt' 0"},value:u,placeholder:c,onChange:U,onPaste:x,onKeyDownCapture:E,onKeyDown:V,onFocus:T,onBlur:j,onClick:y?z:void 0,required:d,autoComplete:g,autoFocus:v,minLength:p,maxLength:f,ref:e=>{"function"==typeof t?t(e):t&&(t.current=e),I.current=e},disabled:L,"data-1p-ignore":!0});return(0,k.jsxs)("div",{className:(0,el.cn)("relative flex flex-col",M),children:[H,(0,k.jsxs)("div",{className:"relative flex flex-1",children:[G,Z,f&&(0,k.jsx)("div",{className:(0,el.cn)("absolute",{"bottom-2 right-2":A,"right-2 top-1/2 -translate-y-1/2":!A}),children:(0,k.jsx)(sQ,{maxLength:f,currentLength:B,charThreshold:P})}),Y]}),q,X]})})},74992:function(e,t,n){"use strict";n.d(t,{ZG:function(){return F},Qy:function(){return $},cn:function(){return D}});let r=/^\[(.+)\]$/;function i(e,t){let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}let o=/\s+/;function a(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=function e(t){let n;if("string"==typeof t)return t;let r="";for(let i=0;i<t.length;i++)t[i]&&(n=e(t[i]))&&(r&&(r+=" "),r+=n);return r}(e))&&(r&&(r+=" "),r+=t);return r}function s(e){let t=t=>t[e]||[];return t.isThemeGetter=!0,t}let l=/^\[(?:([a-z-]+):)?(.+)\]$/i,u=/^\d+\/\d+$/,c=new Set(["px","full","screen"]),d=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,p=/\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$/,f=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,h=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,m=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function g(e){return y(e)||c.has(e)||u.test(e)}function v(e){return O(e,"length",P)}function y(e){return!!e&&!Number.isNaN(Number(e))}function b(e){return O(e,"number",y)}function w(e){return!!e&&Number.isInteger(Number(e))}function x(e){return e.endsWith("%")&&y(e.slice(0,-1))}function _(e){return l.test(e)}function k(e){return d.test(e)}let S=new Set(["length","size","percentage"]);function E(e){return O(e,S,R)}function C(e){return O(e,"position",R)}let T=new Set(["image","url"]);function j(e){return O(e,T,N)}function L(e){return O(e,"",M)}function A(){return!0}function O(e,t,n){let r=l.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))}function P(e){return p.test(e)&&!f.test(e)}function R(){return!1}function M(e){return h.test(e)}function N(e){return m.test(e)}let I=function(e,...t){let n,s,l;let u=function(o){var a;return s=(n={cache:function(e){if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=new Map,r=new Map;function i(i,o){n.set(i,o),++t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}}((a=t.reduce((e,t)=>
206t(e),e())).cacheSize),splitModifiers:function(e){let t=e.separator,n=1===t.length,r=t[0],i=t.length;return function(e){let o;let a=[],s=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===s){if(c===r&&(n||e.slice(u,u+i)===t)){a.push(e.slice(l,u)),l=u+i;continue}if("/"===c){o=u;continue}}"["===c?s++:"]"===c&&s--}let u=0===a.length?e:e.substring(l),c=u.startsWith("!"),d=c?u.substring(1):u;return{modifiers:a,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:o&&o>l?o-l:void 0}}}(a),...function(e){let t=function(e){var t;let{theme:n,prefix:r}=e,o={nextPart:new Map,validators:[]};return(t=Object.entries(e.classGroups),r?t.map(([e,t])=>[e,t.map(e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[r+e,t])):e)]):t).forEach(([e,t])=>{(function e(t,n,r,o){t.forEach(t=>{if("string"==typeof t){(""===t?n:i(n,t)).classGroupId=r;return}if("function"==typeof t){if(t.isThemeGetter){e(t(o),n,r,o);return}n.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([t,a])=>{e(a,i(n,t),r,o)})})})(t,o,e,n)}),o}(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:function(e){let n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),function e(t,n){if(0===t.length)return n.classGroupId;let r=t[0],i=n.nextPart.get(r),o=i?e(t.slice(1),i):void 0;if(o)return o;if(0===n.validators.length)return;let a=t.join("-");return n.validators.find(({validator:e})=>e(a))?.classGroupId}(n,t)||function(e){if(r.test(e)){let t=r.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){let r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}}(a)}).cache.get,l=n.cache.set,u=c,c(o)};function c(e){let t=s(e);if(t)return t;let r=function(e,t){let{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=new Set;return e.trim().split(o).map(e=>{let{modifiers:t,hasImportantModifier:i,baseClassName:o,maybePostfixModifierPosition:a}=n(e),s=r(a?o.substring(0,a):o),l=!!a;if(!s){if(!a||!(s=r(o)))return{isTailwindClass:!1,originalClassName:e};l=!1}let u=(function(e){if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t})(t).join(":");return{isTailwindClass:!0,modifierId:i?u+"!":u,classGroupId:s,originalClassName:e,hasPostfixModifier:l}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,o=t+n;return!a.has(o)&&(a.add(o),i(n,r).forEach(e=>a.add(t+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,n);return l(e,r),r}return function(){return u(a.apply(null,arguments))}}(function(){let e=s("colors"),t=s("spacing"),n=s("blur"),r=s("brightness"),i=s("borderColor"),o=s("borderRadius"),a=s("borderSpacing"),l=s("borderWidth"),u=s("contrast"),c=s("grayscale"),d=s("hueRotate"),p=s("invert"),f=s("gap"),h=s("gradientColorStops"),m=s("gradientColorStopPositions"),S=s("inset"),T=s("margin"),O=s("opacity"),P=s("padding"),R=s("saturate"),M=s("scale"),N=s("sepia"),I=s("skew"),D=s("space"),$=s("translate"),F=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto",_,t],U=()=>[_,t],V=()=>["",g,v],z=()=>["auto",y,_],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",_],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[y,b],K=()=>[y,_];return{cacheSize:500,separator:":",theme:{colors:[A],spacing:[g,v],blur:["none","",k,_],brightness:Z(),borderColor:[e],borderRadius:["none","","full",k,_],borderSpacing:U(),borderWidth:V(),contrast:Z(),grayscale:Y(),hueRotate:K(),invert:Y(),gap:U(),gradientColorStops:[e],gradientColorStopPositions:[x,v],inset:W(),margin:W(),opacity:Z(),padding:U(),saturate:Z(),scale:Z(),sepia:Y(),skew:K(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",_]}
vendor: 11,042 bytes, line 206
206],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"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"],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:[...H(),_]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",w,_]}],basis:[{basis:W()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",w,_]}],"grid-cols":[{"grid-cols":[A]}],"col-start-end":[{col:["auto",{span:["full",w,_]},_]}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":[A]}],"row-start-end":[{row:["auto",{span:[w,_]},_]}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[T]}],mx:[{mx:[T]}],my:[{my:[T]}],ms:[{ms:[T]}],me:[{me:[T]}],mt:[{mt:[T]}],mr:[{mr:[T]}],mb:[{mb:[T]}],ml:[{ml:[T]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",_,t]}],"min-w":[{"min-w":[_,t,"min","max","fit"]}],"max-w":[{"max-w":[_,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[_,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[_,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[_,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[_,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,v]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",b]}],"font-family":[{font:[A]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_]}],"line-clamp":[{"line-clamp":["none",y,b]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",g,_]}],"list-image":[{"list-image":["none",_]}],"list-style-type":[{list:["none","disc","decimal",_]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[O]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[O]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",g,v]}],"underline-offset":[{"underline-offset":["auto",g,_]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[O]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),C]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",E]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},j]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[O]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[O]}],"divide-style":[{divide:G()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[g,_]}],"outline-w":[{outline:[g,v]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[O]}],"ring-offset-w":[{"ring-offset":[g,v]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,L]}],"shadow-color":[{shadow:[A]}],opacity:[{opacity:[O]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,_]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[R]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[O]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",_]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",_]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[w,_]}],"translate-x":[{"translate-x":[$]}],"translate-y":[{"translate-y":[$]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",_]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"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"]}
206],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",_]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[g,v,b]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return I(function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(r&&(r+=" "),r+=t);return r}(t))}n(52983);let $=e=>{let{condition:t,wrap:n,children:r}=e;return t?n(r):r},F={base:D("data-[side=bottom]:data-[align=end]:origin-top-right","data-[side=bottom]:data-[align=start]:origin-top-left","data-[side=bottom]:data-[align=center]:origin-top","data-[side=top]:data-[align=end]:origin-bottom-right","data-[side=top]:data-[align=start]:origin-bottom-left","data-[side=top]:data-[align=center]:origin-bottom","data-[side=left]:data-[align=end]:origin-bottom-right","data-[side=left]:data-[align=start]:origin-top-right","data-[side=left]:data-[align=center]:origin-right","data-[side=right]:data-[align=end]:origin-bottom-left","data-[side=right]:data-[align=start]:origin-top-left","data-[side=right]:data-[align=center]:origin-left"),animation:D("data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:duration-50 data-[state=closed]:duration-150","data-[state=closed]:ease-in data-[state=open]:ease-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-[0.98] data-[state=open]:zoom-in-[0.98]","origin-[--radix-context-menu-content-transform-origin] origin-[--radix-popover-content-transform-origin] origin-[--radix-dropdown-menu-content-transform-origin] origin-[--radix-hover-card-content-transform-origin]"),borders:"border-black/50 dark:border",background:"bg-black dark:bg-elevated",shadows:"shadow-popover",rounded:"rounded-lg"};D(F.base,F.borders,F.background,F.shadows,F.rounded)},47992:function(){},19397:function(){},45140:function(){},80327:function(e){e.exports={style:{fontFamily:"'__Inter_f367f3', '__Inter_Fallback_f367f3'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},81483:function(e,t,n){e.exports=n(90824)},17297:function(e,t,n){e.exports=n(1247)},41511:function(e,t,n){e.exports=n(29923)},48839:function(e,t,n){e.exports=n(28154)},73656:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&p())}function p(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||u||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},91326:function(e,t,n){"use strict";var r,i,o,a,s,l,u=n(52983);u&&"object"==typeof u&&"default"in u&&u.default;var c=n(50629),d=new c,p=d.getBrowser(),f=d.getCPU(),h=d.getDevice(),m=d.getEngine(),g=d.getOS(),v=d.getUA(),y={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},b={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},x=function(){return!!("undefined"!=typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},_=function(e){var t=x();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},k=function(e){return e.type===y.Browser},S=function(e){return e.name===b.Edge},E=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},C=function(){return _("iPad")};h.type,y.SmartTv,h.type,y.Console,h.type,y.Wearable,h.type,y.Embedded,p.name===b.MobileSafari||C(),p.name,b.Chromium;var T=(r=h.type)===y.Mobile||r===y.Tablet||C(),j=(h.type,y.Mobile,h.type===y.Tablet||C(),k(h),k(h),g.name,g.name,"iOS"===g.name||C(),p.name,b.Chrome,p.name,b.Firefox,(i=p.name)===b.Safari||b.MobileSafari,p.name,b.Opera,(o=p.name)===b.InternetExplorer||b.Ie,w(g.ver
206sion),w(g.name),w(p.version),w(p.major),w(p.name),w(h.vendor),w(h.model),w(m.name),w(m.version),w(v),S(p)||E(v),p.name,b.Yandex,w(h.type,"browser"),(a=x())&&(/iPad|iPhone|iPod/.test(a.platform)||"MacIntel"===a.platform&&a.maxTouchPoints>1)&&window.MSStream,C(),_("iPhone"),_("iPod"),"string"==typeof(l=(s=x())&&s.userAgent&&s.userAgent.toLowerCase())&&/electron/.test(l),E(v),S(p)&&E(v),"Windows"===g.name),L="Mac OS"===g.name;p.name,b.MIUI,p.name,b.SamsungBrowser,t.Q5=L,t.tq=T,t.ED=j},50629:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",l="object",u="string",c="major",d="model",p="name",f="type",h="vendor",m="version",g="architecture",v="console",y="mobile",b="tablet",w="smarttv",x="wearable",_="embedded",k="Amazon",S="Apple",E="ASUS",C="BlackBerry",T="Browser",j="Chrome",L="Firefox",A="Google",O="Huawei",P="Microsoft",R="Motorola",M="Opera",N="Samsung",I="Sharp",D="Sony",$="Xiaomi",F="Zebra",B="Facebook",W="Chromium OS",U="Mac OS",V=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},z=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},H=function(e,t){return typeof e===u&&-1!==G(t).indexOf(G(e))},G=function(e){return e.toLowerCase()},q=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},X=function(e,t){for(var n,r,i,s,u,c,d=0;d<t.length&&!u;){var p=t[d],f=t[d+1];for(n=r=0;n<p.length&&!u&&p[n];)if(u=p[n++].exec(e))for(i=0;i<f.length;i++)c=u[++r],typeof(s=f[i])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):void 0:this[s[0]]=c?s[1].call(this,c,s[2]):void 0:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):void 0):this[s]=c||o;d+=2}},Y=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(H(t[n][r],e))return"?"===n?o:n}else if(H(t[n],e))return"?"===n?o:n;return e},J={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,m],[/opios[\/ ]+([\w\.]+)/i],[m,[p,M+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[p,M]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[p,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[p,"UC"+T]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[m,[p,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[m,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[p,"IE"]],[/yabrowser\/([\w\.]+)/i],[m,[p,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+T],m],[/\bfocus\/([\w\.]+)/i],[m,[p,L+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[p,M+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[p,M+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[p,"MIUI "+T]],[/fxios\/([-\w\.]+)/i],[m,[p,L]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+T]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+T],m],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[p,m],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,B],m],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[p,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[p,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[p,j+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,j+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[p,"Android "+T]],[/(chrome|omniweb|arora|[t
vendor: 4,819 bytes, line 206
206izenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[m,Y,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[p,L+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,m],[/(cobalt)\/([\w\.]+)/i],[p,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,G]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",G]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,G]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,N],[f,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,N],[f,y]],[/\((ip(?:hone|od)[\w ]*);/i],[d,[h,S],[f,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,S],[f,b]],[/(macintosh);/i],[d,[h,S]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,I],[f,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,O],[f,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,O],[f,y]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,$],[f,y]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,$],[f,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[f,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[f,y]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[f,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,R],[f,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,R],[f,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,"LG"],[f,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,"LG"],[f,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[f,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[f,y]],[/(pixel c)\b/i],[d,[h,A],[f,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,A],[f,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,D],[f,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,D],[f,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[f,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,k],[f,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,k],[f,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[f,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,C],[f,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,E],[f,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,E],[f,y]],[/(nexus 9)/i],[d,[h,"HTC"],[f,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[f,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[f,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[f,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
vendor: 4,511 bytes, line 206
206s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[f,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[f,b]],[/(surface duo)/i],[d,[h,P],[f,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[f,y]],[/(u304aa)/i],[d,[h,"AT&T"],[f,y]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[f,y]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[f,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[f,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[f,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[f,b]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[f,b]],[/\b(k88) b/i],[d,[h,"ZTE"],[f,b]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[f,y]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[f,y]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[f,b]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[f,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[f,b]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[f,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[f,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[f,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[f,y]],[/\b(ph-1) /i],[d,[h,"Essential"],[f,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[f,b]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[f,b]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[f,b]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[f,b]],[/(sprint) (\w+)/i],[h,d,[f,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,P],[f,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,F],[f,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,F],[f,y]],[/smart-tv.+(samsung)/i],[h,[f,w]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,N],[f,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,"LG"],[f,w]],[/(apple) ?tv/i],[h,[d,S+" TV"],[f,w]],[/crkey/i],[[d,j+"cast"],[h,A],[f,w]],[/droid.+aft(\w)( bui|\))/i],[d,[h,k],[f,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,I],[f,w]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,D],[f,w]],[/(mitv-\w{5}) bui/i],[d,[h,$],[f,w]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[f,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,q],[d,q],[f,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[f,v]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[f,v]],[/(playstation [345portablevi]+)/i],[d,[h,D],[f,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,P],[f,v]],[/((pebble))app/i],[h,d,[f,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,S],[f,x]],[/droid.+; (glass) \d/i],[d,[h,A],[f,x]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,F],[f,x]],[/(quest( 2| pro)?)/i],[d,[h,B],[f,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[f,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[f,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[f,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[p,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,m],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[p,[m,Y,J]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,"Windows"],[m,Y,J]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,U],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,m],[/\(bb(10);/i],[m,[p,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+);
206 rv:.+ gecko\/([\w\.]+)/i],[m,[p,L+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[p,j+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,W],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,m],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[p,m]]},K=function(e,t){if(typeof e===l&&(t=e,e=o),!(this instanceof K))return new K(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:o,r=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:o,w=t?V(Z,t):Z;return this.getBrowser=function(){var e,t={};return t[p]=o,t[m]=o,X.call(t,r,w.browser),t[c]=typeof(e=t[m])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,n&&n.brave&&typeof n.brave.isBrave==a&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[g]=o,X.call(e,r,w.cpu),e},this.getDevice=function(){var e={};return e[h]=o,e[d]=o,e[f]=o,X.call(e,r,w.device),!e[f]&&v&&v.mobile&&(e[f]=y),"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[f]=b),e},this.getEngine=function(){var e={};return e[p]=o,e[m]=o,X.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[p]=o,e[m]=o,X.call(e,r,w.os),!e[p]&&v&&"Unknown"!=v.platform&&(e[p]=v.platform.replace(/chrome os/i,W).replace(/macos/i,U)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>350?q(e,350):e,this},this.setUA(r),this};K.VERSION="1.0.34",K.BROWSER=z([p,m,c]),K.CPU=z([g]),K.DEVICE=z([d,h,f,v,y,w,b,x,_]),K.ENGINE=K.OS=z([p,m]),typeof t!==s?(e.exports&&(t=e.exports=K),t.UAParser=K):n.amdO?o!==(r=(function(){return K}).call(t,n,t,e))&&(e.exports=r):typeof i!==s&&(i.UAParser=K);var Q=typeof i!==s&&(i.jQuery||i.Zepto);if(Q&&!Q.ua){var ee=new K;Q.ua=ee.getResult(),Q.ua.get=function(){return ee.getUA()},Q.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:this)},74810:function(e,t,n){"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{M:function(){return r}})},73257:function(e,t,n){"use strict";n.d(t,{F:function(){return i},e:function(){return o}});var r=n(52983);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function o(...e){return r.useCallback(i(...e),e)}},23552:function(e,t,n){"use strict";n.d(t,{b:function(){return a},k:function(){return o}});var r=n(52983),i=n(97458);function o(e,t){let n=r.createContext(t);function o(e){let{children:t,...o}=e,a=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:a,children:t})}return o.displayName=e+"Provider",[o,function(i){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function a(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let a=r.createContext(o),s=n.length;function l(t){let{scope:n,children:o,...l}=t,u=n?.[e][s]||a,c=r.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:o})}return n=[...n,o],l.displayName=t+"Provider",[l,function(n,i){let l=i?.[e][s]||a,u=r.useContext(l);if(u)return u;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}},75205:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r,i=n(52983),o=n(69893),a=(r||(r=n.t(i,2)))["useId".toString()]||(()=>void 0),s=0;function l(e){let[t,n]=i.useState(a());return(0,o.b)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},27169:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(52983),i=n(63730),o=n(73257),a=n(69893),s=e=>{let t,n;let{present:s,children:u}=e,c=function(e){var t,n;let[o,s]=r.useState(),u=r.useRef({}),c=r.useRef(e),d=r.useRef("none"),[p,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>
206n[e][t]??e,t));return r.useEffect(()=>{let e=l(u.current);d.current="mounted"===p?e:"none"},[p]),(0,a.b)(()=>{let t=u.current,n=c.current;if(n!==e){let r=d.current,i=l(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,a.b)(()=>{if(o){let e=e=>{let t=l(u.current).includes(e.animationName);e.target===o&&t&&i.flushSync(()=>f("ANIMATION_END"))},t=e=>{e.target===o&&(d.current=l(u.current))};return o.addEventListener("animationstart",t),o.addEventListener("animationcancel",e),o.addEventListener("animationend",e),()=>{o.removeEventListener("animationstart",t),o.removeEventListener("animationcancel",e),o.removeEventListener("animationend",e)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:r.useCallback(e=>{e&&(u.current=getComputedStyle(e)),s(e)},[])}}(s),d="function"==typeof u?u({present:c.isPresent}):r.Children.only(u),p=(0,o.e)(c.ref,(t=Object.getOwnPropertyDescriptor(d.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?d.ref:(t=Object.getOwnPropertyDescriptor(d,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof u||c.isPresent?r.cloneElement(d,{ref:p}):null};function l(e){return e?.animationName||"none"}s.displayName="Presence"},74128:function(e,t,n){"use strict";n.d(t,{WV:function(){return s},jH:function(){return l}});var r=n(52983),i=n(63730),o=n(9579),a=n(97458),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...i}=e,s=r?o.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(s,{...i,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},9579:function(e,t,n){"use strict";n.d(t,{A4:function(){return l},g7:function(){return a}});var r=n(52983),i=n(73257),o=n(97458),a=r.forwardRef((e,t)=>{let{children:n,...i}=e,a=r.Children.toArray(n),l=a.find(u);if(l){let e=l.props.children,n=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(s,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,o.jsx)(s,{...i,ref:t,children:n})});a.displayName="Slot";var s=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e,a;let s=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props),ref:t?(0,i.F)(t,s):s})}return r.Children.count(n)>1?r.Children.only(null):null});s.displayName="SlotClone";var l=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function u(e){return r.isValidElement(e)&&e.type===l}},62669:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(52983);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},25863:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(52983),i=n(62669);function o({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,a]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[o]=n,a=r.useRef(o),s=(0,i.W)(t);return r.useEffect(()=>{a.current!==o&&(s(o),a.current=o)},[o,a,s]),n}({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:o,u=(0,i.W)(n);return[l,r.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&u(n)}else a(t)},[s,e,a,u])]}},69893:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(52983),i=globalThis?.document?r.useLayoutEffect:()=>{}},46837:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(52983),i=n(69893);function o(e){let[t,n]=r.useState(void 0);return(0,i.b)(()=>
206{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},80009:function(e,t,n){"use strict";n.d(t,{G:function(){return p}});var r=n(11534),i=n(56133),o=n(86331),a=n(5725);class s{constructor(e,t){let n,r;n=e||new a.s,r=t||new a.s,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t;let n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return(0,i.J8)(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(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 l(){let e=(0,r.c)(),t=(0,r.q)(e);return t.stack=t.stack||new s((0,o.Y)("defaultCurrentScope",()=>new a.s),(0,o.Y)("defaultIsolationScope",()=>new a.s))}function u(e){return l().withScope(e)}function c(e,t){let n=l();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function d(e){return l().withScope(()=>e(l().getIsolationScope()))}function p(e){let t=(0,r.q)(e);return t.acs?t.acs:{withIsolationScope:d,withScope:u,withSetScope:c,withSetIsolationScope:(e,t)=>d(t),getCurrentScope:()=>l().getScope(),getIsolationScope:()=>l().getIsolationScope()}}},11534:function(e,t,n){"use strict";n.d(t,{c:function(){return o},q:function(){return a}});var r=n(86331),i=n(7076);function o(){return a(r.GLOBAL_OBJ),r.GLOBAL_OBJ}function a(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||i.J,t[i.J]=t[i.J]||{}}},60499:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});let r="production"},9495:function(e,t,n){"use strict";n.d(t,{$e:function(){return c},aF:function(){return l},lW:function(){return u},nZ:function(){return s},s3:function(){return d}});var r=n(86331),i=n(80009),o=n(11534),a=n(5725);function s(){let e=(0,o.c)();return(0,i.G)(e).getCurrentScope()}function l(){let e=(0,o.c)();return(0,i.G)(e).getIsolationScope()}function u(){return(0,r.Y)("globalScope",()=>new a.s)}function c(...e){let t=(0,o.c)(),n=(0,i.G)(t);if(2===e.length){let[t,r]=e;return t?n.withSetScope(t,r):n.withScope(r)}return n.withScope(e[0])}function d(){return s().getClient()}},56844:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},53901:function(e,t,n){"use strict";n.d(t,{Qy:function(){return m},Tb:function(){return c},YA:function(){return f},cg:function(){return b},eN:function(){return d},v:function(){return p},yj:function(){return g},yl:function(){return h}});var r=n(78073),i=n(86331),o=n(60499),a=n(9495),s=n(56844),l=n(44469),u=n(31850);function c(e,t){return(0,a.nZ)().captureException(e,(0,u.U0)(t))}function d(e,t){return(0,a.nZ)().captureEvent(e,t)}function p(e,t){(0,a.aF)().setContext(e,t)}function f(e,t){(0,a.aF)().setTag(e,t)}async function h(e){let t=(0,a.s3)();return t?t.flush(e):(s.X&&r.kg.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function m(e){(0,a.aF)().addEventProcessor(e)}function g(e){let t=(0,a.s3)(),n=(0,a.aF)(),r=(0,a.nZ)(),{release:s,environment:u=o.J}=t&&t.getOptions()||{},{userAgent:c}=i.GLOBAL_OBJ.navigator||{},d=(0,l.Hv)({release:s,environment:u,user:r.getUser()||n.getUser(),...c&&{userAgent:c},...e}),p=n.getSession();return p&&"ok"===p.status&&(0,l.CT)(p,{status:"exited"}),v(),n.setSession(d),r.setSession(d),d}function v(){let e=(0,a.aF)(),t=(0,a.nZ)(),n=t.getSession()||e.getSession();n&&(0,l.RJ)(n),y(),e.setSession(),t.setSession()}function y(){let e=(0,a.aF)(),t=(0,a.nZ)(),n=(0,a.s3)(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function b(e=!1){if(e){v();return}y()}},57315:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(77788);function i(e){let t=e._sentryMetrics;if(!t)return;let n={};for(let[,[e,i]]of t)(n[e]||(n[e]=[])).push((0,r.Jr)(i));return n}},5725:function(e,t,n){"use strict";n.d(t,{s:function(){return d}});var r=n(98625),i=n(56133),o=n(333),a=n(27945),s=n(78073),l=n(44469),u=n(95569);class c{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=(0,r.Q)()}clone(){let e=new c;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},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._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,u.D)(e,(0,u.Y)(this)),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&&(0,l.CT)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},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,[n,r]=t instanceof d?[t.getScopeData(),t.getRequestSession()]:(0,i.PO)(t)?[e,e.requestSession]:[],{tags:o,extra:a,user:s,contexts:l,level:u,fingerprint:c=[],propagationContext:p}=n||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...a},this._contexts={...this._contexts,...l},s&&Object.keys(s).length&&(this._user=s),u&&(this._level=u),c.length&&(this._fingerprint=c),p&&(this._propagationContext=p),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,(0,u.D)(this,void 0),this._attachments=[],this._propagationContext=(0,r.Q)(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:(0,o.yW)(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,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,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:(0,u.Y)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:(0,a.DM)();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):s.kg.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
206h(e=>{e(this)}),this._notifyingListeners=!1)}}let d=c},68575:function(e,t,n){"use strict";n.d(t,{$J:function(){return o},E1:function(){return l},JQ:function(){return d},S3:function(){return a},TE:function(){return i},Wb:function(){return u},Zj:function(){return r},ju:function(){return s},p6:function(){return c}});let r="sentry.source",i="sentry.sample_rate",o="sentry.op",a="sentry.origin",s="sentry.idle_span_finish_reason",l="sentry.measurement_unit",u="sentry.measurement_value",c="sentry.profile_id",d="sentry.exclusive_time"},44469:function(e,t,n){"use strict";n.d(t,{CT:function(){return s},Hv:function(){return a},RJ:function(){return l}});var r=n(333),i=n(27945),o=n(77788);function a(e){let t=(0,r.ph)(),n={sid:(0,i.DM)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>(0,o.Jr)({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return e&&s(n,e),n}function s(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||(0,r.ph)(),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:(0,i.DM)()),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 l(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},81557:function(e,t,n){"use strict";n.d(t,{Lh:function(){return c},_l:function(){return d},jC:function(){return p}});var r=n(77788),i=n(24764),o=n(60499),a=n(9495),s=n(68575),l=n(42141);let u="_frozenDsc";function c(e,t){(0,r.xp)(e,u,t)}function d(e,t){let n=t.getOptions(),{publicKey:i}=t.getDsn()||{},a=(0,r.Jr)({environment:n.environment||o.J,release:n.release,public_key:i,trace_id:e});return t.emit("createDsc",a),a}function p(e){let t=(0,a.s3)();if(!t)return{};let n=d((0,l.XU)(e).trace_id||"",t),r=(0,l.Gx)(e),o=r[u];if(o)return o;let c=r.spanContext().traceState,p=c&&c.get("sentry.dsc"),f=p&&(0,i.EN)(p);if(f)return f;let h=(0,l.XU)(r),m=h.data||{},g=m[s.TE];null!=g&&(n.sample_rate=`${g}`);let v=m[s.Zj],y=h.description;return"url"!==v&&y&&(n.transaction=y),n.sampled=String((0,l.Tt)(r)),t.emit("createDsc",n,r),n}},76197:function(e,t,n){"use strict";n.d(t,{OP:function(){return i},Q0:function(){return a},jt:function(){return o},pq:function(){return r}});let r=0,i=1,o=2;function a(e,t){e.setAttribute("http.response.status_code",t);let n=function(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:o,message:"unauthenticated"};case 403:return{code:o,message:"permission_denied"};case 404:return{code:o,message:"not_found"};case 409:return{code:o,message:"already_exists"};case 413:return{code:o,message:"failed_precondition"};case 429:return{code:o,message:"resource_exhausted"};case 499:return{code:o,message:"cancelled"};default:return{code:o,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:o,message:"unimplemented"};case 503:return{code:o,message:"unavailable"};case 504:return{code:o,message:"deadline_exceeded"};default:return{code:o,message:"internal_error"}}return{code:o,message:"unknown_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}},31850:function(e,t,n){"use strict";n.d(t,{U0:function(){return _},R:function(){return w}});var r=n(27945),i=n(333),o=n(42499),a=n(86331),s=n(32484),l=n(60499),u=n(9495),c=n(17771),d=n(78073),p=n(56133),f=n(56844),h=n(5725),m=n(77788),g=n(81557),v=n(42141);function y(e,t){let{extra:n,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:u,eventProcessors:c,attachments:d,propagationContext:p,transactionName:f,span:h}=t;b(e,"extra",n),b(e,"tags",r),b(e,"user",i),b(e,"contexts",o),b(e,"sdkProcessingMetadata",s),a&&(e.level=a),f&&(e.transactionName=f),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),c.length&&(e.eventProcessors=[...e.eventProcessors,...c]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function b(e,t,n){if(n&&Object.keys(n).length)for(let r in e[t]={...e[t]},n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}function w(e,t,n,b,w,_){let{normalizeDepth:k=3,normalizeMaxBreadth:S=1e3}
206=e,E={...t,event_id:t.event_id||n.event_id||(0,r.DM)(),timestamp:t.timestamp||(0,i.yW)()},C=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:l.J),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=(0,o.$G)(e.message,a));let s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,o.$G)(s.value,a));let u=e.request;u&&u.url&&(u.url=(0,o.$G)(u.url,a))})(E,e),C.length>0&&(E.sdk=E.sdk||{},E.sdk.integrations=[...E.sdk.integrations||[],...C]),w&&w.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n;let r=a.GLOBAL_OBJ._sentryDebugIds;if(!r)return;let i=x.get(t);i?n=i:(n=new Map,x.set(t,n));let o=Object.entries(r).reduce((e,[r,i])=>{let o;let a=n.get(r);a?o=a:(o=t(r),n.set(r,o));for(let t=o.length-1;t>=0;t--){let n=o[t];if(n.filename){e[n.filename]=i;break}}return e},{});try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=o[e.filename])})})}catch(e){}}(E,e.stackParser);let T=function(e,t){if(!t)return e;let n=e?e.clone():new h.s;return n.update(t),n}(b,n.captureContext);n.mechanism&&(0,r.EG)(E,n.mechanism);let j=w?w.getEventProcessors():[],L=(0,u.lW)().getScopeData();_&&y(L,_.getScopeData()),T&&y(L,T.getScopeData());let A=[...n.attachments||[],...L.attachments];return A.length&&(n.attachments=A),function(e,t){let{fingerprint:n,span:i,breadcrumbs:o,sdkProcessingMetadata:a}=t;(function(e,t){let{extra:n,tags:r,user:i,contexts:o,level:a,transactionName:s}=t,l=(0,m.Jr)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});let u=(0,m.Jr)(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let c=(0,m.Jr)(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});let d=(0,m.Jr)(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),i&&function(e,t){e.contexts={trace:(0,v.wy)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,g.jC)(t),...e.sdkProcessingMetadata};let n=(0,v.Gx)(t),r=(0,v.XU)(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,i),e.fingerprint=e.fingerprint?(0,r.lE)(e.fingerprint):[],n&&(e.fingerprint=e.fingerprint.concat(n)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint,function(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,o),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...a}}(E,L),(function e(t,n,r,i=0){return new c.cW((o,a)=>{let s=t[i];if(null===n||"function"!=typeof s)o(n);else{let l=s({...n},r);f.X&&s.id&&null===l&&d.kg.log(`Event processor "${s.id}" dropped event`),(0,p.J8)(l)?l.then(n=>e(t,n,r,i+1).then(o)).then(null,a):e(t,l,r,i+1).then(o).then(null,a)}})})([...j,...L.eventProcessors],E,n).then(e=>(e&&function(e){let t={};try{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)})})}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof k&&k>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,s.Fv)(e.data,t,n)}}))},...e.user&&{user:(0,s.Fv)(e.user,t,n)},...e.contexts&&{contexts:(0,s.Fv)(e.contexts,t,n)},...e.extra&&{extra:(0,s.Fv)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,s.Fv)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,s.Fv)(e.data,t,n)}}))),r}(e,k,S):e)}let x=new WeakMap;function _(e){return e?e instanceof h.s||"function"==typeof e||Object.keys(e).some(e=>k.includes(e))?{captureContext:e}:e:void 0}let k=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},95569:function(e,t,n){"use strict";n.d(t,{D:function(){return o},Y:function(){return a}});var r=n(77788);let i="_sentrySpan";function o(e,t){t?(0,r.xp)(e,i,t):delete e[i]}function a(e){return e[i]}},42141:function(e,t,n){"use strict";n.d(t,{$k:function(){return y},Dp:function(){return T},Gx:function(){return j},HN:function(){return L},HR:function(){return m},Hb:function(){return v},Tt:function(){return x},XU:function(){return w},_4:function(){return _},ed:function(){return C},i0:function(){return h},j5:function(){return E},ve:function(){return f},wy:function(){return g}});var r=n(77788),i=n(24880),o=n(333),a=n(80009),s=n(11534),l=n(9495),u=n(57315),c=n(68575),d=n(76197),p=n(95569);let f=0,h=1;function m(e){let{spanId:t,traceId:n}=e.spanContext(),{data:i,op:o,parent_span_id:a,status:s,origin:l}=w(e);return(0,r.Jr)({parent_span_id:a,span_id:t,trace_id:n,data:i,op:o,status:s,origin:l})}function g(e){let{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:i}=w(e);return(0,r.Jr)({parent_span_id:i,span_id:t,trace_id:n})}function v(e){let{traceId:t,spanId:n}=e.spanContext(),r=x(e);return(0,i.$p)(t,n,r)}function y(e){return"number"==typeof e?b(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?b(e.getTime()):(0,o.ph)()}function b(e){return e>9999999999?e/1e3:e}function w(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();try{let{spanId:t,traceId:n}=e.spanContext();if(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:i,startTime:o,name:a,endTime:s,parentSpanId:l,status:d}=e;return(0,r.Jr)({span_id:t,trace_id:n,data:i,description:a,parent_span_id:l,start_timestamp:y(o),timestamp:y(s)||void 0,status:_(d),op:i[c.$J],origin:i[c.S3],_metrics_summary:(0,u.y)(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function x(e){let{traceFlags:t}=e.spanContext();return t===h}function _(e){return e&&e.code!==d.pq?e.code===d.OP?"ok":e.message||"unknown_error":void 0}let k="_sentryChildSpans",S="_sentryRootSpan";function E(e,t){let n=e[S]||e;(0,r.xp)(t,S,n),e[k]?e[k].add(t):(0,r.xp)(e,k,new Set([t]))}function C(e,t){e[k]&&e[k].delete(t)}function T(e){let t=new Set;return function e(n){if(!t.has(n)&&x(n))for(let r of(t.add(n),n[k]?Array.from(n[k]):[]))e(r)}(e),Array.from(t)}function j(e){return e[S]||e}function L(){let e=(0,s.c)(),t=(0,a.G)(e);return t.getActiveSpan?t.getActiveSpan():(0,p.Y)((0,l.nZ)())}},4142:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},24764:function(e,t,n){"use strict";n.d(t,{EN:function(){return u},IQ:function(){return c},bU:function(){return a}});var r=n(87743),i=n(56133),o=n(78073);let a="baggage",s="sentry-",l=/^sentry-/;function u(e){let t=e&&((0,i.HD)(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>
206(Object.entries(d(t)).forEach(([t,n])=>{e[t]=n}),e),{}):d(e):void 0;if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.match(l)&&(e[t.slice(s.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}function c(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,n],i)=>{let a=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===i?a:`${e},${a}`;return s.length>8192?(r.X&&o.kg.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${s}${t}`]=n),e),{}))}function d(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}},36249:function(e,t,n){"use strict";n.d(t,{Rt:function(){return o},iY:function(){return l},l4:function(){return a},qT:function(){return s}});var r=n(56133);let i=n(86331).GLOBAL_OBJ;function o(e,t={}){if(!e)return"<unknown>";try{let n,o=e,a=[],s=0,l=0,u=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;for(;o&&s++<5&&(n=function(e,t){let n=[];if(!e||!e.tagName)return"";if(i.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}n.push(e.tagName.toLowerCase());let o=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(o&&o.length)o.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&n.push(`#${e.id}`);let t=e.className;if(t&&(0,r.HD)(t))for(let e of t.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=e.getAttribute(t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(o,u),"html"!==n&&(!(s>1)||!(l+3*a.length+n.length>=c)));)a.push(n),l+=n.length,o=o.parentNode;return a.reverse().join(" > ")}catch(e){return"<unknown>"}}function a(){try{return i.document.location.href}catch(e){return""}}function s(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}function l(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},66466:function(e,t,n){"use strict";function r(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):("call"===i||"optionalCall"===i)&&(n=o((...e)=>n.call(t,...e)),t=void 0)}return n}n.d(t,{x:function(){return r}})},87743:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},56133:function(e,t,n){"use strict";n.d(t,{Cy:function(){return v},HD:function(){return u},J8:function(){return g},Kj:function(){return m},Le:function(){return c},PO:function(){return p},TX:function(){return s},V9:function(){return y},VW:function(){return a},VZ:function(){return i},cO:function(){return f},fm:function(){return l},kK:function(){return h},pt:function(){return d},y1:function(){return b}});let r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function l(e){return o(e,"DOMException")}function u(e){return o(e,"String")}function c(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||c(e)||"object"!=typeof e&&"function"!=typeof e}function p(e){return o(e,"Object")}function f(e){return"undefined"!=typeof Event&&y(e,Event)}function h(e){return"undefined"!=typeof Element&&y(e,Element)}function m(e){return o(e,"RegExp")}function g(e){return!!(e&&e.then&&"function"==typeof e.then)}
206function v(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function y(e,t){try{return e instanceof t}catch(e){return!1}}function b(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}},78073:function(e,t,n){"use strict";n.d(t,{Cf:function(){return s},LD:function(){return a},RU:function(){return o},kg:function(){return l}});var r=n(87743),i=n(86331);let o=["debug","info","warn","error","log","assert","trace"],a={};function s(e){if(!("console"in i.GLOBAL_OBJ))return e();let t=i.GLOBAL_OBJ.console,n={},r=Object.keys(a);r.forEach(e=>{let r=a[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}let l=function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.X?o.forEach(n=>{t[n]=(...t)=>{e&&s(()=>{i.GLOBAL_OBJ.console[n](`Sentry Logger [${n}]:`,...t)})}}):o.forEach(e=>{t[e]=()=>void 0}),t}()},27945:function(e,t,n){"use strict";n.d(t,{DM:function(){return o},Db:function(){return l},EG:function(){return u},YO:function(){return c},jH:function(){return s},lE:function(){return d}});var r=n(77788),i=n(86331);function o(){let e=i.GLOBAL_OBJ,t=e.crypto||e.msCrypto,n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&n())>>e/4).toString(16))}function a(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function s(e){let{message:t,event_id:n}=e;if(t)return t;let r=a(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function l(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function u(e,t){let n=a(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r&&r.data,...t.data};n.mechanism.data=e}}function c(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.xp)(e,"__sentry_captured__",!0)}catch(e){}return!1}function d(e){return Array.isArray(e)?e:[e]}},32484:function(e,t,n){"use strict";n.d(t,{Fv:function(){return a},Qy:function(){return function e(t,n=3,r=102400){let i=a(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}}});var r=n(56133),i=n(77788),o=n(58722);function a(e,t=100,n=Infinity){try{return function e(t,n,a=Infinity,s=Infinity,l=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){let[u,c]=l;if(null==n||["number","boolean","string"].includes(typeof n)&&!Number.isNaN(n))return n;let d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.y1)(t))return"[VueViewModel]";if((0,r.Cy)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${(0,o.$P)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let n=function(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(t,n);if(!d.startsWith("[object "))return d;if(n.__sentry_skip_normalization__)return n;let p="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:a;if(0===p)return d.replace("object ","");if(u(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,p-1,s,l)}catch(e){}let f=Array.isArray(n)?[]:{},h=0,m=(0,i.Sh)(n);for(let t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(h>=s){f[t]="[MaxProperties ~]";break}let n=m[t];f[t]=e(t,n,p-1,s,l),h++}return c(n),f}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}},77788:function(e,t,n){"use strict";n.d(t,{$Q:function(){return c},HK:function(){return d},Jr:function(){return v},Sh:function(){return f},_j:function(){return p},hl:function(){return l},xp:function(){return u},zf:function(){return g}});var r=n(36249),i=n(87743),o=n(56133),a=n(78073),s=n(42499);function l(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);"function"==typeof i&&c(i,r),e[t]=i}function u(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){i.X&&a.kg.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function c(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,u(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function p(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function f(e){if((0,o.VZ)(e))return{message:e.message,name:e.name,stack:e.stack,...m(e)};if(!(0,o.cO)(e))return e;{let t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...m
206(e)};return"undefined"!=typeof CustomEvent&&(0,o.V9)(e,CustomEvent)&&(t.detail=e.detail),t}}function h(e){try{return(0,o.kK)(e)?(0,r.Rt)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function m(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function g(e,t=40){let n=Object.keys(f(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return(0,s.$G)(r,t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");if(!(r.length>t)){if(e===n.length)return r;return(0,s.$G)(r,t)}}return""}function v(e){return function e(t,n){if(function(e){if(!(0,o.PO)(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(t)){let r=n.get(t);if(void 0!==r)return r;let i={};for(let r of(n.set(t,i),Object.keys(t)))void 0!==t[r]&&(i[r]=e(t[r],n));return i}if(Array.isArray(t)){let r=n.get(t);if(void 0!==r)return r;let i=[];return n.set(t,i),t.forEach(t=>{i.push(e(t,n))}),i}return t}(e,new Map)}},98625:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});var r=n(27945);function i(){return{traceId:(0,r.DM)(),spanId:(0,r.DM)().substring(16)}}},58722:function(e,t,n){"use strict";n.d(t,{$P:function(){return c},Fi:function(){return r},Fr:function(){return d},Sq:function(){return s},pE:function(){return a}});let r="?",i=/\(error: (.*)\)/,o=/captureMessage|captureException/;function a(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,a=0)=>{let s=[],u=e.split("\n");for(let e=n;e<u.length;e++){let n=u[e];if(n.length>1024)continue;let r=i.test(n)?n.replace(i,"$1"):n;if(!r.match(/\S*Error: /)){for(let e of t){let t=e(r);if(t){s.push(t);break}}if(s.length>=50+a)break}}return function(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(l(t).function||"")&&t.pop(),t.reverse(),o.test(l(t).function||"")&&(t.pop(),o.test(l(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||l(t).filename,function:e.function||r}))}(s.slice(a))}}function s(e){return Array.isArray(e)?a(...e):e}function l(e){return e[e.length-1]||{}}let u="<anonymous>";function c(e){try{if(!e||"function"!=typeof e)return u;return e.name||u}catch(e){return u}}function d(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(e){}}}},42499:function(e,t,n){"use strict";n.d(t,{$G:function(){return i},U0:function(){return a},nK:function(){return o}});var r=n(56133);function i(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let i=e[t];try{(0,r.y1)(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function a(e,t=[],n=!1){return t.some(t=>(function(e,t,n=!1){return!!(0,r.HD)(e)&&((0,r.Kj)(t)?t.test(e):!!(0,r.HD)(t)&&(n?e===t:e.includes(t)))})(e,t,n))}},17771:function(e,t,n){"use strict";n.d(t,{$2:function(){return s},WD:function(){return a},cW:function(){return l}});var r,i,o=n(56133);function a(e){return new l(t=>{t(e)})}function s(e){return new l((t,n)=>{n(e)})}(r=i||(i={}))[r.PENDING=0]="PENDING",r[r.RESOLVED=1]="RESOLVED",r[r.REJECTED=2]="REJECTED";class l{constructor(e){l.prototype.__init.call(this),l.prototype.__init2.call(this),l.prototype.__init3.call(this),l.prototype.__init4.call(this),this._state=i.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new l((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new l((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{if(i){n(r);return}t(r)})})}__init(){this._resolve=e=>{this._setResult(i.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(i.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===i.PENDING){if((0,o.J8)(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>
206{if(this._state===i.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===i.RESOLVED&&e[1](this._value),this._state===i.REJECTED&&e[2](this._value),e[0]=!0)})}}}},333:function(e,t,n){"use strict";n.d(t,{Z1:function(){return a},ph:function(){return o},yW:function(){return i}});var r=n(86331);function i(){return Date.now()/1e3}let o=function(){let{performance:e}=r.GLOBAL_OBJ;if(!e||!e.now)return i;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}(),a=(()=>{let{performance:e}=r.GLOBAL_OBJ;if(!e||!e.now)return;let t=e.now(),n=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+t-n):36e5,o=e.timing&&e.timing.navigationStart,a="number"==typeof o?Math.abs(o+t-n):36e5;return i<36e5||a<36e5?i<=a?e.timeOrigin:o:n})()},24880:function(e,t,n){"use strict";n.d(t,{$p:function(){return s},pT:function(){return a}});var r=n(24764),i=n(27945);let o=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(e,t){let n=function(e){let t;if(!e)return;let n=e.match(o);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}(e),a=(0,r.EN)(t),{traceId:s,parentSpanId:l,parentSampled:u}=n||{};return n?{traceId:s||(0,i.DM)(),parentSpanId:l||(0,i.DM)().substring(16),spanId:(0,i.DM)().substring(16),sampled:u,dsc:a||{}}:{traceId:s||(0,i.DM)(),spanId:(0,i.DM)().substring(16)}}function s(e=(0,i.DM)(),t=(0,i.DM)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}},7076:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});let r="8.17.0"},86331:function(e,t,n){"use strict";n.d(t,{GLOBAL_OBJ:function(){return i},Y:function(){return o}});var r=n(7076);let i=globalThis;function o(e,t,n){let o=n||i,a=o.__SENTRY__=o.__SENTRY__||{},s=a[r.J]=a[r.J]||{};return s[e]||(s[e]=t())}},74185:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});let r="undefined"!=typeof window}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(26865),t(31493),t(28154)}),_N_E=e.O()}]);

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.